03824fa2ae5ae6bb056dbefae48aecb02f99eb93
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-03-22  Alan Hayward  <alan.hayward@arm.com>
2
3         * README: Add pie options.
4         * gdb.base/break-interp.exp: Ensure pie is disabled.
5         * gdb.base/dump.exp: Likewise.
6         * lib/gdb.exp (gdb_compile): Add pie option.
7
8 2019-06-27  Tom Tromey  <tromey@adacore.com>
9
10         * gdb.cp/constexpr-field.exp: Use setup_xfail.
11
12 2019-05-29  Tom Tromey  <tromey@adacore.com>
13
14         PR c++/20020:
15         * gdb.cp/constexpr-field.exp: New file.
16         * gdb.cp/constexpr-field.cc: New file.
17
18 2019-04-30  Tom Tromey  <tromey@adacore.com>
19
20         PR c++/24470:
21         * gdb.cp/temargs.cc: Add test code from PR.
22
23 2019-04-19  Tom Tromey  <tromey@adacore.com>
24
25         PR symtab/24423:
26         * gdb.base/list0.h (foo): Add a control-l character.
27
28 2019-03-28  Pedro Alves  <palves@redhat.com>
29
30         * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
31         move comments outside list.  Append '-i "" eof' section.
32
33 2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
34
35         * config/default.exp: Remove 'load_lib gdb.exp'.
36         * config/monitor.exp: Likewise.
37         * config/sid.exp: Likewise.
38         * config/sim.exp: Likewise.
39         * config/slite.exp: Likewise.
40         * config/unix.exp: Likewise.
41         * gdb.base/default.exp: Remove unhelpful comment.
42
43 2019-03-14  Tom Tromey  <tromey@adacore.com>
44
45         * gdb.base/style.exp: Add "set style sources" test.
46
47 2019-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
48
49         PR gdb/8527
50         * gdb.base/interrupt-daemon-attach.c,
51         gdb.base/interrupt-daemon-attach.exp: New test.
52
53 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
54
55         * lib/gdb.exp (builtin_cd): rename of cd.
56         (cd): Override builtin.
57
58 2019-02-26  Tom Tromey  <tromey@adacore.com>
59
60         * gdb.python/py-value.exp (test_value_from_buffer): Check for
61         ValueError, not TypeError.
62
63 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
64
65         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
66         call from main program.
67
68 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
69
70         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
71         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
72         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
73         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
74         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
75
76 2019-02-22  Keith Seitz  <keiths@redhat.com>
77
78         PR symtab/23853
79         * gdb.base/symlink-sourcefile.c: New file.
80         * gdb.base/symlink-sourcefile.exp: New file.
81
82 2019-02-20  Tom Tromey  <tom@tromey.com>
83
84         * gdb.base/info_qt.exp: Update.
85
86 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
87
88         * gdb.base/source.exp: Move "error in sourced script" code to
89         the end.
90         * gdb.base/source-error.gdb: Move contents to
91         source-error-1.gdb.  Add new code to source source-error-1.gdb.
92         * gdb.base/source-error-1.gdb: New file, from previous
93         source-error.gdb.
94
95 2019-02-17  Tom Tromey  <tom@tromey.com>
96
97         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
98         for macro styling.
99         * gdb.base/style.c (SOME_MACRO): New macro.
100
101 2019-02-17  Tom Tromey  <tom@tromey.com>
102
103         * gdb.base/style.exp: Add line-wrapping tests.
104         * gdb.base/page.exp: Add test for quitting during pagination.
105
106 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
107
108         * gdb.ada/big_packed_array: New testcase.
109         * gdb.ada/homonym.exp: Fix incorrect expected output for
110         "break <homonym__get_value>" test.
111
112 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
113
114         PR breakpoints/21870
115         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
116         and prepare_for_testing.  Add comment.
117         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
118         redundant cleanup call.  Clean up comment.
119
120 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
121
122         PR breakpoints/21870
123         * gdb.arch/aarch64-dbreg-contents.exp: New file.
124         * gdb.arch/aarch64-dbreg-contents.c: New file.
125
126 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
127
128         * gdb.ada/mi_ref_changeable: New testcase.
129
130 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
131
132         * gdb.base/attach.exp: Add double attach test.
133
134 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
135
136         * lib/gdb.exp (default_gdb_start): Don't match pagination
137         prompt.
138         (gdb_init): Set stty_init.
139
140 2019-01-27  Tom Tromey  <tom@tromey.com>
141
142         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
143         skip_python_tests.
144
145 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
146
147         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
148         New structure.
149         (struct struct_static_02_02): Likewise.
150         (struct struct_static_02_03): Likewise.
151         (struct struct_static_02_04): Likewise.
152         (struct struct_static_04_01): Likewise.
153         (struct struct_static_04_02): Likewise.
154         (struct struct_static_04_03): Likewise.
155         (struct struct_static_04_04): Likewise.
156         (struct struct_static_06_01): Likewise.
157         (struct struct_static_06_02): Likewise.
158         (struct struct_static_06_03): Likewise.
159         (struct struct_static_06_04): Likewise.
160         (cmp_struct_static_02_01): Likewise.
161         (cmp_struct_static_02_02): Likewise.
162         (cmp_struct_static_02_03): Likewise.
163         (cmp_struct_static_02_04): Likewise.
164         (cmp_struct_static_04_01): Likewise.
165         (cmp_struct_static_04_02): Likewise.
166         (cmp_struct_static_04_03): Likewise.
167         (cmp_struct_static_04_04): Likewise.
168         (cmp_struct_static_06_01): Likewise.
169         (cmp_struct_static_06_02): Likewise.
170         (cmp_struct_static_06_03): Likewise.
171         (cmp_struct_static_06_04): Likewise.
172         (call_all): Test new structs.
173         * gdb.base/infcall-nested-structs.exp: Likewise.
174
175 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
176         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
177
178 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
179         * gdb.base/stack-protector.c: New test.
180         * gdb.base/stack-protector.exp: New file.
181         * gdb.cp/ovldbreak.exp: Only allow a single break line.
182         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
183         option.
184         (gdb_compile): Remove stack protector for GCC and prevent
185         recursion.
186
187 2019-01-16  Keith Seitz  <keiths@redhat.com>
188
189         PR gdb/23773
190         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
191
192 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
193
194         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
195         aliases.
196         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
197         tests.
198         * gdb.arch/powerpc-vector-regs.c: New file.
199         * gdb.arch/powerpc-vector-regs.exp: New file.
200
201 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
202
203         * gdb.arch/altivec-regs.exp: Fix the list passed to
204         gdb_expect_list when testing "info vector".
205
206 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
207
208         * gdb.base/style.exp: Don't include path in testname.
209
210 2019-01-10  Keith Seitz  <keiths@redhat.com>
211
212         PR gdb/23712
213         PR symtab/23010
214         * gdb.dwarf2/multidictionary.exp: New file.
215
216 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
217
218         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
219         (test_gnuv3_style_demangling): ... this.
220         (test_lucid_style_demangling): Remove.
221         (test_arm_style_demangling): Remove.
222         (test_hp_style_demangling): Remove.
223         (do_tests): Remove calls to the above.
224
225 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
226
227         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
228         case.
229
230 2019-01-06  Tom Tromey  <tom@tromey.com>
231
232         PR gdb/28155:
233         * gdb.dwarf2/typedef-void-finish.exp: New file.
234
235 2018-12-28  Tom Tromey  <tom@tromey.com>
236             Simon Marchi <simark@simark.ca>
237
238         * gdb.base/jit-exec.exp: New file.
239         * gdb.base/jit-exec.c: New file.
240         * gdb.base/jit-execd.c: New file.
241
242 2018-12-28  Tom Tromey  <tom@tromey.com>
243
244         * gdb.base/style.exp: Update test to check for address styling.
245
246 2018-12-28  Tom Tromey  <tom@tromey.com>
247
248         * gdb.base/style.exp: Add test for styling of "Reading symbols"
249         message.
250
251 2018-12-28  Tom Tromey  <tom@tromey.com>
252
253         * gdb.base/style.exp: Add test for version number styling.
254
255 2018-12-28  Tom Tromey  <tom@tromey.com>
256
257         * gdb.base/style.exp: Add test for print_address_symbolic.
258
259 2018-12-28  Tom Tromey  <tom@tromey.com>
260
261         * gdb.base/style.exp: Add test for breakpoint setting.
262
263 2018-12-28  Tom Tromey  <tom@tromey.com>
264
265         * gdb.base/style.exp: Add test for variable names.
266
267 2018-12-28  Tom Tromey  <tom@tromey.com>
268
269         * gdb.base/style.exp: New file.
270         * gdb.base/style.c: New file.
271
272 2018-12-28  Tom Tromey  <tom@tromey.com>
273
274         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
275         "dumb".
276         * gdb.base/readline.exp (operate_and_get_next): Save and restore
277         the TERM environment variable.
278
279 2018-12-27  Tom Tromey  <tom@tromey.com>
280
281         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
282         pagination test.
283
284 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
285
286         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
287         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
288
289 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
290
291         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
292         Filename a.adb changed to bp_fun_addr.adb.
293         gdb.ada/bp_fun_addr.exp: Update test accordingly.
294
295 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
296
297         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
298         non-PIE executables.
299         * README: Mention the gdb,nopie_flag board setting.
300         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
301         non-PIE executable.
302         * gdb.arch/amd64-entry-value.exp: Likewise.
303         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
304         * gdb.arch/i386-float.exp: Likewise.
305         * gdb.arch/i386-signal.exp: Likewise.
306         * gdb.mi/mi-reg-undefined.exp: Likewise.
307
308 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
309
310         PR gdb/23974
311         * gdb.base/info-os.exp: Check return for unknown "info os" type.
312
313 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
314
315         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
316         Update order of results accordingly.
317
318 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
319
320         * gdb.base/annota1.exp: Update a test regexp.
321
322 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
323
324         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
325
326 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
327
328         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
329         (reuse_time): Initialize to REUSE_TIME_CAP.
330         (check_rc): New function.
331         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
332         Check pthread_create rc.
333         (spawner_thread_func): Check pthread_create and pthread_join rc.
334
335 2018-12-08  Pedro Alves  <palves@redhat.com>
336
337         * gdb.base/list.exp (test_forward_search): Rename to ...
338         (test_forward_reverse_search): ... this.  Also test reverse-search
339         and the forward-search alias.
340
341 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
342
343         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
344         local timeout variable before return, and remove all local timeout
345         variable entirely.
346         (gdb_load): Likewise.
347
348 2018-12-01  Tom de Vries  <tdevries@suse.de>
349
350         * gdb.base/gdb-caching-proc.exp: New file.
351
352 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
353
354         * Makefile.in (TIMESTAMP): New variable.
355         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
356         command.
357         (check-single-racy): Likewise.
358         (check/%.exp): Likewise.
359         (check-racy/%.exp): Likewise.
360         (workers/%.worker): Likewise.
361         (build-perf): Likewise.
362         (check-perf): Likewise.
363         * README: Describe new "TS" and "TS_FORMAT" variables.
364         * print-ts.py: New file.
365
366 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
367
368         PR python/23714
369         * gdb.python/python.exp: Test command repetition after
370         gdb.execute.
371
372 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
373
374         * gdb.opt/inline-break.exp: Add test that info breakpoint output
375         is correctly aligned.
376
377 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
378
379         * gdb.ada/info_auto_lang.exp: New testcase.
380         * gdb.ada/info_auto_lang/global_pack.ads: New file.
381         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
382         * gdb.ada/info_auto_lang/some_c.c: New file.
383
384 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
385
386         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
387         FUNC_lang language syntax.
388
389 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
390
391         * gdb.base/info_minsym.c: New file.
392         * gdb.base/info_minsym.exp: New file.
393
394 2018-11-19  Tom Tromey  <tom@tromey.com>
395
396         PR rust/23625:
397         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
398         * gdb.rust/expr.exp: Update expected output.  Change one test.
399
400 2018-11-19  Tom Tromey  <tom@tromey.com>
401
402         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
403
404 2018-11-19  Pedro Alves  <palves@redhat.com>
405
406         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
407         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
408         see the expected warning.
409
410 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
411
412         PR gdb/22736:
413         * gdb.cp/infcall-nodebug-lib.c: New test.
414         * gdb.cp/infcall-nodebug-main.c: New test.
415         * gdb.cp/infcall-nodebug.exp: New file.
416
417 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
418
419         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
420         completer tests.
421
422 2018-11-09  Tom de Vries  <tdevries@suse.de>
423
424         * gdb.base/msym-lang.c: New test.
425         * gdb.base/msym-lang.exp: New file.
426         * gdb.base/msym-lang-main.c: New test.
427
428 2018-11-08  Tom Tromey  <tom@tromey.com>
429
430         PR gdb/23555:
431         PR gdb/23838:
432         * gdb.base/warning.exp: New file.
433
434 2018-11-08  Jan Beulich  <jbeulich@suse.com>
435
436         * testsuite/gdb.arch/i386-avx512.c,
437         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
438
439 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
440
441         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
442         point hardware.
443
444 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
445
446         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
447         * gdb.dwarf2/missing-type-name.exp: New file.
448
449 2018-11-06  Tom de Vries  <tdevries@suse.de>
450
451         * gdb.base/many-headers.c: New test.
452         * gdb.base/many-headers.exp: New file.
453
454 2018-11-06  Jim Wilson  <jimw@sifive.com>
455
456         * gdb.base/code_elim.exp: For riscv, set additional_flags
457         to include -msmall-data-limit=0.
458
459 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
460
461         * gdb.ada/watch_minus_l: New testcase.
462
463 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
464
465         * gdb.arch/aix-sighandle.c: New file.
466         * gdb.arch/aix-sighandle.exp: New file.
467
468 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
469
470         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
471         registers being unions.
472
473 2018-10-31  Tom de Vries  <tdevries@suse.de>
474
475         * lib/valgrind.exp: New file.
476          (vgdb_start, vgdb_stop): New procs, factored out of ...
477         * gdb.base/valgrind-bt.exp: ... here, ...
478         * gdb.base/valgrind-disp-step.exp: ... here and ...
479         * gdb.base/valgrind-infcall.exp: ... here.
480
481 2018-10-31  Tom de Vries  <tdevries@suse.de>
482
483         * lib/gdb.exp (get_valueof): Don't output read value in test name.
484
485 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
486
487         * gdb.dwarf2/void-type.c: New file.
488         * gdb.dwarf2/void-type.exp: New file.
489
490 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
491
492         * gdb.base/info_qt.c: New file.
493         * gdb.base/info_qt.exp: New file.
494
495 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
496
497         * gdb.arch/powerpc-htm-regs.c: New file.
498         * gdb.arch/powerpc-htm-regs.exp: New file.
499
500 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
501
502         * gdb.arch/powerpc-tar.c: New file.
503         * gdb.arch/powerpc-tar.exp: New file.
504
505 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
506
507         * gdb.arch/powerpc-ppr-dscr.c: New file.
508         * gdb.arch/powerpc-ppr-dscr.exp: New file.
509
510 2018-10-25  Tom de Vries  <tdevries@suse.de>
511
512         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
513
514 2018-10-24  Tom de Vries  <tdevries@suse.de>
515
516         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
517         longer exists error.
518
519 2018-10-24  Tom de Vries  <tdevries@suse.de>
520
521         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
522
523 2018-10-24  Tom de Vries  <tdevries@suse.de>
524
525         * gdb.base/valgrind-db-attach.exp: Handle removed support for
526         --db-attach in valgrind.
527
528 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
529
530         * gdb.arch/riscv-reg-aliases.c: New file.
531         * gdb.arch/riscv-reg-aliases.exp: New file.
532
533 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
534
535         * gdb.python/py-cmd.exp: Check for gdb_prompt.
536
537 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
538
539         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
540
541 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
542
543         * gdb.cp/ovldbreak.exp: Fix regexps.
544
545 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
546
547         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
548
549 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
550
551         PR cli/23785
552         * gdb.base/restore.exp: New test to check if "restore" with an
553         invalid file doesn't segfault.
554
555 2018-10-18  Tom de Vries  <tdevries@suse.de>
556
557         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
558         * gdb.ada/excep_handle.exp: Same.
559         * gdb.ada/mi_string_access.exp: Same.
560         * gdb.ada/mi_var_union.exp: Same.
561         * gdb.arch/arc-analyze-prologue.exp: Same.
562         * gdb.arch/arc-decode-insn.exp: Same.
563         * gdb.base/readnever.exp: Same.
564         * gdb.fortran/printing-types.exp: Same.
565         * gdb.guile/scm-lazy-string.exp: Same.
566
567 2018-10-16  Tom de Vries  <tdevries@suse.de>
568
569         PR gdb/23730
570         * gdb.base/catch-follow-exec.c: Add copyright notice.
571         * gdb.base/catch-follow-exec.exp: Rewrite to use
572         gdb_spawn_with_cmdline_opts.  Require gdb-native.
573
574 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
575
576         * gdb.trace/actions-changed.exp: Check for arch support.
577         * gdb.trace/actions.exp: Likewise.
578         * gdb.trace/ax.exp: Likewise.
579         * gdb.trace/backtrace.exp: Likewise.
580         * gdb.trace/change-loc.exp: Likewise.
581         * gdb.trace/deltrace.exp: Likewise.
582         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
583         * gdb.trace/ftrace.exp: Likewise.
584         * gdb.trace/infotrace.exp: Check for arch support.
585         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
586         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
587         * gdb.trace/mi-tsv-changed.exp: Likewise.
588         * gdb.trace/packetlen.exp: Likewise.
589         * gdb.trace/passc-dyn.exp: Likewise.
590         * gdb.trace/passcount.exp: Likewise.
591         * gdb.trace/pending.exp: Likewise.
592         * gdb.trace/range-stepping.exp: Check for shlib support.
593         * gdb.trace/report.exp: Check for arch support.
594         * gdb.trace/save-trace.exp: Likewise.
595         * gdb.trace/signal.exp: Check for signal support.
596         * gdb.trace/tfind.exp: Check for arch support.
597         * gdb.trace/trace-break.exp: Check for arch and shlib support.
598         * gdb.trace/trace-common.h: Add comment.
599         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
600         * gdb.trace/trace-enable-disable.exp: Likewise.
601         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
602         * gdb.trace/tracecmd.exp: Check for arch support.
603         * gdb.trace/tspeed.exp: Check for shlib and target support.
604         * gdb.trace/tstatus.exp: Check for arch support.
605         * gdb.trace/tsv.exp: Likewise.
606         * gdb.trace/while-dyn.exp: Likewise.
607         * gdb.trace/while-stepping.exp: Likewise.
608         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
609
610 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
611
612         * gdb.trace/tspeed.exp: Remove nowarnings.
613         (prepare_for_trace_test): Declare "global ipalib".
614         * gdb.trace/tspeed.c: Include unistd.h.
615         (main): Remove superfluous printf argument.
616
617 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
618
619         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
620         directory prefix on the filename.
621
622 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
623
624         * gdb.gdb/unittest.exp: Update expected message informing that
625         selftests have been disabled.
626         * gdb.server/unittest.exp: Likewise.
627
628 2018-10-09  Tom de Vries  <tdevries@suse.de>
629
630         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
631         with runto_main.
632
633 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
634
635         PR c++/16841
636         * gdb.cp/virtbase2.cc: New file.
637         * gdb.cp/virtbase2.exp: New file.
638
639 2018-10-06  Tom Tromey  <tom@tromey.com>
640
641         PR python/19399:
642         * gdb.python/py-inferior.exp: Add architecture test.
643
644 2018-10-06  Tom Tromey  <tom@tromey.com>
645
646         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
647         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
648
649 2018-10-06  Tom Tromey  <tom@tromey.com>
650
651         * gdb.python/py-breakpoint.exp (check_last_event): Check location
652         of a "throw" catchpoint.
653
654 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
655
656         * gdb.base/info-proc.exp: Update string expected from "help info
657         proc".
658
659 2018-10-04  Tom Tromey  <tom@tromey.com>
660
661         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
662         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
663         (test_initial_complaints, test_empty_complaints): Update.
664         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
665
666 2018-10-04  Tom Tromey  <tom@tromey.com>
667
668         PR cli/19551:
669         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
670         * lib/gdb.exp (gdb_file_cmd): Update.
671         * gdb.stabs/weird.exp (print_weird_var): Update.
672         * gdb.server/solib-list.exp: Update.
673         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
674         * gdb.mi/mi-cli.exp: Update.
675         * gdb.linespec/linespec.exp: Update.
676         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
677         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
678         * gdb.cp/cp-relocate.exp: Update.
679         * gdb.base/sym-file.exp: Update.
680         * gdb.base/relocate.exp: Update.
681         * gdb.base/readnever.exp: Update.
682         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
683         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
684         * gdb.base/dbx.exp (gdb_file_cmd): Update.
685         * gdb.base/code_elim.exp: Update.
686         * gdb.base/break-unload-file.exp (test_break): Update.
687         * gdb.base/break-interp.exp (test_attach_gdb): Update.
688         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
689         Update.
690         * gdb.base/attach.exp (do_attach_tests): Update.
691         * gdb.base/sepdebug.exp: Update.
692         * gdb.python/py-section-script.exp: Update.
693
694 2018-10-04  Tom Tromey  <tom@tromey.com>
695
696         PR cli/22234:
697         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
698         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
699         output.
700
701 2018-10-04  Tom Tromey  <tom@tromey.com>
702
703         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
704         set width and height to 0.
705         (test_command_line_attach_run): Use -quiet.
706
707 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
708
709         * lib/gdb.exp (skip_ifunc_tests): New.
710         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
711         other compile failures.
712         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
713
714 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
715
716         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
717         is_amd64_regs_target.
718
719 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
720
721         * gdb.arch/aarch64-sighandler-regs.c: New test.
722         * gdb.arch/aarch64-sighandler-regs.exp: New file.
723         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
724
725 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
726
727         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
728         assembly.
729
730 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
731
732         * gdb.base/frame-selection.exp: New file.
733         * gdb.base/frame-selection.c: New file.
734
735 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
736
737         * gdb.threads/check-libthread-db.c (thread_routine): Use a
738         pthread barrier.
739         (main): Likewise.
740
741 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
742
743         * gdb.base/large-frame-1.c: New file.
744         * gdb.base/large-frame-2.c: New file.
745         * gdb.base/large-frame.exp: New file.
746         * gdb.base/large-frame.h: New file.
747
748 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
749
750         PR gdb/20948
751         * gdb.base/write_mem.exp: New test.
752         * gdb.base/write_mem.c: Likewise.
753
754 2018-09-23  Tom Tromey  <tom@tromey.com>
755
756         PR python/18852:
757         * gdb.python/py-parameter.exp: Add test for parameter that throws
758         on "set".
759
760 2018-09-23  Tom Tromey  <tom@tromey.com>
761
762         PR python/17284:
763         * gdb.python/py-template.exp (test_template_arg): Add test for
764         negative template argument number.
765
766 2018-09-23  Tom Tromey  <tom@tromey.com>
767
768         PR python/14062:
769         * gdb.python/python.exp: Add test for post_event error.
770
771 2018-09-23  Tom Tromey  <tom@tromey.com>
772
773         PR python/18170:
774         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
775         convert pointers to int and long.
776
777 2018-09-23  Tom Tromey  <tom@tromey.com>
778
779         PR python/20126:
780         * gdb.python/py-value.exp (test_value_numeric_ops): Add
781         signed-ness conversion tests.
782
783 2018-09-23  Tom Tromey  <tom@tromey.com>
784
785         PR python/18352;
786         * gdb.python/py-value.exp (test_float_conversion): New proc.
787         Use it.
788
789 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
790
791         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
792
793 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
794
795         * gdb.base/complete-empty.exp: Skip tab-completion tests if
796         no readline.
797         * gdb.base/utf8-identifiers.exp: Likewise.
798         * gdb.cp/cpcompletion.exp: Likewise.
799         * gdb.linespec/cpcompletion.exp: Likewise.
800         * gdb.linespec/cpls-abi-tag.exp: Likewise.
801         * gdb.linespec/cpls-ops.exp: Likewise.
802
803 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
804             Chris January  <chris.january@arm.com>
805
806         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
807         * gdb.fortran/short-circuit-argument-list.exp: New file.
808         * gdb.fortran/short-circuit-argument-list.f90: New test.
809
810 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
811
812         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
813         "arch=" keyword when executing "-stack-list-frames".
814
815 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
816
817         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
818         "arch=" keyword when executing "-stack-list-frames".
819
820 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
821
822         * gdb.ada/complete.exp: Expect for "@" when doing "complete
823         break ada".
824
825 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
826
827         PR python/23669
828         * gdb.python/python.exp: Test gdb.execute("show commands").
829
830 2018-09-16  Tom Tromey  <tom@tromey.com>
831
832         * gdb.base/new-ui.exp (do_execution_tests): Update.
833         * gdb.base/dbx.exp (test_breakpoints): Update.
834
835 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
836
837         * lib/gdb.exp (gdb_simple_compile): Add proc.
838         (is_elf_target): Use gdb_simple_compile.
839         (skip_altivec_tests): Likewise.
840         (skip_vsx_tests): Likewise.
841         (skip_tsx_tests): Likewise.
842         (skip_btrace_tests): Likewise.
843         (skip_btrace_pt_tests): Likewise.
844         (gdb_can_simple_compile): Likewise.
845         (gdb_has_argv0): Likewise.
846         (gdb_target_symbol_prefix): Likewise.
847         (target_supports_scheduler_locking): Likewise.
848
849 2018-09-13  Tom Tromey  <tom@tromey.com>
850
851         * Makefile.in (TAGS): Recognize proc_with_prefix and
852         gdb_caching_proc.
853
854 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
855
856         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
857         method.
858
859 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
860
861         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
862         and a few other Inferior properties when the Inferior is no
863         longer valid.
864
865 2018-09-13  Tom Tromey  <tom@tromey.com>
866
867         PR rust/23650:
868         * gdb.rust/simple.exp: Add test for enum field access error.
869
870 2018-09-13  Tom Tromey  <tom@tromey.com>
871
872         PR rust/23626:
873         * gdb.rust/simple.rs (EmptyEnum): New type.
874         (main): Use it.
875         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
876
877 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
878
879         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
880         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
881         * gdb.python/py-symtab.exp: Update test printing an objfile.
882
883 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
884
885         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
886         object.
887
888 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
889
890         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
891         (support_complex_tests): Use gdb_can_simple_compile.
892         (is_ilp32_target): Likewise.
893         (is_lp64_target): Likewise.
894         (is_64_target): Likewise.
895         (is_amd64_regs_target): Likewise.
896         (is_aarch32_target): Likewise.
897         (gdb_int128_helper): Likewise.
898
899 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
900
901         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
902
903 2018-09-10  Jerome Guitton  <guitton@adacore.com>
904
905         * gdb.ada/same_component_name: Add test for case of tagged record
906         with variable-length fields.
907
908 2018-09-10  Xavier Roirand  <roirand@adacore.com>
909
910         * gdb.ada/access_to_unbounded_array.exp: New testcase.
911         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
912         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
913         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
914
915 2018-09-10  Xavier Roirand  <roirand@adacore.com>
916
917         * gdb.ada/mi_string_access.exp: New testcase.
918         * gdb.ada/mi_string_access/bar.adb: New file.
919         * gdb.ada/mi_string_access/pck.adb: New file.
920         * gdb.ada/mi_string_access/pck.asd: New file.
921
922 2018-09-10  Xavier Roirand  <roirand@adacore.com>
923
924         * gdb.ada/mi_var_union.exp: New testcase.
925         * gdb.ada/mi_var_union/bar.adb: New file.
926         * gdb.ada/mi_var_union/pck.adb: New file.
927         * gdb.ada/mi_var_union/pck.asd: New file.
928
929 2018-09-08  Tom Tromey  <tom@tromey.com>
930
931         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
932
933 2018-09-08  Tom Tromey  <tom@tromey.com>
934
935         PR python/16047:
936         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
937         (register_pretty_printers): Register new printer.
938         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
939         test.
940         * gdb.python/py-prettyprint.c (int_type3): New typedef.
941         (an_int_type3): New global.
942
943 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
944
945         * gdb.ada/expr_with_funcall: New testcase.
946
947 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
948
949         * gdb.ada/packed_array_assign: New testcase.
950
951 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
952
953         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
954         names, and add test prefixes to make test names unique.
955
956 2018-09-05  Tom de Vries  <tdevries@suse.de>
957
958         * gdb.dwarf2/varval.exp: Add test.
959
960 2018-09-04  Gary Benson <gbenson@redhat.com>
961
962         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
963         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
964
965 2018-08-31  Tom Tromey  <tom@tromey.com>
966
967         * gdb.rust/simple.rs: Rename second variable "v".
968
969 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
970
971         * gdb.base/funcargs.c (use_a): New function.
972         (recurse): Call use_a.
973
974 2018-08-29  Keith Seitz  <keiths@redhat.com>
975
976         * gdb.compile/compile-cplus-anonymous.cc: New file.
977         * gdb.compile/compile-cplus-anonymous.exp: New file.
978         * gdb.compile/compile-cplus-array-decay.cc: New file.
979         * gdb.compile/compile-cplus-array-decay.exp: New file.
980         * gdb.compile/compile-cplus-inherit.cc: New file.
981         * gdb.compile/compile-cplus-inherit.exp: New file.
982         * gdb.compile/compile-cplus-member.cc: New file.
983         * gdb.compile/compile-cplus-member.exp: New file.
984         * gdb.compile/compile-cplus-method.cc: New file.
985         * gdb.compile/compile-cplus-method.exp: New file.
986         * gdb.compile/compile-cplus-mod.c: "New" file.
987         * gdb.compile/compile-cplus-namespace.cc: New file.
988         * gdb.compile/compile-cplus-namespace.exp: New file.
989         * gdb.compile/compile-cplus-nested.cc: New file.
990         * gdb.compile/compile-cplus-nested.exp: New file.
991         * gdb.compile/compile-cplus-print.c: "New" file.
992         * gdb.compile/compile-cplus-print.exp: "New" file.
993         * gdb.compile/compile-cplus-virtual.cc: New file.
994         * gdb.compile/compile-cplus-virtual.exp: New file.
995         * gdb.compile/compile-cplus.c: "New" file.
996         * gdb.compile/compile-cplus.exp: "New" file.
997         * lib/compile-support.exp: New file.
998
999 2018-08-16  Gary Benson <gbenson@redhat.com>
1000
1001         PR gdb/13000:
1002         * gdb.base/batch-exit-status.exp: New file.
1003         * gdb.base/batch-exit-status.good-commands: Likewise.
1004         * gdb.base/batch-exit-status.bad-commands: Likewise.
1005
1006 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
1007
1008         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1009         (struct struct02): Likewise.
1010         (struct struct03): Likewise.
1011         (struct struct04): Likewise.
1012         (struct struct_01_01): New struct.
1013         (struct struct_01_02): Likewise.
1014         (struct struct_01_03): Likewise.
1015         (struct struct_01_04): Likewise.
1016         (struct struct_02_01): Likewise.
1017         (struct struct_02_02): Likewise.
1018         (struct struct_02_03): Likewise.
1019         (struct struct_02_04): Likewise.
1020         (struct struct_04_01): Likewise.
1021         (struct struct_04_02): Likewise.
1022         (struct struct_04_03): Likewise.
1023         (struct struct_04_04): Likewise.
1024         (struct struct_05_01): Likewise.
1025         (struct struct_05_02): Likewise.
1026         (struct struct_05_03): Likewise.
1027         (struct struct_05_04): Likewise.
1028         (cmp_struct01): Remove function.
1029         (cmp_struct02): Likewise.
1030         (cmp_struct03): Likewise.
1031         (cmp_struct04): Likewise.
1032         (cmp_struct_01_01): Add Function.
1033         (cmp_struct_01_02): Likewise.
1034         (cmp_struct_01_03): Likewise.
1035         (cmp_struct_01_04): Likewise.
1036         (cmp_struct_02_01): Likewise.
1037         (cmp_struct_02_02): Likewise.
1038         (cmp_struct_02_03): Likewise.
1039         (cmp_struct_02_04): Likewise.
1040         (cmp_struct_04_01): Likewise.
1041         (cmp_struct_04_02): Likewise.
1042         (cmp_struct_04_03): Likewise.
1043         (cmp_struct_04_04): Likewise.
1044         (cmp_struct_05_01): Likewise.
1045         (cmp_struct_05_02): Likewise.
1046         (cmp_struct_05_03): Likewise.
1047         (cmp_struct_05_04): Likewise.
1048         (call_all): Add new structs.
1049         * gdb.base/infcall-nested-structs.exp: Likewise.
1050
1051 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1052
1053         * gdb.python/py-framefilter-mi.exp: Update regexp to
1054         check for "arch" field in frame output.
1055
1056 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1057
1058         * gdb.dwarf2/dw2-ranges-func.c: New file.
1059         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1060
1061 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1062
1063         * gdb.base/term.exp: Compare terminal settings with values from
1064         the inferior.
1065         * gdb.base/term.c: Get and set terminal settings.
1066
1067 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1068
1069         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1070         accommodate new "arch" field in frame output.
1071         * gdb.mi/mi-return.exp: Likewise.
1072         * gdb.mi/mi-stack.exp: Likewise.
1073         * gdb.mi/mi-syn-frame.exp: Likewise.
1074         * gdb.mi/user-selected-context-sync.exp: Likewise.
1075
1076 2018-08-19  Michael Spang  <spang@google.com>
1077
1078         PR gdb/11786
1079         * gdb.base/gcore-tls-pie.c: New file.
1080         * gdb.base/gcore-tls-pie.exp: New file.
1081
1082 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1083
1084         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1085         * gdb.dwarf2/varval.c: New file.
1086         * gdb.dwarf2/varval.exp: New file.
1087
1088 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1089
1090         PR gdb/18931
1091         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1092
1093 2018-08-16  Keith Seitz  <keiths@redhat.com>
1094
1095         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1096         tests expected to pass.
1097
1098 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1099
1100         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1101         -data-disassemble -a.
1102         (test_disassembly_bogus_args): Likewise.
1103
1104 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1105
1106         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1107
1108 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1109
1110         * gdb.base/vla-optimized-out.exp: Add new test.
1111
1112 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1113
1114         * gdb.base/vla-optimized-out-o3.exp: Delete.
1115         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1116         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1117         deleted tests.
1118
1119 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1120
1121         PR gdb/18050:
1122         * gdb.server/extended-remote-restart.c: New file.
1123         * gdb.server/extended-remote-restart.exp: New file.
1124
1125 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1126
1127         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1128         "set variable index = 42".
1129
1130 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1131
1132         * boards/index-cache-gdb.exp: New file.
1133         * gdb.dwarf2/index-cache.exp: New file.
1134         * gdb.dwarf2/index-cache.c: New file.
1135         * gdb.base/maint.exp: Check if we are using the index cache.
1136
1137 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1138
1139         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1140         MAKEFLAGS.
1141
1142 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1143
1144         * dg-extract-results.sh: Move to toplevel contrib.
1145         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1146         * Makefile.in (check-parallel-racy): Likewise.
1147
1148 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1149
1150         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1151         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1152         tests if the target supports scheduler locking.
1153
1154 2018-08-04  Tom de Vries  <tdevries@suse.de>
1155
1156         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1157
1158 2018-08-02  Tom Tromey  <tom@tromey.com>
1159
1160         PR symtab/16842.
1161         * gdb.cp/temargs.exp: Test "info address" of a template
1162         parameter.
1163
1164 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1165
1166         * gdb.python/py-mi-var-info-path-expression.c: New file.
1167         * gdb.python/py-mi-var-info-path-expression.py: New file.
1168         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1169
1170 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1171
1172         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1173         error after "cannot resolve name" string.
1174
1175 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1176
1177         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1178         started.
1179         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1180
1181 2018-07-28  Tom de Vries  <tdevries@suse.de>
1182
1183         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1184
1185 2018-07-26  Tom de Vries  <tdevries@suse.de>
1186
1187         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1188
1189 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1190
1191         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1192         is visible.
1193
1194 2018-07-26  Tom de Vries  <tdevries@suse.de>
1195
1196         PR breakpoints/23366
1197         * gdb.base/catch-follow-exec.c: New test.
1198         * gdb.base/catch-follow-exec.exp: New file.
1199
1200 2018-07-25  Tom de Vries  <tdevries@suse.de>
1201
1202         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1203         vla-optimized-out.c.
1204
1205 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1206
1207         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1208         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1209
1210 2018-07-20  Tom de Vries  <tdevries@suse.de>
1211
1212         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1213         NOCLONE macro.
1214         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1215
1216 2018-07-19  Tom de Vries  <tdevries@suse.de>
1217
1218         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1219         regular expression.
1220
1221 2018-07-18  Tom de Vries  <tdevries@suse.de>
1222
1223         * gdb.base/vla-optimized-out.c: New test.
1224         * gdb.base/vla-optimized-out.exp: New file.
1225
1226 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1227
1228         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1229         message "No address associated with hostname" when gdbserver
1230         cannot resolve the hostname.
1231
1232 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1233
1234         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1235         Add some test prefixes to make tests unique.
1236
1237 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1238
1239         * gdb.base/frameapply.c: New file.
1240         * gdb.base/frameapply.exp: New file.
1241
1242 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1243
1244         * gdb.base/skip.exp: Update expected error message.
1245
1246 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1247             Jan Kratochvil  <jan.kratochvil@redhat.com>
1248             Paul Fertser  <fercerpav@gmail.com>
1249             Tsutomu Seki  <sekiriki@gmail.com>
1250
1251         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1252         parameter.
1253         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1254         by default.
1255         * boards/native-gdbserver.exp: Likewise.
1256         * gdb.server/run-without-local-binary.exp: Improve regexp used
1257         for detecting when a remote debugging connection succeeds.
1258         * gdb.server/server-connect.exp: New file.
1259         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1260         Do not prefix the port number with ":".
1261         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1262         support for detecting and using it.  Add '$debughost_gdbserver'
1263         to the list of arguments used to start gdbserver.  Handle case
1264         when gdbserver cannot resolve a network name.
1265
1266 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1267
1268         PR c++/23373
1269         * gdb.base/ptype-offsets.cc (struct static_member): New
1270         struct.
1271         (main) <stmember>: New variable.
1272         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1273         with a static member in it.
1274
1275 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1276
1277         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1278         watchpoints enabled and disabled.
1279
1280 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1281
1282         * gdb.base/examine-backward.exp: Still run tests around address
1283         0x0, even if address 0x0 is not readable.  Update the pattern for
1284         matching address 0x0 in expected output.
1285
1286 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1287
1288         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1289         malloc/free.
1290
1291 2018-07-04  Tom de Vries  <tdevries@suse.de>
1292
1293         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1294
1295 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1296
1297         PR tdep/8282
1298         * gdb.arch/mips-disassembler-options.exp: New test.
1299         * gdb.arch/mips-disassembler-options.s: New test source.
1300
1301 2018-06-29  Pedro Alves  <palves@redhat.com>
1302
1303         * gdb.threads/names.exp: Adjust expected "info threads" output.
1304
1305 2018-06-29  Pedro Alves  <palves@redhat.com>
1306
1307         * gdb.opt/inline-break.exp (line number, address): Add "info
1308         break" tests.
1309
1310 2018-06-29  Pedro Alves  <palves@redhat.com>
1311
1312         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1313         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1314         number and address and running to them.
1315
1316 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1317
1318         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1319
1320 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1321
1322         * lib/compiler.c: Remove executable permission flag.
1323
1324 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1325
1326         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1327         code.
1328         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1329
1330 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1331
1332         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1333
1334 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1335
1336         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1337         address argument is omitted.
1338
1339 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1340
1341         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1342
1343 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1344
1345         PR gdb/21695
1346         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1347         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1348
1349 2018-06-26  Tom Tromey  <tom@tromey.com>
1350
1351         PR rust/22574:
1352         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1353         * gdb.rust/simple.rs (struct SimpleLayout): New.
1354
1355 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1356
1357         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1358         "info registers" output.
1359
1360 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1361
1362         * gdb.base/watchpoint-hw-attach.c: New test.
1363         * gdb.base/watchpoint-hw-attach.exp: New file.
1364
1365 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1366
1367         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1368         through /bin/sh.
1369         * boards/dwarf4-gdb-index.exp: Likewise.
1370         * boards/fission-dwp.exp: Likewise.
1371
1372 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1373
1374         * gdb.base/float128.exp: Add comment and improved fail message
1375         to the failure case of "print large128" test.
1376
1377 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1378
1379         * configure.ac: Remove AC_PREREQ.
1380         * configure: Re-generate.
1381
1382 2018-06-19  Pedro Alves  <palves@redhat.com>
1383
1384         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1385         (func_extern_caller): New.
1386         (main): Call func_extern_caller.
1387         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1388         logic change.
1389
1390 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1391
1392         PR gdb/16841
1393         * gdb.cp/typedef-base.cc: New file.
1394         * gdb.cp/typedef-base.exp: New file.
1395
1396 2018-06-18  Tom de Vries  <tdevries@suse.de>
1397
1398         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1399
1400 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1401             Richard Bunt <Richard.Bunt@arm.com>
1402
1403         * gdb.threads/attach-slow-waitpid.c: New file.
1404         * gdb.threads/attach-slow-waitpid.exp: New file.
1405         * gdb.threads/slow-waitpid.c: New file.
1406
1407 2018-06-14  Pedro Alves  <palves@redhat.com>
1408
1409         * gdb.base/fork-running-state.c: Include <errno.h>.
1410         (exit_if_relative_exits): New.
1411         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1412         exits.
1413         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1414         child exits.
1415
1416 2018-06-14  Tom de Vries  <tdevries@suse.de>
1417
1418         PR cli/22573
1419         * gdb.base/finish-pretty.c: New test.
1420         * gdb.base/finish-pretty.exp: New file.
1421
1422 2018-06-14  Pedro Alves  <palves@redhat.com>
1423
1424         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1425         gdb's expected startup output.
1426
1427 2018-06-14  Pedro Alves  <palves@redhat.com>
1428
1429         * lib/selftest-support.exp (selftest_setup): Remove inlined
1430         function handling.
1431
1432 2018-06-14  Tom de Vries  <tdevries@suse.de>
1433
1434         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1435         matching of breakpoint printing.
1436
1437 2018-06-13  Tom de Vries  <tdevries@suse.de>
1438
1439         PR testsuite/23269
1440         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1441         (fork_child): ... here, and ...
1442         (fork_parent): ... here.
1443
1444 2018-06-12  Tom de Vries  <tdevries@suse.de>
1445
1446         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1447
1448 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1449             Stephen Roberts  <stephen.roberts@arm.com>
1450
1451         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1452         rewrite test to describe action performed, rather than possible
1453         failure.
1454
1455 2018-06-08  Gary Benson <gbenson@redhat.com>
1456
1457         * gdb.threads/check-libthread-db.exp: New file.
1458         * gdb.threads/check-libthread-db.c: Likewise.
1459
1460 2018-06-05  Tom Tromey  <tom@tromey.com>
1461
1462         * gdb.base/default.exp: Update expected "show version" output.
1463
1464 2018-06-05  Tom Tromey  <tom@tromey.com>
1465
1466         PR cli/12326:
1467         * gdb.cp/static-print-quit.exp: Update.
1468         * lib/gdb.exp (pagination_prompt): Update.
1469         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1470         * gdb.python/python.exp: Update.
1471
1472 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1473
1474         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1475
1476 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1477
1478         * gdb.ada/bp_fun_addr: New testcase.
1479
1480 2018-06-01  Tom Tromey  <tom@tromey.com>
1481
1482         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1483         results.
1484         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1485         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1486         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1487         * gdb.base/maint.exp (maint_pass_if): Update.
1488
1489 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1490
1491         * gdb.base/endian.exp: New test.
1492         * gdb.base/endian.c: New test source.
1493
1494 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1495
1496         PR gdb/23203
1497         * gdb.base/bt-selected-frame.c: New file.
1498         * gdb.base/bt-selected-frame.exp: New file.
1499         * lib/gdb.exp (get_current_frame_number): New function.
1500
1501 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1502             Pedro Alves  <palves@redhat.com>
1503
1504         * gdb.threads/tls-core.c: Include <stdlib.h>
1505         (thread_proc): Call `abort'.
1506         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1507         (tls_core_test): New procedure, bits factored out from ...
1508         (top level): ... here.  Test both native cores and gcore cores.
1509
1510 2018-05-23  Tom Tromey  <tom@tromey.com>
1511
1512         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1513
1514 2018-05-23  Tom Tromey  <tom@tromey.com>
1515
1516         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1517         symfile_complaints.
1518         (test_short_complaints): Likewise.
1519         (test_empty_complaints): Likewise.
1520         (test_initial_complaints): Update.
1521
1522 2018-05-23  Tom Tromey  <tom@tromey.com>
1523
1524         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1525
1526 2018-05-23  Tom Tromey  <tom@tromey.com>
1527
1528         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1529         (test_short_complaints): Update.
1530
1531 2018-05-22  Pedro Alves  <palves@redhat.com>
1532
1533         * gdb.base/remote.exp: Only gdb_start after compiling the
1534         testcase.  Issue "disconnect" before testing "set remote" command
1535         defaults.  Issue clean_restart before running to main.
1536
1537 2018-05-22  Pedro Alves  <palves@redhat.com>
1538
1539         * gdb.base/remote.exp: Adjust expected output of "show remote
1540         memory-write-packet-size".  Add tests for "set remote
1541         memory-write-packet-size 0" and "set remote
1542         memory-write-packet-size fixed/limit".
1543
1544 2018-05-22  Pedro Alves  <palves@redhat.com>
1545
1546         PR gdb/22973
1547         * gdb.base/utf8-identifiers.c: New file.
1548         * gdb.base/utf8-identifiers.exp: New file.
1549
1550 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1551
1552         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1553
1554 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1555
1556         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1557
1558 2018-05-18  Tom Tromey  <tom@tromey.com>
1559
1560         * gdb.base/ptype-offsets.exp: Update.
1561
1562 2018-05-17  Keith Seitz  <keiths@redhat.com>
1563
1564         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1565         in expected breakpoint stop locations.
1566         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1567         move to proper scope to test variable values.
1568         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1569         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1570         New functions.
1571         (main): Call not_inline_func3.
1572         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1573         inline_func1, inline_func2, and inline_func3.  Test that when each
1574         breakpoint is hit, GDB properly reports both the stop location
1575         and the backtrace. Repeat tests for temporary breakpoints.
1576
1577 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1578
1579         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1580         rather then trying to access it in determining whether the PID
1581         of `gdbserver' could have been retrieved.
1582
1583 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1584
1585         * gdb.arch/amd64-init-x87-values.S: New file.
1586         * gdb.arch/amd64-init-x87-values.exp: New file.
1587
1588 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1589
1590         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1591
1592 2018-05-04  Tom Tromey  <tom@tromey.com>
1593
1594         PR python/22730:
1595         * gdb.python/python.exp: Test multi-line execute.
1596
1597 2018-05-04  Tom Tromey  <tom@tromey.com>
1598
1599         PR python/22731:
1600         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1601
1602 2018-05-04  Tom Tromey  <tom@tromey.com>
1603
1604         PR gdb/11750:
1605         * gdb.base/define.exp: Test defining a user command inside a user
1606         command.
1607         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1608
1609 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1610             Pedro Alves <palves@redhat.com>
1611
1612         PR breakpoints/19806 and support for PR external/20207.
1613         * gdb.base/watchpoint-unaligned.c: New file.
1614         * gdb.base/watchpoint-unaligned.exp: New file.
1615
1616 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1617
1618         * gdb.base/maint.exp: Make test names unique, use
1619         test_prefix_command_help to test 'help maint info', and remove
1620         repeated test of 'help maint'.
1621
1622 2018-05-04  Tom Tromey  <tom@tromey.com>
1623
1624         PR gdb/22619:
1625         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1626         behavior.
1627
1628 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1629
1630         * gdb.base/maint.exp: Process output from 'maint print registers'
1631         line at a time.
1632
1633 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1634
1635         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1636         timeout.
1637
1638 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1639
1640         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1641         filter pattern.
1642
1643 2018-05-02  Pedro Alves  <palves@redhat.com>
1644
1645         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1646         to_log_command renames.
1647         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1648
1649 2018-05-02  Tom Tromey  <tom@tromey.com>
1650
1651         * gdb.python/py-parameter.exp: Set test message.
1652
1653 2018-05-02  Tom Tromey  <tom@tromey.com>
1654
1655         PR python/20084:
1656         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1657         PARAM_ZUINTEGER_UNLIMITED tests.
1658
1659 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1660
1661         PR rust/23124
1662         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1663         when casting.
1664
1665 2018-04-30  Tom Tromey  <tom@tromey.com>
1666
1667         * gdb.python/py-type.exp: Check align attribute.
1668         * gdb.python/py-type.c: New "aligncheck" global.
1669
1670 2018-04-30  Tom Tromey  <tom@tromey.com>
1671
1672         PR exp/17095:
1673         * gdb.dwarf2/dw2-align.exp: New file.
1674         * gdb.cp/align.exp: New file.
1675         * gdb.base/align.exp: New file.
1676         * lib/gdb.exp (gdb_int128_helper): New proc.
1677         (has_int128_c, has_int128_cxx): New caching procs.
1678
1679 2018-04-27  Tom Tromey  <tom@tromey.com>
1680
1681         PR rust/22545:
1682         * gdb.rust/simple.exp: Add inclusive range tests.
1683
1684 2018-04-26  Pedro Alves  <palves@redhat.com>
1685
1686         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1687         ifunc breakpoint locations correctly of ifunc breakpoints set
1688         while the program resolves the ifunc.
1689
1690 2018-04-26  Pedro Alves  <palves@redhat.com>
1691
1692         * gdb.base/gnu-ifunc-final.c: New file.
1693         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1694         * gdb.base/gnu-ifunc.exp (executable): Delete.
1695         (staticexecutable): Adjust.
1696         (lib_opts, exec_opts): Delete.
1697         (make_binsuffix, build, set-break): New procedures.
1698         (misc_tests): New, with tests factored out from the top level.
1699         (top level): Test different combinations of ifunc resolver name,
1700         resolver with and with debug info, and ifunc target with and
1701         without debug info.  Wrap static tests with with_target_prefix.
1702
1703 2018-04-26  Pedro Alves  <palves@redhat.com>
1704
1705         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1706         return type" warnings.
1707
1708 2018-04-25  Pedro Alves  <palves@redhat.com>
1709
1710         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1711         killed".
1712         * gdb.base/kill-after-signal.exp: Likewise.
1713         * gdb.threads/kill.exp: Likewise.
1714
1715 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1716             Sergio Durigan Junior  <sergiodj@redhat.com>
1717             Pedro Alves  <palves@redhat.com>
1718
1719         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1720         regexps to expect for '[Inferior ... detached]' as well.
1721         * gdb.base/attach.exp: Likewise.
1722         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1723         "gdb_continue_to_end".
1724         (test_catch_syscall_with_wrong_args): Likewise.
1725         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1726         ']'.  Don't set 'verbose' on.
1727         * gdb.base/foll-vfork.exp: Likewise.
1728         * gdb.base/fork-print-inferior-events.c: New file.
1729         * gdb.base/fork-print-inferior-events.exp: New file.
1730         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1731         '[Inferior ... has been killed]' message.
1732         * gdb.base/kill-after-signal.exp: Likewise.
1733         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1734         detach message.
1735         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1736         message.
1737         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1738         regexps to expect for '[Inferior ... detached]' as well.
1739         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1740
1741 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1742
1743         PR gdb/23104
1744         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1745
1746 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1747
1748         * gdb.threads/multiple-successive-infcall.c: New test.
1749         * gdb.threads/multiple-successive-infcall.exp: New file.
1750
1751 2018-04-17  Tom Tromey  <tom@tromey.com>
1752
1753         * gdb.rust/simple.rs (Union): New type.
1754         (main): New local "u".
1755         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1756
1757 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1758
1759         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1760         number information in output of "whereis" command.
1761         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1762
1763 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1764
1765         * gdb.ada/info_types.exp: Adjust expected output to the line
1766         numbers now printed by "info var/func/type".
1767         * gdb.base/completion.exp: Likewise.
1768         * gdb.base/included.exp: Likewise.
1769         * gdb.cp/cp-relocate.exp: Likewise.
1770         * gdb.cp/cplusfuncs.exp: Likewise.
1771         * gdb.cp/namespace.exp: Likewise.
1772         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1773
1774 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1775
1776         * gdb.btrace/cpu.exp: New.
1777
1778 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1779
1780         * gdb.base/step-indirect-call-thunk.exp: New.
1781         * gdb.base/step-indirect-call-thunk.c: New.
1782         * gdb.reverse/step-indirect-call-thunk.exp: New.
1783         * gdb.reverse/step-indirect-call-thunk.c: New.
1784
1785 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1786
1787         * gdb.base/pie-fork.c: New file.
1788         * gdb.base/pie-fork.exp: New file.
1789
1790 2018-04-11  Tom Tromey  <tom@tromey.com>
1791
1792         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1793
1794 2018-04-10  Pedro Alves  <palves@redhat.com>
1795
1796         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1797         exits.  Instead loop running forever.
1798         (fork_parent): Run forever too.
1799
1800 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1801
1802         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1803         mi_continue_to_line.
1804         * gdb.mi/mi-stack.c (callee4): Add comment.
1805
1806 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1807
1808         * gdb.mi/mi-stack.exp: Fix indentation.
1809
1810 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1811
1812         PR gdb/22979
1813         * gdb.arch/amd64-osabi.exp: New file.
1814
1815 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1816
1817         PR gdb/22980
1818         * gdb.base/osabi.exp: New file.
1819
1820 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1821
1822         * gdb.cp/static-typedef-print.exp: New file.
1823         * gdb.cp/static-typedef-print.cc: New file.
1824
1825 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1826
1827         * gdb.ada/varsize_limit: New testcase.
1828
1829 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1830
1831         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1832
1833         * gdb.ada/notcplusplus: New testcase.
1834
1835         * gdb.base/c-linkage-name.c: New file.
1836         * gdb.base/c-linkage-name.exp: New testcase.
1837
1838 2018-03-26  Tom Tromey  <tom@tromey.com>
1839
1840         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1841         * gdb.python/py-framefilter.py (name_error): New global.
1842         (ErrorInName.function): Use name_error.
1843
1844 2018-03-26  Tom Tromey  <tom@tromey.com>
1845
1846         PR backtrace/15582:
1847         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1848
1849 2018-03-23  Keith Seitz  <keiths@redhat.com>
1850
1851         PR c++/22968
1852         * gdb.cp/subtypes.exp: New file.
1853         * gdb.cp/subtypes.h: New file.
1854         * gdb.cp/subtypes.cc: New file.
1855         * gdb.cp/subtypes-2.cc: New file.
1856
1857 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1858
1859         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1860         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1861         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1862         -nostartfiles when compiling the test.  Confirm that all registers
1863         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1864
1865 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1866
1867         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1868         option, syntax was wrong anyway.
1869         * gdb.arch/arm-disp-step.exp: Likewise.
1870         * gdb.arch/sparc64-regs.exp: Likewise.
1871         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1872         option, syntax was wrong anyway, switch to use
1873         prepare_for_testing.
1874         * gdb.arch/i386-disp-step.exp: Likewise.
1875
1876 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1877
1878         * gdb.ada/exec_changed.exp: Replace "target_info exists
1879         use_gdb_stub" by "use_gdb_stub".
1880         * gdb.ada/start.exp: Likewise.
1881         * gdb.base/async-shell.exp: Likewise.
1882         * gdb.base/attach-pie-misread.exp: Likewise.
1883         * gdb.base/attach-wait-input.exp: Likewise.
1884         * gdb.base/break-entry.exp: Likewise.
1885         * gdb.base/break-interp.exp: Likewise.
1886         * gdb.base/dprintf-detach.exp: Likewise.
1887         * gdb.base/nostdlib.exp: Likewise.
1888         * gdb.base/solib-nodir.exp: Likewise.
1889         * gdb.base/statistics.exp: Likewise.
1890         * gdb.base/testenv.exp: Likewise.
1891         * gdb.mi/mi-exec-run.exp: Likewise.
1892         * gdb.mi/mi-start.exp: Likewise.
1893         * gdb.multi/dummy-frame-restore.exp: Likewise.
1894         * gdb.multi/multi-arch-exec.exp: Likewise.
1895         * gdb.multi/multi-arch.exp: Likewise.
1896         * gdb.multi/tids.exp: Likewise.
1897         * gdb.multi/watchpoint-multi.exp: Likewise.
1898         * gdb.python/py-events.exp: Likewise.
1899         * gdb.threads/attach-into-signal.exp: Likewise.
1900         * gdb.threads/attach-stopped.exp: Likewise.
1901         * gdb.threads/threadapply.exp: Likewise.
1902         * lib/selftest-support.exp: Likewise.
1903
1904 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1905
1906         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1907
1908 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1909
1910         * gdb.perf/template-breakpoints.cc: New file.
1911         * gdb.perf/template-breakpoints.exp: New file.
1912         * gdb.perf/template-breakpoints.py: New file.
1913
1914 2018-03-19  Tom Tromey  <tom@tromey.com>
1915
1916         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1917         y0.
1918         * gdb.rust/simple.exp: Test bare identifier form of struct
1919         initializer.
1920
1921 2018-03-19  Tom Tromey  <tom@tromey.com>
1922
1923         * gdb.gdb/observer.exp: Remove.
1924
1925 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1926
1927         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1928         "qualified" option when setting breakpoints.
1929         * gdb.trace/backtrace.exp: Likewise.
1930         * gdb.trace/circ.exp: Likewise.
1931         * gdb.trace/collection.exp: Likewise.
1932         * gdb.trace/disconnected-tracing.exp: Likewise.
1933         * gdb.trace/ftrace-lock.exp: Likewise.
1934         * gdb.trace/ftrace.exp: Likewise.
1935         * gdb.trace/infotrace.exp: Likewise.
1936         * gdb.trace/packetlen.exp: Likewise.
1937         * gdb.trace/passc-dyn.exp: Likewise.
1938         * gdb.trace/qtro.exp: Likewise.
1939         * gdb.trace/read-memory.exp: Likewise.
1940         * gdb.trace/report.exp: Likewise.
1941         * gdb.trace/signal.exp: Likewise.
1942         * gdb.trace/status-stop.exp: Likewise.
1943         * gdb.trace/strace.exp: Likewise.
1944         * gdb.trace/tfind.exp: Likewise.
1945         * gdb.trace/trace-break.exp: Likewise.
1946         * gdb.trace/trace-condition.exp: Likewise.
1947         * gdb.trace/trace-mt.exp: Likewise.
1948         * gdb.trace/tstatus.exp: Likewise.
1949         * gdb.trace/tsv.exp: Likewise.
1950         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1951         * gdb.trace/unavailable.exp: Likewise.
1952         * gdb.trace/while-dyn.exp: Likewise.
1953
1954 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1955
1956         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1957         that libinproctrace is copied to the target.
1958
1959 2018-03-14  Tom Tromey  <tom@tromey.com>
1960
1961         PR cli/14977:
1962         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1963         a null pointer.
1964         * gdb.base/wchar.exp: Likewise.
1965
1966 2018-03-14  Tom Tromey  <tom@tromey.com>
1967
1968         PR cli/19918:
1969         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1970         flag.
1971
1972 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1973
1974         PR gdb/22841
1975         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1976         "target" to remote_exec.
1977
1978 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1979
1980         PR gdb/22841
1981         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1982         ${board}_upload): Remove.
1983
1984 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1985
1986         * gdb.cp/watch-cp.cc: New test.
1987         * gdb.cp/watch-cp.exp: New file.
1988
1989 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1990
1991         * gdb.base/infcall-nested-structs.exp: New file.
1992         * gdb.base/infcall-nested-structs.c: New file.
1993         * gdb.base/float.exp: Add riscv support.
1994
1995 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1996
1997         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1998         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1999
2000 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
2001
2002         * gdb.server/abspath.exp: New file.
2003         * lib/gdb.exp (with_cwd): New procedure.
2004
2005 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
2006
2007         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2008         use it.
2009         (gdb_is_target_remote_prompt): New proc.
2010         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2011         (gdb_is_target_native): Pass prompt parameter to
2012         gdb_is_target_1.
2013
2014 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
2015
2016         * gdb.base/load-command.c: New file.
2017         * gdb.base/load-command.exp: New file.
2018         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2019         (gdb_is_target_1): ...this, and generalize for other targets
2020         than just remote.
2021         (gdb_is_target_remote): Use gdb_is_target_1.
2022         (gdb_is_target_native): use gdb_is_target_1.
2023
2024 2018-02-26  Tom Tromey  <tom@tromey.com>
2025
2026         PR python/16497:
2027         * gdb.python/py-framefilter.exp: Update test.
2028
2029 2018-02-26  Tom Tromey  <tom@tromey.com>
2030
2031         * gdb.dwarf2/variant.c: New file.
2032         * gdb.dwarf2/variant.exp: New file.
2033
2034 2018-02-26  Tom Tromey  <tom@tromey.com>
2035
2036         * gdb.rust/simple.exp: Accept more possible results in enum test.
2037
2038 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
2039
2040         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2041         parentheses.
2042
2043 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
2044
2045         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2046         name of a variable: $actual_linejj -> $actual_line.
2047
2048 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2049
2050         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2051
2052 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2053
2054         * gdb.btrace/buffer-size.exp: Do not force BTS.
2055
2056 2018-02-14  Pedro Alves  <palves@redhat.com>
2057
2058         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2059         getting a "Quit".
2060
2061 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2062
2063         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2064         Fix test name.
2065
2066 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2067
2068         * gdb.cp/m-static.exp: Check type of optimized out static
2069         member.
2070
2071 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2072
2073         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2074         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2075
2076 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2077             Leszek Swirski  <leszeks@google.com>
2078
2079         * gdb.python/py-prettyprint.c
2080         (struct to_string_returns_value_inner,
2081         struct to_string_returns_value_wrapper): New.
2082         (main): Add tsrvw variable.
2083         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2084         ToStringReturnsValueWrapper): New classes.
2085         (register_pretty_printers): Register new pretty-printers.
2086         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2087         recursive pretty printer.
2088         * gdb.python/py-mi.exp: Likewise.
2089
2090 2018-02-01  Leszek Swirski  <leszeks@google.com>
2091
2092         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2093         functions with the same name as an include file are parsed
2094         correctly.
2095
2096 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2097
2098         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2099         "\[^\r\n\]*".
2100
2101 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2102
2103         * gdb.arch/powerpc-prologue-frame.s: New file.
2104         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2105         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2106
2107 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2108
2109         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2110
2111 2018-01-30  Pedro Alves  <palves@redhat.com>
2112
2113         PR gdb/13211
2114         * gdb.base/interrupt-daemon.c: New.
2115         * gdb.base/interrupt-daemon.exp: New.
2116         * gdb.multi/multi-term-settings.c: New.
2117         * gdb.multi/multi-term-settings.exp: New.
2118
2119 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2120
2121         * gdb.base/break.exp: Save the location where the breakpoint
2122         on break.c:47 was actually inserted when debugging the version
2123         compiled at -O2 and use it in the expected output of the "info
2124         break" test performed soon after.
2125
2126 2018-01-22  Pedro Alves  <palves@redhat.com>
2127             Sergio Durigan Junior  <sergiodj@redhat.com>
2128
2129         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2130         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2131
2132 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2133
2134         * gdb.base/break-include.c, gdb.base/break-include.inc,
2135         gdb.base/break-include.exp: New files.
2136         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2137         line number now being the actual line number where the breakpoint
2138         was inserted.
2139         * gdb.mi/mi-break.exp: Likewise.
2140         * gdb.mi/mi-reverse.exp: Likewise.
2141         * gdb.mi/mi-simplerun.exp: Ditto.
2142
2143 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2144
2145         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2146         varobj.
2147         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2148
2149 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2150             Andrew Burgess  <andrew.burgess@embecosm.com>
2151
2152         * gdb.mi/basics.c: Add new global.
2153         * gdb.mi/mi-frame-regs.exp: New file.
2154         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2155         case.
2156
2157 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2158
2159         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2160         non-parameter, and on an unknown symbol.
2161
2162 2018-01-19  Tom Tromey  <tom@tromey.com>
2163
2164         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2165         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2166
2167 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2168
2169         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2170         setrlimit and chdir to int.
2171
2172 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2173
2174         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2175         function.
2176         (my_tend): Likewise.
2177         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2178         rationale of avoiding FP- and vector instructions.
2179
2180 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2181
2182         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2183         "info reg" with "\[ \t\]*".
2184         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2185         "\[ \t\]+".
2186         * gdb.arch/s390-multiarch.exp: Ditto.
2187         * gdb.base/pc-fp.exp: Ditto.
2188         * gdb.reverse/i386-precsave.exp: Ditto.
2189         * gdb.reverse/i386-reverse.exp: Ditto.
2190         * gdb.reverse/i387-env-reverse.exp: Ditto.
2191         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2192
2193 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2194
2195         * lib/gdb.exp (gdb_compile): Re-enable use of
2196         universal_compile_options for languages other than Rust.
2197
2198 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2199
2200         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2201
2202 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2203
2204         PR gdb/16577
2205         * gdb.base/solib-vanish.exp: New.
2206         * gdb.base/solib-vanish-main.c: New.
2207         * gdb.base/solib-vanish-lib1.c: New.
2208         * gdb.base/solib-vanish-lib2.c: New.
2209
2210 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2211
2212         * gdb.compile/compile.exp: Match the address printed for
2213         frame in the output of command "bt".
2214
2215 2018-01-15  Tom Tromey  <tom@tromey.com>
2216
2217         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2218         compute sp_reg.
2219
2220 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2221
2222         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2223         to prepare.
2224         (prepare): Return 0 on error, 1 on success.
2225
2226 2018-01-12  Pedro Alves  <palves@redhat.com>
2227
2228         * gdb.base/continue-after-aborted-step-over.c: New.
2229         * gdb.base/continue-after-aborted-step-over.exp: New.
2230
2231 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2232
2233         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2234         options when not creating an executable.
2235
2236 2018-01-11  Pedro Alves  <palves@redhat.com>
2237
2238         PR remote/22597
2239         * gdb.server/stop-reply-no-thread.c: New file.
2240         * gdb.server/stop-reply-no-thread.exp: New file.
2241
2242 2018-01-10  Pedro Alves  <palves@redhat.com>
2243
2244         PR gdb/22670
2245         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2246         functions too.  Test setting breakpoints and printing C functions
2247         with no debug info too.
2248         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2249
2250 2018-01-10  Pedro Alves  <palves@redhat.com>
2251
2252         PR gdb/22670
2253         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2254         a fail.
2255
2256 2018-01-10  Pedro Alves  <palves@redhat.com>
2257
2258         PR gdb/22670
2259         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2260
2261 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2262
2263         * gdb.server/unittest.exp: Match the output in non-development
2264         mode.
2265
2266 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2267
2268         * gdb.gdb/unittest.exp: Match output in non-development mode.
2269
2270 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2271
2272         * gdb.ada/access_tagged_param.exp: Relax expected output
2273         for value of "ObjL" in "continue" to pck.inspect breakpoint
2274         test.
2275
2276 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2277
2278         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2279         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2280
2281 2018-01-05  Pedro Alves  <palves@redhat.com>
2282
2283         PR gdb/18653
2284         * gdb.base/libsegfault.exp: New.
2285
2286 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2287
2288         PR gdb/22670
2289         * gdb.ada/access_tagged_param.exp: New file.
2290         * gdb.ada/access_tagged_param/foo.adb: New file.
2291
2292 2018-01-05  Pedro Alves  <palves@redhat.com>
2293
2294         PR gdb/22670
2295         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2296         exercise lower case too, and to exercise both full matching and
2297         wild matching.
2298
2299 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2300
2301         * gdb.ada/rename_subscript_param: New testcase.
2302
2303 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2304
2305         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2306
2307 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2308
2309         * gdb.ada/convvar_comp: New testcase.
2310
2311 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2312
2313         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2314         (My_Table): New global variable.
2315         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2316
2317 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2318
2319         PR gdb/22670
2320         * gdb.ada/maint_with_ada: New testcase.
2321
2322 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2323
2324         PR gdb/22670
2325         * gdb.ada/bp_c_mixed_case: New testcase.
2326
2327 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2328
2329         PR gdb/22670
2330         * gdb.ada/complete.exp: Add "complete break ada" test.
2331
2332 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2333
2334         PR gdb/22670
2335         * gdb.ada/info_addr_mixed_case: New testcase.
2336
2337 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2338
2339         * gdb.ada/excep_handle.exp: New testcase.
2340         * gdb.ada/excep_handle/foo.adb: New file.
2341         * gdb.ada/excep_handle/pck.ads: New file.
2342
2343 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2344
2345         * gdb.base/step-line.c: Add extra empty line in copyright header.
2346         * gdb.base/step-line.inp: Likewise.
2347
2348 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2349
2350         * gdb.ada/dyn_stride.exp: Add slice test.
2351
2352 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2353
2354         * gdb.ada/dyn_stride: New testcase.
2355
2356 2017-12-27  Stafford Horne  <shorne@gmail.com>
2357
2358         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2359         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2360
2361 2017-12-27  Stafford Horne  <shorne@gmail.com>
2362
2363         * gdb.base/reggroups.c: New file.
2364         * gdb.base/reggroups.exp: New file.
2365
2366 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2367
2368         * gdb.dwarf2/ada-valprint-error.c: New file.
2369         * gdb.dwarf2/ada-valprint-error.exp: New file.
2370
2371 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2372
2373         * gdb.ada/assign_arr: New testcase.
2374
2375 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2376
2377         * gdb.ada/funcall_ptr: New testcase.
2378
2379 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2380
2381         PR cli/16224
2382         * gdb.base/ptype-offsets.cc: New file.
2383         * gdb.base/ptype-offsets.exp: New file.
2384
2385 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2386
2387         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2388         if XML is disabled.
2389
2390 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2391
2392         * gdb.ada/same_component_name: New testcase.
2393
2394 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2395
2396         * gdb.ada/str_binop_equal: New testcase.
2397
2398 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2399
2400         * gdb.ada/task_switch_in_core: New testcase.
2401
2402 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2403
2404         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2405         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2406         call test_bkpt_qualified.
2407         (test_bkpt_qualified): New proc.
2408
2409 2017-12-13  Pedro Alves  <palves@redhat.com>
2410
2411         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2412         Tighten regexp by matching with an anchor.
2413
2414 2017-12-13  Pedro Alves  <palves@redhat.com>
2415
2416         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2417         ("expression with namespace"): New set of tests.
2418         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2419         (Nested::Test_NS::qux): New.
2420         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2421         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2422
2423 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2424
2425         * gdb.base/server-del-break.c: New file.
2426         * gdb.base/server-del-break.exp: New file.
2427
2428 2017-12-12  Stafford Horne  <shorne@gmail.com>
2429
2430         * gdb.xml/tdesc-regs.exp: Add or1k support.
2431
2432 2017-12-12  Stafford Horne  <shorne@gmail.com>
2433
2434         * gdb.base/bp-permanent.c: Define nop of or1k.
2435
2436 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2437
2438         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2439         output with components being reordered.
2440
2441 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2442
2443         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2444         output with components being reordered.
2445
2446 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2447             Pedro Alves  <palves@redhat.com>
2448
2449         * gdb.base/maint.exp (check for .gdb_index): Check also for
2450         .debug_names.
2451         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2452         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2453         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2454         (.gdb_index used after symbol reloading): Support also .debug_names.
2455         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2456
2457 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2458
2459         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2460         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2461
2462 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2463
2464         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2465         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2466
2467 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2468
2469         * gdb.arch/aarch64-tagged-pointer.c: New file.
2470         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2471
2472 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2473
2474         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2475         "int".
2476
2477 2017-12-07  Keith Seitz  <keiths@redhat.com>
2478
2479         PR breakpoints/22569
2480         * gdb.linespec/ls-errs.exp: Change expected result of "break
2481         -source this file has spaces.c -line 3".
2482         Check that an explicit source file followed by whitespace is
2483         identified as an invalid explicit location.
2484
2485 2017-12-07  Keith Seitz  <keiths@redhat.com>
2486
2487         * gdb.cp/nested-types.cc: New file.
2488         * gdb.cp/nested-types.exp: New file.
2489         * lib/cp-support.exp: Load data-structures.exp library.
2490         (debug_cp_test_ptype_class): New global.
2491         (cp_ptype_class_verbose, next_line): New procedures.
2492         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2493         Add and document new return value.
2494         Switch the list of lines to a queue.
2495         Add support for new `type' key for nested type definitions.
2496         Add debugging/troubleshooting messages.
2497         * lib/data-structures.exp: New file.
2498
2499 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2500
2501         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2502         with proc_with_prefix, don't use with_test_prefix.
2503
2504 2017-12-07  Tom Tromey  <tom@tromey.com>
2505
2506         * gdb.base/break.exp: Add test for empty "commands".
2507
2508 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2509
2510         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2511         malloc and catch syscall.
2512
2513 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2514
2515        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2516         tests for explicit locations.
2517
2518 2017-12-06  Pedro Alves  <palves@redhat.com>
2519
2520         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2521         force-disabling XML descriptions.
2522
2523 2017-12-04  Pedro Alves  <palves@redhat.com>
2524
2525         PR gdb/22499
2526         * gdb.arch/amd64-disp-step-avx.S: New file.
2527         * gdb.arch/amd64-disp-step-avx.exp: New file.
2528
2529 2017-12-03  Pedro Alves  <palves@redhat.com>
2530
2531         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2532         and <string.h>.
2533         (parent_function): Print distinct messages when waitpid fails, or
2534         the child exits with a signal, or the child exits for an unhandled
2535         reason.
2536         * gdb.threads/process-dies-while-detaching.exp
2537         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2538         it.  Wait for both inferior output and GDB's prompt.  Use an
2539         indirect spawn id list.
2540         (do_detach): New parameter 'child_exit'.  Use it to compute
2541         expected inferior output.
2542         (test_detach, test_detach_watch, test_detach_killed_outside):
2543         Adjust to pass down the expected child exit kind.
2544
2545 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2546             Sergio Durigan Junior  <sergiodj@redhat.com>
2547             Pedro Alves  <palves@redhat.com>
2548
2549         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2550
2551 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2552
2553         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2554         to 'symbol-file' and 'add-symbol-file' can be
2555         position-independent.
2556
2557 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2558
2559         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2560         the URL in copyright header.
2561         * gdb.arch/aarch64-fp.exp: Likewise.
2562         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2563         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2564         * gdb.base/expand-psymtabs.exp: Likewise.
2565         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2566         * gdb.fortran/common-block.exp: Likewise.
2567         * gdb.fortran/common-block.f90: Likewise.
2568         * gdb.fortran/logical.exp: Likewise.
2569         * gdb.fortran/vla-datatypes.f90: Likewise.
2570         * gdb.fortran/vla-sub.f90: Likewise.
2571
2572 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2573
2574         * gdb.ada/repeat_dyn: New testcase.
2575
2576 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2577
2578         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2579         Update for changed thread numbering.
2580         * gdb.cell/bt.exp: Update for changed GDB output.
2581
2582 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2583
2584         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2585         setting isremote by hand.
2586         * boards/dwarf4-gdb-index.exp: Likewise.
2587         * boards/fission.exp: Likewise.
2588         * boards/stabs.exp: Likewise.
2589
2590 2017-11-30  Pedro Alves  <palves@redhat.com>
2591
2592         * gdb.linespec/cpls-ops.exp
2593         (check_explicit_skips_function_argument): Extract the underlying
2594         type of size_t instead of hardcoding it.
2595
2596 2017-11-29  Pedro Alves  <palves@redhat.com>
2597
2598         PR c++/19436
2599         * gdb.linespec/cpls-abi-tag.cc: New file.
2600         * gdb.linespec/cpls-abi-tag.exp: New file.
2601
2602 2017-11-29  Pedro Alves  <palves@redhat.com>
2603
2604         * gdb.base/langs.exp: Use -qualified.
2605         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2606         it.
2607         * gdb.cp/namespace.exp: Use -qualified.
2608         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2609         (overload-3, template-overload, template-ret-type, const-overload)
2610         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2611         procedures.
2612         (test_driver): Call them.
2613         * gdb.cp/save-bp-qualified.cc: New.
2614         * gdb.cp/save-bp-qualified.exp: New.
2615         * gdb.linespec/explicit.exp: Test -qualified.
2616         * lib/completion-support.exp (completion::explicit_opts_list): Add
2617         "-qualified".
2618         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2619
2620 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2621
2622         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2623
2624 2017-11-29  Tom Tromey  <tom@tromey.com>
2625
2626         * gdb.base/relocate.exp: Update invalid argument test.
2627         Add new tests for invalid arguments.
2628
2629 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2630
2631         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2632         Return 0 as a long.
2633         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2634
2635 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2636
2637         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2638         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2639         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2640         func ().
2641         * gdb.cp/shadow.cc (B.func): Return 0.
2642
2643 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2644
2645         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2646         expected output in gdb_expect call to allow the exception
2647         message to be present as well.  Fix syntax confusion to avoid
2648         TCL thinking that exception_name is an array.
2649
2650 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2651
2652         * gdb.arch/spu-info.c: Include <unistd.h>.
2653         (do_signal_test): Fix broken calls to write.
2654         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2655         Fix checks for empty mailboxes.  Update signal tests for corrected
2656         do_signal_test routine.  Allow nonzero event status.
2657         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2658         * gdb.cell/arch.exp: Use standard_output_file.
2659         * gdb.cell/break.exp: Likewise.
2660         * gdb.cell/bt.exp: Likewise.
2661         * gdb.cell/core.exp: Likewise.
2662         * gdb.cell/dwarfaddr.exp: Likewise.
2663         * gdb.cell/ea-cache.exp: Likewise.
2664         * gdb.cell/ea-standalone.exp: Likewise.
2665         * gdb.cell/f-regs.exp: Likewise.
2666         * gdb.cell/fork.exp: Likewise.
2667         * gdb.cell/gcore.exp: Likewise.
2668         * gdb.cell/mem-access.exp: Likewise.
2669         * gdb.cell/ptype.exp: Likewise.
2670         * gdb.cell/registers.exp: Likewise.
2671         * gdb.cell/sizeof.exp: Likewise.
2672         * gdb.cell/solib-symbol.exp: Likewise.
2673         * gdb.cell/solib.exp: Likewise.
2674
2675 2017-11-25   Pedro Alves  <palves@redhat.com>
2676
2677         * gdb.base/complete-empty.exp: New file.
2678         * gdb.base/completion.exp: Adjust.
2679
2680 2017-11-25  Pedro Alves  <palves@redhat.com>
2681
2682         * gdb.linespec/cpls-ops.cc: New file.
2683         * gdb.linespec/cpls-ops.exp: New file.
2684         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2685         factored out from ...
2686         (test_complete_prefix_range): ... this.
2687
2688 2017-11-24  Pedro Alves  <palves@redhat.com>
2689
2690         * gdb.linespec/cpcompletion.exp: New file.
2691         * gdb.linespec/cpls-hyphen.cc: New file.
2692         * gdb.linespec/cpls.cc: New file.
2693         * gdb.linespec/cpls2.cc: New file.
2694         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2695         test to use test_gdb_complete_unique.  Add label completion,
2696         keyword completion and explicit location completion tests.
2697         * lib/completion-support.exp: New file.
2698
2699 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2700
2701         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2702         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2703         when hitting an exception catchpoint.
2704
2705 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2706
2707         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2708
2709 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2710
2711         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2712         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2713         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2714
2715 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2716
2717         * gdb.base/info-os.exp: Pass pthreads.
2718         * gdb.multi/multi-attach.exp: Likewise.
2719
2720 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2721
2722         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2723         compiler.
2724
2725 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2726
2727         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2728         * gdb.base/break-interp.exp: Likewise.
2729         * gdb.base/jit-attach-pie.exp: Likewise.
2730
2731 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2732
2733         * gdb.base/float128.c (large128): New variable.
2734         * gdb.base/float128.exp: Add test to print largest __float128 value.
2735
2736 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2737
2738         * gdb.arch/vsx-regs.exp: Update register content checks.
2739
2740 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2741
2742         * gdb.arch/ppc-longdouble.exp: New file.
2743         * gdb.arch/ppc-longdouble.c: Likewise.
2744
2745 2017-11-21  Pedro Alves  <palves@redhat.com>
2746
2747         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2748
2749 2017-11-20  Pedro Alves  <palves@redhat.com>
2750
2751         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2752         (long_double_typedef): New typedefs.
2753         Use DEF on double and long double.
2754         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2755         cases.
2756         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2757         and 'long_double_ptr_same_size' locals.  Use them to decide
2758         whether cast from array/function to float is valid/invalid.
2759
2760 2017-11-17  Tom Tromey  <tom@tromey.com>
2761
2762         * gdb.rust/traits.rs: New file.
2763         * gdb.rust/traits.exp: New file.
2764
2765 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2766
2767         * gdb.ada/minsyms: New testcase.
2768
2769 2017-11-16  Pedro Alves  <palves@redhat.com>
2770
2771         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2772         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2773
2774 2017-11-16  Pedro Alves  <palves@redhat.com>
2775
2776         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2777         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2778
2779 2017-11-16  Pedro Alves  <palves@redhat.com>
2780
2781         * gdb.server/reconnect-ctrl-c.c: New file.
2782         * gdb.server/reconnect-ctrl-c.exp: New file.
2783
2784 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2785
2786         * gdb.python/py-rbreak.exp: New file.
2787         * gdb.python/py-rbreak.c: New file.
2788         * gdb.python/py-rbreak-func2.c: New file.
2789
2790 2017-11-16  Pedro Alves  <palves@redhat.com>
2791
2792         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2793         pattern.
2794         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2795         GDB.
2796
2797 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2798
2799         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2800         regex.
2801
2802 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2803
2804         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2805         test names.
2806
2807 2017-11-09  Pedro Alves  <palves@redhat.com>
2808
2809         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2810         factored out from ...
2811         (top level): ... here, and adjusted to avoid expecting beyond the
2812         prompt in a single gdb_test_multiple.
2813
2814 2017-11-09  Pedro Alves  <palves@redhat.com>
2815
2816         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2817         output.
2818         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2819         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2820         * gdb.server/ext-run.exp ("kill" test): Likewise.
2821         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2822
2823 2017-11-09  Pedro Alves  <palves@redhat.com>
2824
2825         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2826         match till end of line.
2827
2828 2017-11-09  Pedro Alves  <palves@redhat.com>
2829
2830         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2831
2832 2017-11-09  Pedro Alves  <palves@redhat.com>
2833
2834         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2835         New procedures, factored out from ...
2836         (top level): ... here, and adjusted to avoid expecting beyond the
2837         prompt in one go.
2838
2839 2017-11-09  Pedro Alves  <palves@redhat.com>
2840
2841         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2842         output.  Fix '?' match.
2843
2844 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2845
2846         * gdb.ada/scoped_watch: New testcase.
2847         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2848         which is actually correct.
2849         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2850         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2851
2852 2017-11-08  Pedro Alves  <palves@redhat.com>
2853
2854         * gdb.gdb/complaints.exp (test_initial_complaints)
2855         (test_serial_complaints, test_short_complaints): Call
2856         complaint_internal instead of complaint.
2857
2858 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2859
2860         * gdb.threads/tls-core.c: New file.
2861         * gdb.threads/tls-core.exp: Likewise.
2862
2863 2017-11-08   Pedro Alves  <palves@redhat.com>
2864
2865         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2866         (p Exported_Capitalized): New test.
2867         (p exported_capitalized): New test.
2868
2869 2017-11-07  Pedro Alves  <palves@redhat.com>
2870
2871         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2872
2873 2017-11-07  Pedro Alves  <palves@redhat.com>
2874
2875         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2876         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2877         (disable_invalid, disable_inverted, disable_negative): New
2878         procedures.
2879         ("bad numbers"): New set of tests.
2880
2881 2017-11-07  Pedro Alves  <palves@redhat.com>
2882
2883         * gdb.cp/ena-dis-br-range.exp: Add tests.
2884
2885 2017-11-07  Pedro Alves  <palves@redhat.com>
2886
2887         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2888
2889 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2890             Pedro Alves  <palves@redhat.com>
2891
2892         * gdb.base/ena-dis-br.exp: Add reference to
2893         gdb.cp/ena-dis-br-range.exp.
2894         * gdb.cp/ena-dis-br-range.exp: New file.
2895         * gdb.cp/ena-dis-br-range.cc: New file.
2896
2897 2017-11-06  Pedro Alves  <palves@redhat.com>
2898
2899         * gdb.base/attach-non-pgrp-leader.c: New.
2900         * gdb.base/attach-non-pgrp-leader.exp: New.
2901
2902 2017-11-06  Pedro Alves  <palves@redhat.com>
2903
2904         * configure.ac: No longer check for termio.h and sgtty.h.
2905         * configure: Regenerate.
2906         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2907         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2908         Remove termio and sgtty code.
2909
2910 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2911
2912         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2913         in GDB is disabled.
2914
2915 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2916
2917         * gdb.python/py-thrhandle.exp: Skip it if python is not
2918         enabled.
2919
2920 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2921
2922         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2923         as a breakpoint command.
2924
2925 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2926
2927         PR python/21213
2928         * gdb.python/py-infthread.exp: Test calling
2929         InferiorThread.inferior () multiple times in a row.
2930
2931 2017-10-27  Keith Seitz  <keiths@redhat.com>
2932
2933         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2934         Test "info break" for every inlined function breakpoint.
2935
2936 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2937
2938         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2939
2940 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2941
2942         * gdb.cp/classes.exp (test_static_members): Test printing
2943         Outer::instance.
2944         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2945         (Inner::instance, Outer::instance): New.
2946
2947 2017-10-24  Pedro Alves  <palves@redhat.com>
2948
2949         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2950         extra console" test in two stages.
2951
2952 2017-10-24  Pedro Alves  <palves@redhat.com>
2953
2954         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2955
2956 2017-10-24  Pedro Alves  <palves@redhat.com>
2957
2958         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2959         loop.
2960
2961 2017-10-24  Pedro Alves  <palves@redhat.com>
2962
2963         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2964         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2965
2966 2017-10-24  Pedro Alves  <palves@redhat.com>
2967
2968         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2969         parameter and handle it.  Don't output read value in test name.
2970
2971 2017-10-24  Pedro Alves  <palves@redhat.com>
2972
2973         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2974         custom test name.
2975
2976 2017-10-24  Pedro Alves  <palves@redhat.com>
2977
2978         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2979         include the unstable output directory name in the test's name.
2980         (initial_setup_simple) <'set args'>: Use custom test name.
2981
2982 2017-10-24  Pedro Alves  <palves@redhat.com>
2983
2984         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2985         with explicit test name.
2986
2987 2017-10-20  Pedro Alves  <palves@redhat.com>
2988
2989         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2990         'wait -i'.  Use gdb_assert and remote_close.
2991
2992 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2993
2994         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2995         number from variable rather than hard-coded.
2996
2997 2017-10-19  Pedro Alves  <palves@redhat.com>
2998
2999         * gdb.base/long-inferior-output.c: New file.
3000         * gdb.base/long-inferior-output.exp: New file.
3001
3002 2017-11-18  Keith Seitz  <keiths@redhat.com>
3003
3004         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3005         method.
3006         (main): Call it.
3007         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3008         Add additional user-defined conversion operator tests.
3009
3010 2017-10-17  Pedro Alves  <palves@redhat.com>
3011
3012         * boards/native-stdio-gdbserver.exp: Load "local-board".
3013
3014 2017-10-17  Pedro Alves  <palves@redhat.com>
3015
3016         * gdb.base/quit-live.c: New file.
3017         * gdb.base/quit-live.exp: New file.
3018
3019 2017-10-16  Keith Seitz  <keiths@redhat.com>
3020
3021         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3022         (class_with_protected_typedef, class_with_private_typedef)
3023         (struct_with_public_typedef, struct_with_protected_typedef)
3024         (struct_with_private_typedef): New classes/structs.
3025         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3026         typedefs and access specifiers.
3027
3028 2017-10-16  Pedro Alves  <palves@redhat.com>
3029             Simon Marchi  <simon.marchi@polymtl.ca>
3030
3031         * README (Local vs Remote vs Native): New section.
3032         * boards/local-board.exp: New file, with bits factored out from
3033         ...
3034         * boards/native-extended-gdbserver.exp: ... here.  Load
3035         "local-board".
3036         * boards/native-gdbserver.exp: Load "local-board".
3037         (${board}_spawn, ${board}_exec): Delete.
3038         * boards/native-stdio-gdbserver.exp: Most contents factored out to
3039         ...
3040         * boards/stdio-gdbserver-base.exp: ... this new file.
3041         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3042         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3043         procedure.
3044         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3045         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3046         stdio_gdbserver_command.
3047         (${board}_get_remote_address, ${board}_get_comm_port)
3048         (${board}_download, ${board}_upload): Delete.
3049         (get_target_remote_pipe_cmd): New.
3050
3051 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3052
3053         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3054         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3055         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3056         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3057         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3058         remove with_test_prefix.
3059
3060 2017-10-13  Pedro Alves  <palves@redhat.com>
3061
3062         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3063         * gdb.base/annota1.exp: Use it instead of is_remote.
3064         * gdb.base/annota3.exp: Use it instead of is_remote.
3065         * gdb.cp/annota2.exp: Use it instead of is_remote.
3066         * gdb.cp/annota3.exp: Use it instead of is_remote.
3067         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3068
3069 2017-10-13  Pedro Alves  <palves@redhat.com>
3070
3071         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3072         (test_num_test_vars, run_and_count_vars, find_env)
3073         (test_set_unset_env, test_inherit_env_var): New procedures.
3074         (top level): Use them.
3075
3076 2017-10-13  Pedro Alves  <palves@redhat.com>
3077
3078         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3079         also skip on stub-like targets.
3080
3081 2017-10-13  Pedro Alves  <palves@redhat.com>
3082
3083         PR gdb/22293
3084         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3085         (top level): Move some tests to ...
3086         (test_not_found): ... this new procedure.
3087         (top level): Call it.
3088
3089 2017-10-13  Pedro Alves  <palves@redhat.com>
3090
3091         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3092         expect different "info terminal" output if testing with a
3093         non-native target.
3094
3095 2017-10-13  Pedro Alves  <palves@redhat.com>
3096             Simon Marchi  <simon.marchi@polymtl.ca>
3097
3098         PR python/12966
3099         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3100
3101 2017-10-13  Pedro Alves  <palves@redhat.com>
3102
3103         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3104         already.
3105
3106 2017-10-13  Pedro Alves  <palves@redhat.com>
3107
3108         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3109         is_remote.
3110
3111 2017-10-13  Pedro Alves  <palves@redhat.com>
3112
3113         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3114         is_remote.
3115
3116 2017-10-13  Pedro Alves  <palves@redhat.com>
3117
3118         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3119         is set.
3120         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3121         instead of is_remote.
3122
3123 2017-10-13  Pedro Alves  <palves@redhat.com>
3124
3125         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3126         (top level): Add comment.
3127
3128 2017-10-13  Pedro Alves  <palves@redhat.com>
3129
3130         * gdb.base/remote.exp (top level): Fix comment typo and add
3131         missing return.
3132
3133 2017-10-13  Pedro Alves  <palves@redhat.com>
3134             Simon Marchi  <simon.marchi@polymtl.ca>
3135
3136         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3137         calls and add comments.  Skip test if use_gdb_stub is set.
3138         (top level): Use "set cwd" command instead of "cd" command.
3139
3140 2017-10-13  Pedro Alves  <palves@redhat.com>
3141
3142         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3143         is_remote target check.
3144
3145 2017-10-13  Pedro Alves  <palves@redhat.com>
3146
3147         * gdb.base/scope.exp: Use build_executable + clean_restart +
3148         gdb_file_cmd instead of prepare_for_testing and no longer skip
3149         "before run" tests on is_remote target boards.  Update comments.
3150         * boards/native-extended-gdbserver.exp
3151         (extended_gdbserver_load_last_file): New, factored out from ...
3152         (gdb_load): ... this.  Move further below and add comment.
3153         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3154
3155 2017-10-12  Pedro Alves  <palves@redhat.com>
3156
3157         * gdb.base/attach.exp: Remove references to gdb64.
3158         * gdb.base/dbx.exp: Remove references to gdb64.
3159
3160 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3161             Pedro Alves  <palves@redhat.com>
3162
3163         * gdb.base/label.exp: Remove is_remote target check.
3164
3165 2017-10-12  Pedro Alves  <palves@redhat.com>
3166
3167         * gdb.base/auvx.exp (coredir): Update comment.
3168         (top level) <core_works>: Use "set cwd" command instead of "cd"
3169         command.
3170
3171 2017-10-12  Pedro Alves  <palves@redhat.com>
3172             Simon Marchi  <simon.marchi@polymtl.ca>
3173
3174         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3175         target boards.
3176
3177 2017-10-12  Pedro Alves  <palves@redhat.com>
3178             Simon Marchi  <simon.marchi@polymtl.ca>
3179
3180         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3181         Instead skip if there's any gdb_protocol set.
3182
3183 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3184             Pedro Alves  <palves@redhat.com>
3185
3186         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3187
3188 2017-10-12  Pedro Alves  <palves@redhat.com>
3189             Simon Marchi  <simon.marchi@polymtl.ca>
3190
3191         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3192         instead of on dejagnu remote boards.
3193
3194 2017-10-12  Pedro Alves  <palves@redhat.com>
3195             Simon Marchi  <simon.marchi@polymtl.ca>
3196
3197         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3198         checks.  Use build_executable + clean_restart instead of
3199         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3200         of enabling non-stop after starting gdb.
3201
3202 2017-10-12  Pedro Alves  <palves@redhat.com>
3203
3204         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3205         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3206         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3207         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3208
3209 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3210
3211         * gdb.arch/arc-tdesc-cpu.exp: New file.
3212         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3213
3214 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3215
3216         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3217
3218 2017-10-10  Pedro Alves <palves@redhat.com>
3219
3220         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3221         expect CLI output.
3222
3223 2017-10-10  Pedro Alves  <palves@redhat.com>
3224
3225         * lib/selftest-support.exp (selftest_setup): Update for
3226         captured_command_loop's prototype change.
3227
3228 2017-10-09  Pedro Alves  <palves@redhat.com>
3229
3230         Test both arch1=>arch2 and arch2=>arch1.
3231
3232         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3233         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3234         factored out to...
3235         (append_arch1_options, append_arch2_options, append_arch_options)
3236         (build_executables): New procedures.
3237         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3238         local.
3239         (top level): Add new 'first_arch' testing axis.
3240
3241 2017-10-09  Pedro Alves  <palves@redhat.com>
3242
3243         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3244         (barrier): New.
3245         (thread_start, all_started): New functions.
3246         (main): Spawn new thread and wait until it is scheduled.
3247         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3248         option.
3249         (do_test): Add 'selected_thread' parameter.  Run to all_started
3250         instead of main.  Explicitly set the breakpoint at main.  Switch
3251         to the SELECTED_THREAD thread.
3252         (top level): Test handling the exec event with either the main
3253         thread or the second thread selected.
3254
3255 2017-10-09  Pedro Alves  <palves@redhat.com>
3256
3257         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3258         logic.  Move STOP marker after the value checks.
3259         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3260         regexp.
3261
3262 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3263
3264         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3265
3266 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3267
3268         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3269         integer-to-dfp conversion.
3270         * gdb.base/dfp-test.exp: Likewise.
3271
3272 2017-10-04  Pedro Alves  <palves@redhat.com>
3273
3274         * gdb.multi/hangout.c: Include <unistd.h>.
3275         (hangout_loop): New function.
3276         (main): Call alarm.  Call hangout_loop in a loop.
3277         * gdb.multi/hello.c: Include <unistd.h>.
3278         (hello_loop): New function.
3279         (main): Call alarm.  Call hangout_loop in a loop.
3280         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3281         inferior with the other selected.
3282
3283 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3284
3285         * gdb.mi/list-thread-groups-available.exp: New file.
3286         * gdb.mi/list-thread-groups-available.c: New file.
3287
3288 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3289
3290         * gdb.base/set-cwd.exp: Make it available on
3291         native-extended-gdbserver.
3292
3293 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3294
3295         * gdb.base/set-cwd.c: New file.
3296         * gdb.base/set-cwd.exp: Likewise.
3297
3298 2017-10-02  Tom Tromey  <tom@tromey.com>
3299
3300         PR rust/22236:
3301         * gdb.rust/simple.rs (main): New variable "fslice".
3302         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3303
3304 2017-10-02  Tom Tromey  <tom@tromey.com>
3305
3306         * gdb.rust/simple.exp: Test ptype of a slice.
3307
3308 2017-10-02  Tom Tromey  <tom@tromey.com>
3309
3310         * gdb.rust/simple.exp: Test index of slice.
3311
3312 2017-09-27  Tom Tromey  <tom@tromey.com>
3313
3314         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3315
3316 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3317             Pedro Alves  <palves@redhat.com>
3318
3319         * gdb.base/compare-sections.exp (get value of read-only section): Read
3320         as unsigned value.
3321         (corrupt read-only section): Likewise and don't set written if patching
3322         failed.
3323
3324 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3325
3326         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3327         files.
3328
3329 2017-09-20  Pedro Alves  <palves@redhat.com>
3330
3331         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3332         symbol names in gdb's output.
3333         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3334
3335 2017-09-20  Pedro Alves  <palves@redhat.com>
3336
3337         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3338         Rename to ...
3339         (test_list_ambiguous_symbol): ... this and add a symbol name
3340         parameter.  Adjust.
3341         (test_list_ambiguous_function): Reimplement on top of
3342         test_list_ambiguous_symbol and also test listing ambiguous
3343         variables.
3344         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3345         (ambiguous_fun): ... this.
3346         (ambiguous_var): New.
3347         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3348         (ambiguous_fun): ... this.
3349         (ambiguous_var): New.
3350
3351 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3352
3353         * gdb.base/starti.c: New file.
3354         * gdb.base/starti.exp: New file.
3355         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3356
3357 2017-09-14  Pedro Alves  <palves@redhat.com>
3358
3359         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3360         (top level): Use it instead of runto.
3361
3362 2017-09-11  Tom Tromey  <tom@tromey.com>
3363
3364         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3365
3366 2017-09-11  Tom Tromey  <tom@tromey.com>
3367
3368         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3369         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3370
3371 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3372
3373         * gdb.fortran/printing-types.exp: New file.
3374         * gdb.fortran/printing-types.exp: New file.
3375
3376 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3377
3378         * gdb.fortran/vla-ptype.exp: Fix typos.
3379         * gdb.fortran/vla-value.exp: Same.
3380
3381 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3382
3383         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3384         * gdb.mi/mi-var-child-f.exp: Likewise.
3385         * gdb.mi/mi-vla-fortran.exp: Likewise.
3386
3387 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3388             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3389             Bernhard Heckel  <bernhard.heckel@intel.com>
3390
3391         * gdb.fortran/ptr-indentation.f90: New file.
3392         * gdb.fortran/ptr-indentation.exp: New file.
3393
3394 2017-09-05  Tom Tromey  <tom@tromey.com>
3395
3396         PR gdb/22010:
3397         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3398
3399 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3400
3401         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3402
3403 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3404
3405         * gdb.threads/tls-nodebug-pie.c: New file.
3406         * gdb.threads/tls-nodebug-pie.exp: New file.
3407
3408 2017-09-05  Tom Tromey  <tom@tromey.com>
3409
3410         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3411         for rust.
3412
3413 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3414
3415         * gdb.multi/multi-arch-exec.exp: Test with different
3416         "follow-exec-mode" settings.
3417         (do_test): New procedure.
3418
3419 2017-09-04  Pedro Alves  <palves@redhat.com>
3420
3421         * gdb.base/func-static.c (S::method const, S::method volatile)
3422         (S::method volatile const): New methods.
3423         (c_s, v_s, cv_s): New instances.
3424         (main): Call method() on them.
3425         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3426         (cannot_resolve): New procedure.
3427         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3428         print-quote-unquoted columns.
3429         (do_test): Test printing each scope too.
3430
3431 2017-09-04  Pedro Alves  <palves@redhat.com>
3432
3433         * gdb.base/local-static.exp: Also test with
3434         class::method::variable wholly quoted.
3435         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3436
3437 2017-09-04  Pedro Alves  <palves@redhat.com>
3438
3439         * gdb.base/local-static.c: New.
3440         * gdb.base/local-static.cc: New.
3441         * gdb.base/local-static.exp:  New.
3442
3443 2017-09-04  Pedro Alves  <palves@redhat.com>
3444
3445         * gdb.asm/asm-source.exp: Add casts to int.
3446         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3447         (dataglobal64_1, dataglobal64_2): New globals.
3448         * gdb.base/nodebug.exp: Test different expressions involving the
3449         new globals, with print, whatis and ptype.  Add casts to int.
3450         * gdb.base/solib-display.exp: Add casts to int.
3451         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3452         * gdb.cp/m-static.exp: Add cast to int.
3453         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3454         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3455         tls variable with no debug info without a cast.  Test with a cast
3456         to int too.
3457         * gdb.trace/entry-values.exp: Add casts.
3458
3459 2017-09-04  Pedro Alves  <palves@redhat.com>
3460
3461         * gdb.base/nodebug.exp: Test that ptype's error about functions
3462         with unknown return type includes the function name too.
3463
3464 2017-09-04  Pedro Alves  <palves@redhat.com>
3465
3466         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3467         return type of munmap in infcall.
3468         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3469         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3470         type of ftell in infcall.
3471         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3472         type of getpid in infcall.
3473         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3474         infcall.
3475         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3476         Bail on failure to extract the pid.
3477         * gdb.base/nodebug.c: #include <stdint.h>.
3478         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3479         New functions.
3480         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3481         Change expected output of print/whatis/ptype with functions with
3482         no debug info.  Test all supported languages.  Call
3483         test_call_promotion.
3484         * gdb.compile/compile.exp: Adjust expected output to expect
3485         warning.
3486         * gdb.threads/siginfo-threads.exp: Likewise.
3487
3488 2017-09-04  Pedro Alves  <palves@redhat.com>
3489
3490         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3491         "prototypes".  Test calling float functions via prototyped and
3492         unprototyped function pointers.
3493         (perform_all_tests): New parameter "prototypes".  Pass it down.
3494         (top level): Pass down "prototypes" parameter to
3495         perform_all_tests.
3496
3497 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3498
3499         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3500         Test with nested loops.
3501
3502 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3503
3504         * gdb.base/commands.exp: Call the new procedures.
3505         (loop_break_test, loop_continue_test): New procedures.
3506
3507 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3508
3509         * gdb.base/commands.exp: Call new procedure.
3510         (define_if_without_arg_test): New procedure.
3511
3512 2017-09-04  Pedro Alves  <palves@redhat.com>
3513
3514         * gdb.base/list-ambiguous.exp: New file.
3515         * gdb.base/list-ambiguous0.c: New file.
3516         * gdb.base/list-ambiguous1.c: New file.
3517         * gdb.base/list.exp (test_list_range): Adjust expected output.
3518
3519 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3520
3521         * gdb.base/share-env-with-gdbserver.c: New file.
3522         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3523
3524 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3525
3526         * gdb.base/commands.exp (gdbvar_simple_if_test,
3527         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3528         progvar_simple_if_test, progvar_simple_while_test,
3529         progvar_complex_if_while_test, user_defined_command_test,
3530         user_defined_command_args_eval,
3531         user_defined_command_args_stack_test,
3532         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3533         temporary_breakpoint_commands,
3534         gdb_test_no_prompt, redefine_hook_test,
3535         redefine_backtrace_test): Remove "global gdb_prompt".
3536
3537 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3538
3539         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3540         New proc, call it from toplevel.
3541
3542 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3543
3544         PR remote/21852
3545         * gdb.server/normal.c: New file, copied from gdb.base.
3546         * gdb.server/run-without-local-binary.exp: New file.
3547
3548 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3549
3550         * gdb.arch/sparc64-adi.exp: New file.
3551         * gdb.arch/sparc64-adi.c: New file.
3552
3553 2017-08-22  Pedro Alves  <palves@redhat.com>
3554
3555         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3556         (top level): Add "list all overloads" tests.
3557
3558 2017-08-22  Tom Tromey  <tom@tromey.com>
3559
3560         * gdb.gdb/xfullpath.exp: Remove.
3561
3562 2017-08-21  Pedro Alves  <palves@redhat.com>
3563
3564         PR gdb/19487
3565         * gdb.base/symbol-alias.c: New.
3566         * gdb.base/symbol-alias2.c: New.
3567         * gdb.base/symbol-alias.exp: New.
3568
3569 2017-08-21  Pedro Alves  <palves@redhat.com>
3570
3571         * gdb.base/dfp-test.c
3572         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3573         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3574         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3575         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3576         * gdb.base/whatis-ptype-typedefs.c: New.
3577         * gdb.base/whatis-ptype-typedefs.exp: New.
3578         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3579         (an_int, an_int_type, an_int_type2): New globals.
3580         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3581         involving typedefs and cast expressions.
3582         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3583         (lookup_typedefs_function): New.
3584         (typedefs_pretty_printers_dict): New.
3585         (top level): Register lookup_typedefs_function in
3586         gdb.pretty_printers.
3587
3588 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3589
3590         * gdb.server/unittest.exp: New.
3591
3592 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3593
3594         PR gdb/21954
3595         * gdb.base/environ.exp: Add test to check if 'unset environment'
3596         works.
3597
3598 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3599
3600         * lib/gdb.exp (universal_compile_options): New caching proc.
3601         (gdb_compile): Suppress GCC's coloring of messages.
3602
3603 2017-08-14  Tom Tromey  <tom@tromey.com>
3604
3605         PR gdb/21675:
3606         * gdb.base/printcmds.exp (test_radices): New function.
3607         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3608         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3609         * lib/gdb.exp (get_integer_valueof): Use p/d.
3610
3611 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3612
3613         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3614         characters.
3615
3616 2017-08-05  Tom Tromey  <tom@tromey.com>
3617
3618         * gdb.rust/simple.exp: Allow String to appear in a different
3619         namespace.
3620
3621 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3622
3623         * gdb.gdb/unittest.exp: Invoke command
3624         "maintenance check xml-descriptions".
3625
3626 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3627
3628         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3629         calling context.
3630         (hex128): Drop erroneous calculation of parameters.
3631
3632 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3633
3634         * gdb.python/py-unwind.exp: Disable stack protection when
3635         building test file.
3636
3637 2017-07-20  Pedro Alves  <palves@redhat.com>
3638
3639         * gdb.base/default.exp (set language): Adjust expected output.
3640
3641 2017-07-20  Pedro Alves  <palves@redhat.com>
3642
3643         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3644         (test_minsym): ... this, and make static.
3645         (get_pck__foo__bar__minsym): Rename to ...
3646         (get_test_minsym): ... this.
3647         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3648         symbol names and comments.
3649         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3650         (get_test_minsym): ... this.
3651         (pck__foo__bar__minsym__2): Rename to ...
3652         (test_minsym): ... this.
3653         (main): Adjust.
3654
3655 2017-07-17  Pedro Alves  <palves@redhat.com>
3656
3657         * gdb.base/completion.exp: Adjust expected output.
3658         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3659         the completer works.
3660
3661 2017-07-17  Pedro Alves  <palves@redhat.com>
3662
3663         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3664
3665 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3666
3667         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3668
3669 2017-07-14  Tom Tromey  <tom@tromey.com>
3670
3671         PR rust/21764:
3672         * gdb.rust/simple.exp: Add tests.
3673
3674 2017-07-14  Tom Tromey  <tom@tromey.com>
3675
3676         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3677
3678 2017-07-14  Pedro Alves  <palves@redhat.com>
3679
3680         * gdb.linespec/base/one/thefile.cc (z1): New function.
3681         * gdb.linespec/base/two/thefile.cc (z2): New function.
3682         * gdb.linespec/linespec.exp: Add tests.
3683
3684 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3685
3686         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3687         to mi_create_breakpoint.
3688
3689 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3690
3691         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3692         mi_create_breakpoint.
3693
3694 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3695
3696         * gdb.dlang/demangle.exp: Update for demangling changes.
3697
3698 2017-07-09  Tom Tromey  <tom@tromey.com>
3699
3700         * gdb.dwarf2/shortpiece.exp: New file.
3701
3702 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3703
3704         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3705         built from fissiont-multi-cu{1,2}.c.
3706         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3707         except putting 'main' and 'func' in separate CUs in the same DWO file.
3708         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3709         test.
3710         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3711         test.
3712
3713 2017-07-06  Pedro Alves  <palves@redhat.com>
3714
3715         * gdb.python/py-unwind.exp: Test flushregs.
3716
3717 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3718
3719         PR cli/21688
3720         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3721         tests for alias commands and trailing whitespace.
3722
3723 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3724
3725         PR cli/21688
3726         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3727         procedure.  Call it.
3728
3729 2017-06-29  Pedro Alves  <palves@redhat.com>
3730
3731         * gdb.base/printcmds.exp: Add tests.
3732
3733 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3734
3735         PR gdb/21337
3736         * gdb.base/reread-readsym.exp: New file.
3737         * gdb.base/reread-readsym.c: New file.
3738
3739 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3740
3741         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3742         subpattern.
3743
3744 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3745
3746         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3747         extended mnemonic.
3748         * gdb.arch/powerpc-power9.s: Likewise.
3749
3750 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3751
3752         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3753         on 32-bit x86 targets.  Exploit is_*_target macros where
3754         appropriate.
3755
3756 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3757
3758         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3759         register pieces.
3760
3761 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3762
3763         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3764         located in one or more DWARF pieces.
3765
3766 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3767
3768         * lib/gdb.exp (get_endianness): New proc.
3769         * gdb.arch/aarch64-fp.exp: Use it.
3770         * gdb.arch/altivec-regs.exp: Likewise.
3771         * gdb.arch/e500-regs.exp: Likewise.
3772         * gdb.arch/vsx-regs.exp: Likewise.
3773         * gdb.base/dump.exp: Likewise.
3774         * gdb.base/funcargs.exp: Likewise.
3775         * gdb.base/gnu_vector.exp: Likewise.
3776         * gdb.dwarf2/formdata16.exp: Likewise.
3777         * gdb.dwarf2/implptrpiece.exp: Likewise.
3778         * gdb.dwarf2/nonvar-access.exp: Likewise.
3779         * gdb.python/py-inferior.exp: Likewise.
3780         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3781
3782 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3783
3784         PR gdb/21226
3785         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3786         stack value pieces are taken from the LSB end.
3787
3788 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3789
3790         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3791         variable at nonzero offset.
3792
3793 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3794
3795         * gdb.dwarf2/var-access.c: New file.
3796         * gdb.dwarf2/var-access.exp: New test.
3797         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3798
3799 2017-06-12  Tom Tromey  <tom@tromey.com>
3800
3801         * gdb.dwarf2/formdata16.exp: Add tests.
3802
3803 2017-06-12  Tom Tromey  <tom@tromey.com>
3804
3805         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3806
3807 2017-06-12  Tom Tromey  <tom@tromey.com>
3808
3809         PR exp/16225:
3810         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3811         * gdb.arch/vsx-regs.exp: Update tests.
3812         * gdb.arch/s390-vregs.exp (hex128): New proc.
3813         Update test.
3814         * gdb.arch/altivec-regs.exp: Update tests.
3815
3816 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3817
3818         * gdb.base/startup-with-shell.c: New file.
3819         * gdb.base/startup-with-shell.exp: Likewise.
3820
3821 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3822
3823         * gdb.server/non-existing-program.exp: Update regex in order to
3824         reflect the fact that gdbserver is now using fork_inferior (with a
3825         shell) to startup the inferior.
3826
3827 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3828
3829         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3830         support function calls from GDB.
3831
3832 2017-05-21  Tom Tromey  <tom@tromey.com>
3833
3834         PR rust/21466:
3835         * gdb.rust/unsized.exp: New file.
3836         * gdb.rust/unsized.rs: New file.
3837
3838 2017-05-19  Tom Tromey  <tom@tromey.com>
3839
3840         PR rust/21484:
3841         * gdb.rust/watch.exp: New file.
3842         * gdb.rust/watch.rs: New file.
3843
3844 2017-05-18  Tom Tromey  <tom@tromey.com>
3845
3846         * gdb.rust/simple.exp: Allow Box to be qualified.
3847
3848 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3849
3850         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3851
3852 2017-05-18  Pedro Alves  <palves@redhat.com>
3853
3854         * gdb.base/fileio.c (test_write, test_read, test_close)
3855         (test_fstat): Don't print 'ret' in the fail path.
3856
3857 2017-05-18  Pedro Alves  <palves@redhat.com>
3858
3859         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3860         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3861         (test_system, test_rename, test_unlink, test_time): Change
3862         prototypes.
3863         * gdb.base/fileio.exp (stop_msg): Adjust.
3864
3865 2017-05-18  Pedro Alves  <palves@redhat.com>
3866
3867         * gdb.base/fileio.c (null_str): New global.
3868         (test_stat): Use it.
3869         * gdb.base/fileio.exp: Remove nowarnings.
3870
3871 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3872
3873         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3874
3875 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3876
3877         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3878         argument command.
3879         (top-level): Invoke test_set_inferior_tty.
3880
3881 2017-05-04  Pedro Alves  <palves@redhat.com>
3882
3883         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3884         Add parens to print call for Python 3.
3885
3886 2017-05-03  Keith Seitz  <keiths@redhat.com>
3887
3888         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3889         (main): Call it.
3890
3891 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3892
3893         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3894         to prev and next.
3895
3896 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3897
3898         * gdb.python/py-record-btrace.exp: Remove test for
3899         gdb.BtraceInstruction.error.
3900
3901 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3902
3903         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3904
3905 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3906
3907         * gdb.python/py-record-btrace-threads.c: New file.
3908         * gdb.python/py-record-btrace-threads.exp: New file.
3909
3910 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3911
3912         PR testsuite/8595
3913         * gdb.base/environ.exp: Make test available in all architectures.
3914         Move bits related to "info program" testing to
3915         gdb.base/info-program.exp.  Rewrite tests to use the two new
3916         procedures mentione below.
3917         (test_set_show_env_var) New procedure.
3918         (test_set_show_env_var_equal): Likewise.
3919         * gdb.base/info-program.exp: New file.
3920
3921 2017-04-27  Keith Seitz  <keiths@redhat.com>
3922
3923         * gdb.cp/oranking.cc (test15): New function.
3924         (main): Call test15 and declare additional variables for testing.
3925         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3926         "p foo101('abc')" tests.
3927         Add tests for cv qualifier overloads.
3928         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3929         "lvalue reference overload" test.
3930         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3931         "print value of f1 on Child&& in f2" test.
3932
3933 2017-04-19  Pedro Alves  <palves@redhat.com>
3934
3935         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3936         procedure.
3937         (top level): Call it.
3938         * lib/gdb.exp (gdb_define_cmd): New procedure.
3939
3940 2017-04-12  Pedro Alves  <palves@redhat.com>
3941
3942         PR gdb/21323
3943         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3944         (wchar): New global.
3945         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3946         (do_test_wide_char, wide_char_types_no_program, top level): Add
3947         wchar_t testing.
3948
3949 2017-04-12  Pedro Alves  <palves@redhat.com>
3950
3951         PR c++/21323
3952         * gdb.cp/wide_char_types.c: New file.
3953         * gdb.cp/wide_char_types.exp: New file.
3954
3955 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3956
3957         PR gdb/21352
3958         * gdb.trace/tsv.exp: Add test for "tsave -r".
3959
3960 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3961
3962         * gdb.dlang/watch-loc.c: New file.
3963         * gdb.dlang/watch-loc.exp: New file.
3964
3965 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3966
3967         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3968
3969 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3970
3971         * gdb.arch/arc-analyze-prologue.S: New file.
3972         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3973
3974 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3975
3976         * gdb.arch/arc-decode-insn.S: New file.
3977         * gdb.arch/arc-decode-insn.exp: Likewise.
3978
3979 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3980
3981         PR tdep/20928
3982         * gdb.arch/sparc64-regs.exp: New file.
3983         * gdb.arch/sparc64-regs.S: Likewise.
3984
3985 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3986
3987         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3988         and memory view on Python 3.
3989
3990 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3991             Keith Seitz  <keiths@redhat.com>
3992
3993         PR gdb/14441
3994         * gdb.cp/demangle.exp: Add rvalue reference tests.
3995         * gdb.cp/rvalue-ref-casts.cc: New file.
3996         * gdb.cp/rvalue-ref-casts.exp: New file.
3997         * gdb.cp/rvalue-ref-overload.cc: New file.
3998         * gdb.cp/rvalue-ref-overload.exp: New file.
3999         * gdb.cp/rvalue-ref-params.cc: New file.
4000         * gdb.cp/rvalue-ref-params.exp: New file.
4001         * gdb.cp/rvalue-ref-sizeof.cc: New file.
4002         * gdb.cp/rvalue-ref-sizeof.exp: New file.
4003         * gdb.cp/rvalue-ref-types.cc: New file.
4004         * gdb.cp/rvalue-ref-types.exp: New file.
4005         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4006         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4007
4008 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4009
4010         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4011         New procedure.
4012
4013 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4014
4015         * lib/mi-support.exp (mi_gdb_test): Add additional message
4016         for unexpected output.
4017
4018 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4019
4020         * gdb.base/examine-backward.c (Barrier): New character array
4021         constant, to ensure that TestStrings is preceded by a string
4022         terminator.
4023
4024 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4025
4026         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4027         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4028         and implicit pointer into such a location.
4029
4030 2017-03-16  Doug Evans  <dje@google.com>
4031
4032         * gdb.python/py-lazy-string (pointer): Really add new typedef.
4033
4034 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4035
4036         * gdb.cp/m-static.exp: Fix expectation for prototype of
4037         test5.single_constructor and single_constructor::single_constructor.
4038
4039 2017-03-16  Doug Evans  <dje@google.com>
4040
4041         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4042         * gdb.guile/scm-lazy-string.c: New file.
4043         * gdb.guile/scm-value.exp: Move lazy string tests to ...
4044         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
4045         for pointer, array, typedef lazy strings.
4046
4047 2017-03-16  Doug Evans  <dje@google.com>
4048
4049         PR python/17728, python/18439, python/18779
4050         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4051         * gdb.python/py-lazy-string.c (pointer): New typedef.
4052         (main): New locals ptr, array, typedef_ptr.
4053         * gdb.python/py-value.exp: Move lazy string tests to ...
4054         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4055         array, typedef lazy strings.
4056
4057 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4058
4059         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4060           Add optional 'test' parameter.
4061
4062 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4063
4064         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4065         Skip for versions of DejaGnu < 1.5.
4066
4067 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4068
4069         * lib/gdb.exp (dejagnu_version): New proc.
4070         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4071         Use dejagnu_version.
4072
4073 2017-03-10  Keith Seitz  <keiths@redhat.com>
4074
4075         PR c++/8128
4076         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4077         type from destructor regexps.
4078         Add a branch which actually passes the test.
4079         Adjust "ptype t5i" test names.
4080
4081 2017-03-08  Pedro Alves  <palves@redhat.com>
4082
4083         * gdb.base/step-over-exit.exp: Add explicit test message.
4084
4085 2017-03-08  Pedro Alves  <palves@redhat.com>
4086
4087         PR gdb/18360
4088         * gdb.threads/interrupt-while-step-over.c: New file.
4089         * gdb.threads/interrupt-while-step-over.exp: New file.
4090
4091 2017-03-08  Pedro Alves  <palves@redhat.com>
4092
4093         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4094         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4095
4096 2017-03-08  Pedro Alves  <palves@redhat.com>
4097
4098         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4099         PKRU as not supported as a PASS.
4100
4101 2017-03-08  Pedro Alves  <palves@redhat.com>
4102
4103         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4104         prefix instead of $binfile1/$binfile2.
4105         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4106         in test message.
4107         * gdb.python/py-completion.exp: Use "load python file" as test
4108         messages instead of unstable path names.
4109
4110 2017-03-08  Pedro Alves  <palves@redhat.com>
4111             Jan Kratochvil  <jan.kratochvil@redhat.com>
4112
4113         PR cli/21218
4114         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4115         New proc.
4116         (top level): Call it.
4117
4118 2017-03-08  Pedro Alves  <palves@redhat.com>
4119
4120         PR tui/21216
4121         * gdb.tui/tui-nl-filtered-output.exp: New file.
4122
4123 2017-03-08  Pedro Alves  <palves@redhat.com>
4124
4125         * gdb.base/completion.exp: Move TUI completion tests to ...
4126         * gdb.tui/completion.exp: ... this new file.
4127
4128 2017-03-08  Pedro Alves  <palves@redhat.com>
4129
4130         * gdb.base/tui-disasm-long-lines.c,
4131         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4132         gdb.base/tui-layout.exp: Move to ...
4133         * gdb.tui/: ... this new directory.
4134
4135 2017-03-07  Pedro Alves  <palves@redhat.com>
4136
4137         * gdb.base/tui-layout.c: New file.
4138         * gdb.base/tui-layout.exp: New file.
4139
4140 2017-03-07  Pedro Alves  <palves@redhat.com>
4141
4142         * gdb.base/tui-layout.c: Rename to ...
4143         * gdb.base/tui-disasm-long-lines.c: ... this.
4144         * gdb.base/tui-layout.exp: Rename to ...
4145         * gdb.base/tui-disasm-long-lines.exp: ... this.
4146
4147 2017-03-07  Pedro Alves  <palves@redhat.com>
4148
4149         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4150
4151 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4152
4153         * i386-mpx-call.c: New file.
4154         * i386-mpx-call.exp: New file.
4155
4156 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4157
4158         * gdb.arch/powerpc-power.exp: Delete test.
4159         * gdb.arch/powerpc-power.s: Likewise.
4160         * gdb.disasm/disassembler-options.exp: New test.
4161         * gdb.arch/powerpc-altivec.exp: Likewise.
4162         * gdb.arch/powerpc-altivec.s: Likewise.
4163         * gdb.arch/powerpc-altivec2.exp: Likewise.
4164         * gdb.arch/powerpc-altivec2.s: Likewise.
4165         * gdb.arch/powerpc-altivec3.exp: Likewise.
4166         * gdb.arch/powerpc-altivec3.s: Likewise.
4167         * gdb.arch/powerpc-power7.exp: Likewise.
4168         * gdb.arch/powerpc-power7.s: Likewise.
4169         * gdb.arch/powerpc-power8.exp: Likewise.
4170         * gdb.arch/powerpc-power8.s: Likewise.
4171         * gdb.arch/powerpc-power9.exp: Likewise.
4172         * gdb.arch/powerpc-power9.s: Likewise.
4173         * gdb.arch/powerpc-vsx.exp: Likewise.
4174         * gdb.arch/powerpc-vsx.s: Likewise.
4175         * gdb.arch/powerpc-vsx2.exp: Likewise.
4176         * gdb.arch/powerpc-vsx2.s: Likewise.
4177         * gdb.arch/powerpc-vsx3.exp: Likewise.
4178         * gdb.arch/powerpc-vsx3.s: Likewise.
4179         * gdb.arch/arm-disassembler-options.exp: Likewise.
4180         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4181         * gdb.arch/s390-disassembler-options.exp: Likewise.
4182
4183 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4184
4185         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4186         (check_supported_features): ... this. Changed return type to void.
4187         (supports_rdseed): New static global.
4188         (rdseed): Check supports_rdseed.
4189         (initialize): Call check_supported_features.
4190
4191 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4192
4193         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4194         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4195         and lqarx/stqcx.
4196         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4197         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4198
4199 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4200
4201         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4202         uppercase.
4203
4204 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4205
4206         * gdb.dwarf2/formdata16.c: New file.
4207         * gdb.dwarf2/formdata16.exp: New file.
4208         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4209
4210 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4211
4212         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4213         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4214         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4215         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4216         DW_AT_GNU_*.
4217
4218 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4219
4220         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4221
4222 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4223
4224         PR gdb/21164
4225         * gdb.base/maint.exp: Add testcases for when the commands do
4226         not have arguments.
4227
4228 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4229
4230         * gdb.cp/chained-calls.exp: Use p instead of P.
4231
4232 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4233
4234         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4235         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4236
4237 2017-02-14  Tom Tromey  <tom@tromey.com>
4238
4239         PR python/13598:
4240         * gdb.python/py-events.exp: Add before_prompt event tests.
4241
4242 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4243
4244         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4245
4246 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4247
4248         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4249         (main): Call my_unique_function_name.
4250         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4251         completion of patterns with a single match.
4252         Add missing -re switches to gdb_test_multiple calls.
4253
4254 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4255
4256         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4257         return if core file is not recognized.
4258
4259 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4260
4261         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4262         and extra UIs.
4263
4264 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4265
4266         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4267         proc_with_prefix.
4268
4269 2017-02-10  Tom Tromey  <tom@tromey.com>
4270
4271         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4272
4273 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4274
4275         PR gdb/21122
4276         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4277
4278 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4279
4280         * gdb.base/define.exp: Add test for command abbreviations
4281         in define.
4282
4283 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4284
4285         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4286         * gdb.reverse/insn-reverse-x86.c: New file.
4287
4288 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4289
4290         PR tdep/20936
4291         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4292
4293 2017-02-03  Tom Tromey  <tom@tromey.com>
4294
4295         PR rust/21097:
4296         * gdb.rust/simple.exp: Add new tests.
4297
4298 2017-02-02  Pedro Alves  <palves@redhat.com>
4299
4300         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4301         tests.
4302
4303 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4304
4305         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4306         taking a 2-byte value out of a 4-byte DWARF implicit value on
4307         big-endian targets.
4308         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4309         logic.  Add test cases for DW_OP_implicit.
4310
4311 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4312
4313         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4314
4315 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4316
4317         * gdb.btrace/enable.exp: Call gdb_exit before
4318         skip_gdbserver_tests.
4319
4320 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4321
4322         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4323         GDBFLAGS.
4324
4325 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4326
4327         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4328         the test is skipped.
4329         * gdb.btrace/data.exp: Likewise.
4330         * gdb.btrace/delta.exp: Likewise.
4331         * gdb.btrace/dlopen.exp: Likewise.
4332         * gdb.btrace/enable-running.exp: Likewise.
4333         * gdb.btrace/enable.exp: Likewise.
4334         * gdb.btrace/exception.exp: Likewise.
4335         * gdb.btrace/function_call_history.exp: Likewise.
4336         * gdb.btrace/gcore.exp: Likewise.
4337         * gdb.btrace/instruction_history.exp: Likewise.
4338         * gdb.btrace/multi-thread-step.exp: Likewise.
4339         * gdb.btrace/nohist.exp: Likewise.
4340         * gdb.btrace/non-stop.exp: Likewise.
4341         * gdb.btrace/reconnect.exp: Likewise.
4342         * gdb.btrace/record_goto-step.exp: Likewise.
4343         * gdb.btrace/record_goto.exp: Likewise.
4344         * gdb.btrace/rn-dl-bind.exp: Likewise.
4345         * gdb.btrace/segv.exp: Likewise.
4346         * gdb.btrace/step.exp: Likewise.
4347         * gdb.btrace/stepi.exp: Likewise.
4348         * gdb.btrace/tailcall-only.exp: Likewise.
4349         * gdb.btrace/tailcall.exp: Likewise.
4350         * gdb.btrace/tsx.exp: Likewise.
4351         * gdb.btrace/unknown_functions.exp: Likewise.
4352         * gdb.btrace/vdso.exp: Likewise.
4353
4354 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4355
4356         * gdb.btrace/enable-running.c: New.
4357         * gdb.btrace/enable-running.exp: New.
4358
4359 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4360
4361         * gdb.arch/amd64-gs_base.c: New file.
4362         * gdb.arch/amd64-gs_base.exp: New file.
4363
4364 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4365
4366         * lib/memory.exp: Remove spurious empty newlines.
4367
4368 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4369
4370         * gdb.python/py-bad-printers.exp: Load python file using "source".
4371         * gdb.python/py-events.exp: Likewise.
4372         * gdb.python/py-evsignal.exp: Likewise.
4373         * gdb.python/py-evthreads.exp: Likewise.
4374         * gdb.python/py-frame-args.exp: Likewise.
4375         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4376         * gdb.python/py-framefilter-mi.exp: Likewise.
4377         * gdb.python/py-framefilter.exp: Likewise.
4378         * gdb.python/py-mi.exp: Likewise.
4379         * gdb.python/py-pp-maint.exp: Likewise.
4380         * gdb.python/py-pp-registration.exp: Likewise.
4381         * gdb.python/py-prettyprint.exp: Likewise.
4382         (run_lang_tests): Likewise.
4383         * gdb.python/py-typeprint.exp: Likewise.
4384
4385 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4386
4387         * lib/memory.exp: New file.
4388         * lib/gdb.exp: Load memory.exp.
4389         * gdb.base/memattr.exp (delete_memory): Move proc to
4390         lib/memory.exp and rename to delete_memory_regions.
4391         Replace delete_memory with delete_memory_regions.
4392         Cleanup memory regions before tests.
4393         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4394         before tests.
4395
4396 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4397
4398         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4399         files.
4400         (initialize): New function conditionally defined.
4401         (testcases): Move within conditional block.
4402         (main): Call initialize.
4403         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4404         of gdb.reverse/insn-reverse.c.
4405         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4406         gdb.reverse/insn-reverse.c.
4407
4408 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4409
4410         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4411         disassemble on address 0.
4412
4413 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4414             Yao Qi  <yao.qi@linaro.org>
4415
4416         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4417         * gdb.dwarf2/implptr-64bit.S: Remove.
4418         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4419         variables in caller's context.  Add DW_OP_implicit_value.
4420
4421 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4422
4423         * lib/dwarf.exp (Dwarf::_location): Handle
4424         DW_OP_GNU_implicit_pointer with proper size.
4425
4426 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4427
4428         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4429         and add untested calls.
4430
4431 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4432
4433         * gdb.python/python.exp: Check line number against what GDB thinks
4434         the line number is for func1.
4435
4436 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4437
4438         * gdb.dlang/debug-expr.exp: New file.
4439
4440 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4441
4442         Fix test names for the following files:
4443
4444         * gdb.ada/exec_changed.exp
4445         * gdb.ada/info_types.exp
4446         * gdb.arch/aarch64-atomic-inst.exp
4447         * gdb.arch/aarch64-fp.exp
4448         * gdb.arch/altivec-abi.exp
4449         * gdb.arch/altivec-regs.exp
4450         * gdb.arch/amd64-byte.exp
4451         * gdb.arch/amd64-disp-step.exp
4452         * gdb.arch/amd64-dword.exp
4453         * gdb.arch/amd64-entry-value-inline.exp
4454         * gdb.arch/amd64-entry-value-param.exp
4455         * gdb.arch/amd64-entry-value-paramref.exp
4456         * gdb.arch/amd64-entry-value.exp
4457         * gdb.arch/amd64-i386-address.exp
4458         * gdb.arch/amd64-invalid-stack-middle.exp
4459         * gdb.arch/amd64-invalid-stack-top.exp
4460         * gdb.arch/amd64-optimout-repeat.exp
4461         * gdb.arch/amd64-prologue-skip.exp
4462         * gdb.arch/amd64-prologue-xmm.exp
4463         * gdb.arch/amd64-stap-special-operands.exp
4464         * gdb.arch/amd64-stap-wrong-subexp.exp
4465         * gdb.arch/amd64-tailcall-cxx.exp
4466         * gdb.arch/amd64-tailcall-noret.exp
4467         * gdb.arch/amd64-tailcall-ret.exp
4468         * gdb.arch/amd64-tailcall-self.exp
4469         * gdb.arch/amd64-word.exp
4470         * gdb.arch/arm-bl-branch-dest.exp
4471         * gdb.arch/arm-disp-step.exp
4472         * gdb.arch/arm-neon.exp
4473         * gdb.arch/arm-single-step-kernel-helper.exp
4474         * gdb.arch/avr-flash-qualifier.exp
4475         * gdb.arch/disp-step-insn-reloc.exp
4476         * gdb.arch/e500-abi.exp
4477         * gdb.arch/e500-regs.exp
4478         * gdb.arch/ftrace-insn-reloc.exp
4479         * gdb.arch/i386-avx512.exp
4480         * gdb.arch/i386-bp_permanent.exp
4481         * gdb.arch/i386-byte.exp
4482         * gdb.arch/i386-cfi-notcurrent.exp
4483         * gdb.arch/i386-disp-step.exp
4484         * gdb.arch/i386-dr3-watch.exp
4485         * gdb.arch/i386-float.exp
4486         * gdb.arch/i386-gnu-cfi.exp
4487         * gdb.arch/i386-mpx-map.exp
4488         * gdb.arch/i386-mpx-sigsegv.exp
4489         * gdb.arch/i386-mpx-simple_segv.exp
4490         * gdb.arch/i386-mpx.exp
4491         * gdb.arch/i386-permbkpt.exp
4492         * gdb.arch/i386-prologue.exp
4493         * gdb.arch/i386-signal.exp
4494         * gdb.arch/i386-size-overlap.exp
4495         * gdb.arch/i386-unwind.exp
4496         * gdb.arch/i386-word.exp
4497         * gdb.arch/mips-fcr.exp
4498         * gdb.arch/powerpc-d128-regs.exp
4499         * gdb.arch/powerpc-stackless.exp
4500         * gdb.arch/ppc64-atomic-inst.exp
4501         * gdb.arch/s390-stackless.exp
4502         * gdb.arch/s390-tdbregs.exp
4503         * gdb.arch/s390-vregs.exp
4504         * gdb.arch/sparc-sysstep.exp
4505         * gdb.arch/thumb-bx-pc.exp
4506         * gdb.arch/thumb-singlestep.exp
4507         * gdb.arch/thumb2-it.exp
4508         * gdb.arch/vsx-regs.exp
4509         * gdb.asm/asm-source.exp
4510         * gdb.base/a2-run.exp
4511         * gdb.base/advance.exp
4512         * gdb.base/all-bin.exp
4513         * gdb.base/anon.exp
4514         * gdb.base/args.exp
4515         * gdb.base/arithmet.exp
4516         * gdb.base/async-shell.exp
4517         * gdb.base/async.exp
4518         * gdb.base/attach-pie-noexec.exp
4519         * gdb.base/attach-twice.exp
4520         * gdb.base/auto-load.exp
4521         * gdb.base/bang.exp
4522         * gdb.base/bitfields.exp
4523         * gdb.base/break-always.exp
4524         * gdb.base/break-caller-line.exp
4525         * gdb.base/break-entry.exp
4526         * gdb.base/break-inline.exp
4527         * gdb.base/break-on-linker-gcd-function.exp
4528         * gdb.base/break-probes.exp
4529         * gdb.base/break.exp
4530         * gdb.base/breakpoint-shadow.exp
4531         * gdb.base/call-ar-st.exp
4532         * gdb.base/call-sc.exp
4533         * gdb.base/call-signal-resume.exp
4534         * gdb.base/call-strs.exp
4535         * gdb.base/callfuncs.exp
4536         * gdb.base/catch-fork-static.exp
4537         * gdb.base/catch-gdb-caused-signals.exp
4538         * gdb.base/catch-load.exp
4539         * gdb.base/catch-signal-fork.exp
4540         * gdb.base/catch-signal.exp
4541         * gdb.base/catch-syscall.exp
4542         * gdb.base/charset.exp
4543         * gdb.base/checkpoint.exp
4544         * gdb.base/chng-syms.exp
4545         * gdb.base/code-expr.exp
4546         * gdb.base/code_elim.exp
4547         * gdb.base/commands.exp
4548         * gdb.base/completion.exp
4549         * gdb.base/complex.exp
4550         * gdb.base/cond-expr.exp
4551         * gdb.base/condbreak.exp
4552         * gdb.base/consecutive.exp
4553         * gdb.base/continue-all-already-running.exp
4554         * gdb.base/coredump-filter.exp
4555         * gdb.base/corefile.exp
4556         * gdb.base/dbx.exp
4557         * gdb.base/debug-expr.exp
4558         * gdb.base/define.exp
4559         * gdb.base/del.exp
4560         * gdb.base/disabled-location.exp
4561         * gdb.base/disasm-end-cu.exp
4562         * gdb.base/disasm-optim.exp
4563         * gdb.base/display.exp
4564         * gdb.base/duplicate-bp.exp
4565         * gdb.base/ena-dis-br.exp
4566         * gdb.base/ending-run.exp
4567         * gdb.base/enumval.exp
4568         * gdb.base/environ.exp
4569         * gdb.base/eu-strip-infcall.exp
4570         * gdb.base/eval-avoid-side-effects.exp
4571         * gdb.base/eval-skip.exp
4572         * gdb.base/exitsignal.exp
4573         * gdb.base/expand-psymtabs.exp
4574         * gdb.base/filesym.exp
4575         * gdb.base/find-unmapped.exp
4576         * gdb.base/finish.exp
4577         * gdb.base/float.exp
4578         * gdb.base/foll-exec-mode.exp
4579         * gdb.base/foll-exec.exp
4580         * gdb.base/foll-fork.exp
4581         * gdb.base/fortran-sym-case.exp
4582         * gdb.base/freebpcmd.exp
4583         * gdb.base/func-ptr.exp
4584         * gdb.base/func-ptrs.exp
4585         * gdb.base/funcargs.exp
4586         * gdb.base/gcore-buffer-overflow.exp
4587         * gdb.base/gcore-relro-pie.exp
4588         * gdb.base/gcore-relro.exp
4589         * gdb.base/gcore.exp
4590         * gdb.base/gdb1090.exp
4591         * gdb.base/gdb11530.exp
4592         * gdb.base/gdb11531.exp
4593         * gdb.base/gdb1821.exp
4594         * gdb.base/gdbindex-stabs.exp
4595         * gdb.base/gdbvars.exp
4596         * gdb.base/hbreak.exp
4597         * gdb.base/hbreak2.exp
4598         * gdb.base/included.exp
4599         * gdb.base/infcall-input.exp
4600         * gdb.base/inferior-died.exp
4601         * gdb.base/infnan.exp
4602         * gdb.base/info-macros.exp
4603         * gdb.base/info-os.exp
4604         * gdb.base/info-proc.exp
4605         * gdb.base/info-shared.exp
4606         * gdb.base/info-target.exp
4607         * gdb.base/infoline.exp
4608         * gdb.base/interp.exp
4609         * gdb.base/interrupt.exp
4610         * gdb.base/jit-reader.exp
4611         * gdb.base/jit-simple.exp
4612         * gdb.base/kill-after-signal.exp
4613         * gdb.base/kill-detach-inferiors-cmd.exp
4614         * gdb.base/label.exp
4615         * gdb.base/langs.exp
4616         * gdb.base/ldbl_e308.exp
4617         * gdb.base/line-symtabs.exp
4618         * gdb.base/linespecs.exp
4619         * gdb.base/list.exp
4620         * gdb.base/long_long.exp
4621         * gdb.base/longest-types.exp
4622         * gdb.base/maint.exp
4623         * gdb.base/max-value-size.exp
4624         * gdb.base/memattr.exp
4625         * gdb.base/mips_pro.exp
4626         * gdb.base/morestack.exp
4627         * gdb.base/moribund-step.exp
4628         * gdb.base/multi-forks.exp
4629         * gdb.base/nested-addr.exp
4630         * gdb.base/nextoverexit.exp
4631         * gdb.base/noreturn-finish.exp
4632         * gdb.base/noreturn-return.exp
4633         * gdb.base/nostdlib.exp
4634         * gdb.base/offsets.exp
4635         * gdb.base/opaque.exp
4636         * gdb.base/pc-fp.exp
4637         * gdb.base/permissions.exp
4638         * gdb.base/print-symbol-loading.exp
4639         * gdb.base/prologue-include.exp
4640         * gdb.base/psymtab.exp
4641         * gdb.base/ptype.exp
4642         * gdb.base/random-signal.exp
4643         * gdb.base/randomize.exp
4644         * gdb.base/range-stepping.exp
4645         * gdb.base/readline-ask.exp
4646         * gdb.base/recpar.exp
4647         * gdb.base/recurse.exp
4648         * gdb.base/relational.exp
4649         * gdb.base/restore.exp
4650         * gdb.base/return-nodebug.exp
4651         * gdb.base/return.exp
4652         * gdb.base/run-after-attach.exp
4653         * gdb.base/save-bp.exp
4654         * gdb.base/scope.exp
4655         * gdb.base/sect-cmd.exp
4656         * gdb.base/set-lang-auto.exp
4657         * gdb.base/set-noassign.exp
4658         * gdb.base/setvar.exp
4659         * gdb.base/sigall.exp
4660         * gdb.base/sigbpt.exp
4661         * gdb.base/siginfo-addr.exp
4662         * gdb.base/siginfo-infcall.exp
4663         * gdb.base/siginfo-obj.exp
4664         * gdb.base/siginfo.exp
4665         * gdb.base/signals-state-child.exp
4666         * gdb.base/signest.exp
4667         * gdb.base/sigstep.exp
4668         * gdb.base/sizeof.exp
4669         * gdb.base/skip.exp
4670         * gdb.base/solib-corrupted.exp
4671         * gdb.base/solib-nodir.exp
4672         * gdb.base/solib-search.exp
4673         * gdb.base/stack-checking.exp
4674         * gdb.base/stale-infcall.exp
4675         * gdb.base/stap-probe.exp
4676         * gdb.base/start.exp
4677         * gdb.base/step-break.exp
4678         * gdb.base/step-bt.exp
4679         * gdb.base/step-line.exp
4680         * gdb.base/step-over-exit.exp
4681         * gdb.base/step-over-syscall.exp
4682         * gdb.base/step-resume-infcall.exp
4683         * gdb.base/step-test.exp
4684         * gdb.base/store.exp
4685         * gdb.base/structs3.exp
4686         * gdb.base/sym-file.exp
4687         * gdb.base/symbol-without-target_section.exp
4688         * gdb.base/term.exp
4689         * gdb.base/testenv.exp
4690         * gdb.base/ui-redirect.exp
4691         * gdb.base/until.exp
4692         * gdb.base/unwindonsignal.exp
4693         * gdb.base/value-double-free.exp
4694         * gdb.base/vla-datatypes.exp
4695         * gdb.base/vla-ptr.exp
4696         * gdb.base/vla-sideeffect.exp
4697         * gdb.base/volatile.exp
4698         * gdb.base/watch-cond-infcall.exp
4699         * gdb.base/watch-cond.exp
4700         * gdb.base/watch-non-mem.exp
4701         * gdb.base/watch-read.exp
4702         * gdb.base/watch-vfork.exp
4703         * gdb.base/watchpoint-cond-gone.exp
4704         * gdb.base/watchpoint-delete.exp
4705         * gdb.base/watchpoint-hw-hit-once.exp
4706         * gdb.base/watchpoint-hw.exp
4707         * gdb.base/watchpoint-stops-at-right-insn.exp
4708         * gdb.base/watchpoints.exp
4709         * gdb.base/wchar.exp
4710         * gdb.base/whatis-exp.exp
4711         * gdb.btrace/buffer-size.exp
4712         * gdb.btrace/data.exp
4713         * gdb.btrace/delta.exp
4714         * gdb.btrace/dlopen.exp
4715         * gdb.btrace/enable.exp
4716         * gdb.btrace/exception.exp
4717         * gdb.btrace/function_call_history.exp
4718         * gdb.btrace/gcore.exp
4719         * gdb.btrace/instruction_history.exp
4720         * gdb.btrace/nohist.exp
4721         * gdb.btrace/reconnect.exp
4722         * gdb.btrace/record_goto-step.exp
4723         * gdb.btrace/record_goto.exp
4724         * gdb.btrace/rn-dl-bind.exp
4725         * gdb.btrace/segv.exp
4726         * gdb.btrace/step.exp
4727         * gdb.btrace/stepi.exp
4728         * gdb.btrace/tailcall-only.exp
4729         * gdb.btrace/tailcall.exp
4730         * gdb.btrace/tsx.exp
4731         * gdb.btrace/unknown_functions.exp
4732         * gdb.btrace/vdso.exp
4733         * gdb.compile/compile-ifunc.exp
4734         * gdb.compile/compile-ops.exp
4735         * gdb.compile/compile-print.exp
4736         * gdb.compile/compile-setjmp.exp
4737         * gdb.cp/abstract-origin.exp
4738         * gdb.cp/ambiguous.exp
4739         * gdb.cp/annota2.exp
4740         * gdb.cp/annota3.exp
4741         * gdb.cp/anon-ns.exp
4742         * gdb.cp/anon-struct.exp
4743         * gdb.cp/anon-union.exp
4744         * gdb.cp/arg-reference.exp
4745         * gdb.cp/baseenum.exp
4746         * gdb.cp/bool.exp
4747         * gdb.cp/breakpoint.exp
4748         * gdb.cp/bs15503.exp
4749         * gdb.cp/call-c.exp
4750         * gdb.cp/casts.exp
4751         * gdb.cp/chained-calls.exp
4752         * gdb.cp/class2.exp
4753         * gdb.cp/classes.exp
4754         * gdb.cp/cmpd-minsyms.exp
4755         * gdb.cp/converts.exp
4756         * gdb.cp/cp-relocate.exp
4757         * gdb.cp/cpcompletion.exp
4758         * gdb.cp/cpexprs.exp
4759         * gdb.cp/cplabel.exp
4760         * gdb.cp/cplusfuncs.exp
4761         * gdb.cp/cpsizeof.exp
4762         * gdb.cp/ctti.exp
4763         * gdb.cp/derivation.exp
4764         * gdb.cp/destrprint.exp
4765         * gdb.cp/dispcxx.exp
4766         * gdb.cp/enum-class.exp
4767         * gdb.cp/exception.exp
4768         * gdb.cp/exceptprint.exp
4769         * gdb.cp/expand-psymtabs-cxx.exp
4770         * gdb.cp/expand-sals.exp
4771         * gdb.cp/extern-c.exp
4772         * gdb.cp/filename.exp
4773         * gdb.cp/formatted-ref.exp
4774         * gdb.cp/fpointer.exp
4775         * gdb.cp/gdb1355.exp
4776         * gdb.cp/gdb2495.exp
4777         * gdb.cp/hang.exp
4778         * gdb.cp/impl-this.exp
4779         * gdb.cp/infcall-dlopen.exp
4780         * gdb.cp/inherit.exp
4781         * gdb.cp/iostream.exp
4782         * gdb.cp/koenig.exp
4783         * gdb.cp/local.exp
4784         * gdb.cp/m-data.exp
4785         * gdb.cp/m-static.exp
4786         * gdb.cp/mb-ctor.exp
4787         * gdb.cp/mb-inline.exp
4788         * gdb.cp/mb-templates.exp
4789         * gdb.cp/member-name.exp
4790         * gdb.cp/member-ptr.exp
4791         * gdb.cp/meth-typedefs.exp
4792         * gdb.cp/method.exp
4793         * gdb.cp/method2.exp
4794         * gdb.cp/minsym-fallback.exp
4795         * gdb.cp/misc.exp
4796         * gdb.cp/namelessclass.exp
4797         * gdb.cp/namespace-enum.exp
4798         * gdb.cp/namespace-nested-import.exp
4799         * gdb.cp/namespace.exp
4800         * gdb.cp/nextoverthrow.exp
4801         * gdb.cp/no-dmgl-verbose.exp
4802         * gdb.cp/non-trivial-retval.exp
4803         * gdb.cp/noparam.exp
4804         * gdb.cp/nsdecl.exp
4805         * gdb.cp/nsimport.exp
4806         * gdb.cp/nsnested.exp
4807         * gdb.cp/nsnoimports.exp
4808         * gdb.cp/nsrecurs.exp
4809         * gdb.cp/nsstress.exp
4810         * gdb.cp/nsusing.exp
4811         * gdb.cp/operator.exp
4812         * gdb.cp/oranking.exp
4813         * gdb.cp/overload-const.exp
4814         * gdb.cp/overload.exp
4815         * gdb.cp/ovldbreak.exp
4816         * gdb.cp/ovsrch.exp
4817         * gdb.cp/paren-type.exp
4818         * gdb.cp/parse-lang.exp
4819         * gdb.cp/pass-by-ref.exp
4820         * gdb.cp/pr-1023.exp
4821         * gdb.cp/pr-1210.exp
4822         * gdb.cp/pr-574.exp
4823         * gdb.cp/pr10687.exp
4824         * gdb.cp/pr12028.exp
4825         * gdb.cp/pr17132.exp
4826         * gdb.cp/pr17494.exp
4827         * gdb.cp/pr9067.exp
4828         * gdb.cp/pr9167.exp
4829         * gdb.cp/pr9631.exp
4830         * gdb.cp/printmethod.exp
4831         * gdb.cp/psmang.exp
4832         * gdb.cp/psymtab-parameter.exp
4833         * gdb.cp/ptype-cv-cp.exp
4834         * gdb.cp/ptype-flags.exp
4835         * gdb.cp/re-set-overloaded.exp
4836         * gdb.cp/ref-types.exp
4837         * gdb.cp/rtti.exp
4838         * gdb.cp/scope-err.exp
4839         * gdb.cp/shadow.exp
4840         * gdb.cp/smartp.exp
4841         * gdb.cp/static-method.exp
4842         * gdb.cp/static-print-quit.exp
4843         * gdb.cp/temargs.exp
4844         * gdb.cp/templates.exp
4845         * gdb.cp/try_catch.exp
4846         * gdb.cp/typedef-operator.exp
4847         * gdb.cp/typeid.exp
4848         * gdb.cp/userdef.exp
4849         * gdb.cp/using-crash.exp
4850         * gdb.cp/var-tag.exp
4851         * gdb.cp/virtbase.exp
4852         * gdb.cp/virtfunc.exp
4853         * gdb.cp/virtfunc2.exp
4854         * gdb.cp/vla-cxx.exp
4855         * gdb.disasm/t01_mov.exp
4856         * gdb.disasm/t02_mova.exp
4857         * gdb.disasm/t03_add.exp
4858         * gdb.disasm/t04_sub.exp
4859         * gdb.disasm/t05_cmp.exp
4860         * gdb.disasm/t06_ari2.exp
4861         * gdb.disasm/t07_ari3.exp
4862         * gdb.disasm/t08_or.exp
4863         * gdb.disasm/t09_xor.exp
4864         * gdb.disasm/t10_and.exp
4865         * gdb.disasm/t11_logs.exp
4866         * gdb.disasm/t12_bit.exp
4867         * gdb.disasm/t13_otr.exp
4868         * gdb.dlang/circular.exp
4869         * gdb.dwarf2/arr-stride.exp
4870         * gdb.dwarf2/arr-subrange.exp
4871         * gdb.dwarf2/atomic-type.exp
4872         * gdb.dwarf2/bad-regnum.exp
4873         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4874         * gdb.dwarf2/callframecfa.exp
4875         * gdb.dwarf2/clztest.exp
4876         * gdb.dwarf2/corrupt.exp
4877         * gdb.dwarf2/data-loc.exp
4878         * gdb.dwarf2/dup-psym.exp
4879         * gdb.dwarf2/dw2-anon-mptr.exp
4880         * gdb.dwarf2/dw2-anonymous-func.exp
4881         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4882         * gdb.dwarf2/dw2-bad-unresolved.exp
4883         * gdb.dwarf2/dw2-basic.exp
4884         * gdb.dwarf2/dw2-canonicalize-type.exp
4885         * gdb.dwarf2/dw2-case-insensitive.exp
4886         * gdb.dwarf2/dw2-common-block.exp
4887         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4888         * gdb.dwarf2/dw2-compressed.exp
4889         * gdb.dwarf2/dw2-const.exp
4890         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4891         * gdb.dwarf2/dw2-cu-size.exp
4892         * gdb.dwarf2/dw2-dup-frame.exp
4893         * gdb.dwarf2/dw2-entry-value.exp
4894         * gdb.dwarf2/dw2-icycle.exp
4895         * gdb.dwarf2/dw2-ifort-parameter.exp
4896         * gdb.dwarf2/dw2-inline-break.exp
4897         * gdb.dwarf2/dw2-inline-param.exp
4898         * gdb.dwarf2/dw2-intercu.exp
4899         * gdb.dwarf2/dw2-intermix.exp
4900         * gdb.dwarf2/dw2-lexical-block-bare.exp
4901         * gdb.dwarf2/dw2-linkage-name-trust.exp
4902         * gdb.dwarf2/dw2-minsym-in-cu.exp
4903         * gdb.dwarf2/dw2-noloc.exp
4904         * gdb.dwarf2/dw2-op-call.exp
4905         * gdb.dwarf2/dw2-op-out-param.exp
4906         * gdb.dwarf2/dw2-opt-structptr.exp
4907         * gdb.dwarf2/dw2-param-error.exp
4908         * gdb.dwarf2/dw2-producer.exp
4909         * gdb.dwarf2/dw2-ranges-base.exp
4910         * gdb.dwarf2/dw2-ref-missing-frame.exp
4911         * gdb.dwarf2/dw2-reg-undefined.exp
4912         * gdb.dwarf2/dw2-regno-invalid.exp
4913         * gdb.dwarf2/dw2-restore.exp
4914         * gdb.dwarf2/dw2-restrict.exp
4915         * gdb.dwarf2/dw2-single-line-discriminators.exp
4916         * gdb.dwarf2/dw2-strp.exp
4917         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4918         * gdb.dwarf2/dw2-unresolved.exp
4919         * gdb.dwarf2/dw2-var-zero-addr.exp
4920         * gdb.dwarf2/dw4-sig-types.exp
4921         * gdb.dwarf2/dwz.exp
4922         * gdb.dwarf2/dynarr-ptr.exp
4923         * gdb.dwarf2/enum-type.exp
4924         * gdb.dwarf2/gdb-index.exp
4925         * gdb.dwarf2/implptr-64bit.exp
4926         * gdb.dwarf2/implptr-optimized-out.exp
4927         * gdb.dwarf2/implptr.exp
4928         * gdb.dwarf2/implref-array.exp
4929         * gdb.dwarf2/implref-const.exp
4930         * gdb.dwarf2/implref-global.exp
4931         * gdb.dwarf2/implref-struct.exp
4932         * gdb.dwarf2/mac-fileno.exp
4933         * gdb.dwarf2/main-subprogram.exp
4934         * gdb.dwarf2/member-ptr-forwardref.exp
4935         * gdb.dwarf2/method-ptr.exp
4936         * gdb.dwarf2/missing-sig-type.exp
4937         * gdb.dwarf2/nonvar-access.exp
4938         * gdb.dwarf2/opaque-type-lookup.exp
4939         * gdb.dwarf2/pieces-optimized-out.exp
4940         * gdb.dwarf2/pieces.exp
4941         * gdb.dwarf2/pr10770.exp
4942         * gdb.dwarf2/pr13961.exp
4943         * gdb.dwarf2/staticvirtual.exp
4944         * gdb.dwarf2/subrange.exp
4945         * gdb.dwarf2/symtab-producer.exp
4946         * gdb.dwarf2/trace-crash.exp
4947         * gdb.dwarf2/typeddwarf.exp
4948         * gdb.dwarf2/valop.exp
4949         * gdb.dwarf2/watch-notconst.exp
4950         * gdb.fortran/array-element.exp
4951         * gdb.fortran/charset.exp
4952         * gdb.fortran/common-block.exp
4953         * gdb.fortran/complex.exp
4954         * gdb.fortran/derived-type-function.exp
4955         * gdb.fortran/derived-type.exp
4956         * gdb.fortran/logical.exp
4957         * gdb.fortran/module.exp
4958         * gdb.fortran/multi-dim.exp
4959         * gdb.fortran/nested-funcs.exp
4960         * gdb.fortran/print-formatted.exp
4961         * gdb.fortran/subarray.exp
4962         * gdb.fortran/vla-alloc-assoc.exp
4963         * gdb.fortran/vla-datatypes.exp
4964         * gdb.fortran/vla-history.exp
4965         * gdb.fortran/vla-ptr-info.exp
4966         * gdb.fortran/vla-ptype-sub.exp
4967         * gdb.fortran/vla-ptype.exp
4968         * gdb.fortran/vla-sizeof.exp
4969         * gdb.fortran/vla-type.exp
4970         * gdb.fortran/vla-value-sub-arbitrary.exp
4971         * gdb.fortran/vla-value-sub-finish.exp
4972         * gdb.fortran/vla-value-sub.exp
4973         * gdb.fortran/vla-value.exp
4974         * gdb.fortran/whatis_type.exp
4975         * gdb.go/chan.exp
4976         * gdb.go/handcall.exp
4977         * gdb.go/hello.exp
4978         * gdb.go/integers.exp
4979         * gdb.go/methods.exp
4980         * gdb.go/package.exp
4981         * gdb.go/strings.exp
4982         * gdb.go/types.exp
4983         * gdb.go/unsafe.exp
4984         * gdb.guile/scm-arch.exp
4985         * gdb.guile/scm-block.exp
4986         * gdb.guile/scm-breakpoint.exp
4987         * gdb.guile/scm-cmd.exp
4988         * gdb.guile/scm-disasm.exp
4989         * gdb.guile/scm-equal.exp
4990         * gdb.guile/scm-frame-args.exp
4991         * gdb.guile/scm-frame-inline.exp
4992         * gdb.guile/scm-frame.exp
4993         * gdb.guile/scm-iterator.exp
4994         * gdb.guile/scm-math.exp
4995         * gdb.guile/scm-objfile.exp
4996         * gdb.guile/scm-ports.exp
4997         * gdb.guile/scm-symbol.exp
4998         * gdb.guile/scm-symtab.exp
4999         * gdb.guile/scm-value-cc.exp
5000         * gdb.guile/types-module.exp
5001         * gdb.linespec/break-ask.exp
5002         * gdb.linespec/cpexplicit.exp
5003         * gdb.linespec/explicit.exp
5004         * gdb.linespec/keywords.exp
5005         * gdb.linespec/linespec.exp
5006         * gdb.linespec/ls-dollar.exp
5007         * gdb.linespec/ls-errs.exp
5008         * gdb.linespec/skip-two.exp
5009         * gdb.linespec/thread.exp
5010         * gdb.mi/mi-async.exp
5011         * gdb.mi/mi-basics.exp
5012         * gdb.mi/mi-break.exp
5013         * gdb.mi/mi-catch-load.exp
5014         * gdb.mi/mi-cli.exp
5015         * gdb.mi/mi-cmd-param-changed.exp
5016         * gdb.mi/mi-console.exp
5017         * gdb.mi/mi-detach.exp
5018         * gdb.mi/mi-disassemble.exp
5019         * gdb.mi/mi-eval.exp
5020         * gdb.mi/mi-file-transfer.exp
5021         * gdb.mi/mi-file.exp
5022         * gdb.mi/mi-fill-memory.exp
5023         * gdb.mi/mi-inheritance-syntax-error.exp
5024         * gdb.mi/mi-linespec-err-cp.exp
5025         * gdb.mi/mi-logging.exp
5026         * gdb.mi/mi-memory-changed.exp
5027         * gdb.mi/mi-read-memory.exp
5028         * gdb.mi/mi-record-changed.exp
5029         * gdb.mi/mi-reg-undefined.exp
5030         * gdb.mi/mi-regs.exp
5031         * gdb.mi/mi-return.exp
5032         * gdb.mi/mi-reverse.exp
5033         * gdb.mi/mi-simplerun.exp
5034         * gdb.mi/mi-solib.exp
5035         * gdb.mi/mi-stack.exp
5036         * gdb.mi/mi-stepi.exp
5037         * gdb.mi/mi-syn-frame.exp
5038         * gdb.mi/mi-until.exp
5039         * gdb.mi/mi-var-block.exp
5040         * gdb.mi/mi-var-child.exp
5041         * gdb.mi/mi-var-cmd.exp
5042         * gdb.mi/mi-var-cp.exp
5043         * gdb.mi/mi-var-display.exp
5044         * gdb.mi/mi-var-invalidate.exp
5045         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5046         * gdb.mi/mi-vla-fortran.exp
5047         * gdb.mi/mi-watch.exp
5048         * gdb.mi/mi2-var-child.exp
5049         * gdb.mi/user-selected-context-sync.exp
5050         * gdb.modula2/unbounded-array.exp
5051         * gdb.multi/dummy-frame-restore.exp
5052         * gdb.multi/multi-arch-exec.exp
5053         * gdb.multi/multi-arch.exp
5054         * gdb.multi/tids.exp
5055         * gdb.multi/watchpoint-multi.exp
5056         * gdb.opencl/callfuncs.exp
5057         * gdb.opencl/convs_casts.exp
5058         * gdb.opencl/datatypes.exp
5059         * gdb.opencl/operators.exp
5060         * gdb.opencl/vec_comps.exp
5061         * gdb.opt/clobbered-registers-O2.exp
5062         * gdb.opt/inline-break.exp
5063         * gdb.opt/inline-bt.exp
5064         * gdb.opt/inline-cmds.exp
5065         * gdb.opt/inline-locals.exp
5066         * gdb.pascal/case-insensitive-symbols.exp
5067         * gdb.pascal/floats.exp
5068         * gdb.pascal/gdb11492.exp
5069         * gdb.python/lib-types.exp
5070         * gdb.python/py-arch.exp
5071         * gdb.python/py-as-string.exp
5072         * gdb.python/py-bad-printers.exp
5073         * gdb.python/py-block.exp
5074         * gdb.python/py-breakpoint-create-fail.exp
5075         * gdb.python/py-breakpoint.exp
5076         * gdb.python/py-caller-is.exp
5077         * gdb.python/py-cmd.exp
5078         * gdb.python/py-explore-cc.exp
5079         * gdb.python/py-explore.exp
5080         * gdb.python/py-finish-breakpoint.exp
5081         * gdb.python/py-finish-breakpoint2.exp
5082         * gdb.python/py-frame-args.exp
5083         * gdb.python/py-frame-inline.exp
5084         * gdb.python/py-frame.exp
5085         * gdb.python/py-framefilter-mi.exp
5086         * gdb.python/py-infthread.exp
5087         * gdb.python/py-lazy-string.exp
5088         * gdb.python/py-linetable.exp
5089         * gdb.python/py-mi-events.exp
5090         * gdb.python/py-mi-objfile.exp
5091         * gdb.python/py-mi.exp
5092         * gdb.python/py-objfile.exp
5093         * gdb.python/py-pp-integral.exp
5094         * gdb.python/py-pp-maint.exp
5095         * gdb.python/py-pp-re-notag.exp
5096         * gdb.python/py-pp-registration.exp
5097         * gdb.python/py-recurse-unwind.exp
5098         * gdb.python/py-strfns.exp
5099         * gdb.python/py-symbol.exp
5100         * gdb.python/py-symtab.exp
5101         * gdb.python/py-sync-interp.exp
5102         * gdb.python/py-typeprint.exp
5103         * gdb.python/py-unwind-maint.exp
5104         * gdb.python/py-unwind.exp
5105         * gdb.python/py-value-cc.exp
5106         * gdb.python/py-xmethods.exp
5107         * gdb.reverse/amd64-tailcall-reverse.exp
5108         * gdb.reverse/break-precsave.exp
5109         * gdb.reverse/break-reverse.exp
5110         * gdb.reverse/consecutive-precsave.exp
5111         * gdb.reverse/consecutive-reverse.exp
5112         * gdb.reverse/finish-precsave.exp
5113         * gdb.reverse/finish-reverse-bkpt.exp
5114         * gdb.reverse/finish-reverse.exp
5115         * gdb.reverse/fstatat-reverse.exp
5116         * gdb.reverse/getresuid-reverse.exp
5117         * gdb.reverse/i386-precsave.exp
5118         * gdb.reverse/i386-reverse.exp
5119         * gdb.reverse/i386-sse-reverse.exp
5120         * gdb.reverse/i387-env-reverse.exp
5121         * gdb.reverse/i387-stack-reverse.exp
5122         * gdb.reverse/insn-reverse.exp
5123         * gdb.reverse/machinestate-precsave.exp
5124         * gdb.reverse/machinestate.exp
5125         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5126         * gdb.reverse/pipe-reverse.exp
5127         * gdb.reverse/readv-reverse.exp
5128         * gdb.reverse/recvmsg-reverse.exp
5129         * gdb.reverse/rerun-prec.exp
5130         * gdb.reverse/s390-mvcle.exp
5131         * gdb.reverse/step-precsave.exp
5132         * gdb.reverse/step-reverse.exp
5133         * gdb.reverse/time-reverse.exp
5134         * gdb.reverse/until-precsave.exp
5135         * gdb.reverse/until-reverse.exp
5136         * gdb.reverse/waitpid-reverse.exp
5137         * gdb.reverse/watch-precsave.exp
5138         * gdb.reverse/watch-reverse.exp
5139         * gdb.rust/generics.exp
5140         * gdb.rust/methods.exp
5141         * gdb.rust/modules.exp
5142         * gdb.rust/simple.exp
5143         * gdb.server/connect-with-no-symbol-file.exp
5144         * gdb.server/ext-attach.exp
5145         * gdb.server/ext-restart.exp
5146         * gdb.server/ext-wrapper.exp
5147         * gdb.server/file-transfer.exp
5148         * gdb.server/server-exec-info.exp
5149         * gdb.server/server-kill.exp
5150         * gdb.server/server-mon.exp
5151         * gdb.server/wrapper.exp
5152         * gdb.stabs/exclfwd.exp
5153         * gdb.stabs/gdb11479.exp
5154         * gdb.threads/clone-new-thread-event.exp
5155         * gdb.threads/corethreads.exp
5156         * gdb.threads/current-lwp-dead.exp
5157         * gdb.threads/dlopen-libpthread.exp
5158         * gdb.threads/gcore-thread.exp
5159         * gdb.threads/sigstep-threads.exp
5160         * gdb.threads/watchpoint-fork.exp
5161         * gdb.trace/actions-changed.exp
5162         * gdb.trace/backtrace.exp
5163         * gdb.trace/change-loc.exp
5164         * gdb.trace/circ.exp
5165         * gdb.trace/collection.exp
5166         * gdb.trace/disconnected-tracing.exp
5167         * gdb.trace/ftrace.exp
5168         * gdb.trace/mi-trace-frame-collected.exp
5169         * gdb.trace/mi-trace-unavailable.exp
5170         * gdb.trace/mi-traceframe-changed.exp
5171         * gdb.trace/mi-tsv-changed.exp
5172         * gdb.trace/no-attach-trace.exp
5173         * gdb.trace/passc-dyn.exp
5174         * gdb.trace/qtro.exp
5175         * gdb.trace/range-stepping.exp
5176         * gdb.trace/read-memory.exp
5177         * gdb.trace/save-trace.exp
5178         * gdb.trace/signal.exp
5179         * gdb.trace/status-stop.exp
5180         * gdb.trace/tfile.exp
5181         * gdb.trace/trace-break.exp
5182         * gdb.trace/trace-buffer-size.exp
5183         * gdb.trace/trace-condition.exp
5184         * gdb.trace/tracefile-pseudo-reg.exp
5185         * gdb.trace/tstatus.exp
5186         * gdb.trace/unavailable.exp
5187         * gdb.trace/while-dyn.exp
5188         * gdb.trace/while-stepping.exp
5189
5190 2016-12-22  Doug Evans  <xdje42@gmail.com>
5191
5192         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5193         and msymbols.
5194
5195 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5196
5197         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5198         (test_with_self): Don't call do_steps_and_nexts, and remove
5199         code about stepping into xmalloc.
5200
5201 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5202
5203         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5204
5205 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5206
5207         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5208
5209 2016-12-09  Pedro Alves  <palves@redhat.com>
5210
5211         * gdb.base/all-architectures-0.exp: New file.
5212         * gdb.base/all-architectures-1.exp: New file.
5213         * gdb.base/all-architectures-2.exp: New file.
5214         * gdb.base/all-architectures-3.exp: New file.
5215         * gdb.base/all-architectures-4.exp: New file.
5216         * gdb.base/all-architectures-5.exp: New file.
5217         * gdb.base/all-architectures-6.exp: New file.
5218         * gdb.base/all-architectures-7.exp: New file.
5219         * gdb.base/all-architectures.exp.in: New file.
5220
5221 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5222
5223         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5224
5225 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5226
5227         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5228         possible.
5229         Remove useless pattern-matching code.
5230
5231 2016-12-02  Pedro Alves  <palves@redhat.com>
5232
5233         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5234         procedure.
5235         (top level): Call it.
5236
5237 2016-12-02  Pedro Alves  <palves@redhat.com>
5238
5239         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5240         New procedure.
5241         (top level): Call it.
5242
5243 2016-12-02  Pedro Alves  <palves@redhat.com>
5244
5245         PR cli/20559
5246         * gdb.base/commands.exp (user_defined_command_args_eval): New
5247         procedure.
5248         (top level): Call it.
5249
5250 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5251
5252         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5253         timeout handling.
5254
5255 2016-12-02  Tom Tromey  <tom@tromey.com>
5256
5257         * gdb.dwarf2/main-subprogram.c: New file.
5258         * gdb.dwarf2/main-subprogram.exp: New file.
5259
5260 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5261
5262         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5263         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5264         gdb_test_no_output for a couple of cases.
5265         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5266
5267 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5268
5269         Fix test names and standardize compilation error messages throughout
5270         the following files:
5271
5272         * gdb.ada/start.exp
5273         * gdb.arch/alpha-step.exp
5274         * gdb.arch/e500-prologue.exp
5275         * gdb.arch/ftrace-insn-reloc.exp
5276         * gdb.arch/gdb1291.exp
5277         * gdb.arch/gdb1431.exp
5278         * gdb.arch/gdb1558.exp
5279         * gdb.arch/i386-dr3-watch.exp
5280         * gdb.arch/i386-sse-stack-align.exp
5281         * gdb.arch/ia64-breakpoint-shadow.exp
5282         * gdb.arch/pa-nullify.exp
5283         * gdb.arch/powerpc-aix-prologue.exp
5284         * gdb.arch/thumb-bx-pc.exp
5285         * gdb.base/annota1.exp
5286         * gdb.base/annota3.exp
5287         * gdb.base/arrayidx.exp
5288         * gdb.base/assign.exp
5289         * gdb.base/attach.exp
5290         * gdb.base/auxv.exp
5291         * gdb.base/bang.exp
5292         * gdb.base/bfp-test.exp
5293         * gdb.base/bigcore.exp
5294         * gdb.base/bitfields2.exp
5295         * gdb.base/break-fun-addr.exp
5296         * gdb.base/break-probes.exp
5297         * gdb.base/call-rt-st.exp
5298         * gdb.base/callexit.exp
5299         * gdb.base/catch-fork-kill.exp
5300         * gdb.base/charset.exp
5301         * gdb.base/checkpoint.exp
5302         * gdb.base/comprdebug.exp
5303         * gdb.base/constvars.exp
5304         * gdb.base/coredump-filter.exp
5305         * gdb.base/cursal.exp
5306         * gdb.base/cvexpr.exp
5307         * gdb.base/detach.exp
5308         * gdb.base/display.exp
5309         * gdb.base/dmsym.exp
5310         * gdb.base/dprintf-pending.exp
5311         * gdb.base/dso2dso.exp
5312         * gdb.base/dtrace-probe.exp
5313         * gdb.base/dump.exp
5314         * gdb.base/enum_cond.exp
5315         * gdb.base/exe-lock.exp
5316         * gdb.base/exec-invalid-sysroot.exp
5317         * gdb.base/execl-update-breakpoints.exp
5318         * gdb.base/exprs.exp
5319         * gdb.base/fileio.exp
5320         * gdb.base/find.exp
5321         * gdb.base/finish.exp
5322         * gdb.base/fixsection.exp
5323         * gdb.base/foll-vfork.exp
5324         * gdb.base/frame-args.exp
5325         * gdb.base/gcore.exp
5326         * gdb.base/gdb1250.exp
5327         * gdb.base/global-var-nested-by-dso.exp
5328         * gdb.base/gnu-ifunc.exp
5329         * gdb.base/hashline1.exp
5330         * gdb.base/hashline2.exp
5331         * gdb.base/hashline3.exp
5332         * gdb.base/hbreak-in-shr-unsupported.exp
5333         * gdb.base/huge.exp
5334         * gdb.base/infcall-input.exp
5335         * gdb.base/info-fun.exp
5336         * gdb.base/info-shared.exp
5337         * gdb.base/jit-simple.exp
5338         * gdb.base/jit-so.exp
5339         * gdb.base/jit.exp
5340         * gdb.base/jump.exp
5341         * gdb.base/label.exp
5342         * gdb.base/lineinc.exp
5343         * gdb.base/logical.exp
5344         * gdb.base/longjmp.exp
5345         * gdb.base/macscp.exp
5346         * gdb.base/miscexprs.exp
5347         * gdb.base/new-ui-echo.exp
5348         * gdb.base/new-ui-pending-input.exp
5349         * gdb.base/new-ui.exp
5350         * gdb.base/nodebug.exp
5351         * gdb.base/nofield.exp
5352         * gdb.base/offsets.exp
5353         * gdb.base/overlays.exp
5354         * gdb.base/pending.exp
5355         * gdb.base/pointers.exp
5356         * gdb.base/pr11022.exp
5357         * gdb.base/printcmds.exp
5358         * gdb.base/prologue.exp
5359         * gdb.base/ptr-typedef.exp
5360         * gdb.base/realname-expand.exp
5361         * gdb.base/relativedebug.exp
5362         * gdb.base/relocate.exp
5363         * gdb.base/remote.exp
5364         * gdb.base/reread.exp
5365         * gdb.base/return2.exp
5366         * gdb.base/savedregs.exp
5367         * gdb.base/sep.exp
5368         * gdb.base/sepdebug.exp
5369         * gdb.base/sepsymtab.exp
5370         * gdb.base/set-inferior-tty.exp
5371         * gdb.base/setshow.exp
5372         * gdb.base/shlib-call.exp
5373         * gdb.base/sigaltstack.exp
5374         * gdb.base/siginfo-addr.exp
5375         * gdb.base/signals.exp
5376         * gdb.base/signull.exp
5377         * gdb.base/sigrepeat.exp
5378         * gdb.base/so-impl-ld.exp
5379         * gdb.base/solib-display.exp
5380         * gdb.base/solib-overlap.exp
5381         * gdb.base/solib-search.exp
5382         * gdb.base/solib-symbol.exp
5383         * gdb.base/structs.exp
5384         * gdb.base/structs2.exp
5385         * gdb.base/symtab-search-order.exp
5386         * gdb.base/twice.exp
5387         * gdb.base/unload.exp
5388         * gdb.base/varargs.exp
5389         * gdb.base/watchpoint-solib.exp
5390         * gdb.base/watchpoint.exp
5391         * gdb.base/whatis.exp
5392         * gdb.base/wrong_frame_bt_full.exp
5393         * gdb.btrace/dlopen.exp
5394         * gdb.cell/ea-standalone.exp
5395         * gdb.cell/ea-test.exp
5396         * gdb.cp/dispcxx.exp
5397         * gdb.cp/gdb2384.exp
5398         * gdb.cp/method2.exp
5399         * gdb.cp/nextoverthrow.exp
5400         * gdb.cp/pr10728.exp
5401         * gdb.disasm/am33.exp
5402         * gdb.disasm/h8300s.exp
5403         * gdb.disasm/mn10300.exp
5404         * gdb.disasm/sh3.exp
5405         * gdb.dwarf2/dw2-dir-file-name.exp
5406         * gdb.fortran/complex.exp
5407         * gdb.fortran/library-module.exp
5408         * gdb.guile/scm-pretty-print.exp
5409         * gdb.guile/scm-symbol.exp
5410         * gdb.guile/scm-type.exp
5411         * gdb.guile/scm-value.exp
5412         * gdb.linespec/linespec.exp
5413         * gdb.mi/gdb701.exp
5414         * gdb.mi/gdb792.exp
5415         * gdb.mi/mi-breakpoint-changed.exp
5416         * gdb.mi/mi-dprintf-pending.exp
5417         * gdb.mi/mi-dprintf.exp
5418         * gdb.mi/mi-exit-code.exp
5419         * gdb.mi/mi-pending.exp
5420         * gdb.mi/mi-solib.exp
5421         * gdb.mi/new-ui-mi-sync.exp
5422         * gdb.mi/pr11022.exp
5423         * gdb.mi/user-selected-context-sync.exp
5424         * gdb.opt/solib-intra-step.exp
5425         * gdb.python/py-events.exp
5426         * gdb.python/py-finish-breakpoint.exp
5427         * gdb.python/py-mi.exp
5428         * gdb.python/py-prettyprint.exp
5429         * gdb.python/py-shared.exp
5430         * gdb.python/py-symbol.exp
5431         * gdb.python/py-template.exp
5432         * gdb.python/py-type.exp
5433         * gdb.python/py-value.exp
5434         * gdb.reverse/solib-precsave.exp
5435         * gdb.reverse/solib-reverse.exp
5436         * gdb.server/solib-list.exp
5437         * gdb.stabs/weird.exp
5438         * gdb.threads/reconnect-signal.exp
5439         * gdb.threads/stepi-random-signal.exp
5440         * gdb.trace/actions.exp
5441         * gdb.trace/ax.exp
5442         * gdb.trace/backtrace.exp
5443         * gdb.trace/change-loc.exp
5444         * gdb.trace/deltrace.exp
5445         * gdb.trace/ftrace-lock.exp
5446         * gdb.trace/ftrace.exp
5447         * gdb.trace/infotrace.exp
5448         * gdb.trace/mi-tracepoint-changed.exp
5449         * gdb.trace/packetlen.exp
5450         * gdb.trace/passcount.exp
5451         * gdb.trace/pending.exp
5452         * gdb.trace/range-stepping.exp
5453         * gdb.trace/report.exp
5454         * gdb.trace/stap-trace.exp
5455         * gdb.trace/tfind.exp
5456         * gdb.trace/trace-break.exp
5457         * gdb.trace/trace-condition.exp
5458         * gdb.trace/trace-enable-disable.exp
5459         * gdb.trace/trace-mt.exp
5460         * gdb.trace/tracecmd.exp
5461         * gdb.trace/tspeed.exp
5462         * gdb.trace/tsv.exp
5463         * lib/perftest.exp
5464
5465 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5466
5467         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5468         with gdb_test_no_output.
5469         Use command as test name.
5470
5471 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5472
5473         Fix test names starting with uppercase throughout the files.
5474
5475         * gdb.ada/assign_1.exp
5476         * gdb.ada/boolean_expr.exp
5477         * gdb.base/arrayidx.exp
5478         * gdb.base/del.exp
5479         * gdb.base/gcore-buffer-overflow.exp
5480         * gdb.base/testenv.exp
5481         * gdb.compile/compile.exp
5482         * gdb.python/py-framefilter-invalidarg.exp
5483         * gdb.python/py-framefilter.exp
5484
5485 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5486
5487         Fix test names starting with uppercase throughout the files.
5488
5489         * gdb.ada/array_return.exp
5490         * gdb.ada/expr_delims.exp
5491         * gdb.ada/mi_dyn_arr.exp
5492         * gdb.ada/mi_interface.exp
5493         * gdb.ada/mi_var_array.exp
5494         * gdb.ada/watch_arg.exp
5495         * gdb.arch/alpha-step.exp
5496         * gdb.arch/altivec-regs.exp
5497         * gdb.arch/e500-regs.exp
5498         * gdb.arch/powerpc-d128-regs.exp
5499         * gdb.base/arrayidx.exp
5500         * gdb.base/break.exp
5501         * gdb.base/checkpoint.exp
5502         * gdb.base/debug-expr.exp
5503         * gdb.base/dmsym.exp
5504         * gdb.base/radix.exp
5505         * gdb.base/sepdebug.exp
5506         * gdb.base/testenv.exp
5507         * gdb.base/watch_thread_num.exp
5508         * gdb.base/watchpoint-cond-gone.exp
5509         * gdb.cell/break.exp
5510         * gdb.cell/ea-cache.exp
5511         * gdb.compile/compile.exp
5512         * gdb.cp/gdb2495.exp
5513         * gdb.gdb/selftest.exp
5514         * gdb.gdb/xfullpath.exp
5515         * gdb.go/hello.exp
5516         * gdb.go/integers.exp
5517         * gdb.objc/basicclass.exp
5518         * gdb.pascal/hello.exp
5519         * gdb.pascal/integers.exp
5520         * gdb.python/py-breakpoint.exp
5521         * gdb.python/py-cmd.exp
5522         * gdb.python/py-linetable.exp
5523         * gdb.python/py-xmethods.exp
5524         * gdb.python/python.exp
5525         * gdb.reverse/consecutive-precsave.exp
5526         * gdb.reverse/finish-precsave.exp
5527         * gdb.reverse/i386-precsave.exp
5528         * gdb.reverse/machinestate-precsave.exp
5529         * gdb.reverse/sigall-precsave.exp
5530         * gdb.reverse/solib-precsave.exp
5531         * gdb.reverse/step-precsave.exp
5532         * gdb.reverse/until-precsave.exp
5533         * gdb.reverse/watch-precsave.exp
5534         * gdb.threads/leader-exit.exp
5535         * gdb.threads/pthreads.exp
5536         * gdb.threads/wp-replication.exp
5537         * gdb.trace/actions.exp
5538         * gdb.trace/mi-tsv-changed.exp
5539         * gdb.trace/tsv.exp
5540
5541 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5542
5543         Fix test names starting with uppercase throughout the files.
5544
5545         * gdb.arch/i386-bp_permanent.exp
5546         * gdb.arch/i386-gnu-cfi.exp
5547         * gdb.base/disasm-end-cu.exp
5548         * gdb.base/macscp.exp
5549         * gdb.base/pending.exp
5550         * gdb.base/watch_thread_num.exp
5551         * gdb.cp/exception.exp
5552         * gdb.cp/gdb2495.exp
5553         * gdb.cp/local.exp
5554         * gdb.python/py-evsignal.exp
5555         * gdb.python/python.exp
5556         * gdb.trace/tracecmd.exp
5557
5558 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5559
5560         Fix test names starting with uppercase throughout the files.
5561
5562         * gdb.base/charset.exp
5563         * gdb.base/eval.exp
5564         * gdb.base/multi-forks.exp
5565         * gdb.guile/scm-progspace.exp
5566         * gdb.opencl/datatypes.exp
5567         * gdb.python/py-block.exp
5568         * gdb.python/py-function.exp
5569         * gdb.python/py-symbol.exp
5570         * gdb.python/py-symtab.exp
5571         * gdb.python/py-xmethods.exp
5572         * gdb.reverse/break-precsave.exp
5573         * gdb.reverse/break-reverse.exp
5574         * gdb.reverse/consecutive-precsave.exp
5575         * gdb.reverse/consecutive-reverse.exp
5576         * gdb.reverse/finish-precsave.exp
5577         * gdb.reverse/finish-reverse-bkpt.exp
5578         * gdb.reverse/finish-reverse.exp
5579         * gdb.reverse/fstatat-reverse.exp
5580         * gdb.reverse/getresuid-reverse.exp
5581         * gdb.reverse/i386-precsave.exp
5582         * gdb.reverse/i386-reverse.exp
5583         * gdb.reverse/i386-sse-reverse.exp
5584         * gdb.reverse/i387-stack-reverse.exp
5585         * gdb.reverse/insn-reverse.exp
5586         * gdb.reverse/machinestate-precsave.exp
5587         * gdb.reverse/machinestate.exp
5588         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5589         * gdb.reverse/pipe-reverse.exp
5590         * gdb.reverse/readv-reverse.exp
5591         * gdb.reverse/recvmsg-reverse.exp
5592         * gdb.reverse/rerun-prec.exp
5593         * gdb.reverse/s390-mvcle.exp
5594         * gdb.reverse/sigall-precsave.exp
5595         * gdb.reverse/sigall-reverse.exp
5596         * gdb.reverse/solib-precsave.exp
5597         * gdb.reverse/solib-reverse.exp
5598         * gdb.reverse/step-precsave.exp
5599         * gdb.reverse/step-reverse.exp
5600         * gdb.reverse/time-reverse.exp
5601         * gdb.reverse/until-precsave.exp
5602         * gdb.reverse/until-reverse.exp
5603         * gdb.reverse/waitpid-reverse.exp
5604         * gdb.reverse/watch-precsave.exp
5605         * gdb.reverse/watch-reverse.exp
5606
5607 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5608
5609         Fix test names starting with uppercase throughout the files.
5610
5611         * gdb.arch/i386-mpx-simple_segv.exp
5612         * gdb.arch/i386-mpx.exp
5613         * gdb.arch/i386-permbkpt.exp
5614         * gdb.arch/pa-nullify.exp
5615         * gdb.arch/powerpc-d128-regs.exp
5616         * gdb.arch/vsx-regs.exp
5617         * gdb.base/bfp-test.exp
5618         * gdb.base/break.exp
5619         * gdb.base/breakpoint-shadow.exp
5620         * gdb.base/callfuncs.exp
5621         * gdb.base/charset.exp
5622         * gdb.base/commands.exp
5623         * gdb.base/completion.exp
5624         * gdb.base/dfp-test.exp
5625         * gdb.base/echo.exp
5626         * gdb.base/ending-run.exp
5627         * gdb.base/eval.exp
5628         * gdb.base/expand-psymtabs.exp
5629         * gdb.base/float128.exp
5630         * gdb.base/floatn.exp
5631         * gdb.base/foll-exec-mode.exp
5632         * gdb.base/gdb1056.exp
5633         * gdb.base/gdb11531.exp
5634         * gdb.base/kill-after-signal.exp
5635         * gdb.base/multi-forks.exp
5636         * gdb.base/overlays.exp
5637         * gdb.base/pending.exp
5638         * gdb.base/sepdebug.exp
5639         * gdb.base/testenv.exp
5640         * gdb.base/valgrind-db-attach.exp
5641         * gdb.base/watch_thread_num.exp
5642         * gdb.base/watchpoint-cond-gone.exp
5643         * gdb.base/watchpoint.exp
5644         * gdb.base/watchpoints.exp
5645         * gdb.cp/arg-reference.exp
5646         * gdb.cp/baseenum.exp
5647         * gdb.cp/operator.exp
5648         * gdb.cp/shadow.exp
5649         * gdb.dwarf2/dw2-op-out-param.exp
5650         * gdb.dwarf2/dw2-reg-undefined.exp
5651         * gdb.go/chan.exp
5652         * gdb.go/hello.exp
5653         * gdb.go/integers.exp
5654         * gdb.go/methods.exp
5655         * gdb.go/package.exp
5656         * gdb.guile/scm-parameter.exp
5657         * gdb.guile/scm-progspace.exp
5658         * gdb.guile/scm-value.exp
5659         * gdb.mi/mi-pending.exp
5660         * gdb.mi/user-selected-context-sync.exp
5661         * gdb.multi/multi-attach.exp
5662         * gdb.multi/tids.exp
5663         * gdb.opt/clobbered-registers-O2.exp
5664         * gdb.pascal/floats.exp
5665         * gdb.pascal/integers.exp
5666         * gdb.python/py-block.exp
5667         * gdb.python/py-events.exp
5668         * gdb.python/py-parameter.exp
5669         * gdb.python/py-symbol.exp
5670         * gdb.python/py-symtab.exp
5671         * gdb.python/py-type.exp
5672         * gdb.python/py-value.exp
5673         * gdb.python/py-xmethods.exp
5674         * gdb.python/python.exp
5675         * gdb.reverse/break-precsave.exp
5676         * gdb.reverse/consecutive-precsave.exp
5677         * gdb.reverse/finish-precsave.exp
5678         * gdb.reverse/i386-precsave.exp
5679         * gdb.reverse/machinestate-precsave.exp
5680         * gdb.reverse/sigall-precsave.exp
5681         * gdb.reverse/solib-precsave.exp
5682         * gdb.reverse/step-precsave.exp
5683         * gdb.reverse/until-precsave.exp
5684         * gdb.reverse/watch-precsave.exp
5685         * gdb.server/ext-attach.exp
5686         * gdb.server/ext-restart.exp
5687         * gdb.server/ext-run.exp
5688         * gdb.server/ext-wrapper.exp
5689         * gdb.stabs/gdb11479.exp
5690         * gdb.stabs/weird.exp
5691         * gdb.threads/attach-many-short-lived-threads.exp
5692         * gdb.threads/kill.exp
5693         * gdb.threads/watchpoint-fork.exp
5694
5695 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5696
5697         Fix test names starting with uppercase throughout all the files below.
5698
5699         * gdb.ada/array_return.exp
5700         * gdb.ada/catch_ex.exp
5701         * gdb.ada/info_exc.exp
5702         * gdb.ada/mi_catch_ex.exp
5703         * gdb.ada/mi_dyn_arr.exp
5704         * gdb.ada/mi_ex_cond.exp
5705         * gdb.ada/mi_exc_info.exp
5706         * gdb.ada/mi_interface.exp
5707         * gdb.ada/mi_task_arg.exp
5708         * gdb.ada/mi_task_info.exp
5709         * gdb.ada/mi_var_array.exp
5710         * gdb.arch/alpha-step.exp
5711         * gdb.arch/amd64-disp-step.exp
5712         * gdb.arch/arm-disp-step.exp
5713         * gdb.arch/disp-step-insn-reloc.exp
5714         * gdb.arch/e500-prologue.exp
5715         * gdb.arch/ftrace-insn-reloc.exp
5716         * gdb.arch/gdb1558.exp
5717         * gdb.arch/i386-bp_permanent.exp
5718         * gdb.arch/i386-disp-step.exp
5719         * gdb.arch/i386-float.exp
5720         * gdb.arch/i386-gnu-cfi.exp
5721         * gdb.arch/ia64-breakpoint-shadow.exp
5722         * gdb.arch/mips16-thunks.exp
5723         * gdb.arch/pa-nullify.exp
5724         * gdb.arch/powerpc-aix-prologue.exp
5725         * gdb.arch/powerpc-power.exp
5726         * gdb.arch/ppc-dfp.exp
5727         * gdb.arch/s390-tdbregs.exp
5728         * gdb.arch/spu-info.exp
5729         * gdb.arch/spu-ls.exp
5730         * gdb.arch/thumb-bx-pc.exp
5731         * gdb.base/advance.exp
5732         * gdb.base/annota-input-while-running.exp
5733         * gdb.base/arrayidx.exp
5734         * gdb.base/asmlabel.exp
5735         * gdb.base/async.exp
5736         * gdb.base/attach-wait-input.exp
5737         * gdb.base/auto-connect-native-target.exp
5738         * gdb.base/batch-preserve-term-settings.exp
5739         * gdb.base/bfp-test.exp
5740         * gdb.base/bigcore.exp
5741         * gdb.base/bp-permanent.exp
5742         * gdb.base/break-always.exp
5743         * gdb.base/break-fun-addr.exp
5744         * gdb.base/break-idempotent.exp
5745         * gdb.base/break-main-file-remove-fail.exp
5746         * gdb.base/break-probes.exp
5747         * gdb.base/break-unload-file.exp
5748         * gdb.base/break.exp
5749         * gdb.base/call-ar-st.exp
5750         * gdb.base/call-rt-st.exp
5751         * gdb.base/call-sc.exp
5752         * gdb.base/call-signal-resume.exp
5753         * gdb.base/call-strs.exp
5754         * gdb.base/callexit.exp
5755         * gdb.base/callfuncs.exp
5756         * gdb.base/catch-gdb-caused-signals.exp
5757         * gdb.base/catch-signal-siginfo-cond.exp
5758         * gdb.base/catch-syscall.exp
5759         * gdb.base/compare-sections.exp
5760         * gdb.base/cond-eval-mode.exp
5761         * gdb.base/condbreak-call-false.exp
5762         * gdb.base/consecutive-step-over.exp
5763         * gdb.base/cursal.exp
5764         * gdb.base/disabled-location.exp
5765         * gdb.base/disasm-end-cu.exp
5766         * gdb.base/display.exp
5767         * gdb.base/double-prompt-target-event-error.exp
5768         * gdb.base/dprintf-bp-same-addr.exp
5769         * gdb.base/dprintf-detach.exp
5770         * gdb.base/dprintf-next.exp
5771         * gdb.base/dprintf-non-stop.exp
5772         * gdb.base/dprintf-pending.exp
5773         * gdb.base/dso2dso.exp
5774         * gdb.base/ending-run.exp
5775         * gdb.base/enum_cond.exp
5776         * gdb.base/examine-backward.exp
5777         * gdb.base/exe-lock.exp
5778         * gdb.base/exec-invalid-sysroot.exp
5779         * gdb.base/execl-update-breakpoints.exp
5780         * gdb.base/execution-termios.exp
5781         * gdb.base/fileio.exp
5782         * gdb.base/fixsection.exp
5783         * gdb.base/foll-exec-mode.exp
5784         * gdb.base/foll-exec.exp
5785         * gdb.base/fork-running-state.exp
5786         * gdb.base/frame-args.exp
5787         * gdb.base/fullpath-expand.exp
5788         * gdb.base/func-ptr.exp
5789         * gdb.base/gcore-relro-pie.exp
5790         * gdb.base/gdb1090.exp
5791         * gdb.base/gdb1555.exp
5792         * gdb.base/global-var-nested-by-dso.exp
5793         * gdb.base/gnu-ifunc.exp
5794         * gdb.base/hbreak-in-shr-unsupported.exp
5795         * gdb.base/hbreak-unmapped.exp
5796         * gdb.base/hook-stop.exp
5797         * gdb.base/infcall-input.exp
5798         * gdb.base/info-fun.exp
5799         * gdb.base/info-shared.exp
5800         * gdb.base/interrupt-noterm.exp
5801         * gdb.base/jit-so.exp
5802         * gdb.base/jit.exp
5803         * gdb.base/line-symtabs.exp
5804         * gdb.base/list.exp
5805         * gdb.base/longjmp.exp
5806         * gdb.base/macscp.exp
5807         * gdb.base/max-value-size.exp
5808         * gdb.base/nodebug.exp
5809         * gdb.base/nofield.exp
5810         * gdb.base/overlays.exp
5811         * gdb.base/paginate-after-ctrl-c-running.exp
5812         * gdb.base/paginate-bg-execution.exp
5813         * gdb.base/paginate-inferior-exit.exp
5814         * gdb.base/pending.exp
5815         * gdb.base/pr11022.exp
5816         * gdb.base/printcmds.exp
5817         * gdb.base/ptr-typedef.exp
5818         * gdb.base/ptype.exp
5819         * gdb.base/randomize.exp
5820         * gdb.base/range-stepping.exp
5821         * gdb.base/realname-expand.exp
5822         * gdb.base/relativedebug.exp
5823         * gdb.base/remote.exp
5824         * gdb.base/savedregs.exp
5825         * gdb.base/sepdebug.exp
5826         * gdb.base/set-noassign.exp
5827         * gdb.base/shlib-call.exp
5828         * gdb.base/shreloc.exp
5829         * gdb.base/sigaltstack.exp
5830         * gdb.base/sigbpt.exp
5831         * gdb.base/siginfo-addr.exp
5832         * gdb.base/siginfo-obj.exp
5833         * gdb.base/siginfo-thread.exp
5834         * gdb.base/signest.exp
5835         * gdb.base/signull.exp
5836         * gdb.base/sigrepeat.exp
5837         * gdb.base/skip.exp
5838         * gdb.base/so-impl-ld.exp
5839         * gdb.base/solib-corrupted.exp
5840         * gdb.base/solib-disc.exp
5841         * gdb.base/solib-display.exp
5842         * gdb.base/solib-overlap.exp
5843         * gdb.base/solib-search.exp
5844         * gdb.base/solib-symbol.exp
5845         * gdb.base/source-execution.exp
5846         * gdb.base/sss-bp-on-user-bp-2.exp
5847         * gdb.base/sss-bp-on-user-bp.exp
5848         * gdb.base/stack-checking.exp
5849         * gdb.base/stale-infcall.exp
5850         * gdb.base/step-break.exp
5851         * gdb.base/step-line.exp
5852         * gdb.base/step-over-exit.exp
5853         * gdb.base/step-test.exp
5854         * gdb.base/structs.exp
5855         * gdb.base/sym-file.exp
5856         * gdb.base/symtab-search-order.exp
5857         * gdb.base/term.exp
5858         * gdb.base/type-opaque.exp
5859         * gdb.base/unload.exp
5860         * gdb.base/until-nodebug.exp
5861         * gdb.base/until.exp
5862         * gdb.base/unwindonsignal.exp
5863         * gdb.base/watch-cond.exp
5864         * gdb.base/watch-non-mem.exp
5865         * gdb.base/watch_thread_num.exp
5866         * gdb.base/watchpoint-reuse-slot.exp
5867         * gdb.base/watchpoint-solib.exp
5868         * gdb.base/watchpoint.exp
5869         * gdb.btrace/dlopen.exp
5870         * gdb.cell/arch.exp
5871         * gdb.cell/break.exp
5872         * gdb.cell/bt.exp
5873         * gdb.cell/core.exp
5874         * gdb.cell/data.exp
5875         * gdb.cell/dwarfaddr.exp
5876         * gdb.cell/ea-cache.exp
5877         * gdb.cell/ea-standalone.exp
5878         * gdb.cell/ea-test.exp
5879         * gdb.cell/f-regs.exp
5880         * gdb.cell/fork.exp
5881         * gdb.cell/gcore.exp
5882         * gdb.cell/mem-access.exp
5883         * gdb.cell/ptype.exp
5884         * gdb.cell/registers.exp
5885         * gdb.cell/sizeof.exp
5886         * gdb.cell/solib-symbol.exp
5887         * gdb.cell/solib.exp
5888         * gdb.compile/compile-tls.exp
5889         * gdb.cp/exception.exp
5890         * gdb.cp/gdb2495.exp
5891         * gdb.cp/local.exp
5892         * gdb.cp/mb-inline.exp
5893         * gdb.cp/mb-templates.exp
5894         * gdb.cp/pr10687.exp
5895         * gdb.cp/pr9167.exp
5896         * gdb.cp/scope-err.exp
5897         * gdb.cp/templates.exp
5898         * gdb.cp/virtfunc.exp
5899         * gdb.dwarf2/dw2-dir-file-name.exp
5900         * gdb.dwarf2/dw2-single-line-discriminators.exp
5901         * gdb.fortran/complex.exp
5902         * gdb.fortran/library-module.exp
5903         * gdb.guile/guile.exp
5904         * gdb.guile/scm-cmd.exp
5905         * gdb.guile/scm-frame-inline.exp
5906         * gdb.guile/scm-objfile.exp
5907         * gdb.guile/scm-pretty-print.exp
5908         * gdb.guile/scm-symbol.exp
5909         * gdb.guile/scm-type.exp
5910         * gdb.guile/scm-value.exp
5911         * gdb.linespec/keywords.exp
5912         * gdb.linespec/ls-errs.exp
5913         * gdb.linespec/macro-relative.exp
5914         * gdb.linespec/thread.exp
5915         * gdb.mi/mi-breakpoint-changed.exp
5916         * gdb.mi/mi-dprintf-pending.exp
5917         * gdb.mi/mi-fullname-deleted.exp
5918         * gdb.mi/mi-logging.exp
5919         * gdb.mi/mi-pending.exp
5920         * gdb.mi/mi-solib.exp
5921         * gdb.mi/new-ui-mi-sync.exp
5922         * gdb.mi/user-selected-context-sync.exp
5923         * gdb.multi/dummy-frame-restore.exp
5924         * gdb.multi/multi-arch-exec.exp
5925         * gdb.multi/remove-inferiors.exp
5926         * gdb.multi/watchpoint-multi-exit.exp
5927         * gdb.opt/solib-intra-step.exp
5928         * gdb.perf/backtrace.exp
5929         * gdb.perf/single-step.exp
5930         * gdb.perf/skip-command.exp
5931         * gdb.perf/skip-prologue.exp
5932         * gdb.perf/solib.exp
5933         * gdb.python/lib-types.exp
5934         * gdb.python/py-as-string.exp
5935         * gdb.python/py-bad-printers.exp
5936         * gdb.python/py-block.exp
5937         * gdb.python/py-breakpoint.exp
5938         * gdb.python/py-cmd.exp
5939         * gdb.python/py-events.exp
5940         * gdb.python/py-evthreads.exp
5941         * gdb.python/py-finish-breakpoint.exp
5942         * gdb.python/py-finish-breakpoint2.exp
5943         * gdb.python/py-frame-inline.exp
5944         * gdb.python/py-frame.exp
5945         * gdb.python/py-inferior.exp
5946         * gdb.python/py-infthread.exp
5947         * gdb.python/py-mi.exp
5948         * gdb.python/py-objfile.exp
5949         * gdb.python/py-pp-maint.exp
5950         * gdb.python/py-pp-registration.exp
5951         * gdb.python/py-prettyprint.exp
5952         * gdb.python/py-recurse-unwind.exp
5953         * gdb.python/py-shared.exp
5954         * gdb.python/py-symbol.exp
5955         * gdb.python/py-symtab.exp
5956         * gdb.python/py-template.exp
5957         * gdb.python/py-type.exp
5958         * gdb.python/py-unwind-maint.exp
5959         * gdb.python/py-unwind.exp
5960         * gdb.python/py-value.exp
5961         * gdb.python/python.exp
5962         * gdb.reverse/finish-reverse-bkpt.exp
5963         * gdb.reverse/insn-reverse.exp
5964         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5965         * gdb.reverse/solib-precsave.exp
5966         * gdb.reverse/solib-reverse.exp
5967         * gdb.stabs/gdb11479.exp
5968         * gdb.stabs/weird.exp
5969         * gdb.threads/fork-child-threads.exp
5970         * gdb.threads/fork-plus-threads.exp
5971         * gdb.threads/fork-thread-pending.exp
5972         * gdb.threads/forking-threads-plus-breakpoint.exp
5973         * gdb.threads/hand-call-in-threads.exp
5974         * gdb.threads/interrupted-hand-call.exp
5975         * gdb.threads/linux-dp.exp
5976         * gdb.threads/local-watch-wrong-thread.exp
5977         * gdb.threads/next-while-other-thread-longjmps.exp
5978         * gdb.threads/non-ldr-exit.exp
5979         * gdb.threads/pending-step.exp
5980         * gdb.threads/print-threads.exp
5981         * gdb.threads/process-dies-while-detaching.exp
5982         * gdb.threads/process-dies-while-handling-bp.exp
5983         * gdb.threads/pthreads.exp
5984         * gdb.threads/queue-signal.exp
5985         * gdb.threads/reconnect-signal.exp
5986         * gdb.threads/signal-command-handle-nopass.exp
5987         * gdb.threads/signal-command-multiple-signals-pending.exp
5988         * gdb.threads/signal-delivered-right-thread.exp
5989         * gdb.threads/signal-sigtrap.exp
5990         * gdb.threads/sigthread.exp
5991         * gdb.threads/staticthreads.exp
5992         * gdb.threads/stepi-random-signal.exp
5993         * gdb.threads/thread-unwindonsignal.exp
5994         * gdb.threads/thread_check.exp
5995         * gdb.threads/thread_events.exp
5996         * gdb.threads/tid-reuse.exp
5997         * gdb.threads/tls-nodebug.exp
5998         * gdb.threads/tls-shared.exp
5999         * gdb.threads/tls-so_extern.exp
6000         * gdb.threads/tls.exp
6001         * gdb.threads/wp-replication.exp
6002         * gdb.trace/actions-changed.exp
6003         * gdb.trace/actions.exp
6004         * gdb.trace/backtrace.exp
6005         * gdb.trace/change-loc.exp
6006         * gdb.trace/collection.exp
6007         * gdb.trace/deltrace.exp
6008         * gdb.trace/disconnected-tracing.exp
6009         * gdb.trace/entry-values.exp
6010         * gdb.trace/ftrace-lock.exp
6011         * gdb.trace/ftrace.exp
6012         * gdb.trace/infotrace.exp
6013         * gdb.trace/mi-trace-frame-collected.exp
6014         * gdb.trace/mi-trace-unavailable.exp
6015         * gdb.trace/mi-traceframe-changed.exp
6016         * gdb.trace/mi-tracepoint-changed.exp
6017         * gdb.trace/mi-tsv-changed.exp
6018         * gdb.trace/no-attach-trace.exp
6019         * gdb.trace/packetlen.exp
6020         * gdb.trace/passc-dyn.exp
6021         * gdb.trace/passcount.exp
6022         * gdb.trace/pending.exp
6023         * gdb.trace/pr16508.exp
6024         * gdb.trace/qtro.exp
6025         * gdb.trace/range-stepping.exp
6026         * gdb.trace/read-memory.exp
6027         * gdb.trace/report.exp
6028         * gdb.trace/save-trace.exp
6029         * gdb.trace/signal.exp
6030         * gdb.trace/stap-trace.exp
6031         * gdb.trace/status-stop.exp
6032         * gdb.trace/strace.exp
6033         * gdb.trace/tfile.exp
6034         * gdb.trace/tfind.exp
6035         * gdb.trace/trace-break.exp
6036         * gdb.trace/trace-condition.exp
6037         * gdb.trace/trace-enable-disable.exp
6038         * gdb.trace/trace-mt.exp
6039         * gdb.trace/tracecmd.exp
6040         * gdb.trace/tracefile-pseudo-reg.exp
6041         * gdb.trace/tspeed.exp
6042         * gdb.trace/tstatus.exp
6043         * gdb.trace/tsv.exp
6044         * gdb.trace/unavailable.exp
6045         * gdb.trace/while-dyn.exp
6046         * gdb.trace/while-stepping.exp
6047         * lib/gdb-guile.exp
6048         * lib/gdb.exp
6049         * lib/mi-support.exp
6050         * lib/pascal.exp
6051         * lib/perftest.exp
6052         * lib/prelink-support.exp
6053         * lib/selftest-support.exp
6054
6055 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6056
6057         * Makefile.in: Include disable-implicit-rules.mk.
6058
6059 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6060
6061         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6062         non-byte-aligned bit fields.
6063
6064 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6065
6066         PR gdb/12616
6067         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6068         respects the DW_AT_data_bit_offset attribute.
6069
6070 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6071
6072         * gdb.base/default.exp: Fix output of "set language".
6073
6074 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6075
6076         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6077         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6078         make.
6079         * configure.ac: Remove checks for the make program.
6080         * configure: Re-generate.
6081
6082 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6083
6084         * gdb.python/py-recurse-unwind.c (main): Add loop.
6085         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6086         to read_register() and gdb.parse_and_eval().  Make each code
6087         call a separate case that can be individually tested.
6088         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6089         proc. Call cont_and_backtrace for each of the code paths that
6090         we want to test in the unwinder.
6091
6092 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6093
6094         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6095         the definition of struct S.
6096
6097 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6098
6099         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6100
6101 2016-11-09  Pedro Alves  <palves@redhat.com>
6102
6103         * gdb.base/commands.exp (runto_or_return): New procedure.
6104         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6105         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6106         (progvar_simple_while_test, progvar_complex_if_while_test)
6107         (if_while_breakpoint_command_test)
6108         (infrun_breakpoint_command_test, breakpoint_command_test)
6109         (user_defined_command_test, watchpoint_command_test)
6110         (test_command_prompt_position, redefine_hook_test)
6111         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6112         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6113         multi_line_input and multi_line.  Remove gdb_expect and
6114         gdb_stop_suppressing_tests uses.
6115         * lib/gdb.exp (valnum_re): New global.
6116         (multi_line_input): New procedure.
6117
6118 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6119
6120         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6121         Remove.
6122         (test_setup): Define with proc_with_prefix.
6123         (test_cli_inferior): Likewise.
6124         (test_cli_thread): Likewise.
6125         (test_cli_frame): Likewise.
6126         (test_cli_select_frame): Likewise.
6127         (test_cli_up_down): Likewise.
6128         (test_mi_thread_select): Likewise.
6129         (test_mi_stack_select_frame): Likewise.
6130         (test_cli_in_mi_inferior): Likewise.
6131         (test_cli_in_mi_thread): Likewise.
6132         (test_cli_in_mi_frame): Likewise.
6133         (top level): Do not use with_test_prefix_procname.
6134
6135 2016-11-09  Pedro Alves  <palves@redhat.com>
6136
6137         * gdb.base/commands.exp (gdbvar_simple_if_test)
6138         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6139         (progvar_simple_if_test, progvar_simple_while_test)
6140         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6141         (infrun_breakpoint_command_test, breakpoint_command_test)
6142         (user_defined_command_test, watchpoint_command_test)
6143         (test_command_prompt_position, deprecated_command_test)
6144         (bp_deleted_in_command, temporary_breakpoint_commands)
6145         (stray_arg0_test, source_file_with_indented_comment)
6146         (recursive_source_test, if_commands_test)
6147         (error_clears_commands_left, redefine_hook_test)
6148         (redefine_backtrace_test): Use proc_with_prefix.
6149         * lib/gdb.exp (proc_with_prefix): New proc.
6150
6151 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6152
6153         * gdb.base/tui-layout.c: New file.
6154         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6155         disassembly window contains very long lines.
6156
6157 2016-11-08  Tom Tromey  <tom@tromey.com>
6158
6159         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6160         depend on Python 2.
6161
6162 2016-11-08  Tom Tromey  <tom@tromey.com>
6163
6164         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6165         New method.
6166
6167 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6168
6169         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6170
6171 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6172
6173         * gdb.rust/simple.rs: Add test for univariant enums without
6174         discriminants and for encoded struct-like enums.
6175
6176 2016-10-28  Pedro Alves  <palves@redhat.com>
6177
6178         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6179         gdb_test_multiple, tighten regexps and match symtabs and line
6180         tables incrementally.
6181
6182 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6183
6184         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6185         general.
6186
6187 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6188
6189         * gdb.base/exec-invalid-sysroot.exp: New file.
6190
6191 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6192
6193         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6194
6195 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6196
6197         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6198
6199 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6200
6201         * gdb.base/killed-outside.exp: Remove $options from a call to
6202         `prepare_for_testing'.
6203
6204 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6205
6206         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6207         Change test message.
6208
6209 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6210
6211         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6212         Update comment.
6213
6214 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6215
6216         * gdb.trace/mi-trace-save.exp: New file.
6217
6218 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6219
6220         * gdb.base/code_elim.exp (get_var_address): Remove.
6221         * gdb.base/relocate.exp: Likewise.
6222         * gdb.base/shreloc.exp: Likewise.
6223         * lib/gdb.exp (get_var_address): New.
6224
6225 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6226
6227         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6228         floating point tests if $skip_float_test is false.
6229
6230 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6231
6232         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6233         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6234         argc values.
6235         Add 1 to argc so we guarantee distinct initial/modified argc values.
6236
6237 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6238
6239         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6240
6241 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6242
6243         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6244         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6245         * gdb.arch/vsx-regs.exp: Likewise.
6246
6247 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6248
6249         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6250
6251 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6252
6253         * gdb.python/python.exp: Test decode_line("*0").
6254
6255 2016-10-06  Doug Evans  <dje@google.com>
6256
6257         * gdb.python/py-value.exp (test_value_creation): Add test for large
6258         unsigned 64-bit value.
6259
6260 2016-10-06  Tom Tromey  <tom@tromey.com>
6261
6262         * gdb.compile/compile.exp: Change java tests to rust.
6263         * gdb.base/setshow.exp: Change java tests to rust.
6264         * gdb.base/default.exp: Remove java from language list.
6265         * README (Examples): Update language example.
6266         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6267         test.
6268         * lib/gdb.exp (skip_java_tests): Remove.
6269         * lib/java.exp: Remove.
6270         * gdb.java: Remove.
6271
6272 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6273
6274         * gdb.arch/mips-fcr.exp: New test.
6275         * gdb.arch/mips-fcr.c: Source for the new test.
6276
6277 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6278
6279         * gdb.base/solib-disc.exp: Use `standard_output_file'
6280         throughout.
6281
6282 2016-10-06  Pedro Alves  <palves@redhat.com>
6283
6284         * gdb.base/jit-simple-dl.c: New file.
6285         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6286         * gdb.base/jit-simple.c: ... this.
6287         * gdb.base/jit-simple.exp (jit_run): Delete.
6288         (build_jit): New proc.
6289         (jit_test_reread): Recompile either the main program or the shared
6290         library, depending on what is being tested.  Skip changing address
6291         if caller wants to.  Compare before/after addresses.  If testing
6292         standalone, explicitly load the binary.  Test "maint info
6293         breakpoints".
6294         (top level): Add "standalone vs shared lib" and "change address"
6295         vs "same address" axes.
6296
6297 2016-10-06  Pedro Alves  <palves@redhat.com>
6298
6299         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6300         call.
6301         (jit_run): Delete.
6302         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6303         explicitly.  Compare the before/after addresses of the JIT
6304         descriptor.
6305
6306 2016-08-15  Doug Evans  <dje@google.com>
6307
6308         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6309         for single bitfields is bool.
6310         * gdb.xml/tdesc-regs.exp: Ditto.
6311
6312 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6313
6314         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6315
6316 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6317
6318         * lib/gdb.exp (support_complex_tests): Return zero if
6319         gdb_skip_float_test return true.
6320
6321 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6322             Simon Marchi  <simon.marchi@ericsson.com>
6323
6324         PR gdb/20487
6325         * gdb.mi/user-selected-context-sync.exp: New file.
6326         * gdb.mi/user-selected-context-sync.c: New file.
6327
6328 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6329             Simon Marchi  <simon.marchi@ericsson.com>
6330
6331         PR gdb/20487
6332         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6333         =thread-select-event check.
6334
6335 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6336
6337         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6338         the compulsory L operand changes.
6339         * gdb.arch/powerpc-power.s: Likewise.
6340
6341 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6342
6343         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6344         * gdb.base/jit-attach-pie.c: New file.
6345         * gdb.base/jit-attach-pie.exp: New file.
6346
6347 2016-09-28  Pedro Alves  <palves@redhat.com>
6348
6349         * gdb.base/infcall-input.c: New file.
6350         * gdb.base/infcall-input.exp: New file.
6351
6352 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6353
6354         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6355         (gdb_exit): Rename it to ...
6356         (gdbserver_gdb_exit): ...  Close GDBserver.
6357         (gdb_exit): New proc, call gdbserver_gdb_exit.
6358         (mi_gdb_exit): Likewise.
6359
6360 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6361
6362         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6363         path.
6364         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6365         Remove duplication.
6366
6367 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6368
6369         * lib/gdbserver-support.exp: Check the existence of
6370         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6371
6372 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6373
6374         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6375
6376 2016-09-21  Tom Tromey  <tom@tromey.com>
6377
6378         PR gdb/20604:
6379         * gdb.base/quit.exp: New file.
6380
6381 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6382
6383         * .gitignore: New file.
6384
6385 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6386
6387         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6388         throughout.
6389
6390 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6391
6392         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6393
6394 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6395
6396         * gdb.cp/casts.cc (decltype): Move it ...
6397         (main): ... with its call to ...
6398         * gdb.cp/casts03.cc: ... a new file.
6399         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6400
6401 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6402
6403         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6404
6405 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6406
6407         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6408         and sync up the test with tests in gas/testsuite/gas/ppc.
6409         * gdb.arch/powerpc-power.exp: Likewise.
6410
6411 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6412
6413         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6414
6415 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6416             Jan Kratochvil  <jan.kratochvil@redhat.com>
6417
6418         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6419         make m1's definition to be different from m2's.  Use 'dummy' as an
6420         argument for probe 'two'.
6421
6422 2016-09-10  Jon Beniston  <jon@beniston.com>
6423
6424         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6425         for sim target.
6426
6427 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6428
6429         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6430         variable declaration.
6431         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6432         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6433         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6434         received HWCAP as its argument.
6435
6436 2016-09-06  Pedro Alves  <palves@redhat.com>
6437
6438         * gdb.base/new-ui-pending-input.c: New file.
6439         * gdb.base/new-ui-pending-input.exp: New file.
6440         * gdb.exp (clear_gdb_spawn_id): New procedure.
6441         (with_spawn_id): Check whether gdb_spawn_id exists before
6442         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6443         on exit.
6444
6445 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6446
6447         * gdb.base/float128.c: New file.
6448         * gdb.base/float128.exp: Likewise.
6449         * gdb.base/floatn.c: Likewise.
6450         * gdb.base/floatn.exp: Likewise.
6451
6452 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6453
6454         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6455
6456 2016-09-05  Pedro Alves  <palves@redhat.com>
6457
6458         PR backtrace/19927
6459         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6460         unwinders are immediately called as side effect of "source" or
6461         "disable unwinder" commands.
6462         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6463
6464 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6465
6466         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6467         is true and $type is "float" or "double".
6468
6469 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6470
6471         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6472         true.
6473         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6474         * gdb.base/call-rt-st.exp: Likewise.
6475         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6476         return value instead of gdb,skip_float_test.
6477         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6478         (do_function_calls): Use its return value instead of
6479         gdb,skip_float_test.
6480         * gdb.base/finish.exp: Likewise.
6481         * gdb.base/funcargs.exp: Likewise.
6482         * gdb.base/return.exp: Likewise.
6483         * gdb.base/return2.exp: Likewise.
6484         * gdb.base/varargs.exp: Likewise.
6485         * lib/gdb.exp (gdb_skip_float_test): Change it to
6486         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6487
6488 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6489
6490         * gdb.multi/tids.exp: Test "thread apply all".
6491
6492 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6493
6494         * gdb.base/default.exp (tty): Remove.
6495
6496 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6497
6498         * gdb.python/py-recurse-unwind.c: New file.
6499         * gdb.python/py-recurse-unwind.py: New file.
6500         * gdb.python/py-recurse-unwind.exp: New file.
6501
6502 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6503
6504         * gdb.base/set-inferior-tty.exp: New file.
6505         * gdb.base/set-inferior-tty.c: New file.
6506
6507 2016-08-23  Pedro Alves  <palves@redhat.com>
6508
6509         PR gdb/20494
6510         * gdb.base/new-ui-echo.c: New file.
6511         * gdb.base/new-ui-echo.exp: New file.
6512
6513 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6514
6515         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6516         gdbserver_spawn.
6517         * gdb.server/connect-without-multi-process.exp (do_test):
6518         Likewise.
6519
6520 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6521
6522         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6523         standalone_txt.  Delete gdb_txt and standalone_txt on host
6524         and target.  Spawn the binary on target.  Copy files from
6525         target to host.
6526
6527 2016-08-22  Pedro Alves  <palves@redhat.com>
6528
6529         PR gdb/20505
6530         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6531         with_test_prefix.  Factor out bits to ...
6532         (test_no_vdso): ... this new procedure.
6533
6534 2016-08-19  Carl Love  <cel@us.ibm.com>
6535
6536         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6537         maintaining separate logic for constructing the output path.
6538         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6539         * gdb.arch/ppc-dfp.exp: Likewise.
6540         * gdb.arch/ppc-fp.exp: Likewise.
6541         * gdb.arch/vsx-regs.exp: Likewise.
6542         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6543         binprefix for generating the additional binary files.
6544
6545 2016-08-19  Pedro Alves  <palves@redhat.com>
6546
6547         * gdb.trace/mi-trace-frame-collected.exp
6548         (test_trace_frame_collected): On x32, expect two registers.
6549
6550 2016-08-18  Carl Love  <cel@us.ibm.com>
6551
6552         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6553         and sync up the test with tests in gas/testsuite/gas/ppc.
6554         * gdb.arch/powerpc-power.exp: Likewise.
6555
6556 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6557
6558         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6559         expected error message.
6560
6561 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6562
6563         * gdb.multi/remove-inferiors.exp: New file.
6564         * gdb.multi/remove-inferiors.c: New file.
6565
6566 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6567
6568         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6569         argument list.
6570
6571 2016-08-10  Pedro Alves  <palves@redhat.com>
6572
6573         PR gdb/19187
6574         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6575         setup_kfails.
6576
6577 2016-08-09  Pedro Alves  <palves@redhat.com>
6578             Simon Marchi  <simon.marchi@ericsson.com>
6579
6580         PR gdb/20418
6581         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6582         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6583
6584 2016-08-09  Pedro Alves  <palves@redhat.com>
6585
6586         PR mi/20431
6587         * gdb.mi/mi-cmd-error.exp: New file.
6588
6589 2016-08-09  Pedro Alves  <palves@redhat.com>
6590
6591         PR gdb/18653
6592         * gdb.base/signals-state-child.c: New file.
6593         * gdb.base/signals-state-child.exp: New file.
6594         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6595
6596 2016-08-09  Pedro Alves  <palves@redhat.com>
6597
6598         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6599
6600 2016-08-03  Tom Tromey  <tom@tromey.com>
6601
6602         PR python/18565:
6603         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6604
6605 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6606
6607         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6608         variable mode to "multi-process" if $multi_process is 1, otherwise
6609         set it to "single-process".
6610
6611 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6612
6613         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6614         * gdb.cp/cpexprs.exp: Likewise.
6615         * gdb.cp/m-static.exp: Likewise.
6616
6617 2016-07-26  Tom Tromey  <tom@tromey.com>
6618
6619         PR python/20190:
6620         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6621         test.
6622
6623 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6624
6625         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6626         selecting assembly source files.
6627         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6628         assembly source files.
6629         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6630         assembly source files.
6631         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6632         selecting assembly source files.
6633
6634 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6635
6636         * gdb.base/new-ui.exp (do_test_invalid_args): New
6637         procedure.
6638
6639 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6640
6641         * gdb.btrace/reconnect.c: New file.
6642         * gdb.btrace/reconnect.exp: New file.
6643
6644 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6645
6646         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6647         to test_catch_syscall_group.
6648         (test_catch_syscall_group): New.
6649
6650 2016-07-21  Tom Tromey  <tom@tromey.com>
6651
6652         * gdb.rust/simple.rs (main): Use empty struct expression.
6653         * gdb.rust/simple.exp: Add tests for empty struct expression.
6654
6655 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6656
6657         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6658         if gdb_skip_xml_test is true on some targets.
6659
6660 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6661
6662         * gdb.server/solib-list.exp: Unset last_loaded_file.
6663
6664 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6665
6666         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6667         "step into captured_main (args)".
6668
6669 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6670
6671         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6672
6673 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6674
6675         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6676
6677 2016-07-19  Pedro Alves  <palves@redhat.com>
6678
6679         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6680         * gdb.opt/inline-bt.exp: Likewise.
6681         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6682         additional_flags=-Winline.
6683         * gdb.opt/inline-locals.exp: Likewise.
6684         * gdb.opt/inline-markers.c (ATTR): Define.
6685         (inlined_fn): Use it.
6686
6687 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6688
6689         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6690         (test_with_self): Remove some code.  Remove argument executable.
6691         (top-level): Use do_self_tests.
6692
6693 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6694             Don Breazeal <donb@codesourcery.com>
6695
6696         * gdb.base/maint.exp: Escape paths used in regular expressions.
6697         * gdb.stabs/weird.exp: Likewise.
6698
6699 2016-07-13  Tom Tromey  <tom@tromey.com>
6700
6701         PR python/15620, PR python/18620:
6702         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6703         (test_bkpt_events): New procs.
6704
6705 2016-07-13  Tom Tromey  <tom@tromey.com>
6706
6707         PR python/17698:
6708         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6709         test.
6710         (test_watchpoints): Likewise.
6711         (test_bkpt_pending): New proc.
6712
6713 2016-07-13  Tom Tromey  <tom@tromey.com>
6714
6715         PR cli/18053:
6716         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6717         completion test.
6718
6719 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6720
6721         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6722         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6723         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6724         f_label.
6725         (g): Rename g_end_lbl to g_label.
6726         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6727         low_pc and high_pc.
6728         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6729
6730 2016-07-12  Tom Tromey  <tom@tromey.com>
6731
6732         PR python/19293:
6733         * gdb.python/py-unwind-maint.exp: Update tests.
6734
6735 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6736
6737         * lib/selftest-support.exp (selftest_setup): Match the output
6738         when captured_main is inlined.
6739
6740 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6741
6742         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6743         New variables.
6744         (print this%a, print this%b, print this): New tests.
6745         * gdb.fortran/derived-types.f90 (this): New object and
6746         initialization.
6747
6748 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6749
6750         * gdb.ada/arraydim.exp: Remove extra directory level in build
6751         directory.
6752
6753 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6754
6755         * lib/ada.exp: Remove extra directory level in build directory.
6756         * gdb.ada/cond_lang.exp: Likewise.
6757         * gdb.ada/exec_changed.exp: Likewise.
6758         * gdb.ada/lang_switch.exp: Likewise.
6759
6760 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6761
6762         * simple.rs: Add test for raw pointer subscripting.
6763         * simple.exp: Add test expectations.
6764
6765 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6766
6767         * gdb.mi/mi-reverse.exp: Match =record-started output.
6768
6769 2016-07-01  Pedro Alves  <palves@redhat.com>
6770
6771         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6772         procedure.
6773         (jit_reader_test): Test the jit reader's unwinder.
6774         * gdb.base/jithost.c (jit_function_00_code): New global.
6775         (main): Use memcpy to fill in the mmapped code, instead of poking
6776         bytes manually here.
6777         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6778         value.
6779         (read_debug_info): Save the function's range.
6780         (read_sp): New function.
6781         (unwind_frame): Use it.  Also unwind RBP.
6782         (get_frame_id): Use read_sp.
6783         (gdb_init_reader): Use calloc instead of malloc.
6784         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6785         parameter.  Use gdb_test_multiple.
6786
6787 2016-07-01  Pedro Alves  <palves@redhat.com>
6788             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6789
6790         * gdb.threads/process-dies-while-detaching.c: New file.
6791         * gdb.threads/process-dies-while-detaching.exp: New file.
6792
6793 2016-07-01  Pedro Alves  <palves@redhat.com>
6794
6795         * gdb.multi/watchpoint-multi-exit.c: New file.
6796         * gdb.multi/watchpoint-multi-exit.exp: New file.
6797
6798 2016-06-30  Pedro Alves  <palves@redhat.com>
6799
6800         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6801         unset inferior_spawn_id.
6802
6803 2016-06-30  Pedro Alves  <palves@redhat.com>
6804
6805         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6806         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6807
6808 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6809
6810         * gdb.base/return.c: Add copyright header.
6811
6812 2016-06-29  Tom Tromey  <tom@tromey.com>
6813
6814         PR python/20129:
6815         * gdb.python/py-framefilter.exp: Add tests for setting priority
6816         and disabling of non-existent frame filter.
6817
6818 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6819
6820         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6821         0x0f07ff.
6822
6823 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6824
6825         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6826         triplets.  Start gdb, execute catch syscall, and continue.  Check
6827         gdb's output to determine catch syscall is supported.
6828
6829 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6830
6831         * gdb.rust/simple.rs: Add test for returning unit in a function.
6832         * gdb.rust/simple.exp: Add expectation for functions returning
6833         unit.
6834
6835 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6836
6837         * gdb.python/py-breakpoint-create-fail.c,
6838         gdb.python/py-breakpoint-create-fail.exp,
6839         gdb.python/py-breakpoint-create-fail.py: New testcase.
6840
6841 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6842
6843         PR gdb/20239
6844         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6845         * gdb.rust/simple.exp: Add test expectations for new NonZero
6846         tests.
6847
6848 2016-06-24  David Taylor  <dtaylor@emc.com>
6849
6850         * gdb.base/offsets.exp: New file.
6851         * gdb.base/offsets.c: New file.
6852
6853 2016-06-23  Tom Tromey  <tom@tromey.com>
6854
6855         PR gdb/16483:
6856         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6857         before any filters are loaded.
6858
6859 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6860
6861         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6862         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6863         structs.
6864         * gdb.fortran/derived-type-function.exp: New file.
6865         * gdb.fortran/derived-type-function.f90: New file.
6866
6867
6868 2016-06-21  Pedro Alves  <palves@redhat.com>
6869
6870         * gdb.base/new-ui.exp: New file.
6871         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6872         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6873         (with_spawn_id): New procedure.
6874
6875 2016-06-21  Pedro Alves  <palves@redhat.com>
6876
6877         * gdb.mi/mi-exec-run.exp: New file.
6878
6879 2016-06-21  Pedro Alves  <palves@redhat.com>
6880
6881         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6882         breakpoint command's output on the main UI.
6883         (test_break): New procedure, factored out from calls in the top
6884         level.
6885         (top level): Use foreach_with_prefix to test MI as main UI and as
6886         separate UI.
6887
6888 2016-06-21  Pedro Alves  <palves@redhat.com>
6889
6890         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6891         (test_awatch_creation_and_listing)
6892         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6893         Remove 'type' parameter.
6894         (test_watchpoint_all): New parameter mi_mode.  Remove
6895         with_test_prefix.
6896         (top level): Use foreach_with_prefix, and add main/separate UI MI
6897         testing axis.
6898
6899 2016-06-21  Pedro Alves  <palves@redhat.com>
6900
6901         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6902         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6903         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6904         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6905         (gdb_main_spawn_id, mi_spawn_id): Declare and
6906         comment.
6907         (mi_create_inferior_pty): New procedure,
6908         factored out from default_mi_gdb_start.
6909         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6910         procedures.
6911         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6912         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6913         Use mi_create_inferior_pty.
6914         (mi_gdb_start): Use eval to pass down args list.
6915
6916 2016-06-21  Pedro Alves  <palves@redhat.com>
6917
6918         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6919         * gdb.opt/inline-cmds.exp: Add MI tests.
6920
6921 2016-06-21  Pedro Alves  <palves@redhat.com>
6922
6923         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6924
6925 2016-06-21  Pedro Alves  <palves@redhat.com>
6926
6927         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6928         (top level): Use it instead of mi_execute_to.
6929
6930 2016-06-21  Pedro Alves  <palves@redhat.com>
6931
6932         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6933         (cont_handler_str): New.
6934         (signal_stop_handler): Set stop_handler_str instead of printing to
6935         stdout.
6936         (continue_handler): Set cont_handler_str instead of printing to
6937         stdout.
6938         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6939         mi_send_resuming_command.  Print stop_handler_str and
6940         cont_handler_str instead of expecting the python events print
6941         directly.
6942
6943 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6944
6945         * gdb.base/jit-reader.exp: New file.
6946         * gdb.base/jithost.c: New file.
6947         * gdb.base/jithost.h: New file.
6948         * gdb.base/jitreader.c : New file.
6949         * gdb.base/jit-protocol.h: New file.
6950
6951 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6952
6953         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6954         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6955         and detach-on-fork.  Adjust tests.
6956         (top level): Invoke break_cond_on_syscall with combinations of
6957         syscall, follow-fork-mode and detach-on-fork.
6958
6959 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6960
6961         * gdb.base/step-over-exit.c: New.
6962         * gdb.base/step-over-exit.exp: New.
6963
6964 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6965
6966         * gdb.base/float.exp: Add target check for nds32*-*-*.
6967         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6968
6969 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6970
6971         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6972         for unsupported target features.
6973         * gdb.base/call-rt-st.exp: Likewise.
6974         * gdb.base/call-sc.exp: Likewise.
6975         * gdb.base/call-signal-resume.exp: Likewise.
6976         * gdb.base/call-strs.exp: Likewise.
6977         * gdb.base/callexit.exp: Likewise.
6978         * gdb.base/callfuncs.exp: Likewise.
6979         * gdb.base/nodebug.exp: Likewise.
6980         * gdb.base/printcmds.exp: Likewise.
6981         * gdb.base/ptype.exp: Likewise.
6982         * gdb.base/structs.exp: Likewise.
6983         * gdb.base/unwindonsignal.exp: Likewise.
6984         * gdb.cp/gdb2495.exp: Likewise.
6985         * gdb.cp/templates.exp: Likewise.
6986         * gdb.cp/virtfunc.exp: Likewise.
6987         * gdb.threads/hand-call-in-threads.exp: Likewise.
6988         * gdb.threads/interrupted-hand-call.exp: Likewise.
6989         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6990
6991 2016-06-10  Tom Tromey  <tom@tromey.com>
6992
6993         PR rust/20110:
6994         * gdb.rust/expr.exp: Add test for integer constant larger than
6995         i32.
6996
6997 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6998
6999         * gdb.fortran/nested-funcs.exp: New.
7000         * gdb.fortran/nested-funcs.f90: New.
7001
7002 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
7003
7004         * gdb.base/examine-backward.c: New file.
7005         * gdb.base/examine-backward.exp: New file.
7006
7007 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
7008
7009         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7010         matching.
7011
7012 2016-06-02  Tom Tromey  <tom@tromey.com>
7013
7014         PR python/18984:
7015         * gdb.python/py-shared.exp: Add solib_name test.
7016
7017 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
7018
7019         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7020
7021 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
7022
7023         PR c++/19893
7024         * gdb.dwarf2/implref.exp: Rename to...
7025         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
7026         * gdb.dwarf2/implref-array.c: New file.
7027         * gdb.dwarf2/implref-array.exp: Likewise.
7028         * gdb.dwarf2/implref-global.c: Likewise.
7029         * gdb.dwarf2/implref-global.exp: Likewise.
7030         * gdb.dwarf2/implref-struct.c: Likewise.
7031         * gdb.dwarf2/implref-struct.exp: Likewise.
7032
7033 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7034
7035         * gdb.trace/trace-condition.exp: Add 64bit tests.
7036
7037 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7038
7039         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7040         bits types.
7041         (main): Adapt to 8 to 64 bits types.
7042         * gdb.trace/trace-condition.exp: Add new tests.
7043
7044 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7045
7046         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7047
7048 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7049
7050         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7051         Move condition tests...
7052         * gdb.trace/trace-condition.exp: Here.
7053
7054 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7055
7056         * gdb.trace/trace-condition.exp: Add counter-case tests.
7057
7058 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7059
7060         PR c++/15231
7061         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7062         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7063
7064 2016-05-27  Pedro Alves  <palves@redhat.com>
7065
7066         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7067         New procedure.
7068         (top level): Call it, and bail out of DejaGnu is known to be bad.
7069
7070 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7071
7072         * gdb.base/whatis.c: Extend the test case.
7073         * gdb.base/whatis.exp: Add additional tests.
7074
7075 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7076
7077 * gdb.fortran/type.f90: Add pointer variable.
7078 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7079
7080 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7081
7082         * gdb.fortran/vla-type.exp: Fix testcase name.
7083
7084 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7085
7086         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7087
7088 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7089
7090         * gdb.fortran/type.f90: Add nested structures.
7091         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7092         * gdb.fortran/derived-type.exp: Adapt expected output.
7093         * gdb.fortran/vla-type.exp: Adapt expected output.
7094
7095 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7096
7097         * gdb.fortran/whatis_type.exp: Adapt expected output.
7098
7099 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7100
7101         * gdb.fortran/print_type.exp: Fix expected output.
7102         * gdb.fortran/whatis_type.exp: Fix expected output.
7103
7104 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7105
7106         * gdb.fortran/whatis_type.exp: Use multi_line.
7107
7108 2016-05-24  Tom Tromey  <tom@tromey.com>
7109
7110         PR python/17386:
7111         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7112         use value as an index.
7113
7114 2016-05-23  Tom Tromey  <tom@tromey.com>
7115
7116         PR python/17981:
7117         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7118         no-breakpoint case.
7119
7120 2016-05-24  Pedro Alves  <palves@redhat.com>
7121
7122         PR gdb/19828
7123         * gdb.threads/clone-attach-detach.c: New file.
7124         * gdb.threads/clone-attach-detach.exp: New file.
7125
7126 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7127
7128         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7129
7130 2016-05-23  Tom Tromey  <tom@tromey.com>
7131
7132         PR python/19438, PR python/18393:
7133         * gdb.python/py-progspace.exp: Add "dir" test.
7134         * gdb.python/py-objfile.exp: Add "dir" test.
7135
7136 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7137
7138         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7139         * gdb.arch/thumb2-it.exp: Likewise.
7140
7141 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7142
7143         * gdb.mi/mi-threads-interrupt.c: New file.
7144         * gdb.mi/mi-threads-interrupt.exp: New file.
7145
7146 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7147
7148         PR gdb/18077
7149         * gdb.mi/mi-async-run.exp: New file.
7150         * gdb.mi/mi-async-run.c: New file.
7151
7152 2016-05-17  Tom Tromey  <tom@tromey.com>
7153             Manish Goregaokar <manishsmail@gmail.com>
7154
7155         * lib/rust-support.exp: New file.
7156         * lib/gdb.exp (skip_rust_tests): New proc.
7157         (build_executable_from_specs): Handle rust.
7158         * lib/future.exp (gdb_find_rustc): New proc.
7159         (gdb_default_target_compile): Handle rust.
7160         * gdb.rust/expr.exp: New file.
7161         * gdb.rust/generics.exp: New file.
7162         * gdb.rust/generics.rs: New file.
7163         * gdb.rust/methods.exp: New file.
7164         * gdb.rust/methods.rs: New file.
7165         * gdb.rust/modules.exp: New file.
7166         * gdb.rust/modules.rs: New file.
7167         * gdb.rust/simple.exp: New file.
7168         * gdb.rust/simple.rs: New file.
7169
7170 2016-05-17  Tom Tromey  <tom@tromey.com>
7171
7172         * gdb.base/default.exp (set language): Add rust.
7173
7174 2016-05-17  Tom Tromey  <tom@tromey.com>
7175
7176         * gdb.gdb/unittest.exp: New file.
7177
7178 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7179
7180         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7181         shell_prompt.  Update shell_prompt_re.
7182
7183 2016-05-12  Doug Evans  <dje@google.com>
7184
7185         PR symtab/19999
7186         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7187         $options when building executable.
7188         * gdb.dwarf2/fission-loclists-pie.S: New file.
7189         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7190
7191 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7192
7193         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7194         of [is_remote target],
7195
7196 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7197
7198         * lib/gdb.exp (use_gdb_stub): New procedure.
7199
7200 2016-05-03  Yunlian Jiang <yunlian@google.com>
7201             Doug Evans  <dje@google.com>
7202
7203         PR symtab/19914
7204         * gdb.dwarf2/dwp-sepdebug.c: New file.
7205         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7206
7207 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7208
7209         * gdb.base/detach.exp: Remove is_remote check.
7210
7211 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7212
7213         * gdb.base/annota-input-while-running.exp: Don't check for
7214         [is_remote target].  Enable annotations after running to main.
7215         Remove unused "set test..." line.
7216
7217 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7218
7219         * gdb.trace/trace-enable-disable.exp: New file.
7220         * gdb.trace/trace-enable-disable.c: New file.
7221
7222 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7223
7224         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7225         use it in info sharedlibrary test.
7226         * gdb.trace/ftrace-lock.exp: Likewise.
7227         * gdb.trace/ftrace.exp: Likewise.
7228         * gdb.trace/range-stepping.exp: Likewise.
7229         * gdb.trace/trace-break.exp: Likewise.
7230         * gdb.trace/trace-condition.exp: Likewise.
7231         * gdb.trace/trace-mt.exp: Likewise.
7232
7233 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7234
7235         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7236         (gdb_load_shlib): ... this.
7237         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7238         gdb_load_shlib.
7239         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7240         * gdb.base/ctxobj.exp: Likewise.
7241         * gdb.base/dprintf-pending.exp: Likewise.
7242         * gdb.base/dso2dso.exp: Likewise.
7243         * gdb.base/fixsection.exp: Likewise.
7244         * gdb.base/gcore-relro.exp: Likewise.
7245         * gdb.base/gdb1555.exp: Likewise.
7246         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7247         * gdb.base/gnu-ifunc.exp: Likewise.
7248         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7249         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7250         * gdb.base/pending.exp: Likewise.
7251         * gdb.base/print-file-var.exp: Likewise.
7252         * gdb.base/print-symbol-loading.exp: Likewise.
7253         * gdb.base/shlib-call.exp: Likewise.
7254         * gdb.base/shreloc.exp: Likewise.
7255         * gdb.base/so-impl-ld.exp: Likewise.
7256         * gdb.base/solib-disc.exp: Likewise.
7257         * gdb.base/solib-nodir.exp: Likewise.
7258         * gdb.base/solib-overlap.exp: Likewise.
7259         * gdb.base/solib-symbol.exp: Likewise.
7260         * gdb.base/solib-weak.exp (do_test): Likewise.
7261         * gdb.base/sym-file.exp: Likewise.
7262         * gdb.base/symtab-search-order.exp: Likewise.
7263         * gdb.base/type-opaque.exp: Likewise.
7264         * gdb.base/unload.exp: Likewise.
7265         * gdb.base/watchpoint-solib.exp: Likewise.
7266         * gdb.compile/compile.exp: Likewise.
7267         * gdb.cp/gdb2384.exp: Likewise.
7268         * gdb.cp/infcall-dlopen.exp: Likewise.
7269         * gdb.cp/re-set-overloaded.exp: Likewise.
7270         * gdb.fortran/library-module.exp: Likewise.
7271         * gdb.opt/solib-intra-step.exp: Likewise.
7272         * gdb.python/py-finish-breakpoint.exp: Likewise.
7273         * gdb.python/py-shared.exp: Likewise.
7274         * gdb.reverse/solib-precsave.exp: Likewise.
7275         * gdb.reverse/solib-reverse.exp: Likewise.
7276         * gdb.server/solib-list.exp: Likewise.
7277         * gdb.threads/dlopen-libpthread.exp: Likewise.
7278         * gdb.threads/tls-shared.exp: Likewise.
7279         * gdb.threads/tls-so_extern.exp: Likewise.
7280         * gdb.trace/change-loc.exp: Likewise.
7281         * gdb.trace/ftrace-lock.exp: Likewise.
7282         * gdb.trace/ftrace.exp: Likewise.
7283         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7284         * gdb.trace/pending.exp: Likewise.
7285         * gdb.trace/range-stepping.exp: Likewise.
7286         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7287         (strace_info_marker): Likewise.
7288         (strace_probe_marker): Likewise.
7289         (strace_trace_on_same_addr): Likewise.
7290         (strace_trace_on_diff_addr): Likewise.
7291         * gdb.trace/trace-break.exp: Likewise.
7292         * gdb.trace/trace-condition.exp: Likewise.
7293         * gdb.trace/trace-mt.exp: Likewise.
7294
7295 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7296
7297         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7298         result of gdb_remote_download.
7299         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7300         * gdb.base/dso2dso.exp: Likewise.
7301         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7302         * gdb.base/print-file-var.exp: Likewise.
7303         * gdb.base/shlib-call.exp: Likewise.
7304         * gdb.base/shreloc.exp: Likewise.
7305         * gdb.base/solib-overlap.exp: Likewise.
7306         * gdb.base/solib-weak.exp (do_test): Likewise.
7307         * gdb.base/unload.exp: Likewise.
7308
7309 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7310
7311         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7312         exists.
7313
7314 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7315
7316         * vla-type.exp: Print structure from toplevel.
7317
7318 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7319
7320         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7321         of dynamic types.
7322         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7323         of dynamic types.
7324
7325 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7326
7327         * gdb.fortran/vla-type.f90: New file.
7328         * gdb.fortran/vla-type.exp: New file.
7329
7330 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7331
7332         * gdb.base/branch-to-self.c: New file.
7333         * gdb.base/branch-to-self.exp: New file.
7334
7335 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7336
7337         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7338         more after $hex.
7339
7340 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7341
7342         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7343         * gdb.base/annota3.exp: Likewise.
7344
7345 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7346
7347         * gdb.reverse/step-precsave.exp: Do one step and test program
7348         stops in "callee" and do multiple steps until program goes out
7349         of "callee".
7350         * gdb.reverse/step-reverse.exp: Likewise.
7351
7352 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7353
7354         * gdb.trace/signal.exp: Also pass if
7355         $tracepoint_hits($i) > $iterations.
7356
7357 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7358
7359         * gdb.trace/signal.c: New file.
7360         * gdb.trace/signal.exp: New file.
7361
7362 2016-04-19  Doug Evans  <xdje42@gmail.com>
7363
7364         * gdb.base/bad-file.exp: New file.
7365
7366 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7367
7368         * gdb.dwarf2/implref.exp: New file.
7369
7370 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7371
7372         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7373         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7374         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7375         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7376         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7377         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7378         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7379         * lib/fortran.exp (fortran_int4): New procedure.
7380         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7381         (fortran_logical4): Likewise.
7382
7383 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7384
7385         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7386
7387 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7388
7389         * lib/compiler.c: Add Intel specific preprocessor macros.
7390         * lib/compiler.cc: Likewise.
7391
7392 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7393
7394         * gdb.server/connect-with-no-symbol-file.c: New file.
7395         * gdb.server/connect-with-no-symbol-file.exp: New file.
7396
7397 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7398
7399         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7400
7401 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7402
7403         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7404         standard output directory.
7405
7406 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7407
7408         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7409
7410 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7411
7412         * gdb.btrace/instruction_history.c (loop): Add declaration.
7413
7414 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7415
7416         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7417
7418 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7419
7420         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7421         parentheses to print.
7422         (continue_handler): Likewise.
7423
7424 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7425
7426         * gdb.server/solib-list.exp: Remove is_remote check.
7427         Pass shlib= to gdb_compile.  Don't link shared library with
7428         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7429         Run binary filename through "readlink -f" on the target.
7430
7431 2016-04-08  Pedro Alves  <palves@redhat.com>
7432
7433         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7434         interpreter filename as argument to gdbserver_spawn.
7435         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7436         Return empty if $last_loaded_file does not exist.
7437
7438 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7439
7440         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7441         * gdb.base/jit-main.c: Use exit after usage.
7442
7443 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7444
7445         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7446         GDBHISTSIZE prior to the tests.
7447         * gdb.base/gdbinit-history.exp: Likewise.
7448
7449 2016-04-07  Pedro Alves  <palves@redhat.com>
7450
7451         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7452         instead of build_executable.  Use gdb_load_shlibs.
7453
7454 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7455
7456         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7457         Execute "si" command.
7458
7459 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7460
7461         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7462         number instead of the comments on some line.
7463
7464 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7465
7466         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7467         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7468
7469 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7470
7471         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7472         standard_output_file.  Remove unused binfile variable.
7473
7474 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7475
7476         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7477         * gdb.python/py-mi-objfile.exp: Match "list main" output
7478         in console format.
7479
7480 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7481
7482         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7483         absolute.
7484
7485 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7486
7487         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7488         absolute.
7489         * gdb.trace/ftrace.exp: Likewise.
7490         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7491         targets as well.
7492         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7493         (gdb_load_shlibs): Copy libraries to test directory when testing
7494         natively.  Only set solib-search-path if testing remotely.
7495         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7496
7497 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7498
7499         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7500         gdb_download.  Use it even if the target is not remote.
7501         * gdb.base/jit.exp (compile_jit_test): Likewise.
7502         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7503         output directory if the destination board is local, otherwise use
7504         the standard remote_download from DejaGnu.
7505         (gdb_download): Remove.
7506         (gdb_load_shlibs): Use gdb_remote_download instead of
7507         gdb_download.
7508         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7509         Use gdb_remote_download instead of gdb_download.  Use it even if
7510         the target is not remote.
7511         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7512         instead of gdb_download.
7513
7514 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7515
7516         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7517         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7518         run.
7519
7520 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7521
7522         PR gdb/19820
7523         * gdb.base/printcmds.exp: Add artificial arrays tests.
7524
7525 2016-03-31  Pedro Alves  <palves@redhat.com>
7526
7527         PR gdb/19858
7528         * gdb.base/jit-main.c: Include unistd.h.
7529         (ATTACH): Define to 0 if not already defined.
7530         (wait_for_gdb, mypid): New globals.
7531         (WAIT_FOR_GDB): New macro.
7532         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7533         some breakpoint locations.
7534         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7535         New procedures.
7536         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7537         continue_to_test_location.
7538         (top level): Test attach, and adjusts calls to one_jit_test.
7539
7540 2016-03-31  Pedro Alves  <palves@redhat.com>
7541
7542         PR gdb/19858
7543         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7544         BINSUFFIX parameter, and handle it.
7545         (top level): Adjust calls compile_jit_test.
7546
7547 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7548
7549         PR python/19743
7550         * gdb.python/py-mi-events-gdb.py: New file.
7551         * gdb.python/py-mi-events.c: New file.
7552         * gdb.python/py-mi-events.exp: New file.
7553
7554 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7555
7556         * gdb.reverse/until-precsave.exp: Match function name only.
7557         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7558         Move malloc to a condition block.
7559         * gdb.reverse/until-reverse.exp: Match function name only.
7560
7561 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7562
7563         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7564         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7565         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7566         variable for GPR 0 instead of assuming it is register 0.
7567         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7568         * lib/trace-support.exp: Add s390 registers.
7569
7570 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7571
7572         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7573
7574 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7575
7576         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7577         test message.
7578
7579 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7580
7581         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7582         maintaining separate logic for constructing the output path.
7583
7584 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7585
7586         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7587         Retry fork and waitpid on interrupted system call errors.
7588         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7589         Use with_timeout_factor to increase timeout by factor of 10.
7590
7591 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7592
7593         * gdb.cp/scope-err.cc: New test program.
7594         * gdb.cp/scope-err.exp: New test script.
7595         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7596         lines and "set breakpoint here" comment.
7597         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7598         Fixed some whitespace and format issues.
7599         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7600         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7601
7602 2016-03-15  Doug Evans  <dje@google.com>
7603
7604         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7605         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7606         All callers updated.  Add tests for enums, mixed flags register.
7607
7608 2016-03-15  Doug Evans  <dje@google.com>
7609
7610         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7611         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7612
7613 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7614
7615         * gdb.base/default.exp: Add $_as_string to the list of expected
7616         convenience functions.
7617
7618 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7619
7620         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7621
7622 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7623
7624         * gdb.python/py-as-string.exp: New file.
7625         * gdb.python/py-as-string.c: New file.
7626
7627 2016-03-09  Pedro Alves  <palves@redhat.com>
7628
7629         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7630         signal" -> "Thread NN received signal" output change.
7631         * gdb.threads/ia64-sigill.exp: Likewise.
7632         * gdb.threads/linux-dp.exp: Likewise.
7633         * gdb.threads/manythreads.exp: Likewise.
7634         * gdb.threads/pending-step.exp: Likewise.
7635         * gdb.threads/print-threads.exp: Likewise.
7636         * gdb.threads/sigstep-threads.exp: Likewise.
7637         * gdb.threads/staticthreads.exp: Likewise.
7638         * gdb.threads/tls.exp: Likewise.
7639
7640 2016-03-09  Pedro Alves  <palves@redhat.com>
7641
7642         * gdb.base/command-line-input.exp: New file.
7643
7644 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7645
7646         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7647         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7648         * gdb.trace/pending.exp: Accept leading dot before function name.
7649         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7650         * lib/trace-support.exp: Set registers for ppc.
7651
7652 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7653
7654         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7655         use it for disassembly; accept .main in addition to main in backtrace.
7656
7657 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7658             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7659
7660         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7661         (gdb_recursion_test_ptr): New global variable.
7662         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7663         gdb_recursion_test.
7664         (gdb_c_test): Ditto.
7665
7666 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7667
7668         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7669         ordering.
7670
7671 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7672
7673         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7674         (bar): Add bar_start_lbl label.
7675         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7676         of foo/bar for emitting DWARF and tracing.
7677
7678 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7679
7680         * analyze-racy-logs.py: Set executable bit.
7681
7682 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7683
7684         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7685         (CHECK_TARGET_TMP): Likewise.
7686         (check-single-racy): New rule.
7687         (check-parallel-racy): Likewise.
7688         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7689         (do-check-parallel-racy): New rule.
7690         (check-racy/%.exp): Likewise.
7691         * README (Racy testcases): New section.
7692         * analyze-racy-logs.py: New file.
7693
7694 2016-03-03  Doug Evans  <dje@google.com>
7695
7696         * gdb.base/skip.exp: Use with_test_prefix.
7697
7698 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7699
7700         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7701         Invoke step_over_syscall "clone" and break_cond_on_syscall
7702         "clone".
7703         * gdb.base/step-over-clone.c: New file.
7704
7705 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7706
7707         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7708         code format.
7709
7710 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7711
7712         * gdb.base/disp-step-fork.c: Rename to ...
7713         * gdb.base/step-over-fork.c: ... it.  New file.
7714         * gdb.base/disp-step-vfork.c: Rename to ...
7715         * gdb.base/step-over-vfork.c: ... it.  New file.
7716         * gdb.base/disp-step-syscall.exp: Rename to ...
7717         * gdb.base/step-over-syscall.exp: ... it.  New file.
7718         (disp_step_cross_syscall): Rename to ...
7719         (step_over_syscall): ... it.
7720
7721 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7722
7723         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7724         If target supports condition evaluation on target, invoke
7725         break_cond_on_syscall for fork and vfork.
7726
7727 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7728
7729         * gdb.base/disp-step-syscall.exp: Don't invoke
7730         support_displaced_stepping.
7731         (disp_step_cross_syscall): Test with displaced stepping off and
7732         on if supported.
7733
7734 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7735
7736         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7737         proc.
7738         (setup): New proc.
7739         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7740         and setup.
7741
7742 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7743
7744         * gdb.fortran/vla-history.exp: Remove breakpoint.
7745
7746 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7747
7748         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7749         exceeds timeout.
7750
7751 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7752
7753         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7754         breakpoint.
7755
7756 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7757
7758         * gdb.mi/vla.f90: Nullify pointer after declaration.
7759
7760 2016-03-01  Pedro Alves  <palves@redhat.com>
7761
7762         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7763
7764 2016-03-01  Pedro Alves  <palves@redhat.com>
7765
7766         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7767         before anything else.
7768         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7769         _GNU_SOURCE here.
7770         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7771         before anything else.
7772         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7773
7774 2016-03-01  Pedro Alves  <palves@redhat.com>
7775
7776         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7777
7778 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7779
7780         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7781         prepare_for_testing.
7782
7783 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7784
7785         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7786
7787 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7788
7789         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7790         manually constructing the output path.
7791
7792 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7793
7794         * gdb.arch/s390-stackless.S: New.
7795         * gdb.arch/s390-stackless.exp: New.
7796
7797 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7798
7799         * gdb.dlang/circular.c: New file.
7800         * gdb.dlang/circular.exp: New file.
7801
7802 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7803
7804         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7805         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7806         (testcases): Update.
7807
7808 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7809
7810         * gdb.reverse/aarch64.c: Rename to ...
7811         * gdb.reverse/insn-reverse.c: ... it.
7812         * gdb.reverse/aarch64.exp: Rename to ...
7813         * gdb.reverse/insn-reverse.exp: ... it.
7814
7815 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7816
7817         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7818         (testcase_ftype): New.
7819         (testcases): New array.
7820         (n_testcases): New.
7821         (main): Call each element in testcases.
7822         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7823         (read_testcase): New.
7824         Do the tests in a loop.
7825
7826 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7827
7828         * gdb.base/branches.c: Remove.
7829
7830 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7831
7832         PR gdb/13808
7833         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7834
7835 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7836
7837         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7838
7839 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7840
7841         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7842         change x86_64 call_insn to 'callq'.
7843
7844 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7845
7846         * gdb.trace/tfile-avx.c: Move to...
7847         * gdb.trace/tracefile-pseudo-reg.c: Here.
7848         * gdb.trace/tfile-avx.exp: Move to...
7849         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7850
7851 2016-02-24  Gary Benson <gbenson@redhat.com>
7852
7853         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7854         message on attach.
7855
7856 2016-02-23  Doug Evans  <dje@google.com>
7857
7858         * gdb.base/skip.c (test_skip): New function.
7859         (end_test_skip_file_and_function): New function.
7860         (test_skip_file_and_function): New function.
7861         * gdb.base/skip1.c (test_skip): New function.
7862         (skip1_test_skip_file_and_function): New function.
7863         * gdb.base/skip.exp: Add tests for new skip options.
7864         * gdb.base/skip-solib.exp: Update expected output.
7865         * gdb.perf/skip-command.cc: New file.
7866         * gdb.perf/skip-command.exp: New file.
7867         * gdb.perf/skip-command.py: New file.
7868
7869 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7870
7871         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7872         info registers pattern.
7873
7874 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7875
7876         * lib/future.exp: Add D support.
7877         (gdb_find_gdc): New proc.
7878         (gdb_default_target_compile): Add D support.
7879
7880 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7881
7882         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7883         user+system time.
7884         (trace_speed_test): Determine the iteration count for a time
7885         between 15..30 seconds.
7886
7887 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7888
7889         * gdb.arch/i386-mpx-sigsegv.c: New file.
7890         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7891         * gdb.arch/i386-mpx-simple_segv.c: New file.
7892         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7893
7894 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7895
7896         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7897         Don't call setup_kfail.
7898
7899 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7900
7901         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7902         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7903
7904 2016-02-16  Doug Evans  <dje@google.com>
7905
7906         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7907         * gdb.base/skip1.c: Ditto.
7908         * gdb.base/skip.exp: Whitespace cleanup.
7909
7910 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7911
7912         PR remote/19496
7913         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7914         Remove kfail for PR remote/19496.
7915
7916 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7917
7918         * lib/gdb.exp (standard_temp_file): Return a path specific to
7919         the runtest invocation.
7920
7921 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7922
7923         * gdb.trace/save-trace.exp: Change relative path to be in the
7924         standard output directory.
7925
7926 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7927
7928         * gdb.arch/i386-prologue.c: Add missing prototypes.
7929
7930 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7931
7932         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7933         * gdb.arch/i386-prologue.exp: Likewise.
7934         * gdb.arch/i386-size.exp: Likewise.
7935
7936 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7937
7938         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7939         define object file path.
7940         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7941         file path.
7942         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7943         standard_output_file to define binfile.
7944
7945 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7946
7947         Fix compatibility with recent gfortran-5.3.1.
7948         * gdb.fortran/vla-history.exp (print vla1 allocated)
7949         (print vla2 allocated, print $2, print $3): Remove
7950         (print $4): Rename to ...
7951         (print $2): ... here.
7952         (print $9): Rename to ...
7953         (print $5): ... here.
7954         (print $10): Rename to ...
7955         (print $6): ... here.
7956         * gdb.fortran/vla.f90: Add pvla initialization.
7957
7958 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7959
7960         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7961         New test.
7962         * gdb.fortran/vla-value-sub.exp: Likewise.
7963
7964 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7965
7966         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7967
7968 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7969
7970         * i386-biarch-core.exp: Define corefile using
7971         standard_output_file.
7972
7973 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7974
7975         * gdb.arch/arm-single-step-kernel-helper.c: New.
7976         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7977
7978 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7979
7980         * gdb.btrace/tailcall-only.exp: New.
7981         * gdb.btrace/tailcall-only.c: New.
7982         * gdb.btrace/x86_64-tailcall-only.S: New.
7983         * gdb.btrace/i686-tailcall-only.S: New.
7984
7985 2016-02-11  Pedro Alves  <palves@redhat.com>
7986
7987         * README (Parallel testing): Add missing double quotes.
7988
7989 2016-02-11  Pedro Alves  <palves@redhat.com>
7990
7991         * README (Parallel testing): New section.
7992         (GDB_PARALLEL): Rewrite.
7993         (FORCE_PARALLEL): Document.
7994
7995 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7996
7997         * gdb.trace/tfile-avx.c: New test.
7998         * gdb.trace/tfile-avx.exp: New test.
7999
8000 2016-02-09  Keith Seitz  <keiths@redhat.com>
8001
8002         PR breakpoints/19546
8003         * gdb.base/infcall-exec.c: New file.
8004         * gdb.base/infcall-exec2.c: New file.
8005         * gdb.base/infcall-exec.exp: New file.
8006
8007 2016-02-09  Keith Seitz  <keiths@redhat.com>
8008
8009         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8010         (toplevel): Call test_bkpt_address.
8011
8012 2016-02-09  Keith Seitz  <keiths@redhat.com>
8013
8014         PR python/19506
8015         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8016         (toplevel): Call test_bkpt_address.
8017
8018 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
8019
8020         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8021         to AC_OUTPUT.
8022         * configure: Regenerate.
8023
8024 2016-02-09  Pedro Alves  <palves@redhat.com>
8025
8026         PR breakpoints/19548
8027         * gdb.base/execl-update-breakpoints.c (some_function): New
8028         function.
8029         (main): Call it.
8030         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8031         Tighten expected GDB output.
8032
8033 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8034
8035         * Makefile.in (ALL_SUBDIRS): Remove.
8036         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8037         (distclean maintainer-clean realclean): Likewise.
8038         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8039         * configure: Regenerate.
8040         * gdb.ada/Makefile.in: Delete.
8041         * gdb.arch/Makefile.in: Likewise.
8042         * gdb.asm/Makefile.in: Likewise.
8043         * gdb.base/Makefile.in: Likewise.
8044         * gdb.btrace/Makefile.in: Likewise.
8045         * gdb.cell/Makefile.in: Likewise.
8046         * gdb.compile/Makefile.in: Likewise.
8047         * gdb.cp/Makefile.in: Likewise.
8048         * gdb.disasm/Makefile.in: Likewise.
8049         * gdb.dlang/Makefile.in: Likewise.
8050         * gdb.dwarf2/Makefile.in: Likewise.
8051         * gdb.fortran/Makefile.in: Likewise.
8052         * gdb.gdb/Makefile.in: Likewise.
8053         * gdb.go/Makefile.in: Likewise.
8054         * gdb.guile/Makefile.in: Likewise.
8055         * gdb.java/Makefile.in: Likewise.
8056         * gdb.linespec/Makefile.in: Likewise.
8057         * gdb.mi/Makefile.in: Likewise.
8058         * gdb.modula2/Makefile.in: Likewise.
8059         * gdb.multi/Makefile.in: Likewise.
8060         * gdb.objc/Makefile.in: Likewise.
8061         * gdb.opencl/Makefile.in: Likewise.
8062         * gdb.opt/Makefile.in: Likewise.
8063         * gdb.pascal/Makefile.in: Likewise.
8064         * gdb.perf/Makefile.in: Likewise.
8065         * gdb.python/Makefile.in: Likewise.
8066         * gdb.reverse/Makefile.in: Likewise.
8067         * gdb.server/Makefile.in: Likewise.
8068         * gdb.stabs/Makefile.in: Likewise.
8069         * gdb.threads/Makefile.in: Likewise.
8070         * gdb.trace/Makefile.in: Likewise.
8071         * gdb.xml/Makefile.in: Likewise.
8072         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8073         GDB_PARALLEL.
8074         (standard_output_file): Remove check for GDB_PARALLEL, always
8075         return path in outputs/$subdir/$testname.
8076
8077 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8078
8079         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8080         (site.exp): Assign abs_srcdir to tcl's srcdir.
8081
8082 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8083
8084         * gdb.base/foll-exec-mode.c: Include limits.h.
8085         (main): Add parameters argc and argv.  Get directory from
8086         argv[0].
8087         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8088         compilation.
8089         * gdb.base/foll-exec.c: Include limits.h.
8090         (main): Add parameters argc and argv.
8091         Get directory from argv[0].
8092         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8093         Adjust tests on the number of lines as source code changed.
8094         * gdb.base/foll-vfork-exit.c: Include limits.h.
8095         (main): Add one line of statement before vfork.
8096         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8097         (main): Add parameters argc and argv.  Get directory from
8098         argv[0].
8099         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8100         (setup_gdb): Set tbreak to skip some source lines.
8101         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8102         (main): Add parameters argc and argv.  Get directory from
8103         argv[0].
8104         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8105         compilation.
8106         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8107         (main): Add parameters argc and argv.  Get directory from
8108         argv[0].
8109         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8110         compilation.
8111
8112 2016-02-01  Doug Evans  <dje@google.com>
8113
8114         * gdb.base/skip.exp: Clean up multiple references to same test name.
8115
8116 2016-02-01  Pedro Alves  <palves@redhat.com>
8117
8118         PR remote/19496
8119         * gdb.threads/forking-threads-plus-breakpoint.exp
8120         (displaced_stepping_supported): New global.
8121         (probe_displaced_stepping_support): New procedure.
8122         (do_test): Add 'displaced' parameter, and use it.
8123         (top level): Check for displaced stepping support.  Add displaced
8124         stepping on/off testing axis.
8125
8126 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8127
8128         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8129         pointer.  Don't perform further tests on the unassociated pointer
8130         if the first test fails.
8131
8132 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8133
8134         * gdb.base/max-value-size.c: New file.
8135         * gdb.base/max-value-size.exp: New file.
8136         * gdb.base/huge.exp: Disable max-value-size for this test.
8137
8138 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8139
8140         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8141
8142 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8143
8144         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8145
8146 2016-01-25  Pedro Alves  <palves@redhat.com>
8147
8148         PR threads/19461
8149         * gdb.base/fork-running-state.c: New file.
8150         * gdb.base/fork-running-state.exp: New file.
8151
8152 2016-01-25  Pedro Alves  <palves@redhat.com>
8153
8154         PR gdb/19494
8155         * gdb.base/catch-fork-kill.c: New file.
8156         * gdb.base/catch-fork-kill.exp: New file.
8157
8158 2016-01-25  Pedro Alves  <palves@redhat.com>
8159
8160         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8161         Delete, moved to lib/gdb.exp.
8162         * gdb.threads/forking-threads-plus-breakpoint.exp
8163         (foreach_with_prefix): Likewise.
8164         * gdb.threads/process-dies-while-handling-bp.exp
8165         (foreach_with_prefix): Likewise.
8166         * lib/gdb.exp (foreach_with_prefix): New procedure.
8167
8168 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8169
8170         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8171         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8172
8173 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8174
8175         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8176         endian targets.
8177
8178 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8179             Pedro Alves  <palves@redhat.com>
8180
8181         Fix testsuite compatibility with Guile.
8182         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8183         number.
8184
8185 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8186
8187         Fix testsuite compatibility with Guile.
8188         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8189         (thread 1): New test for backtrace through signal handler.
8190
8191 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8192
8193         PR testsuite/19491
8194         * gdb.base/multi-forks.c: Include
8195         ../lib/unbuffer_output.c
8196         (main): Call gdb_unbuffer_output.
8197
8198 2016-01-21  Doug Evans  <dje@google.com>
8199
8200         * lib/ada.exp (gdb_compile_ada): Fix typo.
8201
8202 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8203
8204         * gdb.base/break-fun-addr.exp: New file.
8205         * gdb.base/break-fun-addr1.c: New file.
8206         * gdb.base/break-fun-addr2.c: New file.
8207
8208 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8209
8210         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8211         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8212         enum flag values.
8213
8214 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8215
8216         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8217         when GDB can not set the vector return value.  Add more comments
8218         for clarification.
8219
8220 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8221
8222         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8223         command.
8224
8225 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8226
8227         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8228
8229 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8230
8231         * Makefile.in (check-single): Pass --status to runtest.
8232         (check/%.exp): Likewise.
8233
8234 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8235
8236         * Makefile.in (check-parallel): Propagate return code from make
8237         do-check-parallel.
8238
8239 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8240
8241         * gdb.trace/ftrace.exp: Fix expected message on continue.
8242         * gdb.trace/pending.exp: Fix expected message on continue.
8243         * gdb.trace/trace-break.exp: Fix expected message on continue.
8244
8245 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8246
8247         * lib/gdb.exp (gdb_test): Remove unused global references.
8248
8249 2016-01-18  Pedro Alves  <palves@redhat.com>
8250
8251         * gdb.base/async-shell.exp: Adjust expected output.
8252         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8253         * gdb.base/siginfo-thread.exp: Adjust expected output.
8254         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8255         * gdb.java/jnpe.exp: Adjust expected output.
8256         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8257         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8258         * gdb.threads/leader-exit.exp: Adjust expected output.
8259         * gdb.threads/manythreads.exp: Adjust expected output.
8260         * gdb.threads/pthreads.exp: Adjust expected output.
8261         * gdb.threads/schedlock.exp: Adjust expected output.
8262         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8263         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8264         expected output.
8265         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8266         output.
8267         * gdb.threads/sigthread.exp: Adjust expected output.
8268         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8269
8270 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8271
8272         * gdb.guile/scm-section-script.c: Replace @progbits with
8273         %progbits.
8274         * gdb.python/py-section-script.c: Likewise.
8275
8276 2016-01-15  Pedro Alves  <palves@redhat.com>
8277
8278         * gdb.multi/tids.exp: Test star wildcard ranges.
8279
8280 2016-01-15  Pedro Alves  <palves@redhat.com>
8281
8282         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8283         command from "thread apply" invocation.
8284         (thr_apply_info_thr_invalid): Default the expected output to the
8285         input tid list.
8286         (top level): Add tests that use convenience variables.  Add tests
8287         for "thread apply" with a valid TID list, but missing the command.
8288
8289 2016-01-13  Pedro Alves  <palves@redhat.com>
8290
8291         * gdb.base/default.exp: Expect $_gthread as well.
8292         * gdb.multi/tids.exp: Test $_gthread.
8293         * gdb.threads/thread-specific.exp: Test $_gthread.
8294
8295 2016-01-13  Pedro Alves  <palves@redhat.com>
8296
8297         * gdb.multi/tids.exp: Test "info threads -gid".
8298
8299 2016-01-13  Pedro Alves  <palves@redhat.com>
8300
8301         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8302         Breakpoint.thread.
8303         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8304
8305 2016-01-07  Pedro Alves  <palves@redhat.com>
8306
8307         * gdb.base/break.exp: Adjust to output changes.
8308         * gdb.base/hbreak2.exp: Likewise.
8309         * gdb.base/sepdebug.exp: Likewise.
8310         * gdb.base/watch_thread_num.exp: Likewise.
8311         * gdb.linespec/keywords.exp: Likewise.
8312         * gdb.multi/info-threads.exp: Likewise.
8313         * gdb.threads/thread-find.exp: Likewise.
8314         * gdb.multi/tids.c: New file.
8315         * gdb.multi/tids.exp: New file.
8316
8317 2016-01-13  Pedro Alves  <palves@redhat.com>
8318
8319         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8320
8321 2016-01-13  Pedro Alves  <palves@redhat.com>
8322
8323         * gdb.base/default.exp: Expect $_inferior as well.
8324         * gdb.multi/base.exp: Test $_inferior.
8325
8326 2016-01-13  Pedro Alves  <palves@redhat.com>
8327
8328         PR breakpoints/19388
8329         * gdb.base/catch-signal-siginfo-cond.c: New file.
8330         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8331
8332 2016-01-12  Josh Stone  <jistone@redhat.com>
8333             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8334
8335         * gdb.base/catch-syscall.c (do_execve): New variable.
8336         (main): Conditionally trigger an execve.
8337         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8338         (test_catch_syscall_execve): New, check entry/return across execve.
8339         (do_syscall_tests): Call test_catch_syscall_execve.
8340
8341 2016-01-12  Pedro Alves  <palves@redhat.com>
8342
8343         * gdb.base/random-signal.exp (do_test): New procedure, with body
8344         of testcase moved in.
8345
8346 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8347             Pedro Alves  <palves@redhat.com>
8348
8349         * gdb.base/funcargs.exp (finish from indirectly called function):
8350         Reintroduce the case for 'First'.
8351
8352 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8353             Pedro Alves  <palves@redhat.com>
8354
8355         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8356         (tcatch_vfork_then_child_follow_exec)
8357         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8358         identification.
8359
8360 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8361
8362         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8363         and repeats to unlimited.
8364         * gdb.python/py-value.exp: Likewise.
8365         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8366         and repeats to unlimited.
8367
8368 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8369
8370         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8371         and reordering the functions.
8372         * gdb.multi/hangout.c: Likewise.
8373         * gdb.multi/hello.c: Likewise.
8374
8375 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8376
8377         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8378         absolute.
8379         (SingleStatisticTestResult.report): Use dict.keys instead of
8380         dict.iterkeys.
8381
8382 2016-01-06  Pedro Alves  <palves@redhat.com>
8383
8384         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8385
8386 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8387
8388         * gdb.btrace/dlopen.exp: New.
8389         * gdb.btrace/dlopen.c: New.
8390         * gdb.btrace/dlopen-dso.c: New.
8391
8392 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8393
8394         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8395         PATTERN argument is optional.
8396
8397 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8398
8399         * lib/ada.exp (target_compile_ada_from_dir): New function.
8400         (gdb_compile_ada): Reimplement avoiding the use of project files.
8401         * gdb.ada/gnat_ada.gpr: Delete.
8402         * gdb.ada/cond_lang.exp: Adjust test to make path before
8403         filename optional.
8404         * gdb.ada/small_reg_param.exp: Likewise.
8405
8406 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8407
8408         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8409
8410 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8411
8412         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8413         case.
8414
8415 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8416
8417         * gdb.base/break.exp: Remove dead code.
8418         * gdb.base/sepdebug.exp: Likewise.
8419
8420 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8421
8422         * gdb.asm/asm-source.exp: Remove HP-UX references.
8423         * gdb.base/annota1.exp: Likewise.
8424         * gdb.base/annota3.exp: Likewise.
8425         * gdb.base/attach.exp: Likewise.
8426         * gdb.base/bigcore.exp: Likewise.
8427         * gdb.base/break.exp: Likewise.
8428         * gdb.base/call-ar-st.exp: Likewise.
8429         * gdb.base/callfuncs.exp: Likewise.
8430         * gdb.base/catch-fork-static.exp: Likewise.
8431         * gdb.base/display.exp: Likewise.
8432         * gdb.base/foll-exec-mode.exp: Likewise.
8433         * gdb.base/foll-exec.exp: Likewise.
8434         * gdb.base/foll-fork.exp: Likewise.
8435         * gdb.base/foll-vfork.exp: Likewise.
8436         * gdb.base/funcargs.exp: Likewise.
8437         * gdb.base/hbreak2.exp: Likewise.
8438         * gdb.base/inferior-died.exp: Likewise.
8439         * gdb.base/interrupt.exp: Likewise.
8440         * gdb.base/multi-forks.exp: Likewise.
8441         * gdb.base/nodebug.exp: Likewise.
8442         * gdb.base/sepdebug.exp: Likewise.
8443         * gdb.base/solib1.c: Likewise.
8444         * gdb.base/step-test.exp: Likewise.
8445         * gdb.mi/non-stop.c: Likewise.
8446         * gdb.mi/pthreads.c: Likewise.
8447         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8448         * gdb.threads/pthreads.c: Likewise.
8449         * gdb.threads/staticthreads.exp: Likewise.
8450         * lib/future.exp: Likewise.
8451         * lib/gdb.exp: Likewise.
8452         * gdb.base/so-indr-cl.c: Remove.
8453         * gdb.base/so-indr-cl.exp: Likewise.
8454         * gdb.base/solib.c: Likewise.
8455         * gdb.base/solib.exp: Likewise.
8456         * gdb.base/solib2.c: Likewise.
8457
8458 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8459
8460         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8461         * gdb.base/call-ar-st.exp: Likewise.
8462         * gdb.base/callfuncs.exp: Likewise.
8463         * gdb.base/condbreak.exp: Likewise.
8464         * gdb.base/constvars.exp: Likewise.
8465         * gdb.base/hbreak2.exp: Likewise.
8466         * gdb.base/langs.exp: Likewise.
8467         * gdb.base/list.exp: Likewise.
8468         * gdb.base/long_long.exp: Likewise.
8469         * gdb.base/ptype.exp: Likewise.
8470         * gdb.base/scope.exp: Likewise.
8471         * gdb.base/signals.exp: Likewise.
8472         * gdb.base/so-impl-ld.exp: Likewise.
8473         * gdb.base/varargs.exp: Likewise.
8474         * gdb.base/volatile.exp: Likewise.
8475         * gdb.base/whatis.exp: Likewise.
8476         * gdb.cp/cplusfuncs.exp: Likewise.
8477         * gdb.cp/inherit.exp: Likewise.
8478         * gdb.cp/local.exp: Likewise.
8479         * gdb.cp/member-ptr.exp: Likewise.
8480         * gdb.cp/method.exp: Likewise.
8481         * gdb.cp/overload.exp: Likewise.
8482         * gdb.cp/templates.exp: Likewise.
8483         * gdb.stabs/weird.exp: Likewise.
8484         * lib/compiler.c: Likewise.
8485         * lib/compiler.cc: Likewise.
8486         * lib/cp-support.exp: Likewise.
8487         * lib/gdb.exp: Likewise.
8488
8489 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8490
8491         * configure.ac: Remove HP-UX case.
8492         * configure: Regenerate.
8493
8494 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8495
8496         * lib/gdb.exp (gdb_compile): Add function doc.
8497
8498 2015-12-17  Pedro Alves  <palves@redhat.com>
8499
8500         PR threads/19354
8501         * gdb.multi/info-threads.exp: New file.
8502
8503 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8504
8505         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8506         is aarch64*-*-*.
8507
8508 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8509
8510         * gdb.base/history-duplicates.exp: Skip if no readline support.
8511
8512 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8513
8514         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8515
8516 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8517
8518         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8519
8520 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8521
8522         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8523         ctrl-C if nointerrupts target property is set.
8524         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8525         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8526         * gdb.base/paginate-bg-execution.exp: Likewise.
8527         * gdb.base/paginate-execution-startup.exp: Likewise.
8528         * gdb.base/random-signal.exp: Likewise.
8529         * gdb.base/range-stepping.exp: Likewise.
8530         * gdb.cp/annota2.exp: Likewise.
8531         * gdb.cp/annota3.exp: Likewise.
8532         * gdb.gdb/selftest.exp: Likewise.
8533         * gdb.threads/continue-pending-status.exp: Likewise.
8534         * gdb.threads/leader-exit.exp: Likewise.
8535         * gdb.threads/manythreads.exp: Likewise.
8536         * gdb.threads/pthreads.exp: Likewise.
8537         * gdb.threads/schedlock.exp: Likewise.
8538         * gdb.threads/sigthread.exp: Likewise.
8539
8540 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8541
8542         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8543         remote.
8544         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8545         * gdb.base/foll-exec.exp (main): Enable for target remote.
8546         * gdb.base/foll-fork.exp (main): Likewise.
8547         * gdb.base/foll-vfork.exp (main): Likewise.
8548         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8549         (proc continue_to_exit_bp_loc): Use clean_restart.
8550         * gdb.base/pie-execl.exp (main): Disable for target remote.
8551         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8552         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8553         * gdb.threads/execl.exp (main): Likewise.
8554         * gdb.threads/fork-child-threads.exp (main): Likewise.
8555         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8556         remote.
8557         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8558         remote.
8559         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8560         pid.tid style ptids, instead of just tid.
8561         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8562         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8563         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8564         ptids, instead of just tid.
8565
8566 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8567
8568         * gdb.base/list.exp (test_list_forward): Add end of file error
8569         test.
8570         (test_repeat_list_command): Add end of file error test.
8571         (test_list_backwards): Add beginning of file error test.
8572
8573 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8574
8575         * gdb.base/list.exp (test_list_invalid_args): New function,
8576         defined, and called.
8577
8578 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8579
8580         * gdb.base/list.exp (test_list): Make test names unique.
8581
8582 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8583
8584         * gdb.base/coremaker2.c: Remove.
8585
8586 2015-12-10  Pedro Alves  <palves@redhat.com>
8587
8588         * gdb.multi/base.exp: Remove stale "spaces" references.
8589
8590 2015-12-10  Pedro Alves  <palves@redhat.com>
8591
8592         * gdb.multi/base.exp: Don't use nowarnings.
8593         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8594         * gdb.multi/hangout.c: Include stdio.h.
8595         * gdb.multi/hello.c: Include stdlib.h.
8596         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8597         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8598         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8599
8600 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8601
8602         * gdb.dwarf2/dw2-ranges-base.c: New file.
8603         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8604         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8605         support additional line table, and debug ranges generation.
8606         (Dwarf::ranges): New function, generate .debug_ranges.
8607         (Dwarf::lines): Support generating simple line table programs.
8608         (Dwarf::assemble): Initialise new namespace variables.
8609
8610 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8611
8612         * gdb.base/async.exp (proc test_background): Add case for
8613         asynchronous execution not supported.
8614
8615 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8616
8617         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8618           format and change test names to make them unique.
8619
8620 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8621             Pedro Alves  <pedro@redhat.com>
8622
8623         PR gdb/18702
8624         Add checking of floatformats setup on x86_64 hosts.
8625         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8626         (smallval, bigval): New labels/constants.
8627         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8628         float" after loading bigval and smallval.
8629
8630 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8631
8632         * gdb.ada/fun_overload_menu.exp: New testcase.
8633         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8634
8635 2015-12-04  Josh Stone  <jistone@redhat.com>
8636
8637         * gdb.base/catch-fork-static.exp: New.
8638
8639 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8640
8641         * gdb.base/sizeof.c: Don't include stdio.h and
8642         ../lib/unbuffer_output.c.
8643         (main): New variable 'size' and 'value'.  Remove printf and
8644         gdb_unbuffer_output.  Assign return value to size and value.
8645         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8646         at the beginning.
8647         (check_sizeof): Check the result by printing variable 'size'.
8648         (check_valueof): Check the result by printing variable 'value'.
8649
8650 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8651
8652         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8653         for aarch64*-*-linux* target.
8654
8655 2015-11-30  Pedro Alves  <palves@redhat.com>
8656
8657         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8658
8659 2015-11-30  Pedro Alves  <palves@redhat.com>
8660
8661         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8662         Handle non-stop mode vCont replies.
8663
8664 2015-11-30  Pedro Alves  <palves@redhat.com>
8665
8666         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8667         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8668         GDBFLAGS.  Lax expected stop output.
8669
8670 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8671
8672         * gdb.arch/arm-neon.exp: New.
8673         * gdb.arch/arm-neon.c: New.
8674
8675 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8676
8677         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8678
8679 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8680
8681         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8682         frames-invalid annotation.
8683
8684 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8685
8686         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8687
8688 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8689
8690         * gdb.threads/names.exp: New file.
8691         * gdb.threads/names.c: New file.
8692         * README: Mention gdb,no_thread_names.
8693
8694 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8695
8696         PR 19297
8697         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8698         support" error.
8699
8700 2015-11-24  Pedro Alves  <palves@redhat.com>
8701
8702         PR 17539
8703         * gdb.base/display.exp: Expect displays to be sorted in ascending
8704         order.  Use multi_line.
8705         * gdb.base/solib-display.exp: Likewise.
8706
8707 2015-11-24  Pedro Alves  <palves@redhat.com>
8708
8709         PR 17539
8710         * gdb.base/display.exp: Expect displays to be sorted in ascending
8711         order.  Use multi_line.
8712         * gdb.base/solib-display.exp: Likewise.
8713
8714 2015-11-24  Pedro Alves  <palves@redhat.com>
8715
8716         PR 17539
8717         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8718         threads in ascending order.
8719         * gdb.base/foll-fork.exp: Likewise.
8720         * gdb.base/foll-vfork.exp: Likewise.
8721         * gdb.base/multi-forks.exp: Likewise.
8722         * gdb.mi/mi-nonstop.exp: Likewise.
8723         * gdb.mi/mi-nsintrall.exp: Likewise.
8724         * gdb.multi/base.exp: Likewise.
8725         * gdb.multi/multi-arch.exp: Likewise.
8726         * gdb.python/py-inferior.exp: Likewise.
8727         * gdb.threads/break-while-running.exp: Likewise.
8728         * gdb.threads/execl.exp: Likewise.
8729         * gdb.threads/gcore-thread.exp: Likewise.
8730         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8731         * gdb.threads/kill.exp: Likewise.
8732         * gdb.threads/linux-dp.exp: Likewise.
8733         * gdb.threads/multiple-step-overs.exp: Likewise.
8734         * gdb.threads/next-bp-other-thread.exp: Likewise.
8735         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8736         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8737         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8738         * gdb.threads/thread-find.exp: Likewise.
8739         * gdb.threads/tls.exp: Likewise.
8740         * lib/mi-support.exp (mi_reverse_list): Delete.
8741         (mi_check_thread_states): No longer reverse list.
8742
8743 2015-11-24  Pedro Alves  <palves@redhat.com>
8744
8745         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8746         use lowercase.
8747
8748 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8749
8750         * gdb.trace/actions.c: Include trace-common.h.
8751         (main): Add a location for a fast tracepoint.
8752         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8753         the normal tracepoints.
8754         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8755
8756 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8757
8758         * save-trace.exp: Factor out code to these...
8759         (gdb_save_tracepoints): New.
8760         (gdb_load_tracepoints): New.
8761         (do_save_load_test): New.
8762
8763 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8764
8765         * gdb.base/asmlabel.exp: New test.
8766         * gdb.base/asmlabel.c: New test case.
8767
8768 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8769
8770         * gdb.base/wrong_frame_bt_full-main.c: New file.
8771         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8772         * gdb.base/wrong_frame_bt_full.exp: New file.
8773
8774 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8775
8776         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8777
8778 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8779
8780         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8781         pstate register when comparing registers values in
8782         sparc64-*-linux-gnu targets to avoid spurious differences.
8783
8784 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8785
8786         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8787
8788 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8789
8790         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8791         as type argument to gdb_compile.
8792         * gdb.base/nested-subp2.exp: Likewise.
8793         * gdb.base/nested-subp3.exp: Likewise.
8794
8795 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8796
8797         * lib/dwarf.exp (_note): Fix left shift of negative value.
8798         * gdb.trace/trace-condition.exp: Likewise.
8799
8800 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8801
8802         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8803         comments about d10v.
8804         (test_scalar_returns): Likewise.
8805         * gdb.base/d10v.ld: Remove.
8806         * gdb.base/overlays.exp: Remove the target triplet checking for
8807         d10v-*-*.
8808         * gdb.base/structs.exp (test_struct_returns): Remove the
8809         comments about d10v.
8810         (test_struct_calls): Likewise.
8811
8812 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8813
8814         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8815         * gdb.base/gnu_vector.c: Don't include stdio.h.
8816         (main): Don't print res and call add_some_intvecs.
8817
8818 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8819
8820         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8821         macro.
8822         (func5): Removed.
8823         (func4): Use FAST_TRACEPOINT_LABEL.
8824         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8825         macro.
8826         (func): Removed.
8827         (thread_function): Use FAST_TRACEPOINT_LABEL.
8828         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8829         (func): Remove.
8830         (marker): Use FAST_TRACEPOINT_LABEL.
8831         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8832         (pendfunc1): Remove.
8833         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8834         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8835         (foo): Remove.
8836         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8837         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8838         macro.
8839         (func): Remove.
8840         (marker): Use FAST_TRACEPOINT_LABEL.
8841         * gdb.trace/trace-common.h: New header.
8842         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8843         macro.
8844         (func): Remove.
8845         (marker): Use FAST_TRACEPOINT_LABEL.
8846         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8847         (func): Remove.
8848         (thread_function): Use FAST_TRACEPOINT_LABEL.
8849
8850 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8851
8852         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8853         in front.
8854         * gdb.trace/change-loc.exp: Use global pcreg definition.
8855         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8856         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8857         in front.
8858         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8859         * gdb.trace/pending.exp: Likewise.
8860         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8861         * gdb.trace/trace-break.exp: Likewise.
8862         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8863         in front.
8864         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8865         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8866         in front.
8867         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8868
8869 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8870
8871         * gdb.ada/fin_fun_out: New testcase.
8872
8873 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8874
8875         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8876         value associated with DW_AT_byte_size.
8877         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8878         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8879         DW_AT_upper_bound.
8880
8881 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8882
8883         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8884         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8885         version.
8886         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8887         gdb.dwarf2/dw2-canonicalize-type.exp,
8888         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8889         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8890         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8891         provided by gdb_target_symbol_prefix_flags_asm.
8892         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8893         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8894         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8895         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8896         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8897         macros where needed).  Use this macro for symbols which require
8898         the prefix provided by SYMBOL_PREFIX.
8899
8900 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8901
8902         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8903         New procs.
8904         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8905         representing expressions, of more than one list element.
8906         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8907         to prepend linker symbol prefix to f.
8908         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8909         table_1 and table_2.
8910         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8911         Likewise, for f and g.
8912         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8913         for ptr.
8914         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8915         for main.
8916         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8917         table_1_ptr and table_2_ptr.
8918
8919 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8920             Joel Brobecker  <brobecker@adacore.com>
8921
8922         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8923
8924 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8925
8926         * gdb.reverse/s390-mvcle.c: New test.
8927         * gdb.reverse/s390-mvcle.exp: New file.
8928         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8929
8930 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8931
8932         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8933
8934 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8935
8936         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8937         reaching marker2.
8938         * gdb.reverse/getresuid-reverse.exp: Likewise.
8939         * gdb.reverse/pipe-reverse.exp: Likewise.
8940         * gdb.reverse/readv-reverse.exp: Likewise.
8941         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8942         * gdb.reverse/time-reverse.exp: Likewise.
8943         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8944
8945 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8946
8947         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8948         (empty_cycle): Remove.
8949         (main): Don't call empty_cycle.  Don't use watch_count_done.
8950         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8951         empty_cycle.  Rewrite the code counting HW watchpoints.
8952
8953 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8954
8955         * gdb.reverse/fstatat-reverse.c: New test.
8956         * gdb.reverse/fstatat-reverse.exp: New file.
8957         * gdb.reverse/getresuid-reverse.c: New test.
8958         * gdb.reverse/getresuid-reverse.exp: New file.
8959         * gdb.reverse/pipe-reverse.c: New test.
8960         * gdb.reverse/pipe-reverse.exp: New file.
8961         * gdb.reverse/readv-reverse.c: New test.
8962         * gdb.reverse/readv-reverse.exp: New file.
8963         * gdb.reverse/recvmsg-reverse.c: New test.
8964         * gdb.reverse/recvmsg-reverse.exp: New file.
8965         * gdb.reverse/time-reverse.c: New test.
8966         * gdb.reverse/time-reverse.exp: New file.
8967         * gdb.reverse/waitpid-reverse.c: New test.
8968         * gdb.reverse/waitpid-reverse.exp: New file.
8969
8970 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8971
8972         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8973
8974 2015-10-26  Doug Evans  <dje@google.com>
8975
8976         PR symtab/17391
8977         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8978         * gdb.dwarf2/bad-regnum.c: New file.
8979         * gdb.dwarf2/bad-regnum.exp: New file.
8980
8981 2015-10-26  Doug Evans  <dje@google.com>
8982
8983         PR python/18938
8984         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8985         file.
8986
8987 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8988
8989         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8990         for a change by "Mention language in compile error message".
8991
8992 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8993
8994         PR python/18073
8995         * gdb.python/py-type.c (C::a_method): New.
8996         (C::a_const_method): New.
8997         (C::a_static_method): New.
8998         (a_function): New.
8999         * gdb.python/py-type.exp (test_fields): Test getting fields
9000         from function and method.
9001
9002 2015-10-21  Keven Boell  <keven.boell@intel.com>
9003
9004         * gdb.fortran/vla-alloc-assoc.exp: New file.
9005         * gdb.fortran/vla-datatypes.exp: New file.
9006         * gdb.fortran/vla-datatypes.f90: New file.
9007         * gdb.fortran/vla-history.exp: New file.
9008         * gdb.fortran/vla-ptype-sub.exp: New file.
9009         * gdb.fortran/vla-ptype.exp: New file.
9010         * gdb.fortran/vla-sizeof.exp: New file.
9011         * gdb.fortran/vla-sub.f90: New file.
9012         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9013         * gdb.fortran/vla-value-sub-finish.exp: New file.
9014         * gdb.fortran/vla-value-sub.exp: New file.
9015         * gdb.fortran/vla-value.exp: New file.
9016         * gdb.fortran/vla-ptr-info.exp: New file.
9017         * gdb.mi/mi-vla-fortran.exp: New file.
9018         * gdb.mi/vla.f90: New file.
9019
9020 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
9021
9022         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9023         of hardwired timeout value.
9024
9025 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9026             Pedro Alves  <palves@redhat.com>
9027
9028         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9029         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9030
9031 2015-10-19  Josh Stone  <jistone@redhat.com>
9032
9033         * gdb.base/catch-syscall.c: Include <sched.h>.
9034         (unknown_syscall): New variable.
9035         (main): Trigger a vfork and an unknown syscall.
9036         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9037         (unknown_syscall_number): Likewise.
9038         (check_call_to_syscall): Accept an optional syscall pattern.
9039         (check_return_from_syscall): Likewise.
9040         (check_continue): Likewise.
9041         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9042         (test_catch_syscall_skipping_return): New test toggling off 'catch
9043         syscall' to step over the syscall return, then toggling back on.
9044         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9045         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9046         (do_syscall_tests): Call test_catch_syscall_without_args and
9047         test_catch_syscall_mid_vfork.
9048         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9049         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9050
9051 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9052
9053         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9054         print g_vE): Add new pass patterns.
9055         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9056         print various symbol names for vptr fields.
9057
9058 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9059
9060         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9061         results.
9062
9063 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9064
9065         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9066
9067 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9068
9069         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9070         is aarch64*-*-linux*.
9071
9072 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9073
9074         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9075         (can_relocate_bcond_true): ... it.
9076         (can_relocate_bcond_false): New function.
9077         (foo): Likewise.
9078         (can_relocate_bl): Likewise.
9079         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9080         can_relocate_bl.
9081
9082 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9083
9084         * gdb.base/nested-addr.c: New file.
9085         * gdb.base/nested-addr.exp: New testcase.
9086
9087 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9088
9089         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9090         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9091         its output.  Ignore the output of "record goto begin" and instead
9092         check that GDB is replaying.
9093
9094 2015-10-09  Pedro Alves  <palves@redhat.com>
9095
9096         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9097         (top level): Use it in the run with no args test.
9098
9099 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9100
9101         * gdb.dlang/properties.exp: New file.
9102
9103 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9104
9105         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9106         whether or not address 0x1000 is mapped on the target.
9107
9108 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9109
9110         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9111         build.
9112
9113 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9114
9115         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9116         instruction-history test.
9117
9118 2015-09-28  Doug Evans  <dje@google.com>
9119
9120         * gdb.base/gcore.c (array_func): Add reference to static_array.
9121
9122 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9123
9124         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9125         source line.
9126
9127 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9128
9129         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9130         short or char as base type.
9131
9132 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9133
9134         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9135         to allow any size enum.
9136
9137 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9138
9139         * gdb.ada/array_ptr_renaming.exp: New testcase.
9140         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9141         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9142
9143 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9144
9145         * gdb.trace/ftrace-lock.c: New file.
9146         * gdb.trace/ftrace-lock.exp: New file.
9147
9148 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9149
9150         * gdb.arch/insn-reloc.c: New file.
9151         * gdb.arch/ftrace-insn-reloc.exp: New file.
9152
9153 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9154
9155         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9156         instruction.
9157         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9158         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9159         * gdb.trace/range-stepping.c: Likewise.
9160         * gdb.trace/trace-break.c: Likewise.
9161         * gdb.trace/trace-mt.c (thread_function): Likewise.
9162         * gdb.trace/ftrace.c (marker): Likewise.
9163         * gdb.trace/trace-condition.c (marker): Likewise.
9164         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9165         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9166         is_aarch64_target.
9167
9168 2015-09-18  Doug Evans  <xdje42@gmail.com>
9169
9170         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9171         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9172
9173 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9174
9175         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9176         the breakpoint.
9177
9178 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9179
9180         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9181         the pending breakpoint.  Remove timeout override for "Run till
9182         MI pending breakpoint on pendfunc3 on thread 2" test.
9183
9184 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9185
9186         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9187         filename pattern.
9188
9189 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9190
9191         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9192         in breakpoint filename pattern.
9193
9194 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9195
9196         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9197
9198 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9199
9200         * gdb.linespec/explicit.exp: Check for readline support for
9201         tab-completion tests.  Fix obvious typo.
9202
9203 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9204
9205         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9206         and replay.
9207
9208 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9209
9210         * gdb.btrace/non-stop.c: New.
9211         * gdb.btrace/non-stop.exp: New.
9212
9213 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9214             Yao Qi  <yao.qi@linaro.org>
9215
9216         * gdb.trace/trace-condition.c: New file.
9217         * gdb.trace/trace-condition.exp: New file.
9218
9219 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9220
9221         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9222         for testing bytecode compilation.
9223
9224 2015-09-16  Pedro Alves  <palves@redhat.com>
9225             Sandra Loosemore <sandra@codesourcery.com>
9226
9227         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9228         (SECONDS): Redefine.
9229         (main): Call pthread_kill and alarm early.
9230         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9231         support.
9232         (test): If the target can't hardware step and doesn't support
9233         displaced stepping, increase the timeout.
9234
9235 2015-09-16  Pedro Alves  <palves@redhat.com>
9236
9237         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9238         (enable_debug): New procedures.
9239         (test): Use them.  Bail out if waiting for threads fails.
9240         (top level): Bail out if a test fails.
9241
9242 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9243
9244         * gdb.asm/asm-source.exp: Set asm-arch for
9245         aarch64*-*-* target.
9246         * gdb.asm/aarch64.inc: New file.
9247
9248 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9249
9250         * gdb.ada/array_of_variable_length.exp: New testcase.
9251         * gdb.ada/array_of_variable_length/foo.adb: New file.
9252         * gdb.ada/array_of_variable_length/pck.adb: New file.
9253         * gdb.ada/array_of_variable_length/pck.ads: New file.
9254
9255 2015-09-15  Doug Evans  <dje@google.com>
9256
9257         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9258         of function static local variable.
9259
9260 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9261
9262         * gdb.threads/tls-so_extern.exp: New test file.
9263         * gdb.threads/tls-so_extern.c: New test file.
9264         * gdb.threads/tls-so_extern_main.c: New test file.
9265
9266 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9267
9268         * gdb.opt/solib-intra-step-lib.c: New file.
9269         * gdb.opt/solib-intra-step-main.c: New file.
9270         * gdb.opt/solib-intra-step.exp: New file.
9271
9272 2015-09-15  Pedro Alves  <palves@redhat.com>
9273
9274         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9275         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9276
9277 2015-09-14  Pedro Alves  <palves@redhat.com>
9278
9279         * gdb.base/hook-stop-continue.c: Delete.
9280         * gdb.base/hook-stop-continue.exp: Delete.
9281         * gdb.base/hook-stop-frame.c: Delete.
9282         * gdb.base/hook-stop-frame.exp: Delete.
9283         * gdb.base/hook-stop.c: New file.
9284         * gdb.base/hook-stop.exp: New file.
9285
9286 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9287
9288         * gdb.ada/access_to_packed_array.exp: New testcase.
9289         * gdb.ada/access_to_packed_array/foo.adb: New file.
9290         * gdb.ada/access_to_packed_array/pack.adb: New file.
9291         * gdb.ada/access_to_packed_array/pack.ads: New file.
9292
9293 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9294
9295         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9296         buffer size test.
9297
9298 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9299
9300         * gdb.base/foll-exec.c: Add copyright header.  Fix
9301         formatting issues.
9302         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9303         (do_exec_tests): Use clean_restart in place of zap_session,
9304         and for test initialization.  Fix formatting issues.  Use
9305         fail in place of perror.
9306         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9307         an expect statement to match an expression with output from
9308         the program under debug.
9309         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9310         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9311         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9312         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9313         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9314
9315 2015-09-09  Doug Evans  <dje@google.com>
9316
9317         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9318
9319 2015-09-09  Doug Evans  <dje@google.com>
9320
9321         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9322
9323 2015-09-09  Doug Evans  <dje@google.com>
9324
9325         * gdb.base/savedregs.exp: Fix typo.
9326
9327 2015-09-09  Pedro Alves  <palves@redhat.com>
9328
9329         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9330
9331 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9332
9333         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9334         command actually switches threads.  Give up on remaining
9335         tests if target fails to stop at breakpoint.
9336
9337 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9338
9339         * gdb.ada/funcall_char.exp: New testcase.
9340         * gdb.ada/funcall_char/foo.adb: New file.
9341
9342 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9343
9344         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9345         expected outputs.  Add two testcases for completing ambiguous
9346         functions.
9347         * gdb.ada/complete/aux_pck.adb: New file.
9348         * gdb.ada/complete/aux_pck.ads: New file.
9349         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9350         Ambiguous_Func functions.
9351         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9352         * gdb.ada/complete/pck.adb: Likewise.
9353
9354 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9355
9356         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9357         failures to run the test program under GDB.
9358
9359 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9360
9361         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9362         to C.
9363
9364 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9365
9366         * gdb.base/run-after-attach.exp: New test file.
9367         * gdb.base/run-after-attach.c: New test file.
9368
9369 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9370
9371         * gdb.base/foll-exec-2.c: New test program.
9372         * gdb.base/foll-exec-2.exp: New test.
9373
9374 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9375
9376         * gdb.base/nested-subp1.exp: New file.
9377         * gdb.base/nested-subp1.c: New file.
9378         * gdb.base/nested-subp2.exp: New file.
9379         * gdb.base/nested-subp2.c: New file.
9380         * gdb.base/nested-subp3.exp: New file.
9381         * gdb.base/nested-subp3.c: New file.
9382
9383 2015-08-24  Pedro Alves  <palves@redhat.com>
9384
9385         * gdb.server/connect-without-multi-process.c: New file.
9386         * gdb.server/connect-without-multi-process.exp: New file.
9387
9388 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9389
9390         * gdb.opt/inline-markers.c: Make z int.
9391
9392 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9393
9394         * gdb.opt/inline-markers.c: Make z volatile.
9395
9396 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9397
9398         * gdb.opt/inline-bt.c: New volatile global z.
9399         * gdb.opt/inline-cmds.c: Likewise.
9400         * gdb.opt/inline-locals.c: Likewise.
9401         * gdb.opt/inline-markers.c: New extern global z.
9402         (marker): Use z.
9403         (inline_fn): Likewise.
9404
9405 2015-08-24  Pedro Alves  <palves@redhat.com>
9406
9407         * config/m32r-stub.exp: Remove file.
9408         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9409         * gdb.base/call-rt-st.exp: Likewise.
9410         * gdb.base/call-strs.exp: Likewise.
9411         * gdb.base/default.exp: Remove references to h8300-*-hms and
9412         *-*-udi*.
9413         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9414
9415 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9416
9417         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9418         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9419         and "return" use KFAIL when GDB can not read/write the vector
9420         return value.
9421
9422 2015-08-21  Gary Benson <gbenson@redhat.com>
9423
9424         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9425
9426 2015-08-20  Pedro Alves  <palves@redhat.com>
9427
9428         * gdb.server/solib-list.exp: No longer expect an interior stop in
9429         non-stop mode.
9430
9431 2015-08-20  Pedro Alves  <palves@redhat.com>
9432
9433         * gdb.server/connect-stopped-target.c: New file.
9434         * gdb.server/connect-stopped-target.exp: New file.
9435
9436 2015-08-20  Pedro Alves  <palves@redhat.com>
9437
9438         * gdb.dwarf2/comp-unit-lang.exp: New file.
9439         * gdb.dwarf2/comp-unit-lang.c: New file.
9440
9441 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9442
9443         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9444         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9445
9446 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9447
9448         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9449         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9450
9451 2015-08-18  Doug Evans  <dje@google.com>
9452             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9453
9454         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9455         skip_python_tests.  New arg prompt_regexp.
9456         (skip_python_tests): New function.
9457         * lib/mi-support.exp (mi_skip_python_tests): New function.
9458         * gdb.python/py-mi-objfile-gdb.py: New file.
9459         * gdb.python/py-mi-objfile.c: New file.
9460         * gdb.python/py-mi-objfile.exp: New file.
9461
9462 2015-08-17  Keith Seitz  <keiths@redhat.com>
9463
9464         * gdb.linespec/explicit.exp: Move strace test from here ...
9465         * gdb.trace/strace.exp: ... to here.
9466
9467 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9468
9469         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9470         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9471
9472 2015-08-14  Doug Evans  <xdje42@gmail.com>
9473
9474         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9475         inferior before selecting a new file.
9476
9477 2015-08-14  Doug Evans  <xdje42@gmail.com>
9478
9479         * gdb.mi/mi-disassemble.exp: Update.
9480         * gdb.base/disasm-optim.S: New file.
9481         * gdb.base/disasm-optim.c: New file.
9482         * gdb.base/disasm-optim.h: New file.
9483         * gdb.base/disasm-optim.exp: New file.
9484
9485 2015-08-14  Keith Seitz  <keiths@redhat.com>
9486
9487         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9488         "evaluated-by".
9489
9490 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9491
9492         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9493
9494 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9495
9496         * gdb.ada/fun_renaming.exp: New testcase.
9497         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9498         * gdb.ada/fun_renaming/pack.adb: New file.
9499         * gdb.ada/fun_renaming/pack.ads: New file.
9500
9501 2015-08-12  Keith Seitz  <keiths@redhat.com>
9502
9503         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9504         gdb_get_line_number.
9505
9506 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9507
9508         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9509         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9510         gdb.base/dso2dso.exp: New files.
9511
9512 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9513             Pedro Alves  <palves@redhat.com>
9514             Keith Seitz  <keiths@redhat.com>
9515
9516         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9517         GDBFLAGS.
9518
9519 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9520
9521         * gdb.base/gdbhistsize-history.exp
9522         (test_histsize_history_setting): Use save_vars.
9523         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9524         Use save_vars.
9525         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9526         * gdb.base/readline.exp: Use save_vars.
9527
9528 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9529
9530         * lib/gdb.exp (save_vars): New proc.
9531
9532 2015-08-11  Keith Seitz  <keiths@redhat.com>
9533
9534         * gdb.base/help.exp: Update help_breakpoint_text.
9535
9536 2015-08-11  Keith Seitz  <keiths@redhat.com>
9537
9538         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9539         (at toplevel): Call test_explicit_breakpoints.
9540         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9541         breakpoints.
9542         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9543         breakpoint conditions, "-cond".
9544
9545 2015-08-11  Keith Seitz  <keiths@redhat.com>
9546
9547         * gdb.linespec/3explicit.c: New file.
9548         * gdb.linespec/cpexplicit.cc: New file.
9549         * gdb.linespec/cpexplicit.exp: New file.
9550         * gdb.linespec/explicit.c: New file.
9551         * gdb.linespec/explicit.exp: New file.
9552         * gdb.linespec/explicit2.c: New file.
9553         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9554         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9555         before using in the matching pattern.
9556         Clarify that `prefix' is a regular expression.
9557
9558 2015-08-11  Keith Seitz  <keiths@redhat.com>
9559
9560         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9561         test.
9562         Add tests for missing ",FMT" and ",".
9563
9564 2015-08-10  Doug Evans  <dje@google.com>
9565             Keith Seitz  <keiths@redhat.com>
9566
9567         PR gdb/17960
9568         * gdb.base/completion.exp: Add location completer tests.
9569
9570 2015-08-07  Pedro Alves  <palves@redhat.com>
9571
9572         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9573         tests here.
9574         (top level): Run do_test with and without displaced stepping.
9575
9576 2015-08-07  Pedro Alves  <palves@redhat.com>
9577
9578         * gdb.base/valgrind-disp-step.c: New file.
9579         * gdb.base/valgrind-disp-step.exp: New file.
9580
9581 2015-08-07  Pedro Alves  <palves@redhat.com>
9582
9583         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9584         Delete function.
9585         (main): Add alarm.  Run an infinite loop instead of calling
9586         wait_threads.
9587         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9588         comment.
9589         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9590         Delete function.
9591         (main): Add alarm.  Run an infinite loop instead of calling
9592         wait_threads.
9593         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9594         comment.
9595
9596 2015-08-07  Pedro Alves  <palves@redhat.com>
9597
9598         * gdb.base/checkpoint-ns.exp: New file.
9599         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9600         standard_testfile.
9601
9602 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9603
9604         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9605         * gdb.btrace/instruction_history.exp: Update.
9606         * gdb.btrace/tsx.exp: New.
9607         * gdb.btrace/tsx.c: New.
9608
9609 2015-08-06  Pedro Alves <palves@redhat.com>
9610
9611         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9612         increase timeout.
9613         * gdb.reverse/until-precsave.exp: Bump timeouts.
9614
9615 2015-08-06  Pedro Alves  <palves@redhat.com>
9616
9617         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9618
9619 2015-08-06  Pedro Alves  <palves@redhat.com>
9620
9621         PR gdb/18749
9622         * gdb.threads/process-dies-while-handling-bp.c: New file.
9623         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9624
9625 2015-08-06  Pedro Alves  <palves@redhat.com>
9626
9627         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9628         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9629
9630 2015-08-05  Pedro Alves  <palves@redhat.com>
9631
9632         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9633         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9634
9635 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9636
9637         * gdb.base/bp-permanent.exp: Report test as unsupported if
9638         the target cannot stop at the permanent breakpoint.
9639
9640 2015-08-03  Doug Evans  <dje@google.com>
9641
9642         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9643         10000.
9644
9645 2015-08-03  Doug Evans  <dje@google.com>
9646
9647         * Makefile.in (workers/%.worker, build-perf): New rule.
9648         (GDB_PERFTEST_MODE): New variable.
9649         (check-perf): Use it.
9650         (clean): Clean up gdb.perf parallel build subdirs.
9651         * lib/build-piece.exp: New file.
9652         * lib/gdb.exp (make_gdb_parallel_path): New function
9653         (standard_output_file, standard_temp_file): Call it.
9654         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9655         of $GDB_PARALLEL.
9656         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9657
9658 2015-08-03  Doug Evans  <dje@google.com>
9659
9660         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9661         (LOG_FILE_NAME): New global.
9662         (TextReporter.__init__): Initialize self.txt_sum.
9663         (TextReporter.report): Add support for multiple data-points.
9664         Move report to perftest.sum, put raw data in perftest.log.
9665         (TextReporter.start): Open sum and log files.
9666         (TextReporter.end): Close sum and log files.
9667         * gdb.perf/lib/perftest/testresult.py
9668         (SingleStatisticTestResult.record): Handle multiple data-points.
9669
9670 2015-07-31  Pedro Alves  <palves@redhat.com>
9671
9672         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9673         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9674         kill_wait_spawned_process instead of explicit "kill -9".
9675         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9676         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9677         kill_wait_spawned_process.
9678         * gdb.base/attach-twice.exp: Likewise.
9679         * gdb.base/attach.exp: Likewise.
9680         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9681         gdb_test_multiple.
9682         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9683         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9684         kill_wait_spawned_process.
9685         * gdb.base/valgrind-infcall.exp: Likewise.
9686         * gdb.multi/multi-attach.exp: Likewise.
9687         * gdb.python/py-prompt.exp: Likewise.
9688         * gdb.python/py-sync-interp.exp: Likewise.
9689         * gdb.server/ext-attach.exp: Likewise.
9690         * gdb.threads/attach-into-signal.exp (corefunc): Use
9691         spawn_wait_for_attach, spawn_id_get_pid and
9692         kill_wait_spawned_process.
9693         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9694         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9695         spawn_id_get_pid and kill_wait_spawned_process.
9696         * gdb.threads/attach-stopped.exp (corefunc): Use
9697         spawn_wait_for_attach, spawn_id_get_pid and
9698         kill_wait_spawned_process.
9699         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9700         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9701         kill_wait_spawned_process instead of explicit "kill -9".
9702         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9703         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9704         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9705         processes.  Don't map cygwin/windows pids here.  Now returns a
9706         spawn id list.
9707
9708 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9709
9710         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9711         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9712         correct patch.
9713
9714 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9715
9716         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9717
9718 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9719
9720         Reapply:
9721         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9722
9723         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9724
9725 2015-07-30  Pedro Alves  <palves@redhat.com>
9726
9727         * linux-low.c (handle_extended_wait): Set the child's last
9728         reported status to TARGET_WAITKIND_STOPPED.
9729
9730 2015-07-30  Pedro Alves  <palves@redhat.com>
9731
9732         PR threads/18600
9733         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9734         only shows inferior 1.
9735
9736 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9737             Pedro Alves  <palves@redhat.com>
9738
9739         PR threads/18600
9740         * gdb.threads/fork-plus-threads.c: New file.
9741         * gdb.threads/fork-plus-threads.exp: New file.
9742
9743 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9744
9745         * gdb.base/batch-preserve-term-settings.exp
9746         (test_terminal_settings_preserved_after_cli_exit): Use
9747         send_quit_command.
9748
9749 2015-07-29  Pedro Alves  <palves@redhat.com>
9750             Don Breazeal  <donb@codesourcery.com>
9751
9752         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9753         output from both inferior_spawn_id and gdb_spawn_id.
9754
9755 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9756
9757         * gdb.threads/attach-into-signal.exp (corefunc): Use
9758         with_test_prefix on nested loops, uniquefying the test messages.
9759
9760 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9761
9762         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9763         commit.
9764
9765 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9766
9767         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9768         New proc.
9769         (test_terminal_settings_preserved_after_sigterm): New test.
9770
9771 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9772
9773         * gdb.base/batch-preserve-term-settings.exp
9774         (test_terminal_settings_preserved_after_cli_exit): New test.
9775
9776 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9777
9778         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9779         manipulation of saved_gdbflags.
9780         (test_terminal_settings_preserved): Remove global declaration of
9781         the unused variable pagination_prompt.  Remove manipulation of
9782         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9783         GDBFLAGS.
9784
9785 2015-07-29  Pedro Alves  <palves@redhat.com>
9786
9787         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9788
9789 2015-07-29  Pedro Alves  <palves@redhat.com>
9790
9791         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9792         at the top.
9793
9794 2015-07-29  Pedro Alves  <palves@redhat.com>
9795
9796         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9797         (main): Call gdb_unbuffer_output.
9798         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9799         (main): Call gdb_unbuffer_output.
9800         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9801         (main): Call gdb_unbuffer_output.
9802         * gdb.base/call-strs.exp: Adjust to step over the
9803         gdb_unbuffer_output call.
9804         * gdb.base/catch-gdb-caused-signals.c: Include
9805         "../lib/unbuffer_output.c".
9806         (main): Call gdb_unbuffer_output.
9807         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9808         (main): Call gdb_unbuffer_output.
9809         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9810         (main): Call gdb_unbuffer_output.
9811         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9812         (main): Call gdb_unbuffer_output.
9813         * gdb.base/shlib-call.exp: Adjust to step over the
9814         gdb_unbuffer_output call.
9815         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9816         (main): Call gdb_unbuffer_output.
9817         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9818         (main): Call gdb_unbuffer_output.
9819         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9820         (main): Rename to ...
9821         (test): ... this.
9822         (main): Reimplement.
9823         * gdb.base/varargs.exp: Run to test instead of to main.
9824         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9825         (main): Call gdb_unbuffer_output.
9826
9827 2015-07-29  Pedro Alves  <palves@redhat.com>
9828
9829         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9830         factore out from mi_continue_dprintf.  For call-style dprintfs,
9831         expect dprintf output out of $inferior_spawn_id.
9832         (mi_continue_dprintf): Use mi_expect_dprintf.
9833         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9834         (main): Call gdb_unbuffer_output.
9835
9836 2015-07-29  Pedro Alves  <palves@redhat.com>
9837
9838         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9839         (default_mi_gdb_start): Set inferior_spawn_id instead of
9840         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9841         gdb_spawn_id.
9842         (mi_gdb_test): Always expect inferior output from both
9843         $inferior_spawn_id and $gdb_spawn_id.
9844
9845 2015-07-29  Pedro Alves  <palves@redhat.com>
9846
9847         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9848         send_inferior and $inferior_spawn_id.
9849
9850 2015-07-29  Pedro Alves  <palves@redhat.com>
9851
9852         * gdb.gdb/complaints.exp (test_initial_complaints)
9853         (test_serial_complaints, test_short_complaints): Use
9854         gdb_test_stdio.
9855         (test_empty_complaint): Handle $inferior_spawn_id !=
9856         $gdb_spawn_id.
9857
9858 2015-07-29  Pedro Alves  <palves@redhat.com>
9859
9860         * gdb.base/varargs.exp: Use gdb_test_stdio.
9861
9862 2015-07-29  Pedro Alves  <palves@redhat.com>
9863
9864         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9865
9866 2015-07-29  Pedro Alves  <palves@redhat.com>
9867
9868         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9869
9870 2015-07-29  Pedro Alves  <palves@redhat.com>
9871
9872         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9873         parameter into two new parameters, "inf_result" and "gdb_result".
9874         Expect inferior output and gdb output from $inferior_spawn_id and
9875         $gdb_spawn_id, respectively.  Adjust all callers.
9876
9877 2015-07-29  Pedro Alves  <palves@redhat.com>
9878
9879         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9880         of gdb_test_sequence.
9881
9882 2015-07-29  Pedro Alves  <palves@redhat.com>
9883
9884         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9885         (saw_spurious_output): Expect inferior output from
9886         $inferior_spawn_id.  Use gdb_test_stdio.
9887
9888 2015-07-29  Pedro Alves  <palves@redhat.com>
9889
9890         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9891         prepare_for_testing call.
9892         (srcfile): Don't set.
9893         (restart): New procedure.
9894         (test_dprintf): New procecure, use to continue over dprintfs.
9895         (test_call, test_agent): New procedures, tests moved here.
9896         Restart gdb and recreate dprintfs.  Adjust expected output.
9897
9898 2015-07-29  Pedro Alves  <palves@redhat.com>
9899
9900         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9901
9902 2015-07-29  Pedro Alves  <palves@redhat.com>
9903
9904         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9905
9906 2015-07-29  Pedro Alves  <palves@redhat.com>
9907
9908         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9909         gdb_test_stdio.
9910
9911 2015-07-29  Pedro Alves  <palves@redhat.com>
9912
9913         * lib/gdb.exp (gdb_test_stdio): New procedure.
9914
9915 2015-07-29  Pedro Alves  <palves@redhat.com>
9916
9917         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9918
9919 2015-07-29  Pedro Alves  <palves@redhat.com>
9920
9921         * gdb.base/call-signal-resume.exp: Remove check for
9922         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9923         * gdb.base/unwindonsignal.exp: Likewise.
9924         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9925         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9926
9927 2015-07-29  Pedro Alves  <palves@redhat.com>
9928
9929         * gdb.base/siginfo-addr.c (pass): New function.
9930         (handler): Call it iff si_addr is correct.
9931         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9932         Set a breakpoint at "pass" and continue to it.
9933
9934 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9935
9936         * gdb.python/py-objfile.exp: Make some tests have unique names.
9937         * gdb.python/py-pp-registration.exp: Likewise.
9938
9939 2015-07-28  Pedro Alves  <palves@redhat.com>
9940
9941         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9942
9943 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9944
9945         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9946
9947 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9948
9949         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9950
9951 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9952
9953         * gdb.base/gdb-sigterm-2.exp: New test.
9954
9955 2015-07-25  Doug Evans  <xdje42@gmail.com>
9956
9957         Revert:
9958         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9959         (workers/%.worker, build-perf): New rule.
9960         (GDB_PERFTEST_MODE): New variable.
9961         (check-perf): Use it.
9962         (clean): Clean up gdb.perf parallel build subdirs.
9963         * lib/build-piece.exp: New file.
9964         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9965         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9966         name.
9967         (standard_temp_file): Ditto.
9968         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9969         of $GDB_PARALLEL.
9970
9971 2015-07-24  Doug Evans  <dje@google.com>
9972
9973         * gdb.perf/lib/perftest/utils.py: New file.
9974         * gdb.perf/gm-hello.cc: New file.
9975         * gdb.perf/gm-pervasive-typedef.cc: New file.
9976         * gdb.perf/gm-pervasive-typedef.h: New file.
9977         * gdb.perf/gm-std.cc: New file.
9978         * gdb.perf/gm-std.h: New file.
9979         * gdb.perf/gm-use-cerr.cc: New file.
9980         * gdb.perf/gm-utils.h: New file.
9981         * gdb.perf/gmonster-null-lookup.py: New file.
9982         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9983         * gdb.perf/gmonster-print-cerr.py: New file.
9984         * gdb.perf/gmonster-ptype-string.py: New file.
9985         * gdb.perf/gmonster-runto-main.py: New file.
9986         * gdb.perf/gmonster-select-file.py: New file.
9987         * gdb.perf/gmonster1-null-lookup.exp: New file.
9988         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9989         * gdb.perf/gmonster1-print-cerr.exp: New file.
9990         * gdb.perf/gmonster1-ptype-string.exp: New file.
9991         * gdb.perf/gmonster1-runto-main.exp: New file.
9992         * gdb.perf/gmonster1-select-file.exp: New file.
9993         * gdb.perf/gmonster1.cc: New file.
9994         * gdb.perf/gmonster1.exp: New file.
9995         * gdb.perf/gmonster2-null-lookup.exp: New file.
9996         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9997         * gdb.perf/gmonster2-print-cerr.exp: New file.
9998         * gdb.perf/gmonster2-ptype-string.exp: New file.
9999         * gdb.perf/gmonster2-runto-main.exp: New file.
10000         * gdb.perf/gmonster2-select-file.exp: New file.
10001         * gdb.perf/gmonster2.cc: New file.
10002         * gdb.perf/gmonster2.exp: New file.
10003
10004 2015-07-24  Doug Evans  <dje@google.com>
10005
10006         * gdb.perf/README: New file.
10007         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10008         * lib/gen-perf-test.exp: New file.
10009
10010 2015-07-24  Doug Evans  <dje@google.com>
10011
10012         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10013         (PerfTest::startup): New function.
10014         (PerfTest::run): Return result of calling body.
10015         (PerfTest::assemble): Rewrite.
10016         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10017         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10018         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10019         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10020         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10021
10022 2015-07-24  Doug Evans  <dje@google.com>
10023
10024         * lib/gdb.exp (clean_restart): Make executable optional.
10025
10026 2015-07-24  Doug Evans  <dje@google.com>
10027
10028         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10029         compiler_info references.
10030         * gdb.cp/temargs.exp: Ditto.
10031         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10032         (get_compiler_info): Early exit if already computed.  Set compiler_info
10033         to "unknown" if there was a problem.
10034         (test_compiler_info): Add function comment.  Call get_compiler_info.
10035
10036 2015-07-24  Doug Evans  <dje@google.com>
10037
10038         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10039         (workers/%.worker, build-perf): New rule.
10040         (GDB_PERFTEST_MODE): New variable.
10041         (check-perf): Use it.
10042         (clean): Clean up gdb.perf parallel build subdirs.
10043         * lib/build-piece.exp: New file.
10044         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10045         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10046         name.
10047         (standard_temp_file): Ditto.
10048         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10049         of $GDB_PARALLEL.
10050
10051 2015-07-24  Doug Evans  <dje@google.com>
10052
10053         * lib/future.exp (gdb_default_target_compile): New option
10054         "early_flags".
10055         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10056         --as-needed.
10057
10058 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10059
10060         * gdb.base/catch-syscall.exp: Call gdb_exit before
10061         gdb_skip_xml_test.
10062
10063 2015-07-24  Pedro Alves  <palves@redhat.com>
10064
10065         * gdb.python/py-events.exp: Accept output between the stop event
10066         and the prompt.
10067         * gdb.python/py-evsignal.exp: Likewise.
10068         * gdb.python/py-evthreads.exp: Likewise.
10069
10070 2015-07-24  Pedro Alves  <palves@redhat.com>
10071
10072         PR gdb/18717
10073         * gdb.threads/non-ldr-exit.c: New file.
10074         * gdb.threads/non-ldr-exit.exp: New file.
10075
10076 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10077
10078         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10079         restarting process.
10080
10081 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10082
10083         * gdb.server/ext-restart.exp: New file.
10084
10085 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10086
10087         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10088         argument options.
10089         * gdb.server/ext-wrapper.exp: New file.
10090
10091 2015-07-23  Doug Evans  <dje@google.com>
10092
10093         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10094         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10095
10096 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10097
10098         * gdb.ada/var_arr_typedef.exp: New testcase.
10099         * gdb.ada/var_arr_typedef/pack.adb: New file.
10100         * gdb.ada/var_arr_typedef/pack.ads: New file.
10101         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10102
10103 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10104
10105         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10106
10107 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10108
10109         * gdb.arch/i386-biarch-core.exp: Replace istarget
10110         by "complete set gnutarget". Remove expectation for the "core-file"
10111         command.
10112
10113 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10114
10115         Revert the previous commit:
10116         Tests for validate symbol file using build-id.
10117
10118 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10119
10120         Tests for validate symbol file using build-id.
10121         * gdb.base/solib-mismatch-lib.c: New file.
10122         * gdb.base/solib-mismatch-libmod.c: New file.
10123         * gdb.base/solib-mismatch.c: New file.
10124         * gdb.base/solib-mismatch.exp: New file.
10125
10126 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10127
10128         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10129         nios2-*-linux*.
10130         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10131         * gdb.base/siginfo.exp: Likewise.
10132         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10133
10134 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10135
10136         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10137         Move it to ...
10138         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10139         ... here.
10140         * gdb.trace/range-stepping.exp: Check that the target supports
10141         range stepping.
10142
10143 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10144
10145         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10146
10147 2015-07-14  Pedro Alves  <palves@redhat.com>
10148
10149         * gdb.base/killed-outside.exp: New file.
10150         * gdb.base/killed-outside.c: New file.
10151
10152 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10153
10154         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10155         (n at main): New.
10156         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10157
10158 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10159
10160         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10161         infcall tests instead of setting up for KFAIL.
10162
10163 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10164
10165         * gdb.btrace/record_goto-step.exp: New.
10166
10167 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10168
10169         PR compile/18484
10170         * gdb.compile/compile.c (struct struct_type): Add volatile to
10171         selffield's type.
10172         * gdb.compile/compile.exp
10173         (compile code struct_object.selffield = &struct_object): Skip further
10174         struct_object tests if this one xfails.
10175
10176 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10177
10178         PR exp/18617
10179         * gdb.trace/ax.exp: Add test.
10180
10181 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10182
10183         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10184         instead of istarget "aarch64*-*-*".
10185         * gdb.arch/aarch64-fp.exp: Likewise.
10186         * gdb.base/float.exp: Likewise.
10187         * gdb.reverse/aarch64.exp: Likewise.
10188         * lib/gdb.exp (is_aarch64_target): New proc.
10189
10190 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10191
10192         * lib/gdb.exp (is_aarch32_target): New proc.
10193         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10194         instead of "istarget "arm*-*-*"".
10195         * gdb.arch/arm-disp-step.exp: Likewise.
10196         * gdb.arch/thumb-bx-pc.exp: Likewise.
10197         * gdb.arch/thumb-prologue.exp: Likewise.
10198         * gdb.arch/thumb-singlestep.exp: Likewise.
10199         * gdb.base/disp-step-syscall.exp: Likewise.
10200         * gdb.base/float.exp: Likewise.
10201
10202 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10203
10204         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10205         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10206
10207 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10208
10209         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10210         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10211         if it exists.
10212         * gdb.multi/multi-arch.exp: Likewise.
10213
10214 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10215
10216         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10217         print.
10218
10219 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10220
10221         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10222
10223 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10224
10225         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10226         '[' and ']' characters.
10227
10228 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10229
10230         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10231
10232 2015-06-29  Pedro Alves  <palves@redhat.com>
10233
10234         PR threads/18127
10235         * gdb.threads/hand-call-new-thread.c: New file.
10236         * gdb.threads/hand-call-new-thread.c: New file.
10237
10238 2015-06-26  Keith Seitz  <keiths@redhat.com>
10239             Doug Evans  <dje@google.com>
10240
10241         PR 16253
10242         * gdb.cp/var-tag-2.cc: New file.
10243         * gdb.cp/var-tag-3.cc: New file.
10244         * gdb.cp/var-tag-4.cc: New file.
10245         * gdb.cp/var-tag.cc: New file.
10246         * gdb.cp/var-tag.exp: New file.
10247
10248 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10249
10250         * gdb.base/history-duplicates.exp: New test.
10251
10252 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10253
10254         * gdb.base/completion.exp: Test the completion of the "focus"
10255         command.
10256
10257 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10258
10259         * gdb.arch/amd64-prologue-skip.S: New file.
10260         * gdb.arch/amd64-prologue-skip.exp: New file.
10261
10262 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10263
10264         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10265         is_address_zero_readable check.
10266
10267 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10268
10269         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10270         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10271
10272 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10273
10274         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10275         linux targets.
10276
10277 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10278
10279         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10280         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10281         * gdb.base/siginfo-thread.exp: Likewise.
10282
10283 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10284
10285         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10286
10287 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10288
10289         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10290         aarch64*-*-*.
10291         (skip_hw_watchpoint_tests): Likewise.
10292
10293 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10294
10295         * gdb.base/gdbinit-history.exp: Test the interaction between
10296         setting GDBHISTSIZE and setting the history size via .gdbinit.
10297
10298 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10299
10300         PR gdb/16999
10301         * gdb.base/gdbhistsize-history.exp: New test.
10302
10303 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10304
10305         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10306         with GDBHISTSIZE.
10307         * gdb.base/readline.exp: Likewise.
10308
10309 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10310
10311         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10312         line.
10313
10314 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10315
10316         * gdb.base/gdbinit-history.exp: Add test case to check that
10317         an unlimited history file does not get truncated on exit.
10318
10319 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10320
10321         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10322         (VECTOR): New macro.  Use it...
10323         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10324         ...for these typedefs.
10325         (int8, char1, int1, double1): New typedefs.
10326         (struct just_int2, struct two_int2): New structures.
10327         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10328         (add_structvecs, add_singlevecs): New functions.
10329         (main): Call add_some_intvecs twice.
10330         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10331         the compile and exit upon failure.  Try compiling for the "native"
10332         architecture.  Test inferior function calls with vector arguments
10333         and vector return value handling with "finish" and "return".
10334
10335 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10336
10337         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10338         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10339         PE file.
10340         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10341
10342 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10343
10344         PR breakpoints/16465
10345         * gdb.mi/mi-dprintf-pending.c: New file.
10346         * gdb.mi/mi-dprintf-pending.exp: New test.
10347         * gdb.mi/mi-dprintf-pendshr.c: New file.
10348
10349 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10350             Mircea Gherzan  <mircea.gherzan@intel.com>
10351
10352         * gdb.arch/i386-mpx-map.c: New file.
10353         * gdb.arch/i386-mpx-map.exp: New File.
10354
10355 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10356
10357         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10358         * gdb.arch/i386-mpx.exp: Indentation fixed.
10359
10360 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10361
10362         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10363         function and improved indentation.
10364         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10365         gdb_test_multiple. Added additional tests to skip the test.
10366
10367 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10368
10369         * gdb.arch/i386-avx512.c: Change path in include file.
10370         * gdb.arch/i386-avx512.exp: Change include dir path
10371         compilation flag.
10372         * gdb.arch/i386-mpx.c: Change path in include file.
10373         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10374         flag.
10375
10376 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10377
10378         * gdb.compile/compile-print.exp (compile print *vararray@3)
10379         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10380
10381 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10382
10383         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10384         (do not keep jit in memory): ... this.
10385         (expect 5): Change it to ...
10386         (expect no 5): ... this.
10387
10388 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10389
10390         PR gdb/15564
10391         * gdb.mi/mi-detach.exp: New file.
10392
10393 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10394
10395         PR symtab/18392
10396         * gdb.arch/amd64-tailcall-self.S: New file.
10397         * gdb.arch/amd64-tailcall-self.c: New file.
10398         * gdb.arch/amd64-tailcall-self.exp: New file.
10399
10400 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10401
10402         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10403         tests for remote targets by checking is_target_gdbserver.
10404
10405 2015-05-27  Doug Evans  <dje@google.com>
10406
10407         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10408         * gdb.dwarf2/opaque-type-lookup.c: New file.
10409         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10410
10411 2015-05-26  Doug Evans  <dje@google.com>
10412
10413         * gdb.cp/iostream.cc: New file.
10414         * gdb.cp/iostream.exp: New file.
10415
10416 2015-05-26  Doug Evans  <dje@google.com>
10417
10418         * gdb.dwarf2/dw2-op-call.exp: Update.
10419         * gdb.dwarf2/dw4-sig-types.exp: Update.
10420         * gdb.dwarf2/implptr.exp: Update.
10421         * gdb.mi/mi-cmd-param-changed.exp: Update.
10422
10423 2015-05-26  Doug Evans  <dje@google.com>
10424
10425         * gdb.python/py-lazy-string.c: New file.
10426         * gdb.python/py-lazy-string.exp: New file.
10427         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10428         (main): Update.  Add estring3.
10429         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10430         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10431
10432 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10433             Yao Qi  <yao.qi@linaro.org>
10434
10435         * gdb.reverse/aarch64.c: New.
10436         * gdb.reverse/aarch64.exp: New.
10437
10438 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10439
10440         * lib/gdb.exp (supports_process_record): Return true for
10441         aarch64*-linux*.
10442         (supports_reverse): Likewise.
10443
10444 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10445
10446         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10447         Use with_test_prefix.
10448
10449 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10450
10451         * gdb.base/completion.exp: Add test for completion of layout
10452         names.
10453
10454 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10455
10456         * lib/gdb.exp (skip_tui_tests): New proc.
10457         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10458
10459 2015-05-19  Pedro Alves  <palves@redhat.com>
10460
10461         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10462         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10463         the environment while testing.  Restore whole environment
10464         afterwards.
10465
10466 2015-05-16  Doug Evans  <xdje42@gmail.com>
10467
10468         * gdb.guile/scm-ports.c: New file.
10469         * gdb.guile/scm-ports.exp: Add memory port tests.
10470
10471 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10472
10473         * gdb.compile/compile-print.c: New file.
10474         * gdb.compile/compile-print.exp: New file.
10475
10476 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10477
10478         * gdb.compile/compile-ops.exp: Cast param to void.
10479         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10480         (compile code struct_object.selffield = &struct_object): Add xfail.
10481
10482 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10483
10484         * gdb.ada/arr_enum_with_gap: New testcase.
10485
10486 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10487
10488         * gdb.ada/byte_packed_arr: New testcase.
10489
10490 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10491
10492         * gdb.ada/pckd_neg: New testcase.
10493
10494 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10495
10496         PR gdb/17820
10497         * gdb.base/gdbinit-history.exp: New test.
10498         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10499         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10500
10501 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10502
10503         * gdb.python/py-xmethods.cc: Enhance test case.
10504         * gdb.python/py-xmethods.exp: New tests.
10505         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10506         function.
10507         (B_indexoper): Likewise.
10508         (global_dm_list) : Add new xmethod worker functions.
10509
10510 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10511
10512         * gdb.base/coredump-filter.exp: Correctly unset
10513         "coredump_var_addr" array.
10514
10515 2015-05-08  Pedro Alves  <palves@redhat.com>
10516
10517         * gdb.server/non-existing-program.exp: Unset spawn_id.
10518
10519 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10520
10521         PR python/18291
10522         * gdb.python/py-xmethods.exp: Add tests.
10523
10524 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10525
10526         PR gdb/18208
10527         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10528         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10529         function set_coredump_filter, and remove remote_exec call.
10530         Remove argument ipid.  Callers update.
10531         (top level): Don't get inferior's PID.
10532
10533 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10534
10535         * gdb.base/watch_thread_num.exp: Skip test on targets without
10536         access watchpoints.
10537
10538 2015-05-06  Pedro Alves  <palves@redhat.com>
10539
10540         PR server/18081
10541         * gdb.server/non-existing-program.exp: New file.
10542
10543 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10544
10545         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10546
10547 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10548
10549         * gdb.ada/out_of_line_in_inlined: New testcase.
10550
10551 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10552
10553         * gdb.ada/var_rec_arr: New testcase.
10554
10555 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10556
10557         * gdb.base/break-idempotent.exp: If
10558         skip_hw_watchpoint_multi_tests returns true, skip the tests
10559         on "rwatch" and "awatch".
10560
10561 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10562
10563         * gdb.base/relativedebug.exp: Invoke gdb command
10564         "info sharedlibrary", and if libc.so doesn't have debug info,
10565         skip the test.
10566
10567 2015-04-29  Doug Evans  <dje@google.com>
10568
10569         * gdb.python/py-xmethods.exp: Add ptype tests.
10570         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10571         get_result_type method.
10572
10573 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10574
10575         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10576         the target does not support hardware watchpoints.
10577
10578 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10579
10580         * gdb.base/break-always.exp: Abort testing if writing to memory
10581         causes an error.
10582
10583 2015-04-28  Doug Evans  <dje@google.com>
10584
10585         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10586         * gdb.python/py-pp-registration.exp: ... here.  New file.
10587         * gdb.python/py-pp-registration.c: New file.
10588         * gdb.python/py-pp-registration.py: New file.
10589
10590 2015-04-28  Doug Evans  <dje@google.com>
10591
10592         * gdb.python/py-bad-printers.c: New file.
10593         * gdb.python/py-bad-printers.py: New file.
10594         * gdb.python/py-bad-printers.exp: New file.
10595
10596 2015-04-28  Sasha Smundak  <asmundak@google.com>
10597
10598         * gdb.python/py-type.exp: New test.
10599
10600 2015-04-28  Andy Wingo  <wingo@igalia.com>
10601
10602         * gdb.python/py-parameter.exp:
10603         * gdb.guile/scm-parameter.exp: Escape the path that we are
10604         matching against, as it might contain characters that are special
10605         to regular expressions.
10606
10607 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10608
10609         * gdb.ada/rec_comp: New testcase.
10610
10611 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10612
10613         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10614         before using it.
10615
10616 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10617
10618         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10619         new tests for verilog output.
10620
10621 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10622
10623         * boards/remote-gdbserver-on-localhost.exp: New file.
10624
10625 2015-04-23  Pedro Alves  <palves@redhat.com>
10626
10627         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10628         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10629         "end of file", remove $inferior_spawn_id from the indirect list.
10630
10631 2015-04-23  Pedro Alves  <palves@redhat.com>
10632
10633         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10634
10635 2015-04-23  Pedro Alves  <palves@redhat.com>
10636
10637         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10638         on $any_spawn_id instead of only on $gdb_spawn_id.
10639
10640 2015-04-21  Pierre Muller  <muller@sourceware.org>
10641
10642         PR pascal/17815
10643         * lib/pascal.exp (gpc_compile): Add new option "class".
10644         (fpc_compile): Likewise.
10645         * gdb.pascal/case-insensitive-symbols.pas: New file.
10646         * gdb.pascal/case-insensitive-symbols.exp: New file.
10647
10648 2015-04-20  Gary Benson <gbenson@redhat.com>
10649
10650         * gdb.base/attach.exp: Fix three extended remote failures.
10651
10652 2015-04-17  Gary Benson <gbenson@redhat.com>
10653
10654         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10655         the main executable over the remote protocol.
10656
10657 2015-04-16  Pedro Alves  <palves@redhat.com>
10658
10659         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10660         a new gdbserver if gdbserver_reconnect_p is set.
10661
10662 2015-04-16  Pedro Alves  <palves@redhat.com>
10663
10664         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10665         is set, don't exit gdbserver.
10666
10667 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10668
10669         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10670         appropriate .insn, such that an older assembler can be used.
10671         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10672         the z/Architecture instruction set on 31-bit targets as well.
10673
10674 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10675
10676         * gdb.go/handcall.exp: Remove all logic related to the first
10677         breakpoint and rely on go_runto_main instead.
10678         * gdb.go/strings.exp: Likewise.
10679         * gdb.go/unsafe.exp: Likewise.
10680         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10681         breakpoint marker to "breakpoint 1".
10682         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10683         * gdb.go/strings.go: Likewise.
10684         * gdb.go/unsafe.go: Likewise.
10685         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10686         "set breakpoint 2 here" and rename the remaining breakpoint marker
10687         to "breakpoint 1".
10688
10689 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10690
10691         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10692         if itertools.imap is not present.
10693         * gdb.python/py-objfile.exp: Add parentheses.
10694         * gdb.python/py-type.exp: Same.
10695         * gdb.python/py-unwind-maint.py: Same.
10696
10697 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10698
10699         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10700         of ":$ptr_size" and set its form explicitly.
10701
10702 2015-04-15  Pedro Alves  <palves@redhat.com>
10703             Yao Qi  <yao.qi@linaro.org>
10704
10705         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10706         timeout by factor of 4.
10707         (test_regular_watch): Likewise.
10708         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10709         * gdb.reverse/sigall-reverse.exp: Likewise.
10710         * gdb.reverse/until-precsave.exp: Likewise.
10711         * lib/gdb.exp (with_timeout_factor): New proc.
10712         (gdb_expect): Move some code to ...
10713         (get_largest_timeout): ... here.  New procedure.
10714
10715 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10716
10717         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10718
10719 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10720
10721         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10722         to write to the .text section.
10723
10724 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10725
10726         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10727         Handle the case of targets that do not provide PID information.
10728
10729 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10730
10731         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10732         and use expect instead of gdb_expect.
10733
10734 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10735
10736         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10737         "coredump_var_addr" to avoid naming conflict with other testcases.
10738
10739 2015-04-10  Pedro Alves  <palves@redhat.com>
10740
10741         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10742         gdb_test_sequence and gdb_assert.
10743
10744 2015-04-10  Pedro Alves  <palves@redhat.com>
10745
10746         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10747         test messages that don't include the breakpoint address.
10748
10749 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10750
10751         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10752         false for some offset and width combinations which aren't
10753         supported by linux kernel.
10754
10755 2015-04-10  Pedro Alves  <palves@redhat.com>
10756
10757         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10758         procedure, factored out from ...
10759         (top level): ... here.  Add "set displaced-stepping" testing axis.
10760         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10761         parameter "displaced".  Use it.
10762         (top level): Use foreach and add "set displaced-stepping" testing
10763         axis.
10764
10765 2015-04-10  Pedro Alves  <palves@redhat.com>
10766
10767         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10768         Remove comment.
10769         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10770         both the address of the instruction that triggers the watchpoint
10771         and the address of the instruction immediately after, and use
10772         those addresses for the test.  Fix comment.
10773
10774 2015-04-10  Pedro Alves  <palves@redhat.com>
10775
10776         * gdb.base/sigstep.exp (breakpoint_to_handler)
10777         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10778         Test "backtrace" in handler.
10779         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10780         (top level): Add new "displaced" test axis to
10781         breakpoint_to_handler, breakpoint_to_handler_entry and
10782         breakpoint_over_handler.
10783
10784 2015-04-10  Pedro Alves  <palves@redhat.com>
10785
10786         PR gdb/18216
10787         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10788
10789 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10790
10791         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10792         (test_add_rn_pc): New function.
10793         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10794         (top level): Invoke test_add_rn_pc.
10795
10796 2015-04-10  Pedro Alves  <palves@redhat.com>
10797
10798         PR gdb/13858
10799         * gdb.base/step-over-no-symbols.exp: New file.
10800
10801 2015-04-09  Andy Wingo  <wingo@igalia.com>
10802
10803         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10804         after the Python tests.
10805
10806 2015-04-08  Keith Seitz  <keiths@redhat.com>
10807
10808         PR python/16699
10809         * gdb.python/py-completion.exp: New tests for completion.
10810         * gdb.python/py-completion.py (CompleteLimit1): New class.
10811         (CompleteLimit2): Likewise.
10812         (CompleteLimit3): Likewise.
10813         (CompleteLimit4): Likewise.
10814         (CompleteLimit5): Likewise.
10815         (CompleteLimit6): Likewise.
10816         (CompleteLimit7): Likewise.
10817
10818 2015-04-08  Pedro Alves  <palves@redhat.com>
10819
10820         PR gdb/18214
10821         PR gdb/18216
10822         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10823         function.
10824         (main): Install it as SIGUSR1 handler.
10825         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10826         parameter.  Always use "setup" as prefix.  Toggle "set
10827         displaced-stepping" off/on depending on global.  Don't switch to
10828         thread 1 here.
10829         (top level): Add displaced stepping "off/on" test axis.  Update
10830         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10831         continuing with a queued signal in each thread.
10832
10833 2015-04-08  Pedro Alves  <palves@redhat.com>
10834
10835         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10836         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10837         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10838         Return early if running to main fails.
10839         * gdb.trace/while-stepping.exp: Likewise.
10840
10841 2015-04-07  Pedro Alves  <palves@redhat.com>
10842
10843         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10844         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10845         interact with inferior program.
10846
10847 2015-04-07  Pedro Alves  <palves@redhat.com>
10848
10849         * lib/gdb.exp (inferior_spawn_id): New global.
10850         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10851         spawn id after processing the user code.
10852         (default_gdb_start): Set inferior_spawn_id.
10853         (send_inferior): New procedure.
10854         * lib/gdbserver-support.exp (gdbserver_start): Set
10855         inferior_spawn_id.
10856         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10857
10858 2015-04-07  Pedro Alves  <palves@redhat.com>
10859
10860         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10861         * lib/gdbserver-support.exp (gdbserver_start): Make
10862         $server_spawn_id global.
10863         (gdbserver_start): Don't wait for gdbserver's spawn id with
10864         expect_background.
10865         (close_gdbserver): New procedure.
10866         (gdb_exit): Rename the default version and reimplement.
10867
10868 2015-04-07  Pedro Alves  <palves@redhat.com>
10869
10870         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10871         append the substituted item, not the original item.
10872
10873 2015-04-07  Pedro Alves  <palves@redhat.com>
10874
10875         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10876         gdb_expect.
10877
10878 2015-04-07  Pedro Alves  <palves@redhat.com>
10879
10880         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10881         output appearing once only.
10882
10883 2015-04-07  Pedro Alves  <palves@redhat.com>
10884
10885         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10886         that doesn't expect anything.  Return early if running to main
10887         fails.
10888
10889 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10890
10891         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10892         (child_function): Call alarm.
10893         (main): Move call to alarm into the loop.
10894         * gdb.threads/non-stop-fair-events.exp: Build program with
10895         -DTIMEOUT=$timeout.
10896
10897 2015-04-06  Doug Evans  <xdje42@gmail.com>
10898
10899         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10900         Fix dest parameter to board_info.
10901         (fpc_compile): Ditto.
10902         (gdb_compile_pascal): Rename dest arg to destfile.
10903
10904 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10905
10906         * gdb.ada/funcall_ref.exp: New file.
10907         * gdb.ada/funcall_ref/foo.adb: New file.
10908
10909 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10910
10911         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10912         is remote.
10913
10914 2015-04-02  Gary Benson <gbenson@redhat.com>
10915
10916         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10917
10918 2015-04-01  Sasha Smundak  <asmundak@google.com>
10919
10920         * gdb.python/py-unwind-maint.c: New file.
10921         * gdb.python/py-unwind-maint.exp: New test.
10922         * gdb.python/py-unwind-maint.py: New file.
10923         * gdb.python/py-unwind.c: New file.
10924         * gdb.python/py-unwind.exp: New test.
10925         * gdb.python/py-unwind.py: New test.
10926
10927 2015-04-01  Pedro Alves  <palves@redhat.com>
10928
10929         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10930         to fail instead of non-existent $test.
10931
10932 2015-04-01  Pedro Alves  <palves@redhat.com>
10933
10934         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10935         GDBFLAGS if not empty.
10936
10937 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10938
10939         * gdb.ada/complete.exp: Remove "multi_line".
10940         * gdb.ada/info_exc.exp: Remove "multi_line".
10941         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10942         * gdb.ada/ptype_field.exp: Remove "multi_line".
10943         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10944         * gdb.ada/tagged.exp: Remove "multi_line".
10945         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10946         [multi_line ...]
10947         * gdb.btrace/delta.exp: Likewise.
10948         * gdb.btrace/exception.exp: Likewise.
10949         * gdb.btrace/function_call_history.exp: Likewise.
10950         * gdb.btrace/instruction_history.exp: Likewise.
10951         * gdb.btrace/nohist.exp: Likewise.
10952         * gdb.btrace/record_goto.exp: Likewise.
10953         * gdb.btrace/segv.exp: Likewise.
10954         * gdb.btrace/stepi.exp: Likewise.
10955         * gdb.btrace/tailcall.exp: Likewise.
10956         * gdb.btrace/unknown_functions.exp: Likewise.
10957         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10958         * lib/gdb.exp: Add the "multi_line" helper.
10959
10960 2015-04-01  Pedro Alves  <palves@redhat.com>
10961
10962         * gdb.threads/tid-reuse.c: New file.
10963         * gdb.threads/tid-reuse.exp: New file.
10964
10965 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10966
10967         PR corefiles/16092
10968         * gdb.base/coredump-filter.c: New file.
10969         * gdb.base/coredump-filter.exp: Likewise.
10970
10971 2015-03-27  Petr Machata  <pmachata@redhat.com>
10972
10973         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10974         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10975         (Dwarf::assemble): Initialize them.
10976         (Dwarf::lines): New function.
10977
10978 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10979
10980         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10981         SYMBOL_PREFIX for x86_64-*-cygwin.
10982
10983 2015-03-26  Andy Wingo  <wingo@igalia.com>
10984
10985         PR symtab/18148
10986         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10987         const_value but not a location.
10988         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10989         location defined in non-main CUs are visible.
10990
10991 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10992
10993         PR testsuite/18139
10994         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10995         Add a line number entry for the same line.
10996         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10997         Add a line number entry for the same line.
10998
10999 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11000
11001         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11002         .int 0.
11003         (func): Likewise.  Add .Lfunc_1 label.
11004         Use .Lfunc_1 label.
11005         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11006         .int 0.
11007         (func): Likewise.
11008         Use .Lfunc_1 label.
11009
11010 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11011
11012         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11013         Call gdb_compile instead to compile each .s files without debug
11014         information.
11015
11016 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11017
11018         * gdb.base/savedregs.exp (process_saved_regs): Make
11019         "Saved registers:" optional in the pattern.
11020
11021 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11022
11023         * gdb.btrace/next.exp: Merged into step.exp.
11024         * gdb.btrace/finish.exp: Merged into step.exp.
11025         * gdb.btrace/nexti.exp: Merged into stepi.exp.
11026         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
11027         "record goto" and checking the exact replay position.
11028         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
11029         check for "Recording format" in "info record" output.
11030         * gdb.btrace/record_goto.exp: Choose test file based on target.
11031         * gdb.btrace/x86-record_goto.S: Renamed into ...
11032         * gdb.btrace/x86_64-record_goto.S: ... this.
11033         * gdb.btrace/i686-record_goto.S: New.
11034         * gdb.btrace/x86-tailcall.S: Renamed into ...
11035         * gdb.btrace/x86_64-tailcall.S: ... this.
11036         * gdb.btrace/i686-tailcall.S: New.
11037         * gdb.btrace/x86-tailcall.c: Renamed into ...
11038         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
11039         separate statements.  Update test.
11040         * gdb.btrace/delta.exp: Use record_goto.c as test file.
11041         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11042         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11043         * gdb.btrace/tailcall.exp: Choose test file based on target.
11044         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11045
11046 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11047
11048         * gdb.btrace/exception.exp: Increase BTS buffer size.
11049
11050 2015-03-24  Pedro Alves  <palves@redhat.com>
11051
11052         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11053
11054 2015-03-24  Pedro Alves  <palves@redhat.com>
11055
11056         * gdb.threads/schedlock.exp (test_step): No longer expect that
11057         "set scheduler-locking step" with "next" over a function call runs
11058         threads unlocked.
11059
11060 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11061
11062         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11063
11064 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11065
11066         PR breakpoints/16466
11067         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11068         * gdb.mi/mi-pending.c (thread_func): New function.
11069         (int main): Add threading support required.
11070         * gdb.mi/mi-pending.exp: Add tests for this issue.
11071         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11072         (pendfunc2): Remove stdio dependency.
11073         * gdb.mi/mi-pendshr2.c: New file.
11074
11075 2015-03-23  Keith Seitz  <keiths@redhat.com>
11076
11077         * gdb.linespec/keywords.c: New file.
11078         * gdb.linespec/keywords.exp: New file.
11079
11080 2015-03-23  Keith Seitz  <keiths@redhat.com>
11081
11082         PR gdb/18021
11083         * gdb.dwarf2/staticvirtual.exp: New test.
11084
11085 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11086
11087         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11088         * README: Remove HP-UX and gdb.hp.
11089         (configuration):
11090         * configure: Regenerate.
11091         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11092         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11093         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11094         gdb.hp/gdb.defects/Makefile.
11095         * gdb.hp/Makefile.in: File deleted.
11096         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11097         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11098         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11099         * gdb.hp/gdb.aCC/run.c: File deleted.
11100         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11101         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11102         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11103         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11104         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11105         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11106         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11107         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11108         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11109         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11110         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11111         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11112         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11113         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11114         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11115         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11116         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11117         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11118         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11119         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11120         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11121         * gdb.hp/gdb.compat/average.c: File deleted.
11122         * gdb.hp/gdb.compat/sum.c: File deleted.
11123         * gdb.hp/gdb.compat/xdb.c: File deleted.
11124         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11125         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11126         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11127         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11128         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11129         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11130         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11131         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11132         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11133         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11134         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11135         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11136         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11137         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11138         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11139         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11140         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11141         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11142         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11143         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11144         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11145         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11146         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11147         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11148         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11149         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11150         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11151         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11152         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11153         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11154         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11155         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11156         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11157         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11158         * gdb.hp/tools/odump: File deleted.
11159
11160 2015-03-19  Pedro Alves  <palves@redhat.com>
11161
11162         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11163         (saw_thread_3): New globals.
11164         (top level): Increment them when an event for the corresponding
11165         thread is seen.
11166         (no thread starvation): New test.
11167
11168 2015-03-19  Pedro Alves  <palves@redhat.com>
11169
11170         * gdb.threads/continue-pending-status.c: New file.
11171         * gdb.threads/continue-pending-status.exp: New file.
11172
11173 2015-03-18  Pedro Alves  <palves@redhat.com>
11174
11175         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11176         Use gdb_is_target_remote instead of is_remote.  Use
11177         gdb_test_multiple instead of gdb_expect.  Exit early if
11178         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11179         expected output.  Fail on exit with any signal, instead of just
11180         SIGILL.
11181
11182 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11183
11184         PR tdep/18107
11185         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11186         variable.
11187         * gdb.base/catch-syscall.exp: Don't skip it on
11188         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11189         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11190         target.
11191         (setup_all_syscalls): New proc.
11192
11193 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11194
11195         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11196         (top level): Skip tests if valid_addr_p returns false for
11197         $cmd1 or $cmd2.
11198
11199 2015-03-11  Andy Wingo  <wingo@igalia.com>
11200
11201         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11202
11203 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11204
11205         * gdb.base/catch-syscall.exp: Fix typo in comments.
11206
11207 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11208
11209         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11210
11211 2015-03-09  Pedro Alves  <palves@redhat.com>
11212
11213         * dg-extract-results.py: Delete.
11214
11215 2015-03-09  Pedro Alves  <palves@redhat.com>
11216
11217         Merge dg-extract-results.sh from GCC upstream (r218843).
11218
11219         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11220                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11221                 binary files.  Fall back to cat -v, if that doesn't work.
11222
11223 2015-03-05  Pedro Alves  <palves@redhat.com>
11224
11225         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11226
11227 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11228
11229         * lib/mi-support.exp (mi_expect_interrupt): Accept
11230         alternative event for when in all-stop mode.
11231
11232 2015-03-04  Pedro Alves  <palves@redhat.com>
11233
11234         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11235
11236 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11237
11238         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11239
11240 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11241
11242         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11243         regexps for GDB's current line display, accept a hex address
11244         preceding the line number.
11245
11246 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11247
11248         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11249         the 'arch1' variable for "s390*-linux*" targets.
11250
11251 2015-03-04  Pedro Alves  <palves@redhat.com>
11252
11253         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11254         (main): Pass missing retval argument to pthread_join call.
11255
11256 2015-03-02  Pedro Alves  <palves@redhat.com>
11257
11258         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11259         (top level): Call do_test with non-stop as well.
11260
11261 2015-03-02  Pedro Alves  <palves@redhat.com>
11262
11263         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11264         -1.
11265
11266 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11267
11268         * gdb.arch/s390-vregs.exp: New test.
11269         * gdb.arch/s390-vregs.S: New file.
11270
11271 2015-02-27  Pedro Alves  <palves@redhat.com>
11272
11273         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11274         call to catch_command_errors.
11275         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11276         catch_command_errors.
11277
11278 2015-02-27  Pedro Alves  <palves@redhat.com>
11279
11280         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11281         "true" for boolean result.
11282         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11283         prototype of main.
11284
11285 2015-02-27  Pedro Alves  <palves@redhat.com>
11286
11287         * lib/unbuffer_output.c: New file.
11288         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11289         (main): Call gdb_unbuffer_output.
11290
11291 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11292
11293         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11294         target.
11295
11296 2015-02-26  Doug Evans  <dje@google.com>
11297
11298         * gdb.cp/class2.cc (Dbase, D): New classes.
11299         (main): New local delta.
11300         * gdb.cp/class2.exp: Test printing delta.
11301         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11302         (dynbar): New global.
11303         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11304
11305 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11306
11307         * gdb.compile/compile-ifunc.c: New file.
11308         * gdb.compile/compile-ifunc.exp: New file.
11309
11310 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11311
11312         * gdb.base/structs.exp: Check for correct struct on finish.
11313
11314 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11315
11316         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11317         is zero.
11318
11319 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11320
11321         * gdb.arch/cordic.ko.bz2: New file.
11322         * gdb.arch/cordic.ko.debug.bz2: New file.
11323         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11324
11325 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11326
11327         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11328         aarch64*-*-* target.
11329
11330 2015-02-23  Pedro Alves  <palves@redhat.com>
11331
11332         * lib/gdb.exp (delete_breakpoints): Rewrite using
11333         gdb_test_multiple.
11334
11335 2015-02-23  Pedro Alves  <palves@redhat.com>
11336
11337         * gdb.base/info-os.c: Include stdlib.h.
11338
11339 2015-02-22  Doug Evans  <xdje42@gmail.com>
11340
11341         PR symtab/17855
11342         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11343         is read after symbols have been re-read.
11344         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11345         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11346
11347 2015-02-21  Doug Evans  <dje@google.com>
11348
11349         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11350
11351 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11352
11353         PR corefiles/17808
11354         * gdb.arch/i386-biarch-core.core.bz2: New file.
11355         * gdb.arch/i386-biarch-core.exp: New file.
11356
11357 2015-02-21  Pedro Alves  <palves@redhat.com>
11358
11359         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11360         runto_main fails.
11361
11362 2015-02-20  Pedro Alves  <palves@redhat.com>
11363
11364         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11365         info probes.
11366
11367 2015-02-20  Pedro Alves  <palves@redhat.com>
11368
11369         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11370
11371 2015-02-20  Pedro Alves  <palves@redhat.com>
11372
11373         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11374         clean_restart before gdb_target_supports_trace.
11375
11376 2015-02-20  Pedro Alves  <palves@redhat.com>
11377
11378         PR threads/18006
11379         * gdb.threads/clone-thread_db.c: New file.
11380         * gdb.threads/clone-thread_db.exp: New file.
11381
11382 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11383
11384         PR breakpoints/16812
11385         * gdb.base/catch-gdb-caused-signals.c: New file.
11386         * gdb.base/catch-gdb-caused-signals.exp: New file.
11387
11388 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11389
11390         * configure: Regenerated.
11391         * configure.ac: Use GDB_AC_TRANSFORM.
11392         * aclocal.m4: sinclude ../transform.m4.
11393
11394 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11395
11396         * lib/dtrace.exp: New file.
11397         * gdb.base/dtrace-probe.exp: Likewise.
11398         * gdb.base/dtrace-probe.d: Likewise.
11399         * gdb.base/dtrace-probe.c: Likewise.
11400         * lib/pdtrace.in: Likewise.
11401         * configure.ac: Output variables with the transformed names of
11402         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11403         * configure: Regenerated.
11404
11405 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11406
11407         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11408         expected message when trying to access $_probe_* convenience
11409         variables while not on a probe.
11410
11411 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11412
11413         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11414
11415 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11416
11417         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11418         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11419
11420 2015-02-10  Doug Evans  <xdje42@gmail.com>
11421
11422         * lib/gdb.exp (gdb_load): Always return a result.
11423
11424 2015-02-10  Pedro Alves  <palves@redhat.com>
11425
11426         * gdb.threads/signal-sigtrap.c: New file.
11427         * gdb.threads/signal-sigtrap.exp: New file.
11428
11429 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11430
11431         * gdb.trace/no-attach-trace.c: New file.
11432         * gdb.trace/no-attach-trace.exp: New file.
11433
11434 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11435
11436         * gdb.dwarf2/atomic.c: New file.
11437         * gdb.dwarf2/atomic-type.exp: Likewise.
11438
11439 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11440
11441         * gdb.btrace/buffer-size.exp: Update "info record" output.
11442         * gdb.btrace/delta.exp: Update "info record" output.
11443         * gdb.btrace/enable.exp: Update "info record" output.
11444         * gdb.btrace/finish.exp: Update "info record" output.
11445         * gdb.btrace/instruction_history.exp: Update "info record" output.
11446         * gdb.btrace/next.exp: Update "info record" output.
11447         * gdb.btrace/nexti.exp: Update "info record" output.
11448         * gdb.btrace/step.exp: Update "info record" output.
11449         * gdb.btrace/stepi.exp: Update "info record" output.
11450         * gdb.btrace/nohist.exp: Update "info record" output.
11451
11452 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11453
11454         * gdb.btrace/buffer-size: New.
11455
11456 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11457
11458         * gdb.btrace/delta.exp: Update "info record" output.
11459         * gdb.btrace/enable.exp: Update "info record" output.
11460         * gdb.btrace/finish.exp: Update "info record" output.
11461         * gdb.btrace/instruction_history.exp: Update "info record" output.
11462         * gdb.btrace/next.exp: Update "info record" output.
11463         * gdb.btrace/nexti.exp: Update "info record" output.
11464         * gdb.btrace/step.exp: Update "info record" output.
11465         * gdb.btrace/stepi.exp: Update "info record" output.
11466         * gdb.btrace/nohist.exp: Update "info record" output.
11467
11468 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11469
11470         PR gdb/15678
11471         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11472
11473 2015-02-06  Pedro Alves  <palves@redhat.com>
11474
11475         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11476         macro.
11477         (seconds_left, again): New globals.
11478         (main): Wait seconds_left in a 1-second sleep loop instead of
11479         sleeping 180 seconds.  If 'again' is set, reset the seconds
11480         counter.
11481         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11482         'again' in the inferior before detaching.  Print the seconds left.
11483         (options): New global.
11484         (top level): Build program with -DTIMEOUT=$timeout.
11485
11486 2015-02-06  Pedro Alves  <palves@redhat.com>
11487
11488         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11489         determine how many seconds to pass to 'alarm'.
11490         * gdb.base/gdb-sigterm.exp (top level): Build program with
11491         -DTIMEOUT=$timeout.
11492         (do_test): Return success/failure indication.  Add more verbose
11493         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11494         when the test times out.
11495         (passes): New global.
11496         (top level): Break the testing loop if testing fails on any
11497         iteration.  Use gdb_assert.
11498
11499 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11500
11501         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11502         and initialize them.
11503         (ipc_cleanup): New function.
11504         (main): Don't declare shmid, semid, and msqid.  Add a call to
11505         atexit so that we call ipc_cleanup on exit.
11506
11507 2015-02-04  Pedro Alves  <palves@redhat.com>
11508
11509         * boards/native-extended-gdbserver.exp: Remove any target variant
11510         specifications from the board name before clearing the isremote
11511         flag from board_info.
11512
11513 2015-01-31  Doug Evans  <xdje42@gmail.com>
11514
11515         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11516
11517 2015-01-31  Gary Benson <gbenson@redhat.com>
11518
11519         * gdb.base/completion.exp: Disable completion limiting for
11520         existing tests.  Add new tests to check completion limiting.
11521         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11522
11523 2015-01-31  Doug Evans  <xdje42@gmail.com>
11524
11525         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11526
11527 2015-01-31  Doug Evans  <xdje42@gmail.com>
11528
11529         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11530         entries.  Duplicate file section script entries.
11531         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11532         inlined entries.  Add test for safe-path rejection.
11533         * gdb.python/py-section-script.c: Add duplicate inlined section script
11534         entries.  Duplicate file section script entries.
11535         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11536         inlined entries.  Add test for safe-path rejection.
11537
11538 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11539
11540         * gdb.ada/disc_arr_bound: New testcase.
11541
11542 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11543
11544         * gdb.ada/mi_var_array: New testcase.
11545
11546 2015-01-27  Doug Evans  <dje@google.com>
11547
11548         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11549         Add test for objfile.filename, objfile.username after objfile
11550         has been unloaded.
11551
11552 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11553
11554         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11555         the second test to print the name attribute of value
11556         returned by the call to gdb.lookup_type, and adjust
11557         the expected output accordingly.
11558
11559 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11560
11561         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11562         * gdb.base/disp-step-fork.c: Include unistd.h.
11563         * gdb.base/siginfo-obj.c: Include stdio.h.
11564         * gdb.base/siginfo-thread.c: Likewise.
11565         * gdb.mi/non-stop.c: Include unistd.h.
11566         * gdb.mi/nsthrexec.c: Include stdio.h.
11567         * gdb.mi/pthreads.c: Include unistd.h.
11568         * gdb.modula2/unbounded1.c (main): Declare returns int.
11569         * gdb.reverse/consecutive-reverse.c: Likewise.
11570         * gdb.threads/create-fail.c: Include unistd.h.
11571         * gdb.threads/killed.c: Likewise.
11572         * gdb.threads/linux-dp.c: Likewise.
11573         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11574         * gdb.threads/non-ldr-exc-2.c: Likewise.
11575         * gdb.threads/non-ldr-exc-3.c: Likewise.
11576         * gdb.threads/non-ldr-exc-4.c: Likewise.
11577         * gdb.threads/pthreads.c: Include unistd.h.
11578         (main): Declare returns int.
11579         * gdb.threads/tls-main.c (foo): New declaration.
11580         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11581
11582 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11583
11584         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11585         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11586
11587 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11588
11589         * gdb.base/noreturn-return.c: New file.
11590         * gdb.base/noreturn-return.exp: New file.
11591         * gdb.base/noreturn-finish.c: New file.
11592         * gdb.base/noreturn-finish.exp: New file.
11593
11594 2015-01-23  Pedro Alves  <palves@redhat.com>
11595
11596         * gdb.threads/continue-pending-after-query.c: New file.
11597         * gdb.threads/continue-pending-after-query.exp: New file.
11598
11599 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11600             Simon Marchi  <simon.marchi@ericsson.com>
11601
11602         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11603         * gdb.base/valgrind-db-attach.exp: Same.
11604         * gdb.base/valgrind-infcall.exp: Same.
11605         * lib/mi-support.exp (default_mi_gdb_start): Same.
11606         * lib/prompt.exp (default_prompt_gdb_start): Same.
11607         * lib/gdb.exp (default_gdb_spawn): Same.
11608         (gdb_interact): New.
11609
11610
11611 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11612
11613         * gdb.compile/compile.exp (pointer to jit function): New test.
11614
11615 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11616
11617         * lib/gdb.exp (supports_process_record): Return true for
11618         powerpc*-*-linux*.
11619         (supports_reverse): Likewise.
11620
11621 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11622
11623         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11624         instead of checking whether the target board is remote and
11625         use spawn_wait_for_attach instead of exec/sleep.
11626         * gdb.base/attach-twice.exp: Likewise.
11627
11628 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11629
11630         * gdb.ada/var_arr_attrs: New testcase.
11631
11632 2015-01-14  Pedro Alves  <palves@redhat.com>
11633             Joel Brobecker  <brobecker@adacore.com>
11634
11635         PR gdb/17525
11636         * gdb.base/bp-cmds-execution-x-script.c: New file.
11637         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11638         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11639
11640 2015-01-14  Pedro Alves  <palves@redhat.com>
11641
11642         PR cli/17828
11643         * gdb.base/batch-preserve-term-settings.c: New file.
11644         * gdb.base/batch-preserve-term-settings.exp: New file.
11645
11646 2015-01-13  Doug Evans  <dje@google.com>
11647
11648         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11649         binary.
11650
11651 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11652
11653         * Makefile.in (clean mostlyclean): Do not delete *.py.
11654
11655 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11656
11657         * gdb.python/py-lookup-type.exp: New file.
11658
11659 2015-01-12  Pedro Alves  <palves@redhat.com>
11660
11661         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11662         restore GDBFLAGS before returning.
11663
11664 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11665
11666         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11667         is_amd64_regs_target and is_x86_like_target.
11668
11669 2015-01-11  Doug Evans  <xdje42@gmail.com>
11670
11671         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11672         is given without an explicit form.
11673         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11674         attributes.
11675         * gdb.dwarf/corrupt.exp: Ditto.
11676         * gdb.dwarf2/enum-type.exp: Ditto.
11677         * gdb.trace/entry-values.exp: Ditto.
11678         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11679
11680 2015-01-11  Doug Evans  <xdje42@gmail.com>
11681
11682         PR gdb/15830
11683         * gdb.base/maint.exp: Remove references to "maint demangle".
11684         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11685         Add tests for explicitly specifying language to demangle.
11686         * gdb.dlang/demangle.exp: Ditto.
11687
11688 2015-01-09  Pedro Alves  <palves@redhat.com>
11689
11690         * gdb.threads/non-stop-fair-events.c: New file.
11691         * gdb.threads/non-stop-fair-events.exp: New file.
11692
11693 2015-01-09  Pedro Alves  <palves@redhat.com>
11694
11695         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11696         the global scope.  Set a breakpoint after all threads are started
11697         rather than stepping over two source lines.  Expect the prompt.
11698         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11699         global.
11700         (NUM): Now 15.
11701         (main): Use threads_started_barrier to wait for all threads to
11702         start.  Main thread no longer calls thread_function.  Exit after
11703         180 seconds.
11704         (loop): New function.
11705         (thread_function): Wait on threads_started_barrier barrier.  Call
11706         'loop' at each iteration.
11707         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11708         threads have started, instead of hardcoding number of "next"
11709         steps.  Use an access watchpoint instead of a write watchpoint.
11710
11711 2015-01-09  Pedro Alves  <palves@redhat.com>
11712
11713         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11714         (thread_func): Wait on barrier.
11715         (main): Wait for all threads to start before stopping GDB.
11716         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11717         global.
11718         (thread1_func, thread2_func): Wait on barrier.
11719         (main): Wait for all threads to start before stopping GDB.
11720         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11721         New global.
11722         (thread1_func, thread2_func): Wait on barrier.
11723         (main): Wait for all threads to start before stopping GDB.
11724
11725 2015-01-09  Pedro Alves  <palves@redhat.com>
11726
11727         * gdb.threads/attach-many-short-lived-threads.c: New file.
11728         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11729
11730 2014-01-09  Pedro Alves  <palves@redhat.com>
11731
11732         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11733         instead of to thread 2.
11734         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11735         Add barrier around each pthread_create call instead of around all
11736         calls.
11737         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11738         Set a break on thread_function and have the child threads hit it
11739         one at at a time.
11740
11741 2015-01-09  Pedro Alves  <palves@redhat.com>
11742
11743         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11744         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11745         false.
11746         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11747         checking whether the target board is remote.
11748         * gdb.multi/multi-attach.exp: Likewise.
11749         * gdb.python/py-sync-interp.exp: Likewise.
11750         * gdb.server/ext-attach.exp: Likewise.
11751         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11752         tests that need to attach, instead of checking whether the target
11753         board is remote at the top of the file.
11754
11755 2015-01-08  Yao Qi  <yao@codesourcery.com>
11756
11757         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11758
11759 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11760
11761         Fix testcase compilation.
11762         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11763
11764 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11765
11766         * gdb.python/py-type.exp: Add a couple test about empty
11767         array creation, and negative-length array creation.
11768
11769 2015-01-02  Doug Evans  <xdje42@gmail.com>
11770
11771         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11772
11773 2015-01-02  Doug Evans  <dje@google.com>
11774
11775         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11776
11777 2014-12-29  Yao Qi  <yao@codesourcery.com>
11778
11779         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11780         bar_call_foo to returned_from_foo.
11781
11782 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11783
11784         PR gdb/17394
11785         * gdb.linespec/break-asm-file.c: New file.
11786         * gdb.linespec/break-asm-file.exp: New file.
11787         * gdb.linespec/break-asm-file0.s: New file.
11788         * gdb.linespec/break-asm-file1.s: New file.
11789
11790 2014-12-18  Nigel Stephens  <nigel@mips.com>
11791             Maciej W. Rozycki  <macro@codesourcery.com>
11792
11793         * gdb.base/float.exp: Handle the new output from "info float" on
11794         MIPS targets.
11795
11796 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11797
11798         Fix MinGW compilation.
11799         * gdb.compile/compile-ops.exp: Update untested message if
11800         !skip_compile_feature_tests.
11801         * gdb.compile/compile-setjmp.exp: Likewise.
11802         * gdb.compile/compile-tls.exp: Likewise.
11803         * gdb.compile/compile.exp: Likewise.
11804         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11805         supported on this host".
11806
11807 2014-12-16  Doug Evans  <xdje42@gmail.com>
11808
11809         * boards/stabs.exp: New file.
11810
11811 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11812
11813         * gdb.base/completion.exp: Adjust to format changes of "maint
11814         print user-registers".
11815
11816 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11817
11818         PR server/17457
11819         * gdb.arch/aarch64-fp.c: New file.
11820         * gdb.arch/aarch64-fp.exp: New file.
11821
11822 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11823
11824         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11825         r210637, r210913, r211666, r215400, r215817).
11826
11827         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11828                 * dg-extract-results.py: New file.
11829                 * dg-extract-results.sh: Use it if the environment seems
11830                 suitable.
11831
11832         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11833
11834                 * dg-extract-results.py (parse_run): Handle warnings that
11835                 are printed before a test harness is run.
11836
11837         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11838
11839                 * dg-extract-results.py (Named): Remove __cmp__ method.
11840                 (output_variation): Use a key to sort variation.harnesses.
11841
11842         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11843
11844                 * dg-extract-results.py: For Python 3, force sys.stdout to
11845                 handle surrogate escape sequences.
11846                 (safe_open): New function.
11847                 (output_segment, main): Use it.
11848
11849         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11850
11851                 * dg-extract-results.py (Prog.result_re): Include options
11852                 in test name.
11853
11854         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11855
11856                 * dg-extract-results.py (output_variation): Always sort if
11857                 do_sum.
11858
11859 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11860
11861         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11862         as long as we get pagination notifications.
11863
11864 2014-12-15  Jason Merrill  <jason@redhat.com>
11865
11866         * Makefile.in (check-gdb.%): Restore.
11867         * README: Mention it.
11868
11869 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11870
11871         * gdb.ada/str_uninit: New testcase.
11872
11873 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11874
11875         PR symtab/17642
11876         * gdb.base/vla-stub-define.c: New file.
11877         * gdb.base/vla-stub.c: New file.
11878         * gdb.base/vla-stub.exp: New file.
11879
11880 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11881             Jan Kratochvil  <jan.kratochvil@redhat.com>
11882             Tom Tromey  <tromey@redhat.com>
11883
11884         * configure.ac: Add gdb.compile/.
11885         * configure: Regenerate.
11886         * gdb.compile/Makefile.in: New file.
11887         * gdb.compile/compile-ops.exp: New file.
11888         * gdb.compile/compile-ops.c: New file.
11889         * gdb.compile/compile-tls.c: New file.
11890         * gdb.compile/compile-tls.exp: New file.
11891         * gdb.compile/compile-constvar.S: New file.
11892         * gdb.compile/compile-constvar.c: New file.
11893         * gdb.compile/compile-mod.c: New file.
11894         * gdb.compile/compile-nodebug.c: New file.
11895         * gdb.compile/compile-setjmp-mod.c: New file.
11896         * gdb.compile/compile-setjmp.c: New file.
11897         * gdb.compile/compile-setjmp.exp: New file.
11898         * gdb.compile/compile-shlib.c: New file.
11899         * gdb.compile/compile.c: New file.
11900         * gdb.compile/compile.exp: New file.
11901         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11902
11903 2014-12-12  Tom Tromey  <tromey@redhat.com>
11904
11905         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11906         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11907
11908 2014-12-12  Doug Evans  <dje@google.com>
11909
11910         * lib/gdb-python.exp (get_python_valueof): New function.
11911         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11912
11913 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11914
11915         * gdb.base/completion.exp: Add test for completion of "info
11916         registers ".
11917
11918 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11919
11920         * gdb.base/func-ptrs.c: New file.
11921         * gdb.base/func-ptrs.exp: New file.
11922
11923 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11924
11925         PR breakpoints/17012
11926         * gdb.base/dprintf-detach.c: New file.
11927         * gdb.base/dprintf-detach.exp: New file.
11928
11929 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11930
11931         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11932         * lib/gdb.exp (target_is_gdbserver): New procedure.
11933
11934 2014-12-08  Doug Evans  <dje@google.com>
11935
11936         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11937
11938 2014-12-05  Yao Qi  <yao@codesourcery.com>
11939
11940         * gdb.guile/scm-error.exp: Remove the third argument to
11941         gdb_remote_download.
11942         * gdb.guile/scm-frame-args.exp: Likewise.
11943         * gdb.guile/scm-section-script.exp: Likewise.
11944
11945 2014-12-05  Yao Qi  <yao@codesourcery.com>
11946
11947         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11948
11949 2014-12-04  Doug Evans  <dje@google.com>
11950
11951         * gdb.python/py-objfile.exp: Add tests for
11952         objfile.add_separate_debug_file.
11953
11954 2014-12-04  Doug Evans  <dje@google.com>
11955
11956         * lib/gdb.exp (get_build_id): New function.
11957         (build_id_debug_filename_get): Rewrite to use it.
11958         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11959
11960 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11961
11962         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11963         `method(long)', not just 0x0.
11964         * gdb.cp/nsalias.exp: Align code labels to 4.
11965         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11966         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11967         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11968         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11969         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11970         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11971
11972 2014-12-02  Doug Evans  <dje@google.com>
11973
11974         PR symtab/17602
11975         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11976         * gdb.cp/anon-ns2.cc: ... here.  New file.
11977         * gdb.cp/anon-ns.exp: Update.
11978
11979 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11980
11981         * gdb.python/py-events.py (inferior_call_handler): New.
11982         (register_changed_handler, memory_changed_handler): New.
11983         (test_events.invoke): Register new handlers.
11984         * gdb.python/py-events.exp: Add tests for inferior call,
11985         memory_changed and register_changed events.
11986
11987 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11988
11989         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11990         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11991         if the linker doesn't understand this.
11992
11993 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11994
11995         * gdb.python/python.exp: Change expected reply to help().
11996
11997 2014-12-01  Yao Qi  <yao@codesourcery.com>
11998
11999         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
12000         AC_CONFIG_SUBDIRS(gdb.gdbtk).
12001         * configure: Re-generated.
12002
12003 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
12004
12005         * gdb.cp/chained-calls.cc: New file.
12006         * gdb.cp/chained-calls.exp: New file.
12007         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12008
12009 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
12010
12011         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12012         * gdb.dwarf2/symtab-producer.exp: Same.
12013         * gdb.gdb/python-interrupts.exp: Same.
12014         * gdb.gdb/python-selftest.exp: Same.
12015         * gdb.python/py-linetable.exp: Same.
12016         * gdb.python/py-type.exp: Same.
12017         * gdb.python/py-value-cc.exp: Same.
12018         * gdb.python/py-value.exp: Same.
12019
12020 2014-11-28  Yao Qi  <yao@codesourcery.com>
12021
12022         * gdb.base/break-probes.exp: Match library name prefixed with
12023         sysroot.
12024
12025 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
12026
12027         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12028         test expected output.  Add parentheses for the call to print.
12029         Remove L suffix from integers.
12030
12031 2014-11-26  Doug Evans  <dje@google.com>
12032
12033         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12034
12035 2014-11-22  Yao Qi  <yao@codesourcery.com>
12036
12037         * gdb.trace/entry-values.c: Remove asms.
12038         (foo): Add foo_label.
12039         (bar): Add bar_label.
12040         * gdb.trace/entry-values.exp: Remove code computing  foo's
12041         length and bar's length.
12042         (Dwarf::assemble): Invoke function_range for bar and use
12043         MACRO_AT_func for foo.
12044
12045 2014-11-22  Yao Qi  <yao@codesourcery.com>
12046
12047         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12048         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12049         Use .Lgcc43_procstart instead of gcc43.
12050
12051 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12052
12053         * gdb.ada/n_arr_bound: New testcase.
12054
12055 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12056
12057         PR breakpoints/10737
12058         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12059         test_catch_syscall_multi_arch.
12060         (test_catch_syscall_multi_arch): New function.
12061
12062 2014-11-20  Doug Evans  <xdje42@gmail.com>
12063
12064         * gdb.base/maint.exp: Update expected output.
12065
12066 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12067
12068         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12069         4-byte instruction on S390.
12070
12071 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12072
12073         * gdb.ada/arr_arr: New testcase.
12074
12075 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12076
12077         * gdb.ada/pkd_arr_elem: New Testcase.
12078
12079 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12080
12081         * gdb.reverse/break-precsave: Expect completion message for
12082         core file reads.
12083         * gdb.reverse/consecutive-precsave.exp: Likewise.
12084         * gdb.reverse/finish-precsave.exp: Likewise.
12085         * gdb.reverse/i386-precsave.exp: Likewise.
12086         * gdb.reverse/machinestate-precsave.exp: Likewise.
12087         * gdb.reverse/sigall-precsave.exp: Likewise.
12088         * gdb.reverse/solib-precsave.exp: Likewise.
12089         * gdb.reverse/step-precsave.exp: Likewise.
12090         * gdb.reverse/until-precsave.exp: Likewise.
12091         * gdb.reverse/watch-precsave.exp: Likewise.
12092
12093 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12094
12095         * gdb.base/bp-permanent.c: Include unistd.h.
12096         * gdb.python/py-framefilter-mi.c (main): Add return type.
12097         * gdb.python/py-framefilter.c (main): Likewise.
12098         * gdb.trace/actions-changed.c (main): Likewise.
12099
12100 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12101
12102         * gdb.mi/until.c: Add eye-catchers.
12103         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12104         line numbers.
12105
12106 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12107
12108         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12109         function header variants in break1.c.
12110         * gdb.base/ena-dis-br.exp: Likewise.
12111         * gdb.base/hbreak2.exp: Likewise.
12112         * gdb.reverse/until-precsave.exp: Drop references to removed
12113         non-prototype function header variants in ur1.c.
12114         * gdb.reverse/until-reverse.exp: Likewise.
12115
12116 2014-11-17  Petr Machata  <pmachata@redhat.com>
12117
12118         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12119         ${_cu_offset_size} bytes abbrev offset.
12120
12121 2014-11-15  Doug Evans  <xdje42@gmail.com>
12122
12123         PR symtab/17559
12124         * gdb.base/line-symtabs.exp: New file.
12125         * gdb.base/line-symtabs.c: New file.
12126         * gdb.base/line-symtabs.h: New file.
12127
12128 2014-11-14  Yao Qi  <yao@codesourcery.com>
12129
12130         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12131         (func): Add label func_label.
12132         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12133         Replace low_pc and high_pc with MACRO_AT_range.
12134         Replace name, low_pc and high_pc with MACRO_AT_func.
12135
12136 2014-11-14  Yao Qi  <yao@codesourcery.com>
12137
12138         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12139         Replace name, low_pc and high_pc with MACRO_AT_func.
12140
12141 2014-11-14  Yao Qi  <yao@codesourcery.com>
12142
12143         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12144         produce debug information.
12145         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12146
12147 2014-11-14  Yao Qi  <yao@codesourcery.com>
12148
12149         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12150         object and get function length.
12151         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12152         with MACRO_AT_func.
12153         (top-level): Replace gdb_compile and clean_restart with
12154         prepare_for_testing.
12155         * gdb.dwarf2/main.c (main): Add label main_label.
12156
12157 2014-11-14  Yao Qi  <yao@codesourcery.com>
12158
12159         * lib/dwarf.exp (function_range): New procedure.
12160         (Dwarf::_handle_macro_at_func): New procedure.
12161         (Dwarf::_handle_macro_at_range): New procedure.
12162         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12163
12164 2014-11-14  Yao Qi  <yao@codesourcery.com>
12165
12166         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12167         (_handle_attribute): New procedure.
12168
12169 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12170
12171         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12172         * gdb.base/call-sc.c (zed): Likewise.
12173         * gdb.base/checkpoint.c (main): Likewise.
12174         * gdb.base/dump.c (main): Likewise.
12175         * gdb.base/gcore.c (main): Likewise.
12176         * gdb.base/huge.c (main): Likewise.
12177         * gdb.base/multi-forks.c (main): Likewise.
12178         * gdb.base/pr10179-a.c (main): Likewise.
12179         * gdb.base/savedregs.c (main): Likewise.
12180         * gdb.base/sigaltstack.c (main): Likewise.
12181         * gdb.base/siginfo.c (main): Likewise.
12182         * gdb.base/structs.c (zed): Likewise.
12183         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12184         * gdb.mi/mi-syn-frame.c (main): Likewise.
12185         * gdb.mi/until.c (foo, main): Likewise.
12186         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12187         * gdb.base/solib-weak.c (foo): Declare.
12188         * gdb.base/attach-twice.c: Include stdio.h.
12189         * gdb.base/weaklib1.c: Likewise.
12190         * gdb.base/weaklib2.c: Likewise.
12191         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12192         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12193         unistd.h.
12194         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12195         * gdb.mi/mi-exit-code.c: Likewise.
12196         * gdb.base/break-interp-lib.c: Include string.h.
12197         * gdb.base/coremaker.c: Likewise.
12198         * gdb.base/testenv.c: Likewise.
12199         * gdb.python/py-finish-breakpoint.c: Likewise.
12200         * gdb.base/inferior-died.c: Include sys/wait.h.
12201         * gdb.base/fileio.c: Include time.h.
12202         * gdb.base/async-shell.c: Include unistd.h.
12203         * gdb.base/dprintf-non-stop.c: Likewise.
12204         * gdb.base/info-os.c: Likewise.
12205         * gdb.mi/mi-console.c: Likewise.
12206         * gdb.mi/watch-nonstop.c: Likewise.
12207         * gdb.python/py-events.c: Likewise.
12208         * gdb.base/async.c (baz): Move up before its invocation.
12209         * gdb.base/code_elim2.c (my_global_func): Likewise.
12210         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12211         * gdb.base/advance.c (func2): Likewise.
12212
12213 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12214
12215         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12216         variant.
12217         * gdb.base/annota3.c: Likewise.
12218         * gdb.base/async.c: Likewise.
12219         * gdb.base/average.c: Likewise.
12220         * gdb.base/call-ar-st.c: Likewise.
12221         * gdb.base/call-rt-st.c: Likewise.
12222         * gdb.base/call-sc.c: Likewise.
12223         * gdb.base/call-strs.c: Likewise.
12224         * gdb.base/ending-run.c: Likewise.
12225         * gdb.base/execd-prog.c: Likewise.
12226         * gdb.base/exprs.c: Likewise.
12227         * gdb.base/foll-exec.c: Likewise.
12228         * gdb.base/foll-fork.c: Likewise.
12229         * gdb.base/foll-vfork.c: Likewise.
12230         * gdb.base/funcargs.c: Likewise.
12231         * gdb.base/gcore.c: Likewise.
12232         * gdb.base/jump.c: Likewise.
12233         * gdb.base/langs0.c: Likewise.
12234         * gdb.base/langs1.c: Likewise.
12235         * gdb.base/langs2.c: Likewise.
12236         * gdb.base/mips_pro.c: Likewise.
12237         * gdb.base/nodebug.c: Likewise.
12238         * gdb.base/opaque0.c: Likewise.
12239         * gdb.base/opaque1.c: Likewise.
12240         * gdb.base/recurse.c: Likewise.
12241         * gdb.base/run.c: Likewise.
12242         * gdb.base/scope0.c: Likewise.
12243         * gdb.base/scope1.c: Likewise.
12244         * gdb.base/setshow.c: Likewise.
12245         * gdb.base/setvar.c: Likewise.
12246         * gdb.base/shmain.c: Likewise.
12247         * gdb.base/shr1.c: Likewise.
12248         * gdb.base/shr2.c: Likewise.
12249         * gdb.base/sigall.c: Likewise.
12250         * gdb.base/signals.c: Likewise.
12251         * gdb.base/so-indr-cl.c: Likewise.
12252         * gdb.base/solib2.c: Likewise.
12253         * gdb.base/structs.c: Likewise.
12254         * gdb.base/sum.c: Likewise.
12255         * gdb.base/vforked-prog.c: Likewise.
12256         * gdb.base/watchpoint.c: Likewise.
12257         * gdb.reverse/shr2.c: Likewise.
12258         * gdb.reverse/until-reverse.c: Likewise.
12259         * gdb.reverse/ur1.c: Likewise.
12260         * gdb.reverse/watch-reverse.c: Likewise.
12261
12262 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12263
12264         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12265         variant.
12266         * gdb.base/sepdebug.exp: Drop references to removed code.
12267
12268 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12269
12270         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12271         variant.  Preserve original line numbering.
12272         * gdb.base/list1.c: Likewise.
12273
12274 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12275
12276         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12277         variant.
12278         * gdb.base/break1.c: Likewise.
12279         * gdb.base/break.exp: Drop references to removed code.
12280
12281 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12282
12283         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12284         variant.
12285
12286 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12287
12288         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12289
12290 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12291
12292         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12293         logic into perform_all_tests() and invoke it with and without
12294         function header prototypes.
12295         (do_function_calls): Remove conditional XFAIL for PR 5318.
12296         (rerun_and_prepare): Remove duplicate code.
12297         (perform_all_tests): New.  Main logic moved here.
12298
12299 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12300
12301         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12302         code guarded by #ifdef NO_PROTOTYPES.
12303         (t_double_many_args): Likewise.
12304         (DEF_FUNC_MANY_ARGS_1): Likewise.
12305         (DEF_FUNC_VALUES_1): Likewise.
12306         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12307         guarded by #ifdef PROTOTYPES.
12308
12309 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12310
12311         * gdb.mi/mi-console.c: Add eye-catcher.
12312         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12313         instead of literal line number.
12314
12315 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12316
12317         * gdb.base/shr2.c: Add eye-catcher.
12318         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12319         line number.
12320
12321 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12322
12323         * gdb.base/jump.c: Add eye-catchers.
12324         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12325         numbers.
12326
12327 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12328
12329         * gdb.base/execd-prog.c: Add eye-catchers.
12330         * gdb.base/foll-exec.c: Likewise.
12331         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12332         line numbers.
12333
12334 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12335
12336         * gdb.base/ending-run.c: Add eye-catchers.
12337         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12338         literal line numbers.
12339
12340 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12341
12342         * gdb.base/call-rt-st.c: Add eye-catchers.
12343         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12344         literal line numbers.
12345
12346 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12347
12348         * gdb.base/call-ar-st.c: Add eye-catchers.
12349         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12350         literal line numbers.
12351
12352 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12353
12354         * gdb.base/average.c: Add eye-catchers.
12355         * gdb.base/sum.c: Likewise.
12356         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12357         regexps dynamically.
12358
12359 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12360
12361         * gdb.base/solib1.c: Add eye-catchers.
12362         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12363         literal line numbers.
12364
12365 2014-11-12  Pedro Alves  <palves@redhat.com>
12366
12367         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12368         leader has exited.
12369
12370 2014-11-12  Pedro Alves  <palves@redhat.com>
12371
12372         * gdb.arch/i386-bp_permanent.c: New file.
12373         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12374         (srcfile): Set to i386-bp_permanent.c.
12375         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12376         that stepi does not execute the 'leave' instruction, instead of
12377         testing it does execute.
12378         * gdb.base/bp-permanent.c: New file.
12379         * gdb.base/bp-permanent.exp: New file.
12380
12381 2014-11-10  Doug Evans  <xdje42@gmail.com>
12382
12383         PR symtab/17564
12384         * gdb.base/symtab-search-order.exp: New file.
12385         * gdb.base/symtab-search-order.c: New file.
12386         * gdb.base/symtab-search-order-1.c: New file.
12387         * gdb.base/symtab-search-order-shlib-1.c: New file.
12388
12389 2014-11-07  Pedro Alves  <palves@redhat.com>
12390
12391         PR gdb/17511
12392         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12393         i?86-*-linux*.
12394
12395 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12396
12397         PR c++/17494
12398         * gdb.cp/pr17494.cc: New file.
12399         * gdb.cp/pr17494.exp: New file.
12400
12401 2014-11-02  Yao Qi  <yao@codesourcery.com>
12402
12403         * gdb.python/python.exp: Get working directory and match the
12404         output of "set extended-prompt \\w " with it.
12405
12406 2014-10-30  Doug Evans  <dje@google.com>
12407
12408         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12409         in objfiles.
12410         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12411         in progspaces.
12412
12413 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12414
12415         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12416         * gdb.base/realname-expand.exp: Likewise.
12417         * gdb.linespec/macro-relative.exp: Likewise.
12418
12419 2014-10-29  Pedro Alves  <palves@redhat.com>
12420
12421         PR gdb/17408
12422         * gdb.threads/schedlock.c (some_function): New function.
12423         (call_function): New global.
12424         (MAYBE_CALL_SOME_FUNCTION): New macro.
12425         (thread_function): Call it.
12426         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12427         and use it instead of a global counter.  Adjust all callers.
12428         (get_current_thread): Use "find current thread" for test message
12429         here rather than having all callers pass down the same string.
12430         (goto_loop): New procedure, factored out from ...
12431         (my_continue): ... this.
12432         (step_ten_loops): Change parameter from test message to command to
12433         use.  Adjust.
12434         (list_count): Delete global.
12435         (check_result): New procedure, factored out from duplicate top
12436         level code.
12437         (continue tests): Wrap in with_test_prefix.
12438         (test_step): New procedure, factored out from duplicate top level
12439         code.
12440         (top level): Test "step" in combination with all scheduler-locking
12441         modes.  Test "next" in combination with all scheduler-locking
12442         modes, and in combination with stepping over a function call or
12443         not.
12444         * gdb.threads/next-bp-other-thread.c: New file.
12445         * gdb.threads/next-bp-other-thread.exp: New file.
12446
12447 2014-10-29  Pedro Alves  <palves@redhat.com>
12448
12449         PR python/17372
12450         * gdb.python/python.exp: Test a multi-line command that spawns
12451         interactive Python.
12452         * gdb.base/multi-line-starts-subshell.exp: New file.
12453
12454 2014-10-29  Yao Qi  <yao@codesourcery.com>
12455
12456         * gdb.base/fileio.exp: Make directories on host.
12457
12458 2014-10-29  Yao Qi  <yao@codesourcery.com>
12459
12460         * gdb.base/fileio.c (test_write): Close the file.
12461
12462 2014-10-28  Pedro Alves  <palves@redhat.com>
12463
12464         PR gdb/12623
12465         * gdb.base/sigstep.c (no_handler): New global.
12466         (main): If 'no_handler is true, set the signal handlers to
12467         SIG_IGN.
12468         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12469         with_sw_watch and no_handler parameters.  Handle them.
12470         (top level) <stepping over handler when stopped at a breakpoint
12471         test>: Add a test axis for testing with a software watchpoint, and
12472         another for testing with the signal handler set to SIG_IGN.
12473         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12474         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12475
12476 2014-10-28  Pedro Alves  <palves@redhat.com>
12477
12478         PR gdb/17511
12479         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12480         * gdb.base/sigstep.exp (other_handler_location): New global.
12481         (advance): Support stepping into the signal handler, and running
12482         commands while in the handler.
12483         (in_handler_map): New global.
12484         (top level): In the advance test, add combinations for getting
12485         into the handler with stepping commands, and for running commands
12486         in the handler.  Add comment descripting the advancei tests.
12487
12488 2014-10-28  Pedro Alves  <palves@redhat.com>
12489
12490         * gdb.base/sigstep.exp: Use build_executable instead of
12491         prepare_for_testing.
12492         (top level): Move code that starts GDB, runs to main and creates a
12493         display to ...
12494         (restart): ... this new procedure.
12495         (top level): Move backtrace from signal handler test to ...
12496         (validate_backtrace): ... this new procedure.
12497         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12498         with_test_prefix.  Always restart GDB.
12499         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12500         with_test_prefix.  Always restart GDB.  No need to delete
12501         breakpoints after the test.
12502         (test_skip_handler): Remove prefix parameter.
12503         (skip_over_handler, breakpoint_to_handler)
12504         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12505         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12506         restart GDB.  No need to delete breakpoints after the test.
12507         (top level): Use foreach to call the test procedures with
12508         different commands.
12509
12510 2014-10-28  Pedro Alves  <palves@redhat.com>
12511
12512         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12513         instead of GNATS numbers.
12514         * gdb.base/sigbpt.exp: Likewise.
12515         * gdb.base/siginfo.exp: Likewise.
12516         * gdb.base/sigstep.exp: Likewise.
12517
12518 2014-10-27  Pedro Alves  <palves@redhat.com>
12519
12520         * gdb.base/sigstep.c (dummy): New global.
12521         (main): Issue a couple writes to the new global.
12522         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12523         procedures.
12524         (skip_over_handler): Use test_skip_handler.
12525         (top level): Call skip_over_handler for stepi and nexti too.
12526         (breakpoint_over_handler): Use test_skip_handler.
12527         (top level): Call breakpoint_over_handler for stepi and nexti too.
12528
12529 2014-10-27  Yao Qi  <yao@codesourcery.com>
12530
12531         * gdb.trace/tfile.c (adjust_function_address)
12532         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12533         function descriptor.
12534
12535 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12536
12537         * gdb.base/foll-fork.exp (test_follow_fork,
12538         catch_fork_child_follow): Check for updated fork messages emitted
12539         from infrun.c.
12540         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12541         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12542         vfork_and_exec_child_follow_through_step): Check for updated vfork
12543         messages emitted from infrun.c.
12544
12545 2014-10-24  Pedro Alves  <palves@redhat.com>
12546
12547         * gdb.base/corefile.exp: Remove references to ultrix.
12548         * gdb.base/interrupt.exp: Likewise.
12549         * gdb.base/whatis.exp: Likewise.
12550         * gdb.gdb/selftest.exp: Likewise.
12551         * gdb.threads/manythreads.exp: Likewise.
12552         * gdb.threads/print-threads.exp: Likewise.
12553         * gdb.threads/pthreads.exp:: Likewise.
12554         * gdb.threads/schedlock.exp: Likewise.
12555
12556 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12557
12558         * gdb.cp/non-trivial-retval.cc: Add a test case.
12559         * gdb.cp/non-trivial-retval.exp: Add a test.
12560
12561 2014-10-20  Yao Qi  <yao@codesourcery.com>
12562
12563         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12564         * gdb.python/py-objfile-script-gdb.py: New file.
12565         * gdb.python/py-objfile-script.exp: Update reference to
12566         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12567         of remote_download.  Remove the dest file.
12568
12569 2014-10-20  Yao Qi  <yao@codesourcery.com>
12570
12571         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12572         * gdb.base/step-line.exp: Likewise.
12573         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12574         * gdb.dwarf2/dw2-basic.exp: Likewise.
12575         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12576         * gdb.dwarf2/dw2-filename.exp: Likewise.
12577         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12578         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12579         * gdb.dwarf2/dw2-producer.exp: Likewise.
12580         * gdb.dwarf2/mac-fileno.exp: Likewise.
12581         * gdb.python/py-frame-args.exp: Likewise.
12582         * gdb.python/py-framefilter.exp: Likewise.
12583         * gdb.python/py-mi.exp: Likewise.
12584         * gdb.python/py-objfile-script.exp: Likewise
12585         * gdb.python/py-pp-integral.exp: Likewise.
12586         * gdb.python/py-pp-re-notag.exp: Likewise.
12587         * gdb.python/py-prettyprint.exp: Likewise.
12588         * gdb.python/py-section-script.exp: Likewise.
12589         * gdb.python/py-typeprint.exp: Likewise.
12590         * gdb.python/py-xmethods.exp: Likewise.
12591         * gdb.stabs/weird.exp: Likewise.
12592         * gdb.xml/tdesc-regs.exp: Likewise.
12593
12594 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12595
12596         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12597         (out_cu): Use addr_len for the size of addresses.
12598         (out_line): Likewise.  Size DW_LNE_set_address instruction
12599         according to addr_len.
12600         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12601         (FUNC): Add START_INSNS to definition.
12602
12603 2014-10-18  Yao Qi  <yao@codesourcery.com>
12604
12605         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12606         gdb_has_argv0 return true.
12607         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12608         check [target_info exists noargs], check [gdb_has_argv0]
12609         instead.
12610         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12611         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12612         procedures.
12613
12614 2014-10-17  Doug Evans  <dje@google.com>
12615
12616         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12617         event.
12618         * gdb.python/py-events.py: Add clear_objfiles event.
12619
12620 2014-10-17  Doug Evans  <dje@google.com>
12621
12622         * gdb.python/py-objfile.exp: Test progspace attribute.
12623
12624 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12625
12626         * gdb.guile/scm-breakpoint.exp: Do not assume any
12627         directory separators when matching source file paths.
12628         * gdb.python/py-breakpoint.exp: Likewise.
12629         * gdb.reverse/break-precsave.exp: Likewise.
12630         * gdb.reverse/break-reverse.exp: Likewise.
12631         * gdb.reverse/consecutive-precsave.exp: Likewise.
12632         * gdb.reverse/finish-precsave.exp: Likewise.
12633         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12634         * gdb.reverse/finish-reverse.exp: Likewise.
12635         * gdb.reverse/i386-precsave.exp: Likewise.
12636         * gdb.reverse/i387-env-reverse.exp: Likewise.
12637         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12638         * gdb.reverse/machinestate-precsave.exp: Likewise.
12639         * gdb.reverse/machinestate.exp: Likewise.
12640         * gdb.reverse/sigall-precsave.exp: Likewise.
12641         * gdb.reverse/solib-precsave.exp: Likewise.
12642         * gdb.reverse/step-precsave.exp: Likewise.
12643         * gdb.reverse/until-precsave.exp: Likewise.
12644         * gdb.reverse/watch-precsave.exp: Likewise.
12645         * gdb.reverse/watch-reverse.exp: Likewise.
12646
12647 2014-10-17  Yao Qi  <yao@codesourcery.com>
12648
12649         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12650         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12651
12652 2014-10-17  Pedro Alves  <palves@redhat.com>
12653
12654         PR gdb/17471
12655         * gdb.base/bg-execution-repeat.c: New file.
12656         * gdb.base/bg-execution-repeat.exp: New file.
12657
12658 2014-10-17  Pedro Alves  <palves@redhat.com>
12659
12660         PR gdb/17300
12661         * gdb.base/continue-all-already-running.c: New file.
12662         * gdb.base/continue-all-already-running.exp: New file.
12663
12664 2014-10-17  Pedro Alves  <palves@redhat.com>
12665
12666         PR gdb/17472
12667         * gdb.base/annota-input-while-running.c: New file.
12668         * gdb.base/annota-input-while-running.exp: New file.
12669
12670 2014-10-17  Pedro Alves  <palves@redhat.com>
12671
12672         * gdb.base/callfuncs.exp: emove references to osf.
12673         * gdb.base/sigall.exp: Likewise.
12674         * gdb.gdb/selftest.exp: Likewise.
12675         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12676         * gdb.mi/non-stop.c: Likewise.
12677         * gdb.mi/pthreads.c: Likewise.
12678         * gdb.reverse/sigall-precsave.exp: Likewise.
12679         * gdb.reverse/sigall-reverse.exp: Likewise.
12680         * gdb.threads/pthreads.c: Likewise.
12681         * gdb.threads/pthreads.exp: Likewise.
12682
12683 2014-10-17  Yao Qi  <yao@codesourcery.com>
12684
12685         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12686         check 'target_info exists noargs'.
12687         (test_command_prompt_position): Likewise.
12688         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12689         Remove "set args".
12690         (progvar_simple_while_test): Likewise.
12691         (progvar_complex_if_while_test): Likewise.
12692         (if_while_breakpoint_command_test): Likewise.
12693         (infrun_breakpoint_command_test): Likewise.
12694         (breakpoint_command_test): Likewise.
12695         (watchpoint_command_test): Likewise.
12696         (bp_deleted_in_command_test): Likewise.
12697         (temporary_breakpoint_commands): Likewise.
12698
12699 2014-10-16  Yao Qi  <yao@codesourcery.com>
12700
12701         * gdb.base/remotetimeout.exp: Remove noargs checking.
12702
12703 2014-10-15  Pedro Alves  <palves@redhat.com>
12704
12705         PR breakpoints/9649
12706         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12707         * gdb.base/breakpoint-in-ro-region.exp
12708         (probe_target_hardware_step): New procedure.
12709         (top level): Probe hardware stepping and hardware breakpoint
12710         support.  Test stepping through a read-only region, with both
12711         "breakpoint auto-hw" on and off and both "always-inserted" on and
12712         off.
12713
12714 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12715
12716         * gdb.dlang/demangle.exp: Update for demangling changes.
12717
12718 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12719
12720         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12721         * gdb.cp/non-trivial-retval.exp: Add new tests.
12722
12723 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12724
12725         PR c++/13403
12726         PR c++/15154
12727         * gdb.cp/non-trivial-retval.cc: New file.
12728         * gdb.cp/non-trivial-retval.exp: New file.
12729
12730 2014-10-15  Yao Qi  <yao@codesourcery.com>
12731
12732         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12733         remote host.
12734
12735 2014-10-15  Yao Qi  <yao@codesourcery.com>
12736
12737         * gdb.python/py-symbol.exp: Match file base name if host is
12738         remote, otherwise match file name with dir name.
12739         * gdb.python/py-symtab.exp: Likewise.
12740         * gdb.python/python.exp: Likewise.
12741
12742 2014-10-15  Yao Qi  <yao@codesourcery.com>
12743
12744         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12745         pattern.
12746         * gdb.python/py-symtab.exp: Likewise.
12747         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12748         locationn.
12749
12750 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12751
12752         * gdb.ada/addr_arith: New testcase.
12753
12754 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12755
12756         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12757         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12758         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12759         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12760
12761 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12762
12763         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12764         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12765         * gdb.arch/stap-eval-lang-ada.exp: New file.
12766
12767 2014-10-14  Yao Qi  <yao@codesourcery.com>
12768
12769         * gdb.mi/mi-var-child.c (nothing1): New function.
12770         (nothing2): New function.
12771         (do_children_tests): Set function pointers by nothing1 and
12772         nothing2.
12773         * gdb.mi/mi-var-child.exp: Step over new added statements.
12774         Update test to match the new output.
12775         * gdb.mi/var-cmd.c (nothing1): New function.
12776         (nothing2): New function.
12777         (do_children_tests): Set function pointers by  nothing1 and
12778         nothing2.
12779         * gdb.mi/mi-var-display.exp: Update test to match output.
12780         Step to the line specified by $line_dct_nothing.
12781         Increase the number of lines to step.
12782
12783 2014-10-14  Yao Qi  <yao@codesourcery.com>
12784
12785         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12786         tests.
12787         * gdb.mi/mi2-var-child.exp: Likewise.
12788
12789 2014-10-13  Doug Evans  <dje@google.com>
12790
12791         * gdb.python/py-objfile.exp: Change name of file name test.
12792
12793 2014-10-13  Doug Evans  <dje@google.com>
12794
12795         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12796         from the start of the CU.
12797
12798 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12799             Yao Qi  <yao@codesourcery.com>
12800
12801         Fix "save breakpoints" for "catch" command.
12802         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12803         Remove -nonewline.  Match also the added "main" line.
12804
12805 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12806
12807         Fix "save breakpoints" for "disable $bpnum" command.
12808         * gdb.base/save-bp.c (main): Add label.
12809         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12810
12811 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12812
12813         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12814
12815 2014-10-11  Yao Qi  <yao@codesourcery.com>
12816
12817         * gdb.server/server-kill.exp: Execute command
12818         "set remote trace-status-packet on" before "tstatus".
12819
12820 2014-10-11  Yao Qi  <yao@codesourcery.com>
12821
12822         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12823         (main): Call getppid.
12824         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12825         and continue to it.  Read variable "server_pid".
12826
12827 2014-10-11  Yao Qi  <yao@codesourcery.com>
12828
12829         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12830
12831 2014-10-11  Yao Qi  <yao@codesourcery.com>
12832
12833         * gdb.threads/thread-find.exp: Don't execute command
12834         "info threads".
12835         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12836         * gdb.threads/linux-dp.exp: Don't check the condition
12837         $threads_created equals to zero.
12838
12839 2014-10-10  Pedro Alves  <palves@redhat.com>
12840
12841         * gdb.base/bigcore.exp: Remove references to IRIX.
12842         * gdb.base/funcargs.exp: Likewise.
12843         * gdb.base/interrupt.exp: Likewise.
12844         * gdb.base/mips_pro.exp: Likewise.
12845         * gdb.base/nodebug.exp: Likewise.
12846         * gdb.base/setvar.exp: Likewise.
12847         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12848
12849 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12850             Pedro Alves  <palves@redhat.com>
12851
12852         PR symtab/14466
12853         * gdb.base/vdso-warning.c: New file.
12854         * gdb.base/vdso-warning.exp: New file.
12855
12856 2014-10-02  Doug Evans  <dje@google.com>
12857
12858         * gdb.base/structs.c (main): Don't run forever.
12859
12860 2014-10-02  Pedro Alves  <palves@redhat.com>
12861
12862         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12863         (top level) <stop threads 1, stop threads 2>: Use it.
12864
12865 2014-10-02  Pedro Alves  <palves@redhat.com>
12866
12867         * gdb.threads/break-while-running.exp (test): Add new
12868         'update_thread_list' argument.  Skip "info threads" if false.
12869         (top level): Add new 'update_thread_list' axis.
12870
12871 2014-10-02  Pedro Alves  <palves@redhat.com>
12872
12873         PR breakpoints/17431
12874         * gdb.base/execl-update-breakpoints.c: New file.
12875         * gdb.base/execl-update-breakpoints.exp: New file.
12876
12877 2014-10-01  Pedro Alves  <palves@redhat.com>
12878
12879         * gdb.base/breakpoint-in-ro-region.c: New file.
12880         * gdb.base/breakpoint-in-ro-region.exp: New file.
12881
12882 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12883
12884         * gdb.mi/mi-exit-code.exp: New file.
12885         * gdb.mi/mi-exit-code.c: New file.
12886
12887 2014-09-30  Yao Qi  <yao@codesourcery.com>
12888
12889         * lib/prelink-support.exp (build_executable_own_libs): Error if
12890         the target isn't native.
12891
12892 2014-09-30  Yao Qi  <yao@codesourcery.com>
12893
12894         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12895         false.
12896
12897 2014-09-22  Pedro Alves  <palves@redhat.com>
12898
12899         * gdb.threads/break-while-running.exp: New file.
12900         * gdb.threads/break-while-running.c: New file.
12901
12902 2014-09-19  Yao Qi  <yao@codesourcery.com>
12903
12904         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12905         Invoke test.  Restart GDB with --readnow and invoke test again.
12906
12907 2014-09-19  Yao Qi  <yao@codesourcery.com>
12908
12909         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12910         proc set_breakpoint_on_gcd_function.  Invoke
12911         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12912         invoke set_breakpoint_on_gcd_function again.
12913
12914 2014-09-18  Doug Evans  <dje@google.com>
12915
12916         * gdb.dwarf2/symtab-producer.exp: New file.
12917
12918 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12919
12920         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12921         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12922         * gdb.base/global-var-nested-by-dso.c: Likewise.
12923         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12924
12925 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12926             Pedro Alves  <palves@redhat.com>
12927
12928         * gdb.base/watch-bitfields.exp: Pass string other than test file
12929         name to prepare_for_testing.
12930         (watch): New procedure.
12931         (expect_watchpoint): Use with_test_prefix.
12932         (top level): Factor out tests to ...
12933         (test_watch_location, test_regular_watch): ... these new
12934         procedures, and use with_test_prefix and gdb_continue_to_end.
12935
12936 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12937
12938         PR breakpoints/12526
12939         * gdb.base/watch-bitfields.exp: New file.
12940         * gdb.base/watch-bitfields.c: New file.
12941
12942 2014-09-16  Pedro Alves  <palves@redhat.com>
12943
12944         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12945         software and hardware addresses, not software address against
12946         itself.
12947
12948 2014-09-16  Pedro Alves  <palves@redhat.com>
12949
12950         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12951         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12952
12953 2014-09-16  Pedro Alves  <palves@redhat.com>
12954
12955         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12956         files.
12957         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12958         "*-*-vxworks*" throughout.
12959         * gdb.base/break.exp: Likewise.
12960         * gdb.base/default.exp: Likewise.
12961         * gdb.base/scope.exp: Likewise.
12962         * gdb.base/sepdebug.exp: Likewise.
12963         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12964         throughout.
12965         * gdb.base/run.c: Likewise.
12966         * gdb.base/sepdebug.c: Likewise.
12967         * gdb.hp/gdb.aCC/run.c: Likewise.
12968         * gdb.reverse/until-reverse.c: Likewise.
12969         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12970
12971 2014-09-16  Yao Qi  <yao@codesourcery.com>
12972
12973         * boards/local-remote-host-native.exp: New file.
12974
12975 2014-09-14  Doug Evans  <xdje42@gmail.com>
12976
12977         * gdb.threads/queue-signal.c (thread_count): New variable.
12978         (thread_count_mutex, thread_count_condvar): New variables.
12979         (incr_thread_count, wait_all_threads_running): New functions.
12980         (main): Wait for all threads to be in their thread functions.
12981
12982 2014-09-13  Doug Evans  <xdje42@gmail.com>
12983
12984         * gdb.threads/queue-signal.c: New file.
12985         * gdb.threads/queue-signal.exp: New file.
12986
12987 2014-09-13  Doug Evans  <xdje42@gmail.com>
12988
12989         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12990         be consistent with what default_gdb_init uses.
12991         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12992         the plain text of the prompt.  Add some logging printfs.
12993         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12994
12995 2014-09-12  Pedro Alves  <palves@redhat.com>
12996
12997         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12998         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12999         * gdb.arch/i386-size-overlap.exp: Likewise.
13000         * gdb.arch/i386-size.exp: Likewise.
13001         * gdb.arch/i386-unwind.exp: Likewise.
13002         * gdb.base/a2-run.exp: Likewise.
13003         * gdb.base/break.exp: Likewise.
13004         * gdb.base/charset.exp: Likewise.
13005         * gdb.base/chng-syms.exp: Likewise.
13006         * gdb.base/commands.exp: Likewise.
13007         * gdb.base/dbx.exp: Likewise.
13008         * gdb.base/find.exp: Likewise.
13009         * gdb.base/funcargs.exp: Likewise.
13010         * gdb.base/jit-simple.exp: Likewise.
13011         * gdb.base/reread.exp: Likewise.
13012         * gdb.base/sepdebug.exp: Likewise.
13013         * gdb.base/step-bt.exp: Likewise.
13014         * gdb.cp/mb-inline.exp: Likewise.
13015         * gdb.cp/mb-templates.exp: Likewise.
13016         * gdb.objc/basicclass.exp: Likewise.
13017         * gdb.threads/killed.exp: Likewise.
13018
13019 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13020
13021         PR tdep/17379
13022         * gdb.arch/powerpc-stackless.S: New file.
13023         * gdb.arch/powerpc-stackless.exp: New file.
13024
13025 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13026
13027         * gdb.base/attach.c: Include unistd.h.
13028         (main): Call alarm.  Add label postloop.
13029         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13030         gdb_breakpoint, gdb_continue_to_breakpoint.
13031         (test_command_line_attach_run): Kill ${testpid} in one exit path.
13032
13033 2014-09-11  Pedro Alves  <palves@redhat.com>
13034
13035         PR gdb/17347
13036         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13037         * gdb.base/attach.exp (test_command_line_attach_run): New
13038         procedure.
13039         (top level): Call it.
13040
13041 2014-09-11  Pedro Alves  <palves@redhat.com>
13042
13043         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13044         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13045         (do_command_attach_tests): Use spawn_wait_for_attach.
13046         * gdb.base/solib-overlap.exp: Likewise.
13047         * gdb.multi/multi-attach.exp: Likewise.
13048         * gdb.python/py-prompt.exp: Likewise.
13049         * gdb.python/py-sync-interp.exp: Likewise.
13050         * gdb.server/ext-attach.exp: Likewise.
13051
13052 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13053
13054         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13055         command in testcase.  Simplify testcase.
13056
13057 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13058
13059         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13060
13061 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13062
13063         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13064
13065 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13066
13067         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13068
13069 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13070
13071         * gdb.dwarf2/dynarr-ptr.c: New file.
13072         * gdb.dwarf2/dynarr-ptr.exp: New file.
13073
13074 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13075
13076         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13077         of 30 rather than hardcoding 120 for a slow test case.  Take the
13078         `gdb,timeout' target setting into account for this calculation.
13079         Don't extend the timeout for the test cases that don't need it.
13080
13081 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13082
13083         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13084         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13085         target setting into account for this calculation.
13086         * gdb.reverse/until-precsave.exp: Increase the timeout by
13087         a factor of 15 and 3 respectively rather than adding 120
13088         for a pair of slow test cases.  Take the `gdb,timeout'
13089         target setting into account for this calculation.
13090
13091 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13092
13093         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13094         timeout, don't pass one down to gdb_expect.
13095         (gdb_expect): Rework timeout selection.
13096
13097 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13098
13099         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13100         exception on timeout.
13101         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13102         (gdbserver_start_extended): Catch any `gdbserver_start' error
13103         exceptions.
13104         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13105         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13106         `gdbserver_gdb_load' error exceptions.
13107
13108 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13109
13110         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13111         120 on waiting for the TCP socket to open.
13112
13113 2014-09-09  Doug Evans  <xdje42@gmail.com>
13114
13115         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13116         _caller_matches, _any_caller_is, _any_caller_matches.
13117
13118 2014-09-09  Doug Evans  <xdje42@gmail.com>
13119
13120         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13121
13122 2014-09-09  Yao Qi  <yao@codesourcery.com>
13123
13124         * gdb.mi/mi-var-display.exp: Set print symbol off.
13125
13126 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13127
13128         PR gdb/17035
13129         * gdb.base/commands.exp: Add tests to verify user-defined
13130         commands with empty bodies.
13131         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13132         python commands in `show user command`.
13133         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13134         scheme commands in `show user command`.
13135
13136 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13137
13138         PR python/17355
13139         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13140         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13141         * gdb.python/py-framefilter-invalidarg.exp: New file.
13142         * gdb.python/py-framefilter-invalidarg.py: New file.
13143
13144 2014-09-06  Doug Evans  <xdje42@gmail.com>
13145
13146         PR 15276
13147         * gdb.python/py-caller-is.c: New file.
13148         * gdb.python/py-caller-is.exp: New file.
13149
13150 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13151
13152         PR gdb/17235
13153         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13154         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13155
13156 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13157
13158         PR fortran/17237
13159         * gdb.fortran/print-formatted.exp: New file.
13160         * gdb.fortran/print-formatted.f90: Likewise.
13161
13162 2014-09-03  Sasha Smundak  <asmundak@google.com>
13163
13164         * gdb.python/py-frame.exp: Test Frame.read_register.
13165
13166 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13167
13168         PR python/16699
13169         * gdb.python/py-completion.exp: New file.
13170         * gdb.python/py-completion.py: Likewise.
13171
13172 2014-08-28  Doug Evans  <dje@google.com>
13173
13174         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13175         eax,etc. are live with values set by gdb and thus the compiler can't
13176         use them.
13177         * gdb.arch/i386-pseudo.c (main): Ditto.
13178
13179 2014-08-27  Doug Evans  <dje@google.com>
13180
13181         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13182
13183 2014-08-25  Doug Evans  <dje@google.com>
13184
13185         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13186         (main): Ditto.
13187
13188 2014-08-25  Doug Evans  <dje@google.com>
13189
13190         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13191
13192 2014-08-24  Yao Qi  <yao@codesourcery.com>
13193
13194         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13195         symbol off.
13196         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13197
13198 2014-08-22  Doug Evans  <dje@google.com>
13199
13200         PR 17276
13201         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13202         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13203         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13204
13205 2014-08-22  Yao Qi  <yao@codesourcery.com>
13206
13207         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13208         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13209         * gdb.python/python.exp: Likewise.  Use .py file on the host
13210         instead of the build.
13211
13212 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13213
13214         * gdb.threads/gcore-stale-thread.c: New file.
13215         * gdb.threads/gcore-stale-thread.exp: New file.
13216
13217 2014-08-21  Pedro Alves  <palves@redhat.com>
13218
13219         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13220         * gdb.base/gcore-relro-pie.exp: Likewise.
13221         * gdb.base/gcore-relro.exp: Likewise.
13222         * gdb.base/gcore.exp: Likewise.
13223         * gdb.base/print-symbol-loading.exp: Likewise.
13224         * gdb.threads/gcore-thread.exp: Likewise.
13225         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13226
13227 2014-08-20  Pedro Alves  <palves@redhat.com>
13228             Jan Kratochvil  <jan.kratochvil@redhat.com>
13229
13230         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13231         configure.
13232         (EXPECT): Handle READ1 being set.
13233         (all): Depend on EXTRA_RULES.
13234         (check-read1, expect-read1, read1.so, read1): New rules.
13235         * README (Testsuite Parameters): Document the READ1 make variable.
13236         (Race detection): New section.
13237         * configure: Regenerate.
13238         * configure.ac: If build==host==target, and running under a
13239         GNU/glibc system, add read1 to the extra Makefile rules.
13240         (EXTRA_RULES): AC_SUBST it.
13241         * lib/read1.c: New file.
13242
13243 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13244
13245         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13246         the handling of variables declared as a typedef to an array
13247         which a DW_AT_data_location attribute.
13248
13249 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13250             Pedro Alves  <palves@redhat.com>
13251
13252         PR symtab/14604
13253         PR symtab/14605
13254         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13255         gdb_test.
13256
13257 2014-08-19  Pedro Alves  <palves@redhat.com>
13258
13259         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13260
13261 2014-08-19  Yao Qi  <yao@codesourcery.com>
13262
13263         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13264         right line.
13265
13266 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13267
13268         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13269
13270 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13271
13272         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13273         attribute in array range.
13274
13275 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13276
13277         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13278
13279 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13280
13281         PR c++/17132
13282         * gdb.cp/pr17132.cc: New file.
13283         * gdb.cp/pr17132.exp: New file.
13284
13285 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13286
13287         * gdb.python/py-xmethods.py (A_getarrayind)
13288         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13289         Use 'print' with function call syntax.
13290         (E_method_matcher.match): Fix tab vs space indentation mixup.
13291
13292 2014-08-15  Yao Qi  <yao@codesourcery.com>
13293
13294         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13295         false.
13296
13297 2014-08-15  Yao Qi  <yao@codesourcery.com>
13298
13299         * gdb.cp/casts.exp: Set print symbol off.
13300         * gdb.cp/class2.exp: Likewise.
13301         * gdb.cp/overload.exp: Likewise.
13302         * gdb.cp/templates.exp: Likewise.
13303
13304 2014-08-11  Doug Evans  <dje@google.com>
13305
13306         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13307         (test_load_shlib): Update.
13308
13309 2014-08-09  Yao Qi  <yao@codesourcery.com>
13310
13311         * gdb.base/display.exp: Invoke is_address_zero_readable.
13312         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13313         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13314         * gdb.base/hbreak-unmapped.exp: Return if
13315         is_address_zero_readable returns true.
13316         * gdb.base/signest.exp: Likewise.
13317         * gdb.base/signull.exp: Likewise.
13318         * gdb.base/sigbpt.exp: Likewise.
13319         * gdb.guile/scm-disasm.exp: Do the test if
13320         is_address_zero_readable returns false.
13321         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13322         * gdb.python/py-arch.exp: Likewise.
13323         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13324         * lib/gdb.exp (is_address_zero_readable): New proc.
13325
13326 2014-08-09  Yao Qi  <yao@codesourcery.com>
13327
13328         PR testsuite/13443
13329         * gdb.mi/mi-var-display.exp: Make test messages unique.
13330
13331 2014-08-04  Tom Tromey  <tromey@redhat.com>
13332
13333         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13334         target 0".
13335
13336 2014-08-04  Tom Tromey  <tromey@redhat.com>
13337
13338         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13339         "target_resume".
13340
13341 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13342
13343         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13344         inner_vla_struct_object_size.
13345         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13346         as xfail.
13347
13348 2014-07-30  Pedro Alves  <palves@redhat.com>
13349
13350         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13351         comment.
13352
13353 2014-07-29  Yao Qi  <yao@codesourcery.com>
13354
13355         PR gdb/17206
13356         * gdb.base/until-nodebug.exp: New.
13357
13358 2014-07-28  Doug Evans  <xdje42@gmail.com>
13359
13360         PR guile/17203
13361         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13362         previously existing parameter, and previously ambiguously spelled
13363         parameter.
13364
13365 2014-07-28  Will Newton  <will.newton@linaro.org>
13366
13367         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13368
13369 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13370             Doug Evans  <xdje42@gmail.com>
13371
13372         PR guile/17146
13373         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13374
13375 2014-07-25  Pedro Alves  <palves@redhat.com>
13376
13377         * gdb.threads/signal-command-handle-nopass.c: New file.
13378         * gdb.threads/signal-command-handle-nopass.exp: New file.
13379         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13380         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13381         * gdb.threads/signal-delivered-right-thread.c: New file.
13382         * gdb.threads/signal-delivered-right-thread.exp: New file.
13383
13384 2014-07-25  Pedro Alves  <palves@redhat.com>
13385
13386         * gdb.base/double-prompt-target-event-error.exp
13387         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13388         match.
13389         (cancel_pagination_in_target_event): Rework double prompt
13390         detection.
13391         * gdb.base/paginate-after-ctrl-c-running.exp
13392         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13393         <return>' match.
13394         * gdb.base/paginate-bg-execution.exp
13395         (test_bg_execution_pagination_return)
13396         (test_bg_execution_pagination_cancel): Remove '-notransfer
13397         <return>' matches.
13398         * gdb.base/paginate-execution-startup.exp
13399         (test_fg_execution_pagination_return)
13400         (test_fg_execution_pagination_cancel): Remove '-notransfer
13401         <return>' matches.
13402         * gdb.base/paginate-inferior-exit.exp
13403         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13404         match.
13405         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13406         * lib/gdb.exp (pagination_prompt): Run text through
13407         string_to_regexp.
13408         (gdb_test_multiple): Match $pagination_prompt instead of
13409         "<return>".
13410         (string_to_regexp): Move to lib/gdb-utils.exp.
13411
13412 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13413
13414         * gdb.arch/amd64-entry-value-paramref.S: New file.
13415         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13416         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13417         * gdb.arch/amd64-optimout-repeat.S: New file.
13418         * gdb.arch/amd64-optimout-repeat.c: New file.
13419         * gdb.arch/amd64-optimout-repeat.exp: New file.
13420
13421 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13422
13423         PR gdb/17170
13424         * gdb.base/statistics.exp: New file.
13425
13426 2014-07-17  Doug Evans  <dje@google.com>
13427
13428         PR gdb/17170
13429         * gdb.base/maint.exp: Update testing of per-command stats.
13430
13431 2014-07-16  Pedro Alves  <palves@redhat.com>
13432
13433         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13434         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13435         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13436         (tfile_write_buf): New functions.
13437         (add_memory_block): Rewrite using the above.
13438         (adjust_function_address): New function.
13439         (FUNCTION_ADDRESS): New macro.
13440         (write_basic_trace_file): Remove short_x local, and use
13441         tfile_write_16. Change type of func_addr local to unsigned long
13442         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13443         here.  Cast argument of add_memory_block to char pointer.
13444         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13445         (main): Remove parameters.
13446         * gdb.trace/tfile.exp: Remove nowarnings.
13447
13448 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13449
13450         * gdb.base/debug-expr.exp: Test string evaluation with
13451         "debug expression" on.
13452
13453 2014-07-15  Pedro Alves  <palves@redhat.com>
13454
13455         * gdb.base/reread.exp: Use clean_restart.
13456
13457 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13458
13459         * gdb.arch/avr-flash-qualifer.c: New.
13460         * gdb.arch/avr-flash-qualifer.exp: New.
13461
13462 2014-07-14  Pedro Alves  <palves@redhat.com>
13463
13464         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13465         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13466
13467 2014-07-14  Pedro Alves  <palves@redhat.com>
13468
13469         * gdb.base/double-prompt-target-event-error.c: New file.
13470         * gdb.base/double-prompt-target-event-error.exp: New file.
13471
13472 2014-07-14  Pedro Alves  <palves@redhat.com>
13473
13474         PR gdb/17072
13475         * gdb.base/paginate-inferior-exit.c: New file.
13476         * gdb.base/paginate-inferior-exit.exp: New file.
13477
13478 2014-07-14  Pedro Alves  <palves@redhat.com>
13479
13480         PR gdb/17072
13481         * gdb.base/paginate-bg-execution.c: New file.
13482         * gdb.base/paginate-bg-execution.exp: New file.
13483
13484 2014-07-14  Pedro Alves  <palves@redhat.com>
13485
13486         PR gdb/17072
13487         * gdb.base/paginate-execution-startup.c: New file.
13488         * gdb.base/paginate-execution-startup.exp: New file.
13489         * lib/gdb.exp (pagination_prompt): New global.
13490         (default_gdb_spawn): New procedure, factored out from
13491         default_gdb_spawn.
13492         (default_gdb_start): Adjust to call default_gdb_spawn.
13493         (gdb_spawn): New procedure.
13494
13495 2014-07-14  Pedro Alves  <palves@redhat.com>
13496
13497         * lib/gdb.exp (gdb_assert): New procedure.
13498         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13499
13500 2014-07-14  Pedro Alves  <palves@redhat.com>
13501
13502         * gdb.base/execution-termios.c: New file.
13503         * gdb.base/execution-termios.exp: New file.
13504
13505 2014-07-14  Tom Tromey  <tromey@redhat.com>
13506
13507         * gdb.cp/vla-cxx.cc: New file.
13508         * gdb.cp/vla-cxx.exp: New file.
13509
13510 2014-07-14  Tom Tromey  <tromey@redhat.com>
13511
13512         * gdb.reverse/rerun-prec.c: New file.
13513         * gdb.reverse/rerun-prec.exp: New file.
13514
13515 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13516             Maciej W. Rozycki  <macro@codesourcery.com>
13517
13518         * lib/gdb-utils.exp: New file.
13519         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13520         inline `gdb_init_command' processing.
13521         (gdb_start_cmd): Likewise.
13522         * lib/mi-support.exp (mi_run_cmd): Likewise.
13523         * README: Document `gdb_init_command' and `gdb_init_commands'.
13524
13525 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13526
13527         Fix false FAIL running under a very long directory name.
13528         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13529         and "set print elements 10000".  Twice.
13530
13531 2014-07-11  Yao Qi  <yao@codesourcery.com>
13532
13533         * gdb.base/exprs.exp: "set print symbol off".
13534
13535 2014-07-11  Pedro Alves  <palves@redhat.com>
13536
13537         * gdb.threads/kill.c: New file.
13538         * gdb.threads/kill.exp: New file.
13539
13540 2014-07-10  Yao Qi  <yao@codesourcery.com>
13541
13542         * gdb.trace/tfile.c (write_basic_trace_file)
13543         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13544         address written to trace file.
13545
13546 2014-07-09  Pedro Alves  <palves@redhat.com>
13547
13548         * gdb.base/attach-wait-input.exp: New file.
13549         * gdb.base/attach-wait-input.c: New file.
13550
13551 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13552
13553         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13554         setting up test structures.
13555         (main): Call new test function.
13556         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13557         test function, continue into test function and walk test
13558         structures.
13559
13560 2014-07-02  Yao Qi  <yao@codesourcery.com>
13561
13562         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13563         'bar_start' at the beginning of functions 'foo' and 'bar'
13564         respectively.
13565         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13566         instead of 'foo' and 'bar'.
13567
13568 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13569
13570         * gdb.btrace/segv.exp: New.
13571         * gdb.btrace/segv.c: New.
13572
13573 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13574
13575         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13576         instruction.
13577
13578 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13579
13580         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13581         vulture, vilify, villar): New volatile array constants.
13582         (vindictive, vegetation): New const volatile array constants.
13583         * gdb.base/volatile.exp: Test volatile and const volatile array
13584         types.
13585
13586 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13587
13588         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13589         target lacks support for awatch, rwatch, or hbreak.
13590
13591 2014-06-27  Yao Qi  <yao@codesourcery.com>
13592
13593         * gdb.multi/dummy-frame-restore.exp: New.
13594         * gdb.multi/dummy-frame-restore.c: New.
13595
13596 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13597
13598         * gdb.btrace/gcore.exp: New.
13599
13600 2014-06-23  Pedro Alves  <palves@redhat.com>
13601
13602         * gdb.base/watchpoint-reuse-slot.c: New file.
13603         * gdb.base/watchpoint-reuse-slot.exp: New file.
13604
13605 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13606
13607         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13608         progspace's filename in 'info', 'enable' and 'disable' command
13609         tests.
13610
13611 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13612
13613         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13614         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13615         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13616
13617 2014-06-20  Gary Benson  <gbenson@redhat.com>
13618
13619         * gdb.arch/i386-avx.exp: Fix include file location.
13620         * gdb.arch/i386-sse.exp: Likewise.
13621
13622 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13623
13624         * gdb.dlang/expression.exp: New file.
13625
13626 2014-06-19  Pedro Alves  <palves@redhat.com>
13627
13628         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13629         out from ...
13630         (top level): ... here.  Iterate running tests under different
13631         scheduler-locking settings.
13632
13633 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13634
13635         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13636         to DW_FORM_addr and use non-zero addresses.
13637
13638 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13639
13640         PR gdb/17017
13641         * gdb.python/py-xmethods.cc: Add global function call counters and
13642         increment them in their respective functions.  Remove "cout"
13643         statements.
13644         * gdb.python/py-xmethods.exp: Make tests check the global function
13645         call counters instead of depending on inferior IO.
13646
13647 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13648
13649         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13650         Deleted procedure.
13651         (explicit_fork_parent_follow): Deleted procedure.
13652         (explicit_fork_child_follow): Deleted procedure.
13653         (test_follow_fork): New procedure.
13654         (do_fork_tests): Replace calls to deleted procedures with
13655         calls to test_follow_fork and reset GDB for subsequent
13656         procedure calls.
13657
13658 2014-06-17  Yao Qi  <yao@codesourcery.com>
13659
13660         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13661         CP1252.
13662
13663 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13664
13665         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13666         Initialize ptr and S explicitly.
13667         (skip_type_update_when_not_use_rtti_test): Likewise.
13668
13669 2014-06-16  Keith Seitz  <keiths@redhat.com>
13670
13671         PR mi/15863
13672         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13673         the inferior is started.
13674
13675 2014-06-16  Pedro Alves  <palves@redhat.com>
13676
13677         * gdb.base/break-main-file-remove-fail.c: New file.
13678         * gdb.base/break-main-file-remove-fail.exp: New file.
13679         * gdb.base/break-unload-file.exp: Use build_executable instead of
13680         prepare_for_testing.
13681         (test_break): New parameter "initial_load".  Handle it.
13682         (top level): Add initial_load cmdline/file axis.
13683
13684 2014-06-12  Tom Tromey  <tromey@redhat.com>
13685
13686         * gdb.base/completion.exp: Don't use directory name in test.
13687
13688 2014-06-09  Gary Benson  <gbenson@redhat.com>
13689
13690         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13691         separate the always-available ANSI-standard signals from the
13692         signals that require checking.
13693         (main): Likewise.
13694         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13695         Likewise.
13696         (main): Likewise.
13697
13698 2014-06-07  Keith Seitz  <keiths@redhat.com>
13699
13700         Revert:
13701         PR c++/16253
13702         * gdb.cp/var-tag.cc: New file.
13703         * gdb.cp/var-tag.exp: New file.
13704         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13705         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13706         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13707         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13708
13709 2014-06-06  Doug Evans  <xdje42@gmail.com>
13710
13711         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13712
13713 2014-06-06  Pedro Alves  <palves@redhat.com>
13714
13715         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13716         in target debug output instead of looking at RSP packets,
13717         disabling the test on any target that uses hardware stepping.
13718         Update comments.
13719
13720 2014-06-06  Pedro Alves  <palves@redhat.com>
13721
13722         * gdb.base/break-unload-file.exp: Fix typo.
13723
13724 2014-06-06  Yao Qi  <yao@codesourcery.com>
13725
13726         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13727         from "jit_function" to "^jit_function".
13728
13729 2014-06-06  Yao Qi  <yao@codesourcery.com>
13730
13731         * gdb.base/async.c (foo): Add one statement.
13732         * gdb.base/async.exp: Get the next instruction address and
13733         match the output of "nexti" by instruction address.  Match
13734         the hex address in the output of "finish".
13735
13736 2014-06-06  Gary Benson  <gbenson@redhat.com>
13737
13738         * gdb.base/call-signals.c: Remove preprocessor conditionals
13739         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13740         SIGSEGV and SIGTERM.
13741         * gdb.base/sigall.c: Likewise.
13742         * gdb.base/unwindonsignal.c: Likewise.
13743         * gdb.reverse/sigall-reverse.c: Likewise.
13744
13745 2014-06-06  Yao Qi  <yao@codesourcery.com>
13746
13747         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13748         readable, skip the test.
13749
13750 2014-06-06  Yao Qi  <yao@codesourcery.com>
13751
13752         * gdb.threads/staticthreads.c (thread_function): Move the line
13753         setting breakpoint on forward.
13754         * gdb.threads/staticthreads.exp: Update comments.
13755
13756 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13757
13758         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13759         "history-append! type error".
13760
13761 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13762
13763         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13764         erroneous dprintf expected input.
13765
13766 2014-06-04  Doug Evans  <xdje42@gmail.com>
13767
13768         * gdb.guile/scm-generics.exp: Delete.
13769
13770 2014-06-04  Doug Evans  <xdje42@gmail.com>
13771
13772         * gdb.guile/scm-breakpoint.exp: Update.
13773         Add tests for breakpoint registration.
13774
13775 2014-06-04  Tom Tromey  <tromey@redhat.com>
13776
13777         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13778         VLA-in-union.
13779         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13780         inner_vla_struct, vla_union types.  Initialize objects of those
13781         types and compute their sizes.
13782
13783 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13784             Hui Zhu  <hui@codesourcery.com>
13785
13786         * gdb.base/fileio.exp: Add test for shell not available as well as
13787         available.
13788         * gdb.base/fileio.c (test_system): Check for shell twice.
13789
13790 2014-06-04  Yao Qi  <yao@codesourcery.com>
13791
13792         * gdb.base/auto-connect-native-target.exp: Remove redundant
13793         space from the regexp pattern.
13794
13795 2014-06-04  Yao Qi  <yao@codesourcery.com>
13796
13797         * gdb.base/default.exp: Replace "child" with "native" in
13798         regexp pattern.
13799
13800 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13801
13802         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13803         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13804         * gdb.python/py-xmethods.py: Python script supporting the
13805         new testcase and tests.
13806
13807 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13808             Pedro Alves  <palves@redhat.com>
13809
13810         PR breakpoints/17000
13811         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13812         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13813
13814 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13815
13816         * gdb.base/subst.exp: Add tests to verify partial path matching
13817         output.
13818
13819 2014-06-03  Pedro Alves  <palves@redhat.com>
13820
13821         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13822         target that doesn't use software single-stepping.
13823
13824 2014-06-03  Pedro Alves  <palves@redhat.com>
13825
13826         PR breakpoints/17000
13827         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13828         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13829
13830 2014-06-02  Doug Evans  <xdje42@gmail.com>
13831
13832         * gdb.guile/scm-parameter.exp: New file.
13833
13834 2014-06-02  Doug Evans  <xdje42@gmail.com>
13835
13836         * gdb.guile/scm-cmd.c: New file.
13837         * gdb.guile/scm-cmd.exp: New file.
13838
13839 2014-06-02  Doug Evans  <xdje42@gmail.com>
13840
13841         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13842         pretty-printer lookup.
13843         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13844         (make-pp_s-printer): Call it.
13845         (make-pretty-printer-from-dict): New function.
13846         (lookup-pretty-printer-maker-from-dict): New function.
13847         (*pretty-printer*): Simplify.
13848         (make-objfile-pp_s-printer): New function.
13849         (install-objfile-pretty-printers!): New function.
13850         (make-progspace-pp_s-printer): New function.
13851         (install-progspace-pretty-printers!): New function.
13852         * gdb.guile/scm-progspace.c: New file.
13853         * gdb.guile/scm-progspace.exp: New file.
13854
13855 2014-06-02  Pedro Alves  <palves@redhat.com>
13856
13857         * gdb.base/dprintf-bp-same-addr.c: New file.
13858         * gdb.base/dprintf-bp-same-addr.exp: New file.
13859
13860 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13861
13862         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13863         * gdb.arch/powerpc-power.s: Likewise.
13864
13865 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13866
13867         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13868
13869 2014-06-01  Yao Qi  <yao@codesourcery.com>
13870
13871         * gdb.base/watchpoint.exp (test_watch_location): Check null
13872         pointer can be dereferenced.  If not, do the test, otherwise
13873         skip it.
13874
13875 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13876
13877         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13878         results.
13879         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13880
13881 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13882
13883         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13884         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13885         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13886         * gdb.arch/amd64-invalid-stack-top.c: New file.
13887         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13888
13889 2014-05-30  Pedro Alves  <palves@redhat.com>
13890
13891         PR breakpoints/17000
13892         * gdb.base/sss-bp-on-user-bp.c: New file.
13893         * gdb.base/sss-bp-on-user-bp.exp: New file.
13894
13895 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13896
13897         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13898         gnu_inline semantics via attribute.
13899         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13900         source explicitly specifies the required semantics.
13901
13902 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13903
13904         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13905
13906 2014-05-29  Pedro Alves  <palves@redhat.com>
13907             Tom Tromey  <tromey@redhat.com>
13908
13909         * gdb.base/async-shell.exp: Don't enable target-async.
13910         * gdb.base/async.exp
13911         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13912         parameter.  Adjust.
13913         (top level): Don't test with "target-async".
13914         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13915         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13916         * gdb.base/inferior-died.exp: Don't enable target-async.
13917         * gdb.base/interrupt-noterm.exp: Likewise.
13918         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13919         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13920         * gdb.mi/mi-nonstop.exp: Likewise.
13921         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13922         * gdb.mi/mi-nsintrall.exp: Likewise.
13923         * gdb.mi/mi-nsmoribund.exp: Likewise.
13924         * gdb.mi/mi-nsthrexec.exp: Likewise.
13925         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13926         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13927         * gdb.python/py-evsignal.exp: Don't enable target-async.
13928         * gdb.python/py-evthreads.exp: Likewise.
13929         * gdb.python/py-prompt.exp: Likewise.
13930         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13931         * gdb.server/solib-list.exp: Don't enable target-async.
13932         * gdb.threads/thread-specific-bp.exp: Likewise.
13933         * lib/mi-support.exp: Adjust to use mi-async.
13934
13935 2014-05-29  Pedro Alves  <palves@redhat.com>
13936
13937         PR gdb/13860
13938         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13939         reason, even in sync mode.
13940
13941 2014-05-29  Pedro Alves  <palves@redhat.com>
13942             Hui Zhu  <hui@codesourcery.com>
13943
13944         PR PR15693
13945         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13946         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13947         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13948         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13949
13950 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13951
13952         * config/monitor.exp (gdb_target_monitor): Replace use of
13953         "set remotebaud" by "set serial baud".
13954
13955 2014-05-26  Andy Wingo  <wingo@igalia.com>
13956
13957         * gdb.guile/scm-breakpoint.exp:
13958         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13959         properties instead of gdb-object-properties.
13960
13961 2014-05-26  Yao Qi  <yao@codesourcery.com>
13962
13963         * gdb.server/no-thread-db.exp: Specify source file name
13964         explicitly when setting a breakpoint.
13965
13966 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13967
13968         * gdb.btrace/vdso.c: New.
13969         * gdb.btrace/vdso.exp: New.
13970
13971 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13972
13973         * gdb.base/gcore.exp (capture_command_output): Move ...
13974         * lib/gdb.exp (capture_command_output): ... here.
13975
13976 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13977
13978         * gdb.btrace/data.exp: Test memory access during btrace replay.
13979
13980 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13981
13982         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13983
13984 2014-05-21  Pedro Alves  <palves@redhat.com>
13985
13986         PR gdb/13860
13987         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13988         (top level): Test that output related to execution commands is
13989         sent to the console with CLI commands, but not with MI commands.
13990         Test that breakpoint events are always mirrored to the console.
13991         Also expect the new source line to be output after a "next" in
13992         async mode too.  Make it a pass/fail test.
13993         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13994         output.
13995         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13996
13997 2014-05-21  Pedro Alves  <palves@redhat.com>
13998
13999         * gdb.base/list.exp (build_pattern, test_list): New procedures.
14000         Use them to test variations of "list" after reaching a breakpoint.
14001         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14002         Test "list" with listsize 10 after reaching a breakpoint.
14003         * gdb.python/python.exp (decode_line current location line
14004         number): Adjust expected line number.
14005
14006 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
14007
14008         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14009         behavior for $args, pass it directly to "run".
14010
14011 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
14012
14013         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14014         30000 to 65536.
14015
14016 2014-05-21  Pedro Alves  <palves@redhat.com>
14017
14018         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14019         auto-connect-native-target off".
14020         * gdb.base/auto-connect-native-target.c: New file.
14021         * gdb.base/auto-connect-native-target.exp: New file.
14022
14023 2014-05-21  Pedro Alves  <palves@redhat.com>
14024
14025         * gdb.base/default.exp: Test "target native" instead of "target
14026         child".
14027
14028 2014-05-21  Mark Wielaard  <mjw@redhat.com>
14029
14030         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14031
14032 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14033
14034         Fix TLS access for -static -pthread.
14035         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14036         <HAVE_TLS> (thread_function, main): Initialize it.
14037         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14038         Add clean_restart.
14039         <$have_tls != "">: Check TLSVAR.
14040
14041 2014-05-21  Pedro Alves  <palves@redhat.com>
14042
14043         * gdb.base/dcache-line-read-error.c: New.
14044         * gdb.base/dcache-line-read-error.exp: New.
14045
14046 2014-05-20  Pedro Alves  <palves@redhat.com>
14047
14048         * gdb.base/compare-sections.c: New file.
14049         * gdb.base/compare-sections.exp: New file.
14050
14051 2014-05-20  Pedro Alves  <palves@redhat.com>
14052
14053         * gdb.base/break-idempotent.c: New file.
14054         * gdb.base/break-idempotent.exp: New file.
14055
14056 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14057
14058         * gdb.btrace/nohist.exp: New.
14059
14060 2014-05-20  Yao Qi  <yao@codesourcery.com>
14061
14062         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14063         gdb.reverse directory and gdb_reverse_timeout exists in board
14064         setting.
14065         * README: Document gdb_reverse_timeout.
14066
14067 2014-05-20  Yao Qi  <yao@codesourcery.com>
14068
14069         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14070         'test_file_name'.  Treat args as a string instead of a list.
14071         (gdb_init): Rename argument 'args' by 'test_file_name'.
14072
14073 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14074
14075         * gdb.arch/powerpc-power.exp: New file.
14076         * gdb.arch/powerpc-power.s: New file.
14077
14078 2014-05-16  Doug Evans  <dje@google.com>
14079
14080         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14081         * gdb.base/completion.exp: Check that all expected files exist
14082         before doing file completion.
14083
14084 2014-05-16  Doug Evans  <dje@google.com>
14085
14086         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14087         Update.
14088         (do_syscall_tests_without_xml): Update.
14089
14090 2014-05-16  Pedro Alves  <palves@redhat.com>
14091
14092         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14093         instead of "unknown output after running".
14094
14095 2014-05-16  Yao Qi  <yao@codesourcery.com>
14096
14097         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14098         file1.txt from host at the end.
14099         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14100
14101 2014-05-15  Doug Evans  <dje@google.com>
14102
14103         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14104         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14105         loading file.  Add test for TU lookup.
14106
14107 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14108
14109         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14110         calling "-exec-arguments" or "set args" before running the
14111         inferior.
14112
14113 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14114
14115         * lib/mi-support.exp (mi_expect_stop): Expect message for
14116         inferiors that exit with non-zero exit code.
14117
14118 2014-05-14  Yao Qi  <yao@codesourcery.com>
14119
14120         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14121         match absolute path on remote host.
14122         (test_file_list_exec_source_files): Remove "/" from the
14123         pattern.
14124
14125 2014-05-14  Yao Qi  <yao@codesourcery.com>
14126
14127         * boards/local-remote-host-notty.exp (${board}_file): New
14128         proc.
14129
14130 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14131
14132         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14133         * gdb.arch/aarch64-atomic-inst.c: New file.
14134         * gdb.arch/aarch64-atomic-inst.exp: New file.
14135
14136 2014-05-07  Yao Qi  <yao@codesourcery.com>
14137
14138         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14139         in current context" too.
14140
14141 2014-05-05  Keith Seitz  <keiths@redhat.com>
14142
14143         * gdb.linespec/ls-dollar.exp: Add test for linespec
14144         file:convenience_variable.
14145
14146 2014-05-05  Yao Qi  <yao@codesourcery.com>
14147
14148         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14149         traceframes into tfile and ctf trace files.  Read data from
14150         trace file and test collected data.
14151         (gdb_collect_locals_test): Likewise.
14152         (gdb_unavailable_registers_test): Likewise.
14153         (gdb_unavailable_floats): Likewise.
14154         (gdb_collect_globals_test): Likewise.
14155         (top-level): Append "ctf" to trace_file_targets if GDB
14156         supports.
14157
14158 2014-05-05  Yao Qi  <yao@codesourcery.com>
14159
14160         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14161         code to ...
14162         (gdb_collect_args_test_1): ... it.  New proc.
14163         (gdb_collect_locals_test): Move some code to ...
14164         (gdb_collect_locals_test_1): ... it.  New proc.
14165         (gdb_unavailable_registers_test): Move some code to ...
14166         (gdb_unavailable_registers_test_1): ... it.  New proc.
14167         (gdb_unavailable_floats): Move some code to ...
14168         (gdb_unavailable_floats_1): ... it.  New proc.
14169
14170 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14171
14172         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14173         probes to test for bitness recognition.
14174         * gdb.arch/amd64-stap-optional-prefix.exp
14175         (test_probe_value_without_reg): New procedure.
14176         Add code to test for different kinds of bitness.
14177
14178 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14179
14180         PR breakpoints/16889
14181         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14182         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14183
14184 2014-05-01  Pedro Alves  <palves@redhat.com>
14185
14186         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14187         gdb_file_cmd if no file is specified.
14188         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14189         last_loaded_file to set the remote exec-file.
14190
14191 2014-05-01  Pedro Alves  <palves@redhat.com>
14192
14193         * boards/local-remote-host.exp: New file.
14194
14195 2014-05-01  Pedro Alves  <palves@redhat.com>
14196
14197         * boards/local-remote-host.exp: Rename to ...
14198         * boards/local-remote-host-notty.exp: ... this.
14199
14200 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14201
14202         * gdb.ada/dyn_arrayidx: New testcase.
14203
14204 2014-04-26  Yao Qi  <yao@codesourcery.com>
14205
14206         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14207         and compute the length of function main.  Save it in
14208         $main_length.
14209         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14210         (top-level): Use gdb_compile to compile objects into
14211         executable and restart GDB.  Remove invocation to
14212         prepare_for_testing.
14213
14214 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14215             Pedro Alves  <palves@redhat.com>
14216
14217         PR server/16255
14218         * gdb.multi/multi-attach.c: New file.
14219         * gdb.multi/multi-attach.exp: New file.
14220
14221 2014-04-25  Pedro Alves  <palves@redhat.com>
14222
14223         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14224         user.
14225         (top level): Test that "set remote conditional-breakpoints-packet
14226         off" works as intended.
14227         * gdb.base/dprintf.exp: Test that "set remote
14228         breakpoint-commands-packet off" works as intended.
14229         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14230         New function.
14231         (top level): Call it.
14232         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14233         remote fast-tracepoints-packet off" works as intended.
14234         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14235         * lib/gdb.exp (gdb_is_target_remote): ... here.
14236
14237 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14238
14239         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14240         ensure clang would not discard them.
14241         * gdb.base/gdbvars.c: Ditto.
14242         * gdb.base/memattr.c: Ditto.
14243         * gdb.base/whatis.c: Ditto.
14244         * gdb.python/py-prettyprint.c: Ditto.
14245         * gdb.trace/actions.c: Ditto.
14246         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14247         ensure clang would not discard it.
14248
14249 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14250
14251         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14252         clang to emit the full definition of type required by the test
14253         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14254
14255 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14256
14257         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14258         coax Clang into emitting the definition of the type.
14259         * gdb.cp/pr10728-x.h (y): Ditto.
14260         * gdb.cp/pr10728-y.cc (y): Ditto.
14261
14262 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14263
14264         * gdb.base/label.exp: XFAIL label related tests under Clang.
14265         * gdb.cp/cplabel.exp: Ditto.
14266         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14267         under Clang those using labels.
14268
14269 2014-04-25  Yao Qi  <yao@codesourcery.com>
14270
14271         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14272         double_label.
14273         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14274         partial_label and double_label.
14275
14276 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14277
14278         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14279
14280 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14281
14282         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14283         of the function to work across GCC and Clang.
14284         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14285         pointer types (const void ** const V void **).
14286
14287 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14288             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14289
14290         * Makefile.in (EXECUTABLES): Added i386-avx512.
14291         * gdb.arch/i386-avx512.c: New file.
14292         * gdb.arch/i386-avx512.exp: Likewise.
14293
14294 2014-04-23  Keith Seitz  <keiths@redhat.com>
14295
14296         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14297         (mi_make_breakpoint_table): New procedure.
14298         (mi_create_breakpoint): Use mi_make_breakpoint
14299         and return the result.
14300         (mi_make_breakpoint): New procedure.
14301         (mi_build_kv_pairs): New procedure.
14302
14303         * gdb.mi/mi-break.exp: Remove unused globals,
14304         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14305         All callers updated.
14306         * gdb.mi/mi-dprintf.exp: Use variable to track command
14307         number.
14308         Update all callers of mi_create_breakpoint and use
14309         mi_make_breakpoint_table.
14310         Remove any unused global variables.
14311         * gdb.mi/mi-nonstop.exp: Likewise.
14312         * gdb.mi/mi-nsintrall.exp: Likewise.
14313         * gdb.mi/mi-nsmoribund.exp: Likewise.
14314         * gdb.mi/mi-nsthrexec.exp: Likewise.
14315         * gdb.mi/mi-reverse.exp: Likewise.
14316         * gdb.mi/mi-simplerun.exp: Likewise.
14317         * gdb.mi/mi-stepn.exp: Likewise.
14318         * gdb.mi/mi-syn-frame.exp: Likewise.
14319         * gdb.mi/mi-until.exp: Likewise.
14320         * gdb.mi/mi-var-cp.exp: Likewise.
14321         * gdb.mi/mi-var-display.exp: Likewise.
14322         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14323         * gdb.mi/mi2-var-child.exp: Likewise.
14324         * gdb.mi/mi-vla-c99.exp: Likewise.
14325         * lib/mi-support.exp: Likewise.
14326
14327         From Ian Lance Taylor  <iant@cygnus.com>:
14328         * lib/gdb.exp (parse_args): New procedure.
14329
14330 2014-04-23  Pedro Alves  <palves@redhat.com>
14331
14332         * gdb.base/break-unload-file.c: New file.
14333         * gdb.base/break-unload-file.exp: New file.
14334         * gdb.base/sym-file-lib.c (baz): New function.
14335         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14336         field.
14337         (load): Store the segment's mapped size.
14338         (unload): New function.
14339         (unload_shlib): New function.
14340         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14341         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14342         set a breakpoint at baz, and call it.
14343         * gdb.base/sym-file.exp: New tests for stale breakpoint
14344         instructions.
14345
14346 2014-04-23  Pedro Alves  <palves@redhat.com>
14347
14348         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14349         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14350         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14351         * gdb.base/hbreak-unmapped.c: New file.
14352         * gdb.base/hbreak-unmapped.exp: New file.
14353         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14354         * lib/gdb.exp (gdb_is_target_remote): ... here.
14355
14356 2014-04-22  Pedro Alves  <palves@redhat.com>
14357
14358         * gdb.base/consecutive-step-over.c: New file.
14359         * gdb.base/consecutive-step-over.exp: New file.
14360
14361 2014-04-22  Pedro Alves  <palves@redhat.com>
14362
14363         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14364         instead of send_gdb/gdb_expect.
14365
14366 2014-04-22  Yao Qi  <yao@codesourcery.com>
14367
14368         * lib/trace-support.exp (generate_tracefile): New procedure.
14369         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14370         return 0.
14371         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14372         if generate_tracefile returns 1.
14373
14374 2014-04-18  Tom Tromey  <palves@redhat.com>
14375             Pedro alves  <tromey@redhat.com>
14376
14377         PR backtrace/15558
14378         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14379         with a backtrace limit.
14380         * gdb.python/py-frame-inline.exp: Test running to an inline
14381         function with a backtrace limit, and printing the newest frame.
14382         * gdb.python/py-frame-inline.c (main): Call f.
14383
14384 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14385
14386         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14387
14388 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14389
14390         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14391         Drop prefix from unsupported source file path.
14392
14393 2014-04-17  Yao Qi  <yao@codesourcery.com>
14394
14395         * lib/gdb.exp (with_target_charset): New proc.
14396         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14397         with_target_charset.
14398         (test_print_strings): Likewise.
14399         (test_repeat_bytes): Likewise.
14400         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14401         for some tests.
14402
14403 2014-04-16  Keith Seitz  <keiths@redhat.com>
14404
14405         PR gdb/15827
14406         * gdb.dwarf2/corrupt.c: New file.
14407         * gdb.dwarf2/corrupt.exp: New file.
14408
14409 2014-04-16  Keith Seitz  <keiths@redhat.com>
14410
14411         PR c++/16597
14412         * gdb.cp/namelessclass.cc: New file.
14413         * gdb.cp/namelessclass.exp: New file.
14414         * gdb.cp/namelessclass.S: New file.
14415
14416 2014-04-16  Doug Evans  <dje@google.com>
14417
14418         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14419         Add comment.
14420         (gdbserver_default_get_comm_port): New function.
14421         (gdbserver_start): Check if board file provided
14422         "gdbserver,get_comm_port" and use it if so.
14423         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14424         (gdb,socketport): Set to "stdio".
14425         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14426         (stdio_gdbserver_template): Delete.
14427         (${board}_get_remote_address): Update.
14428         (${board}_build_remote_cmd): Delete.
14429         (${board}_get_comm_port): New function.
14430         (${board}_spawn): Update.
14431         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14432         Delete.
14433         (${board}_get_remote_address): Update.
14434         (${board}_get_comm_port): New function.
14435
14436 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14437
14438         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14439         appearing in any order.
14440
14441 2014-04-15  Doug Evans  <dje@google.com>
14442
14443         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14444         uninitialized value of "description".
14445
14446 2014-04-15  Keith Seitz  <keiths@redhat.com>
14447
14448         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14449         Remove unused globals.
14450         (test_running_the_program): Likewise.
14451         (test_controlled_execution): Likewise.
14452         (test_controlling_breakpoints): Likewise.
14453         (test_program_termination): Likewise.
14454
14455 2014-04-15  Keith Seitz  <keiths@redhat.com>
14456
14457         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14458         unused globals.
14459         (test_rbreak_creation_and_listing): Likewise.
14460         (test_ignore_count): Likewise.
14461         (test_error): Likewise.
14462
14463 2014-04-15  Pedro Alves  <palves@redhat.com>
14464
14465         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14466         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14467         sym-file-loader.c.
14468         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14469         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14470         to sym-file-loader.c.
14471         (struct library): Forward declare.
14472         (load_shlib, lookup_function): Change prototypes.
14473         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14474         (translate_offset): Remove declarations.
14475         (get_text_addr): New declaration.
14476         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14477         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14478         sym-file-loader.h.
14479         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14480         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14481         here from sym-file-loader.h.
14482         (struct library): New structure.
14483         (load_shlib, lookup_function): Change prototypes and adjust to
14484         work with a struct library.
14485         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14486         (translate_offset): Make static.
14487         (get_text_addr): New function.
14488         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14489
14490 2014-04-15  Pedro Alves  <palves@redhat.com>
14491
14492         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14493
14494 2014-04-15  Pedro Alves  <palves@redhat.com>
14495
14496         * gdb.base/sym-file-loader.c: Include <limits.h>.
14497         (SELF_LINK): New define.
14498         (get_origin): New function.
14499         (load_shlib): Use it.
14500         * gdb.base/sym-file.exp: Don't early return if the target is
14501         remote.  Use runto_main, and issue fail is that fails.  Use
14502         gdb_load_shlibs.
14503         (shlib_name): Delete.
14504         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14505
14506 2014-04-15  Pedro Alves <palves@redhat.com>
14507
14508         * gdb.base/sym-file.exp: Remove regex characters from test
14509         message.  Don't refer to breakpoint numbers in test messages.
14510
14511 2014-04-14  Keith Seitz  <keiths@redhat.com>
14512
14513         PR c++/16253
14514         * gdb.cp/var-tag.cc: New file.
14515         * gdb.cp/var-tag.exp: New file.
14516         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14517         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14518         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14519         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14520
14521 2014-04-14  Tom Tromey  <tromey@redhat.com>
14522
14523         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14524         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14525         type.
14526         * gdb.cp/enum-class.exp: New file.
14527         * gdb.cp/enum-class.cc: New file.
14528
14529 2014-04-14  Tom Tromey  <tromey@redhat.com>
14530
14531         * gdb.dwarf2/enum-type.exp: New file.
14532
14533 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14534
14535         * gdb.mi/mi-vla-c99.exp: New file.
14536         * gdb.mi/vla.c: New file.
14537
14538 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14539
14540         * gdb.base/vla-datatypes.c: New file.
14541         * gdb.base/vla-datatypes.exp: New file.
14542
14543 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14544
14545         * gdb.base/vla-ptr.c: New file.
14546         * gdb.base/vla-ptr.exp: New file.
14547
14548 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14549
14550         * gdb.dwarf2/count.exp: New file.
14551
14552 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14553
14554         * gdb.base/vla-sideeffect.c: New file.
14555         * gdb.base/vla-sideeffect.exp: New file.
14556
14557 2014-04-14  David Blaikie <dblaikie@gmail.com>
14558
14559         * gdb.mi/non-stop.c: Add return value for non-void function return
14560         statement.
14561         * gdb.threads/staticthreads.c: Ditto.
14562
14563 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14564             Doug Evans  <xdje42@gmail.com>
14565
14566         * gdb.guile/scm-value.c: Improve test case.
14567         * gdb.guile/scm-value.exp: Add new test.
14568
14569 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14570
14571         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14572         override Clang's default.
14573
14574 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14575
14576         Revert the following changes (regressions):
14577
14578         * gdb.base/vla-sideeffect.c: New file.
14579         * gdb.base/vla-sideeffect.exp: New file.
14580
14581         * gdb.dwarf2/count.exp: New file.
14582
14583         * gdb.base/vla-multi.c: New file.
14584         * gdb.base/vla-multi.exp: New file.
14585
14586         * gdb.base/vla-ptr.c: New file.
14587         * gdb.base/vla-ptr.exp: New file.
14588
14589         * gdb.base/vla-datatypes.c: New file.
14590         * gdb.base/vla-datatypes.exp: New file.
14591
14592         * gdb.mi/mi-vla-c99.exp: New file.
14593         * gdb.mi/vla.c: New file.
14594
14595 2014-04-11  Keith Seitz  <keiths@redhat.com>
14596
14597         PR c++/16675
14598         * gdb.cp/cpsizeof.exp: New file.
14599         * gdb.cp/cpsizeof.cc: New file.
14600
14601 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14602
14603         * gdb.mi/mi-vla-c99.exp: New file.
14604         * gdb.mi/vla.c: New file.
14605
14606 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14607
14608         * gdb.base/vla-datatypes.c: New file.
14609         * gdb.base/vla-datatypes.exp: New file.
14610
14611 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14612
14613         * gdb.base/vla-ptr.c: New file.
14614         * gdb.base/vla-ptr.exp: New file.
14615
14616 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14617
14618         * gdb.base/vla-multi.c: New file.
14619         * gdb.base/vla-multi.exp: New file.
14620
14621 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14622
14623         * gdb.dwarf2/count.exp: New file.
14624
14625 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14626
14627         * gdb.base/vla-sideeffect.c: New file.
14628         * gdb.base/vla-sideeffect.exp: New file.
14629
14630 2014-04-11  Yao Qi  <yao@codesourcery.com>
14631
14632         * gdb.base/completion.exp: Check file exists before running tests
14633         on file completion.
14634
14635 2014-04-10  Pedro Alves  <palves@redhat.com>
14636
14637         * gdb.base/cond-eval-mode.c: New file.
14638         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14639         prepare_for_testing to build the new file.  Check result of
14640         runto_main.
14641         (test_break, test_watch): New procedures.
14642         (top level): Use them.
14643
14644 2014-04-08  Pierre Muller  <muller@sourceware.org>
14645
14646         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14647         Ctrl-V use for mingw hosts.
14648
14649 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14650
14651         * gdb.python/py-value.c: Improve test case.
14652         * gdb.python/py-value.exp: Add new test.
14653
14654 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14655
14656         * lib/compiler.c: Identify the clang compiler.
14657         * lib/compiler.cc: Ditto.
14658
14659 2014-04-03  Yao Qi  <yao@codesourcery.com>
14660
14661         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14662
14663 2014-04-01  Anton Blanchard  <anton@samba.org>
14664
14665         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14666         messages unique.
14667
14668 2014-04-01  Anton Blanchard  <anton@samba.org>
14669
14670         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14671         prepare_for_testing.
14672
14673 2014-04-01  Anton Blanchard  <anton@samba.org>
14674
14675         * gdb.arch/ppc64-atomic-inst.c: Remove.
14676         * gdb.arch/ppc64-atomic-inst.S: New file.
14677         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14678
14679 2014-03-31  Doug Evans  <dje@google.com>
14680
14681         * gdb.base/print-symbol-loading-lib.c: New file.
14682         * gdb.base/print-symbol-loading-main.c: New file.
14683         * gdb.base/print-symbol-loading.exp: New file.
14684
14685 2014-03-31  Yao Qi  <yao@codesourcery.com>
14686
14687         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14688
14689 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14690
14691         * gdb.ada/mi_dyn_arr: New testcase.
14692
14693 2014-03-27  Doug Evans  <dje@google.com>
14694
14695         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14696
14697 2014-03-27  Yao Qi  <yao@codesourcery.com>
14698
14699         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14700         if target is nios2-*-*.
14701
14702 2014-03-26  Yao Qi  <yao@codesourcery.com>
14703
14704         * lib/gdb.exp (readline_is_used): New proc.
14705         * gdb.base/completion.exp: Move tests on command complete up.
14706         Skip the rest of tests if readline is not used.
14707         * gdb.ada/complete.exp: Skp the test if readline is not
14708         used.
14709         * gdb.base/filesym.exp: Likewise.
14710         * gdb.base/macscp.exp: Likewise.
14711         * gdb.base/readline-ask.exp: Likewise.
14712         * gdb.base/readline.exp: Likewise.
14713         * gdb.python/py-cmd.exp: Likewise.
14714         * gdb.trace/tfile.exp: Likewise.
14715
14716 2014-03-26  Yao Qi  <yao@codesourcery.com>
14717
14718         * gdb.base/macscp.exp: Fix code format issues.
14719
14720 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14721
14722         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14723         * gdb.asm/powerpc64le.inc: New file.
14724
14725 2014-03-25  Pedro Alves  <palves@redhat.com>
14726             Doug Evans  <dje@google.com>
14727
14728         * gdb.base/source-execution.c: New file.
14729         * gdb.base/source-execution.exp: New file.
14730         * gdb.base/source-execution.gdb: New file.
14731
14732 2014-03-24  Doug Evans  <dje@google.com>
14733
14734         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14735         using fission.
14736
14737 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14738             Pedro Alves  <palves@redhat.com>
14739
14740         PR breakpoints/16101
14741         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14742         test pass/fail messages.  Detect missing support for dprintf when
14743         breakpoints are actually inserted.
14744         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14745         breakpoints are actually inserted.
14746         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14747         fails.
14748
14749 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14750
14751         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14752
14753 2014-03-22  Doug Evans  <xdje42@gmail.com>
14754
14755         * gdb.python/python.exp (python not supported): Verify multi-line
14756         python command issues an error.
14757         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14758         guile command issues an error.
14759
14760 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14761
14762         * gdb.threads/thread-specific.exp: Handle the lack of usable
14763         $this_breakpoint and $this_thread.
14764
14765 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14766
14767         * gdb.base/attach.exp (do_command_attach_tests): New.
14768
14769 2014-03-20  Tom Tromey  <tromey@redhat.com>
14770             Pedro Alves  <palves@redhat.com>
14771
14772         PR cli/15718
14773         * gdb.base/condbreak-call-false.c: New file.
14774         * gdb.base/condbreak-call-false.exp: New file.
14775
14776 2014-03-20  Pedro Alves  <palves@redhat.com>
14777
14778         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14779         Delete.
14780         (block_signals, unblock_signals): Delete.
14781         (child_function_2, main): Remove references to deleted variable
14782         and functions.
14783
14784 2014-03-20  Pedro Alves  <palves@redhat.com>
14785
14786         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14787         Use pthread_kill to signal thread 2.
14788         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14789         Adjust to make the test send itself a signal rather than using the
14790         host's "kill" command.
14791
14792 2014-03-20  Pedro Alves  <palves@redhat.com>
14793
14794         * gdb.threads/multiple-step-overs.c: New file.
14795         * gdb.threads/multiple-step-overs.exp: New file.
14796         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14797         Adjust expected infrun debug output.
14798
14799 2014-03-20  Pedro Alves  <palves@redhat.com>
14800
14801         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14802         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14803
14804 2014-03-20  Pedro Alves  <palves@redhat.com>
14805
14806         PR breakpoints/7143
14807         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14808         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14809         of gdb_test_multiple.
14810         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14811         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14812
14813 2014-03-20  Pedro Alves  <palves@redhat.com>
14814
14815         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14816         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14817
14818 2014-03-19  Pedro Alves  <palves@redhat.com>
14819
14820         * gdb.base/async.exp: Remove early return.
14821
14822 2014-03-19  Pedro Alves  <palves@redhat.com>
14823
14824         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14825
14826 2014-03-19  Pedro Alves  <palves@redhat.com>
14827
14828         * gdb.base/async.exp (test_background): Expect \r\n after
14829         "completed." in the fail pattern.
14830
14831 2014-03-19  Pedro Alves  <palves@redhat.com>
14832
14833         * gdb.base/async.exp (test_background): New procedure.
14834         Use it for all background execution command tests.
14835
14836 2014-03-19  Pedro Alves  <palves@redhat.com>
14837
14838         * gdb.base/async.exp: Use prepare_for_testing.
14839
14840 2014-03-19  Pedro Alves  <palves@redhat.com>
14841
14842         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14843         the same line.
14844
14845 2014-03-19  Pedro Alves  <palves@redhat.com>
14846
14847         * gdb.base/async.c (main): Add "jump here" and "until here" line
14848         marker comments.
14849         * gdb.base/async.exp (jump_here): New global.
14850         (jump& test): Use it.
14851         (until_here): New global.
14852         (until& test): Use it.
14853
14854 2014-03-19  Pedro Alves  <palves@redhat.com>
14855
14856         * gdb.base/async.exp: Don't frob gdb_protocol.
14857
14858 2014-03-18  Doug Evans  <xdje42@gmail.com>
14859
14860         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14861         Fix spelling of exec-done-display.
14862
14863 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14864
14865         PR gdb/15358
14866         * gdb.base/gdb-sigterm.c: New file.
14867         * gdb.base/gdb-sigterm.exp: New file.
14868
14869 2014-03-18  Pedro Alves  <palves@redhat.com>
14870
14871         PR gdb/13860
14872         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14873         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14874         solib-event.
14875
14876 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14877
14878         * gdb.ada/pckd_arr_ren: New testcase.
14879
14880 2014-03-13  Doug Evans  <xdje42@gmail.com>
14881
14882         PR guile/16612
14883         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14884         collect after discarding symbols.
14885
14886 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14887             Doug Evans  <xdje42@gmail.com>
14888
14889         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14890         to history survives a gc.
14891
14892 2014-03-13  Pedro Alves  <palves@redhat.com>
14893
14894         * gdb.base/default.exp: Don't test "target procfs".
14895
14896 2014-03-13  Pedro Alves  <palves@redhat.com>
14897
14898         * gdb.base/default.exp: Update "target child" and "target procfs"
14899         tests to not expect "Unix".
14900
14901 2014-03-12  Tom Tromey  <tromey@redhat.com>
14902
14903         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14904         New procs.  Add target-async tests.
14905         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14906         Add target-async tests.
14907
14908 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14909
14910         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14911         'func_start' and 'func_end' for the beginning and end of the
14912         function code, respectively.
14913         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14914         'func_end' instead of 'func' and 'main'.
14915
14916 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14917
14918         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14919         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14920         generate the debug info assembler source.
14921
14922 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14923
14924         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14925         * gdb.dwarf2/arr-subrange.exp: Likewise.
14926         * gdb.dwarf2/dwz.exp: Likewise.
14927         * gdb.dwarf2/method-ptr.exp: Likewise.
14928         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14929         * gdb.dwarf2/subrange.exp: Likewise.
14930         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14931         * gdb.dwarf2/implptrpiece.exp: Likewise.
14932         * gdb.dwarf2/nostaticblock.exp: Likewise.
14933
14934 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14935
14936         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14937         directory to absolute path name arguments.
14938
14939 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14940
14941         * gdb.ada/tagged_access: New testcase.
14942
14943 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14944
14945         * gdb.btrace/data.exp: Update expected output.
14946
14947 2014-03-06  Yao Qi  <yao@codesourcery.com>
14948
14949         * gdb.trace/pr16508.exp: New file.
14950
14951 2014-03-05  Pedro Alves  <palves@redhat.com>
14952
14953         PR gdb/16575
14954         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14955         procedure.
14956         (top level): Adjust to use it.  Add tests that exercise breakpoint
14957         interaction with the code-cache.
14958
14959 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14960
14961         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14962         test for 'history-append!'.
14963
14964 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14965
14966         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14967         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14968         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14969         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14970         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14971         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14972
14973 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14974
14975         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14976         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14977         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14978
14979 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14980
14981         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14982
14983 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14984
14985         * gdb.dwarf2/arr-stride.c: New file.
14986         * gdb.dwarf2/arr-stride.exp: New file.
14987
14988 2014-02-26  Pedro Alves  <palves@redhat.com>
14989
14990         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14991         that won't ever trigger.  Make sure that GDB reports the correct
14992         breakpoint that caused the stop.
14993
14994 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14995
14996         PR gdb/16626
14997         * gdb.base/auto-load-script: New file.
14998         * gdb.base/auto-load.c: New file.
14999         * gdb.base/auto-load.exp: New file.
15000
15001         PR gdb/16626
15002         * gdb.base/auto-load.exp: Fix out-of-srctree run.
15003
15004 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15005
15006         Fix dw2-icycle.exp -fsanitize=address GDB crash.
15007         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15008
15009 2014-02-24  Doug Evans  <dje@google.com>
15010
15011         * lib/gdb.exp (run_on_host): Log error output if program fails.
15012
15013 2014-02-21  Pedro Alves  <palves@redhat.com>
15014
15015         * gdb.threads/step-after-sr-lock.c: Rename to ...
15016         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15017         * gdb.threads/step-after-sr-lock.exp: Rename to ...
15018         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15019         ... this.
15020
15021 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
15022
15023         PR tdep/16397
15024         * gdb.arch/amd64-stap-special-operands.exp: New file.
15025         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15026         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15027         * gdb.arch/amd64-stap-triplet.S: Likewise.
15028         * gdb.arch/amd64-stap-triplet.c: Likewise.
15029
15030 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
15031
15032         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15033         in .section pseudo-op.
15034
15035 2014-02-20  lin zuojian  <manjian2006@gmail.com>
15036             Joel Brobecker  <brobecker@adacore.com>
15037             Doug Evans  <xdje42@gmail.com>
15038
15039         PR symtab/16581
15040         * gdb.dwarf2/dw2-icycle.S: New file.
15041         * gdb.dwarf2/dw2-icycle.c: New file.
15042         * gdb.dwarf2/dw2-icycle.exp: New file.
15043
15044 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
15045
15046         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15047         operations on gdb.Value objects.
15048         * gdb.python/py-value-cc.exp: Add new test to test operations on
15049         gdb.Value objects.
15050
15051 2014-02-18  Doug Evans  <dje@google.com>
15052
15053         * Makefile.in (TESTS): New variable.
15054         (expanded_tests, expanded_tests_or_none): New variables
15055         (check-single): Pass $(expanded_tests_or_none) to runtest.
15056         (check-parallel): Only run tests in $(TESTS) if non-empty.
15057         (check/no-matching-tests-found): New rule.
15058         * README: Document TESTS makefile variable.
15059
15060 2014-02-18  Doug Evans  <dje@google.com>
15061
15062         * Makefile.in (check-parallel): rm -rf outputs temp.
15063
15064 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15065
15066         Fix "ERROR: no fileid for" in the testsuite.
15067         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15068
15069 2014-02-12  Doug Evans  <dje@google.com>
15070
15071         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15072         (MISCELLANEOUS): New variable.
15073         (clean): rm -rf $(MISCELLANEOUS).
15074         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15075         dwp live in the same directory as symlinks, with each symlink pointed
15076         to a differently named file in a different directory.
15077
15078 2014-02-11  Doug Evans  <dje@google.com>
15079
15080         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15081         of Tcl file commands.
15082
15083 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15084
15085         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15086         "kill -SIGUSR1 -1".
15087
15088 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15089
15090         * gdb.ada/tick_length_array_enum_idx: New testcase.
15091
15092 2014-02-10  Doug Evans  <xdje42@gmail.com>
15093
15094         * configure.ac (AC_OUTPUT): Add gdb.guile.
15095         * configure: Regenerate.
15096         * lib/gdb-guile.exp: New file.
15097         * lib/gdb.exp (get_target_charset): New function.
15098         * gdb.base/help.exp: Update expected output from "apropos apropos".
15099         * gdb.guile/Makefile.in: New file.
15100         * gdb.guile/guile.exp: New file.
15101         * gdb.guile/scm-arch.c: New file.
15102         * gdb.guile/scm-arch.exp: New file.
15103         * gdb.guile/scm-block.c: New file.
15104         * gdb.guile/scm-block.exp: New file.
15105         * gdb.guile/scm-breakpoint.c: New file.
15106         * gdb.guile/scm-breakpoint.exp: New file.
15107         * gdb.guile/scm-disasm.c: New file.
15108         * gdb.guile/scm-disasm.exp: New file.
15109         * gdb.guile/scm-equal.c: New file.
15110         * gdb.guile/scm-equal.exp: New file.
15111         * gdb.guile/scm-error.exp: New file.
15112         * gdb.guile/scm-error.scm: New file.
15113         * gdb.guile/scm-frame-args.c: New file.
15114         * gdb.guile/scm-frame-args.exp: New file.
15115         * gdb.guile/scm-frame-args.scm: New file.
15116         * gdb.guile/scm-frame-inline.c: New file.
15117         * gdb.guile/scm-frame-inline.exp: New file.
15118         * gdb.guile/scm-frame.c: New file.
15119         * gdb.guile/scm-frame.exp: New file.
15120         * gdb.guile/scm-generics.exp: New file.
15121         * gdb.guile/scm-gsmob.exp: New file.
15122         * gdb.guile/scm-iterator.c: New file.
15123         * gdb.guile/scm-iterator.exp: New file.
15124         * gdb.guile/scm-math.c: New file.
15125         * gdb.guile/scm-math.exp: New file.
15126         * gdb.guile/scm-objfile-script-gdb.in: New file.
15127         * gdb.guile/scm-objfile-script.c: New file.
15128         * gdb.guile/scm-objfile-script.exp: New file.
15129         * gdb.guile/scm-objfile.c: New file.
15130         * gdb.guile/scm-objfile.exp: New file.
15131         * gdb.guile/scm-ports.exp: New file.
15132         * gdb.guile/scm-pretty-print.c: New file.
15133         * gdb.guile/scm-pretty-print.exp: New file.
15134         * gdb.guile/scm-pretty-print.scm: New file.
15135         * gdb.guile/scm-section-script.c: New file.
15136         * gdb.guile/scm-section-script.exp: New file.
15137         * gdb.guile/scm-section-script.scm: New file.
15138         * gdb.guile/scm-symbol.c: New file.
15139         * gdb.guile/scm-symbol.exp: New file.
15140         * gdb.guile/scm-symtab-2.c: New file.
15141         * gdb.guile/scm-symtab.c: New file.
15142         * gdb.guile/scm-symtab.exp: New file.
15143         * gdb.guile/scm-type.c: New file.
15144         * gdb.guile/scm-type.exp: New file.
15145         * gdb.guile/scm-value-cc.cc: New file.
15146         * gdb.guile/scm-value-cc.exp: New file.
15147         * gdb.guile/scm-value.c: New file.
15148         * gdb.guile/scm-value.exp: New file.
15149         * gdb.guile/source2.scm: New file.
15150         * gdb.guile/types-module.cc: New file.
15151         * gdb.guile/types-module.exp: New file.
15152
15153 2014-02-10  Yao Qi  <yao@codesourcery.com>
15154
15155         PR testsuite/16543
15156         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15157         * configure: Regenerated.
15158         * Makefile.in: New file.
15159
15160 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15161
15162         * gdb.python/py-framefilter.exp: Fix typo.
15163
15164 2014-02-08  Yao Qi  <yao@codesourcery.com>
15165
15166         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15167         that no =breakpoint-modified is emitted when breakpoints are
15168         modified through MI commands.
15169
15170 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15171             Pedro Alves  <palves@redhat.com>
15172
15173         * gdb.threads/step-after-sr-lock.c: New file.
15174         * gdb.threads/step-after-sr-lock.exp: New file.
15175
15176 2014-02-07  Pedro Alves  <palves@redhat.com>
15177
15178         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15179
15180 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15181
15182         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15183         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15184
15185 2014-02-06  Doug Evans  <xdje42@gmail.com>
15186
15187         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15188         output.
15189
15190         * gdb.gdb/python-interrupts.exp: New file.
15191
15192 2014-02-05  Yao Qi  <yao@codesourcery.com>
15193
15194         * gdb.trace/report.exp (use_collected_data): Test the output
15195         of "info threads" and "info inferiors".
15196
15197 2014-02-05  Yao Qi  <yao@codesourcery.com>
15198
15199         Revert this patch:
15200
15201         2013-05-24  Yao Qi  <yao@codesourcery.com>
15202
15203         * gdb.trace/tfile.exp: Test inferior and thread.
15204
15205 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15206
15207         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15208         on a function.
15209         * gdb.base/step-bt.c: Call hello via function pointer to make
15210         sure its first instruction is executed on powerpc64le-linux.
15211
15212 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15213
15214         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15215
15216 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15217
15218         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15219         of the test patterns for use on little-endian systems.
15220
15221 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15222
15223         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15224         (decimal_vector): Fix for little-endian.
15225
15226 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15227
15228         * gdb.arch/sparc-sysstep.exp: New file.
15229         * gdb.arch/sparc-sysstep.c: Likewise.
15230
15231         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15232
15233 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15234
15235         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15236
15237 2014-01-23  Tom Tromey  <tromey@redhat.com>
15238
15239         * gdb.ada/array_char_idx: New testcase.
15240
15241 2014-01-23  Tom Tromey  <tromey@redhat.com>
15242
15243         PR python/16487:
15244         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15245         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15246         classes.
15247
15248 2014-01-23  Tom Tromey  <tromey@redhat.com>
15249
15250         PR python/16491:
15251         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15252         string from an inferior frame.
15253         * gdb.python/py-framefilter-mi.exp: Update.
15254
15255 2014-01-22  Doug Evans  <dje@google.com>
15256
15257         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15258
15259 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15260
15261         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15262
15263 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15264
15265         * gdb.trace/entry-values.exp: Remove excess space character from
15266         regex patterns.  Handle s390 call instruction.
15267
15268 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15269
15270         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15271         define "*_start" label.  Make "name" static.
15272         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15273         ${name} by references to ${name}_start.
15274
15275 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15276
15277         * gdb.base/info-macros.exp: Remove "debug" from the compile
15278         options.
15279
15280 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15281
15282         * gdb.dlang/demangle.exp: New file.
15283
15284 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15285
15286         * gdb.dlang/primitive-types.exp: New file.
15287
15288 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15289
15290         * configure.ac: Create gdb.dlang/Makefile.
15291         * configure: Regenerate.
15292         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15293         * gdb.dlang/Makefile.in: New file.
15294         * lib/d-support.exp: New file.
15295         * lib/gdb.exp (skip_d_tests): New proc.
15296
15297 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15298
15299         * gdb.btrace/delta.exp: Check reverse stepi.
15300         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15301         * gdb.btrace/finish.exp: New.
15302         * gdb.btrace/next.exp: New.
15303         * gdb.btrace/nexti.exp: New.
15304         * gdb.btrace/record_goto.c: Add comments.
15305         * gdb.btrace/step.exp: New.
15306         * gdb.btrace/stepi.exp: New.
15307         * gdb.btrace/multi-thread-step.c: New.
15308         * gdb.btrace/multi-thread-step.exp: New.
15309         * gdb.btrace/rn-dl-bind.c: New.
15310         * gdb.btrace/rn-dl-bind.exp: New.
15311         * gdb.btrace/data.c: New.
15312         * gdb.btrace/data.exp: New.
15313         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15314
15315 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15316
15317         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15318         * gdb.btrace/exception.exp: Update.
15319         * gdb.btrace/instruction_history.exp: Update.
15320         * gdb.btrace/record_goto.exp: Update.
15321         * gdb.btrace/tailcall.exp: Update.
15322         * gdb.btrace/unknown_functions.exp: Update.
15323         * gdb.btrace/delta.exp: New.
15324
15325 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15326
15327         * gdb.btrace/record_goto.exp: Add backtrace test.
15328         * gdb.btrace/tailcall.exp: Add backtrace test.
15329
15330 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15331
15332         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15333         * gdb.btrace/record_goto.c: New.
15334         * gdb.btrace/record_goto.exp: New.
15335         * gdb.btrace/x86-record_goto.S: New.
15336
15337 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15338
15339         * gdb.btrace/function_call_history.exp: Update tests.
15340         * gdb.btrace/instruction_history.exp: Update tests.
15341
15342 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15343
15344         * gdb.btrace/function_call_history.exp: Fix expected field
15345         order for "record function-call-history".
15346         Add new tests for "record function-call-history /c".
15347         * gdb.btrace/exception.cc: New.
15348         * gdb.btrace/exception.exp: New.
15349         * gdb.btrace/tailcall.exp: New.
15350         * gdb.btrace/x86-tailcall.S: New.
15351         * gdb.btrace/x86-tailcall.c: New.
15352         * gdb.btrace/unknown_functions.c: New.
15353         * gdb.btrace/unknown_functions.exp: New.
15354         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15355
15356 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15357
15358         * gdb.btrace/instruction_history.exp: Update.
15359         * gdb.btrace/function_call_history.exp: Update.
15360
15361 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15362
15363         * gdb.btrace/function_call_history.exp: Fix expected function
15364         trace.
15365         * gdb.btrace/instruction_history.exp: Initialize traced.
15366         Remove traced_functions.
15367
15368 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15369
15370         * gdb.btrace/function_call_history.exp: Update
15371         * gdb.btrace/instruction_history.exp: Update.
15372
15373 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15374
15375         * gdb.btrace/enable.exp: Update expected text.
15376
15377 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15378
15379         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15380         bytes.
15381
15382 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15383
15384         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15385
15386 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15387
15388         * lib/gdb.exp (supports_process_record): Return true for
15389         arm*-linux*.  (supports_reverse): Likewise.
15390
15391 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15392
15393         PR python/15464
15394         PR python/16113
15395         * gdb.python/py-type.c: Enhance test case.
15396         * gdb.python/py-value-cc.cc: Likewise
15397         * gdb.python/py-type.exp: Add new tests.
15398         * gdb.python/py-value-cc.exp: Likewise
15399
15400 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15401             Pedro Alves <palves@redhat.com>
15402
15403         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15404         Make "name" extern.
15405         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15406         references to ${name}_start by references to ${name}.
15407
15408 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15409
15410         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15411
15412 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15413
15414         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15415
15416 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15417             Pedro Alves  <palves@redhat.com>
15418
15419         * gdb.mi/mi-info-os.exp: Connect to the target with
15420         mi_gdb_target_load.
15421
15422 2014-01-08  Pedro Alves  <palves@redhat.com>
15423
15424         * gdb.threads/reconnect-signal.c: New file.
15425         * gdb.threads/reconnect-signal.exp: New file.
15426
15427 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15428
15429         * gdb.base/source-dir.exp: New file.
15430
15431 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15432
15433         * gdb.ada/mi_interface: New testcase.
15434
15435 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15436
15437         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15438         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15439         gdb.ada/pp-rec-component/pck.ads: New files.
15440
15441 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15442
15443         * gdb.python/py-pp-integral.c: New file.
15444         * gdb.python/py-pp-integral.py: New file.
15445         * gdb.python/py-pp-integral.exp: New file.
15446
15447 For older changes see ChangeLog-1993-2013.
15448 \f
15449 ;; Local Variables:
15450 ;; mode: change-log
15451 ;; left-margin: 8
15452 ;; fill-column: 74
15453 ;; version-control: never
15454 ;; End:
15455
15456     Copyright 2014-2019 Free Software Foundation, Inc.
15457   Copying and distribution of this file, with or without modification,
15458   are permitted provided the copyright notice and this notice are preserved.