gdb/fortran: Add builtin 8-byte integer type with (kind=8) support
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2
3         * gdb.fortran/type-kinds.exp: Test new integer type kind.
4
5 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
6
7         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8         function.
9         (test_basic_parsing_of_type_kinds): Expand types tested.
10         (test_parsing_invalid_type_kinds): New function.
11
12 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
13
14         * gdb.fortran/intrinsics.exp: New file.
15         * gdb.fortran/intrinsics.f90: New file.
16         * gdb.fortran/type-kinds.exp: New file.
17
18 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
19
20         * gdb.fortran/dot-ops.exp: New file.
21
22 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
23
24         * gdb.fortran/types.exp (test_logical_literal_types_accepted):
25         Check upper and lower case logical literals.
26
27 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
28
29         * gdb.fortran/types.exp (test_float_literal_types_accepted):
30         Remove duplicate tests.
31
32 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
33
34         * lib/gdb.exp (builtin_cd): rename of cd.
35         (cd): Override builtin.
36
37 2019-03-06  Richard Bunt  <richard.bunt@arm.com>
38
39         * gdb.fortran/function-calls.exp: New file.
40         * gdb.fortran/function-calls.f90: New test.
41
42 2019-03-04  Richard Bunt  <richard.bunt@arm.com>
43
44         * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
45         on user program standard output.
46         * gdb.fortran/short-circuit-argument-list.f90: Record function
47         calls.
48
49 2019-02-28  Alan Hayward  <alan.hayward@arm.com>
50
51         * lib/gdbserver-support.exp (gdbserver_start): Check for listen
52         failure.
53
54 2019-02-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
55
56         PR gdb/8527
57         * gdb.base/interrupt-daemon-attach.c,
58         gdb.base/interrupt-daemon-attach.exp: New test.
59
60 2019-02-27  Pedro Alves  <palves@redhat.com>
61
62         * gdb.base/page.exp: Add tests for "set width/height -1".
63
64 2019-02-27  Pedro Alves  <palves@redhat.com>
65
66         * gdb.base/page.exp: Add tests for "set/show width/height" with
67         "infinite" values.
68
69 2019-02-27  Tom Tromey  <tromey@adacore.com>
70
71         * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
72         2.4.
73         * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
74         workaround.
75
76 2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
77
78         * gdb.base/align.exp: Extend to compile in both C and C++, and add
79         tests for structs with static members.
80
81 2019-02-26  Tom Tromey  <tromey@adacore.com>
82
83         * gdb.python/py-value.exp (test_value_from_buffer): Check for
84         ValueError, not TypeError.
85
86 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
87
88         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
89         call from main program.
90
91 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
92
93         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
94         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
95         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
96         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
97         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
98
99 2019-02-22  Keith Seitz  <keiths@redhat.com>
100
101         PR symtab/23853
102         * gdb.base/symlink-sourcefile.c: New file.
103         * gdb.base/symlink-sourcefile.exp: New file.
104
105 2019-02-20  Tom Tromey  <tom@tromey.com>
106
107         * gdb.base/info_qt.exp: Update.
108
109 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
110
111         * gdb.base/source.exp: Move "error in sourced script" code to
112         the end.
113         * gdb.base/source-error.gdb: Move contents to
114         source-error-1.gdb.  Add new code to source source-error-1.gdb.
115         * gdb.base/source-error-1.gdb: New file, from previous
116         source-error.gdb.
117
118 2019-02-17  Tom Tromey  <tom@tromey.com>
119
120         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
121         for macro styling.
122         * gdb.base/style.c (SOME_MACRO): New macro.
123
124 2019-02-17  Tom Tromey  <tom@tromey.com>
125
126         * gdb.base/style.exp: Add line-wrapping tests.
127         * gdb.base/page.exp: Add test for quitting during pagination.
128
129 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
130
131         * gdb.ada/big_packed_array: New testcase.
132         * gdb.ada/homonym.exp: Fix incorrect expected output for
133         "break <homonym__get_value>" test.
134
135 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
136
137         PR breakpoints/21870
138         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
139         and prepare_for_testing.  Add comment.
140         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
141         redundant cleanup call.  Clean up comment.
142
143 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
144
145         PR breakpoints/21870
146         * gdb.arch/aarch64-dbreg-contents.exp: New file.
147         * gdb.arch/aarch64-dbreg-contents.c: New file.
148
149 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
150
151         * gdb.ada/mi_ref_changeable: New testcase.
152
153 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
154
155         * gdb.base/attach.exp: Add double attach test.
156
157 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
158
159         * lib/gdb.exp (default_gdb_start): Don't match pagination
160         prompt.
161         (gdb_init): Set stty_init.
162
163 2019-01-27  Tom Tromey  <tom@tromey.com>
164
165         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
166         skip_python_tests.
167
168 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
169
170         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
171         New structure.
172         (struct struct_static_02_02): Likewise.
173         (struct struct_static_02_03): Likewise.
174         (struct struct_static_02_04): Likewise.
175         (struct struct_static_04_01): Likewise.
176         (struct struct_static_04_02): Likewise.
177         (struct struct_static_04_03): Likewise.
178         (struct struct_static_04_04): Likewise.
179         (struct struct_static_06_01): Likewise.
180         (struct struct_static_06_02): Likewise.
181         (struct struct_static_06_03): Likewise.
182         (struct struct_static_06_04): Likewise.
183         (cmp_struct_static_02_01): Likewise.
184         (cmp_struct_static_02_02): Likewise.
185         (cmp_struct_static_02_03): Likewise.
186         (cmp_struct_static_02_04): Likewise.
187         (cmp_struct_static_04_01): Likewise.
188         (cmp_struct_static_04_02): Likewise.
189         (cmp_struct_static_04_03): Likewise.
190         (cmp_struct_static_04_04): Likewise.
191         (cmp_struct_static_06_01): Likewise.
192         (cmp_struct_static_06_02): Likewise.
193         (cmp_struct_static_06_03): Likewise.
194         (cmp_struct_static_06_04): Likewise.
195         (call_all): Test new structs.
196         * gdb.base/infcall-nested-structs.exp: Likewise.
197
198 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
199         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
200
201 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
202         * gdb.base/stack-protector.c: New test.
203         * gdb.base/stack-protector.exp: New file.
204         * gdb.cp/ovldbreak.exp: Only allow a single break line.
205         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
206         option.
207         (gdb_compile): Remove stack protector for GCC and prevent
208         recursion.
209
210 2019-01-16  Keith Seitz  <keiths@redhat.com>
211
212         PR gdb/23773
213         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
214
215 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
216
217         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
218         aliases.
219         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
220         tests.
221         * gdb.arch/powerpc-vector-regs.c: New file.
222         * gdb.arch/powerpc-vector-regs.exp: New file.
223
224 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
225
226         * gdb.arch/altivec-regs.exp: Fix the list passed to
227         gdb_expect_list when testing "info vector".
228
229 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
230
231         * gdb.base/style.exp: Don't include path in testname.
232
233 2019-01-10  Keith Seitz  <keiths@redhat.com>
234
235         PR gdb/23712
236         PR symtab/23010
237         * gdb.dwarf2/multidictionary.exp: New file.
238
239 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
240
241         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
242         (test_gnuv3_style_demangling): ... this.
243         (test_lucid_style_demangling): Remove.
244         (test_arm_style_demangling): Remove.
245         (test_hp_style_demangling): Remove.
246         (do_tests): Remove calls to the above.
247
248 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
249
250         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
251         case.
252
253 2019-01-06  Tom Tromey  <tom@tromey.com>
254
255         PR gdb/28155:
256         * gdb.dwarf2/typedef-void-finish.exp: New file.
257
258 2018-12-28  Tom Tromey  <tom@tromey.com>
259             Simon Marchi <simark@simark.ca>
260
261         * gdb.base/jit-exec.exp: New file.
262         * gdb.base/jit-exec.c: New file.
263         * gdb.base/jit-execd.c: New file.
264
265 2018-12-28  Tom Tromey  <tom@tromey.com>
266
267         * gdb.base/style.exp: Update test to check for address styling.
268
269 2018-12-28  Tom Tromey  <tom@tromey.com>
270
271         * gdb.base/style.exp: Add test for styling of "Reading symbols"
272         message.
273
274 2018-12-28  Tom Tromey  <tom@tromey.com>
275
276         * gdb.base/style.exp: Add test for version number styling.
277
278 2018-12-28  Tom Tromey  <tom@tromey.com>
279
280         * gdb.base/style.exp: Add test for print_address_symbolic.
281
282 2018-12-28  Tom Tromey  <tom@tromey.com>
283
284         * gdb.base/style.exp: Add test for breakpoint setting.
285
286 2018-12-28  Tom Tromey  <tom@tromey.com>
287
288         * gdb.base/style.exp: Add test for variable names.
289
290 2018-12-28  Tom Tromey  <tom@tromey.com>
291
292         * gdb.base/style.exp: New file.
293         * gdb.base/style.c: New file.
294
295 2018-12-28  Tom Tromey  <tom@tromey.com>
296
297         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
298         "dumb".
299         * gdb.base/readline.exp (operate_and_get_next): Save and restore
300         the TERM environment variable.
301
302 2018-12-27  Tom Tromey  <tom@tromey.com>
303
304         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
305         pagination test.
306
307 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
308
309         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
310         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
311
312 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
313
314         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
315         Filename a.adb changed to bp_fun_addr.adb.
316         gdb.ada/bp_fun_addr.exp: Update test accordingly.
317
318 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
319
320         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
321         non-PIE executables.
322         * README: Mention the gdb,nopie_flag board setting.
323         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
324         non-PIE executable.
325         * gdb.arch/amd64-entry-value.exp: Likewise.
326         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
327         * gdb.arch/i386-float.exp: Likewise.
328         * gdb.arch/i386-signal.exp: Likewise.
329         * gdb.mi/mi-reg-undefined.exp: Likewise.
330
331 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
332
333         PR gdb/23974
334         * gdb.base/info-os.exp: Check return for unknown "info os" type.
335
336 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
337
338         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
339         Update order of results accordingly.
340
341 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
342
343         * gdb.base/annota1.exp: Update a test regexp.
344
345 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
346
347         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
348
349 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
350
351         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
352         (reuse_time): Initialize to REUSE_TIME_CAP.
353         (check_rc): New function.
354         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
355         Check pthread_create rc.
356         (spawner_thread_func): Check pthread_create and pthread_join rc.
357
358 2018-12-08  Pedro Alves  <palves@redhat.com>
359
360         * gdb.base/list.exp (test_forward_search): Rename to ...
361         (test_forward_reverse_search): ... this.  Also test reverse-search
362         and the forward-search alias.
363
364 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
365
366         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
367         local timeout variable before return, and remove all local timeout
368         variable entirely.
369         (gdb_load): Likewise.
370
371 2018-12-01  Tom de Vries  <tdevries@suse.de>
372
373         * gdb.base/gdb-caching-proc.exp: New file.
374
375 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
376
377         * Makefile.in (TIMESTAMP): New variable.
378         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
379         command.
380         (check-single-racy): Likewise.
381         (check/%.exp): Likewise.
382         (check-racy/%.exp): Likewise.
383         (workers/%.worker): Likewise.
384         (build-perf): Likewise.
385         (check-perf): Likewise.
386         * README: Describe new "TS" and "TS_FORMAT" variables.
387         * print-ts.py: New file.
388
389 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
390
391         PR python/23714
392         * gdb.python/python.exp: Test command repetition after
393         gdb.execute.
394
395 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
396
397         * gdb.opt/inline-break.exp: Add test that info breakpoint output
398         is correctly aligned.
399
400 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
401
402         * gdb.ada/info_auto_lang.exp: New testcase.
403         * gdb.ada/info_auto_lang/global_pack.ads: New file.
404         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
405         * gdb.ada/info_auto_lang/some_c.c: New file.
406
407 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
408
409         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
410         FUNC_lang language syntax.
411
412 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
413
414         * gdb.base/info_minsym.c: New file.
415         * gdb.base/info_minsym.exp: New file.
416
417 2018-11-19  Tom Tromey  <tom@tromey.com>
418
419         PR rust/23625:
420         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
421         * gdb.rust/expr.exp: Update expected output.  Change one test.
422
423 2018-11-19  Tom Tromey  <tom@tromey.com>
424
425         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
426
427 2018-11-19  Pedro Alves  <palves@redhat.com>
428
429         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
430         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
431         see the expected warning.
432
433 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
434
435         PR gdb/22736:
436         * gdb.cp/infcall-nodebug-lib.c: New test.
437         * gdb.cp/infcall-nodebug-main.c: New test.
438         * gdb.cp/infcall-nodebug.exp: New file.
439
440 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
441
442         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
443         completer tests.
444
445 2018-11-09  Tom de Vries  <tdevries@suse.de>
446
447         * gdb.base/msym-lang.c: New test.
448         * gdb.base/msym-lang.exp: New file.
449         * gdb.base/msym-lang-main.c: New test.
450
451 2018-11-08  Tom Tromey  <tom@tromey.com>
452
453         PR gdb/23555:
454         PR gdb/23838:
455         * gdb.base/warning.exp: New file.
456
457 2018-11-08  Jan Beulich  <jbeulich@suse.com>
458
459         * testsuite/gdb.arch/i386-avx512.c,
460         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
461
462 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
463
464         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
465         point hardware.
466
467 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
468
469         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
470         * gdb.dwarf2/missing-type-name.exp: New file.
471
472 2018-11-06  Tom de Vries  <tdevries@suse.de>
473
474         * gdb.base/many-headers.c: New test.
475         * gdb.base/many-headers.exp: New file.
476
477 2018-11-06  Jim Wilson  <jimw@sifive.com>
478
479         * gdb.base/code_elim.exp: For riscv, set additional_flags
480         to include -msmall-data-limit=0.
481
482 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
483
484         * gdb.ada/watch_minus_l: New testcase.
485
486 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
487
488         * gdb.arch/aix-sighandle.c: New file.
489         * gdb.arch/aix-sighandle.exp: New file.
490
491 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
492
493         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
494         registers being unions.
495
496 2018-10-31  Tom de Vries  <tdevries@suse.de>
497
498         * lib/valgrind.exp: New file.
499          (vgdb_start, vgdb_stop): New procs, factored out of ...
500         * gdb.base/valgrind-bt.exp: ... here, ...
501         * gdb.base/valgrind-disp-step.exp: ... here and ...
502         * gdb.base/valgrind-infcall.exp: ... here.
503
504 2018-10-31  Tom de Vries  <tdevries@suse.de>
505
506         * lib/gdb.exp (get_valueof): Don't output read value in test name.
507
508 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
509
510         * gdb.dwarf2/void-type.c: New file.
511         * gdb.dwarf2/void-type.exp: New file.
512
513 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
514
515         * gdb.base/info_qt.c: New file.
516         * gdb.base/info_qt.exp: New file.
517
518 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
519
520         * gdb.arch/powerpc-htm-regs.c: New file.
521         * gdb.arch/powerpc-htm-regs.exp: New file.
522
523 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
524
525         * gdb.arch/powerpc-tar.c: New file.
526         * gdb.arch/powerpc-tar.exp: New file.
527
528 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
529
530         * gdb.arch/powerpc-ppr-dscr.c: New file.
531         * gdb.arch/powerpc-ppr-dscr.exp: New file.
532
533 2018-10-25  Tom de Vries  <tdevries@suse.de>
534
535         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
536
537 2018-10-24  Tom de Vries  <tdevries@suse.de>
538
539         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
540         longer exists error.
541
542 2018-10-24  Tom de Vries  <tdevries@suse.de>
543
544         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
545
546 2018-10-24  Tom de Vries  <tdevries@suse.de>
547
548         * gdb.base/valgrind-db-attach.exp: Handle removed support for
549         --db-attach in valgrind.
550
551 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
552
553         * gdb.arch/riscv-reg-aliases.c: New file.
554         * gdb.arch/riscv-reg-aliases.exp: New file.
555
556 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
557
558         * gdb.python/py-cmd.exp: Check for gdb_prompt.
559
560 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
561
562         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
563
564 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
565
566         * gdb.cp/ovldbreak.exp: Fix regexps.
567
568 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
569
570         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
571
572 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
573
574         PR cli/23785
575         * gdb.base/restore.exp: New test to check if "restore" with an
576         invalid file doesn't segfault.
577
578 2018-10-18  Tom de Vries  <tdevries@suse.de>
579
580         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
581         * gdb.ada/excep_handle.exp: Same.
582         * gdb.ada/mi_string_access.exp: Same.
583         * gdb.ada/mi_var_union.exp: Same.
584         * gdb.arch/arc-analyze-prologue.exp: Same.
585         * gdb.arch/arc-decode-insn.exp: Same.
586         * gdb.base/readnever.exp: Same.
587         * gdb.fortran/printing-types.exp: Same.
588         * gdb.guile/scm-lazy-string.exp: Same.
589
590 2018-10-16  Tom de Vries  <tdevries@suse.de>
591
592         PR gdb/23730
593         * gdb.base/catch-follow-exec.c: Add copyright notice.
594         * gdb.base/catch-follow-exec.exp: Rewrite to use
595         gdb_spawn_with_cmdline_opts.  Require gdb-native.
596
597 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
598
599         * gdb.trace/actions-changed.exp: Check for arch support.
600         * gdb.trace/actions.exp: Likewise.
601         * gdb.trace/ax.exp: Likewise.
602         * gdb.trace/backtrace.exp: Likewise.
603         * gdb.trace/change-loc.exp: Likewise.
604         * gdb.trace/deltrace.exp: Likewise.
605         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
606         * gdb.trace/ftrace.exp: Likewise.
607         * gdb.trace/infotrace.exp: Check for arch support.
608         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
609         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
610         * gdb.trace/mi-tsv-changed.exp: Likewise.
611         * gdb.trace/packetlen.exp: Likewise.
612         * gdb.trace/passc-dyn.exp: Likewise.
613         * gdb.trace/passcount.exp: Likewise.
614         * gdb.trace/pending.exp: Likewise.
615         * gdb.trace/range-stepping.exp: Check for shlib support.
616         * gdb.trace/report.exp: Check for arch support.
617         * gdb.trace/save-trace.exp: Likewise.
618         * gdb.trace/signal.exp: Check for signal support.
619         * gdb.trace/tfind.exp: Check for arch support.
620         * gdb.trace/trace-break.exp: Check for arch and shlib support.
621         * gdb.trace/trace-common.h: Add comment.
622         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
623         * gdb.trace/trace-enable-disable.exp: Likewise.
624         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
625         * gdb.trace/tracecmd.exp: Check for arch support.
626         * gdb.trace/tspeed.exp: Check for shlib and target support.
627         * gdb.trace/tstatus.exp: Check for arch support.
628         * gdb.trace/tsv.exp: Likewise.
629         * gdb.trace/while-dyn.exp: Likewise.
630         * gdb.trace/while-stepping.exp: Likewise.
631         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
632
633 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
634
635         * gdb.trace/tspeed.exp: Remove nowarnings.
636         (prepare_for_trace_test): Declare "global ipalib".
637         * gdb.trace/tspeed.c: Include unistd.h.
638         (main): Remove superfluous printf argument.
639
640 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
641
642         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
643         directory prefix on the filename.
644
645 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
646
647         * gdb.gdb/unittest.exp: Update expected message informing that
648         selftests have been disabled.
649         * gdb.server/unittest.exp: Likewise.
650
651 2018-10-09  Tom de Vries  <tdevries@suse.de>
652
653         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
654         with runto_main.
655
656 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
657
658         PR c++/16841
659         * gdb.cp/virtbase2.cc: New file.
660         * gdb.cp/virtbase2.exp: New file.
661
662 2018-10-06  Tom Tromey  <tom@tromey.com>
663
664         PR python/19399:
665         * gdb.python/py-inferior.exp: Add architecture test.
666
667 2018-10-06  Tom Tromey  <tom@tromey.com>
668
669         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
670         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
671
672 2018-10-06  Tom Tromey  <tom@tromey.com>
673
674         * gdb.python/py-breakpoint.exp (check_last_event): Check location
675         of a "throw" catchpoint.
676
677 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
678
679         * gdb.base/info-proc.exp: Update string expected from "help info
680         proc".
681
682 2018-10-04  Tom Tromey  <tom@tromey.com>
683
684         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
685         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
686         (test_initial_complaints, test_empty_complaints): Update.
687         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
688
689 2018-10-04  Tom Tromey  <tom@tromey.com>
690
691         PR cli/19551:
692         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
693         * lib/gdb.exp (gdb_file_cmd): Update.
694         * gdb.stabs/weird.exp (print_weird_var): Update.
695         * gdb.server/solib-list.exp: Update.
696         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
697         * gdb.mi/mi-cli.exp: Update.
698         * gdb.linespec/linespec.exp: Update.
699         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
700         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
701         * gdb.cp/cp-relocate.exp: Update.
702         * gdb.base/sym-file.exp: Update.
703         * gdb.base/relocate.exp: Update.
704         * gdb.base/readnever.exp: Update.
705         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
706         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
707         * gdb.base/dbx.exp (gdb_file_cmd): Update.
708         * gdb.base/code_elim.exp: Update.
709         * gdb.base/break-unload-file.exp (test_break): Update.
710         * gdb.base/break-interp.exp (test_attach_gdb): Update.
711         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
712         Update.
713         * gdb.base/attach.exp (do_attach_tests): Update.
714         * gdb.base/sepdebug.exp: Update.
715         * gdb.python/py-section-script.exp: Update.
716
717 2018-10-04  Tom Tromey  <tom@tromey.com>
718
719         PR cli/22234:
720         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
721         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
722         output.
723
724 2018-10-04  Tom Tromey  <tom@tromey.com>
725
726         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
727         set width and height to 0.
728         (test_command_line_attach_run): Use -quiet.
729
730 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
731
732         * lib/gdb.exp (skip_ifunc_tests): New.
733         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
734         other compile failures.
735         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
736
737 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
738
739         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
740         is_amd64_regs_target.
741
742 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
743
744         * gdb.arch/aarch64-sighandler-regs.c: New test.
745         * gdb.arch/aarch64-sighandler-regs.exp: New file.
746         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
747
748 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
749
750         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
751         assembly.
752
753 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
754
755         * gdb.base/frame-selection.exp: New file.
756         * gdb.base/frame-selection.c: New file.
757
758 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
759
760         * gdb.threads/check-libthread-db.c (thread_routine): Use a
761         pthread barrier.
762         (main): Likewise.
763
764 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
765
766         * gdb.base/large-frame-1.c: New file.
767         * gdb.base/large-frame-2.c: New file.
768         * gdb.base/large-frame.exp: New file.
769         * gdb.base/large-frame.h: New file.
770
771 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
772
773         PR gdb/20948
774         * gdb.base/write_mem.exp: New test.
775         * gdb.base/write_mem.c: Likewise.
776
777 2018-09-23  Tom Tromey  <tom@tromey.com>
778
779         PR python/18852:
780         * gdb.python/py-parameter.exp: Add test for parameter that throws
781         on "set".
782
783 2018-09-23  Tom Tromey  <tom@tromey.com>
784
785         PR python/17284:
786         * gdb.python/py-template.exp (test_template_arg): Add test for
787         negative template argument number.
788
789 2018-09-23  Tom Tromey  <tom@tromey.com>
790
791         PR python/14062:
792         * gdb.python/python.exp: Add test for post_event error.
793
794 2018-09-23  Tom Tromey  <tom@tromey.com>
795
796         PR python/18170:
797         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
798         convert pointers to int and long.
799
800 2018-09-23  Tom Tromey  <tom@tromey.com>
801
802         PR python/20126:
803         * gdb.python/py-value.exp (test_value_numeric_ops): Add
804         signed-ness conversion tests.
805
806 2018-09-23  Tom Tromey  <tom@tromey.com>
807
808         PR python/18352;
809         * gdb.python/py-value.exp (test_float_conversion): New proc.
810         Use it.
811
812 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
813
814         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
815
816 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
817
818         * gdb.base/complete-empty.exp: Skip tab-completion tests if
819         no readline.
820         * gdb.base/utf8-identifiers.exp: Likewise.
821         * gdb.cp/cpcompletion.exp: Likewise.
822         * gdb.linespec/cpcompletion.exp: Likewise.
823         * gdb.linespec/cpls-abi-tag.exp: Likewise.
824         * gdb.linespec/cpls-ops.exp: Likewise.
825
826 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
827             Chris January  <chris.january@arm.com>
828
829         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
830         * gdb.fortran/short-circuit-argument-list.exp: New file.
831         * gdb.fortran/short-circuit-argument-list.f90: New test.
832
833 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
834
835         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
836         "arch=" keyword when executing "-stack-list-frames".
837
838 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
839
840         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
841         "arch=" keyword when executing "-stack-list-frames".
842
843 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
844
845         * gdb.ada/complete.exp: Expect for "@" when doing "complete
846         break ada".
847
848 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
849
850         PR python/23669
851         * gdb.python/python.exp: Test gdb.execute("show commands").
852
853 2018-09-16  Tom Tromey  <tom@tromey.com>
854
855         * gdb.base/new-ui.exp (do_execution_tests): Update.
856         * gdb.base/dbx.exp (test_breakpoints): Update.
857
858 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
859
860         * lib/gdb.exp (gdb_simple_compile): Add proc.
861         (is_elf_target): Use gdb_simple_compile.
862         (skip_altivec_tests): Likewise.
863         (skip_vsx_tests): Likewise.
864         (skip_tsx_tests): Likewise.
865         (skip_btrace_tests): Likewise.
866         (skip_btrace_pt_tests): Likewise.
867         (gdb_can_simple_compile): Likewise.
868         (gdb_has_argv0): Likewise.
869         (gdb_target_symbol_prefix): Likewise.
870         (target_supports_scheduler_locking): Likewise.
871
872 2018-09-13  Tom Tromey  <tom@tromey.com>
873
874         * Makefile.in (TAGS): Recognize proc_with_prefix and
875         gdb_caching_proc.
876
877 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
878
879         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
880         method.
881
882 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
883
884         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
885         and a few other Inferior properties when the Inferior is no
886         longer valid.
887
888 2018-09-13  Tom Tromey  <tom@tromey.com>
889
890         PR rust/23650:
891         * gdb.rust/simple.exp: Add test for enum field access error.
892
893 2018-09-13  Tom Tromey  <tom@tromey.com>
894
895         PR rust/23626:
896         * gdb.rust/simple.rs (EmptyEnum): New type.
897         (main): Use it.
898         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
899
900 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
901
902         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
903         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
904         * gdb.python/py-symtab.exp: Update test printing an objfile.
905
906 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
907
908         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
909         object.
910
911 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
912
913         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
914         (support_complex_tests): Use gdb_can_simple_compile.
915         (is_ilp32_target): Likewise.
916         (is_lp64_target): Likewise.
917         (is_64_target): Likewise.
918         (is_amd64_regs_target): Likewise.
919         (is_aarch32_target): Likewise.
920         (gdb_int128_helper): Likewise.
921
922 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
923
924         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
925
926 2018-09-10  Jerome Guitton  <guitton@adacore.com>
927
928         * gdb.ada/same_component_name: Add test for case of tagged record
929         with variable-length fields.
930
931 2018-09-10  Xavier Roirand  <roirand@adacore.com>
932
933         * gdb.ada/access_to_unbounded_array.exp: New testcase.
934         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
935         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
936         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
937
938 2018-09-10  Xavier Roirand  <roirand@adacore.com>
939
940         * gdb.ada/mi_string_access.exp: New testcase.
941         * gdb.ada/mi_string_access/bar.adb: New file.
942         * gdb.ada/mi_string_access/pck.adb: New file.
943         * gdb.ada/mi_string_access/pck.asd: New file.
944
945 2018-09-10  Xavier Roirand  <roirand@adacore.com>
946
947         * gdb.ada/mi_var_union.exp: New testcase.
948         * gdb.ada/mi_var_union/bar.adb: New file.
949         * gdb.ada/mi_var_union/pck.adb: New file.
950         * gdb.ada/mi_var_union/pck.asd: New file.
951
952 2018-09-08  Tom Tromey  <tom@tromey.com>
953
954         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
955
956 2018-09-08  Tom Tromey  <tom@tromey.com>
957
958         PR python/16047:
959         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
960         (register_pretty_printers): Register new printer.
961         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
962         test.
963         * gdb.python/py-prettyprint.c (int_type3): New typedef.
964         (an_int_type3): New global.
965
966 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
967
968         * gdb.ada/expr_with_funcall: New testcase.
969
970 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
971
972         * gdb.ada/packed_array_assign: New testcase.
973
974 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
975
976         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
977         names, and add test prefixes to make test names unique.
978
979 2018-09-05  Tom de Vries  <tdevries@suse.de>
980
981         * gdb.dwarf2/varval.exp: Add test.
982
983 2018-09-04  Gary Benson <gbenson@redhat.com>
984
985         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
986         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
987
988 2018-08-31  Tom Tromey  <tom@tromey.com>
989
990         * gdb.rust/simple.rs: Rename second variable "v".
991
992 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
993
994         * gdb.base/funcargs.c (use_a): New function.
995         (recurse): Call use_a.
996
997 2018-08-29  Keith Seitz  <keiths@redhat.com>
998
999         * gdb.compile/compile-cplus-anonymous.cc: New file.
1000         * gdb.compile/compile-cplus-anonymous.exp: New file.
1001         * gdb.compile/compile-cplus-array-decay.cc: New file.
1002         * gdb.compile/compile-cplus-array-decay.exp: New file.
1003         * gdb.compile/compile-cplus-inherit.cc: New file.
1004         * gdb.compile/compile-cplus-inherit.exp: New file.
1005         * gdb.compile/compile-cplus-member.cc: New file.
1006         * gdb.compile/compile-cplus-member.exp: New file.
1007         * gdb.compile/compile-cplus-method.cc: New file.
1008         * gdb.compile/compile-cplus-method.exp: New file.
1009         * gdb.compile/compile-cplus-mod.c: "New" file.
1010         * gdb.compile/compile-cplus-namespace.cc: New file.
1011         * gdb.compile/compile-cplus-namespace.exp: New file.
1012         * gdb.compile/compile-cplus-nested.cc: New file.
1013         * gdb.compile/compile-cplus-nested.exp: New file.
1014         * gdb.compile/compile-cplus-print.c: "New" file.
1015         * gdb.compile/compile-cplus-print.exp: "New" file.
1016         * gdb.compile/compile-cplus-virtual.cc: New file.
1017         * gdb.compile/compile-cplus-virtual.exp: New file.
1018         * gdb.compile/compile-cplus.c: "New" file.
1019         * gdb.compile/compile-cplus.exp: "New" file.
1020         * lib/compile-support.exp: New file.
1021
1022 2018-08-16  Gary Benson <gbenson@redhat.com>
1023
1024         PR gdb/13000:
1025         * gdb.base/batch-exit-status.exp: New file.
1026         * gdb.base/batch-exit-status.good-commands: Likewise.
1027         * gdb.base/batch-exit-status.bad-commands: Likewise.
1028
1029 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
1030
1031         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1032         (struct struct02): Likewise.
1033         (struct struct03): Likewise.
1034         (struct struct04): Likewise.
1035         (struct struct_01_01): New struct.
1036         (struct struct_01_02): Likewise.
1037         (struct struct_01_03): Likewise.
1038         (struct struct_01_04): Likewise.
1039         (struct struct_02_01): Likewise.
1040         (struct struct_02_02): Likewise.
1041         (struct struct_02_03): Likewise.
1042         (struct struct_02_04): Likewise.
1043         (struct struct_04_01): Likewise.
1044         (struct struct_04_02): Likewise.
1045         (struct struct_04_03): Likewise.
1046         (struct struct_04_04): Likewise.
1047         (struct struct_05_01): Likewise.
1048         (struct struct_05_02): Likewise.
1049         (struct struct_05_03): Likewise.
1050         (struct struct_05_04): Likewise.
1051         (cmp_struct01): Remove function.
1052         (cmp_struct02): Likewise.
1053         (cmp_struct03): Likewise.
1054         (cmp_struct04): Likewise.
1055         (cmp_struct_01_01): Add Function.
1056         (cmp_struct_01_02): Likewise.
1057         (cmp_struct_01_03): Likewise.
1058         (cmp_struct_01_04): Likewise.
1059         (cmp_struct_02_01): Likewise.
1060         (cmp_struct_02_02): Likewise.
1061         (cmp_struct_02_03): Likewise.
1062         (cmp_struct_02_04): Likewise.
1063         (cmp_struct_04_01): Likewise.
1064         (cmp_struct_04_02): Likewise.
1065         (cmp_struct_04_03): Likewise.
1066         (cmp_struct_04_04): Likewise.
1067         (cmp_struct_05_01): Likewise.
1068         (cmp_struct_05_02): Likewise.
1069         (cmp_struct_05_03): Likewise.
1070         (cmp_struct_05_04): Likewise.
1071         (call_all): Add new structs.
1072         * gdb.base/infcall-nested-structs.exp: Likewise.
1073
1074 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1075
1076         * gdb.python/py-framefilter-mi.exp: Update regexp to
1077         check for "arch" field in frame output.
1078
1079 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1080
1081         * gdb.dwarf2/dw2-ranges-func.c: New file.
1082         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1083
1084 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1085
1086         * gdb.base/term.exp: Compare terminal settings with values from
1087         the inferior.
1088         * gdb.base/term.c: Get and set terminal settings.
1089
1090 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1091
1092         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1093         accommodate new "arch" field in frame output.
1094         * gdb.mi/mi-return.exp: Likewise.
1095         * gdb.mi/mi-stack.exp: Likewise.
1096         * gdb.mi/mi-syn-frame.exp: Likewise.
1097         * gdb.mi/user-selected-context-sync.exp: Likewise.
1098
1099 2018-08-19  Michael Spang  <spang@google.com>
1100
1101         PR gdb/11786
1102         * gdb.base/gcore-tls-pie.c: New file.
1103         * gdb.base/gcore-tls-pie.exp: New file.
1104
1105 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1106
1107         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1108         * gdb.dwarf2/varval.c: New file.
1109         * gdb.dwarf2/varval.exp: New file.
1110
1111 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1112
1113         PR gdb/18931
1114         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1115
1116 2018-08-16  Keith Seitz  <keiths@redhat.com>
1117
1118         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1119         tests expected to pass.
1120
1121 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1122
1123         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1124         -data-disassemble -a.
1125         (test_disassembly_bogus_args): Likewise.
1126
1127 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1128
1129         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1130
1131 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1132
1133         * gdb.base/vla-optimized-out.exp: Add new test.
1134
1135 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1136
1137         * gdb.base/vla-optimized-out-o3.exp: Delete.
1138         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1139         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1140         deleted tests.
1141
1142 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1143
1144         PR gdb/18050:
1145         * gdb.server/extended-remote-restart.c: New file.
1146         * gdb.server/extended-remote-restart.exp: New file.
1147
1148 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1149
1150         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1151         "set variable index = 42".
1152
1153 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1154
1155         * boards/index-cache-gdb.exp: New file.
1156         * gdb.dwarf2/index-cache.exp: New file.
1157         * gdb.dwarf2/index-cache.c: New file.
1158         * gdb.base/maint.exp: Check if we are using the index cache.
1159
1160 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1161
1162         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1163         MAKEFLAGS.
1164
1165 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1166
1167         * dg-extract-results.sh: Move to toplevel contrib.
1168         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1169         * Makefile.in (check-parallel-racy): Likewise.
1170
1171 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1172
1173         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1174         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1175         tests if the target supports scheduler locking.
1176
1177 2018-08-04  Tom de Vries  <tdevries@suse.de>
1178
1179         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1180
1181 2018-08-02  Tom Tromey  <tom@tromey.com>
1182
1183         PR symtab/16842.
1184         * gdb.cp/temargs.exp: Test "info address" of a template
1185         parameter.
1186
1187 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1188
1189         * gdb.python/py-mi-var-info-path-expression.c: New file.
1190         * gdb.python/py-mi-var-info-path-expression.py: New file.
1191         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1192
1193 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1194
1195         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1196         error after "cannot resolve name" string.
1197
1198 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1199
1200         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1201         started.
1202         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1203
1204 2018-07-28  Tom de Vries  <tdevries@suse.de>
1205
1206         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1207
1208 2018-07-26  Tom de Vries  <tdevries@suse.de>
1209
1210         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1211
1212 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1213
1214         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1215         is visible.
1216
1217 2018-07-26  Tom de Vries  <tdevries@suse.de>
1218
1219         PR breakpoints/23366
1220         * gdb.base/catch-follow-exec.c: New test.
1221         * gdb.base/catch-follow-exec.exp: New file.
1222
1223 2018-07-25  Tom de Vries  <tdevries@suse.de>
1224
1225         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1226         vla-optimized-out.c.
1227
1228 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1229
1230         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1231         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1232
1233 2018-07-20  Tom de Vries  <tdevries@suse.de>
1234
1235         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1236         NOCLONE macro.
1237         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1238
1239 2018-07-19  Tom de Vries  <tdevries@suse.de>
1240
1241         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1242         regular expression.
1243
1244 2018-07-18  Tom de Vries  <tdevries@suse.de>
1245
1246         * gdb.base/vla-optimized-out.c: New test.
1247         * gdb.base/vla-optimized-out.exp: New file.
1248
1249 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1250
1251         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1252         message "No address associated with hostname" when gdbserver
1253         cannot resolve the hostname.
1254
1255 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1256
1257         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1258         Add some test prefixes to make tests unique.
1259
1260 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1261
1262         * gdb.base/frameapply.c: New file.
1263         * gdb.base/frameapply.exp: New file.
1264
1265 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1266
1267         * gdb.base/skip.exp: Update expected error message.
1268
1269 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1270             Jan Kratochvil  <jan.kratochvil@redhat.com>
1271             Paul Fertser  <fercerpav@gmail.com>
1272             Tsutomu Seki  <sekiriki@gmail.com>
1273
1274         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1275         parameter.
1276         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1277         by default.
1278         * boards/native-gdbserver.exp: Likewise.
1279         * gdb.server/run-without-local-binary.exp: Improve regexp used
1280         for detecting when a remote debugging connection succeeds.
1281         * gdb.server/server-connect.exp: New file.
1282         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1283         Do not prefix the port number with ":".
1284         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1285         support for detecting and using it.  Add '$debughost_gdbserver'
1286         to the list of arguments used to start gdbserver.  Handle case
1287         when gdbserver cannot resolve a network name.
1288
1289 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1290
1291         PR c++/23373
1292         * gdb.base/ptype-offsets.cc (struct static_member): New
1293         struct.
1294         (main) <stmember>: New variable.
1295         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1296         with a static member in it.
1297
1298 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1299
1300         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1301         watchpoints enabled and disabled.
1302
1303 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1304
1305         * gdb.base/examine-backward.exp: Still run tests around address
1306         0x0, even if address 0x0 is not readable.  Update the pattern for
1307         matching address 0x0 in expected output.
1308
1309 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1310
1311         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1312         malloc/free.
1313
1314 2018-07-04  Tom de Vries  <tdevries@suse.de>
1315
1316         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1317
1318 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1319
1320         PR tdep/8282
1321         * gdb.arch/mips-disassembler-options.exp: New test.
1322         * gdb.arch/mips-disassembler-options.s: New test source.
1323
1324 2018-06-29  Pedro Alves  <palves@redhat.com>
1325
1326         * gdb.threads/names.exp: Adjust expected "info threads" output.
1327
1328 2018-06-29  Pedro Alves  <palves@redhat.com>
1329
1330         * gdb.opt/inline-break.exp (line number, address): Add "info
1331         break" tests.
1332
1333 2018-06-29  Pedro Alves  <palves@redhat.com>
1334
1335         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1336         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1337         number and address and running to them.
1338
1339 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1340
1341         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1342
1343 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1344
1345         * lib/compiler.c: Remove executable permission flag.
1346
1347 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1348
1349         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1350         code.
1351         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1352
1353 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1354
1355         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1356
1357 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1358
1359         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1360         address argument is omitted.
1361
1362 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1363
1364         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1365
1366 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1367
1368         PR gdb/21695
1369         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1370         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1371
1372 2018-06-26  Tom Tromey  <tom@tromey.com>
1373
1374         PR rust/22574:
1375         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1376         * gdb.rust/simple.rs (struct SimpleLayout): New.
1377
1378 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1379
1380         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1381         "info registers" output.
1382
1383 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1384
1385         * gdb.base/watchpoint-hw-attach.c: New test.
1386         * gdb.base/watchpoint-hw-attach.exp: New file.
1387
1388 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1389
1390         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1391         through /bin/sh.
1392         * boards/dwarf4-gdb-index.exp: Likewise.
1393         * boards/fission-dwp.exp: Likewise.
1394
1395 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1396
1397         * gdb.base/float128.exp: Add comment and improved fail message
1398         to the failure case of "print large128" test.
1399
1400 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1401
1402         * configure.ac: Remove AC_PREREQ.
1403         * configure: Re-generate.
1404
1405 2018-06-19  Pedro Alves  <palves@redhat.com>
1406
1407         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1408         (func_extern_caller): New.
1409         (main): Call func_extern_caller.
1410         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1411         logic change.
1412
1413 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1414
1415         PR gdb/16841
1416         * gdb.cp/typedef-base.cc: New file.
1417         * gdb.cp/typedef-base.exp: New file.
1418
1419 2018-06-18  Tom de Vries  <tdevries@suse.de>
1420
1421         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1422
1423 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1424             Richard Bunt <Richard.Bunt@arm.com>
1425
1426         * gdb.threads/attach-slow-waitpid.c: New file.
1427         * gdb.threads/attach-slow-waitpid.exp: New file.
1428         * gdb.threads/slow-waitpid.c: New file.
1429
1430 2018-06-14  Pedro Alves  <palves@redhat.com>
1431
1432         * gdb.base/fork-running-state.c: Include <errno.h>.
1433         (exit_if_relative_exits): New.
1434         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1435         exits.
1436         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1437         child exits.
1438
1439 2018-06-14  Tom de Vries  <tdevries@suse.de>
1440
1441         PR cli/22573
1442         * gdb.base/finish-pretty.c: New test.
1443         * gdb.base/finish-pretty.exp: New file.
1444
1445 2018-06-14  Pedro Alves  <palves@redhat.com>
1446
1447         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1448         gdb's expected startup output.
1449
1450 2018-06-14  Pedro Alves  <palves@redhat.com>
1451
1452         * lib/selftest-support.exp (selftest_setup): Remove inlined
1453         function handling.
1454
1455 2018-06-14  Tom de Vries  <tdevries@suse.de>
1456
1457         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1458         matching of breakpoint printing.
1459
1460 2018-06-13  Tom de Vries  <tdevries@suse.de>
1461
1462         PR testsuite/23269
1463         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1464         (fork_child): ... here, and ...
1465         (fork_parent): ... here.
1466
1467 2018-06-12  Tom de Vries  <tdevries@suse.de>
1468
1469         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1470
1471 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1472             Stephen Roberts  <stephen.roberts@arm.com>
1473
1474         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1475         rewrite test to describe action performed, rather than possible
1476         failure.
1477
1478 2018-06-08  Gary Benson <gbenson@redhat.com>
1479
1480         * gdb.threads/check-libthread-db.exp: New file.
1481         * gdb.threads/check-libthread-db.c: Likewise.
1482
1483 2018-06-05  Tom Tromey  <tom@tromey.com>
1484
1485         * gdb.base/default.exp: Update expected "show version" output.
1486
1487 2018-06-05  Tom Tromey  <tom@tromey.com>
1488
1489         PR cli/12326:
1490         * gdb.cp/static-print-quit.exp: Update.
1491         * lib/gdb.exp (pagination_prompt): Update.
1492         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1493         * gdb.python/python.exp: Update.
1494
1495 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1496
1497         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1498
1499 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1500
1501         * gdb.ada/bp_fun_addr: New testcase.
1502
1503 2018-06-01  Tom Tromey  <tom@tromey.com>
1504
1505         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1506         results.
1507         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1508         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1509         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1510         * gdb.base/maint.exp (maint_pass_if): Update.
1511
1512 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1513
1514         * gdb.base/endian.exp: New test.
1515         * gdb.base/endian.c: New test source.
1516
1517 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1518
1519         PR gdb/23203
1520         * gdb.base/bt-selected-frame.c: New file.
1521         * gdb.base/bt-selected-frame.exp: New file.
1522         * lib/gdb.exp (get_current_frame_number): New function.
1523
1524 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1525             Pedro Alves  <palves@redhat.com>
1526
1527         * gdb.threads/tls-core.c: Include <stdlib.h>
1528         (thread_proc): Call `abort'.
1529         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1530         (tls_core_test): New procedure, bits factored out from ...
1531         (top level): ... here.  Test both native cores and gcore cores.
1532
1533 2018-05-23  Tom Tromey  <tom@tromey.com>
1534
1535         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1536
1537 2018-05-23  Tom Tromey  <tom@tromey.com>
1538
1539         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1540         symfile_complaints.
1541         (test_short_complaints): Likewise.
1542         (test_empty_complaints): Likewise.
1543         (test_initial_complaints): Update.
1544
1545 2018-05-23  Tom Tromey  <tom@tromey.com>
1546
1547         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1548
1549 2018-05-23  Tom Tromey  <tom@tromey.com>
1550
1551         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1552         (test_short_complaints): Update.
1553
1554 2018-05-22  Pedro Alves  <palves@redhat.com>
1555
1556         * gdb.base/remote.exp: Only gdb_start after compiling the
1557         testcase.  Issue "disconnect" before testing "set remote" command
1558         defaults.  Issue clean_restart before running to main.
1559
1560 2018-05-22  Pedro Alves  <palves@redhat.com>
1561
1562         * gdb.base/remote.exp: Adjust expected output of "show remote
1563         memory-write-packet-size".  Add tests for "set remote
1564         memory-write-packet-size 0" and "set remote
1565         memory-write-packet-size fixed/limit".
1566
1567 2018-05-22  Pedro Alves  <palves@redhat.com>
1568
1569         PR gdb/22973
1570         * gdb.base/utf8-identifiers.c: New file.
1571         * gdb.base/utf8-identifiers.exp: New file.
1572
1573 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1574
1575         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1576
1577 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1578
1579         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1580
1581 2018-05-18  Tom Tromey  <tom@tromey.com>
1582
1583         * gdb.base/ptype-offsets.exp: Update.
1584
1585 2018-05-17  Keith Seitz  <keiths@redhat.com>
1586
1587         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1588         in expected breakpoint stop locations.
1589         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1590         move to proper scope to test variable values.
1591         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1592         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1593         New functions.
1594         (main): Call not_inline_func3.
1595         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1596         inline_func1, inline_func2, and inline_func3.  Test that when each
1597         breakpoint is hit, GDB properly reports both the stop location
1598         and the backtrace. Repeat tests for temporary breakpoints.
1599
1600 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1601
1602         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1603         rather then trying to access it in determining whether the PID
1604         of `gdbserver' could have been retrieved.
1605
1606 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1607
1608         * gdb.arch/amd64-init-x87-values.S: New file.
1609         * gdb.arch/amd64-init-x87-values.exp: New file.
1610
1611 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1612
1613         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1614
1615 2018-05-04  Tom Tromey  <tom@tromey.com>
1616
1617         PR python/22730:
1618         * gdb.python/python.exp: Test multi-line execute.
1619
1620 2018-05-04  Tom Tromey  <tom@tromey.com>
1621
1622         PR python/22731:
1623         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1624
1625 2018-05-04  Tom Tromey  <tom@tromey.com>
1626
1627         PR gdb/11750:
1628         * gdb.base/define.exp: Test defining a user command inside a user
1629         command.
1630         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1631
1632 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1633             Pedro Alves <palves@redhat.com>
1634
1635         PR breakpoints/19806 and support for PR external/20207.
1636         * gdb.base/watchpoint-unaligned.c: New file.
1637         * gdb.base/watchpoint-unaligned.exp: New file.
1638
1639 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1640
1641         * gdb.base/maint.exp: Make test names unique, use
1642         test_prefix_command_help to test 'help maint info', and remove
1643         repeated test of 'help maint'.
1644
1645 2018-05-04  Tom Tromey  <tom@tromey.com>
1646
1647         PR gdb/22619:
1648         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1649         behavior.
1650
1651 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1652
1653         * gdb.base/maint.exp: Process output from 'maint print registers'
1654         line at a time.
1655
1656 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1657
1658         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1659         timeout.
1660
1661 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1662
1663         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1664         filter pattern.
1665
1666 2018-05-02  Pedro Alves  <palves@redhat.com>
1667
1668         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1669         to_log_command renames.
1670         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1671
1672 2018-05-02  Tom Tromey  <tom@tromey.com>
1673
1674         * gdb.python/py-parameter.exp: Set test message.
1675
1676 2018-05-02  Tom Tromey  <tom@tromey.com>
1677
1678         PR python/20084:
1679         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1680         PARAM_ZUINTEGER_UNLIMITED tests.
1681
1682 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1683
1684         PR rust/23124
1685         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1686         when casting.
1687
1688 2018-04-30  Tom Tromey  <tom@tromey.com>
1689
1690         * gdb.python/py-type.exp: Check align attribute.
1691         * gdb.python/py-type.c: New "aligncheck" global.
1692
1693 2018-04-30  Tom Tromey  <tom@tromey.com>
1694
1695         PR exp/17095:
1696         * gdb.dwarf2/dw2-align.exp: New file.
1697         * gdb.cp/align.exp: New file.
1698         * gdb.base/align.exp: New file.
1699         * lib/gdb.exp (gdb_int128_helper): New proc.
1700         (has_int128_c, has_int128_cxx): New caching procs.
1701
1702 2018-04-27  Tom Tromey  <tom@tromey.com>
1703
1704         PR rust/22545:
1705         * gdb.rust/simple.exp: Add inclusive range tests.
1706
1707 2018-04-26  Pedro Alves  <palves@redhat.com>
1708
1709         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1710         ifunc breakpoint locations correctly of ifunc breakpoints set
1711         while the program resolves the ifunc.
1712
1713 2018-04-26  Pedro Alves  <palves@redhat.com>
1714
1715         * gdb.base/gnu-ifunc-final.c: New file.
1716         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1717         * gdb.base/gnu-ifunc.exp (executable): Delete.
1718         (staticexecutable): Adjust.
1719         (lib_opts, exec_opts): Delete.
1720         (make_binsuffix, build, set-break): New procedures.
1721         (misc_tests): New, with tests factored out from the top level.
1722         (top level): Test different combinations of ifunc resolver name,
1723         resolver with and with debug info, and ifunc target with and
1724         without debug info.  Wrap static tests with with_target_prefix.
1725
1726 2018-04-26  Pedro Alves  <palves@redhat.com>
1727
1728         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1729         return type" warnings.
1730
1731 2018-04-25  Pedro Alves  <palves@redhat.com>
1732
1733         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1734         killed".
1735         * gdb.base/kill-after-signal.exp: Likewise.
1736         * gdb.threads/kill.exp: Likewise.
1737
1738 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1739             Sergio Durigan Junior  <sergiodj@redhat.com>
1740             Pedro Alves  <palves@redhat.com>
1741
1742         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1743         regexps to expect for '[Inferior ... detached]' as well.
1744         * gdb.base/attach.exp: Likewise.
1745         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1746         "gdb_continue_to_end".
1747         (test_catch_syscall_with_wrong_args): Likewise.
1748         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1749         ']'.  Don't set 'verbose' on.
1750         * gdb.base/foll-vfork.exp: Likewise.
1751         * gdb.base/fork-print-inferior-events.c: New file.
1752         * gdb.base/fork-print-inferior-events.exp: New file.
1753         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1754         '[Inferior ... has been killed]' message.
1755         * gdb.base/kill-after-signal.exp: Likewise.
1756         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1757         detach message.
1758         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1759         message.
1760         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1761         regexps to expect for '[Inferior ... detached]' as well.
1762         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1763
1764 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1765
1766         PR gdb/23104
1767         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1768
1769 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1770
1771         * gdb.threads/multiple-successive-infcall.c: New test.
1772         * gdb.threads/multiple-successive-infcall.exp: New file.
1773
1774 2018-04-17  Tom Tromey  <tom@tromey.com>
1775
1776         * gdb.rust/simple.rs (Union): New type.
1777         (main): New local "u".
1778         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1779
1780 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1781
1782         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1783         number information in output of "whereis" command.
1784         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1785
1786 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1787
1788         * gdb.ada/info_types.exp: Adjust expected output to the line
1789         numbers now printed by "info var/func/type".
1790         * gdb.base/completion.exp: Likewise.
1791         * gdb.base/included.exp: Likewise.
1792         * gdb.cp/cp-relocate.exp: Likewise.
1793         * gdb.cp/cplusfuncs.exp: Likewise.
1794         * gdb.cp/namespace.exp: Likewise.
1795         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1796
1797 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1798
1799         * gdb.btrace/cpu.exp: New.
1800
1801 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1802
1803         * gdb.base/step-indirect-call-thunk.exp: New.
1804         * gdb.base/step-indirect-call-thunk.c: New.
1805         * gdb.reverse/step-indirect-call-thunk.exp: New.
1806         * gdb.reverse/step-indirect-call-thunk.c: New.
1807
1808 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1809
1810         * gdb.base/pie-fork.c: New file.
1811         * gdb.base/pie-fork.exp: New file.
1812
1813 2018-04-11  Tom Tromey  <tom@tromey.com>
1814
1815         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1816
1817 2018-04-10  Pedro Alves  <palves@redhat.com>
1818
1819         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1820         exits.  Instead loop running forever.
1821         (fork_parent): Run forever too.
1822
1823 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1824
1825         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1826         mi_continue_to_line.
1827         * gdb.mi/mi-stack.c (callee4): Add comment.
1828
1829 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1830
1831         * gdb.mi/mi-stack.exp: Fix indentation.
1832
1833 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1834
1835         PR gdb/22979
1836         * gdb.arch/amd64-osabi.exp: New file.
1837
1838 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1839
1840         PR gdb/22980
1841         * gdb.base/osabi.exp: New file.
1842
1843 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1844
1845         * gdb.cp/static-typedef-print.exp: New file.
1846         * gdb.cp/static-typedef-print.cc: New file.
1847
1848 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1849
1850         * gdb.ada/varsize_limit: New testcase.
1851
1852 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1853
1854         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1855
1856         * gdb.ada/notcplusplus: New testcase.
1857
1858         * gdb.base/c-linkage-name.c: New file.
1859         * gdb.base/c-linkage-name.exp: New testcase.
1860
1861 2018-03-26  Tom Tromey  <tom@tromey.com>
1862
1863         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1864         * gdb.python/py-framefilter.py (name_error): New global.
1865         (ErrorInName.function): Use name_error.
1866
1867 2018-03-26  Tom Tromey  <tom@tromey.com>
1868
1869         PR backtrace/15582:
1870         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1871
1872 2018-03-23  Keith Seitz  <keiths@redhat.com>
1873
1874         PR c++/22968
1875         * gdb.cp/subtypes.exp: New file.
1876         * gdb.cp/subtypes.h: New file.
1877         * gdb.cp/subtypes.cc: New file.
1878         * gdb.cp/subtypes-2.cc: New file.
1879
1880 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1881
1882         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1883         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1884         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1885         -nostartfiles when compiling the test.  Confirm that all registers
1886         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1887
1888 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1889
1890         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1891         option, syntax was wrong anyway.
1892         * gdb.arch/arm-disp-step.exp: Likewise.
1893         * gdb.arch/sparc64-regs.exp: Likewise.
1894         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1895         option, syntax was wrong anyway, switch to use
1896         prepare_for_testing.
1897         * gdb.arch/i386-disp-step.exp: Likewise.
1898
1899 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1900
1901         * gdb.ada/exec_changed.exp: Replace "target_info exists
1902         use_gdb_stub" by "use_gdb_stub".
1903         * gdb.ada/start.exp: Likewise.
1904         * gdb.base/async-shell.exp: Likewise.
1905         * gdb.base/attach-pie-misread.exp: Likewise.
1906         * gdb.base/attach-wait-input.exp: Likewise.
1907         * gdb.base/break-entry.exp: Likewise.
1908         * gdb.base/break-interp.exp: Likewise.
1909         * gdb.base/dprintf-detach.exp: Likewise.
1910         * gdb.base/nostdlib.exp: Likewise.
1911         * gdb.base/solib-nodir.exp: Likewise.
1912         * gdb.base/statistics.exp: Likewise.
1913         * gdb.base/testenv.exp: Likewise.
1914         * gdb.mi/mi-exec-run.exp: Likewise.
1915         * gdb.mi/mi-start.exp: Likewise.
1916         * gdb.multi/dummy-frame-restore.exp: Likewise.
1917         * gdb.multi/multi-arch-exec.exp: Likewise.
1918         * gdb.multi/multi-arch.exp: Likewise.
1919         * gdb.multi/tids.exp: Likewise.
1920         * gdb.multi/watchpoint-multi.exp: Likewise.
1921         * gdb.python/py-events.exp: Likewise.
1922         * gdb.threads/attach-into-signal.exp: Likewise.
1923         * gdb.threads/attach-stopped.exp: Likewise.
1924         * gdb.threads/threadapply.exp: Likewise.
1925         * lib/selftest-support.exp: Likewise.
1926
1927 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1928
1929         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1930
1931 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1932
1933         * gdb.perf/template-breakpoints.cc: New file.
1934         * gdb.perf/template-breakpoints.exp: New file.
1935         * gdb.perf/template-breakpoints.py: New file.
1936
1937 2018-03-19  Tom Tromey  <tom@tromey.com>
1938
1939         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1940         y0.
1941         * gdb.rust/simple.exp: Test bare identifier form of struct
1942         initializer.
1943
1944 2018-03-19  Tom Tromey  <tom@tromey.com>
1945
1946         * gdb.gdb/observer.exp: Remove.
1947
1948 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1949
1950         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1951         "qualified" option when setting breakpoints.
1952         * gdb.trace/backtrace.exp: Likewise.
1953         * gdb.trace/circ.exp: Likewise.
1954         * gdb.trace/collection.exp: Likewise.
1955         * gdb.trace/disconnected-tracing.exp: Likewise.
1956         * gdb.trace/ftrace-lock.exp: Likewise.
1957         * gdb.trace/ftrace.exp: Likewise.
1958         * gdb.trace/infotrace.exp: Likewise.
1959         * gdb.trace/packetlen.exp: Likewise.
1960         * gdb.trace/passc-dyn.exp: Likewise.
1961         * gdb.trace/qtro.exp: Likewise.
1962         * gdb.trace/read-memory.exp: Likewise.
1963         * gdb.trace/report.exp: Likewise.
1964         * gdb.trace/signal.exp: Likewise.
1965         * gdb.trace/status-stop.exp: Likewise.
1966         * gdb.trace/strace.exp: Likewise.
1967         * gdb.trace/tfind.exp: Likewise.
1968         * gdb.trace/trace-break.exp: Likewise.
1969         * gdb.trace/trace-condition.exp: Likewise.
1970         * gdb.trace/trace-mt.exp: Likewise.
1971         * gdb.trace/tstatus.exp: Likewise.
1972         * gdb.trace/tsv.exp: Likewise.
1973         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1974         * gdb.trace/unavailable.exp: Likewise.
1975         * gdb.trace/while-dyn.exp: Likewise.
1976
1977 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1978
1979         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1980         that libinproctrace is copied to the target.
1981
1982 2018-03-14  Tom Tromey  <tom@tromey.com>
1983
1984         PR cli/14977:
1985         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1986         a null pointer.
1987         * gdb.base/wchar.exp: Likewise.
1988
1989 2018-03-14  Tom Tromey  <tom@tromey.com>
1990
1991         PR cli/19918:
1992         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1993         flag.
1994
1995 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1996
1997         PR gdb/22841
1998         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1999         "target" to remote_exec.
2000
2001 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
2002
2003         PR gdb/22841
2004         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2005         ${board}_upload): Remove.
2006
2007 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2008
2009         * gdb.cp/watch-cp.cc: New test.
2010         * gdb.cp/watch-cp.exp: New file.
2011
2012 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2013
2014         * gdb.base/infcall-nested-structs.exp: New file.
2015         * gdb.base/infcall-nested-structs.c: New file.
2016         * gdb.base/float.exp: Add riscv support.
2017
2018 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2019
2020         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2021         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2022
2023 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
2024
2025         * gdb.server/abspath.exp: New file.
2026         * lib/gdb.exp (with_cwd): New procedure.
2027
2028 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
2029
2030         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2031         use it.
2032         (gdb_is_target_remote_prompt): New proc.
2033         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2034         (gdb_is_target_native): Pass prompt parameter to
2035         gdb_is_target_1.
2036
2037 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
2038
2039         * gdb.base/load-command.c: New file.
2040         * gdb.base/load-command.exp: New file.
2041         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2042         (gdb_is_target_1): ...this, and generalize for other targets
2043         than just remote.
2044         (gdb_is_target_remote): Use gdb_is_target_1.
2045         (gdb_is_target_native): use gdb_is_target_1.
2046
2047 2018-02-26  Tom Tromey  <tom@tromey.com>
2048
2049         PR python/16497:
2050         * gdb.python/py-framefilter.exp: Update test.
2051
2052 2018-02-26  Tom Tromey  <tom@tromey.com>
2053
2054         * gdb.dwarf2/variant.c: New file.
2055         * gdb.dwarf2/variant.exp: New file.
2056
2057 2018-02-26  Tom Tromey  <tom@tromey.com>
2058
2059         * gdb.rust/simple.exp: Accept more possible results in enum test.
2060
2061 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
2062
2063         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2064         parentheses.
2065
2066 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
2067
2068         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2069         name of a variable: $actual_linejj -> $actual_line.
2070
2071 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2072
2073         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2074
2075 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2076
2077         * gdb.btrace/buffer-size.exp: Do not force BTS.
2078
2079 2018-02-14  Pedro Alves  <palves@redhat.com>
2080
2081         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2082         getting a "Quit".
2083
2084 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2085
2086         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2087         Fix test name.
2088
2089 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2090
2091         * gdb.cp/m-static.exp: Check type of optimized out static
2092         member.
2093
2094 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2095
2096         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2097         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2098
2099 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2100             Leszek Swirski  <leszeks@google.com>
2101
2102         * gdb.python/py-prettyprint.c
2103         (struct to_string_returns_value_inner,
2104         struct to_string_returns_value_wrapper): New.
2105         (main): Add tsrvw variable.
2106         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2107         ToStringReturnsValueWrapper): New classes.
2108         (register_pretty_printers): Register new pretty-printers.
2109         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2110         recursive pretty printer.
2111         * gdb.python/py-mi.exp: Likewise.
2112
2113 2018-02-01  Leszek Swirski  <leszeks@google.com>
2114
2115         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2116         functions with the same name as an include file are parsed
2117         correctly.
2118
2119 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2120
2121         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2122         "\[^\r\n\]*".
2123
2124 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2125
2126         * gdb.arch/powerpc-prologue-frame.s: New file.
2127         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2128         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2129
2130 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2131
2132         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2133
2134 2018-01-30  Pedro Alves  <palves@redhat.com>
2135
2136         PR gdb/13211
2137         * gdb.base/interrupt-daemon.c: New.
2138         * gdb.base/interrupt-daemon.exp: New.
2139         * gdb.multi/multi-term-settings.c: New.
2140         * gdb.multi/multi-term-settings.exp: New.
2141
2142 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2143
2144         * gdb.base/break.exp: Save the location where the breakpoint
2145         on break.c:47 was actually inserted when debugging the version
2146         compiled at -O2 and use it in the expected output of the "info
2147         break" test performed soon after.
2148
2149 2018-01-22  Pedro Alves  <palves@redhat.com>
2150             Sergio Durigan Junior  <sergiodj@redhat.com>
2151
2152         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2153         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2154
2155 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2156
2157         * gdb.base/break-include.c, gdb.base/break-include.inc,
2158         gdb.base/break-include.exp: New files.
2159         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2160         line number now being the actual line number where the breakpoint
2161         was inserted.
2162         * gdb.mi/mi-break.exp: Likewise.
2163         * gdb.mi/mi-reverse.exp: Likewise.
2164         * gdb.mi/mi-simplerun.exp: Ditto.
2165
2166 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2167
2168         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2169         varobj.
2170         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2171
2172 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2173             Andrew Burgess  <andrew.burgess@embecosm.com>
2174
2175         * gdb.mi/basics.c: Add new global.
2176         * gdb.mi/mi-frame-regs.exp: New file.
2177         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2178         case.
2179
2180 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2181
2182         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2183         non-parameter, and on an unknown symbol.
2184
2185 2018-01-19  Tom Tromey  <tom@tromey.com>
2186
2187         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2188         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2189
2190 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2191
2192         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2193         setrlimit and chdir to int.
2194
2195 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2196
2197         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2198         function.
2199         (my_tend): Likewise.
2200         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2201         rationale of avoiding FP- and vector instructions.
2202
2203 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2204
2205         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2206         "info reg" with "\[ \t\]*".
2207         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2208         "\[ \t\]+".
2209         * gdb.arch/s390-multiarch.exp: Ditto.
2210         * gdb.base/pc-fp.exp: Ditto.
2211         * gdb.reverse/i386-precsave.exp: Ditto.
2212         * gdb.reverse/i386-reverse.exp: Ditto.
2213         * gdb.reverse/i387-env-reverse.exp: Ditto.
2214         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2215
2216 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2217
2218         * lib/gdb.exp (gdb_compile): Re-enable use of
2219         universal_compile_options for languages other than Rust.
2220
2221 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2222
2223         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2224
2225 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2226
2227         PR gdb/16577
2228         * gdb.base/solib-vanish.exp: New.
2229         * gdb.base/solib-vanish-main.c: New.
2230         * gdb.base/solib-vanish-lib1.c: New.
2231         * gdb.base/solib-vanish-lib2.c: New.
2232
2233 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2234
2235         * gdb.compile/compile.exp: Match the address printed for
2236         frame in the output of command "bt".
2237
2238 2018-01-15  Tom Tromey  <tom@tromey.com>
2239
2240         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2241         compute sp_reg.
2242
2243 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2244
2245         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2246         to prepare.
2247         (prepare): Return 0 on error, 1 on success.
2248
2249 2018-01-12  Pedro Alves  <palves@redhat.com>
2250
2251         * gdb.base/continue-after-aborted-step-over.c: New.
2252         * gdb.base/continue-after-aborted-step-over.exp: New.
2253
2254 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2255
2256         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2257         options when not creating an executable.
2258
2259 2018-01-11  Pedro Alves  <palves@redhat.com>
2260
2261         PR remote/22597
2262         * gdb.server/stop-reply-no-thread.c: New file.
2263         * gdb.server/stop-reply-no-thread.exp: New file.
2264
2265 2018-01-10  Pedro Alves  <palves@redhat.com>
2266
2267         PR gdb/22670
2268         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2269         functions too.  Test setting breakpoints and printing C functions
2270         with no debug info too.
2271         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2272
2273 2018-01-10  Pedro Alves  <palves@redhat.com>
2274
2275         PR gdb/22670
2276         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2277         a fail.
2278
2279 2018-01-10  Pedro Alves  <palves@redhat.com>
2280
2281         PR gdb/22670
2282         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2283
2284 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2285
2286         * gdb.server/unittest.exp: Match the output in non-development
2287         mode.
2288
2289 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2290
2291         * gdb.gdb/unittest.exp: Match output in non-development mode.
2292
2293 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2294
2295         * gdb.ada/access_tagged_param.exp: Relax expected output
2296         for value of "ObjL" in "continue" to pck.inspect breakpoint
2297         test.
2298
2299 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2300
2301         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2302         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2303
2304 2018-01-05  Pedro Alves  <palves@redhat.com>
2305
2306         PR gdb/18653
2307         * gdb.base/libsegfault.exp: New.
2308
2309 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2310
2311         PR gdb/22670
2312         * gdb.ada/access_tagged_param.exp: New file.
2313         * gdb.ada/access_tagged_param/foo.adb: New file.
2314
2315 2018-01-05  Pedro Alves  <palves@redhat.com>
2316
2317         PR gdb/22670
2318         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2319         exercise lower case too, and to exercise both full matching and
2320         wild matching.
2321
2322 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2323
2324         * gdb.ada/rename_subscript_param: New testcase.
2325
2326 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2327
2328         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2329
2330 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2331
2332         * gdb.ada/convvar_comp: New testcase.
2333
2334 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2335
2336         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2337         (My_Table): New global variable.
2338         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2339
2340 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2341
2342         PR gdb/22670
2343         * gdb.ada/maint_with_ada: New testcase.
2344
2345 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2346
2347         PR gdb/22670
2348         * gdb.ada/bp_c_mixed_case: New testcase.
2349
2350 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2351
2352         PR gdb/22670
2353         * gdb.ada/complete.exp: Add "complete break ada" test.
2354
2355 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2356
2357         PR gdb/22670
2358         * gdb.ada/info_addr_mixed_case: New testcase.
2359
2360 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2361
2362         * gdb.ada/excep_handle.exp: New testcase.
2363         * gdb.ada/excep_handle/foo.adb: New file.
2364         * gdb.ada/excep_handle/pck.ads: New file.
2365
2366 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2367
2368         * gdb.base/step-line.c: Add extra empty line in copyright header.
2369         * gdb.base/step-line.inp: Likewise.
2370
2371 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2372
2373         * gdb.ada/dyn_stride.exp: Add slice test.
2374
2375 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2376
2377         * gdb.ada/dyn_stride: New testcase.
2378
2379 2017-12-27  Stafford Horne  <shorne@gmail.com>
2380
2381         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2382         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2383
2384 2017-12-27  Stafford Horne  <shorne@gmail.com>
2385
2386         * gdb.base/reggroups.c: New file.
2387         * gdb.base/reggroups.exp: New file.
2388
2389 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2390
2391         * gdb.dwarf2/ada-valprint-error.c: New file.
2392         * gdb.dwarf2/ada-valprint-error.exp: New file.
2393
2394 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2395
2396         * gdb.ada/assign_arr: New testcase.
2397
2398 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2399
2400         * gdb.ada/funcall_ptr: New testcase.
2401
2402 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2403
2404         PR cli/16224
2405         * gdb.base/ptype-offsets.cc: New file.
2406         * gdb.base/ptype-offsets.exp: New file.
2407
2408 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2409
2410         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2411         if XML is disabled.
2412
2413 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2414
2415         * gdb.ada/same_component_name: New testcase.
2416
2417 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2418
2419         * gdb.ada/str_binop_equal: New testcase.
2420
2421 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2422
2423         * gdb.ada/task_switch_in_core: New testcase.
2424
2425 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2426
2427         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2428         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2429         call test_bkpt_qualified.
2430         (test_bkpt_qualified): New proc.
2431
2432 2017-12-13  Pedro Alves  <palves@redhat.com>
2433
2434         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2435         Tighten regexp by matching with an anchor.
2436
2437 2017-12-13  Pedro Alves  <palves@redhat.com>
2438
2439         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2440         ("expression with namespace"): New set of tests.
2441         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2442         (Nested::Test_NS::qux): New.
2443         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2444         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2445
2446 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2447
2448         * gdb.base/server-del-break.c: New file.
2449         * gdb.base/server-del-break.exp: New file.
2450
2451 2017-12-12  Stafford Horne  <shorne@gmail.com>
2452
2453         * gdb.xml/tdesc-regs.exp: Add or1k support.
2454
2455 2017-12-12  Stafford Horne  <shorne@gmail.com>
2456
2457         * gdb.base/bp-permanent.c: Define nop of or1k.
2458
2459 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2460
2461         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2462         output with components being reordered.
2463
2464 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2465
2466         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2467         output with components being reordered.
2468
2469 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2470             Pedro Alves  <palves@redhat.com>
2471
2472         * gdb.base/maint.exp (check for .gdb_index): Check also for
2473         .debug_names.
2474         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2475         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2476         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2477         (.gdb_index used after symbol reloading): Support also .debug_names.
2478         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2479
2480 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2481
2482         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2483         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2484
2485 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2486
2487         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2488         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2489
2490 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2491
2492         * gdb.arch/aarch64-tagged-pointer.c: New file.
2493         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2494
2495 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2496
2497         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2498         "int".
2499
2500 2017-12-07  Keith Seitz  <keiths@redhat.com>
2501
2502         PR breakpoints/22569
2503         * gdb.linespec/ls-errs.exp: Change expected result of "break
2504         -source this file has spaces.c -line 3".
2505         Check that an explicit source file followed by whitespace is
2506         identified as an invalid explicit location.
2507
2508 2017-12-07  Keith Seitz  <keiths@redhat.com>
2509
2510         * gdb.cp/nested-types.cc: New file.
2511         * gdb.cp/nested-types.exp: New file.
2512         * lib/cp-support.exp: Load data-structures.exp library.
2513         (debug_cp_test_ptype_class): New global.
2514         (cp_ptype_class_verbose, next_line): New procedures.
2515         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2516         Add and document new return value.
2517         Switch the list of lines to a queue.
2518         Add support for new `type' key for nested type definitions.
2519         Add debugging/troubleshooting messages.
2520         * lib/data-structures.exp: New file.
2521
2522 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2523
2524         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2525         with proc_with_prefix, don't use with_test_prefix.
2526
2527 2017-12-07  Tom Tromey  <tom@tromey.com>
2528
2529         * gdb.base/break.exp: Add test for empty "commands".
2530
2531 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2532
2533         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2534         malloc and catch syscall.
2535
2536 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2537
2538        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2539         tests for explicit locations.
2540
2541 2017-12-06  Pedro Alves  <palves@redhat.com>
2542
2543         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2544         force-disabling XML descriptions.
2545
2546 2017-12-04  Pedro Alves  <palves@redhat.com>
2547
2548         PR gdb/22499
2549         * gdb.arch/amd64-disp-step-avx.S: New file.
2550         * gdb.arch/amd64-disp-step-avx.exp: New file.
2551
2552 2017-12-03  Pedro Alves  <palves@redhat.com>
2553
2554         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2555         and <string.h>.
2556         (parent_function): Print distinct messages when waitpid fails, or
2557         the child exits with a signal, or the child exits for an unhandled
2558         reason.
2559         * gdb.threads/process-dies-while-detaching.exp
2560         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2561         it.  Wait for both inferior output and GDB's prompt.  Use an
2562         indirect spawn id list.
2563         (do_detach): New parameter 'child_exit'.  Use it to compute
2564         expected inferior output.
2565         (test_detach, test_detach_watch, test_detach_killed_outside):
2566         Adjust to pass down the expected child exit kind.
2567
2568 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2569             Sergio Durigan Junior  <sergiodj@redhat.com>
2570             Pedro Alves  <palves@redhat.com>
2571
2572         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2573
2574 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2575
2576         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2577         to 'symbol-file' and 'add-symbol-file' can be
2578         position-independent.
2579
2580 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2581
2582         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2583         the URL in copyright header.
2584         * gdb.arch/aarch64-fp.exp: Likewise.
2585         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2586         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2587         * gdb.base/expand-psymtabs.exp: Likewise.
2588         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2589         * gdb.fortran/common-block.exp: Likewise.
2590         * gdb.fortran/common-block.f90: Likewise.
2591         * gdb.fortran/logical.exp: Likewise.
2592         * gdb.fortran/vla-datatypes.f90: Likewise.
2593         * gdb.fortran/vla-sub.f90: Likewise.
2594
2595 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2596
2597         * gdb.ada/repeat_dyn: New testcase.
2598
2599 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2600
2601         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2602         Update for changed thread numbering.
2603         * gdb.cell/bt.exp: Update for changed GDB output.
2604
2605 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2606
2607         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2608         setting isremote by hand.
2609         * boards/dwarf4-gdb-index.exp: Likewise.
2610         * boards/fission.exp: Likewise.
2611         * boards/stabs.exp: Likewise.
2612
2613 2017-11-30  Pedro Alves  <palves@redhat.com>
2614
2615         * gdb.linespec/cpls-ops.exp
2616         (check_explicit_skips_function_argument): Extract the underlying
2617         type of size_t instead of hardcoding it.
2618
2619 2017-11-29  Pedro Alves  <palves@redhat.com>
2620
2621         PR c++/19436
2622         * gdb.linespec/cpls-abi-tag.cc: New file.
2623         * gdb.linespec/cpls-abi-tag.exp: New file.
2624
2625 2017-11-29  Pedro Alves  <palves@redhat.com>
2626
2627         * gdb.base/langs.exp: Use -qualified.
2628         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2629         it.
2630         * gdb.cp/namespace.exp: Use -qualified.
2631         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2632         (overload-3, template-overload, template-ret-type, const-overload)
2633         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2634         procedures.
2635         (test_driver): Call them.
2636         * gdb.cp/save-bp-qualified.cc: New.
2637         * gdb.cp/save-bp-qualified.exp: New.
2638         * gdb.linespec/explicit.exp: Test -qualified.
2639         * lib/completion-support.exp (completion::explicit_opts_list): Add
2640         "-qualified".
2641         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2642
2643 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2644
2645         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2646
2647 2017-11-29  Tom Tromey  <tom@tromey.com>
2648
2649         * gdb.base/relocate.exp: Update invalid argument test.
2650         Add new tests for invalid arguments.
2651
2652 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2653
2654         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2655         Return 0 as a long.
2656         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2657
2658 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2659
2660         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2661         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2662         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2663         func ().
2664         * gdb.cp/shadow.cc (B.func): Return 0.
2665
2666 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2667
2668         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2669         expected output in gdb_expect call to allow the exception
2670         message to be present as well.  Fix syntax confusion to avoid
2671         TCL thinking that exception_name is an array.
2672
2673 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2674
2675         * gdb.arch/spu-info.c: Include <unistd.h>.
2676         (do_signal_test): Fix broken calls to write.
2677         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2678         Fix checks for empty mailboxes.  Update signal tests for corrected
2679         do_signal_test routine.  Allow nonzero event status.
2680         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2681         * gdb.cell/arch.exp: Use standard_output_file.
2682         * gdb.cell/break.exp: Likewise.
2683         * gdb.cell/bt.exp: Likewise.
2684         * gdb.cell/core.exp: Likewise.
2685         * gdb.cell/dwarfaddr.exp: Likewise.
2686         * gdb.cell/ea-cache.exp: Likewise.
2687         * gdb.cell/ea-standalone.exp: Likewise.
2688         * gdb.cell/f-regs.exp: Likewise.
2689         * gdb.cell/fork.exp: Likewise.
2690         * gdb.cell/gcore.exp: Likewise.
2691         * gdb.cell/mem-access.exp: Likewise.
2692         * gdb.cell/ptype.exp: Likewise.
2693         * gdb.cell/registers.exp: Likewise.
2694         * gdb.cell/sizeof.exp: Likewise.
2695         * gdb.cell/solib-symbol.exp: Likewise.
2696         * gdb.cell/solib.exp: Likewise.
2697
2698 2017-11-25   Pedro Alves  <palves@redhat.com>
2699
2700         * gdb.base/complete-empty.exp: New file.
2701         * gdb.base/completion.exp: Adjust.
2702
2703 2017-11-25  Pedro Alves  <palves@redhat.com>
2704
2705         * gdb.linespec/cpls-ops.cc: New file.
2706         * gdb.linespec/cpls-ops.exp: New file.
2707         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2708         factored out from ...
2709         (test_complete_prefix_range): ... this.
2710
2711 2017-11-24  Pedro Alves  <palves@redhat.com>
2712
2713         * gdb.linespec/cpcompletion.exp: New file.
2714         * gdb.linespec/cpls-hyphen.cc: New file.
2715         * gdb.linespec/cpls.cc: New file.
2716         * gdb.linespec/cpls2.cc: New file.
2717         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2718         test to use test_gdb_complete_unique.  Add label completion,
2719         keyword completion and explicit location completion tests.
2720         * lib/completion-support.exp: New file.
2721
2722 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2723
2724         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2725         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2726         when hitting an exception catchpoint.
2727
2728 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2729
2730         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2731
2732 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2733
2734         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2735         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2736         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2737
2738 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2739
2740         * gdb.base/info-os.exp: Pass pthreads.
2741         * gdb.multi/multi-attach.exp: Likewise.
2742
2743 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2744
2745         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2746         compiler.
2747
2748 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2749
2750         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2751         * gdb.base/break-interp.exp: Likewise.
2752         * gdb.base/jit-attach-pie.exp: Likewise.
2753
2754 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2755
2756         * gdb.base/float128.c (large128): New variable.
2757         * gdb.base/float128.exp: Add test to print largest __float128 value.
2758
2759 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2760
2761         * gdb.arch/vsx-regs.exp: Update register content checks.
2762
2763 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2764
2765         * gdb.arch/ppc-longdouble.exp: New file.
2766         * gdb.arch/ppc-longdouble.c: Likewise.
2767
2768 2017-11-21  Pedro Alves  <palves@redhat.com>
2769
2770         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2771
2772 2017-11-20  Pedro Alves  <palves@redhat.com>
2773
2774         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2775         (long_double_typedef): New typedefs.
2776         Use DEF on double and long double.
2777         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2778         cases.
2779         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2780         and 'long_double_ptr_same_size' locals.  Use them to decide
2781         whether cast from array/function to float is valid/invalid.
2782
2783 2017-11-17  Tom Tromey  <tom@tromey.com>
2784
2785         * gdb.rust/traits.rs: New file.
2786         * gdb.rust/traits.exp: New file.
2787
2788 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2789
2790         * gdb.ada/minsyms: New testcase.
2791
2792 2017-11-16  Pedro Alves  <palves@redhat.com>
2793
2794         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2795         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2796
2797 2017-11-16  Pedro Alves  <palves@redhat.com>
2798
2799         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2800         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2801
2802 2017-11-16  Pedro Alves  <palves@redhat.com>
2803
2804         * gdb.server/reconnect-ctrl-c.c: New file.
2805         * gdb.server/reconnect-ctrl-c.exp: New file.
2806
2807 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2808
2809         * gdb.python/py-rbreak.exp: New file.
2810         * gdb.python/py-rbreak.c: New file.
2811         * gdb.python/py-rbreak-func2.c: New file.
2812
2813 2017-11-16  Pedro Alves  <palves@redhat.com>
2814
2815         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2816         pattern.
2817         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2818         GDB.
2819
2820 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2821
2822         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2823         regex.
2824
2825 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2826
2827         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2828         test names.
2829
2830 2017-11-09  Pedro Alves  <palves@redhat.com>
2831
2832         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2833         factored out from ...
2834         (top level): ... here, and adjusted to avoid expecting beyond the
2835         prompt in a single gdb_test_multiple.
2836
2837 2017-11-09  Pedro Alves  <palves@redhat.com>
2838
2839         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2840         output.
2841         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2842         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2843         * gdb.server/ext-run.exp ("kill" test): Likewise.
2844         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2845
2846 2017-11-09  Pedro Alves  <palves@redhat.com>
2847
2848         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2849         match till end of line.
2850
2851 2017-11-09  Pedro Alves  <palves@redhat.com>
2852
2853         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2854
2855 2017-11-09  Pedro Alves  <palves@redhat.com>
2856
2857         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2858         New procedures, factored out from ...
2859         (top level): ... here, and adjusted to avoid expecting beyond the
2860         prompt in one go.
2861
2862 2017-11-09  Pedro Alves  <palves@redhat.com>
2863
2864         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2865         output.  Fix '?' match.
2866
2867 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2868
2869         * gdb.ada/scoped_watch: New testcase.
2870         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2871         which is actually correct.
2872         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2873         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2874
2875 2017-11-08  Pedro Alves  <palves@redhat.com>
2876
2877         * gdb.gdb/complaints.exp (test_initial_complaints)
2878         (test_serial_complaints, test_short_complaints): Call
2879         complaint_internal instead of complaint.
2880
2881 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2882
2883         * gdb.threads/tls-core.c: New file.
2884         * gdb.threads/tls-core.exp: Likewise.
2885
2886 2017-11-08   Pedro Alves  <palves@redhat.com>
2887
2888         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2889         (p Exported_Capitalized): New test.
2890         (p exported_capitalized): New test.
2891
2892 2017-11-07  Pedro Alves  <palves@redhat.com>
2893
2894         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2895
2896 2017-11-07  Pedro Alves  <palves@redhat.com>
2897
2898         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2899         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2900         (disable_invalid, disable_inverted, disable_negative): New
2901         procedures.
2902         ("bad numbers"): New set of tests.
2903
2904 2017-11-07  Pedro Alves  <palves@redhat.com>
2905
2906         * gdb.cp/ena-dis-br-range.exp: Add tests.
2907
2908 2017-11-07  Pedro Alves  <palves@redhat.com>
2909
2910         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2911
2912 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2913             Pedro Alves  <palves@redhat.com>
2914
2915         * gdb.base/ena-dis-br.exp: Add reference to
2916         gdb.cp/ena-dis-br-range.exp.
2917         * gdb.cp/ena-dis-br-range.exp: New file.
2918         * gdb.cp/ena-dis-br-range.cc: New file.
2919
2920 2017-11-06  Pedro Alves  <palves@redhat.com>
2921
2922         * gdb.base/attach-non-pgrp-leader.c: New.
2923         * gdb.base/attach-non-pgrp-leader.exp: New.
2924
2925 2017-11-06  Pedro Alves  <palves@redhat.com>
2926
2927         * configure.ac: No longer check for termio.h and sgtty.h.
2928         * configure: Regenerate.
2929         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2930         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2931         Remove termio and sgtty code.
2932
2933 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2934
2935         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2936         in GDB is disabled.
2937
2938 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2939
2940         * gdb.python/py-thrhandle.exp: Skip it if python is not
2941         enabled.
2942
2943 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2944
2945         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2946         as a breakpoint command.
2947
2948 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2949
2950         PR python/21213
2951         * gdb.python/py-infthread.exp: Test calling
2952         InferiorThread.inferior () multiple times in a row.
2953
2954 2017-10-27  Keith Seitz  <keiths@redhat.com>
2955
2956         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2957         Test "info break" for every inlined function breakpoint.
2958
2959 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2960
2961         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2962
2963 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2964
2965         * gdb.cp/classes.exp (test_static_members): Test printing
2966         Outer::instance.
2967         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2968         (Inner::instance, Outer::instance): New.
2969
2970 2017-10-24  Pedro Alves  <palves@redhat.com>
2971
2972         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2973         extra console" test in two stages.
2974
2975 2017-10-24  Pedro Alves  <palves@redhat.com>
2976
2977         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2978
2979 2017-10-24  Pedro Alves  <palves@redhat.com>
2980
2981         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2982         loop.
2983
2984 2017-10-24  Pedro Alves  <palves@redhat.com>
2985
2986         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2987         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2988
2989 2017-10-24  Pedro Alves  <palves@redhat.com>
2990
2991         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2992         parameter and handle it.  Don't output read value in test name.
2993
2994 2017-10-24  Pedro Alves  <palves@redhat.com>
2995
2996         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2997         custom test name.
2998
2999 2017-10-24  Pedro Alves  <palves@redhat.com>
3000
3001         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3002         include the unstable output directory name in the test's name.
3003         (initial_setup_simple) <'set args'>: Use custom test name.
3004
3005 2017-10-24  Pedro Alves  <palves@redhat.com>
3006
3007         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3008         with explicit test name.
3009
3010 2017-10-20  Pedro Alves  <palves@redhat.com>
3011
3012         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3013         'wait -i'.  Use gdb_assert and remote_close.
3014
3015 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
3016
3017         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3018         number from variable rather than hard-coded.
3019
3020 2017-10-19  Pedro Alves  <palves@redhat.com>
3021
3022         * gdb.base/long-inferior-output.c: New file.
3023         * gdb.base/long-inferior-output.exp: New file.
3024
3025 2017-11-18  Keith Seitz  <keiths@redhat.com>
3026
3027         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3028         method.
3029         (main): Call it.
3030         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3031         Add additional user-defined conversion operator tests.
3032
3033 2017-10-17  Pedro Alves  <palves@redhat.com>
3034
3035         * boards/native-stdio-gdbserver.exp: Load "local-board".
3036
3037 2017-10-17  Pedro Alves  <palves@redhat.com>
3038
3039         * gdb.base/quit-live.c: New file.
3040         * gdb.base/quit-live.exp: New file.
3041
3042 2017-10-16  Keith Seitz  <keiths@redhat.com>
3043
3044         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3045         (class_with_protected_typedef, class_with_private_typedef)
3046         (struct_with_public_typedef, struct_with_protected_typedef)
3047         (struct_with_private_typedef): New classes/structs.
3048         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3049         typedefs and access specifiers.
3050
3051 2017-10-16  Pedro Alves  <palves@redhat.com>
3052             Simon Marchi  <simon.marchi@polymtl.ca>
3053
3054         * README (Local vs Remote vs Native): New section.
3055         * boards/local-board.exp: New file, with bits factored out from
3056         ...
3057         * boards/native-extended-gdbserver.exp: ... here.  Load
3058         "local-board".
3059         * boards/native-gdbserver.exp: Load "local-board".
3060         (${board}_spawn, ${board}_exec): Delete.
3061         * boards/native-stdio-gdbserver.exp: Most contents factored out to
3062         ...
3063         * boards/stdio-gdbserver-base.exp: ... this new file.
3064         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3065         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3066         procedure.
3067         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3068         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3069         stdio_gdbserver_command.
3070         (${board}_get_remote_address, ${board}_get_comm_port)
3071         (${board}_download, ${board}_upload): Delete.
3072         (get_target_remote_pipe_cmd): New.
3073
3074 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3075
3076         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3077         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3078         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3079         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3080         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3081         remove with_test_prefix.
3082
3083 2017-10-13  Pedro Alves  <palves@redhat.com>
3084
3085         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3086         * gdb.base/annota1.exp: Use it instead of is_remote.
3087         * gdb.base/annota3.exp: Use it instead of is_remote.
3088         * gdb.cp/annota2.exp: Use it instead of is_remote.
3089         * gdb.cp/annota3.exp: Use it instead of is_remote.
3090         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3091
3092 2017-10-13  Pedro Alves  <palves@redhat.com>
3093
3094         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3095         (test_num_test_vars, run_and_count_vars, find_env)
3096         (test_set_unset_env, test_inherit_env_var): New procedures.
3097         (top level): Use them.
3098
3099 2017-10-13  Pedro Alves  <palves@redhat.com>
3100
3101         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3102         also skip on stub-like targets.
3103
3104 2017-10-13  Pedro Alves  <palves@redhat.com>
3105
3106         PR gdb/22293
3107         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3108         (top level): Move some tests to ...
3109         (test_not_found): ... this new procedure.
3110         (top level): Call it.
3111
3112 2017-10-13  Pedro Alves  <palves@redhat.com>
3113
3114         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3115         expect different "info terminal" output if testing with a
3116         non-native target.
3117
3118 2017-10-13  Pedro Alves  <palves@redhat.com>
3119             Simon Marchi  <simon.marchi@polymtl.ca>
3120
3121         PR python/12966
3122         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3123
3124 2017-10-13  Pedro Alves  <palves@redhat.com>
3125
3126         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3127         already.
3128
3129 2017-10-13  Pedro Alves  <palves@redhat.com>
3130
3131         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3132         is_remote.
3133
3134 2017-10-13  Pedro Alves  <palves@redhat.com>
3135
3136         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3137         is_remote.
3138
3139 2017-10-13  Pedro Alves  <palves@redhat.com>
3140
3141         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3142         is set.
3143         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3144         instead of is_remote.
3145
3146 2017-10-13  Pedro Alves  <palves@redhat.com>
3147
3148         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3149         (top level): Add comment.
3150
3151 2017-10-13  Pedro Alves  <palves@redhat.com>
3152
3153         * gdb.base/remote.exp (top level): Fix comment typo and add
3154         missing return.
3155
3156 2017-10-13  Pedro Alves  <palves@redhat.com>
3157             Simon Marchi  <simon.marchi@polymtl.ca>
3158
3159         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3160         calls and add comments.  Skip test if use_gdb_stub is set.
3161         (top level): Use "set cwd" command instead of "cd" command.
3162
3163 2017-10-13  Pedro Alves  <palves@redhat.com>
3164
3165         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3166         is_remote target check.
3167
3168 2017-10-13  Pedro Alves  <palves@redhat.com>
3169
3170         * gdb.base/scope.exp: Use build_executable + clean_restart +
3171         gdb_file_cmd instead of prepare_for_testing and no longer skip
3172         "before run" tests on is_remote target boards.  Update comments.
3173         * boards/native-extended-gdbserver.exp
3174         (extended_gdbserver_load_last_file): New, factored out from ...
3175         (gdb_load): ... this.  Move further below and add comment.
3176         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3177
3178 2017-10-12  Pedro Alves  <palves@redhat.com>
3179
3180         * gdb.base/attach.exp: Remove references to gdb64.
3181         * gdb.base/dbx.exp: Remove references to gdb64.
3182
3183 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3184             Pedro Alves  <palves@redhat.com>
3185
3186         * gdb.base/label.exp: Remove is_remote target check.
3187
3188 2017-10-12  Pedro Alves  <palves@redhat.com>
3189
3190         * gdb.base/auvx.exp (coredir): Update comment.
3191         (top level) <core_works>: Use "set cwd" command instead of "cd"
3192         command.
3193
3194 2017-10-12  Pedro Alves  <palves@redhat.com>
3195             Simon Marchi  <simon.marchi@polymtl.ca>
3196
3197         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3198         target boards.
3199
3200 2017-10-12  Pedro Alves  <palves@redhat.com>
3201             Simon Marchi  <simon.marchi@polymtl.ca>
3202
3203         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3204         Instead skip if there's any gdb_protocol set.
3205
3206 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3207             Pedro Alves  <palves@redhat.com>
3208
3209         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3210
3211 2017-10-12  Pedro Alves  <palves@redhat.com>
3212             Simon Marchi  <simon.marchi@polymtl.ca>
3213
3214         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3215         instead of on dejagnu remote boards.
3216
3217 2017-10-12  Pedro Alves  <palves@redhat.com>
3218             Simon Marchi  <simon.marchi@polymtl.ca>
3219
3220         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3221         checks.  Use build_executable + clean_restart instead of
3222         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3223         of enabling non-stop after starting gdb.
3224
3225 2017-10-12  Pedro Alves  <palves@redhat.com>
3226
3227         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3228         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3229         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3230         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3231
3232 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3233
3234         * gdb.arch/arc-tdesc-cpu.exp: New file.
3235         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3236
3237 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3238
3239         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3240
3241 2017-10-10  Pedro Alves <palves@redhat.com>
3242
3243         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3244         expect CLI output.
3245
3246 2017-10-10  Pedro Alves  <palves@redhat.com>
3247
3248         * lib/selftest-support.exp (selftest_setup): Update for
3249         captured_command_loop's prototype change.
3250
3251 2017-10-09  Pedro Alves  <palves@redhat.com>
3252
3253         Test both arch1=>arch2 and arch2=>arch1.
3254
3255         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3256         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3257         factored out to...
3258         (append_arch1_options, append_arch2_options, append_arch_options)
3259         (build_executables): New procedures.
3260         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3261         local.
3262         (top level): Add new 'first_arch' testing axis.
3263
3264 2017-10-09  Pedro Alves  <palves@redhat.com>
3265
3266         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3267         (barrier): New.
3268         (thread_start, all_started): New functions.
3269         (main): Spawn new thread and wait until it is scheduled.
3270         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3271         option.
3272         (do_test): Add 'selected_thread' parameter.  Run to all_started
3273         instead of main.  Explicitly set the breakpoint at main.  Switch
3274         to the SELECTED_THREAD thread.
3275         (top level): Test handling the exec event with either the main
3276         thread or the second thread selected.
3277
3278 2017-10-09  Pedro Alves  <palves@redhat.com>
3279
3280         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3281         logic.  Move STOP marker after the value checks.
3282         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3283         regexp.
3284
3285 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3286
3287         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3288
3289 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3290
3291         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3292         integer-to-dfp conversion.
3293         * gdb.base/dfp-test.exp: Likewise.
3294
3295 2017-10-04  Pedro Alves  <palves@redhat.com>
3296
3297         * gdb.multi/hangout.c: Include <unistd.h>.
3298         (hangout_loop): New function.
3299         (main): Call alarm.  Call hangout_loop in a loop.
3300         * gdb.multi/hello.c: Include <unistd.h>.
3301         (hello_loop): New function.
3302         (main): Call alarm.  Call hangout_loop in a loop.
3303         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3304         inferior with the other selected.
3305
3306 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3307
3308         * gdb.mi/list-thread-groups-available.exp: New file.
3309         * gdb.mi/list-thread-groups-available.c: New file.
3310
3311 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3312
3313         * gdb.base/set-cwd.exp: Make it available on
3314         native-extended-gdbserver.
3315
3316 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3317
3318         * gdb.base/set-cwd.c: New file.
3319         * gdb.base/set-cwd.exp: Likewise.
3320
3321 2017-10-02  Tom Tromey  <tom@tromey.com>
3322
3323         PR rust/22236:
3324         * gdb.rust/simple.rs (main): New variable "fslice".
3325         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3326
3327 2017-10-02  Tom Tromey  <tom@tromey.com>
3328
3329         * gdb.rust/simple.exp: Test ptype of a slice.
3330
3331 2017-10-02  Tom Tromey  <tom@tromey.com>
3332
3333         * gdb.rust/simple.exp: Test index of slice.
3334
3335 2017-09-27  Tom Tromey  <tom@tromey.com>
3336
3337         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3338
3339 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3340             Pedro Alves  <palves@redhat.com>
3341
3342         * gdb.base/compare-sections.exp (get value of read-only section): Read
3343         as unsigned value.
3344         (corrupt read-only section): Likewise and don't set written if patching
3345         failed.
3346
3347 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3348
3349         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3350         files.
3351
3352 2017-09-20  Pedro Alves  <palves@redhat.com>
3353
3354         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3355         symbol names in gdb's output.
3356         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3357
3358 2017-09-20  Pedro Alves  <palves@redhat.com>
3359
3360         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3361         Rename to ...
3362         (test_list_ambiguous_symbol): ... this and add a symbol name
3363         parameter.  Adjust.
3364         (test_list_ambiguous_function): Reimplement on top of
3365         test_list_ambiguous_symbol and also test listing ambiguous
3366         variables.
3367         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3368         (ambiguous_fun): ... this.
3369         (ambiguous_var): New.
3370         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3371         (ambiguous_fun): ... this.
3372         (ambiguous_var): New.
3373
3374 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3375
3376         * gdb.base/starti.c: New file.
3377         * gdb.base/starti.exp: New file.
3378         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3379
3380 2017-09-14  Pedro Alves  <palves@redhat.com>
3381
3382         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3383         (top level): Use it instead of runto.
3384
3385 2017-09-11  Tom Tromey  <tom@tromey.com>
3386
3387         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3388
3389 2017-09-11  Tom Tromey  <tom@tromey.com>
3390
3391         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3392         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3393
3394 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3395
3396         * gdb.fortran/printing-types.exp: New file.
3397         * gdb.fortran/printing-types.exp: New file.
3398
3399 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3400
3401         * gdb.fortran/vla-ptype.exp: Fix typos.
3402         * gdb.fortran/vla-value.exp: Same.
3403
3404 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3405
3406         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3407         * gdb.mi/mi-var-child-f.exp: Likewise.
3408         * gdb.mi/mi-vla-fortran.exp: Likewise.
3409
3410 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3411             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3412             Bernhard Heckel  <bernhard.heckel@intel.com>
3413
3414         * gdb.fortran/ptr-indentation.f90: New file.
3415         * gdb.fortran/ptr-indentation.exp: New file.
3416
3417 2017-09-05  Tom Tromey  <tom@tromey.com>
3418
3419         PR gdb/22010:
3420         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3421
3422 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3423
3424         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3425
3426 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3427
3428         * gdb.threads/tls-nodebug-pie.c: New file.
3429         * gdb.threads/tls-nodebug-pie.exp: New file.
3430
3431 2017-09-05  Tom Tromey  <tom@tromey.com>
3432
3433         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3434         for rust.
3435
3436 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3437
3438         * gdb.multi/multi-arch-exec.exp: Test with different
3439         "follow-exec-mode" settings.
3440         (do_test): New procedure.
3441
3442 2017-09-04  Pedro Alves  <palves@redhat.com>
3443
3444         * gdb.base/func-static.c (S::method const, S::method volatile)
3445         (S::method volatile const): New methods.
3446         (c_s, v_s, cv_s): New instances.
3447         (main): Call method() on them.
3448         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3449         (cannot_resolve): New procedure.
3450         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3451         print-quote-unquoted columns.
3452         (do_test): Test printing each scope too.
3453
3454 2017-09-04  Pedro Alves  <palves@redhat.com>
3455
3456         * gdb.base/local-static.exp: Also test with
3457         class::method::variable wholly quoted.
3458         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3459
3460 2017-09-04  Pedro Alves  <palves@redhat.com>
3461
3462         * gdb.base/local-static.c: New.
3463         * gdb.base/local-static.cc: New.
3464         * gdb.base/local-static.exp:  New.
3465
3466 2017-09-04  Pedro Alves  <palves@redhat.com>
3467
3468         * gdb.asm/asm-source.exp: Add casts to int.
3469         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3470         (dataglobal64_1, dataglobal64_2): New globals.
3471         * gdb.base/nodebug.exp: Test different expressions involving the
3472         new globals, with print, whatis and ptype.  Add casts to int.
3473         * gdb.base/solib-display.exp: Add casts to int.
3474         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3475         * gdb.cp/m-static.exp: Add cast to int.
3476         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3477         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3478         tls variable with no debug info without a cast.  Test with a cast
3479         to int too.
3480         * gdb.trace/entry-values.exp: Add casts.
3481
3482 2017-09-04  Pedro Alves  <palves@redhat.com>
3483
3484         * gdb.base/nodebug.exp: Test that ptype's error about functions
3485         with unknown return type includes the function name too.
3486
3487 2017-09-04  Pedro Alves  <palves@redhat.com>
3488
3489         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3490         return type of munmap in infcall.
3491         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3492         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3493         type of ftell in infcall.
3494         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3495         type of getpid in infcall.
3496         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3497         infcall.
3498         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3499         Bail on failure to extract the pid.
3500         * gdb.base/nodebug.c: #include <stdint.h>.
3501         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3502         New functions.
3503         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3504         Change expected output of print/whatis/ptype with functions with
3505         no debug info.  Test all supported languages.  Call
3506         test_call_promotion.
3507         * gdb.compile/compile.exp: Adjust expected output to expect
3508         warning.
3509         * gdb.threads/siginfo-threads.exp: Likewise.
3510
3511 2017-09-04  Pedro Alves  <palves@redhat.com>
3512
3513         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3514         "prototypes".  Test calling float functions via prototyped and
3515         unprototyped function pointers.
3516         (perform_all_tests): New parameter "prototypes".  Pass it down.
3517         (top level): Pass down "prototypes" parameter to
3518         perform_all_tests.
3519
3520 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3521
3522         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3523         Test with nested loops.
3524
3525 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3526
3527         * gdb.base/commands.exp: Call the new procedures.
3528         (loop_break_test, loop_continue_test): New procedures.
3529
3530 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3531
3532         * gdb.base/commands.exp: Call new procedure.
3533         (define_if_without_arg_test): New procedure.
3534
3535 2017-09-04  Pedro Alves  <palves@redhat.com>
3536
3537         * gdb.base/list-ambiguous.exp: New file.
3538         * gdb.base/list-ambiguous0.c: New file.
3539         * gdb.base/list-ambiguous1.c: New file.
3540         * gdb.base/list.exp (test_list_range): Adjust expected output.
3541
3542 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3543
3544         * gdb.base/share-env-with-gdbserver.c: New file.
3545         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3546
3547 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3548
3549         * gdb.base/commands.exp (gdbvar_simple_if_test,
3550         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3551         progvar_simple_if_test, progvar_simple_while_test,
3552         progvar_complex_if_while_test, user_defined_command_test,
3553         user_defined_command_args_eval,
3554         user_defined_command_args_stack_test,
3555         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3556         temporary_breakpoint_commands,
3557         gdb_test_no_prompt, redefine_hook_test,
3558         redefine_backtrace_test): Remove "global gdb_prompt".
3559
3560 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3561
3562         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3563         New proc, call it from toplevel.
3564
3565 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3566
3567         PR remote/21852
3568         * gdb.server/normal.c: New file, copied from gdb.base.
3569         * gdb.server/run-without-local-binary.exp: New file.
3570
3571 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3572
3573         * gdb.arch/sparc64-adi.exp: New file.
3574         * gdb.arch/sparc64-adi.c: New file.
3575
3576 2017-08-22  Pedro Alves  <palves@redhat.com>
3577
3578         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3579         (top level): Add "list all overloads" tests.
3580
3581 2017-08-22  Tom Tromey  <tom@tromey.com>
3582
3583         * gdb.gdb/xfullpath.exp: Remove.
3584
3585 2017-08-21  Pedro Alves  <palves@redhat.com>
3586
3587         PR gdb/19487
3588         * gdb.base/symbol-alias.c: New.
3589         * gdb.base/symbol-alias2.c: New.
3590         * gdb.base/symbol-alias.exp: New.
3591
3592 2017-08-21  Pedro Alves  <palves@redhat.com>
3593
3594         * gdb.base/dfp-test.c
3595         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3596         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3597         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3598         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3599         * gdb.base/whatis-ptype-typedefs.c: New.
3600         * gdb.base/whatis-ptype-typedefs.exp: New.
3601         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3602         (an_int, an_int_type, an_int_type2): New globals.
3603         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3604         involving typedefs and cast expressions.
3605         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3606         (lookup_typedefs_function): New.
3607         (typedefs_pretty_printers_dict): New.
3608         (top level): Register lookup_typedefs_function in
3609         gdb.pretty_printers.
3610
3611 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3612
3613         * gdb.server/unittest.exp: New.
3614
3615 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3616
3617         PR gdb/21954
3618         * gdb.base/environ.exp: Add test to check if 'unset environment'
3619         works.
3620
3621 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3622
3623         * lib/gdb.exp (universal_compile_options): New caching proc.
3624         (gdb_compile): Suppress GCC's coloring of messages.
3625
3626 2017-08-14  Tom Tromey  <tom@tromey.com>
3627
3628         PR gdb/21675:
3629         * gdb.base/printcmds.exp (test_radices): New function.
3630         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3631         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3632         * lib/gdb.exp (get_integer_valueof): Use p/d.
3633
3634 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3635
3636         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3637         characters.
3638
3639 2017-08-05  Tom Tromey  <tom@tromey.com>
3640
3641         * gdb.rust/simple.exp: Allow String to appear in a different
3642         namespace.
3643
3644 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3645
3646         * gdb.gdb/unittest.exp: Invoke command
3647         "maintenance check xml-descriptions".
3648
3649 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3650
3651         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3652         calling context.
3653         (hex128): Drop erroneous calculation of parameters.
3654
3655 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3656
3657         * gdb.python/py-unwind.exp: Disable stack protection when
3658         building test file.
3659
3660 2017-07-20  Pedro Alves  <palves@redhat.com>
3661
3662         * gdb.base/default.exp (set language): Adjust expected output.
3663
3664 2017-07-20  Pedro Alves  <palves@redhat.com>
3665
3666         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3667         (test_minsym): ... this, and make static.
3668         (get_pck__foo__bar__minsym): Rename to ...
3669         (get_test_minsym): ... this.
3670         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3671         symbol names and comments.
3672         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3673         (get_test_minsym): ... this.
3674         (pck__foo__bar__minsym__2): Rename to ...
3675         (test_minsym): ... this.
3676         (main): Adjust.
3677
3678 2017-07-17  Pedro Alves  <palves@redhat.com>
3679
3680         * gdb.base/completion.exp: Adjust expected output.
3681         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3682         the completer works.
3683
3684 2017-07-17  Pedro Alves  <palves@redhat.com>
3685
3686         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3687
3688 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3689
3690         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3691
3692 2017-07-14  Tom Tromey  <tom@tromey.com>
3693
3694         PR rust/21764:
3695         * gdb.rust/simple.exp: Add tests.
3696
3697 2017-07-14  Tom Tromey  <tom@tromey.com>
3698
3699         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3700
3701 2017-07-14  Pedro Alves  <palves@redhat.com>
3702
3703         * gdb.linespec/base/one/thefile.cc (z1): New function.
3704         * gdb.linespec/base/two/thefile.cc (z2): New function.
3705         * gdb.linespec/linespec.exp: Add tests.
3706
3707 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3708
3709         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3710         to mi_create_breakpoint.
3711
3712 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3713
3714         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3715         mi_create_breakpoint.
3716
3717 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3718
3719         * gdb.dlang/demangle.exp: Update for demangling changes.
3720
3721 2017-07-09  Tom Tromey  <tom@tromey.com>
3722
3723         * gdb.dwarf2/shortpiece.exp: New file.
3724
3725 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3726
3727         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3728         built from fissiont-multi-cu{1,2}.c.
3729         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3730         except putting 'main' and 'func' in separate CUs in the same DWO file.
3731         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3732         test.
3733         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3734         test.
3735
3736 2017-07-06  Pedro Alves  <palves@redhat.com>
3737
3738         * gdb.python/py-unwind.exp: Test flushregs.
3739
3740 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3741
3742         PR cli/21688
3743         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3744         tests for alias commands and trailing whitespace.
3745
3746 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3747
3748         PR cli/21688
3749         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3750         procedure.  Call it.
3751
3752 2017-06-29  Pedro Alves  <palves@redhat.com>
3753
3754         * gdb.base/printcmds.exp: Add tests.
3755
3756 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3757
3758         PR gdb/21337
3759         * gdb.base/reread-readsym.exp: New file.
3760         * gdb.base/reread-readsym.c: New file.
3761
3762 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3763
3764         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3765         subpattern.
3766
3767 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3768
3769         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3770         extended mnemonic.
3771         * gdb.arch/powerpc-power9.s: Likewise.
3772
3773 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3774
3775         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3776         on 32-bit x86 targets.  Exploit is_*_target macros where
3777         appropriate.
3778
3779 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3780
3781         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3782         register pieces.
3783
3784 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3785
3786         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3787         located in one or more DWARF pieces.
3788
3789 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3790
3791         * lib/gdb.exp (get_endianness): New proc.
3792         * gdb.arch/aarch64-fp.exp: Use it.
3793         * gdb.arch/altivec-regs.exp: Likewise.
3794         * gdb.arch/e500-regs.exp: Likewise.
3795         * gdb.arch/vsx-regs.exp: Likewise.
3796         * gdb.base/dump.exp: Likewise.
3797         * gdb.base/funcargs.exp: Likewise.
3798         * gdb.base/gnu_vector.exp: Likewise.
3799         * gdb.dwarf2/formdata16.exp: Likewise.
3800         * gdb.dwarf2/implptrpiece.exp: Likewise.
3801         * gdb.dwarf2/nonvar-access.exp: Likewise.
3802         * gdb.python/py-inferior.exp: Likewise.
3803         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3804
3805 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3806
3807         PR gdb/21226
3808         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3809         stack value pieces are taken from the LSB end.
3810
3811 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3812
3813         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3814         variable at nonzero offset.
3815
3816 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3817
3818         * gdb.dwarf2/var-access.c: New file.
3819         * gdb.dwarf2/var-access.exp: New test.
3820         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3821
3822 2017-06-12  Tom Tromey  <tom@tromey.com>
3823
3824         * gdb.dwarf2/formdata16.exp: Add tests.
3825
3826 2017-06-12  Tom Tromey  <tom@tromey.com>
3827
3828         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3829
3830 2017-06-12  Tom Tromey  <tom@tromey.com>
3831
3832         PR exp/16225:
3833         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3834         * gdb.arch/vsx-regs.exp: Update tests.
3835         * gdb.arch/s390-vregs.exp (hex128): New proc.
3836         Update test.
3837         * gdb.arch/altivec-regs.exp: Update tests.
3838
3839 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3840
3841         * gdb.base/startup-with-shell.c: New file.
3842         * gdb.base/startup-with-shell.exp: Likewise.
3843
3844 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3845
3846         * gdb.server/non-existing-program.exp: Update regex in order to
3847         reflect the fact that gdbserver is now using fork_inferior (with a
3848         shell) to startup the inferior.
3849
3850 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3851
3852         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3853         support function calls from GDB.
3854
3855 2017-05-21  Tom Tromey  <tom@tromey.com>
3856
3857         PR rust/21466:
3858         * gdb.rust/unsized.exp: New file.
3859         * gdb.rust/unsized.rs: New file.
3860
3861 2017-05-19  Tom Tromey  <tom@tromey.com>
3862
3863         PR rust/21484:
3864         * gdb.rust/watch.exp: New file.
3865         * gdb.rust/watch.rs: New file.
3866
3867 2017-05-18  Tom Tromey  <tom@tromey.com>
3868
3869         * gdb.rust/simple.exp: Allow Box to be qualified.
3870
3871 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3872
3873         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3874
3875 2017-05-18  Pedro Alves  <palves@redhat.com>
3876
3877         * gdb.base/fileio.c (test_write, test_read, test_close)
3878         (test_fstat): Don't print 'ret' in the fail path.
3879
3880 2017-05-18  Pedro Alves  <palves@redhat.com>
3881
3882         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3883         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3884         (test_system, test_rename, test_unlink, test_time): Change
3885         prototypes.
3886         * gdb.base/fileio.exp (stop_msg): Adjust.
3887
3888 2017-05-18  Pedro Alves  <palves@redhat.com>
3889
3890         * gdb.base/fileio.c (null_str): New global.
3891         (test_stat): Use it.
3892         * gdb.base/fileio.exp: Remove nowarnings.
3893
3894 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3895
3896         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3897
3898 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3899
3900         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3901         argument command.
3902         (top-level): Invoke test_set_inferior_tty.
3903
3904 2017-05-04  Pedro Alves  <palves@redhat.com>
3905
3906         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3907         Add parens to print call for Python 3.
3908
3909 2017-05-03  Keith Seitz  <keiths@redhat.com>
3910
3911         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3912         (main): Call it.
3913
3914 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3915
3916         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3917         to prev and next.
3918
3919 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3920
3921         * gdb.python/py-record-btrace.exp: Remove test for
3922         gdb.BtraceInstruction.error.
3923
3924 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3925
3926         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3927
3928 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3929
3930         * gdb.python/py-record-btrace-threads.c: New file.
3931         * gdb.python/py-record-btrace-threads.exp: New file.
3932
3933 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3934
3935         PR testsuite/8595
3936         * gdb.base/environ.exp: Make test available in all architectures.
3937         Move bits related to "info program" testing to
3938         gdb.base/info-program.exp.  Rewrite tests to use the two new
3939         procedures mentione below.
3940         (test_set_show_env_var) New procedure.
3941         (test_set_show_env_var_equal): Likewise.
3942         * gdb.base/info-program.exp: New file.
3943
3944 2017-04-27  Keith Seitz  <keiths@redhat.com>
3945
3946         * gdb.cp/oranking.cc (test15): New function.
3947         (main): Call test15 and declare additional variables for testing.
3948         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3949         "p foo101('abc')" tests.
3950         Add tests for cv qualifier overloads.
3951         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3952         "lvalue reference overload" test.
3953         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3954         "print value of f1 on Child&& in f2" test.
3955
3956 2017-04-19  Pedro Alves  <palves@redhat.com>
3957
3958         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3959         procedure.
3960         (top level): Call it.
3961         * lib/gdb.exp (gdb_define_cmd): New procedure.
3962
3963 2017-04-12  Pedro Alves  <palves@redhat.com>
3964
3965         PR gdb/21323
3966         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3967         (wchar): New global.
3968         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3969         (do_test_wide_char, wide_char_types_no_program, top level): Add
3970         wchar_t testing.
3971
3972 2017-04-12  Pedro Alves  <palves@redhat.com>
3973
3974         PR c++/21323
3975         * gdb.cp/wide_char_types.c: New file.
3976         * gdb.cp/wide_char_types.exp: New file.
3977
3978 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3979
3980         PR gdb/21352
3981         * gdb.trace/tsv.exp: Add test for "tsave -r".
3982
3983 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3984
3985         * gdb.dlang/watch-loc.c: New file.
3986         * gdb.dlang/watch-loc.exp: New file.
3987
3988 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3989
3990         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3991
3992 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3993
3994         * gdb.arch/arc-analyze-prologue.S: New file.
3995         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3996
3997 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3998
3999         * gdb.arch/arc-decode-insn.S: New file.
4000         * gdb.arch/arc-decode-insn.exp: Likewise.
4001
4002 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
4003
4004         PR tdep/20928
4005         * gdb.arch/sparc64-regs.exp: New file.
4006         * gdb.arch/sparc64-regs.S: Likewise.
4007
4008 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
4009
4010         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4011         and memory view on Python 3.
4012
4013 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
4014             Keith Seitz  <keiths@redhat.com>
4015
4016         PR gdb/14441
4017         * gdb.cp/demangle.exp: Add rvalue reference tests.
4018         * gdb.cp/rvalue-ref-casts.cc: New file.
4019         * gdb.cp/rvalue-ref-casts.exp: New file.
4020         * gdb.cp/rvalue-ref-overload.cc: New file.
4021         * gdb.cp/rvalue-ref-overload.exp: New file.
4022         * gdb.cp/rvalue-ref-params.cc: New file.
4023         * gdb.cp/rvalue-ref-params.exp: New file.
4024         * gdb.cp/rvalue-ref-sizeof.cc: New file.
4025         * gdb.cp/rvalue-ref-sizeof.exp: New file.
4026         * gdb.cp/rvalue-ref-types.cc: New file.
4027         * gdb.cp/rvalue-ref-types.exp: New file.
4028         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4029         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4030
4031 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4032
4033         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4034         New procedure.
4035
4036 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4037
4038         * lib/mi-support.exp (mi_gdb_test): Add additional message
4039         for unexpected output.
4040
4041 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4042
4043         * gdb.base/examine-backward.c (Barrier): New character array
4044         constant, to ensure that TestStrings is preceded by a string
4045         terminator.
4046
4047 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4048
4049         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4050         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4051         and implicit pointer into such a location.
4052
4053 2017-03-16  Doug Evans  <dje@google.com>
4054
4055         * gdb.python/py-lazy-string (pointer): Really add new typedef.
4056
4057 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4058
4059         * gdb.cp/m-static.exp: Fix expectation for prototype of
4060         test5.single_constructor and single_constructor::single_constructor.
4061
4062 2017-03-16  Doug Evans  <dje@google.com>
4063
4064         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4065         * gdb.guile/scm-lazy-string.c: New file.
4066         * gdb.guile/scm-value.exp: Move lazy string tests to ...
4067         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
4068         for pointer, array, typedef lazy strings.
4069
4070 2017-03-16  Doug Evans  <dje@google.com>
4071
4072         PR python/17728, python/18439, python/18779
4073         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4074         * gdb.python/py-lazy-string.c (pointer): New typedef.
4075         (main): New locals ptr, array, typedef_ptr.
4076         * gdb.python/py-value.exp: Move lazy string tests to ...
4077         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4078         array, typedef lazy strings.
4079
4080 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4081
4082         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4083           Add optional 'test' parameter.
4084
4085 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4086
4087         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4088         Skip for versions of DejaGnu < 1.5.
4089
4090 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4091
4092         * lib/gdb.exp (dejagnu_version): New proc.
4093         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4094         Use dejagnu_version.
4095
4096 2017-03-10  Keith Seitz  <keiths@redhat.com>
4097
4098         PR c++/8128
4099         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4100         type from destructor regexps.
4101         Add a branch which actually passes the test.
4102         Adjust "ptype t5i" test names.
4103
4104 2017-03-08  Pedro Alves  <palves@redhat.com>
4105
4106         * gdb.base/step-over-exit.exp: Add explicit test message.
4107
4108 2017-03-08  Pedro Alves  <palves@redhat.com>
4109
4110         PR gdb/18360
4111         * gdb.threads/interrupt-while-step-over.c: New file.
4112         * gdb.threads/interrupt-while-step-over.exp: New file.
4113
4114 2017-03-08  Pedro Alves  <palves@redhat.com>
4115
4116         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4117         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4118
4119 2017-03-08  Pedro Alves  <palves@redhat.com>
4120
4121         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4122         PKRU as not supported as a PASS.
4123
4124 2017-03-08  Pedro Alves  <palves@redhat.com>
4125
4126         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4127         prefix instead of $binfile1/$binfile2.
4128         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4129         in test message.
4130         * gdb.python/py-completion.exp: Use "load python file" as test
4131         messages instead of unstable path names.
4132
4133 2017-03-08  Pedro Alves  <palves@redhat.com>
4134             Jan Kratochvil  <jan.kratochvil@redhat.com>
4135
4136         PR cli/21218
4137         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4138         New proc.
4139         (top level): Call it.
4140
4141 2017-03-08  Pedro Alves  <palves@redhat.com>
4142
4143         PR tui/21216
4144         * gdb.tui/tui-nl-filtered-output.exp: New file.
4145
4146 2017-03-08  Pedro Alves  <palves@redhat.com>
4147
4148         * gdb.base/completion.exp: Move TUI completion tests to ...
4149         * gdb.tui/completion.exp: ... this new file.
4150
4151 2017-03-08  Pedro Alves  <palves@redhat.com>
4152
4153         * gdb.base/tui-disasm-long-lines.c,
4154         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4155         gdb.base/tui-layout.exp: Move to ...
4156         * gdb.tui/: ... this new directory.
4157
4158 2017-03-07  Pedro Alves  <palves@redhat.com>
4159
4160         * gdb.base/tui-layout.c: New file.
4161         * gdb.base/tui-layout.exp: New file.
4162
4163 2017-03-07  Pedro Alves  <palves@redhat.com>
4164
4165         * gdb.base/tui-layout.c: Rename to ...
4166         * gdb.base/tui-disasm-long-lines.c: ... this.
4167         * gdb.base/tui-layout.exp: Rename to ...
4168         * gdb.base/tui-disasm-long-lines.exp: ... this.
4169
4170 2017-03-07  Pedro Alves  <palves@redhat.com>
4171
4172         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4173
4174 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4175
4176         * i386-mpx-call.c: New file.
4177         * i386-mpx-call.exp: New file.
4178
4179 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4180
4181         * gdb.arch/powerpc-power.exp: Delete test.
4182         * gdb.arch/powerpc-power.s: Likewise.
4183         * gdb.disasm/disassembler-options.exp: New test.
4184         * gdb.arch/powerpc-altivec.exp: Likewise.
4185         * gdb.arch/powerpc-altivec.s: Likewise.
4186         * gdb.arch/powerpc-altivec2.exp: Likewise.
4187         * gdb.arch/powerpc-altivec2.s: Likewise.
4188         * gdb.arch/powerpc-altivec3.exp: Likewise.
4189         * gdb.arch/powerpc-altivec3.s: Likewise.
4190         * gdb.arch/powerpc-power7.exp: Likewise.
4191         * gdb.arch/powerpc-power7.s: Likewise.
4192         * gdb.arch/powerpc-power8.exp: Likewise.
4193         * gdb.arch/powerpc-power8.s: Likewise.
4194         * gdb.arch/powerpc-power9.exp: Likewise.
4195         * gdb.arch/powerpc-power9.s: Likewise.
4196         * gdb.arch/powerpc-vsx.exp: Likewise.
4197         * gdb.arch/powerpc-vsx.s: Likewise.
4198         * gdb.arch/powerpc-vsx2.exp: Likewise.
4199         * gdb.arch/powerpc-vsx2.s: Likewise.
4200         * gdb.arch/powerpc-vsx3.exp: Likewise.
4201         * gdb.arch/powerpc-vsx3.s: Likewise.
4202         * gdb.arch/arm-disassembler-options.exp: Likewise.
4203         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4204         * gdb.arch/s390-disassembler-options.exp: Likewise.
4205
4206 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4207
4208         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4209         (check_supported_features): ... this. Changed return type to void.
4210         (supports_rdseed): New static global.
4211         (rdseed): Check supports_rdseed.
4212         (initialize): Call check_supported_features.
4213
4214 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4215
4216         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4217         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4218         and lqarx/stqcx.
4219         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4220         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4221
4222 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4223
4224         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4225         uppercase.
4226
4227 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4228
4229         * gdb.dwarf2/formdata16.c: New file.
4230         * gdb.dwarf2/formdata16.exp: New file.
4231         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4232
4233 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4234
4235         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4236         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4237         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4238         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4239         DW_AT_GNU_*.
4240
4241 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4242
4243         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4244
4245 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4246
4247         PR gdb/21164
4248         * gdb.base/maint.exp: Add testcases for when the commands do
4249         not have arguments.
4250
4251 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4252
4253         * gdb.cp/chained-calls.exp: Use p instead of P.
4254
4255 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4256
4257         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4258         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4259
4260 2017-02-14  Tom Tromey  <tom@tromey.com>
4261
4262         PR python/13598:
4263         * gdb.python/py-events.exp: Add before_prompt event tests.
4264
4265 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4266
4267         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4268
4269 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4270
4271         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4272         (main): Call my_unique_function_name.
4273         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4274         completion of patterns with a single match.
4275         Add missing -re switches to gdb_test_multiple calls.
4276
4277 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4278
4279         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4280         return if core file is not recognized.
4281
4282 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4283
4284         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4285         and extra UIs.
4286
4287 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4288
4289         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4290         proc_with_prefix.
4291
4292 2017-02-10  Tom Tromey  <tom@tromey.com>
4293
4294         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4295
4296 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4297
4298         PR gdb/21122
4299         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4300
4301 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4302
4303         * gdb.base/define.exp: Add test for command abbreviations
4304         in define.
4305
4306 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4307
4308         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4309         * gdb.reverse/insn-reverse-x86.c: New file.
4310
4311 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4312
4313         PR tdep/20936
4314         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4315
4316 2017-02-03  Tom Tromey  <tom@tromey.com>
4317
4318         PR rust/21097:
4319         * gdb.rust/simple.exp: Add new tests.
4320
4321 2017-02-02  Pedro Alves  <palves@redhat.com>
4322
4323         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4324         tests.
4325
4326 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4327
4328         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4329         taking a 2-byte value out of a 4-byte DWARF implicit value on
4330         big-endian targets.
4331         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4332         logic.  Add test cases for DW_OP_implicit.
4333
4334 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4335
4336         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4337
4338 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4339
4340         * gdb.btrace/enable.exp: Call gdb_exit before
4341         skip_gdbserver_tests.
4342
4343 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4344
4345         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4346         GDBFLAGS.
4347
4348 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4349
4350         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4351         the test is skipped.
4352         * gdb.btrace/data.exp: Likewise.
4353         * gdb.btrace/delta.exp: Likewise.
4354         * gdb.btrace/dlopen.exp: Likewise.
4355         * gdb.btrace/enable-running.exp: Likewise.
4356         * gdb.btrace/enable.exp: Likewise.
4357         * gdb.btrace/exception.exp: Likewise.
4358         * gdb.btrace/function_call_history.exp: Likewise.
4359         * gdb.btrace/gcore.exp: Likewise.
4360         * gdb.btrace/instruction_history.exp: Likewise.
4361         * gdb.btrace/multi-thread-step.exp: Likewise.
4362         * gdb.btrace/nohist.exp: Likewise.
4363         * gdb.btrace/non-stop.exp: Likewise.
4364         * gdb.btrace/reconnect.exp: Likewise.
4365         * gdb.btrace/record_goto-step.exp: Likewise.
4366         * gdb.btrace/record_goto.exp: Likewise.
4367         * gdb.btrace/rn-dl-bind.exp: Likewise.
4368         * gdb.btrace/segv.exp: Likewise.
4369         * gdb.btrace/step.exp: Likewise.
4370         * gdb.btrace/stepi.exp: Likewise.
4371         * gdb.btrace/tailcall-only.exp: Likewise.
4372         * gdb.btrace/tailcall.exp: Likewise.
4373         * gdb.btrace/tsx.exp: Likewise.
4374         * gdb.btrace/unknown_functions.exp: Likewise.
4375         * gdb.btrace/vdso.exp: Likewise.
4376
4377 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4378
4379         * gdb.btrace/enable-running.c: New.
4380         * gdb.btrace/enable-running.exp: New.
4381
4382 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4383
4384         * gdb.arch/amd64-gs_base.c: New file.
4385         * gdb.arch/amd64-gs_base.exp: New file.
4386
4387 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4388
4389         * lib/memory.exp: Remove spurious empty newlines.
4390
4391 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4392
4393         * gdb.python/py-bad-printers.exp: Load python file using "source".
4394         * gdb.python/py-events.exp: Likewise.
4395         * gdb.python/py-evsignal.exp: Likewise.
4396         * gdb.python/py-evthreads.exp: Likewise.
4397         * gdb.python/py-frame-args.exp: Likewise.
4398         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4399         * gdb.python/py-framefilter-mi.exp: Likewise.
4400         * gdb.python/py-framefilter.exp: Likewise.
4401         * gdb.python/py-mi.exp: Likewise.
4402         * gdb.python/py-pp-maint.exp: Likewise.
4403         * gdb.python/py-pp-registration.exp: Likewise.
4404         * gdb.python/py-prettyprint.exp: Likewise.
4405         (run_lang_tests): Likewise.
4406         * gdb.python/py-typeprint.exp: Likewise.
4407
4408 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4409
4410         * lib/memory.exp: New file.
4411         * lib/gdb.exp: Load memory.exp.
4412         * gdb.base/memattr.exp (delete_memory): Move proc to
4413         lib/memory.exp and rename to delete_memory_regions.
4414         Replace delete_memory with delete_memory_regions.
4415         Cleanup memory regions before tests.
4416         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4417         before tests.
4418
4419 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4420
4421         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4422         files.
4423         (initialize): New function conditionally defined.
4424         (testcases): Move within conditional block.
4425         (main): Call initialize.
4426         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4427         of gdb.reverse/insn-reverse.c.
4428         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4429         gdb.reverse/insn-reverse.c.
4430
4431 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4432
4433         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4434         disassemble on address 0.
4435
4436 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4437             Yao Qi  <yao.qi@linaro.org>
4438
4439         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4440         * gdb.dwarf2/implptr-64bit.S: Remove.
4441         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4442         variables in caller's context.  Add DW_OP_implicit_value.
4443
4444 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4445
4446         * lib/dwarf.exp (Dwarf::_location): Handle
4447         DW_OP_GNU_implicit_pointer with proper size.
4448
4449 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4450
4451         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4452         and add untested calls.
4453
4454 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4455
4456         * gdb.python/python.exp: Check line number against what GDB thinks
4457         the line number is for func1.
4458
4459 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4460
4461         * gdb.dlang/debug-expr.exp: New file.
4462
4463 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4464
4465         Fix test names for the following files:
4466
4467         * gdb.ada/exec_changed.exp
4468         * gdb.ada/info_types.exp
4469         * gdb.arch/aarch64-atomic-inst.exp
4470         * gdb.arch/aarch64-fp.exp
4471         * gdb.arch/altivec-abi.exp
4472         * gdb.arch/altivec-regs.exp
4473         * gdb.arch/amd64-byte.exp
4474         * gdb.arch/amd64-disp-step.exp
4475         * gdb.arch/amd64-dword.exp
4476         * gdb.arch/amd64-entry-value-inline.exp
4477         * gdb.arch/amd64-entry-value-param.exp
4478         * gdb.arch/amd64-entry-value-paramref.exp
4479         * gdb.arch/amd64-entry-value.exp
4480         * gdb.arch/amd64-i386-address.exp
4481         * gdb.arch/amd64-invalid-stack-middle.exp
4482         * gdb.arch/amd64-invalid-stack-top.exp
4483         * gdb.arch/amd64-optimout-repeat.exp
4484         * gdb.arch/amd64-prologue-skip.exp
4485         * gdb.arch/amd64-prologue-xmm.exp
4486         * gdb.arch/amd64-stap-special-operands.exp
4487         * gdb.arch/amd64-stap-wrong-subexp.exp
4488         * gdb.arch/amd64-tailcall-cxx.exp
4489         * gdb.arch/amd64-tailcall-noret.exp
4490         * gdb.arch/amd64-tailcall-ret.exp
4491         * gdb.arch/amd64-tailcall-self.exp
4492         * gdb.arch/amd64-word.exp
4493         * gdb.arch/arm-bl-branch-dest.exp
4494         * gdb.arch/arm-disp-step.exp
4495         * gdb.arch/arm-neon.exp
4496         * gdb.arch/arm-single-step-kernel-helper.exp
4497         * gdb.arch/avr-flash-qualifier.exp
4498         * gdb.arch/disp-step-insn-reloc.exp
4499         * gdb.arch/e500-abi.exp
4500         * gdb.arch/e500-regs.exp
4501         * gdb.arch/ftrace-insn-reloc.exp
4502         * gdb.arch/i386-avx512.exp
4503         * gdb.arch/i386-bp_permanent.exp
4504         * gdb.arch/i386-byte.exp
4505         * gdb.arch/i386-cfi-notcurrent.exp
4506         * gdb.arch/i386-disp-step.exp
4507         * gdb.arch/i386-dr3-watch.exp
4508         * gdb.arch/i386-float.exp
4509         * gdb.arch/i386-gnu-cfi.exp
4510         * gdb.arch/i386-mpx-map.exp
4511         * gdb.arch/i386-mpx-sigsegv.exp
4512         * gdb.arch/i386-mpx-simple_segv.exp
4513         * gdb.arch/i386-mpx.exp
4514         * gdb.arch/i386-permbkpt.exp
4515         * gdb.arch/i386-prologue.exp
4516         * gdb.arch/i386-signal.exp
4517         * gdb.arch/i386-size-overlap.exp
4518         * gdb.arch/i386-unwind.exp
4519         * gdb.arch/i386-word.exp
4520         * gdb.arch/mips-fcr.exp
4521         * gdb.arch/powerpc-d128-regs.exp
4522         * gdb.arch/powerpc-stackless.exp
4523         * gdb.arch/ppc64-atomic-inst.exp
4524         * gdb.arch/s390-stackless.exp
4525         * gdb.arch/s390-tdbregs.exp
4526         * gdb.arch/s390-vregs.exp
4527         * gdb.arch/sparc-sysstep.exp
4528         * gdb.arch/thumb-bx-pc.exp
4529         * gdb.arch/thumb-singlestep.exp
4530         * gdb.arch/thumb2-it.exp
4531         * gdb.arch/vsx-regs.exp
4532         * gdb.asm/asm-source.exp
4533         * gdb.base/a2-run.exp
4534         * gdb.base/advance.exp
4535         * gdb.base/all-bin.exp
4536         * gdb.base/anon.exp
4537         * gdb.base/args.exp
4538         * gdb.base/arithmet.exp
4539         * gdb.base/async-shell.exp
4540         * gdb.base/async.exp
4541         * gdb.base/attach-pie-noexec.exp
4542         * gdb.base/attach-twice.exp
4543         * gdb.base/auto-load.exp
4544         * gdb.base/bang.exp
4545         * gdb.base/bitfields.exp
4546         * gdb.base/break-always.exp
4547         * gdb.base/break-caller-line.exp
4548         * gdb.base/break-entry.exp
4549         * gdb.base/break-inline.exp
4550         * gdb.base/break-on-linker-gcd-function.exp
4551         * gdb.base/break-probes.exp
4552         * gdb.base/break.exp
4553         * gdb.base/breakpoint-shadow.exp
4554         * gdb.base/call-ar-st.exp
4555         * gdb.base/call-sc.exp
4556         * gdb.base/call-signal-resume.exp
4557         * gdb.base/call-strs.exp
4558         * gdb.base/callfuncs.exp
4559         * gdb.base/catch-fork-static.exp
4560         * gdb.base/catch-gdb-caused-signals.exp
4561         * gdb.base/catch-load.exp
4562         * gdb.base/catch-signal-fork.exp
4563         * gdb.base/catch-signal.exp
4564         * gdb.base/catch-syscall.exp
4565         * gdb.base/charset.exp
4566         * gdb.base/checkpoint.exp
4567         * gdb.base/chng-syms.exp
4568         * gdb.base/code-expr.exp
4569         * gdb.base/code_elim.exp
4570         * gdb.base/commands.exp
4571         * gdb.base/completion.exp
4572         * gdb.base/complex.exp
4573         * gdb.base/cond-expr.exp
4574         * gdb.base/condbreak.exp
4575         * gdb.base/consecutive.exp
4576         * gdb.base/continue-all-already-running.exp
4577         * gdb.base/coredump-filter.exp
4578         * gdb.base/corefile.exp
4579         * gdb.base/dbx.exp
4580         * gdb.base/debug-expr.exp
4581         * gdb.base/define.exp
4582         * gdb.base/del.exp
4583         * gdb.base/disabled-location.exp
4584         * gdb.base/disasm-end-cu.exp
4585         * gdb.base/disasm-optim.exp
4586         * gdb.base/display.exp
4587         * gdb.base/duplicate-bp.exp
4588         * gdb.base/ena-dis-br.exp
4589         * gdb.base/ending-run.exp
4590         * gdb.base/enumval.exp
4591         * gdb.base/environ.exp
4592         * gdb.base/eu-strip-infcall.exp
4593         * gdb.base/eval-avoid-side-effects.exp
4594         * gdb.base/eval-skip.exp
4595         * gdb.base/exitsignal.exp
4596         * gdb.base/expand-psymtabs.exp
4597         * gdb.base/filesym.exp
4598         * gdb.base/find-unmapped.exp
4599         * gdb.base/finish.exp
4600         * gdb.base/float.exp
4601         * gdb.base/foll-exec-mode.exp
4602         * gdb.base/foll-exec.exp
4603         * gdb.base/foll-fork.exp
4604         * gdb.base/fortran-sym-case.exp
4605         * gdb.base/freebpcmd.exp
4606         * gdb.base/func-ptr.exp
4607         * gdb.base/func-ptrs.exp
4608         * gdb.base/funcargs.exp
4609         * gdb.base/gcore-buffer-overflow.exp
4610         * gdb.base/gcore-relro-pie.exp
4611         * gdb.base/gcore-relro.exp
4612         * gdb.base/gcore.exp
4613         * gdb.base/gdb1090.exp
4614         * gdb.base/gdb11530.exp
4615         * gdb.base/gdb11531.exp
4616         * gdb.base/gdb1821.exp
4617         * gdb.base/gdbindex-stabs.exp
4618         * gdb.base/gdbvars.exp
4619         * gdb.base/hbreak.exp
4620         * gdb.base/hbreak2.exp
4621         * gdb.base/included.exp
4622         * gdb.base/infcall-input.exp
4623         * gdb.base/inferior-died.exp
4624         * gdb.base/infnan.exp
4625         * gdb.base/info-macros.exp
4626         * gdb.base/info-os.exp
4627         * gdb.base/info-proc.exp
4628         * gdb.base/info-shared.exp
4629         * gdb.base/info-target.exp
4630         * gdb.base/infoline.exp
4631         * gdb.base/interp.exp
4632         * gdb.base/interrupt.exp
4633         * gdb.base/jit-reader.exp
4634         * gdb.base/jit-simple.exp
4635         * gdb.base/kill-after-signal.exp
4636         * gdb.base/kill-detach-inferiors-cmd.exp
4637         * gdb.base/label.exp
4638         * gdb.base/langs.exp
4639         * gdb.base/ldbl_e308.exp
4640         * gdb.base/line-symtabs.exp
4641         * gdb.base/linespecs.exp
4642         * gdb.base/list.exp
4643         * gdb.base/long_long.exp
4644         * gdb.base/longest-types.exp
4645         * gdb.base/maint.exp
4646         * gdb.base/max-value-size.exp
4647         * gdb.base/memattr.exp
4648         * gdb.base/mips_pro.exp
4649         * gdb.base/morestack.exp
4650         * gdb.base/moribund-step.exp
4651         * gdb.base/multi-forks.exp
4652         * gdb.base/nested-addr.exp
4653         * gdb.base/nextoverexit.exp
4654         * gdb.base/noreturn-finish.exp
4655         * gdb.base/noreturn-return.exp
4656         * gdb.base/nostdlib.exp
4657         * gdb.base/offsets.exp
4658         * gdb.base/opaque.exp
4659         * gdb.base/pc-fp.exp
4660         * gdb.base/permissions.exp
4661         * gdb.base/print-symbol-loading.exp
4662         * gdb.base/prologue-include.exp
4663         * gdb.base/psymtab.exp
4664         * gdb.base/ptype.exp
4665         * gdb.base/random-signal.exp
4666         * gdb.base/randomize.exp
4667         * gdb.base/range-stepping.exp
4668         * gdb.base/readline-ask.exp
4669         * gdb.base/recpar.exp
4670         * gdb.base/recurse.exp
4671         * gdb.base/relational.exp
4672         * gdb.base/restore.exp
4673         * gdb.base/return-nodebug.exp
4674         * gdb.base/return.exp
4675         * gdb.base/run-after-attach.exp
4676         * gdb.base/save-bp.exp
4677         * gdb.base/scope.exp
4678         * gdb.base/sect-cmd.exp
4679         * gdb.base/set-lang-auto.exp
4680         * gdb.base/set-noassign.exp
4681         * gdb.base/setvar.exp
4682         * gdb.base/sigall.exp
4683         * gdb.base/sigbpt.exp
4684         * gdb.base/siginfo-addr.exp
4685         * gdb.base/siginfo-infcall.exp
4686         * gdb.base/siginfo-obj.exp
4687         * gdb.base/siginfo.exp
4688         * gdb.base/signals-state-child.exp
4689         * gdb.base/signest.exp
4690         * gdb.base/sigstep.exp
4691         * gdb.base/sizeof.exp
4692         * gdb.base/skip.exp
4693         * gdb.base/solib-corrupted.exp
4694         * gdb.base/solib-nodir.exp
4695         * gdb.base/solib-search.exp
4696         * gdb.base/stack-checking.exp
4697         * gdb.base/stale-infcall.exp
4698         * gdb.base/stap-probe.exp
4699         * gdb.base/start.exp
4700         * gdb.base/step-break.exp
4701         * gdb.base/step-bt.exp
4702         * gdb.base/step-line.exp
4703         * gdb.base/step-over-exit.exp
4704         * gdb.base/step-over-syscall.exp
4705         * gdb.base/step-resume-infcall.exp
4706         * gdb.base/step-test.exp
4707         * gdb.base/store.exp
4708         * gdb.base/structs3.exp
4709         * gdb.base/sym-file.exp
4710         * gdb.base/symbol-without-target_section.exp
4711         * gdb.base/term.exp
4712         * gdb.base/testenv.exp
4713         * gdb.base/ui-redirect.exp
4714         * gdb.base/until.exp
4715         * gdb.base/unwindonsignal.exp
4716         * gdb.base/value-double-free.exp
4717         * gdb.base/vla-datatypes.exp
4718         * gdb.base/vla-ptr.exp
4719         * gdb.base/vla-sideeffect.exp
4720         * gdb.base/volatile.exp
4721         * gdb.base/watch-cond-infcall.exp
4722         * gdb.base/watch-cond.exp
4723         * gdb.base/watch-non-mem.exp
4724         * gdb.base/watch-read.exp
4725         * gdb.base/watch-vfork.exp
4726         * gdb.base/watchpoint-cond-gone.exp
4727         * gdb.base/watchpoint-delete.exp
4728         * gdb.base/watchpoint-hw-hit-once.exp
4729         * gdb.base/watchpoint-hw.exp
4730         * gdb.base/watchpoint-stops-at-right-insn.exp
4731         * gdb.base/watchpoints.exp
4732         * gdb.base/wchar.exp
4733         * gdb.base/whatis-exp.exp
4734         * gdb.btrace/buffer-size.exp
4735         * gdb.btrace/data.exp
4736         * gdb.btrace/delta.exp
4737         * gdb.btrace/dlopen.exp
4738         * gdb.btrace/enable.exp
4739         * gdb.btrace/exception.exp
4740         * gdb.btrace/function_call_history.exp
4741         * gdb.btrace/gcore.exp
4742         * gdb.btrace/instruction_history.exp
4743         * gdb.btrace/nohist.exp
4744         * gdb.btrace/reconnect.exp
4745         * gdb.btrace/record_goto-step.exp
4746         * gdb.btrace/record_goto.exp
4747         * gdb.btrace/rn-dl-bind.exp
4748         * gdb.btrace/segv.exp
4749         * gdb.btrace/step.exp
4750         * gdb.btrace/stepi.exp
4751         * gdb.btrace/tailcall-only.exp
4752         * gdb.btrace/tailcall.exp
4753         * gdb.btrace/tsx.exp
4754         * gdb.btrace/unknown_functions.exp
4755         * gdb.btrace/vdso.exp
4756         * gdb.compile/compile-ifunc.exp
4757         * gdb.compile/compile-ops.exp
4758         * gdb.compile/compile-print.exp
4759         * gdb.compile/compile-setjmp.exp
4760         * gdb.cp/abstract-origin.exp
4761         * gdb.cp/ambiguous.exp
4762         * gdb.cp/annota2.exp
4763         * gdb.cp/annota3.exp
4764         * gdb.cp/anon-ns.exp
4765         * gdb.cp/anon-struct.exp
4766         * gdb.cp/anon-union.exp
4767         * gdb.cp/arg-reference.exp
4768         * gdb.cp/baseenum.exp
4769         * gdb.cp/bool.exp
4770         * gdb.cp/breakpoint.exp
4771         * gdb.cp/bs15503.exp
4772         * gdb.cp/call-c.exp
4773         * gdb.cp/casts.exp
4774         * gdb.cp/chained-calls.exp
4775         * gdb.cp/class2.exp
4776         * gdb.cp/classes.exp
4777         * gdb.cp/cmpd-minsyms.exp
4778         * gdb.cp/converts.exp
4779         * gdb.cp/cp-relocate.exp
4780         * gdb.cp/cpcompletion.exp
4781         * gdb.cp/cpexprs.exp
4782         * gdb.cp/cplabel.exp
4783         * gdb.cp/cplusfuncs.exp
4784         * gdb.cp/cpsizeof.exp
4785         * gdb.cp/ctti.exp
4786         * gdb.cp/derivation.exp
4787         * gdb.cp/destrprint.exp
4788         * gdb.cp/dispcxx.exp
4789         * gdb.cp/enum-class.exp
4790         * gdb.cp/exception.exp
4791         * gdb.cp/exceptprint.exp
4792         * gdb.cp/expand-psymtabs-cxx.exp
4793         * gdb.cp/expand-sals.exp
4794         * gdb.cp/extern-c.exp
4795         * gdb.cp/filename.exp
4796         * gdb.cp/formatted-ref.exp
4797         * gdb.cp/fpointer.exp
4798         * gdb.cp/gdb1355.exp
4799         * gdb.cp/gdb2495.exp
4800         * gdb.cp/hang.exp
4801         * gdb.cp/impl-this.exp
4802         * gdb.cp/infcall-dlopen.exp
4803         * gdb.cp/inherit.exp
4804         * gdb.cp/iostream.exp
4805         * gdb.cp/koenig.exp
4806         * gdb.cp/local.exp
4807         * gdb.cp/m-data.exp
4808         * gdb.cp/m-static.exp
4809         * gdb.cp/mb-ctor.exp
4810         * gdb.cp/mb-inline.exp
4811         * gdb.cp/mb-templates.exp
4812         * gdb.cp/member-name.exp
4813         * gdb.cp/member-ptr.exp
4814         * gdb.cp/meth-typedefs.exp
4815         * gdb.cp/method.exp
4816         * gdb.cp/method2.exp
4817         * gdb.cp/minsym-fallback.exp
4818         * gdb.cp/misc.exp
4819         * gdb.cp/namelessclass.exp
4820         * gdb.cp/namespace-enum.exp
4821         * gdb.cp/namespace-nested-import.exp
4822         * gdb.cp/namespace.exp
4823         * gdb.cp/nextoverthrow.exp
4824         * gdb.cp/no-dmgl-verbose.exp
4825         * gdb.cp/non-trivial-retval.exp
4826         * gdb.cp/noparam.exp
4827         * gdb.cp/nsdecl.exp
4828         * gdb.cp/nsimport.exp
4829         * gdb.cp/nsnested.exp
4830         * gdb.cp/nsnoimports.exp
4831         * gdb.cp/nsrecurs.exp
4832         * gdb.cp/nsstress.exp
4833         * gdb.cp/nsusing.exp
4834         * gdb.cp/operator.exp
4835         * gdb.cp/oranking.exp
4836         * gdb.cp/overload-const.exp
4837         * gdb.cp/overload.exp
4838         * gdb.cp/ovldbreak.exp
4839         * gdb.cp/ovsrch.exp
4840         * gdb.cp/paren-type.exp
4841         * gdb.cp/parse-lang.exp
4842         * gdb.cp/pass-by-ref.exp
4843         * gdb.cp/pr-1023.exp
4844         * gdb.cp/pr-1210.exp
4845         * gdb.cp/pr-574.exp
4846         * gdb.cp/pr10687.exp
4847         * gdb.cp/pr12028.exp
4848         * gdb.cp/pr17132.exp
4849         * gdb.cp/pr17494.exp
4850         * gdb.cp/pr9067.exp
4851         * gdb.cp/pr9167.exp
4852         * gdb.cp/pr9631.exp
4853         * gdb.cp/printmethod.exp
4854         * gdb.cp/psmang.exp
4855         * gdb.cp/psymtab-parameter.exp
4856         * gdb.cp/ptype-cv-cp.exp
4857         * gdb.cp/ptype-flags.exp
4858         * gdb.cp/re-set-overloaded.exp
4859         * gdb.cp/ref-types.exp
4860         * gdb.cp/rtti.exp
4861         * gdb.cp/scope-err.exp
4862         * gdb.cp/shadow.exp
4863         * gdb.cp/smartp.exp
4864         * gdb.cp/static-method.exp
4865         * gdb.cp/static-print-quit.exp
4866         * gdb.cp/temargs.exp
4867         * gdb.cp/templates.exp
4868         * gdb.cp/try_catch.exp
4869         * gdb.cp/typedef-operator.exp
4870         * gdb.cp/typeid.exp
4871         * gdb.cp/userdef.exp
4872         * gdb.cp/using-crash.exp
4873         * gdb.cp/var-tag.exp
4874         * gdb.cp/virtbase.exp
4875         * gdb.cp/virtfunc.exp
4876         * gdb.cp/virtfunc2.exp
4877         * gdb.cp/vla-cxx.exp
4878         * gdb.disasm/t01_mov.exp
4879         * gdb.disasm/t02_mova.exp
4880         * gdb.disasm/t03_add.exp
4881         * gdb.disasm/t04_sub.exp
4882         * gdb.disasm/t05_cmp.exp
4883         * gdb.disasm/t06_ari2.exp
4884         * gdb.disasm/t07_ari3.exp
4885         * gdb.disasm/t08_or.exp
4886         * gdb.disasm/t09_xor.exp
4887         * gdb.disasm/t10_and.exp
4888         * gdb.disasm/t11_logs.exp
4889         * gdb.disasm/t12_bit.exp
4890         * gdb.disasm/t13_otr.exp
4891         * gdb.dlang/circular.exp
4892         * gdb.dwarf2/arr-stride.exp
4893         * gdb.dwarf2/arr-subrange.exp
4894         * gdb.dwarf2/atomic-type.exp
4895         * gdb.dwarf2/bad-regnum.exp
4896         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4897         * gdb.dwarf2/callframecfa.exp
4898         * gdb.dwarf2/clztest.exp
4899         * gdb.dwarf2/corrupt.exp
4900         * gdb.dwarf2/data-loc.exp
4901         * gdb.dwarf2/dup-psym.exp
4902         * gdb.dwarf2/dw2-anon-mptr.exp
4903         * gdb.dwarf2/dw2-anonymous-func.exp
4904         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4905         * gdb.dwarf2/dw2-bad-unresolved.exp
4906         * gdb.dwarf2/dw2-basic.exp
4907         * gdb.dwarf2/dw2-canonicalize-type.exp
4908         * gdb.dwarf2/dw2-case-insensitive.exp
4909         * gdb.dwarf2/dw2-common-block.exp
4910         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4911         * gdb.dwarf2/dw2-compressed.exp
4912         * gdb.dwarf2/dw2-const.exp
4913         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4914         * gdb.dwarf2/dw2-cu-size.exp
4915         * gdb.dwarf2/dw2-dup-frame.exp
4916         * gdb.dwarf2/dw2-entry-value.exp
4917         * gdb.dwarf2/dw2-icycle.exp
4918         * gdb.dwarf2/dw2-ifort-parameter.exp
4919         * gdb.dwarf2/dw2-inline-break.exp
4920         * gdb.dwarf2/dw2-inline-param.exp
4921         * gdb.dwarf2/dw2-intercu.exp
4922         * gdb.dwarf2/dw2-intermix.exp
4923         * gdb.dwarf2/dw2-lexical-block-bare.exp
4924         * gdb.dwarf2/dw2-linkage-name-trust.exp
4925         * gdb.dwarf2/dw2-minsym-in-cu.exp
4926         * gdb.dwarf2/dw2-noloc.exp
4927         * gdb.dwarf2/dw2-op-call.exp
4928         * gdb.dwarf2/dw2-op-out-param.exp
4929         * gdb.dwarf2/dw2-opt-structptr.exp
4930         * gdb.dwarf2/dw2-param-error.exp
4931         * gdb.dwarf2/dw2-producer.exp
4932         * gdb.dwarf2/dw2-ranges-base.exp
4933         * gdb.dwarf2/dw2-ref-missing-frame.exp
4934         * gdb.dwarf2/dw2-reg-undefined.exp
4935         * gdb.dwarf2/dw2-regno-invalid.exp
4936         * gdb.dwarf2/dw2-restore.exp
4937         * gdb.dwarf2/dw2-restrict.exp
4938         * gdb.dwarf2/dw2-single-line-discriminators.exp
4939         * gdb.dwarf2/dw2-strp.exp
4940         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4941         * gdb.dwarf2/dw2-unresolved.exp
4942         * gdb.dwarf2/dw2-var-zero-addr.exp
4943         * gdb.dwarf2/dw4-sig-types.exp
4944         * gdb.dwarf2/dwz.exp
4945         * gdb.dwarf2/dynarr-ptr.exp
4946         * gdb.dwarf2/enum-type.exp
4947         * gdb.dwarf2/gdb-index.exp
4948         * gdb.dwarf2/implptr-64bit.exp
4949         * gdb.dwarf2/implptr-optimized-out.exp
4950         * gdb.dwarf2/implptr.exp
4951         * gdb.dwarf2/implref-array.exp
4952         * gdb.dwarf2/implref-const.exp
4953         * gdb.dwarf2/implref-global.exp
4954         * gdb.dwarf2/implref-struct.exp
4955         * gdb.dwarf2/mac-fileno.exp
4956         * gdb.dwarf2/main-subprogram.exp
4957         * gdb.dwarf2/member-ptr-forwardref.exp
4958         * gdb.dwarf2/method-ptr.exp
4959         * gdb.dwarf2/missing-sig-type.exp
4960         * gdb.dwarf2/nonvar-access.exp
4961         * gdb.dwarf2/opaque-type-lookup.exp
4962         * gdb.dwarf2/pieces-optimized-out.exp
4963         * gdb.dwarf2/pieces.exp
4964         * gdb.dwarf2/pr10770.exp
4965         * gdb.dwarf2/pr13961.exp
4966         * gdb.dwarf2/staticvirtual.exp
4967         * gdb.dwarf2/subrange.exp
4968         * gdb.dwarf2/symtab-producer.exp
4969         * gdb.dwarf2/trace-crash.exp
4970         * gdb.dwarf2/typeddwarf.exp
4971         * gdb.dwarf2/valop.exp
4972         * gdb.dwarf2/watch-notconst.exp
4973         * gdb.fortran/array-element.exp
4974         * gdb.fortran/charset.exp
4975         * gdb.fortran/common-block.exp
4976         * gdb.fortran/complex.exp
4977         * gdb.fortran/derived-type-function.exp
4978         * gdb.fortran/derived-type.exp
4979         * gdb.fortran/logical.exp
4980         * gdb.fortran/module.exp
4981         * gdb.fortran/multi-dim.exp
4982         * gdb.fortran/nested-funcs.exp
4983         * gdb.fortran/print-formatted.exp
4984         * gdb.fortran/subarray.exp
4985         * gdb.fortran/vla-alloc-assoc.exp
4986         * gdb.fortran/vla-datatypes.exp
4987         * gdb.fortran/vla-history.exp
4988         * gdb.fortran/vla-ptr-info.exp
4989         * gdb.fortran/vla-ptype-sub.exp
4990         * gdb.fortran/vla-ptype.exp
4991         * gdb.fortran/vla-sizeof.exp
4992         * gdb.fortran/vla-type.exp
4993         * gdb.fortran/vla-value-sub-arbitrary.exp
4994         * gdb.fortran/vla-value-sub-finish.exp
4995         * gdb.fortran/vla-value-sub.exp
4996         * gdb.fortran/vla-value.exp
4997         * gdb.fortran/whatis_type.exp
4998         * gdb.go/chan.exp
4999         * gdb.go/handcall.exp
5000         * gdb.go/hello.exp
5001         * gdb.go/integers.exp
5002         * gdb.go/methods.exp
5003         * gdb.go/package.exp
5004         * gdb.go/strings.exp
5005         * gdb.go/types.exp
5006         * gdb.go/unsafe.exp
5007         * gdb.guile/scm-arch.exp
5008         * gdb.guile/scm-block.exp
5009         * gdb.guile/scm-breakpoint.exp
5010         * gdb.guile/scm-cmd.exp
5011         * gdb.guile/scm-disasm.exp
5012         * gdb.guile/scm-equal.exp
5013         * gdb.guile/scm-frame-args.exp
5014         * gdb.guile/scm-frame-inline.exp
5015         * gdb.guile/scm-frame.exp
5016         * gdb.guile/scm-iterator.exp
5017         * gdb.guile/scm-math.exp
5018         * gdb.guile/scm-objfile.exp
5019         * gdb.guile/scm-ports.exp
5020         * gdb.guile/scm-symbol.exp
5021         * gdb.guile/scm-symtab.exp
5022         * gdb.guile/scm-value-cc.exp
5023         * gdb.guile/types-module.exp
5024         * gdb.linespec/break-ask.exp
5025         * gdb.linespec/cpexplicit.exp
5026         * gdb.linespec/explicit.exp
5027         * gdb.linespec/keywords.exp
5028         * gdb.linespec/linespec.exp
5029         * gdb.linespec/ls-dollar.exp
5030         * gdb.linespec/ls-errs.exp
5031         * gdb.linespec/skip-two.exp
5032         * gdb.linespec/thread.exp
5033         * gdb.mi/mi-async.exp
5034         * gdb.mi/mi-basics.exp
5035         * gdb.mi/mi-break.exp
5036         * gdb.mi/mi-catch-load.exp
5037         * gdb.mi/mi-cli.exp
5038         * gdb.mi/mi-cmd-param-changed.exp
5039         * gdb.mi/mi-console.exp
5040         * gdb.mi/mi-detach.exp
5041         * gdb.mi/mi-disassemble.exp
5042         * gdb.mi/mi-eval.exp
5043         * gdb.mi/mi-file-transfer.exp
5044         * gdb.mi/mi-file.exp
5045         * gdb.mi/mi-fill-memory.exp
5046         * gdb.mi/mi-inheritance-syntax-error.exp
5047         * gdb.mi/mi-linespec-err-cp.exp
5048         * gdb.mi/mi-logging.exp
5049         * gdb.mi/mi-memory-changed.exp
5050         * gdb.mi/mi-read-memory.exp
5051         * gdb.mi/mi-record-changed.exp
5052         * gdb.mi/mi-reg-undefined.exp
5053         * gdb.mi/mi-regs.exp
5054         * gdb.mi/mi-return.exp
5055         * gdb.mi/mi-reverse.exp
5056         * gdb.mi/mi-simplerun.exp
5057         * gdb.mi/mi-solib.exp
5058         * gdb.mi/mi-stack.exp
5059         * gdb.mi/mi-stepi.exp
5060         * gdb.mi/mi-syn-frame.exp
5061         * gdb.mi/mi-until.exp
5062         * gdb.mi/mi-var-block.exp
5063         * gdb.mi/mi-var-child.exp
5064         * gdb.mi/mi-var-cmd.exp
5065         * gdb.mi/mi-var-cp.exp
5066         * gdb.mi/mi-var-display.exp
5067         * gdb.mi/mi-var-invalidate.exp
5068         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5069         * gdb.mi/mi-vla-fortran.exp
5070         * gdb.mi/mi-watch.exp
5071         * gdb.mi/mi2-var-child.exp
5072         * gdb.mi/user-selected-context-sync.exp
5073         * gdb.modula2/unbounded-array.exp
5074         * gdb.multi/dummy-frame-restore.exp
5075         * gdb.multi/multi-arch-exec.exp
5076         * gdb.multi/multi-arch.exp
5077         * gdb.multi/tids.exp
5078         * gdb.multi/watchpoint-multi.exp
5079         * gdb.opencl/callfuncs.exp
5080         * gdb.opencl/convs_casts.exp
5081         * gdb.opencl/datatypes.exp
5082         * gdb.opencl/operators.exp
5083         * gdb.opencl/vec_comps.exp
5084         * gdb.opt/clobbered-registers-O2.exp
5085         * gdb.opt/inline-break.exp
5086         * gdb.opt/inline-bt.exp
5087         * gdb.opt/inline-cmds.exp
5088         * gdb.opt/inline-locals.exp
5089         * gdb.pascal/case-insensitive-symbols.exp
5090         * gdb.pascal/floats.exp
5091         * gdb.pascal/gdb11492.exp
5092         * gdb.python/lib-types.exp
5093         * gdb.python/py-arch.exp
5094         * gdb.python/py-as-string.exp
5095         * gdb.python/py-bad-printers.exp
5096         * gdb.python/py-block.exp
5097         * gdb.python/py-breakpoint-create-fail.exp
5098         * gdb.python/py-breakpoint.exp
5099         * gdb.python/py-caller-is.exp
5100         * gdb.python/py-cmd.exp
5101         * gdb.python/py-explore-cc.exp
5102         * gdb.python/py-explore.exp
5103         * gdb.python/py-finish-breakpoint.exp
5104         * gdb.python/py-finish-breakpoint2.exp
5105         * gdb.python/py-frame-args.exp
5106         * gdb.python/py-frame-inline.exp
5107         * gdb.python/py-frame.exp
5108         * gdb.python/py-framefilter-mi.exp
5109         * gdb.python/py-infthread.exp
5110         * gdb.python/py-lazy-string.exp
5111         * gdb.python/py-linetable.exp
5112         * gdb.python/py-mi-events.exp
5113         * gdb.python/py-mi-objfile.exp
5114         * gdb.python/py-mi.exp
5115         * gdb.python/py-objfile.exp
5116         * gdb.python/py-pp-integral.exp
5117         * gdb.python/py-pp-maint.exp
5118         * gdb.python/py-pp-re-notag.exp
5119         * gdb.python/py-pp-registration.exp
5120         * gdb.python/py-recurse-unwind.exp
5121         * gdb.python/py-strfns.exp
5122         * gdb.python/py-symbol.exp
5123         * gdb.python/py-symtab.exp
5124         * gdb.python/py-sync-interp.exp
5125         * gdb.python/py-typeprint.exp
5126         * gdb.python/py-unwind-maint.exp
5127         * gdb.python/py-unwind.exp
5128         * gdb.python/py-value-cc.exp
5129         * gdb.python/py-xmethods.exp
5130         * gdb.reverse/amd64-tailcall-reverse.exp
5131         * gdb.reverse/break-precsave.exp
5132         * gdb.reverse/break-reverse.exp
5133         * gdb.reverse/consecutive-precsave.exp
5134         * gdb.reverse/consecutive-reverse.exp
5135         * gdb.reverse/finish-precsave.exp
5136         * gdb.reverse/finish-reverse-bkpt.exp
5137         * gdb.reverse/finish-reverse.exp
5138         * gdb.reverse/fstatat-reverse.exp
5139         * gdb.reverse/getresuid-reverse.exp
5140         * gdb.reverse/i386-precsave.exp
5141         * gdb.reverse/i386-reverse.exp
5142         * gdb.reverse/i386-sse-reverse.exp
5143         * gdb.reverse/i387-env-reverse.exp
5144         * gdb.reverse/i387-stack-reverse.exp
5145         * gdb.reverse/insn-reverse.exp
5146         * gdb.reverse/machinestate-precsave.exp
5147         * gdb.reverse/machinestate.exp
5148         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5149         * gdb.reverse/pipe-reverse.exp
5150         * gdb.reverse/readv-reverse.exp
5151         * gdb.reverse/recvmsg-reverse.exp
5152         * gdb.reverse/rerun-prec.exp
5153         * gdb.reverse/s390-mvcle.exp
5154         * gdb.reverse/step-precsave.exp
5155         * gdb.reverse/step-reverse.exp
5156         * gdb.reverse/time-reverse.exp
5157         * gdb.reverse/until-precsave.exp
5158         * gdb.reverse/until-reverse.exp
5159         * gdb.reverse/waitpid-reverse.exp
5160         * gdb.reverse/watch-precsave.exp
5161         * gdb.reverse/watch-reverse.exp
5162         * gdb.rust/generics.exp
5163         * gdb.rust/methods.exp
5164         * gdb.rust/modules.exp
5165         * gdb.rust/simple.exp
5166         * gdb.server/connect-with-no-symbol-file.exp
5167         * gdb.server/ext-attach.exp
5168         * gdb.server/ext-restart.exp
5169         * gdb.server/ext-wrapper.exp
5170         * gdb.server/file-transfer.exp
5171         * gdb.server/server-exec-info.exp
5172         * gdb.server/server-kill.exp
5173         * gdb.server/server-mon.exp
5174         * gdb.server/wrapper.exp
5175         * gdb.stabs/exclfwd.exp
5176         * gdb.stabs/gdb11479.exp
5177         * gdb.threads/clone-new-thread-event.exp
5178         * gdb.threads/corethreads.exp
5179         * gdb.threads/current-lwp-dead.exp
5180         * gdb.threads/dlopen-libpthread.exp
5181         * gdb.threads/gcore-thread.exp
5182         * gdb.threads/sigstep-threads.exp
5183         * gdb.threads/watchpoint-fork.exp
5184         * gdb.trace/actions-changed.exp
5185         * gdb.trace/backtrace.exp
5186         * gdb.trace/change-loc.exp
5187         * gdb.trace/circ.exp
5188         * gdb.trace/collection.exp
5189         * gdb.trace/disconnected-tracing.exp
5190         * gdb.trace/ftrace.exp
5191         * gdb.trace/mi-trace-frame-collected.exp
5192         * gdb.trace/mi-trace-unavailable.exp
5193         * gdb.trace/mi-traceframe-changed.exp
5194         * gdb.trace/mi-tsv-changed.exp
5195         * gdb.trace/no-attach-trace.exp
5196         * gdb.trace/passc-dyn.exp
5197         * gdb.trace/qtro.exp
5198         * gdb.trace/range-stepping.exp
5199         * gdb.trace/read-memory.exp
5200         * gdb.trace/save-trace.exp
5201         * gdb.trace/signal.exp
5202         * gdb.trace/status-stop.exp
5203         * gdb.trace/tfile.exp
5204         * gdb.trace/trace-break.exp
5205         * gdb.trace/trace-buffer-size.exp
5206         * gdb.trace/trace-condition.exp
5207         * gdb.trace/tracefile-pseudo-reg.exp
5208         * gdb.trace/tstatus.exp
5209         * gdb.trace/unavailable.exp
5210         * gdb.trace/while-dyn.exp
5211         * gdb.trace/while-stepping.exp
5212
5213 2016-12-22  Doug Evans  <xdje42@gmail.com>
5214
5215         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5216         and msymbols.
5217
5218 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5219
5220         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5221         (test_with_self): Don't call do_steps_and_nexts, and remove
5222         code about stepping into xmalloc.
5223
5224 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5225
5226         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5227
5228 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5229
5230         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5231
5232 2016-12-09  Pedro Alves  <palves@redhat.com>
5233
5234         * gdb.base/all-architectures-0.exp: New file.
5235         * gdb.base/all-architectures-1.exp: New file.
5236         * gdb.base/all-architectures-2.exp: New file.
5237         * gdb.base/all-architectures-3.exp: New file.
5238         * gdb.base/all-architectures-4.exp: New file.
5239         * gdb.base/all-architectures-5.exp: New file.
5240         * gdb.base/all-architectures-6.exp: New file.
5241         * gdb.base/all-architectures-7.exp: New file.
5242         * gdb.base/all-architectures.exp.in: New file.
5243
5244 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5245
5246         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5247
5248 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5249
5250         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5251         possible.
5252         Remove useless pattern-matching code.
5253
5254 2016-12-02  Pedro Alves  <palves@redhat.com>
5255
5256         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5257         procedure.
5258         (top level): Call it.
5259
5260 2016-12-02  Pedro Alves  <palves@redhat.com>
5261
5262         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5263         New procedure.
5264         (top level): Call it.
5265
5266 2016-12-02  Pedro Alves  <palves@redhat.com>
5267
5268         PR cli/20559
5269         * gdb.base/commands.exp (user_defined_command_args_eval): New
5270         procedure.
5271         (top level): Call it.
5272
5273 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5274
5275         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5276         timeout handling.
5277
5278 2016-12-02  Tom Tromey  <tom@tromey.com>
5279
5280         * gdb.dwarf2/main-subprogram.c: New file.
5281         * gdb.dwarf2/main-subprogram.exp: New file.
5282
5283 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5284
5285         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5286         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5287         gdb_test_no_output for a couple of cases.
5288         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5289
5290 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5291
5292         Fix test names and standardize compilation error messages throughout
5293         the following files:
5294
5295         * gdb.ada/start.exp
5296         * gdb.arch/alpha-step.exp
5297         * gdb.arch/e500-prologue.exp
5298         * gdb.arch/ftrace-insn-reloc.exp
5299         * gdb.arch/gdb1291.exp
5300         * gdb.arch/gdb1431.exp
5301         * gdb.arch/gdb1558.exp
5302         * gdb.arch/i386-dr3-watch.exp
5303         * gdb.arch/i386-sse-stack-align.exp
5304         * gdb.arch/ia64-breakpoint-shadow.exp
5305         * gdb.arch/pa-nullify.exp
5306         * gdb.arch/powerpc-aix-prologue.exp
5307         * gdb.arch/thumb-bx-pc.exp
5308         * gdb.base/annota1.exp
5309         * gdb.base/annota3.exp
5310         * gdb.base/arrayidx.exp
5311         * gdb.base/assign.exp
5312         * gdb.base/attach.exp
5313         * gdb.base/auxv.exp
5314         * gdb.base/bang.exp
5315         * gdb.base/bfp-test.exp
5316         * gdb.base/bigcore.exp
5317         * gdb.base/bitfields2.exp
5318         * gdb.base/break-fun-addr.exp
5319         * gdb.base/break-probes.exp
5320         * gdb.base/call-rt-st.exp
5321         * gdb.base/callexit.exp
5322         * gdb.base/catch-fork-kill.exp
5323         * gdb.base/charset.exp
5324         * gdb.base/checkpoint.exp
5325         * gdb.base/comprdebug.exp
5326         * gdb.base/constvars.exp
5327         * gdb.base/coredump-filter.exp
5328         * gdb.base/cursal.exp
5329         * gdb.base/cvexpr.exp
5330         * gdb.base/detach.exp
5331         * gdb.base/display.exp
5332         * gdb.base/dmsym.exp
5333         * gdb.base/dprintf-pending.exp
5334         * gdb.base/dso2dso.exp
5335         * gdb.base/dtrace-probe.exp
5336         * gdb.base/dump.exp
5337         * gdb.base/enum_cond.exp
5338         * gdb.base/exe-lock.exp
5339         * gdb.base/exec-invalid-sysroot.exp
5340         * gdb.base/execl-update-breakpoints.exp
5341         * gdb.base/exprs.exp
5342         * gdb.base/fileio.exp
5343         * gdb.base/find.exp
5344         * gdb.base/finish.exp
5345         * gdb.base/fixsection.exp
5346         * gdb.base/foll-vfork.exp
5347         * gdb.base/frame-args.exp
5348         * gdb.base/gcore.exp
5349         * gdb.base/gdb1250.exp
5350         * gdb.base/global-var-nested-by-dso.exp
5351         * gdb.base/gnu-ifunc.exp
5352         * gdb.base/hashline1.exp
5353         * gdb.base/hashline2.exp
5354         * gdb.base/hashline3.exp
5355         * gdb.base/hbreak-in-shr-unsupported.exp
5356         * gdb.base/huge.exp
5357         * gdb.base/infcall-input.exp
5358         * gdb.base/info-fun.exp
5359         * gdb.base/info-shared.exp
5360         * gdb.base/jit-simple.exp
5361         * gdb.base/jit-so.exp
5362         * gdb.base/jit.exp
5363         * gdb.base/jump.exp
5364         * gdb.base/label.exp
5365         * gdb.base/lineinc.exp
5366         * gdb.base/logical.exp
5367         * gdb.base/longjmp.exp
5368         * gdb.base/macscp.exp
5369         * gdb.base/miscexprs.exp
5370         * gdb.base/new-ui-echo.exp
5371         * gdb.base/new-ui-pending-input.exp
5372         * gdb.base/new-ui.exp
5373         * gdb.base/nodebug.exp
5374         * gdb.base/nofield.exp
5375         * gdb.base/offsets.exp
5376         * gdb.base/overlays.exp
5377         * gdb.base/pending.exp
5378         * gdb.base/pointers.exp
5379         * gdb.base/pr11022.exp
5380         * gdb.base/printcmds.exp
5381         * gdb.base/prologue.exp
5382         * gdb.base/ptr-typedef.exp
5383         * gdb.base/realname-expand.exp
5384         * gdb.base/relativedebug.exp
5385         * gdb.base/relocate.exp
5386         * gdb.base/remote.exp
5387         * gdb.base/reread.exp
5388         * gdb.base/return2.exp
5389         * gdb.base/savedregs.exp
5390         * gdb.base/sep.exp
5391         * gdb.base/sepdebug.exp
5392         * gdb.base/sepsymtab.exp
5393         * gdb.base/set-inferior-tty.exp
5394         * gdb.base/setshow.exp
5395         * gdb.base/shlib-call.exp
5396         * gdb.base/sigaltstack.exp
5397         * gdb.base/siginfo-addr.exp
5398         * gdb.base/signals.exp
5399         * gdb.base/signull.exp
5400         * gdb.base/sigrepeat.exp
5401         * gdb.base/so-impl-ld.exp
5402         * gdb.base/solib-display.exp
5403         * gdb.base/solib-overlap.exp
5404         * gdb.base/solib-search.exp
5405         * gdb.base/solib-symbol.exp
5406         * gdb.base/structs.exp
5407         * gdb.base/structs2.exp
5408         * gdb.base/symtab-search-order.exp
5409         * gdb.base/twice.exp
5410         * gdb.base/unload.exp
5411         * gdb.base/varargs.exp
5412         * gdb.base/watchpoint-solib.exp
5413         * gdb.base/watchpoint.exp
5414         * gdb.base/whatis.exp
5415         * gdb.base/wrong_frame_bt_full.exp
5416         * gdb.btrace/dlopen.exp
5417         * gdb.cell/ea-standalone.exp
5418         * gdb.cell/ea-test.exp
5419         * gdb.cp/dispcxx.exp
5420         * gdb.cp/gdb2384.exp
5421         * gdb.cp/method2.exp
5422         * gdb.cp/nextoverthrow.exp
5423         * gdb.cp/pr10728.exp
5424         * gdb.disasm/am33.exp
5425         * gdb.disasm/h8300s.exp
5426         * gdb.disasm/mn10300.exp
5427         * gdb.disasm/sh3.exp
5428         * gdb.dwarf2/dw2-dir-file-name.exp
5429         * gdb.fortran/complex.exp
5430         * gdb.fortran/library-module.exp
5431         * gdb.guile/scm-pretty-print.exp
5432         * gdb.guile/scm-symbol.exp
5433         * gdb.guile/scm-type.exp
5434         * gdb.guile/scm-value.exp
5435         * gdb.linespec/linespec.exp
5436         * gdb.mi/gdb701.exp
5437         * gdb.mi/gdb792.exp
5438         * gdb.mi/mi-breakpoint-changed.exp
5439         * gdb.mi/mi-dprintf-pending.exp
5440         * gdb.mi/mi-dprintf.exp
5441         * gdb.mi/mi-exit-code.exp
5442         * gdb.mi/mi-pending.exp
5443         * gdb.mi/mi-solib.exp
5444         * gdb.mi/new-ui-mi-sync.exp
5445         * gdb.mi/pr11022.exp
5446         * gdb.mi/user-selected-context-sync.exp
5447         * gdb.opt/solib-intra-step.exp
5448         * gdb.python/py-events.exp
5449         * gdb.python/py-finish-breakpoint.exp
5450         * gdb.python/py-mi.exp
5451         * gdb.python/py-prettyprint.exp
5452         * gdb.python/py-shared.exp
5453         * gdb.python/py-symbol.exp
5454         * gdb.python/py-template.exp
5455         * gdb.python/py-type.exp
5456         * gdb.python/py-value.exp
5457         * gdb.reverse/solib-precsave.exp
5458         * gdb.reverse/solib-reverse.exp
5459         * gdb.server/solib-list.exp
5460         * gdb.stabs/weird.exp
5461         * gdb.threads/reconnect-signal.exp
5462         * gdb.threads/stepi-random-signal.exp
5463         * gdb.trace/actions.exp
5464         * gdb.trace/ax.exp
5465         * gdb.trace/backtrace.exp
5466         * gdb.trace/change-loc.exp
5467         * gdb.trace/deltrace.exp
5468         * gdb.trace/ftrace-lock.exp
5469         * gdb.trace/ftrace.exp
5470         * gdb.trace/infotrace.exp
5471         * gdb.trace/mi-tracepoint-changed.exp
5472         * gdb.trace/packetlen.exp
5473         * gdb.trace/passcount.exp
5474         * gdb.trace/pending.exp
5475         * gdb.trace/range-stepping.exp
5476         * gdb.trace/report.exp
5477         * gdb.trace/stap-trace.exp
5478         * gdb.trace/tfind.exp
5479         * gdb.trace/trace-break.exp
5480         * gdb.trace/trace-condition.exp
5481         * gdb.trace/trace-enable-disable.exp
5482         * gdb.trace/trace-mt.exp
5483         * gdb.trace/tracecmd.exp
5484         * gdb.trace/tspeed.exp
5485         * gdb.trace/tsv.exp
5486         * lib/perftest.exp
5487
5488 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5489
5490         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5491         with gdb_test_no_output.
5492         Use command as test name.
5493
5494 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5495
5496         Fix test names starting with uppercase throughout the files.
5497
5498         * gdb.ada/assign_1.exp
5499         * gdb.ada/boolean_expr.exp
5500         * gdb.base/arrayidx.exp
5501         * gdb.base/del.exp
5502         * gdb.base/gcore-buffer-overflow.exp
5503         * gdb.base/testenv.exp
5504         * gdb.compile/compile.exp
5505         * gdb.python/py-framefilter-invalidarg.exp
5506         * gdb.python/py-framefilter.exp
5507
5508 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5509
5510         Fix test names starting with uppercase throughout the files.
5511
5512         * gdb.ada/array_return.exp
5513         * gdb.ada/expr_delims.exp
5514         * gdb.ada/mi_dyn_arr.exp
5515         * gdb.ada/mi_interface.exp
5516         * gdb.ada/mi_var_array.exp
5517         * gdb.ada/watch_arg.exp
5518         * gdb.arch/alpha-step.exp
5519         * gdb.arch/altivec-regs.exp
5520         * gdb.arch/e500-regs.exp
5521         * gdb.arch/powerpc-d128-regs.exp
5522         * gdb.base/arrayidx.exp
5523         * gdb.base/break.exp
5524         * gdb.base/checkpoint.exp
5525         * gdb.base/debug-expr.exp
5526         * gdb.base/dmsym.exp
5527         * gdb.base/radix.exp
5528         * gdb.base/sepdebug.exp
5529         * gdb.base/testenv.exp
5530         * gdb.base/watch_thread_num.exp
5531         * gdb.base/watchpoint-cond-gone.exp
5532         * gdb.cell/break.exp
5533         * gdb.cell/ea-cache.exp
5534         * gdb.compile/compile.exp
5535         * gdb.cp/gdb2495.exp
5536         * gdb.gdb/selftest.exp
5537         * gdb.gdb/xfullpath.exp
5538         * gdb.go/hello.exp
5539         * gdb.go/integers.exp
5540         * gdb.objc/basicclass.exp
5541         * gdb.pascal/hello.exp
5542         * gdb.pascal/integers.exp
5543         * gdb.python/py-breakpoint.exp
5544         * gdb.python/py-cmd.exp
5545         * gdb.python/py-linetable.exp
5546         * gdb.python/py-xmethods.exp
5547         * gdb.python/python.exp
5548         * gdb.reverse/consecutive-precsave.exp
5549         * gdb.reverse/finish-precsave.exp
5550         * gdb.reverse/i386-precsave.exp
5551         * gdb.reverse/machinestate-precsave.exp
5552         * gdb.reverse/sigall-precsave.exp
5553         * gdb.reverse/solib-precsave.exp
5554         * gdb.reverse/step-precsave.exp
5555         * gdb.reverse/until-precsave.exp
5556         * gdb.reverse/watch-precsave.exp
5557         * gdb.threads/leader-exit.exp
5558         * gdb.threads/pthreads.exp
5559         * gdb.threads/wp-replication.exp
5560         * gdb.trace/actions.exp
5561         * gdb.trace/mi-tsv-changed.exp
5562         * gdb.trace/tsv.exp
5563
5564 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5565
5566         Fix test names starting with uppercase throughout the files.
5567
5568         * gdb.arch/i386-bp_permanent.exp
5569         * gdb.arch/i386-gnu-cfi.exp
5570         * gdb.base/disasm-end-cu.exp
5571         * gdb.base/macscp.exp
5572         * gdb.base/pending.exp
5573         * gdb.base/watch_thread_num.exp
5574         * gdb.cp/exception.exp
5575         * gdb.cp/gdb2495.exp
5576         * gdb.cp/local.exp
5577         * gdb.python/py-evsignal.exp
5578         * gdb.python/python.exp
5579         * gdb.trace/tracecmd.exp
5580
5581 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5582
5583         Fix test names starting with uppercase throughout the files.
5584
5585         * gdb.base/charset.exp
5586         * gdb.base/eval.exp
5587         * gdb.base/multi-forks.exp
5588         * gdb.guile/scm-progspace.exp
5589         * gdb.opencl/datatypes.exp
5590         * gdb.python/py-block.exp
5591         * gdb.python/py-function.exp
5592         * gdb.python/py-symbol.exp
5593         * gdb.python/py-symtab.exp
5594         * gdb.python/py-xmethods.exp
5595         * gdb.reverse/break-precsave.exp
5596         * gdb.reverse/break-reverse.exp
5597         * gdb.reverse/consecutive-precsave.exp
5598         * gdb.reverse/consecutive-reverse.exp
5599         * gdb.reverse/finish-precsave.exp
5600         * gdb.reverse/finish-reverse-bkpt.exp
5601         * gdb.reverse/finish-reverse.exp
5602         * gdb.reverse/fstatat-reverse.exp
5603         * gdb.reverse/getresuid-reverse.exp
5604         * gdb.reverse/i386-precsave.exp
5605         * gdb.reverse/i386-reverse.exp
5606         * gdb.reverse/i386-sse-reverse.exp
5607         * gdb.reverse/i387-stack-reverse.exp
5608         * gdb.reverse/insn-reverse.exp
5609         * gdb.reverse/machinestate-precsave.exp
5610         * gdb.reverse/machinestate.exp
5611         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5612         * gdb.reverse/pipe-reverse.exp
5613         * gdb.reverse/readv-reverse.exp
5614         * gdb.reverse/recvmsg-reverse.exp
5615         * gdb.reverse/rerun-prec.exp
5616         * gdb.reverse/s390-mvcle.exp
5617         * gdb.reverse/sigall-precsave.exp
5618         * gdb.reverse/sigall-reverse.exp
5619         * gdb.reverse/solib-precsave.exp
5620         * gdb.reverse/solib-reverse.exp
5621         * gdb.reverse/step-precsave.exp
5622         * gdb.reverse/step-reverse.exp
5623         * gdb.reverse/time-reverse.exp
5624         * gdb.reverse/until-precsave.exp
5625         * gdb.reverse/until-reverse.exp
5626         * gdb.reverse/waitpid-reverse.exp
5627         * gdb.reverse/watch-precsave.exp
5628         * gdb.reverse/watch-reverse.exp
5629
5630 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5631
5632         Fix test names starting with uppercase throughout the files.
5633
5634         * gdb.arch/i386-mpx-simple_segv.exp
5635         * gdb.arch/i386-mpx.exp
5636         * gdb.arch/i386-permbkpt.exp
5637         * gdb.arch/pa-nullify.exp
5638         * gdb.arch/powerpc-d128-regs.exp
5639         * gdb.arch/vsx-regs.exp
5640         * gdb.base/bfp-test.exp
5641         * gdb.base/break.exp
5642         * gdb.base/breakpoint-shadow.exp
5643         * gdb.base/callfuncs.exp
5644         * gdb.base/charset.exp
5645         * gdb.base/commands.exp
5646         * gdb.base/completion.exp
5647         * gdb.base/dfp-test.exp
5648         * gdb.base/echo.exp
5649         * gdb.base/ending-run.exp
5650         * gdb.base/eval.exp
5651         * gdb.base/expand-psymtabs.exp
5652         * gdb.base/float128.exp
5653         * gdb.base/floatn.exp
5654         * gdb.base/foll-exec-mode.exp
5655         * gdb.base/gdb1056.exp
5656         * gdb.base/gdb11531.exp
5657         * gdb.base/kill-after-signal.exp
5658         * gdb.base/multi-forks.exp
5659         * gdb.base/overlays.exp
5660         * gdb.base/pending.exp
5661         * gdb.base/sepdebug.exp
5662         * gdb.base/testenv.exp
5663         * gdb.base/valgrind-db-attach.exp
5664         * gdb.base/watch_thread_num.exp
5665         * gdb.base/watchpoint-cond-gone.exp
5666         * gdb.base/watchpoint.exp
5667         * gdb.base/watchpoints.exp
5668         * gdb.cp/arg-reference.exp
5669         * gdb.cp/baseenum.exp
5670         * gdb.cp/operator.exp
5671         * gdb.cp/shadow.exp
5672         * gdb.dwarf2/dw2-op-out-param.exp
5673         * gdb.dwarf2/dw2-reg-undefined.exp
5674         * gdb.go/chan.exp
5675         * gdb.go/hello.exp
5676         * gdb.go/integers.exp
5677         * gdb.go/methods.exp
5678         * gdb.go/package.exp
5679         * gdb.guile/scm-parameter.exp
5680         * gdb.guile/scm-progspace.exp
5681         * gdb.guile/scm-value.exp
5682         * gdb.mi/mi-pending.exp
5683         * gdb.mi/user-selected-context-sync.exp
5684         * gdb.multi/multi-attach.exp
5685         * gdb.multi/tids.exp
5686         * gdb.opt/clobbered-registers-O2.exp
5687         * gdb.pascal/floats.exp
5688         * gdb.pascal/integers.exp
5689         * gdb.python/py-block.exp
5690         * gdb.python/py-events.exp
5691         * gdb.python/py-parameter.exp
5692         * gdb.python/py-symbol.exp
5693         * gdb.python/py-symtab.exp
5694         * gdb.python/py-type.exp
5695         * gdb.python/py-value.exp
5696         * gdb.python/py-xmethods.exp
5697         * gdb.python/python.exp
5698         * gdb.reverse/break-precsave.exp
5699         * gdb.reverse/consecutive-precsave.exp
5700         * gdb.reverse/finish-precsave.exp
5701         * gdb.reverse/i386-precsave.exp
5702         * gdb.reverse/machinestate-precsave.exp
5703         * gdb.reverse/sigall-precsave.exp
5704         * gdb.reverse/solib-precsave.exp
5705         * gdb.reverse/step-precsave.exp
5706         * gdb.reverse/until-precsave.exp
5707         * gdb.reverse/watch-precsave.exp
5708         * gdb.server/ext-attach.exp
5709         * gdb.server/ext-restart.exp
5710         * gdb.server/ext-run.exp
5711         * gdb.server/ext-wrapper.exp
5712         * gdb.stabs/gdb11479.exp
5713         * gdb.stabs/weird.exp
5714         * gdb.threads/attach-many-short-lived-threads.exp
5715         * gdb.threads/kill.exp
5716         * gdb.threads/watchpoint-fork.exp
5717
5718 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5719
5720         Fix test names starting with uppercase throughout all the files below.
5721
5722         * gdb.ada/array_return.exp
5723         * gdb.ada/catch_ex.exp
5724         * gdb.ada/info_exc.exp
5725         * gdb.ada/mi_catch_ex.exp
5726         * gdb.ada/mi_dyn_arr.exp
5727         * gdb.ada/mi_ex_cond.exp
5728         * gdb.ada/mi_exc_info.exp
5729         * gdb.ada/mi_interface.exp
5730         * gdb.ada/mi_task_arg.exp
5731         * gdb.ada/mi_task_info.exp
5732         * gdb.ada/mi_var_array.exp
5733         * gdb.arch/alpha-step.exp
5734         * gdb.arch/amd64-disp-step.exp
5735         * gdb.arch/arm-disp-step.exp
5736         * gdb.arch/disp-step-insn-reloc.exp
5737         * gdb.arch/e500-prologue.exp
5738         * gdb.arch/ftrace-insn-reloc.exp
5739         * gdb.arch/gdb1558.exp
5740         * gdb.arch/i386-bp_permanent.exp
5741         * gdb.arch/i386-disp-step.exp
5742         * gdb.arch/i386-float.exp
5743         * gdb.arch/i386-gnu-cfi.exp
5744         * gdb.arch/ia64-breakpoint-shadow.exp
5745         * gdb.arch/mips16-thunks.exp
5746         * gdb.arch/pa-nullify.exp
5747         * gdb.arch/powerpc-aix-prologue.exp
5748         * gdb.arch/powerpc-power.exp
5749         * gdb.arch/ppc-dfp.exp
5750         * gdb.arch/s390-tdbregs.exp
5751         * gdb.arch/spu-info.exp
5752         * gdb.arch/spu-ls.exp
5753         * gdb.arch/thumb-bx-pc.exp
5754         * gdb.base/advance.exp
5755         * gdb.base/annota-input-while-running.exp
5756         * gdb.base/arrayidx.exp
5757         * gdb.base/asmlabel.exp
5758         * gdb.base/async.exp
5759         * gdb.base/attach-wait-input.exp
5760         * gdb.base/auto-connect-native-target.exp
5761         * gdb.base/batch-preserve-term-settings.exp
5762         * gdb.base/bfp-test.exp
5763         * gdb.base/bigcore.exp
5764         * gdb.base/bp-permanent.exp
5765         * gdb.base/break-always.exp
5766         * gdb.base/break-fun-addr.exp
5767         * gdb.base/break-idempotent.exp
5768         * gdb.base/break-main-file-remove-fail.exp
5769         * gdb.base/break-probes.exp
5770         * gdb.base/break-unload-file.exp
5771         * gdb.base/break.exp
5772         * gdb.base/call-ar-st.exp
5773         * gdb.base/call-rt-st.exp
5774         * gdb.base/call-sc.exp
5775         * gdb.base/call-signal-resume.exp
5776         * gdb.base/call-strs.exp
5777         * gdb.base/callexit.exp
5778         * gdb.base/callfuncs.exp
5779         * gdb.base/catch-gdb-caused-signals.exp
5780         * gdb.base/catch-signal-siginfo-cond.exp
5781         * gdb.base/catch-syscall.exp
5782         * gdb.base/compare-sections.exp
5783         * gdb.base/cond-eval-mode.exp
5784         * gdb.base/condbreak-call-false.exp
5785         * gdb.base/consecutive-step-over.exp
5786         * gdb.base/cursal.exp
5787         * gdb.base/disabled-location.exp
5788         * gdb.base/disasm-end-cu.exp
5789         * gdb.base/display.exp
5790         * gdb.base/double-prompt-target-event-error.exp
5791         * gdb.base/dprintf-bp-same-addr.exp
5792         * gdb.base/dprintf-detach.exp
5793         * gdb.base/dprintf-next.exp
5794         * gdb.base/dprintf-non-stop.exp
5795         * gdb.base/dprintf-pending.exp
5796         * gdb.base/dso2dso.exp
5797         * gdb.base/ending-run.exp
5798         * gdb.base/enum_cond.exp
5799         * gdb.base/examine-backward.exp
5800         * gdb.base/exe-lock.exp
5801         * gdb.base/exec-invalid-sysroot.exp
5802         * gdb.base/execl-update-breakpoints.exp
5803         * gdb.base/execution-termios.exp
5804         * gdb.base/fileio.exp
5805         * gdb.base/fixsection.exp
5806         * gdb.base/foll-exec-mode.exp
5807         * gdb.base/foll-exec.exp
5808         * gdb.base/fork-running-state.exp
5809         * gdb.base/frame-args.exp
5810         * gdb.base/fullpath-expand.exp
5811         * gdb.base/func-ptr.exp
5812         * gdb.base/gcore-relro-pie.exp
5813         * gdb.base/gdb1090.exp
5814         * gdb.base/gdb1555.exp
5815         * gdb.base/global-var-nested-by-dso.exp
5816         * gdb.base/gnu-ifunc.exp
5817         * gdb.base/hbreak-in-shr-unsupported.exp
5818         * gdb.base/hbreak-unmapped.exp
5819         * gdb.base/hook-stop.exp
5820         * gdb.base/infcall-input.exp
5821         * gdb.base/info-fun.exp
5822         * gdb.base/info-shared.exp
5823         * gdb.base/interrupt-noterm.exp
5824         * gdb.base/jit-so.exp
5825         * gdb.base/jit.exp
5826         * gdb.base/line-symtabs.exp
5827         * gdb.base/list.exp
5828         * gdb.base/longjmp.exp
5829         * gdb.base/macscp.exp
5830         * gdb.base/max-value-size.exp
5831         * gdb.base/nodebug.exp
5832         * gdb.base/nofield.exp
5833         * gdb.base/overlays.exp
5834         * gdb.base/paginate-after-ctrl-c-running.exp
5835         * gdb.base/paginate-bg-execution.exp
5836         * gdb.base/paginate-inferior-exit.exp
5837         * gdb.base/pending.exp
5838         * gdb.base/pr11022.exp
5839         * gdb.base/printcmds.exp
5840         * gdb.base/ptr-typedef.exp
5841         * gdb.base/ptype.exp
5842         * gdb.base/randomize.exp
5843         * gdb.base/range-stepping.exp
5844         * gdb.base/realname-expand.exp
5845         * gdb.base/relativedebug.exp
5846         * gdb.base/remote.exp
5847         * gdb.base/savedregs.exp
5848         * gdb.base/sepdebug.exp
5849         * gdb.base/set-noassign.exp
5850         * gdb.base/shlib-call.exp
5851         * gdb.base/shreloc.exp
5852         * gdb.base/sigaltstack.exp
5853         * gdb.base/sigbpt.exp
5854         * gdb.base/siginfo-addr.exp
5855         * gdb.base/siginfo-obj.exp
5856         * gdb.base/siginfo-thread.exp
5857         * gdb.base/signest.exp
5858         * gdb.base/signull.exp
5859         * gdb.base/sigrepeat.exp
5860         * gdb.base/skip.exp
5861         * gdb.base/so-impl-ld.exp
5862         * gdb.base/solib-corrupted.exp
5863         * gdb.base/solib-disc.exp
5864         * gdb.base/solib-display.exp
5865         * gdb.base/solib-overlap.exp
5866         * gdb.base/solib-search.exp
5867         * gdb.base/solib-symbol.exp
5868         * gdb.base/source-execution.exp
5869         * gdb.base/sss-bp-on-user-bp-2.exp
5870         * gdb.base/sss-bp-on-user-bp.exp
5871         * gdb.base/stack-checking.exp
5872         * gdb.base/stale-infcall.exp
5873         * gdb.base/step-break.exp
5874         * gdb.base/step-line.exp
5875         * gdb.base/step-over-exit.exp
5876         * gdb.base/step-test.exp
5877         * gdb.base/structs.exp
5878         * gdb.base/sym-file.exp
5879         * gdb.base/symtab-search-order.exp
5880         * gdb.base/term.exp
5881         * gdb.base/type-opaque.exp
5882         * gdb.base/unload.exp
5883         * gdb.base/until-nodebug.exp
5884         * gdb.base/until.exp
5885         * gdb.base/unwindonsignal.exp
5886         * gdb.base/watch-cond.exp
5887         * gdb.base/watch-non-mem.exp
5888         * gdb.base/watch_thread_num.exp
5889         * gdb.base/watchpoint-reuse-slot.exp
5890         * gdb.base/watchpoint-solib.exp
5891         * gdb.base/watchpoint.exp
5892         * gdb.btrace/dlopen.exp
5893         * gdb.cell/arch.exp
5894         * gdb.cell/break.exp
5895         * gdb.cell/bt.exp
5896         * gdb.cell/core.exp
5897         * gdb.cell/data.exp
5898         * gdb.cell/dwarfaddr.exp
5899         * gdb.cell/ea-cache.exp
5900         * gdb.cell/ea-standalone.exp
5901         * gdb.cell/ea-test.exp
5902         * gdb.cell/f-regs.exp
5903         * gdb.cell/fork.exp
5904         * gdb.cell/gcore.exp
5905         * gdb.cell/mem-access.exp
5906         * gdb.cell/ptype.exp
5907         * gdb.cell/registers.exp
5908         * gdb.cell/sizeof.exp
5909         * gdb.cell/solib-symbol.exp
5910         * gdb.cell/solib.exp
5911         * gdb.compile/compile-tls.exp
5912         * gdb.cp/exception.exp
5913         * gdb.cp/gdb2495.exp
5914         * gdb.cp/local.exp
5915         * gdb.cp/mb-inline.exp
5916         * gdb.cp/mb-templates.exp
5917         * gdb.cp/pr10687.exp
5918         * gdb.cp/pr9167.exp
5919         * gdb.cp/scope-err.exp
5920         * gdb.cp/templates.exp
5921         * gdb.cp/virtfunc.exp
5922         * gdb.dwarf2/dw2-dir-file-name.exp
5923         * gdb.dwarf2/dw2-single-line-discriminators.exp
5924         * gdb.fortran/complex.exp
5925         * gdb.fortran/library-module.exp
5926         * gdb.guile/guile.exp
5927         * gdb.guile/scm-cmd.exp
5928         * gdb.guile/scm-frame-inline.exp
5929         * gdb.guile/scm-objfile.exp
5930         * gdb.guile/scm-pretty-print.exp
5931         * gdb.guile/scm-symbol.exp
5932         * gdb.guile/scm-type.exp
5933         * gdb.guile/scm-value.exp
5934         * gdb.linespec/keywords.exp
5935         * gdb.linespec/ls-errs.exp
5936         * gdb.linespec/macro-relative.exp
5937         * gdb.linespec/thread.exp
5938         * gdb.mi/mi-breakpoint-changed.exp
5939         * gdb.mi/mi-dprintf-pending.exp
5940         * gdb.mi/mi-fullname-deleted.exp
5941         * gdb.mi/mi-logging.exp
5942         * gdb.mi/mi-pending.exp
5943         * gdb.mi/mi-solib.exp
5944         * gdb.mi/new-ui-mi-sync.exp
5945         * gdb.mi/user-selected-context-sync.exp
5946         * gdb.multi/dummy-frame-restore.exp
5947         * gdb.multi/multi-arch-exec.exp
5948         * gdb.multi/remove-inferiors.exp
5949         * gdb.multi/watchpoint-multi-exit.exp
5950         * gdb.opt/solib-intra-step.exp
5951         * gdb.perf/backtrace.exp
5952         * gdb.perf/single-step.exp
5953         * gdb.perf/skip-command.exp
5954         * gdb.perf/skip-prologue.exp
5955         * gdb.perf/solib.exp
5956         * gdb.python/lib-types.exp
5957         * gdb.python/py-as-string.exp
5958         * gdb.python/py-bad-printers.exp
5959         * gdb.python/py-block.exp
5960         * gdb.python/py-breakpoint.exp
5961         * gdb.python/py-cmd.exp
5962         * gdb.python/py-events.exp
5963         * gdb.python/py-evthreads.exp
5964         * gdb.python/py-finish-breakpoint.exp
5965         * gdb.python/py-finish-breakpoint2.exp
5966         * gdb.python/py-frame-inline.exp
5967         * gdb.python/py-frame.exp
5968         * gdb.python/py-inferior.exp
5969         * gdb.python/py-infthread.exp
5970         * gdb.python/py-mi.exp
5971         * gdb.python/py-objfile.exp
5972         * gdb.python/py-pp-maint.exp
5973         * gdb.python/py-pp-registration.exp
5974         * gdb.python/py-prettyprint.exp
5975         * gdb.python/py-recurse-unwind.exp
5976         * gdb.python/py-shared.exp
5977         * gdb.python/py-symbol.exp
5978         * gdb.python/py-symtab.exp
5979         * gdb.python/py-template.exp
5980         * gdb.python/py-type.exp
5981         * gdb.python/py-unwind-maint.exp
5982         * gdb.python/py-unwind.exp
5983         * gdb.python/py-value.exp
5984         * gdb.python/python.exp
5985         * gdb.reverse/finish-reverse-bkpt.exp
5986         * gdb.reverse/insn-reverse.exp
5987         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5988         * gdb.reverse/solib-precsave.exp
5989         * gdb.reverse/solib-reverse.exp
5990         * gdb.stabs/gdb11479.exp
5991         * gdb.stabs/weird.exp
5992         * gdb.threads/fork-child-threads.exp
5993         * gdb.threads/fork-plus-threads.exp
5994         * gdb.threads/fork-thread-pending.exp
5995         * gdb.threads/forking-threads-plus-breakpoint.exp
5996         * gdb.threads/hand-call-in-threads.exp
5997         * gdb.threads/interrupted-hand-call.exp
5998         * gdb.threads/linux-dp.exp
5999         * gdb.threads/local-watch-wrong-thread.exp
6000         * gdb.threads/next-while-other-thread-longjmps.exp
6001         * gdb.threads/non-ldr-exit.exp
6002         * gdb.threads/pending-step.exp
6003         * gdb.threads/print-threads.exp
6004         * gdb.threads/process-dies-while-detaching.exp
6005         * gdb.threads/process-dies-while-handling-bp.exp
6006         * gdb.threads/pthreads.exp
6007         * gdb.threads/queue-signal.exp
6008         * gdb.threads/reconnect-signal.exp
6009         * gdb.threads/signal-command-handle-nopass.exp
6010         * gdb.threads/signal-command-multiple-signals-pending.exp
6011         * gdb.threads/signal-delivered-right-thread.exp
6012         * gdb.threads/signal-sigtrap.exp
6013         * gdb.threads/sigthread.exp
6014         * gdb.threads/staticthreads.exp
6015         * gdb.threads/stepi-random-signal.exp
6016         * gdb.threads/thread-unwindonsignal.exp
6017         * gdb.threads/thread_check.exp
6018         * gdb.threads/thread_events.exp
6019         * gdb.threads/tid-reuse.exp
6020         * gdb.threads/tls-nodebug.exp
6021         * gdb.threads/tls-shared.exp
6022         * gdb.threads/tls-so_extern.exp
6023         * gdb.threads/tls.exp
6024         * gdb.threads/wp-replication.exp
6025         * gdb.trace/actions-changed.exp
6026         * gdb.trace/actions.exp
6027         * gdb.trace/backtrace.exp
6028         * gdb.trace/change-loc.exp
6029         * gdb.trace/collection.exp
6030         * gdb.trace/deltrace.exp
6031         * gdb.trace/disconnected-tracing.exp
6032         * gdb.trace/entry-values.exp
6033         * gdb.trace/ftrace-lock.exp
6034         * gdb.trace/ftrace.exp
6035         * gdb.trace/infotrace.exp
6036         * gdb.trace/mi-trace-frame-collected.exp
6037         * gdb.trace/mi-trace-unavailable.exp
6038         * gdb.trace/mi-traceframe-changed.exp
6039         * gdb.trace/mi-tracepoint-changed.exp
6040         * gdb.trace/mi-tsv-changed.exp
6041         * gdb.trace/no-attach-trace.exp
6042         * gdb.trace/packetlen.exp
6043         * gdb.trace/passc-dyn.exp
6044         * gdb.trace/passcount.exp
6045         * gdb.trace/pending.exp
6046         * gdb.trace/pr16508.exp
6047         * gdb.trace/qtro.exp
6048         * gdb.trace/range-stepping.exp
6049         * gdb.trace/read-memory.exp
6050         * gdb.trace/report.exp
6051         * gdb.trace/save-trace.exp
6052         * gdb.trace/signal.exp
6053         * gdb.trace/stap-trace.exp
6054         * gdb.trace/status-stop.exp
6055         * gdb.trace/strace.exp
6056         * gdb.trace/tfile.exp
6057         * gdb.trace/tfind.exp
6058         * gdb.trace/trace-break.exp
6059         * gdb.trace/trace-condition.exp
6060         * gdb.trace/trace-enable-disable.exp
6061         * gdb.trace/trace-mt.exp
6062         * gdb.trace/tracecmd.exp
6063         * gdb.trace/tracefile-pseudo-reg.exp
6064         * gdb.trace/tspeed.exp
6065         * gdb.trace/tstatus.exp
6066         * gdb.trace/tsv.exp
6067         * gdb.trace/unavailable.exp
6068         * gdb.trace/while-dyn.exp
6069         * gdb.trace/while-stepping.exp
6070         * lib/gdb-guile.exp
6071         * lib/gdb.exp
6072         * lib/mi-support.exp
6073         * lib/pascal.exp
6074         * lib/perftest.exp
6075         * lib/prelink-support.exp
6076         * lib/selftest-support.exp
6077
6078 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6079
6080         * Makefile.in: Include disable-implicit-rules.mk.
6081
6082 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6083
6084         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6085         non-byte-aligned bit fields.
6086
6087 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6088
6089         PR gdb/12616
6090         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6091         respects the DW_AT_data_bit_offset attribute.
6092
6093 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6094
6095         * gdb.base/default.exp: Fix output of "set language".
6096
6097 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6098
6099         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6100         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6101         make.
6102         * configure.ac: Remove checks for the make program.
6103         * configure: Re-generate.
6104
6105 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6106
6107         * gdb.python/py-recurse-unwind.c (main): Add loop.
6108         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6109         to read_register() and gdb.parse_and_eval().  Make each code
6110         call a separate case that can be individually tested.
6111         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6112         proc. Call cont_and_backtrace for each of the code paths that
6113         we want to test in the unwinder.
6114
6115 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6116
6117         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6118         the definition of struct S.
6119
6120 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6121
6122         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6123
6124 2016-11-09  Pedro Alves  <palves@redhat.com>
6125
6126         * gdb.base/commands.exp (runto_or_return): New procedure.
6127         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6128         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6129         (progvar_simple_while_test, progvar_complex_if_while_test)
6130         (if_while_breakpoint_command_test)
6131         (infrun_breakpoint_command_test, breakpoint_command_test)
6132         (user_defined_command_test, watchpoint_command_test)
6133         (test_command_prompt_position, redefine_hook_test)
6134         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6135         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6136         multi_line_input and multi_line.  Remove gdb_expect and
6137         gdb_stop_suppressing_tests uses.
6138         * lib/gdb.exp (valnum_re): New global.
6139         (multi_line_input): New procedure.
6140
6141 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6142
6143         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6144         Remove.
6145         (test_setup): Define with proc_with_prefix.
6146         (test_cli_inferior): Likewise.
6147         (test_cli_thread): Likewise.
6148         (test_cli_frame): Likewise.
6149         (test_cli_select_frame): Likewise.
6150         (test_cli_up_down): Likewise.
6151         (test_mi_thread_select): Likewise.
6152         (test_mi_stack_select_frame): Likewise.
6153         (test_cli_in_mi_inferior): Likewise.
6154         (test_cli_in_mi_thread): Likewise.
6155         (test_cli_in_mi_frame): Likewise.
6156         (top level): Do not use with_test_prefix_procname.
6157
6158 2016-11-09  Pedro Alves  <palves@redhat.com>
6159
6160         * gdb.base/commands.exp (gdbvar_simple_if_test)
6161         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6162         (progvar_simple_if_test, progvar_simple_while_test)
6163         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6164         (infrun_breakpoint_command_test, breakpoint_command_test)
6165         (user_defined_command_test, watchpoint_command_test)
6166         (test_command_prompt_position, deprecated_command_test)
6167         (bp_deleted_in_command, temporary_breakpoint_commands)
6168         (stray_arg0_test, source_file_with_indented_comment)
6169         (recursive_source_test, if_commands_test)
6170         (error_clears_commands_left, redefine_hook_test)
6171         (redefine_backtrace_test): Use proc_with_prefix.
6172         * lib/gdb.exp (proc_with_prefix): New proc.
6173
6174 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6175
6176         * gdb.base/tui-layout.c: New file.
6177         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6178         disassembly window contains very long lines.
6179
6180 2016-11-08  Tom Tromey  <tom@tromey.com>
6181
6182         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6183         depend on Python 2.
6184
6185 2016-11-08  Tom Tromey  <tom@tromey.com>
6186
6187         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6188         New method.
6189
6190 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6191
6192         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6193
6194 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6195
6196         * gdb.rust/simple.rs: Add test for univariant enums without
6197         discriminants and for encoded struct-like enums.
6198
6199 2016-10-28  Pedro Alves  <palves@redhat.com>
6200
6201         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6202         gdb_test_multiple, tighten regexps and match symtabs and line
6203         tables incrementally.
6204
6205 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6206
6207         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6208         general.
6209
6210 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6211
6212         * gdb.base/exec-invalid-sysroot.exp: New file.
6213
6214 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6215
6216         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6217
6218 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6219
6220         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6221
6222 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6223
6224         * gdb.base/killed-outside.exp: Remove $options from a call to
6225         `prepare_for_testing'.
6226
6227 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6228
6229         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6230         Change test message.
6231
6232 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6233
6234         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6235         Update comment.
6236
6237 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6238
6239         * gdb.trace/mi-trace-save.exp: New file.
6240
6241 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6242
6243         * gdb.base/code_elim.exp (get_var_address): Remove.
6244         * gdb.base/relocate.exp: Likewise.
6245         * gdb.base/shreloc.exp: Likewise.
6246         * lib/gdb.exp (get_var_address): New.
6247
6248 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6249
6250         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6251         floating point tests if $skip_float_test is false.
6252
6253 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6254
6255         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6256         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6257         argc values.
6258         Add 1 to argc so we guarantee distinct initial/modified argc values.
6259
6260 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6261
6262         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6263
6264 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6265
6266         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6267         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6268         * gdb.arch/vsx-regs.exp: Likewise.
6269
6270 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6271
6272         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6273
6274 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6275
6276         * gdb.python/python.exp: Test decode_line("*0").
6277
6278 2016-10-06  Doug Evans  <dje@google.com>
6279
6280         * gdb.python/py-value.exp (test_value_creation): Add test for large
6281         unsigned 64-bit value.
6282
6283 2016-10-06  Tom Tromey  <tom@tromey.com>
6284
6285         * gdb.compile/compile.exp: Change java tests to rust.
6286         * gdb.base/setshow.exp: Change java tests to rust.
6287         * gdb.base/default.exp: Remove java from language list.
6288         * README (Examples): Update language example.
6289         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6290         test.
6291         * lib/gdb.exp (skip_java_tests): Remove.
6292         * lib/java.exp: Remove.
6293         * gdb.java: Remove.
6294
6295 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6296
6297         * gdb.arch/mips-fcr.exp: New test.
6298         * gdb.arch/mips-fcr.c: Source for the new test.
6299
6300 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6301
6302         * gdb.base/solib-disc.exp: Use `standard_output_file'
6303         throughout.
6304
6305 2016-10-06  Pedro Alves  <palves@redhat.com>
6306
6307         * gdb.base/jit-simple-dl.c: New file.
6308         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6309         * gdb.base/jit-simple.c: ... this.
6310         * gdb.base/jit-simple.exp (jit_run): Delete.
6311         (build_jit): New proc.
6312         (jit_test_reread): Recompile either the main program or the shared
6313         library, depending on what is being tested.  Skip changing address
6314         if caller wants to.  Compare before/after addresses.  If testing
6315         standalone, explicitly load the binary.  Test "maint info
6316         breakpoints".
6317         (top level): Add "standalone vs shared lib" and "change address"
6318         vs "same address" axes.
6319
6320 2016-10-06  Pedro Alves  <palves@redhat.com>
6321
6322         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6323         call.
6324         (jit_run): Delete.
6325         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6326         explicitly.  Compare the before/after addresses of the JIT
6327         descriptor.
6328
6329 2016-08-15  Doug Evans  <dje@google.com>
6330
6331         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6332         for single bitfields is bool.
6333         * gdb.xml/tdesc-regs.exp: Ditto.
6334
6335 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6336
6337         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6338
6339 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6340
6341         * lib/gdb.exp (support_complex_tests): Return zero if
6342         gdb_skip_float_test return true.
6343
6344 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6345             Simon Marchi  <simon.marchi@ericsson.com>
6346
6347         PR gdb/20487
6348         * gdb.mi/user-selected-context-sync.exp: New file.
6349         * gdb.mi/user-selected-context-sync.c: New file.
6350
6351 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6352             Simon Marchi  <simon.marchi@ericsson.com>
6353
6354         PR gdb/20487
6355         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6356         =thread-select-event check.
6357
6358 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6359
6360         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6361         the compulsory L operand changes.
6362         * gdb.arch/powerpc-power.s: Likewise.
6363
6364 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6365
6366         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6367         * gdb.base/jit-attach-pie.c: New file.
6368         * gdb.base/jit-attach-pie.exp: New file.
6369
6370 2016-09-28  Pedro Alves  <palves@redhat.com>
6371
6372         * gdb.base/infcall-input.c: New file.
6373         * gdb.base/infcall-input.exp: New file.
6374
6375 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6376
6377         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6378         (gdb_exit): Rename it to ...
6379         (gdbserver_gdb_exit): ...  Close GDBserver.
6380         (gdb_exit): New proc, call gdbserver_gdb_exit.
6381         (mi_gdb_exit): Likewise.
6382
6383 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6384
6385         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6386         path.
6387         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6388         Remove duplication.
6389
6390 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6391
6392         * lib/gdbserver-support.exp: Check the existence of
6393         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6394
6395 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6396
6397         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6398
6399 2016-09-21  Tom Tromey  <tom@tromey.com>
6400
6401         PR gdb/20604:
6402         * gdb.base/quit.exp: New file.
6403
6404 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6405
6406         * .gitignore: New file.
6407
6408 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6409
6410         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6411         throughout.
6412
6413 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6414
6415         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6416
6417 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6418
6419         * gdb.cp/casts.cc (decltype): Move it ...
6420         (main): ... with its call to ...
6421         * gdb.cp/casts03.cc: ... a new file.
6422         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6423
6424 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6425
6426         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6427
6428 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6429
6430         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6431         and sync up the test with tests in gas/testsuite/gas/ppc.
6432         * gdb.arch/powerpc-power.exp: Likewise.
6433
6434 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6435
6436         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6437
6438 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6439             Jan Kratochvil  <jan.kratochvil@redhat.com>
6440
6441         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6442         make m1's definition to be different from m2's.  Use 'dummy' as an
6443         argument for probe 'two'.
6444
6445 2016-09-10  Jon Beniston  <jon@beniston.com>
6446
6447         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6448         for sim target.
6449
6450 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6451
6452         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6453         variable declaration.
6454         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6455         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6456         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6457         received HWCAP as its argument.
6458
6459 2016-09-06  Pedro Alves  <palves@redhat.com>
6460
6461         * gdb.base/new-ui-pending-input.c: New file.
6462         * gdb.base/new-ui-pending-input.exp: New file.
6463         * gdb.exp (clear_gdb_spawn_id): New procedure.
6464         (with_spawn_id): Check whether gdb_spawn_id exists before
6465         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6466         on exit.
6467
6468 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6469
6470         * gdb.base/float128.c: New file.
6471         * gdb.base/float128.exp: Likewise.
6472         * gdb.base/floatn.c: Likewise.
6473         * gdb.base/floatn.exp: Likewise.
6474
6475 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6476
6477         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6478
6479 2016-09-05  Pedro Alves  <palves@redhat.com>
6480
6481         PR backtrace/19927
6482         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6483         unwinders are immediately called as side effect of "source" or
6484         "disable unwinder" commands.
6485         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6486
6487 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6488
6489         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6490         is true and $type is "float" or "double".
6491
6492 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6493
6494         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6495         true.
6496         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6497         * gdb.base/call-rt-st.exp: Likewise.
6498         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6499         return value instead of gdb,skip_float_test.
6500         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6501         (do_function_calls): Use its return value instead of
6502         gdb,skip_float_test.
6503         * gdb.base/finish.exp: Likewise.
6504         * gdb.base/funcargs.exp: Likewise.
6505         * gdb.base/return.exp: Likewise.
6506         * gdb.base/return2.exp: Likewise.
6507         * gdb.base/varargs.exp: Likewise.
6508         * lib/gdb.exp (gdb_skip_float_test): Change it to
6509         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6510
6511 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6512
6513         * gdb.multi/tids.exp: Test "thread apply all".
6514
6515 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6516
6517         * gdb.base/default.exp (tty): Remove.
6518
6519 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6520
6521         * gdb.python/py-recurse-unwind.c: New file.
6522         * gdb.python/py-recurse-unwind.py: New file.
6523         * gdb.python/py-recurse-unwind.exp: New file.
6524
6525 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6526
6527         * gdb.base/set-inferior-tty.exp: New file.
6528         * gdb.base/set-inferior-tty.c: New file.
6529
6530 2016-08-23  Pedro Alves  <palves@redhat.com>
6531
6532         PR gdb/20494
6533         * gdb.base/new-ui-echo.c: New file.
6534         * gdb.base/new-ui-echo.exp: New file.
6535
6536 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6537
6538         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6539         gdbserver_spawn.
6540         * gdb.server/connect-without-multi-process.exp (do_test):
6541         Likewise.
6542
6543 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6544
6545         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6546         standalone_txt.  Delete gdb_txt and standalone_txt on host
6547         and target.  Spawn the binary on target.  Copy files from
6548         target to host.
6549
6550 2016-08-22  Pedro Alves  <palves@redhat.com>
6551
6552         PR gdb/20505
6553         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6554         with_test_prefix.  Factor out bits to ...
6555         (test_no_vdso): ... this new procedure.
6556
6557 2016-08-19  Carl Love  <cel@us.ibm.com>
6558
6559         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6560         maintaining separate logic for constructing the output path.
6561         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6562         * gdb.arch/ppc-dfp.exp: Likewise.
6563         * gdb.arch/ppc-fp.exp: Likewise.
6564         * gdb.arch/vsx-regs.exp: Likewise.
6565         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6566         binprefix for generating the additional binary files.
6567
6568 2016-08-19  Pedro Alves  <palves@redhat.com>
6569
6570         * gdb.trace/mi-trace-frame-collected.exp
6571         (test_trace_frame_collected): On x32, expect two registers.
6572
6573 2016-08-18  Carl Love  <cel@us.ibm.com>
6574
6575         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6576         and sync up the test with tests in gas/testsuite/gas/ppc.
6577         * gdb.arch/powerpc-power.exp: Likewise.
6578
6579 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6580
6581         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6582         expected error message.
6583
6584 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6585
6586         * gdb.multi/remove-inferiors.exp: New file.
6587         * gdb.multi/remove-inferiors.c: New file.
6588
6589 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6590
6591         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6592         argument list.
6593
6594 2016-08-10  Pedro Alves  <palves@redhat.com>
6595
6596         PR gdb/19187
6597         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6598         setup_kfails.
6599
6600 2016-08-09  Pedro Alves  <palves@redhat.com>
6601             Simon Marchi  <simon.marchi@ericsson.com>
6602
6603         PR gdb/20418
6604         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6605         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6606
6607 2016-08-09  Pedro Alves  <palves@redhat.com>
6608
6609         PR mi/20431
6610         * gdb.mi/mi-cmd-error.exp: New file.
6611
6612 2016-08-09  Pedro Alves  <palves@redhat.com>
6613
6614         PR gdb/18653
6615         * gdb.base/signals-state-child.c: New file.
6616         * gdb.base/signals-state-child.exp: New file.
6617         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6618
6619 2016-08-09  Pedro Alves  <palves@redhat.com>
6620
6621         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6622
6623 2016-08-03  Tom Tromey  <tom@tromey.com>
6624
6625         PR python/18565:
6626         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6627
6628 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6629
6630         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6631         variable mode to "multi-process" if $multi_process is 1, otherwise
6632         set it to "single-process".
6633
6634 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6635
6636         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6637         * gdb.cp/cpexprs.exp: Likewise.
6638         * gdb.cp/m-static.exp: Likewise.
6639
6640 2016-07-26  Tom Tromey  <tom@tromey.com>
6641
6642         PR python/20190:
6643         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6644         test.
6645
6646 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6647
6648         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6649         selecting assembly source files.
6650         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6651         assembly source files.
6652         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6653         assembly source files.
6654         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6655         selecting assembly source files.
6656
6657 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6658
6659         * gdb.base/new-ui.exp (do_test_invalid_args): New
6660         procedure.
6661
6662 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6663
6664         * gdb.btrace/reconnect.c: New file.
6665         * gdb.btrace/reconnect.exp: New file.
6666
6667 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6668
6669         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6670         to test_catch_syscall_group.
6671         (test_catch_syscall_group): New.
6672
6673 2016-07-21  Tom Tromey  <tom@tromey.com>
6674
6675         * gdb.rust/simple.rs (main): Use empty struct expression.
6676         * gdb.rust/simple.exp: Add tests for empty struct expression.
6677
6678 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6679
6680         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6681         if gdb_skip_xml_test is true on some targets.
6682
6683 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6684
6685         * gdb.server/solib-list.exp: Unset last_loaded_file.
6686
6687 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6688
6689         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6690         "step into captured_main (args)".
6691
6692 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6693
6694         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6695
6696 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6697
6698         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6699
6700 2016-07-19  Pedro Alves  <palves@redhat.com>
6701
6702         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6703         * gdb.opt/inline-bt.exp: Likewise.
6704         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6705         additional_flags=-Winline.
6706         * gdb.opt/inline-locals.exp: Likewise.
6707         * gdb.opt/inline-markers.c (ATTR): Define.
6708         (inlined_fn): Use it.
6709
6710 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6711
6712         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6713         (test_with_self): Remove some code.  Remove argument executable.
6714         (top-level): Use do_self_tests.
6715
6716 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6717             Don Breazeal <donb@codesourcery.com>
6718
6719         * gdb.base/maint.exp: Escape paths used in regular expressions.
6720         * gdb.stabs/weird.exp: Likewise.
6721
6722 2016-07-13  Tom Tromey  <tom@tromey.com>
6723
6724         PR python/15620, PR python/18620:
6725         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6726         (test_bkpt_events): New procs.
6727
6728 2016-07-13  Tom Tromey  <tom@tromey.com>
6729
6730         PR python/17698:
6731         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6732         test.
6733         (test_watchpoints): Likewise.
6734         (test_bkpt_pending): New proc.
6735
6736 2016-07-13  Tom Tromey  <tom@tromey.com>
6737
6738         PR cli/18053:
6739         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6740         completion test.
6741
6742 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6743
6744         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6745         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6746         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6747         f_label.
6748         (g): Rename g_end_lbl to g_label.
6749         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6750         low_pc and high_pc.
6751         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6752
6753 2016-07-12  Tom Tromey  <tom@tromey.com>
6754
6755         PR python/19293:
6756         * gdb.python/py-unwind-maint.exp: Update tests.
6757
6758 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6759
6760         * lib/selftest-support.exp (selftest_setup): Match the output
6761         when captured_main is inlined.
6762
6763 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6764
6765         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6766         New variables.
6767         (print this%a, print this%b, print this): New tests.
6768         * gdb.fortran/derived-types.f90 (this): New object and
6769         initialization.
6770
6771 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6772
6773         * gdb.ada/arraydim.exp: Remove extra directory level in build
6774         directory.
6775
6776 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6777
6778         * lib/ada.exp: Remove extra directory level in build directory.
6779         * gdb.ada/cond_lang.exp: Likewise.
6780         * gdb.ada/exec_changed.exp: Likewise.
6781         * gdb.ada/lang_switch.exp: Likewise.
6782
6783 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6784
6785         * simple.rs: Add test for raw pointer subscripting.
6786         * simple.exp: Add test expectations.
6787
6788 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6789
6790         * gdb.mi/mi-reverse.exp: Match =record-started output.
6791
6792 2016-07-01  Pedro Alves  <palves@redhat.com>
6793
6794         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6795         procedure.
6796         (jit_reader_test): Test the jit reader's unwinder.
6797         * gdb.base/jithost.c (jit_function_00_code): New global.
6798         (main): Use memcpy to fill in the mmapped code, instead of poking
6799         bytes manually here.
6800         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6801         value.
6802         (read_debug_info): Save the function's range.
6803         (read_sp): New function.
6804         (unwind_frame): Use it.  Also unwind RBP.
6805         (get_frame_id): Use read_sp.
6806         (gdb_init_reader): Use calloc instead of malloc.
6807         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6808         parameter.  Use gdb_test_multiple.
6809
6810 2016-07-01  Pedro Alves  <palves@redhat.com>
6811             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6812
6813         * gdb.threads/process-dies-while-detaching.c: New file.
6814         * gdb.threads/process-dies-while-detaching.exp: New file.
6815
6816 2016-07-01  Pedro Alves  <palves@redhat.com>
6817
6818         * gdb.multi/watchpoint-multi-exit.c: New file.
6819         * gdb.multi/watchpoint-multi-exit.exp: New file.
6820
6821 2016-06-30  Pedro Alves  <palves@redhat.com>
6822
6823         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6824         unset inferior_spawn_id.
6825
6826 2016-06-30  Pedro Alves  <palves@redhat.com>
6827
6828         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6829         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6830
6831 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6832
6833         * gdb.base/return.c: Add copyright header.
6834
6835 2016-06-29  Tom Tromey  <tom@tromey.com>
6836
6837         PR python/20129:
6838         * gdb.python/py-framefilter.exp: Add tests for setting priority
6839         and disabling of non-existent frame filter.
6840
6841 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6842
6843         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6844         0x0f07ff.
6845
6846 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6847
6848         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6849         triplets.  Start gdb, execute catch syscall, and continue.  Check
6850         gdb's output to determine catch syscall is supported.
6851
6852 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6853
6854         * gdb.rust/simple.rs: Add test for returning unit in a function.
6855         * gdb.rust/simple.exp: Add expectation for functions returning
6856         unit.
6857
6858 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6859
6860         * gdb.python/py-breakpoint-create-fail.c,
6861         gdb.python/py-breakpoint-create-fail.exp,
6862         gdb.python/py-breakpoint-create-fail.py: New testcase.
6863
6864 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6865
6866         PR gdb/20239
6867         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6868         * gdb.rust/simple.exp: Add test expectations for new NonZero
6869         tests.
6870
6871 2016-06-24  David Taylor  <dtaylor@emc.com>
6872
6873         * gdb.base/offsets.exp: New file.
6874         * gdb.base/offsets.c: New file.
6875
6876 2016-06-23  Tom Tromey  <tom@tromey.com>
6877
6878         PR gdb/16483:
6879         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6880         before any filters are loaded.
6881
6882 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6883
6884         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6885         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6886         structs.
6887         * gdb.fortran/derived-type-function.exp: New file.
6888         * gdb.fortran/derived-type-function.f90: New file.
6889
6890
6891 2016-06-21  Pedro Alves  <palves@redhat.com>
6892
6893         * gdb.base/new-ui.exp: New file.
6894         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6895         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6896         (with_spawn_id): New procedure.
6897
6898 2016-06-21  Pedro Alves  <palves@redhat.com>
6899
6900         * gdb.mi/mi-exec-run.exp: New file.
6901
6902 2016-06-21  Pedro Alves  <palves@redhat.com>
6903
6904         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6905         breakpoint command's output on the main UI.
6906         (test_break): New procedure, factored out from calls in the top
6907         level.
6908         (top level): Use foreach_with_prefix to test MI as main UI and as
6909         separate UI.
6910
6911 2016-06-21  Pedro Alves  <palves@redhat.com>
6912
6913         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6914         (test_awatch_creation_and_listing)
6915         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6916         Remove 'type' parameter.
6917         (test_watchpoint_all): New parameter mi_mode.  Remove
6918         with_test_prefix.
6919         (top level): Use foreach_with_prefix, and add main/separate UI MI
6920         testing axis.
6921
6922 2016-06-21  Pedro Alves  <palves@redhat.com>
6923
6924         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6925         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6926         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6927         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6928         (gdb_main_spawn_id, mi_spawn_id): Declare and
6929         comment.
6930         (mi_create_inferior_pty): New procedure,
6931         factored out from default_mi_gdb_start.
6932         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6933         procedures.
6934         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6935         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6936         Use mi_create_inferior_pty.
6937         (mi_gdb_start): Use eval to pass down args list.
6938
6939 2016-06-21  Pedro Alves  <palves@redhat.com>
6940
6941         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6942         * gdb.opt/inline-cmds.exp: Add MI tests.
6943
6944 2016-06-21  Pedro Alves  <palves@redhat.com>
6945
6946         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6947
6948 2016-06-21  Pedro Alves  <palves@redhat.com>
6949
6950         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6951         (top level): Use it instead of mi_execute_to.
6952
6953 2016-06-21  Pedro Alves  <palves@redhat.com>
6954
6955         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6956         (cont_handler_str): New.
6957         (signal_stop_handler): Set stop_handler_str instead of printing to
6958         stdout.
6959         (continue_handler): Set cont_handler_str instead of printing to
6960         stdout.
6961         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6962         mi_send_resuming_command.  Print stop_handler_str and
6963         cont_handler_str instead of expecting the python events print
6964         directly.
6965
6966 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6967
6968         * gdb.base/jit-reader.exp: New file.
6969         * gdb.base/jithost.c: New file.
6970         * gdb.base/jithost.h: New file.
6971         * gdb.base/jitreader.c : New file.
6972         * gdb.base/jit-protocol.h: New file.
6973
6974 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6975
6976         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6977         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6978         and detach-on-fork.  Adjust tests.
6979         (top level): Invoke break_cond_on_syscall with combinations of
6980         syscall, follow-fork-mode and detach-on-fork.
6981
6982 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6983
6984         * gdb.base/step-over-exit.c: New.
6985         * gdb.base/step-over-exit.exp: New.
6986
6987 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6988
6989         * gdb.base/float.exp: Add target check for nds32*-*-*.
6990         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6991
6992 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6993
6994         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6995         for unsupported target features.
6996         * gdb.base/call-rt-st.exp: Likewise.
6997         * gdb.base/call-sc.exp: Likewise.
6998         * gdb.base/call-signal-resume.exp: Likewise.
6999         * gdb.base/call-strs.exp: Likewise.
7000         * gdb.base/callexit.exp: Likewise.
7001         * gdb.base/callfuncs.exp: Likewise.
7002         * gdb.base/nodebug.exp: Likewise.
7003         * gdb.base/printcmds.exp: Likewise.
7004         * gdb.base/ptype.exp: Likewise.
7005         * gdb.base/structs.exp: Likewise.
7006         * gdb.base/unwindonsignal.exp: Likewise.
7007         * gdb.cp/gdb2495.exp: Likewise.
7008         * gdb.cp/templates.exp: Likewise.
7009         * gdb.cp/virtfunc.exp: Likewise.
7010         * gdb.threads/hand-call-in-threads.exp: Likewise.
7011         * gdb.threads/interrupted-hand-call.exp: Likewise.
7012         * gdb.threads/thread-unwindonsignal.exp: Likewise.
7013
7014 2016-06-10  Tom Tromey  <tom@tromey.com>
7015
7016         PR rust/20110:
7017         * gdb.rust/expr.exp: Add test for integer constant larger than
7018         i32.
7019
7020 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
7021
7022         * gdb.fortran/nested-funcs.exp: New.
7023         * gdb.fortran/nested-funcs.f90: New.
7024
7025 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
7026
7027         * gdb.base/examine-backward.c: New file.
7028         * gdb.base/examine-backward.exp: New file.
7029
7030 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
7031
7032         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7033         matching.
7034
7035 2016-06-02  Tom Tromey  <tom@tromey.com>
7036
7037         PR python/18984:
7038         * gdb.python/py-shared.exp: Add solib_name test.
7039
7040 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
7041
7042         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7043
7044 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
7045
7046         PR c++/19893
7047         * gdb.dwarf2/implref.exp: Rename to...
7048         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
7049         * gdb.dwarf2/implref-array.c: New file.
7050         * gdb.dwarf2/implref-array.exp: Likewise.
7051         * gdb.dwarf2/implref-global.c: Likewise.
7052         * gdb.dwarf2/implref-global.exp: Likewise.
7053         * gdb.dwarf2/implref-struct.c: Likewise.
7054         * gdb.dwarf2/implref-struct.exp: Likewise.
7055
7056 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7057
7058         * gdb.trace/trace-condition.exp: Add 64bit tests.
7059
7060 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7061
7062         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7063         bits types.
7064         (main): Adapt to 8 to 64 bits types.
7065         * gdb.trace/trace-condition.exp: Add new tests.
7066
7067 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7068
7069         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7070
7071 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7072
7073         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7074         Move condition tests...
7075         * gdb.trace/trace-condition.exp: Here.
7076
7077 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7078
7079         * gdb.trace/trace-condition.exp: Add counter-case tests.
7080
7081 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7082
7083         PR c++/15231
7084         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7085         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7086
7087 2016-05-27  Pedro Alves  <palves@redhat.com>
7088
7089         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7090         New procedure.
7091         (top level): Call it, and bail out of DejaGnu is known to be bad.
7092
7093 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7094
7095         * gdb.base/whatis.c: Extend the test case.
7096         * gdb.base/whatis.exp: Add additional tests.
7097
7098 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7099
7100 * gdb.fortran/type.f90: Add pointer variable.
7101 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7102
7103 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7104
7105         * gdb.fortran/vla-type.exp: Fix testcase name.
7106
7107 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7108
7109         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7110
7111 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7112
7113         * gdb.fortran/type.f90: Add nested structures.
7114         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7115         * gdb.fortran/derived-type.exp: Adapt expected output.
7116         * gdb.fortran/vla-type.exp: Adapt expected output.
7117
7118 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7119
7120         * gdb.fortran/whatis_type.exp: Adapt expected output.
7121
7122 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7123
7124         * gdb.fortran/print_type.exp: Fix expected output.
7125         * gdb.fortran/whatis_type.exp: Fix expected output.
7126
7127 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7128
7129         * gdb.fortran/whatis_type.exp: Use multi_line.
7130
7131 2016-05-24  Tom Tromey  <tom@tromey.com>
7132
7133         PR python/17386:
7134         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7135         use value as an index.
7136
7137 2016-05-23  Tom Tromey  <tom@tromey.com>
7138
7139         PR python/17981:
7140         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7141         no-breakpoint case.
7142
7143 2016-05-24  Pedro Alves  <palves@redhat.com>
7144
7145         PR gdb/19828
7146         * gdb.threads/clone-attach-detach.c: New file.
7147         * gdb.threads/clone-attach-detach.exp: New file.
7148
7149 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7150
7151         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7152
7153 2016-05-23  Tom Tromey  <tom@tromey.com>
7154
7155         PR python/19438, PR python/18393:
7156         * gdb.python/py-progspace.exp: Add "dir" test.
7157         * gdb.python/py-objfile.exp: Add "dir" test.
7158
7159 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7160
7161         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7162         * gdb.arch/thumb2-it.exp: Likewise.
7163
7164 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7165
7166         * gdb.mi/mi-threads-interrupt.c: New file.
7167         * gdb.mi/mi-threads-interrupt.exp: New file.
7168
7169 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7170
7171         PR gdb/18077
7172         * gdb.mi/mi-async-run.exp: New file.
7173         * gdb.mi/mi-async-run.c: New file.
7174
7175 2016-05-17  Tom Tromey  <tom@tromey.com>
7176             Manish Goregaokar <manishsmail@gmail.com>
7177
7178         * lib/rust-support.exp: New file.
7179         * lib/gdb.exp (skip_rust_tests): New proc.
7180         (build_executable_from_specs): Handle rust.
7181         * lib/future.exp (gdb_find_rustc): New proc.
7182         (gdb_default_target_compile): Handle rust.
7183         * gdb.rust/expr.exp: New file.
7184         * gdb.rust/generics.exp: New file.
7185         * gdb.rust/generics.rs: New file.
7186         * gdb.rust/methods.exp: New file.
7187         * gdb.rust/methods.rs: New file.
7188         * gdb.rust/modules.exp: New file.
7189         * gdb.rust/modules.rs: New file.
7190         * gdb.rust/simple.exp: New file.
7191         * gdb.rust/simple.rs: New file.
7192
7193 2016-05-17  Tom Tromey  <tom@tromey.com>
7194
7195         * gdb.base/default.exp (set language): Add rust.
7196
7197 2016-05-17  Tom Tromey  <tom@tromey.com>
7198
7199         * gdb.gdb/unittest.exp: New file.
7200
7201 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7202
7203         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7204         shell_prompt.  Update shell_prompt_re.
7205
7206 2016-05-12  Doug Evans  <dje@google.com>
7207
7208         PR symtab/19999
7209         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7210         $options when building executable.
7211         * gdb.dwarf2/fission-loclists-pie.S: New file.
7212         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7213
7214 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7215
7216         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7217         of [is_remote target],
7218
7219 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7220
7221         * lib/gdb.exp (use_gdb_stub): New procedure.
7222
7223 2016-05-03  Yunlian Jiang <yunlian@google.com>
7224             Doug Evans  <dje@google.com>
7225
7226         PR symtab/19914
7227         * gdb.dwarf2/dwp-sepdebug.c: New file.
7228         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7229
7230 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7231
7232         * gdb.base/detach.exp: Remove is_remote check.
7233
7234 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7235
7236         * gdb.base/annota-input-while-running.exp: Don't check for
7237         [is_remote target].  Enable annotations after running to main.
7238         Remove unused "set test..." line.
7239
7240 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7241
7242         * gdb.trace/trace-enable-disable.exp: New file.
7243         * gdb.trace/trace-enable-disable.c: New file.
7244
7245 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7246
7247         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7248         use it in info sharedlibrary test.
7249         * gdb.trace/ftrace-lock.exp: Likewise.
7250         * gdb.trace/ftrace.exp: Likewise.
7251         * gdb.trace/range-stepping.exp: Likewise.
7252         * gdb.trace/trace-break.exp: Likewise.
7253         * gdb.trace/trace-condition.exp: Likewise.
7254         * gdb.trace/trace-mt.exp: Likewise.
7255
7256 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7257
7258         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7259         (gdb_load_shlib): ... this.
7260         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7261         gdb_load_shlib.
7262         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7263         * gdb.base/ctxobj.exp: Likewise.
7264         * gdb.base/dprintf-pending.exp: Likewise.
7265         * gdb.base/dso2dso.exp: Likewise.
7266         * gdb.base/fixsection.exp: Likewise.
7267         * gdb.base/gcore-relro.exp: Likewise.
7268         * gdb.base/gdb1555.exp: Likewise.
7269         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7270         * gdb.base/gnu-ifunc.exp: Likewise.
7271         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7272         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7273         * gdb.base/pending.exp: Likewise.
7274         * gdb.base/print-file-var.exp: Likewise.
7275         * gdb.base/print-symbol-loading.exp: Likewise.
7276         * gdb.base/shlib-call.exp: Likewise.
7277         * gdb.base/shreloc.exp: Likewise.
7278         * gdb.base/so-impl-ld.exp: Likewise.
7279         * gdb.base/solib-disc.exp: Likewise.
7280         * gdb.base/solib-nodir.exp: Likewise.
7281         * gdb.base/solib-overlap.exp: Likewise.
7282         * gdb.base/solib-symbol.exp: Likewise.
7283         * gdb.base/solib-weak.exp (do_test): Likewise.
7284         * gdb.base/sym-file.exp: Likewise.
7285         * gdb.base/symtab-search-order.exp: Likewise.
7286         * gdb.base/type-opaque.exp: Likewise.
7287         * gdb.base/unload.exp: Likewise.
7288         * gdb.base/watchpoint-solib.exp: Likewise.
7289         * gdb.compile/compile.exp: Likewise.
7290         * gdb.cp/gdb2384.exp: Likewise.
7291         * gdb.cp/infcall-dlopen.exp: Likewise.
7292         * gdb.cp/re-set-overloaded.exp: Likewise.
7293         * gdb.fortran/library-module.exp: Likewise.
7294         * gdb.opt/solib-intra-step.exp: Likewise.
7295         * gdb.python/py-finish-breakpoint.exp: Likewise.
7296         * gdb.python/py-shared.exp: Likewise.
7297         * gdb.reverse/solib-precsave.exp: Likewise.
7298         * gdb.reverse/solib-reverse.exp: Likewise.
7299         * gdb.server/solib-list.exp: Likewise.
7300         * gdb.threads/dlopen-libpthread.exp: Likewise.
7301         * gdb.threads/tls-shared.exp: Likewise.
7302         * gdb.threads/tls-so_extern.exp: Likewise.
7303         * gdb.trace/change-loc.exp: Likewise.
7304         * gdb.trace/ftrace-lock.exp: Likewise.
7305         * gdb.trace/ftrace.exp: Likewise.
7306         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7307         * gdb.trace/pending.exp: Likewise.
7308         * gdb.trace/range-stepping.exp: Likewise.
7309         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7310         (strace_info_marker): Likewise.
7311         (strace_probe_marker): Likewise.
7312         (strace_trace_on_same_addr): Likewise.
7313         (strace_trace_on_diff_addr): Likewise.
7314         * gdb.trace/trace-break.exp: Likewise.
7315         * gdb.trace/trace-condition.exp: Likewise.
7316         * gdb.trace/trace-mt.exp: Likewise.
7317
7318 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7319
7320         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7321         result of gdb_remote_download.
7322         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7323         * gdb.base/dso2dso.exp: Likewise.
7324         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7325         * gdb.base/print-file-var.exp: Likewise.
7326         * gdb.base/shlib-call.exp: Likewise.
7327         * gdb.base/shreloc.exp: Likewise.
7328         * gdb.base/solib-overlap.exp: Likewise.
7329         * gdb.base/solib-weak.exp (do_test): Likewise.
7330         * gdb.base/unload.exp: Likewise.
7331
7332 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7333
7334         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7335         exists.
7336
7337 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7338
7339         * vla-type.exp: Print structure from toplevel.
7340
7341 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7342
7343         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7344         of dynamic types.
7345         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7346         of dynamic types.
7347
7348 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7349
7350         * gdb.fortran/vla-type.f90: New file.
7351         * gdb.fortran/vla-type.exp: New file.
7352
7353 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7354
7355         * gdb.base/branch-to-self.c: New file.
7356         * gdb.base/branch-to-self.exp: New file.
7357
7358 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7359
7360         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7361         more after $hex.
7362
7363 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7364
7365         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7366         * gdb.base/annota3.exp: Likewise.
7367
7368 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7369
7370         * gdb.reverse/step-precsave.exp: Do one step and test program
7371         stops in "callee" and do multiple steps until program goes out
7372         of "callee".
7373         * gdb.reverse/step-reverse.exp: Likewise.
7374
7375 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7376
7377         * gdb.trace/signal.exp: Also pass if
7378         $tracepoint_hits($i) > $iterations.
7379
7380 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7381
7382         * gdb.trace/signal.c: New file.
7383         * gdb.trace/signal.exp: New file.
7384
7385 2016-04-19  Doug Evans  <xdje42@gmail.com>
7386
7387         * gdb.base/bad-file.exp: New file.
7388
7389 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7390
7391         * gdb.dwarf2/implref.exp: New file.
7392
7393 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7394
7395         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7396         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7397         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7398         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7399         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7400         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7401         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7402         * lib/fortran.exp (fortran_int4): New procedure.
7403         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7404         (fortran_logical4): Likewise.
7405
7406 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7407
7408         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7409
7410 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7411
7412         * lib/compiler.c: Add Intel specific preprocessor macros.
7413         * lib/compiler.cc: Likewise.
7414
7415 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7416
7417         * gdb.server/connect-with-no-symbol-file.c: New file.
7418         * gdb.server/connect-with-no-symbol-file.exp: New file.
7419
7420 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7421
7422         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7423
7424 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7425
7426         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7427         standard output directory.
7428
7429 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7430
7431         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7432
7433 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7434
7435         * gdb.btrace/instruction_history.c (loop): Add declaration.
7436
7437 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7438
7439         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7440
7441 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7442
7443         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7444         parentheses to print.
7445         (continue_handler): Likewise.
7446
7447 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7448
7449         * gdb.server/solib-list.exp: Remove is_remote check.
7450         Pass shlib= to gdb_compile.  Don't link shared library with
7451         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7452         Run binary filename through "readlink -f" on the target.
7453
7454 2016-04-08  Pedro Alves  <palves@redhat.com>
7455
7456         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7457         interpreter filename as argument to gdbserver_spawn.
7458         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7459         Return empty if $last_loaded_file does not exist.
7460
7461 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7462
7463         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7464         * gdb.base/jit-main.c: Use exit after usage.
7465
7466 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7467
7468         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7469         GDBHISTSIZE prior to the tests.
7470         * gdb.base/gdbinit-history.exp: Likewise.
7471
7472 2016-04-07  Pedro Alves  <palves@redhat.com>
7473
7474         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7475         instead of build_executable.  Use gdb_load_shlibs.
7476
7477 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7478
7479         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7480         Execute "si" command.
7481
7482 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7483
7484         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7485         number instead of the comments on some line.
7486
7487 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7488
7489         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7490         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7491
7492 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7493
7494         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7495         standard_output_file.  Remove unused binfile variable.
7496
7497 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7498
7499         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7500         * gdb.python/py-mi-objfile.exp: Match "list main" output
7501         in console format.
7502
7503 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7504
7505         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7506         absolute.
7507
7508 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7509
7510         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7511         absolute.
7512         * gdb.trace/ftrace.exp: Likewise.
7513         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7514         targets as well.
7515         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7516         (gdb_load_shlibs): Copy libraries to test directory when testing
7517         natively.  Only set solib-search-path if testing remotely.
7518         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7519
7520 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7521
7522         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7523         gdb_download.  Use it even if the target is not remote.
7524         * gdb.base/jit.exp (compile_jit_test): Likewise.
7525         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7526         output directory if the destination board is local, otherwise use
7527         the standard remote_download from DejaGnu.
7528         (gdb_download): Remove.
7529         (gdb_load_shlibs): Use gdb_remote_download instead of
7530         gdb_download.
7531         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7532         Use gdb_remote_download instead of gdb_download.  Use it even if
7533         the target is not remote.
7534         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7535         instead of gdb_download.
7536
7537 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7538
7539         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7540         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7541         run.
7542
7543 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7544
7545         PR gdb/19820
7546         * gdb.base/printcmds.exp: Add artificial arrays tests.
7547
7548 2016-03-31  Pedro Alves  <palves@redhat.com>
7549
7550         PR gdb/19858
7551         * gdb.base/jit-main.c: Include unistd.h.
7552         (ATTACH): Define to 0 if not already defined.
7553         (wait_for_gdb, mypid): New globals.
7554         (WAIT_FOR_GDB): New macro.
7555         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7556         some breakpoint locations.
7557         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7558         New procedures.
7559         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7560         continue_to_test_location.
7561         (top level): Test attach, and adjusts calls to one_jit_test.
7562
7563 2016-03-31  Pedro Alves  <palves@redhat.com>
7564
7565         PR gdb/19858
7566         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7567         BINSUFFIX parameter, and handle it.
7568         (top level): Adjust calls compile_jit_test.
7569
7570 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7571
7572         PR python/19743
7573         * gdb.python/py-mi-events-gdb.py: New file.
7574         * gdb.python/py-mi-events.c: New file.
7575         * gdb.python/py-mi-events.exp: New file.
7576
7577 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7578
7579         * gdb.reverse/until-precsave.exp: Match function name only.
7580         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7581         Move malloc to a condition block.
7582         * gdb.reverse/until-reverse.exp: Match function name only.
7583
7584 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7585
7586         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7587         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7588         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7589         variable for GPR 0 instead of assuming it is register 0.
7590         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7591         * lib/trace-support.exp: Add s390 registers.
7592
7593 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7594
7595         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7596
7597 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7598
7599         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7600         test message.
7601
7602 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7603
7604         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7605         maintaining separate logic for constructing the output path.
7606
7607 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7608
7609         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7610         Retry fork and waitpid on interrupted system call errors.
7611         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7612         Use with_timeout_factor to increase timeout by factor of 10.
7613
7614 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7615
7616         * gdb.cp/scope-err.cc: New test program.
7617         * gdb.cp/scope-err.exp: New test script.
7618         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7619         lines and "set breakpoint here" comment.
7620         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7621         Fixed some whitespace and format issues.
7622         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7623         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7624
7625 2016-03-15  Doug Evans  <dje@google.com>
7626
7627         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7628         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7629         All callers updated.  Add tests for enums, mixed flags register.
7630
7631 2016-03-15  Doug Evans  <dje@google.com>
7632
7633         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7634         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7635
7636 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7637
7638         * gdb.base/default.exp: Add $_as_string to the list of expected
7639         convenience functions.
7640
7641 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7642
7643         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7644
7645 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7646
7647         * gdb.python/py-as-string.exp: New file.
7648         * gdb.python/py-as-string.c: New file.
7649
7650 2016-03-09  Pedro Alves  <palves@redhat.com>
7651
7652         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7653         signal" -> "Thread NN received signal" output change.
7654         * gdb.threads/ia64-sigill.exp: Likewise.
7655         * gdb.threads/linux-dp.exp: Likewise.
7656         * gdb.threads/manythreads.exp: Likewise.
7657         * gdb.threads/pending-step.exp: Likewise.
7658         * gdb.threads/print-threads.exp: Likewise.
7659         * gdb.threads/sigstep-threads.exp: Likewise.
7660         * gdb.threads/staticthreads.exp: Likewise.
7661         * gdb.threads/tls.exp: Likewise.
7662
7663 2016-03-09  Pedro Alves  <palves@redhat.com>
7664
7665         * gdb.base/command-line-input.exp: New file.
7666
7667 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7668
7669         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7670         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7671         * gdb.trace/pending.exp: Accept leading dot before function name.
7672         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7673         * lib/trace-support.exp: Set registers for ppc.
7674
7675 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7676
7677         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7678         use it for disassembly; accept .main in addition to main in backtrace.
7679
7680 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7681             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7682
7683         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7684         (gdb_recursion_test_ptr): New global variable.
7685         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7686         gdb_recursion_test.
7687         (gdb_c_test): Ditto.
7688
7689 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7690
7691         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7692         ordering.
7693
7694 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7695
7696         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7697         (bar): Add bar_start_lbl label.
7698         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7699         of foo/bar for emitting DWARF and tracing.
7700
7701 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7702
7703         * analyze-racy-logs.py: Set executable bit.
7704
7705 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7706
7707         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7708         (CHECK_TARGET_TMP): Likewise.
7709         (check-single-racy): New rule.
7710         (check-parallel-racy): Likewise.
7711         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7712         (do-check-parallel-racy): New rule.
7713         (check-racy/%.exp): Likewise.
7714         * README (Racy testcases): New section.
7715         * analyze-racy-logs.py: New file.
7716
7717 2016-03-03  Doug Evans  <dje@google.com>
7718
7719         * gdb.base/skip.exp: Use with_test_prefix.
7720
7721 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7722
7723         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7724         Invoke step_over_syscall "clone" and break_cond_on_syscall
7725         "clone".
7726         * gdb.base/step-over-clone.c: New file.
7727
7728 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7729
7730         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7731         code format.
7732
7733 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7734
7735         * gdb.base/disp-step-fork.c: Rename to ...
7736         * gdb.base/step-over-fork.c: ... it.  New file.
7737         * gdb.base/disp-step-vfork.c: Rename to ...
7738         * gdb.base/step-over-vfork.c: ... it.  New file.
7739         * gdb.base/disp-step-syscall.exp: Rename to ...
7740         * gdb.base/step-over-syscall.exp: ... it.  New file.
7741         (disp_step_cross_syscall): Rename to ...
7742         (step_over_syscall): ... it.
7743
7744 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7745
7746         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7747         If target supports condition evaluation on target, invoke
7748         break_cond_on_syscall for fork and vfork.
7749
7750 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7751
7752         * gdb.base/disp-step-syscall.exp: Don't invoke
7753         support_displaced_stepping.
7754         (disp_step_cross_syscall): Test with displaced stepping off and
7755         on if supported.
7756
7757 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7758
7759         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7760         proc.
7761         (setup): New proc.
7762         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7763         and setup.
7764
7765 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7766
7767         * gdb.fortran/vla-history.exp: Remove breakpoint.
7768
7769 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7770
7771         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7772         exceeds timeout.
7773
7774 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7775
7776         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7777         breakpoint.
7778
7779 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7780
7781         * gdb.mi/vla.f90: Nullify pointer after declaration.
7782
7783 2016-03-01  Pedro Alves  <palves@redhat.com>
7784
7785         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7786
7787 2016-03-01  Pedro Alves  <palves@redhat.com>
7788
7789         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7790         before anything else.
7791         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7792         _GNU_SOURCE here.
7793         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7794         before anything else.
7795         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7796
7797 2016-03-01  Pedro Alves  <palves@redhat.com>
7798
7799         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7800
7801 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7802
7803         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7804         prepare_for_testing.
7805
7806 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7807
7808         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7809
7810 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7811
7812         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7813         manually constructing the output path.
7814
7815 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7816
7817         * gdb.arch/s390-stackless.S: New.
7818         * gdb.arch/s390-stackless.exp: New.
7819
7820 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7821
7822         * gdb.dlang/circular.c: New file.
7823         * gdb.dlang/circular.exp: New file.
7824
7825 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7826
7827         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7828         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7829         (testcases): Update.
7830
7831 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7832
7833         * gdb.reverse/aarch64.c: Rename to ...
7834         * gdb.reverse/insn-reverse.c: ... it.
7835         * gdb.reverse/aarch64.exp: Rename to ...
7836         * gdb.reverse/insn-reverse.exp: ... it.
7837
7838 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7839
7840         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7841         (testcase_ftype): New.
7842         (testcases): New array.
7843         (n_testcases): New.
7844         (main): Call each element in testcases.
7845         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7846         (read_testcase): New.
7847         Do the tests in a loop.
7848
7849 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7850
7851         * gdb.base/branches.c: Remove.
7852
7853 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7854
7855         PR gdb/13808
7856         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7857
7858 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7859
7860         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7861
7862 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7863
7864         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7865         change x86_64 call_insn to 'callq'.
7866
7867 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7868
7869         * gdb.trace/tfile-avx.c: Move to...
7870         * gdb.trace/tracefile-pseudo-reg.c: Here.
7871         * gdb.trace/tfile-avx.exp: Move to...
7872         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7873
7874 2016-02-24  Gary Benson <gbenson@redhat.com>
7875
7876         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7877         message on attach.
7878
7879 2016-02-23  Doug Evans  <dje@google.com>
7880
7881         * gdb.base/skip.c (test_skip): New function.
7882         (end_test_skip_file_and_function): New function.
7883         (test_skip_file_and_function): New function.
7884         * gdb.base/skip1.c (test_skip): New function.
7885         (skip1_test_skip_file_and_function): New function.
7886         * gdb.base/skip.exp: Add tests for new skip options.
7887         * gdb.base/skip-solib.exp: Update expected output.
7888         * gdb.perf/skip-command.cc: New file.
7889         * gdb.perf/skip-command.exp: New file.
7890         * gdb.perf/skip-command.py: New file.
7891
7892 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7893
7894         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7895         info registers pattern.
7896
7897 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7898
7899         * lib/future.exp: Add D support.
7900         (gdb_find_gdc): New proc.
7901         (gdb_default_target_compile): Add D support.
7902
7903 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7904
7905         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7906         user+system time.
7907         (trace_speed_test): Determine the iteration count for a time
7908         between 15..30 seconds.
7909
7910 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7911
7912         * gdb.arch/i386-mpx-sigsegv.c: New file.
7913         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7914         * gdb.arch/i386-mpx-simple_segv.c: New file.
7915         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7916
7917 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7918
7919         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7920         Don't call setup_kfail.
7921
7922 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7923
7924         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7925         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7926
7927 2016-02-16  Doug Evans  <dje@google.com>
7928
7929         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7930         * gdb.base/skip1.c: Ditto.
7931         * gdb.base/skip.exp: Whitespace cleanup.
7932
7933 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7934
7935         PR remote/19496
7936         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7937         Remove kfail for PR remote/19496.
7938
7939 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7940
7941         * lib/gdb.exp (standard_temp_file): Return a path specific to
7942         the runtest invocation.
7943
7944 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7945
7946         * gdb.trace/save-trace.exp: Change relative path to be in the
7947         standard output directory.
7948
7949 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7950
7951         * gdb.arch/i386-prologue.c: Add missing prototypes.
7952
7953 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7954
7955         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7956         * gdb.arch/i386-prologue.exp: Likewise.
7957         * gdb.arch/i386-size.exp: Likewise.
7958
7959 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7960
7961         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7962         define object file path.
7963         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7964         file path.
7965         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7966         standard_output_file to define binfile.
7967
7968 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7969
7970         Fix compatibility with recent gfortran-5.3.1.
7971         * gdb.fortran/vla-history.exp (print vla1 allocated)
7972         (print vla2 allocated, print $2, print $3): Remove
7973         (print $4): Rename to ...
7974         (print $2): ... here.
7975         (print $9): Rename to ...
7976         (print $5): ... here.
7977         (print $10): Rename to ...
7978         (print $6): ... here.
7979         * gdb.fortran/vla.f90: Add pvla initialization.
7980
7981 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7982
7983         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7984         New test.
7985         * gdb.fortran/vla-value-sub.exp: Likewise.
7986
7987 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7988
7989         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7990
7991 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7992
7993         * i386-biarch-core.exp: Define corefile using
7994         standard_output_file.
7995
7996 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7997
7998         * gdb.arch/arm-single-step-kernel-helper.c: New.
7999         * gdb.arch/arm-single-step-kernel-helper.exp: New.
8000
8001 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
8002
8003         * gdb.btrace/tailcall-only.exp: New.
8004         * gdb.btrace/tailcall-only.c: New.
8005         * gdb.btrace/x86_64-tailcall-only.S: New.
8006         * gdb.btrace/i686-tailcall-only.S: New.
8007
8008 2016-02-11  Pedro Alves  <palves@redhat.com>
8009
8010         * README (Parallel testing): Add missing double quotes.
8011
8012 2016-02-11  Pedro Alves  <palves@redhat.com>
8013
8014         * README (Parallel testing): New section.
8015         (GDB_PARALLEL): Rewrite.
8016         (FORCE_PARALLEL): Document.
8017
8018 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8019
8020         * gdb.trace/tfile-avx.c: New test.
8021         * gdb.trace/tfile-avx.exp: New test.
8022
8023 2016-02-09  Keith Seitz  <keiths@redhat.com>
8024
8025         PR breakpoints/19546
8026         * gdb.base/infcall-exec.c: New file.
8027         * gdb.base/infcall-exec2.c: New file.
8028         * gdb.base/infcall-exec.exp: New file.
8029
8030 2016-02-09  Keith Seitz  <keiths@redhat.com>
8031
8032         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8033         (toplevel): Call test_bkpt_address.
8034
8035 2016-02-09  Keith Seitz  <keiths@redhat.com>
8036
8037         PR python/19506
8038         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8039         (toplevel): Call test_bkpt_address.
8040
8041 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
8042
8043         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8044         to AC_OUTPUT.
8045         * configure: Regenerate.
8046
8047 2016-02-09  Pedro Alves  <palves@redhat.com>
8048
8049         PR breakpoints/19548
8050         * gdb.base/execl-update-breakpoints.c (some_function): New
8051         function.
8052         (main): Call it.
8053         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8054         Tighten expected GDB output.
8055
8056 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8057
8058         * Makefile.in (ALL_SUBDIRS): Remove.
8059         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8060         (distclean maintainer-clean realclean): Likewise.
8061         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8062         * configure: Regenerate.
8063         * gdb.ada/Makefile.in: Delete.
8064         * gdb.arch/Makefile.in: Likewise.
8065         * gdb.asm/Makefile.in: Likewise.
8066         * gdb.base/Makefile.in: Likewise.
8067         * gdb.btrace/Makefile.in: Likewise.
8068         * gdb.cell/Makefile.in: Likewise.
8069         * gdb.compile/Makefile.in: Likewise.
8070         * gdb.cp/Makefile.in: Likewise.
8071         * gdb.disasm/Makefile.in: Likewise.
8072         * gdb.dlang/Makefile.in: Likewise.
8073         * gdb.dwarf2/Makefile.in: Likewise.
8074         * gdb.fortran/Makefile.in: Likewise.
8075         * gdb.gdb/Makefile.in: Likewise.
8076         * gdb.go/Makefile.in: Likewise.
8077         * gdb.guile/Makefile.in: Likewise.
8078         * gdb.java/Makefile.in: Likewise.
8079         * gdb.linespec/Makefile.in: Likewise.
8080         * gdb.mi/Makefile.in: Likewise.
8081         * gdb.modula2/Makefile.in: Likewise.
8082         * gdb.multi/Makefile.in: Likewise.
8083         * gdb.objc/Makefile.in: Likewise.
8084         * gdb.opencl/Makefile.in: Likewise.
8085         * gdb.opt/Makefile.in: Likewise.
8086         * gdb.pascal/Makefile.in: Likewise.
8087         * gdb.perf/Makefile.in: Likewise.
8088         * gdb.python/Makefile.in: Likewise.
8089         * gdb.reverse/Makefile.in: Likewise.
8090         * gdb.server/Makefile.in: Likewise.
8091         * gdb.stabs/Makefile.in: Likewise.
8092         * gdb.threads/Makefile.in: Likewise.
8093         * gdb.trace/Makefile.in: Likewise.
8094         * gdb.xml/Makefile.in: Likewise.
8095         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8096         GDB_PARALLEL.
8097         (standard_output_file): Remove check for GDB_PARALLEL, always
8098         return path in outputs/$subdir/$testname.
8099
8100 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8101
8102         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8103         (site.exp): Assign abs_srcdir to tcl's srcdir.
8104
8105 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8106
8107         * gdb.base/foll-exec-mode.c: Include limits.h.
8108         (main): Add parameters argc and argv.  Get directory from
8109         argv[0].
8110         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8111         compilation.
8112         * gdb.base/foll-exec.c: Include limits.h.
8113         (main): Add parameters argc and argv.
8114         Get directory from argv[0].
8115         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8116         Adjust tests on the number of lines as source code changed.
8117         * gdb.base/foll-vfork-exit.c: Include limits.h.
8118         (main): Add one line of statement before vfork.
8119         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8120         (main): Add parameters argc and argv.  Get directory from
8121         argv[0].
8122         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8123         (setup_gdb): Set tbreak to skip some source lines.
8124         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8125         (main): Add parameters argc and argv.  Get directory from
8126         argv[0].
8127         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8128         compilation.
8129         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8130         (main): Add parameters argc and argv.  Get directory from
8131         argv[0].
8132         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8133         compilation.
8134
8135 2016-02-01  Doug Evans  <dje@google.com>
8136
8137         * gdb.base/skip.exp: Clean up multiple references to same test name.
8138
8139 2016-02-01  Pedro Alves  <palves@redhat.com>
8140
8141         PR remote/19496
8142         * gdb.threads/forking-threads-plus-breakpoint.exp
8143         (displaced_stepping_supported): New global.
8144         (probe_displaced_stepping_support): New procedure.
8145         (do_test): Add 'displaced' parameter, and use it.
8146         (top level): Check for displaced stepping support.  Add displaced
8147         stepping on/off testing axis.
8148
8149 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8150
8151         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8152         pointer.  Don't perform further tests on the unassociated pointer
8153         if the first test fails.
8154
8155 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8156
8157         * gdb.base/max-value-size.c: New file.
8158         * gdb.base/max-value-size.exp: New file.
8159         * gdb.base/huge.exp: Disable max-value-size for this test.
8160
8161 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8162
8163         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8164
8165 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8166
8167         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8168
8169 2016-01-25  Pedro Alves  <palves@redhat.com>
8170
8171         PR threads/19461
8172         * gdb.base/fork-running-state.c: New file.
8173         * gdb.base/fork-running-state.exp: New file.
8174
8175 2016-01-25  Pedro Alves  <palves@redhat.com>
8176
8177         PR gdb/19494
8178         * gdb.base/catch-fork-kill.c: New file.
8179         * gdb.base/catch-fork-kill.exp: New file.
8180
8181 2016-01-25  Pedro Alves  <palves@redhat.com>
8182
8183         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8184         Delete, moved to lib/gdb.exp.
8185         * gdb.threads/forking-threads-plus-breakpoint.exp
8186         (foreach_with_prefix): Likewise.
8187         * gdb.threads/process-dies-while-handling-bp.exp
8188         (foreach_with_prefix): Likewise.
8189         * lib/gdb.exp (foreach_with_prefix): New procedure.
8190
8191 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8192
8193         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8194         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8195
8196 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8197
8198         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8199         endian targets.
8200
8201 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8202             Pedro Alves  <palves@redhat.com>
8203
8204         Fix testsuite compatibility with Guile.
8205         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8206         number.
8207
8208 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8209
8210         Fix testsuite compatibility with Guile.
8211         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8212         (thread 1): New test for backtrace through signal handler.
8213
8214 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8215
8216         PR testsuite/19491
8217         * gdb.base/multi-forks.c: Include
8218         ../lib/unbuffer_output.c
8219         (main): Call gdb_unbuffer_output.
8220
8221 2016-01-21  Doug Evans  <dje@google.com>
8222
8223         * lib/ada.exp (gdb_compile_ada): Fix typo.
8224
8225 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8226
8227         * gdb.base/break-fun-addr.exp: New file.
8228         * gdb.base/break-fun-addr1.c: New file.
8229         * gdb.base/break-fun-addr2.c: New file.
8230
8231 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8232
8233         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8234         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8235         enum flag values.
8236
8237 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8238
8239         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8240         when GDB can not set the vector return value.  Add more comments
8241         for clarification.
8242
8243 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8244
8245         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8246         command.
8247
8248 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8249
8250         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8251
8252 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8253
8254         * Makefile.in (check-single): Pass --status to runtest.
8255         (check/%.exp): Likewise.
8256
8257 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8258
8259         * Makefile.in (check-parallel): Propagate return code from make
8260         do-check-parallel.
8261
8262 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8263
8264         * gdb.trace/ftrace.exp: Fix expected message on continue.
8265         * gdb.trace/pending.exp: Fix expected message on continue.
8266         * gdb.trace/trace-break.exp: Fix expected message on continue.
8267
8268 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8269
8270         * lib/gdb.exp (gdb_test): Remove unused global references.
8271
8272 2016-01-18  Pedro Alves  <palves@redhat.com>
8273
8274         * gdb.base/async-shell.exp: Adjust expected output.
8275         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8276         * gdb.base/siginfo-thread.exp: Adjust expected output.
8277         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8278         * gdb.java/jnpe.exp: Adjust expected output.
8279         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8280         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8281         * gdb.threads/leader-exit.exp: Adjust expected output.
8282         * gdb.threads/manythreads.exp: Adjust expected output.
8283         * gdb.threads/pthreads.exp: Adjust expected output.
8284         * gdb.threads/schedlock.exp: Adjust expected output.
8285         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8286         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8287         expected output.
8288         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8289         output.
8290         * gdb.threads/sigthread.exp: Adjust expected output.
8291         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8292
8293 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8294
8295         * gdb.guile/scm-section-script.c: Replace @progbits with
8296         %progbits.
8297         * gdb.python/py-section-script.c: Likewise.
8298
8299 2016-01-15  Pedro Alves  <palves@redhat.com>
8300
8301         * gdb.multi/tids.exp: Test star wildcard ranges.
8302
8303 2016-01-15  Pedro Alves  <palves@redhat.com>
8304
8305         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8306         command from "thread apply" invocation.
8307         (thr_apply_info_thr_invalid): Default the expected output to the
8308         input tid list.
8309         (top level): Add tests that use convenience variables.  Add tests
8310         for "thread apply" with a valid TID list, but missing the command.
8311
8312 2016-01-13  Pedro Alves  <palves@redhat.com>
8313
8314         * gdb.base/default.exp: Expect $_gthread as well.
8315         * gdb.multi/tids.exp: Test $_gthread.
8316         * gdb.threads/thread-specific.exp: Test $_gthread.
8317
8318 2016-01-13  Pedro Alves  <palves@redhat.com>
8319
8320         * gdb.multi/tids.exp: Test "info threads -gid".
8321
8322 2016-01-13  Pedro Alves  <palves@redhat.com>
8323
8324         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8325         Breakpoint.thread.
8326         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8327
8328 2016-01-07  Pedro Alves  <palves@redhat.com>
8329
8330         * gdb.base/break.exp: Adjust to output changes.
8331         * gdb.base/hbreak2.exp: Likewise.
8332         * gdb.base/sepdebug.exp: Likewise.
8333         * gdb.base/watch_thread_num.exp: Likewise.
8334         * gdb.linespec/keywords.exp: Likewise.
8335         * gdb.multi/info-threads.exp: Likewise.
8336         * gdb.threads/thread-find.exp: Likewise.
8337         * gdb.multi/tids.c: New file.
8338         * gdb.multi/tids.exp: New file.
8339
8340 2016-01-13  Pedro Alves  <palves@redhat.com>
8341
8342         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8343
8344 2016-01-13  Pedro Alves  <palves@redhat.com>
8345
8346         * gdb.base/default.exp: Expect $_inferior as well.
8347         * gdb.multi/base.exp: Test $_inferior.
8348
8349 2016-01-13  Pedro Alves  <palves@redhat.com>
8350
8351         PR breakpoints/19388
8352         * gdb.base/catch-signal-siginfo-cond.c: New file.
8353         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8354
8355 2016-01-12  Josh Stone  <jistone@redhat.com>
8356             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8357
8358         * gdb.base/catch-syscall.c (do_execve): New variable.
8359         (main): Conditionally trigger an execve.
8360         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8361         (test_catch_syscall_execve): New, check entry/return across execve.
8362         (do_syscall_tests): Call test_catch_syscall_execve.
8363
8364 2016-01-12  Pedro Alves  <palves@redhat.com>
8365
8366         * gdb.base/random-signal.exp (do_test): New procedure, with body
8367         of testcase moved in.
8368
8369 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8370             Pedro Alves  <palves@redhat.com>
8371
8372         * gdb.base/funcargs.exp (finish from indirectly called function):
8373         Reintroduce the case for 'First'.
8374
8375 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8376             Pedro Alves  <palves@redhat.com>
8377
8378         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8379         (tcatch_vfork_then_child_follow_exec)
8380         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8381         identification.
8382
8383 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8384
8385         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8386         and repeats to unlimited.
8387         * gdb.python/py-value.exp: Likewise.
8388         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8389         and repeats to unlimited.
8390
8391 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8392
8393         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8394         and reordering the functions.
8395         * gdb.multi/hangout.c: Likewise.
8396         * gdb.multi/hello.c: Likewise.
8397
8398 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8399
8400         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8401         absolute.
8402         (SingleStatisticTestResult.report): Use dict.keys instead of
8403         dict.iterkeys.
8404
8405 2016-01-06  Pedro Alves  <palves@redhat.com>
8406
8407         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8408
8409 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8410
8411         * gdb.btrace/dlopen.exp: New.
8412         * gdb.btrace/dlopen.c: New.
8413         * gdb.btrace/dlopen-dso.c: New.
8414
8415 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8416
8417         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8418         PATTERN argument is optional.
8419
8420 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8421
8422         * lib/ada.exp (target_compile_ada_from_dir): New function.
8423         (gdb_compile_ada): Reimplement avoiding the use of project files.
8424         * gdb.ada/gnat_ada.gpr: Delete.
8425         * gdb.ada/cond_lang.exp: Adjust test to make path before
8426         filename optional.
8427         * gdb.ada/small_reg_param.exp: Likewise.
8428
8429 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8430
8431         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8432
8433 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8434
8435         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8436         case.
8437
8438 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8439
8440         * gdb.base/break.exp: Remove dead code.
8441         * gdb.base/sepdebug.exp: Likewise.
8442
8443 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8444
8445         * gdb.asm/asm-source.exp: Remove HP-UX references.
8446         * gdb.base/annota1.exp: Likewise.
8447         * gdb.base/annota3.exp: Likewise.
8448         * gdb.base/attach.exp: Likewise.
8449         * gdb.base/bigcore.exp: Likewise.
8450         * gdb.base/break.exp: Likewise.
8451         * gdb.base/call-ar-st.exp: Likewise.
8452         * gdb.base/callfuncs.exp: Likewise.
8453         * gdb.base/catch-fork-static.exp: Likewise.
8454         * gdb.base/display.exp: Likewise.
8455         * gdb.base/foll-exec-mode.exp: Likewise.
8456         * gdb.base/foll-exec.exp: Likewise.
8457         * gdb.base/foll-fork.exp: Likewise.
8458         * gdb.base/foll-vfork.exp: Likewise.
8459         * gdb.base/funcargs.exp: Likewise.
8460         * gdb.base/hbreak2.exp: Likewise.
8461         * gdb.base/inferior-died.exp: Likewise.
8462         * gdb.base/interrupt.exp: Likewise.
8463         * gdb.base/multi-forks.exp: Likewise.
8464         * gdb.base/nodebug.exp: Likewise.
8465         * gdb.base/sepdebug.exp: Likewise.
8466         * gdb.base/solib1.c: Likewise.
8467         * gdb.base/step-test.exp: Likewise.
8468         * gdb.mi/non-stop.c: Likewise.
8469         * gdb.mi/pthreads.c: Likewise.
8470         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8471         * gdb.threads/pthreads.c: Likewise.
8472         * gdb.threads/staticthreads.exp: Likewise.
8473         * lib/future.exp: Likewise.
8474         * lib/gdb.exp: Likewise.
8475         * gdb.base/so-indr-cl.c: Remove.
8476         * gdb.base/so-indr-cl.exp: Likewise.
8477         * gdb.base/solib.c: Likewise.
8478         * gdb.base/solib.exp: Likewise.
8479         * gdb.base/solib2.c: Likewise.
8480
8481 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8482
8483         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8484         * gdb.base/call-ar-st.exp: Likewise.
8485         * gdb.base/callfuncs.exp: Likewise.
8486         * gdb.base/condbreak.exp: Likewise.
8487         * gdb.base/constvars.exp: Likewise.
8488         * gdb.base/hbreak2.exp: Likewise.
8489         * gdb.base/langs.exp: Likewise.
8490         * gdb.base/list.exp: Likewise.
8491         * gdb.base/long_long.exp: Likewise.
8492         * gdb.base/ptype.exp: Likewise.
8493         * gdb.base/scope.exp: Likewise.
8494         * gdb.base/signals.exp: Likewise.
8495         * gdb.base/so-impl-ld.exp: Likewise.
8496         * gdb.base/varargs.exp: Likewise.
8497         * gdb.base/volatile.exp: Likewise.
8498         * gdb.base/whatis.exp: Likewise.
8499         * gdb.cp/cplusfuncs.exp: Likewise.
8500         * gdb.cp/inherit.exp: Likewise.
8501         * gdb.cp/local.exp: Likewise.
8502         * gdb.cp/member-ptr.exp: Likewise.
8503         * gdb.cp/method.exp: Likewise.
8504         * gdb.cp/overload.exp: Likewise.
8505         * gdb.cp/templates.exp: Likewise.
8506         * gdb.stabs/weird.exp: Likewise.
8507         * lib/compiler.c: Likewise.
8508         * lib/compiler.cc: Likewise.
8509         * lib/cp-support.exp: Likewise.
8510         * lib/gdb.exp: Likewise.
8511
8512 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8513
8514         * configure.ac: Remove HP-UX case.
8515         * configure: Regenerate.
8516
8517 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8518
8519         * lib/gdb.exp (gdb_compile): Add function doc.
8520
8521 2015-12-17  Pedro Alves  <palves@redhat.com>
8522
8523         PR threads/19354
8524         * gdb.multi/info-threads.exp: New file.
8525
8526 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8527
8528         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8529         is aarch64*-*-*.
8530
8531 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8532
8533         * gdb.base/history-duplicates.exp: Skip if no readline support.
8534
8535 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8536
8537         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8538
8539 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8540
8541         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8542
8543 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8544
8545         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8546         ctrl-C if nointerrupts target property is set.
8547         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8548         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8549         * gdb.base/paginate-bg-execution.exp: Likewise.
8550         * gdb.base/paginate-execution-startup.exp: Likewise.
8551         * gdb.base/random-signal.exp: Likewise.
8552         * gdb.base/range-stepping.exp: Likewise.
8553         * gdb.cp/annota2.exp: Likewise.
8554         * gdb.cp/annota3.exp: Likewise.
8555         * gdb.gdb/selftest.exp: Likewise.
8556         * gdb.threads/continue-pending-status.exp: Likewise.
8557         * gdb.threads/leader-exit.exp: Likewise.
8558         * gdb.threads/manythreads.exp: Likewise.
8559         * gdb.threads/pthreads.exp: Likewise.
8560         * gdb.threads/schedlock.exp: Likewise.
8561         * gdb.threads/sigthread.exp: Likewise.
8562
8563 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8564
8565         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8566         remote.
8567         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8568         * gdb.base/foll-exec.exp (main): Enable for target remote.
8569         * gdb.base/foll-fork.exp (main): Likewise.
8570         * gdb.base/foll-vfork.exp (main): Likewise.
8571         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8572         (proc continue_to_exit_bp_loc): Use clean_restart.
8573         * gdb.base/pie-execl.exp (main): Disable for target remote.
8574         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8575         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8576         * gdb.threads/execl.exp (main): Likewise.
8577         * gdb.threads/fork-child-threads.exp (main): Likewise.
8578         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8579         remote.
8580         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8581         remote.
8582         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8583         pid.tid style ptids, instead of just tid.
8584         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8585         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8586         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8587         ptids, instead of just tid.
8588
8589 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8590
8591         * gdb.base/list.exp (test_list_forward): Add end of file error
8592         test.
8593         (test_repeat_list_command): Add end of file error test.
8594         (test_list_backwards): Add beginning of file error test.
8595
8596 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8597
8598         * gdb.base/list.exp (test_list_invalid_args): New function,
8599         defined, and called.
8600
8601 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8602
8603         * gdb.base/list.exp (test_list): Make test names unique.
8604
8605 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8606
8607         * gdb.base/coremaker2.c: Remove.
8608
8609 2015-12-10  Pedro Alves  <palves@redhat.com>
8610
8611         * gdb.multi/base.exp: Remove stale "spaces" references.
8612
8613 2015-12-10  Pedro Alves  <palves@redhat.com>
8614
8615         * gdb.multi/base.exp: Don't use nowarnings.
8616         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8617         * gdb.multi/hangout.c: Include stdio.h.
8618         * gdb.multi/hello.c: Include stdlib.h.
8619         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8620         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8621         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8622
8623 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8624
8625         * gdb.dwarf2/dw2-ranges-base.c: New file.
8626         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8627         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8628         support additional line table, and debug ranges generation.
8629         (Dwarf::ranges): New function, generate .debug_ranges.
8630         (Dwarf::lines): Support generating simple line table programs.
8631         (Dwarf::assemble): Initialise new namespace variables.
8632
8633 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8634
8635         * gdb.base/async.exp (proc test_background): Add case for
8636         asynchronous execution not supported.
8637
8638 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8639
8640         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8641           format and change test names to make them unique.
8642
8643 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8644             Pedro Alves  <pedro@redhat.com>
8645
8646         PR gdb/18702
8647         Add checking of floatformats setup on x86_64 hosts.
8648         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8649         (smallval, bigval): New labels/constants.
8650         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8651         float" after loading bigval and smallval.
8652
8653 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8654
8655         * gdb.ada/fun_overload_menu.exp: New testcase.
8656         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8657
8658 2015-12-04  Josh Stone  <jistone@redhat.com>
8659
8660         * gdb.base/catch-fork-static.exp: New.
8661
8662 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8663
8664         * gdb.base/sizeof.c: Don't include stdio.h and
8665         ../lib/unbuffer_output.c.
8666         (main): New variable 'size' and 'value'.  Remove printf and
8667         gdb_unbuffer_output.  Assign return value to size and value.
8668         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8669         at the beginning.
8670         (check_sizeof): Check the result by printing variable 'size'.
8671         (check_valueof): Check the result by printing variable 'value'.
8672
8673 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8674
8675         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8676         for aarch64*-*-linux* target.
8677
8678 2015-11-30  Pedro Alves  <palves@redhat.com>
8679
8680         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8681
8682 2015-11-30  Pedro Alves  <palves@redhat.com>
8683
8684         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8685         Handle non-stop mode vCont replies.
8686
8687 2015-11-30  Pedro Alves  <palves@redhat.com>
8688
8689         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8690         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8691         GDBFLAGS.  Lax expected stop output.
8692
8693 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8694
8695         * gdb.arch/arm-neon.exp: New.
8696         * gdb.arch/arm-neon.c: New.
8697
8698 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8699
8700         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8701
8702 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8703
8704         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8705         frames-invalid annotation.
8706
8707 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8708
8709         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8710
8711 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8712
8713         * gdb.threads/names.exp: New file.
8714         * gdb.threads/names.c: New file.
8715         * README: Mention gdb,no_thread_names.
8716
8717 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8718
8719         PR 19297
8720         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8721         support" error.
8722
8723 2015-11-24  Pedro Alves  <palves@redhat.com>
8724
8725         PR 17539
8726         * gdb.base/display.exp: Expect displays to be sorted in ascending
8727         order.  Use multi_line.
8728         * gdb.base/solib-display.exp: Likewise.
8729
8730 2015-11-24  Pedro Alves  <palves@redhat.com>
8731
8732         PR 17539
8733         * gdb.base/display.exp: Expect displays to be sorted in ascending
8734         order.  Use multi_line.
8735         * gdb.base/solib-display.exp: Likewise.
8736
8737 2015-11-24  Pedro Alves  <palves@redhat.com>
8738
8739         PR 17539
8740         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8741         threads in ascending order.
8742         * gdb.base/foll-fork.exp: Likewise.
8743         * gdb.base/foll-vfork.exp: Likewise.
8744         * gdb.base/multi-forks.exp: Likewise.
8745         * gdb.mi/mi-nonstop.exp: Likewise.
8746         * gdb.mi/mi-nsintrall.exp: Likewise.
8747         * gdb.multi/base.exp: Likewise.
8748         * gdb.multi/multi-arch.exp: Likewise.
8749         * gdb.python/py-inferior.exp: Likewise.
8750         * gdb.threads/break-while-running.exp: Likewise.
8751         * gdb.threads/execl.exp: Likewise.
8752         * gdb.threads/gcore-thread.exp: Likewise.
8753         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8754         * gdb.threads/kill.exp: Likewise.
8755         * gdb.threads/linux-dp.exp: Likewise.
8756         * gdb.threads/multiple-step-overs.exp: Likewise.
8757         * gdb.threads/next-bp-other-thread.exp: Likewise.
8758         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8759         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8760         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8761         * gdb.threads/thread-find.exp: Likewise.
8762         * gdb.threads/tls.exp: Likewise.
8763         * lib/mi-support.exp (mi_reverse_list): Delete.
8764         (mi_check_thread_states): No longer reverse list.
8765
8766 2015-11-24  Pedro Alves  <palves@redhat.com>
8767
8768         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8769         use lowercase.
8770
8771 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8772
8773         * gdb.trace/actions.c: Include trace-common.h.
8774         (main): Add a location for a fast tracepoint.
8775         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8776         the normal tracepoints.
8777         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8778
8779 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8780
8781         * save-trace.exp: Factor out code to these...
8782         (gdb_save_tracepoints): New.
8783         (gdb_load_tracepoints): New.
8784         (do_save_load_test): New.
8785
8786 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8787
8788         * gdb.base/asmlabel.exp: New test.
8789         * gdb.base/asmlabel.c: New test case.
8790
8791 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8792
8793         * gdb.base/wrong_frame_bt_full-main.c: New file.
8794         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8795         * gdb.base/wrong_frame_bt_full.exp: New file.
8796
8797 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8798
8799         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8800
8801 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8802
8803         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8804         pstate register when comparing registers values in
8805         sparc64-*-linux-gnu targets to avoid spurious differences.
8806
8807 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8808
8809         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8810
8811 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8812
8813         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8814         as type argument to gdb_compile.
8815         * gdb.base/nested-subp2.exp: Likewise.
8816         * gdb.base/nested-subp3.exp: Likewise.
8817
8818 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8819
8820         * lib/dwarf.exp (_note): Fix left shift of negative value.
8821         * gdb.trace/trace-condition.exp: Likewise.
8822
8823 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8824
8825         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8826         comments about d10v.
8827         (test_scalar_returns): Likewise.
8828         * gdb.base/d10v.ld: Remove.
8829         * gdb.base/overlays.exp: Remove the target triplet checking for
8830         d10v-*-*.
8831         * gdb.base/structs.exp (test_struct_returns): Remove the
8832         comments about d10v.
8833         (test_struct_calls): Likewise.
8834
8835 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8836
8837         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8838         * gdb.base/gnu_vector.c: Don't include stdio.h.
8839         (main): Don't print res and call add_some_intvecs.
8840
8841 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8842
8843         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8844         macro.
8845         (func5): Removed.
8846         (func4): Use FAST_TRACEPOINT_LABEL.
8847         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8848         macro.
8849         (func): Removed.
8850         (thread_function): Use FAST_TRACEPOINT_LABEL.
8851         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8852         (func): Remove.
8853         (marker): Use FAST_TRACEPOINT_LABEL.
8854         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8855         (pendfunc1): Remove.
8856         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8857         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8858         (foo): Remove.
8859         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8860         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8861         macro.
8862         (func): Remove.
8863         (marker): Use FAST_TRACEPOINT_LABEL.
8864         * gdb.trace/trace-common.h: New header.
8865         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8866         macro.
8867         (func): Remove.
8868         (marker): Use FAST_TRACEPOINT_LABEL.
8869         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8870         (func): Remove.
8871         (thread_function): Use FAST_TRACEPOINT_LABEL.
8872
8873 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8874
8875         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8876         in front.
8877         * gdb.trace/change-loc.exp: Use global pcreg definition.
8878         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8879         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8880         in front.
8881         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8882         * gdb.trace/pending.exp: Likewise.
8883         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8884         * gdb.trace/trace-break.exp: Likewise.
8885         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8886         in front.
8887         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8888         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8889         in front.
8890         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8891
8892 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8893
8894         * gdb.ada/fin_fun_out: New testcase.
8895
8896 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8897
8898         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8899         value associated with DW_AT_byte_size.
8900         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8901         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8902         DW_AT_upper_bound.
8903
8904 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8905
8906         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8907         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8908         version.
8909         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8910         gdb.dwarf2/dw2-canonicalize-type.exp,
8911         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8912         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8913         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8914         provided by gdb_target_symbol_prefix_flags_asm.
8915         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8916         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8917         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8918         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8919         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8920         macros where needed).  Use this macro for symbols which require
8921         the prefix provided by SYMBOL_PREFIX.
8922
8923 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8924
8925         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8926         New procs.
8927         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8928         representing expressions, of more than one list element.
8929         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8930         to prepend linker symbol prefix to f.
8931         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8932         table_1 and table_2.
8933         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8934         Likewise, for f and g.
8935         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8936         for ptr.
8937         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8938         for main.
8939         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8940         table_1_ptr and table_2_ptr.
8941
8942 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8943             Joel Brobecker  <brobecker@adacore.com>
8944
8945         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8946
8947 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8948
8949         * gdb.reverse/s390-mvcle.c: New test.
8950         * gdb.reverse/s390-mvcle.exp: New file.
8951         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8952
8953 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8954
8955         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8956
8957 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8958
8959         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8960         reaching marker2.
8961         * gdb.reverse/getresuid-reverse.exp: Likewise.
8962         * gdb.reverse/pipe-reverse.exp: Likewise.
8963         * gdb.reverse/readv-reverse.exp: Likewise.
8964         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8965         * gdb.reverse/time-reverse.exp: Likewise.
8966         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8967
8968 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8969
8970         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8971         (empty_cycle): Remove.
8972         (main): Don't call empty_cycle.  Don't use watch_count_done.
8973         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8974         empty_cycle.  Rewrite the code counting HW watchpoints.
8975
8976 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8977
8978         * gdb.reverse/fstatat-reverse.c: New test.
8979         * gdb.reverse/fstatat-reverse.exp: New file.
8980         * gdb.reverse/getresuid-reverse.c: New test.
8981         * gdb.reverse/getresuid-reverse.exp: New file.
8982         * gdb.reverse/pipe-reverse.c: New test.
8983         * gdb.reverse/pipe-reverse.exp: New file.
8984         * gdb.reverse/readv-reverse.c: New test.
8985         * gdb.reverse/readv-reverse.exp: New file.
8986         * gdb.reverse/recvmsg-reverse.c: New test.
8987         * gdb.reverse/recvmsg-reverse.exp: New file.
8988         * gdb.reverse/time-reverse.c: New test.
8989         * gdb.reverse/time-reverse.exp: New file.
8990         * gdb.reverse/waitpid-reverse.c: New test.
8991         * gdb.reverse/waitpid-reverse.exp: New file.
8992
8993 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8994
8995         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8996
8997 2015-10-26  Doug Evans  <dje@google.com>
8998
8999         PR symtab/17391
9000         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9001         * gdb.dwarf2/bad-regnum.c: New file.
9002         * gdb.dwarf2/bad-regnum.exp: New file.
9003
9004 2015-10-26  Doug Evans  <dje@google.com>
9005
9006         PR python/18938
9007         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9008         file.
9009
9010 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9011
9012         * gdb.compile/compile.exp (compile code globalvar): Update expectation
9013         for a change by "Mention language in compile error message".
9014
9015 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
9016
9017         PR python/18073
9018         * gdb.python/py-type.c (C::a_method): New.
9019         (C::a_const_method): New.
9020         (C::a_static_method): New.
9021         (a_function): New.
9022         * gdb.python/py-type.exp (test_fields): Test getting fields
9023         from function and method.
9024
9025 2015-10-21  Keven Boell  <keven.boell@intel.com>
9026
9027         * gdb.fortran/vla-alloc-assoc.exp: New file.
9028         * gdb.fortran/vla-datatypes.exp: New file.
9029         * gdb.fortran/vla-datatypes.f90: New file.
9030         * gdb.fortran/vla-history.exp: New file.
9031         * gdb.fortran/vla-ptype-sub.exp: New file.
9032         * gdb.fortran/vla-ptype.exp: New file.
9033         * gdb.fortran/vla-sizeof.exp: New file.
9034         * gdb.fortran/vla-sub.f90: New file.
9035         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9036         * gdb.fortran/vla-value-sub-finish.exp: New file.
9037         * gdb.fortran/vla-value-sub.exp: New file.
9038         * gdb.fortran/vla-value.exp: New file.
9039         * gdb.fortran/vla-ptr-info.exp: New file.
9040         * gdb.mi/mi-vla-fortran.exp: New file.
9041         * gdb.mi/vla.f90: New file.
9042
9043 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
9044
9045         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9046         of hardwired timeout value.
9047
9048 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9049             Pedro Alves  <palves@redhat.com>
9050
9051         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9052         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9053
9054 2015-10-19  Josh Stone  <jistone@redhat.com>
9055
9056         * gdb.base/catch-syscall.c: Include <sched.h>.
9057         (unknown_syscall): New variable.
9058         (main): Trigger a vfork and an unknown syscall.
9059         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9060         (unknown_syscall_number): Likewise.
9061         (check_call_to_syscall): Accept an optional syscall pattern.
9062         (check_return_from_syscall): Likewise.
9063         (check_continue): Likewise.
9064         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9065         (test_catch_syscall_skipping_return): New test toggling off 'catch
9066         syscall' to step over the syscall return, then toggling back on.
9067         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9068         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9069         (do_syscall_tests): Call test_catch_syscall_without_args and
9070         test_catch_syscall_mid_vfork.
9071         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9072         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9073
9074 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9075
9076         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9077         print g_vE): Add new pass patterns.
9078         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9079         print various symbol names for vptr fields.
9080
9081 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9082
9083         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9084         results.
9085
9086 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9087
9088         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9089
9090 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9091
9092         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9093         is aarch64*-*-linux*.
9094
9095 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9096
9097         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9098         (can_relocate_bcond_true): ... it.
9099         (can_relocate_bcond_false): New function.
9100         (foo): Likewise.
9101         (can_relocate_bl): Likewise.
9102         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9103         can_relocate_bl.
9104
9105 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9106
9107         * gdb.base/nested-addr.c: New file.
9108         * gdb.base/nested-addr.exp: New testcase.
9109
9110 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9111
9112         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9113         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9114         its output.  Ignore the output of "record goto begin" and instead
9115         check that GDB is replaying.
9116
9117 2015-10-09  Pedro Alves  <palves@redhat.com>
9118
9119         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9120         (top level): Use it in the run with no args test.
9121
9122 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9123
9124         * gdb.dlang/properties.exp: New file.
9125
9126 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9127
9128         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9129         whether or not address 0x1000 is mapped on the target.
9130
9131 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9132
9133         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9134         build.
9135
9136 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9137
9138         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9139         instruction-history test.
9140
9141 2015-09-28  Doug Evans  <dje@google.com>
9142
9143         * gdb.base/gcore.c (array_func): Add reference to static_array.
9144
9145 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9146
9147         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9148         source line.
9149
9150 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9151
9152         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9153         short or char as base type.
9154
9155 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9156
9157         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9158         to allow any size enum.
9159
9160 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9161
9162         * gdb.ada/array_ptr_renaming.exp: New testcase.
9163         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9164         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9165
9166 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9167
9168         * gdb.trace/ftrace-lock.c: New file.
9169         * gdb.trace/ftrace-lock.exp: New file.
9170
9171 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9172
9173         * gdb.arch/insn-reloc.c: New file.
9174         * gdb.arch/ftrace-insn-reloc.exp: New file.
9175
9176 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9177
9178         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9179         instruction.
9180         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9181         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9182         * gdb.trace/range-stepping.c: Likewise.
9183         * gdb.trace/trace-break.c: Likewise.
9184         * gdb.trace/trace-mt.c (thread_function): Likewise.
9185         * gdb.trace/ftrace.c (marker): Likewise.
9186         * gdb.trace/trace-condition.c (marker): Likewise.
9187         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9188         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9189         is_aarch64_target.
9190
9191 2015-09-18  Doug Evans  <xdje42@gmail.com>
9192
9193         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9194         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9195
9196 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9197
9198         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9199         the breakpoint.
9200
9201 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9202
9203         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9204         the pending breakpoint.  Remove timeout override for "Run till
9205         MI pending breakpoint on pendfunc3 on thread 2" test.
9206
9207 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9208
9209         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9210         filename pattern.
9211
9212 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9213
9214         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9215         in breakpoint filename pattern.
9216
9217 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9218
9219         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9220
9221 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9222
9223         * gdb.linespec/explicit.exp: Check for readline support for
9224         tab-completion tests.  Fix obvious typo.
9225
9226 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9227
9228         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9229         and replay.
9230
9231 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9232
9233         * gdb.btrace/non-stop.c: New.
9234         * gdb.btrace/non-stop.exp: New.
9235
9236 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9237             Yao Qi  <yao.qi@linaro.org>
9238
9239         * gdb.trace/trace-condition.c: New file.
9240         * gdb.trace/trace-condition.exp: New file.
9241
9242 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9243
9244         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9245         for testing bytecode compilation.
9246
9247 2015-09-16  Pedro Alves  <palves@redhat.com>
9248             Sandra Loosemore <sandra@codesourcery.com>
9249
9250         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9251         (SECONDS): Redefine.
9252         (main): Call pthread_kill and alarm early.
9253         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9254         support.
9255         (test): If the target can't hardware step and doesn't support
9256         displaced stepping, increase the timeout.
9257
9258 2015-09-16  Pedro Alves  <palves@redhat.com>
9259
9260         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9261         (enable_debug): New procedures.
9262         (test): Use them.  Bail out if waiting for threads fails.
9263         (top level): Bail out if a test fails.
9264
9265 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9266
9267         * gdb.asm/asm-source.exp: Set asm-arch for
9268         aarch64*-*-* target.
9269         * gdb.asm/aarch64.inc: New file.
9270
9271 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9272
9273         * gdb.ada/array_of_variable_length.exp: New testcase.
9274         * gdb.ada/array_of_variable_length/foo.adb: New file.
9275         * gdb.ada/array_of_variable_length/pck.adb: New file.
9276         * gdb.ada/array_of_variable_length/pck.ads: New file.
9277
9278 2015-09-15  Doug Evans  <dje@google.com>
9279
9280         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9281         of function static local variable.
9282
9283 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9284
9285         * gdb.threads/tls-so_extern.exp: New test file.
9286         * gdb.threads/tls-so_extern.c: New test file.
9287         * gdb.threads/tls-so_extern_main.c: New test file.
9288
9289 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9290
9291         * gdb.opt/solib-intra-step-lib.c: New file.
9292         * gdb.opt/solib-intra-step-main.c: New file.
9293         * gdb.opt/solib-intra-step.exp: New file.
9294
9295 2015-09-15  Pedro Alves  <palves@redhat.com>
9296
9297         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9298         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9299
9300 2015-09-14  Pedro Alves  <palves@redhat.com>
9301
9302         * gdb.base/hook-stop-continue.c: Delete.
9303         * gdb.base/hook-stop-continue.exp: Delete.
9304         * gdb.base/hook-stop-frame.c: Delete.
9305         * gdb.base/hook-stop-frame.exp: Delete.
9306         * gdb.base/hook-stop.c: New file.
9307         * gdb.base/hook-stop.exp: New file.
9308
9309 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9310
9311         * gdb.ada/access_to_packed_array.exp: New testcase.
9312         * gdb.ada/access_to_packed_array/foo.adb: New file.
9313         * gdb.ada/access_to_packed_array/pack.adb: New file.
9314         * gdb.ada/access_to_packed_array/pack.ads: New file.
9315
9316 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9317
9318         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9319         buffer size test.
9320
9321 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9322
9323         * gdb.base/foll-exec.c: Add copyright header.  Fix
9324         formatting issues.
9325         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9326         (do_exec_tests): Use clean_restart in place of zap_session,
9327         and for test initialization.  Fix formatting issues.  Use
9328         fail in place of perror.
9329         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9330         an expect statement to match an expression with output from
9331         the program under debug.
9332         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9333         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9334         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9335         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9336         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9337
9338 2015-09-09  Doug Evans  <dje@google.com>
9339
9340         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9341
9342 2015-09-09  Doug Evans  <dje@google.com>
9343
9344         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9345
9346 2015-09-09  Doug Evans  <dje@google.com>
9347
9348         * gdb.base/savedregs.exp: Fix typo.
9349
9350 2015-09-09  Pedro Alves  <palves@redhat.com>
9351
9352         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9353
9354 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9355
9356         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9357         command actually switches threads.  Give up on remaining
9358         tests if target fails to stop at breakpoint.
9359
9360 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9361
9362         * gdb.ada/funcall_char.exp: New testcase.
9363         * gdb.ada/funcall_char/foo.adb: New file.
9364
9365 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9366
9367         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9368         expected outputs.  Add two testcases for completing ambiguous
9369         functions.
9370         * gdb.ada/complete/aux_pck.adb: New file.
9371         * gdb.ada/complete/aux_pck.ads: New file.
9372         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9373         Ambiguous_Func functions.
9374         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9375         * gdb.ada/complete/pck.adb: Likewise.
9376
9377 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9378
9379         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9380         failures to run the test program under GDB.
9381
9382 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9383
9384         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9385         to C.
9386
9387 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9388
9389         * gdb.base/run-after-attach.exp: New test file.
9390         * gdb.base/run-after-attach.c: New test file.
9391
9392 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9393
9394         * gdb.base/foll-exec-2.c: New test program.
9395         * gdb.base/foll-exec-2.exp: New test.
9396
9397 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9398
9399         * gdb.base/nested-subp1.exp: New file.
9400         * gdb.base/nested-subp1.c: New file.
9401         * gdb.base/nested-subp2.exp: New file.
9402         * gdb.base/nested-subp2.c: New file.
9403         * gdb.base/nested-subp3.exp: New file.
9404         * gdb.base/nested-subp3.c: New file.
9405
9406 2015-08-24  Pedro Alves  <palves@redhat.com>
9407
9408         * gdb.server/connect-without-multi-process.c: New file.
9409         * gdb.server/connect-without-multi-process.exp: New file.
9410
9411 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9412
9413         * gdb.opt/inline-markers.c: Make z int.
9414
9415 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9416
9417         * gdb.opt/inline-markers.c: Make z volatile.
9418
9419 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9420
9421         * gdb.opt/inline-bt.c: New volatile global z.
9422         * gdb.opt/inline-cmds.c: Likewise.
9423         * gdb.opt/inline-locals.c: Likewise.
9424         * gdb.opt/inline-markers.c: New extern global z.
9425         (marker): Use z.
9426         (inline_fn): Likewise.
9427
9428 2015-08-24  Pedro Alves  <palves@redhat.com>
9429
9430         * config/m32r-stub.exp: Remove file.
9431         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9432         * gdb.base/call-rt-st.exp: Likewise.
9433         * gdb.base/call-strs.exp: Likewise.
9434         * gdb.base/default.exp: Remove references to h8300-*-hms and
9435         *-*-udi*.
9436         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9437
9438 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9439
9440         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9441         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9442         and "return" use KFAIL when GDB can not read/write the vector
9443         return value.
9444
9445 2015-08-21  Gary Benson <gbenson@redhat.com>
9446
9447         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9448
9449 2015-08-20  Pedro Alves  <palves@redhat.com>
9450
9451         * gdb.server/solib-list.exp: No longer expect an interior stop in
9452         non-stop mode.
9453
9454 2015-08-20  Pedro Alves  <palves@redhat.com>
9455
9456         * gdb.server/connect-stopped-target.c: New file.
9457         * gdb.server/connect-stopped-target.exp: New file.
9458
9459 2015-08-20  Pedro Alves  <palves@redhat.com>
9460
9461         * gdb.dwarf2/comp-unit-lang.exp: New file.
9462         * gdb.dwarf2/comp-unit-lang.c: New file.
9463
9464 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9465
9466         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9467         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9468
9469 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9470
9471         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9472         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9473
9474 2015-08-18  Doug Evans  <dje@google.com>
9475             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9476
9477         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9478         skip_python_tests.  New arg prompt_regexp.
9479         (skip_python_tests): New function.
9480         * lib/mi-support.exp (mi_skip_python_tests): New function.
9481         * gdb.python/py-mi-objfile-gdb.py: New file.
9482         * gdb.python/py-mi-objfile.c: New file.
9483         * gdb.python/py-mi-objfile.exp: New file.
9484
9485 2015-08-17  Keith Seitz  <keiths@redhat.com>
9486
9487         * gdb.linespec/explicit.exp: Move strace test from here ...
9488         * gdb.trace/strace.exp: ... to here.
9489
9490 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9491
9492         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9493         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9494
9495 2015-08-14  Doug Evans  <xdje42@gmail.com>
9496
9497         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9498         inferior before selecting a new file.
9499
9500 2015-08-14  Doug Evans  <xdje42@gmail.com>
9501
9502         * gdb.mi/mi-disassemble.exp: Update.
9503         * gdb.base/disasm-optim.S: New file.
9504         * gdb.base/disasm-optim.c: New file.
9505         * gdb.base/disasm-optim.h: New file.
9506         * gdb.base/disasm-optim.exp: New file.
9507
9508 2015-08-14  Keith Seitz  <keiths@redhat.com>
9509
9510         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9511         "evaluated-by".
9512
9513 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9514
9515         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9516
9517 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9518
9519         * gdb.ada/fun_renaming.exp: New testcase.
9520         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9521         * gdb.ada/fun_renaming/pack.adb: New file.
9522         * gdb.ada/fun_renaming/pack.ads: New file.
9523
9524 2015-08-12  Keith Seitz  <keiths@redhat.com>
9525
9526         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9527         gdb_get_line_number.
9528
9529 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9530
9531         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9532         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9533         gdb.base/dso2dso.exp: New files.
9534
9535 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9536             Pedro Alves  <palves@redhat.com>
9537             Keith Seitz  <keiths@redhat.com>
9538
9539         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9540         GDBFLAGS.
9541
9542 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9543
9544         * gdb.base/gdbhistsize-history.exp
9545         (test_histsize_history_setting): Use save_vars.
9546         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9547         Use save_vars.
9548         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9549         * gdb.base/readline.exp: Use save_vars.
9550
9551 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9552
9553         * lib/gdb.exp (save_vars): New proc.
9554
9555 2015-08-11  Keith Seitz  <keiths@redhat.com>
9556
9557         * gdb.base/help.exp: Update help_breakpoint_text.
9558
9559 2015-08-11  Keith Seitz  <keiths@redhat.com>
9560
9561         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9562         (at toplevel): Call test_explicit_breakpoints.
9563         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9564         breakpoints.
9565         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9566         breakpoint conditions, "-cond".
9567
9568 2015-08-11  Keith Seitz  <keiths@redhat.com>
9569
9570         * gdb.linespec/3explicit.c: New file.
9571         * gdb.linespec/cpexplicit.cc: New file.
9572         * gdb.linespec/cpexplicit.exp: New file.
9573         * gdb.linespec/explicit.c: New file.
9574         * gdb.linespec/explicit.exp: New file.
9575         * gdb.linespec/explicit2.c: New file.
9576         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9577         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9578         before using in the matching pattern.
9579         Clarify that `prefix' is a regular expression.
9580
9581 2015-08-11  Keith Seitz  <keiths@redhat.com>
9582
9583         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9584         test.
9585         Add tests for missing ",FMT" and ",".
9586
9587 2015-08-10  Doug Evans  <dje@google.com>
9588             Keith Seitz  <keiths@redhat.com>
9589
9590         PR gdb/17960
9591         * gdb.base/completion.exp: Add location completer tests.
9592
9593 2015-08-07  Pedro Alves  <palves@redhat.com>
9594
9595         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9596         tests here.
9597         (top level): Run do_test with and without displaced stepping.
9598
9599 2015-08-07  Pedro Alves  <palves@redhat.com>
9600
9601         * gdb.base/valgrind-disp-step.c: New file.
9602         * gdb.base/valgrind-disp-step.exp: New file.
9603
9604 2015-08-07  Pedro Alves  <palves@redhat.com>
9605
9606         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9607         Delete function.
9608         (main): Add alarm.  Run an infinite loop instead of calling
9609         wait_threads.
9610         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9611         comment.
9612         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9613         Delete function.
9614         (main): Add alarm.  Run an infinite loop instead of calling
9615         wait_threads.
9616         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9617         comment.
9618
9619 2015-08-07  Pedro Alves  <palves@redhat.com>
9620
9621         * gdb.base/checkpoint-ns.exp: New file.
9622         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9623         standard_testfile.
9624
9625 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9626
9627         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9628         * gdb.btrace/instruction_history.exp: Update.
9629         * gdb.btrace/tsx.exp: New.
9630         * gdb.btrace/tsx.c: New.
9631
9632 2015-08-06  Pedro Alves <palves@redhat.com>
9633
9634         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9635         increase timeout.
9636         * gdb.reverse/until-precsave.exp: Bump timeouts.
9637
9638 2015-08-06  Pedro Alves  <palves@redhat.com>
9639
9640         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9641
9642 2015-08-06  Pedro Alves  <palves@redhat.com>
9643
9644         PR gdb/18749
9645         * gdb.threads/process-dies-while-handling-bp.c: New file.
9646         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9647
9648 2015-08-06  Pedro Alves  <palves@redhat.com>
9649
9650         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9651         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9652
9653 2015-08-05  Pedro Alves  <palves@redhat.com>
9654
9655         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9656         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9657
9658 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9659
9660         * gdb.base/bp-permanent.exp: Report test as unsupported if
9661         the target cannot stop at the permanent breakpoint.
9662
9663 2015-08-03  Doug Evans  <dje@google.com>
9664
9665         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9666         10000.
9667
9668 2015-08-03  Doug Evans  <dje@google.com>
9669
9670         * Makefile.in (workers/%.worker, build-perf): New rule.
9671         (GDB_PERFTEST_MODE): New variable.
9672         (check-perf): Use it.
9673         (clean): Clean up gdb.perf parallel build subdirs.
9674         * lib/build-piece.exp: New file.
9675         * lib/gdb.exp (make_gdb_parallel_path): New function
9676         (standard_output_file, standard_temp_file): Call it.
9677         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9678         of $GDB_PARALLEL.
9679         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9680
9681 2015-08-03  Doug Evans  <dje@google.com>
9682
9683         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9684         (LOG_FILE_NAME): New global.
9685         (TextReporter.__init__): Initialize self.txt_sum.
9686         (TextReporter.report): Add support for multiple data-points.
9687         Move report to perftest.sum, put raw data in perftest.log.
9688         (TextReporter.start): Open sum and log files.
9689         (TextReporter.end): Close sum and log files.
9690         * gdb.perf/lib/perftest/testresult.py
9691         (SingleStatisticTestResult.record): Handle multiple data-points.
9692
9693 2015-07-31  Pedro Alves  <palves@redhat.com>
9694
9695         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9696         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9697         kill_wait_spawned_process instead of explicit "kill -9".
9698         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9699         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9700         kill_wait_spawned_process.
9701         * gdb.base/attach-twice.exp: Likewise.
9702         * gdb.base/attach.exp: Likewise.
9703         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9704         gdb_test_multiple.
9705         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9706         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9707         kill_wait_spawned_process.
9708         * gdb.base/valgrind-infcall.exp: Likewise.
9709         * gdb.multi/multi-attach.exp: Likewise.
9710         * gdb.python/py-prompt.exp: Likewise.
9711         * gdb.python/py-sync-interp.exp: Likewise.
9712         * gdb.server/ext-attach.exp: Likewise.
9713         * gdb.threads/attach-into-signal.exp (corefunc): Use
9714         spawn_wait_for_attach, spawn_id_get_pid and
9715         kill_wait_spawned_process.
9716         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9717         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9718         spawn_id_get_pid and kill_wait_spawned_process.
9719         * gdb.threads/attach-stopped.exp (corefunc): Use
9720         spawn_wait_for_attach, spawn_id_get_pid and
9721         kill_wait_spawned_process.
9722         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9723         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9724         kill_wait_spawned_process instead of explicit "kill -9".
9725         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9726         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9727         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9728         processes.  Don't map cygwin/windows pids here.  Now returns a
9729         spawn id list.
9730
9731 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9732
9733         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9734         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9735         correct patch.
9736
9737 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9738
9739         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9740
9741 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9742
9743         Reapply:
9744         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9745
9746         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9747
9748 2015-07-30  Pedro Alves  <palves@redhat.com>
9749
9750         * linux-low.c (handle_extended_wait): Set the child's last
9751         reported status to TARGET_WAITKIND_STOPPED.
9752
9753 2015-07-30  Pedro Alves  <palves@redhat.com>
9754
9755         PR threads/18600
9756         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9757         only shows inferior 1.
9758
9759 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9760             Pedro Alves  <palves@redhat.com>
9761
9762         PR threads/18600
9763         * gdb.threads/fork-plus-threads.c: New file.
9764         * gdb.threads/fork-plus-threads.exp: New file.
9765
9766 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9767
9768         * gdb.base/batch-preserve-term-settings.exp
9769         (test_terminal_settings_preserved_after_cli_exit): Use
9770         send_quit_command.
9771
9772 2015-07-29  Pedro Alves  <palves@redhat.com>
9773             Don Breazeal  <donb@codesourcery.com>
9774
9775         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9776         output from both inferior_spawn_id and gdb_spawn_id.
9777
9778 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9779
9780         * gdb.threads/attach-into-signal.exp (corefunc): Use
9781         with_test_prefix on nested loops, uniquefying the test messages.
9782
9783 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9784
9785         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9786         commit.
9787
9788 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9789
9790         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9791         New proc.
9792         (test_terminal_settings_preserved_after_sigterm): New test.
9793
9794 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9795
9796         * gdb.base/batch-preserve-term-settings.exp
9797         (test_terminal_settings_preserved_after_cli_exit): New test.
9798
9799 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9800
9801         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9802         manipulation of saved_gdbflags.
9803         (test_terminal_settings_preserved): Remove global declaration of
9804         the unused variable pagination_prompt.  Remove manipulation of
9805         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9806         GDBFLAGS.
9807
9808 2015-07-29  Pedro Alves  <palves@redhat.com>
9809
9810         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9811
9812 2015-07-29  Pedro Alves  <palves@redhat.com>
9813
9814         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9815         at the top.
9816
9817 2015-07-29  Pedro Alves  <palves@redhat.com>
9818
9819         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9820         (main): Call gdb_unbuffer_output.
9821         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9822         (main): Call gdb_unbuffer_output.
9823         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9824         (main): Call gdb_unbuffer_output.
9825         * gdb.base/call-strs.exp: Adjust to step over the
9826         gdb_unbuffer_output call.
9827         * gdb.base/catch-gdb-caused-signals.c: Include
9828         "../lib/unbuffer_output.c".
9829         (main): Call gdb_unbuffer_output.
9830         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9831         (main): Call gdb_unbuffer_output.
9832         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9833         (main): Call gdb_unbuffer_output.
9834         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9835         (main): Call gdb_unbuffer_output.
9836         * gdb.base/shlib-call.exp: Adjust to step over the
9837         gdb_unbuffer_output call.
9838         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9839         (main): Call gdb_unbuffer_output.
9840         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9841         (main): Call gdb_unbuffer_output.
9842         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9843         (main): Rename to ...
9844         (test): ... this.
9845         (main): Reimplement.
9846         * gdb.base/varargs.exp: Run to test instead of to main.
9847         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9848         (main): Call gdb_unbuffer_output.
9849
9850 2015-07-29  Pedro Alves  <palves@redhat.com>
9851
9852         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9853         factore out from mi_continue_dprintf.  For call-style dprintfs,
9854         expect dprintf output out of $inferior_spawn_id.
9855         (mi_continue_dprintf): Use mi_expect_dprintf.
9856         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9857         (main): Call gdb_unbuffer_output.
9858
9859 2015-07-29  Pedro Alves  <palves@redhat.com>
9860
9861         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9862         (default_mi_gdb_start): Set inferior_spawn_id instead of
9863         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9864         gdb_spawn_id.
9865         (mi_gdb_test): Always expect inferior output from both
9866         $inferior_spawn_id and $gdb_spawn_id.
9867
9868 2015-07-29  Pedro Alves  <palves@redhat.com>
9869
9870         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9871         send_inferior and $inferior_spawn_id.
9872
9873 2015-07-29  Pedro Alves  <palves@redhat.com>
9874
9875         * gdb.gdb/complaints.exp (test_initial_complaints)
9876         (test_serial_complaints, test_short_complaints): Use
9877         gdb_test_stdio.
9878         (test_empty_complaint): Handle $inferior_spawn_id !=
9879         $gdb_spawn_id.
9880
9881 2015-07-29  Pedro Alves  <palves@redhat.com>
9882
9883         * gdb.base/varargs.exp: Use gdb_test_stdio.
9884
9885 2015-07-29  Pedro Alves  <palves@redhat.com>
9886
9887         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9888
9889 2015-07-29  Pedro Alves  <palves@redhat.com>
9890
9891         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9892
9893 2015-07-29  Pedro Alves  <palves@redhat.com>
9894
9895         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9896         parameter into two new parameters, "inf_result" and "gdb_result".
9897         Expect inferior output and gdb output from $inferior_spawn_id and
9898         $gdb_spawn_id, respectively.  Adjust all callers.
9899
9900 2015-07-29  Pedro Alves  <palves@redhat.com>
9901
9902         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9903         of gdb_test_sequence.
9904
9905 2015-07-29  Pedro Alves  <palves@redhat.com>
9906
9907         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9908         (saw_spurious_output): Expect inferior output from
9909         $inferior_spawn_id.  Use gdb_test_stdio.
9910
9911 2015-07-29  Pedro Alves  <palves@redhat.com>
9912
9913         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9914         prepare_for_testing call.
9915         (srcfile): Don't set.
9916         (restart): New procedure.
9917         (test_dprintf): New procecure, use to continue over dprintfs.
9918         (test_call, test_agent): New procedures, tests moved here.
9919         Restart gdb and recreate dprintfs.  Adjust expected output.
9920
9921 2015-07-29  Pedro Alves  <palves@redhat.com>
9922
9923         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9924
9925 2015-07-29  Pedro Alves  <palves@redhat.com>
9926
9927         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9928
9929 2015-07-29  Pedro Alves  <palves@redhat.com>
9930
9931         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9932         gdb_test_stdio.
9933
9934 2015-07-29  Pedro Alves  <palves@redhat.com>
9935
9936         * lib/gdb.exp (gdb_test_stdio): New procedure.
9937
9938 2015-07-29  Pedro Alves  <palves@redhat.com>
9939
9940         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9941
9942 2015-07-29  Pedro Alves  <palves@redhat.com>
9943
9944         * gdb.base/call-signal-resume.exp: Remove check for
9945         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9946         * gdb.base/unwindonsignal.exp: Likewise.
9947         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9948         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9949
9950 2015-07-29  Pedro Alves  <palves@redhat.com>
9951
9952         * gdb.base/siginfo-addr.c (pass): New function.
9953         (handler): Call it iff si_addr is correct.
9954         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9955         Set a breakpoint at "pass" and continue to it.
9956
9957 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9958
9959         * gdb.python/py-objfile.exp: Make some tests have unique names.
9960         * gdb.python/py-pp-registration.exp: Likewise.
9961
9962 2015-07-28  Pedro Alves  <palves@redhat.com>
9963
9964         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9965
9966 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9967
9968         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9969
9970 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9971
9972         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9973
9974 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9975
9976         * gdb.base/gdb-sigterm-2.exp: New test.
9977
9978 2015-07-25  Doug Evans  <xdje42@gmail.com>
9979
9980         Revert:
9981         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9982         (workers/%.worker, build-perf): New rule.
9983         (GDB_PERFTEST_MODE): New variable.
9984         (check-perf): Use it.
9985         (clean): Clean up gdb.perf parallel build subdirs.
9986         * lib/build-piece.exp: New file.
9987         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9988         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9989         name.
9990         (standard_temp_file): Ditto.
9991         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9992         of $GDB_PARALLEL.
9993
9994 2015-07-24  Doug Evans  <dje@google.com>
9995
9996         * gdb.perf/lib/perftest/utils.py: New file.
9997         * gdb.perf/gm-hello.cc: New file.
9998         * gdb.perf/gm-pervasive-typedef.cc: New file.
9999         * gdb.perf/gm-pervasive-typedef.h: New file.
10000         * gdb.perf/gm-std.cc: New file.
10001         * gdb.perf/gm-std.h: New file.
10002         * gdb.perf/gm-use-cerr.cc: New file.
10003         * gdb.perf/gm-utils.h: New file.
10004         * gdb.perf/gmonster-null-lookup.py: New file.
10005         * gdb.perf/gmonster-pervasive-typedef.py: New file.
10006         * gdb.perf/gmonster-print-cerr.py: New file.
10007         * gdb.perf/gmonster-ptype-string.py: New file.
10008         * gdb.perf/gmonster-runto-main.py: New file.
10009         * gdb.perf/gmonster-select-file.py: New file.
10010         * gdb.perf/gmonster1-null-lookup.exp: New file.
10011         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10012         * gdb.perf/gmonster1-print-cerr.exp: New file.
10013         * gdb.perf/gmonster1-ptype-string.exp: New file.
10014         * gdb.perf/gmonster1-runto-main.exp: New file.
10015         * gdb.perf/gmonster1-select-file.exp: New file.
10016         * gdb.perf/gmonster1.cc: New file.
10017         * gdb.perf/gmonster1.exp: New file.
10018         * gdb.perf/gmonster2-null-lookup.exp: New file.
10019         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10020         * gdb.perf/gmonster2-print-cerr.exp: New file.
10021         * gdb.perf/gmonster2-ptype-string.exp: New file.
10022         * gdb.perf/gmonster2-runto-main.exp: New file.
10023         * gdb.perf/gmonster2-select-file.exp: New file.
10024         * gdb.perf/gmonster2.cc: New file.
10025         * gdb.perf/gmonster2.exp: New file.
10026
10027 2015-07-24  Doug Evans  <dje@google.com>
10028
10029         * gdb.perf/README: New file.
10030         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10031         * lib/gen-perf-test.exp: New file.
10032
10033 2015-07-24  Doug Evans  <dje@google.com>
10034
10035         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10036         (PerfTest::startup): New function.
10037         (PerfTest::run): Return result of calling body.
10038         (PerfTest::assemble): Rewrite.
10039         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10040         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10041         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10042         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10043         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10044
10045 2015-07-24  Doug Evans  <dje@google.com>
10046
10047         * lib/gdb.exp (clean_restart): Make executable optional.
10048
10049 2015-07-24  Doug Evans  <dje@google.com>
10050
10051         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10052         compiler_info references.
10053         * gdb.cp/temargs.exp: Ditto.
10054         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10055         (get_compiler_info): Early exit if already computed.  Set compiler_info
10056         to "unknown" if there was a problem.
10057         (test_compiler_info): Add function comment.  Call get_compiler_info.
10058
10059 2015-07-24  Doug Evans  <dje@google.com>
10060
10061         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10062         (workers/%.worker, build-perf): New rule.
10063         (GDB_PERFTEST_MODE): New variable.
10064         (check-perf): Use it.
10065         (clean): Clean up gdb.perf parallel build subdirs.
10066         * lib/build-piece.exp: New file.
10067         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10068         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10069         name.
10070         (standard_temp_file): Ditto.
10071         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10072         of $GDB_PARALLEL.
10073
10074 2015-07-24  Doug Evans  <dje@google.com>
10075
10076         * lib/future.exp (gdb_default_target_compile): New option
10077         "early_flags".
10078         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10079         --as-needed.
10080
10081 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10082
10083         * gdb.base/catch-syscall.exp: Call gdb_exit before
10084         gdb_skip_xml_test.
10085
10086 2015-07-24  Pedro Alves  <palves@redhat.com>
10087
10088         * gdb.python/py-events.exp: Accept output between the stop event
10089         and the prompt.
10090         * gdb.python/py-evsignal.exp: Likewise.
10091         * gdb.python/py-evthreads.exp: Likewise.
10092
10093 2015-07-24  Pedro Alves  <palves@redhat.com>
10094
10095         PR gdb/18717
10096         * gdb.threads/non-ldr-exit.c: New file.
10097         * gdb.threads/non-ldr-exit.exp: New file.
10098
10099 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10100
10101         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10102         restarting process.
10103
10104 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10105
10106         * gdb.server/ext-restart.exp: New file.
10107
10108 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10109
10110         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10111         argument options.
10112         * gdb.server/ext-wrapper.exp: New file.
10113
10114 2015-07-23  Doug Evans  <dje@google.com>
10115
10116         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10117         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10118
10119 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10120
10121         * gdb.ada/var_arr_typedef.exp: New testcase.
10122         * gdb.ada/var_arr_typedef/pack.adb: New file.
10123         * gdb.ada/var_arr_typedef/pack.ads: New file.
10124         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10125
10126 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10127
10128         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10129
10130 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10131
10132         * gdb.arch/i386-biarch-core.exp: Replace istarget
10133         by "complete set gnutarget". Remove expectation for the "core-file"
10134         command.
10135
10136 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10137
10138         Revert the previous commit:
10139         Tests for validate symbol file using build-id.
10140
10141 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10142
10143         Tests for validate symbol file using build-id.
10144         * gdb.base/solib-mismatch-lib.c: New file.
10145         * gdb.base/solib-mismatch-libmod.c: New file.
10146         * gdb.base/solib-mismatch.c: New file.
10147         * gdb.base/solib-mismatch.exp: New file.
10148
10149 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10150
10151         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10152         nios2-*-linux*.
10153         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10154         * gdb.base/siginfo.exp: Likewise.
10155         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10156
10157 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10158
10159         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10160         Move it to ...
10161         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10162         ... here.
10163         * gdb.trace/range-stepping.exp: Check that the target supports
10164         range stepping.
10165
10166 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10167
10168         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10169
10170 2015-07-14  Pedro Alves  <palves@redhat.com>
10171
10172         * gdb.base/killed-outside.exp: New file.
10173         * gdb.base/killed-outside.c: New file.
10174
10175 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10176
10177         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10178         (n at main): New.
10179         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10180
10181 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10182
10183         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10184         infcall tests instead of setting up for KFAIL.
10185
10186 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10187
10188         * gdb.btrace/record_goto-step.exp: New.
10189
10190 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10191
10192         PR compile/18484
10193         * gdb.compile/compile.c (struct struct_type): Add volatile to
10194         selffield's type.
10195         * gdb.compile/compile.exp
10196         (compile code struct_object.selffield = &struct_object): Skip further
10197         struct_object tests if this one xfails.
10198
10199 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10200
10201         PR exp/18617
10202         * gdb.trace/ax.exp: Add test.
10203
10204 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10205
10206         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10207         instead of istarget "aarch64*-*-*".
10208         * gdb.arch/aarch64-fp.exp: Likewise.
10209         * gdb.base/float.exp: Likewise.
10210         * gdb.reverse/aarch64.exp: Likewise.
10211         * lib/gdb.exp (is_aarch64_target): New proc.
10212
10213 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10214
10215         * lib/gdb.exp (is_aarch32_target): New proc.
10216         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10217         instead of "istarget "arm*-*-*"".
10218         * gdb.arch/arm-disp-step.exp: Likewise.
10219         * gdb.arch/thumb-bx-pc.exp: Likewise.
10220         * gdb.arch/thumb-prologue.exp: Likewise.
10221         * gdb.arch/thumb-singlestep.exp: Likewise.
10222         * gdb.base/disp-step-syscall.exp: Likewise.
10223         * gdb.base/float.exp: Likewise.
10224
10225 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10226
10227         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10228         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10229
10230 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10231
10232         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10233         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10234         if it exists.
10235         * gdb.multi/multi-arch.exp: Likewise.
10236
10237 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10238
10239         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10240         print.
10241
10242 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10243
10244         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10245
10246 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10247
10248         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10249         '[' and ']' characters.
10250
10251 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10252
10253         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10254
10255 2015-06-29  Pedro Alves  <palves@redhat.com>
10256
10257         PR threads/18127
10258         * gdb.threads/hand-call-new-thread.c: New file.
10259         * gdb.threads/hand-call-new-thread.c: New file.
10260
10261 2015-06-26  Keith Seitz  <keiths@redhat.com>
10262             Doug Evans  <dje@google.com>
10263
10264         PR 16253
10265         * gdb.cp/var-tag-2.cc: New file.
10266         * gdb.cp/var-tag-3.cc: New file.
10267         * gdb.cp/var-tag-4.cc: New file.
10268         * gdb.cp/var-tag.cc: New file.
10269         * gdb.cp/var-tag.exp: New file.
10270
10271 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10272
10273         * gdb.base/history-duplicates.exp: New test.
10274
10275 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10276
10277         * gdb.base/completion.exp: Test the completion of the "focus"
10278         command.
10279
10280 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10281
10282         * gdb.arch/amd64-prologue-skip.S: New file.
10283         * gdb.arch/amd64-prologue-skip.exp: New file.
10284
10285 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10286
10287         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10288         is_address_zero_readable check.
10289
10290 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10291
10292         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10293         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10294
10295 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10296
10297         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10298         linux targets.
10299
10300 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10301
10302         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10303         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10304         * gdb.base/siginfo-thread.exp: Likewise.
10305
10306 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10307
10308         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10309
10310 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10311
10312         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10313         aarch64*-*-*.
10314         (skip_hw_watchpoint_tests): Likewise.
10315
10316 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10317
10318         * gdb.base/gdbinit-history.exp: Test the interaction between
10319         setting GDBHISTSIZE and setting the history size via .gdbinit.
10320
10321 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10322
10323         PR gdb/16999
10324         * gdb.base/gdbhistsize-history.exp: New test.
10325
10326 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10327
10328         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10329         with GDBHISTSIZE.
10330         * gdb.base/readline.exp: Likewise.
10331
10332 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10333
10334         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10335         line.
10336
10337 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10338
10339         * gdb.base/gdbinit-history.exp: Add test case to check that
10340         an unlimited history file does not get truncated on exit.
10341
10342 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10343
10344         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10345         (VECTOR): New macro.  Use it...
10346         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10347         ...for these typedefs.
10348         (int8, char1, int1, double1): New typedefs.
10349         (struct just_int2, struct two_int2): New structures.
10350         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10351         (add_structvecs, add_singlevecs): New functions.
10352         (main): Call add_some_intvecs twice.
10353         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10354         the compile and exit upon failure.  Try compiling for the "native"
10355         architecture.  Test inferior function calls with vector arguments
10356         and vector return value handling with "finish" and "return".
10357
10358 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10359
10360         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10361         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10362         PE file.
10363         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10364
10365 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10366
10367         PR breakpoints/16465
10368         * gdb.mi/mi-dprintf-pending.c: New file.
10369         * gdb.mi/mi-dprintf-pending.exp: New test.
10370         * gdb.mi/mi-dprintf-pendshr.c: New file.
10371
10372 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10373             Mircea Gherzan  <mircea.gherzan@intel.com>
10374
10375         * gdb.arch/i386-mpx-map.c: New file.
10376         * gdb.arch/i386-mpx-map.exp: New File.
10377
10378 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10379
10380         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10381         * gdb.arch/i386-mpx.exp: Indentation fixed.
10382
10383 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10384
10385         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10386         function and improved indentation.
10387         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10388         gdb_test_multiple. Added additional tests to skip the test.
10389
10390 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10391
10392         * gdb.arch/i386-avx512.c: Change path in include file.
10393         * gdb.arch/i386-avx512.exp: Change include dir path
10394         compilation flag.
10395         * gdb.arch/i386-mpx.c: Change path in include file.
10396         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10397         flag.
10398
10399 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10400
10401         * gdb.compile/compile-print.exp (compile print *vararray@3)
10402         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10403
10404 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10405
10406         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10407         (do not keep jit in memory): ... this.
10408         (expect 5): Change it to ...
10409         (expect no 5): ... this.
10410
10411 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10412
10413         PR gdb/15564
10414         * gdb.mi/mi-detach.exp: New file.
10415
10416 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10417
10418         PR symtab/18392
10419         * gdb.arch/amd64-tailcall-self.S: New file.
10420         * gdb.arch/amd64-tailcall-self.c: New file.
10421         * gdb.arch/amd64-tailcall-self.exp: New file.
10422
10423 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10424
10425         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10426         tests for remote targets by checking is_target_gdbserver.
10427
10428 2015-05-27  Doug Evans  <dje@google.com>
10429
10430         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10431         * gdb.dwarf2/opaque-type-lookup.c: New file.
10432         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10433
10434 2015-05-26  Doug Evans  <dje@google.com>
10435
10436         * gdb.cp/iostream.cc: New file.
10437         * gdb.cp/iostream.exp: New file.
10438
10439 2015-05-26  Doug Evans  <dje@google.com>
10440
10441         * gdb.dwarf2/dw2-op-call.exp: Update.
10442         * gdb.dwarf2/dw4-sig-types.exp: Update.
10443         * gdb.dwarf2/implptr.exp: Update.
10444         * gdb.mi/mi-cmd-param-changed.exp: Update.
10445
10446 2015-05-26  Doug Evans  <dje@google.com>
10447
10448         * gdb.python/py-lazy-string.c: New file.
10449         * gdb.python/py-lazy-string.exp: New file.
10450         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10451         (main): Update.  Add estring3.
10452         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10453         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10454
10455 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10456             Yao Qi  <yao.qi@linaro.org>
10457
10458         * gdb.reverse/aarch64.c: New.
10459         * gdb.reverse/aarch64.exp: New.
10460
10461 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10462
10463         * lib/gdb.exp (supports_process_record): Return true for
10464         aarch64*-linux*.
10465         (supports_reverse): Likewise.
10466
10467 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10468
10469         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10470         Use with_test_prefix.
10471
10472 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10473
10474         * gdb.base/completion.exp: Add test for completion of layout
10475         names.
10476
10477 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10478
10479         * lib/gdb.exp (skip_tui_tests): New proc.
10480         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10481
10482 2015-05-19  Pedro Alves  <palves@redhat.com>
10483
10484         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10485         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10486         the environment while testing.  Restore whole environment
10487         afterwards.
10488
10489 2015-05-16  Doug Evans  <xdje42@gmail.com>
10490
10491         * gdb.guile/scm-ports.c: New file.
10492         * gdb.guile/scm-ports.exp: Add memory port tests.
10493
10494 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10495
10496         * gdb.compile/compile-print.c: New file.
10497         * gdb.compile/compile-print.exp: New file.
10498
10499 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10500
10501         * gdb.compile/compile-ops.exp: Cast param to void.
10502         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10503         (compile code struct_object.selffield = &struct_object): Add xfail.
10504
10505 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10506
10507         * gdb.ada/arr_enum_with_gap: New testcase.
10508
10509 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10510
10511         * gdb.ada/byte_packed_arr: New testcase.
10512
10513 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10514
10515         * gdb.ada/pckd_neg: New testcase.
10516
10517 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10518
10519         PR gdb/17820
10520         * gdb.base/gdbinit-history.exp: New test.
10521         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10522         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10523
10524 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10525
10526         * gdb.python/py-xmethods.cc: Enhance test case.
10527         * gdb.python/py-xmethods.exp: New tests.
10528         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10529         function.
10530         (B_indexoper): Likewise.
10531         (global_dm_list) : Add new xmethod worker functions.
10532
10533 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10534
10535         * gdb.base/coredump-filter.exp: Correctly unset
10536         "coredump_var_addr" array.
10537
10538 2015-05-08  Pedro Alves  <palves@redhat.com>
10539
10540         * gdb.server/non-existing-program.exp: Unset spawn_id.
10541
10542 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10543
10544         PR python/18291
10545         * gdb.python/py-xmethods.exp: Add tests.
10546
10547 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10548
10549         PR gdb/18208
10550         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10551         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10552         function set_coredump_filter, and remove remote_exec call.
10553         Remove argument ipid.  Callers update.
10554         (top level): Don't get inferior's PID.
10555
10556 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10557
10558         * gdb.base/watch_thread_num.exp: Skip test on targets without
10559         access watchpoints.
10560
10561 2015-05-06  Pedro Alves  <palves@redhat.com>
10562
10563         PR server/18081
10564         * gdb.server/non-existing-program.exp: New file.
10565
10566 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10567
10568         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10569
10570 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10571
10572         * gdb.ada/out_of_line_in_inlined: New testcase.
10573
10574 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10575
10576         * gdb.ada/var_rec_arr: New testcase.
10577
10578 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10579
10580         * gdb.base/break-idempotent.exp: If
10581         skip_hw_watchpoint_multi_tests returns true, skip the tests
10582         on "rwatch" and "awatch".
10583
10584 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10585
10586         * gdb.base/relativedebug.exp: Invoke gdb command
10587         "info sharedlibrary", and if libc.so doesn't have debug info,
10588         skip the test.
10589
10590 2015-04-29  Doug Evans  <dje@google.com>
10591
10592         * gdb.python/py-xmethods.exp: Add ptype tests.
10593         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10594         get_result_type method.
10595
10596 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10597
10598         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10599         the target does not support hardware watchpoints.
10600
10601 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10602
10603         * gdb.base/break-always.exp: Abort testing if writing to memory
10604         causes an error.
10605
10606 2015-04-28  Doug Evans  <dje@google.com>
10607
10608         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10609         * gdb.python/py-pp-registration.exp: ... here.  New file.
10610         * gdb.python/py-pp-registration.c: New file.
10611         * gdb.python/py-pp-registration.py: New file.
10612
10613 2015-04-28  Doug Evans  <dje@google.com>
10614
10615         * gdb.python/py-bad-printers.c: New file.
10616         * gdb.python/py-bad-printers.py: New file.
10617         * gdb.python/py-bad-printers.exp: New file.
10618
10619 2015-04-28  Sasha Smundak  <asmundak@google.com>
10620
10621         * gdb.python/py-type.exp: New test.
10622
10623 2015-04-28  Andy Wingo  <wingo@igalia.com>
10624
10625         * gdb.python/py-parameter.exp:
10626         * gdb.guile/scm-parameter.exp: Escape the path that we are
10627         matching against, as it might contain characters that are special
10628         to regular expressions.
10629
10630 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10631
10632         * gdb.ada/rec_comp: New testcase.
10633
10634 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10635
10636         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10637         before using it.
10638
10639 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10640
10641         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10642         new tests for verilog output.
10643
10644 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10645
10646         * boards/remote-gdbserver-on-localhost.exp: New file.
10647
10648 2015-04-23  Pedro Alves  <palves@redhat.com>
10649
10650         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10651         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10652         "end of file", remove $inferior_spawn_id from the indirect list.
10653
10654 2015-04-23  Pedro Alves  <palves@redhat.com>
10655
10656         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10657
10658 2015-04-23  Pedro Alves  <palves@redhat.com>
10659
10660         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10661         on $any_spawn_id instead of only on $gdb_spawn_id.
10662
10663 2015-04-21  Pierre Muller  <muller@sourceware.org>
10664
10665         PR pascal/17815
10666         * lib/pascal.exp (gpc_compile): Add new option "class".
10667         (fpc_compile): Likewise.
10668         * gdb.pascal/case-insensitive-symbols.pas: New file.
10669         * gdb.pascal/case-insensitive-symbols.exp: New file.
10670
10671 2015-04-20  Gary Benson <gbenson@redhat.com>
10672
10673         * gdb.base/attach.exp: Fix three extended remote failures.
10674
10675 2015-04-17  Gary Benson <gbenson@redhat.com>
10676
10677         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10678         the main executable over the remote protocol.
10679
10680 2015-04-16  Pedro Alves  <palves@redhat.com>
10681
10682         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10683         a new gdbserver if gdbserver_reconnect_p is set.
10684
10685 2015-04-16  Pedro Alves  <palves@redhat.com>
10686
10687         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10688         is set, don't exit gdbserver.
10689
10690 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10691
10692         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10693         appropriate .insn, such that an older assembler can be used.
10694         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10695         the z/Architecture instruction set on 31-bit targets as well.
10696
10697 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10698
10699         * gdb.go/handcall.exp: Remove all logic related to the first
10700         breakpoint and rely on go_runto_main instead.
10701         * gdb.go/strings.exp: Likewise.
10702         * gdb.go/unsafe.exp: Likewise.
10703         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10704         breakpoint marker to "breakpoint 1".
10705         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10706         * gdb.go/strings.go: Likewise.
10707         * gdb.go/unsafe.go: Likewise.
10708         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10709         "set breakpoint 2 here" and rename the remaining breakpoint marker
10710         to "breakpoint 1".
10711
10712 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10713
10714         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10715         if itertools.imap is not present.
10716         * gdb.python/py-objfile.exp: Add parentheses.
10717         * gdb.python/py-type.exp: Same.
10718         * gdb.python/py-unwind-maint.py: Same.
10719
10720 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10721
10722         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10723         of ":$ptr_size" and set its form explicitly.
10724
10725 2015-04-15  Pedro Alves  <palves@redhat.com>
10726             Yao Qi  <yao.qi@linaro.org>
10727
10728         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10729         timeout by factor of 4.
10730         (test_regular_watch): Likewise.
10731         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10732         * gdb.reverse/sigall-reverse.exp: Likewise.
10733         * gdb.reverse/until-precsave.exp: Likewise.
10734         * lib/gdb.exp (with_timeout_factor): New proc.
10735         (gdb_expect): Move some code to ...
10736         (get_largest_timeout): ... here.  New procedure.
10737
10738 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10739
10740         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10741
10742 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10743
10744         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10745         to write to the .text section.
10746
10747 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10748
10749         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10750         Handle the case of targets that do not provide PID information.
10751
10752 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10753
10754         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10755         and use expect instead of gdb_expect.
10756
10757 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10758
10759         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10760         "coredump_var_addr" to avoid naming conflict with other testcases.
10761
10762 2015-04-10  Pedro Alves  <palves@redhat.com>
10763
10764         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10765         gdb_test_sequence and gdb_assert.
10766
10767 2015-04-10  Pedro Alves  <palves@redhat.com>
10768
10769         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10770         test messages that don't include the breakpoint address.
10771
10772 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10773
10774         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10775         false for some offset and width combinations which aren't
10776         supported by linux kernel.
10777
10778 2015-04-10  Pedro Alves  <palves@redhat.com>
10779
10780         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10781         procedure, factored out from ...
10782         (top level): ... here.  Add "set displaced-stepping" testing axis.
10783         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10784         parameter "displaced".  Use it.
10785         (top level): Use foreach and add "set displaced-stepping" testing
10786         axis.
10787
10788 2015-04-10  Pedro Alves  <palves@redhat.com>
10789
10790         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10791         Remove comment.
10792         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10793         both the address of the instruction that triggers the watchpoint
10794         and the address of the instruction immediately after, and use
10795         those addresses for the test.  Fix comment.
10796
10797 2015-04-10  Pedro Alves  <palves@redhat.com>
10798
10799         * gdb.base/sigstep.exp (breakpoint_to_handler)
10800         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10801         Test "backtrace" in handler.
10802         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10803         (top level): Add new "displaced" test axis to
10804         breakpoint_to_handler, breakpoint_to_handler_entry and
10805         breakpoint_over_handler.
10806
10807 2015-04-10  Pedro Alves  <palves@redhat.com>
10808
10809         PR gdb/18216
10810         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10811
10812 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10813
10814         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10815         (test_add_rn_pc): New function.
10816         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10817         (top level): Invoke test_add_rn_pc.
10818
10819 2015-04-10  Pedro Alves  <palves@redhat.com>
10820
10821         PR gdb/13858
10822         * gdb.base/step-over-no-symbols.exp: New file.
10823
10824 2015-04-09  Andy Wingo  <wingo@igalia.com>
10825
10826         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10827         after the Python tests.
10828
10829 2015-04-08  Keith Seitz  <keiths@redhat.com>
10830
10831         PR python/16699
10832         * gdb.python/py-completion.exp: New tests for completion.
10833         * gdb.python/py-completion.py (CompleteLimit1): New class.
10834         (CompleteLimit2): Likewise.
10835         (CompleteLimit3): Likewise.
10836         (CompleteLimit4): Likewise.
10837         (CompleteLimit5): Likewise.
10838         (CompleteLimit6): Likewise.
10839         (CompleteLimit7): Likewise.
10840
10841 2015-04-08  Pedro Alves  <palves@redhat.com>
10842
10843         PR gdb/18214
10844         PR gdb/18216
10845         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10846         function.
10847         (main): Install it as SIGUSR1 handler.
10848         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10849         parameter.  Always use "setup" as prefix.  Toggle "set
10850         displaced-stepping" off/on depending on global.  Don't switch to
10851         thread 1 here.
10852         (top level): Add displaced stepping "off/on" test axis.  Update
10853         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10854         continuing with a queued signal in each thread.
10855
10856 2015-04-08  Pedro Alves  <palves@redhat.com>
10857
10858         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10859         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10860         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10861         Return early if running to main fails.
10862         * gdb.trace/while-stepping.exp: Likewise.
10863
10864 2015-04-07  Pedro Alves  <palves@redhat.com>
10865
10866         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10867         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10868         interact with inferior program.
10869
10870 2015-04-07  Pedro Alves  <palves@redhat.com>
10871
10872         * lib/gdb.exp (inferior_spawn_id): New global.
10873         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10874         spawn id after processing the user code.
10875         (default_gdb_start): Set inferior_spawn_id.
10876         (send_inferior): New procedure.
10877         * lib/gdbserver-support.exp (gdbserver_start): Set
10878         inferior_spawn_id.
10879         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10880
10881 2015-04-07  Pedro Alves  <palves@redhat.com>
10882
10883         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10884         * lib/gdbserver-support.exp (gdbserver_start): Make
10885         $server_spawn_id global.
10886         (gdbserver_start): Don't wait for gdbserver's spawn id with
10887         expect_background.
10888         (close_gdbserver): New procedure.
10889         (gdb_exit): Rename the default version and reimplement.
10890
10891 2015-04-07  Pedro Alves  <palves@redhat.com>
10892
10893         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10894         append the substituted item, not the original item.
10895
10896 2015-04-07  Pedro Alves  <palves@redhat.com>
10897
10898         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10899         gdb_expect.
10900
10901 2015-04-07  Pedro Alves  <palves@redhat.com>
10902
10903         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10904         output appearing once only.
10905
10906 2015-04-07  Pedro Alves  <palves@redhat.com>
10907
10908         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10909         that doesn't expect anything.  Return early if running to main
10910         fails.
10911
10912 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10913
10914         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10915         (child_function): Call alarm.
10916         (main): Move call to alarm into the loop.
10917         * gdb.threads/non-stop-fair-events.exp: Build program with
10918         -DTIMEOUT=$timeout.
10919
10920 2015-04-06  Doug Evans  <xdje42@gmail.com>
10921
10922         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10923         Fix dest parameter to board_info.
10924         (fpc_compile): Ditto.
10925         (gdb_compile_pascal): Rename dest arg to destfile.
10926
10927 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10928
10929         * gdb.ada/funcall_ref.exp: New file.
10930         * gdb.ada/funcall_ref/foo.adb: New file.
10931
10932 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10933
10934         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10935         is remote.
10936
10937 2015-04-02  Gary Benson <gbenson@redhat.com>
10938
10939         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10940
10941 2015-04-01  Sasha Smundak  <asmundak@google.com>
10942
10943         * gdb.python/py-unwind-maint.c: New file.
10944         * gdb.python/py-unwind-maint.exp: New test.
10945         * gdb.python/py-unwind-maint.py: New file.
10946         * gdb.python/py-unwind.c: New file.
10947         * gdb.python/py-unwind.exp: New test.
10948         * gdb.python/py-unwind.py: New test.
10949
10950 2015-04-01  Pedro Alves  <palves@redhat.com>
10951
10952         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10953         to fail instead of non-existent $test.
10954
10955 2015-04-01  Pedro Alves  <palves@redhat.com>
10956
10957         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10958         GDBFLAGS if not empty.
10959
10960 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10961
10962         * gdb.ada/complete.exp: Remove "multi_line".
10963         * gdb.ada/info_exc.exp: Remove "multi_line".
10964         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10965         * gdb.ada/ptype_field.exp: Remove "multi_line".
10966         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10967         * gdb.ada/tagged.exp: Remove "multi_line".
10968         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10969         [multi_line ...]
10970         * gdb.btrace/delta.exp: Likewise.
10971         * gdb.btrace/exception.exp: Likewise.
10972         * gdb.btrace/function_call_history.exp: Likewise.
10973         * gdb.btrace/instruction_history.exp: Likewise.
10974         * gdb.btrace/nohist.exp: Likewise.
10975         * gdb.btrace/record_goto.exp: Likewise.
10976         * gdb.btrace/segv.exp: Likewise.
10977         * gdb.btrace/stepi.exp: Likewise.
10978         * gdb.btrace/tailcall.exp: Likewise.
10979         * gdb.btrace/unknown_functions.exp: Likewise.
10980         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10981         * lib/gdb.exp: Add the "multi_line" helper.
10982
10983 2015-04-01  Pedro Alves  <palves@redhat.com>
10984
10985         * gdb.threads/tid-reuse.c: New file.
10986         * gdb.threads/tid-reuse.exp: New file.
10987
10988 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10989
10990         PR corefiles/16092
10991         * gdb.base/coredump-filter.c: New file.
10992         * gdb.base/coredump-filter.exp: Likewise.
10993
10994 2015-03-27  Petr Machata  <pmachata@redhat.com>
10995
10996         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10997         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10998         (Dwarf::assemble): Initialize them.
10999         (Dwarf::lines): New function.
11000
11001 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
11002
11003         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11004         SYMBOL_PREFIX for x86_64-*-cygwin.
11005
11006 2015-03-26  Andy Wingo  <wingo@igalia.com>
11007
11008         PR symtab/18148
11009         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11010         const_value but not a location.
11011         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11012         location defined in non-main CUs are visible.
11013
11014 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11015
11016         PR testsuite/18139
11017         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11018         Add a line number entry for the same line.
11019         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11020         Add a line number entry for the same line.
11021
11022 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11023
11024         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11025         .int 0.
11026         (func): Likewise.  Add .Lfunc_1 label.
11027         Use .Lfunc_1 label.
11028         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11029         .int 0.
11030         (func): Likewise.
11031         Use .Lfunc_1 label.
11032
11033 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11034
11035         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11036         Call gdb_compile instead to compile each .s files without debug
11037         information.
11038
11039 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11040
11041         * gdb.base/savedregs.exp (process_saved_regs): Make
11042         "Saved registers:" optional in the pattern.
11043
11044 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11045
11046         * gdb.btrace/next.exp: Merged into step.exp.
11047         * gdb.btrace/finish.exp: Merged into step.exp.
11048         * gdb.btrace/nexti.exp: Merged into stepi.exp.
11049         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
11050         "record goto" and checking the exact replay position.
11051         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
11052         check for "Recording format" in "info record" output.
11053         * gdb.btrace/record_goto.exp: Choose test file based on target.
11054         * gdb.btrace/x86-record_goto.S: Renamed into ...
11055         * gdb.btrace/x86_64-record_goto.S: ... this.
11056         * gdb.btrace/i686-record_goto.S: New.
11057         * gdb.btrace/x86-tailcall.S: Renamed into ...
11058         * gdb.btrace/x86_64-tailcall.S: ... this.
11059         * gdb.btrace/i686-tailcall.S: New.
11060         * gdb.btrace/x86-tailcall.c: Renamed into ...
11061         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
11062         separate statements.  Update test.
11063         * gdb.btrace/delta.exp: Use record_goto.c as test file.
11064         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11065         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11066         * gdb.btrace/tailcall.exp: Choose test file based on target.
11067         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11068
11069 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11070
11071         * gdb.btrace/exception.exp: Increase BTS buffer size.
11072
11073 2015-03-24  Pedro Alves  <palves@redhat.com>
11074
11075         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11076
11077 2015-03-24  Pedro Alves  <palves@redhat.com>
11078
11079         * gdb.threads/schedlock.exp (test_step): No longer expect that
11080         "set scheduler-locking step" with "next" over a function call runs
11081         threads unlocked.
11082
11083 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11084
11085         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11086
11087 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11088
11089         PR breakpoints/16466
11090         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11091         * gdb.mi/mi-pending.c (thread_func): New function.
11092         (int main): Add threading support required.
11093         * gdb.mi/mi-pending.exp: Add tests for this issue.
11094         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11095         (pendfunc2): Remove stdio dependency.
11096         * gdb.mi/mi-pendshr2.c: New file.
11097
11098 2015-03-23  Keith Seitz  <keiths@redhat.com>
11099
11100         * gdb.linespec/keywords.c: New file.
11101         * gdb.linespec/keywords.exp: New file.
11102
11103 2015-03-23  Keith Seitz  <keiths@redhat.com>
11104
11105         PR gdb/18021
11106         * gdb.dwarf2/staticvirtual.exp: New test.
11107
11108 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11109
11110         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11111         * README: Remove HP-UX and gdb.hp.
11112         (configuration):
11113         * configure: Regenerate.
11114         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11115         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11116         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11117         gdb.hp/gdb.defects/Makefile.
11118         * gdb.hp/Makefile.in: File deleted.
11119         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11120         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11121         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11122         * gdb.hp/gdb.aCC/run.c: File deleted.
11123         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11124         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11125         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11126         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11127         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11128         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11129         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11130         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11131         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11132         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11133         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11134         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11135         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11136         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11137         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11138         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11139         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11140         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11141         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11142         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11143         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11144         * gdb.hp/gdb.compat/average.c: File deleted.
11145         * gdb.hp/gdb.compat/sum.c: File deleted.
11146         * gdb.hp/gdb.compat/xdb.c: File deleted.
11147         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11148         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11149         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11150         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11151         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11152         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11153         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11154         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11155         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11156         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11157         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11158         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11159         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11160         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11161         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11162         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11163         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11164         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11165         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11166         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11167         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11168         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11169         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11170         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11171         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11172         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11173         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11174         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11175         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11176         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11177         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11178         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11179         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11180         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11181         * gdb.hp/tools/odump: File deleted.
11182
11183 2015-03-19  Pedro Alves  <palves@redhat.com>
11184
11185         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11186         (saw_thread_3): New globals.
11187         (top level): Increment them when an event for the corresponding
11188         thread is seen.
11189         (no thread starvation): New test.
11190
11191 2015-03-19  Pedro Alves  <palves@redhat.com>
11192
11193         * gdb.threads/continue-pending-status.c: New file.
11194         * gdb.threads/continue-pending-status.exp: New file.
11195
11196 2015-03-18  Pedro Alves  <palves@redhat.com>
11197
11198         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11199         Use gdb_is_target_remote instead of is_remote.  Use
11200         gdb_test_multiple instead of gdb_expect.  Exit early if
11201         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11202         expected output.  Fail on exit with any signal, instead of just
11203         SIGILL.
11204
11205 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11206
11207         PR tdep/18107
11208         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11209         variable.
11210         * gdb.base/catch-syscall.exp: Don't skip it on
11211         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11212         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11213         target.
11214         (setup_all_syscalls): New proc.
11215
11216 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11217
11218         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11219         (top level): Skip tests if valid_addr_p returns false for
11220         $cmd1 or $cmd2.
11221
11222 2015-03-11  Andy Wingo  <wingo@igalia.com>
11223
11224         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11225
11226 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11227
11228         * gdb.base/catch-syscall.exp: Fix typo in comments.
11229
11230 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11231
11232         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11233
11234 2015-03-09  Pedro Alves  <palves@redhat.com>
11235
11236         * dg-extract-results.py: Delete.
11237
11238 2015-03-09  Pedro Alves  <palves@redhat.com>
11239
11240         Merge dg-extract-results.sh from GCC upstream (r218843).
11241
11242         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11243                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11244                 binary files.  Fall back to cat -v, if that doesn't work.
11245
11246 2015-03-05  Pedro Alves  <palves@redhat.com>
11247
11248         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11249
11250 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11251
11252         * lib/mi-support.exp (mi_expect_interrupt): Accept
11253         alternative event for when in all-stop mode.
11254
11255 2015-03-04  Pedro Alves  <palves@redhat.com>
11256
11257         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11258
11259 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11260
11261         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11262
11263 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11264
11265         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11266         regexps for GDB's current line display, accept a hex address
11267         preceding the line number.
11268
11269 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11270
11271         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11272         the 'arch1' variable for "s390*-linux*" targets.
11273
11274 2015-03-04  Pedro Alves  <palves@redhat.com>
11275
11276         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11277         (main): Pass missing retval argument to pthread_join call.
11278
11279 2015-03-02  Pedro Alves  <palves@redhat.com>
11280
11281         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11282         (top level): Call do_test with non-stop as well.
11283
11284 2015-03-02  Pedro Alves  <palves@redhat.com>
11285
11286         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11287         -1.
11288
11289 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11290
11291         * gdb.arch/s390-vregs.exp: New test.
11292         * gdb.arch/s390-vregs.S: New file.
11293
11294 2015-02-27  Pedro Alves  <palves@redhat.com>
11295
11296         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11297         call to catch_command_errors.
11298         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11299         catch_command_errors.
11300
11301 2015-02-27  Pedro Alves  <palves@redhat.com>
11302
11303         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11304         "true" for boolean result.
11305         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11306         prototype of main.
11307
11308 2015-02-27  Pedro Alves  <palves@redhat.com>
11309
11310         * lib/unbuffer_output.c: New file.
11311         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11312         (main): Call gdb_unbuffer_output.
11313
11314 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11315
11316         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11317         target.
11318
11319 2015-02-26  Doug Evans  <dje@google.com>
11320
11321         * gdb.cp/class2.cc (Dbase, D): New classes.
11322         (main): New local delta.
11323         * gdb.cp/class2.exp: Test printing delta.
11324         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11325         (dynbar): New global.
11326         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11327
11328 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11329
11330         * gdb.compile/compile-ifunc.c: New file.
11331         * gdb.compile/compile-ifunc.exp: New file.
11332
11333 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11334
11335         * gdb.base/structs.exp: Check for correct struct on finish.
11336
11337 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11338
11339         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11340         is zero.
11341
11342 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11343
11344         * gdb.arch/cordic.ko.bz2: New file.
11345         * gdb.arch/cordic.ko.debug.bz2: New file.
11346         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11347
11348 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11349
11350         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11351         aarch64*-*-* target.
11352
11353 2015-02-23  Pedro Alves  <palves@redhat.com>
11354
11355         * lib/gdb.exp (delete_breakpoints): Rewrite using
11356         gdb_test_multiple.
11357
11358 2015-02-23  Pedro Alves  <palves@redhat.com>
11359
11360         * gdb.base/info-os.c: Include stdlib.h.
11361
11362 2015-02-22  Doug Evans  <xdje42@gmail.com>
11363
11364         PR symtab/17855
11365         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11366         is read after symbols have been re-read.
11367         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11368         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11369
11370 2015-02-21  Doug Evans  <dje@google.com>
11371
11372         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11373
11374 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11375
11376         PR corefiles/17808
11377         * gdb.arch/i386-biarch-core.core.bz2: New file.
11378         * gdb.arch/i386-biarch-core.exp: New file.
11379
11380 2015-02-21  Pedro Alves  <palves@redhat.com>
11381
11382         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11383         runto_main fails.
11384
11385 2015-02-20  Pedro Alves  <palves@redhat.com>
11386
11387         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11388         info probes.
11389
11390 2015-02-20  Pedro Alves  <palves@redhat.com>
11391
11392         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11393
11394 2015-02-20  Pedro Alves  <palves@redhat.com>
11395
11396         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11397         clean_restart before gdb_target_supports_trace.
11398
11399 2015-02-20  Pedro Alves  <palves@redhat.com>
11400
11401         PR threads/18006
11402         * gdb.threads/clone-thread_db.c: New file.
11403         * gdb.threads/clone-thread_db.exp: New file.
11404
11405 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11406
11407         PR breakpoints/16812
11408         * gdb.base/catch-gdb-caused-signals.c: New file.
11409         * gdb.base/catch-gdb-caused-signals.exp: New file.
11410
11411 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11412
11413         * configure: Regenerated.
11414         * configure.ac: Use GDB_AC_TRANSFORM.
11415         * aclocal.m4: sinclude ../transform.m4.
11416
11417 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11418
11419         * lib/dtrace.exp: New file.
11420         * gdb.base/dtrace-probe.exp: Likewise.
11421         * gdb.base/dtrace-probe.d: Likewise.
11422         * gdb.base/dtrace-probe.c: Likewise.
11423         * lib/pdtrace.in: Likewise.
11424         * configure.ac: Output variables with the transformed names of
11425         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11426         * configure: Regenerated.
11427
11428 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11429
11430         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11431         expected message when trying to access $_probe_* convenience
11432         variables while not on a probe.
11433
11434 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11435
11436         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11437
11438 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11439
11440         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11441         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11442
11443 2015-02-10  Doug Evans  <xdje42@gmail.com>
11444
11445         * lib/gdb.exp (gdb_load): Always return a result.
11446
11447 2015-02-10  Pedro Alves  <palves@redhat.com>
11448
11449         * gdb.threads/signal-sigtrap.c: New file.
11450         * gdb.threads/signal-sigtrap.exp: New file.
11451
11452 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11453
11454         * gdb.trace/no-attach-trace.c: New file.
11455         * gdb.trace/no-attach-trace.exp: New file.
11456
11457 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11458
11459         * gdb.dwarf2/atomic.c: New file.
11460         * gdb.dwarf2/atomic-type.exp: Likewise.
11461
11462 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11463
11464         * gdb.btrace/buffer-size.exp: Update "info record" output.
11465         * gdb.btrace/delta.exp: Update "info record" output.
11466         * gdb.btrace/enable.exp: Update "info record" output.
11467         * gdb.btrace/finish.exp: Update "info record" output.
11468         * gdb.btrace/instruction_history.exp: Update "info record" output.
11469         * gdb.btrace/next.exp: Update "info record" output.
11470         * gdb.btrace/nexti.exp: Update "info record" output.
11471         * gdb.btrace/step.exp: Update "info record" output.
11472         * gdb.btrace/stepi.exp: Update "info record" output.
11473         * gdb.btrace/nohist.exp: Update "info record" output.
11474
11475 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11476
11477         * gdb.btrace/buffer-size: New.
11478
11479 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11480
11481         * gdb.btrace/delta.exp: Update "info record" output.
11482         * gdb.btrace/enable.exp: Update "info record" output.
11483         * gdb.btrace/finish.exp: Update "info record" output.
11484         * gdb.btrace/instruction_history.exp: Update "info record" output.
11485         * gdb.btrace/next.exp: Update "info record" output.
11486         * gdb.btrace/nexti.exp: Update "info record" output.
11487         * gdb.btrace/step.exp: Update "info record" output.
11488         * gdb.btrace/stepi.exp: Update "info record" output.
11489         * gdb.btrace/nohist.exp: Update "info record" output.
11490
11491 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11492
11493         PR gdb/15678
11494         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11495
11496 2015-02-06  Pedro Alves  <palves@redhat.com>
11497
11498         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11499         macro.
11500         (seconds_left, again): New globals.
11501         (main): Wait seconds_left in a 1-second sleep loop instead of
11502         sleeping 180 seconds.  If 'again' is set, reset the seconds
11503         counter.
11504         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11505         'again' in the inferior before detaching.  Print the seconds left.
11506         (options): New global.
11507         (top level): Build program with -DTIMEOUT=$timeout.
11508
11509 2015-02-06  Pedro Alves  <palves@redhat.com>
11510
11511         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11512         determine how many seconds to pass to 'alarm'.
11513         * gdb.base/gdb-sigterm.exp (top level): Build program with
11514         -DTIMEOUT=$timeout.
11515         (do_test): Return success/failure indication.  Add more verbose
11516         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11517         when the test times out.
11518         (passes): New global.
11519         (top level): Break the testing loop if testing fails on any
11520         iteration.  Use gdb_assert.
11521
11522 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11523
11524         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11525         and initialize them.
11526         (ipc_cleanup): New function.
11527         (main): Don't declare shmid, semid, and msqid.  Add a call to
11528         atexit so that we call ipc_cleanup on exit.
11529
11530 2015-02-04  Pedro Alves  <palves@redhat.com>
11531
11532         * boards/native-extended-gdbserver.exp: Remove any target variant
11533         specifications from the board name before clearing the isremote
11534         flag from board_info.
11535
11536 2015-01-31  Doug Evans  <xdje42@gmail.com>
11537
11538         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11539
11540 2015-01-31  Gary Benson <gbenson@redhat.com>
11541
11542         * gdb.base/completion.exp: Disable completion limiting for
11543         existing tests.  Add new tests to check completion limiting.
11544         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11545
11546 2015-01-31  Doug Evans  <xdje42@gmail.com>
11547
11548         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11549
11550 2015-01-31  Doug Evans  <xdje42@gmail.com>
11551
11552         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11553         entries.  Duplicate file section script entries.
11554         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11555         inlined entries.  Add test for safe-path rejection.
11556         * gdb.python/py-section-script.c: Add duplicate inlined section script
11557         entries.  Duplicate file section script entries.
11558         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11559         inlined entries.  Add test for safe-path rejection.
11560
11561 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11562
11563         * gdb.ada/disc_arr_bound: New testcase.
11564
11565 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11566
11567         * gdb.ada/mi_var_array: New testcase.
11568
11569 2015-01-27  Doug Evans  <dje@google.com>
11570
11571         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11572         Add test for objfile.filename, objfile.username after objfile
11573         has been unloaded.
11574
11575 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11576
11577         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11578         the second test to print the name attribute of value
11579         returned by the call to gdb.lookup_type, and adjust
11580         the expected output accordingly.
11581
11582 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11583
11584         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11585         * gdb.base/disp-step-fork.c: Include unistd.h.
11586         * gdb.base/siginfo-obj.c: Include stdio.h.
11587         * gdb.base/siginfo-thread.c: Likewise.
11588         * gdb.mi/non-stop.c: Include unistd.h.
11589         * gdb.mi/nsthrexec.c: Include stdio.h.
11590         * gdb.mi/pthreads.c: Include unistd.h.
11591         * gdb.modula2/unbounded1.c (main): Declare returns int.
11592         * gdb.reverse/consecutive-reverse.c: Likewise.
11593         * gdb.threads/create-fail.c: Include unistd.h.
11594         * gdb.threads/killed.c: Likewise.
11595         * gdb.threads/linux-dp.c: Likewise.
11596         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11597         * gdb.threads/non-ldr-exc-2.c: Likewise.
11598         * gdb.threads/non-ldr-exc-3.c: Likewise.
11599         * gdb.threads/non-ldr-exc-4.c: Likewise.
11600         * gdb.threads/pthreads.c: Include unistd.h.
11601         (main): Declare returns int.
11602         * gdb.threads/tls-main.c (foo): New declaration.
11603         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11604
11605 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11606
11607         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11608         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11609
11610 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11611
11612         * gdb.base/noreturn-return.c: New file.
11613         * gdb.base/noreturn-return.exp: New file.
11614         * gdb.base/noreturn-finish.c: New file.
11615         * gdb.base/noreturn-finish.exp: New file.
11616
11617 2015-01-23  Pedro Alves  <palves@redhat.com>
11618
11619         * gdb.threads/continue-pending-after-query.c: New file.
11620         * gdb.threads/continue-pending-after-query.exp: New file.
11621
11622 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11623             Simon Marchi  <simon.marchi@ericsson.com>
11624
11625         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11626         * gdb.base/valgrind-db-attach.exp: Same.
11627         * gdb.base/valgrind-infcall.exp: Same.
11628         * lib/mi-support.exp (default_mi_gdb_start): Same.
11629         * lib/prompt.exp (default_prompt_gdb_start): Same.
11630         * lib/gdb.exp (default_gdb_spawn): Same.
11631         (gdb_interact): New.
11632
11633
11634 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11635
11636         * gdb.compile/compile.exp (pointer to jit function): New test.
11637
11638 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11639
11640         * lib/gdb.exp (supports_process_record): Return true for
11641         powerpc*-*-linux*.
11642         (supports_reverse): Likewise.
11643
11644 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11645
11646         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11647         instead of checking whether the target board is remote and
11648         use spawn_wait_for_attach instead of exec/sleep.
11649         * gdb.base/attach-twice.exp: Likewise.
11650
11651 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11652
11653         * gdb.ada/var_arr_attrs: New testcase.
11654
11655 2015-01-14  Pedro Alves  <palves@redhat.com>
11656             Joel Brobecker  <brobecker@adacore.com>
11657
11658         PR gdb/17525
11659         * gdb.base/bp-cmds-execution-x-script.c: New file.
11660         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11661         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11662
11663 2015-01-14  Pedro Alves  <palves@redhat.com>
11664
11665         PR cli/17828
11666         * gdb.base/batch-preserve-term-settings.c: New file.
11667         * gdb.base/batch-preserve-term-settings.exp: New file.
11668
11669 2015-01-13  Doug Evans  <dje@google.com>
11670
11671         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11672         binary.
11673
11674 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11675
11676         * Makefile.in (clean mostlyclean): Do not delete *.py.
11677
11678 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11679
11680         * gdb.python/py-lookup-type.exp: New file.
11681
11682 2015-01-12  Pedro Alves  <palves@redhat.com>
11683
11684         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11685         restore GDBFLAGS before returning.
11686
11687 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11688
11689         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11690         is_amd64_regs_target and is_x86_like_target.
11691
11692 2015-01-11  Doug Evans  <xdje42@gmail.com>
11693
11694         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11695         is given without an explicit form.
11696         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11697         attributes.
11698         * gdb.dwarf/corrupt.exp: Ditto.
11699         * gdb.dwarf2/enum-type.exp: Ditto.
11700         * gdb.trace/entry-values.exp: Ditto.
11701         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11702
11703 2015-01-11  Doug Evans  <xdje42@gmail.com>
11704
11705         PR gdb/15830
11706         * gdb.base/maint.exp: Remove references to "maint demangle".
11707         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11708         Add tests for explicitly specifying language to demangle.
11709         * gdb.dlang/demangle.exp: Ditto.
11710
11711 2015-01-09  Pedro Alves  <palves@redhat.com>
11712
11713         * gdb.threads/non-stop-fair-events.c: New file.
11714         * gdb.threads/non-stop-fair-events.exp: New file.
11715
11716 2015-01-09  Pedro Alves  <palves@redhat.com>
11717
11718         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11719         the global scope.  Set a breakpoint after all threads are started
11720         rather than stepping over two source lines.  Expect the prompt.
11721         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11722         global.
11723         (NUM): Now 15.
11724         (main): Use threads_started_barrier to wait for all threads to
11725         start.  Main thread no longer calls thread_function.  Exit after
11726         180 seconds.
11727         (loop): New function.
11728         (thread_function): Wait on threads_started_barrier barrier.  Call
11729         'loop' at each iteration.
11730         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11731         threads have started, instead of hardcoding number of "next"
11732         steps.  Use an access watchpoint instead of a write watchpoint.
11733
11734 2015-01-09  Pedro Alves  <palves@redhat.com>
11735
11736         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11737         (thread_func): Wait on barrier.
11738         (main): Wait for all threads to start before stopping GDB.
11739         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11740         global.
11741         (thread1_func, thread2_func): Wait on barrier.
11742         (main): Wait for all threads to start before stopping GDB.
11743         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11744         New global.
11745         (thread1_func, thread2_func): Wait on barrier.
11746         (main): Wait for all threads to start before stopping GDB.
11747
11748 2015-01-09  Pedro Alves  <palves@redhat.com>
11749
11750         * gdb.threads/attach-many-short-lived-threads.c: New file.
11751         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11752
11753 2014-01-09  Pedro Alves  <palves@redhat.com>
11754
11755         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11756         instead of to thread 2.
11757         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11758         Add barrier around each pthread_create call instead of around all
11759         calls.
11760         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11761         Set a break on thread_function and have the child threads hit it
11762         one at at a time.
11763
11764 2015-01-09  Pedro Alves  <palves@redhat.com>
11765
11766         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11767         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11768         false.
11769         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11770         checking whether the target board is remote.
11771         * gdb.multi/multi-attach.exp: Likewise.
11772         * gdb.python/py-sync-interp.exp: Likewise.
11773         * gdb.server/ext-attach.exp: Likewise.
11774         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11775         tests that need to attach, instead of checking whether the target
11776         board is remote at the top of the file.
11777
11778 2015-01-08  Yao Qi  <yao@codesourcery.com>
11779
11780         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11781
11782 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11783
11784         Fix testcase compilation.
11785         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11786
11787 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11788
11789         * gdb.python/py-type.exp: Add a couple test about empty
11790         array creation, and negative-length array creation.
11791
11792 2015-01-02  Doug Evans  <xdje42@gmail.com>
11793
11794         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11795
11796 2015-01-02  Doug Evans  <dje@google.com>
11797
11798         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11799
11800 2014-12-29  Yao Qi  <yao@codesourcery.com>
11801
11802         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11803         bar_call_foo to returned_from_foo.
11804
11805 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11806
11807         PR gdb/17394
11808         * gdb.linespec/break-asm-file.c: New file.
11809         * gdb.linespec/break-asm-file.exp: New file.
11810         * gdb.linespec/break-asm-file0.s: New file.
11811         * gdb.linespec/break-asm-file1.s: New file.
11812
11813 2014-12-18  Nigel Stephens  <nigel@mips.com>
11814             Maciej W. Rozycki  <macro@codesourcery.com>
11815
11816         * gdb.base/float.exp: Handle the new output from "info float" on
11817         MIPS targets.
11818
11819 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11820
11821         Fix MinGW compilation.
11822         * gdb.compile/compile-ops.exp: Update untested message if
11823         !skip_compile_feature_tests.
11824         * gdb.compile/compile-setjmp.exp: Likewise.
11825         * gdb.compile/compile-tls.exp: Likewise.
11826         * gdb.compile/compile.exp: Likewise.
11827         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11828         supported on this host".
11829
11830 2014-12-16  Doug Evans  <xdje42@gmail.com>
11831
11832         * boards/stabs.exp: New file.
11833
11834 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11835
11836         * gdb.base/completion.exp: Adjust to format changes of "maint
11837         print user-registers".
11838
11839 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11840
11841         PR server/17457
11842         * gdb.arch/aarch64-fp.c: New file.
11843         * gdb.arch/aarch64-fp.exp: New file.
11844
11845 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11846
11847         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11848         r210637, r210913, r211666, r215400, r215817).
11849
11850         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11851                 * dg-extract-results.py: New file.
11852                 * dg-extract-results.sh: Use it if the environment seems
11853                 suitable.
11854
11855         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11856
11857                 * dg-extract-results.py (parse_run): Handle warnings that
11858                 are printed before a test harness is run.
11859
11860         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11861
11862                 * dg-extract-results.py (Named): Remove __cmp__ method.
11863                 (output_variation): Use a key to sort variation.harnesses.
11864
11865         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11866
11867                 * dg-extract-results.py: For Python 3, force sys.stdout to
11868                 handle surrogate escape sequences.
11869                 (safe_open): New function.
11870                 (output_segment, main): Use it.
11871
11872         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11873
11874                 * dg-extract-results.py (Prog.result_re): Include options
11875                 in test name.
11876
11877         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11878
11879                 * dg-extract-results.py (output_variation): Always sort if
11880                 do_sum.
11881
11882 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11883
11884         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11885         as long as we get pagination notifications.
11886
11887 2014-12-15  Jason Merrill  <jason@redhat.com>
11888
11889         * Makefile.in (check-gdb.%): Restore.
11890         * README: Mention it.
11891
11892 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11893
11894         * gdb.ada/str_uninit: New testcase.
11895
11896 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11897
11898         PR symtab/17642
11899         * gdb.base/vla-stub-define.c: New file.
11900         * gdb.base/vla-stub.c: New file.
11901         * gdb.base/vla-stub.exp: New file.
11902
11903 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11904             Jan Kratochvil  <jan.kratochvil@redhat.com>
11905             Tom Tromey  <tromey@redhat.com>
11906
11907         * configure.ac: Add gdb.compile/.
11908         * configure: Regenerate.
11909         * gdb.compile/Makefile.in: New file.
11910         * gdb.compile/compile-ops.exp: New file.
11911         * gdb.compile/compile-ops.c: New file.
11912         * gdb.compile/compile-tls.c: New file.
11913         * gdb.compile/compile-tls.exp: New file.
11914         * gdb.compile/compile-constvar.S: New file.
11915         * gdb.compile/compile-constvar.c: New file.
11916         * gdb.compile/compile-mod.c: New file.
11917         * gdb.compile/compile-nodebug.c: New file.
11918         * gdb.compile/compile-setjmp-mod.c: New file.
11919         * gdb.compile/compile-setjmp.c: New file.
11920         * gdb.compile/compile-setjmp.exp: New file.
11921         * gdb.compile/compile-shlib.c: New file.
11922         * gdb.compile/compile.c: New file.
11923         * gdb.compile/compile.exp: New file.
11924         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11925
11926 2014-12-12  Tom Tromey  <tromey@redhat.com>
11927
11928         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11929         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11930
11931 2014-12-12  Doug Evans  <dje@google.com>
11932
11933         * lib/gdb-python.exp (get_python_valueof): New function.
11934         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11935
11936 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11937
11938         * gdb.base/completion.exp: Add test for completion of "info
11939         registers ".
11940
11941 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11942
11943         * gdb.base/func-ptrs.c: New file.
11944         * gdb.base/func-ptrs.exp: New file.
11945
11946 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11947
11948         PR breakpoints/17012
11949         * gdb.base/dprintf-detach.c: New file.
11950         * gdb.base/dprintf-detach.exp: New file.
11951
11952 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11953
11954         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11955         * lib/gdb.exp (target_is_gdbserver): New procedure.
11956
11957 2014-12-08  Doug Evans  <dje@google.com>
11958
11959         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11960
11961 2014-12-05  Yao Qi  <yao@codesourcery.com>
11962
11963         * gdb.guile/scm-error.exp: Remove the third argument to
11964         gdb_remote_download.
11965         * gdb.guile/scm-frame-args.exp: Likewise.
11966         * gdb.guile/scm-section-script.exp: Likewise.
11967
11968 2014-12-05  Yao Qi  <yao@codesourcery.com>
11969
11970         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11971
11972 2014-12-04  Doug Evans  <dje@google.com>
11973
11974         * gdb.python/py-objfile.exp: Add tests for
11975         objfile.add_separate_debug_file.
11976
11977 2014-12-04  Doug Evans  <dje@google.com>
11978
11979         * lib/gdb.exp (get_build_id): New function.
11980         (build_id_debug_filename_get): Rewrite to use it.
11981         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11982
11983 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11984
11985         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11986         `method(long)', not just 0x0.
11987         * gdb.cp/nsalias.exp: Align code labels to 4.
11988         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11989         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11990         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11991         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11992         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11993         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11994
11995 2014-12-02  Doug Evans  <dje@google.com>
11996
11997         PR symtab/17602
11998         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11999         * gdb.cp/anon-ns2.cc: ... here.  New file.
12000         * gdb.cp/anon-ns.exp: Update.
12001
12002 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
12003
12004         * gdb.python/py-events.py (inferior_call_handler): New.
12005         (register_changed_handler, memory_changed_handler): New.
12006         (test_events.invoke): Register new handlers.
12007         * gdb.python/py-events.exp: Add tests for inferior call,
12008         memory_changed and register_changed events.
12009
12010 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12011
12012         * gdb.base/execl-update-breakpoints.exp: Specify the link address
12013         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
12014         if the linker doesn't understand this.
12015
12016 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
12017
12018         * gdb.python/python.exp: Change expected reply to help().
12019
12020 2014-12-01  Yao Qi  <yao@codesourcery.com>
12021
12022         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
12023         AC_CONFIG_SUBDIRS(gdb.gdbtk).
12024         * configure: Re-generated.
12025
12026 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
12027
12028         * gdb.cp/chained-calls.cc: New file.
12029         * gdb.cp/chained-calls.exp: New file.
12030         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12031
12032 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
12033
12034         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12035         * gdb.dwarf2/symtab-producer.exp: Same.
12036         * gdb.gdb/python-interrupts.exp: Same.
12037         * gdb.gdb/python-selftest.exp: Same.
12038         * gdb.python/py-linetable.exp: Same.
12039         * gdb.python/py-type.exp: Same.
12040         * gdb.python/py-value-cc.exp: Same.
12041         * gdb.python/py-value.exp: Same.
12042
12043 2014-11-28  Yao Qi  <yao@codesourcery.com>
12044
12045         * gdb.base/break-probes.exp: Match library name prefixed with
12046         sysroot.
12047
12048 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
12049
12050         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12051         test expected output.  Add parentheses for the call to print.
12052         Remove L suffix from integers.
12053
12054 2014-11-26  Doug Evans  <dje@google.com>
12055
12056         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12057
12058 2014-11-22  Yao Qi  <yao@codesourcery.com>
12059
12060         * gdb.trace/entry-values.c: Remove asms.
12061         (foo): Add foo_label.
12062         (bar): Add bar_label.
12063         * gdb.trace/entry-values.exp: Remove code computing  foo's
12064         length and bar's length.
12065         (Dwarf::assemble): Invoke function_range for bar and use
12066         MACRO_AT_func for foo.
12067
12068 2014-11-22  Yao Qi  <yao@codesourcery.com>
12069
12070         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12071         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12072         Use .Lgcc43_procstart instead of gcc43.
12073
12074 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12075
12076         * gdb.ada/n_arr_bound: New testcase.
12077
12078 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12079
12080         PR breakpoints/10737
12081         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12082         test_catch_syscall_multi_arch.
12083         (test_catch_syscall_multi_arch): New function.
12084
12085 2014-11-20  Doug Evans  <xdje42@gmail.com>
12086
12087         * gdb.base/maint.exp: Update expected output.
12088
12089 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12090
12091         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12092         4-byte instruction on S390.
12093
12094 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12095
12096         * gdb.ada/arr_arr: New testcase.
12097
12098 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12099
12100         * gdb.ada/pkd_arr_elem: New Testcase.
12101
12102 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12103
12104         * gdb.reverse/break-precsave: Expect completion message for
12105         core file reads.
12106         * gdb.reverse/consecutive-precsave.exp: Likewise.
12107         * gdb.reverse/finish-precsave.exp: Likewise.
12108         * gdb.reverse/i386-precsave.exp: Likewise.
12109         * gdb.reverse/machinestate-precsave.exp: Likewise.
12110         * gdb.reverse/sigall-precsave.exp: Likewise.
12111         * gdb.reverse/solib-precsave.exp: Likewise.
12112         * gdb.reverse/step-precsave.exp: Likewise.
12113         * gdb.reverse/until-precsave.exp: Likewise.
12114         * gdb.reverse/watch-precsave.exp: Likewise.
12115
12116 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12117
12118         * gdb.base/bp-permanent.c: Include unistd.h.
12119         * gdb.python/py-framefilter-mi.c (main): Add return type.
12120         * gdb.python/py-framefilter.c (main): Likewise.
12121         * gdb.trace/actions-changed.c (main): Likewise.
12122
12123 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12124
12125         * gdb.mi/until.c: Add eye-catchers.
12126         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12127         line numbers.
12128
12129 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12130
12131         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12132         function header variants in break1.c.
12133         * gdb.base/ena-dis-br.exp: Likewise.
12134         * gdb.base/hbreak2.exp: Likewise.
12135         * gdb.reverse/until-precsave.exp: Drop references to removed
12136         non-prototype function header variants in ur1.c.
12137         * gdb.reverse/until-reverse.exp: Likewise.
12138
12139 2014-11-17  Petr Machata  <pmachata@redhat.com>
12140
12141         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12142         ${_cu_offset_size} bytes abbrev offset.
12143
12144 2014-11-15  Doug Evans  <xdje42@gmail.com>
12145
12146         PR symtab/17559
12147         * gdb.base/line-symtabs.exp: New file.
12148         * gdb.base/line-symtabs.c: New file.
12149         * gdb.base/line-symtabs.h: New file.
12150
12151 2014-11-14  Yao Qi  <yao@codesourcery.com>
12152
12153         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12154         (func): Add label func_label.
12155         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12156         Replace low_pc and high_pc with MACRO_AT_range.
12157         Replace name, low_pc and high_pc with MACRO_AT_func.
12158
12159 2014-11-14  Yao Qi  <yao@codesourcery.com>
12160
12161         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12162         Replace name, low_pc and high_pc with MACRO_AT_func.
12163
12164 2014-11-14  Yao Qi  <yao@codesourcery.com>
12165
12166         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12167         produce debug information.
12168         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12169
12170 2014-11-14  Yao Qi  <yao@codesourcery.com>
12171
12172         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12173         object and get function length.
12174         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12175         with MACRO_AT_func.
12176         (top-level): Replace gdb_compile and clean_restart with
12177         prepare_for_testing.
12178         * gdb.dwarf2/main.c (main): Add label main_label.
12179
12180 2014-11-14  Yao Qi  <yao@codesourcery.com>
12181
12182         * lib/dwarf.exp (function_range): New procedure.
12183         (Dwarf::_handle_macro_at_func): New procedure.
12184         (Dwarf::_handle_macro_at_range): New procedure.
12185         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12186
12187 2014-11-14  Yao Qi  <yao@codesourcery.com>
12188
12189         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12190         (_handle_attribute): New procedure.
12191
12192 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12193
12194         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12195         * gdb.base/call-sc.c (zed): Likewise.
12196         * gdb.base/checkpoint.c (main): Likewise.
12197         * gdb.base/dump.c (main): Likewise.
12198         * gdb.base/gcore.c (main): Likewise.
12199         * gdb.base/huge.c (main): Likewise.
12200         * gdb.base/multi-forks.c (main): Likewise.
12201         * gdb.base/pr10179-a.c (main): Likewise.
12202         * gdb.base/savedregs.c (main): Likewise.
12203         * gdb.base/sigaltstack.c (main): Likewise.
12204         * gdb.base/siginfo.c (main): Likewise.
12205         * gdb.base/structs.c (zed): Likewise.
12206         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12207         * gdb.mi/mi-syn-frame.c (main): Likewise.
12208         * gdb.mi/until.c (foo, main): Likewise.
12209         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12210         * gdb.base/solib-weak.c (foo): Declare.
12211         * gdb.base/attach-twice.c: Include stdio.h.
12212         * gdb.base/weaklib1.c: Likewise.
12213         * gdb.base/weaklib2.c: Likewise.
12214         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12215         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12216         unistd.h.
12217         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12218         * gdb.mi/mi-exit-code.c: Likewise.
12219         * gdb.base/break-interp-lib.c: Include string.h.
12220         * gdb.base/coremaker.c: Likewise.
12221         * gdb.base/testenv.c: Likewise.
12222         * gdb.python/py-finish-breakpoint.c: Likewise.
12223         * gdb.base/inferior-died.c: Include sys/wait.h.
12224         * gdb.base/fileio.c: Include time.h.
12225         * gdb.base/async-shell.c: Include unistd.h.
12226         * gdb.base/dprintf-non-stop.c: Likewise.
12227         * gdb.base/info-os.c: Likewise.
12228         * gdb.mi/mi-console.c: Likewise.
12229         * gdb.mi/watch-nonstop.c: Likewise.
12230         * gdb.python/py-events.c: Likewise.
12231         * gdb.base/async.c (baz): Move up before its invocation.
12232         * gdb.base/code_elim2.c (my_global_func): Likewise.
12233         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12234         * gdb.base/advance.c (func2): Likewise.
12235
12236 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12237
12238         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12239         variant.
12240         * gdb.base/annota3.c: Likewise.
12241         * gdb.base/async.c: Likewise.
12242         * gdb.base/average.c: Likewise.
12243         * gdb.base/call-ar-st.c: Likewise.
12244         * gdb.base/call-rt-st.c: Likewise.
12245         * gdb.base/call-sc.c: Likewise.
12246         * gdb.base/call-strs.c: Likewise.
12247         * gdb.base/ending-run.c: Likewise.
12248         * gdb.base/execd-prog.c: Likewise.
12249         * gdb.base/exprs.c: Likewise.
12250         * gdb.base/foll-exec.c: Likewise.
12251         * gdb.base/foll-fork.c: Likewise.
12252         * gdb.base/foll-vfork.c: Likewise.
12253         * gdb.base/funcargs.c: Likewise.
12254         * gdb.base/gcore.c: Likewise.
12255         * gdb.base/jump.c: Likewise.
12256         * gdb.base/langs0.c: Likewise.
12257         * gdb.base/langs1.c: Likewise.
12258         * gdb.base/langs2.c: Likewise.
12259         * gdb.base/mips_pro.c: Likewise.
12260         * gdb.base/nodebug.c: Likewise.
12261         * gdb.base/opaque0.c: Likewise.
12262         * gdb.base/opaque1.c: Likewise.
12263         * gdb.base/recurse.c: Likewise.
12264         * gdb.base/run.c: Likewise.
12265         * gdb.base/scope0.c: Likewise.
12266         * gdb.base/scope1.c: Likewise.
12267         * gdb.base/setshow.c: Likewise.
12268         * gdb.base/setvar.c: Likewise.
12269         * gdb.base/shmain.c: Likewise.
12270         * gdb.base/shr1.c: Likewise.
12271         * gdb.base/shr2.c: Likewise.
12272         * gdb.base/sigall.c: Likewise.
12273         * gdb.base/signals.c: Likewise.
12274         * gdb.base/so-indr-cl.c: Likewise.
12275         * gdb.base/solib2.c: Likewise.
12276         * gdb.base/structs.c: Likewise.
12277         * gdb.base/sum.c: Likewise.
12278         * gdb.base/vforked-prog.c: Likewise.
12279         * gdb.base/watchpoint.c: Likewise.
12280         * gdb.reverse/shr2.c: Likewise.
12281         * gdb.reverse/until-reverse.c: Likewise.
12282         * gdb.reverse/ur1.c: Likewise.
12283         * gdb.reverse/watch-reverse.c: Likewise.
12284
12285 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12286
12287         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12288         variant.
12289         * gdb.base/sepdebug.exp: Drop references to removed code.
12290
12291 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12292
12293         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12294         variant.  Preserve original line numbering.
12295         * gdb.base/list1.c: Likewise.
12296
12297 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12298
12299         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12300         variant.
12301         * gdb.base/break1.c: Likewise.
12302         * gdb.base/break.exp: Drop references to removed code.
12303
12304 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12305
12306         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12307         variant.
12308
12309 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12310
12311         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12312
12313 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12314
12315         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12316         logic into perform_all_tests() and invoke it with and without
12317         function header prototypes.
12318         (do_function_calls): Remove conditional XFAIL for PR 5318.
12319         (rerun_and_prepare): Remove duplicate code.
12320         (perform_all_tests): New.  Main logic moved here.
12321
12322 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12323
12324         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12325         code guarded by #ifdef NO_PROTOTYPES.
12326         (t_double_many_args): Likewise.
12327         (DEF_FUNC_MANY_ARGS_1): Likewise.
12328         (DEF_FUNC_VALUES_1): Likewise.
12329         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12330         guarded by #ifdef PROTOTYPES.
12331
12332 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12333
12334         * gdb.mi/mi-console.c: Add eye-catcher.
12335         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12336         instead of literal line number.
12337
12338 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12339
12340         * gdb.base/shr2.c: Add eye-catcher.
12341         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12342         line number.
12343
12344 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12345
12346         * gdb.base/jump.c: Add eye-catchers.
12347         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12348         numbers.
12349
12350 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12351
12352         * gdb.base/execd-prog.c: Add eye-catchers.
12353         * gdb.base/foll-exec.c: Likewise.
12354         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12355         line numbers.
12356
12357 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12358
12359         * gdb.base/ending-run.c: Add eye-catchers.
12360         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12361         literal line numbers.
12362
12363 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12364
12365         * gdb.base/call-rt-st.c: Add eye-catchers.
12366         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12367         literal line numbers.
12368
12369 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12370
12371         * gdb.base/call-ar-st.c: Add eye-catchers.
12372         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12373         literal line numbers.
12374
12375 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12376
12377         * gdb.base/average.c: Add eye-catchers.
12378         * gdb.base/sum.c: Likewise.
12379         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12380         regexps dynamically.
12381
12382 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12383
12384         * gdb.base/solib1.c: Add eye-catchers.
12385         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12386         literal line numbers.
12387
12388 2014-11-12  Pedro Alves  <palves@redhat.com>
12389
12390         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12391         leader has exited.
12392
12393 2014-11-12  Pedro Alves  <palves@redhat.com>
12394
12395         * gdb.arch/i386-bp_permanent.c: New file.
12396         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12397         (srcfile): Set to i386-bp_permanent.c.
12398         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12399         that stepi does not execute the 'leave' instruction, instead of
12400         testing it does execute.
12401         * gdb.base/bp-permanent.c: New file.
12402         * gdb.base/bp-permanent.exp: New file.
12403
12404 2014-11-10  Doug Evans  <xdje42@gmail.com>
12405
12406         PR symtab/17564
12407         * gdb.base/symtab-search-order.exp: New file.
12408         * gdb.base/symtab-search-order.c: New file.
12409         * gdb.base/symtab-search-order-1.c: New file.
12410         * gdb.base/symtab-search-order-shlib-1.c: New file.
12411
12412 2014-11-07  Pedro Alves  <palves@redhat.com>
12413
12414         PR gdb/17511
12415         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12416         i?86-*-linux*.
12417
12418 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12419
12420         PR c++/17494
12421         * gdb.cp/pr17494.cc: New file.
12422         * gdb.cp/pr17494.exp: New file.
12423
12424 2014-11-02  Yao Qi  <yao@codesourcery.com>
12425
12426         * gdb.python/python.exp: Get working directory and match the
12427         output of "set extended-prompt \\w " with it.
12428
12429 2014-10-30  Doug Evans  <dje@google.com>
12430
12431         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12432         in objfiles.
12433         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12434         in progspaces.
12435
12436 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12437
12438         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12439         * gdb.base/realname-expand.exp: Likewise.
12440         * gdb.linespec/macro-relative.exp: Likewise.
12441
12442 2014-10-29  Pedro Alves  <palves@redhat.com>
12443
12444         PR gdb/17408
12445         * gdb.threads/schedlock.c (some_function): New function.
12446         (call_function): New global.
12447         (MAYBE_CALL_SOME_FUNCTION): New macro.
12448         (thread_function): Call it.
12449         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12450         and use it instead of a global counter.  Adjust all callers.
12451         (get_current_thread): Use "find current thread" for test message
12452         here rather than having all callers pass down the same string.
12453         (goto_loop): New procedure, factored out from ...
12454         (my_continue): ... this.
12455         (step_ten_loops): Change parameter from test message to command to
12456         use.  Adjust.
12457         (list_count): Delete global.
12458         (check_result): New procedure, factored out from duplicate top
12459         level code.
12460         (continue tests): Wrap in with_test_prefix.
12461         (test_step): New procedure, factored out from duplicate top level
12462         code.
12463         (top level): Test "step" in combination with all scheduler-locking
12464         modes.  Test "next" in combination with all scheduler-locking
12465         modes, and in combination with stepping over a function call or
12466         not.
12467         * gdb.threads/next-bp-other-thread.c: New file.
12468         * gdb.threads/next-bp-other-thread.exp: New file.
12469
12470 2014-10-29  Pedro Alves  <palves@redhat.com>
12471
12472         PR python/17372
12473         * gdb.python/python.exp: Test a multi-line command that spawns
12474         interactive Python.
12475         * gdb.base/multi-line-starts-subshell.exp: New file.
12476
12477 2014-10-29  Yao Qi  <yao@codesourcery.com>
12478
12479         * gdb.base/fileio.exp: Make directories on host.
12480
12481 2014-10-29  Yao Qi  <yao@codesourcery.com>
12482
12483         * gdb.base/fileio.c (test_write): Close the file.
12484
12485 2014-10-28  Pedro Alves  <palves@redhat.com>
12486
12487         PR gdb/12623
12488         * gdb.base/sigstep.c (no_handler): New global.
12489         (main): If 'no_handler is true, set the signal handlers to
12490         SIG_IGN.
12491         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12492         with_sw_watch and no_handler parameters.  Handle them.
12493         (top level) <stepping over handler when stopped at a breakpoint
12494         test>: Add a test axis for testing with a software watchpoint, and
12495         another for testing with the signal handler set to SIG_IGN.
12496         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12497         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12498
12499 2014-10-28  Pedro Alves  <palves@redhat.com>
12500
12501         PR gdb/17511
12502         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12503         * gdb.base/sigstep.exp (other_handler_location): New global.
12504         (advance): Support stepping into the signal handler, and running
12505         commands while in the handler.
12506         (in_handler_map): New global.
12507         (top level): In the advance test, add combinations for getting
12508         into the handler with stepping commands, and for running commands
12509         in the handler.  Add comment descripting the advancei tests.
12510
12511 2014-10-28  Pedro Alves  <palves@redhat.com>
12512
12513         * gdb.base/sigstep.exp: Use build_executable instead of
12514         prepare_for_testing.
12515         (top level): Move code that starts GDB, runs to main and creates a
12516         display to ...
12517         (restart): ... this new procedure.
12518         (top level): Move backtrace from signal handler test to ...
12519         (validate_backtrace): ... this new procedure.
12520         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12521         with_test_prefix.  Always restart GDB.
12522         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12523         with_test_prefix.  Always restart GDB.  No need to delete
12524         breakpoints after the test.
12525         (test_skip_handler): Remove prefix parameter.
12526         (skip_over_handler, breakpoint_to_handler)
12527         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12528         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12529         restart GDB.  No need to delete breakpoints after the test.
12530         (top level): Use foreach to call the test procedures with
12531         different commands.
12532
12533 2014-10-28  Pedro Alves  <palves@redhat.com>
12534
12535         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12536         instead of GNATS numbers.
12537         * gdb.base/sigbpt.exp: Likewise.
12538         * gdb.base/siginfo.exp: Likewise.
12539         * gdb.base/sigstep.exp: Likewise.
12540
12541 2014-10-27  Pedro Alves  <palves@redhat.com>
12542
12543         * gdb.base/sigstep.c (dummy): New global.
12544         (main): Issue a couple writes to the new global.
12545         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12546         procedures.
12547         (skip_over_handler): Use test_skip_handler.
12548         (top level): Call skip_over_handler for stepi and nexti too.
12549         (breakpoint_over_handler): Use test_skip_handler.
12550         (top level): Call breakpoint_over_handler for stepi and nexti too.
12551
12552 2014-10-27  Yao Qi  <yao@codesourcery.com>
12553
12554         * gdb.trace/tfile.c (adjust_function_address)
12555         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12556         function descriptor.
12557
12558 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12559
12560         * gdb.base/foll-fork.exp (test_follow_fork,
12561         catch_fork_child_follow): Check for updated fork messages emitted
12562         from infrun.c.
12563         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12564         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12565         vfork_and_exec_child_follow_through_step): Check for updated vfork
12566         messages emitted from infrun.c.
12567
12568 2014-10-24  Pedro Alves  <palves@redhat.com>
12569
12570         * gdb.base/corefile.exp: Remove references to ultrix.
12571         * gdb.base/interrupt.exp: Likewise.
12572         * gdb.base/whatis.exp: Likewise.
12573         * gdb.gdb/selftest.exp: Likewise.
12574         * gdb.threads/manythreads.exp: Likewise.
12575         * gdb.threads/print-threads.exp: Likewise.
12576         * gdb.threads/pthreads.exp:: Likewise.
12577         * gdb.threads/schedlock.exp: Likewise.
12578
12579 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12580
12581         * gdb.cp/non-trivial-retval.cc: Add a test case.
12582         * gdb.cp/non-trivial-retval.exp: Add a test.
12583
12584 2014-10-20  Yao Qi  <yao@codesourcery.com>
12585
12586         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12587         * gdb.python/py-objfile-script-gdb.py: New file.
12588         * gdb.python/py-objfile-script.exp: Update reference to
12589         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12590         of remote_download.  Remove the dest file.
12591
12592 2014-10-20  Yao Qi  <yao@codesourcery.com>
12593
12594         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12595         * gdb.base/step-line.exp: Likewise.
12596         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12597         * gdb.dwarf2/dw2-basic.exp: Likewise.
12598         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12599         * gdb.dwarf2/dw2-filename.exp: Likewise.
12600         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12601         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12602         * gdb.dwarf2/dw2-producer.exp: Likewise.
12603         * gdb.dwarf2/mac-fileno.exp: Likewise.
12604         * gdb.python/py-frame-args.exp: Likewise.
12605         * gdb.python/py-framefilter.exp: Likewise.
12606         * gdb.python/py-mi.exp: Likewise.
12607         * gdb.python/py-objfile-script.exp: Likewise
12608         * gdb.python/py-pp-integral.exp: Likewise.
12609         * gdb.python/py-pp-re-notag.exp: Likewise.
12610         * gdb.python/py-prettyprint.exp: Likewise.
12611         * gdb.python/py-section-script.exp: Likewise.
12612         * gdb.python/py-typeprint.exp: Likewise.
12613         * gdb.python/py-xmethods.exp: Likewise.
12614         * gdb.stabs/weird.exp: Likewise.
12615         * gdb.xml/tdesc-regs.exp: Likewise.
12616
12617 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12618
12619         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12620         (out_cu): Use addr_len for the size of addresses.
12621         (out_line): Likewise.  Size DW_LNE_set_address instruction
12622         according to addr_len.
12623         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12624         (FUNC): Add START_INSNS to definition.
12625
12626 2014-10-18  Yao Qi  <yao@codesourcery.com>
12627
12628         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12629         gdb_has_argv0 return true.
12630         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12631         check [target_info exists noargs], check [gdb_has_argv0]
12632         instead.
12633         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12634         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12635         procedures.
12636
12637 2014-10-17  Doug Evans  <dje@google.com>
12638
12639         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12640         event.
12641         * gdb.python/py-events.py: Add clear_objfiles event.
12642
12643 2014-10-17  Doug Evans  <dje@google.com>
12644
12645         * gdb.python/py-objfile.exp: Test progspace attribute.
12646
12647 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12648
12649         * gdb.guile/scm-breakpoint.exp: Do not assume any
12650         directory separators when matching source file paths.
12651         * gdb.python/py-breakpoint.exp: Likewise.
12652         * gdb.reverse/break-precsave.exp: Likewise.
12653         * gdb.reverse/break-reverse.exp: Likewise.
12654         * gdb.reverse/consecutive-precsave.exp: Likewise.
12655         * gdb.reverse/finish-precsave.exp: Likewise.
12656         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12657         * gdb.reverse/finish-reverse.exp: Likewise.
12658         * gdb.reverse/i386-precsave.exp: Likewise.
12659         * gdb.reverse/i387-env-reverse.exp: Likewise.
12660         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12661         * gdb.reverse/machinestate-precsave.exp: Likewise.
12662         * gdb.reverse/machinestate.exp: Likewise.
12663         * gdb.reverse/sigall-precsave.exp: Likewise.
12664         * gdb.reverse/solib-precsave.exp: Likewise.
12665         * gdb.reverse/step-precsave.exp: Likewise.
12666         * gdb.reverse/until-precsave.exp: Likewise.
12667         * gdb.reverse/watch-precsave.exp: Likewise.
12668         * gdb.reverse/watch-reverse.exp: Likewise.
12669
12670 2014-10-17  Yao Qi  <yao@codesourcery.com>
12671
12672         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12673         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12674
12675 2014-10-17  Pedro Alves  <palves@redhat.com>
12676
12677         PR gdb/17471
12678         * gdb.base/bg-execution-repeat.c: New file.
12679         * gdb.base/bg-execution-repeat.exp: New file.
12680
12681 2014-10-17  Pedro Alves  <palves@redhat.com>
12682
12683         PR gdb/17300
12684         * gdb.base/continue-all-already-running.c: New file.
12685         * gdb.base/continue-all-already-running.exp: New file.
12686
12687 2014-10-17  Pedro Alves  <palves@redhat.com>
12688
12689         PR gdb/17472
12690         * gdb.base/annota-input-while-running.c: New file.
12691         * gdb.base/annota-input-while-running.exp: New file.
12692
12693 2014-10-17  Pedro Alves  <palves@redhat.com>
12694
12695         * gdb.base/callfuncs.exp: emove references to osf.
12696         * gdb.base/sigall.exp: Likewise.
12697         * gdb.gdb/selftest.exp: Likewise.
12698         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12699         * gdb.mi/non-stop.c: Likewise.
12700         * gdb.mi/pthreads.c: Likewise.
12701         * gdb.reverse/sigall-precsave.exp: Likewise.
12702         * gdb.reverse/sigall-reverse.exp: Likewise.
12703         * gdb.threads/pthreads.c: Likewise.
12704         * gdb.threads/pthreads.exp: Likewise.
12705
12706 2014-10-17  Yao Qi  <yao@codesourcery.com>
12707
12708         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12709         check 'target_info exists noargs'.
12710         (test_command_prompt_position): Likewise.
12711         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12712         Remove "set args".
12713         (progvar_simple_while_test): Likewise.
12714         (progvar_complex_if_while_test): Likewise.
12715         (if_while_breakpoint_command_test): Likewise.
12716         (infrun_breakpoint_command_test): Likewise.
12717         (breakpoint_command_test): Likewise.
12718         (watchpoint_command_test): Likewise.
12719         (bp_deleted_in_command_test): Likewise.
12720         (temporary_breakpoint_commands): Likewise.
12721
12722 2014-10-16  Yao Qi  <yao@codesourcery.com>
12723
12724         * gdb.base/remotetimeout.exp: Remove noargs checking.
12725
12726 2014-10-15  Pedro Alves  <palves@redhat.com>
12727
12728         PR breakpoints/9649
12729         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12730         * gdb.base/breakpoint-in-ro-region.exp
12731         (probe_target_hardware_step): New procedure.
12732         (top level): Probe hardware stepping and hardware breakpoint
12733         support.  Test stepping through a read-only region, with both
12734         "breakpoint auto-hw" on and off and both "always-inserted" on and
12735         off.
12736
12737 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12738
12739         * gdb.dlang/demangle.exp: Update for demangling changes.
12740
12741 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12742
12743         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12744         * gdb.cp/non-trivial-retval.exp: Add new tests.
12745
12746 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12747
12748         PR c++/13403
12749         PR c++/15154
12750         * gdb.cp/non-trivial-retval.cc: New file.
12751         * gdb.cp/non-trivial-retval.exp: New file.
12752
12753 2014-10-15  Yao Qi  <yao@codesourcery.com>
12754
12755         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12756         remote host.
12757
12758 2014-10-15  Yao Qi  <yao@codesourcery.com>
12759
12760         * gdb.python/py-symbol.exp: Match file base name if host is
12761         remote, otherwise match file name with dir name.
12762         * gdb.python/py-symtab.exp: Likewise.
12763         * gdb.python/python.exp: Likewise.
12764
12765 2014-10-15  Yao Qi  <yao@codesourcery.com>
12766
12767         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12768         pattern.
12769         * gdb.python/py-symtab.exp: Likewise.
12770         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12771         locationn.
12772
12773 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12774
12775         * gdb.ada/addr_arith: New testcase.
12776
12777 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12778
12779         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12780         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12781         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12782         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12783
12784 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12785
12786         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12787         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12788         * gdb.arch/stap-eval-lang-ada.exp: New file.
12789
12790 2014-10-14  Yao Qi  <yao@codesourcery.com>
12791
12792         * gdb.mi/mi-var-child.c (nothing1): New function.
12793         (nothing2): New function.
12794         (do_children_tests): Set function pointers by nothing1 and
12795         nothing2.
12796         * gdb.mi/mi-var-child.exp: Step over new added statements.
12797         Update test to match the new output.
12798         * gdb.mi/var-cmd.c (nothing1): New function.
12799         (nothing2): New function.
12800         (do_children_tests): Set function pointers by  nothing1 and
12801         nothing2.
12802         * gdb.mi/mi-var-display.exp: Update test to match output.
12803         Step to the line specified by $line_dct_nothing.
12804         Increase the number of lines to step.
12805
12806 2014-10-14  Yao Qi  <yao@codesourcery.com>
12807
12808         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12809         tests.
12810         * gdb.mi/mi2-var-child.exp: Likewise.
12811
12812 2014-10-13  Doug Evans  <dje@google.com>
12813
12814         * gdb.python/py-objfile.exp: Change name of file name test.
12815
12816 2014-10-13  Doug Evans  <dje@google.com>
12817
12818         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12819         from the start of the CU.
12820
12821 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12822             Yao Qi  <yao@codesourcery.com>
12823
12824         Fix "save breakpoints" for "catch" command.
12825         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12826         Remove -nonewline.  Match also the added "main" line.
12827
12828 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12829
12830         Fix "save breakpoints" for "disable $bpnum" command.
12831         * gdb.base/save-bp.c (main): Add label.
12832         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12833
12834 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12835
12836         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12837
12838 2014-10-11  Yao Qi  <yao@codesourcery.com>
12839
12840         * gdb.server/server-kill.exp: Execute command
12841         "set remote trace-status-packet on" before "tstatus".
12842
12843 2014-10-11  Yao Qi  <yao@codesourcery.com>
12844
12845         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12846         (main): Call getppid.
12847         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12848         and continue to it.  Read variable "server_pid".
12849
12850 2014-10-11  Yao Qi  <yao@codesourcery.com>
12851
12852         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12853
12854 2014-10-11  Yao Qi  <yao@codesourcery.com>
12855
12856         * gdb.threads/thread-find.exp: Don't execute command
12857         "info threads".
12858         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12859         * gdb.threads/linux-dp.exp: Don't check the condition
12860         $threads_created equals to zero.
12861
12862 2014-10-10  Pedro Alves  <palves@redhat.com>
12863
12864         * gdb.base/bigcore.exp: Remove references to IRIX.
12865         * gdb.base/funcargs.exp: Likewise.
12866         * gdb.base/interrupt.exp: Likewise.
12867         * gdb.base/mips_pro.exp: Likewise.
12868         * gdb.base/nodebug.exp: Likewise.
12869         * gdb.base/setvar.exp: Likewise.
12870         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12871
12872 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12873             Pedro Alves  <palves@redhat.com>
12874
12875         PR symtab/14466
12876         * gdb.base/vdso-warning.c: New file.
12877         * gdb.base/vdso-warning.exp: New file.
12878
12879 2014-10-02  Doug Evans  <dje@google.com>
12880
12881         * gdb.base/structs.c (main): Don't run forever.
12882
12883 2014-10-02  Pedro Alves  <palves@redhat.com>
12884
12885         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12886         (top level) <stop threads 1, stop threads 2>: Use it.
12887
12888 2014-10-02  Pedro Alves  <palves@redhat.com>
12889
12890         * gdb.threads/break-while-running.exp (test): Add new
12891         'update_thread_list' argument.  Skip "info threads" if false.
12892         (top level): Add new 'update_thread_list' axis.
12893
12894 2014-10-02  Pedro Alves  <palves@redhat.com>
12895
12896         PR breakpoints/17431
12897         * gdb.base/execl-update-breakpoints.c: New file.
12898         * gdb.base/execl-update-breakpoints.exp: New file.
12899
12900 2014-10-01  Pedro Alves  <palves@redhat.com>
12901
12902         * gdb.base/breakpoint-in-ro-region.c: New file.
12903         * gdb.base/breakpoint-in-ro-region.exp: New file.
12904
12905 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12906
12907         * gdb.mi/mi-exit-code.exp: New file.
12908         * gdb.mi/mi-exit-code.c: New file.
12909
12910 2014-09-30  Yao Qi  <yao@codesourcery.com>
12911
12912         * lib/prelink-support.exp (build_executable_own_libs): Error if
12913         the target isn't native.
12914
12915 2014-09-30  Yao Qi  <yao@codesourcery.com>
12916
12917         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12918         false.
12919
12920 2014-09-22  Pedro Alves  <palves@redhat.com>
12921
12922         * gdb.threads/break-while-running.exp: New file.
12923         * gdb.threads/break-while-running.c: New file.
12924
12925 2014-09-19  Yao Qi  <yao@codesourcery.com>
12926
12927         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12928         Invoke test.  Restart GDB with --readnow and invoke test again.
12929
12930 2014-09-19  Yao Qi  <yao@codesourcery.com>
12931
12932         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12933         proc set_breakpoint_on_gcd_function.  Invoke
12934         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12935         invoke set_breakpoint_on_gcd_function again.
12936
12937 2014-09-18  Doug Evans  <dje@google.com>
12938
12939         * gdb.dwarf2/symtab-producer.exp: New file.
12940
12941 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12942
12943         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12944         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12945         * gdb.base/global-var-nested-by-dso.c: Likewise.
12946         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12947
12948 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12949             Pedro Alves  <palves@redhat.com>
12950
12951         * gdb.base/watch-bitfields.exp: Pass string other than test file
12952         name to prepare_for_testing.
12953         (watch): New procedure.
12954         (expect_watchpoint): Use with_test_prefix.
12955         (top level): Factor out tests to ...
12956         (test_watch_location, test_regular_watch): ... these new
12957         procedures, and use with_test_prefix and gdb_continue_to_end.
12958
12959 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12960
12961         PR breakpoints/12526
12962         * gdb.base/watch-bitfields.exp: New file.
12963         * gdb.base/watch-bitfields.c: New file.
12964
12965 2014-09-16  Pedro Alves  <palves@redhat.com>
12966
12967         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12968         software and hardware addresses, not software address against
12969         itself.
12970
12971 2014-09-16  Pedro Alves  <palves@redhat.com>
12972
12973         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12974         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12975
12976 2014-09-16  Pedro Alves  <palves@redhat.com>
12977
12978         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12979         files.
12980         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12981         "*-*-vxworks*" throughout.
12982         * gdb.base/break.exp: Likewise.
12983         * gdb.base/default.exp: Likewise.
12984         * gdb.base/scope.exp: Likewise.
12985         * gdb.base/sepdebug.exp: Likewise.
12986         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12987         throughout.
12988         * gdb.base/run.c: Likewise.
12989         * gdb.base/sepdebug.c: Likewise.
12990         * gdb.hp/gdb.aCC/run.c: Likewise.
12991         * gdb.reverse/until-reverse.c: Likewise.
12992         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12993
12994 2014-09-16  Yao Qi  <yao@codesourcery.com>
12995
12996         * boards/local-remote-host-native.exp: New file.
12997
12998 2014-09-14  Doug Evans  <xdje42@gmail.com>
12999
13000         * gdb.threads/queue-signal.c (thread_count): New variable.
13001         (thread_count_mutex, thread_count_condvar): New variables.
13002         (incr_thread_count, wait_all_threads_running): New functions.
13003         (main): Wait for all threads to be in their thread functions.
13004
13005 2014-09-13  Doug Evans  <xdje42@gmail.com>
13006
13007         * gdb.threads/queue-signal.c: New file.
13008         * gdb.threads/queue-signal.exp: New file.
13009
13010 2014-09-13  Doug Evans  <xdje42@gmail.com>
13011
13012         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13013         be consistent with what default_gdb_init uses.
13014         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13015         the plain text of the prompt.  Add some logging printfs.
13016         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13017
13018 2014-09-12  Pedro Alves  <palves@redhat.com>
13019
13020         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13021         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13022         * gdb.arch/i386-size-overlap.exp: Likewise.
13023         * gdb.arch/i386-size.exp: Likewise.
13024         * gdb.arch/i386-unwind.exp: Likewise.
13025         * gdb.base/a2-run.exp: Likewise.
13026         * gdb.base/break.exp: Likewise.
13027         * gdb.base/charset.exp: Likewise.
13028         * gdb.base/chng-syms.exp: Likewise.
13029         * gdb.base/commands.exp: Likewise.
13030         * gdb.base/dbx.exp: Likewise.
13031         * gdb.base/find.exp: Likewise.
13032         * gdb.base/funcargs.exp: Likewise.
13033         * gdb.base/jit-simple.exp: Likewise.
13034         * gdb.base/reread.exp: Likewise.
13035         * gdb.base/sepdebug.exp: Likewise.
13036         * gdb.base/step-bt.exp: Likewise.
13037         * gdb.cp/mb-inline.exp: Likewise.
13038         * gdb.cp/mb-templates.exp: Likewise.
13039         * gdb.objc/basicclass.exp: Likewise.
13040         * gdb.threads/killed.exp: Likewise.
13041
13042 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13043
13044         PR tdep/17379
13045         * gdb.arch/powerpc-stackless.S: New file.
13046         * gdb.arch/powerpc-stackless.exp: New file.
13047
13048 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13049
13050         * gdb.base/attach.c: Include unistd.h.
13051         (main): Call alarm.  Add label postloop.
13052         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13053         gdb_breakpoint, gdb_continue_to_breakpoint.
13054         (test_command_line_attach_run): Kill ${testpid} in one exit path.
13055
13056 2014-09-11  Pedro Alves  <palves@redhat.com>
13057
13058         PR gdb/17347
13059         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13060         * gdb.base/attach.exp (test_command_line_attach_run): New
13061         procedure.
13062         (top level): Call it.
13063
13064 2014-09-11  Pedro Alves  <palves@redhat.com>
13065
13066         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13067         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13068         (do_command_attach_tests): Use spawn_wait_for_attach.
13069         * gdb.base/solib-overlap.exp: Likewise.
13070         * gdb.multi/multi-attach.exp: Likewise.
13071         * gdb.python/py-prompt.exp: Likewise.
13072         * gdb.python/py-sync-interp.exp: Likewise.
13073         * gdb.server/ext-attach.exp: Likewise.
13074
13075 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13076
13077         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13078         command in testcase.  Simplify testcase.
13079
13080 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13081
13082         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13083
13084 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13085
13086         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13087
13088 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13089
13090         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13091
13092 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13093
13094         * gdb.dwarf2/dynarr-ptr.c: New file.
13095         * gdb.dwarf2/dynarr-ptr.exp: New file.
13096
13097 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13098
13099         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13100         of 30 rather than hardcoding 120 for a slow test case.  Take the
13101         `gdb,timeout' target setting into account for this calculation.
13102         Don't extend the timeout for the test cases that don't need it.
13103
13104 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13105
13106         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13107         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13108         target setting into account for this calculation.
13109         * gdb.reverse/until-precsave.exp: Increase the timeout by
13110         a factor of 15 and 3 respectively rather than adding 120
13111         for a pair of slow test cases.  Take the `gdb,timeout'
13112         target setting into account for this calculation.
13113
13114 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13115
13116         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13117         timeout, don't pass one down to gdb_expect.
13118         (gdb_expect): Rework timeout selection.
13119
13120 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13121
13122         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13123         exception on timeout.
13124         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13125         (gdbserver_start_extended): Catch any `gdbserver_start' error
13126         exceptions.
13127         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13128         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13129         `gdbserver_gdb_load' error exceptions.
13130
13131 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13132
13133         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13134         120 on waiting for the TCP socket to open.
13135
13136 2014-09-09  Doug Evans  <xdje42@gmail.com>
13137
13138         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13139         _caller_matches, _any_caller_is, _any_caller_matches.
13140
13141 2014-09-09  Doug Evans  <xdje42@gmail.com>
13142
13143         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13144
13145 2014-09-09  Yao Qi  <yao@codesourcery.com>
13146
13147         * gdb.mi/mi-var-display.exp: Set print symbol off.
13148
13149 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13150
13151         PR gdb/17035
13152         * gdb.base/commands.exp: Add tests to verify user-defined
13153         commands with empty bodies.
13154         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13155         python commands in `show user command`.
13156         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13157         scheme commands in `show user command`.
13158
13159 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13160
13161         PR python/17355
13162         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13163         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13164         * gdb.python/py-framefilter-invalidarg.exp: New file.
13165         * gdb.python/py-framefilter-invalidarg.py: New file.
13166
13167 2014-09-06  Doug Evans  <xdje42@gmail.com>
13168
13169         PR 15276
13170         * gdb.python/py-caller-is.c: New file.
13171         * gdb.python/py-caller-is.exp: New file.
13172
13173 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13174
13175         PR gdb/17235
13176         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13177         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13178
13179 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13180
13181         PR fortran/17237
13182         * gdb.fortran/print-formatted.exp: New file.
13183         * gdb.fortran/print-formatted.f90: Likewise.
13184
13185 2014-09-03  Sasha Smundak  <asmundak@google.com>
13186
13187         * gdb.python/py-frame.exp: Test Frame.read_register.
13188
13189 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13190
13191         PR python/16699
13192         * gdb.python/py-completion.exp: New file.
13193         * gdb.python/py-completion.py: Likewise.
13194
13195 2014-08-28  Doug Evans  <dje@google.com>
13196
13197         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13198         eax,etc. are live with values set by gdb and thus the compiler can't
13199         use them.
13200         * gdb.arch/i386-pseudo.c (main): Ditto.
13201
13202 2014-08-27  Doug Evans  <dje@google.com>
13203
13204         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13205
13206 2014-08-25  Doug Evans  <dje@google.com>
13207
13208         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13209         (main): Ditto.
13210
13211 2014-08-25  Doug Evans  <dje@google.com>
13212
13213         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13214
13215 2014-08-24  Yao Qi  <yao@codesourcery.com>
13216
13217         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13218         symbol off.
13219         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13220
13221 2014-08-22  Doug Evans  <dje@google.com>
13222
13223         PR 17276
13224         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13225         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13226         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13227
13228 2014-08-22  Yao Qi  <yao@codesourcery.com>
13229
13230         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13231         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13232         * gdb.python/python.exp: Likewise.  Use .py file on the host
13233         instead of the build.
13234
13235 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13236
13237         * gdb.threads/gcore-stale-thread.c: New file.
13238         * gdb.threads/gcore-stale-thread.exp: New file.
13239
13240 2014-08-21  Pedro Alves  <palves@redhat.com>
13241
13242         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13243         * gdb.base/gcore-relro-pie.exp: Likewise.
13244         * gdb.base/gcore-relro.exp: Likewise.
13245         * gdb.base/gcore.exp: Likewise.
13246         * gdb.base/print-symbol-loading.exp: Likewise.
13247         * gdb.threads/gcore-thread.exp: Likewise.
13248         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13249
13250 2014-08-20  Pedro Alves  <palves@redhat.com>
13251             Jan Kratochvil  <jan.kratochvil@redhat.com>
13252
13253         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13254         configure.
13255         (EXPECT): Handle READ1 being set.
13256         (all): Depend on EXTRA_RULES.
13257         (check-read1, expect-read1, read1.so, read1): New rules.
13258         * README (Testsuite Parameters): Document the READ1 make variable.
13259         (Race detection): New section.
13260         * configure: Regenerate.
13261         * configure.ac: If build==host==target, and running under a
13262         GNU/glibc system, add read1 to the extra Makefile rules.
13263         (EXTRA_RULES): AC_SUBST it.
13264         * lib/read1.c: New file.
13265
13266 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13267
13268         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13269         the handling of variables declared as a typedef to an array
13270         which a DW_AT_data_location attribute.
13271
13272 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13273             Pedro Alves  <palves@redhat.com>
13274
13275         PR symtab/14604
13276         PR symtab/14605
13277         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13278         gdb_test.
13279
13280 2014-08-19  Pedro Alves  <palves@redhat.com>
13281
13282         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13283
13284 2014-08-19  Yao Qi  <yao@codesourcery.com>
13285
13286         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13287         right line.
13288
13289 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13290
13291         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13292
13293 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13294
13295         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13296         attribute in array range.
13297
13298 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13299
13300         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13301
13302 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13303
13304         PR c++/17132
13305         * gdb.cp/pr17132.cc: New file.
13306         * gdb.cp/pr17132.exp: New file.
13307
13308 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13309
13310         * gdb.python/py-xmethods.py (A_getarrayind)
13311         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13312         Use 'print' with function call syntax.
13313         (E_method_matcher.match): Fix tab vs space indentation mixup.
13314
13315 2014-08-15  Yao Qi  <yao@codesourcery.com>
13316
13317         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13318         false.
13319
13320 2014-08-15  Yao Qi  <yao@codesourcery.com>
13321
13322         * gdb.cp/casts.exp: Set print symbol off.
13323         * gdb.cp/class2.exp: Likewise.
13324         * gdb.cp/overload.exp: Likewise.
13325         * gdb.cp/templates.exp: Likewise.
13326
13327 2014-08-11  Doug Evans  <dje@google.com>
13328
13329         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13330         (test_load_shlib): Update.
13331
13332 2014-08-09  Yao Qi  <yao@codesourcery.com>
13333
13334         * gdb.base/display.exp: Invoke is_address_zero_readable.
13335         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13336         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13337         * gdb.base/hbreak-unmapped.exp: Return if
13338         is_address_zero_readable returns true.
13339         * gdb.base/signest.exp: Likewise.
13340         * gdb.base/signull.exp: Likewise.
13341         * gdb.base/sigbpt.exp: Likewise.
13342         * gdb.guile/scm-disasm.exp: Do the test if
13343         is_address_zero_readable returns false.
13344         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13345         * gdb.python/py-arch.exp: Likewise.
13346         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13347         * lib/gdb.exp (is_address_zero_readable): New proc.
13348
13349 2014-08-09  Yao Qi  <yao@codesourcery.com>
13350
13351         PR testsuite/13443
13352         * gdb.mi/mi-var-display.exp: Make test messages unique.
13353
13354 2014-08-04  Tom Tromey  <tromey@redhat.com>
13355
13356         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13357         target 0".
13358
13359 2014-08-04  Tom Tromey  <tromey@redhat.com>
13360
13361         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13362         "target_resume".
13363
13364 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13365
13366         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13367         inner_vla_struct_object_size.
13368         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13369         as xfail.
13370
13371 2014-07-30  Pedro Alves  <palves@redhat.com>
13372
13373         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13374         comment.
13375
13376 2014-07-29  Yao Qi  <yao@codesourcery.com>
13377
13378         PR gdb/17206
13379         * gdb.base/until-nodebug.exp: New.
13380
13381 2014-07-28  Doug Evans  <xdje42@gmail.com>
13382
13383         PR guile/17203
13384         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13385         previously existing parameter, and previously ambiguously spelled
13386         parameter.
13387
13388 2014-07-28  Will Newton  <will.newton@linaro.org>
13389
13390         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13391
13392 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13393             Doug Evans  <xdje42@gmail.com>
13394
13395         PR guile/17146
13396         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13397
13398 2014-07-25  Pedro Alves  <palves@redhat.com>
13399
13400         * gdb.threads/signal-command-handle-nopass.c: New file.
13401         * gdb.threads/signal-command-handle-nopass.exp: New file.
13402         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13403         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13404         * gdb.threads/signal-delivered-right-thread.c: New file.
13405         * gdb.threads/signal-delivered-right-thread.exp: New file.
13406
13407 2014-07-25  Pedro Alves  <palves@redhat.com>
13408
13409         * gdb.base/double-prompt-target-event-error.exp
13410         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13411         match.
13412         (cancel_pagination_in_target_event): Rework double prompt
13413         detection.
13414         * gdb.base/paginate-after-ctrl-c-running.exp
13415         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13416         <return>' match.
13417         * gdb.base/paginate-bg-execution.exp
13418         (test_bg_execution_pagination_return)
13419         (test_bg_execution_pagination_cancel): Remove '-notransfer
13420         <return>' matches.
13421         * gdb.base/paginate-execution-startup.exp
13422         (test_fg_execution_pagination_return)
13423         (test_fg_execution_pagination_cancel): Remove '-notransfer
13424         <return>' matches.
13425         * gdb.base/paginate-inferior-exit.exp
13426         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13427         match.
13428         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13429         * lib/gdb.exp (pagination_prompt): Run text through
13430         string_to_regexp.
13431         (gdb_test_multiple): Match $pagination_prompt instead of
13432         "<return>".
13433         (string_to_regexp): Move to lib/gdb-utils.exp.
13434
13435 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13436
13437         * gdb.arch/amd64-entry-value-paramref.S: New file.
13438         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13439         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13440         * gdb.arch/amd64-optimout-repeat.S: New file.
13441         * gdb.arch/amd64-optimout-repeat.c: New file.
13442         * gdb.arch/amd64-optimout-repeat.exp: New file.
13443
13444 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13445
13446         PR gdb/17170
13447         * gdb.base/statistics.exp: New file.
13448
13449 2014-07-17  Doug Evans  <dje@google.com>
13450
13451         PR gdb/17170
13452         * gdb.base/maint.exp: Update testing of per-command stats.
13453
13454 2014-07-16  Pedro Alves  <palves@redhat.com>
13455
13456         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13457         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13458         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13459         (tfile_write_buf): New functions.
13460         (add_memory_block): Rewrite using the above.
13461         (adjust_function_address): New function.
13462         (FUNCTION_ADDRESS): New macro.
13463         (write_basic_trace_file): Remove short_x local, and use
13464         tfile_write_16. Change type of func_addr local to unsigned long
13465         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13466         here.  Cast argument of add_memory_block to char pointer.
13467         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13468         (main): Remove parameters.
13469         * gdb.trace/tfile.exp: Remove nowarnings.
13470
13471 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13472
13473         * gdb.base/debug-expr.exp: Test string evaluation with
13474         "debug expression" on.
13475
13476 2014-07-15  Pedro Alves  <palves@redhat.com>
13477
13478         * gdb.base/reread.exp: Use clean_restart.
13479
13480 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13481
13482         * gdb.arch/avr-flash-qualifer.c: New.
13483         * gdb.arch/avr-flash-qualifer.exp: New.
13484
13485 2014-07-14  Pedro Alves  <palves@redhat.com>
13486
13487         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13488         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13489
13490 2014-07-14  Pedro Alves  <palves@redhat.com>
13491
13492         * gdb.base/double-prompt-target-event-error.c: New file.
13493         * gdb.base/double-prompt-target-event-error.exp: New file.
13494
13495 2014-07-14  Pedro Alves  <palves@redhat.com>
13496
13497         PR gdb/17072
13498         * gdb.base/paginate-inferior-exit.c: New file.
13499         * gdb.base/paginate-inferior-exit.exp: New file.
13500
13501 2014-07-14  Pedro Alves  <palves@redhat.com>
13502
13503         PR gdb/17072
13504         * gdb.base/paginate-bg-execution.c: New file.
13505         * gdb.base/paginate-bg-execution.exp: New file.
13506
13507 2014-07-14  Pedro Alves  <palves@redhat.com>
13508
13509         PR gdb/17072
13510         * gdb.base/paginate-execution-startup.c: New file.
13511         * gdb.base/paginate-execution-startup.exp: New file.
13512         * lib/gdb.exp (pagination_prompt): New global.
13513         (default_gdb_spawn): New procedure, factored out from
13514         default_gdb_spawn.
13515         (default_gdb_start): Adjust to call default_gdb_spawn.
13516         (gdb_spawn): New procedure.
13517
13518 2014-07-14  Pedro Alves  <palves@redhat.com>
13519
13520         * lib/gdb.exp (gdb_assert): New procedure.
13521         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13522
13523 2014-07-14  Pedro Alves  <palves@redhat.com>
13524
13525         * gdb.base/execution-termios.c: New file.
13526         * gdb.base/execution-termios.exp: New file.
13527
13528 2014-07-14  Tom Tromey  <tromey@redhat.com>
13529
13530         * gdb.cp/vla-cxx.cc: New file.
13531         * gdb.cp/vla-cxx.exp: New file.
13532
13533 2014-07-14  Tom Tromey  <tromey@redhat.com>
13534
13535         * gdb.reverse/rerun-prec.c: New file.
13536         * gdb.reverse/rerun-prec.exp: New file.
13537
13538 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13539             Maciej W. Rozycki  <macro@codesourcery.com>
13540
13541         * lib/gdb-utils.exp: New file.
13542         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13543         inline `gdb_init_command' processing.
13544         (gdb_start_cmd): Likewise.
13545         * lib/mi-support.exp (mi_run_cmd): Likewise.
13546         * README: Document `gdb_init_command' and `gdb_init_commands'.
13547
13548 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13549
13550         Fix false FAIL running under a very long directory name.
13551         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13552         and "set print elements 10000".  Twice.
13553
13554 2014-07-11  Yao Qi  <yao@codesourcery.com>
13555
13556         * gdb.base/exprs.exp: "set print symbol off".
13557
13558 2014-07-11  Pedro Alves  <palves@redhat.com>
13559
13560         * gdb.threads/kill.c: New file.
13561         * gdb.threads/kill.exp: New file.
13562
13563 2014-07-10  Yao Qi  <yao@codesourcery.com>
13564
13565         * gdb.trace/tfile.c (write_basic_trace_file)
13566         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13567         address written to trace file.
13568
13569 2014-07-09  Pedro Alves  <palves@redhat.com>
13570
13571         * gdb.base/attach-wait-input.exp: New file.
13572         * gdb.base/attach-wait-input.c: New file.
13573
13574 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13575
13576         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13577         setting up test structures.
13578         (main): Call new test function.
13579         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13580         test function, continue into test function and walk test
13581         structures.
13582
13583 2014-07-02  Yao Qi  <yao@codesourcery.com>
13584
13585         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13586         'bar_start' at the beginning of functions 'foo' and 'bar'
13587         respectively.
13588         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13589         instead of 'foo' and 'bar'.
13590
13591 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13592
13593         * gdb.btrace/segv.exp: New.
13594         * gdb.btrace/segv.c: New.
13595
13596 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13597
13598         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13599         instruction.
13600
13601 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13602
13603         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13604         vulture, vilify, villar): New volatile array constants.
13605         (vindictive, vegetation): New const volatile array constants.
13606         * gdb.base/volatile.exp: Test volatile and const volatile array
13607         types.
13608
13609 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13610
13611         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13612         target lacks support for awatch, rwatch, or hbreak.
13613
13614 2014-06-27  Yao Qi  <yao@codesourcery.com>
13615
13616         * gdb.multi/dummy-frame-restore.exp: New.
13617         * gdb.multi/dummy-frame-restore.c: New.
13618
13619 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13620
13621         * gdb.btrace/gcore.exp: New.
13622
13623 2014-06-23  Pedro Alves  <palves@redhat.com>
13624
13625         * gdb.base/watchpoint-reuse-slot.c: New file.
13626         * gdb.base/watchpoint-reuse-slot.exp: New file.
13627
13628 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13629
13630         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13631         progspace's filename in 'info', 'enable' and 'disable' command
13632         tests.
13633
13634 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13635
13636         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13637         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13638         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13639
13640 2014-06-20  Gary Benson  <gbenson@redhat.com>
13641
13642         * gdb.arch/i386-avx.exp: Fix include file location.
13643         * gdb.arch/i386-sse.exp: Likewise.
13644
13645 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13646
13647         * gdb.dlang/expression.exp: New file.
13648
13649 2014-06-19  Pedro Alves  <palves@redhat.com>
13650
13651         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13652         out from ...
13653         (top level): ... here.  Iterate running tests under different
13654         scheduler-locking settings.
13655
13656 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13657
13658         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13659         to DW_FORM_addr and use non-zero addresses.
13660
13661 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13662
13663         PR gdb/17017
13664         * gdb.python/py-xmethods.cc: Add global function call counters and
13665         increment them in their respective functions.  Remove "cout"
13666         statements.
13667         * gdb.python/py-xmethods.exp: Make tests check the global function
13668         call counters instead of depending on inferior IO.
13669
13670 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13671
13672         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13673         Deleted procedure.
13674         (explicit_fork_parent_follow): Deleted procedure.
13675         (explicit_fork_child_follow): Deleted procedure.
13676         (test_follow_fork): New procedure.
13677         (do_fork_tests): Replace calls to deleted procedures with
13678         calls to test_follow_fork and reset GDB for subsequent
13679         procedure calls.
13680
13681 2014-06-17  Yao Qi  <yao@codesourcery.com>
13682
13683         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13684         CP1252.
13685
13686 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13687
13688         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13689         Initialize ptr and S explicitly.
13690         (skip_type_update_when_not_use_rtti_test): Likewise.
13691
13692 2014-06-16  Keith Seitz  <keiths@redhat.com>
13693
13694         PR mi/15863
13695         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13696         the inferior is started.
13697
13698 2014-06-16  Pedro Alves  <palves@redhat.com>
13699
13700         * gdb.base/break-main-file-remove-fail.c: New file.
13701         * gdb.base/break-main-file-remove-fail.exp: New file.
13702         * gdb.base/break-unload-file.exp: Use build_executable instead of
13703         prepare_for_testing.
13704         (test_break): New parameter "initial_load".  Handle it.
13705         (top level): Add initial_load cmdline/file axis.
13706
13707 2014-06-12  Tom Tromey  <tromey@redhat.com>
13708
13709         * gdb.base/completion.exp: Don't use directory name in test.
13710
13711 2014-06-09  Gary Benson  <gbenson@redhat.com>
13712
13713         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13714         separate the always-available ANSI-standard signals from the
13715         signals that require checking.
13716         (main): Likewise.
13717         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13718         Likewise.
13719         (main): Likewise.
13720
13721 2014-06-07  Keith Seitz  <keiths@redhat.com>
13722
13723         Revert:
13724         PR c++/16253
13725         * gdb.cp/var-tag.cc: New file.
13726         * gdb.cp/var-tag.exp: New file.
13727         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13728         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13729         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13730         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13731
13732 2014-06-06  Doug Evans  <xdje42@gmail.com>
13733
13734         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13735
13736 2014-06-06  Pedro Alves  <palves@redhat.com>
13737
13738         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13739         in target debug output instead of looking at RSP packets,
13740         disabling the test on any target that uses hardware stepping.
13741         Update comments.
13742
13743 2014-06-06  Pedro Alves  <palves@redhat.com>
13744
13745         * gdb.base/break-unload-file.exp: Fix typo.
13746
13747 2014-06-06  Yao Qi  <yao@codesourcery.com>
13748
13749         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13750         from "jit_function" to "^jit_function".
13751
13752 2014-06-06  Yao Qi  <yao@codesourcery.com>
13753
13754         * gdb.base/async.c (foo): Add one statement.
13755         * gdb.base/async.exp: Get the next instruction address and
13756         match the output of "nexti" by instruction address.  Match
13757         the hex address in the output of "finish".
13758
13759 2014-06-06  Gary Benson  <gbenson@redhat.com>
13760
13761         * gdb.base/call-signals.c: Remove preprocessor conditionals
13762         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13763         SIGSEGV and SIGTERM.
13764         * gdb.base/sigall.c: Likewise.
13765         * gdb.base/unwindonsignal.c: Likewise.
13766         * gdb.reverse/sigall-reverse.c: Likewise.
13767
13768 2014-06-06  Yao Qi  <yao@codesourcery.com>
13769
13770         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13771         readable, skip the test.
13772
13773 2014-06-06  Yao Qi  <yao@codesourcery.com>
13774
13775         * gdb.threads/staticthreads.c (thread_function): Move the line
13776         setting breakpoint on forward.
13777         * gdb.threads/staticthreads.exp: Update comments.
13778
13779 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13780
13781         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13782         "history-append! type error".
13783
13784 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13785
13786         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13787         erroneous dprintf expected input.
13788
13789 2014-06-04  Doug Evans  <xdje42@gmail.com>
13790
13791         * gdb.guile/scm-generics.exp: Delete.
13792
13793 2014-06-04  Doug Evans  <xdje42@gmail.com>
13794
13795         * gdb.guile/scm-breakpoint.exp: Update.
13796         Add tests for breakpoint registration.
13797
13798 2014-06-04  Tom Tromey  <tromey@redhat.com>
13799
13800         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13801         VLA-in-union.
13802         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13803         inner_vla_struct, vla_union types.  Initialize objects of those
13804         types and compute their sizes.
13805
13806 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13807             Hui Zhu  <hui@codesourcery.com>
13808
13809         * gdb.base/fileio.exp: Add test for shell not available as well as
13810         available.
13811         * gdb.base/fileio.c (test_system): Check for shell twice.
13812
13813 2014-06-04  Yao Qi  <yao@codesourcery.com>
13814
13815         * gdb.base/auto-connect-native-target.exp: Remove redundant
13816         space from the regexp pattern.
13817
13818 2014-06-04  Yao Qi  <yao@codesourcery.com>
13819
13820         * gdb.base/default.exp: Replace "child" with "native" in
13821         regexp pattern.
13822
13823 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13824
13825         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13826         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13827         * gdb.python/py-xmethods.py: Python script supporting the
13828         new testcase and tests.
13829
13830 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13831             Pedro Alves  <palves@redhat.com>
13832
13833         PR breakpoints/17000
13834         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13835         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13836
13837 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13838
13839         * gdb.base/subst.exp: Add tests to verify partial path matching
13840         output.
13841
13842 2014-06-03  Pedro Alves  <palves@redhat.com>
13843
13844         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13845         target that doesn't use software single-stepping.
13846
13847 2014-06-03  Pedro Alves  <palves@redhat.com>
13848
13849         PR breakpoints/17000
13850         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13851         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13852
13853 2014-06-02  Doug Evans  <xdje42@gmail.com>
13854
13855         * gdb.guile/scm-parameter.exp: New file.
13856
13857 2014-06-02  Doug Evans  <xdje42@gmail.com>
13858
13859         * gdb.guile/scm-cmd.c: New file.
13860         * gdb.guile/scm-cmd.exp: New file.
13861
13862 2014-06-02  Doug Evans  <xdje42@gmail.com>
13863
13864         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13865         pretty-printer lookup.
13866         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13867         (make-pp_s-printer): Call it.
13868         (make-pretty-printer-from-dict): New function.
13869         (lookup-pretty-printer-maker-from-dict): New function.
13870         (*pretty-printer*): Simplify.
13871         (make-objfile-pp_s-printer): New function.
13872         (install-objfile-pretty-printers!): New function.
13873         (make-progspace-pp_s-printer): New function.
13874         (install-progspace-pretty-printers!): New function.
13875         * gdb.guile/scm-progspace.c: New file.
13876         * gdb.guile/scm-progspace.exp: New file.
13877
13878 2014-06-02  Pedro Alves  <palves@redhat.com>
13879
13880         * gdb.base/dprintf-bp-same-addr.c: New file.
13881         * gdb.base/dprintf-bp-same-addr.exp: New file.
13882
13883 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13884
13885         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13886         * gdb.arch/powerpc-power.s: Likewise.
13887
13888 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13889
13890         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13891
13892 2014-06-01  Yao Qi  <yao@codesourcery.com>
13893
13894         * gdb.base/watchpoint.exp (test_watch_location): Check null
13895         pointer can be dereferenced.  If not, do the test, otherwise
13896         skip it.
13897
13898 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13899
13900         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13901         results.
13902         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13903
13904 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13905
13906         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13907         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13908         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13909         * gdb.arch/amd64-invalid-stack-top.c: New file.
13910         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13911
13912 2014-05-30  Pedro Alves  <palves@redhat.com>
13913
13914         PR breakpoints/17000
13915         * gdb.base/sss-bp-on-user-bp.c: New file.
13916         * gdb.base/sss-bp-on-user-bp.exp: New file.
13917
13918 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13919
13920         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13921         gnu_inline semantics via attribute.
13922         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13923         source explicitly specifies the required semantics.
13924
13925 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13926
13927         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13928
13929 2014-05-29  Pedro Alves  <palves@redhat.com>
13930             Tom Tromey  <tromey@redhat.com>
13931
13932         * gdb.base/async-shell.exp: Don't enable target-async.
13933         * gdb.base/async.exp
13934         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13935         parameter.  Adjust.
13936         (top level): Don't test with "target-async".
13937         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13938         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13939         * gdb.base/inferior-died.exp: Don't enable target-async.
13940         * gdb.base/interrupt-noterm.exp: Likewise.
13941         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13942         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13943         * gdb.mi/mi-nonstop.exp: Likewise.
13944         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13945         * gdb.mi/mi-nsintrall.exp: Likewise.
13946         * gdb.mi/mi-nsmoribund.exp: Likewise.
13947         * gdb.mi/mi-nsthrexec.exp: Likewise.
13948         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13949         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13950         * gdb.python/py-evsignal.exp: Don't enable target-async.
13951         * gdb.python/py-evthreads.exp: Likewise.
13952         * gdb.python/py-prompt.exp: Likewise.
13953         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13954         * gdb.server/solib-list.exp: Don't enable target-async.
13955         * gdb.threads/thread-specific-bp.exp: Likewise.
13956         * lib/mi-support.exp: Adjust to use mi-async.
13957
13958 2014-05-29  Pedro Alves  <palves@redhat.com>
13959
13960         PR gdb/13860
13961         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13962         reason, even in sync mode.
13963
13964 2014-05-29  Pedro Alves  <palves@redhat.com>
13965             Hui Zhu  <hui@codesourcery.com>
13966
13967         PR PR15693
13968         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13969         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13970         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13971         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13972
13973 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13974
13975         * config/monitor.exp (gdb_target_monitor): Replace use of
13976         "set remotebaud" by "set serial baud".
13977
13978 2014-05-26  Andy Wingo  <wingo@igalia.com>
13979
13980         * gdb.guile/scm-breakpoint.exp:
13981         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13982         properties instead of gdb-object-properties.
13983
13984 2014-05-26  Yao Qi  <yao@codesourcery.com>
13985
13986         * gdb.server/no-thread-db.exp: Specify source file name
13987         explicitly when setting a breakpoint.
13988
13989 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13990
13991         * gdb.btrace/vdso.c: New.
13992         * gdb.btrace/vdso.exp: New.
13993
13994 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13995
13996         * gdb.base/gcore.exp (capture_command_output): Move ...
13997         * lib/gdb.exp (capture_command_output): ... here.
13998
13999 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14000
14001         * gdb.btrace/data.exp: Test memory access during btrace replay.
14002
14003 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
14004
14005         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14006
14007 2014-05-21  Pedro Alves  <palves@redhat.com>
14008
14009         PR gdb/13860
14010         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14011         (top level): Test that output related to execution commands is
14012         sent to the console with CLI commands, but not with MI commands.
14013         Test that breakpoint events are always mirrored to the console.
14014         Also expect the new source line to be output after a "next" in
14015         async mode too.  Make it a pass/fail test.
14016         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14017         output.
14018         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14019
14020 2014-05-21  Pedro Alves  <palves@redhat.com>
14021
14022         * gdb.base/list.exp (build_pattern, test_list): New procedures.
14023         Use them to test variations of "list" after reaching a breakpoint.
14024         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14025         Test "list" with listsize 10 after reaching a breakpoint.
14026         * gdb.python/python.exp (decode_line current location line
14027         number): Adjust expected line number.
14028
14029 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
14030
14031         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14032         behavior for $args, pass it directly to "run".
14033
14034 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
14035
14036         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14037         30000 to 65536.
14038
14039 2014-05-21  Pedro Alves  <palves@redhat.com>
14040
14041         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14042         auto-connect-native-target off".
14043         * gdb.base/auto-connect-native-target.c: New file.
14044         * gdb.base/auto-connect-native-target.exp: New file.
14045
14046 2014-05-21  Pedro Alves  <palves@redhat.com>
14047
14048         * gdb.base/default.exp: Test "target native" instead of "target
14049         child".
14050
14051 2014-05-21  Mark Wielaard  <mjw@redhat.com>
14052
14053         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14054
14055 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14056
14057         Fix TLS access for -static -pthread.
14058         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14059         <HAVE_TLS> (thread_function, main): Initialize it.
14060         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14061         Add clean_restart.
14062         <$have_tls != "">: Check TLSVAR.
14063
14064 2014-05-21  Pedro Alves  <palves@redhat.com>
14065
14066         * gdb.base/dcache-line-read-error.c: New.
14067         * gdb.base/dcache-line-read-error.exp: New.
14068
14069 2014-05-20  Pedro Alves  <palves@redhat.com>
14070
14071         * gdb.base/compare-sections.c: New file.
14072         * gdb.base/compare-sections.exp: New file.
14073
14074 2014-05-20  Pedro Alves  <palves@redhat.com>
14075
14076         * gdb.base/break-idempotent.c: New file.
14077         * gdb.base/break-idempotent.exp: New file.
14078
14079 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14080
14081         * gdb.btrace/nohist.exp: New.
14082
14083 2014-05-20  Yao Qi  <yao@codesourcery.com>
14084
14085         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14086         gdb.reverse directory and gdb_reverse_timeout exists in board
14087         setting.
14088         * README: Document gdb_reverse_timeout.
14089
14090 2014-05-20  Yao Qi  <yao@codesourcery.com>
14091
14092         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14093         'test_file_name'.  Treat args as a string instead of a list.
14094         (gdb_init): Rename argument 'args' by 'test_file_name'.
14095
14096 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14097
14098         * gdb.arch/powerpc-power.exp: New file.
14099         * gdb.arch/powerpc-power.s: New file.
14100
14101 2014-05-16  Doug Evans  <dje@google.com>
14102
14103         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14104         * gdb.base/completion.exp: Check that all expected files exist
14105         before doing file completion.
14106
14107 2014-05-16  Doug Evans  <dje@google.com>
14108
14109         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14110         Update.
14111         (do_syscall_tests_without_xml): Update.
14112
14113 2014-05-16  Pedro Alves  <palves@redhat.com>
14114
14115         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14116         instead of "unknown output after running".
14117
14118 2014-05-16  Yao Qi  <yao@codesourcery.com>
14119
14120         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14121         file1.txt from host at the end.
14122         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14123
14124 2014-05-15  Doug Evans  <dje@google.com>
14125
14126         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14127         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14128         loading file.  Add test for TU lookup.
14129
14130 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14131
14132         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14133         calling "-exec-arguments" or "set args" before running the
14134         inferior.
14135
14136 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14137
14138         * lib/mi-support.exp (mi_expect_stop): Expect message for
14139         inferiors that exit with non-zero exit code.
14140
14141 2014-05-14  Yao Qi  <yao@codesourcery.com>
14142
14143         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14144         match absolute path on remote host.
14145         (test_file_list_exec_source_files): Remove "/" from the
14146         pattern.
14147
14148 2014-05-14  Yao Qi  <yao@codesourcery.com>
14149
14150         * boards/local-remote-host-notty.exp (${board}_file): New
14151         proc.
14152
14153 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14154
14155         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14156         * gdb.arch/aarch64-atomic-inst.c: New file.
14157         * gdb.arch/aarch64-atomic-inst.exp: New file.
14158
14159 2014-05-07  Yao Qi  <yao@codesourcery.com>
14160
14161         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14162         in current context" too.
14163
14164 2014-05-05  Keith Seitz  <keiths@redhat.com>
14165
14166         * gdb.linespec/ls-dollar.exp: Add test for linespec
14167         file:convenience_variable.
14168
14169 2014-05-05  Yao Qi  <yao@codesourcery.com>
14170
14171         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14172         traceframes into tfile and ctf trace files.  Read data from
14173         trace file and test collected data.
14174         (gdb_collect_locals_test): Likewise.
14175         (gdb_unavailable_registers_test): Likewise.
14176         (gdb_unavailable_floats): Likewise.
14177         (gdb_collect_globals_test): Likewise.
14178         (top-level): Append "ctf" to trace_file_targets if GDB
14179         supports.
14180
14181 2014-05-05  Yao Qi  <yao@codesourcery.com>
14182
14183         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14184         code to ...
14185         (gdb_collect_args_test_1): ... it.  New proc.
14186         (gdb_collect_locals_test): Move some code to ...
14187         (gdb_collect_locals_test_1): ... it.  New proc.
14188         (gdb_unavailable_registers_test): Move some code to ...
14189         (gdb_unavailable_registers_test_1): ... it.  New proc.
14190         (gdb_unavailable_floats): Move some code to ...
14191         (gdb_unavailable_floats_1): ... it.  New proc.
14192
14193 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14194
14195         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14196         probes to test for bitness recognition.
14197         * gdb.arch/amd64-stap-optional-prefix.exp
14198         (test_probe_value_without_reg): New procedure.
14199         Add code to test for different kinds of bitness.
14200
14201 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14202
14203         PR breakpoints/16889
14204         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14205         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14206
14207 2014-05-01  Pedro Alves  <palves@redhat.com>
14208
14209         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14210         gdb_file_cmd if no file is specified.
14211         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14212         last_loaded_file to set the remote exec-file.
14213
14214 2014-05-01  Pedro Alves  <palves@redhat.com>
14215
14216         * boards/local-remote-host.exp: New file.
14217
14218 2014-05-01  Pedro Alves  <palves@redhat.com>
14219
14220         * boards/local-remote-host.exp: Rename to ...
14221         * boards/local-remote-host-notty.exp: ... this.
14222
14223 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14224
14225         * gdb.ada/dyn_arrayidx: New testcase.
14226
14227 2014-04-26  Yao Qi  <yao@codesourcery.com>
14228
14229         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14230         and compute the length of function main.  Save it in
14231         $main_length.
14232         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14233         (top-level): Use gdb_compile to compile objects into
14234         executable and restart GDB.  Remove invocation to
14235         prepare_for_testing.
14236
14237 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14238             Pedro Alves  <palves@redhat.com>
14239
14240         PR server/16255
14241         * gdb.multi/multi-attach.c: New file.
14242         * gdb.multi/multi-attach.exp: New file.
14243
14244 2014-04-25  Pedro Alves  <palves@redhat.com>
14245
14246         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14247         user.
14248         (top level): Test that "set remote conditional-breakpoints-packet
14249         off" works as intended.
14250         * gdb.base/dprintf.exp: Test that "set remote
14251         breakpoint-commands-packet off" works as intended.
14252         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14253         New function.
14254         (top level): Call it.
14255         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14256         remote fast-tracepoints-packet off" works as intended.
14257         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14258         * lib/gdb.exp (gdb_is_target_remote): ... here.
14259
14260 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14261
14262         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14263         ensure clang would not discard them.
14264         * gdb.base/gdbvars.c: Ditto.
14265         * gdb.base/memattr.c: Ditto.
14266         * gdb.base/whatis.c: Ditto.
14267         * gdb.python/py-prettyprint.c: Ditto.
14268         * gdb.trace/actions.c: Ditto.
14269         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14270         ensure clang would not discard it.
14271
14272 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14273
14274         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14275         clang to emit the full definition of type required by the test
14276         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14277
14278 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14279
14280         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14281         coax Clang into emitting the definition of the type.
14282         * gdb.cp/pr10728-x.h (y): Ditto.
14283         * gdb.cp/pr10728-y.cc (y): Ditto.
14284
14285 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14286
14287         * gdb.base/label.exp: XFAIL label related tests under Clang.
14288         * gdb.cp/cplabel.exp: Ditto.
14289         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14290         under Clang those using labels.
14291
14292 2014-04-25  Yao Qi  <yao@codesourcery.com>
14293
14294         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14295         double_label.
14296         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14297         partial_label and double_label.
14298
14299 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14300
14301         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14302
14303 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14304
14305         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14306         of the function to work across GCC and Clang.
14307         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14308         pointer types (const void ** const V void **).
14309
14310 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14311             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14312
14313         * Makefile.in (EXECUTABLES): Added i386-avx512.
14314         * gdb.arch/i386-avx512.c: New file.
14315         * gdb.arch/i386-avx512.exp: Likewise.
14316
14317 2014-04-23  Keith Seitz  <keiths@redhat.com>
14318
14319         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14320         (mi_make_breakpoint_table): New procedure.
14321         (mi_create_breakpoint): Use mi_make_breakpoint
14322         and return the result.
14323         (mi_make_breakpoint): New procedure.
14324         (mi_build_kv_pairs): New procedure.
14325
14326         * gdb.mi/mi-break.exp: Remove unused globals,
14327         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14328         All callers updated.
14329         * gdb.mi/mi-dprintf.exp: Use variable to track command
14330         number.
14331         Update all callers of mi_create_breakpoint and use
14332         mi_make_breakpoint_table.
14333         Remove any unused global variables.
14334         * gdb.mi/mi-nonstop.exp: Likewise.
14335         * gdb.mi/mi-nsintrall.exp: Likewise.
14336         * gdb.mi/mi-nsmoribund.exp: Likewise.
14337         * gdb.mi/mi-nsthrexec.exp: Likewise.
14338         * gdb.mi/mi-reverse.exp: Likewise.
14339         * gdb.mi/mi-simplerun.exp: Likewise.
14340         * gdb.mi/mi-stepn.exp: Likewise.
14341         * gdb.mi/mi-syn-frame.exp: Likewise.
14342         * gdb.mi/mi-until.exp: Likewise.
14343         * gdb.mi/mi-var-cp.exp: Likewise.
14344         * gdb.mi/mi-var-display.exp: Likewise.
14345         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14346         * gdb.mi/mi2-var-child.exp: Likewise.
14347         * gdb.mi/mi-vla-c99.exp: Likewise.
14348         * lib/mi-support.exp: Likewise.
14349
14350         From Ian Lance Taylor  <iant@cygnus.com>:
14351         * lib/gdb.exp (parse_args): New procedure.
14352
14353 2014-04-23  Pedro Alves  <palves@redhat.com>
14354
14355         * gdb.base/break-unload-file.c: New file.
14356         * gdb.base/break-unload-file.exp: New file.
14357         * gdb.base/sym-file-lib.c (baz): New function.
14358         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14359         field.
14360         (load): Store the segment's mapped size.
14361         (unload): New function.
14362         (unload_shlib): New function.
14363         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14364         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14365         set a breakpoint at baz, and call it.
14366         * gdb.base/sym-file.exp: New tests for stale breakpoint
14367         instructions.
14368
14369 2014-04-23  Pedro Alves  <palves@redhat.com>
14370
14371         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14372         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14373         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14374         * gdb.base/hbreak-unmapped.c: New file.
14375         * gdb.base/hbreak-unmapped.exp: New file.
14376         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14377         * lib/gdb.exp (gdb_is_target_remote): ... here.
14378
14379 2014-04-22  Pedro Alves  <palves@redhat.com>
14380
14381         * gdb.base/consecutive-step-over.c: New file.
14382         * gdb.base/consecutive-step-over.exp: New file.
14383
14384 2014-04-22  Pedro Alves  <palves@redhat.com>
14385
14386         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14387         instead of send_gdb/gdb_expect.
14388
14389 2014-04-22  Yao Qi  <yao@codesourcery.com>
14390
14391         * lib/trace-support.exp (generate_tracefile): New procedure.
14392         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14393         return 0.
14394         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14395         if generate_tracefile returns 1.
14396
14397 2014-04-18  Tom Tromey  <palves@redhat.com>
14398             Pedro alves  <tromey@redhat.com>
14399
14400         PR backtrace/15558
14401         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14402         with a backtrace limit.
14403         * gdb.python/py-frame-inline.exp: Test running to an inline
14404         function with a backtrace limit, and printing the newest frame.
14405         * gdb.python/py-frame-inline.c (main): Call f.
14406
14407 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14408
14409         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14410
14411 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14412
14413         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14414         Drop prefix from unsupported source file path.
14415
14416 2014-04-17  Yao Qi  <yao@codesourcery.com>
14417
14418         * lib/gdb.exp (with_target_charset): New proc.
14419         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14420         with_target_charset.
14421         (test_print_strings): Likewise.
14422         (test_repeat_bytes): Likewise.
14423         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14424         for some tests.
14425
14426 2014-04-16  Keith Seitz  <keiths@redhat.com>
14427
14428         PR gdb/15827
14429         * gdb.dwarf2/corrupt.c: New file.
14430         * gdb.dwarf2/corrupt.exp: New file.
14431
14432 2014-04-16  Keith Seitz  <keiths@redhat.com>
14433
14434         PR c++/16597
14435         * gdb.cp/namelessclass.cc: New file.
14436         * gdb.cp/namelessclass.exp: New file.
14437         * gdb.cp/namelessclass.S: New file.
14438
14439 2014-04-16  Doug Evans  <dje@google.com>
14440
14441         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14442         Add comment.
14443         (gdbserver_default_get_comm_port): New function.
14444         (gdbserver_start): Check if board file provided
14445         "gdbserver,get_comm_port" and use it if so.
14446         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14447         (gdb,socketport): Set to "stdio".
14448         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14449         (stdio_gdbserver_template): Delete.
14450         (${board}_get_remote_address): Update.
14451         (${board}_build_remote_cmd): Delete.
14452         (${board}_get_comm_port): New function.
14453         (${board}_spawn): Update.
14454         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14455         Delete.
14456         (${board}_get_remote_address): Update.
14457         (${board}_get_comm_port): New function.
14458
14459 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14460
14461         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14462         appearing in any order.
14463
14464 2014-04-15  Doug Evans  <dje@google.com>
14465
14466         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14467         uninitialized value of "description".
14468
14469 2014-04-15  Keith Seitz  <keiths@redhat.com>
14470
14471         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14472         Remove unused globals.
14473         (test_running_the_program): Likewise.
14474         (test_controlled_execution): Likewise.
14475         (test_controlling_breakpoints): Likewise.
14476         (test_program_termination): Likewise.
14477
14478 2014-04-15  Keith Seitz  <keiths@redhat.com>
14479
14480         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14481         unused globals.
14482         (test_rbreak_creation_and_listing): Likewise.
14483         (test_ignore_count): Likewise.
14484         (test_error): Likewise.
14485
14486 2014-04-15  Pedro Alves  <palves@redhat.com>
14487
14488         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14489         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14490         sym-file-loader.c.
14491         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14492         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14493         to sym-file-loader.c.
14494         (struct library): Forward declare.
14495         (load_shlib, lookup_function): Change prototypes.
14496         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14497         (translate_offset): Remove declarations.
14498         (get_text_addr): New declaration.
14499         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14500         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14501         sym-file-loader.h.
14502         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14503         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14504         here from sym-file-loader.h.
14505         (struct library): New structure.
14506         (load_shlib, lookup_function): Change prototypes and adjust to
14507         work with a struct library.
14508         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14509         (translate_offset): Make static.
14510         (get_text_addr): New function.
14511         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14512
14513 2014-04-15  Pedro Alves  <palves@redhat.com>
14514
14515         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14516
14517 2014-04-15  Pedro Alves  <palves@redhat.com>
14518
14519         * gdb.base/sym-file-loader.c: Include <limits.h>.
14520         (SELF_LINK): New define.
14521         (get_origin): New function.
14522         (load_shlib): Use it.
14523         * gdb.base/sym-file.exp: Don't early return if the target is
14524         remote.  Use runto_main, and issue fail is that fails.  Use
14525         gdb_load_shlibs.
14526         (shlib_name): Delete.
14527         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14528
14529 2014-04-15  Pedro Alves <palves@redhat.com>
14530
14531         * gdb.base/sym-file.exp: Remove regex characters from test
14532         message.  Don't refer to breakpoint numbers in test messages.
14533
14534 2014-04-14  Keith Seitz  <keiths@redhat.com>
14535
14536         PR c++/16253
14537         * gdb.cp/var-tag.cc: New file.
14538         * gdb.cp/var-tag.exp: New file.
14539         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14540         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14541         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14542         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14543
14544 2014-04-14  Tom Tromey  <tromey@redhat.com>
14545
14546         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14547         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14548         type.
14549         * gdb.cp/enum-class.exp: New file.
14550         * gdb.cp/enum-class.cc: New file.
14551
14552 2014-04-14  Tom Tromey  <tromey@redhat.com>
14553
14554         * gdb.dwarf2/enum-type.exp: New file.
14555
14556 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14557
14558         * gdb.mi/mi-vla-c99.exp: New file.
14559         * gdb.mi/vla.c: New file.
14560
14561 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14562
14563         * gdb.base/vla-datatypes.c: New file.
14564         * gdb.base/vla-datatypes.exp: New file.
14565
14566 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14567
14568         * gdb.base/vla-ptr.c: New file.
14569         * gdb.base/vla-ptr.exp: New file.
14570
14571 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14572
14573         * gdb.dwarf2/count.exp: New file.
14574
14575 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14576
14577         * gdb.base/vla-sideeffect.c: New file.
14578         * gdb.base/vla-sideeffect.exp: New file.
14579
14580 2014-04-14  David Blaikie <dblaikie@gmail.com>
14581
14582         * gdb.mi/non-stop.c: Add return value for non-void function return
14583         statement.
14584         * gdb.threads/staticthreads.c: Ditto.
14585
14586 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14587             Doug Evans  <xdje42@gmail.com>
14588
14589         * gdb.guile/scm-value.c: Improve test case.
14590         * gdb.guile/scm-value.exp: Add new test.
14591
14592 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14593
14594         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14595         override Clang's default.
14596
14597 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14598
14599         Revert the following changes (regressions):
14600
14601         * gdb.base/vla-sideeffect.c: New file.
14602         * gdb.base/vla-sideeffect.exp: New file.
14603
14604         * gdb.dwarf2/count.exp: New file.
14605
14606         * gdb.base/vla-multi.c: New file.
14607         * gdb.base/vla-multi.exp: New file.
14608
14609         * gdb.base/vla-ptr.c: New file.
14610         * gdb.base/vla-ptr.exp: New file.
14611
14612         * gdb.base/vla-datatypes.c: New file.
14613         * gdb.base/vla-datatypes.exp: New file.
14614
14615         * gdb.mi/mi-vla-c99.exp: New file.
14616         * gdb.mi/vla.c: New file.
14617
14618 2014-04-11  Keith Seitz  <keiths@redhat.com>
14619
14620         PR c++/16675
14621         * gdb.cp/cpsizeof.exp: New file.
14622         * gdb.cp/cpsizeof.cc: New file.
14623
14624 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14625
14626         * gdb.mi/mi-vla-c99.exp: New file.
14627         * gdb.mi/vla.c: New file.
14628
14629 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14630
14631         * gdb.base/vla-datatypes.c: New file.
14632         * gdb.base/vla-datatypes.exp: New file.
14633
14634 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14635
14636         * gdb.base/vla-ptr.c: New file.
14637         * gdb.base/vla-ptr.exp: New file.
14638
14639 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14640
14641         * gdb.base/vla-multi.c: New file.
14642         * gdb.base/vla-multi.exp: New file.
14643
14644 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14645
14646         * gdb.dwarf2/count.exp: New file.
14647
14648 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14649
14650         * gdb.base/vla-sideeffect.c: New file.
14651         * gdb.base/vla-sideeffect.exp: New file.
14652
14653 2014-04-11  Yao Qi  <yao@codesourcery.com>
14654
14655         * gdb.base/completion.exp: Check file exists before running tests
14656         on file completion.
14657
14658 2014-04-10  Pedro Alves  <palves@redhat.com>
14659
14660         * gdb.base/cond-eval-mode.c: New file.
14661         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14662         prepare_for_testing to build the new file.  Check result of
14663         runto_main.
14664         (test_break, test_watch): New procedures.
14665         (top level): Use them.
14666
14667 2014-04-08  Pierre Muller  <muller@sourceware.org>
14668
14669         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14670         Ctrl-V use for mingw hosts.
14671
14672 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14673
14674         * gdb.python/py-value.c: Improve test case.
14675         * gdb.python/py-value.exp: Add new test.
14676
14677 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14678
14679         * lib/compiler.c: Identify the clang compiler.
14680         * lib/compiler.cc: Ditto.
14681
14682 2014-04-03  Yao Qi  <yao@codesourcery.com>
14683
14684         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14685
14686 2014-04-01  Anton Blanchard  <anton@samba.org>
14687
14688         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14689         messages unique.
14690
14691 2014-04-01  Anton Blanchard  <anton@samba.org>
14692
14693         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14694         prepare_for_testing.
14695
14696 2014-04-01  Anton Blanchard  <anton@samba.org>
14697
14698         * gdb.arch/ppc64-atomic-inst.c: Remove.
14699         * gdb.arch/ppc64-atomic-inst.S: New file.
14700         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14701
14702 2014-03-31  Doug Evans  <dje@google.com>
14703
14704         * gdb.base/print-symbol-loading-lib.c: New file.
14705         * gdb.base/print-symbol-loading-main.c: New file.
14706         * gdb.base/print-symbol-loading.exp: New file.
14707
14708 2014-03-31  Yao Qi  <yao@codesourcery.com>
14709
14710         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14711
14712 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14713
14714         * gdb.ada/mi_dyn_arr: New testcase.
14715
14716 2014-03-27  Doug Evans  <dje@google.com>
14717
14718         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14719
14720 2014-03-27  Yao Qi  <yao@codesourcery.com>
14721
14722         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14723         if target is nios2-*-*.
14724
14725 2014-03-26  Yao Qi  <yao@codesourcery.com>
14726
14727         * lib/gdb.exp (readline_is_used): New proc.
14728         * gdb.base/completion.exp: Move tests on command complete up.
14729         Skip the rest of tests if readline is not used.
14730         * gdb.ada/complete.exp: Skp the test if readline is not
14731         used.
14732         * gdb.base/filesym.exp: Likewise.
14733         * gdb.base/macscp.exp: Likewise.
14734         * gdb.base/readline-ask.exp: Likewise.
14735         * gdb.base/readline.exp: Likewise.
14736         * gdb.python/py-cmd.exp: Likewise.
14737         * gdb.trace/tfile.exp: Likewise.
14738
14739 2014-03-26  Yao Qi  <yao@codesourcery.com>
14740
14741         * gdb.base/macscp.exp: Fix code format issues.
14742
14743 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14744
14745         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14746         * gdb.asm/powerpc64le.inc: New file.
14747
14748 2014-03-25  Pedro Alves  <palves@redhat.com>
14749             Doug Evans  <dje@google.com>
14750
14751         * gdb.base/source-execution.c: New file.
14752         * gdb.base/source-execution.exp: New file.
14753         * gdb.base/source-execution.gdb: New file.
14754
14755 2014-03-24  Doug Evans  <dje@google.com>
14756
14757         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14758         using fission.
14759
14760 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14761             Pedro Alves  <palves@redhat.com>
14762
14763         PR breakpoints/16101
14764         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14765         test pass/fail messages.  Detect missing support for dprintf when
14766         breakpoints are actually inserted.
14767         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14768         breakpoints are actually inserted.
14769         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14770         fails.
14771
14772 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14773
14774         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14775
14776 2014-03-22  Doug Evans  <xdje42@gmail.com>
14777
14778         * gdb.python/python.exp (python not supported): Verify multi-line
14779         python command issues an error.
14780         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14781         guile command issues an error.
14782
14783 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14784
14785         * gdb.threads/thread-specific.exp: Handle the lack of usable
14786         $this_breakpoint and $this_thread.
14787
14788 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14789
14790         * gdb.base/attach.exp (do_command_attach_tests): New.
14791
14792 2014-03-20  Tom Tromey  <tromey@redhat.com>
14793             Pedro Alves  <palves@redhat.com>
14794
14795         PR cli/15718
14796         * gdb.base/condbreak-call-false.c: New file.
14797         * gdb.base/condbreak-call-false.exp: New file.
14798
14799 2014-03-20  Pedro Alves  <palves@redhat.com>
14800
14801         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14802         Delete.
14803         (block_signals, unblock_signals): Delete.
14804         (child_function_2, main): Remove references to deleted variable
14805         and functions.
14806
14807 2014-03-20  Pedro Alves  <palves@redhat.com>
14808
14809         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14810         Use pthread_kill to signal thread 2.
14811         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14812         Adjust to make the test send itself a signal rather than using the
14813         host's "kill" command.
14814
14815 2014-03-20  Pedro Alves  <palves@redhat.com>
14816
14817         * gdb.threads/multiple-step-overs.c: New file.
14818         * gdb.threads/multiple-step-overs.exp: New file.
14819         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14820         Adjust expected infrun debug output.
14821
14822 2014-03-20  Pedro Alves  <palves@redhat.com>
14823
14824         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14825         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14826
14827 2014-03-20  Pedro Alves  <palves@redhat.com>
14828
14829         PR breakpoints/7143
14830         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14831         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14832         of gdb_test_multiple.
14833         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14834         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14835
14836 2014-03-20  Pedro Alves  <palves@redhat.com>
14837
14838         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14839         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14840
14841 2014-03-19  Pedro Alves  <palves@redhat.com>
14842
14843         * gdb.base/async.exp: Remove early return.
14844
14845 2014-03-19  Pedro Alves  <palves@redhat.com>
14846
14847         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14848
14849 2014-03-19  Pedro Alves  <palves@redhat.com>
14850
14851         * gdb.base/async.exp (test_background): Expect \r\n after
14852         "completed." in the fail pattern.
14853
14854 2014-03-19  Pedro Alves  <palves@redhat.com>
14855
14856         * gdb.base/async.exp (test_background): New procedure.
14857         Use it for all background execution command tests.
14858
14859 2014-03-19  Pedro Alves  <palves@redhat.com>
14860
14861         * gdb.base/async.exp: Use prepare_for_testing.
14862
14863 2014-03-19  Pedro Alves  <palves@redhat.com>
14864
14865         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14866         the same line.
14867
14868 2014-03-19  Pedro Alves  <palves@redhat.com>
14869
14870         * gdb.base/async.c (main): Add "jump here" and "until here" line
14871         marker comments.
14872         * gdb.base/async.exp (jump_here): New global.
14873         (jump& test): Use it.
14874         (until_here): New global.
14875         (until& test): Use it.
14876
14877 2014-03-19  Pedro Alves  <palves@redhat.com>
14878
14879         * gdb.base/async.exp: Don't frob gdb_protocol.
14880
14881 2014-03-18  Doug Evans  <xdje42@gmail.com>
14882
14883         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14884         Fix spelling of exec-done-display.
14885
14886 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14887
14888         PR gdb/15358
14889         * gdb.base/gdb-sigterm.c: New file.
14890         * gdb.base/gdb-sigterm.exp: New file.
14891
14892 2014-03-18  Pedro Alves  <palves@redhat.com>
14893
14894         PR gdb/13860
14895         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14896         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14897         solib-event.
14898
14899 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14900
14901         * gdb.ada/pckd_arr_ren: New testcase.
14902
14903 2014-03-13  Doug Evans  <xdje42@gmail.com>
14904
14905         PR guile/16612
14906         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14907         collect after discarding symbols.
14908
14909 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14910             Doug Evans  <xdje42@gmail.com>
14911
14912         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14913         to history survives a gc.
14914
14915 2014-03-13  Pedro Alves  <palves@redhat.com>
14916
14917         * gdb.base/default.exp: Don't test "target procfs".
14918
14919 2014-03-13  Pedro Alves  <palves@redhat.com>
14920
14921         * gdb.base/default.exp: Update "target child" and "target procfs"
14922         tests to not expect "Unix".
14923
14924 2014-03-12  Tom Tromey  <tromey@redhat.com>
14925
14926         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14927         New procs.  Add target-async tests.
14928         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14929         Add target-async tests.
14930
14931 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14932
14933         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14934         'func_start' and 'func_end' for the beginning and end of the
14935         function code, respectively.
14936         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14937         'func_end' instead of 'func' and 'main'.
14938
14939 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14940
14941         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14942         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14943         generate the debug info assembler source.
14944
14945 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14946
14947         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14948         * gdb.dwarf2/arr-subrange.exp: Likewise.
14949         * gdb.dwarf2/dwz.exp: Likewise.
14950         * gdb.dwarf2/method-ptr.exp: Likewise.
14951         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14952         * gdb.dwarf2/subrange.exp: Likewise.
14953         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14954         * gdb.dwarf2/implptrpiece.exp: Likewise.
14955         * gdb.dwarf2/nostaticblock.exp: Likewise.
14956
14957 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14958
14959         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14960         directory to absolute path name arguments.
14961
14962 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14963
14964         * gdb.ada/tagged_access: New testcase.
14965
14966 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14967
14968         * gdb.btrace/data.exp: Update expected output.
14969
14970 2014-03-06  Yao Qi  <yao@codesourcery.com>
14971
14972         * gdb.trace/pr16508.exp: New file.
14973
14974 2014-03-05  Pedro Alves  <palves@redhat.com>
14975
14976         PR gdb/16575
14977         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14978         procedure.
14979         (top level): Adjust to use it.  Add tests that exercise breakpoint
14980         interaction with the code-cache.
14981
14982 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14983
14984         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14985         test for 'history-append!'.
14986
14987 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14988
14989         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14990         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14991         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14992         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14993         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14994         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14995
14996 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14997
14998         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14999         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15000         * testsuite/gdb.python/py-pp-re-notag.p: New file.
15001
15002 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15003
15004         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15005
15006 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15007
15008         * gdb.dwarf2/arr-stride.c: New file.
15009         * gdb.dwarf2/arr-stride.exp: New file.
15010
15011 2014-02-26  Pedro Alves  <palves@redhat.com>
15012
15013         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15014         that won't ever trigger.  Make sure that GDB reports the correct
15015         breakpoint that caused the stop.
15016
15017 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15018
15019         PR gdb/16626
15020         * gdb.base/auto-load-script: New file.
15021         * gdb.base/auto-load.c: New file.
15022         * gdb.base/auto-load.exp: New file.
15023
15024         PR gdb/16626
15025         * gdb.base/auto-load.exp: Fix out-of-srctree run.
15026
15027 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15028
15029         Fix dw2-icycle.exp -fsanitize=address GDB crash.
15030         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15031
15032 2014-02-24  Doug Evans  <dje@google.com>
15033
15034         * lib/gdb.exp (run_on_host): Log error output if program fails.
15035
15036 2014-02-21  Pedro Alves  <palves@redhat.com>
15037
15038         * gdb.threads/step-after-sr-lock.c: Rename to ...
15039         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15040         * gdb.threads/step-after-sr-lock.exp: Rename to ...
15041         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15042         ... this.
15043
15044 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
15045
15046         PR tdep/16397
15047         * gdb.arch/amd64-stap-special-operands.exp: New file.
15048         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15049         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15050         * gdb.arch/amd64-stap-triplet.S: Likewise.
15051         * gdb.arch/amd64-stap-triplet.c: Likewise.
15052
15053 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
15054
15055         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15056         in .section pseudo-op.
15057
15058 2014-02-20  lin zuojian  <manjian2006@gmail.com>
15059             Joel Brobecker  <brobecker@adacore.com>
15060             Doug Evans  <xdje42@gmail.com>
15061
15062         PR symtab/16581
15063         * gdb.dwarf2/dw2-icycle.S: New file.
15064         * gdb.dwarf2/dw2-icycle.c: New file.
15065         * gdb.dwarf2/dw2-icycle.exp: New file.
15066
15067 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
15068
15069         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15070         operations on gdb.Value objects.
15071         * gdb.python/py-value-cc.exp: Add new test to test operations on
15072         gdb.Value objects.
15073
15074 2014-02-18  Doug Evans  <dje@google.com>
15075
15076         * Makefile.in (TESTS): New variable.
15077         (expanded_tests, expanded_tests_or_none): New variables
15078         (check-single): Pass $(expanded_tests_or_none) to runtest.
15079         (check-parallel): Only run tests in $(TESTS) if non-empty.
15080         (check/no-matching-tests-found): New rule.
15081         * README: Document TESTS makefile variable.
15082
15083 2014-02-18  Doug Evans  <dje@google.com>
15084
15085         * Makefile.in (check-parallel): rm -rf outputs temp.
15086
15087 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15088
15089         Fix "ERROR: no fileid for" in the testsuite.
15090         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15091
15092 2014-02-12  Doug Evans  <dje@google.com>
15093
15094         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15095         (MISCELLANEOUS): New variable.
15096         (clean): rm -rf $(MISCELLANEOUS).
15097         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15098         dwp live in the same directory as symlinks, with each symlink pointed
15099         to a differently named file in a different directory.
15100
15101 2014-02-11  Doug Evans  <dje@google.com>
15102
15103         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15104         of Tcl file commands.
15105
15106 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15107
15108         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15109         "kill -SIGUSR1 -1".
15110
15111 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15112
15113         * gdb.ada/tick_length_array_enum_idx: New testcase.
15114
15115 2014-02-10  Doug Evans  <xdje42@gmail.com>
15116
15117         * configure.ac (AC_OUTPUT): Add gdb.guile.
15118         * configure: Regenerate.
15119         * lib/gdb-guile.exp: New file.
15120         * lib/gdb.exp (get_target_charset): New function.
15121         * gdb.base/help.exp: Update expected output from "apropos apropos".
15122         * gdb.guile/Makefile.in: New file.
15123         * gdb.guile/guile.exp: New file.
15124         * gdb.guile/scm-arch.c: New file.
15125         * gdb.guile/scm-arch.exp: New file.
15126         * gdb.guile/scm-block.c: New file.
15127         * gdb.guile/scm-block.exp: New file.
15128         * gdb.guile/scm-breakpoint.c: New file.
15129         * gdb.guile/scm-breakpoint.exp: New file.
15130         * gdb.guile/scm-disasm.c: New file.
15131         * gdb.guile/scm-disasm.exp: New file.
15132         * gdb.guile/scm-equal.c: New file.
15133         * gdb.guile/scm-equal.exp: New file.
15134         * gdb.guile/scm-error.exp: New file.
15135         * gdb.guile/scm-error.scm: New file.
15136         * gdb.guile/scm-frame-args.c: New file.
15137         * gdb.guile/scm-frame-args.exp: New file.
15138         * gdb.guile/scm-frame-args.scm: New file.
15139         * gdb.guile/scm-frame-inline.c: New file.
15140         * gdb.guile/scm-frame-inline.exp: New file.
15141         * gdb.guile/scm-frame.c: New file.
15142         * gdb.guile/scm-frame.exp: New file.
15143         * gdb.guile/scm-generics.exp: New file.
15144         * gdb.guile/scm-gsmob.exp: New file.
15145         * gdb.guile/scm-iterator.c: New file.
15146         * gdb.guile/scm-iterator.exp: New file.
15147         * gdb.guile/scm-math.c: New file.
15148         * gdb.guile/scm-math.exp: New file.
15149         * gdb.guile/scm-objfile-script-gdb.in: New file.
15150         * gdb.guile/scm-objfile-script.c: New file.
15151         * gdb.guile/scm-objfile-script.exp: New file.
15152         * gdb.guile/scm-objfile.c: New file.
15153         * gdb.guile/scm-objfile.exp: New file.
15154         * gdb.guile/scm-ports.exp: New file.
15155         * gdb.guile/scm-pretty-print.c: New file.
15156         * gdb.guile/scm-pretty-print.exp: New file.
15157         * gdb.guile/scm-pretty-print.scm: New file.
15158         * gdb.guile/scm-section-script.c: New file.
15159         * gdb.guile/scm-section-script.exp: New file.
15160         * gdb.guile/scm-section-script.scm: New file.
15161         * gdb.guile/scm-symbol.c: New file.
15162         * gdb.guile/scm-symbol.exp: New file.
15163         * gdb.guile/scm-symtab-2.c: New file.
15164         * gdb.guile/scm-symtab.c: New file.
15165         * gdb.guile/scm-symtab.exp: New file.
15166         * gdb.guile/scm-type.c: New file.
15167         * gdb.guile/scm-type.exp: New file.
15168         * gdb.guile/scm-value-cc.cc: New file.
15169         * gdb.guile/scm-value-cc.exp: New file.
15170         * gdb.guile/scm-value.c: New file.
15171         * gdb.guile/scm-value.exp: New file.
15172         * gdb.guile/source2.scm: New file.
15173         * gdb.guile/types-module.cc: New file.
15174         * gdb.guile/types-module.exp: New file.
15175
15176 2014-02-10  Yao Qi  <yao@codesourcery.com>
15177
15178         PR testsuite/16543
15179         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15180         * configure: Regenerated.
15181         * Makefile.in: New file.
15182
15183 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15184
15185         * gdb.python/py-framefilter.exp: Fix typo.
15186
15187 2014-02-08  Yao Qi  <yao@codesourcery.com>
15188
15189         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15190         that no =breakpoint-modified is emitted when breakpoints are
15191         modified through MI commands.
15192
15193 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15194             Pedro Alves  <palves@redhat.com>
15195
15196         * gdb.threads/step-after-sr-lock.c: New file.
15197         * gdb.threads/step-after-sr-lock.exp: New file.
15198
15199 2014-02-07  Pedro Alves  <palves@redhat.com>
15200
15201         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15202
15203 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15204
15205         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15206         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15207
15208 2014-02-06  Doug Evans  <xdje42@gmail.com>
15209
15210         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15211         output.
15212
15213         * gdb.gdb/python-interrupts.exp: New file.
15214
15215 2014-02-05  Yao Qi  <yao@codesourcery.com>
15216
15217         * gdb.trace/report.exp (use_collected_data): Test the output
15218         of "info threads" and "info inferiors".
15219
15220 2014-02-05  Yao Qi  <yao@codesourcery.com>
15221
15222         Revert this patch:
15223
15224         2013-05-24  Yao Qi  <yao@codesourcery.com>
15225
15226         * gdb.trace/tfile.exp: Test inferior and thread.
15227
15228 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15229
15230         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15231         on a function.
15232         * gdb.base/step-bt.c: Call hello via function pointer to make
15233         sure its first instruction is executed on powerpc64le-linux.
15234
15235 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15236
15237         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15238
15239 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15240
15241         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15242         of the test patterns for use on little-endian systems.
15243
15244 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15245
15246         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15247         (decimal_vector): Fix for little-endian.
15248
15249 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15250
15251         * gdb.arch/sparc-sysstep.exp: New file.
15252         * gdb.arch/sparc-sysstep.c: Likewise.
15253
15254         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15255
15256 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15257
15258         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15259
15260 2014-01-23  Tom Tromey  <tromey@redhat.com>
15261
15262         * gdb.ada/array_char_idx: New testcase.
15263
15264 2014-01-23  Tom Tromey  <tromey@redhat.com>
15265
15266         PR python/16487:
15267         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15268         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15269         classes.
15270
15271 2014-01-23  Tom Tromey  <tromey@redhat.com>
15272
15273         PR python/16491:
15274         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15275         string from an inferior frame.
15276         * gdb.python/py-framefilter-mi.exp: Update.
15277
15278 2014-01-22  Doug Evans  <dje@google.com>
15279
15280         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15281
15282 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15283
15284         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15285
15286 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15287
15288         * gdb.trace/entry-values.exp: Remove excess space character from
15289         regex patterns.  Handle s390 call instruction.
15290
15291 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15292
15293         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15294         define "*_start" label.  Make "name" static.
15295         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15296         ${name} by references to ${name}_start.
15297
15298 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15299
15300         * gdb.base/info-macros.exp: Remove "debug" from the compile
15301         options.
15302
15303 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15304
15305         * gdb.dlang/demangle.exp: New file.
15306
15307 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15308
15309         * gdb.dlang/primitive-types.exp: New file.
15310
15311 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15312
15313         * configure.ac: Create gdb.dlang/Makefile.
15314         * configure: Regenerate.
15315         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15316         * gdb.dlang/Makefile.in: New file.
15317         * lib/d-support.exp: New file.
15318         * lib/gdb.exp (skip_d_tests): New proc.
15319
15320 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15321
15322         * gdb.btrace/delta.exp: Check reverse stepi.
15323         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15324         * gdb.btrace/finish.exp: New.
15325         * gdb.btrace/next.exp: New.
15326         * gdb.btrace/nexti.exp: New.
15327         * gdb.btrace/record_goto.c: Add comments.
15328         * gdb.btrace/step.exp: New.
15329         * gdb.btrace/stepi.exp: New.
15330         * gdb.btrace/multi-thread-step.c: New.
15331         * gdb.btrace/multi-thread-step.exp: New.
15332         * gdb.btrace/rn-dl-bind.c: New.
15333         * gdb.btrace/rn-dl-bind.exp: New.
15334         * gdb.btrace/data.c: New.
15335         * gdb.btrace/data.exp: New.
15336         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15337
15338 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15339
15340         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15341         * gdb.btrace/exception.exp: Update.
15342         * gdb.btrace/instruction_history.exp: Update.
15343         * gdb.btrace/record_goto.exp: Update.
15344         * gdb.btrace/tailcall.exp: Update.
15345         * gdb.btrace/unknown_functions.exp: Update.
15346         * gdb.btrace/delta.exp: New.
15347
15348 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15349
15350         * gdb.btrace/record_goto.exp: Add backtrace test.
15351         * gdb.btrace/tailcall.exp: Add backtrace test.
15352
15353 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15354
15355         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15356         * gdb.btrace/record_goto.c: New.
15357         * gdb.btrace/record_goto.exp: New.
15358         * gdb.btrace/x86-record_goto.S: New.
15359
15360 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15361
15362         * gdb.btrace/function_call_history.exp: Update tests.
15363         * gdb.btrace/instruction_history.exp: Update tests.
15364
15365 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15366
15367         * gdb.btrace/function_call_history.exp: Fix expected field
15368         order for "record function-call-history".
15369         Add new tests for "record function-call-history /c".
15370         * gdb.btrace/exception.cc: New.
15371         * gdb.btrace/exception.exp: New.
15372         * gdb.btrace/tailcall.exp: New.
15373         * gdb.btrace/x86-tailcall.S: New.
15374         * gdb.btrace/x86-tailcall.c: New.
15375         * gdb.btrace/unknown_functions.c: New.
15376         * gdb.btrace/unknown_functions.exp: New.
15377         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15378
15379 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15380
15381         * gdb.btrace/instruction_history.exp: Update.
15382         * gdb.btrace/function_call_history.exp: Update.
15383
15384 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15385
15386         * gdb.btrace/function_call_history.exp: Fix expected function
15387         trace.
15388         * gdb.btrace/instruction_history.exp: Initialize traced.
15389         Remove traced_functions.
15390
15391 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15392
15393         * gdb.btrace/function_call_history.exp: Update
15394         * gdb.btrace/instruction_history.exp: Update.
15395
15396 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15397
15398         * gdb.btrace/enable.exp: Update expected text.
15399
15400 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15401
15402         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15403         bytes.
15404
15405 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15406
15407         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15408
15409 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15410
15411         * lib/gdb.exp (supports_process_record): Return true for
15412         arm*-linux*.  (supports_reverse): Likewise.
15413
15414 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15415
15416         PR python/15464
15417         PR python/16113
15418         * gdb.python/py-type.c: Enhance test case.
15419         * gdb.python/py-value-cc.cc: Likewise
15420         * gdb.python/py-type.exp: Add new tests.
15421         * gdb.python/py-value-cc.exp: Likewise
15422
15423 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15424             Pedro Alves <palves@redhat.com>
15425
15426         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15427         Make "name" extern.
15428         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15429         references to ${name}_start by references to ${name}.
15430
15431 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15432
15433         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15434
15435 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15436
15437         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15438
15439 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15440             Pedro Alves  <palves@redhat.com>
15441
15442         * gdb.mi/mi-info-os.exp: Connect to the target with
15443         mi_gdb_target_load.
15444
15445 2014-01-08  Pedro Alves  <palves@redhat.com>
15446
15447         * gdb.threads/reconnect-signal.c: New file.
15448         * gdb.threads/reconnect-signal.exp: New file.
15449
15450 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15451
15452         * gdb.base/source-dir.exp: New file.
15453
15454 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15455
15456         * gdb.ada/mi_interface: New testcase.
15457
15458 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15459
15460         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15461         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15462         gdb.ada/pp-rec-component/pck.ads: New files.
15463
15464 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15465
15466         * gdb.python/py-pp-integral.c: New file.
15467         * gdb.python/py-pp-integral.py: New file.
15468         * gdb.python/py-pp-integral.exp: New file.
15469
15470 For older changes see ChangeLog-1993-2013.
15471 \f
15472 ;; Local Variables:
15473 ;; mode: change-log
15474 ;; left-margin: 8
15475 ;; fill-column: 74
15476 ;; version-control: never
15477 ;; End:
15478
15479     Copyright 2014-2019 Free Software Foundation, Inc.
15480   Copying and distribution of this file, with or without modification,
15481   are permitted provided the copyright notice and this notice are preserved.