Can't interrupt process without controlling terminal on Solaris (PR gdb/8527)
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2
3         PR gdb/8527
4         * gdb.base/interrupt-daemon-attach.c,
5         gdb.base/interrupt-daemon-attach.exp: New test.
6
7 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
8
9         * lib/gdb.exp (builtin_cd): rename of cd.
10         (cd): Override builtin.
11
12 2019-02-26  Tom Tromey  <tromey@adacore.com>
13
14         * gdb.python/py-value.exp (test_value_from_buffer): Check for
15         ValueError, not TypeError.
16
17 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
18
19         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
20         call from main program.
21
22 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
23
24         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
25         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
26         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
27         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
28         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
29
30 2019-02-22  Keith Seitz  <keiths@redhat.com>
31
32         PR symtab/23853
33         * gdb.base/symlink-sourcefile.c: New file.
34         * gdb.base/symlink-sourcefile.exp: New file.
35
36 2019-02-20  Tom Tromey  <tom@tromey.com>
37
38         * gdb.base/info_qt.exp: Update.
39
40 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
41
42         * gdb.base/source.exp: Move "error in sourced script" code to
43         the end.
44         * gdb.base/source-error.gdb: Move contents to
45         source-error-1.gdb.  Add new code to source source-error-1.gdb.
46         * gdb.base/source-error-1.gdb: New file, from previous
47         source-error.gdb.
48
49 2019-02-17  Tom Tromey  <tom@tromey.com>
50
51         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
52         for macro styling.
53         * gdb.base/style.c (SOME_MACRO): New macro.
54
55 2019-02-17  Tom Tromey  <tom@tromey.com>
56
57         * gdb.base/style.exp: Add line-wrapping tests.
58         * gdb.base/page.exp: Add test for quitting during pagination.
59
60 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
61
62         * gdb.ada/big_packed_array: New testcase.
63         * gdb.ada/homonym.exp: Fix incorrect expected output for
64         "break <homonym__get_value>" test.
65
66 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
67
68         PR breakpoints/21870
69         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
70         and prepare_for_testing.  Add comment.
71         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
72         redundant cleanup call.  Clean up comment.
73
74 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
75
76         PR breakpoints/21870
77         * gdb.arch/aarch64-dbreg-contents.exp: New file.
78         * gdb.arch/aarch64-dbreg-contents.c: New file.
79
80 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
81
82         * gdb.ada/mi_ref_changeable: New testcase.
83
84 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
85
86         * gdb.base/attach.exp: Add double attach test.
87
88 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
89
90         * lib/gdb.exp (default_gdb_start): Don't match pagination
91         prompt.
92         (gdb_init): Set stty_init.
93
94 2019-01-27  Tom Tromey  <tom@tromey.com>
95
96         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
97         skip_python_tests.
98
99 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
100
101         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
102         New structure.
103         (struct struct_static_02_02): Likewise.
104         (struct struct_static_02_03): Likewise.
105         (struct struct_static_02_04): Likewise.
106         (struct struct_static_04_01): Likewise.
107         (struct struct_static_04_02): Likewise.
108         (struct struct_static_04_03): Likewise.
109         (struct struct_static_04_04): Likewise.
110         (struct struct_static_06_01): Likewise.
111         (struct struct_static_06_02): Likewise.
112         (struct struct_static_06_03): Likewise.
113         (struct struct_static_06_04): Likewise.
114         (cmp_struct_static_02_01): Likewise.
115         (cmp_struct_static_02_02): Likewise.
116         (cmp_struct_static_02_03): Likewise.
117         (cmp_struct_static_02_04): Likewise.
118         (cmp_struct_static_04_01): Likewise.
119         (cmp_struct_static_04_02): Likewise.
120         (cmp_struct_static_04_03): Likewise.
121         (cmp_struct_static_04_04): Likewise.
122         (cmp_struct_static_06_01): Likewise.
123         (cmp_struct_static_06_02): Likewise.
124         (cmp_struct_static_06_03): Likewise.
125         (cmp_struct_static_06_04): Likewise.
126         (call_all): Test new structs.
127         * gdb.base/infcall-nested-structs.exp: Likewise.
128
129 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
130         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
131
132 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
133         * gdb.base/stack-protector.c: New test.
134         * gdb.base/stack-protector.exp: New file.
135         * gdb.cp/ovldbreak.exp: Only allow a single break line.
136         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
137         option.
138         (gdb_compile): Remove stack protector for GCC and prevent
139         recursion.
140
141 2019-01-16  Keith Seitz  <keiths@redhat.com>
142
143         PR gdb/23773
144         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
145
146 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
147
148         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
149         aliases.
150         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
151         tests.
152         * gdb.arch/powerpc-vector-regs.c: New file.
153         * gdb.arch/powerpc-vector-regs.exp: New file.
154
155 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
156
157         * gdb.arch/altivec-regs.exp: Fix the list passed to
158         gdb_expect_list when testing "info vector".
159
160 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
161
162         * gdb.base/style.exp: Don't include path in testname.
163
164 2019-01-10  Keith Seitz  <keiths@redhat.com>
165
166         PR gdb/23712
167         PR symtab/23010
168         * gdb.dwarf2/multidictionary.exp: New file.
169
170 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
171
172         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
173         (test_gnuv3_style_demangling): ... this.
174         (test_lucid_style_demangling): Remove.
175         (test_arm_style_demangling): Remove.
176         (test_hp_style_demangling): Remove.
177         (do_tests): Remove calls to the above.
178
179 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
180
181         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
182         case.
183
184 2019-01-06  Tom Tromey  <tom@tromey.com>
185
186         PR gdb/28155:
187         * gdb.dwarf2/typedef-void-finish.exp: New file.
188
189 2018-12-28  Tom Tromey  <tom@tromey.com>
190             Simon Marchi <simark@simark.ca>
191
192         * gdb.base/jit-exec.exp: New file.
193         * gdb.base/jit-exec.c: New file.
194         * gdb.base/jit-execd.c: New file.
195
196 2018-12-28  Tom Tromey  <tom@tromey.com>
197
198         * gdb.base/style.exp: Update test to check for address styling.
199
200 2018-12-28  Tom Tromey  <tom@tromey.com>
201
202         * gdb.base/style.exp: Add test for styling of "Reading symbols"
203         message.
204
205 2018-12-28  Tom Tromey  <tom@tromey.com>
206
207         * gdb.base/style.exp: Add test for version number styling.
208
209 2018-12-28  Tom Tromey  <tom@tromey.com>
210
211         * gdb.base/style.exp: Add test for print_address_symbolic.
212
213 2018-12-28  Tom Tromey  <tom@tromey.com>
214
215         * gdb.base/style.exp: Add test for breakpoint setting.
216
217 2018-12-28  Tom Tromey  <tom@tromey.com>
218
219         * gdb.base/style.exp: Add test for variable names.
220
221 2018-12-28  Tom Tromey  <tom@tromey.com>
222
223         * gdb.base/style.exp: New file.
224         * gdb.base/style.c: New file.
225
226 2018-12-28  Tom Tromey  <tom@tromey.com>
227
228         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
229         "dumb".
230         * gdb.base/readline.exp (operate_and_get_next): Save and restore
231         the TERM environment variable.
232
233 2018-12-27  Tom Tromey  <tom@tromey.com>
234
235         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
236         pagination test.
237
238 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
239
240         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
241         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
242
243 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
244
245         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
246         Filename a.adb changed to bp_fun_addr.adb.
247         gdb.ada/bp_fun_addr.exp: Update test accordingly.
248
249 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
250
251         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
252         non-PIE executables.
253         * README: Mention the gdb,nopie_flag board setting.
254         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
255         non-PIE executable.
256         * gdb.arch/amd64-entry-value.exp: Likewise.
257         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
258         * gdb.arch/i386-float.exp: Likewise.
259         * gdb.arch/i386-signal.exp: Likewise.
260         * gdb.mi/mi-reg-undefined.exp: Likewise.
261
262 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
263
264         PR gdb/23974
265         * gdb.base/info-os.exp: Check return for unknown "info os" type.
266
267 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
268
269         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
270         Update order of results accordingly.
271
272 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
273
274         * gdb.base/annota1.exp: Update a test regexp.
275
276 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
277
278         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
279
280 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
281
282         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
283         (reuse_time): Initialize to REUSE_TIME_CAP.
284         (check_rc): New function.
285         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
286         Check pthread_create rc.
287         (spawner_thread_func): Check pthread_create and pthread_join rc.
288
289 2018-12-08  Pedro Alves  <palves@redhat.com>
290
291         * gdb.base/list.exp (test_forward_search): Rename to ...
292         (test_forward_reverse_search): ... this.  Also test reverse-search
293         and the forward-search alias.
294
295 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
296
297         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
298         local timeout variable before return, and remove all local timeout
299         variable entirely.
300         (gdb_load): Likewise.
301
302 2018-12-01  Tom de Vries  <tdevries@suse.de>
303
304         * gdb.base/gdb-caching-proc.exp: New file.
305
306 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
307
308         * Makefile.in (TIMESTAMP): New variable.
309         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
310         command.
311         (check-single-racy): Likewise.
312         (check/%.exp): Likewise.
313         (check-racy/%.exp): Likewise.
314         (workers/%.worker): Likewise.
315         (build-perf): Likewise.
316         (check-perf): Likewise.
317         * README: Describe new "TS" and "TS_FORMAT" variables.
318         * print-ts.py: New file.
319
320 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
321
322         PR python/23714
323         * gdb.python/python.exp: Test command repetition after
324         gdb.execute.
325
326 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
327
328         * gdb.opt/inline-break.exp: Add test that info breakpoint output
329         is correctly aligned.
330
331 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
332
333         * gdb.ada/info_auto_lang.exp: New testcase.
334         * gdb.ada/info_auto_lang/global_pack.ads: New file.
335         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
336         * gdb.ada/info_auto_lang/some_c.c: New file.
337
338 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
339
340         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
341         FUNC_lang language syntax.
342
343 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
344
345         * gdb.base/info_minsym.c: New file.
346         * gdb.base/info_minsym.exp: New file.
347
348 2018-11-19  Tom Tromey  <tom@tromey.com>
349
350         PR rust/23625:
351         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
352         * gdb.rust/expr.exp: Update expected output.  Change one test.
353
354 2018-11-19  Tom Tromey  <tom@tromey.com>
355
356         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
357
358 2018-11-19  Pedro Alves  <palves@redhat.com>
359
360         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
361         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
362         see the expected warning.
363
364 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
365
366         PR gdb/22736:
367         * gdb.cp/infcall-nodebug-lib.c: New test.
368         * gdb.cp/infcall-nodebug-main.c: New test.
369         * gdb.cp/infcall-nodebug.exp: New file.
370
371 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
372
373         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
374         completer tests.
375
376 2018-11-09  Tom de Vries  <tdevries@suse.de>
377
378         * gdb.base/msym-lang.c: New test.
379         * gdb.base/msym-lang.exp: New file.
380         * gdb.base/msym-lang-main.c: New test.
381
382 2018-11-08  Tom Tromey  <tom@tromey.com>
383
384         PR gdb/23555:
385         PR gdb/23838:
386         * gdb.base/warning.exp: New file.
387
388 2018-11-08  Jan Beulich  <jbeulich@suse.com>
389
390         * testsuite/gdb.arch/i386-avx512.c,
391         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
392
393 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
394
395         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
396         point hardware.
397
398 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
399
400         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
401         * gdb.dwarf2/missing-type-name.exp: New file.
402
403 2018-11-06  Tom de Vries  <tdevries@suse.de>
404
405         * gdb.base/many-headers.c: New test.
406         * gdb.base/many-headers.exp: New file.
407
408 2018-11-06  Jim Wilson  <jimw@sifive.com>
409
410         * gdb.base/code_elim.exp: For riscv, set additional_flags
411         to include -msmall-data-limit=0.
412
413 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
414
415         * gdb.ada/watch_minus_l: New testcase.
416
417 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
418
419         * gdb.arch/aix-sighandle.c: New file.
420         * gdb.arch/aix-sighandle.exp: New file.
421
422 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
423
424         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
425         registers being unions.
426
427 2018-10-31  Tom de Vries  <tdevries@suse.de>
428
429         * lib/valgrind.exp: New file.
430          (vgdb_start, vgdb_stop): New procs, factored out of ...
431         * gdb.base/valgrind-bt.exp: ... here, ...
432         * gdb.base/valgrind-disp-step.exp: ... here and ...
433         * gdb.base/valgrind-infcall.exp: ... here.
434
435 2018-10-31  Tom de Vries  <tdevries@suse.de>
436
437         * lib/gdb.exp (get_valueof): Don't output read value in test name.
438
439 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
440
441         * gdb.dwarf2/void-type.c: New file.
442         * gdb.dwarf2/void-type.exp: New file.
443
444 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
445
446         * gdb.base/info_qt.c: New file.
447         * gdb.base/info_qt.exp: New file.
448
449 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
450
451         * gdb.arch/powerpc-htm-regs.c: New file.
452         * gdb.arch/powerpc-htm-regs.exp: New file.
453
454 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
455
456         * gdb.arch/powerpc-tar.c: New file.
457         * gdb.arch/powerpc-tar.exp: New file.
458
459 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
460
461         * gdb.arch/powerpc-ppr-dscr.c: New file.
462         * gdb.arch/powerpc-ppr-dscr.exp: New file.
463
464 2018-10-25  Tom de Vries  <tdevries@suse.de>
465
466         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
467
468 2018-10-24  Tom de Vries  <tdevries@suse.de>
469
470         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
471         longer exists error.
472
473 2018-10-24  Tom de Vries  <tdevries@suse.de>
474
475         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
476
477 2018-10-24  Tom de Vries  <tdevries@suse.de>
478
479         * gdb.base/valgrind-db-attach.exp: Handle removed support for
480         --db-attach in valgrind.
481
482 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
483
484         * gdb.arch/riscv-reg-aliases.c: New file.
485         * gdb.arch/riscv-reg-aliases.exp: New file.
486
487 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
488
489         * gdb.python/py-cmd.exp: Check for gdb_prompt.
490
491 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
492
493         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
494
495 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
496
497         * gdb.cp/ovldbreak.exp: Fix regexps.
498
499 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
500
501         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
502
503 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
504
505         PR cli/23785
506         * gdb.base/restore.exp: New test to check if "restore" with an
507         invalid file doesn't segfault.
508
509 2018-10-18  Tom de Vries  <tdevries@suse.de>
510
511         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
512         * gdb.ada/excep_handle.exp: Same.
513         * gdb.ada/mi_string_access.exp: Same.
514         * gdb.ada/mi_var_union.exp: Same.
515         * gdb.arch/arc-analyze-prologue.exp: Same.
516         * gdb.arch/arc-decode-insn.exp: Same.
517         * gdb.base/readnever.exp: Same.
518         * gdb.fortran/printing-types.exp: Same.
519         * gdb.guile/scm-lazy-string.exp: Same.
520
521 2018-10-16  Tom de Vries  <tdevries@suse.de>
522
523         PR gdb/23730
524         * gdb.base/catch-follow-exec.c: Add copyright notice.
525         * gdb.base/catch-follow-exec.exp: Rewrite to use
526         gdb_spawn_with_cmdline_opts.  Require gdb-native.
527
528 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
529
530         * gdb.trace/actions-changed.exp: Check for arch support.
531         * gdb.trace/actions.exp: Likewise.
532         * gdb.trace/ax.exp: Likewise.
533         * gdb.trace/backtrace.exp: Likewise.
534         * gdb.trace/change-loc.exp: Likewise.
535         * gdb.trace/deltrace.exp: Likewise.
536         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
537         * gdb.trace/ftrace.exp: Likewise.
538         * gdb.trace/infotrace.exp: Check for arch support.
539         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
540         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
541         * gdb.trace/mi-tsv-changed.exp: Likewise.
542         * gdb.trace/packetlen.exp: Likewise.
543         * gdb.trace/passc-dyn.exp: Likewise.
544         * gdb.trace/passcount.exp: Likewise.
545         * gdb.trace/pending.exp: Likewise.
546         * gdb.trace/range-stepping.exp: Check for shlib support.
547         * gdb.trace/report.exp: Check for arch support.
548         * gdb.trace/save-trace.exp: Likewise.
549         * gdb.trace/signal.exp: Check for signal support.
550         * gdb.trace/tfind.exp: Check for arch support.
551         * gdb.trace/trace-break.exp: Check for arch and shlib support.
552         * gdb.trace/trace-common.h: Add comment.
553         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
554         * gdb.trace/trace-enable-disable.exp: Likewise.
555         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
556         * gdb.trace/tracecmd.exp: Check for arch support.
557         * gdb.trace/tspeed.exp: Check for shlib and target support.
558         * gdb.trace/tstatus.exp: Check for arch support.
559         * gdb.trace/tsv.exp: Likewise.
560         * gdb.trace/while-dyn.exp: Likewise.
561         * gdb.trace/while-stepping.exp: Likewise.
562         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
563
564 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
565
566         * gdb.trace/tspeed.exp: Remove nowarnings.
567         (prepare_for_trace_test): Declare "global ipalib".
568         * gdb.trace/tspeed.c: Include unistd.h.
569         (main): Remove superfluous printf argument.
570
571 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
572
573         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
574         directory prefix on the filename.
575
576 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
577
578         * gdb.gdb/unittest.exp: Update expected message informing that
579         selftests have been disabled.
580         * gdb.server/unittest.exp: Likewise.
581
582 2018-10-09  Tom de Vries  <tdevries@suse.de>
583
584         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
585         with runto_main.
586
587 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
588
589         PR c++/16841
590         * gdb.cp/virtbase2.cc: New file.
591         * gdb.cp/virtbase2.exp: New file.
592
593 2018-10-06  Tom Tromey  <tom@tromey.com>
594
595         PR python/19399:
596         * gdb.python/py-inferior.exp: Add architecture test.
597
598 2018-10-06  Tom Tromey  <tom@tromey.com>
599
600         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
601         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
602
603 2018-10-06  Tom Tromey  <tom@tromey.com>
604
605         * gdb.python/py-breakpoint.exp (check_last_event): Check location
606         of a "throw" catchpoint.
607
608 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
609
610         * gdb.base/info-proc.exp: Update string expected from "help info
611         proc".
612
613 2018-10-04  Tom Tromey  <tom@tromey.com>
614
615         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
616         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
617         (test_initial_complaints, test_empty_complaints): Update.
618         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
619
620 2018-10-04  Tom Tromey  <tom@tromey.com>
621
622         PR cli/19551:
623         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
624         * lib/gdb.exp (gdb_file_cmd): Update.
625         * gdb.stabs/weird.exp (print_weird_var): Update.
626         * gdb.server/solib-list.exp: Update.
627         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
628         * gdb.mi/mi-cli.exp: Update.
629         * gdb.linespec/linespec.exp: Update.
630         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
631         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
632         * gdb.cp/cp-relocate.exp: Update.
633         * gdb.base/sym-file.exp: Update.
634         * gdb.base/relocate.exp: Update.
635         * gdb.base/readnever.exp: Update.
636         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
637         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
638         * gdb.base/dbx.exp (gdb_file_cmd): Update.
639         * gdb.base/code_elim.exp: Update.
640         * gdb.base/break-unload-file.exp (test_break): Update.
641         * gdb.base/break-interp.exp (test_attach_gdb): Update.
642         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
643         Update.
644         * gdb.base/attach.exp (do_attach_tests): Update.
645         * gdb.base/sepdebug.exp: Update.
646         * gdb.python/py-section-script.exp: Update.
647
648 2018-10-04  Tom Tromey  <tom@tromey.com>
649
650         PR cli/22234:
651         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
652         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
653         output.
654
655 2018-10-04  Tom Tromey  <tom@tromey.com>
656
657         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
658         set width and height to 0.
659         (test_command_line_attach_run): Use -quiet.
660
661 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
662
663         * lib/gdb.exp (skip_ifunc_tests): New.
664         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
665         other compile failures.
666         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
667
668 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
669
670         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
671         is_amd64_regs_target.
672
673 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
674
675         * gdb.arch/aarch64-sighandler-regs.c: New test.
676         * gdb.arch/aarch64-sighandler-regs.exp: New file.
677         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
678
679 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
680
681         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
682         assembly.
683
684 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
685
686         * gdb.base/frame-selection.exp: New file.
687         * gdb.base/frame-selection.c: New file.
688
689 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
690
691         * gdb.threads/check-libthread-db.c (thread_routine): Use a
692         pthread barrier.
693         (main): Likewise.
694
695 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
696
697         * gdb.base/large-frame-1.c: New file.
698         * gdb.base/large-frame-2.c: New file.
699         * gdb.base/large-frame.exp: New file.
700         * gdb.base/large-frame.h: New file.
701
702 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
703
704         PR gdb/20948
705         * gdb.base/write_mem.exp: New test.
706         * gdb.base/write_mem.c: Likewise.
707
708 2018-09-23  Tom Tromey  <tom@tromey.com>
709
710         PR python/18852:
711         * gdb.python/py-parameter.exp: Add test for parameter that throws
712         on "set".
713
714 2018-09-23  Tom Tromey  <tom@tromey.com>
715
716         PR python/17284:
717         * gdb.python/py-template.exp (test_template_arg): Add test for
718         negative template argument number.
719
720 2018-09-23  Tom Tromey  <tom@tromey.com>
721
722         PR python/14062:
723         * gdb.python/python.exp: Add test for post_event error.
724
725 2018-09-23  Tom Tromey  <tom@tromey.com>
726
727         PR python/18170:
728         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
729         convert pointers to int and long.
730
731 2018-09-23  Tom Tromey  <tom@tromey.com>
732
733         PR python/20126:
734         * gdb.python/py-value.exp (test_value_numeric_ops): Add
735         signed-ness conversion tests.
736
737 2018-09-23  Tom Tromey  <tom@tromey.com>
738
739         PR python/18352;
740         * gdb.python/py-value.exp (test_float_conversion): New proc.
741         Use it.
742
743 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
744
745         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
746
747 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
748
749         * gdb.base/complete-empty.exp: Skip tab-completion tests if
750         no readline.
751         * gdb.base/utf8-identifiers.exp: Likewise.
752         * gdb.cp/cpcompletion.exp: Likewise.
753         * gdb.linespec/cpcompletion.exp: Likewise.
754         * gdb.linespec/cpls-abi-tag.exp: Likewise.
755         * gdb.linespec/cpls-ops.exp: Likewise.
756
757 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
758             Chris January  <chris.january@arm.com>
759
760         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
761         * gdb.fortran/short-circuit-argument-list.exp: New file.
762         * gdb.fortran/short-circuit-argument-list.f90: New test.
763
764 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
765
766         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
767         "arch=" keyword when executing "-stack-list-frames".
768
769 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
770
771         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
772         "arch=" keyword when executing "-stack-list-frames".
773
774 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
775
776         * gdb.ada/complete.exp: Expect for "@" when doing "complete
777         break ada".
778
779 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
780
781         PR python/23669
782         * gdb.python/python.exp: Test gdb.execute("show commands").
783
784 2018-09-16  Tom Tromey  <tom@tromey.com>
785
786         * gdb.base/new-ui.exp (do_execution_tests): Update.
787         * gdb.base/dbx.exp (test_breakpoints): Update.
788
789 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
790
791         * lib/gdb.exp (gdb_simple_compile): Add proc.
792         (is_elf_target): Use gdb_simple_compile.
793         (skip_altivec_tests): Likewise.
794         (skip_vsx_tests): Likewise.
795         (skip_tsx_tests): Likewise.
796         (skip_btrace_tests): Likewise.
797         (skip_btrace_pt_tests): Likewise.
798         (gdb_can_simple_compile): Likewise.
799         (gdb_has_argv0): Likewise.
800         (gdb_target_symbol_prefix): Likewise.
801         (target_supports_scheduler_locking): Likewise.
802
803 2018-09-13  Tom Tromey  <tom@tromey.com>
804
805         * Makefile.in (TAGS): Recognize proc_with_prefix and
806         gdb_caching_proc.
807
808 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
809
810         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
811         method.
812
813 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
814
815         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
816         and a few other Inferior properties when the Inferior is no
817         longer valid.
818
819 2018-09-13  Tom Tromey  <tom@tromey.com>
820
821         PR rust/23650:
822         * gdb.rust/simple.exp: Add test for enum field access error.
823
824 2018-09-13  Tom Tromey  <tom@tromey.com>
825
826         PR rust/23626:
827         * gdb.rust/simple.rs (EmptyEnum): New type.
828         (main): Use it.
829         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
830
831 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
832
833         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
834         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
835         * gdb.python/py-symtab.exp: Update test printing an objfile.
836
837 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
838
839         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
840         object.
841
842 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
843
844         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
845         (support_complex_tests): Use gdb_can_simple_compile.
846         (is_ilp32_target): Likewise.
847         (is_lp64_target): Likewise.
848         (is_64_target): Likewise.
849         (is_amd64_regs_target): Likewise.
850         (is_aarch32_target): Likewise.
851         (gdb_int128_helper): Likewise.
852
853 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
854
855         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
856
857 2018-09-10  Jerome Guitton  <guitton@adacore.com>
858
859         * gdb.ada/same_component_name: Add test for case of tagged record
860         with variable-length fields.
861
862 2018-09-10  Xavier Roirand  <roirand@adacore.com>
863
864         * gdb.ada/access_to_unbounded_array.exp: New testcase.
865         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
866         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
867         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
868
869 2018-09-10  Xavier Roirand  <roirand@adacore.com>
870
871         * gdb.ada/mi_string_access.exp: New testcase.
872         * gdb.ada/mi_string_access/bar.adb: New file.
873         * gdb.ada/mi_string_access/pck.adb: New file.
874         * gdb.ada/mi_string_access/pck.asd: New file.
875
876 2018-09-10  Xavier Roirand  <roirand@adacore.com>
877
878         * gdb.ada/mi_var_union.exp: New testcase.
879         * gdb.ada/mi_var_union/bar.adb: New file.
880         * gdb.ada/mi_var_union/pck.adb: New file.
881         * gdb.ada/mi_var_union/pck.asd: New file.
882
883 2018-09-08  Tom Tromey  <tom@tromey.com>
884
885         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
886
887 2018-09-08  Tom Tromey  <tom@tromey.com>
888
889         PR python/16047:
890         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
891         (register_pretty_printers): Register new printer.
892         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
893         test.
894         * gdb.python/py-prettyprint.c (int_type3): New typedef.
895         (an_int_type3): New global.
896
897 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
898
899         * gdb.ada/expr_with_funcall: New testcase.
900
901 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
902
903         * gdb.ada/packed_array_assign: New testcase.
904
905 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
906
907         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
908         names, and add test prefixes to make test names unique.
909
910 2018-09-05  Tom de Vries  <tdevries@suse.de>
911
912         * gdb.dwarf2/varval.exp: Add test.
913
914 2018-09-04  Gary Benson <gbenson@redhat.com>
915
916         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
917         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
918
919 2018-08-31  Tom Tromey  <tom@tromey.com>
920
921         * gdb.rust/simple.rs: Rename second variable "v".
922
923 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
924
925         * gdb.base/funcargs.c (use_a): New function.
926         (recurse): Call use_a.
927
928 2018-08-29  Keith Seitz  <keiths@redhat.com>
929
930         * gdb.compile/compile-cplus-anonymous.cc: New file.
931         * gdb.compile/compile-cplus-anonymous.exp: New file.
932         * gdb.compile/compile-cplus-array-decay.cc: New file.
933         * gdb.compile/compile-cplus-array-decay.exp: New file.
934         * gdb.compile/compile-cplus-inherit.cc: New file.
935         * gdb.compile/compile-cplus-inherit.exp: New file.
936         * gdb.compile/compile-cplus-member.cc: New file.
937         * gdb.compile/compile-cplus-member.exp: New file.
938         * gdb.compile/compile-cplus-method.cc: New file.
939         * gdb.compile/compile-cplus-method.exp: New file.
940         * gdb.compile/compile-cplus-mod.c: "New" file.
941         * gdb.compile/compile-cplus-namespace.cc: New file.
942         * gdb.compile/compile-cplus-namespace.exp: New file.
943         * gdb.compile/compile-cplus-nested.cc: New file.
944         * gdb.compile/compile-cplus-nested.exp: New file.
945         * gdb.compile/compile-cplus-print.c: "New" file.
946         * gdb.compile/compile-cplus-print.exp: "New" file.
947         * gdb.compile/compile-cplus-virtual.cc: New file.
948         * gdb.compile/compile-cplus-virtual.exp: New file.
949         * gdb.compile/compile-cplus.c: "New" file.
950         * gdb.compile/compile-cplus.exp: "New" file.
951         * lib/compile-support.exp: New file.
952
953 2018-08-16  Gary Benson <gbenson@redhat.com>
954
955         PR gdb/13000:
956         * gdb.base/batch-exit-status.exp: New file.
957         * gdb.base/batch-exit-status.good-commands: Likewise.
958         * gdb.base/batch-exit-status.bad-commands: Likewise.
959
960 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
961
962         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
963         (struct struct02): Likewise.
964         (struct struct03): Likewise.
965         (struct struct04): Likewise.
966         (struct struct_01_01): New struct.
967         (struct struct_01_02): Likewise.
968         (struct struct_01_03): Likewise.
969         (struct struct_01_04): Likewise.
970         (struct struct_02_01): Likewise.
971         (struct struct_02_02): Likewise.
972         (struct struct_02_03): Likewise.
973         (struct struct_02_04): Likewise.
974         (struct struct_04_01): Likewise.
975         (struct struct_04_02): Likewise.
976         (struct struct_04_03): Likewise.
977         (struct struct_04_04): Likewise.
978         (struct struct_05_01): Likewise.
979         (struct struct_05_02): Likewise.
980         (struct struct_05_03): Likewise.
981         (struct struct_05_04): Likewise.
982         (cmp_struct01): Remove function.
983         (cmp_struct02): Likewise.
984         (cmp_struct03): Likewise.
985         (cmp_struct04): Likewise.
986         (cmp_struct_01_01): Add Function.
987         (cmp_struct_01_02): Likewise.
988         (cmp_struct_01_03): Likewise.
989         (cmp_struct_01_04): Likewise.
990         (cmp_struct_02_01): Likewise.
991         (cmp_struct_02_02): Likewise.
992         (cmp_struct_02_03): Likewise.
993         (cmp_struct_02_04): Likewise.
994         (cmp_struct_04_01): Likewise.
995         (cmp_struct_04_02): Likewise.
996         (cmp_struct_04_03): Likewise.
997         (cmp_struct_04_04): Likewise.
998         (cmp_struct_05_01): Likewise.
999         (cmp_struct_05_02): Likewise.
1000         (cmp_struct_05_03): Likewise.
1001         (cmp_struct_05_04): Likewise.
1002         (call_all): Add new structs.
1003         * gdb.base/infcall-nested-structs.exp: Likewise.
1004
1005 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1006
1007         * gdb.python/py-framefilter-mi.exp: Update regexp to
1008         check for "arch" field in frame output.
1009
1010 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1011
1012         * gdb.dwarf2/dw2-ranges-func.c: New file.
1013         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1014
1015 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1016
1017         * gdb.base/term.exp: Compare terminal settings with values from
1018         the inferior.
1019         * gdb.base/term.c: Get and set terminal settings.
1020
1021 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1022
1023         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1024         accommodate new "arch" field in frame output.
1025         * gdb.mi/mi-return.exp: Likewise.
1026         * gdb.mi/mi-stack.exp: Likewise.
1027         * gdb.mi/mi-syn-frame.exp: Likewise.
1028         * gdb.mi/user-selected-context-sync.exp: Likewise.
1029
1030 2018-08-19  Michael Spang  <spang@google.com>
1031
1032         PR gdb/11786
1033         * gdb.base/gcore-tls-pie.c: New file.
1034         * gdb.base/gcore-tls-pie.exp: New file.
1035
1036 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1037
1038         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1039         * gdb.dwarf2/varval.c: New file.
1040         * gdb.dwarf2/varval.exp: New file.
1041
1042 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1043
1044         PR gdb/18931
1045         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1046
1047 2018-08-16  Keith Seitz  <keiths@redhat.com>
1048
1049         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1050         tests expected to pass.
1051
1052 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1053
1054         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1055         -data-disassemble -a.
1056         (test_disassembly_bogus_args): Likewise.
1057
1058 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1059
1060         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1061
1062 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1063
1064         * gdb.base/vla-optimized-out.exp: Add new test.
1065
1066 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1067
1068         * gdb.base/vla-optimized-out-o3.exp: Delete.
1069         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1070         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1071         deleted tests.
1072
1073 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1074
1075         PR gdb/18050:
1076         * gdb.server/extended-remote-restart.c: New file.
1077         * gdb.server/extended-remote-restart.exp: New file.
1078
1079 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1080
1081         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1082         "set variable index = 42".
1083
1084 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1085
1086         * boards/index-cache-gdb.exp: New file.
1087         * gdb.dwarf2/index-cache.exp: New file.
1088         * gdb.dwarf2/index-cache.c: New file.
1089         * gdb.base/maint.exp: Check if we are using the index cache.
1090
1091 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1092
1093         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1094         MAKEFLAGS.
1095
1096 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1097
1098         * dg-extract-results.sh: Move to toplevel contrib.
1099         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1100         * Makefile.in (check-parallel-racy): Likewise.
1101
1102 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1103
1104         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1105         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1106         tests if the target supports scheduler locking.
1107
1108 2018-08-04  Tom de Vries  <tdevries@suse.de>
1109
1110         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1111
1112 2018-08-02  Tom Tromey  <tom@tromey.com>
1113
1114         PR symtab/16842.
1115         * gdb.cp/temargs.exp: Test "info address" of a template
1116         parameter.
1117
1118 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1119
1120         * gdb.python/py-mi-var-info-path-expression.c: New file.
1121         * gdb.python/py-mi-var-info-path-expression.py: New file.
1122         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1123
1124 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1125
1126         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1127         error after "cannot resolve name" string.
1128
1129 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1130
1131         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1132         started.
1133         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1134
1135 2018-07-28  Tom de Vries  <tdevries@suse.de>
1136
1137         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1138
1139 2018-07-26  Tom de Vries  <tdevries@suse.de>
1140
1141         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1142
1143 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1144
1145         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1146         is visible.
1147
1148 2018-07-26  Tom de Vries  <tdevries@suse.de>
1149
1150         PR breakpoints/23366
1151         * gdb.base/catch-follow-exec.c: New test.
1152         * gdb.base/catch-follow-exec.exp: New file.
1153
1154 2018-07-25  Tom de Vries  <tdevries@suse.de>
1155
1156         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1157         vla-optimized-out.c.
1158
1159 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1160
1161         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1162         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1163
1164 2018-07-20  Tom de Vries  <tdevries@suse.de>
1165
1166         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1167         NOCLONE macro.
1168         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1169
1170 2018-07-19  Tom de Vries  <tdevries@suse.de>
1171
1172         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1173         regular expression.
1174
1175 2018-07-18  Tom de Vries  <tdevries@suse.de>
1176
1177         * gdb.base/vla-optimized-out.c: New test.
1178         * gdb.base/vla-optimized-out.exp: New file.
1179
1180 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1181
1182         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1183         message "No address associated with hostname" when gdbserver
1184         cannot resolve the hostname.
1185
1186 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1187
1188         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1189         Add some test prefixes to make tests unique.
1190
1191 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1192
1193         * gdb.base/frameapply.c: New file.
1194         * gdb.base/frameapply.exp: New file.
1195
1196 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1197
1198         * gdb.base/skip.exp: Update expected error message.
1199
1200 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1201             Jan Kratochvil  <jan.kratochvil@redhat.com>
1202             Paul Fertser  <fercerpav@gmail.com>
1203             Tsutomu Seki  <sekiriki@gmail.com>
1204
1205         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1206         parameter.
1207         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1208         by default.
1209         * boards/native-gdbserver.exp: Likewise.
1210         * gdb.server/run-without-local-binary.exp: Improve regexp used
1211         for detecting when a remote debugging connection succeeds.
1212         * gdb.server/server-connect.exp: New file.
1213         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1214         Do not prefix the port number with ":".
1215         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1216         support for detecting and using it.  Add '$debughost_gdbserver'
1217         to the list of arguments used to start gdbserver.  Handle case
1218         when gdbserver cannot resolve a network name.
1219
1220 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1221
1222         PR c++/23373
1223         * gdb.base/ptype-offsets.cc (struct static_member): New
1224         struct.
1225         (main) <stmember>: New variable.
1226         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1227         with a static member in it.
1228
1229 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1230
1231         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1232         watchpoints enabled and disabled.
1233
1234 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1235
1236         * gdb.base/examine-backward.exp: Still run tests around address
1237         0x0, even if address 0x0 is not readable.  Update the pattern for
1238         matching address 0x0 in expected output.
1239
1240 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1241
1242         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1243         malloc/free.
1244
1245 2018-07-04  Tom de Vries  <tdevries@suse.de>
1246
1247         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1248
1249 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1250
1251         PR tdep/8282
1252         * gdb.arch/mips-disassembler-options.exp: New test.
1253         * gdb.arch/mips-disassembler-options.s: New test source.
1254
1255 2018-06-29  Pedro Alves  <palves@redhat.com>
1256
1257         * gdb.threads/names.exp: Adjust expected "info threads" output.
1258
1259 2018-06-29  Pedro Alves  <palves@redhat.com>
1260
1261         * gdb.opt/inline-break.exp (line number, address): Add "info
1262         break" tests.
1263
1264 2018-06-29  Pedro Alves  <palves@redhat.com>
1265
1266         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1267         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1268         number and address and running to them.
1269
1270 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1271
1272         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1273
1274 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1275
1276         * lib/compiler.c: Remove executable permission flag.
1277
1278 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1279
1280         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1281         code.
1282         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1283
1284 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1285
1286         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1287
1288 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1289
1290         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1291         address argument is omitted.
1292
1293 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1294
1295         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1296
1297 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1298
1299         PR gdb/21695
1300         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1301         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1302
1303 2018-06-26  Tom Tromey  <tom@tromey.com>
1304
1305         PR rust/22574:
1306         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1307         * gdb.rust/simple.rs (struct SimpleLayout): New.
1308
1309 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1310
1311         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1312         "info registers" output.
1313
1314 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1315
1316         * gdb.base/watchpoint-hw-attach.c: New test.
1317         * gdb.base/watchpoint-hw-attach.exp: New file.
1318
1319 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1320
1321         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1322         through /bin/sh.
1323         * boards/dwarf4-gdb-index.exp: Likewise.
1324         * boards/fission-dwp.exp: Likewise.
1325
1326 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1327
1328         * gdb.base/float128.exp: Add comment and improved fail message
1329         to the failure case of "print large128" test.
1330
1331 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1332
1333         * configure.ac: Remove AC_PREREQ.
1334         * configure: Re-generate.
1335
1336 2018-06-19  Pedro Alves  <palves@redhat.com>
1337
1338         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1339         (func_extern_caller): New.
1340         (main): Call func_extern_caller.
1341         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1342         logic change.
1343
1344 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1345
1346         PR gdb/16841
1347         * gdb.cp/typedef-base.cc: New file.
1348         * gdb.cp/typedef-base.exp: New file.
1349
1350 2018-06-18  Tom de Vries  <tdevries@suse.de>
1351
1352         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1353
1354 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1355             Richard Bunt <Richard.Bunt@arm.com>
1356
1357         * gdb.threads/attach-slow-waitpid.c: New file.
1358         * gdb.threads/attach-slow-waitpid.exp: New file.
1359         * gdb.threads/slow-waitpid.c: New file.
1360
1361 2018-06-14  Pedro Alves  <palves@redhat.com>
1362
1363         * gdb.base/fork-running-state.c: Include <errno.h>.
1364         (exit_if_relative_exits): New.
1365         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1366         exits.
1367         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1368         child exits.
1369
1370 2018-06-14  Tom de Vries  <tdevries@suse.de>
1371
1372         PR cli/22573
1373         * gdb.base/finish-pretty.c: New test.
1374         * gdb.base/finish-pretty.exp: New file.
1375
1376 2018-06-14  Pedro Alves  <palves@redhat.com>
1377
1378         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1379         gdb's expected startup output.
1380
1381 2018-06-14  Pedro Alves  <palves@redhat.com>
1382
1383         * lib/selftest-support.exp (selftest_setup): Remove inlined
1384         function handling.
1385
1386 2018-06-14  Tom de Vries  <tdevries@suse.de>
1387
1388         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1389         matching of breakpoint printing.
1390
1391 2018-06-13  Tom de Vries  <tdevries@suse.de>
1392
1393         PR testsuite/23269
1394         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1395         (fork_child): ... here, and ...
1396         (fork_parent): ... here.
1397
1398 2018-06-12  Tom de Vries  <tdevries@suse.de>
1399
1400         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1401
1402 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1403             Stephen Roberts  <stephen.roberts@arm.com>
1404
1405         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1406         rewrite test to describe action performed, rather than possible
1407         failure.
1408
1409 2018-06-08  Gary Benson <gbenson@redhat.com>
1410
1411         * gdb.threads/check-libthread-db.exp: New file.
1412         * gdb.threads/check-libthread-db.c: Likewise.
1413
1414 2018-06-05  Tom Tromey  <tom@tromey.com>
1415
1416         * gdb.base/default.exp: Update expected "show version" output.
1417
1418 2018-06-05  Tom Tromey  <tom@tromey.com>
1419
1420         PR cli/12326:
1421         * gdb.cp/static-print-quit.exp: Update.
1422         * lib/gdb.exp (pagination_prompt): Update.
1423         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1424         * gdb.python/python.exp: Update.
1425
1426 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1427
1428         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1429
1430 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1431
1432         * gdb.ada/bp_fun_addr: New testcase.
1433
1434 2018-06-01  Tom Tromey  <tom@tromey.com>
1435
1436         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1437         results.
1438         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1439         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1440         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1441         * gdb.base/maint.exp (maint_pass_if): Update.
1442
1443 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1444
1445         * gdb.base/endian.exp: New test.
1446         * gdb.base/endian.c: New test source.
1447
1448 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1449
1450         PR gdb/23203
1451         * gdb.base/bt-selected-frame.c: New file.
1452         * gdb.base/bt-selected-frame.exp: New file.
1453         * lib/gdb.exp (get_current_frame_number): New function.
1454
1455 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1456             Pedro Alves  <palves@redhat.com>
1457
1458         * gdb.threads/tls-core.c: Include <stdlib.h>
1459         (thread_proc): Call `abort'.
1460         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1461         (tls_core_test): New procedure, bits factored out from ...
1462         (top level): ... here.  Test both native cores and gcore cores.
1463
1464 2018-05-23  Tom Tromey  <tom@tromey.com>
1465
1466         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1467
1468 2018-05-23  Tom Tromey  <tom@tromey.com>
1469
1470         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1471         symfile_complaints.
1472         (test_short_complaints): Likewise.
1473         (test_empty_complaints): Likewise.
1474         (test_initial_complaints): Update.
1475
1476 2018-05-23  Tom Tromey  <tom@tromey.com>
1477
1478         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1479
1480 2018-05-23  Tom Tromey  <tom@tromey.com>
1481
1482         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1483         (test_short_complaints): Update.
1484
1485 2018-05-22  Pedro Alves  <palves@redhat.com>
1486
1487         * gdb.base/remote.exp: Only gdb_start after compiling the
1488         testcase.  Issue "disconnect" before testing "set remote" command
1489         defaults.  Issue clean_restart before running to main.
1490
1491 2018-05-22  Pedro Alves  <palves@redhat.com>
1492
1493         * gdb.base/remote.exp: Adjust expected output of "show remote
1494         memory-write-packet-size".  Add tests for "set remote
1495         memory-write-packet-size 0" and "set remote
1496         memory-write-packet-size fixed/limit".
1497
1498 2018-05-22  Pedro Alves  <palves@redhat.com>
1499
1500         PR gdb/22973
1501         * gdb.base/utf8-identifiers.c: New file.
1502         * gdb.base/utf8-identifiers.exp: New file.
1503
1504 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1505
1506         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1507
1508 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1509
1510         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1511
1512 2018-05-18  Tom Tromey  <tom@tromey.com>
1513
1514         * gdb.base/ptype-offsets.exp: Update.
1515
1516 2018-05-17  Keith Seitz  <keiths@redhat.com>
1517
1518         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1519         in expected breakpoint stop locations.
1520         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1521         move to proper scope to test variable values.
1522         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1523         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1524         New functions.
1525         (main): Call not_inline_func3.
1526         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1527         inline_func1, inline_func2, and inline_func3.  Test that when each
1528         breakpoint is hit, GDB properly reports both the stop location
1529         and the backtrace. Repeat tests for temporary breakpoints.
1530
1531 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1532
1533         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1534         rather then trying to access it in determining whether the PID
1535         of `gdbserver' could have been retrieved.
1536
1537 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1538
1539         * gdb.arch/amd64-init-x87-values.S: New file.
1540         * gdb.arch/amd64-init-x87-values.exp: New file.
1541
1542 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1543
1544         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1545
1546 2018-05-04  Tom Tromey  <tom@tromey.com>
1547
1548         PR python/22730:
1549         * gdb.python/python.exp: Test multi-line execute.
1550
1551 2018-05-04  Tom Tromey  <tom@tromey.com>
1552
1553         PR python/22731:
1554         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1555
1556 2018-05-04  Tom Tromey  <tom@tromey.com>
1557
1558         PR gdb/11750:
1559         * gdb.base/define.exp: Test defining a user command inside a user
1560         command.
1561         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1562
1563 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1564             Pedro Alves <palves@redhat.com>
1565
1566         PR breakpoints/19806 and support for PR external/20207.
1567         * gdb.base/watchpoint-unaligned.c: New file.
1568         * gdb.base/watchpoint-unaligned.exp: New file.
1569
1570 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1571
1572         * gdb.base/maint.exp: Make test names unique, use
1573         test_prefix_command_help to test 'help maint info', and remove
1574         repeated test of 'help maint'.
1575
1576 2018-05-04  Tom Tromey  <tom@tromey.com>
1577
1578         PR gdb/22619:
1579         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1580         behavior.
1581
1582 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1583
1584         * gdb.base/maint.exp: Process output from 'maint print registers'
1585         line at a time.
1586
1587 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1588
1589         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1590         timeout.
1591
1592 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1593
1594         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1595         filter pattern.
1596
1597 2018-05-02  Pedro Alves  <palves@redhat.com>
1598
1599         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1600         to_log_command renames.
1601         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1602
1603 2018-05-02  Tom Tromey  <tom@tromey.com>
1604
1605         * gdb.python/py-parameter.exp: Set test message.
1606
1607 2018-05-02  Tom Tromey  <tom@tromey.com>
1608
1609         PR python/20084:
1610         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1611         PARAM_ZUINTEGER_UNLIMITED tests.
1612
1613 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1614
1615         PR rust/23124
1616         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1617         when casting.
1618
1619 2018-04-30  Tom Tromey  <tom@tromey.com>
1620
1621         * gdb.python/py-type.exp: Check align attribute.
1622         * gdb.python/py-type.c: New "aligncheck" global.
1623
1624 2018-04-30  Tom Tromey  <tom@tromey.com>
1625
1626         PR exp/17095:
1627         * gdb.dwarf2/dw2-align.exp: New file.
1628         * gdb.cp/align.exp: New file.
1629         * gdb.base/align.exp: New file.
1630         * lib/gdb.exp (gdb_int128_helper): New proc.
1631         (has_int128_c, has_int128_cxx): New caching procs.
1632
1633 2018-04-27  Tom Tromey  <tom@tromey.com>
1634
1635         PR rust/22545:
1636         * gdb.rust/simple.exp: Add inclusive range tests.
1637
1638 2018-04-26  Pedro Alves  <palves@redhat.com>
1639
1640         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1641         ifunc breakpoint locations correctly of ifunc breakpoints set
1642         while the program resolves the ifunc.
1643
1644 2018-04-26  Pedro Alves  <palves@redhat.com>
1645
1646         * gdb.base/gnu-ifunc-final.c: New file.
1647         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1648         * gdb.base/gnu-ifunc.exp (executable): Delete.
1649         (staticexecutable): Adjust.
1650         (lib_opts, exec_opts): Delete.
1651         (make_binsuffix, build, set-break): New procedures.
1652         (misc_tests): New, with tests factored out from the top level.
1653         (top level): Test different combinations of ifunc resolver name,
1654         resolver with and with debug info, and ifunc target with and
1655         without debug info.  Wrap static tests with with_target_prefix.
1656
1657 2018-04-26  Pedro Alves  <palves@redhat.com>
1658
1659         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1660         return type" warnings.
1661
1662 2018-04-25  Pedro Alves  <palves@redhat.com>
1663
1664         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1665         killed".
1666         * gdb.base/kill-after-signal.exp: Likewise.
1667         * gdb.threads/kill.exp: Likewise.
1668
1669 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1670             Sergio Durigan Junior  <sergiodj@redhat.com>
1671             Pedro Alves  <palves@redhat.com>
1672
1673         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1674         regexps to expect for '[Inferior ... detached]' as well.
1675         * gdb.base/attach.exp: Likewise.
1676         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1677         "gdb_continue_to_end".
1678         (test_catch_syscall_with_wrong_args): Likewise.
1679         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1680         ']'.  Don't set 'verbose' on.
1681         * gdb.base/foll-vfork.exp: Likewise.
1682         * gdb.base/fork-print-inferior-events.c: New file.
1683         * gdb.base/fork-print-inferior-events.exp: New file.
1684         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1685         '[Inferior ... has been killed]' message.
1686         * gdb.base/kill-after-signal.exp: Likewise.
1687         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1688         detach message.
1689         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1690         message.
1691         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1692         regexps to expect for '[Inferior ... detached]' as well.
1693         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1694
1695 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1696
1697         PR gdb/23104
1698         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1699
1700 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1701
1702         * gdb.threads/multiple-successive-infcall.c: New test.
1703         * gdb.threads/multiple-successive-infcall.exp: New file.
1704
1705 2018-04-17  Tom Tromey  <tom@tromey.com>
1706
1707         * gdb.rust/simple.rs (Union): New type.
1708         (main): New local "u".
1709         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1710
1711 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1712
1713         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1714         number information in output of "whereis" command.
1715         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1716
1717 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1718
1719         * gdb.ada/info_types.exp: Adjust expected output to the line
1720         numbers now printed by "info var/func/type".
1721         * gdb.base/completion.exp: Likewise.
1722         * gdb.base/included.exp: Likewise.
1723         * gdb.cp/cp-relocate.exp: Likewise.
1724         * gdb.cp/cplusfuncs.exp: Likewise.
1725         * gdb.cp/namespace.exp: Likewise.
1726         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1727
1728 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1729
1730         * gdb.btrace/cpu.exp: New.
1731
1732 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1733
1734         * gdb.base/step-indirect-call-thunk.exp: New.
1735         * gdb.base/step-indirect-call-thunk.c: New.
1736         * gdb.reverse/step-indirect-call-thunk.exp: New.
1737         * gdb.reverse/step-indirect-call-thunk.c: New.
1738
1739 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1740
1741         * gdb.base/pie-fork.c: New file.
1742         * gdb.base/pie-fork.exp: New file.
1743
1744 2018-04-11  Tom Tromey  <tom@tromey.com>
1745
1746         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1747
1748 2018-04-10  Pedro Alves  <palves@redhat.com>
1749
1750         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1751         exits.  Instead loop running forever.
1752         (fork_parent): Run forever too.
1753
1754 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1755
1756         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1757         mi_continue_to_line.
1758         * gdb.mi/mi-stack.c (callee4): Add comment.
1759
1760 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1761
1762         * gdb.mi/mi-stack.exp: Fix indentation.
1763
1764 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1765
1766         PR gdb/22979
1767         * gdb.arch/amd64-osabi.exp: New file.
1768
1769 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1770
1771         PR gdb/22980
1772         * gdb.base/osabi.exp: New file.
1773
1774 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1775
1776         * gdb.cp/static-typedef-print.exp: New file.
1777         * gdb.cp/static-typedef-print.cc: New file.
1778
1779 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1780
1781         * gdb.ada/varsize_limit: New testcase.
1782
1783 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1784
1785         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1786
1787         * gdb.ada/notcplusplus: New testcase.
1788
1789         * gdb.base/c-linkage-name.c: New file.
1790         * gdb.base/c-linkage-name.exp: New testcase.
1791
1792 2018-03-26  Tom Tromey  <tom@tromey.com>
1793
1794         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1795         * gdb.python/py-framefilter.py (name_error): New global.
1796         (ErrorInName.function): Use name_error.
1797
1798 2018-03-26  Tom Tromey  <tom@tromey.com>
1799
1800         PR backtrace/15582:
1801         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1802
1803 2018-03-23  Keith Seitz  <keiths@redhat.com>
1804
1805         PR c++/22968
1806         * gdb.cp/subtypes.exp: New file.
1807         * gdb.cp/subtypes.h: New file.
1808         * gdb.cp/subtypes.cc: New file.
1809         * gdb.cp/subtypes-2.cc: New file.
1810
1811 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1812
1813         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1814         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1815         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1816         -nostartfiles when compiling the test.  Confirm that all registers
1817         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1818
1819 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1820
1821         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1822         option, syntax was wrong anyway.
1823         * gdb.arch/arm-disp-step.exp: Likewise.
1824         * gdb.arch/sparc64-regs.exp: Likewise.
1825         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1826         option, syntax was wrong anyway, switch to use
1827         prepare_for_testing.
1828         * gdb.arch/i386-disp-step.exp: Likewise.
1829
1830 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1831
1832         * gdb.ada/exec_changed.exp: Replace "target_info exists
1833         use_gdb_stub" by "use_gdb_stub".
1834         * gdb.ada/start.exp: Likewise.
1835         * gdb.base/async-shell.exp: Likewise.
1836         * gdb.base/attach-pie-misread.exp: Likewise.
1837         * gdb.base/attach-wait-input.exp: Likewise.
1838         * gdb.base/break-entry.exp: Likewise.
1839         * gdb.base/break-interp.exp: Likewise.
1840         * gdb.base/dprintf-detach.exp: Likewise.
1841         * gdb.base/nostdlib.exp: Likewise.
1842         * gdb.base/solib-nodir.exp: Likewise.
1843         * gdb.base/statistics.exp: Likewise.
1844         * gdb.base/testenv.exp: Likewise.
1845         * gdb.mi/mi-exec-run.exp: Likewise.
1846         * gdb.mi/mi-start.exp: Likewise.
1847         * gdb.multi/dummy-frame-restore.exp: Likewise.
1848         * gdb.multi/multi-arch-exec.exp: Likewise.
1849         * gdb.multi/multi-arch.exp: Likewise.
1850         * gdb.multi/tids.exp: Likewise.
1851         * gdb.multi/watchpoint-multi.exp: Likewise.
1852         * gdb.python/py-events.exp: Likewise.
1853         * gdb.threads/attach-into-signal.exp: Likewise.
1854         * gdb.threads/attach-stopped.exp: Likewise.
1855         * gdb.threads/threadapply.exp: Likewise.
1856         * lib/selftest-support.exp: Likewise.
1857
1858 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1859
1860         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1861
1862 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1863
1864         * gdb.perf/template-breakpoints.cc: New file.
1865         * gdb.perf/template-breakpoints.exp: New file.
1866         * gdb.perf/template-breakpoints.py: New file.
1867
1868 2018-03-19  Tom Tromey  <tom@tromey.com>
1869
1870         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1871         y0.
1872         * gdb.rust/simple.exp: Test bare identifier form of struct
1873         initializer.
1874
1875 2018-03-19  Tom Tromey  <tom@tromey.com>
1876
1877         * gdb.gdb/observer.exp: Remove.
1878
1879 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1880
1881         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1882         "qualified" option when setting breakpoints.
1883         * gdb.trace/backtrace.exp: Likewise.
1884         * gdb.trace/circ.exp: Likewise.
1885         * gdb.trace/collection.exp: Likewise.
1886         * gdb.trace/disconnected-tracing.exp: Likewise.
1887         * gdb.trace/ftrace-lock.exp: Likewise.
1888         * gdb.trace/ftrace.exp: Likewise.
1889         * gdb.trace/infotrace.exp: Likewise.
1890         * gdb.trace/packetlen.exp: Likewise.
1891         * gdb.trace/passc-dyn.exp: Likewise.
1892         * gdb.trace/qtro.exp: Likewise.
1893         * gdb.trace/read-memory.exp: Likewise.
1894         * gdb.trace/report.exp: Likewise.
1895         * gdb.trace/signal.exp: Likewise.
1896         * gdb.trace/status-stop.exp: Likewise.
1897         * gdb.trace/strace.exp: Likewise.
1898         * gdb.trace/tfind.exp: Likewise.
1899         * gdb.trace/trace-break.exp: Likewise.
1900         * gdb.trace/trace-condition.exp: Likewise.
1901         * gdb.trace/trace-mt.exp: Likewise.
1902         * gdb.trace/tstatus.exp: Likewise.
1903         * gdb.trace/tsv.exp: Likewise.
1904         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1905         * gdb.trace/unavailable.exp: Likewise.
1906         * gdb.trace/while-dyn.exp: Likewise.
1907
1908 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1909
1910         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1911         that libinproctrace is copied to the target.
1912
1913 2018-03-14  Tom Tromey  <tom@tromey.com>
1914
1915         PR cli/14977:
1916         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1917         a null pointer.
1918         * gdb.base/wchar.exp: Likewise.
1919
1920 2018-03-14  Tom Tromey  <tom@tromey.com>
1921
1922         PR cli/19918:
1923         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1924         flag.
1925
1926 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1927
1928         PR gdb/22841
1929         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1930         "target" to remote_exec.
1931
1932 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1933
1934         PR gdb/22841
1935         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1936         ${board}_upload): Remove.
1937
1938 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1939
1940         * gdb.cp/watch-cp.cc: New test.
1941         * gdb.cp/watch-cp.exp: New file.
1942
1943 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1944
1945         * gdb.base/infcall-nested-structs.exp: New file.
1946         * gdb.base/infcall-nested-structs.c: New file.
1947         * gdb.base/float.exp: Add riscv support.
1948
1949 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1950
1951         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1952         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1953
1954 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1955
1956         * gdb.server/abspath.exp: New file.
1957         * lib/gdb.exp (with_cwd): New procedure.
1958
1959 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1960
1961         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1962         use it.
1963         (gdb_is_target_remote_prompt): New proc.
1964         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1965         (gdb_is_target_native): Pass prompt parameter to
1966         gdb_is_target_1.
1967
1968 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1969
1970         * gdb.base/load-command.c: New file.
1971         * gdb.base/load-command.exp: New file.
1972         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1973         (gdb_is_target_1): ...this, and generalize for other targets
1974         than just remote.
1975         (gdb_is_target_remote): Use gdb_is_target_1.
1976         (gdb_is_target_native): use gdb_is_target_1.
1977
1978 2018-02-26  Tom Tromey  <tom@tromey.com>
1979
1980         PR python/16497:
1981         * gdb.python/py-framefilter.exp: Update test.
1982
1983 2018-02-26  Tom Tromey  <tom@tromey.com>
1984
1985         * gdb.dwarf2/variant.c: New file.
1986         * gdb.dwarf2/variant.exp: New file.
1987
1988 2018-02-26  Tom Tromey  <tom@tromey.com>
1989
1990         * gdb.rust/simple.exp: Accept more possible results in enum test.
1991
1992 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1993
1994         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1995         parentheses.
1996
1997 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1998
1999         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2000         name of a variable: $actual_linejj -> $actual_line.
2001
2002 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2003
2004         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2005
2006 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2007
2008         * gdb.btrace/buffer-size.exp: Do not force BTS.
2009
2010 2018-02-14  Pedro Alves  <palves@redhat.com>
2011
2012         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2013         getting a "Quit".
2014
2015 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2016
2017         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2018         Fix test name.
2019
2020 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2021
2022         * gdb.cp/m-static.exp: Check type of optimized out static
2023         member.
2024
2025 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2026
2027         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2028         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2029
2030 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2031             Leszek Swirski  <leszeks@google.com>
2032
2033         * gdb.python/py-prettyprint.c
2034         (struct to_string_returns_value_inner,
2035         struct to_string_returns_value_wrapper): New.
2036         (main): Add tsrvw variable.
2037         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2038         ToStringReturnsValueWrapper): New classes.
2039         (register_pretty_printers): Register new pretty-printers.
2040         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2041         recursive pretty printer.
2042         * gdb.python/py-mi.exp: Likewise.
2043
2044 2018-02-01  Leszek Swirski  <leszeks@google.com>
2045
2046         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2047         functions with the same name as an include file are parsed
2048         correctly.
2049
2050 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2051
2052         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2053         "\[^\r\n\]*".
2054
2055 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2056
2057         * gdb.arch/powerpc-prologue-frame.s: New file.
2058         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2059         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2060
2061 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2062
2063         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2064
2065 2018-01-30  Pedro Alves  <palves@redhat.com>
2066
2067         PR gdb/13211
2068         * gdb.base/interrupt-daemon.c: New.
2069         * gdb.base/interrupt-daemon.exp: New.
2070         * gdb.multi/multi-term-settings.c: New.
2071         * gdb.multi/multi-term-settings.exp: New.
2072
2073 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2074
2075         * gdb.base/break.exp: Save the location where the breakpoint
2076         on break.c:47 was actually inserted when debugging the version
2077         compiled at -O2 and use it in the expected output of the "info
2078         break" test performed soon after.
2079
2080 2018-01-22  Pedro Alves  <palves@redhat.com>
2081             Sergio Durigan Junior  <sergiodj@redhat.com>
2082
2083         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2084         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2085
2086 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2087
2088         * gdb.base/break-include.c, gdb.base/break-include.inc,
2089         gdb.base/break-include.exp: New files.
2090         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2091         line number now being the actual line number where the breakpoint
2092         was inserted.
2093         * gdb.mi/mi-break.exp: Likewise.
2094         * gdb.mi/mi-reverse.exp: Likewise.
2095         * gdb.mi/mi-simplerun.exp: Ditto.
2096
2097 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2098
2099         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2100         varobj.
2101         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2102
2103 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2104             Andrew Burgess  <andrew.burgess@embecosm.com>
2105
2106         * gdb.mi/basics.c: Add new global.
2107         * gdb.mi/mi-frame-regs.exp: New file.
2108         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2109         case.
2110
2111 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2112
2113         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2114         non-parameter, and on an unknown symbol.
2115
2116 2018-01-19  Tom Tromey  <tom@tromey.com>
2117
2118         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2119         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2120
2121 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2122
2123         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2124         setrlimit and chdir to int.
2125
2126 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2127
2128         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2129         function.
2130         (my_tend): Likewise.
2131         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2132         rationale of avoiding FP- and vector instructions.
2133
2134 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2135
2136         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2137         "info reg" with "\[ \t\]*".
2138         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2139         "\[ \t\]+".
2140         * gdb.arch/s390-multiarch.exp: Ditto.
2141         * gdb.base/pc-fp.exp: Ditto.
2142         * gdb.reverse/i386-precsave.exp: Ditto.
2143         * gdb.reverse/i386-reverse.exp: Ditto.
2144         * gdb.reverse/i387-env-reverse.exp: Ditto.
2145         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2146
2147 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2148
2149         * lib/gdb.exp (gdb_compile): Re-enable use of
2150         universal_compile_options for languages other than Rust.
2151
2152 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2153
2154         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2155
2156 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2157
2158         PR gdb/16577
2159         * gdb.base/solib-vanish.exp: New.
2160         * gdb.base/solib-vanish-main.c: New.
2161         * gdb.base/solib-vanish-lib1.c: New.
2162         * gdb.base/solib-vanish-lib2.c: New.
2163
2164 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2165
2166         * gdb.compile/compile.exp: Match the address printed for
2167         frame in the output of command "bt".
2168
2169 2018-01-15  Tom Tromey  <tom@tromey.com>
2170
2171         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2172         compute sp_reg.
2173
2174 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2175
2176         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2177         to prepare.
2178         (prepare): Return 0 on error, 1 on success.
2179
2180 2018-01-12  Pedro Alves  <palves@redhat.com>
2181
2182         * gdb.base/continue-after-aborted-step-over.c: New.
2183         * gdb.base/continue-after-aborted-step-over.exp: New.
2184
2185 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2186
2187         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2188         options when not creating an executable.
2189
2190 2018-01-11  Pedro Alves  <palves@redhat.com>
2191
2192         PR remote/22597
2193         * gdb.server/stop-reply-no-thread.c: New file.
2194         * gdb.server/stop-reply-no-thread.exp: New file.
2195
2196 2018-01-10  Pedro Alves  <palves@redhat.com>
2197
2198         PR gdb/22670
2199         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2200         functions too.  Test setting breakpoints and printing C functions
2201         with no debug info too.
2202         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2203
2204 2018-01-10  Pedro Alves  <palves@redhat.com>
2205
2206         PR gdb/22670
2207         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2208         a fail.
2209
2210 2018-01-10  Pedro Alves  <palves@redhat.com>
2211
2212         PR gdb/22670
2213         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2214
2215 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2216
2217         * gdb.server/unittest.exp: Match the output in non-development
2218         mode.
2219
2220 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2221
2222         * gdb.gdb/unittest.exp: Match output in non-development mode.
2223
2224 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2225
2226         * gdb.ada/access_tagged_param.exp: Relax expected output
2227         for value of "ObjL" in "continue" to pck.inspect breakpoint
2228         test.
2229
2230 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2231
2232         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2233         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2234
2235 2018-01-05  Pedro Alves  <palves@redhat.com>
2236
2237         PR gdb/18653
2238         * gdb.base/libsegfault.exp: New.
2239
2240 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2241
2242         PR gdb/22670
2243         * gdb.ada/access_tagged_param.exp: New file.
2244         * gdb.ada/access_tagged_param/foo.adb: New file.
2245
2246 2018-01-05  Pedro Alves  <palves@redhat.com>
2247
2248         PR gdb/22670
2249         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2250         exercise lower case too, and to exercise both full matching and
2251         wild matching.
2252
2253 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2254
2255         * gdb.ada/rename_subscript_param: New testcase.
2256
2257 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2258
2259         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2260
2261 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2262
2263         * gdb.ada/convvar_comp: New testcase.
2264
2265 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2266
2267         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2268         (My_Table): New global variable.
2269         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2270
2271 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2272
2273         PR gdb/22670
2274         * gdb.ada/maint_with_ada: New testcase.
2275
2276 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2277
2278         PR gdb/22670
2279         * gdb.ada/bp_c_mixed_case: New testcase.
2280
2281 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2282
2283         PR gdb/22670
2284         * gdb.ada/complete.exp: Add "complete break ada" test.
2285
2286 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2287
2288         PR gdb/22670
2289         * gdb.ada/info_addr_mixed_case: New testcase.
2290
2291 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2292
2293         * gdb.ada/excep_handle.exp: New testcase.
2294         * gdb.ada/excep_handle/foo.adb: New file.
2295         * gdb.ada/excep_handle/pck.ads: New file.
2296
2297 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2298
2299         * gdb.base/step-line.c: Add extra empty line in copyright header.
2300         * gdb.base/step-line.inp: Likewise.
2301
2302 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2303
2304         * gdb.ada/dyn_stride.exp: Add slice test.
2305
2306 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2307
2308         * gdb.ada/dyn_stride: New testcase.
2309
2310 2017-12-27  Stafford Horne  <shorne@gmail.com>
2311
2312         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2313         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2314
2315 2017-12-27  Stafford Horne  <shorne@gmail.com>
2316
2317         * gdb.base/reggroups.c: New file.
2318         * gdb.base/reggroups.exp: New file.
2319
2320 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2321
2322         * gdb.dwarf2/ada-valprint-error.c: New file.
2323         * gdb.dwarf2/ada-valprint-error.exp: New file.
2324
2325 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2326
2327         * gdb.ada/assign_arr: New testcase.
2328
2329 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2330
2331         * gdb.ada/funcall_ptr: New testcase.
2332
2333 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2334
2335         PR cli/16224
2336         * gdb.base/ptype-offsets.cc: New file.
2337         * gdb.base/ptype-offsets.exp: New file.
2338
2339 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2340
2341         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2342         if XML is disabled.
2343
2344 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2345
2346         * gdb.ada/same_component_name: New testcase.
2347
2348 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2349
2350         * gdb.ada/str_binop_equal: New testcase.
2351
2352 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2353
2354         * gdb.ada/task_switch_in_core: New testcase.
2355
2356 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2357
2358         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2359         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2360         call test_bkpt_qualified.
2361         (test_bkpt_qualified): New proc.
2362
2363 2017-12-13  Pedro Alves  <palves@redhat.com>
2364
2365         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2366         Tighten regexp by matching with an anchor.
2367
2368 2017-12-13  Pedro Alves  <palves@redhat.com>
2369
2370         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2371         ("expression with namespace"): New set of tests.
2372         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2373         (Nested::Test_NS::qux): New.
2374         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2375         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2376
2377 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2378
2379         * gdb.base/server-del-break.c: New file.
2380         * gdb.base/server-del-break.exp: New file.
2381
2382 2017-12-12  Stafford Horne  <shorne@gmail.com>
2383
2384         * gdb.xml/tdesc-regs.exp: Add or1k support.
2385
2386 2017-12-12  Stafford Horne  <shorne@gmail.com>
2387
2388         * gdb.base/bp-permanent.c: Define nop of or1k.
2389
2390 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2391
2392         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2393         output with components being reordered.
2394
2395 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2396
2397         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2398         output with components being reordered.
2399
2400 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2401             Pedro Alves  <palves@redhat.com>
2402
2403         * gdb.base/maint.exp (check for .gdb_index): Check also for
2404         .debug_names.
2405         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2406         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2407         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2408         (.gdb_index used after symbol reloading): Support also .debug_names.
2409         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2410
2411 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2412
2413         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2414         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2415
2416 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2417
2418         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2419         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2420
2421 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2422
2423         * gdb.arch/aarch64-tagged-pointer.c: New file.
2424         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2425
2426 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2427
2428         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2429         "int".
2430
2431 2017-12-07  Keith Seitz  <keiths@redhat.com>
2432
2433         PR breakpoints/22569
2434         * gdb.linespec/ls-errs.exp: Change expected result of "break
2435         -source this file has spaces.c -line 3".
2436         Check that an explicit source file followed by whitespace is
2437         identified as an invalid explicit location.
2438
2439 2017-12-07  Keith Seitz  <keiths@redhat.com>
2440
2441         * gdb.cp/nested-types.cc: New file.
2442         * gdb.cp/nested-types.exp: New file.
2443         * lib/cp-support.exp: Load data-structures.exp library.
2444         (debug_cp_test_ptype_class): New global.
2445         (cp_ptype_class_verbose, next_line): New procedures.
2446         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2447         Add and document new return value.
2448         Switch the list of lines to a queue.
2449         Add support for new `type' key for nested type definitions.
2450         Add debugging/troubleshooting messages.
2451         * lib/data-structures.exp: New file.
2452
2453 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2454
2455         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2456         with proc_with_prefix, don't use with_test_prefix.
2457
2458 2017-12-07  Tom Tromey  <tom@tromey.com>
2459
2460         * gdb.base/break.exp: Add test for empty "commands".
2461
2462 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2463
2464         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2465         malloc and catch syscall.
2466
2467 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2468
2469        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2470         tests for explicit locations.
2471
2472 2017-12-06  Pedro Alves  <palves@redhat.com>
2473
2474         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2475         force-disabling XML descriptions.
2476
2477 2017-12-04  Pedro Alves  <palves@redhat.com>
2478
2479         PR gdb/22499
2480         * gdb.arch/amd64-disp-step-avx.S: New file.
2481         * gdb.arch/amd64-disp-step-avx.exp: New file.
2482
2483 2017-12-03  Pedro Alves  <palves@redhat.com>
2484
2485         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2486         and <string.h>.
2487         (parent_function): Print distinct messages when waitpid fails, or
2488         the child exits with a signal, or the child exits for an unhandled
2489         reason.
2490         * gdb.threads/process-dies-while-detaching.exp
2491         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2492         it.  Wait for both inferior output and GDB's prompt.  Use an
2493         indirect spawn id list.
2494         (do_detach): New parameter 'child_exit'.  Use it to compute
2495         expected inferior output.
2496         (test_detach, test_detach_watch, test_detach_killed_outside):
2497         Adjust to pass down the expected child exit kind.
2498
2499 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2500             Sergio Durigan Junior  <sergiodj@redhat.com>
2501             Pedro Alves  <palves@redhat.com>
2502
2503         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2504
2505 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2506
2507         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2508         to 'symbol-file' and 'add-symbol-file' can be
2509         position-independent.
2510
2511 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2512
2513         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2514         the URL in copyright header.
2515         * gdb.arch/aarch64-fp.exp: Likewise.
2516         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2517         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2518         * gdb.base/expand-psymtabs.exp: Likewise.
2519         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2520         * gdb.fortran/common-block.exp: Likewise.
2521         * gdb.fortran/common-block.f90: Likewise.
2522         * gdb.fortran/logical.exp: Likewise.
2523         * gdb.fortran/vla-datatypes.f90: Likewise.
2524         * gdb.fortran/vla-sub.f90: Likewise.
2525
2526 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2527
2528         * gdb.ada/repeat_dyn: New testcase.
2529
2530 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2531
2532         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2533         Update for changed thread numbering.
2534         * gdb.cell/bt.exp: Update for changed GDB output.
2535
2536 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2537
2538         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2539         setting isremote by hand.
2540         * boards/dwarf4-gdb-index.exp: Likewise.
2541         * boards/fission.exp: Likewise.
2542         * boards/stabs.exp: Likewise.
2543
2544 2017-11-30  Pedro Alves  <palves@redhat.com>
2545
2546         * gdb.linespec/cpls-ops.exp
2547         (check_explicit_skips_function_argument): Extract the underlying
2548         type of size_t instead of hardcoding it.
2549
2550 2017-11-29  Pedro Alves  <palves@redhat.com>
2551
2552         PR c++/19436
2553         * gdb.linespec/cpls-abi-tag.cc: New file.
2554         * gdb.linespec/cpls-abi-tag.exp: New file.
2555
2556 2017-11-29  Pedro Alves  <palves@redhat.com>
2557
2558         * gdb.base/langs.exp: Use -qualified.
2559         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2560         it.
2561         * gdb.cp/namespace.exp: Use -qualified.
2562         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2563         (overload-3, template-overload, template-ret-type, const-overload)
2564         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2565         procedures.
2566         (test_driver): Call them.
2567         * gdb.cp/save-bp-qualified.cc: New.
2568         * gdb.cp/save-bp-qualified.exp: New.
2569         * gdb.linespec/explicit.exp: Test -qualified.
2570         * lib/completion-support.exp (completion::explicit_opts_list): Add
2571         "-qualified".
2572         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2573
2574 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2575
2576         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2577
2578 2017-11-29  Tom Tromey  <tom@tromey.com>
2579
2580         * gdb.base/relocate.exp: Update invalid argument test.
2581         Add new tests for invalid arguments.
2582
2583 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2584
2585         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2586         Return 0 as a long.
2587         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2588
2589 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2590
2591         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2592         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2593         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2594         func ().
2595         * gdb.cp/shadow.cc (B.func): Return 0.
2596
2597 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2598
2599         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2600         expected output in gdb_expect call to allow the exception
2601         message to be present as well.  Fix syntax confusion to avoid
2602         TCL thinking that exception_name is an array.
2603
2604 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2605
2606         * gdb.arch/spu-info.c: Include <unistd.h>.
2607         (do_signal_test): Fix broken calls to write.
2608         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2609         Fix checks for empty mailboxes.  Update signal tests for corrected
2610         do_signal_test routine.  Allow nonzero event status.
2611         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2612         * gdb.cell/arch.exp: Use standard_output_file.
2613         * gdb.cell/break.exp: Likewise.
2614         * gdb.cell/bt.exp: Likewise.
2615         * gdb.cell/core.exp: Likewise.
2616         * gdb.cell/dwarfaddr.exp: Likewise.
2617         * gdb.cell/ea-cache.exp: Likewise.
2618         * gdb.cell/ea-standalone.exp: Likewise.
2619         * gdb.cell/f-regs.exp: Likewise.
2620         * gdb.cell/fork.exp: Likewise.
2621         * gdb.cell/gcore.exp: Likewise.
2622         * gdb.cell/mem-access.exp: Likewise.
2623         * gdb.cell/ptype.exp: Likewise.
2624         * gdb.cell/registers.exp: Likewise.
2625         * gdb.cell/sizeof.exp: Likewise.
2626         * gdb.cell/solib-symbol.exp: Likewise.
2627         * gdb.cell/solib.exp: Likewise.
2628
2629 2017-11-25   Pedro Alves  <palves@redhat.com>
2630
2631         * gdb.base/complete-empty.exp: New file.
2632         * gdb.base/completion.exp: Adjust.
2633
2634 2017-11-25  Pedro Alves  <palves@redhat.com>
2635
2636         * gdb.linespec/cpls-ops.cc: New file.
2637         * gdb.linespec/cpls-ops.exp: New file.
2638         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2639         factored out from ...
2640         (test_complete_prefix_range): ... this.
2641
2642 2017-11-24  Pedro Alves  <palves@redhat.com>
2643
2644         * gdb.linespec/cpcompletion.exp: New file.
2645         * gdb.linespec/cpls-hyphen.cc: New file.
2646         * gdb.linespec/cpls.cc: New file.
2647         * gdb.linespec/cpls2.cc: New file.
2648         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2649         test to use test_gdb_complete_unique.  Add label completion,
2650         keyword completion and explicit location completion tests.
2651         * lib/completion-support.exp: New file.
2652
2653 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2654
2655         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2656         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2657         when hitting an exception catchpoint.
2658
2659 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2660
2661         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2662
2663 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2664
2665         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2666         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2667         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2668
2669 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2670
2671         * gdb.base/info-os.exp: Pass pthreads.
2672         * gdb.multi/multi-attach.exp: Likewise.
2673
2674 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2675
2676         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2677         compiler.
2678
2679 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2680
2681         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2682         * gdb.base/break-interp.exp: Likewise.
2683         * gdb.base/jit-attach-pie.exp: Likewise.
2684
2685 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2686
2687         * gdb.base/float128.c (large128): New variable.
2688         * gdb.base/float128.exp: Add test to print largest __float128 value.
2689
2690 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2691
2692         * gdb.arch/vsx-regs.exp: Update register content checks.
2693
2694 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2695
2696         * gdb.arch/ppc-longdouble.exp: New file.
2697         * gdb.arch/ppc-longdouble.c: Likewise.
2698
2699 2017-11-21  Pedro Alves  <palves@redhat.com>
2700
2701         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2702
2703 2017-11-20  Pedro Alves  <palves@redhat.com>
2704
2705         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2706         (long_double_typedef): New typedefs.
2707         Use DEF on double and long double.
2708         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2709         cases.
2710         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2711         and 'long_double_ptr_same_size' locals.  Use them to decide
2712         whether cast from array/function to float is valid/invalid.
2713
2714 2017-11-17  Tom Tromey  <tom@tromey.com>
2715
2716         * gdb.rust/traits.rs: New file.
2717         * gdb.rust/traits.exp: New file.
2718
2719 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2720
2721         * gdb.ada/minsyms: New testcase.
2722
2723 2017-11-16  Pedro Alves  <palves@redhat.com>
2724
2725         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2726         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2727
2728 2017-11-16  Pedro Alves  <palves@redhat.com>
2729
2730         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2731         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2732
2733 2017-11-16  Pedro Alves  <palves@redhat.com>
2734
2735         * gdb.server/reconnect-ctrl-c.c: New file.
2736         * gdb.server/reconnect-ctrl-c.exp: New file.
2737
2738 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2739
2740         * gdb.python/py-rbreak.exp: New file.
2741         * gdb.python/py-rbreak.c: New file.
2742         * gdb.python/py-rbreak-func2.c: New file.
2743
2744 2017-11-16  Pedro Alves  <palves@redhat.com>
2745
2746         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2747         pattern.
2748         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2749         GDB.
2750
2751 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2752
2753         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2754         regex.
2755
2756 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2757
2758         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2759         test names.
2760
2761 2017-11-09  Pedro Alves  <palves@redhat.com>
2762
2763         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2764         factored out from ...
2765         (top level): ... here, and adjusted to avoid expecting beyond the
2766         prompt in a single gdb_test_multiple.
2767
2768 2017-11-09  Pedro Alves  <palves@redhat.com>
2769
2770         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2771         output.
2772         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2773         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2774         * gdb.server/ext-run.exp ("kill" test): Likewise.
2775         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2776
2777 2017-11-09  Pedro Alves  <palves@redhat.com>
2778
2779         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2780         match till end of line.
2781
2782 2017-11-09  Pedro Alves  <palves@redhat.com>
2783
2784         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2785
2786 2017-11-09  Pedro Alves  <palves@redhat.com>
2787
2788         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2789         New procedures, factored out from ...
2790         (top level): ... here, and adjusted to avoid expecting beyond the
2791         prompt in one go.
2792
2793 2017-11-09  Pedro Alves  <palves@redhat.com>
2794
2795         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2796         output.  Fix '?' match.
2797
2798 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2799
2800         * gdb.ada/scoped_watch: New testcase.
2801         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2802         which is actually correct.
2803         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2804         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2805
2806 2017-11-08  Pedro Alves  <palves@redhat.com>
2807
2808         * gdb.gdb/complaints.exp (test_initial_complaints)
2809         (test_serial_complaints, test_short_complaints): Call
2810         complaint_internal instead of complaint.
2811
2812 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2813
2814         * gdb.threads/tls-core.c: New file.
2815         * gdb.threads/tls-core.exp: Likewise.
2816
2817 2017-11-08   Pedro Alves  <palves@redhat.com>
2818
2819         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2820         (p Exported_Capitalized): New test.
2821         (p exported_capitalized): New test.
2822
2823 2017-11-07  Pedro Alves  <palves@redhat.com>
2824
2825         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2826
2827 2017-11-07  Pedro Alves  <palves@redhat.com>
2828
2829         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2830         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2831         (disable_invalid, disable_inverted, disable_negative): New
2832         procedures.
2833         ("bad numbers"): New set of tests.
2834
2835 2017-11-07  Pedro Alves  <palves@redhat.com>
2836
2837         * gdb.cp/ena-dis-br-range.exp: Add tests.
2838
2839 2017-11-07  Pedro Alves  <palves@redhat.com>
2840
2841         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2842
2843 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2844             Pedro Alves  <palves@redhat.com>
2845
2846         * gdb.base/ena-dis-br.exp: Add reference to
2847         gdb.cp/ena-dis-br-range.exp.
2848         * gdb.cp/ena-dis-br-range.exp: New file.
2849         * gdb.cp/ena-dis-br-range.cc: New file.
2850
2851 2017-11-06  Pedro Alves  <palves@redhat.com>
2852
2853         * gdb.base/attach-non-pgrp-leader.c: New.
2854         * gdb.base/attach-non-pgrp-leader.exp: New.
2855
2856 2017-11-06  Pedro Alves  <palves@redhat.com>
2857
2858         * configure.ac: No longer check for termio.h and sgtty.h.
2859         * configure: Regenerate.
2860         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2861         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2862         Remove termio and sgtty code.
2863
2864 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2865
2866         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2867         in GDB is disabled.
2868
2869 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2870
2871         * gdb.python/py-thrhandle.exp: Skip it if python is not
2872         enabled.
2873
2874 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2875
2876         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2877         as a breakpoint command.
2878
2879 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2880
2881         PR python/21213
2882         * gdb.python/py-infthread.exp: Test calling
2883         InferiorThread.inferior () multiple times in a row.
2884
2885 2017-10-27  Keith Seitz  <keiths@redhat.com>
2886
2887         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2888         Test "info break" for every inlined function breakpoint.
2889
2890 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2891
2892         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2893
2894 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2895
2896         * gdb.cp/classes.exp (test_static_members): Test printing
2897         Outer::instance.
2898         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2899         (Inner::instance, Outer::instance): New.
2900
2901 2017-10-24  Pedro Alves  <palves@redhat.com>
2902
2903         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2904         extra console" test in two stages.
2905
2906 2017-10-24  Pedro Alves  <palves@redhat.com>
2907
2908         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2909
2910 2017-10-24  Pedro Alves  <palves@redhat.com>
2911
2912         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2913         loop.
2914
2915 2017-10-24  Pedro Alves  <palves@redhat.com>
2916
2917         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2918         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2919
2920 2017-10-24  Pedro Alves  <palves@redhat.com>
2921
2922         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2923         parameter and handle it.  Don't output read value in test name.
2924
2925 2017-10-24  Pedro Alves  <palves@redhat.com>
2926
2927         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2928         custom test name.
2929
2930 2017-10-24  Pedro Alves  <palves@redhat.com>
2931
2932         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2933         include the unstable output directory name in the test's name.
2934         (initial_setup_simple) <'set args'>: Use custom test name.
2935
2936 2017-10-24  Pedro Alves  <palves@redhat.com>
2937
2938         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2939         with explicit test name.
2940
2941 2017-10-20  Pedro Alves  <palves@redhat.com>
2942
2943         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2944         'wait -i'.  Use gdb_assert and remote_close.
2945
2946 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2947
2948         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2949         number from variable rather than hard-coded.
2950
2951 2017-10-19  Pedro Alves  <palves@redhat.com>
2952
2953         * gdb.base/long-inferior-output.c: New file.
2954         * gdb.base/long-inferior-output.exp: New file.
2955
2956 2017-11-18  Keith Seitz  <keiths@redhat.com>
2957
2958         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2959         method.
2960         (main): Call it.
2961         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2962         Add additional user-defined conversion operator tests.
2963
2964 2017-10-17  Pedro Alves  <palves@redhat.com>
2965
2966         * boards/native-stdio-gdbserver.exp: Load "local-board".
2967
2968 2017-10-17  Pedro Alves  <palves@redhat.com>
2969
2970         * gdb.base/quit-live.c: New file.
2971         * gdb.base/quit-live.exp: New file.
2972
2973 2017-10-16  Keith Seitz  <keiths@redhat.com>
2974
2975         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2976         (class_with_protected_typedef, class_with_private_typedef)
2977         (struct_with_public_typedef, struct_with_protected_typedef)
2978         (struct_with_private_typedef): New classes/structs.
2979         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2980         typedefs and access specifiers.
2981
2982 2017-10-16  Pedro Alves  <palves@redhat.com>
2983             Simon Marchi  <simon.marchi@polymtl.ca>
2984
2985         * README (Local vs Remote vs Native): New section.
2986         * boards/local-board.exp: New file, with bits factored out from
2987         ...
2988         * boards/native-extended-gdbserver.exp: ... here.  Load
2989         "local-board".
2990         * boards/native-gdbserver.exp: Load "local-board".
2991         (${board}_spawn, ${board}_exec): Delete.
2992         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2993         ...
2994         * boards/stdio-gdbserver-base.exp: ... this new file.
2995         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2996         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2997         procedure.
2998         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2999         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3000         stdio_gdbserver_command.
3001         (${board}_get_remote_address, ${board}_get_comm_port)
3002         (${board}_download, ${board}_upload): Delete.
3003         (get_target_remote_pipe_cmd): New.
3004
3005 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3006
3007         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3008         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3009         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3010         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3011         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3012         remove with_test_prefix.
3013
3014 2017-10-13  Pedro Alves  <palves@redhat.com>
3015
3016         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3017         * gdb.base/annota1.exp: Use it instead of is_remote.
3018         * gdb.base/annota3.exp: Use it instead of is_remote.
3019         * gdb.cp/annota2.exp: Use it instead of is_remote.
3020         * gdb.cp/annota3.exp: Use it instead of is_remote.
3021         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3022
3023 2017-10-13  Pedro Alves  <palves@redhat.com>
3024
3025         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3026         (test_num_test_vars, run_and_count_vars, find_env)
3027         (test_set_unset_env, test_inherit_env_var): New procedures.
3028         (top level): Use them.
3029
3030 2017-10-13  Pedro Alves  <palves@redhat.com>
3031
3032         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3033         also skip on stub-like targets.
3034
3035 2017-10-13  Pedro Alves  <palves@redhat.com>
3036
3037         PR gdb/22293
3038         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3039         (top level): Move some tests to ...
3040         (test_not_found): ... this new procedure.
3041         (top level): Call it.
3042
3043 2017-10-13  Pedro Alves  <palves@redhat.com>
3044
3045         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3046         expect different "info terminal" output if testing with a
3047         non-native target.
3048
3049 2017-10-13  Pedro Alves  <palves@redhat.com>
3050             Simon Marchi  <simon.marchi@polymtl.ca>
3051
3052         PR python/12966
3053         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3054
3055 2017-10-13  Pedro Alves  <palves@redhat.com>
3056
3057         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3058         already.
3059
3060 2017-10-13  Pedro Alves  <palves@redhat.com>
3061
3062         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3063         is_remote.
3064
3065 2017-10-13  Pedro Alves  <palves@redhat.com>
3066
3067         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3068         is_remote.
3069
3070 2017-10-13  Pedro Alves  <palves@redhat.com>
3071
3072         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3073         is set.
3074         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3075         instead of is_remote.
3076
3077 2017-10-13  Pedro Alves  <palves@redhat.com>
3078
3079         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3080         (top level): Add comment.
3081
3082 2017-10-13  Pedro Alves  <palves@redhat.com>
3083
3084         * gdb.base/remote.exp (top level): Fix comment typo and add
3085         missing return.
3086
3087 2017-10-13  Pedro Alves  <palves@redhat.com>
3088             Simon Marchi  <simon.marchi@polymtl.ca>
3089
3090         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3091         calls and add comments.  Skip test if use_gdb_stub is set.
3092         (top level): Use "set cwd" command instead of "cd" command.
3093
3094 2017-10-13  Pedro Alves  <palves@redhat.com>
3095
3096         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3097         is_remote target check.
3098
3099 2017-10-13  Pedro Alves  <palves@redhat.com>
3100
3101         * gdb.base/scope.exp: Use build_executable + clean_restart +
3102         gdb_file_cmd instead of prepare_for_testing and no longer skip
3103         "before run" tests on is_remote target boards.  Update comments.
3104         * boards/native-extended-gdbserver.exp
3105         (extended_gdbserver_load_last_file): New, factored out from ...
3106         (gdb_load): ... this.  Move further below and add comment.
3107         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3108
3109 2017-10-12  Pedro Alves  <palves@redhat.com>
3110
3111         * gdb.base/attach.exp: Remove references to gdb64.
3112         * gdb.base/dbx.exp: Remove references to gdb64.
3113
3114 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3115             Pedro Alves  <palves@redhat.com>
3116
3117         * gdb.base/label.exp: Remove is_remote target check.
3118
3119 2017-10-12  Pedro Alves  <palves@redhat.com>
3120
3121         * gdb.base/auvx.exp (coredir): Update comment.
3122         (top level) <core_works>: Use "set cwd" command instead of "cd"
3123         command.
3124
3125 2017-10-12  Pedro Alves  <palves@redhat.com>
3126             Simon Marchi  <simon.marchi@polymtl.ca>
3127
3128         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3129         target boards.
3130
3131 2017-10-12  Pedro Alves  <palves@redhat.com>
3132             Simon Marchi  <simon.marchi@polymtl.ca>
3133
3134         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3135         Instead skip if there's any gdb_protocol set.
3136
3137 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3138             Pedro Alves  <palves@redhat.com>
3139
3140         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3141
3142 2017-10-12  Pedro Alves  <palves@redhat.com>
3143             Simon Marchi  <simon.marchi@polymtl.ca>
3144
3145         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3146         instead of on dejagnu remote boards.
3147
3148 2017-10-12  Pedro Alves  <palves@redhat.com>
3149             Simon Marchi  <simon.marchi@polymtl.ca>
3150
3151         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3152         checks.  Use build_executable + clean_restart instead of
3153         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3154         of enabling non-stop after starting gdb.
3155
3156 2017-10-12  Pedro Alves  <palves@redhat.com>
3157
3158         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3159         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3160         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3161         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3162
3163 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3164
3165         * gdb.arch/arc-tdesc-cpu.exp: New file.
3166         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3167
3168 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3169
3170         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3171
3172 2017-10-10  Pedro Alves <palves@redhat.com>
3173
3174         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3175         expect CLI output.
3176
3177 2017-10-10  Pedro Alves  <palves@redhat.com>
3178
3179         * lib/selftest-support.exp (selftest_setup): Update for
3180         captured_command_loop's prototype change.
3181
3182 2017-10-09  Pedro Alves  <palves@redhat.com>
3183
3184         Test both arch1=>arch2 and arch2=>arch1.
3185
3186         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3187         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3188         factored out to...
3189         (append_arch1_options, append_arch2_options, append_arch_options)
3190         (build_executables): New procedures.
3191         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3192         local.
3193         (top level): Add new 'first_arch' testing axis.
3194
3195 2017-10-09  Pedro Alves  <palves@redhat.com>
3196
3197         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3198         (barrier): New.
3199         (thread_start, all_started): New functions.
3200         (main): Spawn new thread and wait until it is scheduled.
3201         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3202         option.
3203         (do_test): Add 'selected_thread' parameter.  Run to all_started
3204         instead of main.  Explicitly set the breakpoint at main.  Switch
3205         to the SELECTED_THREAD thread.
3206         (top level): Test handling the exec event with either the main
3207         thread or the second thread selected.
3208
3209 2017-10-09  Pedro Alves  <palves@redhat.com>
3210
3211         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3212         logic.  Move STOP marker after the value checks.
3213         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3214         regexp.
3215
3216 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3217
3218         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3219
3220 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3221
3222         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3223         integer-to-dfp conversion.
3224         * gdb.base/dfp-test.exp: Likewise.
3225
3226 2017-10-04  Pedro Alves  <palves@redhat.com>
3227
3228         * gdb.multi/hangout.c: Include <unistd.h>.
3229         (hangout_loop): New function.
3230         (main): Call alarm.  Call hangout_loop in a loop.
3231         * gdb.multi/hello.c: Include <unistd.h>.
3232         (hello_loop): New function.
3233         (main): Call alarm.  Call hangout_loop in a loop.
3234         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3235         inferior with the other selected.
3236
3237 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3238
3239         * gdb.mi/list-thread-groups-available.exp: New file.
3240         * gdb.mi/list-thread-groups-available.c: New file.
3241
3242 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3243
3244         * gdb.base/set-cwd.exp: Make it available on
3245         native-extended-gdbserver.
3246
3247 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3248
3249         * gdb.base/set-cwd.c: New file.
3250         * gdb.base/set-cwd.exp: Likewise.
3251
3252 2017-10-02  Tom Tromey  <tom@tromey.com>
3253
3254         PR rust/22236:
3255         * gdb.rust/simple.rs (main): New variable "fslice".
3256         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3257
3258 2017-10-02  Tom Tromey  <tom@tromey.com>
3259
3260         * gdb.rust/simple.exp: Test ptype of a slice.
3261
3262 2017-10-02  Tom Tromey  <tom@tromey.com>
3263
3264         * gdb.rust/simple.exp: Test index of slice.
3265
3266 2017-09-27  Tom Tromey  <tom@tromey.com>
3267
3268         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3269
3270 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3271             Pedro Alves  <palves@redhat.com>
3272
3273         * gdb.base/compare-sections.exp (get value of read-only section): Read
3274         as unsigned value.
3275         (corrupt read-only section): Likewise and don't set written if patching
3276         failed.
3277
3278 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3279
3280         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3281         files.
3282
3283 2017-09-20  Pedro Alves  <palves@redhat.com>
3284
3285         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3286         symbol names in gdb's output.
3287         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3288
3289 2017-09-20  Pedro Alves  <palves@redhat.com>
3290
3291         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3292         Rename to ...
3293         (test_list_ambiguous_symbol): ... this and add a symbol name
3294         parameter.  Adjust.
3295         (test_list_ambiguous_function): Reimplement on top of
3296         test_list_ambiguous_symbol and also test listing ambiguous
3297         variables.
3298         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3299         (ambiguous_fun): ... this.
3300         (ambiguous_var): New.
3301         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3302         (ambiguous_fun): ... this.
3303         (ambiguous_var): New.
3304
3305 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3306
3307         * gdb.base/starti.c: New file.
3308         * gdb.base/starti.exp: New file.
3309         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3310
3311 2017-09-14  Pedro Alves  <palves@redhat.com>
3312
3313         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3314         (top level): Use it instead of runto.
3315
3316 2017-09-11  Tom Tromey  <tom@tromey.com>
3317
3318         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3319
3320 2017-09-11  Tom Tromey  <tom@tromey.com>
3321
3322         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3323         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3324
3325 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3326
3327         * gdb.fortran/printing-types.exp: New file.
3328         * gdb.fortran/printing-types.exp: New file.
3329
3330 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3331
3332         * gdb.fortran/vla-ptype.exp: Fix typos.
3333         * gdb.fortran/vla-value.exp: Same.
3334
3335 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3336
3337         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3338         * gdb.mi/mi-var-child-f.exp: Likewise.
3339         * gdb.mi/mi-vla-fortran.exp: Likewise.
3340
3341 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3342             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3343             Bernhard Heckel  <bernhard.heckel@intel.com>
3344
3345         * gdb.fortran/ptr-indentation.f90: New file.
3346         * gdb.fortran/ptr-indentation.exp: New file.
3347
3348 2017-09-05  Tom Tromey  <tom@tromey.com>
3349
3350         PR gdb/22010:
3351         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3352
3353 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3354
3355         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3356
3357 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3358
3359         * gdb.threads/tls-nodebug-pie.c: New file.
3360         * gdb.threads/tls-nodebug-pie.exp: New file.
3361
3362 2017-09-05  Tom Tromey  <tom@tromey.com>
3363
3364         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3365         for rust.
3366
3367 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3368
3369         * gdb.multi/multi-arch-exec.exp: Test with different
3370         "follow-exec-mode" settings.
3371         (do_test): New procedure.
3372
3373 2017-09-04  Pedro Alves  <palves@redhat.com>
3374
3375         * gdb.base/func-static.c (S::method const, S::method volatile)
3376         (S::method volatile const): New methods.
3377         (c_s, v_s, cv_s): New instances.
3378         (main): Call method() on them.
3379         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3380         (cannot_resolve): New procedure.
3381         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3382         print-quote-unquoted columns.
3383         (do_test): Test printing each scope too.
3384
3385 2017-09-04  Pedro Alves  <palves@redhat.com>
3386
3387         * gdb.base/local-static.exp: Also test with
3388         class::method::variable wholly quoted.
3389         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3390
3391 2017-09-04  Pedro Alves  <palves@redhat.com>
3392
3393         * gdb.base/local-static.c: New.
3394         * gdb.base/local-static.cc: New.
3395         * gdb.base/local-static.exp:  New.
3396
3397 2017-09-04  Pedro Alves  <palves@redhat.com>
3398
3399         * gdb.asm/asm-source.exp: Add casts to int.
3400         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3401         (dataglobal64_1, dataglobal64_2): New globals.
3402         * gdb.base/nodebug.exp: Test different expressions involving the
3403         new globals, with print, whatis and ptype.  Add casts to int.
3404         * gdb.base/solib-display.exp: Add casts to int.
3405         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3406         * gdb.cp/m-static.exp: Add cast to int.
3407         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3408         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3409         tls variable with no debug info without a cast.  Test with a cast
3410         to int too.
3411         * gdb.trace/entry-values.exp: Add casts.
3412
3413 2017-09-04  Pedro Alves  <palves@redhat.com>
3414
3415         * gdb.base/nodebug.exp: Test that ptype's error about functions
3416         with unknown return type includes the function name too.
3417
3418 2017-09-04  Pedro Alves  <palves@redhat.com>
3419
3420         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3421         return type of munmap in infcall.
3422         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3423         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3424         type of ftell in infcall.
3425         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3426         type of getpid in infcall.
3427         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3428         infcall.
3429         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3430         Bail on failure to extract the pid.
3431         * gdb.base/nodebug.c: #include <stdint.h>.
3432         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3433         New functions.
3434         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3435         Change expected output of print/whatis/ptype with functions with
3436         no debug info.  Test all supported languages.  Call
3437         test_call_promotion.
3438         * gdb.compile/compile.exp: Adjust expected output to expect
3439         warning.
3440         * gdb.threads/siginfo-threads.exp: Likewise.
3441
3442 2017-09-04  Pedro Alves  <palves@redhat.com>
3443
3444         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3445         "prototypes".  Test calling float functions via prototyped and
3446         unprototyped function pointers.
3447         (perform_all_tests): New parameter "prototypes".  Pass it down.
3448         (top level): Pass down "prototypes" parameter to
3449         perform_all_tests.
3450
3451 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3452
3453         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3454         Test with nested loops.
3455
3456 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3457
3458         * gdb.base/commands.exp: Call the new procedures.
3459         (loop_break_test, loop_continue_test): New procedures.
3460
3461 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3462
3463         * gdb.base/commands.exp: Call new procedure.
3464         (define_if_without_arg_test): New procedure.
3465
3466 2017-09-04  Pedro Alves  <palves@redhat.com>
3467
3468         * gdb.base/list-ambiguous.exp: New file.
3469         * gdb.base/list-ambiguous0.c: New file.
3470         * gdb.base/list-ambiguous1.c: New file.
3471         * gdb.base/list.exp (test_list_range): Adjust expected output.
3472
3473 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3474
3475         * gdb.base/share-env-with-gdbserver.c: New file.
3476         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3477
3478 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3479
3480         * gdb.base/commands.exp (gdbvar_simple_if_test,
3481         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3482         progvar_simple_if_test, progvar_simple_while_test,
3483         progvar_complex_if_while_test, user_defined_command_test,
3484         user_defined_command_args_eval,
3485         user_defined_command_args_stack_test,
3486         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3487         temporary_breakpoint_commands,
3488         gdb_test_no_prompt, redefine_hook_test,
3489         redefine_backtrace_test): Remove "global gdb_prompt".
3490
3491 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3492
3493         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3494         New proc, call it from toplevel.
3495
3496 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3497
3498         PR remote/21852
3499         * gdb.server/normal.c: New file, copied from gdb.base.
3500         * gdb.server/run-without-local-binary.exp: New file.
3501
3502 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3503
3504         * gdb.arch/sparc64-adi.exp: New file.
3505         * gdb.arch/sparc64-adi.c: New file.
3506
3507 2017-08-22  Pedro Alves  <palves@redhat.com>
3508
3509         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3510         (top level): Add "list all overloads" tests.
3511
3512 2017-08-22  Tom Tromey  <tom@tromey.com>
3513
3514         * gdb.gdb/xfullpath.exp: Remove.
3515
3516 2017-08-21  Pedro Alves  <palves@redhat.com>
3517
3518         PR gdb/19487
3519         * gdb.base/symbol-alias.c: New.
3520         * gdb.base/symbol-alias2.c: New.
3521         * gdb.base/symbol-alias.exp: New.
3522
3523 2017-08-21  Pedro Alves  <palves@redhat.com>
3524
3525         * gdb.base/dfp-test.c
3526         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3527         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3528         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3529         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3530         * gdb.base/whatis-ptype-typedefs.c: New.
3531         * gdb.base/whatis-ptype-typedefs.exp: New.
3532         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3533         (an_int, an_int_type, an_int_type2): New globals.
3534         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3535         involving typedefs and cast expressions.
3536         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3537         (lookup_typedefs_function): New.
3538         (typedefs_pretty_printers_dict): New.
3539         (top level): Register lookup_typedefs_function in
3540         gdb.pretty_printers.
3541
3542 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3543
3544         * gdb.server/unittest.exp: New.
3545
3546 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3547
3548         PR gdb/21954
3549         * gdb.base/environ.exp: Add test to check if 'unset environment'
3550         works.
3551
3552 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3553
3554         * lib/gdb.exp (universal_compile_options): New caching proc.
3555         (gdb_compile): Suppress GCC's coloring of messages.
3556
3557 2017-08-14  Tom Tromey  <tom@tromey.com>
3558
3559         PR gdb/21675:
3560         * gdb.base/printcmds.exp (test_radices): New function.
3561         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3562         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3563         * lib/gdb.exp (get_integer_valueof): Use p/d.
3564
3565 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3566
3567         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3568         characters.
3569
3570 2017-08-05  Tom Tromey  <tom@tromey.com>
3571
3572         * gdb.rust/simple.exp: Allow String to appear in a different
3573         namespace.
3574
3575 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3576
3577         * gdb.gdb/unittest.exp: Invoke command
3578         "maintenance check xml-descriptions".
3579
3580 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3581
3582         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3583         calling context.
3584         (hex128): Drop erroneous calculation of parameters.
3585
3586 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3587
3588         * gdb.python/py-unwind.exp: Disable stack protection when
3589         building test file.
3590
3591 2017-07-20  Pedro Alves  <palves@redhat.com>
3592
3593         * gdb.base/default.exp (set language): Adjust expected output.
3594
3595 2017-07-20  Pedro Alves  <palves@redhat.com>
3596
3597         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3598         (test_minsym): ... this, and make static.
3599         (get_pck__foo__bar__minsym): Rename to ...
3600         (get_test_minsym): ... this.
3601         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3602         symbol names and comments.
3603         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3604         (get_test_minsym): ... this.
3605         (pck__foo__bar__minsym__2): Rename to ...
3606         (test_minsym): ... this.
3607         (main): Adjust.
3608
3609 2017-07-17  Pedro Alves  <palves@redhat.com>
3610
3611         * gdb.base/completion.exp: Adjust expected output.
3612         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3613         the completer works.
3614
3615 2017-07-17  Pedro Alves  <palves@redhat.com>
3616
3617         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3618
3619 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3620
3621         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3622
3623 2017-07-14  Tom Tromey  <tom@tromey.com>
3624
3625         PR rust/21764:
3626         * gdb.rust/simple.exp: Add tests.
3627
3628 2017-07-14  Tom Tromey  <tom@tromey.com>
3629
3630         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3631
3632 2017-07-14  Pedro Alves  <palves@redhat.com>
3633
3634         * gdb.linespec/base/one/thefile.cc (z1): New function.
3635         * gdb.linespec/base/two/thefile.cc (z2): New function.
3636         * gdb.linespec/linespec.exp: Add tests.
3637
3638 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3639
3640         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3641         to mi_create_breakpoint.
3642
3643 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3644
3645         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3646         mi_create_breakpoint.
3647
3648 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3649
3650         * gdb.dlang/demangle.exp: Update for demangling changes.
3651
3652 2017-07-09  Tom Tromey  <tom@tromey.com>
3653
3654         * gdb.dwarf2/shortpiece.exp: New file.
3655
3656 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3657
3658         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3659         built from fissiont-multi-cu{1,2}.c.
3660         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3661         except putting 'main' and 'func' in separate CUs in the same DWO file.
3662         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3663         test.
3664         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3665         test.
3666
3667 2017-07-06  Pedro Alves  <palves@redhat.com>
3668
3669         * gdb.python/py-unwind.exp: Test flushregs.
3670
3671 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3672
3673         PR cli/21688
3674         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3675         tests for alias commands and trailing whitespace.
3676
3677 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3678
3679         PR cli/21688
3680         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3681         procedure.  Call it.
3682
3683 2017-06-29  Pedro Alves  <palves@redhat.com>
3684
3685         * gdb.base/printcmds.exp: Add tests.
3686
3687 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3688
3689         PR gdb/21337
3690         * gdb.base/reread-readsym.exp: New file.
3691         * gdb.base/reread-readsym.c: New file.
3692
3693 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3694
3695         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3696         subpattern.
3697
3698 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3699
3700         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3701         extended mnemonic.
3702         * gdb.arch/powerpc-power9.s: Likewise.
3703
3704 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3705
3706         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3707         on 32-bit x86 targets.  Exploit is_*_target macros where
3708         appropriate.
3709
3710 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3711
3712         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3713         register pieces.
3714
3715 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3716
3717         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3718         located in one or more DWARF pieces.
3719
3720 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3721
3722         * lib/gdb.exp (get_endianness): New proc.
3723         * gdb.arch/aarch64-fp.exp: Use it.
3724         * gdb.arch/altivec-regs.exp: Likewise.
3725         * gdb.arch/e500-regs.exp: Likewise.
3726         * gdb.arch/vsx-regs.exp: Likewise.
3727         * gdb.base/dump.exp: Likewise.
3728         * gdb.base/funcargs.exp: Likewise.
3729         * gdb.base/gnu_vector.exp: Likewise.
3730         * gdb.dwarf2/formdata16.exp: Likewise.
3731         * gdb.dwarf2/implptrpiece.exp: Likewise.
3732         * gdb.dwarf2/nonvar-access.exp: Likewise.
3733         * gdb.python/py-inferior.exp: Likewise.
3734         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3735
3736 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3737
3738         PR gdb/21226
3739         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3740         stack value pieces are taken from the LSB end.
3741
3742 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3743
3744         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3745         variable at nonzero offset.
3746
3747 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3748
3749         * gdb.dwarf2/var-access.c: New file.
3750         * gdb.dwarf2/var-access.exp: New test.
3751         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3752
3753 2017-06-12  Tom Tromey  <tom@tromey.com>
3754
3755         * gdb.dwarf2/formdata16.exp: Add tests.
3756
3757 2017-06-12  Tom Tromey  <tom@tromey.com>
3758
3759         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3760
3761 2017-06-12  Tom Tromey  <tom@tromey.com>
3762
3763         PR exp/16225:
3764         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3765         * gdb.arch/vsx-regs.exp: Update tests.
3766         * gdb.arch/s390-vregs.exp (hex128): New proc.
3767         Update test.
3768         * gdb.arch/altivec-regs.exp: Update tests.
3769
3770 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3771
3772         * gdb.base/startup-with-shell.c: New file.
3773         * gdb.base/startup-with-shell.exp: Likewise.
3774
3775 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3776
3777         * gdb.server/non-existing-program.exp: Update regex in order to
3778         reflect the fact that gdbserver is now using fork_inferior (with a
3779         shell) to startup the inferior.
3780
3781 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3782
3783         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3784         support function calls from GDB.
3785
3786 2017-05-21  Tom Tromey  <tom@tromey.com>
3787
3788         PR rust/21466:
3789         * gdb.rust/unsized.exp: New file.
3790         * gdb.rust/unsized.rs: New file.
3791
3792 2017-05-19  Tom Tromey  <tom@tromey.com>
3793
3794         PR rust/21484:
3795         * gdb.rust/watch.exp: New file.
3796         * gdb.rust/watch.rs: New file.
3797
3798 2017-05-18  Tom Tromey  <tom@tromey.com>
3799
3800         * gdb.rust/simple.exp: Allow Box to be qualified.
3801
3802 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3803
3804         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3805
3806 2017-05-18  Pedro Alves  <palves@redhat.com>
3807
3808         * gdb.base/fileio.c (test_write, test_read, test_close)
3809         (test_fstat): Don't print 'ret' in the fail path.
3810
3811 2017-05-18  Pedro Alves  <palves@redhat.com>
3812
3813         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3814         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3815         (test_system, test_rename, test_unlink, test_time): Change
3816         prototypes.
3817         * gdb.base/fileio.exp (stop_msg): Adjust.
3818
3819 2017-05-18  Pedro Alves  <palves@redhat.com>
3820
3821         * gdb.base/fileio.c (null_str): New global.
3822         (test_stat): Use it.
3823         * gdb.base/fileio.exp: Remove nowarnings.
3824
3825 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3826
3827         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3828
3829 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3830
3831         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3832         argument command.
3833         (top-level): Invoke test_set_inferior_tty.
3834
3835 2017-05-04  Pedro Alves  <palves@redhat.com>
3836
3837         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3838         Add parens to print call for Python 3.
3839
3840 2017-05-03  Keith Seitz  <keiths@redhat.com>
3841
3842         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3843         (main): Call it.
3844
3845 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3846
3847         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3848         to prev and next.
3849
3850 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3851
3852         * gdb.python/py-record-btrace.exp: Remove test for
3853         gdb.BtraceInstruction.error.
3854
3855 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3856
3857         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3858
3859 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3860
3861         * gdb.python/py-record-btrace-threads.c: New file.
3862         * gdb.python/py-record-btrace-threads.exp: New file.
3863
3864 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3865
3866         PR testsuite/8595
3867         * gdb.base/environ.exp: Make test available in all architectures.
3868         Move bits related to "info program" testing to
3869         gdb.base/info-program.exp.  Rewrite tests to use the two new
3870         procedures mentione below.
3871         (test_set_show_env_var) New procedure.
3872         (test_set_show_env_var_equal): Likewise.
3873         * gdb.base/info-program.exp: New file.
3874
3875 2017-04-27  Keith Seitz  <keiths@redhat.com>
3876
3877         * gdb.cp/oranking.cc (test15): New function.
3878         (main): Call test15 and declare additional variables for testing.
3879         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3880         "p foo101('abc')" tests.
3881         Add tests for cv qualifier overloads.
3882         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3883         "lvalue reference overload" test.
3884         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3885         "print value of f1 on Child&& in f2" test.
3886
3887 2017-04-19  Pedro Alves  <palves@redhat.com>
3888
3889         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3890         procedure.
3891         (top level): Call it.
3892         * lib/gdb.exp (gdb_define_cmd): New procedure.
3893
3894 2017-04-12  Pedro Alves  <palves@redhat.com>
3895
3896         PR gdb/21323
3897         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3898         (wchar): New global.
3899         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3900         (do_test_wide_char, wide_char_types_no_program, top level): Add
3901         wchar_t testing.
3902
3903 2017-04-12  Pedro Alves  <palves@redhat.com>
3904
3905         PR c++/21323
3906         * gdb.cp/wide_char_types.c: New file.
3907         * gdb.cp/wide_char_types.exp: New file.
3908
3909 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3910
3911         PR gdb/21352
3912         * gdb.trace/tsv.exp: Add test for "tsave -r".
3913
3914 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3915
3916         * gdb.dlang/watch-loc.c: New file.
3917         * gdb.dlang/watch-loc.exp: New file.
3918
3919 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3920
3921         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3922
3923 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3924
3925         * gdb.arch/arc-analyze-prologue.S: New file.
3926         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3927
3928 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3929
3930         * gdb.arch/arc-decode-insn.S: New file.
3931         * gdb.arch/arc-decode-insn.exp: Likewise.
3932
3933 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3934
3935         PR tdep/20928
3936         * gdb.arch/sparc64-regs.exp: New file.
3937         * gdb.arch/sparc64-regs.S: Likewise.
3938
3939 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3940
3941         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3942         and memory view on Python 3.
3943
3944 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3945             Keith Seitz  <keiths@redhat.com>
3946
3947         PR gdb/14441
3948         * gdb.cp/demangle.exp: Add rvalue reference tests.
3949         * gdb.cp/rvalue-ref-casts.cc: New file.
3950         * gdb.cp/rvalue-ref-casts.exp: New file.
3951         * gdb.cp/rvalue-ref-overload.cc: New file.
3952         * gdb.cp/rvalue-ref-overload.exp: New file.
3953         * gdb.cp/rvalue-ref-params.cc: New file.
3954         * gdb.cp/rvalue-ref-params.exp: New file.
3955         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3956         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3957         * gdb.cp/rvalue-ref-types.cc: New file.
3958         * gdb.cp/rvalue-ref-types.exp: New file.
3959         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3960         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3961
3962 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3963
3964         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3965         New procedure.
3966
3967 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3968
3969         * lib/mi-support.exp (mi_gdb_test): Add additional message
3970         for unexpected output.
3971
3972 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3973
3974         * gdb.base/examine-backward.c (Barrier): New character array
3975         constant, to ensure that TestStrings is preceded by a string
3976         terminator.
3977
3978 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3979
3980         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3981         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3982         and implicit pointer into such a location.
3983
3984 2017-03-16  Doug Evans  <dje@google.com>
3985
3986         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3987
3988 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3989
3990         * gdb.cp/m-static.exp: Fix expectation for prototype of
3991         test5.single_constructor and single_constructor::single_constructor.
3992
3993 2017-03-16  Doug Evans  <dje@google.com>
3994
3995         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3996         * gdb.guile/scm-lazy-string.c: New file.
3997         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3998         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3999         for pointer, array, typedef lazy strings.
4000
4001 2017-03-16  Doug Evans  <dje@google.com>
4002
4003         PR python/17728, python/18439, python/18779
4004         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4005         * gdb.python/py-lazy-string.c (pointer): New typedef.
4006         (main): New locals ptr, array, typedef_ptr.
4007         * gdb.python/py-value.exp: Move lazy string tests to ...
4008         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4009         array, typedef lazy strings.
4010
4011 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4012
4013         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4014           Add optional 'test' parameter.
4015
4016 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4017
4018         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4019         Skip for versions of DejaGnu < 1.5.
4020
4021 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4022
4023         * lib/gdb.exp (dejagnu_version): New proc.
4024         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4025         Use dejagnu_version.
4026
4027 2017-03-10  Keith Seitz  <keiths@redhat.com>
4028
4029         PR c++/8128
4030         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4031         type from destructor regexps.
4032         Add a branch which actually passes the test.
4033         Adjust "ptype t5i" test names.
4034
4035 2017-03-08  Pedro Alves  <palves@redhat.com>
4036
4037         * gdb.base/step-over-exit.exp: Add explicit test message.
4038
4039 2017-03-08  Pedro Alves  <palves@redhat.com>
4040
4041         PR gdb/18360
4042         * gdb.threads/interrupt-while-step-over.c: New file.
4043         * gdb.threads/interrupt-while-step-over.exp: New file.
4044
4045 2017-03-08  Pedro Alves  <palves@redhat.com>
4046
4047         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4048         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4049
4050 2017-03-08  Pedro Alves  <palves@redhat.com>
4051
4052         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4053         PKRU as not supported as a PASS.
4054
4055 2017-03-08  Pedro Alves  <palves@redhat.com>
4056
4057         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4058         prefix instead of $binfile1/$binfile2.
4059         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4060         in test message.
4061         * gdb.python/py-completion.exp: Use "load python file" as test
4062         messages instead of unstable path names.
4063
4064 2017-03-08  Pedro Alves  <palves@redhat.com>
4065             Jan Kratochvil  <jan.kratochvil@redhat.com>
4066
4067         PR cli/21218
4068         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4069         New proc.
4070         (top level): Call it.
4071
4072 2017-03-08  Pedro Alves  <palves@redhat.com>
4073
4074         PR tui/21216
4075         * gdb.tui/tui-nl-filtered-output.exp: New file.
4076
4077 2017-03-08  Pedro Alves  <palves@redhat.com>
4078
4079         * gdb.base/completion.exp: Move TUI completion tests to ...
4080         * gdb.tui/completion.exp: ... this new file.
4081
4082 2017-03-08  Pedro Alves  <palves@redhat.com>
4083
4084         * gdb.base/tui-disasm-long-lines.c,
4085         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4086         gdb.base/tui-layout.exp: Move to ...
4087         * gdb.tui/: ... this new directory.
4088
4089 2017-03-07  Pedro Alves  <palves@redhat.com>
4090
4091         * gdb.base/tui-layout.c: New file.
4092         * gdb.base/tui-layout.exp: New file.
4093
4094 2017-03-07  Pedro Alves  <palves@redhat.com>
4095
4096         * gdb.base/tui-layout.c: Rename to ...
4097         * gdb.base/tui-disasm-long-lines.c: ... this.
4098         * gdb.base/tui-layout.exp: Rename to ...
4099         * gdb.base/tui-disasm-long-lines.exp: ... this.
4100
4101 2017-03-07  Pedro Alves  <palves@redhat.com>
4102
4103         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4104
4105 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4106
4107         * i386-mpx-call.c: New file.
4108         * i386-mpx-call.exp: New file.
4109
4110 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4111
4112         * gdb.arch/powerpc-power.exp: Delete test.
4113         * gdb.arch/powerpc-power.s: Likewise.
4114         * gdb.disasm/disassembler-options.exp: New test.
4115         * gdb.arch/powerpc-altivec.exp: Likewise.
4116         * gdb.arch/powerpc-altivec.s: Likewise.
4117         * gdb.arch/powerpc-altivec2.exp: Likewise.
4118         * gdb.arch/powerpc-altivec2.s: Likewise.
4119         * gdb.arch/powerpc-altivec3.exp: Likewise.
4120         * gdb.arch/powerpc-altivec3.s: Likewise.
4121         * gdb.arch/powerpc-power7.exp: Likewise.
4122         * gdb.arch/powerpc-power7.s: Likewise.
4123         * gdb.arch/powerpc-power8.exp: Likewise.
4124         * gdb.arch/powerpc-power8.s: Likewise.
4125         * gdb.arch/powerpc-power9.exp: Likewise.
4126         * gdb.arch/powerpc-power9.s: Likewise.
4127         * gdb.arch/powerpc-vsx.exp: Likewise.
4128         * gdb.arch/powerpc-vsx.s: Likewise.
4129         * gdb.arch/powerpc-vsx2.exp: Likewise.
4130         * gdb.arch/powerpc-vsx2.s: Likewise.
4131         * gdb.arch/powerpc-vsx3.exp: Likewise.
4132         * gdb.arch/powerpc-vsx3.s: Likewise.
4133         * gdb.arch/arm-disassembler-options.exp: Likewise.
4134         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4135         * gdb.arch/s390-disassembler-options.exp: Likewise.
4136
4137 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4138
4139         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4140         (check_supported_features): ... this. Changed return type to void.
4141         (supports_rdseed): New static global.
4142         (rdseed): Check supports_rdseed.
4143         (initialize): Call check_supported_features.
4144
4145 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4146
4147         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4148         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4149         and lqarx/stqcx.
4150         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4151         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4152
4153 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4154
4155         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4156         uppercase.
4157
4158 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4159
4160         * gdb.dwarf2/formdata16.c: New file.
4161         * gdb.dwarf2/formdata16.exp: New file.
4162         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4163
4164 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4165
4166         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4167         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4168         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4169         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4170         DW_AT_GNU_*.
4171
4172 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4173
4174         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4175
4176 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4177
4178         PR gdb/21164
4179         * gdb.base/maint.exp: Add testcases for when the commands do
4180         not have arguments.
4181
4182 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4183
4184         * gdb.cp/chained-calls.exp: Use p instead of P.
4185
4186 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4187
4188         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4189         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4190
4191 2017-02-14  Tom Tromey  <tom@tromey.com>
4192
4193         PR python/13598:
4194         * gdb.python/py-events.exp: Add before_prompt event tests.
4195
4196 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4197
4198         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4199
4200 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4201
4202         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4203         (main): Call my_unique_function_name.
4204         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4205         completion of patterns with a single match.
4206         Add missing -re switches to gdb_test_multiple calls.
4207
4208 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4209
4210         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4211         return if core file is not recognized.
4212
4213 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4214
4215         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4216         and extra UIs.
4217
4218 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4219
4220         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4221         proc_with_prefix.
4222
4223 2017-02-10  Tom Tromey  <tom@tromey.com>
4224
4225         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4226
4227 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4228
4229         PR gdb/21122
4230         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4231
4232 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4233
4234         * gdb.base/define.exp: Add test for command abbreviations
4235         in define.
4236
4237 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4238
4239         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4240         * gdb.reverse/insn-reverse-x86.c: New file.
4241
4242 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4243
4244         PR tdep/20936
4245         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4246
4247 2017-02-03  Tom Tromey  <tom@tromey.com>
4248
4249         PR rust/21097:
4250         * gdb.rust/simple.exp: Add new tests.
4251
4252 2017-02-02  Pedro Alves  <palves@redhat.com>
4253
4254         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4255         tests.
4256
4257 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4258
4259         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4260         taking a 2-byte value out of a 4-byte DWARF implicit value on
4261         big-endian targets.
4262         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4263         logic.  Add test cases for DW_OP_implicit.
4264
4265 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4266
4267         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4268
4269 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4270
4271         * gdb.btrace/enable.exp: Call gdb_exit before
4272         skip_gdbserver_tests.
4273
4274 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4275
4276         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4277         GDBFLAGS.
4278
4279 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4280
4281         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4282         the test is skipped.
4283         * gdb.btrace/data.exp: Likewise.
4284         * gdb.btrace/delta.exp: Likewise.
4285         * gdb.btrace/dlopen.exp: Likewise.
4286         * gdb.btrace/enable-running.exp: Likewise.
4287         * gdb.btrace/enable.exp: Likewise.
4288         * gdb.btrace/exception.exp: Likewise.
4289         * gdb.btrace/function_call_history.exp: Likewise.
4290         * gdb.btrace/gcore.exp: Likewise.
4291         * gdb.btrace/instruction_history.exp: Likewise.
4292         * gdb.btrace/multi-thread-step.exp: Likewise.
4293         * gdb.btrace/nohist.exp: Likewise.
4294         * gdb.btrace/non-stop.exp: Likewise.
4295         * gdb.btrace/reconnect.exp: Likewise.
4296         * gdb.btrace/record_goto-step.exp: Likewise.
4297         * gdb.btrace/record_goto.exp: Likewise.
4298         * gdb.btrace/rn-dl-bind.exp: Likewise.
4299         * gdb.btrace/segv.exp: Likewise.
4300         * gdb.btrace/step.exp: Likewise.
4301         * gdb.btrace/stepi.exp: Likewise.
4302         * gdb.btrace/tailcall-only.exp: Likewise.
4303         * gdb.btrace/tailcall.exp: Likewise.
4304         * gdb.btrace/tsx.exp: Likewise.
4305         * gdb.btrace/unknown_functions.exp: Likewise.
4306         * gdb.btrace/vdso.exp: Likewise.
4307
4308 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4309
4310         * gdb.btrace/enable-running.c: New.
4311         * gdb.btrace/enable-running.exp: New.
4312
4313 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4314
4315         * gdb.arch/amd64-gs_base.c: New file.
4316         * gdb.arch/amd64-gs_base.exp: New file.
4317
4318 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4319
4320         * lib/memory.exp: Remove spurious empty newlines.
4321
4322 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4323
4324         * gdb.python/py-bad-printers.exp: Load python file using "source".
4325         * gdb.python/py-events.exp: Likewise.
4326         * gdb.python/py-evsignal.exp: Likewise.
4327         * gdb.python/py-evthreads.exp: Likewise.
4328         * gdb.python/py-frame-args.exp: Likewise.
4329         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4330         * gdb.python/py-framefilter-mi.exp: Likewise.
4331         * gdb.python/py-framefilter.exp: Likewise.
4332         * gdb.python/py-mi.exp: Likewise.
4333         * gdb.python/py-pp-maint.exp: Likewise.
4334         * gdb.python/py-pp-registration.exp: Likewise.
4335         * gdb.python/py-prettyprint.exp: Likewise.
4336         (run_lang_tests): Likewise.
4337         * gdb.python/py-typeprint.exp: Likewise.
4338
4339 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4340
4341         * lib/memory.exp: New file.
4342         * lib/gdb.exp: Load memory.exp.
4343         * gdb.base/memattr.exp (delete_memory): Move proc to
4344         lib/memory.exp and rename to delete_memory_regions.
4345         Replace delete_memory with delete_memory_regions.
4346         Cleanup memory regions before tests.
4347         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4348         before tests.
4349
4350 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4351
4352         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4353         files.
4354         (initialize): New function conditionally defined.
4355         (testcases): Move within conditional block.
4356         (main): Call initialize.
4357         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4358         of gdb.reverse/insn-reverse.c.
4359         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4360         gdb.reverse/insn-reverse.c.
4361
4362 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4363
4364         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4365         disassemble on address 0.
4366
4367 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4368             Yao Qi  <yao.qi@linaro.org>
4369
4370         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4371         * gdb.dwarf2/implptr-64bit.S: Remove.
4372         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4373         variables in caller's context.  Add DW_OP_implicit_value.
4374
4375 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4376
4377         * lib/dwarf.exp (Dwarf::_location): Handle
4378         DW_OP_GNU_implicit_pointer with proper size.
4379
4380 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4381
4382         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4383         and add untested calls.
4384
4385 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4386
4387         * gdb.python/python.exp: Check line number against what GDB thinks
4388         the line number is for func1.
4389
4390 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4391
4392         * gdb.dlang/debug-expr.exp: New file.
4393
4394 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4395
4396         Fix test names for the following files:
4397
4398         * gdb.ada/exec_changed.exp
4399         * gdb.ada/info_types.exp
4400         * gdb.arch/aarch64-atomic-inst.exp
4401         * gdb.arch/aarch64-fp.exp
4402         * gdb.arch/altivec-abi.exp
4403         * gdb.arch/altivec-regs.exp
4404         * gdb.arch/amd64-byte.exp
4405         * gdb.arch/amd64-disp-step.exp
4406         * gdb.arch/amd64-dword.exp
4407         * gdb.arch/amd64-entry-value-inline.exp
4408         * gdb.arch/amd64-entry-value-param.exp
4409         * gdb.arch/amd64-entry-value-paramref.exp
4410         * gdb.arch/amd64-entry-value.exp
4411         * gdb.arch/amd64-i386-address.exp
4412         * gdb.arch/amd64-invalid-stack-middle.exp
4413         * gdb.arch/amd64-invalid-stack-top.exp
4414         * gdb.arch/amd64-optimout-repeat.exp
4415         * gdb.arch/amd64-prologue-skip.exp
4416         * gdb.arch/amd64-prologue-xmm.exp
4417         * gdb.arch/amd64-stap-special-operands.exp
4418         * gdb.arch/amd64-stap-wrong-subexp.exp
4419         * gdb.arch/amd64-tailcall-cxx.exp
4420         * gdb.arch/amd64-tailcall-noret.exp
4421         * gdb.arch/amd64-tailcall-ret.exp
4422         * gdb.arch/amd64-tailcall-self.exp
4423         * gdb.arch/amd64-word.exp
4424         * gdb.arch/arm-bl-branch-dest.exp
4425         * gdb.arch/arm-disp-step.exp
4426         * gdb.arch/arm-neon.exp
4427         * gdb.arch/arm-single-step-kernel-helper.exp
4428         * gdb.arch/avr-flash-qualifier.exp
4429         * gdb.arch/disp-step-insn-reloc.exp
4430         * gdb.arch/e500-abi.exp
4431         * gdb.arch/e500-regs.exp
4432         * gdb.arch/ftrace-insn-reloc.exp
4433         * gdb.arch/i386-avx512.exp
4434         * gdb.arch/i386-bp_permanent.exp
4435         * gdb.arch/i386-byte.exp
4436         * gdb.arch/i386-cfi-notcurrent.exp
4437         * gdb.arch/i386-disp-step.exp
4438         * gdb.arch/i386-dr3-watch.exp
4439         * gdb.arch/i386-float.exp
4440         * gdb.arch/i386-gnu-cfi.exp
4441         * gdb.arch/i386-mpx-map.exp
4442         * gdb.arch/i386-mpx-sigsegv.exp
4443         * gdb.arch/i386-mpx-simple_segv.exp
4444         * gdb.arch/i386-mpx.exp
4445         * gdb.arch/i386-permbkpt.exp
4446         * gdb.arch/i386-prologue.exp
4447         * gdb.arch/i386-signal.exp
4448         * gdb.arch/i386-size-overlap.exp
4449         * gdb.arch/i386-unwind.exp
4450         * gdb.arch/i386-word.exp
4451         * gdb.arch/mips-fcr.exp
4452         * gdb.arch/powerpc-d128-regs.exp
4453         * gdb.arch/powerpc-stackless.exp
4454         * gdb.arch/ppc64-atomic-inst.exp
4455         * gdb.arch/s390-stackless.exp
4456         * gdb.arch/s390-tdbregs.exp
4457         * gdb.arch/s390-vregs.exp
4458         * gdb.arch/sparc-sysstep.exp
4459         * gdb.arch/thumb-bx-pc.exp
4460         * gdb.arch/thumb-singlestep.exp
4461         * gdb.arch/thumb2-it.exp
4462         * gdb.arch/vsx-regs.exp
4463         * gdb.asm/asm-source.exp
4464         * gdb.base/a2-run.exp
4465         * gdb.base/advance.exp
4466         * gdb.base/all-bin.exp
4467         * gdb.base/anon.exp
4468         * gdb.base/args.exp
4469         * gdb.base/arithmet.exp
4470         * gdb.base/async-shell.exp
4471         * gdb.base/async.exp
4472         * gdb.base/attach-pie-noexec.exp
4473         * gdb.base/attach-twice.exp
4474         * gdb.base/auto-load.exp
4475         * gdb.base/bang.exp
4476         * gdb.base/bitfields.exp
4477         * gdb.base/break-always.exp
4478         * gdb.base/break-caller-line.exp
4479         * gdb.base/break-entry.exp
4480         * gdb.base/break-inline.exp
4481         * gdb.base/break-on-linker-gcd-function.exp
4482         * gdb.base/break-probes.exp
4483         * gdb.base/break.exp
4484         * gdb.base/breakpoint-shadow.exp
4485         * gdb.base/call-ar-st.exp
4486         * gdb.base/call-sc.exp
4487         * gdb.base/call-signal-resume.exp
4488         * gdb.base/call-strs.exp
4489         * gdb.base/callfuncs.exp
4490         * gdb.base/catch-fork-static.exp
4491         * gdb.base/catch-gdb-caused-signals.exp
4492         * gdb.base/catch-load.exp
4493         * gdb.base/catch-signal-fork.exp
4494         * gdb.base/catch-signal.exp
4495         * gdb.base/catch-syscall.exp
4496         * gdb.base/charset.exp
4497         * gdb.base/checkpoint.exp
4498         * gdb.base/chng-syms.exp
4499         * gdb.base/code-expr.exp
4500         * gdb.base/code_elim.exp
4501         * gdb.base/commands.exp
4502         * gdb.base/completion.exp
4503         * gdb.base/complex.exp
4504         * gdb.base/cond-expr.exp
4505         * gdb.base/condbreak.exp
4506         * gdb.base/consecutive.exp
4507         * gdb.base/continue-all-already-running.exp
4508         * gdb.base/coredump-filter.exp
4509         * gdb.base/corefile.exp
4510         * gdb.base/dbx.exp
4511         * gdb.base/debug-expr.exp
4512         * gdb.base/define.exp
4513         * gdb.base/del.exp
4514         * gdb.base/disabled-location.exp
4515         * gdb.base/disasm-end-cu.exp
4516         * gdb.base/disasm-optim.exp
4517         * gdb.base/display.exp
4518         * gdb.base/duplicate-bp.exp
4519         * gdb.base/ena-dis-br.exp
4520         * gdb.base/ending-run.exp
4521         * gdb.base/enumval.exp
4522         * gdb.base/environ.exp
4523         * gdb.base/eu-strip-infcall.exp
4524         * gdb.base/eval-avoid-side-effects.exp
4525         * gdb.base/eval-skip.exp
4526         * gdb.base/exitsignal.exp
4527         * gdb.base/expand-psymtabs.exp
4528         * gdb.base/filesym.exp
4529         * gdb.base/find-unmapped.exp
4530         * gdb.base/finish.exp
4531         * gdb.base/float.exp
4532         * gdb.base/foll-exec-mode.exp
4533         * gdb.base/foll-exec.exp
4534         * gdb.base/foll-fork.exp
4535         * gdb.base/fortran-sym-case.exp
4536         * gdb.base/freebpcmd.exp
4537         * gdb.base/func-ptr.exp
4538         * gdb.base/func-ptrs.exp
4539         * gdb.base/funcargs.exp
4540         * gdb.base/gcore-buffer-overflow.exp
4541         * gdb.base/gcore-relro-pie.exp
4542         * gdb.base/gcore-relro.exp
4543         * gdb.base/gcore.exp
4544         * gdb.base/gdb1090.exp
4545         * gdb.base/gdb11530.exp
4546         * gdb.base/gdb11531.exp
4547         * gdb.base/gdb1821.exp
4548         * gdb.base/gdbindex-stabs.exp
4549         * gdb.base/gdbvars.exp
4550         * gdb.base/hbreak.exp
4551         * gdb.base/hbreak2.exp
4552         * gdb.base/included.exp
4553         * gdb.base/infcall-input.exp
4554         * gdb.base/inferior-died.exp
4555         * gdb.base/infnan.exp
4556         * gdb.base/info-macros.exp
4557         * gdb.base/info-os.exp
4558         * gdb.base/info-proc.exp
4559         * gdb.base/info-shared.exp
4560         * gdb.base/info-target.exp
4561         * gdb.base/infoline.exp
4562         * gdb.base/interp.exp
4563         * gdb.base/interrupt.exp
4564         * gdb.base/jit-reader.exp
4565         * gdb.base/jit-simple.exp
4566         * gdb.base/kill-after-signal.exp
4567         * gdb.base/kill-detach-inferiors-cmd.exp
4568         * gdb.base/label.exp
4569         * gdb.base/langs.exp
4570         * gdb.base/ldbl_e308.exp
4571         * gdb.base/line-symtabs.exp
4572         * gdb.base/linespecs.exp
4573         * gdb.base/list.exp
4574         * gdb.base/long_long.exp
4575         * gdb.base/longest-types.exp
4576         * gdb.base/maint.exp
4577         * gdb.base/max-value-size.exp
4578         * gdb.base/memattr.exp
4579         * gdb.base/mips_pro.exp
4580         * gdb.base/morestack.exp
4581         * gdb.base/moribund-step.exp
4582         * gdb.base/multi-forks.exp
4583         * gdb.base/nested-addr.exp
4584         * gdb.base/nextoverexit.exp
4585         * gdb.base/noreturn-finish.exp
4586         * gdb.base/noreturn-return.exp
4587         * gdb.base/nostdlib.exp
4588         * gdb.base/offsets.exp
4589         * gdb.base/opaque.exp
4590         * gdb.base/pc-fp.exp
4591         * gdb.base/permissions.exp
4592         * gdb.base/print-symbol-loading.exp
4593         * gdb.base/prologue-include.exp
4594         * gdb.base/psymtab.exp
4595         * gdb.base/ptype.exp
4596         * gdb.base/random-signal.exp
4597         * gdb.base/randomize.exp
4598         * gdb.base/range-stepping.exp
4599         * gdb.base/readline-ask.exp
4600         * gdb.base/recpar.exp
4601         * gdb.base/recurse.exp
4602         * gdb.base/relational.exp
4603         * gdb.base/restore.exp
4604         * gdb.base/return-nodebug.exp
4605         * gdb.base/return.exp
4606         * gdb.base/run-after-attach.exp
4607         * gdb.base/save-bp.exp
4608         * gdb.base/scope.exp
4609         * gdb.base/sect-cmd.exp
4610         * gdb.base/set-lang-auto.exp
4611         * gdb.base/set-noassign.exp
4612         * gdb.base/setvar.exp
4613         * gdb.base/sigall.exp
4614         * gdb.base/sigbpt.exp
4615         * gdb.base/siginfo-addr.exp
4616         * gdb.base/siginfo-infcall.exp
4617         * gdb.base/siginfo-obj.exp
4618         * gdb.base/siginfo.exp
4619         * gdb.base/signals-state-child.exp
4620         * gdb.base/signest.exp
4621         * gdb.base/sigstep.exp
4622         * gdb.base/sizeof.exp
4623         * gdb.base/skip.exp
4624         * gdb.base/solib-corrupted.exp
4625         * gdb.base/solib-nodir.exp
4626         * gdb.base/solib-search.exp
4627         * gdb.base/stack-checking.exp
4628         * gdb.base/stale-infcall.exp
4629         * gdb.base/stap-probe.exp
4630         * gdb.base/start.exp
4631         * gdb.base/step-break.exp
4632         * gdb.base/step-bt.exp
4633         * gdb.base/step-line.exp
4634         * gdb.base/step-over-exit.exp
4635         * gdb.base/step-over-syscall.exp
4636         * gdb.base/step-resume-infcall.exp
4637         * gdb.base/step-test.exp
4638         * gdb.base/store.exp
4639         * gdb.base/structs3.exp
4640         * gdb.base/sym-file.exp
4641         * gdb.base/symbol-without-target_section.exp
4642         * gdb.base/term.exp
4643         * gdb.base/testenv.exp
4644         * gdb.base/ui-redirect.exp
4645         * gdb.base/until.exp
4646         * gdb.base/unwindonsignal.exp
4647         * gdb.base/value-double-free.exp
4648         * gdb.base/vla-datatypes.exp
4649         * gdb.base/vla-ptr.exp
4650         * gdb.base/vla-sideeffect.exp
4651         * gdb.base/volatile.exp
4652         * gdb.base/watch-cond-infcall.exp
4653         * gdb.base/watch-cond.exp
4654         * gdb.base/watch-non-mem.exp
4655         * gdb.base/watch-read.exp
4656         * gdb.base/watch-vfork.exp
4657         * gdb.base/watchpoint-cond-gone.exp
4658         * gdb.base/watchpoint-delete.exp
4659         * gdb.base/watchpoint-hw-hit-once.exp
4660         * gdb.base/watchpoint-hw.exp
4661         * gdb.base/watchpoint-stops-at-right-insn.exp
4662         * gdb.base/watchpoints.exp
4663         * gdb.base/wchar.exp
4664         * gdb.base/whatis-exp.exp
4665         * gdb.btrace/buffer-size.exp
4666         * gdb.btrace/data.exp
4667         * gdb.btrace/delta.exp
4668         * gdb.btrace/dlopen.exp
4669         * gdb.btrace/enable.exp
4670         * gdb.btrace/exception.exp
4671         * gdb.btrace/function_call_history.exp
4672         * gdb.btrace/gcore.exp
4673         * gdb.btrace/instruction_history.exp
4674         * gdb.btrace/nohist.exp
4675         * gdb.btrace/reconnect.exp
4676         * gdb.btrace/record_goto-step.exp
4677         * gdb.btrace/record_goto.exp
4678         * gdb.btrace/rn-dl-bind.exp
4679         * gdb.btrace/segv.exp
4680         * gdb.btrace/step.exp
4681         * gdb.btrace/stepi.exp
4682         * gdb.btrace/tailcall-only.exp
4683         * gdb.btrace/tailcall.exp
4684         * gdb.btrace/tsx.exp
4685         * gdb.btrace/unknown_functions.exp
4686         * gdb.btrace/vdso.exp
4687         * gdb.compile/compile-ifunc.exp
4688         * gdb.compile/compile-ops.exp
4689         * gdb.compile/compile-print.exp
4690         * gdb.compile/compile-setjmp.exp
4691         * gdb.cp/abstract-origin.exp
4692         * gdb.cp/ambiguous.exp
4693         * gdb.cp/annota2.exp
4694         * gdb.cp/annota3.exp
4695         * gdb.cp/anon-ns.exp
4696         * gdb.cp/anon-struct.exp
4697         * gdb.cp/anon-union.exp
4698         * gdb.cp/arg-reference.exp
4699         * gdb.cp/baseenum.exp
4700         * gdb.cp/bool.exp
4701         * gdb.cp/breakpoint.exp
4702         * gdb.cp/bs15503.exp
4703         * gdb.cp/call-c.exp
4704         * gdb.cp/casts.exp
4705         * gdb.cp/chained-calls.exp
4706         * gdb.cp/class2.exp
4707         * gdb.cp/classes.exp
4708         * gdb.cp/cmpd-minsyms.exp
4709         * gdb.cp/converts.exp
4710         * gdb.cp/cp-relocate.exp
4711         * gdb.cp/cpcompletion.exp
4712         * gdb.cp/cpexprs.exp
4713         * gdb.cp/cplabel.exp
4714         * gdb.cp/cplusfuncs.exp
4715         * gdb.cp/cpsizeof.exp
4716         * gdb.cp/ctti.exp
4717         * gdb.cp/derivation.exp
4718         * gdb.cp/destrprint.exp
4719         * gdb.cp/dispcxx.exp
4720         * gdb.cp/enum-class.exp
4721         * gdb.cp/exception.exp
4722         * gdb.cp/exceptprint.exp
4723         * gdb.cp/expand-psymtabs-cxx.exp
4724         * gdb.cp/expand-sals.exp
4725         * gdb.cp/extern-c.exp
4726         * gdb.cp/filename.exp
4727         * gdb.cp/formatted-ref.exp
4728         * gdb.cp/fpointer.exp
4729         * gdb.cp/gdb1355.exp
4730         * gdb.cp/gdb2495.exp
4731         * gdb.cp/hang.exp
4732         * gdb.cp/impl-this.exp
4733         * gdb.cp/infcall-dlopen.exp
4734         * gdb.cp/inherit.exp
4735         * gdb.cp/iostream.exp
4736         * gdb.cp/koenig.exp
4737         * gdb.cp/local.exp
4738         * gdb.cp/m-data.exp
4739         * gdb.cp/m-static.exp
4740         * gdb.cp/mb-ctor.exp
4741         * gdb.cp/mb-inline.exp
4742         * gdb.cp/mb-templates.exp
4743         * gdb.cp/member-name.exp
4744         * gdb.cp/member-ptr.exp
4745         * gdb.cp/meth-typedefs.exp
4746         * gdb.cp/method.exp
4747         * gdb.cp/method2.exp
4748         * gdb.cp/minsym-fallback.exp
4749         * gdb.cp/misc.exp
4750         * gdb.cp/namelessclass.exp
4751         * gdb.cp/namespace-enum.exp
4752         * gdb.cp/namespace-nested-import.exp
4753         * gdb.cp/namespace.exp
4754         * gdb.cp/nextoverthrow.exp
4755         * gdb.cp/no-dmgl-verbose.exp
4756         * gdb.cp/non-trivial-retval.exp
4757         * gdb.cp/noparam.exp
4758         * gdb.cp/nsdecl.exp
4759         * gdb.cp/nsimport.exp
4760         * gdb.cp/nsnested.exp
4761         * gdb.cp/nsnoimports.exp
4762         * gdb.cp/nsrecurs.exp
4763         * gdb.cp/nsstress.exp
4764         * gdb.cp/nsusing.exp
4765         * gdb.cp/operator.exp
4766         * gdb.cp/oranking.exp
4767         * gdb.cp/overload-const.exp
4768         * gdb.cp/overload.exp
4769         * gdb.cp/ovldbreak.exp
4770         * gdb.cp/ovsrch.exp
4771         * gdb.cp/paren-type.exp
4772         * gdb.cp/parse-lang.exp
4773         * gdb.cp/pass-by-ref.exp
4774         * gdb.cp/pr-1023.exp
4775         * gdb.cp/pr-1210.exp
4776         * gdb.cp/pr-574.exp
4777         * gdb.cp/pr10687.exp
4778         * gdb.cp/pr12028.exp
4779         * gdb.cp/pr17132.exp
4780         * gdb.cp/pr17494.exp
4781         * gdb.cp/pr9067.exp
4782         * gdb.cp/pr9167.exp
4783         * gdb.cp/pr9631.exp
4784         * gdb.cp/printmethod.exp
4785         * gdb.cp/psmang.exp
4786         * gdb.cp/psymtab-parameter.exp
4787         * gdb.cp/ptype-cv-cp.exp
4788         * gdb.cp/ptype-flags.exp
4789         * gdb.cp/re-set-overloaded.exp
4790         * gdb.cp/ref-types.exp
4791         * gdb.cp/rtti.exp
4792         * gdb.cp/scope-err.exp
4793         * gdb.cp/shadow.exp
4794         * gdb.cp/smartp.exp
4795         * gdb.cp/static-method.exp
4796         * gdb.cp/static-print-quit.exp
4797         * gdb.cp/temargs.exp
4798         * gdb.cp/templates.exp
4799         * gdb.cp/try_catch.exp
4800         * gdb.cp/typedef-operator.exp
4801         * gdb.cp/typeid.exp
4802         * gdb.cp/userdef.exp
4803         * gdb.cp/using-crash.exp
4804         * gdb.cp/var-tag.exp
4805         * gdb.cp/virtbase.exp
4806         * gdb.cp/virtfunc.exp
4807         * gdb.cp/virtfunc2.exp
4808         * gdb.cp/vla-cxx.exp
4809         * gdb.disasm/t01_mov.exp
4810         * gdb.disasm/t02_mova.exp
4811         * gdb.disasm/t03_add.exp
4812         * gdb.disasm/t04_sub.exp
4813         * gdb.disasm/t05_cmp.exp
4814         * gdb.disasm/t06_ari2.exp
4815         * gdb.disasm/t07_ari3.exp
4816         * gdb.disasm/t08_or.exp
4817         * gdb.disasm/t09_xor.exp
4818         * gdb.disasm/t10_and.exp
4819         * gdb.disasm/t11_logs.exp
4820         * gdb.disasm/t12_bit.exp
4821         * gdb.disasm/t13_otr.exp
4822         * gdb.dlang/circular.exp
4823         * gdb.dwarf2/arr-stride.exp
4824         * gdb.dwarf2/arr-subrange.exp
4825         * gdb.dwarf2/atomic-type.exp
4826         * gdb.dwarf2/bad-regnum.exp
4827         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4828         * gdb.dwarf2/callframecfa.exp
4829         * gdb.dwarf2/clztest.exp
4830         * gdb.dwarf2/corrupt.exp
4831         * gdb.dwarf2/data-loc.exp
4832         * gdb.dwarf2/dup-psym.exp
4833         * gdb.dwarf2/dw2-anon-mptr.exp
4834         * gdb.dwarf2/dw2-anonymous-func.exp
4835         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4836         * gdb.dwarf2/dw2-bad-unresolved.exp
4837         * gdb.dwarf2/dw2-basic.exp
4838         * gdb.dwarf2/dw2-canonicalize-type.exp
4839         * gdb.dwarf2/dw2-case-insensitive.exp
4840         * gdb.dwarf2/dw2-common-block.exp
4841         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4842         * gdb.dwarf2/dw2-compressed.exp
4843         * gdb.dwarf2/dw2-const.exp
4844         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4845         * gdb.dwarf2/dw2-cu-size.exp
4846         * gdb.dwarf2/dw2-dup-frame.exp
4847         * gdb.dwarf2/dw2-entry-value.exp
4848         * gdb.dwarf2/dw2-icycle.exp
4849         * gdb.dwarf2/dw2-ifort-parameter.exp
4850         * gdb.dwarf2/dw2-inline-break.exp
4851         * gdb.dwarf2/dw2-inline-param.exp
4852         * gdb.dwarf2/dw2-intercu.exp
4853         * gdb.dwarf2/dw2-intermix.exp
4854         * gdb.dwarf2/dw2-lexical-block-bare.exp
4855         * gdb.dwarf2/dw2-linkage-name-trust.exp
4856         * gdb.dwarf2/dw2-minsym-in-cu.exp
4857         * gdb.dwarf2/dw2-noloc.exp
4858         * gdb.dwarf2/dw2-op-call.exp
4859         * gdb.dwarf2/dw2-op-out-param.exp
4860         * gdb.dwarf2/dw2-opt-structptr.exp
4861         * gdb.dwarf2/dw2-param-error.exp
4862         * gdb.dwarf2/dw2-producer.exp
4863         * gdb.dwarf2/dw2-ranges-base.exp
4864         * gdb.dwarf2/dw2-ref-missing-frame.exp
4865         * gdb.dwarf2/dw2-reg-undefined.exp
4866         * gdb.dwarf2/dw2-regno-invalid.exp
4867         * gdb.dwarf2/dw2-restore.exp
4868         * gdb.dwarf2/dw2-restrict.exp
4869         * gdb.dwarf2/dw2-single-line-discriminators.exp
4870         * gdb.dwarf2/dw2-strp.exp
4871         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4872         * gdb.dwarf2/dw2-unresolved.exp
4873         * gdb.dwarf2/dw2-var-zero-addr.exp
4874         * gdb.dwarf2/dw4-sig-types.exp
4875         * gdb.dwarf2/dwz.exp
4876         * gdb.dwarf2/dynarr-ptr.exp
4877         * gdb.dwarf2/enum-type.exp
4878         * gdb.dwarf2/gdb-index.exp
4879         * gdb.dwarf2/implptr-64bit.exp
4880         * gdb.dwarf2/implptr-optimized-out.exp
4881         * gdb.dwarf2/implptr.exp
4882         * gdb.dwarf2/implref-array.exp
4883         * gdb.dwarf2/implref-const.exp
4884         * gdb.dwarf2/implref-global.exp
4885         * gdb.dwarf2/implref-struct.exp
4886         * gdb.dwarf2/mac-fileno.exp
4887         * gdb.dwarf2/main-subprogram.exp
4888         * gdb.dwarf2/member-ptr-forwardref.exp
4889         * gdb.dwarf2/method-ptr.exp
4890         * gdb.dwarf2/missing-sig-type.exp
4891         * gdb.dwarf2/nonvar-access.exp
4892         * gdb.dwarf2/opaque-type-lookup.exp
4893         * gdb.dwarf2/pieces-optimized-out.exp
4894         * gdb.dwarf2/pieces.exp
4895         * gdb.dwarf2/pr10770.exp
4896         * gdb.dwarf2/pr13961.exp
4897         * gdb.dwarf2/staticvirtual.exp
4898         * gdb.dwarf2/subrange.exp
4899         * gdb.dwarf2/symtab-producer.exp
4900         * gdb.dwarf2/trace-crash.exp
4901         * gdb.dwarf2/typeddwarf.exp
4902         * gdb.dwarf2/valop.exp
4903         * gdb.dwarf2/watch-notconst.exp
4904         * gdb.fortran/array-element.exp
4905         * gdb.fortran/charset.exp
4906         * gdb.fortran/common-block.exp
4907         * gdb.fortran/complex.exp
4908         * gdb.fortran/derived-type-function.exp
4909         * gdb.fortran/derived-type.exp
4910         * gdb.fortran/logical.exp
4911         * gdb.fortran/module.exp
4912         * gdb.fortran/multi-dim.exp
4913         * gdb.fortran/nested-funcs.exp
4914         * gdb.fortran/print-formatted.exp
4915         * gdb.fortran/subarray.exp
4916         * gdb.fortran/vla-alloc-assoc.exp
4917         * gdb.fortran/vla-datatypes.exp
4918         * gdb.fortran/vla-history.exp
4919         * gdb.fortran/vla-ptr-info.exp
4920         * gdb.fortran/vla-ptype-sub.exp
4921         * gdb.fortran/vla-ptype.exp
4922         * gdb.fortran/vla-sizeof.exp
4923         * gdb.fortran/vla-type.exp
4924         * gdb.fortran/vla-value-sub-arbitrary.exp
4925         * gdb.fortran/vla-value-sub-finish.exp
4926         * gdb.fortran/vla-value-sub.exp
4927         * gdb.fortran/vla-value.exp
4928         * gdb.fortran/whatis_type.exp
4929         * gdb.go/chan.exp
4930         * gdb.go/handcall.exp
4931         * gdb.go/hello.exp
4932         * gdb.go/integers.exp
4933         * gdb.go/methods.exp
4934         * gdb.go/package.exp
4935         * gdb.go/strings.exp
4936         * gdb.go/types.exp
4937         * gdb.go/unsafe.exp
4938         * gdb.guile/scm-arch.exp
4939         * gdb.guile/scm-block.exp
4940         * gdb.guile/scm-breakpoint.exp
4941         * gdb.guile/scm-cmd.exp
4942         * gdb.guile/scm-disasm.exp
4943         * gdb.guile/scm-equal.exp
4944         * gdb.guile/scm-frame-args.exp
4945         * gdb.guile/scm-frame-inline.exp
4946         * gdb.guile/scm-frame.exp
4947         * gdb.guile/scm-iterator.exp
4948         * gdb.guile/scm-math.exp
4949         * gdb.guile/scm-objfile.exp
4950         * gdb.guile/scm-ports.exp
4951         * gdb.guile/scm-symbol.exp
4952         * gdb.guile/scm-symtab.exp
4953         * gdb.guile/scm-value-cc.exp
4954         * gdb.guile/types-module.exp
4955         * gdb.linespec/break-ask.exp
4956         * gdb.linespec/cpexplicit.exp
4957         * gdb.linespec/explicit.exp
4958         * gdb.linespec/keywords.exp
4959         * gdb.linespec/linespec.exp
4960         * gdb.linespec/ls-dollar.exp
4961         * gdb.linespec/ls-errs.exp
4962         * gdb.linespec/skip-two.exp
4963         * gdb.linespec/thread.exp
4964         * gdb.mi/mi-async.exp
4965         * gdb.mi/mi-basics.exp
4966         * gdb.mi/mi-break.exp
4967         * gdb.mi/mi-catch-load.exp
4968         * gdb.mi/mi-cli.exp
4969         * gdb.mi/mi-cmd-param-changed.exp
4970         * gdb.mi/mi-console.exp
4971         * gdb.mi/mi-detach.exp
4972         * gdb.mi/mi-disassemble.exp
4973         * gdb.mi/mi-eval.exp
4974         * gdb.mi/mi-file-transfer.exp
4975         * gdb.mi/mi-file.exp
4976         * gdb.mi/mi-fill-memory.exp
4977         * gdb.mi/mi-inheritance-syntax-error.exp
4978         * gdb.mi/mi-linespec-err-cp.exp
4979         * gdb.mi/mi-logging.exp
4980         * gdb.mi/mi-memory-changed.exp
4981         * gdb.mi/mi-read-memory.exp
4982         * gdb.mi/mi-record-changed.exp
4983         * gdb.mi/mi-reg-undefined.exp
4984         * gdb.mi/mi-regs.exp
4985         * gdb.mi/mi-return.exp
4986         * gdb.mi/mi-reverse.exp
4987         * gdb.mi/mi-simplerun.exp
4988         * gdb.mi/mi-solib.exp
4989         * gdb.mi/mi-stack.exp
4990         * gdb.mi/mi-stepi.exp
4991         * gdb.mi/mi-syn-frame.exp
4992         * gdb.mi/mi-until.exp
4993         * gdb.mi/mi-var-block.exp
4994         * gdb.mi/mi-var-child.exp
4995         * gdb.mi/mi-var-cmd.exp
4996         * gdb.mi/mi-var-cp.exp
4997         * gdb.mi/mi-var-display.exp
4998         * gdb.mi/mi-var-invalidate.exp
4999         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5000         * gdb.mi/mi-vla-fortran.exp
5001         * gdb.mi/mi-watch.exp
5002         * gdb.mi/mi2-var-child.exp
5003         * gdb.mi/user-selected-context-sync.exp
5004         * gdb.modula2/unbounded-array.exp
5005         * gdb.multi/dummy-frame-restore.exp
5006         * gdb.multi/multi-arch-exec.exp
5007         * gdb.multi/multi-arch.exp
5008         * gdb.multi/tids.exp
5009         * gdb.multi/watchpoint-multi.exp
5010         * gdb.opencl/callfuncs.exp
5011         * gdb.opencl/convs_casts.exp
5012         * gdb.opencl/datatypes.exp
5013         * gdb.opencl/operators.exp
5014         * gdb.opencl/vec_comps.exp
5015         * gdb.opt/clobbered-registers-O2.exp
5016         * gdb.opt/inline-break.exp
5017         * gdb.opt/inline-bt.exp
5018         * gdb.opt/inline-cmds.exp
5019         * gdb.opt/inline-locals.exp
5020         * gdb.pascal/case-insensitive-symbols.exp
5021         * gdb.pascal/floats.exp
5022         * gdb.pascal/gdb11492.exp
5023         * gdb.python/lib-types.exp
5024         * gdb.python/py-arch.exp
5025         * gdb.python/py-as-string.exp
5026         * gdb.python/py-bad-printers.exp
5027         * gdb.python/py-block.exp
5028         * gdb.python/py-breakpoint-create-fail.exp
5029         * gdb.python/py-breakpoint.exp
5030         * gdb.python/py-caller-is.exp
5031         * gdb.python/py-cmd.exp
5032         * gdb.python/py-explore-cc.exp
5033         * gdb.python/py-explore.exp
5034         * gdb.python/py-finish-breakpoint.exp
5035         * gdb.python/py-finish-breakpoint2.exp
5036         * gdb.python/py-frame-args.exp
5037         * gdb.python/py-frame-inline.exp
5038         * gdb.python/py-frame.exp
5039         * gdb.python/py-framefilter-mi.exp
5040         * gdb.python/py-infthread.exp
5041         * gdb.python/py-lazy-string.exp
5042         * gdb.python/py-linetable.exp
5043         * gdb.python/py-mi-events.exp
5044         * gdb.python/py-mi-objfile.exp
5045         * gdb.python/py-mi.exp
5046         * gdb.python/py-objfile.exp
5047         * gdb.python/py-pp-integral.exp
5048         * gdb.python/py-pp-maint.exp
5049         * gdb.python/py-pp-re-notag.exp
5050         * gdb.python/py-pp-registration.exp
5051         * gdb.python/py-recurse-unwind.exp
5052         * gdb.python/py-strfns.exp
5053         * gdb.python/py-symbol.exp
5054         * gdb.python/py-symtab.exp
5055         * gdb.python/py-sync-interp.exp
5056         * gdb.python/py-typeprint.exp
5057         * gdb.python/py-unwind-maint.exp
5058         * gdb.python/py-unwind.exp
5059         * gdb.python/py-value-cc.exp
5060         * gdb.python/py-xmethods.exp
5061         * gdb.reverse/amd64-tailcall-reverse.exp
5062         * gdb.reverse/break-precsave.exp
5063         * gdb.reverse/break-reverse.exp
5064         * gdb.reverse/consecutive-precsave.exp
5065         * gdb.reverse/consecutive-reverse.exp
5066         * gdb.reverse/finish-precsave.exp
5067         * gdb.reverse/finish-reverse-bkpt.exp
5068         * gdb.reverse/finish-reverse.exp
5069         * gdb.reverse/fstatat-reverse.exp
5070         * gdb.reverse/getresuid-reverse.exp
5071         * gdb.reverse/i386-precsave.exp
5072         * gdb.reverse/i386-reverse.exp
5073         * gdb.reverse/i386-sse-reverse.exp
5074         * gdb.reverse/i387-env-reverse.exp
5075         * gdb.reverse/i387-stack-reverse.exp
5076         * gdb.reverse/insn-reverse.exp
5077         * gdb.reverse/machinestate-precsave.exp
5078         * gdb.reverse/machinestate.exp
5079         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5080         * gdb.reverse/pipe-reverse.exp
5081         * gdb.reverse/readv-reverse.exp
5082         * gdb.reverse/recvmsg-reverse.exp
5083         * gdb.reverse/rerun-prec.exp
5084         * gdb.reverse/s390-mvcle.exp
5085         * gdb.reverse/step-precsave.exp
5086         * gdb.reverse/step-reverse.exp
5087         * gdb.reverse/time-reverse.exp
5088         * gdb.reverse/until-precsave.exp
5089         * gdb.reverse/until-reverse.exp
5090         * gdb.reverse/waitpid-reverse.exp
5091         * gdb.reverse/watch-precsave.exp
5092         * gdb.reverse/watch-reverse.exp
5093         * gdb.rust/generics.exp
5094         * gdb.rust/methods.exp
5095         * gdb.rust/modules.exp
5096         * gdb.rust/simple.exp
5097         * gdb.server/connect-with-no-symbol-file.exp
5098         * gdb.server/ext-attach.exp
5099         * gdb.server/ext-restart.exp
5100         * gdb.server/ext-wrapper.exp
5101         * gdb.server/file-transfer.exp
5102         * gdb.server/server-exec-info.exp
5103         * gdb.server/server-kill.exp
5104         * gdb.server/server-mon.exp
5105         * gdb.server/wrapper.exp
5106         * gdb.stabs/exclfwd.exp
5107         * gdb.stabs/gdb11479.exp
5108         * gdb.threads/clone-new-thread-event.exp
5109         * gdb.threads/corethreads.exp
5110         * gdb.threads/current-lwp-dead.exp
5111         * gdb.threads/dlopen-libpthread.exp
5112         * gdb.threads/gcore-thread.exp
5113         * gdb.threads/sigstep-threads.exp
5114         * gdb.threads/watchpoint-fork.exp
5115         * gdb.trace/actions-changed.exp
5116         * gdb.trace/backtrace.exp
5117         * gdb.trace/change-loc.exp
5118         * gdb.trace/circ.exp
5119         * gdb.trace/collection.exp
5120         * gdb.trace/disconnected-tracing.exp
5121         * gdb.trace/ftrace.exp
5122         * gdb.trace/mi-trace-frame-collected.exp
5123         * gdb.trace/mi-trace-unavailable.exp
5124         * gdb.trace/mi-traceframe-changed.exp
5125         * gdb.trace/mi-tsv-changed.exp
5126         * gdb.trace/no-attach-trace.exp
5127         * gdb.trace/passc-dyn.exp
5128         * gdb.trace/qtro.exp
5129         * gdb.trace/range-stepping.exp
5130         * gdb.trace/read-memory.exp
5131         * gdb.trace/save-trace.exp
5132         * gdb.trace/signal.exp
5133         * gdb.trace/status-stop.exp
5134         * gdb.trace/tfile.exp
5135         * gdb.trace/trace-break.exp
5136         * gdb.trace/trace-buffer-size.exp
5137         * gdb.trace/trace-condition.exp
5138         * gdb.trace/tracefile-pseudo-reg.exp
5139         * gdb.trace/tstatus.exp
5140         * gdb.trace/unavailable.exp
5141         * gdb.trace/while-dyn.exp
5142         * gdb.trace/while-stepping.exp
5143
5144 2016-12-22  Doug Evans  <xdje42@gmail.com>
5145
5146         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5147         and msymbols.
5148
5149 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5150
5151         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5152         (test_with_self): Don't call do_steps_and_nexts, and remove
5153         code about stepping into xmalloc.
5154
5155 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5156
5157         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5158
5159 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5160
5161         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5162
5163 2016-12-09  Pedro Alves  <palves@redhat.com>
5164
5165         * gdb.base/all-architectures-0.exp: New file.
5166         * gdb.base/all-architectures-1.exp: New file.
5167         * gdb.base/all-architectures-2.exp: New file.
5168         * gdb.base/all-architectures-3.exp: New file.
5169         * gdb.base/all-architectures-4.exp: New file.
5170         * gdb.base/all-architectures-5.exp: New file.
5171         * gdb.base/all-architectures-6.exp: New file.
5172         * gdb.base/all-architectures-7.exp: New file.
5173         * gdb.base/all-architectures.exp.in: New file.
5174
5175 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5176
5177         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5178
5179 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5180
5181         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5182         possible.
5183         Remove useless pattern-matching code.
5184
5185 2016-12-02  Pedro Alves  <palves@redhat.com>
5186
5187         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5188         procedure.
5189         (top level): Call it.
5190
5191 2016-12-02  Pedro Alves  <palves@redhat.com>
5192
5193         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5194         New procedure.
5195         (top level): Call it.
5196
5197 2016-12-02  Pedro Alves  <palves@redhat.com>
5198
5199         PR cli/20559
5200         * gdb.base/commands.exp (user_defined_command_args_eval): New
5201         procedure.
5202         (top level): Call it.
5203
5204 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5205
5206         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5207         timeout handling.
5208
5209 2016-12-02  Tom Tromey  <tom@tromey.com>
5210
5211         * gdb.dwarf2/main-subprogram.c: New file.
5212         * gdb.dwarf2/main-subprogram.exp: New file.
5213
5214 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5215
5216         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5217         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5218         gdb_test_no_output for a couple of cases.
5219         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5220
5221 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5222
5223         Fix test names and standardize compilation error messages throughout
5224         the following files:
5225
5226         * gdb.ada/start.exp
5227         * gdb.arch/alpha-step.exp
5228         * gdb.arch/e500-prologue.exp
5229         * gdb.arch/ftrace-insn-reloc.exp
5230         * gdb.arch/gdb1291.exp
5231         * gdb.arch/gdb1431.exp
5232         * gdb.arch/gdb1558.exp
5233         * gdb.arch/i386-dr3-watch.exp
5234         * gdb.arch/i386-sse-stack-align.exp
5235         * gdb.arch/ia64-breakpoint-shadow.exp
5236         * gdb.arch/pa-nullify.exp
5237         * gdb.arch/powerpc-aix-prologue.exp
5238         * gdb.arch/thumb-bx-pc.exp
5239         * gdb.base/annota1.exp
5240         * gdb.base/annota3.exp
5241         * gdb.base/arrayidx.exp
5242         * gdb.base/assign.exp
5243         * gdb.base/attach.exp
5244         * gdb.base/auxv.exp
5245         * gdb.base/bang.exp
5246         * gdb.base/bfp-test.exp
5247         * gdb.base/bigcore.exp
5248         * gdb.base/bitfields2.exp
5249         * gdb.base/break-fun-addr.exp
5250         * gdb.base/break-probes.exp
5251         * gdb.base/call-rt-st.exp
5252         * gdb.base/callexit.exp
5253         * gdb.base/catch-fork-kill.exp
5254         * gdb.base/charset.exp
5255         * gdb.base/checkpoint.exp
5256         * gdb.base/comprdebug.exp
5257         * gdb.base/constvars.exp
5258         * gdb.base/coredump-filter.exp
5259         * gdb.base/cursal.exp
5260         * gdb.base/cvexpr.exp
5261         * gdb.base/detach.exp
5262         * gdb.base/display.exp
5263         * gdb.base/dmsym.exp
5264         * gdb.base/dprintf-pending.exp
5265         * gdb.base/dso2dso.exp
5266         * gdb.base/dtrace-probe.exp
5267         * gdb.base/dump.exp
5268         * gdb.base/enum_cond.exp
5269         * gdb.base/exe-lock.exp
5270         * gdb.base/exec-invalid-sysroot.exp
5271         * gdb.base/execl-update-breakpoints.exp
5272         * gdb.base/exprs.exp
5273         * gdb.base/fileio.exp
5274         * gdb.base/find.exp
5275         * gdb.base/finish.exp
5276         * gdb.base/fixsection.exp
5277         * gdb.base/foll-vfork.exp
5278         * gdb.base/frame-args.exp
5279         * gdb.base/gcore.exp
5280         * gdb.base/gdb1250.exp
5281         * gdb.base/global-var-nested-by-dso.exp
5282         * gdb.base/gnu-ifunc.exp
5283         * gdb.base/hashline1.exp
5284         * gdb.base/hashline2.exp
5285         * gdb.base/hashline3.exp
5286         * gdb.base/hbreak-in-shr-unsupported.exp
5287         * gdb.base/huge.exp
5288         * gdb.base/infcall-input.exp
5289         * gdb.base/info-fun.exp
5290         * gdb.base/info-shared.exp
5291         * gdb.base/jit-simple.exp
5292         * gdb.base/jit-so.exp
5293         * gdb.base/jit.exp
5294         * gdb.base/jump.exp
5295         * gdb.base/label.exp
5296         * gdb.base/lineinc.exp
5297         * gdb.base/logical.exp
5298         * gdb.base/longjmp.exp
5299         * gdb.base/macscp.exp
5300         * gdb.base/miscexprs.exp
5301         * gdb.base/new-ui-echo.exp
5302         * gdb.base/new-ui-pending-input.exp
5303         * gdb.base/new-ui.exp
5304         * gdb.base/nodebug.exp
5305         * gdb.base/nofield.exp
5306         * gdb.base/offsets.exp
5307         * gdb.base/overlays.exp
5308         * gdb.base/pending.exp
5309         * gdb.base/pointers.exp
5310         * gdb.base/pr11022.exp
5311         * gdb.base/printcmds.exp
5312         * gdb.base/prologue.exp
5313         * gdb.base/ptr-typedef.exp
5314         * gdb.base/realname-expand.exp
5315         * gdb.base/relativedebug.exp
5316         * gdb.base/relocate.exp
5317         * gdb.base/remote.exp
5318         * gdb.base/reread.exp
5319         * gdb.base/return2.exp
5320         * gdb.base/savedregs.exp
5321         * gdb.base/sep.exp
5322         * gdb.base/sepdebug.exp
5323         * gdb.base/sepsymtab.exp
5324         * gdb.base/set-inferior-tty.exp
5325         * gdb.base/setshow.exp
5326         * gdb.base/shlib-call.exp
5327         * gdb.base/sigaltstack.exp
5328         * gdb.base/siginfo-addr.exp
5329         * gdb.base/signals.exp
5330         * gdb.base/signull.exp
5331         * gdb.base/sigrepeat.exp
5332         * gdb.base/so-impl-ld.exp
5333         * gdb.base/solib-display.exp
5334         * gdb.base/solib-overlap.exp
5335         * gdb.base/solib-search.exp
5336         * gdb.base/solib-symbol.exp
5337         * gdb.base/structs.exp
5338         * gdb.base/structs2.exp
5339         * gdb.base/symtab-search-order.exp
5340         * gdb.base/twice.exp
5341         * gdb.base/unload.exp
5342         * gdb.base/varargs.exp
5343         * gdb.base/watchpoint-solib.exp
5344         * gdb.base/watchpoint.exp
5345         * gdb.base/whatis.exp
5346         * gdb.base/wrong_frame_bt_full.exp
5347         * gdb.btrace/dlopen.exp
5348         * gdb.cell/ea-standalone.exp
5349         * gdb.cell/ea-test.exp
5350         * gdb.cp/dispcxx.exp
5351         * gdb.cp/gdb2384.exp
5352         * gdb.cp/method2.exp
5353         * gdb.cp/nextoverthrow.exp
5354         * gdb.cp/pr10728.exp
5355         * gdb.disasm/am33.exp
5356         * gdb.disasm/h8300s.exp
5357         * gdb.disasm/mn10300.exp
5358         * gdb.disasm/sh3.exp
5359         * gdb.dwarf2/dw2-dir-file-name.exp
5360         * gdb.fortran/complex.exp
5361         * gdb.fortran/library-module.exp
5362         * gdb.guile/scm-pretty-print.exp
5363         * gdb.guile/scm-symbol.exp
5364         * gdb.guile/scm-type.exp
5365         * gdb.guile/scm-value.exp
5366         * gdb.linespec/linespec.exp
5367         * gdb.mi/gdb701.exp
5368         * gdb.mi/gdb792.exp
5369         * gdb.mi/mi-breakpoint-changed.exp
5370         * gdb.mi/mi-dprintf-pending.exp
5371         * gdb.mi/mi-dprintf.exp
5372         * gdb.mi/mi-exit-code.exp
5373         * gdb.mi/mi-pending.exp
5374         * gdb.mi/mi-solib.exp
5375         * gdb.mi/new-ui-mi-sync.exp
5376         * gdb.mi/pr11022.exp
5377         * gdb.mi/user-selected-context-sync.exp
5378         * gdb.opt/solib-intra-step.exp
5379         * gdb.python/py-events.exp
5380         * gdb.python/py-finish-breakpoint.exp
5381         * gdb.python/py-mi.exp
5382         * gdb.python/py-prettyprint.exp
5383         * gdb.python/py-shared.exp
5384         * gdb.python/py-symbol.exp
5385         * gdb.python/py-template.exp
5386         * gdb.python/py-type.exp
5387         * gdb.python/py-value.exp
5388         * gdb.reverse/solib-precsave.exp
5389         * gdb.reverse/solib-reverse.exp
5390         * gdb.server/solib-list.exp
5391         * gdb.stabs/weird.exp
5392         * gdb.threads/reconnect-signal.exp
5393         * gdb.threads/stepi-random-signal.exp
5394         * gdb.trace/actions.exp
5395         * gdb.trace/ax.exp
5396         * gdb.trace/backtrace.exp
5397         * gdb.trace/change-loc.exp
5398         * gdb.trace/deltrace.exp
5399         * gdb.trace/ftrace-lock.exp
5400         * gdb.trace/ftrace.exp
5401         * gdb.trace/infotrace.exp
5402         * gdb.trace/mi-tracepoint-changed.exp
5403         * gdb.trace/packetlen.exp
5404         * gdb.trace/passcount.exp
5405         * gdb.trace/pending.exp
5406         * gdb.trace/range-stepping.exp
5407         * gdb.trace/report.exp
5408         * gdb.trace/stap-trace.exp
5409         * gdb.trace/tfind.exp
5410         * gdb.trace/trace-break.exp
5411         * gdb.trace/trace-condition.exp
5412         * gdb.trace/trace-enable-disable.exp
5413         * gdb.trace/trace-mt.exp
5414         * gdb.trace/tracecmd.exp
5415         * gdb.trace/tspeed.exp
5416         * gdb.trace/tsv.exp
5417         * lib/perftest.exp
5418
5419 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5420
5421         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5422         with gdb_test_no_output.
5423         Use command as test name.
5424
5425 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5426
5427         Fix test names starting with uppercase throughout the files.
5428
5429         * gdb.ada/assign_1.exp
5430         * gdb.ada/boolean_expr.exp
5431         * gdb.base/arrayidx.exp
5432         * gdb.base/del.exp
5433         * gdb.base/gcore-buffer-overflow.exp
5434         * gdb.base/testenv.exp
5435         * gdb.compile/compile.exp
5436         * gdb.python/py-framefilter-invalidarg.exp
5437         * gdb.python/py-framefilter.exp
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/array_return.exp
5444         * gdb.ada/expr_delims.exp
5445         * gdb.ada/mi_dyn_arr.exp
5446         * gdb.ada/mi_interface.exp
5447         * gdb.ada/mi_var_array.exp
5448         * gdb.ada/watch_arg.exp
5449         * gdb.arch/alpha-step.exp
5450         * gdb.arch/altivec-regs.exp
5451         * gdb.arch/e500-regs.exp
5452         * gdb.arch/powerpc-d128-regs.exp
5453         * gdb.base/arrayidx.exp
5454         * gdb.base/break.exp
5455         * gdb.base/checkpoint.exp
5456         * gdb.base/debug-expr.exp
5457         * gdb.base/dmsym.exp
5458         * gdb.base/radix.exp
5459         * gdb.base/sepdebug.exp
5460         * gdb.base/testenv.exp
5461         * gdb.base/watch_thread_num.exp
5462         * gdb.base/watchpoint-cond-gone.exp
5463         * gdb.cell/break.exp
5464         * gdb.cell/ea-cache.exp
5465         * gdb.compile/compile.exp
5466         * gdb.cp/gdb2495.exp
5467         * gdb.gdb/selftest.exp
5468         * gdb.gdb/xfullpath.exp
5469         * gdb.go/hello.exp
5470         * gdb.go/integers.exp
5471         * gdb.objc/basicclass.exp
5472         * gdb.pascal/hello.exp
5473         * gdb.pascal/integers.exp
5474         * gdb.python/py-breakpoint.exp
5475         * gdb.python/py-cmd.exp
5476         * gdb.python/py-linetable.exp
5477         * gdb.python/py-xmethods.exp
5478         * gdb.python/python.exp
5479         * gdb.reverse/consecutive-precsave.exp
5480         * gdb.reverse/finish-precsave.exp
5481         * gdb.reverse/i386-precsave.exp
5482         * gdb.reverse/machinestate-precsave.exp
5483         * gdb.reverse/sigall-precsave.exp
5484         * gdb.reverse/solib-precsave.exp
5485         * gdb.reverse/step-precsave.exp
5486         * gdb.reverse/until-precsave.exp
5487         * gdb.reverse/watch-precsave.exp
5488         * gdb.threads/leader-exit.exp
5489         * gdb.threads/pthreads.exp
5490         * gdb.threads/wp-replication.exp
5491         * gdb.trace/actions.exp
5492         * gdb.trace/mi-tsv-changed.exp
5493         * gdb.trace/tsv.exp
5494
5495 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5496
5497         Fix test names starting with uppercase throughout the files.
5498
5499         * gdb.arch/i386-bp_permanent.exp
5500         * gdb.arch/i386-gnu-cfi.exp
5501         * gdb.base/disasm-end-cu.exp
5502         * gdb.base/macscp.exp
5503         * gdb.base/pending.exp
5504         * gdb.base/watch_thread_num.exp
5505         * gdb.cp/exception.exp
5506         * gdb.cp/gdb2495.exp
5507         * gdb.cp/local.exp
5508         * gdb.python/py-evsignal.exp
5509         * gdb.python/python.exp
5510         * gdb.trace/tracecmd.exp
5511
5512 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5513
5514         Fix test names starting with uppercase throughout the files.
5515
5516         * gdb.base/charset.exp
5517         * gdb.base/eval.exp
5518         * gdb.base/multi-forks.exp
5519         * gdb.guile/scm-progspace.exp
5520         * gdb.opencl/datatypes.exp
5521         * gdb.python/py-block.exp
5522         * gdb.python/py-function.exp
5523         * gdb.python/py-symbol.exp
5524         * gdb.python/py-symtab.exp
5525         * gdb.python/py-xmethods.exp
5526         * gdb.reverse/break-precsave.exp
5527         * gdb.reverse/break-reverse.exp
5528         * gdb.reverse/consecutive-precsave.exp
5529         * gdb.reverse/consecutive-reverse.exp
5530         * gdb.reverse/finish-precsave.exp
5531         * gdb.reverse/finish-reverse-bkpt.exp
5532         * gdb.reverse/finish-reverse.exp
5533         * gdb.reverse/fstatat-reverse.exp
5534         * gdb.reverse/getresuid-reverse.exp
5535         * gdb.reverse/i386-precsave.exp
5536         * gdb.reverse/i386-reverse.exp
5537         * gdb.reverse/i386-sse-reverse.exp
5538         * gdb.reverse/i387-stack-reverse.exp
5539         * gdb.reverse/insn-reverse.exp
5540         * gdb.reverse/machinestate-precsave.exp
5541         * gdb.reverse/machinestate.exp
5542         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5543         * gdb.reverse/pipe-reverse.exp
5544         * gdb.reverse/readv-reverse.exp
5545         * gdb.reverse/recvmsg-reverse.exp
5546         * gdb.reverse/rerun-prec.exp
5547         * gdb.reverse/s390-mvcle.exp
5548         * gdb.reverse/sigall-precsave.exp
5549         * gdb.reverse/sigall-reverse.exp
5550         * gdb.reverse/solib-precsave.exp
5551         * gdb.reverse/solib-reverse.exp
5552         * gdb.reverse/step-precsave.exp
5553         * gdb.reverse/step-reverse.exp
5554         * gdb.reverse/time-reverse.exp
5555         * gdb.reverse/until-precsave.exp
5556         * gdb.reverse/until-reverse.exp
5557         * gdb.reverse/waitpid-reverse.exp
5558         * gdb.reverse/watch-precsave.exp
5559         * gdb.reverse/watch-reverse.exp
5560
5561 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5562
5563         Fix test names starting with uppercase throughout the files.
5564
5565         * gdb.arch/i386-mpx-simple_segv.exp
5566         * gdb.arch/i386-mpx.exp
5567         * gdb.arch/i386-permbkpt.exp
5568         * gdb.arch/pa-nullify.exp
5569         * gdb.arch/powerpc-d128-regs.exp
5570         * gdb.arch/vsx-regs.exp
5571         * gdb.base/bfp-test.exp
5572         * gdb.base/break.exp
5573         * gdb.base/breakpoint-shadow.exp
5574         * gdb.base/callfuncs.exp
5575         * gdb.base/charset.exp
5576         * gdb.base/commands.exp
5577         * gdb.base/completion.exp
5578         * gdb.base/dfp-test.exp
5579         * gdb.base/echo.exp
5580         * gdb.base/ending-run.exp
5581         * gdb.base/eval.exp
5582         * gdb.base/expand-psymtabs.exp
5583         * gdb.base/float128.exp
5584         * gdb.base/floatn.exp
5585         * gdb.base/foll-exec-mode.exp
5586         * gdb.base/gdb1056.exp
5587         * gdb.base/gdb11531.exp
5588         * gdb.base/kill-after-signal.exp
5589         * gdb.base/multi-forks.exp
5590         * gdb.base/overlays.exp
5591         * gdb.base/pending.exp
5592         * gdb.base/sepdebug.exp
5593         * gdb.base/testenv.exp
5594         * gdb.base/valgrind-db-attach.exp
5595         * gdb.base/watch_thread_num.exp
5596         * gdb.base/watchpoint-cond-gone.exp
5597         * gdb.base/watchpoint.exp
5598         * gdb.base/watchpoints.exp
5599         * gdb.cp/arg-reference.exp
5600         * gdb.cp/baseenum.exp
5601         * gdb.cp/operator.exp
5602         * gdb.cp/shadow.exp
5603         * gdb.dwarf2/dw2-op-out-param.exp
5604         * gdb.dwarf2/dw2-reg-undefined.exp
5605         * gdb.go/chan.exp
5606         * gdb.go/hello.exp
5607         * gdb.go/integers.exp
5608         * gdb.go/methods.exp
5609         * gdb.go/package.exp
5610         * gdb.guile/scm-parameter.exp
5611         * gdb.guile/scm-progspace.exp
5612         * gdb.guile/scm-value.exp
5613         * gdb.mi/mi-pending.exp
5614         * gdb.mi/user-selected-context-sync.exp
5615         * gdb.multi/multi-attach.exp
5616         * gdb.multi/tids.exp
5617         * gdb.opt/clobbered-registers-O2.exp
5618         * gdb.pascal/floats.exp
5619         * gdb.pascal/integers.exp
5620         * gdb.python/py-block.exp
5621         * gdb.python/py-events.exp
5622         * gdb.python/py-parameter.exp
5623         * gdb.python/py-symbol.exp
5624         * gdb.python/py-symtab.exp
5625         * gdb.python/py-type.exp
5626         * gdb.python/py-value.exp
5627         * gdb.python/py-xmethods.exp
5628         * gdb.python/python.exp
5629         * gdb.reverse/break-precsave.exp
5630         * gdb.reverse/consecutive-precsave.exp
5631         * gdb.reverse/finish-precsave.exp
5632         * gdb.reverse/i386-precsave.exp
5633         * gdb.reverse/machinestate-precsave.exp
5634         * gdb.reverse/sigall-precsave.exp
5635         * gdb.reverse/solib-precsave.exp
5636         * gdb.reverse/step-precsave.exp
5637         * gdb.reverse/until-precsave.exp
5638         * gdb.reverse/watch-precsave.exp
5639         * gdb.server/ext-attach.exp
5640         * gdb.server/ext-restart.exp
5641         * gdb.server/ext-run.exp
5642         * gdb.server/ext-wrapper.exp
5643         * gdb.stabs/gdb11479.exp
5644         * gdb.stabs/weird.exp
5645         * gdb.threads/attach-many-short-lived-threads.exp
5646         * gdb.threads/kill.exp
5647         * gdb.threads/watchpoint-fork.exp
5648
5649 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5650
5651         Fix test names starting with uppercase throughout all the files below.
5652
5653         * gdb.ada/array_return.exp
5654         * gdb.ada/catch_ex.exp
5655         * gdb.ada/info_exc.exp
5656         * gdb.ada/mi_catch_ex.exp
5657         * gdb.ada/mi_dyn_arr.exp
5658         * gdb.ada/mi_ex_cond.exp
5659         * gdb.ada/mi_exc_info.exp
5660         * gdb.ada/mi_interface.exp
5661         * gdb.ada/mi_task_arg.exp
5662         * gdb.ada/mi_task_info.exp
5663         * gdb.ada/mi_var_array.exp
5664         * gdb.arch/alpha-step.exp
5665         * gdb.arch/amd64-disp-step.exp
5666         * gdb.arch/arm-disp-step.exp
5667         * gdb.arch/disp-step-insn-reloc.exp
5668         * gdb.arch/e500-prologue.exp
5669         * gdb.arch/ftrace-insn-reloc.exp
5670         * gdb.arch/gdb1558.exp
5671         * gdb.arch/i386-bp_permanent.exp
5672         * gdb.arch/i386-disp-step.exp
5673         * gdb.arch/i386-float.exp
5674         * gdb.arch/i386-gnu-cfi.exp
5675         * gdb.arch/ia64-breakpoint-shadow.exp
5676         * gdb.arch/mips16-thunks.exp
5677         * gdb.arch/pa-nullify.exp
5678         * gdb.arch/powerpc-aix-prologue.exp
5679         * gdb.arch/powerpc-power.exp
5680         * gdb.arch/ppc-dfp.exp
5681         * gdb.arch/s390-tdbregs.exp
5682         * gdb.arch/spu-info.exp
5683         * gdb.arch/spu-ls.exp
5684         * gdb.arch/thumb-bx-pc.exp
5685         * gdb.base/advance.exp
5686         * gdb.base/annota-input-while-running.exp
5687         * gdb.base/arrayidx.exp
5688         * gdb.base/asmlabel.exp
5689         * gdb.base/async.exp
5690         * gdb.base/attach-wait-input.exp
5691         * gdb.base/auto-connect-native-target.exp
5692         * gdb.base/batch-preserve-term-settings.exp
5693         * gdb.base/bfp-test.exp
5694         * gdb.base/bigcore.exp
5695         * gdb.base/bp-permanent.exp
5696         * gdb.base/break-always.exp
5697         * gdb.base/break-fun-addr.exp
5698         * gdb.base/break-idempotent.exp
5699         * gdb.base/break-main-file-remove-fail.exp
5700         * gdb.base/break-probes.exp
5701         * gdb.base/break-unload-file.exp
5702         * gdb.base/break.exp
5703         * gdb.base/call-ar-st.exp
5704         * gdb.base/call-rt-st.exp
5705         * gdb.base/call-sc.exp
5706         * gdb.base/call-signal-resume.exp
5707         * gdb.base/call-strs.exp
5708         * gdb.base/callexit.exp
5709         * gdb.base/callfuncs.exp
5710         * gdb.base/catch-gdb-caused-signals.exp
5711         * gdb.base/catch-signal-siginfo-cond.exp
5712         * gdb.base/catch-syscall.exp
5713         * gdb.base/compare-sections.exp
5714         * gdb.base/cond-eval-mode.exp
5715         * gdb.base/condbreak-call-false.exp
5716         * gdb.base/consecutive-step-over.exp
5717         * gdb.base/cursal.exp
5718         * gdb.base/disabled-location.exp
5719         * gdb.base/disasm-end-cu.exp
5720         * gdb.base/display.exp
5721         * gdb.base/double-prompt-target-event-error.exp
5722         * gdb.base/dprintf-bp-same-addr.exp
5723         * gdb.base/dprintf-detach.exp
5724         * gdb.base/dprintf-next.exp
5725         * gdb.base/dprintf-non-stop.exp
5726         * gdb.base/dprintf-pending.exp
5727         * gdb.base/dso2dso.exp
5728         * gdb.base/ending-run.exp
5729         * gdb.base/enum_cond.exp
5730         * gdb.base/examine-backward.exp
5731         * gdb.base/exe-lock.exp
5732         * gdb.base/exec-invalid-sysroot.exp
5733         * gdb.base/execl-update-breakpoints.exp
5734         * gdb.base/execution-termios.exp
5735         * gdb.base/fileio.exp
5736         * gdb.base/fixsection.exp
5737         * gdb.base/foll-exec-mode.exp
5738         * gdb.base/foll-exec.exp
5739         * gdb.base/fork-running-state.exp
5740         * gdb.base/frame-args.exp
5741         * gdb.base/fullpath-expand.exp
5742         * gdb.base/func-ptr.exp
5743         * gdb.base/gcore-relro-pie.exp
5744         * gdb.base/gdb1090.exp
5745         * gdb.base/gdb1555.exp
5746         * gdb.base/global-var-nested-by-dso.exp
5747         * gdb.base/gnu-ifunc.exp
5748         * gdb.base/hbreak-in-shr-unsupported.exp
5749         * gdb.base/hbreak-unmapped.exp
5750         * gdb.base/hook-stop.exp
5751         * gdb.base/infcall-input.exp
5752         * gdb.base/info-fun.exp
5753         * gdb.base/info-shared.exp
5754         * gdb.base/interrupt-noterm.exp
5755         * gdb.base/jit-so.exp
5756         * gdb.base/jit.exp
5757         * gdb.base/line-symtabs.exp
5758         * gdb.base/list.exp
5759         * gdb.base/longjmp.exp
5760         * gdb.base/macscp.exp
5761         * gdb.base/max-value-size.exp
5762         * gdb.base/nodebug.exp
5763         * gdb.base/nofield.exp
5764         * gdb.base/overlays.exp
5765         * gdb.base/paginate-after-ctrl-c-running.exp
5766         * gdb.base/paginate-bg-execution.exp
5767         * gdb.base/paginate-inferior-exit.exp
5768         * gdb.base/pending.exp
5769         * gdb.base/pr11022.exp
5770         * gdb.base/printcmds.exp
5771         * gdb.base/ptr-typedef.exp
5772         * gdb.base/ptype.exp
5773         * gdb.base/randomize.exp
5774         * gdb.base/range-stepping.exp
5775         * gdb.base/realname-expand.exp
5776         * gdb.base/relativedebug.exp
5777         * gdb.base/remote.exp
5778         * gdb.base/savedregs.exp
5779         * gdb.base/sepdebug.exp
5780         * gdb.base/set-noassign.exp
5781         * gdb.base/shlib-call.exp
5782         * gdb.base/shreloc.exp
5783         * gdb.base/sigaltstack.exp
5784         * gdb.base/sigbpt.exp
5785         * gdb.base/siginfo-addr.exp
5786         * gdb.base/siginfo-obj.exp
5787         * gdb.base/siginfo-thread.exp
5788         * gdb.base/signest.exp
5789         * gdb.base/signull.exp
5790         * gdb.base/sigrepeat.exp
5791         * gdb.base/skip.exp
5792         * gdb.base/so-impl-ld.exp
5793         * gdb.base/solib-corrupted.exp
5794         * gdb.base/solib-disc.exp
5795         * gdb.base/solib-display.exp
5796         * gdb.base/solib-overlap.exp
5797         * gdb.base/solib-search.exp
5798         * gdb.base/solib-symbol.exp
5799         * gdb.base/source-execution.exp
5800         * gdb.base/sss-bp-on-user-bp-2.exp
5801         * gdb.base/sss-bp-on-user-bp.exp
5802         * gdb.base/stack-checking.exp
5803         * gdb.base/stale-infcall.exp
5804         * gdb.base/step-break.exp
5805         * gdb.base/step-line.exp
5806         * gdb.base/step-over-exit.exp
5807         * gdb.base/step-test.exp
5808         * gdb.base/structs.exp
5809         * gdb.base/sym-file.exp
5810         * gdb.base/symtab-search-order.exp
5811         * gdb.base/term.exp
5812         * gdb.base/type-opaque.exp
5813         * gdb.base/unload.exp
5814         * gdb.base/until-nodebug.exp
5815         * gdb.base/until.exp
5816         * gdb.base/unwindonsignal.exp
5817         * gdb.base/watch-cond.exp
5818         * gdb.base/watch-non-mem.exp
5819         * gdb.base/watch_thread_num.exp
5820         * gdb.base/watchpoint-reuse-slot.exp
5821         * gdb.base/watchpoint-solib.exp
5822         * gdb.base/watchpoint.exp
5823         * gdb.btrace/dlopen.exp
5824         * gdb.cell/arch.exp
5825         * gdb.cell/break.exp
5826         * gdb.cell/bt.exp
5827         * gdb.cell/core.exp
5828         * gdb.cell/data.exp
5829         * gdb.cell/dwarfaddr.exp
5830         * gdb.cell/ea-cache.exp
5831         * gdb.cell/ea-standalone.exp
5832         * gdb.cell/ea-test.exp
5833         * gdb.cell/f-regs.exp
5834         * gdb.cell/fork.exp
5835         * gdb.cell/gcore.exp
5836         * gdb.cell/mem-access.exp
5837         * gdb.cell/ptype.exp
5838         * gdb.cell/registers.exp
5839         * gdb.cell/sizeof.exp
5840         * gdb.cell/solib-symbol.exp
5841         * gdb.cell/solib.exp
5842         * gdb.compile/compile-tls.exp
5843         * gdb.cp/exception.exp
5844         * gdb.cp/gdb2495.exp
5845         * gdb.cp/local.exp
5846         * gdb.cp/mb-inline.exp
5847         * gdb.cp/mb-templates.exp
5848         * gdb.cp/pr10687.exp
5849         * gdb.cp/pr9167.exp
5850         * gdb.cp/scope-err.exp
5851         * gdb.cp/templates.exp
5852         * gdb.cp/virtfunc.exp
5853         * gdb.dwarf2/dw2-dir-file-name.exp
5854         * gdb.dwarf2/dw2-single-line-discriminators.exp
5855         * gdb.fortran/complex.exp
5856         * gdb.fortran/library-module.exp
5857         * gdb.guile/guile.exp
5858         * gdb.guile/scm-cmd.exp
5859         * gdb.guile/scm-frame-inline.exp
5860         * gdb.guile/scm-objfile.exp
5861         * gdb.guile/scm-pretty-print.exp
5862         * gdb.guile/scm-symbol.exp
5863         * gdb.guile/scm-type.exp
5864         * gdb.guile/scm-value.exp
5865         * gdb.linespec/keywords.exp
5866         * gdb.linespec/ls-errs.exp
5867         * gdb.linespec/macro-relative.exp
5868         * gdb.linespec/thread.exp
5869         * gdb.mi/mi-breakpoint-changed.exp
5870         * gdb.mi/mi-dprintf-pending.exp
5871         * gdb.mi/mi-fullname-deleted.exp
5872         * gdb.mi/mi-logging.exp
5873         * gdb.mi/mi-pending.exp
5874         * gdb.mi/mi-solib.exp
5875         * gdb.mi/new-ui-mi-sync.exp
5876         * gdb.mi/user-selected-context-sync.exp
5877         * gdb.multi/dummy-frame-restore.exp
5878         * gdb.multi/multi-arch-exec.exp
5879         * gdb.multi/remove-inferiors.exp
5880         * gdb.multi/watchpoint-multi-exit.exp
5881         * gdb.opt/solib-intra-step.exp
5882         * gdb.perf/backtrace.exp
5883         * gdb.perf/single-step.exp
5884         * gdb.perf/skip-command.exp
5885         * gdb.perf/skip-prologue.exp
5886         * gdb.perf/solib.exp
5887         * gdb.python/lib-types.exp
5888         * gdb.python/py-as-string.exp
5889         * gdb.python/py-bad-printers.exp
5890         * gdb.python/py-block.exp
5891         * gdb.python/py-breakpoint.exp
5892         * gdb.python/py-cmd.exp
5893         * gdb.python/py-events.exp
5894         * gdb.python/py-evthreads.exp
5895         * gdb.python/py-finish-breakpoint.exp
5896         * gdb.python/py-finish-breakpoint2.exp
5897         * gdb.python/py-frame-inline.exp
5898         * gdb.python/py-frame.exp
5899         * gdb.python/py-inferior.exp
5900         * gdb.python/py-infthread.exp
5901         * gdb.python/py-mi.exp
5902         * gdb.python/py-objfile.exp
5903         * gdb.python/py-pp-maint.exp
5904         * gdb.python/py-pp-registration.exp
5905         * gdb.python/py-prettyprint.exp
5906         * gdb.python/py-recurse-unwind.exp
5907         * gdb.python/py-shared.exp
5908         * gdb.python/py-symbol.exp
5909         * gdb.python/py-symtab.exp
5910         * gdb.python/py-template.exp
5911         * gdb.python/py-type.exp
5912         * gdb.python/py-unwind-maint.exp
5913         * gdb.python/py-unwind.exp
5914         * gdb.python/py-value.exp
5915         * gdb.python/python.exp
5916         * gdb.reverse/finish-reverse-bkpt.exp
5917         * gdb.reverse/insn-reverse.exp
5918         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5919         * gdb.reverse/solib-precsave.exp
5920         * gdb.reverse/solib-reverse.exp
5921         * gdb.stabs/gdb11479.exp
5922         * gdb.stabs/weird.exp
5923         * gdb.threads/fork-child-threads.exp
5924         * gdb.threads/fork-plus-threads.exp
5925         * gdb.threads/fork-thread-pending.exp
5926         * gdb.threads/forking-threads-plus-breakpoint.exp
5927         * gdb.threads/hand-call-in-threads.exp
5928         * gdb.threads/interrupted-hand-call.exp
5929         * gdb.threads/linux-dp.exp
5930         * gdb.threads/local-watch-wrong-thread.exp
5931         * gdb.threads/next-while-other-thread-longjmps.exp
5932         * gdb.threads/non-ldr-exit.exp
5933         * gdb.threads/pending-step.exp
5934         * gdb.threads/print-threads.exp
5935         * gdb.threads/process-dies-while-detaching.exp
5936         * gdb.threads/process-dies-while-handling-bp.exp
5937         * gdb.threads/pthreads.exp
5938         * gdb.threads/queue-signal.exp
5939         * gdb.threads/reconnect-signal.exp
5940         * gdb.threads/signal-command-handle-nopass.exp
5941         * gdb.threads/signal-command-multiple-signals-pending.exp
5942         * gdb.threads/signal-delivered-right-thread.exp
5943         * gdb.threads/signal-sigtrap.exp
5944         * gdb.threads/sigthread.exp
5945         * gdb.threads/staticthreads.exp
5946         * gdb.threads/stepi-random-signal.exp
5947         * gdb.threads/thread-unwindonsignal.exp
5948         * gdb.threads/thread_check.exp
5949         * gdb.threads/thread_events.exp
5950         * gdb.threads/tid-reuse.exp
5951         * gdb.threads/tls-nodebug.exp
5952         * gdb.threads/tls-shared.exp
5953         * gdb.threads/tls-so_extern.exp
5954         * gdb.threads/tls.exp
5955         * gdb.threads/wp-replication.exp
5956         * gdb.trace/actions-changed.exp
5957         * gdb.trace/actions.exp
5958         * gdb.trace/backtrace.exp
5959         * gdb.trace/change-loc.exp
5960         * gdb.trace/collection.exp
5961         * gdb.trace/deltrace.exp
5962         * gdb.trace/disconnected-tracing.exp
5963         * gdb.trace/entry-values.exp
5964         * gdb.trace/ftrace-lock.exp
5965         * gdb.trace/ftrace.exp
5966         * gdb.trace/infotrace.exp
5967         * gdb.trace/mi-trace-frame-collected.exp
5968         * gdb.trace/mi-trace-unavailable.exp
5969         * gdb.trace/mi-traceframe-changed.exp
5970         * gdb.trace/mi-tracepoint-changed.exp
5971         * gdb.trace/mi-tsv-changed.exp
5972         * gdb.trace/no-attach-trace.exp
5973         * gdb.trace/packetlen.exp
5974         * gdb.trace/passc-dyn.exp
5975         * gdb.trace/passcount.exp
5976         * gdb.trace/pending.exp
5977         * gdb.trace/pr16508.exp
5978         * gdb.trace/qtro.exp
5979         * gdb.trace/range-stepping.exp
5980         * gdb.trace/read-memory.exp
5981         * gdb.trace/report.exp
5982         * gdb.trace/save-trace.exp
5983         * gdb.trace/signal.exp
5984         * gdb.trace/stap-trace.exp
5985         * gdb.trace/status-stop.exp
5986         * gdb.trace/strace.exp
5987         * gdb.trace/tfile.exp
5988         * gdb.trace/tfind.exp
5989         * gdb.trace/trace-break.exp
5990         * gdb.trace/trace-condition.exp
5991         * gdb.trace/trace-enable-disable.exp
5992         * gdb.trace/trace-mt.exp
5993         * gdb.trace/tracecmd.exp
5994         * gdb.trace/tracefile-pseudo-reg.exp
5995         * gdb.trace/tspeed.exp
5996         * gdb.trace/tstatus.exp
5997         * gdb.trace/tsv.exp
5998         * gdb.trace/unavailable.exp
5999         * gdb.trace/while-dyn.exp
6000         * gdb.trace/while-stepping.exp
6001         * lib/gdb-guile.exp
6002         * lib/gdb.exp
6003         * lib/mi-support.exp
6004         * lib/pascal.exp
6005         * lib/perftest.exp
6006         * lib/prelink-support.exp
6007         * lib/selftest-support.exp
6008
6009 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6010
6011         * Makefile.in: Include disable-implicit-rules.mk.
6012
6013 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6014
6015         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6016         non-byte-aligned bit fields.
6017
6018 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6019
6020         PR gdb/12616
6021         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6022         respects the DW_AT_data_bit_offset attribute.
6023
6024 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6025
6026         * gdb.base/default.exp: Fix output of "set language".
6027
6028 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6029
6030         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6031         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6032         make.
6033         * configure.ac: Remove checks for the make program.
6034         * configure: Re-generate.
6035
6036 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6037
6038         * gdb.python/py-recurse-unwind.c (main): Add loop.
6039         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6040         to read_register() and gdb.parse_and_eval().  Make each code
6041         call a separate case that can be individually tested.
6042         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6043         proc. Call cont_and_backtrace for each of the code paths that
6044         we want to test in the unwinder.
6045
6046 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6047
6048         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6049         the definition of struct S.
6050
6051 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6052
6053         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6054
6055 2016-11-09  Pedro Alves  <palves@redhat.com>
6056
6057         * gdb.base/commands.exp (runto_or_return): New procedure.
6058         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6059         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6060         (progvar_simple_while_test, progvar_complex_if_while_test)
6061         (if_while_breakpoint_command_test)
6062         (infrun_breakpoint_command_test, breakpoint_command_test)
6063         (user_defined_command_test, watchpoint_command_test)
6064         (test_command_prompt_position, redefine_hook_test)
6065         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6066         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6067         multi_line_input and multi_line.  Remove gdb_expect and
6068         gdb_stop_suppressing_tests uses.
6069         * lib/gdb.exp (valnum_re): New global.
6070         (multi_line_input): New procedure.
6071
6072 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6073
6074         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6075         Remove.
6076         (test_setup): Define with proc_with_prefix.
6077         (test_cli_inferior): Likewise.
6078         (test_cli_thread): Likewise.
6079         (test_cli_frame): Likewise.
6080         (test_cli_select_frame): Likewise.
6081         (test_cli_up_down): Likewise.
6082         (test_mi_thread_select): Likewise.
6083         (test_mi_stack_select_frame): Likewise.
6084         (test_cli_in_mi_inferior): Likewise.
6085         (test_cli_in_mi_thread): Likewise.
6086         (test_cli_in_mi_frame): Likewise.
6087         (top level): Do not use with_test_prefix_procname.
6088
6089 2016-11-09  Pedro Alves  <palves@redhat.com>
6090
6091         * gdb.base/commands.exp (gdbvar_simple_if_test)
6092         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6093         (progvar_simple_if_test, progvar_simple_while_test)
6094         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6095         (infrun_breakpoint_command_test, breakpoint_command_test)
6096         (user_defined_command_test, watchpoint_command_test)
6097         (test_command_prompt_position, deprecated_command_test)
6098         (bp_deleted_in_command, temporary_breakpoint_commands)
6099         (stray_arg0_test, source_file_with_indented_comment)
6100         (recursive_source_test, if_commands_test)
6101         (error_clears_commands_left, redefine_hook_test)
6102         (redefine_backtrace_test): Use proc_with_prefix.
6103         * lib/gdb.exp (proc_with_prefix): New proc.
6104
6105 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6106
6107         * gdb.base/tui-layout.c: New file.
6108         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6109         disassembly window contains very long lines.
6110
6111 2016-11-08  Tom Tromey  <tom@tromey.com>
6112
6113         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6114         depend on Python 2.
6115
6116 2016-11-08  Tom Tromey  <tom@tromey.com>
6117
6118         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6119         New method.
6120
6121 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6122
6123         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6124
6125 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6126
6127         * gdb.rust/simple.rs: Add test for univariant enums without
6128         discriminants and for encoded struct-like enums.
6129
6130 2016-10-28  Pedro Alves  <palves@redhat.com>
6131
6132         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6133         gdb_test_multiple, tighten regexps and match symtabs and line
6134         tables incrementally.
6135
6136 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6137
6138         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6139         general.
6140
6141 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6142
6143         * gdb.base/exec-invalid-sysroot.exp: New file.
6144
6145 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6146
6147         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6148
6149 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6150
6151         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6152
6153 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6154
6155         * gdb.base/killed-outside.exp: Remove $options from a call to
6156         `prepare_for_testing'.
6157
6158 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6159
6160         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6161         Change test message.
6162
6163 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6164
6165         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6166         Update comment.
6167
6168 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6169
6170         * gdb.trace/mi-trace-save.exp: New file.
6171
6172 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6173
6174         * gdb.base/code_elim.exp (get_var_address): Remove.
6175         * gdb.base/relocate.exp: Likewise.
6176         * gdb.base/shreloc.exp: Likewise.
6177         * lib/gdb.exp (get_var_address): New.
6178
6179 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6180
6181         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6182         floating point tests if $skip_float_test is false.
6183
6184 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6185
6186         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6187         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6188         argc values.
6189         Add 1 to argc so we guarantee distinct initial/modified argc values.
6190
6191 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6192
6193         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6194
6195 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6196
6197         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6198         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6199         * gdb.arch/vsx-regs.exp: Likewise.
6200
6201 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6202
6203         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6204
6205 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6206
6207         * gdb.python/python.exp: Test decode_line("*0").
6208
6209 2016-10-06  Doug Evans  <dje@google.com>
6210
6211         * gdb.python/py-value.exp (test_value_creation): Add test for large
6212         unsigned 64-bit value.
6213
6214 2016-10-06  Tom Tromey  <tom@tromey.com>
6215
6216         * gdb.compile/compile.exp: Change java tests to rust.
6217         * gdb.base/setshow.exp: Change java tests to rust.
6218         * gdb.base/default.exp: Remove java from language list.
6219         * README (Examples): Update language example.
6220         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6221         test.
6222         * lib/gdb.exp (skip_java_tests): Remove.
6223         * lib/java.exp: Remove.
6224         * gdb.java: Remove.
6225
6226 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6227
6228         * gdb.arch/mips-fcr.exp: New test.
6229         * gdb.arch/mips-fcr.c: Source for the new test.
6230
6231 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6232
6233         * gdb.base/solib-disc.exp: Use `standard_output_file'
6234         throughout.
6235
6236 2016-10-06  Pedro Alves  <palves@redhat.com>
6237
6238         * gdb.base/jit-simple-dl.c: New file.
6239         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6240         * gdb.base/jit-simple.c: ... this.
6241         * gdb.base/jit-simple.exp (jit_run): Delete.
6242         (build_jit): New proc.
6243         (jit_test_reread): Recompile either the main program or the shared
6244         library, depending on what is being tested.  Skip changing address
6245         if caller wants to.  Compare before/after addresses.  If testing
6246         standalone, explicitly load the binary.  Test "maint info
6247         breakpoints".
6248         (top level): Add "standalone vs shared lib" and "change address"
6249         vs "same address" axes.
6250
6251 2016-10-06  Pedro Alves  <palves@redhat.com>
6252
6253         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6254         call.
6255         (jit_run): Delete.
6256         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6257         explicitly.  Compare the before/after addresses of the JIT
6258         descriptor.
6259
6260 2016-08-15  Doug Evans  <dje@google.com>
6261
6262         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6263         for single bitfields is bool.
6264         * gdb.xml/tdesc-regs.exp: Ditto.
6265
6266 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6267
6268         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6269
6270 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6271
6272         * lib/gdb.exp (support_complex_tests): Return zero if
6273         gdb_skip_float_test return true.
6274
6275 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6276             Simon Marchi  <simon.marchi@ericsson.com>
6277
6278         PR gdb/20487
6279         * gdb.mi/user-selected-context-sync.exp: New file.
6280         * gdb.mi/user-selected-context-sync.c: New file.
6281
6282 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6283             Simon Marchi  <simon.marchi@ericsson.com>
6284
6285         PR gdb/20487
6286         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6287         =thread-select-event check.
6288
6289 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6290
6291         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6292         the compulsory L operand changes.
6293         * gdb.arch/powerpc-power.s: Likewise.
6294
6295 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6296
6297         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6298         * gdb.base/jit-attach-pie.c: New file.
6299         * gdb.base/jit-attach-pie.exp: New file.
6300
6301 2016-09-28  Pedro Alves  <palves@redhat.com>
6302
6303         * gdb.base/infcall-input.c: New file.
6304         * gdb.base/infcall-input.exp: New file.
6305
6306 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6307
6308         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6309         (gdb_exit): Rename it to ...
6310         (gdbserver_gdb_exit): ...  Close GDBserver.
6311         (gdb_exit): New proc, call gdbserver_gdb_exit.
6312         (mi_gdb_exit): Likewise.
6313
6314 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6315
6316         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6317         path.
6318         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6319         Remove duplication.
6320
6321 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6322
6323         * lib/gdbserver-support.exp: Check the existence of
6324         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6325
6326 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6327
6328         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6329
6330 2016-09-21  Tom Tromey  <tom@tromey.com>
6331
6332         PR gdb/20604:
6333         * gdb.base/quit.exp: New file.
6334
6335 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6336
6337         * .gitignore: New file.
6338
6339 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6340
6341         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6342         throughout.
6343
6344 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6345
6346         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6347
6348 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6349
6350         * gdb.cp/casts.cc (decltype): Move it ...
6351         (main): ... with its call to ...
6352         * gdb.cp/casts03.cc: ... a new file.
6353         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6354
6355 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6356
6357         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6358
6359 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6360
6361         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6362         and sync up the test with tests in gas/testsuite/gas/ppc.
6363         * gdb.arch/powerpc-power.exp: Likewise.
6364
6365 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6366
6367         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6368
6369 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6370             Jan Kratochvil  <jan.kratochvil@redhat.com>
6371
6372         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6373         make m1's definition to be different from m2's.  Use 'dummy' as an
6374         argument for probe 'two'.
6375
6376 2016-09-10  Jon Beniston  <jon@beniston.com>
6377
6378         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6379         for sim target.
6380
6381 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6382
6383         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6384         variable declaration.
6385         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6386         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6387         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6388         received HWCAP as its argument.
6389
6390 2016-09-06  Pedro Alves  <palves@redhat.com>
6391
6392         * gdb.base/new-ui-pending-input.c: New file.
6393         * gdb.base/new-ui-pending-input.exp: New file.
6394         * gdb.exp (clear_gdb_spawn_id): New procedure.
6395         (with_spawn_id): Check whether gdb_spawn_id exists before
6396         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6397         on exit.
6398
6399 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6400
6401         * gdb.base/float128.c: New file.
6402         * gdb.base/float128.exp: Likewise.
6403         * gdb.base/floatn.c: Likewise.
6404         * gdb.base/floatn.exp: Likewise.
6405
6406 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6407
6408         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6409
6410 2016-09-05  Pedro Alves  <palves@redhat.com>
6411
6412         PR backtrace/19927
6413         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6414         unwinders are immediately called as side effect of "source" or
6415         "disable unwinder" commands.
6416         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6417
6418 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6419
6420         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6421         is true and $type is "float" or "double".
6422
6423 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6424
6425         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6426         true.
6427         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6428         * gdb.base/call-rt-st.exp: Likewise.
6429         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6430         return value instead of gdb,skip_float_test.
6431         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6432         (do_function_calls): Use its return value instead of
6433         gdb,skip_float_test.
6434         * gdb.base/finish.exp: Likewise.
6435         * gdb.base/funcargs.exp: Likewise.
6436         * gdb.base/return.exp: Likewise.
6437         * gdb.base/return2.exp: Likewise.
6438         * gdb.base/varargs.exp: Likewise.
6439         * lib/gdb.exp (gdb_skip_float_test): Change it to
6440         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6441
6442 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6443
6444         * gdb.multi/tids.exp: Test "thread apply all".
6445
6446 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6447
6448         * gdb.base/default.exp (tty): Remove.
6449
6450 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6451
6452         * gdb.python/py-recurse-unwind.c: New file.
6453         * gdb.python/py-recurse-unwind.py: New file.
6454         * gdb.python/py-recurse-unwind.exp: New file.
6455
6456 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6457
6458         * gdb.base/set-inferior-tty.exp: New file.
6459         * gdb.base/set-inferior-tty.c: New file.
6460
6461 2016-08-23  Pedro Alves  <palves@redhat.com>
6462
6463         PR gdb/20494
6464         * gdb.base/new-ui-echo.c: New file.
6465         * gdb.base/new-ui-echo.exp: New file.
6466
6467 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6468
6469         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6470         gdbserver_spawn.
6471         * gdb.server/connect-without-multi-process.exp (do_test):
6472         Likewise.
6473
6474 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6475
6476         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6477         standalone_txt.  Delete gdb_txt and standalone_txt on host
6478         and target.  Spawn the binary on target.  Copy files from
6479         target to host.
6480
6481 2016-08-22  Pedro Alves  <palves@redhat.com>
6482
6483         PR gdb/20505
6484         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6485         with_test_prefix.  Factor out bits to ...
6486         (test_no_vdso): ... this new procedure.
6487
6488 2016-08-19  Carl Love  <cel@us.ibm.com>
6489
6490         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6491         maintaining separate logic for constructing the output path.
6492         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6493         * gdb.arch/ppc-dfp.exp: Likewise.
6494         * gdb.arch/ppc-fp.exp: Likewise.
6495         * gdb.arch/vsx-regs.exp: Likewise.
6496         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6497         binprefix for generating the additional binary files.
6498
6499 2016-08-19  Pedro Alves  <palves@redhat.com>
6500
6501         * gdb.trace/mi-trace-frame-collected.exp
6502         (test_trace_frame_collected): On x32, expect two registers.
6503
6504 2016-08-18  Carl Love  <cel@us.ibm.com>
6505
6506         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6507         and sync up the test with tests in gas/testsuite/gas/ppc.
6508         * gdb.arch/powerpc-power.exp: Likewise.
6509
6510 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6511
6512         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6513         expected error message.
6514
6515 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6516
6517         * gdb.multi/remove-inferiors.exp: New file.
6518         * gdb.multi/remove-inferiors.c: New file.
6519
6520 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6521
6522         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6523         argument list.
6524
6525 2016-08-10  Pedro Alves  <palves@redhat.com>
6526
6527         PR gdb/19187
6528         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6529         setup_kfails.
6530
6531 2016-08-09  Pedro Alves  <palves@redhat.com>
6532             Simon Marchi  <simon.marchi@ericsson.com>
6533
6534         PR gdb/20418
6535         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6536         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6537
6538 2016-08-09  Pedro Alves  <palves@redhat.com>
6539
6540         PR mi/20431
6541         * gdb.mi/mi-cmd-error.exp: New file.
6542
6543 2016-08-09  Pedro Alves  <palves@redhat.com>
6544
6545         PR gdb/18653
6546         * gdb.base/signals-state-child.c: New file.
6547         * gdb.base/signals-state-child.exp: New file.
6548         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6549
6550 2016-08-09  Pedro Alves  <palves@redhat.com>
6551
6552         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6553
6554 2016-08-03  Tom Tromey  <tom@tromey.com>
6555
6556         PR python/18565:
6557         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6558
6559 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6560
6561         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6562         variable mode to "multi-process" if $multi_process is 1, otherwise
6563         set it to "single-process".
6564
6565 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6566
6567         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6568         * gdb.cp/cpexprs.exp: Likewise.
6569         * gdb.cp/m-static.exp: Likewise.
6570
6571 2016-07-26  Tom Tromey  <tom@tromey.com>
6572
6573         PR python/20190:
6574         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6575         test.
6576
6577 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6578
6579         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6580         selecting assembly source files.
6581         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6582         assembly source files.
6583         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6584         assembly source files.
6585         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6586         selecting assembly source files.
6587
6588 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6589
6590         * gdb.base/new-ui.exp (do_test_invalid_args): New
6591         procedure.
6592
6593 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6594
6595         * gdb.btrace/reconnect.c: New file.
6596         * gdb.btrace/reconnect.exp: New file.
6597
6598 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6599
6600         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6601         to test_catch_syscall_group.
6602         (test_catch_syscall_group): New.
6603
6604 2016-07-21  Tom Tromey  <tom@tromey.com>
6605
6606         * gdb.rust/simple.rs (main): Use empty struct expression.
6607         * gdb.rust/simple.exp: Add tests for empty struct expression.
6608
6609 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6610
6611         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6612         if gdb_skip_xml_test is true on some targets.
6613
6614 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6615
6616         * gdb.server/solib-list.exp: Unset last_loaded_file.
6617
6618 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6619
6620         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6621         "step into captured_main (args)".
6622
6623 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6624
6625         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6626
6627 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6628
6629         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6630
6631 2016-07-19  Pedro Alves  <palves@redhat.com>
6632
6633         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6634         * gdb.opt/inline-bt.exp: Likewise.
6635         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6636         additional_flags=-Winline.
6637         * gdb.opt/inline-locals.exp: Likewise.
6638         * gdb.opt/inline-markers.c (ATTR): Define.
6639         (inlined_fn): Use it.
6640
6641 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6642
6643         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6644         (test_with_self): Remove some code.  Remove argument executable.
6645         (top-level): Use do_self_tests.
6646
6647 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6648             Don Breazeal <donb@codesourcery.com>
6649
6650         * gdb.base/maint.exp: Escape paths used in regular expressions.
6651         * gdb.stabs/weird.exp: Likewise.
6652
6653 2016-07-13  Tom Tromey  <tom@tromey.com>
6654
6655         PR python/15620, PR python/18620:
6656         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6657         (test_bkpt_events): New procs.
6658
6659 2016-07-13  Tom Tromey  <tom@tromey.com>
6660
6661         PR python/17698:
6662         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6663         test.
6664         (test_watchpoints): Likewise.
6665         (test_bkpt_pending): New proc.
6666
6667 2016-07-13  Tom Tromey  <tom@tromey.com>
6668
6669         PR cli/18053:
6670         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6671         completion test.
6672
6673 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6674
6675         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6676         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6677         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6678         f_label.
6679         (g): Rename g_end_lbl to g_label.
6680         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6681         low_pc and high_pc.
6682         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6683
6684 2016-07-12  Tom Tromey  <tom@tromey.com>
6685
6686         PR python/19293:
6687         * gdb.python/py-unwind-maint.exp: Update tests.
6688
6689 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6690
6691         * lib/selftest-support.exp (selftest_setup): Match the output
6692         when captured_main is inlined.
6693
6694 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6695
6696         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6697         New variables.
6698         (print this%a, print this%b, print this): New tests.
6699         * gdb.fortran/derived-types.f90 (this): New object and
6700         initialization.
6701
6702 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6703
6704         * gdb.ada/arraydim.exp: Remove extra directory level in build
6705         directory.
6706
6707 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6708
6709         * lib/ada.exp: Remove extra directory level in build directory.
6710         * gdb.ada/cond_lang.exp: Likewise.
6711         * gdb.ada/exec_changed.exp: Likewise.
6712         * gdb.ada/lang_switch.exp: Likewise.
6713
6714 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6715
6716         * simple.rs: Add test for raw pointer subscripting.
6717         * simple.exp: Add test expectations.
6718
6719 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6720
6721         * gdb.mi/mi-reverse.exp: Match =record-started output.
6722
6723 2016-07-01  Pedro Alves  <palves@redhat.com>
6724
6725         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6726         procedure.
6727         (jit_reader_test): Test the jit reader's unwinder.
6728         * gdb.base/jithost.c (jit_function_00_code): New global.
6729         (main): Use memcpy to fill in the mmapped code, instead of poking
6730         bytes manually here.
6731         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6732         value.
6733         (read_debug_info): Save the function's range.
6734         (read_sp): New function.
6735         (unwind_frame): Use it.  Also unwind RBP.
6736         (get_frame_id): Use read_sp.
6737         (gdb_init_reader): Use calloc instead of malloc.
6738         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6739         parameter.  Use gdb_test_multiple.
6740
6741 2016-07-01  Pedro Alves  <palves@redhat.com>
6742             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6743
6744         * gdb.threads/process-dies-while-detaching.c: New file.
6745         * gdb.threads/process-dies-while-detaching.exp: New file.
6746
6747 2016-07-01  Pedro Alves  <palves@redhat.com>
6748
6749         * gdb.multi/watchpoint-multi-exit.c: New file.
6750         * gdb.multi/watchpoint-multi-exit.exp: New file.
6751
6752 2016-06-30  Pedro Alves  <palves@redhat.com>
6753
6754         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6755         unset inferior_spawn_id.
6756
6757 2016-06-30  Pedro Alves  <palves@redhat.com>
6758
6759         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6760         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6761
6762 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6763
6764         * gdb.base/return.c: Add copyright header.
6765
6766 2016-06-29  Tom Tromey  <tom@tromey.com>
6767
6768         PR python/20129:
6769         * gdb.python/py-framefilter.exp: Add tests for setting priority
6770         and disabling of non-existent frame filter.
6771
6772 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6773
6774         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6775         0x0f07ff.
6776
6777 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6778
6779         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6780         triplets.  Start gdb, execute catch syscall, and continue.  Check
6781         gdb's output to determine catch syscall is supported.
6782
6783 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6784
6785         * gdb.rust/simple.rs: Add test for returning unit in a function.
6786         * gdb.rust/simple.exp: Add expectation for functions returning
6787         unit.
6788
6789 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6790
6791         * gdb.python/py-breakpoint-create-fail.c,
6792         gdb.python/py-breakpoint-create-fail.exp,
6793         gdb.python/py-breakpoint-create-fail.py: New testcase.
6794
6795 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6796
6797         PR gdb/20239
6798         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6799         * gdb.rust/simple.exp: Add test expectations for new NonZero
6800         tests.
6801
6802 2016-06-24  David Taylor  <dtaylor@emc.com>
6803
6804         * gdb.base/offsets.exp: New file.
6805         * gdb.base/offsets.c: New file.
6806
6807 2016-06-23  Tom Tromey  <tom@tromey.com>
6808
6809         PR gdb/16483:
6810         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6811         before any filters are loaded.
6812
6813 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6814
6815         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6816         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6817         structs.
6818         * gdb.fortran/derived-type-function.exp: New file.
6819         * gdb.fortran/derived-type-function.f90: New file.
6820
6821
6822 2016-06-21  Pedro Alves  <palves@redhat.com>
6823
6824         * gdb.base/new-ui.exp: New file.
6825         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6826         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6827         (with_spawn_id): New procedure.
6828
6829 2016-06-21  Pedro Alves  <palves@redhat.com>
6830
6831         * gdb.mi/mi-exec-run.exp: New file.
6832
6833 2016-06-21  Pedro Alves  <palves@redhat.com>
6834
6835         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6836         breakpoint command's output on the main UI.
6837         (test_break): New procedure, factored out from calls in the top
6838         level.
6839         (top level): Use foreach_with_prefix to test MI as main UI and as
6840         separate UI.
6841
6842 2016-06-21  Pedro Alves  <palves@redhat.com>
6843
6844         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6845         (test_awatch_creation_and_listing)
6846         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6847         Remove 'type' parameter.
6848         (test_watchpoint_all): New parameter mi_mode.  Remove
6849         with_test_prefix.
6850         (top level): Use foreach_with_prefix, and add main/separate UI MI
6851         testing axis.
6852
6853 2016-06-21  Pedro Alves  <palves@redhat.com>
6854
6855         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6856         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6857         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6858         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6859         (gdb_main_spawn_id, mi_spawn_id): Declare and
6860         comment.
6861         (mi_create_inferior_pty): New procedure,
6862         factored out from default_mi_gdb_start.
6863         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6864         procedures.
6865         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6866         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6867         Use mi_create_inferior_pty.
6868         (mi_gdb_start): Use eval to pass down args list.
6869
6870 2016-06-21  Pedro Alves  <palves@redhat.com>
6871
6872         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6873         * gdb.opt/inline-cmds.exp: Add MI tests.
6874
6875 2016-06-21  Pedro Alves  <palves@redhat.com>
6876
6877         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6878
6879 2016-06-21  Pedro Alves  <palves@redhat.com>
6880
6881         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6882         (top level): Use it instead of mi_execute_to.
6883
6884 2016-06-21  Pedro Alves  <palves@redhat.com>
6885
6886         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6887         (cont_handler_str): New.
6888         (signal_stop_handler): Set stop_handler_str instead of printing to
6889         stdout.
6890         (continue_handler): Set cont_handler_str instead of printing to
6891         stdout.
6892         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6893         mi_send_resuming_command.  Print stop_handler_str and
6894         cont_handler_str instead of expecting the python events print
6895         directly.
6896
6897 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6898
6899         * gdb.base/jit-reader.exp: New file.
6900         * gdb.base/jithost.c: New file.
6901         * gdb.base/jithost.h: New file.
6902         * gdb.base/jitreader.c : New file.
6903         * gdb.base/jit-protocol.h: New file.
6904
6905 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6906
6907         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6908         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6909         and detach-on-fork.  Adjust tests.
6910         (top level): Invoke break_cond_on_syscall with combinations of
6911         syscall, follow-fork-mode and detach-on-fork.
6912
6913 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6914
6915         * gdb.base/step-over-exit.c: New.
6916         * gdb.base/step-over-exit.exp: New.
6917
6918 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6919
6920         * gdb.base/float.exp: Add target check for nds32*-*-*.
6921         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6922
6923 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6924
6925         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6926         for unsupported target features.
6927         * gdb.base/call-rt-st.exp: Likewise.
6928         * gdb.base/call-sc.exp: Likewise.
6929         * gdb.base/call-signal-resume.exp: Likewise.
6930         * gdb.base/call-strs.exp: Likewise.
6931         * gdb.base/callexit.exp: Likewise.
6932         * gdb.base/callfuncs.exp: Likewise.
6933         * gdb.base/nodebug.exp: Likewise.
6934         * gdb.base/printcmds.exp: Likewise.
6935         * gdb.base/ptype.exp: Likewise.
6936         * gdb.base/structs.exp: Likewise.
6937         * gdb.base/unwindonsignal.exp: Likewise.
6938         * gdb.cp/gdb2495.exp: Likewise.
6939         * gdb.cp/templates.exp: Likewise.
6940         * gdb.cp/virtfunc.exp: Likewise.
6941         * gdb.threads/hand-call-in-threads.exp: Likewise.
6942         * gdb.threads/interrupted-hand-call.exp: Likewise.
6943         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6944
6945 2016-06-10  Tom Tromey  <tom@tromey.com>
6946
6947         PR rust/20110:
6948         * gdb.rust/expr.exp: Add test for integer constant larger than
6949         i32.
6950
6951 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6952
6953         * gdb.fortran/nested-funcs.exp: New.
6954         * gdb.fortran/nested-funcs.f90: New.
6955
6956 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6957
6958         * gdb.base/examine-backward.c: New file.
6959         * gdb.base/examine-backward.exp: New file.
6960
6961 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6962
6963         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6964         matching.
6965
6966 2016-06-02  Tom Tromey  <tom@tromey.com>
6967
6968         PR python/18984:
6969         * gdb.python/py-shared.exp: Add solib_name test.
6970
6971 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6972
6973         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6974
6975 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6976
6977         PR c++/19893
6978         * gdb.dwarf2/implref.exp: Rename to...
6979         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6980         * gdb.dwarf2/implref-array.c: New file.
6981         * gdb.dwarf2/implref-array.exp: Likewise.
6982         * gdb.dwarf2/implref-global.c: Likewise.
6983         * gdb.dwarf2/implref-global.exp: Likewise.
6984         * gdb.dwarf2/implref-struct.c: Likewise.
6985         * gdb.dwarf2/implref-struct.exp: Likewise.
6986
6987 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6988
6989         * gdb.trace/trace-condition.exp: Add 64bit tests.
6990
6991 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6992
6993         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6994         bits types.
6995         (main): Adapt to 8 to 64 bits types.
6996         * gdb.trace/trace-condition.exp: Add new tests.
6997
6998 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6999
7000         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7001
7002 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7003
7004         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7005         Move condition tests...
7006         * gdb.trace/trace-condition.exp: Here.
7007
7008 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7009
7010         * gdb.trace/trace-condition.exp: Add counter-case tests.
7011
7012 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7013
7014         PR c++/15231
7015         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7016         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7017
7018 2016-05-27  Pedro Alves  <palves@redhat.com>
7019
7020         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7021         New procedure.
7022         (top level): Call it, and bail out of DejaGnu is known to be bad.
7023
7024 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7025
7026         * gdb.base/whatis.c: Extend the test case.
7027         * gdb.base/whatis.exp: Add additional tests.
7028
7029 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7030
7031 * gdb.fortran/type.f90: Add pointer variable.
7032 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7033
7034 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7035
7036         * gdb.fortran/vla-type.exp: Fix testcase name.
7037
7038 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7039
7040         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7041
7042 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7043
7044         * gdb.fortran/type.f90: Add nested structures.
7045         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7046         * gdb.fortran/derived-type.exp: Adapt expected output.
7047         * gdb.fortran/vla-type.exp: Adapt expected output.
7048
7049 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7050
7051         * gdb.fortran/whatis_type.exp: Adapt expected output.
7052
7053 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7054
7055         * gdb.fortran/print_type.exp: Fix expected output.
7056         * gdb.fortran/whatis_type.exp: Fix expected output.
7057
7058 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7059
7060         * gdb.fortran/whatis_type.exp: Use multi_line.
7061
7062 2016-05-24  Tom Tromey  <tom@tromey.com>
7063
7064         PR python/17386:
7065         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7066         use value as an index.
7067
7068 2016-05-23  Tom Tromey  <tom@tromey.com>
7069
7070         PR python/17981:
7071         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7072         no-breakpoint case.
7073
7074 2016-05-24  Pedro Alves  <palves@redhat.com>
7075
7076         PR gdb/19828
7077         * gdb.threads/clone-attach-detach.c: New file.
7078         * gdb.threads/clone-attach-detach.exp: New file.
7079
7080 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7081
7082         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7083
7084 2016-05-23  Tom Tromey  <tom@tromey.com>
7085
7086         PR python/19438, PR python/18393:
7087         * gdb.python/py-progspace.exp: Add "dir" test.
7088         * gdb.python/py-objfile.exp: Add "dir" test.
7089
7090 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7091
7092         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7093         * gdb.arch/thumb2-it.exp: Likewise.
7094
7095 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7096
7097         * gdb.mi/mi-threads-interrupt.c: New file.
7098         * gdb.mi/mi-threads-interrupt.exp: New file.
7099
7100 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7101
7102         PR gdb/18077
7103         * gdb.mi/mi-async-run.exp: New file.
7104         * gdb.mi/mi-async-run.c: New file.
7105
7106 2016-05-17  Tom Tromey  <tom@tromey.com>
7107             Manish Goregaokar <manishsmail@gmail.com>
7108
7109         * lib/rust-support.exp: New file.
7110         * lib/gdb.exp (skip_rust_tests): New proc.
7111         (build_executable_from_specs): Handle rust.
7112         * lib/future.exp (gdb_find_rustc): New proc.
7113         (gdb_default_target_compile): Handle rust.
7114         * gdb.rust/expr.exp: New file.
7115         * gdb.rust/generics.exp: New file.
7116         * gdb.rust/generics.rs: New file.
7117         * gdb.rust/methods.exp: New file.
7118         * gdb.rust/methods.rs: New file.
7119         * gdb.rust/modules.exp: New file.
7120         * gdb.rust/modules.rs: New file.
7121         * gdb.rust/simple.exp: New file.
7122         * gdb.rust/simple.rs: New file.
7123
7124 2016-05-17  Tom Tromey  <tom@tromey.com>
7125
7126         * gdb.base/default.exp (set language): Add rust.
7127
7128 2016-05-17  Tom Tromey  <tom@tromey.com>
7129
7130         * gdb.gdb/unittest.exp: New file.
7131
7132 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7133
7134         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7135         shell_prompt.  Update shell_prompt_re.
7136
7137 2016-05-12  Doug Evans  <dje@google.com>
7138
7139         PR symtab/19999
7140         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7141         $options when building executable.
7142         * gdb.dwarf2/fission-loclists-pie.S: New file.
7143         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7144
7145 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7146
7147         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7148         of [is_remote target],
7149
7150 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7151
7152         * lib/gdb.exp (use_gdb_stub): New procedure.
7153
7154 2016-05-03  Yunlian Jiang <yunlian@google.com>
7155             Doug Evans  <dje@google.com>
7156
7157         PR symtab/19914
7158         * gdb.dwarf2/dwp-sepdebug.c: New file.
7159         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7160
7161 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7162
7163         * gdb.base/detach.exp: Remove is_remote check.
7164
7165 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7166
7167         * gdb.base/annota-input-while-running.exp: Don't check for
7168         [is_remote target].  Enable annotations after running to main.
7169         Remove unused "set test..." line.
7170
7171 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7172
7173         * gdb.trace/trace-enable-disable.exp: New file.
7174         * gdb.trace/trace-enable-disable.c: New file.
7175
7176 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7177
7178         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7179         use it in info sharedlibrary test.
7180         * gdb.trace/ftrace-lock.exp: Likewise.
7181         * gdb.trace/ftrace.exp: Likewise.
7182         * gdb.trace/range-stepping.exp: Likewise.
7183         * gdb.trace/trace-break.exp: Likewise.
7184         * gdb.trace/trace-condition.exp: Likewise.
7185         * gdb.trace/trace-mt.exp: Likewise.
7186
7187 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7188
7189         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7190         (gdb_load_shlib): ... this.
7191         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7192         gdb_load_shlib.
7193         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7194         * gdb.base/ctxobj.exp: Likewise.
7195         * gdb.base/dprintf-pending.exp: Likewise.
7196         * gdb.base/dso2dso.exp: Likewise.
7197         * gdb.base/fixsection.exp: Likewise.
7198         * gdb.base/gcore-relro.exp: Likewise.
7199         * gdb.base/gdb1555.exp: Likewise.
7200         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7201         * gdb.base/gnu-ifunc.exp: Likewise.
7202         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7203         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7204         * gdb.base/pending.exp: Likewise.
7205         * gdb.base/print-file-var.exp: Likewise.
7206         * gdb.base/print-symbol-loading.exp: Likewise.
7207         * gdb.base/shlib-call.exp: Likewise.
7208         * gdb.base/shreloc.exp: Likewise.
7209         * gdb.base/so-impl-ld.exp: Likewise.
7210         * gdb.base/solib-disc.exp: Likewise.
7211         * gdb.base/solib-nodir.exp: Likewise.
7212         * gdb.base/solib-overlap.exp: Likewise.
7213         * gdb.base/solib-symbol.exp: Likewise.
7214         * gdb.base/solib-weak.exp (do_test): Likewise.
7215         * gdb.base/sym-file.exp: Likewise.
7216         * gdb.base/symtab-search-order.exp: Likewise.
7217         * gdb.base/type-opaque.exp: Likewise.
7218         * gdb.base/unload.exp: Likewise.
7219         * gdb.base/watchpoint-solib.exp: Likewise.
7220         * gdb.compile/compile.exp: Likewise.
7221         * gdb.cp/gdb2384.exp: Likewise.
7222         * gdb.cp/infcall-dlopen.exp: Likewise.
7223         * gdb.cp/re-set-overloaded.exp: Likewise.
7224         * gdb.fortran/library-module.exp: Likewise.
7225         * gdb.opt/solib-intra-step.exp: Likewise.
7226         * gdb.python/py-finish-breakpoint.exp: Likewise.
7227         * gdb.python/py-shared.exp: Likewise.
7228         * gdb.reverse/solib-precsave.exp: Likewise.
7229         * gdb.reverse/solib-reverse.exp: Likewise.
7230         * gdb.server/solib-list.exp: Likewise.
7231         * gdb.threads/dlopen-libpthread.exp: Likewise.
7232         * gdb.threads/tls-shared.exp: Likewise.
7233         * gdb.threads/tls-so_extern.exp: Likewise.
7234         * gdb.trace/change-loc.exp: Likewise.
7235         * gdb.trace/ftrace-lock.exp: Likewise.
7236         * gdb.trace/ftrace.exp: Likewise.
7237         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7238         * gdb.trace/pending.exp: Likewise.
7239         * gdb.trace/range-stepping.exp: Likewise.
7240         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7241         (strace_info_marker): Likewise.
7242         (strace_probe_marker): Likewise.
7243         (strace_trace_on_same_addr): Likewise.
7244         (strace_trace_on_diff_addr): Likewise.
7245         * gdb.trace/trace-break.exp: Likewise.
7246         * gdb.trace/trace-condition.exp: Likewise.
7247         * gdb.trace/trace-mt.exp: Likewise.
7248
7249 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7250
7251         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7252         result of gdb_remote_download.
7253         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7254         * gdb.base/dso2dso.exp: Likewise.
7255         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7256         * gdb.base/print-file-var.exp: Likewise.
7257         * gdb.base/shlib-call.exp: Likewise.
7258         * gdb.base/shreloc.exp: Likewise.
7259         * gdb.base/solib-overlap.exp: Likewise.
7260         * gdb.base/solib-weak.exp (do_test): Likewise.
7261         * gdb.base/unload.exp: Likewise.
7262
7263 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7264
7265         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7266         exists.
7267
7268 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7269
7270         * vla-type.exp: Print structure from toplevel.
7271
7272 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7273
7274         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7275         of dynamic types.
7276         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7277         of dynamic types.
7278
7279 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7280
7281         * gdb.fortran/vla-type.f90: New file.
7282         * gdb.fortran/vla-type.exp: New file.
7283
7284 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7285
7286         * gdb.base/branch-to-self.c: New file.
7287         * gdb.base/branch-to-self.exp: New file.
7288
7289 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7290
7291         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7292         more after $hex.
7293
7294 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7295
7296         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7297         * gdb.base/annota3.exp: Likewise.
7298
7299 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7300
7301         * gdb.reverse/step-precsave.exp: Do one step and test program
7302         stops in "callee" and do multiple steps until program goes out
7303         of "callee".
7304         * gdb.reverse/step-reverse.exp: Likewise.
7305
7306 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7307
7308         * gdb.trace/signal.exp: Also pass if
7309         $tracepoint_hits($i) > $iterations.
7310
7311 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7312
7313         * gdb.trace/signal.c: New file.
7314         * gdb.trace/signal.exp: New file.
7315
7316 2016-04-19  Doug Evans  <xdje42@gmail.com>
7317
7318         * gdb.base/bad-file.exp: New file.
7319
7320 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7321
7322         * gdb.dwarf2/implref.exp: New file.
7323
7324 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7325
7326         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7327         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7328         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7329         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7330         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7331         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7332         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7333         * lib/fortran.exp (fortran_int4): New procedure.
7334         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7335         (fortran_logical4): Likewise.
7336
7337 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7338
7339         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7340
7341 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7342
7343         * lib/compiler.c: Add Intel specific preprocessor macros.
7344         * lib/compiler.cc: Likewise.
7345
7346 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7347
7348         * gdb.server/connect-with-no-symbol-file.c: New file.
7349         * gdb.server/connect-with-no-symbol-file.exp: New file.
7350
7351 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7352
7353         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7354
7355 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7356
7357         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7358         standard output directory.
7359
7360 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7361
7362         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7363
7364 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7365
7366         * gdb.btrace/instruction_history.c (loop): Add declaration.
7367
7368 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7369
7370         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7371
7372 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7373
7374         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7375         parentheses to print.
7376         (continue_handler): Likewise.
7377
7378 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7379
7380         * gdb.server/solib-list.exp: Remove is_remote check.
7381         Pass shlib= to gdb_compile.  Don't link shared library with
7382         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7383         Run binary filename through "readlink -f" on the target.
7384
7385 2016-04-08  Pedro Alves  <palves@redhat.com>
7386
7387         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7388         interpreter filename as argument to gdbserver_spawn.
7389         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7390         Return empty if $last_loaded_file does not exist.
7391
7392 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7393
7394         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7395         * gdb.base/jit-main.c: Use exit after usage.
7396
7397 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7398
7399         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7400         GDBHISTSIZE prior to the tests.
7401         * gdb.base/gdbinit-history.exp: Likewise.
7402
7403 2016-04-07  Pedro Alves  <palves@redhat.com>
7404
7405         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7406         instead of build_executable.  Use gdb_load_shlibs.
7407
7408 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7409
7410         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7411         Execute "si" command.
7412
7413 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7414
7415         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7416         number instead of the comments on some line.
7417
7418 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7419
7420         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7421         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7422
7423 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7424
7425         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7426         standard_output_file.  Remove unused binfile variable.
7427
7428 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7429
7430         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7431         * gdb.python/py-mi-objfile.exp: Match "list main" output
7432         in console format.
7433
7434 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7435
7436         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7437         absolute.
7438
7439 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7440
7441         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7442         absolute.
7443         * gdb.trace/ftrace.exp: Likewise.
7444         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7445         targets as well.
7446         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7447         (gdb_load_shlibs): Copy libraries to test directory when testing
7448         natively.  Only set solib-search-path if testing remotely.
7449         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7450
7451 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7452
7453         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7454         gdb_download.  Use it even if the target is not remote.
7455         * gdb.base/jit.exp (compile_jit_test): Likewise.
7456         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7457         output directory if the destination board is local, otherwise use
7458         the standard remote_download from DejaGnu.
7459         (gdb_download): Remove.
7460         (gdb_load_shlibs): Use gdb_remote_download instead of
7461         gdb_download.
7462         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7463         Use gdb_remote_download instead of gdb_download.  Use it even if
7464         the target is not remote.
7465         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7466         instead of gdb_download.
7467
7468 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7469
7470         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7471         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7472         run.
7473
7474 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7475
7476         PR gdb/19820
7477         * gdb.base/printcmds.exp: Add artificial arrays tests.
7478
7479 2016-03-31  Pedro Alves  <palves@redhat.com>
7480
7481         PR gdb/19858
7482         * gdb.base/jit-main.c: Include unistd.h.
7483         (ATTACH): Define to 0 if not already defined.
7484         (wait_for_gdb, mypid): New globals.
7485         (WAIT_FOR_GDB): New macro.
7486         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7487         some breakpoint locations.
7488         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7489         New procedures.
7490         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7491         continue_to_test_location.
7492         (top level): Test attach, and adjusts calls to one_jit_test.
7493
7494 2016-03-31  Pedro Alves  <palves@redhat.com>
7495
7496         PR gdb/19858
7497         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7498         BINSUFFIX parameter, and handle it.
7499         (top level): Adjust calls compile_jit_test.
7500
7501 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7502
7503         PR python/19743
7504         * gdb.python/py-mi-events-gdb.py: New file.
7505         * gdb.python/py-mi-events.c: New file.
7506         * gdb.python/py-mi-events.exp: New file.
7507
7508 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7509
7510         * gdb.reverse/until-precsave.exp: Match function name only.
7511         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7512         Move malloc to a condition block.
7513         * gdb.reverse/until-reverse.exp: Match function name only.
7514
7515 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7516
7517         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7518         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7519         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7520         variable for GPR 0 instead of assuming it is register 0.
7521         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7522         * lib/trace-support.exp: Add s390 registers.
7523
7524 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7525
7526         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7527
7528 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7529
7530         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7531         test message.
7532
7533 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7534
7535         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7536         maintaining separate logic for constructing the output path.
7537
7538 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7539
7540         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7541         Retry fork and waitpid on interrupted system call errors.
7542         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7543         Use with_timeout_factor to increase timeout by factor of 10.
7544
7545 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7546
7547         * gdb.cp/scope-err.cc: New test program.
7548         * gdb.cp/scope-err.exp: New test script.
7549         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7550         lines and "set breakpoint here" comment.
7551         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7552         Fixed some whitespace and format issues.
7553         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7554         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7555
7556 2016-03-15  Doug Evans  <dje@google.com>
7557
7558         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7559         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7560         All callers updated.  Add tests for enums, mixed flags register.
7561
7562 2016-03-15  Doug Evans  <dje@google.com>
7563
7564         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7565         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7566
7567 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7568
7569         * gdb.base/default.exp: Add $_as_string to the list of expected
7570         convenience functions.
7571
7572 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7573
7574         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7575
7576 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7577
7578         * gdb.python/py-as-string.exp: New file.
7579         * gdb.python/py-as-string.c: New file.
7580
7581 2016-03-09  Pedro Alves  <palves@redhat.com>
7582
7583         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7584         signal" -> "Thread NN received signal" output change.
7585         * gdb.threads/ia64-sigill.exp: Likewise.
7586         * gdb.threads/linux-dp.exp: Likewise.
7587         * gdb.threads/manythreads.exp: Likewise.
7588         * gdb.threads/pending-step.exp: Likewise.
7589         * gdb.threads/print-threads.exp: Likewise.
7590         * gdb.threads/sigstep-threads.exp: Likewise.
7591         * gdb.threads/staticthreads.exp: Likewise.
7592         * gdb.threads/tls.exp: Likewise.
7593
7594 2016-03-09  Pedro Alves  <palves@redhat.com>
7595
7596         * gdb.base/command-line-input.exp: New file.
7597
7598 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7599
7600         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7601         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7602         * gdb.trace/pending.exp: Accept leading dot before function name.
7603         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7604         * lib/trace-support.exp: Set registers for ppc.
7605
7606 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7607
7608         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7609         use it for disassembly; accept .main in addition to main in backtrace.
7610
7611 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7612             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7613
7614         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7615         (gdb_recursion_test_ptr): New global variable.
7616         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7617         gdb_recursion_test.
7618         (gdb_c_test): Ditto.
7619
7620 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7621
7622         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7623         ordering.
7624
7625 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7626
7627         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7628         (bar): Add bar_start_lbl label.
7629         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7630         of foo/bar for emitting DWARF and tracing.
7631
7632 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7633
7634         * analyze-racy-logs.py: Set executable bit.
7635
7636 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7637
7638         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7639         (CHECK_TARGET_TMP): Likewise.
7640         (check-single-racy): New rule.
7641         (check-parallel-racy): Likewise.
7642         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7643         (do-check-parallel-racy): New rule.
7644         (check-racy/%.exp): Likewise.
7645         * README (Racy testcases): New section.
7646         * analyze-racy-logs.py: New file.
7647
7648 2016-03-03  Doug Evans  <dje@google.com>
7649
7650         * gdb.base/skip.exp: Use with_test_prefix.
7651
7652 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7653
7654         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7655         Invoke step_over_syscall "clone" and break_cond_on_syscall
7656         "clone".
7657         * gdb.base/step-over-clone.c: New file.
7658
7659 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7660
7661         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7662         code format.
7663
7664 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7665
7666         * gdb.base/disp-step-fork.c: Rename to ...
7667         * gdb.base/step-over-fork.c: ... it.  New file.
7668         * gdb.base/disp-step-vfork.c: Rename to ...
7669         * gdb.base/step-over-vfork.c: ... it.  New file.
7670         * gdb.base/disp-step-syscall.exp: Rename to ...
7671         * gdb.base/step-over-syscall.exp: ... it.  New file.
7672         (disp_step_cross_syscall): Rename to ...
7673         (step_over_syscall): ... it.
7674
7675 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7676
7677         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7678         If target supports condition evaluation on target, invoke
7679         break_cond_on_syscall for fork and vfork.
7680
7681 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7682
7683         * gdb.base/disp-step-syscall.exp: Don't invoke
7684         support_displaced_stepping.
7685         (disp_step_cross_syscall): Test with displaced stepping off and
7686         on if supported.
7687
7688 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7689
7690         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7691         proc.
7692         (setup): New proc.
7693         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7694         and setup.
7695
7696 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7697
7698         * gdb.fortran/vla-history.exp: Remove breakpoint.
7699
7700 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7701
7702         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7703         exceeds timeout.
7704
7705 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7706
7707         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7708         breakpoint.
7709
7710 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7711
7712         * gdb.mi/vla.f90: Nullify pointer after declaration.
7713
7714 2016-03-01  Pedro Alves  <palves@redhat.com>
7715
7716         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7717
7718 2016-03-01  Pedro Alves  <palves@redhat.com>
7719
7720         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7721         before anything else.
7722         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7723         _GNU_SOURCE here.
7724         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7725         before anything else.
7726         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7727
7728 2016-03-01  Pedro Alves  <palves@redhat.com>
7729
7730         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7731
7732 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7733
7734         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7735         prepare_for_testing.
7736
7737 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7738
7739         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7740
7741 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7742
7743         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7744         manually constructing the output path.
7745
7746 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7747
7748         * gdb.arch/s390-stackless.S: New.
7749         * gdb.arch/s390-stackless.exp: New.
7750
7751 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7752
7753         * gdb.dlang/circular.c: New file.
7754         * gdb.dlang/circular.exp: New file.
7755
7756 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7757
7758         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7759         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7760         (testcases): Update.
7761
7762 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7763
7764         * gdb.reverse/aarch64.c: Rename to ...
7765         * gdb.reverse/insn-reverse.c: ... it.
7766         * gdb.reverse/aarch64.exp: Rename to ...
7767         * gdb.reverse/insn-reverse.exp: ... it.
7768
7769 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7770
7771         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7772         (testcase_ftype): New.
7773         (testcases): New array.
7774         (n_testcases): New.
7775         (main): Call each element in testcases.
7776         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7777         (read_testcase): New.
7778         Do the tests in a loop.
7779
7780 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7781
7782         * gdb.base/branches.c: Remove.
7783
7784 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7785
7786         PR gdb/13808
7787         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7788
7789 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7790
7791         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7792
7793 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7794
7795         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7796         change x86_64 call_insn to 'callq'.
7797
7798 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7799
7800         * gdb.trace/tfile-avx.c: Move to...
7801         * gdb.trace/tracefile-pseudo-reg.c: Here.
7802         * gdb.trace/tfile-avx.exp: Move to...
7803         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7804
7805 2016-02-24  Gary Benson <gbenson@redhat.com>
7806
7807         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7808         message on attach.
7809
7810 2016-02-23  Doug Evans  <dje@google.com>
7811
7812         * gdb.base/skip.c (test_skip): New function.
7813         (end_test_skip_file_and_function): New function.
7814         (test_skip_file_and_function): New function.
7815         * gdb.base/skip1.c (test_skip): New function.
7816         (skip1_test_skip_file_and_function): New function.
7817         * gdb.base/skip.exp: Add tests for new skip options.
7818         * gdb.base/skip-solib.exp: Update expected output.
7819         * gdb.perf/skip-command.cc: New file.
7820         * gdb.perf/skip-command.exp: New file.
7821         * gdb.perf/skip-command.py: New file.
7822
7823 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7824
7825         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7826         info registers pattern.
7827
7828 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7829
7830         * lib/future.exp: Add D support.
7831         (gdb_find_gdc): New proc.
7832         (gdb_default_target_compile): Add D support.
7833
7834 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7835
7836         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7837         user+system time.
7838         (trace_speed_test): Determine the iteration count for a time
7839         between 15..30 seconds.
7840
7841 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7842
7843         * gdb.arch/i386-mpx-sigsegv.c: New file.
7844         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7845         * gdb.arch/i386-mpx-simple_segv.c: New file.
7846         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7847
7848 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7849
7850         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7851         Don't call setup_kfail.
7852
7853 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7854
7855         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7856         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7857
7858 2016-02-16  Doug Evans  <dje@google.com>
7859
7860         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7861         * gdb.base/skip1.c: Ditto.
7862         * gdb.base/skip.exp: Whitespace cleanup.
7863
7864 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7865
7866         PR remote/19496
7867         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7868         Remove kfail for PR remote/19496.
7869
7870 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7871
7872         * lib/gdb.exp (standard_temp_file): Return a path specific to
7873         the runtest invocation.
7874
7875 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7876
7877         * gdb.trace/save-trace.exp: Change relative path to be in the
7878         standard output directory.
7879
7880 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7881
7882         * gdb.arch/i386-prologue.c: Add missing prototypes.
7883
7884 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7885
7886         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7887         * gdb.arch/i386-prologue.exp: Likewise.
7888         * gdb.arch/i386-size.exp: Likewise.
7889
7890 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7891
7892         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7893         define object file path.
7894         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7895         file path.
7896         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7897         standard_output_file to define binfile.
7898
7899 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7900
7901         Fix compatibility with recent gfortran-5.3.1.
7902         * gdb.fortran/vla-history.exp (print vla1 allocated)
7903         (print vla2 allocated, print $2, print $3): Remove
7904         (print $4): Rename to ...
7905         (print $2): ... here.
7906         (print $9): Rename to ...
7907         (print $5): ... here.
7908         (print $10): Rename to ...
7909         (print $6): ... here.
7910         * gdb.fortran/vla.f90: Add pvla initialization.
7911
7912 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7913
7914         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7915         New test.
7916         * gdb.fortran/vla-value-sub.exp: Likewise.
7917
7918 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7919
7920         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7921
7922 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7923
7924         * i386-biarch-core.exp: Define corefile using
7925         standard_output_file.
7926
7927 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7928
7929         * gdb.arch/arm-single-step-kernel-helper.c: New.
7930         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7931
7932 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7933
7934         * gdb.btrace/tailcall-only.exp: New.
7935         * gdb.btrace/tailcall-only.c: New.
7936         * gdb.btrace/x86_64-tailcall-only.S: New.
7937         * gdb.btrace/i686-tailcall-only.S: New.
7938
7939 2016-02-11  Pedro Alves  <palves@redhat.com>
7940
7941         * README (Parallel testing): Add missing double quotes.
7942
7943 2016-02-11  Pedro Alves  <palves@redhat.com>
7944
7945         * README (Parallel testing): New section.
7946         (GDB_PARALLEL): Rewrite.
7947         (FORCE_PARALLEL): Document.
7948
7949 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7950
7951         * gdb.trace/tfile-avx.c: New test.
7952         * gdb.trace/tfile-avx.exp: New test.
7953
7954 2016-02-09  Keith Seitz  <keiths@redhat.com>
7955
7956         PR breakpoints/19546
7957         * gdb.base/infcall-exec.c: New file.
7958         * gdb.base/infcall-exec2.c: New file.
7959         * gdb.base/infcall-exec.exp: New file.
7960
7961 2016-02-09  Keith Seitz  <keiths@redhat.com>
7962
7963         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7964         (toplevel): Call test_bkpt_address.
7965
7966 2016-02-09  Keith Seitz  <keiths@redhat.com>
7967
7968         PR python/19506
7969         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7970         (toplevel): Call test_bkpt_address.
7971
7972 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7973
7974         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7975         to AC_OUTPUT.
7976         * configure: Regenerate.
7977
7978 2016-02-09  Pedro Alves  <palves@redhat.com>
7979
7980         PR breakpoints/19548
7981         * gdb.base/execl-update-breakpoints.c (some_function): New
7982         function.
7983         (main): Call it.
7984         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7985         Tighten expected GDB output.
7986
7987 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7988
7989         * Makefile.in (ALL_SUBDIRS): Remove.
7990         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7991         (distclean maintainer-clean realclean): Likewise.
7992         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7993         * configure: Regenerate.
7994         * gdb.ada/Makefile.in: Delete.
7995         * gdb.arch/Makefile.in: Likewise.
7996         * gdb.asm/Makefile.in: Likewise.
7997         * gdb.base/Makefile.in: Likewise.
7998         * gdb.btrace/Makefile.in: Likewise.
7999         * gdb.cell/Makefile.in: Likewise.
8000         * gdb.compile/Makefile.in: Likewise.
8001         * gdb.cp/Makefile.in: Likewise.
8002         * gdb.disasm/Makefile.in: Likewise.
8003         * gdb.dlang/Makefile.in: Likewise.
8004         * gdb.dwarf2/Makefile.in: Likewise.
8005         * gdb.fortran/Makefile.in: Likewise.
8006         * gdb.gdb/Makefile.in: Likewise.
8007         * gdb.go/Makefile.in: Likewise.
8008         * gdb.guile/Makefile.in: Likewise.
8009         * gdb.java/Makefile.in: Likewise.
8010         * gdb.linespec/Makefile.in: Likewise.
8011         * gdb.mi/Makefile.in: Likewise.
8012         * gdb.modula2/Makefile.in: Likewise.
8013         * gdb.multi/Makefile.in: Likewise.
8014         * gdb.objc/Makefile.in: Likewise.
8015         * gdb.opencl/Makefile.in: Likewise.
8016         * gdb.opt/Makefile.in: Likewise.
8017         * gdb.pascal/Makefile.in: Likewise.
8018         * gdb.perf/Makefile.in: Likewise.
8019         * gdb.python/Makefile.in: Likewise.
8020         * gdb.reverse/Makefile.in: Likewise.
8021         * gdb.server/Makefile.in: Likewise.
8022         * gdb.stabs/Makefile.in: Likewise.
8023         * gdb.threads/Makefile.in: Likewise.
8024         * gdb.trace/Makefile.in: Likewise.
8025         * gdb.xml/Makefile.in: Likewise.
8026         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8027         GDB_PARALLEL.
8028         (standard_output_file): Remove check for GDB_PARALLEL, always
8029         return path in outputs/$subdir/$testname.
8030
8031 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8032
8033         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8034         (site.exp): Assign abs_srcdir to tcl's srcdir.
8035
8036 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8037
8038         * gdb.base/foll-exec-mode.c: Include limits.h.
8039         (main): Add parameters argc and argv.  Get directory from
8040         argv[0].
8041         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8042         compilation.
8043         * gdb.base/foll-exec.c: Include limits.h.
8044         (main): Add parameters argc and argv.
8045         Get directory from argv[0].
8046         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8047         Adjust tests on the number of lines as source code changed.
8048         * gdb.base/foll-vfork-exit.c: Include limits.h.
8049         (main): Add one line of statement before vfork.
8050         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8051         (main): Add parameters argc and argv.  Get directory from
8052         argv[0].
8053         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8054         (setup_gdb): Set tbreak to skip some source lines.
8055         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8056         (main): Add parameters argc and argv.  Get directory from
8057         argv[0].
8058         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8059         compilation.
8060         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8061         (main): Add parameters argc and argv.  Get directory from
8062         argv[0].
8063         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8064         compilation.
8065
8066 2016-02-01  Doug Evans  <dje@google.com>
8067
8068         * gdb.base/skip.exp: Clean up multiple references to same test name.
8069
8070 2016-02-01  Pedro Alves  <palves@redhat.com>
8071
8072         PR remote/19496
8073         * gdb.threads/forking-threads-plus-breakpoint.exp
8074         (displaced_stepping_supported): New global.
8075         (probe_displaced_stepping_support): New procedure.
8076         (do_test): Add 'displaced' parameter, and use it.
8077         (top level): Check for displaced stepping support.  Add displaced
8078         stepping on/off testing axis.
8079
8080 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8081
8082         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8083         pointer.  Don't perform further tests on the unassociated pointer
8084         if the first test fails.
8085
8086 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8087
8088         * gdb.base/max-value-size.c: New file.
8089         * gdb.base/max-value-size.exp: New file.
8090         * gdb.base/huge.exp: Disable max-value-size for this test.
8091
8092 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8093
8094         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8095
8096 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8097
8098         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8099
8100 2016-01-25  Pedro Alves  <palves@redhat.com>
8101
8102         PR threads/19461
8103         * gdb.base/fork-running-state.c: New file.
8104         * gdb.base/fork-running-state.exp: New file.
8105
8106 2016-01-25  Pedro Alves  <palves@redhat.com>
8107
8108         PR gdb/19494
8109         * gdb.base/catch-fork-kill.c: New file.
8110         * gdb.base/catch-fork-kill.exp: New file.
8111
8112 2016-01-25  Pedro Alves  <palves@redhat.com>
8113
8114         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8115         Delete, moved to lib/gdb.exp.
8116         * gdb.threads/forking-threads-plus-breakpoint.exp
8117         (foreach_with_prefix): Likewise.
8118         * gdb.threads/process-dies-while-handling-bp.exp
8119         (foreach_with_prefix): Likewise.
8120         * lib/gdb.exp (foreach_with_prefix): New procedure.
8121
8122 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8123
8124         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8125         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8126
8127 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8128
8129         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8130         endian targets.
8131
8132 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8133             Pedro Alves  <palves@redhat.com>
8134
8135         Fix testsuite compatibility with Guile.
8136         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8137         number.
8138
8139 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8140
8141         Fix testsuite compatibility with Guile.
8142         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8143         (thread 1): New test for backtrace through signal handler.
8144
8145 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8146
8147         PR testsuite/19491
8148         * gdb.base/multi-forks.c: Include
8149         ../lib/unbuffer_output.c
8150         (main): Call gdb_unbuffer_output.
8151
8152 2016-01-21  Doug Evans  <dje@google.com>
8153
8154         * lib/ada.exp (gdb_compile_ada): Fix typo.
8155
8156 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8157
8158         * gdb.base/break-fun-addr.exp: New file.
8159         * gdb.base/break-fun-addr1.c: New file.
8160         * gdb.base/break-fun-addr2.c: New file.
8161
8162 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8163
8164         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8165         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8166         enum flag values.
8167
8168 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8169
8170         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8171         when GDB can not set the vector return value.  Add more comments
8172         for clarification.
8173
8174 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8175
8176         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8177         command.
8178
8179 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8180
8181         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8182
8183 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8184
8185         * Makefile.in (check-single): Pass --status to runtest.
8186         (check/%.exp): Likewise.
8187
8188 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8189
8190         * Makefile.in (check-parallel): Propagate return code from make
8191         do-check-parallel.
8192
8193 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8194
8195         * gdb.trace/ftrace.exp: Fix expected message on continue.
8196         * gdb.trace/pending.exp: Fix expected message on continue.
8197         * gdb.trace/trace-break.exp: Fix expected message on continue.
8198
8199 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8200
8201         * lib/gdb.exp (gdb_test): Remove unused global references.
8202
8203 2016-01-18  Pedro Alves  <palves@redhat.com>
8204
8205         * gdb.base/async-shell.exp: Adjust expected output.
8206         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8207         * gdb.base/siginfo-thread.exp: Adjust expected output.
8208         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8209         * gdb.java/jnpe.exp: Adjust expected output.
8210         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8211         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8212         * gdb.threads/leader-exit.exp: Adjust expected output.
8213         * gdb.threads/manythreads.exp: Adjust expected output.
8214         * gdb.threads/pthreads.exp: Adjust expected output.
8215         * gdb.threads/schedlock.exp: Adjust expected output.
8216         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8217         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8218         expected output.
8219         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8220         output.
8221         * gdb.threads/sigthread.exp: Adjust expected output.
8222         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8223
8224 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8225
8226         * gdb.guile/scm-section-script.c: Replace @progbits with
8227         %progbits.
8228         * gdb.python/py-section-script.c: Likewise.
8229
8230 2016-01-15  Pedro Alves  <palves@redhat.com>
8231
8232         * gdb.multi/tids.exp: Test star wildcard ranges.
8233
8234 2016-01-15  Pedro Alves  <palves@redhat.com>
8235
8236         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8237         command from "thread apply" invocation.
8238         (thr_apply_info_thr_invalid): Default the expected output to the
8239         input tid list.
8240         (top level): Add tests that use convenience variables.  Add tests
8241         for "thread apply" with a valid TID list, but missing the command.
8242
8243 2016-01-13  Pedro Alves  <palves@redhat.com>
8244
8245         * gdb.base/default.exp: Expect $_gthread as well.
8246         * gdb.multi/tids.exp: Test $_gthread.
8247         * gdb.threads/thread-specific.exp: Test $_gthread.
8248
8249 2016-01-13  Pedro Alves  <palves@redhat.com>
8250
8251         * gdb.multi/tids.exp: Test "info threads -gid".
8252
8253 2016-01-13  Pedro Alves  <palves@redhat.com>
8254
8255         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8256         Breakpoint.thread.
8257         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8258
8259 2016-01-07  Pedro Alves  <palves@redhat.com>
8260
8261         * gdb.base/break.exp: Adjust to output changes.
8262         * gdb.base/hbreak2.exp: Likewise.
8263         * gdb.base/sepdebug.exp: Likewise.
8264         * gdb.base/watch_thread_num.exp: Likewise.
8265         * gdb.linespec/keywords.exp: Likewise.
8266         * gdb.multi/info-threads.exp: Likewise.
8267         * gdb.threads/thread-find.exp: Likewise.
8268         * gdb.multi/tids.c: New file.
8269         * gdb.multi/tids.exp: New file.
8270
8271 2016-01-13  Pedro Alves  <palves@redhat.com>
8272
8273         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8274
8275 2016-01-13  Pedro Alves  <palves@redhat.com>
8276
8277         * gdb.base/default.exp: Expect $_inferior as well.
8278         * gdb.multi/base.exp: Test $_inferior.
8279
8280 2016-01-13  Pedro Alves  <palves@redhat.com>
8281
8282         PR breakpoints/19388
8283         * gdb.base/catch-signal-siginfo-cond.c: New file.
8284         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8285
8286 2016-01-12  Josh Stone  <jistone@redhat.com>
8287             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8288
8289         * gdb.base/catch-syscall.c (do_execve): New variable.
8290         (main): Conditionally trigger an execve.
8291         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8292         (test_catch_syscall_execve): New, check entry/return across execve.
8293         (do_syscall_tests): Call test_catch_syscall_execve.
8294
8295 2016-01-12  Pedro Alves  <palves@redhat.com>
8296
8297         * gdb.base/random-signal.exp (do_test): New procedure, with body
8298         of testcase moved in.
8299
8300 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8301             Pedro Alves  <palves@redhat.com>
8302
8303         * gdb.base/funcargs.exp (finish from indirectly called function):
8304         Reintroduce the case for 'First'.
8305
8306 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8307             Pedro Alves  <palves@redhat.com>
8308
8309         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8310         (tcatch_vfork_then_child_follow_exec)
8311         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8312         identification.
8313
8314 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8315
8316         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8317         and repeats to unlimited.
8318         * gdb.python/py-value.exp: Likewise.
8319         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8320         and repeats to unlimited.
8321
8322 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8323
8324         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8325         and reordering the functions.
8326         * gdb.multi/hangout.c: Likewise.
8327         * gdb.multi/hello.c: Likewise.
8328
8329 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8330
8331         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8332         absolute.
8333         (SingleStatisticTestResult.report): Use dict.keys instead of
8334         dict.iterkeys.
8335
8336 2016-01-06  Pedro Alves  <palves@redhat.com>
8337
8338         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8339
8340 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8341
8342         * gdb.btrace/dlopen.exp: New.
8343         * gdb.btrace/dlopen.c: New.
8344         * gdb.btrace/dlopen-dso.c: New.
8345
8346 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8347
8348         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8349         PATTERN argument is optional.
8350
8351 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8352
8353         * lib/ada.exp (target_compile_ada_from_dir): New function.
8354         (gdb_compile_ada): Reimplement avoiding the use of project files.
8355         * gdb.ada/gnat_ada.gpr: Delete.
8356         * gdb.ada/cond_lang.exp: Adjust test to make path before
8357         filename optional.
8358         * gdb.ada/small_reg_param.exp: Likewise.
8359
8360 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8361
8362         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8363
8364 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8365
8366         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8367         case.
8368
8369 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8370
8371         * gdb.base/break.exp: Remove dead code.
8372         * gdb.base/sepdebug.exp: Likewise.
8373
8374 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8375
8376         * gdb.asm/asm-source.exp: Remove HP-UX references.
8377         * gdb.base/annota1.exp: Likewise.
8378         * gdb.base/annota3.exp: Likewise.
8379         * gdb.base/attach.exp: Likewise.
8380         * gdb.base/bigcore.exp: Likewise.
8381         * gdb.base/break.exp: Likewise.
8382         * gdb.base/call-ar-st.exp: Likewise.
8383         * gdb.base/callfuncs.exp: Likewise.
8384         * gdb.base/catch-fork-static.exp: Likewise.
8385         * gdb.base/display.exp: Likewise.
8386         * gdb.base/foll-exec-mode.exp: Likewise.
8387         * gdb.base/foll-exec.exp: Likewise.
8388         * gdb.base/foll-fork.exp: Likewise.
8389         * gdb.base/foll-vfork.exp: Likewise.
8390         * gdb.base/funcargs.exp: Likewise.
8391         * gdb.base/hbreak2.exp: Likewise.
8392         * gdb.base/inferior-died.exp: Likewise.
8393         * gdb.base/interrupt.exp: Likewise.
8394         * gdb.base/multi-forks.exp: Likewise.
8395         * gdb.base/nodebug.exp: Likewise.
8396         * gdb.base/sepdebug.exp: Likewise.
8397         * gdb.base/solib1.c: Likewise.
8398         * gdb.base/step-test.exp: Likewise.
8399         * gdb.mi/non-stop.c: Likewise.
8400         * gdb.mi/pthreads.c: Likewise.
8401         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8402         * gdb.threads/pthreads.c: Likewise.
8403         * gdb.threads/staticthreads.exp: Likewise.
8404         * lib/future.exp: Likewise.
8405         * lib/gdb.exp: Likewise.
8406         * gdb.base/so-indr-cl.c: Remove.
8407         * gdb.base/so-indr-cl.exp: Likewise.
8408         * gdb.base/solib.c: Likewise.
8409         * gdb.base/solib.exp: Likewise.
8410         * gdb.base/solib2.c: Likewise.
8411
8412 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8413
8414         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8415         * gdb.base/call-ar-st.exp: Likewise.
8416         * gdb.base/callfuncs.exp: Likewise.
8417         * gdb.base/condbreak.exp: Likewise.
8418         * gdb.base/constvars.exp: Likewise.
8419         * gdb.base/hbreak2.exp: Likewise.
8420         * gdb.base/langs.exp: Likewise.
8421         * gdb.base/list.exp: Likewise.
8422         * gdb.base/long_long.exp: Likewise.
8423         * gdb.base/ptype.exp: Likewise.
8424         * gdb.base/scope.exp: Likewise.
8425         * gdb.base/signals.exp: Likewise.
8426         * gdb.base/so-impl-ld.exp: Likewise.
8427         * gdb.base/varargs.exp: Likewise.
8428         * gdb.base/volatile.exp: Likewise.
8429         * gdb.base/whatis.exp: Likewise.
8430         * gdb.cp/cplusfuncs.exp: Likewise.
8431         * gdb.cp/inherit.exp: Likewise.
8432         * gdb.cp/local.exp: Likewise.
8433         * gdb.cp/member-ptr.exp: Likewise.
8434         * gdb.cp/method.exp: Likewise.
8435         * gdb.cp/overload.exp: Likewise.
8436         * gdb.cp/templates.exp: Likewise.
8437         * gdb.stabs/weird.exp: Likewise.
8438         * lib/compiler.c: Likewise.
8439         * lib/compiler.cc: Likewise.
8440         * lib/cp-support.exp: Likewise.
8441         * lib/gdb.exp: Likewise.
8442
8443 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8444
8445         * configure.ac: Remove HP-UX case.
8446         * configure: Regenerate.
8447
8448 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8449
8450         * lib/gdb.exp (gdb_compile): Add function doc.
8451
8452 2015-12-17  Pedro Alves  <palves@redhat.com>
8453
8454         PR threads/19354
8455         * gdb.multi/info-threads.exp: New file.
8456
8457 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8458
8459         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8460         is aarch64*-*-*.
8461
8462 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8463
8464         * gdb.base/history-duplicates.exp: Skip if no readline support.
8465
8466 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8467
8468         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8469
8470 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8471
8472         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8473
8474 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8475
8476         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8477         ctrl-C if nointerrupts target property is set.
8478         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8479         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8480         * gdb.base/paginate-bg-execution.exp: Likewise.
8481         * gdb.base/paginate-execution-startup.exp: Likewise.
8482         * gdb.base/random-signal.exp: Likewise.
8483         * gdb.base/range-stepping.exp: Likewise.
8484         * gdb.cp/annota2.exp: Likewise.
8485         * gdb.cp/annota3.exp: Likewise.
8486         * gdb.gdb/selftest.exp: Likewise.
8487         * gdb.threads/continue-pending-status.exp: Likewise.
8488         * gdb.threads/leader-exit.exp: Likewise.
8489         * gdb.threads/manythreads.exp: Likewise.
8490         * gdb.threads/pthreads.exp: Likewise.
8491         * gdb.threads/schedlock.exp: Likewise.
8492         * gdb.threads/sigthread.exp: Likewise.
8493
8494 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8495
8496         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8497         remote.
8498         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8499         * gdb.base/foll-exec.exp (main): Enable for target remote.
8500         * gdb.base/foll-fork.exp (main): Likewise.
8501         * gdb.base/foll-vfork.exp (main): Likewise.
8502         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8503         (proc continue_to_exit_bp_loc): Use clean_restart.
8504         * gdb.base/pie-execl.exp (main): Disable for target remote.
8505         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8506         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8507         * gdb.threads/execl.exp (main): Likewise.
8508         * gdb.threads/fork-child-threads.exp (main): Likewise.
8509         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8510         remote.
8511         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8512         remote.
8513         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8514         pid.tid style ptids, instead of just tid.
8515         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8516         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8517         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8518         ptids, instead of just tid.
8519
8520 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8521
8522         * gdb.base/list.exp (test_list_forward): Add end of file error
8523         test.
8524         (test_repeat_list_command): Add end of file error test.
8525         (test_list_backwards): Add beginning of file error test.
8526
8527 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8528
8529         * gdb.base/list.exp (test_list_invalid_args): New function,
8530         defined, and called.
8531
8532 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8533
8534         * gdb.base/list.exp (test_list): Make test names unique.
8535
8536 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8537
8538         * gdb.base/coremaker2.c: Remove.
8539
8540 2015-12-10  Pedro Alves  <palves@redhat.com>
8541
8542         * gdb.multi/base.exp: Remove stale "spaces" references.
8543
8544 2015-12-10  Pedro Alves  <palves@redhat.com>
8545
8546         * gdb.multi/base.exp: Don't use nowarnings.
8547         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8548         * gdb.multi/hangout.c: Include stdio.h.
8549         * gdb.multi/hello.c: Include stdlib.h.
8550         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8551         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8552         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8553
8554 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8555
8556         * gdb.dwarf2/dw2-ranges-base.c: New file.
8557         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8558         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8559         support additional line table, and debug ranges generation.
8560         (Dwarf::ranges): New function, generate .debug_ranges.
8561         (Dwarf::lines): Support generating simple line table programs.
8562         (Dwarf::assemble): Initialise new namespace variables.
8563
8564 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8565
8566         * gdb.base/async.exp (proc test_background): Add case for
8567         asynchronous execution not supported.
8568
8569 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8570
8571         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8572           format and change test names to make them unique.
8573
8574 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8575             Pedro Alves  <pedro@redhat.com>
8576
8577         PR gdb/18702
8578         Add checking of floatformats setup on x86_64 hosts.
8579         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8580         (smallval, bigval): New labels/constants.
8581         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8582         float" after loading bigval and smallval.
8583
8584 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8585
8586         * gdb.ada/fun_overload_menu.exp: New testcase.
8587         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8588
8589 2015-12-04  Josh Stone  <jistone@redhat.com>
8590
8591         * gdb.base/catch-fork-static.exp: New.
8592
8593 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8594
8595         * gdb.base/sizeof.c: Don't include stdio.h and
8596         ../lib/unbuffer_output.c.
8597         (main): New variable 'size' and 'value'.  Remove printf and
8598         gdb_unbuffer_output.  Assign return value to size and value.
8599         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8600         at the beginning.
8601         (check_sizeof): Check the result by printing variable 'size'.
8602         (check_valueof): Check the result by printing variable 'value'.
8603
8604 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8605
8606         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8607         for aarch64*-*-linux* target.
8608
8609 2015-11-30  Pedro Alves  <palves@redhat.com>
8610
8611         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8612
8613 2015-11-30  Pedro Alves  <palves@redhat.com>
8614
8615         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8616         Handle non-stop mode vCont replies.
8617
8618 2015-11-30  Pedro Alves  <palves@redhat.com>
8619
8620         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8621         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8622         GDBFLAGS.  Lax expected stop output.
8623
8624 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8625
8626         * gdb.arch/arm-neon.exp: New.
8627         * gdb.arch/arm-neon.c: New.
8628
8629 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8630
8631         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8632
8633 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8634
8635         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8636         frames-invalid annotation.
8637
8638 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8639
8640         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8641
8642 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8643
8644         * gdb.threads/names.exp: New file.
8645         * gdb.threads/names.c: New file.
8646         * README: Mention gdb,no_thread_names.
8647
8648 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8649
8650         PR 19297
8651         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8652         support" error.
8653
8654 2015-11-24  Pedro Alves  <palves@redhat.com>
8655
8656         PR 17539
8657         * gdb.base/display.exp: Expect displays to be sorted in ascending
8658         order.  Use multi_line.
8659         * gdb.base/solib-display.exp: Likewise.
8660
8661 2015-11-24  Pedro Alves  <palves@redhat.com>
8662
8663         PR 17539
8664         * gdb.base/display.exp: Expect displays to be sorted in ascending
8665         order.  Use multi_line.
8666         * gdb.base/solib-display.exp: Likewise.
8667
8668 2015-11-24  Pedro Alves  <palves@redhat.com>
8669
8670         PR 17539
8671         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8672         threads in ascending order.
8673         * gdb.base/foll-fork.exp: Likewise.
8674         * gdb.base/foll-vfork.exp: Likewise.
8675         * gdb.base/multi-forks.exp: Likewise.
8676         * gdb.mi/mi-nonstop.exp: Likewise.
8677         * gdb.mi/mi-nsintrall.exp: Likewise.
8678         * gdb.multi/base.exp: Likewise.
8679         * gdb.multi/multi-arch.exp: Likewise.
8680         * gdb.python/py-inferior.exp: Likewise.
8681         * gdb.threads/break-while-running.exp: Likewise.
8682         * gdb.threads/execl.exp: Likewise.
8683         * gdb.threads/gcore-thread.exp: Likewise.
8684         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8685         * gdb.threads/kill.exp: Likewise.
8686         * gdb.threads/linux-dp.exp: Likewise.
8687         * gdb.threads/multiple-step-overs.exp: Likewise.
8688         * gdb.threads/next-bp-other-thread.exp: Likewise.
8689         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8690         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8691         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8692         * gdb.threads/thread-find.exp: Likewise.
8693         * gdb.threads/tls.exp: Likewise.
8694         * lib/mi-support.exp (mi_reverse_list): Delete.
8695         (mi_check_thread_states): No longer reverse list.
8696
8697 2015-11-24  Pedro Alves  <palves@redhat.com>
8698
8699         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8700         use lowercase.
8701
8702 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8703
8704         * gdb.trace/actions.c: Include trace-common.h.
8705         (main): Add a location for a fast tracepoint.
8706         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8707         the normal tracepoints.
8708         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8709
8710 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8711
8712         * save-trace.exp: Factor out code to these...
8713         (gdb_save_tracepoints): New.
8714         (gdb_load_tracepoints): New.
8715         (do_save_load_test): New.
8716
8717 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8718
8719         * gdb.base/asmlabel.exp: New test.
8720         * gdb.base/asmlabel.c: New test case.
8721
8722 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8723
8724         * gdb.base/wrong_frame_bt_full-main.c: New file.
8725         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8726         * gdb.base/wrong_frame_bt_full.exp: New file.
8727
8728 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8729
8730         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8731
8732 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8733
8734         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8735         pstate register when comparing registers values in
8736         sparc64-*-linux-gnu targets to avoid spurious differences.
8737
8738 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8739
8740         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8741
8742 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8743
8744         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8745         as type argument to gdb_compile.
8746         * gdb.base/nested-subp2.exp: Likewise.
8747         * gdb.base/nested-subp3.exp: Likewise.
8748
8749 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8750
8751         * lib/dwarf.exp (_note): Fix left shift of negative value.
8752         * gdb.trace/trace-condition.exp: Likewise.
8753
8754 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8755
8756         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8757         comments about d10v.
8758         (test_scalar_returns): Likewise.
8759         * gdb.base/d10v.ld: Remove.
8760         * gdb.base/overlays.exp: Remove the target triplet checking for
8761         d10v-*-*.
8762         * gdb.base/structs.exp (test_struct_returns): Remove the
8763         comments about d10v.
8764         (test_struct_calls): Likewise.
8765
8766 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8767
8768         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8769         * gdb.base/gnu_vector.c: Don't include stdio.h.
8770         (main): Don't print res and call add_some_intvecs.
8771
8772 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8773
8774         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8775         macro.
8776         (func5): Removed.
8777         (func4): Use FAST_TRACEPOINT_LABEL.
8778         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8779         macro.
8780         (func): Removed.
8781         (thread_function): Use FAST_TRACEPOINT_LABEL.
8782         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8783         (func): Remove.
8784         (marker): Use FAST_TRACEPOINT_LABEL.
8785         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8786         (pendfunc1): Remove.
8787         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8788         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8789         (foo): Remove.
8790         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8791         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8792         macro.
8793         (func): Remove.
8794         (marker): Use FAST_TRACEPOINT_LABEL.
8795         * gdb.trace/trace-common.h: New header.
8796         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8797         macro.
8798         (func): Remove.
8799         (marker): Use FAST_TRACEPOINT_LABEL.
8800         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8801         (func): Remove.
8802         (thread_function): Use FAST_TRACEPOINT_LABEL.
8803
8804 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8805
8806         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8807         in front.
8808         * gdb.trace/change-loc.exp: Use global pcreg definition.
8809         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8810         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8811         in front.
8812         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8813         * gdb.trace/pending.exp: Likewise.
8814         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8815         * gdb.trace/trace-break.exp: Likewise.
8816         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8817         in front.
8818         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8819         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8820         in front.
8821         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8822
8823 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8824
8825         * gdb.ada/fin_fun_out: New testcase.
8826
8827 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8828
8829         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8830         value associated with DW_AT_byte_size.
8831         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8832         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8833         DW_AT_upper_bound.
8834
8835 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8836
8837         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8838         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8839         version.
8840         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8841         gdb.dwarf2/dw2-canonicalize-type.exp,
8842         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8843         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8844         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8845         provided by gdb_target_symbol_prefix_flags_asm.
8846         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8847         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8848         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8849         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8850         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8851         macros where needed).  Use this macro for symbols which require
8852         the prefix provided by SYMBOL_PREFIX.
8853
8854 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8855
8856         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8857         New procs.
8858         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8859         representing expressions, of more than one list element.
8860         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8861         to prepend linker symbol prefix to f.
8862         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8863         table_1 and table_2.
8864         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8865         Likewise, for f and g.
8866         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8867         for ptr.
8868         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8869         for main.
8870         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8871         table_1_ptr and table_2_ptr.
8872
8873 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8874             Joel Brobecker  <brobecker@adacore.com>
8875
8876         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8877
8878 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8879
8880         * gdb.reverse/s390-mvcle.c: New test.
8881         * gdb.reverse/s390-mvcle.exp: New file.
8882         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8883
8884 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8885
8886         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8887
8888 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8889
8890         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8891         reaching marker2.
8892         * gdb.reverse/getresuid-reverse.exp: Likewise.
8893         * gdb.reverse/pipe-reverse.exp: Likewise.
8894         * gdb.reverse/readv-reverse.exp: Likewise.
8895         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8896         * gdb.reverse/time-reverse.exp: Likewise.
8897         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8898
8899 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8900
8901         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8902         (empty_cycle): Remove.
8903         (main): Don't call empty_cycle.  Don't use watch_count_done.
8904         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8905         empty_cycle.  Rewrite the code counting HW watchpoints.
8906
8907 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8908
8909         * gdb.reverse/fstatat-reverse.c: New test.
8910         * gdb.reverse/fstatat-reverse.exp: New file.
8911         * gdb.reverse/getresuid-reverse.c: New test.
8912         * gdb.reverse/getresuid-reverse.exp: New file.
8913         * gdb.reverse/pipe-reverse.c: New test.
8914         * gdb.reverse/pipe-reverse.exp: New file.
8915         * gdb.reverse/readv-reverse.c: New test.
8916         * gdb.reverse/readv-reverse.exp: New file.
8917         * gdb.reverse/recvmsg-reverse.c: New test.
8918         * gdb.reverse/recvmsg-reverse.exp: New file.
8919         * gdb.reverse/time-reverse.c: New test.
8920         * gdb.reverse/time-reverse.exp: New file.
8921         * gdb.reverse/waitpid-reverse.c: New test.
8922         * gdb.reverse/waitpid-reverse.exp: New file.
8923
8924 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8925
8926         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8927
8928 2015-10-26  Doug Evans  <dje@google.com>
8929
8930         PR symtab/17391
8931         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8932         * gdb.dwarf2/bad-regnum.c: New file.
8933         * gdb.dwarf2/bad-regnum.exp: New file.
8934
8935 2015-10-26  Doug Evans  <dje@google.com>
8936
8937         PR python/18938
8938         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8939         file.
8940
8941 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8942
8943         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8944         for a change by "Mention language in compile error message".
8945
8946 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8947
8948         PR python/18073
8949         * gdb.python/py-type.c (C::a_method): New.
8950         (C::a_const_method): New.
8951         (C::a_static_method): New.
8952         (a_function): New.
8953         * gdb.python/py-type.exp (test_fields): Test getting fields
8954         from function and method.
8955
8956 2015-10-21  Keven Boell  <keven.boell@intel.com>
8957
8958         * gdb.fortran/vla-alloc-assoc.exp: New file.
8959         * gdb.fortran/vla-datatypes.exp: New file.
8960         * gdb.fortran/vla-datatypes.f90: New file.
8961         * gdb.fortran/vla-history.exp: New file.
8962         * gdb.fortran/vla-ptype-sub.exp: New file.
8963         * gdb.fortran/vla-ptype.exp: New file.
8964         * gdb.fortran/vla-sizeof.exp: New file.
8965         * gdb.fortran/vla-sub.f90: New file.
8966         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8967         * gdb.fortran/vla-value-sub-finish.exp: New file.
8968         * gdb.fortran/vla-value-sub.exp: New file.
8969         * gdb.fortran/vla-value.exp: New file.
8970         * gdb.fortran/vla-ptr-info.exp: New file.
8971         * gdb.mi/mi-vla-fortran.exp: New file.
8972         * gdb.mi/vla.f90: New file.
8973
8974 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8975
8976         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8977         of hardwired timeout value.
8978
8979 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8980             Pedro Alves  <palves@redhat.com>
8981
8982         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8983         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8984
8985 2015-10-19  Josh Stone  <jistone@redhat.com>
8986
8987         * gdb.base/catch-syscall.c: Include <sched.h>.
8988         (unknown_syscall): New variable.
8989         (main): Trigger a vfork and an unknown syscall.
8990         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8991         (unknown_syscall_number): Likewise.
8992         (check_call_to_syscall): Accept an optional syscall pattern.
8993         (check_return_from_syscall): Likewise.
8994         (check_continue): Likewise.
8995         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8996         (test_catch_syscall_skipping_return): New test toggling off 'catch
8997         syscall' to step over the syscall return, then toggling back on.
8998         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8999         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9000         (do_syscall_tests): Call test_catch_syscall_without_args and
9001         test_catch_syscall_mid_vfork.
9002         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9003         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9004
9005 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9006
9007         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9008         print g_vE): Add new pass patterns.
9009         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9010         print various symbol names for vptr fields.
9011
9012 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9013
9014         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9015         results.
9016
9017 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9018
9019         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9020
9021 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9022
9023         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9024         is aarch64*-*-linux*.
9025
9026 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9027
9028         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9029         (can_relocate_bcond_true): ... it.
9030         (can_relocate_bcond_false): New function.
9031         (foo): Likewise.
9032         (can_relocate_bl): Likewise.
9033         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9034         can_relocate_bl.
9035
9036 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9037
9038         * gdb.base/nested-addr.c: New file.
9039         * gdb.base/nested-addr.exp: New testcase.
9040
9041 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9042
9043         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9044         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9045         its output.  Ignore the output of "record goto begin" and instead
9046         check that GDB is replaying.
9047
9048 2015-10-09  Pedro Alves  <palves@redhat.com>
9049
9050         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9051         (top level): Use it in the run with no args test.
9052
9053 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9054
9055         * gdb.dlang/properties.exp: New file.
9056
9057 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9058
9059         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9060         whether or not address 0x1000 is mapped on the target.
9061
9062 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9063
9064         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9065         build.
9066
9067 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9068
9069         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9070         instruction-history test.
9071
9072 2015-09-28  Doug Evans  <dje@google.com>
9073
9074         * gdb.base/gcore.c (array_func): Add reference to static_array.
9075
9076 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9077
9078         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9079         source line.
9080
9081 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9082
9083         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9084         short or char as base type.
9085
9086 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9087
9088         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9089         to allow any size enum.
9090
9091 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9092
9093         * gdb.ada/array_ptr_renaming.exp: New testcase.
9094         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9095         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9096
9097 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9098
9099         * gdb.trace/ftrace-lock.c: New file.
9100         * gdb.trace/ftrace-lock.exp: New file.
9101
9102 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9103
9104         * gdb.arch/insn-reloc.c: New file.
9105         * gdb.arch/ftrace-insn-reloc.exp: New file.
9106
9107 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9108
9109         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9110         instruction.
9111         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9112         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9113         * gdb.trace/range-stepping.c: Likewise.
9114         * gdb.trace/trace-break.c: Likewise.
9115         * gdb.trace/trace-mt.c (thread_function): Likewise.
9116         * gdb.trace/ftrace.c (marker): Likewise.
9117         * gdb.trace/trace-condition.c (marker): Likewise.
9118         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9119         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9120         is_aarch64_target.
9121
9122 2015-09-18  Doug Evans  <xdje42@gmail.com>
9123
9124         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9125         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9126
9127 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9128
9129         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9130         the breakpoint.
9131
9132 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9133
9134         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9135         the pending breakpoint.  Remove timeout override for "Run till
9136         MI pending breakpoint on pendfunc3 on thread 2" test.
9137
9138 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9139
9140         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9141         filename pattern.
9142
9143 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9144
9145         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9146         in breakpoint filename pattern.
9147
9148 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9149
9150         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9151
9152 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9153
9154         * gdb.linespec/explicit.exp: Check for readline support for
9155         tab-completion tests.  Fix obvious typo.
9156
9157 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9158
9159         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9160         and replay.
9161
9162 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9163
9164         * gdb.btrace/non-stop.c: New.
9165         * gdb.btrace/non-stop.exp: New.
9166
9167 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9168             Yao Qi  <yao.qi@linaro.org>
9169
9170         * gdb.trace/trace-condition.c: New file.
9171         * gdb.trace/trace-condition.exp: New file.
9172
9173 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9174
9175         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9176         for testing bytecode compilation.
9177
9178 2015-09-16  Pedro Alves  <palves@redhat.com>
9179             Sandra Loosemore <sandra@codesourcery.com>
9180
9181         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9182         (SECONDS): Redefine.
9183         (main): Call pthread_kill and alarm early.
9184         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9185         support.
9186         (test): If the target can't hardware step and doesn't support
9187         displaced stepping, increase the timeout.
9188
9189 2015-09-16  Pedro Alves  <palves@redhat.com>
9190
9191         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9192         (enable_debug): New procedures.
9193         (test): Use them.  Bail out if waiting for threads fails.
9194         (top level): Bail out if a test fails.
9195
9196 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9197
9198         * gdb.asm/asm-source.exp: Set asm-arch for
9199         aarch64*-*-* target.
9200         * gdb.asm/aarch64.inc: New file.
9201
9202 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9203
9204         * gdb.ada/array_of_variable_length.exp: New testcase.
9205         * gdb.ada/array_of_variable_length/foo.adb: New file.
9206         * gdb.ada/array_of_variable_length/pck.adb: New file.
9207         * gdb.ada/array_of_variable_length/pck.ads: New file.
9208
9209 2015-09-15  Doug Evans  <dje@google.com>
9210
9211         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9212         of function static local variable.
9213
9214 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9215
9216         * gdb.threads/tls-so_extern.exp: New test file.
9217         * gdb.threads/tls-so_extern.c: New test file.
9218         * gdb.threads/tls-so_extern_main.c: New test file.
9219
9220 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9221
9222         * gdb.opt/solib-intra-step-lib.c: New file.
9223         * gdb.opt/solib-intra-step-main.c: New file.
9224         * gdb.opt/solib-intra-step.exp: New file.
9225
9226 2015-09-15  Pedro Alves  <palves@redhat.com>
9227
9228         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9229         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9230
9231 2015-09-14  Pedro Alves  <palves@redhat.com>
9232
9233         * gdb.base/hook-stop-continue.c: Delete.
9234         * gdb.base/hook-stop-continue.exp: Delete.
9235         * gdb.base/hook-stop-frame.c: Delete.
9236         * gdb.base/hook-stop-frame.exp: Delete.
9237         * gdb.base/hook-stop.c: New file.
9238         * gdb.base/hook-stop.exp: New file.
9239
9240 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9241
9242         * gdb.ada/access_to_packed_array.exp: New testcase.
9243         * gdb.ada/access_to_packed_array/foo.adb: New file.
9244         * gdb.ada/access_to_packed_array/pack.adb: New file.
9245         * gdb.ada/access_to_packed_array/pack.ads: New file.
9246
9247 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9248
9249         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9250         buffer size test.
9251
9252 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9253
9254         * gdb.base/foll-exec.c: Add copyright header.  Fix
9255         formatting issues.
9256         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9257         (do_exec_tests): Use clean_restart in place of zap_session,
9258         and for test initialization.  Fix formatting issues.  Use
9259         fail in place of perror.
9260         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9261         an expect statement to match an expression with output from
9262         the program under debug.
9263         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9264         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9265         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9266         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9267         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9268
9269 2015-09-09  Doug Evans  <dje@google.com>
9270
9271         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9272
9273 2015-09-09  Doug Evans  <dje@google.com>
9274
9275         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9276
9277 2015-09-09  Doug Evans  <dje@google.com>
9278
9279         * gdb.base/savedregs.exp: Fix typo.
9280
9281 2015-09-09  Pedro Alves  <palves@redhat.com>
9282
9283         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9284
9285 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9286
9287         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9288         command actually switches threads.  Give up on remaining
9289         tests if target fails to stop at breakpoint.
9290
9291 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9292
9293         * gdb.ada/funcall_char.exp: New testcase.
9294         * gdb.ada/funcall_char/foo.adb: New file.
9295
9296 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9297
9298         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9299         expected outputs.  Add two testcases for completing ambiguous
9300         functions.
9301         * gdb.ada/complete/aux_pck.adb: New file.
9302         * gdb.ada/complete/aux_pck.ads: New file.
9303         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9304         Ambiguous_Func functions.
9305         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9306         * gdb.ada/complete/pck.adb: Likewise.
9307
9308 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9309
9310         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9311         failures to run the test program under GDB.
9312
9313 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9314
9315         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9316         to C.
9317
9318 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9319
9320         * gdb.base/run-after-attach.exp: New test file.
9321         * gdb.base/run-after-attach.c: New test file.
9322
9323 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9324
9325         * gdb.base/foll-exec-2.c: New test program.
9326         * gdb.base/foll-exec-2.exp: New test.
9327
9328 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9329
9330         * gdb.base/nested-subp1.exp: New file.
9331         * gdb.base/nested-subp1.c: New file.
9332         * gdb.base/nested-subp2.exp: New file.
9333         * gdb.base/nested-subp2.c: New file.
9334         * gdb.base/nested-subp3.exp: New file.
9335         * gdb.base/nested-subp3.c: New file.
9336
9337 2015-08-24  Pedro Alves  <palves@redhat.com>
9338
9339         * gdb.server/connect-without-multi-process.c: New file.
9340         * gdb.server/connect-without-multi-process.exp: New file.
9341
9342 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9343
9344         * gdb.opt/inline-markers.c: Make z int.
9345
9346 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9347
9348         * gdb.opt/inline-markers.c: Make z volatile.
9349
9350 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9351
9352         * gdb.opt/inline-bt.c: New volatile global z.
9353         * gdb.opt/inline-cmds.c: Likewise.
9354         * gdb.opt/inline-locals.c: Likewise.
9355         * gdb.opt/inline-markers.c: New extern global z.
9356         (marker): Use z.
9357         (inline_fn): Likewise.
9358
9359 2015-08-24  Pedro Alves  <palves@redhat.com>
9360
9361         * config/m32r-stub.exp: Remove file.
9362         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9363         * gdb.base/call-rt-st.exp: Likewise.
9364         * gdb.base/call-strs.exp: Likewise.
9365         * gdb.base/default.exp: Remove references to h8300-*-hms and
9366         *-*-udi*.
9367         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9368
9369 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9370
9371         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9372         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9373         and "return" use KFAIL when GDB can not read/write the vector
9374         return value.
9375
9376 2015-08-21  Gary Benson <gbenson@redhat.com>
9377
9378         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9379
9380 2015-08-20  Pedro Alves  <palves@redhat.com>
9381
9382         * gdb.server/solib-list.exp: No longer expect an interior stop in
9383         non-stop mode.
9384
9385 2015-08-20  Pedro Alves  <palves@redhat.com>
9386
9387         * gdb.server/connect-stopped-target.c: New file.
9388         * gdb.server/connect-stopped-target.exp: New file.
9389
9390 2015-08-20  Pedro Alves  <palves@redhat.com>
9391
9392         * gdb.dwarf2/comp-unit-lang.exp: New file.
9393         * gdb.dwarf2/comp-unit-lang.c: New file.
9394
9395 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9396
9397         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9398         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9399
9400 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9401
9402         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9403         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9404
9405 2015-08-18  Doug Evans  <dje@google.com>
9406             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9407
9408         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9409         skip_python_tests.  New arg prompt_regexp.
9410         (skip_python_tests): New function.
9411         * lib/mi-support.exp (mi_skip_python_tests): New function.
9412         * gdb.python/py-mi-objfile-gdb.py: New file.
9413         * gdb.python/py-mi-objfile.c: New file.
9414         * gdb.python/py-mi-objfile.exp: New file.
9415
9416 2015-08-17  Keith Seitz  <keiths@redhat.com>
9417
9418         * gdb.linespec/explicit.exp: Move strace test from here ...
9419         * gdb.trace/strace.exp: ... to here.
9420
9421 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9422
9423         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9424         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9425
9426 2015-08-14  Doug Evans  <xdje42@gmail.com>
9427
9428         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9429         inferior before selecting a new file.
9430
9431 2015-08-14  Doug Evans  <xdje42@gmail.com>
9432
9433         * gdb.mi/mi-disassemble.exp: Update.
9434         * gdb.base/disasm-optim.S: New file.
9435         * gdb.base/disasm-optim.c: New file.
9436         * gdb.base/disasm-optim.h: New file.
9437         * gdb.base/disasm-optim.exp: New file.
9438
9439 2015-08-14  Keith Seitz  <keiths@redhat.com>
9440
9441         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9442         "evaluated-by".
9443
9444 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9445
9446         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9447
9448 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9449
9450         * gdb.ada/fun_renaming.exp: New testcase.
9451         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9452         * gdb.ada/fun_renaming/pack.adb: New file.
9453         * gdb.ada/fun_renaming/pack.ads: New file.
9454
9455 2015-08-12  Keith Seitz  <keiths@redhat.com>
9456
9457         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9458         gdb_get_line_number.
9459
9460 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9461
9462         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9463         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9464         gdb.base/dso2dso.exp: New files.
9465
9466 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9467             Pedro Alves  <palves@redhat.com>
9468             Keith Seitz  <keiths@redhat.com>
9469
9470         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9471         GDBFLAGS.
9472
9473 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9474
9475         * gdb.base/gdbhistsize-history.exp
9476         (test_histsize_history_setting): Use save_vars.
9477         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9478         Use save_vars.
9479         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9480         * gdb.base/readline.exp: Use save_vars.
9481
9482 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9483
9484         * lib/gdb.exp (save_vars): New proc.
9485
9486 2015-08-11  Keith Seitz  <keiths@redhat.com>
9487
9488         * gdb.base/help.exp: Update help_breakpoint_text.
9489
9490 2015-08-11  Keith Seitz  <keiths@redhat.com>
9491
9492         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9493         (at toplevel): Call test_explicit_breakpoints.
9494         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9495         breakpoints.
9496         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9497         breakpoint conditions, "-cond".
9498
9499 2015-08-11  Keith Seitz  <keiths@redhat.com>
9500
9501         * gdb.linespec/3explicit.c: New file.
9502         * gdb.linespec/cpexplicit.cc: New file.
9503         * gdb.linespec/cpexplicit.exp: New file.
9504         * gdb.linespec/explicit.c: New file.
9505         * gdb.linespec/explicit.exp: New file.
9506         * gdb.linespec/explicit2.c: New file.
9507         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9508         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9509         before using in the matching pattern.
9510         Clarify that `prefix' is a regular expression.
9511
9512 2015-08-11  Keith Seitz  <keiths@redhat.com>
9513
9514         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9515         test.
9516         Add tests for missing ",FMT" and ",".
9517
9518 2015-08-10  Doug Evans  <dje@google.com>
9519             Keith Seitz  <keiths@redhat.com>
9520
9521         PR gdb/17960
9522         * gdb.base/completion.exp: Add location completer tests.
9523
9524 2015-08-07  Pedro Alves  <palves@redhat.com>
9525
9526         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9527         tests here.
9528         (top level): Run do_test with and without displaced stepping.
9529
9530 2015-08-07  Pedro Alves  <palves@redhat.com>
9531
9532         * gdb.base/valgrind-disp-step.c: New file.
9533         * gdb.base/valgrind-disp-step.exp: New file.
9534
9535 2015-08-07  Pedro Alves  <palves@redhat.com>
9536
9537         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9538         Delete function.
9539         (main): Add alarm.  Run an infinite loop instead of calling
9540         wait_threads.
9541         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9542         comment.
9543         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9544         Delete function.
9545         (main): Add alarm.  Run an infinite loop instead of calling
9546         wait_threads.
9547         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9548         comment.
9549
9550 2015-08-07  Pedro Alves  <palves@redhat.com>
9551
9552         * gdb.base/checkpoint-ns.exp: New file.
9553         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9554         standard_testfile.
9555
9556 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9557
9558         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9559         * gdb.btrace/instruction_history.exp: Update.
9560         * gdb.btrace/tsx.exp: New.
9561         * gdb.btrace/tsx.c: New.
9562
9563 2015-08-06  Pedro Alves <palves@redhat.com>
9564
9565         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9566         increase timeout.
9567         * gdb.reverse/until-precsave.exp: Bump timeouts.
9568
9569 2015-08-06  Pedro Alves  <palves@redhat.com>
9570
9571         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9572
9573 2015-08-06  Pedro Alves  <palves@redhat.com>
9574
9575         PR gdb/18749
9576         * gdb.threads/process-dies-while-handling-bp.c: New file.
9577         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9578
9579 2015-08-06  Pedro Alves  <palves@redhat.com>
9580
9581         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9582         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9583
9584 2015-08-05  Pedro Alves  <palves@redhat.com>
9585
9586         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9587         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9588
9589 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9590
9591         * gdb.base/bp-permanent.exp: Report test as unsupported if
9592         the target cannot stop at the permanent breakpoint.
9593
9594 2015-08-03  Doug Evans  <dje@google.com>
9595
9596         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9597         10000.
9598
9599 2015-08-03  Doug Evans  <dje@google.com>
9600
9601         * Makefile.in (workers/%.worker, build-perf): New rule.
9602         (GDB_PERFTEST_MODE): New variable.
9603         (check-perf): Use it.
9604         (clean): Clean up gdb.perf parallel build subdirs.
9605         * lib/build-piece.exp: New file.
9606         * lib/gdb.exp (make_gdb_parallel_path): New function
9607         (standard_output_file, standard_temp_file): Call it.
9608         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9609         of $GDB_PARALLEL.
9610         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9611
9612 2015-08-03  Doug Evans  <dje@google.com>
9613
9614         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9615         (LOG_FILE_NAME): New global.
9616         (TextReporter.__init__): Initialize self.txt_sum.
9617         (TextReporter.report): Add support for multiple data-points.
9618         Move report to perftest.sum, put raw data in perftest.log.
9619         (TextReporter.start): Open sum and log files.
9620         (TextReporter.end): Close sum and log files.
9621         * gdb.perf/lib/perftest/testresult.py
9622         (SingleStatisticTestResult.record): Handle multiple data-points.
9623
9624 2015-07-31  Pedro Alves  <palves@redhat.com>
9625
9626         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9627         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9628         kill_wait_spawned_process instead of explicit "kill -9".
9629         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9630         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9631         kill_wait_spawned_process.
9632         * gdb.base/attach-twice.exp: Likewise.
9633         * gdb.base/attach.exp: Likewise.
9634         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9635         gdb_test_multiple.
9636         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9637         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9638         kill_wait_spawned_process.
9639         * gdb.base/valgrind-infcall.exp: Likewise.
9640         * gdb.multi/multi-attach.exp: Likewise.
9641         * gdb.python/py-prompt.exp: Likewise.
9642         * gdb.python/py-sync-interp.exp: Likewise.
9643         * gdb.server/ext-attach.exp: Likewise.
9644         * gdb.threads/attach-into-signal.exp (corefunc): Use
9645         spawn_wait_for_attach, spawn_id_get_pid and
9646         kill_wait_spawned_process.
9647         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9648         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9649         spawn_id_get_pid and kill_wait_spawned_process.
9650         * gdb.threads/attach-stopped.exp (corefunc): Use
9651         spawn_wait_for_attach, spawn_id_get_pid and
9652         kill_wait_spawned_process.
9653         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9654         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9655         kill_wait_spawned_process instead of explicit "kill -9".
9656         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9657         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9658         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9659         processes.  Don't map cygwin/windows pids here.  Now returns a
9660         spawn id list.
9661
9662 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9663
9664         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9665         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9666         correct patch.
9667
9668 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9669
9670         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9671
9672 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9673
9674         Reapply:
9675         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9676
9677         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9678
9679 2015-07-30  Pedro Alves  <palves@redhat.com>
9680
9681         * linux-low.c (handle_extended_wait): Set the child's last
9682         reported status to TARGET_WAITKIND_STOPPED.
9683
9684 2015-07-30  Pedro Alves  <palves@redhat.com>
9685
9686         PR threads/18600
9687         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9688         only shows inferior 1.
9689
9690 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9691             Pedro Alves  <palves@redhat.com>
9692
9693         PR threads/18600
9694         * gdb.threads/fork-plus-threads.c: New file.
9695         * gdb.threads/fork-plus-threads.exp: New file.
9696
9697 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9698
9699         * gdb.base/batch-preserve-term-settings.exp
9700         (test_terminal_settings_preserved_after_cli_exit): Use
9701         send_quit_command.
9702
9703 2015-07-29  Pedro Alves  <palves@redhat.com>
9704             Don Breazeal  <donb@codesourcery.com>
9705
9706         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9707         output from both inferior_spawn_id and gdb_spawn_id.
9708
9709 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9710
9711         * gdb.threads/attach-into-signal.exp (corefunc): Use
9712         with_test_prefix on nested loops, uniquefying the test messages.
9713
9714 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9715
9716         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9717         commit.
9718
9719 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9720
9721         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9722         New proc.
9723         (test_terminal_settings_preserved_after_sigterm): New test.
9724
9725 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9726
9727         * gdb.base/batch-preserve-term-settings.exp
9728         (test_terminal_settings_preserved_after_cli_exit): New test.
9729
9730 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9731
9732         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9733         manipulation of saved_gdbflags.
9734         (test_terminal_settings_preserved): Remove global declaration of
9735         the unused variable pagination_prompt.  Remove manipulation of
9736         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9737         GDBFLAGS.
9738
9739 2015-07-29  Pedro Alves  <palves@redhat.com>
9740
9741         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9742
9743 2015-07-29  Pedro Alves  <palves@redhat.com>
9744
9745         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9746         at the top.
9747
9748 2015-07-29  Pedro Alves  <palves@redhat.com>
9749
9750         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9751         (main): Call gdb_unbuffer_output.
9752         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9753         (main): Call gdb_unbuffer_output.
9754         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9755         (main): Call gdb_unbuffer_output.
9756         * gdb.base/call-strs.exp: Adjust to step over the
9757         gdb_unbuffer_output call.
9758         * gdb.base/catch-gdb-caused-signals.c: Include
9759         "../lib/unbuffer_output.c".
9760         (main): Call gdb_unbuffer_output.
9761         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9762         (main): Call gdb_unbuffer_output.
9763         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9764         (main): Call gdb_unbuffer_output.
9765         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9766         (main): Call gdb_unbuffer_output.
9767         * gdb.base/shlib-call.exp: Adjust to step over the
9768         gdb_unbuffer_output call.
9769         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9770         (main): Call gdb_unbuffer_output.
9771         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9772         (main): Call gdb_unbuffer_output.
9773         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9774         (main): Rename to ...
9775         (test): ... this.
9776         (main): Reimplement.
9777         * gdb.base/varargs.exp: Run to test instead of to main.
9778         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9779         (main): Call gdb_unbuffer_output.
9780
9781 2015-07-29  Pedro Alves  <palves@redhat.com>
9782
9783         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9784         factore out from mi_continue_dprintf.  For call-style dprintfs,
9785         expect dprintf output out of $inferior_spawn_id.
9786         (mi_continue_dprintf): Use mi_expect_dprintf.
9787         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9788         (main): Call gdb_unbuffer_output.
9789
9790 2015-07-29  Pedro Alves  <palves@redhat.com>
9791
9792         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9793         (default_mi_gdb_start): Set inferior_spawn_id instead of
9794         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9795         gdb_spawn_id.
9796         (mi_gdb_test): Always expect inferior output from both
9797         $inferior_spawn_id and $gdb_spawn_id.
9798
9799 2015-07-29  Pedro Alves  <palves@redhat.com>
9800
9801         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9802         send_inferior and $inferior_spawn_id.
9803
9804 2015-07-29  Pedro Alves  <palves@redhat.com>
9805
9806         * gdb.gdb/complaints.exp (test_initial_complaints)
9807         (test_serial_complaints, test_short_complaints): Use
9808         gdb_test_stdio.
9809         (test_empty_complaint): Handle $inferior_spawn_id !=
9810         $gdb_spawn_id.
9811
9812 2015-07-29  Pedro Alves  <palves@redhat.com>
9813
9814         * gdb.base/varargs.exp: Use gdb_test_stdio.
9815
9816 2015-07-29  Pedro Alves  <palves@redhat.com>
9817
9818         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9819
9820 2015-07-29  Pedro Alves  <palves@redhat.com>
9821
9822         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9823
9824 2015-07-29  Pedro Alves  <palves@redhat.com>
9825
9826         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9827         parameter into two new parameters, "inf_result" and "gdb_result".
9828         Expect inferior output and gdb output from $inferior_spawn_id and
9829         $gdb_spawn_id, respectively.  Adjust all callers.
9830
9831 2015-07-29  Pedro Alves  <palves@redhat.com>
9832
9833         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9834         of gdb_test_sequence.
9835
9836 2015-07-29  Pedro Alves  <palves@redhat.com>
9837
9838         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9839         (saw_spurious_output): Expect inferior output from
9840         $inferior_spawn_id.  Use gdb_test_stdio.
9841
9842 2015-07-29  Pedro Alves  <palves@redhat.com>
9843
9844         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9845         prepare_for_testing call.
9846         (srcfile): Don't set.
9847         (restart): New procedure.
9848         (test_dprintf): New procecure, use to continue over dprintfs.
9849         (test_call, test_agent): New procedures, tests moved here.
9850         Restart gdb and recreate dprintfs.  Adjust expected output.
9851
9852 2015-07-29  Pedro Alves  <palves@redhat.com>
9853
9854         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9855
9856 2015-07-29  Pedro Alves  <palves@redhat.com>
9857
9858         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9859
9860 2015-07-29  Pedro Alves  <palves@redhat.com>
9861
9862         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9863         gdb_test_stdio.
9864
9865 2015-07-29  Pedro Alves  <palves@redhat.com>
9866
9867         * lib/gdb.exp (gdb_test_stdio): New procedure.
9868
9869 2015-07-29  Pedro Alves  <palves@redhat.com>
9870
9871         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9872
9873 2015-07-29  Pedro Alves  <palves@redhat.com>
9874
9875         * gdb.base/call-signal-resume.exp: Remove check for
9876         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9877         * gdb.base/unwindonsignal.exp: Likewise.
9878         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9879         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9880
9881 2015-07-29  Pedro Alves  <palves@redhat.com>
9882
9883         * gdb.base/siginfo-addr.c (pass): New function.
9884         (handler): Call it iff si_addr is correct.
9885         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9886         Set a breakpoint at "pass" and continue to it.
9887
9888 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9889
9890         * gdb.python/py-objfile.exp: Make some tests have unique names.
9891         * gdb.python/py-pp-registration.exp: Likewise.
9892
9893 2015-07-28  Pedro Alves  <palves@redhat.com>
9894
9895         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9896
9897 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9898
9899         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9900
9901 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9902
9903         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9904
9905 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9906
9907         * gdb.base/gdb-sigterm-2.exp: New test.
9908
9909 2015-07-25  Doug Evans  <xdje42@gmail.com>
9910
9911         Revert:
9912         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9913         (workers/%.worker, build-perf): New rule.
9914         (GDB_PERFTEST_MODE): New variable.
9915         (check-perf): Use it.
9916         (clean): Clean up gdb.perf parallel build subdirs.
9917         * lib/build-piece.exp: New file.
9918         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9919         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9920         name.
9921         (standard_temp_file): Ditto.
9922         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9923         of $GDB_PARALLEL.
9924
9925 2015-07-24  Doug Evans  <dje@google.com>
9926
9927         * gdb.perf/lib/perftest/utils.py: New file.
9928         * gdb.perf/gm-hello.cc: New file.
9929         * gdb.perf/gm-pervasive-typedef.cc: New file.
9930         * gdb.perf/gm-pervasive-typedef.h: New file.
9931         * gdb.perf/gm-std.cc: New file.
9932         * gdb.perf/gm-std.h: New file.
9933         * gdb.perf/gm-use-cerr.cc: New file.
9934         * gdb.perf/gm-utils.h: New file.
9935         * gdb.perf/gmonster-null-lookup.py: New file.
9936         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9937         * gdb.perf/gmonster-print-cerr.py: New file.
9938         * gdb.perf/gmonster-ptype-string.py: New file.
9939         * gdb.perf/gmonster-runto-main.py: New file.
9940         * gdb.perf/gmonster-select-file.py: New file.
9941         * gdb.perf/gmonster1-null-lookup.exp: New file.
9942         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9943         * gdb.perf/gmonster1-print-cerr.exp: New file.
9944         * gdb.perf/gmonster1-ptype-string.exp: New file.
9945         * gdb.perf/gmonster1-runto-main.exp: New file.
9946         * gdb.perf/gmonster1-select-file.exp: New file.
9947         * gdb.perf/gmonster1.cc: New file.
9948         * gdb.perf/gmonster1.exp: New file.
9949         * gdb.perf/gmonster2-null-lookup.exp: New file.
9950         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9951         * gdb.perf/gmonster2-print-cerr.exp: New file.
9952         * gdb.perf/gmonster2-ptype-string.exp: New file.
9953         * gdb.perf/gmonster2-runto-main.exp: New file.
9954         * gdb.perf/gmonster2-select-file.exp: New file.
9955         * gdb.perf/gmonster2.cc: New file.
9956         * gdb.perf/gmonster2.exp: New file.
9957
9958 2015-07-24  Doug Evans  <dje@google.com>
9959
9960         * gdb.perf/README: New file.
9961         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9962         * lib/gen-perf-test.exp: New file.
9963
9964 2015-07-24  Doug Evans  <dje@google.com>
9965
9966         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9967         (PerfTest::startup): New function.
9968         (PerfTest::run): Return result of calling body.
9969         (PerfTest::assemble): Rewrite.
9970         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9971         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9972         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9973         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9974         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9975
9976 2015-07-24  Doug Evans  <dje@google.com>
9977
9978         * lib/gdb.exp (clean_restart): Make executable optional.
9979
9980 2015-07-24  Doug Evans  <dje@google.com>
9981
9982         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9983         compiler_info references.
9984         * gdb.cp/temargs.exp: Ditto.
9985         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9986         (get_compiler_info): Early exit if already computed.  Set compiler_info
9987         to "unknown" if there was a problem.
9988         (test_compiler_info): Add function comment.  Call get_compiler_info.
9989
9990 2015-07-24  Doug Evans  <dje@google.com>
9991
9992         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9993         (workers/%.worker, build-perf): New rule.
9994         (GDB_PERFTEST_MODE): New variable.
9995         (check-perf): Use it.
9996         (clean): Clean up gdb.perf parallel build subdirs.
9997         * lib/build-piece.exp: New file.
9998         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9999         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10000         name.
10001         (standard_temp_file): Ditto.
10002         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10003         of $GDB_PARALLEL.
10004
10005 2015-07-24  Doug Evans  <dje@google.com>
10006
10007         * lib/future.exp (gdb_default_target_compile): New option
10008         "early_flags".
10009         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10010         --as-needed.
10011
10012 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10013
10014         * gdb.base/catch-syscall.exp: Call gdb_exit before
10015         gdb_skip_xml_test.
10016
10017 2015-07-24  Pedro Alves  <palves@redhat.com>
10018
10019         * gdb.python/py-events.exp: Accept output between the stop event
10020         and the prompt.
10021         * gdb.python/py-evsignal.exp: Likewise.
10022         * gdb.python/py-evthreads.exp: Likewise.
10023
10024 2015-07-24  Pedro Alves  <palves@redhat.com>
10025
10026         PR gdb/18717
10027         * gdb.threads/non-ldr-exit.c: New file.
10028         * gdb.threads/non-ldr-exit.exp: New file.
10029
10030 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10031
10032         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10033         restarting process.
10034
10035 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10036
10037         * gdb.server/ext-restart.exp: New file.
10038
10039 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10040
10041         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10042         argument options.
10043         * gdb.server/ext-wrapper.exp: New file.
10044
10045 2015-07-23  Doug Evans  <dje@google.com>
10046
10047         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10048         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10049
10050 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10051
10052         * gdb.ada/var_arr_typedef.exp: New testcase.
10053         * gdb.ada/var_arr_typedef/pack.adb: New file.
10054         * gdb.ada/var_arr_typedef/pack.ads: New file.
10055         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10056
10057 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10058
10059         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10060
10061 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10062
10063         * gdb.arch/i386-biarch-core.exp: Replace istarget
10064         by "complete set gnutarget". Remove expectation for the "core-file"
10065         command.
10066
10067 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10068
10069         Revert the previous commit:
10070         Tests for validate symbol file using build-id.
10071
10072 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10073
10074         Tests for validate symbol file using build-id.
10075         * gdb.base/solib-mismatch-lib.c: New file.
10076         * gdb.base/solib-mismatch-libmod.c: New file.
10077         * gdb.base/solib-mismatch.c: New file.
10078         * gdb.base/solib-mismatch.exp: New file.
10079
10080 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10081
10082         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10083         nios2-*-linux*.
10084         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10085         * gdb.base/siginfo.exp: Likewise.
10086         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10087
10088 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10089
10090         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10091         Move it to ...
10092         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10093         ... here.
10094         * gdb.trace/range-stepping.exp: Check that the target supports
10095         range stepping.
10096
10097 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10098
10099         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10100
10101 2015-07-14  Pedro Alves  <palves@redhat.com>
10102
10103         * gdb.base/killed-outside.exp: New file.
10104         * gdb.base/killed-outside.c: New file.
10105
10106 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10107
10108         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10109         (n at main): New.
10110         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10111
10112 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10113
10114         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10115         infcall tests instead of setting up for KFAIL.
10116
10117 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10118
10119         * gdb.btrace/record_goto-step.exp: New.
10120
10121 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10122
10123         PR compile/18484
10124         * gdb.compile/compile.c (struct struct_type): Add volatile to
10125         selffield's type.
10126         * gdb.compile/compile.exp
10127         (compile code struct_object.selffield = &struct_object): Skip further
10128         struct_object tests if this one xfails.
10129
10130 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10131
10132         PR exp/18617
10133         * gdb.trace/ax.exp: Add test.
10134
10135 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10136
10137         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10138         instead of istarget "aarch64*-*-*".
10139         * gdb.arch/aarch64-fp.exp: Likewise.
10140         * gdb.base/float.exp: Likewise.
10141         * gdb.reverse/aarch64.exp: Likewise.
10142         * lib/gdb.exp (is_aarch64_target): New proc.
10143
10144 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10145
10146         * lib/gdb.exp (is_aarch32_target): New proc.
10147         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10148         instead of "istarget "arm*-*-*"".
10149         * gdb.arch/arm-disp-step.exp: Likewise.
10150         * gdb.arch/thumb-bx-pc.exp: Likewise.
10151         * gdb.arch/thumb-prologue.exp: Likewise.
10152         * gdb.arch/thumb-singlestep.exp: Likewise.
10153         * gdb.base/disp-step-syscall.exp: Likewise.
10154         * gdb.base/float.exp: Likewise.
10155
10156 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10157
10158         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10159         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10160
10161 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10162
10163         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10164         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10165         if it exists.
10166         * gdb.multi/multi-arch.exp: Likewise.
10167
10168 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10169
10170         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10171         print.
10172
10173 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10174
10175         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10176
10177 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10178
10179         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10180         '[' and ']' characters.
10181
10182 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10183
10184         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10185
10186 2015-06-29  Pedro Alves  <palves@redhat.com>
10187
10188         PR threads/18127
10189         * gdb.threads/hand-call-new-thread.c: New file.
10190         * gdb.threads/hand-call-new-thread.c: New file.
10191
10192 2015-06-26  Keith Seitz  <keiths@redhat.com>
10193             Doug Evans  <dje@google.com>
10194
10195         PR 16253
10196         * gdb.cp/var-tag-2.cc: New file.
10197         * gdb.cp/var-tag-3.cc: New file.
10198         * gdb.cp/var-tag-4.cc: New file.
10199         * gdb.cp/var-tag.cc: New file.
10200         * gdb.cp/var-tag.exp: New file.
10201
10202 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10203
10204         * gdb.base/history-duplicates.exp: New test.
10205
10206 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10207
10208         * gdb.base/completion.exp: Test the completion of the "focus"
10209         command.
10210
10211 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10212
10213         * gdb.arch/amd64-prologue-skip.S: New file.
10214         * gdb.arch/amd64-prologue-skip.exp: New file.
10215
10216 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10217
10218         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10219         is_address_zero_readable check.
10220
10221 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10222
10223         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10224         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10225
10226 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10227
10228         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10229         linux targets.
10230
10231 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10232
10233         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10234         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10235         * gdb.base/siginfo-thread.exp: Likewise.
10236
10237 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10238
10239         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10240
10241 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10242
10243         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10244         aarch64*-*-*.
10245         (skip_hw_watchpoint_tests): Likewise.
10246
10247 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10248
10249         * gdb.base/gdbinit-history.exp: Test the interaction between
10250         setting GDBHISTSIZE and setting the history size via .gdbinit.
10251
10252 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10253
10254         PR gdb/16999
10255         * gdb.base/gdbhistsize-history.exp: New test.
10256
10257 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10258
10259         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10260         with GDBHISTSIZE.
10261         * gdb.base/readline.exp: Likewise.
10262
10263 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10264
10265         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10266         line.
10267
10268 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10269
10270         * gdb.base/gdbinit-history.exp: Add test case to check that
10271         an unlimited history file does not get truncated on exit.
10272
10273 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10274
10275         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10276         (VECTOR): New macro.  Use it...
10277         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10278         ...for these typedefs.
10279         (int8, char1, int1, double1): New typedefs.
10280         (struct just_int2, struct two_int2): New structures.
10281         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10282         (add_structvecs, add_singlevecs): New functions.
10283         (main): Call add_some_intvecs twice.
10284         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10285         the compile and exit upon failure.  Try compiling for the "native"
10286         architecture.  Test inferior function calls with vector arguments
10287         and vector return value handling with "finish" and "return".
10288
10289 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10290
10291         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10292         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10293         PE file.
10294         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10295
10296 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10297
10298         PR breakpoints/16465
10299         * gdb.mi/mi-dprintf-pending.c: New file.
10300         * gdb.mi/mi-dprintf-pending.exp: New test.
10301         * gdb.mi/mi-dprintf-pendshr.c: New file.
10302
10303 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10304             Mircea Gherzan  <mircea.gherzan@intel.com>
10305
10306         * gdb.arch/i386-mpx-map.c: New file.
10307         * gdb.arch/i386-mpx-map.exp: New File.
10308
10309 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10310
10311         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10312         * gdb.arch/i386-mpx.exp: Indentation fixed.
10313
10314 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10315
10316         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10317         function and improved indentation.
10318         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10319         gdb_test_multiple. Added additional tests to skip the test.
10320
10321 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10322
10323         * gdb.arch/i386-avx512.c: Change path in include file.
10324         * gdb.arch/i386-avx512.exp: Change include dir path
10325         compilation flag.
10326         * gdb.arch/i386-mpx.c: Change path in include file.
10327         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10328         flag.
10329
10330 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10331
10332         * gdb.compile/compile-print.exp (compile print *vararray@3)
10333         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10334
10335 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10336
10337         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10338         (do not keep jit in memory): ... this.
10339         (expect 5): Change it to ...
10340         (expect no 5): ... this.
10341
10342 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10343
10344         PR gdb/15564
10345         * gdb.mi/mi-detach.exp: New file.
10346
10347 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10348
10349         PR symtab/18392
10350         * gdb.arch/amd64-tailcall-self.S: New file.
10351         * gdb.arch/amd64-tailcall-self.c: New file.
10352         * gdb.arch/amd64-tailcall-self.exp: New file.
10353
10354 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10355
10356         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10357         tests for remote targets by checking is_target_gdbserver.
10358
10359 2015-05-27  Doug Evans  <dje@google.com>
10360
10361         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10362         * gdb.dwarf2/opaque-type-lookup.c: New file.
10363         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10364
10365 2015-05-26  Doug Evans  <dje@google.com>
10366
10367         * gdb.cp/iostream.cc: New file.
10368         * gdb.cp/iostream.exp: New file.
10369
10370 2015-05-26  Doug Evans  <dje@google.com>
10371
10372         * gdb.dwarf2/dw2-op-call.exp: Update.
10373         * gdb.dwarf2/dw4-sig-types.exp: Update.
10374         * gdb.dwarf2/implptr.exp: Update.
10375         * gdb.mi/mi-cmd-param-changed.exp: Update.
10376
10377 2015-05-26  Doug Evans  <dje@google.com>
10378
10379         * gdb.python/py-lazy-string.c: New file.
10380         * gdb.python/py-lazy-string.exp: New file.
10381         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10382         (main): Update.  Add estring3.
10383         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10384         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10385
10386 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10387             Yao Qi  <yao.qi@linaro.org>
10388
10389         * gdb.reverse/aarch64.c: New.
10390         * gdb.reverse/aarch64.exp: New.
10391
10392 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10393
10394         * lib/gdb.exp (supports_process_record): Return true for
10395         aarch64*-linux*.
10396         (supports_reverse): Likewise.
10397
10398 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10399
10400         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10401         Use with_test_prefix.
10402
10403 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10404
10405         * gdb.base/completion.exp: Add test for completion of layout
10406         names.
10407
10408 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10409
10410         * lib/gdb.exp (skip_tui_tests): New proc.
10411         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10412
10413 2015-05-19  Pedro Alves  <palves@redhat.com>
10414
10415         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10416         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10417         the environment while testing.  Restore whole environment
10418         afterwards.
10419
10420 2015-05-16  Doug Evans  <xdje42@gmail.com>
10421
10422         * gdb.guile/scm-ports.c: New file.
10423         * gdb.guile/scm-ports.exp: Add memory port tests.
10424
10425 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10426
10427         * gdb.compile/compile-print.c: New file.
10428         * gdb.compile/compile-print.exp: New file.
10429
10430 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10431
10432         * gdb.compile/compile-ops.exp: Cast param to void.
10433         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10434         (compile code struct_object.selffield = &struct_object): Add xfail.
10435
10436 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10437
10438         * gdb.ada/arr_enum_with_gap: New testcase.
10439
10440 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10441
10442         * gdb.ada/byte_packed_arr: New testcase.
10443
10444 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10445
10446         * gdb.ada/pckd_neg: New testcase.
10447
10448 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10449
10450         PR gdb/17820
10451         * gdb.base/gdbinit-history.exp: New test.
10452         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10453         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10454
10455 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10456
10457         * gdb.python/py-xmethods.cc: Enhance test case.
10458         * gdb.python/py-xmethods.exp: New tests.
10459         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10460         function.
10461         (B_indexoper): Likewise.
10462         (global_dm_list) : Add new xmethod worker functions.
10463
10464 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10465
10466         * gdb.base/coredump-filter.exp: Correctly unset
10467         "coredump_var_addr" array.
10468
10469 2015-05-08  Pedro Alves  <palves@redhat.com>
10470
10471         * gdb.server/non-existing-program.exp: Unset spawn_id.
10472
10473 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10474
10475         PR python/18291
10476         * gdb.python/py-xmethods.exp: Add tests.
10477
10478 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10479
10480         PR gdb/18208
10481         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10482         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10483         function set_coredump_filter, and remove remote_exec call.
10484         Remove argument ipid.  Callers update.
10485         (top level): Don't get inferior's PID.
10486
10487 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10488
10489         * gdb.base/watch_thread_num.exp: Skip test on targets without
10490         access watchpoints.
10491
10492 2015-05-06  Pedro Alves  <palves@redhat.com>
10493
10494         PR server/18081
10495         * gdb.server/non-existing-program.exp: New file.
10496
10497 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10498
10499         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10500
10501 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10502
10503         * gdb.ada/out_of_line_in_inlined: New testcase.
10504
10505 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10506
10507         * gdb.ada/var_rec_arr: New testcase.
10508
10509 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10510
10511         * gdb.base/break-idempotent.exp: If
10512         skip_hw_watchpoint_multi_tests returns true, skip the tests
10513         on "rwatch" and "awatch".
10514
10515 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10516
10517         * gdb.base/relativedebug.exp: Invoke gdb command
10518         "info sharedlibrary", and if libc.so doesn't have debug info,
10519         skip the test.
10520
10521 2015-04-29  Doug Evans  <dje@google.com>
10522
10523         * gdb.python/py-xmethods.exp: Add ptype tests.
10524         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10525         get_result_type method.
10526
10527 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10528
10529         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10530         the target does not support hardware watchpoints.
10531
10532 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10533
10534         * gdb.base/break-always.exp: Abort testing if writing to memory
10535         causes an error.
10536
10537 2015-04-28  Doug Evans  <dje@google.com>
10538
10539         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10540         * gdb.python/py-pp-registration.exp: ... here.  New file.
10541         * gdb.python/py-pp-registration.c: New file.
10542         * gdb.python/py-pp-registration.py: New file.
10543
10544 2015-04-28  Doug Evans  <dje@google.com>
10545
10546         * gdb.python/py-bad-printers.c: New file.
10547         * gdb.python/py-bad-printers.py: New file.
10548         * gdb.python/py-bad-printers.exp: New file.
10549
10550 2015-04-28  Sasha Smundak  <asmundak@google.com>
10551
10552         * gdb.python/py-type.exp: New test.
10553
10554 2015-04-28  Andy Wingo  <wingo@igalia.com>
10555
10556         * gdb.python/py-parameter.exp:
10557         * gdb.guile/scm-parameter.exp: Escape the path that we are
10558         matching against, as it might contain characters that are special
10559         to regular expressions.
10560
10561 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10562
10563         * gdb.ada/rec_comp: New testcase.
10564
10565 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10566
10567         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10568         before using it.
10569
10570 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10571
10572         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10573         new tests for verilog output.
10574
10575 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10576
10577         * boards/remote-gdbserver-on-localhost.exp: New file.
10578
10579 2015-04-23  Pedro Alves  <palves@redhat.com>
10580
10581         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10582         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10583         "end of file", remove $inferior_spawn_id from the indirect list.
10584
10585 2015-04-23  Pedro Alves  <palves@redhat.com>
10586
10587         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10588
10589 2015-04-23  Pedro Alves  <palves@redhat.com>
10590
10591         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10592         on $any_spawn_id instead of only on $gdb_spawn_id.
10593
10594 2015-04-21  Pierre Muller  <muller@sourceware.org>
10595
10596         PR pascal/17815
10597         * lib/pascal.exp (gpc_compile): Add new option "class".
10598         (fpc_compile): Likewise.
10599         * gdb.pascal/case-insensitive-symbols.pas: New file.
10600         * gdb.pascal/case-insensitive-symbols.exp: New file.
10601
10602 2015-04-20  Gary Benson <gbenson@redhat.com>
10603
10604         * gdb.base/attach.exp: Fix three extended remote failures.
10605
10606 2015-04-17  Gary Benson <gbenson@redhat.com>
10607
10608         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10609         the main executable over the remote protocol.
10610
10611 2015-04-16  Pedro Alves  <palves@redhat.com>
10612
10613         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10614         a new gdbserver if gdbserver_reconnect_p is set.
10615
10616 2015-04-16  Pedro Alves  <palves@redhat.com>
10617
10618         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10619         is set, don't exit gdbserver.
10620
10621 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10622
10623         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10624         appropriate .insn, such that an older assembler can be used.
10625         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10626         the z/Architecture instruction set on 31-bit targets as well.
10627
10628 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10629
10630         * gdb.go/handcall.exp: Remove all logic related to the first
10631         breakpoint and rely on go_runto_main instead.
10632         * gdb.go/strings.exp: Likewise.
10633         * gdb.go/unsafe.exp: Likewise.
10634         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10635         breakpoint marker to "breakpoint 1".
10636         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10637         * gdb.go/strings.go: Likewise.
10638         * gdb.go/unsafe.go: Likewise.
10639         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10640         "set breakpoint 2 here" and rename the remaining breakpoint marker
10641         to "breakpoint 1".
10642
10643 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10644
10645         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10646         if itertools.imap is not present.
10647         * gdb.python/py-objfile.exp: Add parentheses.
10648         * gdb.python/py-type.exp: Same.
10649         * gdb.python/py-unwind-maint.py: Same.
10650
10651 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10652
10653         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10654         of ":$ptr_size" and set its form explicitly.
10655
10656 2015-04-15  Pedro Alves  <palves@redhat.com>
10657             Yao Qi  <yao.qi@linaro.org>
10658
10659         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10660         timeout by factor of 4.
10661         (test_regular_watch): Likewise.
10662         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10663         * gdb.reverse/sigall-reverse.exp: Likewise.
10664         * gdb.reverse/until-precsave.exp: Likewise.
10665         * lib/gdb.exp (with_timeout_factor): New proc.
10666         (gdb_expect): Move some code to ...
10667         (get_largest_timeout): ... here.  New procedure.
10668
10669 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10670
10671         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10672
10673 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10674
10675         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10676         to write to the .text section.
10677
10678 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10679
10680         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10681         Handle the case of targets that do not provide PID information.
10682
10683 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10684
10685         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10686         and use expect instead of gdb_expect.
10687
10688 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10689
10690         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10691         "coredump_var_addr" to avoid naming conflict with other testcases.
10692
10693 2015-04-10  Pedro Alves  <palves@redhat.com>
10694
10695         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10696         gdb_test_sequence and gdb_assert.
10697
10698 2015-04-10  Pedro Alves  <palves@redhat.com>
10699
10700         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10701         test messages that don't include the breakpoint address.
10702
10703 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10704
10705         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10706         false for some offset and width combinations which aren't
10707         supported by linux kernel.
10708
10709 2015-04-10  Pedro Alves  <palves@redhat.com>
10710
10711         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10712         procedure, factored out from ...
10713         (top level): ... here.  Add "set displaced-stepping" testing axis.
10714         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10715         parameter "displaced".  Use it.
10716         (top level): Use foreach and add "set displaced-stepping" testing
10717         axis.
10718
10719 2015-04-10  Pedro Alves  <palves@redhat.com>
10720
10721         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10722         Remove comment.
10723         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10724         both the address of the instruction that triggers the watchpoint
10725         and the address of the instruction immediately after, and use
10726         those addresses for the test.  Fix comment.
10727
10728 2015-04-10  Pedro Alves  <palves@redhat.com>
10729
10730         * gdb.base/sigstep.exp (breakpoint_to_handler)
10731         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10732         Test "backtrace" in handler.
10733         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10734         (top level): Add new "displaced" test axis to
10735         breakpoint_to_handler, breakpoint_to_handler_entry and
10736         breakpoint_over_handler.
10737
10738 2015-04-10  Pedro Alves  <palves@redhat.com>
10739
10740         PR gdb/18216
10741         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10742
10743 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10744
10745         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10746         (test_add_rn_pc): New function.
10747         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10748         (top level): Invoke test_add_rn_pc.
10749
10750 2015-04-10  Pedro Alves  <palves@redhat.com>
10751
10752         PR gdb/13858
10753         * gdb.base/step-over-no-symbols.exp: New file.
10754
10755 2015-04-09  Andy Wingo  <wingo@igalia.com>
10756
10757         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10758         after the Python tests.
10759
10760 2015-04-08  Keith Seitz  <keiths@redhat.com>
10761
10762         PR python/16699
10763         * gdb.python/py-completion.exp: New tests for completion.
10764         * gdb.python/py-completion.py (CompleteLimit1): New class.
10765         (CompleteLimit2): Likewise.
10766         (CompleteLimit3): Likewise.
10767         (CompleteLimit4): Likewise.
10768         (CompleteLimit5): Likewise.
10769         (CompleteLimit6): Likewise.
10770         (CompleteLimit7): Likewise.
10771
10772 2015-04-08  Pedro Alves  <palves@redhat.com>
10773
10774         PR gdb/18214
10775         PR gdb/18216
10776         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10777         function.
10778         (main): Install it as SIGUSR1 handler.
10779         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10780         parameter.  Always use "setup" as prefix.  Toggle "set
10781         displaced-stepping" off/on depending on global.  Don't switch to
10782         thread 1 here.
10783         (top level): Add displaced stepping "off/on" test axis.  Update
10784         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10785         continuing with a queued signal in each thread.
10786
10787 2015-04-08  Pedro Alves  <palves@redhat.com>
10788
10789         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10790         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10791         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10792         Return early if running to main fails.
10793         * gdb.trace/while-stepping.exp: Likewise.
10794
10795 2015-04-07  Pedro Alves  <palves@redhat.com>
10796
10797         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10798         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10799         interact with inferior program.
10800
10801 2015-04-07  Pedro Alves  <palves@redhat.com>
10802
10803         * lib/gdb.exp (inferior_spawn_id): New global.
10804         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10805         spawn id after processing the user code.
10806         (default_gdb_start): Set inferior_spawn_id.
10807         (send_inferior): New procedure.
10808         * lib/gdbserver-support.exp (gdbserver_start): Set
10809         inferior_spawn_id.
10810         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10811
10812 2015-04-07  Pedro Alves  <palves@redhat.com>
10813
10814         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10815         * lib/gdbserver-support.exp (gdbserver_start): Make
10816         $server_spawn_id global.
10817         (gdbserver_start): Don't wait for gdbserver's spawn id with
10818         expect_background.
10819         (close_gdbserver): New procedure.
10820         (gdb_exit): Rename the default version and reimplement.
10821
10822 2015-04-07  Pedro Alves  <palves@redhat.com>
10823
10824         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10825         append the substituted item, not the original item.
10826
10827 2015-04-07  Pedro Alves  <palves@redhat.com>
10828
10829         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10830         gdb_expect.
10831
10832 2015-04-07  Pedro Alves  <palves@redhat.com>
10833
10834         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10835         output appearing once only.
10836
10837 2015-04-07  Pedro Alves  <palves@redhat.com>
10838
10839         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10840         that doesn't expect anything.  Return early if running to main
10841         fails.
10842
10843 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10844
10845         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10846         (child_function): Call alarm.
10847         (main): Move call to alarm into the loop.
10848         * gdb.threads/non-stop-fair-events.exp: Build program with
10849         -DTIMEOUT=$timeout.
10850
10851 2015-04-06  Doug Evans  <xdje42@gmail.com>
10852
10853         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10854         Fix dest parameter to board_info.
10855         (fpc_compile): Ditto.
10856         (gdb_compile_pascal): Rename dest arg to destfile.
10857
10858 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10859
10860         * gdb.ada/funcall_ref.exp: New file.
10861         * gdb.ada/funcall_ref/foo.adb: New file.
10862
10863 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10864
10865         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10866         is remote.
10867
10868 2015-04-02  Gary Benson <gbenson@redhat.com>
10869
10870         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10871
10872 2015-04-01  Sasha Smundak  <asmundak@google.com>
10873
10874         * gdb.python/py-unwind-maint.c: New file.
10875         * gdb.python/py-unwind-maint.exp: New test.
10876         * gdb.python/py-unwind-maint.py: New file.
10877         * gdb.python/py-unwind.c: New file.
10878         * gdb.python/py-unwind.exp: New test.
10879         * gdb.python/py-unwind.py: New test.
10880
10881 2015-04-01  Pedro Alves  <palves@redhat.com>
10882
10883         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10884         to fail instead of non-existent $test.
10885
10886 2015-04-01  Pedro Alves  <palves@redhat.com>
10887
10888         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10889         GDBFLAGS if not empty.
10890
10891 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10892
10893         * gdb.ada/complete.exp: Remove "multi_line".
10894         * gdb.ada/info_exc.exp: Remove "multi_line".
10895         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10896         * gdb.ada/ptype_field.exp: Remove "multi_line".
10897         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10898         * gdb.ada/tagged.exp: Remove "multi_line".
10899         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10900         [multi_line ...]
10901         * gdb.btrace/delta.exp: Likewise.
10902         * gdb.btrace/exception.exp: Likewise.
10903         * gdb.btrace/function_call_history.exp: Likewise.
10904         * gdb.btrace/instruction_history.exp: Likewise.
10905         * gdb.btrace/nohist.exp: Likewise.
10906         * gdb.btrace/record_goto.exp: Likewise.
10907         * gdb.btrace/segv.exp: Likewise.
10908         * gdb.btrace/stepi.exp: Likewise.
10909         * gdb.btrace/tailcall.exp: Likewise.
10910         * gdb.btrace/unknown_functions.exp: Likewise.
10911         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10912         * lib/gdb.exp: Add the "multi_line" helper.
10913
10914 2015-04-01  Pedro Alves  <palves@redhat.com>
10915
10916         * gdb.threads/tid-reuse.c: New file.
10917         * gdb.threads/tid-reuse.exp: New file.
10918
10919 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10920
10921         PR corefiles/16092
10922         * gdb.base/coredump-filter.c: New file.
10923         * gdb.base/coredump-filter.exp: Likewise.
10924
10925 2015-03-27  Petr Machata  <pmachata@redhat.com>
10926
10927         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10928         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10929         (Dwarf::assemble): Initialize them.
10930         (Dwarf::lines): New function.
10931
10932 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10933
10934         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10935         SYMBOL_PREFIX for x86_64-*-cygwin.
10936
10937 2015-03-26  Andy Wingo  <wingo@igalia.com>
10938
10939         PR symtab/18148
10940         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10941         const_value but not a location.
10942         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10943         location defined in non-main CUs are visible.
10944
10945 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10946
10947         PR testsuite/18139
10948         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10949         Add a line number entry for the same line.
10950         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10951         Add a line number entry for the same line.
10952
10953 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10954
10955         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10956         .int 0.
10957         (func): Likewise.  Add .Lfunc_1 label.
10958         Use .Lfunc_1 label.
10959         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10960         .int 0.
10961         (func): Likewise.
10962         Use .Lfunc_1 label.
10963
10964 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10965
10966         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10967         Call gdb_compile instead to compile each .s files without debug
10968         information.
10969
10970 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10971
10972         * gdb.base/savedregs.exp (process_saved_regs): Make
10973         "Saved registers:" optional in the pattern.
10974
10975 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10976
10977         * gdb.btrace/next.exp: Merged into step.exp.
10978         * gdb.btrace/finish.exp: Merged into step.exp.
10979         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10980         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10981         "record goto" and checking the exact replay position.
10982         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10983         check for "Recording format" in "info record" output.
10984         * gdb.btrace/record_goto.exp: Choose test file based on target.
10985         * gdb.btrace/x86-record_goto.S: Renamed into ...
10986         * gdb.btrace/x86_64-record_goto.S: ... this.
10987         * gdb.btrace/i686-record_goto.S: New.
10988         * gdb.btrace/x86-tailcall.S: Renamed into ...
10989         * gdb.btrace/x86_64-tailcall.S: ... this.
10990         * gdb.btrace/i686-tailcall.S: New.
10991         * gdb.btrace/x86-tailcall.c: Renamed into ...
10992         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10993         separate statements.  Update test.
10994         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10995         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10996         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10997         * gdb.btrace/tailcall.exp: Choose test file based on target.
10998         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10999
11000 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11001
11002         * gdb.btrace/exception.exp: Increase BTS buffer size.
11003
11004 2015-03-24  Pedro Alves  <palves@redhat.com>
11005
11006         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11007
11008 2015-03-24  Pedro Alves  <palves@redhat.com>
11009
11010         * gdb.threads/schedlock.exp (test_step): No longer expect that
11011         "set scheduler-locking step" with "next" over a function call runs
11012         threads unlocked.
11013
11014 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11015
11016         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11017
11018 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11019
11020         PR breakpoints/16466
11021         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11022         * gdb.mi/mi-pending.c (thread_func): New function.
11023         (int main): Add threading support required.
11024         * gdb.mi/mi-pending.exp: Add tests for this issue.
11025         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11026         (pendfunc2): Remove stdio dependency.
11027         * gdb.mi/mi-pendshr2.c: New file.
11028
11029 2015-03-23  Keith Seitz  <keiths@redhat.com>
11030
11031         * gdb.linespec/keywords.c: New file.
11032         * gdb.linespec/keywords.exp: New file.
11033
11034 2015-03-23  Keith Seitz  <keiths@redhat.com>
11035
11036         PR gdb/18021
11037         * gdb.dwarf2/staticvirtual.exp: New test.
11038
11039 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11040
11041         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11042         * README: Remove HP-UX and gdb.hp.
11043         (configuration):
11044         * configure: Regenerate.
11045         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11046         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11047         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11048         gdb.hp/gdb.defects/Makefile.
11049         * gdb.hp/Makefile.in: File deleted.
11050         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11051         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11052         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11053         * gdb.hp/gdb.aCC/run.c: File deleted.
11054         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11055         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11056         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11057         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11058         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11059         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11060         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11061         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11062         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11063         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11064         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11065         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11066         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11067         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11068         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11069         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11070         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11071         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11072         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11073         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11074         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11075         * gdb.hp/gdb.compat/average.c: File deleted.
11076         * gdb.hp/gdb.compat/sum.c: File deleted.
11077         * gdb.hp/gdb.compat/xdb.c: File deleted.
11078         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11079         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11080         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11081         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11082         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11083         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11084         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11085         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11086         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11087         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11088         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11089         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11090         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11091         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11092         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11093         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11094         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11095         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11096         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11097         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11098         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11099         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11100         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11101         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11102         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11103         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11104         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11105         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11106         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11107         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11108         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11109         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11110         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11111         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11112         * gdb.hp/tools/odump: File deleted.
11113
11114 2015-03-19  Pedro Alves  <palves@redhat.com>
11115
11116         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11117         (saw_thread_3): New globals.
11118         (top level): Increment them when an event for the corresponding
11119         thread is seen.
11120         (no thread starvation): New test.
11121
11122 2015-03-19  Pedro Alves  <palves@redhat.com>
11123
11124         * gdb.threads/continue-pending-status.c: New file.
11125         * gdb.threads/continue-pending-status.exp: New file.
11126
11127 2015-03-18  Pedro Alves  <palves@redhat.com>
11128
11129         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11130         Use gdb_is_target_remote instead of is_remote.  Use
11131         gdb_test_multiple instead of gdb_expect.  Exit early if
11132         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11133         expected output.  Fail on exit with any signal, instead of just
11134         SIGILL.
11135
11136 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11137
11138         PR tdep/18107
11139         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11140         variable.
11141         * gdb.base/catch-syscall.exp: Don't skip it on
11142         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11143         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11144         target.
11145         (setup_all_syscalls): New proc.
11146
11147 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11148
11149         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11150         (top level): Skip tests if valid_addr_p returns false for
11151         $cmd1 or $cmd2.
11152
11153 2015-03-11  Andy Wingo  <wingo@igalia.com>
11154
11155         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11156
11157 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11158
11159         * gdb.base/catch-syscall.exp: Fix typo in comments.
11160
11161 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11162
11163         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11164
11165 2015-03-09  Pedro Alves  <palves@redhat.com>
11166
11167         * dg-extract-results.py: Delete.
11168
11169 2015-03-09  Pedro Alves  <palves@redhat.com>
11170
11171         Merge dg-extract-results.sh from GCC upstream (r218843).
11172
11173         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11174                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11175                 binary files.  Fall back to cat -v, if that doesn't work.
11176
11177 2015-03-05  Pedro Alves  <palves@redhat.com>
11178
11179         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11180
11181 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11182
11183         * lib/mi-support.exp (mi_expect_interrupt): Accept
11184         alternative event for when in all-stop mode.
11185
11186 2015-03-04  Pedro Alves  <palves@redhat.com>
11187
11188         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11189
11190 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11191
11192         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11193
11194 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11195
11196         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11197         regexps for GDB's current line display, accept a hex address
11198         preceding the line number.
11199
11200 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11201
11202         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11203         the 'arch1' variable for "s390*-linux*" targets.
11204
11205 2015-03-04  Pedro Alves  <palves@redhat.com>
11206
11207         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11208         (main): Pass missing retval argument to pthread_join call.
11209
11210 2015-03-02  Pedro Alves  <palves@redhat.com>
11211
11212         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11213         (top level): Call do_test with non-stop as well.
11214
11215 2015-03-02  Pedro Alves  <palves@redhat.com>
11216
11217         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11218         -1.
11219
11220 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11221
11222         * gdb.arch/s390-vregs.exp: New test.
11223         * gdb.arch/s390-vregs.S: New file.
11224
11225 2015-02-27  Pedro Alves  <palves@redhat.com>
11226
11227         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11228         call to catch_command_errors.
11229         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11230         catch_command_errors.
11231
11232 2015-02-27  Pedro Alves  <palves@redhat.com>
11233
11234         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11235         "true" for boolean result.
11236         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11237         prototype of main.
11238
11239 2015-02-27  Pedro Alves  <palves@redhat.com>
11240
11241         * lib/unbuffer_output.c: New file.
11242         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11243         (main): Call gdb_unbuffer_output.
11244
11245 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11246
11247         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11248         target.
11249
11250 2015-02-26  Doug Evans  <dje@google.com>
11251
11252         * gdb.cp/class2.cc (Dbase, D): New classes.
11253         (main): New local delta.
11254         * gdb.cp/class2.exp: Test printing delta.
11255         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11256         (dynbar): New global.
11257         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11258
11259 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11260
11261         * gdb.compile/compile-ifunc.c: New file.
11262         * gdb.compile/compile-ifunc.exp: New file.
11263
11264 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11265
11266         * gdb.base/structs.exp: Check for correct struct on finish.
11267
11268 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11269
11270         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11271         is zero.
11272
11273 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11274
11275         * gdb.arch/cordic.ko.bz2: New file.
11276         * gdb.arch/cordic.ko.debug.bz2: New file.
11277         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11278
11279 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11280
11281         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11282         aarch64*-*-* target.
11283
11284 2015-02-23  Pedro Alves  <palves@redhat.com>
11285
11286         * lib/gdb.exp (delete_breakpoints): Rewrite using
11287         gdb_test_multiple.
11288
11289 2015-02-23  Pedro Alves  <palves@redhat.com>
11290
11291         * gdb.base/info-os.c: Include stdlib.h.
11292
11293 2015-02-22  Doug Evans  <xdje42@gmail.com>
11294
11295         PR symtab/17855
11296         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11297         is read after symbols have been re-read.
11298         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11299         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11300
11301 2015-02-21  Doug Evans  <dje@google.com>
11302
11303         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11304
11305 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11306
11307         PR corefiles/17808
11308         * gdb.arch/i386-biarch-core.core.bz2: New file.
11309         * gdb.arch/i386-biarch-core.exp: New file.
11310
11311 2015-02-21  Pedro Alves  <palves@redhat.com>
11312
11313         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11314         runto_main fails.
11315
11316 2015-02-20  Pedro Alves  <palves@redhat.com>
11317
11318         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11319         info probes.
11320
11321 2015-02-20  Pedro Alves  <palves@redhat.com>
11322
11323         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11324
11325 2015-02-20  Pedro Alves  <palves@redhat.com>
11326
11327         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11328         clean_restart before gdb_target_supports_trace.
11329
11330 2015-02-20  Pedro Alves  <palves@redhat.com>
11331
11332         PR threads/18006
11333         * gdb.threads/clone-thread_db.c: New file.
11334         * gdb.threads/clone-thread_db.exp: New file.
11335
11336 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11337
11338         PR breakpoints/16812
11339         * gdb.base/catch-gdb-caused-signals.c: New file.
11340         * gdb.base/catch-gdb-caused-signals.exp: New file.
11341
11342 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11343
11344         * configure: Regenerated.
11345         * configure.ac: Use GDB_AC_TRANSFORM.
11346         * aclocal.m4: sinclude ../transform.m4.
11347
11348 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11349
11350         * lib/dtrace.exp: New file.
11351         * gdb.base/dtrace-probe.exp: Likewise.
11352         * gdb.base/dtrace-probe.d: Likewise.
11353         * gdb.base/dtrace-probe.c: Likewise.
11354         * lib/pdtrace.in: Likewise.
11355         * configure.ac: Output variables with the transformed names of
11356         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11357         * configure: Regenerated.
11358
11359 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11360
11361         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11362         expected message when trying to access $_probe_* convenience
11363         variables while not on a probe.
11364
11365 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11366
11367         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11368
11369 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11370
11371         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11372         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11373
11374 2015-02-10  Doug Evans  <xdje42@gmail.com>
11375
11376         * lib/gdb.exp (gdb_load): Always return a result.
11377
11378 2015-02-10  Pedro Alves  <palves@redhat.com>
11379
11380         * gdb.threads/signal-sigtrap.c: New file.
11381         * gdb.threads/signal-sigtrap.exp: New file.
11382
11383 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11384
11385         * gdb.trace/no-attach-trace.c: New file.
11386         * gdb.trace/no-attach-trace.exp: New file.
11387
11388 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11389
11390         * gdb.dwarf2/atomic.c: New file.
11391         * gdb.dwarf2/atomic-type.exp: Likewise.
11392
11393 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11394
11395         * gdb.btrace/buffer-size.exp: Update "info record" output.
11396         * gdb.btrace/delta.exp: Update "info record" output.
11397         * gdb.btrace/enable.exp: Update "info record" output.
11398         * gdb.btrace/finish.exp: Update "info record" output.
11399         * gdb.btrace/instruction_history.exp: Update "info record" output.
11400         * gdb.btrace/next.exp: Update "info record" output.
11401         * gdb.btrace/nexti.exp: Update "info record" output.
11402         * gdb.btrace/step.exp: Update "info record" output.
11403         * gdb.btrace/stepi.exp: Update "info record" output.
11404         * gdb.btrace/nohist.exp: Update "info record" output.
11405
11406 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11407
11408         * gdb.btrace/buffer-size: New.
11409
11410 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11411
11412         * gdb.btrace/delta.exp: Update "info record" output.
11413         * gdb.btrace/enable.exp: Update "info record" output.
11414         * gdb.btrace/finish.exp: Update "info record" output.
11415         * gdb.btrace/instruction_history.exp: Update "info record" output.
11416         * gdb.btrace/next.exp: Update "info record" output.
11417         * gdb.btrace/nexti.exp: Update "info record" output.
11418         * gdb.btrace/step.exp: Update "info record" output.
11419         * gdb.btrace/stepi.exp: Update "info record" output.
11420         * gdb.btrace/nohist.exp: Update "info record" output.
11421
11422 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11423
11424         PR gdb/15678
11425         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11426
11427 2015-02-06  Pedro Alves  <palves@redhat.com>
11428
11429         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11430         macro.
11431         (seconds_left, again): New globals.
11432         (main): Wait seconds_left in a 1-second sleep loop instead of
11433         sleeping 180 seconds.  If 'again' is set, reset the seconds
11434         counter.
11435         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11436         'again' in the inferior before detaching.  Print the seconds left.
11437         (options): New global.
11438         (top level): Build program with -DTIMEOUT=$timeout.
11439
11440 2015-02-06  Pedro Alves  <palves@redhat.com>
11441
11442         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11443         determine how many seconds to pass to 'alarm'.
11444         * gdb.base/gdb-sigterm.exp (top level): Build program with
11445         -DTIMEOUT=$timeout.
11446         (do_test): Return success/failure indication.  Add more verbose
11447         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11448         when the test times out.
11449         (passes): New global.
11450         (top level): Break the testing loop if testing fails on any
11451         iteration.  Use gdb_assert.
11452
11453 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11454
11455         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11456         and initialize them.
11457         (ipc_cleanup): New function.
11458         (main): Don't declare shmid, semid, and msqid.  Add a call to
11459         atexit so that we call ipc_cleanup on exit.
11460
11461 2015-02-04  Pedro Alves  <palves@redhat.com>
11462
11463         * boards/native-extended-gdbserver.exp: Remove any target variant
11464         specifications from the board name before clearing the isremote
11465         flag from board_info.
11466
11467 2015-01-31  Doug Evans  <xdje42@gmail.com>
11468
11469         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11470
11471 2015-01-31  Gary Benson <gbenson@redhat.com>
11472
11473         * gdb.base/completion.exp: Disable completion limiting for
11474         existing tests.  Add new tests to check completion limiting.
11475         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11476
11477 2015-01-31  Doug Evans  <xdje42@gmail.com>
11478
11479         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11480
11481 2015-01-31  Doug Evans  <xdje42@gmail.com>
11482
11483         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11484         entries.  Duplicate file section script entries.
11485         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11486         inlined entries.  Add test for safe-path rejection.
11487         * gdb.python/py-section-script.c: Add duplicate inlined section script
11488         entries.  Duplicate file section script entries.
11489         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11490         inlined entries.  Add test for safe-path rejection.
11491
11492 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11493
11494         * gdb.ada/disc_arr_bound: New testcase.
11495
11496 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11497
11498         * gdb.ada/mi_var_array: New testcase.
11499
11500 2015-01-27  Doug Evans  <dje@google.com>
11501
11502         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11503         Add test for objfile.filename, objfile.username after objfile
11504         has been unloaded.
11505
11506 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11507
11508         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11509         the second test to print the name attribute of value
11510         returned by the call to gdb.lookup_type, and adjust
11511         the expected output accordingly.
11512
11513 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11514
11515         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11516         * gdb.base/disp-step-fork.c: Include unistd.h.
11517         * gdb.base/siginfo-obj.c: Include stdio.h.
11518         * gdb.base/siginfo-thread.c: Likewise.
11519         * gdb.mi/non-stop.c: Include unistd.h.
11520         * gdb.mi/nsthrexec.c: Include stdio.h.
11521         * gdb.mi/pthreads.c: Include unistd.h.
11522         * gdb.modula2/unbounded1.c (main): Declare returns int.
11523         * gdb.reverse/consecutive-reverse.c: Likewise.
11524         * gdb.threads/create-fail.c: Include unistd.h.
11525         * gdb.threads/killed.c: Likewise.
11526         * gdb.threads/linux-dp.c: Likewise.
11527         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11528         * gdb.threads/non-ldr-exc-2.c: Likewise.
11529         * gdb.threads/non-ldr-exc-3.c: Likewise.
11530         * gdb.threads/non-ldr-exc-4.c: Likewise.
11531         * gdb.threads/pthreads.c: Include unistd.h.
11532         (main): Declare returns int.
11533         * gdb.threads/tls-main.c (foo): New declaration.
11534         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11535
11536 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11537
11538         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11539         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11540
11541 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11542
11543         * gdb.base/noreturn-return.c: New file.
11544         * gdb.base/noreturn-return.exp: New file.
11545         * gdb.base/noreturn-finish.c: New file.
11546         * gdb.base/noreturn-finish.exp: New file.
11547
11548 2015-01-23  Pedro Alves  <palves@redhat.com>
11549
11550         * gdb.threads/continue-pending-after-query.c: New file.
11551         * gdb.threads/continue-pending-after-query.exp: New file.
11552
11553 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11554             Simon Marchi  <simon.marchi@ericsson.com>
11555
11556         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11557         * gdb.base/valgrind-db-attach.exp: Same.
11558         * gdb.base/valgrind-infcall.exp: Same.
11559         * lib/mi-support.exp (default_mi_gdb_start): Same.
11560         * lib/prompt.exp (default_prompt_gdb_start): Same.
11561         * lib/gdb.exp (default_gdb_spawn): Same.
11562         (gdb_interact): New.
11563
11564
11565 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11566
11567         * gdb.compile/compile.exp (pointer to jit function): New test.
11568
11569 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11570
11571         * lib/gdb.exp (supports_process_record): Return true for
11572         powerpc*-*-linux*.
11573         (supports_reverse): Likewise.
11574
11575 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11576
11577         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11578         instead of checking whether the target board is remote and
11579         use spawn_wait_for_attach instead of exec/sleep.
11580         * gdb.base/attach-twice.exp: Likewise.
11581
11582 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11583
11584         * gdb.ada/var_arr_attrs: New testcase.
11585
11586 2015-01-14  Pedro Alves  <palves@redhat.com>
11587             Joel Brobecker  <brobecker@adacore.com>
11588
11589         PR gdb/17525
11590         * gdb.base/bp-cmds-execution-x-script.c: New file.
11591         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11592         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11593
11594 2015-01-14  Pedro Alves  <palves@redhat.com>
11595
11596         PR cli/17828
11597         * gdb.base/batch-preserve-term-settings.c: New file.
11598         * gdb.base/batch-preserve-term-settings.exp: New file.
11599
11600 2015-01-13  Doug Evans  <dje@google.com>
11601
11602         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11603         binary.
11604
11605 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11606
11607         * Makefile.in (clean mostlyclean): Do not delete *.py.
11608
11609 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11610
11611         * gdb.python/py-lookup-type.exp: New file.
11612
11613 2015-01-12  Pedro Alves  <palves@redhat.com>
11614
11615         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11616         restore GDBFLAGS before returning.
11617
11618 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11619
11620         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11621         is_amd64_regs_target and is_x86_like_target.
11622
11623 2015-01-11  Doug Evans  <xdje42@gmail.com>
11624
11625         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11626         is given without an explicit form.
11627         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11628         attributes.
11629         * gdb.dwarf/corrupt.exp: Ditto.
11630         * gdb.dwarf2/enum-type.exp: Ditto.
11631         * gdb.trace/entry-values.exp: Ditto.
11632         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11633
11634 2015-01-11  Doug Evans  <xdje42@gmail.com>
11635
11636         PR gdb/15830
11637         * gdb.base/maint.exp: Remove references to "maint demangle".
11638         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11639         Add tests for explicitly specifying language to demangle.
11640         * gdb.dlang/demangle.exp: Ditto.
11641
11642 2015-01-09  Pedro Alves  <palves@redhat.com>
11643
11644         * gdb.threads/non-stop-fair-events.c: New file.
11645         * gdb.threads/non-stop-fair-events.exp: New file.
11646
11647 2015-01-09  Pedro Alves  <palves@redhat.com>
11648
11649         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11650         the global scope.  Set a breakpoint after all threads are started
11651         rather than stepping over two source lines.  Expect the prompt.
11652         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11653         global.
11654         (NUM): Now 15.
11655         (main): Use threads_started_barrier to wait for all threads to
11656         start.  Main thread no longer calls thread_function.  Exit after
11657         180 seconds.
11658         (loop): New function.
11659         (thread_function): Wait on threads_started_barrier barrier.  Call
11660         'loop' at each iteration.
11661         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11662         threads have started, instead of hardcoding number of "next"
11663         steps.  Use an access watchpoint instead of a write watchpoint.
11664
11665 2015-01-09  Pedro Alves  <palves@redhat.com>
11666
11667         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11668         (thread_func): Wait on barrier.
11669         (main): Wait for all threads to start before stopping GDB.
11670         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11671         global.
11672         (thread1_func, thread2_func): Wait on barrier.
11673         (main): Wait for all threads to start before stopping GDB.
11674         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11675         New global.
11676         (thread1_func, thread2_func): Wait on barrier.
11677         (main): Wait for all threads to start before stopping GDB.
11678
11679 2015-01-09  Pedro Alves  <palves@redhat.com>
11680
11681         * gdb.threads/attach-many-short-lived-threads.c: New file.
11682         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11683
11684 2014-01-09  Pedro Alves  <palves@redhat.com>
11685
11686         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11687         instead of to thread 2.
11688         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11689         Add barrier around each pthread_create call instead of around all
11690         calls.
11691         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11692         Set a break on thread_function and have the child threads hit it
11693         one at at a time.
11694
11695 2015-01-09  Pedro Alves  <palves@redhat.com>
11696
11697         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11698         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11699         false.
11700         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11701         checking whether the target board is remote.
11702         * gdb.multi/multi-attach.exp: Likewise.
11703         * gdb.python/py-sync-interp.exp: Likewise.
11704         * gdb.server/ext-attach.exp: Likewise.
11705         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11706         tests that need to attach, instead of checking whether the target
11707         board is remote at the top of the file.
11708
11709 2015-01-08  Yao Qi  <yao@codesourcery.com>
11710
11711         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11712
11713 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11714
11715         Fix testcase compilation.
11716         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11717
11718 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11719
11720         * gdb.python/py-type.exp: Add a couple test about empty
11721         array creation, and negative-length array creation.
11722
11723 2015-01-02  Doug Evans  <xdje42@gmail.com>
11724
11725         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11726
11727 2015-01-02  Doug Evans  <dje@google.com>
11728
11729         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11730
11731 2014-12-29  Yao Qi  <yao@codesourcery.com>
11732
11733         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11734         bar_call_foo to returned_from_foo.
11735
11736 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11737
11738         PR gdb/17394
11739         * gdb.linespec/break-asm-file.c: New file.
11740         * gdb.linespec/break-asm-file.exp: New file.
11741         * gdb.linespec/break-asm-file0.s: New file.
11742         * gdb.linespec/break-asm-file1.s: New file.
11743
11744 2014-12-18  Nigel Stephens  <nigel@mips.com>
11745             Maciej W. Rozycki  <macro@codesourcery.com>
11746
11747         * gdb.base/float.exp: Handle the new output from "info float" on
11748         MIPS targets.
11749
11750 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11751
11752         Fix MinGW compilation.
11753         * gdb.compile/compile-ops.exp: Update untested message if
11754         !skip_compile_feature_tests.
11755         * gdb.compile/compile-setjmp.exp: Likewise.
11756         * gdb.compile/compile-tls.exp: Likewise.
11757         * gdb.compile/compile.exp: Likewise.
11758         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11759         supported on this host".
11760
11761 2014-12-16  Doug Evans  <xdje42@gmail.com>
11762
11763         * boards/stabs.exp: New file.
11764
11765 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11766
11767         * gdb.base/completion.exp: Adjust to format changes of "maint
11768         print user-registers".
11769
11770 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11771
11772         PR server/17457
11773         * gdb.arch/aarch64-fp.c: New file.
11774         * gdb.arch/aarch64-fp.exp: New file.
11775
11776 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11777
11778         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11779         r210637, r210913, r211666, r215400, r215817).
11780
11781         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11782                 * dg-extract-results.py: New file.
11783                 * dg-extract-results.sh: Use it if the environment seems
11784                 suitable.
11785
11786         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11787
11788                 * dg-extract-results.py (parse_run): Handle warnings that
11789                 are printed before a test harness is run.
11790
11791         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11792
11793                 * dg-extract-results.py (Named): Remove __cmp__ method.
11794                 (output_variation): Use a key to sort variation.harnesses.
11795
11796         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11797
11798                 * dg-extract-results.py: For Python 3, force sys.stdout to
11799                 handle surrogate escape sequences.
11800                 (safe_open): New function.
11801                 (output_segment, main): Use it.
11802
11803         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11804
11805                 * dg-extract-results.py (Prog.result_re): Include options
11806                 in test name.
11807
11808         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11809
11810                 * dg-extract-results.py (output_variation): Always sort if
11811                 do_sum.
11812
11813 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11814
11815         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11816         as long as we get pagination notifications.
11817
11818 2014-12-15  Jason Merrill  <jason@redhat.com>
11819
11820         * Makefile.in (check-gdb.%): Restore.
11821         * README: Mention it.
11822
11823 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11824
11825         * gdb.ada/str_uninit: New testcase.
11826
11827 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11828
11829         PR symtab/17642
11830         * gdb.base/vla-stub-define.c: New file.
11831         * gdb.base/vla-stub.c: New file.
11832         * gdb.base/vla-stub.exp: New file.
11833
11834 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11835             Jan Kratochvil  <jan.kratochvil@redhat.com>
11836             Tom Tromey  <tromey@redhat.com>
11837
11838         * configure.ac: Add gdb.compile/.
11839         * configure: Regenerate.
11840         * gdb.compile/Makefile.in: New file.
11841         * gdb.compile/compile-ops.exp: New file.
11842         * gdb.compile/compile-ops.c: New file.
11843         * gdb.compile/compile-tls.c: New file.
11844         * gdb.compile/compile-tls.exp: New file.
11845         * gdb.compile/compile-constvar.S: New file.
11846         * gdb.compile/compile-constvar.c: New file.
11847         * gdb.compile/compile-mod.c: New file.
11848         * gdb.compile/compile-nodebug.c: New file.
11849         * gdb.compile/compile-setjmp-mod.c: New file.
11850         * gdb.compile/compile-setjmp.c: New file.
11851         * gdb.compile/compile-setjmp.exp: New file.
11852         * gdb.compile/compile-shlib.c: New file.
11853         * gdb.compile/compile.c: New file.
11854         * gdb.compile/compile.exp: New file.
11855         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11856
11857 2014-12-12  Tom Tromey  <tromey@redhat.com>
11858
11859         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11860         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11861
11862 2014-12-12  Doug Evans  <dje@google.com>
11863
11864         * lib/gdb-python.exp (get_python_valueof): New function.
11865         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11866
11867 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11868
11869         * gdb.base/completion.exp: Add test for completion of "info
11870         registers ".
11871
11872 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11873
11874         * gdb.base/func-ptrs.c: New file.
11875         * gdb.base/func-ptrs.exp: New file.
11876
11877 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11878
11879         PR breakpoints/17012
11880         * gdb.base/dprintf-detach.c: New file.
11881         * gdb.base/dprintf-detach.exp: New file.
11882
11883 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11884
11885         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11886         * lib/gdb.exp (target_is_gdbserver): New procedure.
11887
11888 2014-12-08  Doug Evans  <dje@google.com>
11889
11890         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11891
11892 2014-12-05  Yao Qi  <yao@codesourcery.com>
11893
11894         * gdb.guile/scm-error.exp: Remove the third argument to
11895         gdb_remote_download.
11896         * gdb.guile/scm-frame-args.exp: Likewise.
11897         * gdb.guile/scm-section-script.exp: Likewise.
11898
11899 2014-12-05  Yao Qi  <yao@codesourcery.com>
11900
11901         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11902
11903 2014-12-04  Doug Evans  <dje@google.com>
11904
11905         * gdb.python/py-objfile.exp: Add tests for
11906         objfile.add_separate_debug_file.
11907
11908 2014-12-04  Doug Evans  <dje@google.com>
11909
11910         * lib/gdb.exp (get_build_id): New function.
11911         (build_id_debug_filename_get): Rewrite to use it.
11912         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11913
11914 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11915
11916         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11917         `method(long)', not just 0x0.
11918         * gdb.cp/nsalias.exp: Align code labels to 4.
11919         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11920         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11921         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11922         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11923         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11924         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11925
11926 2014-12-02  Doug Evans  <dje@google.com>
11927
11928         PR symtab/17602
11929         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11930         * gdb.cp/anon-ns2.cc: ... here.  New file.
11931         * gdb.cp/anon-ns.exp: Update.
11932
11933 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11934
11935         * gdb.python/py-events.py (inferior_call_handler): New.
11936         (register_changed_handler, memory_changed_handler): New.
11937         (test_events.invoke): Register new handlers.
11938         * gdb.python/py-events.exp: Add tests for inferior call,
11939         memory_changed and register_changed events.
11940
11941 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11942
11943         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11944         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11945         if the linker doesn't understand this.
11946
11947 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11948
11949         * gdb.python/python.exp: Change expected reply to help().
11950
11951 2014-12-01  Yao Qi  <yao@codesourcery.com>
11952
11953         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11954         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11955         * configure: Re-generated.
11956
11957 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11958
11959         * gdb.cp/chained-calls.cc: New file.
11960         * gdb.cp/chained-calls.exp: New file.
11961         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11962
11963 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11964
11965         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11966         * gdb.dwarf2/symtab-producer.exp: Same.
11967         * gdb.gdb/python-interrupts.exp: Same.
11968         * gdb.gdb/python-selftest.exp: Same.
11969         * gdb.python/py-linetable.exp: Same.
11970         * gdb.python/py-type.exp: Same.
11971         * gdb.python/py-value-cc.exp: Same.
11972         * gdb.python/py-value.exp: Same.
11973
11974 2014-11-28  Yao Qi  <yao@codesourcery.com>
11975
11976         * gdb.base/break-probes.exp: Match library name prefixed with
11977         sysroot.
11978
11979 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11980
11981         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11982         test expected output.  Add parentheses for the call to print.
11983         Remove L suffix from integers.
11984
11985 2014-11-26  Doug Evans  <dje@google.com>
11986
11987         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11988
11989 2014-11-22  Yao Qi  <yao@codesourcery.com>
11990
11991         * gdb.trace/entry-values.c: Remove asms.
11992         (foo): Add foo_label.
11993         (bar): Add bar_label.
11994         * gdb.trace/entry-values.exp: Remove code computing  foo's
11995         length and bar's length.
11996         (Dwarf::assemble): Invoke function_range for bar and use
11997         MACRO_AT_func for foo.
11998
11999 2014-11-22  Yao Qi  <yao@codesourcery.com>
12000
12001         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12002         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12003         Use .Lgcc43_procstart instead of gcc43.
12004
12005 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12006
12007         * gdb.ada/n_arr_bound: New testcase.
12008
12009 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12010
12011         PR breakpoints/10737
12012         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12013         test_catch_syscall_multi_arch.
12014         (test_catch_syscall_multi_arch): New function.
12015
12016 2014-11-20  Doug Evans  <xdje42@gmail.com>
12017
12018         * gdb.base/maint.exp: Update expected output.
12019
12020 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12021
12022         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12023         4-byte instruction on S390.
12024
12025 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12026
12027         * gdb.ada/arr_arr: New testcase.
12028
12029 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12030
12031         * gdb.ada/pkd_arr_elem: New Testcase.
12032
12033 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12034
12035         * gdb.reverse/break-precsave: Expect completion message for
12036         core file reads.
12037         * gdb.reverse/consecutive-precsave.exp: Likewise.
12038         * gdb.reverse/finish-precsave.exp: Likewise.
12039         * gdb.reverse/i386-precsave.exp: Likewise.
12040         * gdb.reverse/machinestate-precsave.exp: Likewise.
12041         * gdb.reverse/sigall-precsave.exp: Likewise.
12042         * gdb.reverse/solib-precsave.exp: Likewise.
12043         * gdb.reverse/step-precsave.exp: Likewise.
12044         * gdb.reverse/until-precsave.exp: Likewise.
12045         * gdb.reverse/watch-precsave.exp: Likewise.
12046
12047 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12048
12049         * gdb.base/bp-permanent.c: Include unistd.h.
12050         * gdb.python/py-framefilter-mi.c (main): Add return type.
12051         * gdb.python/py-framefilter.c (main): Likewise.
12052         * gdb.trace/actions-changed.c (main): Likewise.
12053
12054 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12055
12056         * gdb.mi/until.c: Add eye-catchers.
12057         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12058         line numbers.
12059
12060 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12061
12062         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12063         function header variants in break1.c.
12064         * gdb.base/ena-dis-br.exp: Likewise.
12065         * gdb.base/hbreak2.exp: Likewise.
12066         * gdb.reverse/until-precsave.exp: Drop references to removed
12067         non-prototype function header variants in ur1.c.
12068         * gdb.reverse/until-reverse.exp: Likewise.
12069
12070 2014-11-17  Petr Machata  <pmachata@redhat.com>
12071
12072         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12073         ${_cu_offset_size} bytes abbrev offset.
12074
12075 2014-11-15  Doug Evans  <xdje42@gmail.com>
12076
12077         PR symtab/17559
12078         * gdb.base/line-symtabs.exp: New file.
12079         * gdb.base/line-symtabs.c: New file.
12080         * gdb.base/line-symtabs.h: New file.
12081
12082 2014-11-14  Yao Qi  <yao@codesourcery.com>
12083
12084         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12085         (func): Add label func_label.
12086         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12087         Replace low_pc and high_pc with MACRO_AT_range.
12088         Replace name, low_pc and high_pc with MACRO_AT_func.
12089
12090 2014-11-14  Yao Qi  <yao@codesourcery.com>
12091
12092         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12093         Replace name, low_pc and high_pc with MACRO_AT_func.
12094
12095 2014-11-14  Yao Qi  <yao@codesourcery.com>
12096
12097         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12098         produce debug information.
12099         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12100
12101 2014-11-14  Yao Qi  <yao@codesourcery.com>
12102
12103         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12104         object and get function length.
12105         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12106         with MACRO_AT_func.
12107         (top-level): Replace gdb_compile and clean_restart with
12108         prepare_for_testing.
12109         * gdb.dwarf2/main.c (main): Add label main_label.
12110
12111 2014-11-14  Yao Qi  <yao@codesourcery.com>
12112
12113         * lib/dwarf.exp (function_range): New procedure.
12114         (Dwarf::_handle_macro_at_func): New procedure.
12115         (Dwarf::_handle_macro_at_range): New procedure.
12116         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12117
12118 2014-11-14  Yao Qi  <yao@codesourcery.com>
12119
12120         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12121         (_handle_attribute): New procedure.
12122
12123 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12124
12125         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12126         * gdb.base/call-sc.c (zed): Likewise.
12127         * gdb.base/checkpoint.c (main): Likewise.
12128         * gdb.base/dump.c (main): Likewise.
12129         * gdb.base/gcore.c (main): Likewise.
12130         * gdb.base/huge.c (main): Likewise.
12131         * gdb.base/multi-forks.c (main): Likewise.
12132         * gdb.base/pr10179-a.c (main): Likewise.
12133         * gdb.base/savedregs.c (main): Likewise.
12134         * gdb.base/sigaltstack.c (main): Likewise.
12135         * gdb.base/siginfo.c (main): Likewise.
12136         * gdb.base/structs.c (zed): Likewise.
12137         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12138         * gdb.mi/mi-syn-frame.c (main): Likewise.
12139         * gdb.mi/until.c (foo, main): Likewise.
12140         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12141         * gdb.base/solib-weak.c (foo): Declare.
12142         * gdb.base/attach-twice.c: Include stdio.h.
12143         * gdb.base/weaklib1.c: Likewise.
12144         * gdb.base/weaklib2.c: Likewise.
12145         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12146         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12147         unistd.h.
12148         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12149         * gdb.mi/mi-exit-code.c: Likewise.
12150         * gdb.base/break-interp-lib.c: Include string.h.
12151         * gdb.base/coremaker.c: Likewise.
12152         * gdb.base/testenv.c: Likewise.
12153         * gdb.python/py-finish-breakpoint.c: Likewise.
12154         * gdb.base/inferior-died.c: Include sys/wait.h.
12155         * gdb.base/fileio.c: Include time.h.
12156         * gdb.base/async-shell.c: Include unistd.h.
12157         * gdb.base/dprintf-non-stop.c: Likewise.
12158         * gdb.base/info-os.c: Likewise.
12159         * gdb.mi/mi-console.c: Likewise.
12160         * gdb.mi/watch-nonstop.c: Likewise.
12161         * gdb.python/py-events.c: Likewise.
12162         * gdb.base/async.c (baz): Move up before its invocation.
12163         * gdb.base/code_elim2.c (my_global_func): Likewise.
12164         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12165         * gdb.base/advance.c (func2): Likewise.
12166
12167 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12168
12169         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12170         variant.
12171         * gdb.base/annota3.c: Likewise.
12172         * gdb.base/async.c: Likewise.
12173         * gdb.base/average.c: Likewise.
12174         * gdb.base/call-ar-st.c: Likewise.
12175         * gdb.base/call-rt-st.c: Likewise.
12176         * gdb.base/call-sc.c: Likewise.
12177         * gdb.base/call-strs.c: Likewise.
12178         * gdb.base/ending-run.c: Likewise.
12179         * gdb.base/execd-prog.c: Likewise.
12180         * gdb.base/exprs.c: Likewise.
12181         * gdb.base/foll-exec.c: Likewise.
12182         * gdb.base/foll-fork.c: Likewise.
12183         * gdb.base/foll-vfork.c: Likewise.
12184         * gdb.base/funcargs.c: Likewise.
12185         * gdb.base/gcore.c: Likewise.
12186         * gdb.base/jump.c: Likewise.
12187         * gdb.base/langs0.c: Likewise.
12188         * gdb.base/langs1.c: Likewise.
12189         * gdb.base/langs2.c: Likewise.
12190         * gdb.base/mips_pro.c: Likewise.
12191         * gdb.base/nodebug.c: Likewise.
12192         * gdb.base/opaque0.c: Likewise.
12193         * gdb.base/opaque1.c: Likewise.
12194         * gdb.base/recurse.c: Likewise.
12195         * gdb.base/run.c: Likewise.
12196         * gdb.base/scope0.c: Likewise.
12197         * gdb.base/scope1.c: Likewise.
12198         * gdb.base/setshow.c: Likewise.
12199         * gdb.base/setvar.c: Likewise.
12200         * gdb.base/shmain.c: Likewise.
12201         * gdb.base/shr1.c: Likewise.
12202         * gdb.base/shr2.c: Likewise.
12203         * gdb.base/sigall.c: Likewise.
12204         * gdb.base/signals.c: Likewise.
12205         * gdb.base/so-indr-cl.c: Likewise.
12206         * gdb.base/solib2.c: Likewise.
12207         * gdb.base/structs.c: Likewise.
12208         * gdb.base/sum.c: Likewise.
12209         * gdb.base/vforked-prog.c: Likewise.
12210         * gdb.base/watchpoint.c: Likewise.
12211         * gdb.reverse/shr2.c: Likewise.
12212         * gdb.reverse/until-reverse.c: Likewise.
12213         * gdb.reverse/ur1.c: Likewise.
12214         * gdb.reverse/watch-reverse.c: Likewise.
12215
12216 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12217
12218         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12219         variant.
12220         * gdb.base/sepdebug.exp: Drop references to removed code.
12221
12222 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12223
12224         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12225         variant.  Preserve original line numbering.
12226         * gdb.base/list1.c: Likewise.
12227
12228 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12229
12230         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12231         variant.
12232         * gdb.base/break1.c: Likewise.
12233         * gdb.base/break.exp: Drop references to removed code.
12234
12235 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12236
12237         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12238         variant.
12239
12240 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12241
12242         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12243
12244 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12245
12246         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12247         logic into perform_all_tests() and invoke it with and without
12248         function header prototypes.
12249         (do_function_calls): Remove conditional XFAIL for PR 5318.
12250         (rerun_and_prepare): Remove duplicate code.
12251         (perform_all_tests): New.  Main logic moved here.
12252
12253 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12254
12255         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12256         code guarded by #ifdef NO_PROTOTYPES.
12257         (t_double_many_args): Likewise.
12258         (DEF_FUNC_MANY_ARGS_1): Likewise.
12259         (DEF_FUNC_VALUES_1): Likewise.
12260         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12261         guarded by #ifdef PROTOTYPES.
12262
12263 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12264
12265         * gdb.mi/mi-console.c: Add eye-catcher.
12266         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12267         instead of literal line number.
12268
12269 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12270
12271         * gdb.base/shr2.c: Add eye-catcher.
12272         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12273         line number.
12274
12275 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12276
12277         * gdb.base/jump.c: Add eye-catchers.
12278         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12279         numbers.
12280
12281 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12282
12283         * gdb.base/execd-prog.c: Add eye-catchers.
12284         * gdb.base/foll-exec.c: Likewise.
12285         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12286         line numbers.
12287
12288 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12289
12290         * gdb.base/ending-run.c: Add eye-catchers.
12291         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12292         literal line numbers.
12293
12294 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12295
12296         * gdb.base/call-rt-st.c: Add eye-catchers.
12297         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12298         literal line numbers.
12299
12300 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12301
12302         * gdb.base/call-ar-st.c: Add eye-catchers.
12303         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12304         literal line numbers.
12305
12306 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12307
12308         * gdb.base/average.c: Add eye-catchers.
12309         * gdb.base/sum.c: Likewise.
12310         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12311         regexps dynamically.
12312
12313 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12314
12315         * gdb.base/solib1.c: Add eye-catchers.
12316         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12317         literal line numbers.
12318
12319 2014-11-12  Pedro Alves  <palves@redhat.com>
12320
12321         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12322         leader has exited.
12323
12324 2014-11-12  Pedro Alves  <palves@redhat.com>
12325
12326         * gdb.arch/i386-bp_permanent.c: New file.
12327         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12328         (srcfile): Set to i386-bp_permanent.c.
12329         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12330         that stepi does not execute the 'leave' instruction, instead of
12331         testing it does execute.
12332         * gdb.base/bp-permanent.c: New file.
12333         * gdb.base/bp-permanent.exp: New file.
12334
12335 2014-11-10  Doug Evans  <xdje42@gmail.com>
12336
12337         PR symtab/17564
12338         * gdb.base/symtab-search-order.exp: New file.
12339         * gdb.base/symtab-search-order.c: New file.
12340         * gdb.base/symtab-search-order-1.c: New file.
12341         * gdb.base/symtab-search-order-shlib-1.c: New file.
12342
12343 2014-11-07  Pedro Alves  <palves@redhat.com>
12344
12345         PR gdb/17511
12346         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12347         i?86-*-linux*.
12348
12349 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12350
12351         PR c++/17494
12352         * gdb.cp/pr17494.cc: New file.
12353         * gdb.cp/pr17494.exp: New file.
12354
12355 2014-11-02  Yao Qi  <yao@codesourcery.com>
12356
12357         * gdb.python/python.exp: Get working directory and match the
12358         output of "set extended-prompt \\w " with it.
12359
12360 2014-10-30  Doug Evans  <dje@google.com>
12361
12362         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12363         in objfiles.
12364         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12365         in progspaces.
12366
12367 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12368
12369         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12370         * gdb.base/realname-expand.exp: Likewise.
12371         * gdb.linespec/macro-relative.exp: Likewise.
12372
12373 2014-10-29  Pedro Alves  <palves@redhat.com>
12374
12375         PR gdb/17408
12376         * gdb.threads/schedlock.c (some_function): New function.
12377         (call_function): New global.
12378         (MAYBE_CALL_SOME_FUNCTION): New macro.
12379         (thread_function): Call it.
12380         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12381         and use it instead of a global counter.  Adjust all callers.
12382         (get_current_thread): Use "find current thread" for test message
12383         here rather than having all callers pass down the same string.
12384         (goto_loop): New procedure, factored out from ...
12385         (my_continue): ... this.
12386         (step_ten_loops): Change parameter from test message to command to
12387         use.  Adjust.
12388         (list_count): Delete global.
12389         (check_result): New procedure, factored out from duplicate top
12390         level code.
12391         (continue tests): Wrap in with_test_prefix.
12392         (test_step): New procedure, factored out from duplicate top level
12393         code.
12394         (top level): Test "step" in combination with all scheduler-locking
12395         modes.  Test "next" in combination with all scheduler-locking
12396         modes, and in combination with stepping over a function call or
12397         not.
12398         * gdb.threads/next-bp-other-thread.c: New file.
12399         * gdb.threads/next-bp-other-thread.exp: New file.
12400
12401 2014-10-29  Pedro Alves  <palves@redhat.com>
12402
12403         PR python/17372
12404         * gdb.python/python.exp: Test a multi-line command that spawns
12405         interactive Python.
12406         * gdb.base/multi-line-starts-subshell.exp: New file.
12407
12408 2014-10-29  Yao Qi  <yao@codesourcery.com>
12409
12410         * gdb.base/fileio.exp: Make directories on host.
12411
12412 2014-10-29  Yao Qi  <yao@codesourcery.com>
12413
12414         * gdb.base/fileio.c (test_write): Close the file.
12415
12416 2014-10-28  Pedro Alves  <palves@redhat.com>
12417
12418         PR gdb/12623
12419         * gdb.base/sigstep.c (no_handler): New global.
12420         (main): If 'no_handler is true, set the signal handlers to
12421         SIG_IGN.
12422         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12423         with_sw_watch and no_handler parameters.  Handle them.
12424         (top level) <stepping over handler when stopped at a breakpoint
12425         test>: Add a test axis for testing with a software watchpoint, and
12426         another for testing with the signal handler set to SIG_IGN.
12427         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12428         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12429
12430 2014-10-28  Pedro Alves  <palves@redhat.com>
12431
12432         PR gdb/17511
12433         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12434         * gdb.base/sigstep.exp (other_handler_location): New global.
12435         (advance): Support stepping into the signal handler, and running
12436         commands while in the handler.
12437         (in_handler_map): New global.
12438         (top level): In the advance test, add combinations for getting
12439         into the handler with stepping commands, and for running commands
12440         in the handler.  Add comment descripting the advancei tests.
12441
12442 2014-10-28  Pedro Alves  <palves@redhat.com>
12443
12444         * gdb.base/sigstep.exp: Use build_executable instead of
12445         prepare_for_testing.
12446         (top level): Move code that starts GDB, runs to main and creates a
12447         display to ...
12448         (restart): ... this new procedure.
12449         (top level): Move backtrace from signal handler test to ...
12450         (validate_backtrace): ... this new procedure.
12451         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12452         with_test_prefix.  Always restart GDB.
12453         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12454         with_test_prefix.  Always restart GDB.  No need to delete
12455         breakpoints after the test.
12456         (test_skip_handler): Remove prefix parameter.
12457         (skip_over_handler, breakpoint_to_handler)
12458         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12459         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12460         restart GDB.  No need to delete breakpoints after the test.
12461         (top level): Use foreach to call the test procedures with
12462         different commands.
12463
12464 2014-10-28  Pedro Alves  <palves@redhat.com>
12465
12466         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12467         instead of GNATS numbers.
12468         * gdb.base/sigbpt.exp: Likewise.
12469         * gdb.base/siginfo.exp: Likewise.
12470         * gdb.base/sigstep.exp: Likewise.
12471
12472 2014-10-27  Pedro Alves  <palves@redhat.com>
12473
12474         * gdb.base/sigstep.c (dummy): New global.
12475         (main): Issue a couple writes to the new global.
12476         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12477         procedures.
12478         (skip_over_handler): Use test_skip_handler.
12479         (top level): Call skip_over_handler for stepi and nexti too.
12480         (breakpoint_over_handler): Use test_skip_handler.
12481         (top level): Call breakpoint_over_handler for stepi and nexti too.
12482
12483 2014-10-27  Yao Qi  <yao@codesourcery.com>
12484
12485         * gdb.trace/tfile.c (adjust_function_address)
12486         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12487         function descriptor.
12488
12489 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12490
12491         * gdb.base/foll-fork.exp (test_follow_fork,
12492         catch_fork_child_follow): Check for updated fork messages emitted
12493         from infrun.c.
12494         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12495         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12496         vfork_and_exec_child_follow_through_step): Check for updated vfork
12497         messages emitted from infrun.c.
12498
12499 2014-10-24  Pedro Alves  <palves@redhat.com>
12500
12501         * gdb.base/corefile.exp: Remove references to ultrix.
12502         * gdb.base/interrupt.exp: Likewise.
12503         * gdb.base/whatis.exp: Likewise.
12504         * gdb.gdb/selftest.exp: Likewise.
12505         * gdb.threads/manythreads.exp: Likewise.
12506         * gdb.threads/print-threads.exp: Likewise.
12507         * gdb.threads/pthreads.exp:: Likewise.
12508         * gdb.threads/schedlock.exp: Likewise.
12509
12510 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12511
12512         * gdb.cp/non-trivial-retval.cc: Add a test case.
12513         * gdb.cp/non-trivial-retval.exp: Add a test.
12514
12515 2014-10-20  Yao Qi  <yao@codesourcery.com>
12516
12517         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12518         * gdb.python/py-objfile-script-gdb.py: New file.
12519         * gdb.python/py-objfile-script.exp: Update reference to
12520         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12521         of remote_download.  Remove the dest file.
12522
12523 2014-10-20  Yao Qi  <yao@codesourcery.com>
12524
12525         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12526         * gdb.base/step-line.exp: Likewise.
12527         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12528         * gdb.dwarf2/dw2-basic.exp: Likewise.
12529         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12530         * gdb.dwarf2/dw2-filename.exp: Likewise.
12531         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12532         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12533         * gdb.dwarf2/dw2-producer.exp: Likewise.
12534         * gdb.dwarf2/mac-fileno.exp: Likewise.
12535         * gdb.python/py-frame-args.exp: Likewise.
12536         * gdb.python/py-framefilter.exp: Likewise.
12537         * gdb.python/py-mi.exp: Likewise.
12538         * gdb.python/py-objfile-script.exp: Likewise
12539         * gdb.python/py-pp-integral.exp: Likewise.
12540         * gdb.python/py-pp-re-notag.exp: Likewise.
12541         * gdb.python/py-prettyprint.exp: Likewise.
12542         * gdb.python/py-section-script.exp: Likewise.
12543         * gdb.python/py-typeprint.exp: Likewise.
12544         * gdb.python/py-xmethods.exp: Likewise.
12545         * gdb.stabs/weird.exp: Likewise.
12546         * gdb.xml/tdesc-regs.exp: Likewise.
12547
12548 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12549
12550         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12551         (out_cu): Use addr_len for the size of addresses.
12552         (out_line): Likewise.  Size DW_LNE_set_address instruction
12553         according to addr_len.
12554         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12555         (FUNC): Add START_INSNS to definition.
12556
12557 2014-10-18  Yao Qi  <yao@codesourcery.com>
12558
12559         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12560         gdb_has_argv0 return true.
12561         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12562         check [target_info exists noargs], check [gdb_has_argv0]
12563         instead.
12564         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12565         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12566         procedures.
12567
12568 2014-10-17  Doug Evans  <dje@google.com>
12569
12570         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12571         event.
12572         * gdb.python/py-events.py: Add clear_objfiles event.
12573
12574 2014-10-17  Doug Evans  <dje@google.com>
12575
12576         * gdb.python/py-objfile.exp: Test progspace attribute.
12577
12578 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12579
12580         * gdb.guile/scm-breakpoint.exp: Do not assume any
12581         directory separators when matching source file paths.
12582         * gdb.python/py-breakpoint.exp: Likewise.
12583         * gdb.reverse/break-precsave.exp: Likewise.
12584         * gdb.reverse/break-reverse.exp: Likewise.
12585         * gdb.reverse/consecutive-precsave.exp: Likewise.
12586         * gdb.reverse/finish-precsave.exp: Likewise.
12587         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12588         * gdb.reverse/finish-reverse.exp: Likewise.
12589         * gdb.reverse/i386-precsave.exp: Likewise.
12590         * gdb.reverse/i387-env-reverse.exp: Likewise.
12591         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12592         * gdb.reverse/machinestate-precsave.exp: Likewise.
12593         * gdb.reverse/machinestate.exp: Likewise.
12594         * gdb.reverse/sigall-precsave.exp: Likewise.
12595         * gdb.reverse/solib-precsave.exp: Likewise.
12596         * gdb.reverse/step-precsave.exp: Likewise.
12597         * gdb.reverse/until-precsave.exp: Likewise.
12598         * gdb.reverse/watch-precsave.exp: Likewise.
12599         * gdb.reverse/watch-reverse.exp: Likewise.
12600
12601 2014-10-17  Yao Qi  <yao@codesourcery.com>
12602
12603         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12604         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12605
12606 2014-10-17  Pedro Alves  <palves@redhat.com>
12607
12608         PR gdb/17471
12609         * gdb.base/bg-execution-repeat.c: New file.
12610         * gdb.base/bg-execution-repeat.exp: New file.
12611
12612 2014-10-17  Pedro Alves  <palves@redhat.com>
12613
12614         PR gdb/17300
12615         * gdb.base/continue-all-already-running.c: New file.
12616         * gdb.base/continue-all-already-running.exp: New file.
12617
12618 2014-10-17  Pedro Alves  <palves@redhat.com>
12619
12620         PR gdb/17472
12621         * gdb.base/annota-input-while-running.c: New file.
12622         * gdb.base/annota-input-while-running.exp: New file.
12623
12624 2014-10-17  Pedro Alves  <palves@redhat.com>
12625
12626         * gdb.base/callfuncs.exp: emove references to osf.
12627         * gdb.base/sigall.exp: Likewise.
12628         * gdb.gdb/selftest.exp: Likewise.
12629         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12630         * gdb.mi/non-stop.c: Likewise.
12631         * gdb.mi/pthreads.c: Likewise.
12632         * gdb.reverse/sigall-precsave.exp: Likewise.
12633         * gdb.reverse/sigall-reverse.exp: Likewise.
12634         * gdb.threads/pthreads.c: Likewise.
12635         * gdb.threads/pthreads.exp: Likewise.
12636
12637 2014-10-17  Yao Qi  <yao@codesourcery.com>
12638
12639         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12640         check 'target_info exists noargs'.
12641         (test_command_prompt_position): Likewise.
12642         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12643         Remove "set args".
12644         (progvar_simple_while_test): Likewise.
12645         (progvar_complex_if_while_test): Likewise.
12646         (if_while_breakpoint_command_test): Likewise.
12647         (infrun_breakpoint_command_test): Likewise.
12648         (breakpoint_command_test): Likewise.
12649         (watchpoint_command_test): Likewise.
12650         (bp_deleted_in_command_test): Likewise.
12651         (temporary_breakpoint_commands): Likewise.
12652
12653 2014-10-16  Yao Qi  <yao@codesourcery.com>
12654
12655         * gdb.base/remotetimeout.exp: Remove noargs checking.
12656
12657 2014-10-15  Pedro Alves  <palves@redhat.com>
12658
12659         PR breakpoints/9649
12660         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12661         * gdb.base/breakpoint-in-ro-region.exp
12662         (probe_target_hardware_step): New procedure.
12663         (top level): Probe hardware stepping and hardware breakpoint
12664         support.  Test stepping through a read-only region, with both
12665         "breakpoint auto-hw" on and off and both "always-inserted" on and
12666         off.
12667
12668 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12669
12670         * gdb.dlang/demangle.exp: Update for demangling changes.
12671
12672 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12673
12674         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12675         * gdb.cp/non-trivial-retval.exp: Add new tests.
12676
12677 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12678
12679         PR c++/13403
12680         PR c++/15154
12681         * gdb.cp/non-trivial-retval.cc: New file.
12682         * gdb.cp/non-trivial-retval.exp: New file.
12683
12684 2014-10-15  Yao Qi  <yao@codesourcery.com>
12685
12686         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12687         remote host.
12688
12689 2014-10-15  Yao Qi  <yao@codesourcery.com>
12690
12691         * gdb.python/py-symbol.exp: Match file base name if host is
12692         remote, otherwise match file name with dir name.
12693         * gdb.python/py-symtab.exp: Likewise.
12694         * gdb.python/python.exp: Likewise.
12695
12696 2014-10-15  Yao Qi  <yao@codesourcery.com>
12697
12698         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12699         pattern.
12700         * gdb.python/py-symtab.exp: Likewise.
12701         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12702         locationn.
12703
12704 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12705
12706         * gdb.ada/addr_arith: New testcase.
12707
12708 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12709
12710         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12711         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12712         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12713         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12714
12715 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12716
12717         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12718         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12719         * gdb.arch/stap-eval-lang-ada.exp: New file.
12720
12721 2014-10-14  Yao Qi  <yao@codesourcery.com>
12722
12723         * gdb.mi/mi-var-child.c (nothing1): New function.
12724         (nothing2): New function.
12725         (do_children_tests): Set function pointers by nothing1 and
12726         nothing2.
12727         * gdb.mi/mi-var-child.exp: Step over new added statements.
12728         Update test to match the new output.
12729         * gdb.mi/var-cmd.c (nothing1): New function.
12730         (nothing2): New function.
12731         (do_children_tests): Set function pointers by  nothing1 and
12732         nothing2.
12733         * gdb.mi/mi-var-display.exp: Update test to match output.
12734         Step to the line specified by $line_dct_nothing.
12735         Increase the number of lines to step.
12736
12737 2014-10-14  Yao Qi  <yao@codesourcery.com>
12738
12739         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12740         tests.
12741         * gdb.mi/mi2-var-child.exp: Likewise.
12742
12743 2014-10-13  Doug Evans  <dje@google.com>
12744
12745         * gdb.python/py-objfile.exp: Change name of file name test.
12746
12747 2014-10-13  Doug Evans  <dje@google.com>
12748
12749         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12750         from the start of the CU.
12751
12752 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12753             Yao Qi  <yao@codesourcery.com>
12754
12755         Fix "save breakpoints" for "catch" command.
12756         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12757         Remove -nonewline.  Match also the added "main" line.
12758
12759 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12760
12761         Fix "save breakpoints" for "disable $bpnum" command.
12762         * gdb.base/save-bp.c (main): Add label.
12763         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12764
12765 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12766
12767         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12768
12769 2014-10-11  Yao Qi  <yao@codesourcery.com>
12770
12771         * gdb.server/server-kill.exp: Execute command
12772         "set remote trace-status-packet on" before "tstatus".
12773
12774 2014-10-11  Yao Qi  <yao@codesourcery.com>
12775
12776         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12777         (main): Call getppid.
12778         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12779         and continue to it.  Read variable "server_pid".
12780
12781 2014-10-11  Yao Qi  <yao@codesourcery.com>
12782
12783         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12784
12785 2014-10-11  Yao Qi  <yao@codesourcery.com>
12786
12787         * gdb.threads/thread-find.exp: Don't execute command
12788         "info threads".
12789         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12790         * gdb.threads/linux-dp.exp: Don't check the condition
12791         $threads_created equals to zero.
12792
12793 2014-10-10  Pedro Alves  <palves@redhat.com>
12794
12795         * gdb.base/bigcore.exp: Remove references to IRIX.
12796         * gdb.base/funcargs.exp: Likewise.
12797         * gdb.base/interrupt.exp: Likewise.
12798         * gdb.base/mips_pro.exp: Likewise.
12799         * gdb.base/nodebug.exp: Likewise.
12800         * gdb.base/setvar.exp: Likewise.
12801         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12802
12803 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12804             Pedro Alves  <palves@redhat.com>
12805
12806         PR symtab/14466
12807         * gdb.base/vdso-warning.c: New file.
12808         * gdb.base/vdso-warning.exp: New file.
12809
12810 2014-10-02  Doug Evans  <dje@google.com>
12811
12812         * gdb.base/structs.c (main): Don't run forever.
12813
12814 2014-10-02  Pedro Alves  <palves@redhat.com>
12815
12816         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12817         (top level) <stop threads 1, stop threads 2>: Use it.
12818
12819 2014-10-02  Pedro Alves  <palves@redhat.com>
12820
12821         * gdb.threads/break-while-running.exp (test): Add new
12822         'update_thread_list' argument.  Skip "info threads" if false.
12823         (top level): Add new 'update_thread_list' axis.
12824
12825 2014-10-02  Pedro Alves  <palves@redhat.com>
12826
12827         PR breakpoints/17431
12828         * gdb.base/execl-update-breakpoints.c: New file.
12829         * gdb.base/execl-update-breakpoints.exp: New file.
12830
12831 2014-10-01  Pedro Alves  <palves@redhat.com>
12832
12833         * gdb.base/breakpoint-in-ro-region.c: New file.
12834         * gdb.base/breakpoint-in-ro-region.exp: New file.
12835
12836 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12837
12838         * gdb.mi/mi-exit-code.exp: New file.
12839         * gdb.mi/mi-exit-code.c: New file.
12840
12841 2014-09-30  Yao Qi  <yao@codesourcery.com>
12842
12843         * lib/prelink-support.exp (build_executable_own_libs): Error if
12844         the target isn't native.
12845
12846 2014-09-30  Yao Qi  <yao@codesourcery.com>
12847
12848         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12849         false.
12850
12851 2014-09-22  Pedro Alves  <palves@redhat.com>
12852
12853         * gdb.threads/break-while-running.exp: New file.
12854         * gdb.threads/break-while-running.c: New file.
12855
12856 2014-09-19  Yao Qi  <yao@codesourcery.com>
12857
12858         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12859         Invoke test.  Restart GDB with --readnow and invoke test again.
12860
12861 2014-09-19  Yao Qi  <yao@codesourcery.com>
12862
12863         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12864         proc set_breakpoint_on_gcd_function.  Invoke
12865         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12866         invoke set_breakpoint_on_gcd_function again.
12867
12868 2014-09-18  Doug Evans  <dje@google.com>
12869
12870         * gdb.dwarf2/symtab-producer.exp: New file.
12871
12872 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12873
12874         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12875         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12876         * gdb.base/global-var-nested-by-dso.c: Likewise.
12877         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12878
12879 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12880             Pedro Alves  <palves@redhat.com>
12881
12882         * gdb.base/watch-bitfields.exp: Pass string other than test file
12883         name to prepare_for_testing.
12884         (watch): New procedure.
12885         (expect_watchpoint): Use with_test_prefix.
12886         (top level): Factor out tests to ...
12887         (test_watch_location, test_regular_watch): ... these new
12888         procedures, and use with_test_prefix and gdb_continue_to_end.
12889
12890 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12891
12892         PR breakpoints/12526
12893         * gdb.base/watch-bitfields.exp: New file.
12894         * gdb.base/watch-bitfields.c: New file.
12895
12896 2014-09-16  Pedro Alves  <palves@redhat.com>
12897
12898         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12899         software and hardware addresses, not software address against
12900         itself.
12901
12902 2014-09-16  Pedro Alves  <palves@redhat.com>
12903
12904         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12905         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12906
12907 2014-09-16  Pedro Alves  <palves@redhat.com>
12908
12909         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12910         files.
12911         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12912         "*-*-vxworks*" throughout.
12913         * gdb.base/break.exp: Likewise.
12914         * gdb.base/default.exp: Likewise.
12915         * gdb.base/scope.exp: Likewise.
12916         * gdb.base/sepdebug.exp: Likewise.
12917         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12918         throughout.
12919         * gdb.base/run.c: Likewise.
12920         * gdb.base/sepdebug.c: Likewise.
12921         * gdb.hp/gdb.aCC/run.c: Likewise.
12922         * gdb.reverse/until-reverse.c: Likewise.
12923         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12924
12925 2014-09-16  Yao Qi  <yao@codesourcery.com>
12926
12927         * boards/local-remote-host-native.exp: New file.
12928
12929 2014-09-14  Doug Evans  <xdje42@gmail.com>
12930
12931         * gdb.threads/queue-signal.c (thread_count): New variable.
12932         (thread_count_mutex, thread_count_condvar): New variables.
12933         (incr_thread_count, wait_all_threads_running): New functions.
12934         (main): Wait for all threads to be in their thread functions.
12935
12936 2014-09-13  Doug Evans  <xdje42@gmail.com>
12937
12938         * gdb.threads/queue-signal.c: New file.
12939         * gdb.threads/queue-signal.exp: New file.
12940
12941 2014-09-13  Doug Evans  <xdje42@gmail.com>
12942
12943         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12944         be consistent with what default_gdb_init uses.
12945         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12946         the plain text of the prompt.  Add some logging printfs.
12947         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12948
12949 2014-09-12  Pedro Alves  <palves@redhat.com>
12950
12951         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12952         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12953         * gdb.arch/i386-size-overlap.exp: Likewise.
12954         * gdb.arch/i386-size.exp: Likewise.
12955         * gdb.arch/i386-unwind.exp: Likewise.
12956         * gdb.base/a2-run.exp: Likewise.
12957         * gdb.base/break.exp: Likewise.
12958         * gdb.base/charset.exp: Likewise.
12959         * gdb.base/chng-syms.exp: Likewise.
12960         * gdb.base/commands.exp: Likewise.
12961         * gdb.base/dbx.exp: Likewise.
12962         * gdb.base/find.exp: Likewise.
12963         * gdb.base/funcargs.exp: Likewise.
12964         * gdb.base/jit-simple.exp: Likewise.
12965         * gdb.base/reread.exp: Likewise.
12966         * gdb.base/sepdebug.exp: Likewise.
12967         * gdb.base/step-bt.exp: Likewise.
12968         * gdb.cp/mb-inline.exp: Likewise.
12969         * gdb.cp/mb-templates.exp: Likewise.
12970         * gdb.objc/basicclass.exp: Likewise.
12971         * gdb.threads/killed.exp: Likewise.
12972
12973 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12974
12975         PR tdep/17379
12976         * gdb.arch/powerpc-stackless.S: New file.
12977         * gdb.arch/powerpc-stackless.exp: New file.
12978
12979 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12980
12981         * gdb.base/attach.c: Include unistd.h.
12982         (main): Call alarm.  Add label postloop.
12983         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12984         gdb_breakpoint, gdb_continue_to_breakpoint.
12985         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12986
12987 2014-09-11  Pedro Alves  <palves@redhat.com>
12988
12989         PR gdb/17347
12990         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12991         * gdb.base/attach.exp (test_command_line_attach_run): New
12992         procedure.
12993         (top level): Call it.
12994
12995 2014-09-11  Pedro Alves  <palves@redhat.com>
12996
12997         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12998         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12999         (do_command_attach_tests): Use spawn_wait_for_attach.
13000         * gdb.base/solib-overlap.exp: Likewise.
13001         * gdb.multi/multi-attach.exp: Likewise.
13002         * gdb.python/py-prompt.exp: Likewise.
13003         * gdb.python/py-sync-interp.exp: Likewise.
13004         * gdb.server/ext-attach.exp: Likewise.
13005
13006 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13007
13008         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13009         command in testcase.  Simplify testcase.
13010
13011 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13012
13013         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13014
13015 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13016
13017         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13018
13019 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13020
13021         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13022
13023 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13024
13025         * gdb.dwarf2/dynarr-ptr.c: New file.
13026         * gdb.dwarf2/dynarr-ptr.exp: New file.
13027
13028 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13029
13030         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13031         of 30 rather than hardcoding 120 for a slow test case.  Take the
13032         `gdb,timeout' target setting into account for this calculation.
13033         Don't extend the timeout for the test cases that don't need it.
13034
13035 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13036
13037         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13038         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13039         target setting into account for this calculation.
13040         * gdb.reverse/until-precsave.exp: Increase the timeout by
13041         a factor of 15 and 3 respectively rather than adding 120
13042         for a pair of slow test cases.  Take the `gdb,timeout'
13043         target setting into account for this calculation.
13044
13045 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13046
13047         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13048         timeout, don't pass one down to gdb_expect.
13049         (gdb_expect): Rework timeout selection.
13050
13051 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13052
13053         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13054         exception on timeout.
13055         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13056         (gdbserver_start_extended): Catch any `gdbserver_start' error
13057         exceptions.
13058         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13059         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13060         `gdbserver_gdb_load' error exceptions.
13061
13062 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13063
13064         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13065         120 on waiting for the TCP socket to open.
13066
13067 2014-09-09  Doug Evans  <xdje42@gmail.com>
13068
13069         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13070         _caller_matches, _any_caller_is, _any_caller_matches.
13071
13072 2014-09-09  Doug Evans  <xdje42@gmail.com>
13073
13074         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13075
13076 2014-09-09  Yao Qi  <yao@codesourcery.com>
13077
13078         * gdb.mi/mi-var-display.exp: Set print symbol off.
13079
13080 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13081
13082         PR gdb/17035
13083         * gdb.base/commands.exp: Add tests to verify user-defined
13084         commands with empty bodies.
13085         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13086         python commands in `show user command`.
13087         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13088         scheme commands in `show user command`.
13089
13090 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13091
13092         PR python/17355
13093         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13094         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13095         * gdb.python/py-framefilter-invalidarg.exp: New file.
13096         * gdb.python/py-framefilter-invalidarg.py: New file.
13097
13098 2014-09-06  Doug Evans  <xdje42@gmail.com>
13099
13100         PR 15276
13101         * gdb.python/py-caller-is.c: New file.
13102         * gdb.python/py-caller-is.exp: New file.
13103
13104 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13105
13106         PR gdb/17235
13107         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13108         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13109
13110 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13111
13112         PR fortran/17237
13113         * gdb.fortran/print-formatted.exp: New file.
13114         * gdb.fortran/print-formatted.f90: Likewise.
13115
13116 2014-09-03  Sasha Smundak  <asmundak@google.com>
13117
13118         * gdb.python/py-frame.exp: Test Frame.read_register.
13119
13120 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13121
13122         PR python/16699
13123         * gdb.python/py-completion.exp: New file.
13124         * gdb.python/py-completion.py: Likewise.
13125
13126 2014-08-28  Doug Evans  <dje@google.com>
13127
13128         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13129         eax,etc. are live with values set by gdb and thus the compiler can't
13130         use them.
13131         * gdb.arch/i386-pseudo.c (main): Ditto.
13132
13133 2014-08-27  Doug Evans  <dje@google.com>
13134
13135         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13136
13137 2014-08-25  Doug Evans  <dje@google.com>
13138
13139         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13140         (main): Ditto.
13141
13142 2014-08-25  Doug Evans  <dje@google.com>
13143
13144         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13145
13146 2014-08-24  Yao Qi  <yao@codesourcery.com>
13147
13148         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13149         symbol off.
13150         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13151
13152 2014-08-22  Doug Evans  <dje@google.com>
13153
13154         PR 17276
13155         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13156         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13157         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13158
13159 2014-08-22  Yao Qi  <yao@codesourcery.com>
13160
13161         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13162         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13163         * gdb.python/python.exp: Likewise.  Use .py file on the host
13164         instead of the build.
13165
13166 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13167
13168         * gdb.threads/gcore-stale-thread.c: New file.
13169         * gdb.threads/gcore-stale-thread.exp: New file.
13170
13171 2014-08-21  Pedro Alves  <palves@redhat.com>
13172
13173         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13174         * gdb.base/gcore-relro-pie.exp: Likewise.
13175         * gdb.base/gcore-relro.exp: Likewise.
13176         * gdb.base/gcore.exp: Likewise.
13177         * gdb.base/print-symbol-loading.exp: Likewise.
13178         * gdb.threads/gcore-thread.exp: Likewise.
13179         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13180
13181 2014-08-20  Pedro Alves  <palves@redhat.com>
13182             Jan Kratochvil  <jan.kratochvil@redhat.com>
13183
13184         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13185         configure.
13186         (EXPECT): Handle READ1 being set.
13187         (all): Depend on EXTRA_RULES.
13188         (check-read1, expect-read1, read1.so, read1): New rules.
13189         * README (Testsuite Parameters): Document the READ1 make variable.
13190         (Race detection): New section.
13191         * configure: Regenerate.
13192         * configure.ac: If build==host==target, and running under a
13193         GNU/glibc system, add read1 to the extra Makefile rules.
13194         (EXTRA_RULES): AC_SUBST it.
13195         * lib/read1.c: New file.
13196
13197 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13198
13199         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13200         the handling of variables declared as a typedef to an array
13201         which a DW_AT_data_location attribute.
13202
13203 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13204             Pedro Alves  <palves@redhat.com>
13205
13206         PR symtab/14604
13207         PR symtab/14605
13208         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13209         gdb_test.
13210
13211 2014-08-19  Pedro Alves  <palves@redhat.com>
13212
13213         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13214
13215 2014-08-19  Yao Qi  <yao@codesourcery.com>
13216
13217         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13218         right line.
13219
13220 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13221
13222         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13223
13224 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13225
13226         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13227         attribute in array range.
13228
13229 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13230
13231         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13232
13233 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13234
13235         PR c++/17132
13236         * gdb.cp/pr17132.cc: New file.
13237         * gdb.cp/pr17132.exp: New file.
13238
13239 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13240
13241         * gdb.python/py-xmethods.py (A_getarrayind)
13242         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13243         Use 'print' with function call syntax.
13244         (E_method_matcher.match): Fix tab vs space indentation mixup.
13245
13246 2014-08-15  Yao Qi  <yao@codesourcery.com>
13247
13248         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13249         false.
13250
13251 2014-08-15  Yao Qi  <yao@codesourcery.com>
13252
13253         * gdb.cp/casts.exp: Set print symbol off.
13254         * gdb.cp/class2.exp: Likewise.
13255         * gdb.cp/overload.exp: Likewise.
13256         * gdb.cp/templates.exp: Likewise.
13257
13258 2014-08-11  Doug Evans  <dje@google.com>
13259
13260         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13261         (test_load_shlib): Update.
13262
13263 2014-08-09  Yao Qi  <yao@codesourcery.com>
13264
13265         * gdb.base/display.exp: Invoke is_address_zero_readable.
13266         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13267         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13268         * gdb.base/hbreak-unmapped.exp: Return if
13269         is_address_zero_readable returns true.
13270         * gdb.base/signest.exp: Likewise.
13271         * gdb.base/signull.exp: Likewise.
13272         * gdb.base/sigbpt.exp: Likewise.
13273         * gdb.guile/scm-disasm.exp: Do the test if
13274         is_address_zero_readable returns false.
13275         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13276         * gdb.python/py-arch.exp: Likewise.
13277         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13278         * lib/gdb.exp (is_address_zero_readable): New proc.
13279
13280 2014-08-09  Yao Qi  <yao@codesourcery.com>
13281
13282         PR testsuite/13443
13283         * gdb.mi/mi-var-display.exp: Make test messages unique.
13284
13285 2014-08-04  Tom Tromey  <tromey@redhat.com>
13286
13287         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13288         target 0".
13289
13290 2014-08-04  Tom Tromey  <tromey@redhat.com>
13291
13292         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13293         "target_resume".
13294
13295 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13296
13297         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13298         inner_vla_struct_object_size.
13299         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13300         as xfail.
13301
13302 2014-07-30  Pedro Alves  <palves@redhat.com>
13303
13304         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13305         comment.
13306
13307 2014-07-29  Yao Qi  <yao@codesourcery.com>
13308
13309         PR gdb/17206
13310         * gdb.base/until-nodebug.exp: New.
13311
13312 2014-07-28  Doug Evans  <xdje42@gmail.com>
13313
13314         PR guile/17203
13315         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13316         previously existing parameter, and previously ambiguously spelled
13317         parameter.
13318
13319 2014-07-28  Will Newton  <will.newton@linaro.org>
13320
13321         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13322
13323 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13324             Doug Evans  <xdje42@gmail.com>
13325
13326         PR guile/17146
13327         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13328
13329 2014-07-25  Pedro Alves  <palves@redhat.com>
13330
13331         * gdb.threads/signal-command-handle-nopass.c: New file.
13332         * gdb.threads/signal-command-handle-nopass.exp: New file.
13333         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13334         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13335         * gdb.threads/signal-delivered-right-thread.c: New file.
13336         * gdb.threads/signal-delivered-right-thread.exp: New file.
13337
13338 2014-07-25  Pedro Alves  <palves@redhat.com>
13339
13340         * gdb.base/double-prompt-target-event-error.exp
13341         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13342         match.
13343         (cancel_pagination_in_target_event): Rework double prompt
13344         detection.
13345         * gdb.base/paginate-after-ctrl-c-running.exp
13346         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13347         <return>' match.
13348         * gdb.base/paginate-bg-execution.exp
13349         (test_bg_execution_pagination_return)
13350         (test_bg_execution_pagination_cancel): Remove '-notransfer
13351         <return>' matches.
13352         * gdb.base/paginate-execution-startup.exp
13353         (test_fg_execution_pagination_return)
13354         (test_fg_execution_pagination_cancel): Remove '-notransfer
13355         <return>' matches.
13356         * gdb.base/paginate-inferior-exit.exp
13357         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13358         match.
13359         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13360         * lib/gdb.exp (pagination_prompt): Run text through
13361         string_to_regexp.
13362         (gdb_test_multiple): Match $pagination_prompt instead of
13363         "<return>".
13364         (string_to_regexp): Move to lib/gdb-utils.exp.
13365
13366 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13367
13368         * gdb.arch/amd64-entry-value-paramref.S: New file.
13369         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13370         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13371         * gdb.arch/amd64-optimout-repeat.S: New file.
13372         * gdb.arch/amd64-optimout-repeat.c: New file.
13373         * gdb.arch/amd64-optimout-repeat.exp: New file.
13374
13375 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13376
13377         PR gdb/17170
13378         * gdb.base/statistics.exp: New file.
13379
13380 2014-07-17  Doug Evans  <dje@google.com>
13381
13382         PR gdb/17170
13383         * gdb.base/maint.exp: Update testing of per-command stats.
13384
13385 2014-07-16  Pedro Alves  <palves@redhat.com>
13386
13387         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13388         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13389         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13390         (tfile_write_buf): New functions.
13391         (add_memory_block): Rewrite using the above.
13392         (adjust_function_address): New function.
13393         (FUNCTION_ADDRESS): New macro.
13394         (write_basic_trace_file): Remove short_x local, and use
13395         tfile_write_16. Change type of func_addr local to unsigned long
13396         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13397         here.  Cast argument of add_memory_block to char pointer.
13398         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13399         (main): Remove parameters.
13400         * gdb.trace/tfile.exp: Remove nowarnings.
13401
13402 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13403
13404         * gdb.base/debug-expr.exp: Test string evaluation with
13405         "debug expression" on.
13406
13407 2014-07-15  Pedro Alves  <palves@redhat.com>
13408
13409         * gdb.base/reread.exp: Use clean_restart.
13410
13411 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13412
13413         * gdb.arch/avr-flash-qualifer.c: New.
13414         * gdb.arch/avr-flash-qualifer.exp: New.
13415
13416 2014-07-14  Pedro Alves  <palves@redhat.com>
13417
13418         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13419         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13420
13421 2014-07-14  Pedro Alves  <palves@redhat.com>
13422
13423         * gdb.base/double-prompt-target-event-error.c: New file.
13424         * gdb.base/double-prompt-target-event-error.exp: New file.
13425
13426 2014-07-14  Pedro Alves  <palves@redhat.com>
13427
13428         PR gdb/17072
13429         * gdb.base/paginate-inferior-exit.c: New file.
13430         * gdb.base/paginate-inferior-exit.exp: New file.
13431
13432 2014-07-14  Pedro Alves  <palves@redhat.com>
13433
13434         PR gdb/17072
13435         * gdb.base/paginate-bg-execution.c: New file.
13436         * gdb.base/paginate-bg-execution.exp: New file.
13437
13438 2014-07-14  Pedro Alves  <palves@redhat.com>
13439
13440         PR gdb/17072
13441         * gdb.base/paginate-execution-startup.c: New file.
13442         * gdb.base/paginate-execution-startup.exp: New file.
13443         * lib/gdb.exp (pagination_prompt): New global.
13444         (default_gdb_spawn): New procedure, factored out from
13445         default_gdb_spawn.
13446         (default_gdb_start): Adjust to call default_gdb_spawn.
13447         (gdb_spawn): New procedure.
13448
13449 2014-07-14  Pedro Alves  <palves@redhat.com>
13450
13451         * lib/gdb.exp (gdb_assert): New procedure.
13452         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13453
13454 2014-07-14  Pedro Alves  <palves@redhat.com>
13455
13456         * gdb.base/execution-termios.c: New file.
13457         * gdb.base/execution-termios.exp: New file.
13458
13459 2014-07-14  Tom Tromey  <tromey@redhat.com>
13460
13461         * gdb.cp/vla-cxx.cc: New file.
13462         * gdb.cp/vla-cxx.exp: New file.
13463
13464 2014-07-14  Tom Tromey  <tromey@redhat.com>
13465
13466         * gdb.reverse/rerun-prec.c: New file.
13467         * gdb.reverse/rerun-prec.exp: New file.
13468
13469 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13470             Maciej W. Rozycki  <macro@codesourcery.com>
13471
13472         * lib/gdb-utils.exp: New file.
13473         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13474         inline `gdb_init_command' processing.
13475         (gdb_start_cmd): Likewise.
13476         * lib/mi-support.exp (mi_run_cmd): Likewise.
13477         * README: Document `gdb_init_command' and `gdb_init_commands'.
13478
13479 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13480
13481         Fix false FAIL running under a very long directory name.
13482         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13483         and "set print elements 10000".  Twice.
13484
13485 2014-07-11  Yao Qi  <yao@codesourcery.com>
13486
13487         * gdb.base/exprs.exp: "set print symbol off".
13488
13489 2014-07-11  Pedro Alves  <palves@redhat.com>
13490
13491         * gdb.threads/kill.c: New file.
13492         * gdb.threads/kill.exp: New file.
13493
13494 2014-07-10  Yao Qi  <yao@codesourcery.com>
13495
13496         * gdb.trace/tfile.c (write_basic_trace_file)
13497         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13498         address written to trace file.
13499
13500 2014-07-09  Pedro Alves  <palves@redhat.com>
13501
13502         * gdb.base/attach-wait-input.exp: New file.
13503         * gdb.base/attach-wait-input.c: New file.
13504
13505 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13506
13507         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13508         setting up test structures.
13509         (main): Call new test function.
13510         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13511         test function, continue into test function and walk test
13512         structures.
13513
13514 2014-07-02  Yao Qi  <yao@codesourcery.com>
13515
13516         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13517         'bar_start' at the beginning of functions 'foo' and 'bar'
13518         respectively.
13519         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13520         instead of 'foo' and 'bar'.
13521
13522 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13523
13524         * gdb.btrace/segv.exp: New.
13525         * gdb.btrace/segv.c: New.
13526
13527 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13528
13529         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13530         instruction.
13531
13532 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13533
13534         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13535         vulture, vilify, villar): New volatile array constants.
13536         (vindictive, vegetation): New const volatile array constants.
13537         * gdb.base/volatile.exp: Test volatile and const volatile array
13538         types.
13539
13540 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13541
13542         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13543         target lacks support for awatch, rwatch, or hbreak.
13544
13545 2014-06-27  Yao Qi  <yao@codesourcery.com>
13546
13547         * gdb.multi/dummy-frame-restore.exp: New.
13548         * gdb.multi/dummy-frame-restore.c: New.
13549
13550 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13551
13552         * gdb.btrace/gcore.exp: New.
13553
13554 2014-06-23  Pedro Alves  <palves@redhat.com>
13555
13556         * gdb.base/watchpoint-reuse-slot.c: New file.
13557         * gdb.base/watchpoint-reuse-slot.exp: New file.
13558
13559 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13560
13561         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13562         progspace's filename in 'info', 'enable' and 'disable' command
13563         tests.
13564
13565 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13566
13567         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13568         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13569         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13570
13571 2014-06-20  Gary Benson  <gbenson@redhat.com>
13572
13573         * gdb.arch/i386-avx.exp: Fix include file location.
13574         * gdb.arch/i386-sse.exp: Likewise.
13575
13576 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13577
13578         * gdb.dlang/expression.exp: New file.
13579
13580 2014-06-19  Pedro Alves  <palves@redhat.com>
13581
13582         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13583         out from ...
13584         (top level): ... here.  Iterate running tests under different
13585         scheduler-locking settings.
13586
13587 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13588
13589         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13590         to DW_FORM_addr and use non-zero addresses.
13591
13592 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13593
13594         PR gdb/17017
13595         * gdb.python/py-xmethods.cc: Add global function call counters and
13596         increment them in their respective functions.  Remove "cout"
13597         statements.
13598         * gdb.python/py-xmethods.exp: Make tests check the global function
13599         call counters instead of depending on inferior IO.
13600
13601 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13602
13603         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13604         Deleted procedure.
13605         (explicit_fork_parent_follow): Deleted procedure.
13606         (explicit_fork_child_follow): Deleted procedure.
13607         (test_follow_fork): New procedure.
13608         (do_fork_tests): Replace calls to deleted procedures with
13609         calls to test_follow_fork and reset GDB for subsequent
13610         procedure calls.
13611
13612 2014-06-17  Yao Qi  <yao@codesourcery.com>
13613
13614         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13615         CP1252.
13616
13617 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13618
13619         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13620         Initialize ptr and S explicitly.
13621         (skip_type_update_when_not_use_rtti_test): Likewise.
13622
13623 2014-06-16  Keith Seitz  <keiths@redhat.com>
13624
13625         PR mi/15863
13626         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13627         the inferior is started.
13628
13629 2014-06-16  Pedro Alves  <palves@redhat.com>
13630
13631         * gdb.base/break-main-file-remove-fail.c: New file.
13632         * gdb.base/break-main-file-remove-fail.exp: New file.
13633         * gdb.base/break-unload-file.exp: Use build_executable instead of
13634         prepare_for_testing.
13635         (test_break): New parameter "initial_load".  Handle it.
13636         (top level): Add initial_load cmdline/file axis.
13637
13638 2014-06-12  Tom Tromey  <tromey@redhat.com>
13639
13640         * gdb.base/completion.exp: Don't use directory name in test.
13641
13642 2014-06-09  Gary Benson  <gbenson@redhat.com>
13643
13644         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13645         separate the always-available ANSI-standard signals from the
13646         signals that require checking.
13647         (main): Likewise.
13648         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13649         Likewise.
13650         (main): Likewise.
13651
13652 2014-06-07  Keith Seitz  <keiths@redhat.com>
13653
13654         Revert:
13655         PR c++/16253
13656         * gdb.cp/var-tag.cc: New file.
13657         * gdb.cp/var-tag.exp: New file.
13658         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13659         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13660         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13661         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13662
13663 2014-06-06  Doug Evans  <xdje42@gmail.com>
13664
13665         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13666
13667 2014-06-06  Pedro Alves  <palves@redhat.com>
13668
13669         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13670         in target debug output instead of looking at RSP packets,
13671         disabling the test on any target that uses hardware stepping.
13672         Update comments.
13673
13674 2014-06-06  Pedro Alves  <palves@redhat.com>
13675
13676         * gdb.base/break-unload-file.exp: Fix typo.
13677
13678 2014-06-06  Yao Qi  <yao@codesourcery.com>
13679
13680         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13681         from "jit_function" to "^jit_function".
13682
13683 2014-06-06  Yao Qi  <yao@codesourcery.com>
13684
13685         * gdb.base/async.c (foo): Add one statement.
13686         * gdb.base/async.exp: Get the next instruction address and
13687         match the output of "nexti" by instruction address.  Match
13688         the hex address in the output of "finish".
13689
13690 2014-06-06  Gary Benson  <gbenson@redhat.com>
13691
13692         * gdb.base/call-signals.c: Remove preprocessor conditionals
13693         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13694         SIGSEGV and SIGTERM.
13695         * gdb.base/sigall.c: Likewise.
13696         * gdb.base/unwindonsignal.c: Likewise.
13697         * gdb.reverse/sigall-reverse.c: Likewise.
13698
13699 2014-06-06  Yao Qi  <yao@codesourcery.com>
13700
13701         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13702         readable, skip the test.
13703
13704 2014-06-06  Yao Qi  <yao@codesourcery.com>
13705
13706         * gdb.threads/staticthreads.c (thread_function): Move the line
13707         setting breakpoint on forward.
13708         * gdb.threads/staticthreads.exp: Update comments.
13709
13710 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13711
13712         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13713         "history-append! type error".
13714
13715 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13716
13717         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13718         erroneous dprintf expected input.
13719
13720 2014-06-04  Doug Evans  <xdje42@gmail.com>
13721
13722         * gdb.guile/scm-generics.exp: Delete.
13723
13724 2014-06-04  Doug Evans  <xdje42@gmail.com>
13725
13726         * gdb.guile/scm-breakpoint.exp: Update.
13727         Add tests for breakpoint registration.
13728
13729 2014-06-04  Tom Tromey  <tromey@redhat.com>
13730
13731         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13732         VLA-in-union.
13733         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13734         inner_vla_struct, vla_union types.  Initialize objects of those
13735         types and compute their sizes.
13736
13737 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13738             Hui Zhu  <hui@codesourcery.com>
13739
13740         * gdb.base/fileio.exp: Add test for shell not available as well as
13741         available.
13742         * gdb.base/fileio.c (test_system): Check for shell twice.
13743
13744 2014-06-04  Yao Qi  <yao@codesourcery.com>
13745
13746         * gdb.base/auto-connect-native-target.exp: Remove redundant
13747         space from the regexp pattern.
13748
13749 2014-06-04  Yao Qi  <yao@codesourcery.com>
13750
13751         * gdb.base/default.exp: Replace "child" with "native" in
13752         regexp pattern.
13753
13754 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13755
13756         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13757         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13758         * gdb.python/py-xmethods.py: Python script supporting the
13759         new testcase and tests.
13760
13761 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13762             Pedro Alves  <palves@redhat.com>
13763
13764         PR breakpoints/17000
13765         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13766         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13767
13768 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13769
13770         * gdb.base/subst.exp: Add tests to verify partial path matching
13771         output.
13772
13773 2014-06-03  Pedro Alves  <palves@redhat.com>
13774
13775         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13776         target that doesn't use software single-stepping.
13777
13778 2014-06-03  Pedro Alves  <palves@redhat.com>
13779
13780         PR breakpoints/17000
13781         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13782         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13783
13784 2014-06-02  Doug Evans  <xdje42@gmail.com>
13785
13786         * gdb.guile/scm-parameter.exp: New file.
13787
13788 2014-06-02  Doug Evans  <xdje42@gmail.com>
13789
13790         * gdb.guile/scm-cmd.c: New file.
13791         * gdb.guile/scm-cmd.exp: New file.
13792
13793 2014-06-02  Doug Evans  <xdje42@gmail.com>
13794
13795         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13796         pretty-printer lookup.
13797         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13798         (make-pp_s-printer): Call it.
13799         (make-pretty-printer-from-dict): New function.
13800         (lookup-pretty-printer-maker-from-dict): New function.
13801         (*pretty-printer*): Simplify.
13802         (make-objfile-pp_s-printer): New function.
13803         (install-objfile-pretty-printers!): New function.
13804         (make-progspace-pp_s-printer): New function.
13805         (install-progspace-pretty-printers!): New function.
13806         * gdb.guile/scm-progspace.c: New file.
13807         * gdb.guile/scm-progspace.exp: New file.
13808
13809 2014-06-02  Pedro Alves  <palves@redhat.com>
13810
13811         * gdb.base/dprintf-bp-same-addr.c: New file.
13812         * gdb.base/dprintf-bp-same-addr.exp: New file.
13813
13814 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13815
13816         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13817         * gdb.arch/powerpc-power.s: Likewise.
13818
13819 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13820
13821         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13822
13823 2014-06-01  Yao Qi  <yao@codesourcery.com>
13824
13825         * gdb.base/watchpoint.exp (test_watch_location): Check null
13826         pointer can be dereferenced.  If not, do the test, otherwise
13827         skip it.
13828
13829 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13830
13831         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13832         results.
13833         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13834
13835 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13836
13837         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13838         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13839         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13840         * gdb.arch/amd64-invalid-stack-top.c: New file.
13841         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13842
13843 2014-05-30  Pedro Alves  <palves@redhat.com>
13844
13845         PR breakpoints/17000
13846         * gdb.base/sss-bp-on-user-bp.c: New file.
13847         * gdb.base/sss-bp-on-user-bp.exp: New file.
13848
13849 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13850
13851         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13852         gnu_inline semantics via attribute.
13853         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13854         source explicitly specifies the required semantics.
13855
13856 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13857
13858         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13859
13860 2014-05-29  Pedro Alves  <palves@redhat.com>
13861             Tom Tromey  <tromey@redhat.com>
13862
13863         * gdb.base/async-shell.exp: Don't enable target-async.
13864         * gdb.base/async.exp
13865         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13866         parameter.  Adjust.
13867         (top level): Don't test with "target-async".
13868         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13869         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13870         * gdb.base/inferior-died.exp: Don't enable target-async.
13871         * gdb.base/interrupt-noterm.exp: Likewise.
13872         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13873         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13874         * gdb.mi/mi-nonstop.exp: Likewise.
13875         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13876         * gdb.mi/mi-nsintrall.exp: Likewise.
13877         * gdb.mi/mi-nsmoribund.exp: Likewise.
13878         * gdb.mi/mi-nsthrexec.exp: Likewise.
13879         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13880         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13881         * gdb.python/py-evsignal.exp: Don't enable target-async.
13882         * gdb.python/py-evthreads.exp: Likewise.
13883         * gdb.python/py-prompt.exp: Likewise.
13884         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13885         * gdb.server/solib-list.exp: Don't enable target-async.
13886         * gdb.threads/thread-specific-bp.exp: Likewise.
13887         * lib/mi-support.exp: Adjust to use mi-async.
13888
13889 2014-05-29  Pedro Alves  <palves@redhat.com>
13890
13891         PR gdb/13860
13892         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13893         reason, even in sync mode.
13894
13895 2014-05-29  Pedro Alves  <palves@redhat.com>
13896             Hui Zhu  <hui@codesourcery.com>
13897
13898         PR PR15693
13899         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13900         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13901         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13902         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13903
13904 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13905
13906         * config/monitor.exp (gdb_target_monitor): Replace use of
13907         "set remotebaud" by "set serial baud".
13908
13909 2014-05-26  Andy Wingo  <wingo@igalia.com>
13910
13911         * gdb.guile/scm-breakpoint.exp:
13912         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13913         properties instead of gdb-object-properties.
13914
13915 2014-05-26  Yao Qi  <yao@codesourcery.com>
13916
13917         * gdb.server/no-thread-db.exp: Specify source file name
13918         explicitly when setting a breakpoint.
13919
13920 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13921
13922         * gdb.btrace/vdso.c: New.
13923         * gdb.btrace/vdso.exp: New.
13924
13925 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13926
13927         * gdb.base/gcore.exp (capture_command_output): Move ...
13928         * lib/gdb.exp (capture_command_output): ... here.
13929
13930 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13931
13932         * gdb.btrace/data.exp: Test memory access during btrace replay.
13933
13934 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13935
13936         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13937
13938 2014-05-21  Pedro Alves  <palves@redhat.com>
13939
13940         PR gdb/13860
13941         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13942         (top level): Test that output related to execution commands is
13943         sent to the console with CLI commands, but not with MI commands.
13944         Test that breakpoint events are always mirrored to the console.
13945         Also expect the new source line to be output after a "next" in
13946         async mode too.  Make it a pass/fail test.
13947         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13948         output.
13949         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13950
13951 2014-05-21  Pedro Alves  <palves@redhat.com>
13952
13953         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13954         Use them to test variations of "list" after reaching a breakpoint.
13955         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13956         Test "list" with listsize 10 after reaching a breakpoint.
13957         * gdb.python/python.exp (decode_line current location line
13958         number): Adjust expected line number.
13959
13960 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13961
13962         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13963         behavior for $args, pass it directly to "run".
13964
13965 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13966
13967         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13968         30000 to 65536.
13969
13970 2014-05-21  Pedro Alves  <palves@redhat.com>
13971
13972         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13973         auto-connect-native-target off".
13974         * gdb.base/auto-connect-native-target.c: New file.
13975         * gdb.base/auto-connect-native-target.exp: New file.
13976
13977 2014-05-21  Pedro Alves  <palves@redhat.com>
13978
13979         * gdb.base/default.exp: Test "target native" instead of "target
13980         child".
13981
13982 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13983
13984         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13985
13986 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13987
13988         Fix TLS access for -static -pthread.
13989         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13990         <HAVE_TLS> (thread_function, main): Initialize it.
13991         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13992         Add clean_restart.
13993         <$have_tls != "">: Check TLSVAR.
13994
13995 2014-05-21  Pedro Alves  <palves@redhat.com>
13996
13997         * gdb.base/dcache-line-read-error.c: New.
13998         * gdb.base/dcache-line-read-error.exp: New.
13999
14000 2014-05-20  Pedro Alves  <palves@redhat.com>
14001
14002         * gdb.base/compare-sections.c: New file.
14003         * gdb.base/compare-sections.exp: New file.
14004
14005 2014-05-20  Pedro Alves  <palves@redhat.com>
14006
14007         * gdb.base/break-idempotent.c: New file.
14008         * gdb.base/break-idempotent.exp: New file.
14009
14010 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14011
14012         * gdb.btrace/nohist.exp: New.
14013
14014 2014-05-20  Yao Qi  <yao@codesourcery.com>
14015
14016         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14017         gdb.reverse directory and gdb_reverse_timeout exists in board
14018         setting.
14019         * README: Document gdb_reverse_timeout.
14020
14021 2014-05-20  Yao Qi  <yao@codesourcery.com>
14022
14023         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14024         'test_file_name'.  Treat args as a string instead of a list.
14025         (gdb_init): Rename argument 'args' by 'test_file_name'.
14026
14027 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14028
14029         * gdb.arch/powerpc-power.exp: New file.
14030         * gdb.arch/powerpc-power.s: New file.
14031
14032 2014-05-16  Doug Evans  <dje@google.com>
14033
14034         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14035         * gdb.base/completion.exp: Check that all expected files exist
14036         before doing file completion.
14037
14038 2014-05-16  Doug Evans  <dje@google.com>
14039
14040         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14041         Update.
14042         (do_syscall_tests_without_xml): Update.
14043
14044 2014-05-16  Pedro Alves  <palves@redhat.com>
14045
14046         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14047         instead of "unknown output after running".
14048
14049 2014-05-16  Yao Qi  <yao@codesourcery.com>
14050
14051         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14052         file1.txt from host at the end.
14053         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14054
14055 2014-05-15  Doug Evans  <dje@google.com>
14056
14057         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14058         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14059         loading file.  Add test for TU lookup.
14060
14061 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14062
14063         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14064         calling "-exec-arguments" or "set args" before running the
14065         inferior.
14066
14067 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14068
14069         * lib/mi-support.exp (mi_expect_stop): Expect message for
14070         inferiors that exit with non-zero exit code.
14071
14072 2014-05-14  Yao Qi  <yao@codesourcery.com>
14073
14074         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14075         match absolute path on remote host.
14076         (test_file_list_exec_source_files): Remove "/" from the
14077         pattern.
14078
14079 2014-05-14  Yao Qi  <yao@codesourcery.com>
14080
14081         * boards/local-remote-host-notty.exp (${board}_file): New
14082         proc.
14083
14084 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14085
14086         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14087         * gdb.arch/aarch64-atomic-inst.c: New file.
14088         * gdb.arch/aarch64-atomic-inst.exp: New file.
14089
14090 2014-05-07  Yao Qi  <yao@codesourcery.com>
14091
14092         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14093         in current context" too.
14094
14095 2014-05-05  Keith Seitz  <keiths@redhat.com>
14096
14097         * gdb.linespec/ls-dollar.exp: Add test for linespec
14098         file:convenience_variable.
14099
14100 2014-05-05  Yao Qi  <yao@codesourcery.com>
14101
14102         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14103         traceframes into tfile and ctf trace files.  Read data from
14104         trace file and test collected data.
14105         (gdb_collect_locals_test): Likewise.
14106         (gdb_unavailable_registers_test): Likewise.
14107         (gdb_unavailable_floats): Likewise.
14108         (gdb_collect_globals_test): Likewise.
14109         (top-level): Append "ctf" to trace_file_targets if GDB
14110         supports.
14111
14112 2014-05-05  Yao Qi  <yao@codesourcery.com>
14113
14114         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14115         code to ...
14116         (gdb_collect_args_test_1): ... it.  New proc.
14117         (gdb_collect_locals_test): Move some code to ...
14118         (gdb_collect_locals_test_1): ... it.  New proc.
14119         (gdb_unavailable_registers_test): Move some code to ...
14120         (gdb_unavailable_registers_test_1): ... it.  New proc.
14121         (gdb_unavailable_floats): Move some code to ...
14122         (gdb_unavailable_floats_1): ... it.  New proc.
14123
14124 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14125
14126         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14127         probes to test for bitness recognition.
14128         * gdb.arch/amd64-stap-optional-prefix.exp
14129         (test_probe_value_without_reg): New procedure.
14130         Add code to test for different kinds of bitness.
14131
14132 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14133
14134         PR breakpoints/16889
14135         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14136         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14137
14138 2014-05-01  Pedro Alves  <palves@redhat.com>
14139
14140         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14141         gdb_file_cmd if no file is specified.
14142         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14143         last_loaded_file to set the remote exec-file.
14144
14145 2014-05-01  Pedro Alves  <palves@redhat.com>
14146
14147         * boards/local-remote-host.exp: New file.
14148
14149 2014-05-01  Pedro Alves  <palves@redhat.com>
14150
14151         * boards/local-remote-host.exp: Rename to ...
14152         * boards/local-remote-host-notty.exp: ... this.
14153
14154 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14155
14156         * gdb.ada/dyn_arrayidx: New testcase.
14157
14158 2014-04-26  Yao Qi  <yao@codesourcery.com>
14159
14160         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14161         and compute the length of function main.  Save it in
14162         $main_length.
14163         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14164         (top-level): Use gdb_compile to compile objects into
14165         executable and restart GDB.  Remove invocation to
14166         prepare_for_testing.
14167
14168 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14169             Pedro Alves  <palves@redhat.com>
14170
14171         PR server/16255
14172         * gdb.multi/multi-attach.c: New file.
14173         * gdb.multi/multi-attach.exp: New file.
14174
14175 2014-04-25  Pedro Alves  <palves@redhat.com>
14176
14177         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14178         user.
14179         (top level): Test that "set remote conditional-breakpoints-packet
14180         off" works as intended.
14181         * gdb.base/dprintf.exp: Test that "set remote
14182         breakpoint-commands-packet off" works as intended.
14183         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14184         New function.
14185         (top level): Call it.
14186         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14187         remote fast-tracepoints-packet off" works as intended.
14188         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14189         * lib/gdb.exp (gdb_is_target_remote): ... here.
14190
14191 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14192
14193         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14194         ensure clang would not discard them.
14195         * gdb.base/gdbvars.c: Ditto.
14196         * gdb.base/memattr.c: Ditto.
14197         * gdb.base/whatis.c: Ditto.
14198         * gdb.python/py-prettyprint.c: Ditto.
14199         * gdb.trace/actions.c: Ditto.
14200         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14201         ensure clang would not discard it.
14202
14203 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14204
14205         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14206         clang to emit the full definition of type required by the test
14207         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14208
14209 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14210
14211         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14212         coax Clang into emitting the definition of the type.
14213         * gdb.cp/pr10728-x.h (y): Ditto.
14214         * gdb.cp/pr10728-y.cc (y): Ditto.
14215
14216 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14217
14218         * gdb.base/label.exp: XFAIL label related tests under Clang.
14219         * gdb.cp/cplabel.exp: Ditto.
14220         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14221         under Clang those using labels.
14222
14223 2014-04-25  Yao Qi  <yao@codesourcery.com>
14224
14225         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14226         double_label.
14227         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14228         partial_label and double_label.
14229
14230 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14231
14232         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14233
14234 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14235
14236         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14237         of the function to work across GCC and Clang.
14238         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14239         pointer types (const void ** const V void **).
14240
14241 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14242             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14243
14244         * Makefile.in (EXECUTABLES): Added i386-avx512.
14245         * gdb.arch/i386-avx512.c: New file.
14246         * gdb.arch/i386-avx512.exp: Likewise.
14247
14248 2014-04-23  Keith Seitz  <keiths@redhat.com>
14249
14250         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14251         (mi_make_breakpoint_table): New procedure.
14252         (mi_create_breakpoint): Use mi_make_breakpoint
14253         and return the result.
14254         (mi_make_breakpoint): New procedure.
14255         (mi_build_kv_pairs): New procedure.
14256
14257         * gdb.mi/mi-break.exp: Remove unused globals,
14258         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14259         All callers updated.
14260         * gdb.mi/mi-dprintf.exp: Use variable to track command
14261         number.
14262         Update all callers of mi_create_breakpoint and use
14263         mi_make_breakpoint_table.
14264         Remove any unused global variables.
14265         * gdb.mi/mi-nonstop.exp: Likewise.
14266         * gdb.mi/mi-nsintrall.exp: Likewise.
14267         * gdb.mi/mi-nsmoribund.exp: Likewise.
14268         * gdb.mi/mi-nsthrexec.exp: Likewise.
14269         * gdb.mi/mi-reverse.exp: Likewise.
14270         * gdb.mi/mi-simplerun.exp: Likewise.
14271         * gdb.mi/mi-stepn.exp: Likewise.
14272         * gdb.mi/mi-syn-frame.exp: Likewise.
14273         * gdb.mi/mi-until.exp: Likewise.
14274         * gdb.mi/mi-var-cp.exp: Likewise.
14275         * gdb.mi/mi-var-display.exp: Likewise.
14276         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14277         * gdb.mi/mi2-var-child.exp: Likewise.
14278         * gdb.mi/mi-vla-c99.exp: Likewise.
14279         * lib/mi-support.exp: Likewise.
14280
14281         From Ian Lance Taylor  <iant@cygnus.com>:
14282         * lib/gdb.exp (parse_args): New procedure.
14283
14284 2014-04-23  Pedro Alves  <palves@redhat.com>
14285
14286         * gdb.base/break-unload-file.c: New file.
14287         * gdb.base/break-unload-file.exp: New file.
14288         * gdb.base/sym-file-lib.c (baz): New function.
14289         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14290         field.
14291         (load): Store the segment's mapped size.
14292         (unload): New function.
14293         (unload_shlib): New function.
14294         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14295         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14296         set a breakpoint at baz, and call it.
14297         * gdb.base/sym-file.exp: New tests for stale breakpoint
14298         instructions.
14299
14300 2014-04-23  Pedro Alves  <palves@redhat.com>
14301
14302         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14303         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14304         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14305         * gdb.base/hbreak-unmapped.c: New file.
14306         * gdb.base/hbreak-unmapped.exp: New file.
14307         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14308         * lib/gdb.exp (gdb_is_target_remote): ... here.
14309
14310 2014-04-22  Pedro Alves  <palves@redhat.com>
14311
14312         * gdb.base/consecutive-step-over.c: New file.
14313         * gdb.base/consecutive-step-over.exp: New file.
14314
14315 2014-04-22  Pedro Alves  <palves@redhat.com>
14316
14317         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14318         instead of send_gdb/gdb_expect.
14319
14320 2014-04-22  Yao Qi  <yao@codesourcery.com>
14321
14322         * lib/trace-support.exp (generate_tracefile): New procedure.
14323         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14324         return 0.
14325         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14326         if generate_tracefile returns 1.
14327
14328 2014-04-18  Tom Tromey  <palves@redhat.com>
14329             Pedro alves  <tromey@redhat.com>
14330
14331         PR backtrace/15558
14332         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14333         with a backtrace limit.
14334         * gdb.python/py-frame-inline.exp: Test running to an inline
14335         function with a backtrace limit, and printing the newest frame.
14336         * gdb.python/py-frame-inline.c (main): Call f.
14337
14338 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14339
14340         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14341
14342 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14343
14344         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14345         Drop prefix from unsupported source file path.
14346
14347 2014-04-17  Yao Qi  <yao@codesourcery.com>
14348
14349         * lib/gdb.exp (with_target_charset): New proc.
14350         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14351         with_target_charset.
14352         (test_print_strings): Likewise.
14353         (test_repeat_bytes): Likewise.
14354         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14355         for some tests.
14356
14357 2014-04-16  Keith Seitz  <keiths@redhat.com>
14358
14359         PR gdb/15827
14360         * gdb.dwarf2/corrupt.c: New file.
14361         * gdb.dwarf2/corrupt.exp: New file.
14362
14363 2014-04-16  Keith Seitz  <keiths@redhat.com>
14364
14365         PR c++/16597
14366         * gdb.cp/namelessclass.cc: New file.
14367         * gdb.cp/namelessclass.exp: New file.
14368         * gdb.cp/namelessclass.S: New file.
14369
14370 2014-04-16  Doug Evans  <dje@google.com>
14371
14372         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14373         Add comment.
14374         (gdbserver_default_get_comm_port): New function.
14375         (gdbserver_start): Check if board file provided
14376         "gdbserver,get_comm_port" and use it if so.
14377         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14378         (gdb,socketport): Set to "stdio".
14379         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14380         (stdio_gdbserver_template): Delete.
14381         (${board}_get_remote_address): Update.
14382         (${board}_build_remote_cmd): Delete.
14383         (${board}_get_comm_port): New function.
14384         (${board}_spawn): Update.
14385         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14386         Delete.
14387         (${board}_get_remote_address): Update.
14388         (${board}_get_comm_port): New function.
14389
14390 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14391
14392         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14393         appearing in any order.
14394
14395 2014-04-15  Doug Evans  <dje@google.com>
14396
14397         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14398         uninitialized value of "description".
14399
14400 2014-04-15  Keith Seitz  <keiths@redhat.com>
14401
14402         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14403         Remove unused globals.
14404         (test_running_the_program): Likewise.
14405         (test_controlled_execution): Likewise.
14406         (test_controlling_breakpoints): Likewise.
14407         (test_program_termination): Likewise.
14408
14409 2014-04-15  Keith Seitz  <keiths@redhat.com>
14410
14411         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14412         unused globals.
14413         (test_rbreak_creation_and_listing): Likewise.
14414         (test_ignore_count): Likewise.
14415         (test_error): Likewise.
14416
14417 2014-04-15  Pedro Alves  <palves@redhat.com>
14418
14419         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14420         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14421         sym-file-loader.c.
14422         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14423         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14424         to sym-file-loader.c.
14425         (struct library): Forward declare.
14426         (load_shlib, lookup_function): Change prototypes.
14427         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14428         (translate_offset): Remove declarations.
14429         (get_text_addr): New declaration.
14430         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14431         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14432         sym-file-loader.h.
14433         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14434         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14435         here from sym-file-loader.h.
14436         (struct library): New structure.
14437         (load_shlib, lookup_function): Change prototypes and adjust to
14438         work with a struct library.
14439         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14440         (translate_offset): Make static.
14441         (get_text_addr): New function.
14442         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14443
14444 2014-04-15  Pedro Alves  <palves@redhat.com>
14445
14446         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14447
14448 2014-04-15  Pedro Alves  <palves@redhat.com>
14449
14450         * gdb.base/sym-file-loader.c: Include <limits.h>.
14451         (SELF_LINK): New define.
14452         (get_origin): New function.
14453         (load_shlib): Use it.
14454         * gdb.base/sym-file.exp: Don't early return if the target is
14455         remote.  Use runto_main, and issue fail is that fails.  Use
14456         gdb_load_shlibs.
14457         (shlib_name): Delete.
14458         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14459
14460 2014-04-15  Pedro Alves <palves@redhat.com>
14461
14462         * gdb.base/sym-file.exp: Remove regex characters from test
14463         message.  Don't refer to breakpoint numbers in test messages.
14464
14465 2014-04-14  Keith Seitz  <keiths@redhat.com>
14466
14467         PR c++/16253
14468         * gdb.cp/var-tag.cc: New file.
14469         * gdb.cp/var-tag.exp: New file.
14470         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14471         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14472         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14473         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14474
14475 2014-04-14  Tom Tromey  <tromey@redhat.com>
14476
14477         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14478         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14479         type.
14480         * gdb.cp/enum-class.exp: New file.
14481         * gdb.cp/enum-class.cc: New file.
14482
14483 2014-04-14  Tom Tromey  <tromey@redhat.com>
14484
14485         * gdb.dwarf2/enum-type.exp: New file.
14486
14487 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14488
14489         * gdb.mi/mi-vla-c99.exp: New file.
14490         * gdb.mi/vla.c: New file.
14491
14492 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14493
14494         * gdb.base/vla-datatypes.c: New file.
14495         * gdb.base/vla-datatypes.exp: New file.
14496
14497 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14498
14499         * gdb.base/vla-ptr.c: New file.
14500         * gdb.base/vla-ptr.exp: New file.
14501
14502 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14503
14504         * gdb.dwarf2/count.exp: New file.
14505
14506 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14507
14508         * gdb.base/vla-sideeffect.c: New file.
14509         * gdb.base/vla-sideeffect.exp: New file.
14510
14511 2014-04-14  David Blaikie <dblaikie@gmail.com>
14512
14513         * gdb.mi/non-stop.c: Add return value for non-void function return
14514         statement.
14515         * gdb.threads/staticthreads.c: Ditto.
14516
14517 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14518             Doug Evans  <xdje42@gmail.com>
14519
14520         * gdb.guile/scm-value.c: Improve test case.
14521         * gdb.guile/scm-value.exp: Add new test.
14522
14523 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14524
14525         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14526         override Clang's default.
14527
14528 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14529
14530         Revert the following changes (regressions):
14531
14532         * gdb.base/vla-sideeffect.c: New file.
14533         * gdb.base/vla-sideeffect.exp: New file.
14534
14535         * gdb.dwarf2/count.exp: New file.
14536
14537         * gdb.base/vla-multi.c: New file.
14538         * gdb.base/vla-multi.exp: New file.
14539
14540         * gdb.base/vla-ptr.c: New file.
14541         * gdb.base/vla-ptr.exp: New file.
14542
14543         * gdb.base/vla-datatypes.c: New file.
14544         * gdb.base/vla-datatypes.exp: New file.
14545
14546         * gdb.mi/mi-vla-c99.exp: New file.
14547         * gdb.mi/vla.c: New file.
14548
14549 2014-04-11  Keith Seitz  <keiths@redhat.com>
14550
14551         PR c++/16675
14552         * gdb.cp/cpsizeof.exp: New file.
14553         * gdb.cp/cpsizeof.cc: New file.
14554
14555 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14556
14557         * gdb.mi/mi-vla-c99.exp: New file.
14558         * gdb.mi/vla.c: New file.
14559
14560 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14561
14562         * gdb.base/vla-datatypes.c: New file.
14563         * gdb.base/vla-datatypes.exp: New file.
14564
14565 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14566
14567         * gdb.base/vla-ptr.c: New file.
14568         * gdb.base/vla-ptr.exp: New file.
14569
14570 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14571
14572         * gdb.base/vla-multi.c: New file.
14573         * gdb.base/vla-multi.exp: New file.
14574
14575 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14576
14577         * gdb.dwarf2/count.exp: New file.
14578
14579 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14580
14581         * gdb.base/vla-sideeffect.c: New file.
14582         * gdb.base/vla-sideeffect.exp: New file.
14583
14584 2014-04-11  Yao Qi  <yao@codesourcery.com>
14585
14586         * gdb.base/completion.exp: Check file exists before running tests
14587         on file completion.
14588
14589 2014-04-10  Pedro Alves  <palves@redhat.com>
14590
14591         * gdb.base/cond-eval-mode.c: New file.
14592         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14593         prepare_for_testing to build the new file.  Check result of
14594         runto_main.
14595         (test_break, test_watch): New procedures.
14596         (top level): Use them.
14597
14598 2014-04-08  Pierre Muller  <muller@sourceware.org>
14599
14600         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14601         Ctrl-V use for mingw hosts.
14602
14603 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14604
14605         * gdb.python/py-value.c: Improve test case.
14606         * gdb.python/py-value.exp: Add new test.
14607
14608 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14609
14610         * lib/compiler.c: Identify the clang compiler.
14611         * lib/compiler.cc: Ditto.
14612
14613 2014-04-03  Yao Qi  <yao@codesourcery.com>
14614
14615         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14616
14617 2014-04-01  Anton Blanchard  <anton@samba.org>
14618
14619         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14620         messages unique.
14621
14622 2014-04-01  Anton Blanchard  <anton@samba.org>
14623
14624         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14625         prepare_for_testing.
14626
14627 2014-04-01  Anton Blanchard  <anton@samba.org>
14628
14629         * gdb.arch/ppc64-atomic-inst.c: Remove.
14630         * gdb.arch/ppc64-atomic-inst.S: New file.
14631         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14632
14633 2014-03-31  Doug Evans  <dje@google.com>
14634
14635         * gdb.base/print-symbol-loading-lib.c: New file.
14636         * gdb.base/print-symbol-loading-main.c: New file.
14637         * gdb.base/print-symbol-loading.exp: New file.
14638
14639 2014-03-31  Yao Qi  <yao@codesourcery.com>
14640
14641         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14642
14643 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14644
14645         * gdb.ada/mi_dyn_arr: New testcase.
14646
14647 2014-03-27  Doug Evans  <dje@google.com>
14648
14649         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14650
14651 2014-03-27  Yao Qi  <yao@codesourcery.com>
14652
14653         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14654         if target is nios2-*-*.
14655
14656 2014-03-26  Yao Qi  <yao@codesourcery.com>
14657
14658         * lib/gdb.exp (readline_is_used): New proc.
14659         * gdb.base/completion.exp: Move tests on command complete up.
14660         Skip the rest of tests if readline is not used.
14661         * gdb.ada/complete.exp: Skp the test if readline is not
14662         used.
14663         * gdb.base/filesym.exp: Likewise.
14664         * gdb.base/macscp.exp: Likewise.
14665         * gdb.base/readline-ask.exp: Likewise.
14666         * gdb.base/readline.exp: Likewise.
14667         * gdb.python/py-cmd.exp: Likewise.
14668         * gdb.trace/tfile.exp: Likewise.
14669
14670 2014-03-26  Yao Qi  <yao@codesourcery.com>
14671
14672         * gdb.base/macscp.exp: Fix code format issues.
14673
14674 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14675
14676         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14677         * gdb.asm/powerpc64le.inc: New file.
14678
14679 2014-03-25  Pedro Alves  <palves@redhat.com>
14680             Doug Evans  <dje@google.com>
14681
14682         * gdb.base/source-execution.c: New file.
14683         * gdb.base/source-execution.exp: New file.
14684         * gdb.base/source-execution.gdb: New file.
14685
14686 2014-03-24  Doug Evans  <dje@google.com>
14687
14688         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14689         using fission.
14690
14691 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14692             Pedro Alves  <palves@redhat.com>
14693
14694         PR breakpoints/16101
14695         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14696         test pass/fail messages.  Detect missing support for dprintf when
14697         breakpoints are actually inserted.
14698         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14699         breakpoints are actually inserted.
14700         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14701         fails.
14702
14703 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14704
14705         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14706
14707 2014-03-22  Doug Evans  <xdje42@gmail.com>
14708
14709         * gdb.python/python.exp (python not supported): Verify multi-line
14710         python command issues an error.
14711         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14712         guile command issues an error.
14713
14714 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14715
14716         * gdb.threads/thread-specific.exp: Handle the lack of usable
14717         $this_breakpoint and $this_thread.
14718
14719 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14720
14721         * gdb.base/attach.exp (do_command_attach_tests): New.
14722
14723 2014-03-20  Tom Tromey  <tromey@redhat.com>
14724             Pedro Alves  <palves@redhat.com>
14725
14726         PR cli/15718
14727         * gdb.base/condbreak-call-false.c: New file.
14728         * gdb.base/condbreak-call-false.exp: New file.
14729
14730 2014-03-20  Pedro Alves  <palves@redhat.com>
14731
14732         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14733         Delete.
14734         (block_signals, unblock_signals): Delete.
14735         (child_function_2, main): Remove references to deleted variable
14736         and functions.
14737
14738 2014-03-20  Pedro Alves  <palves@redhat.com>
14739
14740         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14741         Use pthread_kill to signal thread 2.
14742         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14743         Adjust to make the test send itself a signal rather than using the
14744         host's "kill" command.
14745
14746 2014-03-20  Pedro Alves  <palves@redhat.com>
14747
14748         * gdb.threads/multiple-step-overs.c: New file.
14749         * gdb.threads/multiple-step-overs.exp: New file.
14750         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14751         Adjust expected infrun debug output.
14752
14753 2014-03-20  Pedro Alves  <palves@redhat.com>
14754
14755         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14756         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14757
14758 2014-03-20  Pedro Alves  <palves@redhat.com>
14759
14760         PR breakpoints/7143
14761         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14762         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14763         of gdb_test_multiple.
14764         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14765         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14766
14767 2014-03-20  Pedro Alves  <palves@redhat.com>
14768
14769         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14770         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14771
14772 2014-03-19  Pedro Alves  <palves@redhat.com>
14773
14774         * gdb.base/async.exp: Remove early return.
14775
14776 2014-03-19  Pedro Alves  <palves@redhat.com>
14777
14778         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14779
14780 2014-03-19  Pedro Alves  <palves@redhat.com>
14781
14782         * gdb.base/async.exp (test_background): Expect \r\n after
14783         "completed." in the fail pattern.
14784
14785 2014-03-19  Pedro Alves  <palves@redhat.com>
14786
14787         * gdb.base/async.exp (test_background): New procedure.
14788         Use it for all background execution command tests.
14789
14790 2014-03-19  Pedro Alves  <palves@redhat.com>
14791
14792         * gdb.base/async.exp: Use prepare_for_testing.
14793
14794 2014-03-19  Pedro Alves  <palves@redhat.com>
14795
14796         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14797         the same line.
14798
14799 2014-03-19  Pedro Alves  <palves@redhat.com>
14800
14801         * gdb.base/async.c (main): Add "jump here" and "until here" line
14802         marker comments.
14803         * gdb.base/async.exp (jump_here): New global.
14804         (jump& test): Use it.
14805         (until_here): New global.
14806         (until& test): Use it.
14807
14808 2014-03-19  Pedro Alves  <palves@redhat.com>
14809
14810         * gdb.base/async.exp: Don't frob gdb_protocol.
14811
14812 2014-03-18  Doug Evans  <xdje42@gmail.com>
14813
14814         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14815         Fix spelling of exec-done-display.
14816
14817 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14818
14819         PR gdb/15358
14820         * gdb.base/gdb-sigterm.c: New file.
14821         * gdb.base/gdb-sigterm.exp: New file.
14822
14823 2014-03-18  Pedro Alves  <palves@redhat.com>
14824
14825         PR gdb/13860
14826         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14827         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14828         solib-event.
14829
14830 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14831
14832         * gdb.ada/pckd_arr_ren: New testcase.
14833
14834 2014-03-13  Doug Evans  <xdje42@gmail.com>
14835
14836         PR guile/16612
14837         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14838         collect after discarding symbols.
14839
14840 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14841             Doug Evans  <xdje42@gmail.com>
14842
14843         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14844         to history survives a gc.
14845
14846 2014-03-13  Pedro Alves  <palves@redhat.com>
14847
14848         * gdb.base/default.exp: Don't test "target procfs".
14849
14850 2014-03-13  Pedro Alves  <palves@redhat.com>
14851
14852         * gdb.base/default.exp: Update "target child" and "target procfs"
14853         tests to not expect "Unix".
14854
14855 2014-03-12  Tom Tromey  <tromey@redhat.com>
14856
14857         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14858         New procs.  Add target-async tests.
14859         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14860         Add target-async tests.
14861
14862 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14863
14864         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14865         'func_start' and 'func_end' for the beginning and end of the
14866         function code, respectively.
14867         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14868         'func_end' instead of 'func' and 'main'.
14869
14870 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14871
14872         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14873         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14874         generate the debug info assembler source.
14875
14876 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14877
14878         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14879         * gdb.dwarf2/arr-subrange.exp: Likewise.
14880         * gdb.dwarf2/dwz.exp: Likewise.
14881         * gdb.dwarf2/method-ptr.exp: Likewise.
14882         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14883         * gdb.dwarf2/subrange.exp: Likewise.
14884         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14885         * gdb.dwarf2/implptrpiece.exp: Likewise.
14886         * gdb.dwarf2/nostaticblock.exp: Likewise.
14887
14888 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14889
14890         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14891         directory to absolute path name arguments.
14892
14893 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14894
14895         * gdb.ada/tagged_access: New testcase.
14896
14897 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14898
14899         * gdb.btrace/data.exp: Update expected output.
14900
14901 2014-03-06  Yao Qi  <yao@codesourcery.com>
14902
14903         * gdb.trace/pr16508.exp: New file.
14904
14905 2014-03-05  Pedro Alves  <palves@redhat.com>
14906
14907         PR gdb/16575
14908         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14909         procedure.
14910         (top level): Adjust to use it.  Add tests that exercise breakpoint
14911         interaction with the code-cache.
14912
14913 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14914
14915         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14916         test for 'history-append!'.
14917
14918 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14919
14920         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14921         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14922         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14923         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14924         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14925         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14926
14927 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14928
14929         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14930         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14931         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14932
14933 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14934
14935         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14936
14937 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14938
14939         * gdb.dwarf2/arr-stride.c: New file.
14940         * gdb.dwarf2/arr-stride.exp: New file.
14941
14942 2014-02-26  Pedro Alves  <palves@redhat.com>
14943
14944         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14945         that won't ever trigger.  Make sure that GDB reports the correct
14946         breakpoint that caused the stop.
14947
14948 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14949
14950         PR gdb/16626
14951         * gdb.base/auto-load-script: New file.
14952         * gdb.base/auto-load.c: New file.
14953         * gdb.base/auto-load.exp: New file.
14954
14955         PR gdb/16626
14956         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14957
14958 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14959
14960         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14961         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14962
14963 2014-02-24  Doug Evans  <dje@google.com>
14964
14965         * lib/gdb.exp (run_on_host): Log error output if program fails.
14966
14967 2014-02-21  Pedro Alves  <palves@redhat.com>
14968
14969         * gdb.threads/step-after-sr-lock.c: Rename to ...
14970         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14971         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14972         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14973         ... this.
14974
14975 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14976
14977         PR tdep/16397
14978         * gdb.arch/amd64-stap-special-operands.exp: New file.
14979         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14980         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14981         * gdb.arch/amd64-stap-triplet.S: Likewise.
14982         * gdb.arch/amd64-stap-triplet.c: Likewise.
14983
14984 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14985
14986         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14987         in .section pseudo-op.
14988
14989 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14990             Joel Brobecker  <brobecker@adacore.com>
14991             Doug Evans  <xdje42@gmail.com>
14992
14993         PR symtab/16581
14994         * gdb.dwarf2/dw2-icycle.S: New file.
14995         * gdb.dwarf2/dw2-icycle.c: New file.
14996         * gdb.dwarf2/dw2-icycle.exp: New file.
14997
14998 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14999
15000         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15001         operations on gdb.Value objects.
15002         * gdb.python/py-value-cc.exp: Add new test to test operations on
15003         gdb.Value objects.
15004
15005 2014-02-18  Doug Evans  <dje@google.com>
15006
15007         * Makefile.in (TESTS): New variable.
15008         (expanded_tests, expanded_tests_or_none): New variables
15009         (check-single): Pass $(expanded_tests_or_none) to runtest.
15010         (check-parallel): Only run tests in $(TESTS) if non-empty.
15011         (check/no-matching-tests-found): New rule.
15012         * README: Document TESTS makefile variable.
15013
15014 2014-02-18  Doug Evans  <dje@google.com>
15015
15016         * Makefile.in (check-parallel): rm -rf outputs temp.
15017
15018 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15019
15020         Fix "ERROR: no fileid for" in the testsuite.
15021         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15022
15023 2014-02-12  Doug Evans  <dje@google.com>
15024
15025         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15026         (MISCELLANEOUS): New variable.
15027         (clean): rm -rf $(MISCELLANEOUS).
15028         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15029         dwp live in the same directory as symlinks, with each symlink pointed
15030         to a differently named file in a different directory.
15031
15032 2014-02-11  Doug Evans  <dje@google.com>
15033
15034         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15035         of Tcl file commands.
15036
15037 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15038
15039         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15040         "kill -SIGUSR1 -1".
15041
15042 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15043
15044         * gdb.ada/tick_length_array_enum_idx: New testcase.
15045
15046 2014-02-10  Doug Evans  <xdje42@gmail.com>
15047
15048         * configure.ac (AC_OUTPUT): Add gdb.guile.
15049         * configure: Regenerate.
15050         * lib/gdb-guile.exp: New file.
15051         * lib/gdb.exp (get_target_charset): New function.
15052         * gdb.base/help.exp: Update expected output from "apropos apropos".
15053         * gdb.guile/Makefile.in: New file.
15054         * gdb.guile/guile.exp: New file.
15055         * gdb.guile/scm-arch.c: New file.
15056         * gdb.guile/scm-arch.exp: New file.
15057         * gdb.guile/scm-block.c: New file.
15058         * gdb.guile/scm-block.exp: New file.
15059         * gdb.guile/scm-breakpoint.c: New file.
15060         * gdb.guile/scm-breakpoint.exp: New file.
15061         * gdb.guile/scm-disasm.c: New file.
15062         * gdb.guile/scm-disasm.exp: New file.
15063         * gdb.guile/scm-equal.c: New file.
15064         * gdb.guile/scm-equal.exp: New file.
15065         * gdb.guile/scm-error.exp: New file.
15066         * gdb.guile/scm-error.scm: New file.
15067         * gdb.guile/scm-frame-args.c: New file.
15068         * gdb.guile/scm-frame-args.exp: New file.
15069         * gdb.guile/scm-frame-args.scm: New file.
15070         * gdb.guile/scm-frame-inline.c: New file.
15071         * gdb.guile/scm-frame-inline.exp: New file.
15072         * gdb.guile/scm-frame.c: New file.
15073         * gdb.guile/scm-frame.exp: New file.
15074         * gdb.guile/scm-generics.exp: New file.
15075         * gdb.guile/scm-gsmob.exp: New file.
15076         * gdb.guile/scm-iterator.c: New file.
15077         * gdb.guile/scm-iterator.exp: New file.
15078         * gdb.guile/scm-math.c: New file.
15079         * gdb.guile/scm-math.exp: New file.
15080         * gdb.guile/scm-objfile-script-gdb.in: New file.
15081         * gdb.guile/scm-objfile-script.c: New file.
15082         * gdb.guile/scm-objfile-script.exp: New file.
15083         * gdb.guile/scm-objfile.c: New file.
15084         * gdb.guile/scm-objfile.exp: New file.
15085         * gdb.guile/scm-ports.exp: New file.
15086         * gdb.guile/scm-pretty-print.c: New file.
15087         * gdb.guile/scm-pretty-print.exp: New file.
15088         * gdb.guile/scm-pretty-print.scm: New file.
15089         * gdb.guile/scm-section-script.c: New file.
15090         * gdb.guile/scm-section-script.exp: New file.
15091         * gdb.guile/scm-section-script.scm: New file.
15092         * gdb.guile/scm-symbol.c: New file.
15093         * gdb.guile/scm-symbol.exp: New file.
15094         * gdb.guile/scm-symtab-2.c: New file.
15095         * gdb.guile/scm-symtab.c: New file.
15096         * gdb.guile/scm-symtab.exp: New file.
15097         * gdb.guile/scm-type.c: New file.
15098         * gdb.guile/scm-type.exp: New file.
15099         * gdb.guile/scm-value-cc.cc: New file.
15100         * gdb.guile/scm-value-cc.exp: New file.
15101         * gdb.guile/scm-value.c: New file.
15102         * gdb.guile/scm-value.exp: New file.
15103         * gdb.guile/source2.scm: New file.
15104         * gdb.guile/types-module.cc: New file.
15105         * gdb.guile/types-module.exp: New file.
15106
15107 2014-02-10  Yao Qi  <yao@codesourcery.com>
15108
15109         PR testsuite/16543
15110         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15111         * configure: Regenerated.
15112         * Makefile.in: New file.
15113
15114 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15115
15116         * gdb.python/py-framefilter.exp: Fix typo.
15117
15118 2014-02-08  Yao Qi  <yao@codesourcery.com>
15119
15120         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15121         that no =breakpoint-modified is emitted when breakpoints are
15122         modified through MI commands.
15123
15124 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15125             Pedro Alves  <palves@redhat.com>
15126
15127         * gdb.threads/step-after-sr-lock.c: New file.
15128         * gdb.threads/step-after-sr-lock.exp: New file.
15129
15130 2014-02-07  Pedro Alves  <palves@redhat.com>
15131
15132         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15133
15134 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15135
15136         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15137         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15138
15139 2014-02-06  Doug Evans  <xdje42@gmail.com>
15140
15141         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15142         output.
15143
15144         * gdb.gdb/python-interrupts.exp: New file.
15145
15146 2014-02-05  Yao Qi  <yao@codesourcery.com>
15147
15148         * gdb.trace/report.exp (use_collected_data): Test the output
15149         of "info threads" and "info inferiors".
15150
15151 2014-02-05  Yao Qi  <yao@codesourcery.com>
15152
15153         Revert this patch:
15154
15155         2013-05-24  Yao Qi  <yao@codesourcery.com>
15156
15157         * gdb.trace/tfile.exp: Test inferior and thread.
15158
15159 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15160
15161         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15162         on a function.
15163         * gdb.base/step-bt.c: Call hello via function pointer to make
15164         sure its first instruction is executed on powerpc64le-linux.
15165
15166 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15167
15168         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15169
15170 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15171
15172         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15173         of the test patterns for use on little-endian systems.
15174
15175 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15176
15177         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15178         (decimal_vector): Fix for little-endian.
15179
15180 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15181
15182         * gdb.arch/sparc-sysstep.exp: New file.
15183         * gdb.arch/sparc-sysstep.c: Likewise.
15184
15185         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15186
15187 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15188
15189         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15190
15191 2014-01-23  Tom Tromey  <tromey@redhat.com>
15192
15193         * gdb.ada/array_char_idx: New testcase.
15194
15195 2014-01-23  Tom Tromey  <tromey@redhat.com>
15196
15197         PR python/16487:
15198         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15199         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15200         classes.
15201
15202 2014-01-23  Tom Tromey  <tromey@redhat.com>
15203
15204         PR python/16491:
15205         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15206         string from an inferior frame.
15207         * gdb.python/py-framefilter-mi.exp: Update.
15208
15209 2014-01-22  Doug Evans  <dje@google.com>
15210
15211         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15212
15213 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15214
15215         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15216
15217 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15218
15219         * gdb.trace/entry-values.exp: Remove excess space character from
15220         regex patterns.  Handle s390 call instruction.
15221
15222 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15223
15224         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15225         define "*_start" label.  Make "name" static.
15226         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15227         ${name} by references to ${name}_start.
15228
15229 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15230
15231         * gdb.base/info-macros.exp: Remove "debug" from the compile
15232         options.
15233
15234 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15235
15236         * gdb.dlang/demangle.exp: New file.
15237
15238 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15239
15240         * gdb.dlang/primitive-types.exp: New file.
15241
15242 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15243
15244         * configure.ac: Create gdb.dlang/Makefile.
15245         * configure: Regenerate.
15246         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15247         * gdb.dlang/Makefile.in: New file.
15248         * lib/d-support.exp: New file.
15249         * lib/gdb.exp (skip_d_tests): New proc.
15250
15251 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15252
15253         * gdb.btrace/delta.exp: Check reverse stepi.
15254         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15255         * gdb.btrace/finish.exp: New.
15256         * gdb.btrace/next.exp: New.
15257         * gdb.btrace/nexti.exp: New.
15258         * gdb.btrace/record_goto.c: Add comments.
15259         * gdb.btrace/step.exp: New.
15260         * gdb.btrace/stepi.exp: New.
15261         * gdb.btrace/multi-thread-step.c: New.
15262         * gdb.btrace/multi-thread-step.exp: New.
15263         * gdb.btrace/rn-dl-bind.c: New.
15264         * gdb.btrace/rn-dl-bind.exp: New.
15265         * gdb.btrace/data.c: New.
15266         * gdb.btrace/data.exp: New.
15267         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15268
15269 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15270
15271         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15272         * gdb.btrace/exception.exp: Update.
15273         * gdb.btrace/instruction_history.exp: Update.
15274         * gdb.btrace/record_goto.exp: Update.
15275         * gdb.btrace/tailcall.exp: Update.
15276         * gdb.btrace/unknown_functions.exp: Update.
15277         * gdb.btrace/delta.exp: New.
15278
15279 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15280
15281         * gdb.btrace/record_goto.exp: Add backtrace test.
15282         * gdb.btrace/tailcall.exp: Add backtrace test.
15283
15284 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15285
15286         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15287         * gdb.btrace/record_goto.c: New.
15288         * gdb.btrace/record_goto.exp: New.
15289         * gdb.btrace/x86-record_goto.S: New.
15290
15291 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15292
15293         * gdb.btrace/function_call_history.exp: Update tests.
15294         * gdb.btrace/instruction_history.exp: Update tests.
15295
15296 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15297
15298         * gdb.btrace/function_call_history.exp: Fix expected field
15299         order for "record function-call-history".
15300         Add new tests for "record function-call-history /c".
15301         * gdb.btrace/exception.cc: New.
15302         * gdb.btrace/exception.exp: New.
15303         * gdb.btrace/tailcall.exp: New.
15304         * gdb.btrace/x86-tailcall.S: New.
15305         * gdb.btrace/x86-tailcall.c: New.
15306         * gdb.btrace/unknown_functions.c: New.
15307         * gdb.btrace/unknown_functions.exp: New.
15308         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15309
15310 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15311
15312         * gdb.btrace/instruction_history.exp: Update.
15313         * gdb.btrace/function_call_history.exp: Update.
15314
15315 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15316
15317         * gdb.btrace/function_call_history.exp: Fix expected function
15318         trace.
15319         * gdb.btrace/instruction_history.exp: Initialize traced.
15320         Remove traced_functions.
15321
15322 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15323
15324         * gdb.btrace/function_call_history.exp: Update
15325         * gdb.btrace/instruction_history.exp: Update.
15326
15327 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15328
15329         * gdb.btrace/enable.exp: Update expected text.
15330
15331 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15332
15333         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15334         bytes.
15335
15336 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15337
15338         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15339
15340 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15341
15342         * lib/gdb.exp (supports_process_record): Return true for
15343         arm*-linux*.  (supports_reverse): Likewise.
15344
15345 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15346
15347         PR python/15464
15348         PR python/16113
15349         * gdb.python/py-type.c: Enhance test case.
15350         * gdb.python/py-value-cc.cc: Likewise
15351         * gdb.python/py-type.exp: Add new tests.
15352         * gdb.python/py-value-cc.exp: Likewise
15353
15354 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15355             Pedro Alves <palves@redhat.com>
15356
15357         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15358         Make "name" extern.
15359         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15360         references to ${name}_start by references to ${name}.
15361
15362 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15363
15364         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15365
15366 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15367
15368         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15369
15370 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15371             Pedro Alves  <palves@redhat.com>
15372
15373         * gdb.mi/mi-info-os.exp: Connect to the target with
15374         mi_gdb_target_load.
15375
15376 2014-01-08  Pedro Alves  <palves@redhat.com>
15377
15378         * gdb.threads/reconnect-signal.c: New file.
15379         * gdb.threads/reconnect-signal.exp: New file.
15380
15381 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15382
15383         * gdb.base/source-dir.exp: New file.
15384
15385 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15386
15387         * gdb.ada/mi_interface: New testcase.
15388
15389 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15390
15391         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15392         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15393         gdb.ada/pp-rec-component/pck.ads: New files.
15394
15395 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15396
15397         * gdb.python/py-pp-integral.c: New file.
15398         * gdb.python/py-pp-integral.py: New file.
15399         * gdb.python/py-pp-integral.exp: New file.
15400
15401 For older changes see ChangeLog-1993-2013.
15402 \f
15403 ;; Local Variables:
15404 ;; mode: change-log
15405 ;; left-margin: 8
15406 ;; fill-column: 74
15407 ;; version-control: never
15408 ;; End:
15409
15410     Copyright 2014-2019 Free Software Foundation, Inc.
15411   Copying and distribution of this file, with or without modification,
15412   are permitted provided the copyright notice and this notice are preserved.