Allow nested function displays
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-07-30  Tom Tromey  <tromey@adacore.com>
2
3         * gdb.ada/display_nested.exp: New file.
4         * gdb.ada/display_nested/foo.adb: New file.
5         * gdb.ada/display_nested/pack.adb: New file.
6         * gdb.ada/display_nested/pack.ads: New file.
7
8 2019-07-30  Christian Biesinger  <cbiesinger@google.com>
9
10         * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
11         namespace.
12         * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
13
14 2019-07-30  Tom de Vries  <tdevries@suse.de>
15
16         * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
17         instead.
18
19 2019-07-30  Tom de Vries  <tdevries@suse.de>
20
21         PR testsuite/24834
22         * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
23         (exec_is_pie): New proc.
24
25 2019-07-29  Christian Biesinger  <cbiesinger@google.com>
26
27         * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
28
29 2019-07-29  Christian Biesinger  <cbiesinger@google.com>
30
31         * gdb.python/py-objfile.c: Add global and static vars.
32         * gdb.python/py-objfile.exp: Test new functions Objfile.
33           lookup_global_symbol and lookup_static_symbol.
34
35 2019-07-29  Tom Tromey  <tom@tromey.com>
36
37         * lib/tuiterm.exp (Term::_csi_@): New proc.
38         (Term::_csi_X): Don't move cursor.
39
40 2019-07-29  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
41
42         * gdb.base/options.exp: Update backtrace - completion to
43         new option -frame-info.
44         * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
45         Test new 'set print frame-info'.  Test backtrace -frame-info
46         overriding 'set print frame-info'.
47         * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
48         Test new 'set print frame-info'.
49         Verify consistency of backtrace with and without filters, with and
50         without -no-filters.
51         * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
52         default.
53
54 2019-07-29  Tom de Vries  <tdevries@suse.de>
55
56         * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
57         no arguments".
58
59 2019-07-29  Tom de Vries  <tdevries@suse.de>
60
61         * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
62         is a substring of the first for "complete non-unique file name".
63
64 2019-07-29  Tom de Vries  <tdevries@suse.de>
65
66         * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
67         with ".*".
68
69 2019-07-29  Tom de Vries  <tdevries@suse.de>
70
71         * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
72         Pass prompt_regexp parameter to gdb_test_multiple calls.
73
74 2019-07-29  Tom de Vries  <tdevries@suse.de>
75
76         * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
77           print registers" regexps.
78
79 2019-07-29  Tom de Vries  <tdevries@suse.de>
80
81         * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
82
83 2019-07-29  Tom de Vries  <tdevries@suse.de>
84
85         PR gdb/24855
86         * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
87         (skip_python_tests_prompt): Add prompt_regexp argument to
88         gdb_test_multiple calls.
89
90 2019-07-27  Tom Tromey  <tom@tromey.com>
91
92         * gdb.tui/main.exp: New file.
93
94 2019-07-27  Tom Tromey  <tom@tromey.com>
95
96         * lib/tuiterm.exp (Term::clean_restart): Make "executable"
97         optional.
98         * gdb.tui/empty.exp: New file.
99
100 2019-07-27  Tom Tromey  <tom@tromey.com>
101
102         * lib/tuiterm.exp (spawn): New proc.
103         (Term::resize): New proc.
104         * gdb.tui/resize.exp: New file.
105
106 2019-07-27  Tom Tromey  <tom@tromey.com>
107
108         * gdb.tui/list.exp: New file.
109
110 2019-07-27  Tom Tromey  <tom@tromey.com>
111
112         * gdb.tui/regs.exp: New file.
113
114 2019-07-27  Tom Tromey  <tom@tromey.com>
115
116         * gdb.tui/basic.exp: Add "layout split" test.
117
118 2019-07-27  Tom Tromey  <tom@tromey.com>
119
120         * gdb.tui/basic.exp: Add "layout asm" test.
121
122 2019-07-27  Tom Tromey  <tom@tromey.com>
123
124         * lib/tuiterm.exp: New file.
125         * gdb.tui/basic.exp: New file.
126
127 2019-07-27  Kevin Buettner  <kevinb@redhat.com>
128
129         * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
130         Enable tests associated with this flag.  Adjust regex
131         referencing "foo_low" to now refer to "foo_cold" instead.
132
133 2019-07-27  Kevin Buettner  <kevinb@redhat.com>
134
135         * gdb.dwarf2/dw2-ranges-func.c: Rename to...
136         * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
137         * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
138         foo_cold.  Revise comments to match.
139         * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
140         * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
141         were wrapped into this proc; Call do_test in loop from outermost
142         level.
143         (foo_low): Rename all occurrences to "foo_cold".
144         (backtrace from baz): New test.
145         (x2/i foo_cold): New test.
146         (info line *foo_cold): New test.
147
148 2019-07-26  Tom de Vries  <tdevries@suse.de>
149
150         * gdb.arch/i386-pkru.exp: Fix unterminated string.
151
152 2019-07-25  Tom de Vries  <tdevries@suse.de>
153
154         PR testsuite/24830
155         * gdb.mi/mi-catch-cpp-exceptions.exp: Call
156         mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
157         * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
158         (skip_libstdcxx_probe_tests): ... here.
159         * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
160
161 2019-07-24  Tom de Vries  <tdevries@suse.de>
162
163         PR testsuite/24807
164         * gdb.objc/basicclass.m: Include stdio.h.
165         * gdb.objc/nondebug.m: Same.
166         * gdb.objc/objcdecode.m: Same.
167
168 2019-07-24  Tom de Vries  <tdevries@suse.de>
169
170         PR testsuite/24612
171         * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
172         additional_flags.
173
174 2019-07-24  Tom de Vries  <tdevries@suse.de>
175
176         PR testsuite/24831
177         * gdb.multi/tids.exp: Update error messages for info threads.
178
179 2019-07-24  Tom de Vries  <tdevries@suse.de>
180
181         * gdb.base/info-types.exp: Allow info types to print info for more than
182         one file.
183
184 2019-07-23  Tom de Vries  <tdevries@suse.de>
185
186         PR testsuite/24842
187         * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
188         gdb_spawn_with_cmdline_opts.
189
190 2019-07-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
191
192         * gdb.arch/arm-cmse-sgstubs.c: New test.
193         * gdb.arch/arm-cmse-sgstubs.exp: New file.
194
195 2019-07-23  Tom de Vries  <tdevries@suse.de>
196
197         PR testsuite/24711
198         * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
199         issuing next command.
200
201 2019-07-22  Andrew Burgess  <andrew.burgess@embecosm.com>
202
203         * gdb.ada/info_auto_lang.exp: Update expected results.
204         * gdb.base/info-types.c: Add additional types to check.
205         * gdb.base/info-types.exp: Update expected results.
206
207 2019-07-22  Andrew Burgess  <andrew.burgess@embecosm.com>
208
209         * gdb.base/info-types.c: New file.
210         * gdb.base/info-types.exp: New file.
211
212 2019-07-19  Andrew Burgess  <andrew.burgess@embecosm.com>
213
214         * gdb.arch/riscv-bp-infcall.c: New file.
215         * gdb.arch/riscv-bp-infcall.exp: New file.
216
217 2019-07-17  Andrew Burgess  <andrew.burgess@embecosm.com>
218
219         PR breakpoints/24541
220         * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
221
222 2019-07-14  Tom de Vries  <tdevries@suse.de>
223
224         PR testsuite/24760
225         * gdb.objc/basicclass.exp: Fix unterminated string.
226
227 2019-07-12  Bernhard Heckel  <bernhard.heckel@intel.com>
228             Andrew Burgess  <andrew.burgess@embecosm.com>
229
230         * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
231         * gdb.fortran/vla-sizeof.exp: Print the size of an array with
232         negative bounds.
233         * gdb.fortran/vla-value.exp: Print elements of an array with
234         negative bounds.
235         * gdb.fortran/vla.f90: Setup an array with negative bounds for
236         testing.
237
238 2019-07-11  Andrew Burgess  <andrew.burgess@embecosm.com>
239
240         * gdb.base/options.exp (expect_string): Dequote strings in
241         results.
242         (test-string): Test strings with different quoting and reindent.
243
244 2019-07-10  Tom Tromey  <tromey@adacore.com>
245
246         * gdb.ada/mi_ex_cond.exp: Update expected results.
247         * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
248         * gdb.ada/mi_catch_ex.exp: Update expected results.
249         * gdb.ada/mi_catch_assert.exp: Update expected results.
250         * gdb.ada/catch_ex.exp (catch_exception_info)
251         (catch_exception_entry, catch_assert_entry)
252         (catch_unhandled_entry): Update.
253         * gdb.ada/catch_assert_if.exp: Update expected results.
254
255 2019-07-10  Richard Bunt  <richard.bunt@arm.com>
256         Stephen Roberts  <stephen.roberts@arm.com>
257
258         * gdb.base/define.exp: Restore original prompt.
259
260 2019-07-09  Pedro Alves  <palves@redhat.com>
261
262         * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
263         breakpoints" output.
264         * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
265         * gdb.python/py-breakpoint.exp: No longer expect that "catch
266         throw" creates breakpoint.
267         * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
268         'type="catchpoint"'.
269
270 2019-07-09  Pedro Alves  <palves@redhat.com>
271
272         PR c++/15468
273         * gdb.cp/except-multi-location-lib.cc: New.
274         * gdb.cp/except-multi-location-main.cc: New.
275         * gdb.cp/except-multi-location.exp: New.
276
277 2019-07-09  Sergio Durigan Junior  <sergiodj@redhat.com>
278
279         * gdb.base/printcmds.exp (test_printf_convenience_var): Set
280         language to "c++" before dealing with wchar_t.  Remove DO_WSTRING
281         argument and update callers.
282
283 2019-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
284
285         * gdb.arch/amd64-break-on-asm-line.S: New file.
286         * gdb.arch/amd64-break-on-asm-line.exp: New file.
287
288 2019-07-08  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
289
290         * gdb.base/printcmds.exp: Test printing C string and
291         C wide string convenience vars without transiting via the inferior.
292         Also make test names unique.
293
294 2019-07-08  Alan Hayward  <alan.hayward@arm.com>
295
296         * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
297
298 2019-07-04  Pedro Alves  <palves@redhat.com>
299
300         * lib/gdb.exp (foreach_with_prefix): Don't return early if
301         body returned ok(0), break(3) or continue(4).
302         * gdb.testsuite/foreach_with_prefix.exp: New file.
303
304 2019-07-04  Alan Hayward  <alan.hayward@arm.com>
305
306         * gdb.server/unittest.exp: Allow 0 unit tests to run.
307
308 2019-07-03  Pedro Alves  <palves@redhat.com>
309
310         * lib/gdb.exp (foreach_with_prefix): Use "catch" and
311         "return -code".
312
313 2019-07-03  Pedro Alves  <palves@redhat.com>
314
315         PR cli/24732
316         * gdb.base/shell.exp: Load completion-support.exp.
317         Adjust expected error output.  Add completion tests.
318
319 2019-07-03  Pedro Alves  <palves@redhat.com>
320
321         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
322         string_to_regexp.
323
324 2019-07-03  Pedro Alves  <palves@redhat.com>
325
326         * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
327         (expect_integer): Adjust to expect "-string".
328         (expect_string): New.
329         (all_options): Expect "-string".
330         (test-flag, test-boolean): Adjust to expect "-string".
331         (test-string): New proc.
332         (top level): Call it.
333
334 2019-07-03  Pedro Alves  <palves@redhat.com>
335
336         * gdb.base/options.exp (test-misc, test-flag, test-boolean)
337         (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
338         the expected output in the success.
339
340 2019-07-03  Pedro Alves  <palves@redhat.com>
341
342         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
343         Split one gdb_test_multiple call in two to avoid a race.
344
345 2019-07-03  Pedro Alves  <palves@redhat.com>
346
347         * gdb.base/with.c: New file.
348         * gdb.base/with.exp: New file.
349
350 2019-07-03  Pedro Alves  <palves@redhat.com>
351
352         * gdb.base/settings.exp: Replace all references to "maint
353         test-settings set" with references to "maint set test-settings",
354         and all references to "maint test-settings show" with references
355         to "maint show test-settings".
356
357 2019-07-03  Pedro Alves  <palves@redhat.com>
358
359         * gdb.base/settings.exp (test-string): Adjust expected out when
360         testing "maint test-settings show filename"
361
362 2019-07-02  Pedro Alves  <palves@redhat.com>
363
364         * gdb.base/options.exp (test-info-threads): New procedure.
365         (top level): Call it.
366
367 2019-06-28  Tom Tromey  <tromey@adacore.com>
368
369         * gdb.dwarf2/ada-linkage-name.c: New file.
370         * gdb.dwarf2/ada-linkage-name.exp: New file.
371
372 2019-06-27  Tom Tromey  <tromey@adacore.com>
373
374         * gdb.cp/constexpr-field.exp: Use setup_xfail.
375
376 2019-06-26  Tom de Vries  <tdevries@suse.de>
377
378         * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
379
380 2019-06-26  Tom de Vries  <tdevries@suse.de>
381
382         * gdb.base/index-cache.exp: Add back missing debug option.
383
384 2019-06-23  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
385
386         * gdb.base/alias.exp: Test non matching/non existing prefixes.
387
388 2019-06-25  Tom de Vries  <tdevries@suse.de>
389
390         PR testsuite/24727
391         * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
392
393 2019-06-24  Tom de Vries  <tdevries@suse.de>
394
395         * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
396
397 2019-06-24  Tom de Vries  <tdevries@suse.de>
398
399         * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
400         DW_FOR_sdata for DW_AT_decl_file.  Use 0 for DW_AT_decl_file.
401         * gdb.trace/unavailable-dwarf-piece.exp: Same.
402
403 2019-06-24  Tom de Vries  <tdevries@suse.de>
404
405         * gdb.dwarf2/inlined_subroutine-inheritance.exp:
406
407 2019-06-21  Tom de Vries  <tdevries@suse.de>
408
409         * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
410
411 2019-06-21  Tom de Vries  <tdevries@suse.de>
412
413         PR testsuite/24518
414         PR ada/24713
415         * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
416         index.
417
418 2019-06-19  Tom Tromey  <tromey@adacore.com>
419
420         * gdb.ada/length_cond.exp: Add intro comment.
421
422 2019-06-19  Tom Tromey  <tromey@adacore.com>
423
424         * gdb.ada/length_cond.exp: New file.
425         * gdb.ada/length_cond/length_cond.adb: New file.
426         * gdb.ada/length_cond/pck.adb: New file.
427         * gdb.ada/length_cond/pck.ads: New file.
428
429 2019-06-18  Tom de Vries  <tdevries@suse.de>
430
431         * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
432
433 2019-06-18  Tom Tromey  <tromey@adacore.com>
434
435         * gdb.base/list0.h: Add comment explaining control character.
436
437 2019-06-18  Tom de Vries  <tdevries@suse.de>
438
439         * boards/fission.exp: Break up long debug_flags line.
440
441 2019-06-16  Tom de Vries  <tdevries@suse.de>
442
443         PR gdb/24445
444         * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
445         generated index.
446
447 2019-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
448
449         PR gdb/24686
450         * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
451         improve detection of bug gdb/24541.
452
453 2019-06-16  Simon Marchi  <simon.marchi@polymtl.ca>
454
455         PR gdb/24669
456         * gdb.base/index-cache.exp (uses_readnow,
457         expecting_index_cache_use): Define global variable.
458         (test_cache_enabled_miss, test_cache_enabled_hit): Use
459         expecting_index_cache_use.
460
461 2019-06-16  Bernhard Heckel  <bernhard.heckel@intel.com>
462             Andrew Burgess  <andrew.burgess@embecosm.com>
463
464         * gdb.fortran/pointers.f90: New file.
465         * gdb.fortran/print_type.exp: New file.
466         * gdb.fortran/vla-ptype.exp: Adapt expected results.
467         * gdb.fortran/vla-type.exp: Likewise.
468         * gdb.fortran/vla-value.exp: Likewise.
469         * gdb.mi/mi-vla-fortran.exp: Likewise.
470
471 2019-06-15  Andrew Burgess  <andrew.burgess@embecosm.com>
472
473         * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
474         * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
475         * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
476         as a stop reason.
477
478 2019-06-15  Andrew Burgess  <andrew.burgess@embecosm.com>
479
480         * gdb.base/annota1.exp: Update expected results.
481         * gdb.cp/annota2.exp: Likewise.
482         * gdb.cp/annota3.exp: Likewise.
483
484 2019-06-15  Andrew Burgess  <andrew.burgess@embecosm.com>
485
486         * gdb.base/style-logging.exp: Remove path from test name.
487
488 2019-06-14  Tom Tromey  <tromey@adacore.com>
489
490         PR gdb/24502:
491         * gdb.base/style-logging.exp: New file.
492
493 2019-06-14  Tom Tromey  <tromey@adacore.com>
494
495         * gdb.base/symfile-warn.exp: New file.
496         * gdb.base/symfile-warn.c: New file.
497
498 2019-06-14  Tom Tromey  <tromey@adacore.com>
499
500         * gdb.base/annotate-symlink.exp: New file.
501
502 2019-06-14  Tom Tromey  <tromey@adacore.com>
503
504         * gdb.ada/set_wstr.exp: Add reassignment test.
505
506 2019-06-14  Tom Tromey  <tromey@adacore.com>
507
508         * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
509         'unchecked_access and 'unrestricted_access as well.
510
511 2019-06-14  Tom Tromey  <tromey@adacore.com>
512
513         PR ada/24539:
514         * gdb.ada/vla.exp: Update tests.
515         * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
516         pragma.
517
518 2019-06-13  Pedro Alves  <palves@redhat.com>
519
520         * gdb.base/settings.exp (test-integer): Test junk after
521         "unlimited".
522
523 2019-06-13  Pedro Alves  <palves@redhat.com>
524
525         * gdb.base/options.exp (test-thread-apply): New.
526         (top level): Call it.
527
528 2019-06-13  Pedro Alves  <palves@redhat.com>
529
530         * gdb.base/options.exp (test-frame-apply): New.
531         (top level): Test print commands with different "frame apply"
532         prefixes.
533
534 2019-06-13  Pedro Alves  <palves@redhat.com>
535
536         * lib/completion-support.exp (test_gdb_complete_tab_multiple)
537         (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
538         'max_completions' parameter and handle it.
539         (test_gdb_completion_offers_commands): New.
540
541 2019-06-13  Pedro Alves  <palves@redhat.com>
542
543         * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
544
545 2019-06-13  Pedro Alves  <palves@redhat.com>
546
547         * gdb.base/options.exp (test-backtrace): New.
548         (top level): Call it.
549
550 2019-06-13  Pedro Alves  <palves@redhat.com>
551
552         * gdb.guile/scm-frame-args.exp: Use "set print
553         raw-frame-arguments" instead of "set print raw frame-arguments".
554         * gdb.python/py-frame-args.exp: Likewise.
555
556 2019-06-13  Pedro Alves  <palves@redhat.com>
557
558         * gdb.compile/compile.exp: Adjust expected output to option
559         processing changes.
560
561 2019-06-13  Pedro Alves  <palves@redhat.com>
562
563         * gdb.base/options.exp: Build executable.
564         (test-print): New procedure.
565         (top level): Call it, once for "print" and another for "compile
566         print".
567
568 2019-06-13  Pedro Alves  <palves@redhat.com>
569
570         * gdb.base/options.c: New file.
571         * gdb.base/options.exp: New file.
572
573 2019-06-13  Pedro Alves  <palves@redhat.com>
574
575         * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
576         that "o" is ambiguous.
577
578 2019-06-13  Pedro Alves  <palves@redhat.com>
579
580         * gdb.base/settings.c: New file.
581         * gdb.base/settings.exp: New file.
582
583 2019-06-13  Pedro Alves  <palves@redhat.com>
584
585         * gdb.base/completion.exp: Fix comment typo.
586
587 2019-06-13  Pedro Alves  <palves@redhat.com>
588
589         * gdb.multi/tids.exp: Adjust expected output.  Add "thread apply 1
590         foo --1" test.
591
592 2019-06-11  Bernhard Heckel  <bernhard.heckel@intel.com>
593
594         * gdb.fortran/block-data.f: New.
595         * gdb.fortran/block-data.exp: New.
596
597 2019-06-11  Tom de Vries  <tdevries@suse.de>
598
599         PR testsuite/24521
600         * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
601         message.
602
603 2019-06-11  Tom de Vries  <tdevries@suse.de>
604
605         PR testsuite/24521
606         * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
607
608 2019-06-11  Tom de Vries  <tdevries@suse.de>
609
610         * boards/readnow.exp: New file.
611
612 2019-06-10  Andrew Burgess  <andrew.burgess@embecosm.com>
613
614         * gdb.fortran/vla-sizeof.exp: Update expected results.
615
616 2019-06-06  Amos Bird  <amosbird@gmail.com>
617
618         * gdb.base/annota1.exp (thread_switch): Add test for
619         thread-exited annotation.
620
621 2019-06-06  Tom Tromey  <tromey@adacore.com>
622
623         * gdb.base/maint.exp: Expect command started/finished output.
624
625 2019-06-05  Andrew Burgess  <andrew.burgess@embecosm.com>
626
627         * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
628         comment.
629         * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
630
631 2019-06-05  Andrew Burgess  <andrew.burgess@embecosm.com>
632
633         * gdb.arch/riscv-unwind-long-insn-6.s: New file.
634         * gdb.arch/riscv-unwind-long-insn-8.s: New file.
635         * gdb.arch/riscv-unwind-long-insn.c: New file.
636         * gdb.arch/riscv-unwind-long-insn.exp: New file.
637
638 2019-06-04  Christian Biesinger  <cbiesinger@google.com>
639
640         * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
641
642 2019-06-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
643
644         * lib/gdb.exp (help_list_trailer): New regexp variable
645         factorizing the help trailer message.
646         (test_class_help): Use help_list_trailer.  Add LIST_OF_COMMANDS
647         arg to allow to better factorize various tests.
648         (test_user_defined_class_help): Factorizes testing 'help user-defined'.
649         (test_prefix_command_help): Use help_list_trailer.
650         * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
651         * gdb.guile/scm-cmd.exp: Likewise.
652         * gdb.trace/tracecmd.exp: Update caller of test_class_help.
653         * gdb.base/help.exp: Use test_user_defined_class_help.
654         * gdb.base/style.exp: Add tests for styling of help and apropos.
655         * lib/gdb-utils.exp (style): Add title and highlight styles.
656
657 2019-05-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
658
659         * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
660         $_shell_exitsignal.
661         * gdb.base/default.exp: Update for new convenience variables.
662
663 2019-05-29  Tom Tromey  <tromey@adacore.com>
664
665         * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
666         to "break complete ada" test case's regexp.
667
668 2019-05-29  Tom Tromey  <tromey@adacore.com>
669
670         PR c++/20020:
671         * gdb.cp/constexpr-field.exp: New file.
672         * gdb.cp/constexpr-field.cc: New file.
673
674 2019-05-29  Tom Tromey  <tromey@adacore.com>
675
676         * gdb.base/finish.exp (finish_no_print): New proc.
677         (finish_tests): Call it.
678
679 2019-05-24  Tom de Vries  <tdevries@suse.de>
680
681         * gdb.dwarf2/gdb-add-index.exp: New file.
682
683 2019-05-22  Tom Tromey  <tromey@adacore.com>
684
685         * gdb.base/info-shared.exp (check_info_shared): Use "style".
686         * gdb.base/style.exp: Use "style".
687         * lib/gdb-utils.exp (style): New proc.
688
689 2019-05-22  Tom de Vries  <tdevries@suse.de>
690
691         * gdb.base/align.exp: Require c++11.
692
693 2019-05-22  Tom de Vries  <tdevries@suse.de>
694
695         PR testsuite/24586
696         * gdb.python/py-mi-var-info-path-expression.exp: Call
697         mi_skip_python_tests to check if python is supported.
698
699 2019-05-22  Alan Hayward  <alan.hayward@arm.com>
700
701         * gdb.arch/aarch64-pauth.c: New test.
702         * gdb.arch/aarch64-pauth.exp: New file.
703
704 2019-05-22  Alan Hayward  <alan.hayward@arm.com>
705
706         * README (Re-running Tests Outside The Testsuite): New section.
707
708 2019-05-21  Tom de Vries  <tdevries@suse.de>
709
710         * gdb.arch/amd64-eval.exp: Require c++11.
711         * gdb.base/max-depth.exp: Same.
712         * gdb.compile/compile-cplus-array-decay.exp: Same.
713         * gdb.cp/meth-typedefs.exp: Same.
714         * gdb.cp/subtypes.exp: Same.
715         * gdb.cp/temargs.exp: Same.
716
717 2019-05-21  Alan Hayward  <alan.hayward@arm.com>
718
719         * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
720
721 2019-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
722
723         PR gdb/18644
724         * gdb.fortran/complex.exp: Remove setup_kfail calls.
725         * gdb.fortran/printing-types.exp: Add new test.
726         * gdb.fortran/printing-types.f90: Add 16-byte real variable for
727         testing.
728         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
729         setup_kfail call.
730
731 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
732
733         * README (Running the Testsuite): Change example.
734         (Testsuite Parameters): Remove TRANSCRIPT.
735         * lib/gdb.exp: Remove TRANSCRIPT check.
736
737 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
738
739         * README (Testsuite Parameters): Add replay logging to
740         GDBSERVER_DEBUG.
741         (gdbserver,debug): Refer to GDBSERVER_DEBUG.
742         * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
743         as a comma separated list.
744         (gdb_debug_init): Override procedure.
745
746 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
747
748         * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
749         (gdb_write_cmd_file): New procedure.
750         * lib/gdbserver-support.exp (gdbserver_start): Call
751         gdbserver_write_cmd_file.
752         (gdbserver_write_cmd_file): New procedure.
753
754 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
755
756         * lib/gdb.exp (gdb_unload): Mark Y as an answer.
757         (delete_breakpoints): Likewise.
758         (gdb_run_cmd): Likewise.
759         (gdb_start_cmd): Likewise.
760         (gdb_starti_cmd): Likewise.
761         (gdb_internal_error_resync): Likewise.
762         (gdb_test_multiple): Likewise.
763         (gdb_reinitialize_dir): Likewise.
764         (default_gdb_exit): Likewise.
765         (gdb_file_cmd): Mark kill as optional.
766         (default_gdb_start): Call gdb_stdin_log_init.
767         (send_gdb): Call gdb_stdin_log_write.
768         (rerun_to_main): Mark Y as an answer.
769         (gdb_stdin_log_init): New function.
770         (gdb_stdin_log_write): Likewise.
771
772 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
773
774         * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
775         * gdb.base/debug-expr.exp: Likewise.
776         * gdb.base/foll-fork.exp: Likewise.
777         * gdb.base/foll-vfork.exp: Likewise.
778         * gdb.base/fork-print-inferior-events.exp: Likewise.
779         * gdb.base/gdb-sigterm.exp: Likewise.
780         * gdb.base/gdbinit-history.exp: Likewise.
781         * gdb.base/osabi.exp: Likewise.
782         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
783         * gdb.base/ui-redirect.exp: Likewise.
784         * gdb.gdb/unittest.exp: Likewise.
785         * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
786         * gdb.mi/mi-watch.exp: Likewise.
787         * gdb.mi/new-ui-mi-sync.exp: Likewise.
788         * gdb.mi/user-selected-context-sync.exp: Likewise.
789         * gdb.python/python.exp: Disable debug test when debugging.
790         * gdb.threads/check-libthread-db.exp: Disable when debugging.
791         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
792         Likewise.
793         * gdb.threads/stepi-random-signal.exp: Likewise.
794
795 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
796
797         * Makefile.in: Pass through GDB_DEBUG.
798         * README (Testsuite Parameters): Add GDB_DEBUG.
799         (gdb,debug): Add board setting.
800         * lib/gdb.exp (default_gdb_start): Start debugging.
801         (gdb_debug_enabled): New procedure.
802         (gdb_debug_init): Likewise.
803
804 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
805
806         * Makefile.in: Pass through GDB_DEBUG.
807         * README (Testsuite Parameters): Add GDB_DEBUG.
808         (gdb,debug): Add board setting.
809         * lib/gdb.exp (default_gdb_start): Start debugging.
810         (gdb_debug_enabled): New procedure.
811         (gdb_debug_init): Likewise.
812
813 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
814
815         * gdb.base/ui-redirect.exp: Add debug redirect tests.
816
817 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
818
819         * gdb.base/ui-redirect.exp: Test redirection.
820
821 2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>
822
823         * gdb.mi/mi-complete.exp: New file.
824         * gdb.mi/mi-complete.cc: Likewise.
825
826 2019-05-15  Bernhard Heckel  <bernhard.heckel@intel.com>
827
828         * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
829         indexed and sliced arrays, and pointers to arrays.
830
831 2019-05-14  Tom Tromey  <tromey@adacore.com>
832
833         * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
834         styling test.
835
836 2019-05-14  Tom de Vries  <tdevries@suse.de>
837
838         * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
839         selection entry encoding.
840
841 2019-05-10  Tom Tromey  <tromey@adacore.com>
842
843         * gdb.ada/info_exc.exp: Add "complete" test.
844
845 2019-05-09  Tom de Vries  <tdevries@suse.de>
846
847         * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
848         CU-relative.
849
850 2019-05-09  Tom de Vries  <tdevries@suse.de>
851
852         * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
853         CU-relative.
854
855 2019-05-08  Joel Brobecker  <brobecker@adacore.com>
856
857         * gdb.ada/frame_arg_lang.exp: New testcase.
858         * gdb.ada/frame_arg_lang/bla.adb: New file.
859         * gdb.ada/frame_arg_lang/pck.ads: New file.
860         * gdb.ada/frame_arg_lang/pck.adb: New file.
861         * gdb.ada/frame_arg_lang/foo.c: New file.
862
863 2019-05-08  Tom Tromey  <tromey@adacore.com>
864
865         * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
866
867 2019-05-08  Tom Tromey  <tromey@adacore.com>
868
869         * gdb.base/ptype-offsets.exp: Update tests.
870
871 2019-05-08  Tom Tromey  <tromey@adacore.com>
872
873         * gdb.base/ptype-offsets.exp: Use string_to_regexp.  Fix test
874         cases.
875         * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
876         "short".
877
878 2019-05-08  Tom Tromey  <tromey@adacore.com>
879
880         * gdb.ada/vla.exp: New file.
881         * gdb.ada/vla/vla.adb: New file.
882
883 2019-05-07  Tom de Vries  <tdevries@suse.de>
884
885         * gdb.base/index-cache.exp (ls_host): Fix return statement.
886
887 2019-05-07  Tom de Vries  <tdevries@suse.de>
888
889         PR testsuite/24522
890         * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
891         section.
892
893 2019-05-07  Tom de Vries  <tdevries@suse.de>
894
895         PR testsuite/24522
896         * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
897         .debug_aranges section.
898
899 2019-05-07  Tom de Vries  <tdevries@suse.de>
900
901         PR testsuite/24159
902         * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
903
904 2019-05-06  Tom de Vries  <tdevries@suse.de>
905
906         * lib/gdb.exp (exec_has_index_section): New proc.
907         * gdb.base/index-cache.exp: Handle case that binfile contains an index
908         section.
909
910 2019-05-04  Tom de Vries  <tdevries@suse.de>
911
912         * boards/cc-with-debug-names.exp: New file.
913
914 2019-05-03  Tom Tromey  <tromey@adacore.com>
915
916         * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
917         * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
918         * gdb.ada/char_enum.exp: Add test.
919
920 2019-05-03  Tom de Vries  <tdevries@suse.de>
921
922         * boards/cc-with-gdb-index.exp: New file.
923
924 2019-05-02  Andrew Burgess  <andrew.burgess@embecosm.com>
925
926         * gdb.rust/simple.exp: Add new test case.
927         * gdb.rust/simple.rs (struct StringAtOffset): New struct.
928         (main): Initialise an instance of the new struct.
929
930 2019-05-01  Tom Tromey  <tromey@adacore.com>
931
932         * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
933         record.
934         (NPR): New variable.
935         * gdb.ada/packed_array_assign.exp: Add nested packed assignment
936         test.
937
938 2019-05-01  Tom Tromey  <tromey@adacore.com>
939
940         * gdb.ada/packed_array_assign.exp: Add packed assignment
941         regression test.
942
943 2019-05-01  Tom de Vries  <tdevries@suse.de>
944
945         * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
946
947 2019-05-01  Tom de Vries  <tdevries@suse.de>
948
949         * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
950
951 2019-04-30  Ali Tamur  <tamur@google.com>
952
953         * lib/dwarf.exp(): Added DW_FORM_strx1-4.
954
955 2019-04-30  Tom Tromey  <tromey@adacore.com>
956
957         * lib/ada.exp (find_ada_tool): New proc.
958         * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
959         * gdb.ada/catch_ex_std.exp: New file.
960         * gdb.ada/catch_ex_std/foo.adb: New file.
961         * gdb.ada/catch_ex_std/some_package.adb: New file.
962         * gdb.ada/catch_ex_std/some_package.ads: New file.
963
964 2019-04-30  Tom Tromey  <tromey@adacore.com>
965
966         PR c++/24470:
967         * gdb.cp/temargs.cc: Add test code from PR.
968
969 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
970
971         * gdb.fortran/vla-datatypes.exp: Update expected results.
972         * gdb.fortran/vla-ptype.exp: Likewise.
973         * gdb.fortran/vla-type.exp: Likewise.
974         * gdb.fortran/vla-value.exp: Likewise.
975
976 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
977
978         * gdb.fortran/ptr-indentation.exp: Update expected results.
979         * gdb.fortran/ptype-on-functions.exp: Likewise.
980         * gdb.fortran/vla-ptr-info.exp: Likewise.
981         * gdb.fortran/vla-value.exp: Likewise.
982
983 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
984
985         * gdb.fortran/ptype-on-functions.exp: New file.
986         * gdb.fortran/ptype-on-functions.f90: New file.
987
988 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
989
990         * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
991         case void string.
992
993 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
994
995         * gdb.fortran/complex.exp: Expand.
996         * gdb.fortran/complex.f: Renamed to...
997         * gdb.fortran/complex.f90: ...this, and extended to add more
998         complex values.
999
1000 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
1001
1002         * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1003         MODULO, CMPLX.
1004
1005 2019-04-29  Andrew Burgess  <andrew.burgess@embecosm.com>
1006             Richard Bunt  <richard.bunt@arm.com>
1007
1008         * gdb.base/max-depth.c: New file.
1009         * gdb.base/max-depth.exp: New file.
1010         * gdb.python/py-nested-maps.c: New file.
1011         * gdb.python/py-nested-maps.exp: New file.
1012         * gdb.python/py-nested-maps.py: New file.
1013         * gdb.python/py-format-string.exp (test_max_depth): New proc.
1014         (test_all_common): Call test_max_depth.
1015         * gdb.fortran/max-depth.exp: New file.
1016         * gdb.fortran/max-depth.f90: New file.
1017         * gdb.go/max-depth.exp: New file.
1018         * gdb.go/max-depth.go: New file.
1019         * gdb.modula2/max-depth.exp: New file.
1020         * gdb.modula2/max-depth.c: New file.
1021         * lib/gdb.exp (get_print_expr_at_depths): New proc.
1022
1023 2019-04-29  Tom de Vries  <tdevries@suse.de>
1024
1025         * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1026
1027 2019-04-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1028
1029         * gdb.base/callexit.exp: Test may-call-functions off.
1030
1031 2019-04-25  Keith Seitz  <keiths@redhat.com>
1032
1033         PR c++/24367
1034         * gdb.cp/meth-typedefs.cc (incomplete_struct)
1035         (another_incomplete_struct, test_incomplete): New definitions.
1036         (main): Use new definitions.
1037         * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1038         functions.
1039
1040 2019-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
1041
1042         PR corefiles/11608
1043         PR corefiles/18187
1044         * gdb.base/coredump-filter-build-id.exp: New file.
1045
1046 2019-04-25  Alan Hayward  <alan.hayward@arm.com>
1047
1048         * Makefile.in: Pass through GDBSERVER_DEBUG.
1049         * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1050         (gdbserver,debug): Add board setting.
1051         * gdb.trace/tspeed.exp: Skip when debugging.
1052         * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1053         * lib/gdbserver-support.exp: Likewise
1054
1055 2019-04-24  Tom Tromey  <tromey@adacore.com>
1056
1057         * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1058         Rust.
1059
1060 2019-04-24  Tom Tromey  <tromey@adacore.com>
1061
1062         * gdb.arch/amd64-eval.exp: Test bitfield return.
1063         * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1064         (class Foo) <return_bitfields>: New method.
1065         (main): Call it.
1066
1067 2019-04-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1068
1069         * gdb.cp/many-args.cc: New file.
1070         * gdb.cp/many-args.exp: New file.
1071
1072 2019-04-23  Tom de Vries  <tdevries@suse.de>
1073
1074         PR gdb/24433
1075         * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1076
1077 2019-04-23  Alan Hayward  <alan.hayward@arm.com>
1078
1079         * gdb.trace/backtrace.exp: Use nopie flag.
1080         * gdb.trace/circ.exp: Likewise.
1081         * gdb.trace/collection.exp: Likewise.
1082         * gdb.trace/ftrace.exp: Likewise.
1083         * gdb.trace/mi-trace-unavailable.exp: Likewise.
1084         * gdb.trace/mi-traceframe-changed.exp: Likewise.
1085         * gdb.trace/qtro.exp: Likewise.
1086         * gdb.trace/read-memory.exp: Likewise.
1087         * gdb.trace/report.exp: Likewise.
1088         * gdb.trace/tfile.exp: Likewise.
1089         * gdb.trace/tfind.exp: Likewise.
1090         * gdb.trace/unavailable.exp: Likewise.
1091
1092 2019-04-22  Pedro Alves  <palves@redhat.com>
1093
1094         * gdb.base/solib-probes-nosharedlibrary.c,
1095         gdb.base/solib-probes-nosharedlibrary.exp: New files.
1096
1097 2019-04-19  Tom Tromey  <tromey@adacore.com>
1098
1099         * gdb.ada/ptype_union.c: New file.
1100         * gdb.ada/ptype_union.exp: New file.
1101
1102 2019-04-19  Tom Tromey  <tromey@adacore.com>
1103
1104         PR symtab/24423:
1105         * gdb.base/list0.h (foo): Add a control-l character.
1106
1107 2019-04-18  Tom de Vries  <tdevries@suse.de>
1108
1109         PR gdb/24433
1110         * boards/local-board.exp: Set sysroot to "".
1111
1112 2019-04-18  Tom de Vries  <tdevries@suse.de>
1113             Pedro Alves  <palves@redhat.com>
1114
1115         PR gdb/24454
1116         * gdb.threads/vfork-follow-child-exec.c: New file.
1117         * gdb.threads/vfork-follow-child-exec.exp: New file.
1118         * gdb.threads/vfork-follow-child-exit.c: New file.
1119         * gdb.threads/vfork-follow-child-exit.exp: New file.
1120
1121 2019-04-15  Leszek Swirski  <leszeks@google.com>
1122
1123         * gdb.arch/amd64-eval.cc: New file.
1124         * gdb.arch/amd64-eval.exp: New file.
1125
1126 2019-04-11  Alan Hayward  <alan.hayward@arm.com>
1127
1128         * gdb.server/sysroot.c: New test.
1129         * gdb.server/sysroot.exp: New file.
1130         * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1131         matching param.
1132
1133 2019-04-11  Andrew Burgess  <andrew.burgess@embecosm.com>
1134
1135         * gdb.base/align.exp: Extend test to cover structures containing
1136         only static fields.
1137
1138 2019-04-11  Tom de Vries  <tdevries@suse.de>
1139
1140         * boards/cc-with-dwz-m.exp: New file.
1141         * boards/cc-with-dwz.exp: New file.
1142         * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1143
1144 2019-04-09  Simon Marchi  <simon.marchi@efficios.com>
1145
1146         * gdb.base/start-cpp.exp: New file.
1147         * gdb.base/start-cpp.cc: New file.
1148
1149 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
1150
1151         * gdb.python/py-thrhandle.exp: Adjust tests to call
1152         thread_from_handle instead of thread_from_thread_handle.
1153
1154 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
1155
1156         * gdb.python/py-thrhandle.exp: Add tests for
1157         gdb.InferiorThread.handle.
1158
1159 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
1160
1161         * gdb.python/py-function.exp: Check calling helper function from
1162         all languages.
1163         * lib/gdb.exp (gdb_supported_languages): New proc.
1164
1165 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
1166
1167         * gdb.base/complex-parts.c: New file.
1168         * gdb.base/complex-parts.exp: New file.
1169
1170 2019-04-01  Tom Tromey  <tromey@adacore.com>
1171
1172         PR symtab/23331:
1173         * gdb.dwarf2/dw2-ranges-main.c: New file.
1174         * gdb.dwarf2/dw2-ranges-psym.c: New file.
1175         * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1176
1177 2019-03-30  Simon Marchi <simark@simark.ca>
1178
1179         * gdb.base/default.exp: Add values for $_gdb_major and
1180         $_gdb_minor.
1181
1182 2019-03-29  Tom Tromey  <tromey@adacore.com>
1183
1184         * gdb.base/help.exp: Tighten apropos regexp.
1185
1186 2019-03-29  Keith Seitz  <keiths@redhat.com>
1187
1188         * gdb.fortran/array-bounds.exp: New file.
1189         * gdb.fortran/array-bounds.f90: New file.
1190
1191 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1192
1193         * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1194
1195 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1196
1197         * gdb.multi/hello.c (main): Increase alarm timer.
1198
1199 2019-03-28  Sandra Loosemore  <sandra@codesourcery.com>
1200
1201         * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1202         factor when no hardware watchpoint support.
1203
1204 2019-03-28  Alan Hayward  <alan.hayward@arm.com>
1205             Pedro Alves  <palves@redhat.com>
1206
1207         * boards/local-board.exp: set sysroot to /.
1208
1209 2019-03-27  Alan Hayward  <alan.hayward@arm.com>
1210
1211         * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1212         in child.
1213
1214 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1215
1216         * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1217         field.
1218         (make_container): Initialise new field.
1219         * gdb.python/py-prettyprint.exp: Add new tests.
1220         * gdb.python/py-prettyprint.py (class ContainerPrinter)
1221         <display_hint>: New method.
1222
1223 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1224
1225         * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1226         gdb_continue_to_breakpoint more throughout this test.
1227         (run_lang_tests) Supply unique test names, and use
1228         gdb_test_no_output.
1229
1230 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1231
1232         * gdb.base/finish-pretty.exp: Update expected results.
1233         * gdb.base/pretty-print.c: New file.
1234         * gdb.base/pretty-print.exp: New file.
1235
1236 2019-03-25  Pedro Alves  <palves@redhat.com>
1237
1238         * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1239         move comments outside list.  Append '-i "" eof' section.
1240
1241 2019-03-22  Alan Hayward  <alan.hayward@arm.com>
1242
1243         * README: Add pie options.
1244         * gdb.base/break-interp.exp: Ensure pie is disabled.
1245         * gdb.base/dump.exp: Likewise.
1246         * lib/gdb.exp (gdb_compile): Add pie option.
1247
1248 2019-03-19  Tom Tromey  <tromey@adacore.com>
1249
1250         * gdb.mi/mi2-cli-display.c: New file.
1251         * gdb.mi/mi2-cli-display.exp: New file.
1252
1253 2019-03-18  Joel Brobecker  <brobecker@adacore.com>
1254             Tom Tromey  <tromey@adacore.com>
1255
1256         * gdb.ada/ptype_array/pck.adb: New file.
1257         * gdb.ada/ptype_array/pck.ads: New file.
1258         * gdb.ada/ptype_array/foo.adb: New file.
1259         * gdb.ada/ptype_array.exp: New file.
1260
1261 2019-03-14  Tom Tromey  <tromey@adacore.com>
1262
1263         * gdb.base/style.exp: Add "set style sources" test.
1264
1265 2019-03-13  Simon Marchi  <simon.marchi@ericsson.com>
1266
1267         * mi-breakpoint-location-ena-dis.exp: Rename to ...
1268         * mi-breakpoint-multiple-locations.exp: ... this.
1269         (make_breakpoints_pattern): New proc.
1270         (do_test): Add mi_version parameter, test -break-insert,
1271         -break-info and =breakpoint-created.
1272
1273 2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1274
1275         * config/default.exp: Remove 'load_lib gdb.exp'.
1276         * config/monitor.exp: Likewise.
1277         * config/sid.exp: Likewise.
1278         * config/sim.exp: Likewise.
1279         * config/slite.exp: Likewise.
1280         * config/unix.exp: Likewise.
1281         * gdb.base/default.exp: Remove unhelpful comment.
1282
1283 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1284
1285         * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1286
1287 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1288
1289         * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1290
1291 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1292
1293         * gdb.fortran/type-kinds.exp: Update expected results.
1294
1295 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1296
1297         * gdb.fortran/type-kinds.exp: Test new integer type kind.
1298
1299 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1300
1301         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1302         function.
1303         (test_basic_parsing_of_type_kinds): Expand types tested.
1304         (test_parsing_invalid_type_kinds): New function.
1305
1306 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1307
1308         * gdb.fortran/intrinsics.exp: New file.
1309         * gdb.fortran/intrinsics.f90: New file.
1310         * gdb.fortran/type-kinds.exp: New file.
1311
1312 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1313
1314         * gdb.fortran/dot-ops.exp: New file.
1315
1316 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1317
1318         * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1319         Check upper and lower case logical literals.
1320
1321 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1322
1323         * gdb.fortran/types.exp (test_float_literal_types_accepted):
1324         Remove duplicate tests.
1325
1326 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
1327
1328         * lib/gdb.exp (builtin_cd): rename of cd.
1329         (cd): Override builtin.
1330
1331 2019-03-06  Richard Bunt  <richard.bunt@arm.com>
1332
1333         * gdb.fortran/function-calls.exp: New file.
1334         * gdb.fortran/function-calls.f90: New test.
1335
1336 2019-03-04  Richard Bunt  <richard.bunt@arm.com>
1337
1338         * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1339         on user program standard output.
1340         * gdb.fortran/short-circuit-argument-list.f90: Record function
1341         calls.
1342
1343 2019-02-28  Alan Hayward  <alan.hayward@arm.com>
1344
1345         * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1346         failure.
1347
1348 2019-02-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1349
1350         PR gdb/8527
1351         * gdb.base/interrupt-daemon-attach.c,
1352         gdb.base/interrupt-daemon-attach.exp: New test.
1353
1354 2019-02-27  Pedro Alves  <palves@redhat.com>
1355
1356         * gdb.base/page.exp: Add tests for "set width/height -1".
1357
1358 2019-02-27  Pedro Alves  <palves@redhat.com>
1359
1360         * gdb.base/page.exp: Add tests for "set/show width/height" with
1361         "infinite" values.
1362
1363 2019-02-27  Tom Tromey  <tromey@adacore.com>
1364
1365         * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1366         2.4.
1367         * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1368         workaround.
1369
1370 2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
1371
1372         * gdb.base/align.exp: Extend to compile in both C and C++, and add
1373         tests for structs with static members.
1374
1375 2019-02-26  Tom Tromey  <tromey@adacore.com>
1376
1377         * gdb.python/py-value.exp (test_value_from_buffer): Check for
1378         ValueError, not TypeError.
1379
1380 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
1381
1382         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1383         call from main program.
1384
1385 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
1386
1387         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1388         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1389         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1390         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1391         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1392
1393 2019-02-22  Keith Seitz  <keiths@redhat.com>
1394
1395         PR symtab/23853
1396         * gdb.base/symlink-sourcefile.c: New file.
1397         * gdb.base/symlink-sourcefile.exp: New file.
1398
1399 2019-02-20  Tom Tromey  <tom@tromey.com>
1400
1401         * gdb.base/info_qt.exp: Update.
1402
1403 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
1404
1405         * gdb.base/source.exp: Move "error in sourced script" code to
1406         the end.
1407         * gdb.base/source-error.gdb: Move contents to
1408         source-error-1.gdb.  Add new code to source source-error-1.gdb.
1409         * gdb.base/source-error-1.gdb: New file, from previous
1410         source-error.gdb.
1411
1412 2019-02-17  Tom Tromey  <tom@tromey.com>
1413
1414         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
1415         for macro styling.
1416         * gdb.base/style.c (SOME_MACRO): New macro.
1417
1418 2019-02-17  Tom Tromey  <tom@tromey.com>
1419
1420         * gdb.base/style.exp: Add line-wrapping tests.
1421         * gdb.base/page.exp: Add test for quitting during pagination.
1422
1423 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
1424
1425         * gdb.ada/big_packed_array: New testcase.
1426         * gdb.ada/homonym.exp: Fix incorrect expected output for
1427         "break <homonym__get_value>" test.
1428
1429 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
1430
1431         PR breakpoints/21870
1432         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1433         and prepare_for_testing.  Add comment.
1434         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1435         redundant cleanup call.  Clean up comment.
1436
1437 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
1438
1439         PR breakpoints/21870
1440         * gdb.arch/aarch64-dbreg-contents.exp: New file.
1441         * gdb.arch/aarch64-dbreg-contents.c: New file.
1442
1443 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
1444
1445         * gdb.ada/mi_ref_changeable: New testcase.
1446
1447 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
1448
1449         * gdb.base/attach.exp: Add double attach test.
1450
1451 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
1452
1453         * lib/gdb.exp (default_gdb_start): Don't match pagination
1454         prompt.
1455         (gdb_init): Set stty_init.
1456
1457 2019-01-27  Tom Tromey  <tom@tromey.com>
1458
1459         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1460         skip_python_tests.
1461
1462 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
1463
1464         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1465         New structure.
1466         (struct struct_static_02_02): Likewise.
1467         (struct struct_static_02_03): Likewise.
1468         (struct struct_static_02_04): Likewise.
1469         (struct struct_static_04_01): Likewise.
1470         (struct struct_static_04_02): Likewise.
1471         (struct struct_static_04_03): Likewise.
1472         (struct struct_static_04_04): Likewise.
1473         (struct struct_static_06_01): Likewise.
1474         (struct struct_static_06_02): Likewise.
1475         (struct struct_static_06_03): Likewise.
1476         (struct struct_static_06_04): Likewise.
1477         (cmp_struct_static_02_01): Likewise.
1478         (cmp_struct_static_02_02): Likewise.
1479         (cmp_struct_static_02_03): Likewise.
1480         (cmp_struct_static_02_04): Likewise.
1481         (cmp_struct_static_04_01): Likewise.
1482         (cmp_struct_static_04_02): Likewise.
1483         (cmp_struct_static_04_03): Likewise.
1484         (cmp_struct_static_04_04): Likewise.
1485         (cmp_struct_static_06_01): Likewise.
1486         (cmp_struct_static_06_02): Likewise.
1487         (cmp_struct_static_06_03): Likewise.
1488         (cmp_struct_static_06_04): Likewise.
1489         (call_all): Test new structs.
1490         * gdb.base/infcall-nested-structs.exp: Likewise.
1491
1492 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
1493         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1494
1495 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
1496         * gdb.base/stack-protector.c: New test.
1497         * gdb.base/stack-protector.exp: New file.
1498         * gdb.cp/ovldbreak.exp: Only allow a single break line.
1499         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1500         option.
1501         (gdb_compile): Remove stack protector for GCC and prevent
1502         recursion.
1503
1504 2019-01-16  Keith Seitz  <keiths@redhat.com>
1505
1506         PR gdb/23773
1507         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1508
1509 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1510
1511         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1512         aliases.
1513         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
1514         tests.
1515         * gdb.arch/powerpc-vector-regs.c: New file.
1516         * gdb.arch/powerpc-vector-regs.exp: New file.
1517
1518 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1519
1520         * gdb.arch/altivec-regs.exp: Fix the list passed to
1521         gdb_expect_list when testing "info vector".
1522
1523 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1524
1525         * gdb.base/style.exp: Don't include path in testname.
1526
1527 2019-01-10  Keith Seitz  <keiths@redhat.com>
1528
1529         PR gdb/23712
1530         PR symtab/23010
1531         * gdb.dwarf2/multidictionary.exp: New file.
1532
1533 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
1534
1535         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1536         (test_gnuv3_style_demangling): ... this.
1537         (test_lucid_style_demangling): Remove.
1538         (test_arm_style_demangling): Remove.
1539         (test_hp_style_demangling): Remove.
1540         (do_tests): Remove calls to the above.
1541
1542 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1543
1544         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1545         case.
1546
1547 2019-01-06  Tom Tromey  <tom@tromey.com>
1548
1549         PR gdb/28155:
1550         * gdb.dwarf2/typedef-void-finish.exp: New file.
1551
1552 2018-12-28  Tom Tromey  <tom@tromey.com>
1553             Simon Marchi <simark@simark.ca>
1554
1555         * gdb.base/jit-exec.exp: New file.
1556         * gdb.base/jit-exec.c: New file.
1557         * gdb.base/jit-execd.c: New file.
1558
1559 2018-12-28  Tom Tromey  <tom@tromey.com>
1560
1561         * gdb.base/style.exp: Update test to check for address styling.
1562
1563 2018-12-28  Tom Tromey  <tom@tromey.com>
1564
1565         * gdb.base/style.exp: Add test for styling of "Reading symbols"
1566         message.
1567
1568 2018-12-28  Tom Tromey  <tom@tromey.com>
1569
1570         * gdb.base/style.exp: Add test for version number styling.
1571
1572 2018-12-28  Tom Tromey  <tom@tromey.com>
1573
1574         * gdb.base/style.exp: Add test for print_address_symbolic.
1575
1576 2018-12-28  Tom Tromey  <tom@tromey.com>
1577
1578         * gdb.base/style.exp: Add test for breakpoint setting.
1579
1580 2018-12-28  Tom Tromey  <tom@tromey.com>
1581
1582         * gdb.base/style.exp: Add test for variable names.
1583
1584 2018-12-28  Tom Tromey  <tom@tromey.com>
1585
1586         * gdb.base/style.exp: New file.
1587         * gdb.base/style.c: New file.
1588
1589 2018-12-28  Tom Tromey  <tom@tromey.com>
1590
1591         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1592         "dumb".
1593         * gdb.base/readline.exp (operate_and_get_next): Save and restore
1594         the TERM environment variable.
1595
1596 2018-12-27  Tom Tromey  <tom@tromey.com>
1597
1598         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1599         pagination test.
1600
1601 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1602
1603         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1604         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1605
1606 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1607
1608         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1609         Filename a.adb changed to bp_fun_addr.adb.
1610         gdb.ada/bp_fun_addr.exp: Update test accordingly.
1611
1612 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
1613
1614         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1615         non-PIE executables.
1616         * README: Mention the gdb,nopie_flag board setting.
1617         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1618         non-PIE executable.
1619         * gdb.arch/amd64-entry-value.exp: Likewise.
1620         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1621         * gdb.arch/i386-float.exp: Likewise.
1622         * gdb.arch/i386-signal.exp: Likewise.
1623         * gdb.mi/mi-reg-undefined.exp: Likewise.
1624
1625 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
1626
1627         PR gdb/23974
1628         * gdb.base/info-os.exp: Check return for unknown "info os" type.
1629
1630 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1631
1632         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1633         Update order of results accordingly.
1634
1635 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1636
1637         * gdb.base/annota1.exp: Update a test regexp.
1638
1639 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
1640
1641         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1642
1643 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1644
1645         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1646         (reuse_time): Initialize to REUSE_TIME_CAP.
1647         (check_rc): New function.
1648         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1649         Check pthread_create rc.
1650         (spawner_thread_func): Check pthread_create and pthread_join rc.
1651
1652 2018-12-08  Pedro Alves  <palves@redhat.com>
1653
1654         * gdb.base/list.exp (test_forward_search): Rename to ...
1655         (test_forward_reverse_search): ... this.  Also test reverse-search
1656         and the forward-search alias.
1657
1658 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
1659
1660         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1661         local timeout variable before return, and remove all local timeout
1662         variable entirely.
1663         (gdb_load): Likewise.
1664
1665 2018-12-01  Tom de Vries  <tdevries@suse.de>
1666
1667         * gdb.base/gdb-caching-proc.exp: New file.
1668
1669 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
1670
1671         * Makefile.in (TIMESTAMP): New variable.
1672         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1673         command.
1674         (check-single-racy): Likewise.
1675         (check/%.exp): Likewise.
1676         (check-racy/%.exp): Likewise.
1677         (workers/%.worker): Likewise.
1678         (build-perf): Likewise.
1679         (check-perf): Likewise.
1680         * README: Describe new "TS" and "TS_FORMAT" variables.
1681         * print-ts.py: New file.
1682
1683 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
1684
1685         PR python/23714
1686         * gdb.python/python.exp: Test command repetition after
1687         gdb.execute.
1688
1689 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
1690
1691         * gdb.opt/inline-break.exp: Add test that info breakpoint output
1692         is correctly aligned.
1693
1694 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1695
1696         * gdb.ada/info_auto_lang.exp: New testcase.
1697         * gdb.ada/info_auto_lang/global_pack.ads: New file.
1698         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1699         * gdb.ada/info_auto_lang/some_c.c: New file.
1700
1701 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1702
1703         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1704         FUNC_lang language syntax.
1705
1706 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1707
1708         * gdb.base/info_minsym.c: New file.
1709         * gdb.base/info_minsym.exp: New file.
1710
1711 2018-11-19  Tom Tromey  <tom@tromey.com>
1712
1713         PR rust/23625:
1714         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
1715         * gdb.rust/expr.exp: Update expected output.  Change one test.
1716
1717 2018-11-19  Tom Tromey  <tom@tromey.com>
1718
1719         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1720
1721 2018-11-19  Pedro Alves  <palves@redhat.com>
1722
1723         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
1724         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
1725         see the expected warning.
1726
1727 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
1728
1729         PR gdb/22736:
1730         * gdb.cp/infcall-nodebug-lib.c: New test.
1731         * gdb.cp/infcall-nodebug-main.c: New test.
1732         * gdb.cp/infcall-nodebug.exp: New file.
1733
1734 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
1735
1736         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
1737         completer tests.
1738
1739 2018-11-09  Tom de Vries  <tdevries@suse.de>
1740
1741         * gdb.base/msym-lang.c: New test.
1742         * gdb.base/msym-lang.exp: New file.
1743         * gdb.base/msym-lang-main.c: New test.
1744
1745 2018-11-08  Tom Tromey  <tom@tromey.com>
1746
1747         PR gdb/23555:
1748         PR gdb/23838:
1749         * gdb.base/warning.exp: New file.
1750
1751 2018-11-08  Jan Beulich  <jbeulich@suse.com>
1752
1753         * testsuite/gdb.arch/i386-avx512.c,
1754         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1755
1756 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1757
1758         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1759         point hardware.
1760
1761 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1762
1763         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1764         * gdb.dwarf2/missing-type-name.exp: New file.
1765
1766 2018-11-06  Tom de Vries  <tdevries@suse.de>
1767
1768         * gdb.base/many-headers.c: New test.
1769         * gdb.base/many-headers.exp: New file.
1770
1771 2018-11-06  Jim Wilson  <jimw@sifive.com>
1772
1773         * gdb.base/code_elim.exp: For riscv, set additional_flags
1774         to include -msmall-data-limit=0.
1775
1776 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
1777
1778         * gdb.ada/watch_minus_l: New testcase.
1779
1780 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1781
1782         * gdb.arch/aix-sighandle.c: New file.
1783         * gdb.arch/aix-sighandle.exp: New file.
1784
1785 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
1786
1787         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1788         registers being unions.
1789
1790 2018-10-31  Tom de Vries  <tdevries@suse.de>
1791
1792         * lib/valgrind.exp: New file.
1793          (vgdb_start, vgdb_stop): New procs, factored out of ...
1794         * gdb.base/valgrind-bt.exp: ... here, ...
1795         * gdb.base/valgrind-disp-step.exp: ... here and ...
1796         * gdb.base/valgrind-infcall.exp: ... here.
1797
1798 2018-10-31  Tom de Vries  <tdevries@suse.de>
1799
1800         * lib/gdb.exp (get_valueof): Don't output read value in test name.
1801
1802 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
1803
1804         * gdb.dwarf2/void-type.c: New file.
1805         * gdb.dwarf2/void-type.exp: New file.
1806
1807 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1808
1809         * gdb.base/info_qt.c: New file.
1810         * gdb.base/info_qt.exp: New file.
1811
1812 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1813
1814         * gdb.arch/powerpc-htm-regs.c: New file.
1815         * gdb.arch/powerpc-htm-regs.exp: New file.
1816
1817 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1818
1819         * gdb.arch/powerpc-tar.c: New file.
1820         * gdb.arch/powerpc-tar.exp: New file.
1821
1822 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1823
1824         * gdb.arch/powerpc-ppr-dscr.c: New file.
1825         * gdb.arch/powerpc-ppr-dscr.exp: New file.
1826
1827 2018-10-25  Tom de Vries  <tdevries@suse.de>
1828
1829         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1830
1831 2018-10-24  Tom de Vries  <tdevries@suse.de>
1832
1833         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1834         longer exists error.
1835
1836 2018-10-24  Tom de Vries  <tdevries@suse.de>
1837
1838         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1839
1840 2018-10-24  Tom de Vries  <tdevries@suse.de>
1841
1842         * gdb.base/valgrind-db-attach.exp: Handle removed support for
1843         --db-attach in valgrind.
1844
1845 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1846
1847         * gdb.arch/riscv-reg-aliases.c: New file.
1848         * gdb.arch/riscv-reg-aliases.exp: New file.
1849
1850 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1851
1852         * gdb.python/py-cmd.exp: Check for gdb_prompt.
1853
1854 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1855
1856         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1857
1858 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1859
1860         * gdb.cp/ovldbreak.exp: Fix regexps.
1861
1862 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1863
1864         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1865
1866 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1867
1868         PR cli/23785
1869         * gdb.base/restore.exp: New test to check if "restore" with an
1870         invalid file doesn't segfault.
1871
1872 2018-10-18  Tom de Vries  <tdevries@suse.de>
1873
1874         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1875         * gdb.ada/excep_handle.exp: Same.
1876         * gdb.ada/mi_string_access.exp: Same.
1877         * gdb.ada/mi_var_union.exp: Same.
1878         * gdb.arch/arc-analyze-prologue.exp: Same.
1879         * gdb.arch/arc-decode-insn.exp: Same.
1880         * gdb.base/readnever.exp: Same.
1881         * gdb.fortran/printing-types.exp: Same.
1882         * gdb.guile/scm-lazy-string.exp: Same.
1883
1884 2018-10-16  Tom de Vries  <tdevries@suse.de>
1885
1886         PR gdb/23730
1887         * gdb.base/catch-follow-exec.c: Add copyright notice.
1888         * gdb.base/catch-follow-exec.exp: Rewrite to use
1889         gdb_spawn_with_cmdline_opts.  Require gdb-native.
1890
1891 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
1892
1893         * gdb.trace/actions-changed.exp: Check for arch support.
1894         * gdb.trace/actions.exp: Likewise.
1895         * gdb.trace/ax.exp: Likewise.
1896         * gdb.trace/backtrace.exp: Likewise.
1897         * gdb.trace/change-loc.exp: Likewise.
1898         * gdb.trace/deltrace.exp: Likewise.
1899         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1900         * gdb.trace/ftrace.exp: Likewise.
1901         * gdb.trace/infotrace.exp: Check for arch support.
1902         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1903         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1904         * gdb.trace/mi-tsv-changed.exp: Likewise.
1905         * gdb.trace/packetlen.exp: Likewise.
1906         * gdb.trace/passc-dyn.exp: Likewise.
1907         * gdb.trace/passcount.exp: Likewise.
1908         * gdb.trace/pending.exp: Likewise.
1909         * gdb.trace/range-stepping.exp: Check for shlib support.
1910         * gdb.trace/report.exp: Check for arch support.
1911         * gdb.trace/save-trace.exp: Likewise.
1912         * gdb.trace/signal.exp: Check for signal support.
1913         * gdb.trace/tfind.exp: Check for arch support.
1914         * gdb.trace/trace-break.exp: Check for arch and shlib support.
1915         * gdb.trace/trace-common.h: Add comment.
1916         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1917         * gdb.trace/trace-enable-disable.exp: Likewise.
1918         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
1919         * gdb.trace/tracecmd.exp: Check for arch support.
1920         * gdb.trace/tspeed.exp: Check for shlib and target support.
1921         * gdb.trace/tstatus.exp: Check for arch support.
1922         * gdb.trace/tsv.exp: Likewise.
1923         * gdb.trace/while-dyn.exp: Likewise.
1924         * gdb.trace/while-stepping.exp: Likewise.
1925         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1926
1927 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
1928
1929         * gdb.trace/tspeed.exp: Remove nowarnings.
1930         (prepare_for_trace_test): Declare "global ipalib".
1931         * gdb.trace/tspeed.c: Include unistd.h.
1932         (main): Remove superfluous printf argument.
1933
1934 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
1935
1936         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1937         directory prefix on the filename.
1938
1939 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
1940
1941         * gdb.gdb/unittest.exp: Update expected message informing that
1942         selftests have been disabled.
1943         * gdb.server/unittest.exp: Likewise.
1944
1945 2018-10-09  Tom de Vries  <tdevries@suse.de>
1946
1947         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1948         with runto_main.
1949
1950 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
1951
1952         PR c++/16841
1953         * gdb.cp/virtbase2.cc: New file.
1954         * gdb.cp/virtbase2.exp: New file.
1955
1956 2018-10-06  Tom Tromey  <tom@tromey.com>
1957
1958         PR python/19399:
1959         * gdb.python/py-inferior.exp: Add architecture test.
1960
1961 2018-10-06  Tom Tromey  <tom@tromey.com>
1962
1963         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1964         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1965
1966 2018-10-06  Tom Tromey  <tom@tromey.com>
1967
1968         * gdb.python/py-breakpoint.exp (check_last_event): Check location
1969         of a "throw" catchpoint.
1970
1971 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
1972
1973         * gdb.base/info-proc.exp: Update string expected from "help info
1974         proc".
1975
1976 2018-10-04  Tom Tromey  <tom@tromey.com>
1977
1978         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1979         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1980         (test_initial_complaints, test_empty_complaints): Update.
1981         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1982
1983 2018-10-04  Tom Tromey  <tom@tromey.com>
1984
1985         PR cli/19551:
1986         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1987         * lib/gdb.exp (gdb_file_cmd): Update.
1988         * gdb.stabs/weird.exp (print_weird_var): Update.
1989         * gdb.server/solib-list.exp: Update.
1990         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1991         * gdb.mi/mi-cli.exp: Update.
1992         * gdb.linespec/linespec.exp: Update.
1993         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1994         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1995         * gdb.cp/cp-relocate.exp: Update.
1996         * gdb.base/sym-file.exp: Update.
1997         * gdb.base/relocate.exp: Update.
1998         * gdb.base/readnever.exp: Update.
1999         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2000         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2001         * gdb.base/dbx.exp (gdb_file_cmd): Update.
2002         * gdb.base/code_elim.exp: Update.
2003         * gdb.base/break-unload-file.exp (test_break): Update.
2004         * gdb.base/break-interp.exp (test_attach_gdb): Update.
2005         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2006         Update.
2007         * gdb.base/attach.exp (do_attach_tests): Update.
2008         * gdb.base/sepdebug.exp: Update.
2009         * gdb.python/py-section-script.exp: Update.
2010
2011 2018-10-04  Tom Tromey  <tom@tromey.com>
2012
2013         PR cli/22234:
2014         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2015         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2016         output.
2017
2018 2018-10-04  Tom Tromey  <tom@tromey.com>
2019
2020         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2021         set width and height to 0.
2022         (test_command_line_attach_run): Use -quiet.
2023
2024 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
2025
2026         * lib/gdb.exp (skip_ifunc_tests): New.
2027         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
2028         other compile failures.
2029         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2030
2031 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
2032
2033         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2034         is_amd64_regs_target.
2035
2036 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
2037
2038         * gdb.arch/aarch64-sighandler-regs.c: New test.
2039         * gdb.arch/aarch64-sighandler-regs.exp: New file.
2040         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2041
2042 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
2043
2044         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2045         assembly.
2046
2047 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
2048
2049         * gdb.base/frame-selection.exp: New file.
2050         * gdb.base/frame-selection.c: New file.
2051
2052 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
2053
2054         * gdb.threads/check-libthread-db.c (thread_routine): Use a
2055         pthread barrier.
2056         (main): Likewise.
2057
2058 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
2059
2060         * gdb.base/large-frame-1.c: New file.
2061         * gdb.base/large-frame-2.c: New file.
2062         * gdb.base/large-frame.exp: New file.
2063         * gdb.base/large-frame.h: New file.
2064
2065 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2066
2067         PR gdb/20948
2068         * gdb.base/write_mem.exp: New test.
2069         * gdb.base/write_mem.c: Likewise.
2070
2071 2018-09-23  Tom Tromey  <tom@tromey.com>
2072
2073         PR python/18852:
2074         * gdb.python/py-parameter.exp: Add test for parameter that throws
2075         on "set".
2076
2077 2018-09-23  Tom Tromey  <tom@tromey.com>
2078
2079         PR python/17284:
2080         * gdb.python/py-template.exp (test_template_arg): Add test for
2081         negative template argument number.
2082
2083 2018-09-23  Tom Tromey  <tom@tromey.com>
2084
2085         PR python/14062:
2086         * gdb.python/python.exp: Add test for post_event error.
2087
2088 2018-09-23  Tom Tromey  <tom@tromey.com>
2089
2090         PR python/18170:
2091         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2092         convert pointers to int and long.
2093
2094 2018-09-23  Tom Tromey  <tom@tromey.com>
2095
2096         PR python/20126:
2097         * gdb.python/py-value.exp (test_value_numeric_ops): Add
2098         signed-ness conversion tests.
2099
2100 2018-09-23  Tom Tromey  <tom@tromey.com>
2101
2102         PR python/18352;
2103         * gdb.python/py-value.exp (test_float_conversion): New proc.
2104         Use it.
2105
2106 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
2107
2108         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2109
2110 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
2111
2112         * gdb.base/complete-empty.exp: Skip tab-completion tests if
2113         no readline.
2114         * gdb.base/utf8-identifiers.exp: Likewise.
2115         * gdb.cp/cpcompletion.exp: Likewise.
2116         * gdb.linespec/cpcompletion.exp: Likewise.
2117         * gdb.linespec/cpls-abi-tag.exp: Likewise.
2118         * gdb.linespec/cpls-ops.exp: Likewise.
2119
2120 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
2121             Chris January  <chris.january@arm.com>
2122
2123         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2124         * gdb.fortran/short-circuit-argument-list.exp: New file.
2125         * gdb.fortran/short-circuit-argument-list.f90: New test.
2126
2127 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
2128
2129         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2130         "arch=" keyword when executing "-stack-list-frames".
2131
2132 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
2133
2134         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2135         "arch=" keyword when executing "-stack-list-frames".
2136
2137 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
2138
2139         * gdb.ada/complete.exp: Expect for "@" when doing "complete
2140         break ada".
2141
2142 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
2143
2144         PR python/23669
2145         * gdb.python/python.exp: Test gdb.execute("show commands").
2146
2147 2018-09-16  Tom Tromey  <tom@tromey.com>
2148
2149         * gdb.base/new-ui.exp (do_execution_tests): Update.
2150         * gdb.base/dbx.exp (test_breakpoints): Update.
2151
2152 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
2153
2154         * lib/gdb.exp (gdb_simple_compile): Add proc.
2155         (is_elf_target): Use gdb_simple_compile.
2156         (skip_altivec_tests): Likewise.
2157         (skip_vsx_tests): Likewise.
2158         (skip_tsx_tests): Likewise.
2159         (skip_btrace_tests): Likewise.
2160         (skip_btrace_pt_tests): Likewise.
2161         (gdb_can_simple_compile): Likewise.
2162         (gdb_has_argv0): Likewise.
2163         (gdb_target_symbol_prefix): Likewise.
2164         (target_supports_scheduler_locking): Likewise.
2165
2166 2018-09-13  Tom Tromey  <tom@tromey.com>
2167
2168         * Makefile.in (TAGS): Recognize proc_with_prefix and
2169         gdb_caching_proc.
2170
2171 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
2172
2173         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2174         method.
2175
2176 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
2177
2178         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2179         and a few other Inferior properties when the Inferior is no
2180         longer valid.
2181
2182 2018-09-13  Tom Tromey  <tom@tromey.com>
2183
2184         PR rust/23650:
2185         * gdb.rust/simple.exp: Add test for enum field access error.
2186
2187 2018-09-13  Tom Tromey  <tom@tromey.com>
2188
2189         PR rust/23626:
2190         * gdb.rust/simple.rs (EmptyEnum): New type.
2191         (main): Use it.
2192         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2193
2194 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
2195
2196         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2197         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2198         * gdb.python/py-symtab.exp: Update test printing an objfile.
2199
2200 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
2201
2202         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2203         object.
2204
2205 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
2206
2207         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2208         (support_complex_tests): Use gdb_can_simple_compile.
2209         (is_ilp32_target): Likewise.
2210         (is_lp64_target): Likewise.
2211         (is_64_target): Likewise.
2212         (is_amd64_regs_target): Likewise.
2213         (is_aarch32_target): Likewise.
2214         (gdb_int128_helper): Likewise.
2215
2216 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2217
2218         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2219
2220 2018-09-10  Jerome Guitton  <guitton@adacore.com>
2221
2222         * gdb.ada/same_component_name: Add test for case of tagged record
2223         with variable-length fields.
2224
2225 2018-09-10  Xavier Roirand  <roirand@adacore.com>
2226
2227         * gdb.ada/access_to_unbounded_array.exp: New testcase.
2228         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2229         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2230         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2231
2232 2018-09-10  Xavier Roirand  <roirand@adacore.com>
2233
2234         * gdb.ada/mi_string_access.exp: New testcase.
2235         * gdb.ada/mi_string_access/bar.adb: New file.
2236         * gdb.ada/mi_string_access/pck.adb: New file.
2237         * gdb.ada/mi_string_access/pck.asd: New file.
2238
2239 2018-09-10  Xavier Roirand  <roirand@adacore.com>
2240
2241         * gdb.ada/mi_var_union.exp: New testcase.
2242         * gdb.ada/mi_var_union/bar.adb: New file.
2243         * gdb.ada/mi_var_union/pck.adb: New file.
2244         * gdb.ada/mi_var_union/pck.asd: New file.
2245
2246 2018-09-08  Tom Tromey  <tom@tromey.com>
2247
2248         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2249
2250 2018-09-08  Tom Tromey  <tom@tromey.com>
2251
2252         PR python/16047:
2253         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2254         (register_pretty_printers): Register new printer.
2255         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2256         test.
2257         * gdb.python/py-prettyprint.c (int_type3): New typedef.
2258         (an_int_type3): New global.
2259
2260 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
2261
2262         * gdb.ada/expr_with_funcall: New testcase.
2263
2264 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
2265
2266         * gdb.ada/packed_array_assign: New testcase.
2267
2268 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
2269
2270         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2271         names, and add test prefixes to make test names unique.
2272
2273 2018-09-05  Tom de Vries  <tdevries@suse.de>
2274
2275         * gdb.dwarf2/varval.exp: Add test.
2276
2277 2018-09-04  Gary Benson <gbenson@redhat.com>
2278
2279         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2280         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
2281
2282 2018-08-31  Tom Tromey  <tom@tromey.com>
2283
2284         * gdb.rust/simple.rs: Rename second variable "v".
2285
2286 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
2287
2288         * gdb.base/funcargs.c (use_a): New function.
2289         (recurse): Call use_a.
2290
2291 2018-08-29  Keith Seitz  <keiths@redhat.com>
2292
2293         * gdb.compile/compile-cplus-anonymous.cc: New file.
2294         * gdb.compile/compile-cplus-anonymous.exp: New file.
2295         * gdb.compile/compile-cplus-array-decay.cc: New file.
2296         * gdb.compile/compile-cplus-array-decay.exp: New file.
2297         * gdb.compile/compile-cplus-inherit.cc: New file.
2298         * gdb.compile/compile-cplus-inherit.exp: New file.
2299         * gdb.compile/compile-cplus-member.cc: New file.
2300         * gdb.compile/compile-cplus-member.exp: New file.
2301         * gdb.compile/compile-cplus-method.cc: New file.
2302         * gdb.compile/compile-cplus-method.exp: New file.
2303         * gdb.compile/compile-cplus-mod.c: "New" file.
2304         * gdb.compile/compile-cplus-namespace.cc: New file.
2305         * gdb.compile/compile-cplus-namespace.exp: New file.
2306         * gdb.compile/compile-cplus-nested.cc: New file.
2307         * gdb.compile/compile-cplus-nested.exp: New file.
2308         * gdb.compile/compile-cplus-print.c: "New" file.
2309         * gdb.compile/compile-cplus-print.exp: "New" file.
2310         * gdb.compile/compile-cplus-virtual.cc: New file.
2311         * gdb.compile/compile-cplus-virtual.exp: New file.
2312         * gdb.compile/compile-cplus.c: "New" file.
2313         * gdb.compile/compile-cplus.exp: "New" file.
2314         * lib/compile-support.exp: New file.
2315
2316 2018-08-16  Gary Benson <gbenson@redhat.com>
2317
2318         PR gdb/13000:
2319         * gdb.base/batch-exit-status.exp: New file.
2320         * gdb.base/batch-exit-status.good-commands: Likewise.
2321         * gdb.base/batch-exit-status.bad-commands: Likewise.
2322
2323 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
2324
2325         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2326         (struct struct02): Likewise.
2327         (struct struct03): Likewise.
2328         (struct struct04): Likewise.
2329         (struct struct_01_01): New struct.
2330         (struct struct_01_02): Likewise.
2331         (struct struct_01_03): Likewise.
2332         (struct struct_01_04): Likewise.
2333         (struct struct_02_01): Likewise.
2334         (struct struct_02_02): Likewise.
2335         (struct struct_02_03): Likewise.
2336         (struct struct_02_04): Likewise.
2337         (struct struct_04_01): Likewise.
2338         (struct struct_04_02): Likewise.
2339         (struct struct_04_03): Likewise.
2340         (struct struct_04_04): Likewise.
2341         (struct struct_05_01): Likewise.
2342         (struct struct_05_02): Likewise.
2343         (struct struct_05_03): Likewise.
2344         (struct struct_05_04): Likewise.
2345         (cmp_struct01): Remove function.
2346         (cmp_struct02): Likewise.
2347         (cmp_struct03): Likewise.
2348         (cmp_struct04): Likewise.
2349         (cmp_struct_01_01): Add Function.
2350         (cmp_struct_01_02): Likewise.
2351         (cmp_struct_01_03): Likewise.
2352         (cmp_struct_01_04): Likewise.
2353         (cmp_struct_02_01): Likewise.
2354         (cmp_struct_02_02): Likewise.
2355         (cmp_struct_02_03): Likewise.
2356         (cmp_struct_02_04): Likewise.
2357         (cmp_struct_04_01): Likewise.
2358         (cmp_struct_04_02): Likewise.
2359         (cmp_struct_04_03): Likewise.
2360         (cmp_struct_04_04): Likewise.
2361         (cmp_struct_05_01): Likewise.
2362         (cmp_struct_05_02): Likewise.
2363         (cmp_struct_05_03): Likewise.
2364         (cmp_struct_05_04): Likewise.
2365         (call_all): Add new structs.
2366         * gdb.base/infcall-nested-structs.exp: Likewise.
2367
2368 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
2369
2370         * gdb.python/py-framefilter-mi.exp: Update regexp to
2371         check for "arch" field in frame output.
2372
2373 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
2374
2375         * gdb.dwarf2/dw2-ranges-func.c: New file.
2376         * gdb.dwarf2/dw2-ranges-func.exp: New file.
2377
2378 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
2379
2380         * gdb.base/term.exp: Compare terminal settings with values from
2381         the inferior.
2382         * gdb.base/term.c: Get and set terminal settings.
2383
2384 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
2385
2386         * lib/mi-support.exp (mi_expect_stop): Update regexp to
2387         accommodate new "arch" field in frame output.
2388         * gdb.mi/mi-return.exp: Likewise.
2389         * gdb.mi/mi-stack.exp: Likewise.
2390         * gdb.mi/mi-syn-frame.exp: Likewise.
2391         * gdb.mi/user-selected-context-sync.exp: Likewise.
2392
2393 2018-08-19  Michael Spang  <spang@google.com>
2394
2395         PR gdb/11786
2396         * gdb.base/gcore-tls-pie.c: New file.
2397         * gdb.base/gcore-tls-pie.exp: New file.
2398
2399 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
2400
2401         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2402         * gdb.dwarf2/varval.c: New file.
2403         * gdb.dwarf2/varval.exp: New file.
2404
2405 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
2406
2407         PR gdb/18931
2408         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2409
2410 2018-08-16  Keith Seitz  <keiths@redhat.com>
2411
2412         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2413         tests expected to pass.
2414
2415 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
2416
2417         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2418         -data-disassemble -a.
2419         (test_disassembly_bogus_args): Likewise.
2420
2421 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
2422
2423         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2424
2425 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
2426
2427         * gdb.base/vla-optimized-out.exp: Add new test.
2428
2429 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
2430
2431         * gdb.base/vla-optimized-out-o3.exp: Delete.
2432         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2433         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2434         deleted tests.
2435
2436 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
2437
2438         PR gdb/18050:
2439         * gdb.server/extended-remote-restart.c: New file.
2440         * gdb.server/extended-remote-restart.exp: New file.
2441
2442 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
2443
2444         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2445         "set variable index = 42".
2446
2447 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
2448
2449         * boards/index-cache-gdb.exp: New file.
2450         * gdb.dwarf2/index-cache.exp: New file.
2451         * gdb.dwarf2/index-cache.c: New file.
2452         * gdb.base/maint.exp: Check if we are using the index cache.
2453
2454 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2455
2456         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2457         MAKEFLAGS.
2458
2459 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2460
2461         * dg-extract-results.sh: Move to toplevel contrib.
2462         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2463         * Makefile.in (check-parallel-racy): Likewise.
2464
2465 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2466
2467         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2468         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2469         tests if the target supports scheduler locking.
2470
2471 2018-08-04  Tom de Vries  <tdevries@suse.de>
2472
2473         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2474
2475 2018-08-02  Tom Tromey  <tom@tromey.com>
2476
2477         PR symtab/16842.
2478         * gdb.cp/temargs.exp: Test "info address" of a template
2479         parameter.
2480
2481 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
2482
2483         * gdb.python/py-mi-var-info-path-expression.c: New file.
2484         * gdb.python/py-mi-var-info-path-expression.py: New file.
2485         * gdb.python/py-mi-var-info-path-expression.exp: New file.
2486
2487 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
2488
2489         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2490         error after "cannot resolve name" string.
2491
2492 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
2493
2494         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2495         started.
2496         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2497
2498 2018-07-28  Tom de Vries  <tdevries@suse.de>
2499
2500         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2501
2502 2018-07-26  Tom de Vries  <tdevries@suse.de>
2503
2504         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2505
2506 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
2507
2508         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2509         is visible.
2510
2511 2018-07-26  Tom de Vries  <tdevries@suse.de>
2512
2513         PR breakpoints/23366
2514         * gdb.base/catch-follow-exec.c: New test.
2515         * gdb.base/catch-follow-exec.exp: New file.
2516
2517 2018-07-25  Tom de Vries  <tdevries@suse.de>
2518
2519         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
2520         vla-optimized-out.c.
2521
2522 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
2523
2524         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2525         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2526
2527 2018-07-20  Tom de Vries  <tdevries@suse.de>
2528
2529         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2530         NOCLONE macro.
2531         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2532
2533 2018-07-19  Tom de Vries  <tdevries@suse.de>
2534
2535         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2536         regular expression.
2537
2538 2018-07-18  Tom de Vries  <tdevries@suse.de>
2539
2540         * gdb.base/vla-optimized-out.c: New test.
2541         * gdb.base/vla-optimized-out.exp: New file.
2542
2543 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
2544
2545         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2546         message "No address associated with hostname" when gdbserver
2547         cannot resolve the hostname.
2548
2549 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2550
2551         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2552         Add some test prefixes to make tests unique.
2553
2554 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2555
2556         * gdb.base/frameapply.c: New file.
2557         * gdb.base/frameapply.exp: New file.
2558
2559 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2560
2561         * gdb.base/skip.exp: Update expected error message.
2562
2563 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
2564             Jan Kratochvil  <jan.kratochvil@redhat.com>
2565             Paul Fertser  <fercerpav@gmail.com>
2566             Tsutomu Seki  <sekiriki@gmail.com>
2567
2568         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2569         parameter.
2570         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2571         by default.
2572         * boards/native-gdbserver.exp: Likewise.
2573         * gdb.server/run-without-local-binary.exp: Improve regexp used
2574         for detecting when a remote debugging connection succeeds.
2575         * gdb.server/server-connect.exp: New file.
2576         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2577         Do not prefix the port number with ":".
2578         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
2579         support for detecting and using it.  Add '$debughost_gdbserver'
2580         to the list of arguments used to start gdbserver.  Handle case
2581         when gdbserver cannot resolve a network name.
2582
2583 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
2584
2585         PR c++/23373
2586         * gdb.base/ptype-offsets.cc (struct static_member): New
2587         struct.
2588         (main) <stmember>: New variable.
2589         * gdb.base/ptype-offsets.exp: Add test for printing a struct
2590         with a static member in it.
2591
2592 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
2593
2594         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2595         watchpoints enabled and disabled.
2596
2597 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
2598
2599         * gdb.base/examine-backward.exp: Still run tests around address
2600         0x0, even if address 0x0 is not readable.  Update the pattern for
2601         matching address 0x0 in expected output.
2602
2603 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2604
2605         * gdb.base/share-env-with-gdbserver.c (main): Add call to
2606         malloc/free.
2607
2608 2018-07-04  Tom de Vries  <tdevries@suse.de>
2609
2610         * gdb.dwarf2/dw2-error.exp: Update expected error message.
2611
2612 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
2613
2614         PR tdep/8282
2615         * gdb.arch/mips-disassembler-options.exp: New test.
2616         * gdb.arch/mips-disassembler-options.s: New test source.
2617
2618 2018-06-29  Pedro Alves  <palves@redhat.com>
2619
2620         * gdb.threads/names.exp: Adjust expected "info threads" output.
2621
2622 2018-06-29  Pedro Alves  <palves@redhat.com>
2623
2624         * gdb.opt/inline-break.exp (line number, address): Add "info
2625         break" tests.
2626
2627 2018-06-29  Pedro Alves  <palves@redhat.com>
2628
2629         * gdb.opt/inline-break.c (func1): Add "break here" marker.
2630         * gdb.opt/inline-break.exp: Test setting breakpoints by line
2631         number and address and running to them.
2632
2633 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
2634
2635         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2636
2637 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2638
2639         * lib/compiler.c: Remove executable permission flag.
2640
2641 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
2642
2643         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2644         code.
2645         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2646
2647 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
2648
2649         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2650
2651 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
2652
2653         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2654         address argument is omitted.
2655
2656 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
2657
2658         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2659
2660 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
2661
2662         PR gdb/21695
2663         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2664         * gdb.base/infoline-reloc-main-from-zero.c: New file.
2665
2666 2018-06-26  Tom Tromey  <tom@tromey.com>
2667
2668         PR rust/22574:
2669         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2670         * gdb.rust/simple.rs (struct SimpleLayout): New.
2671
2672 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
2673
2674         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2675         "info registers" output.
2676
2677 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
2678
2679         * gdb.base/watchpoint-hw-attach.c: New test.
2680         * gdb.base/watchpoint-hw-attach.exp: New file.
2681
2682 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
2683
2684         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2685         through /bin/sh.
2686         * boards/dwarf4-gdb-index.exp: Likewise.
2687         * boards/fission-dwp.exp: Likewise.
2688
2689 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
2690
2691         * gdb.base/float128.exp: Add comment and improved fail message
2692         to the failure case of "print large128" test.
2693
2694 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
2695
2696         * configure.ac: Remove AC_PREREQ.
2697         * configure: Re-generate.
2698
2699 2018-06-19  Pedro Alves  <palves@redhat.com>
2700
2701         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2702         (func_extern_caller): New.
2703         (main): Call func_extern_caller.
2704         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2705         logic change.
2706
2707 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
2708
2709         PR gdb/16841
2710         * gdb.cp/typedef-base.cc: New file.
2711         * gdb.cp/typedef-base.exp: New file.
2712
2713 2018-06-18  Tom de Vries  <tdevries@suse.de>
2714
2715         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2716
2717 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
2718             Richard Bunt <Richard.Bunt@arm.com>
2719
2720         * gdb.threads/attach-slow-waitpid.c: New file.
2721         * gdb.threads/attach-slow-waitpid.exp: New file.
2722         * gdb.threads/slow-waitpid.c: New file.
2723
2724 2018-06-14  Pedro Alves  <palves@redhat.com>
2725
2726         * gdb.base/fork-running-state.c: Include <errno.h>.
2727         (exit_if_relative_exits): New.
2728         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2729         exits.
2730         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2731         child exits.
2732
2733 2018-06-14  Tom de Vries  <tdevries@suse.de>
2734
2735         PR cli/22573
2736         * gdb.base/finish-pretty.c: New test.
2737         * gdb.base/finish-pretty.exp: New file.
2738
2739 2018-06-14  Pedro Alves  <palves@redhat.com>
2740
2741         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2742         gdb's expected startup output.
2743
2744 2018-06-14  Pedro Alves  <palves@redhat.com>
2745
2746         * lib/selftest-support.exp (selftest_setup): Remove inlined
2747         function handling.
2748
2749 2018-06-14  Tom de Vries  <tdevries@suse.de>
2750
2751         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2752         matching of breakpoint printing.
2753
2754 2018-06-13  Tom de Vries  <tdevries@suse.de>
2755
2756         PR testsuite/23269
2757         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2758         (fork_child): ... here, and ...
2759         (fork_parent): ... here.
2760
2761 2018-06-12  Tom de Vries  <tdevries@suse.de>
2762
2763         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2764
2765 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2766             Stephen Roberts  <stephen.roberts@arm.com>
2767
2768         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2769         rewrite test to describe action performed, rather than possible
2770         failure.
2771
2772 2018-06-08  Gary Benson <gbenson@redhat.com>
2773
2774         * gdb.threads/check-libthread-db.exp: New file.
2775         * gdb.threads/check-libthread-db.c: Likewise.
2776
2777 2018-06-05  Tom Tromey  <tom@tromey.com>
2778
2779         * gdb.base/default.exp: Update expected "show version" output.
2780
2781 2018-06-05  Tom Tromey  <tom@tromey.com>
2782
2783         PR cli/12326:
2784         * gdb.cp/static-print-quit.exp: Update.
2785         * lib/gdb.exp (pagination_prompt): Update.
2786         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
2787         * gdb.python/python.exp: Update.
2788
2789 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
2790
2791         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2792
2793 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
2794
2795         * gdb.ada/bp_fun_addr: New testcase.
2796
2797 2018-06-01  Tom Tromey  <tom@tromey.com>
2798
2799         * gdb.xml/tdesc-regs.exp (load_description): Update expected
2800         results.
2801         * gdb.dwarf2/method-ptr.exp: Set language to C++.
2802         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2803         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2804         * gdb.base/maint.exp (maint_pass_if): Update.
2805
2806 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
2807
2808         * gdb.base/endian.exp: New test.
2809         * gdb.base/endian.c: New test source.
2810
2811 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
2812
2813         PR gdb/23203
2814         * gdb.base/bt-selected-frame.c: New file.
2815         * gdb.base/bt-selected-frame.exp: New file.
2816         * lib/gdb.exp (get_current_frame_number): New function.
2817
2818 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
2819             Pedro Alves  <palves@redhat.com>
2820
2821         * gdb.threads/tls-core.c: Include <stdlib.h>
2822         (thread_proc): Call `abort'.
2823         * gdb.threads/tls-core.exp: Generate a core with core_find too.
2824         (tls_core_test): New procedure, bits factored out from ...
2825         (top level): ... here.  Test both native cores and gcore cores.
2826
2827 2018-05-23  Tom Tromey  <tom@tromey.com>
2828
2829         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2830
2831 2018-05-23  Tom Tromey  <tom@tromey.com>
2832
2833         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2834         symfile_complaints.
2835         (test_short_complaints): Likewise.
2836         (test_empty_complaints): Likewise.
2837         (test_initial_complaints): Update.
2838
2839 2018-05-23  Tom Tromey  <tom@tromey.com>
2840
2841         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2842
2843 2018-05-23  Tom Tromey  <tom@tromey.com>
2844
2845         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2846         (test_short_complaints): Update.
2847
2848 2018-05-22  Pedro Alves  <palves@redhat.com>
2849
2850         * gdb.base/remote.exp: Only gdb_start after compiling the
2851         testcase.  Issue "disconnect" before testing "set remote" command
2852         defaults.  Issue clean_restart before running to main.
2853
2854 2018-05-22  Pedro Alves  <palves@redhat.com>
2855
2856         * gdb.base/remote.exp: Adjust expected output of "show remote
2857         memory-write-packet-size".  Add tests for "set remote
2858         memory-write-packet-size 0" and "set remote
2859         memory-write-packet-size fixed/limit".
2860
2861 2018-05-22  Pedro Alves  <palves@redhat.com>
2862
2863         PR gdb/22973
2864         * gdb.base/utf8-identifiers.c: New file.
2865         * gdb.base/utf8-identifiers.exp: New file.
2866
2867 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
2868
2869         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2870
2871 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
2872
2873         * gdb.arch/powerpc-vsx-gcore.exp: New file.
2874
2875 2018-05-18  Tom Tromey  <tom@tromey.com>
2876
2877         * gdb.base/ptype-offsets.exp: Update.
2878
2879 2018-05-17  Keith Seitz  <keiths@redhat.com>
2880
2881         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2882         in expected breakpoint stop locations.
2883         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2884         move to proper scope to test variable values.
2885         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2886         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2887         New functions.
2888         (main): Call not_inline_func3.
2889         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2890         inline_func1, inline_func2, and inline_func3.  Test that when each
2891         breakpoint is hit, GDB properly reports both the stop location
2892         and the backtrace. Repeat tests for temporary breakpoints.
2893
2894 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
2895
2896         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2897         rather then trying to access it in determining whether the PID
2898         of `gdbserver' could have been retrieved.
2899
2900 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
2901
2902         * gdb.arch/amd64-init-x87-values.S: New file.
2903         * gdb.arch/amd64-init-x87-values.exp: New file.
2904
2905 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2906
2907         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2908
2909 2018-05-04  Tom Tromey  <tom@tromey.com>
2910
2911         PR python/22730:
2912         * gdb.python/python.exp: Test multi-line execute.
2913
2914 2018-05-04  Tom Tromey  <tom@tromey.com>
2915
2916         PR python/22731:
2917         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2918
2919 2018-05-04  Tom Tromey  <tom@tromey.com>
2920
2921         PR gdb/11750:
2922         * gdb.base/define.exp: Test defining a user command inside a user
2923         command.
2924         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2925
2926 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2927             Pedro Alves <palves@redhat.com>
2928
2929         PR breakpoints/19806 and support for PR external/20207.
2930         * gdb.base/watchpoint-unaligned.c: New file.
2931         * gdb.base/watchpoint-unaligned.exp: New file.
2932
2933 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2934
2935         * gdb.base/maint.exp: Make test names unique, use
2936         test_prefix_command_help to test 'help maint info', and remove
2937         repeated test of 'help maint'.
2938
2939 2018-05-04  Tom Tromey  <tom@tromey.com>
2940
2941         PR gdb/22619:
2942         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2943         behavior.
2944
2945 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2946
2947         * gdb.base/maint.exp: Process output from 'maint print registers'
2948         line at a time.
2949
2950 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2951
2952         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2953         timeout.
2954
2955 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2956
2957         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2958         filter pattern.
2959
2960 2018-05-02  Pedro Alves  <palves@redhat.com>
2961
2962         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2963         to_log_command renames.
2964         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2965
2966 2018-05-02  Tom Tromey  <tom@tromey.com>
2967
2968         * gdb.python/py-parameter.exp: Set test message.
2969
2970 2018-05-02  Tom Tromey  <tom@tromey.com>
2971
2972         PR python/20084:
2973         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2974         PARAM_ZUINTEGER_UNLIMITED tests.
2975
2976 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
2977
2978         PR rust/23124
2979         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2980         when casting.
2981
2982 2018-04-30  Tom Tromey  <tom@tromey.com>
2983
2984         * gdb.python/py-type.exp: Check align attribute.
2985         * gdb.python/py-type.c: New "aligncheck" global.
2986
2987 2018-04-30  Tom Tromey  <tom@tromey.com>
2988
2989         PR exp/17095:
2990         * gdb.dwarf2/dw2-align.exp: New file.
2991         * gdb.cp/align.exp: New file.
2992         * gdb.base/align.exp: New file.
2993         * lib/gdb.exp (gdb_int128_helper): New proc.
2994         (has_int128_c, has_int128_cxx): New caching procs.
2995
2996 2018-04-27  Tom Tromey  <tom@tromey.com>
2997
2998         PR rust/22545:
2999         * gdb.rust/simple.exp: Add inclusive range tests.
3000
3001 2018-04-26  Pedro Alves  <palves@redhat.com>
3002
3003         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3004         ifunc breakpoint locations correctly of ifunc breakpoints set
3005         while the program resolves the ifunc.
3006
3007 2018-04-26  Pedro Alves  <palves@redhat.com>
3008
3009         * gdb.base/gnu-ifunc-final.c: New file.
3010         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3011         * gdb.base/gnu-ifunc.exp (executable): Delete.
3012         (staticexecutable): Adjust.
3013         (lib_opts, exec_opts): Delete.
3014         (make_binsuffix, build, set-break): New procedures.
3015         (misc_tests): New, with tests factored out from the top level.
3016         (top level): Test different combinations of ifunc resolver name,
3017         resolver with and with debug info, and ifunc target with and
3018         without debug info.  Wrap static tests with with_target_prefix.
3019
3020 2018-04-26  Pedro Alves  <palves@redhat.com>
3021
3022         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3023         return type" warnings.
3024
3025 2018-04-25  Pedro Alves  <palves@redhat.com>
3026
3027         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3028         killed".
3029         * gdb.base/kill-after-signal.exp: Likewise.
3030         * gdb.threads/kill.exp: Likewise.
3031
3032 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3033             Sergio Durigan Junior  <sergiodj@redhat.com>
3034             Pedro Alves  <palves@redhat.com>
3035
3036         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3037         regexps to expect for '[Inferior ... detached]' as well.
3038         * gdb.base/attach.exp: Likewise.
3039         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3040         "gdb_continue_to_end".
3041         (test_catch_syscall_with_wrong_args): Likewise.
3042         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3043         ']'.  Don't set 'verbose' on.
3044         * gdb.base/foll-vfork.exp: Likewise.
3045         * gdb.base/fork-print-inferior-events.c: New file.
3046         * gdb.base/fork-print-inferior-events.exp: New file.
3047         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3048         '[Inferior ... has been killed]' message.
3049         * gdb.base/kill-after-signal.exp: Likewise.
3050         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3051         detach message.
3052         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3053         message.
3054         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3055         regexps to expect for '[Inferior ... detached]' as well.
3056         * gdb.threads/process-dies-while-detaching.exp: Likewise.
3057
3058 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
3059
3060         PR gdb/23104
3061         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3062
3063 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
3064
3065         * gdb.threads/multiple-successive-infcall.c: New test.
3066         * gdb.threads/multiple-successive-infcall.exp: New file.
3067
3068 2018-04-17  Tom Tromey  <tom@tromey.com>
3069
3070         * gdb.rust/simple.rs (Union): New type.
3071         (main): New local "u".
3072         * gdb.rust/simple.exp (test_one_slice): Add new test case.
3073
3074 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3075
3076         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3077         number information in output of "whereis" command.
3078         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3079
3080 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3081
3082         * gdb.ada/info_types.exp: Adjust expected output to the line
3083         numbers now printed by "info var/func/type".
3084         * gdb.base/completion.exp: Likewise.
3085         * gdb.base/included.exp: Likewise.
3086         * gdb.cp/cp-relocate.exp: Likewise.
3087         * gdb.cp/cplusfuncs.exp: Likewise.
3088         * gdb.cp/namespace.exp: Likewise.
3089         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3090
3091 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
3092
3093         * gdb.btrace/cpu.exp: New.
3094
3095 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
3096
3097         * gdb.base/step-indirect-call-thunk.exp: New.
3098         * gdb.base/step-indirect-call-thunk.c: New.
3099         * gdb.reverse/step-indirect-call-thunk.exp: New.
3100         * gdb.reverse/step-indirect-call-thunk.c: New.
3101
3102 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
3103
3104         * gdb.base/pie-fork.c: New file.
3105         * gdb.base/pie-fork.exp: New file.
3106
3107 2018-04-11  Tom Tromey  <tom@tromey.com>
3108
3109         * gdb.rust/simple.exp: Add test for ".." struct initializer.
3110
3111 2018-04-10  Pedro Alves  <palves@redhat.com>
3112
3113         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3114         exits.  Instead loop running forever.
3115         (fork_parent): Run forever too.
3116
3117 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
3118
3119         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3120         mi_continue_to_line.
3121         * gdb.mi/mi-stack.c (callee4): Add comment.
3122
3123 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
3124
3125         * gdb.mi/mi-stack.exp: Fix indentation.
3126
3127 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
3128
3129         PR gdb/22979
3130         * gdb.arch/amd64-osabi.exp: New file.
3131
3132 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
3133
3134         PR gdb/22980
3135         * gdb.base/osabi.exp: New file.
3136
3137 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
3138
3139         * gdb.cp/static-typedef-print.exp: New file.
3140         * gdb.cp/static-typedef-print.cc: New file.
3141
3142 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
3143
3144         * gdb.ada/varsize_limit: New testcase.
3145
3146 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
3147
3148         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3149
3150         * gdb.ada/notcplusplus: New testcase.
3151
3152         * gdb.base/c-linkage-name.c: New file.
3153         * gdb.base/c-linkage-name.exp: New testcase.
3154
3155 2018-03-26  Tom Tromey  <tom@tromey.com>
3156
3157         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3158         * gdb.python/py-framefilter.py (name_error): New global.
3159         (ErrorInName.function): Use name_error.
3160
3161 2018-03-26  Tom Tromey  <tom@tromey.com>
3162
3163         PR backtrace/15582:
3164         * gdb.python/py-framefilter.exp: Add "bt hide" test.
3165
3166 2018-03-23  Keith Seitz  <keiths@redhat.com>
3167
3168         PR c++/22968
3169         * gdb.cp/subtypes.exp: New file.
3170         * gdb.cp/subtypes.h: New file.
3171         * gdb.cp/subtypes.cc: New file.
3172         * gdb.cp/subtypes-2.cc: New file.
3173
3174 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
3175
3176         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3177         (done): Call '_exit' not 'exit' to avoid atexit handlers.
3178         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3179         -nostartfiles when compiling the test.  Confirm that all registers
3180         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3181
3182 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
3183
3184         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3185         option, syntax was wrong anyway.
3186         * gdb.arch/arm-disp-step.exp: Likewise.
3187         * gdb.arch/sparc64-regs.exp: Likewise.
3188         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3189         option, syntax was wrong anyway, switch to use
3190         prepare_for_testing.
3191         * gdb.arch/i386-disp-step.exp: Likewise.
3192
3193 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3194
3195         * gdb.ada/exec_changed.exp: Replace "target_info exists
3196         use_gdb_stub" by "use_gdb_stub".
3197         * gdb.ada/start.exp: Likewise.
3198         * gdb.base/async-shell.exp: Likewise.
3199         * gdb.base/attach-pie-misread.exp: Likewise.
3200         * gdb.base/attach-wait-input.exp: Likewise.
3201         * gdb.base/break-entry.exp: Likewise.
3202         * gdb.base/break-interp.exp: Likewise.
3203         * gdb.base/dprintf-detach.exp: Likewise.
3204         * gdb.base/nostdlib.exp: Likewise.
3205         * gdb.base/solib-nodir.exp: Likewise.
3206         * gdb.base/statistics.exp: Likewise.
3207         * gdb.base/testenv.exp: Likewise.
3208         * gdb.mi/mi-exec-run.exp: Likewise.
3209         * gdb.mi/mi-start.exp: Likewise.
3210         * gdb.multi/dummy-frame-restore.exp: Likewise.
3211         * gdb.multi/multi-arch-exec.exp: Likewise.
3212         * gdb.multi/multi-arch.exp: Likewise.
3213         * gdb.multi/tids.exp: Likewise.
3214         * gdb.multi/watchpoint-multi.exp: Likewise.
3215         * gdb.python/py-events.exp: Likewise.
3216         * gdb.threads/attach-into-signal.exp: Likewise.
3217         * gdb.threads/attach-stopped.exp: Likewise.
3218         * gdb.threads/threadapply.exp: Likewise.
3219         * lib/selftest-support.exp: Likewise.
3220
3221 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3222
3223         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3224
3225 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
3226
3227         * gdb.perf/template-breakpoints.cc: New file.
3228         * gdb.perf/template-breakpoints.exp: New file.
3229         * gdb.perf/template-breakpoints.py: New file.
3230
3231 2018-03-19  Tom Tromey  <tom@tromey.com>
3232
3233         * gdb.rust/simple.rs (main): Add local variables field1, field2,
3234         y0.
3235         * gdb.rust/simple.exp: Test bare identifier form of struct
3236         initializer.
3237
3238 2018-03-19  Tom Tromey  <tom@tromey.com>
3239
3240         * gdb.gdb/observer.exp: Remove.
3241
3242 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3243
3244         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3245         "qualified" option when setting breakpoints.
3246         * gdb.trace/backtrace.exp: Likewise.
3247         * gdb.trace/circ.exp: Likewise.
3248         * gdb.trace/collection.exp: Likewise.
3249         * gdb.trace/disconnected-tracing.exp: Likewise.
3250         * gdb.trace/ftrace-lock.exp: Likewise.
3251         * gdb.trace/ftrace.exp: Likewise.
3252         * gdb.trace/infotrace.exp: Likewise.
3253         * gdb.trace/packetlen.exp: Likewise.
3254         * gdb.trace/passc-dyn.exp: Likewise.
3255         * gdb.trace/qtro.exp: Likewise.
3256         * gdb.trace/read-memory.exp: Likewise.
3257         * gdb.trace/report.exp: Likewise.
3258         * gdb.trace/signal.exp: Likewise.
3259         * gdb.trace/status-stop.exp: Likewise.
3260         * gdb.trace/strace.exp: Likewise.
3261         * gdb.trace/tfind.exp: Likewise.
3262         * gdb.trace/trace-break.exp: Likewise.
3263         * gdb.trace/trace-condition.exp: Likewise.
3264         * gdb.trace/trace-mt.exp: Likewise.
3265         * gdb.trace/tstatus.exp: Likewise.
3266         * gdb.trace/tsv.exp: Likewise.
3267         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3268         * gdb.trace/unavailable.exp: Likewise.
3269         * gdb.trace/while-dyn.exp: Likewise.
3270
3271 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3272
3273         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3274         that libinproctrace is copied to the target.
3275
3276 2018-03-14  Tom Tromey  <tom@tromey.com>
3277
3278         PR cli/14977:
3279         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3280         a null pointer.
3281         * gdb.base/wchar.exp: Likewise.
3282
3283 2018-03-14  Tom Tromey  <tom@tromey.com>
3284
3285         PR cli/19918:
3286         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3287         flag.
3288
3289 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
3290
3291         PR gdb/22841
3292         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3293         "target" to remote_exec.
3294
3295 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
3296
3297         PR gdb/22841
3298         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3299         ${board}_upload): Remove.
3300
3301 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3302
3303         * gdb.cp/watch-cp.cc: New test.
3304         * gdb.cp/watch-cp.exp: New file.
3305
3306 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
3307
3308         * gdb.base/infcall-nested-structs.exp: New file.
3309         * gdb.base/infcall-nested-structs.c: New file.
3310         * gdb.base/float.exp: Add riscv support.
3311
3312 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3313
3314         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3315         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3316
3317 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3318
3319         * gdb.server/abspath.exp: New file.
3320         * lib/gdb.exp (with_cwd): New procedure.
3321
3322 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
3323
3324         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3325         use it.
3326         (gdb_is_target_remote_prompt): New proc.
3327         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3328         (gdb_is_target_native): Pass prompt parameter to
3329         gdb_is_target_1.
3330
3331 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
3332
3333         * gdb.base/load-command.c: New file.
3334         * gdb.base/load-command.exp: New file.
3335         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3336         (gdb_is_target_1): ...this, and generalize for other targets
3337         than just remote.
3338         (gdb_is_target_remote): Use gdb_is_target_1.
3339         (gdb_is_target_native): use gdb_is_target_1.
3340
3341 2018-02-26  Tom Tromey  <tom@tromey.com>
3342
3343         PR python/16497:
3344         * gdb.python/py-framefilter.exp: Update test.
3345
3346 2018-02-26  Tom Tromey  <tom@tromey.com>
3347
3348         * gdb.dwarf2/variant.c: New file.
3349         * gdb.dwarf2/variant.exp: New file.
3350
3351 2018-02-26  Tom Tromey  <tom@tromey.com>
3352
3353         * gdb.rust/simple.exp: Accept more possible results in enum test.
3354
3355 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
3356
3357         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3358         parentheses.
3359
3360 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
3361
3362         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3363         name of a variable: $actual_linejj -> $actual_line.
3364
3365 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
3366
3367         * gdb.arch/amd64-i386-address.exp: Fix a typo.
3368
3369 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
3370
3371         * gdb.btrace/buffer-size.exp: Do not force BTS.
3372
3373 2018-02-14  Pedro Alves  <palves@redhat.com>
3374
3375         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3376         getting a "Quit".
3377
3378 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
3379
3380         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3381         Fix test name.
3382
3383 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
3384
3385         * gdb.cp/m-static.exp: Check type of optimized out static
3386         member.
3387
3388 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
3389
3390         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3391         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3392
3393 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
3394             Leszek Swirski  <leszeks@google.com>
3395
3396         * gdb.python/py-prettyprint.c
3397         (struct to_string_returns_value_inner,
3398         struct to_string_returns_value_wrapper): New.
3399         (main): Add tsrvw variable.
3400         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3401         ToStringReturnsValueWrapper): New classes.
3402         (register_pretty_printers): Register new pretty-printers.
3403         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3404         recursive pretty printer.
3405         * gdb.python/py-mi.exp: Likewise.
3406
3407 2018-02-01  Leszek Swirski  <leszeks@google.com>
3408
3409         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3410         functions with the same name as an include file are parsed
3411         correctly.
3412
3413 2018-02-01  Yao Qi  <yao.qi@linaro.org>
3414
3415         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3416         "\[^\r\n\]*".
3417
3418 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
3419
3420         * gdb.arch/powerpc-prologue-frame.s: New file.
3421         * gdb.arch/powerpc-prologue-frame.c: Likewise.
3422         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3423
3424 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
3425
3426         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3427
3428 2018-01-30  Pedro Alves  <palves@redhat.com>
3429
3430         PR gdb/13211
3431         * gdb.base/interrupt-daemon.c: New.
3432         * gdb.base/interrupt-daemon.exp: New.
3433         * gdb.multi/multi-term-settings.c: New.
3434         * gdb.multi/multi-term-settings.exp: New.
3435
3436 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
3437
3438         * gdb.base/break.exp: Save the location where the breakpoint
3439         on break.c:47 was actually inserted when debugging the version
3440         compiled at -O2 and use it in the expected output of the "info
3441         break" test performed soon after.
3442
3443 2018-01-22  Pedro Alves  <palves@redhat.com>
3444             Sergio Durigan Junior  <sergiodj@redhat.com>
3445
3446         * gdb.base/whatis.exp: Add tests for 'set print object on' +
3447         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3448
3449 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
3450
3451         * gdb.base/break-include.c, gdb.base/break-include.inc,
3452         gdb.base/break-include.exp: New files.
3453         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3454         line number now being the actual line number where the breakpoint
3455         was inserted.
3456         * gdb.mi/mi-break.exp: Likewise.
3457         * gdb.mi/mi-reverse.exp: Likewise.
3458         * gdb.mi/mi-simplerun.exp: Ditto.
3459
3460 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
3461
3462         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3463         varobj.
3464         * gdb.mi/mi-var-create-rtti.exp: Likewise.
3465
3466 2018-01-21  Don Breazeal  <donb@codesourcery.com>
3467             Andrew Burgess  <andrew.burgess@embecosm.com>
3468
3469         * gdb.mi/basics.c: Add new global.
3470         * gdb.mi/mi-frame-regs.exp: New file.
3471         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3472         case.
3473
3474 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
3475
3476         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3477         non-parameter, and on an unknown symbol.
3478
3479 2018-01-19  Tom Tromey  <tom@tromey.com>
3480
3481         * gdb.rust/modules.rs (TWENTY_THREE): New global.
3482         * gdb.rust/modules.exp: Add ::-qualified lookup test.
3483
3484 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3485
3486         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3487         setrlimit and chdir to int.
3488
3489 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3490
3491         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3492         function.
3493         (my_tend): Likewise.
3494         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3495         rationale of avoiding FP- and vector instructions.
3496
3497 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
3498
3499         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3500         "info reg" with "\[ \t\]*".
3501         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3502         "\[ \t\]+".
3503         * gdb.arch/s390-multiarch.exp: Ditto.
3504         * gdb.base/pc-fp.exp: Ditto.
3505         * gdb.reverse/i386-precsave.exp: Ditto.
3506         * gdb.reverse/i386-reverse.exp: Ditto.
3507         * gdb.reverse/i387-env-reverse.exp: Ditto.
3508         * gdb.reverse/i387-stack-reverse.exp: Ditto.
3509
3510 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3511
3512         * lib/gdb.exp (gdb_compile): Re-enable use of
3513         universal_compile_options for languages other than Rust.
3514
3515 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3516
3517         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3518
3519 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
3520
3521         PR gdb/16577
3522         * gdb.base/solib-vanish.exp: New.
3523         * gdb.base/solib-vanish-main.c: New.
3524         * gdb.base/solib-vanish-lib1.c: New.
3525         * gdb.base/solib-vanish-lib2.c: New.
3526
3527 2018-01-17  Yao Qi  <yao.qi@linaro.org>
3528
3529         * gdb.compile/compile.exp: Match the address printed for
3530         frame in the output of command "bt".
3531
3532 2018-01-15  Tom Tromey  <tom@tromey.com>
3533
3534         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3535         compute sp_reg.
3536
3537 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
3538
3539         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3540         to prepare.
3541         (prepare): Return 0 on error, 1 on success.
3542
3543 2018-01-12  Pedro Alves  <palves@redhat.com>
3544
3545         * gdb.base/continue-after-aborted-step-over.c: New.
3546         * gdb.base/continue-after-aborted-step-over.exp: New.
3547
3548 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
3549
3550         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3551         options when not creating an executable.
3552
3553 2018-01-11  Pedro Alves  <palves@redhat.com>
3554
3555         PR remote/22597
3556         * gdb.server/stop-reply-no-thread.c: New file.
3557         * gdb.server/stop-reply-no-thread.exp: New file.
3558
3559 2018-01-10  Pedro Alves  <palves@redhat.com>
3560
3561         PR gdb/22670
3562         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
3563         functions too.  Test setting breakpoints and printing C functions
3564         with no debug info too.
3565         * gdb.ada/bp_c_mixed_case/qux.c: New file.
3566
3567 2018-01-10  Pedro Alves  <palves@redhat.com>
3568
3569         PR gdb/22670
3570         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3571         a fail.
3572
3573 2018-01-10  Pedro Alves  <palves@redhat.com>
3574
3575         PR gdb/22670
3576         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3577
3578 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
3579
3580         * gdb.server/unittest.exp: Match the output in non-development
3581         mode.
3582
3583 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
3584
3585         * gdb.gdb/unittest.exp: Match output in non-development mode.
3586
3587 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
3588
3589         * gdb.ada/access_tagged_param.exp: Relax expected output
3590         for value of "ObjL" in "continue" to pck.inspect breakpoint
3591         test.
3592
3593 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
3594
3595         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3596         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3597
3598 2018-01-05  Pedro Alves  <palves@redhat.com>
3599
3600         PR gdb/18653
3601         * gdb.base/libsegfault.exp: New.
3602
3603 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
3604
3605         PR gdb/22670
3606         * gdb.ada/access_tagged_param.exp: New file.
3607         * gdb.ada/access_tagged_param/foo.adb: New file.
3608
3609 2018-01-05  Pedro Alves  <palves@redhat.com>
3610
3611         PR gdb/22670
3612         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
3613         exercise lower case too, and to exercise both full matching and
3614         wild matching.
3615
3616 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
3617
3618         * gdb.ada/rename_subscript_param: New testcase.
3619
3620 2018-01-05  Jerome Guitton  <guitton@adacore.com>
3621
3622         * gdb.ada/arr_acc_idx_w_gap: New testcase.
3623
3624 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
3625
3626         * gdb.ada/convvar_comp: New testcase.
3627
3628 2018-01-05  Xavier Roirand  <roirand@adacore.com>
3629
3630         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3631         (My_Table): New global variable.
3632         * testsuite/gdb.ada/array_char_idx.exp: Add test.
3633
3634 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
3635
3636         PR gdb/22670
3637         * gdb.ada/maint_with_ada: New testcase.
3638
3639 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
3640
3641         PR gdb/22670
3642         * gdb.ada/bp_c_mixed_case: New testcase.
3643
3644 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
3645
3646         PR gdb/22670
3647         * gdb.ada/complete.exp: Add "complete break ada" test.
3648
3649 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
3650
3651         PR gdb/22670
3652         * gdb.ada/info_addr_mixed_case: New testcase.
3653
3654 2018-01-03  Xavier Roirand  <roirand@adacore.com>
3655
3656         * gdb.ada/excep_handle.exp: New testcase.
3657         * gdb.ada/excep_handle/foo.adb: New file.
3658         * gdb.ada/excep_handle/pck.ads: New file.
3659
3660 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
3661
3662         * gdb.base/step-line.c: Add extra empty line in copyright header.
3663         * gdb.base/step-line.inp: Likewise.
3664
3665 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
3666
3667         * gdb.ada/dyn_stride.exp: Add slice test.
3668
3669 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
3670
3671         * gdb.ada/dyn_stride: New testcase.
3672
3673 2017-12-27  Stafford Horne  <shorne@gmail.com>
3674
3675         * gdb.xml/extra-regs.xml: Add example foo reggroup.
3676         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3677
3678 2017-12-27  Stafford Horne  <shorne@gmail.com>
3679
3680         * gdb.base/reggroups.c: New file.
3681         * gdb.base/reggroups.exp: New file.
3682
3683 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
3684
3685         * gdb.dwarf2/ada-valprint-error.c: New file.
3686         * gdb.dwarf2/ada-valprint-error.exp: New file.
3687
3688 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
3689
3690         * gdb.ada/assign_arr: New testcase.
3691
3692 2017-12-18  Xavier Roirand  <roirand@adacore.com>
3693
3694         * gdb.ada/funcall_ptr: New testcase.
3695
3696 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3697
3698         PR cli/16224
3699         * gdb.base/ptype-offsets.cc: New file.
3700         * gdb.base/ptype-offsets.exp: New file.
3701
3702 2017-12-15  Yao Qi  <yao.qi@linaro.org>
3703
3704         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3705         if XML is disabled.
3706
3707 2017-12-15  Xavier Roirand  <roirand@adacore.com>
3708
3709         * gdb.ada/same_component_name: New testcase.
3710
3711 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
3712
3713         * gdb.ada/str_binop_equal: New testcase.
3714
3715 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
3716
3717         * gdb.ada/task_switch_in_core: New testcase.
3718
3719 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
3720
3721         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3722         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3723         call test_bkpt_qualified.
3724         (test_bkpt_qualified): New proc.
3725
3726 2017-12-13  Pedro Alves  <palves@redhat.com>
3727
3728         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3729         Tighten regexp by matching with an anchor.
3730
3731 2017-12-13  Pedro Alves  <palves@redhat.com>
3732
3733         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3734         ("expression with namespace"): New set of tests.
3735         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3736         (Nested::Test_NS::qux): New.
3737         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3738         defaults to 'start_quote_char' and 'end_quote_char' parameters.
3739
3740 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
3741
3742         * gdb.base/server-del-break.c: New file.
3743         * gdb.base/server-del-break.exp: New file.
3744
3745 2017-12-12  Stafford Horne  <shorne@gmail.com>
3746
3747         * gdb.xml/tdesc-regs.exp: Add or1k support.
3748
3749 2017-12-12  Stafford Horne  <shorne@gmail.com>
3750
3751         * gdb.base/bp-permanent.c: Define nop of or1k.
3752
3753 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
3754
3755         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3756         output with components being reordered.
3757
3758 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
3759
3760         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3761         output with components being reordered.
3762
3763 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
3764             Pedro Alves  <palves@redhat.com>
3765
3766         * gdb.base/maint.exp (check for .gdb_index): Check also for
3767         .debug_names.
3768         * gdb.dlang/watch-loc.c (.debug_aranges): New.
3769         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3770         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3771         (.gdb_index used after symbol reloading): Support also .debug_names.
3772         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3773
3774 2017-12-08  Yao Qi  <yao.qi@linaro.org>
3775
3776         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3777         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3778
3779 2017-12-08  Yao Qi  <yao.qi@linaro.org>
3780
3781         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3782         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3783
3784 2017-12-08  Yao Qi  <yao.qi@linaro.org>
3785
3786         * gdb.arch/aarch64-tagged-pointer.c: New file.
3787         * gdb.arch/aarch64-tagged-pointer.exp: New file.
3788
3789 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
3790
3791         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3792         "int".
3793
3794 2017-12-07  Keith Seitz  <keiths@redhat.com>
3795
3796         PR breakpoints/22569
3797         * gdb.linespec/ls-errs.exp: Change expected result of "break
3798         -source this file has spaces.c -line 3".
3799         Check that an explicit source file followed by whitespace is
3800         identified as an invalid explicit location.
3801
3802 2017-12-07  Keith Seitz  <keiths@redhat.com>
3803
3804         * gdb.cp/nested-types.cc: New file.
3805         * gdb.cp/nested-types.exp: New file.
3806         * lib/cp-support.exp: Load data-structures.exp library.
3807         (debug_cp_test_ptype_class): New global.
3808         (cp_ptype_class_verbose, next_line): New procedures.
3809         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3810         Add and document new return value.
3811         Switch the list of lines to a queue.
3812         Add support for new `type' key for nested type definitions.
3813         Add debugging/troubleshooting messages.
3814         * lib/data-structures.exp: New file.
3815
3816 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
3817
3818         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3819         with proc_with_prefix, don't use with_test_prefix.
3820
3821 2017-12-07  Tom Tromey  <tom@tromey.com>
3822
3823         * gdb.base/break.exp: Add test for empty "commands".
3824
3825 2017-12-07  Yao Qi  <yao.qi@linaro.org>
3826
3827         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3828         malloc and catch syscall.
3829
3830 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
3831
3832         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3833         tests for explicit locations.
3834
3835 2017-12-06  Pedro Alves  <palves@redhat.com>
3836
3837         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3838         force-disabling XML descriptions.
3839
3840 2017-12-04  Pedro Alves  <palves@redhat.com>
3841
3842         PR gdb/22499
3843         * gdb.arch/amd64-disp-step-avx.S: New file.
3844         * gdb.arch/amd64-disp-step-avx.exp: New file.
3845
3846 2017-12-03  Pedro Alves  <palves@redhat.com>
3847
3848         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3849         and <string.h>.
3850         (parent_function): Print distinct messages when waitpid fails, or
3851         the child exits with a signal, or the child exits for an unhandled
3852         reason.
3853         * gdb.threads/process-dies-while-detaching.exp
3854         (detach_and_expect_exit): New 'inf_output_re' parameter and use
3855         it.  Wait for both inferior output and GDB's prompt.  Use an
3856         indirect spawn id list.
3857         (do_detach): New parameter 'child_exit'.  Use it to compute
3858         expected inferior output.
3859         (test_detach, test_detach_watch, test_detach_killed_outside):
3860         Adjust to pass down the expected child exit kind.
3861
3862 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
3863             Sergio Durigan Junior  <sergiodj@redhat.com>
3864             Pedro Alves  <palves@redhat.com>
3865
3866         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3867
3868 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
3869
3870         * gdb.base/relocate.exp: Add tests to guarantee that arguments
3871         to 'symbol-file' and 'add-symbol-file' can be
3872         position-independent.
3873
3874 2017-12-01  Yao Qi  <yao.qi@linaro.org>
3875
3876         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3877         the URL in copyright header.
3878         * gdb.arch/aarch64-fp.exp: Likewise.
3879         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3880         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3881         * gdb.base/expand-psymtabs.exp: Likewise.
3882         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3883         * gdb.fortran/common-block.exp: Likewise.
3884         * gdb.fortran/common-block.f90: Likewise.
3885         * gdb.fortran/logical.exp: Likewise.
3886         * gdb.fortran/vla-datatypes.f90: Likewise.
3887         * gdb.fortran/vla-sub.f90: Likewise.
3888
3889 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
3890
3891         * gdb.ada/repeat_dyn: New testcase.
3892
3893 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
3894
3895         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3896         Update for changed thread numbering.
3897         * gdb.cell/bt.exp: Update for changed GDB output.
3898
3899 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
3900
3901         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3902         setting isremote by hand.
3903         * boards/dwarf4-gdb-index.exp: Likewise.
3904         * boards/fission.exp: Likewise.
3905         * boards/stabs.exp: Likewise.
3906
3907 2017-11-30  Pedro Alves  <palves@redhat.com>
3908
3909         * gdb.linespec/cpls-ops.exp
3910         (check_explicit_skips_function_argument): Extract the underlying
3911         type of size_t instead of hardcoding it.
3912
3913 2017-11-29  Pedro Alves  <palves@redhat.com>
3914
3915         PR c++/19436
3916         * gdb.linespec/cpls-abi-tag.cc: New file.
3917         * gdb.linespec/cpls-abi-tag.exp: New file.
3918
3919 2017-11-29  Pedro Alves  <palves@redhat.com>
3920
3921         * gdb.base/langs.exp: Use -qualified.
3922         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3923         it.
3924         * gdb.cp/namespace.exp: Use -qualified.
3925         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3926         (overload-3, template-overload, template-ret-type, const-overload)
3927         (const-overload-quoted, anon-ns, ambiguous-prefix): New
3928         procedures.
3929         (test_driver): Call them.
3930         * gdb.cp/save-bp-qualified.cc: New.
3931         * gdb.cp/save-bp-qualified.exp: New.
3932         * gdb.linespec/explicit.exp: Test -qualified.
3933         * lib/completion-support.exp (completion::explicit_opts_list): Add
3934         "-qualified".
3935         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3936
3937 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3938
3939         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3940
3941 2017-11-29  Tom Tromey  <tom@tromey.com>
3942
3943         * gdb.base/relocate.exp: Update invalid argument test.
3944         Add new tests for invalid arguments.
3945
3946 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3947
3948         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3949         Return 0 as a long.
3950         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3951
3952 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3953
3954         * gdb.cp/breakpoint.cc (bar): Set return type to void.
3955         * gdb.cp/psymtab-parameter.cc (func): Likewise.
3956         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3957         func ().
3958         * gdb.cp/shadow.cc (B.func): Return 0.
3959
3960 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
3961
3962         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3963         expected output in gdb_expect call to allow the exception
3964         message to be present as well.  Fix syntax confusion to avoid
3965         TCL thinking that exception_name is an array.
3966
3967 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
3968
3969         * gdb.arch/spu-info.c: Include <unistd.h>.
3970         (do_signal_test): Fix broken calls to write.
3971         * gdb.arch/spu-info.exp: Use prepare_for_testing.
3972         Fix checks for empty mailboxes.  Update signal tests for corrected
3973         do_signal_test routine.  Allow nonzero event status.
3974         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3975         * gdb.cell/arch.exp: Use standard_output_file.
3976         * gdb.cell/break.exp: Likewise.
3977         * gdb.cell/bt.exp: Likewise.
3978         * gdb.cell/core.exp: Likewise.
3979         * gdb.cell/dwarfaddr.exp: Likewise.
3980         * gdb.cell/ea-cache.exp: Likewise.
3981         * gdb.cell/ea-standalone.exp: Likewise.
3982         * gdb.cell/f-regs.exp: Likewise.
3983         * gdb.cell/fork.exp: Likewise.
3984         * gdb.cell/gcore.exp: Likewise.
3985         * gdb.cell/mem-access.exp: Likewise.
3986         * gdb.cell/ptype.exp: Likewise.
3987         * gdb.cell/registers.exp: Likewise.
3988         * gdb.cell/sizeof.exp: Likewise.
3989         * gdb.cell/solib-symbol.exp: Likewise.
3990         * gdb.cell/solib.exp: Likewise.
3991
3992 2017-11-25   Pedro Alves  <palves@redhat.com>
3993
3994         * gdb.base/complete-empty.exp: New file.
3995         * gdb.base/completion.exp: Adjust.
3996
3997 2017-11-25  Pedro Alves  <palves@redhat.com>
3998
3999         * gdb.linespec/cpls-ops.cc: New file.
4000         * gdb.linespec/cpls-ops.exp: New file.
4001         * lib/completion-support.exp (test_complete_prefix_range_re): New,
4002         factored out from ...
4003         (test_complete_prefix_range): ... this.
4004
4005 2017-11-24  Pedro Alves  <palves@redhat.com>
4006
4007         * gdb.linespec/cpcompletion.exp: New file.
4008         * gdb.linespec/cpls-hyphen.cc: New file.
4009         * gdb.linespec/cpls.cc: New file.
4010         * gdb.linespec/cpls2.cc: New file.
4011         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
4012         test to use test_gdb_complete_unique.  Add label completion,
4013         keyword completion and explicit location completion tests.
4014         * lib/completion-support.exp: New file.
4015
4016 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
4017
4018         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4019         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4020         when hitting an exception catchpoint.
4021
4022 2017-11-22  Yao Qi  <yao.qi@linaro.org>
4023
4024         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4025
4026 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
4027
4028         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4029         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4030         * gdb.dwarf2/info-locals-optimized-out.c: New file.
4031
4032 2017-11-22  Yao Qi  <yao.qi@linaro.org>
4033
4034         * gdb.base/info-os.exp: Pass pthreads.
4035         * gdb.multi/multi-attach.exp: Likewise.
4036
4037 2017-11-22  Yao Qi  <yao.qi@linaro.org>
4038
4039         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4040         compiler.
4041
4042 2017-11-22  Yao Qi  <yao.qi@linaro.org>
4043
4044         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4045         * gdb.base/break-interp.exp: Likewise.
4046         * gdb.base/jit-attach-pie.exp: Likewise.
4047
4048 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
4049
4050         * gdb.base/float128.c (large128): New variable.
4051         * gdb.base/float128.exp: Add test to print largest __float128 value.
4052
4053 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
4054
4055         * gdb.arch/vsx-regs.exp: Update register content checks.
4056
4057 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
4058
4059         * gdb.arch/ppc-longdouble.exp: New file.
4060         * gdb.arch/ppc-longdouble.c: Likewise.
4061
4062 2017-11-21  Pedro Alves  <palves@redhat.com>
4063
4064         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4065
4066 2017-11-20  Pedro Alves  <palves@redhat.com>
4067
4068         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4069         (long_double_typedef): New typedefs.
4070         Use DEF on double and long double.
4071         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4072         cases.
4073         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4074         and 'long_double_ptr_same_size' locals.  Use them to decide
4075         whether cast from array/function to float is valid/invalid.
4076
4077 2017-11-17  Tom Tromey  <tom@tromey.com>
4078
4079         * gdb.rust/traits.rs: New file.
4080         * gdb.rust/traits.exp: New file.
4081
4082 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
4083
4084         * gdb.ada/minsyms: New testcase.
4085
4086 2017-11-16  Pedro Alves  <palves@redhat.com>
4087
4088         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4089         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4090
4091 2017-11-16  Pedro Alves  <palves@redhat.com>
4092
4093         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4094         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4095
4096 2017-11-16  Pedro Alves  <palves@redhat.com>
4097
4098         * gdb.server/reconnect-ctrl-c.c: New file.
4099         * gdb.server/reconnect-ctrl-c.exp: New file.
4100
4101 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
4102
4103         * gdb.python/py-rbreak.exp: New file.
4104         * gdb.python/py-rbreak.c: New file.
4105         * gdb.python/py-rbreak-func2.c: New file.
4106
4107 2017-11-16  Pedro Alves  <palves@redhat.com>
4108
4109         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4110         pattern.
4111         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4112         GDB.
4113
4114 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
4115
4116         * gdb.tui/completionn.exp (test_tab_completion): Add space in
4117         regex.
4118
4119 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
4120
4121         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4122         test names.
4123
4124 2017-11-09  Pedro Alves  <palves@redhat.com>
4125
4126         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4127         factored out from ...
4128         (top level): ... here, and adjusted to avoid expecting beyond the
4129         prompt in a single gdb_test_multiple.
4130
4131 2017-11-09  Pedro Alves  <palves@redhat.com>
4132
4133         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4134         output.
4135         * gdb.server/ext-attach.exp ("kill" test): Likewise.
4136         * gdb.server/ext-restart.exp ("kill" test): Likewise.
4137         * gdb.server/ext-run.exp ("kill" test): Likewise.
4138         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4139
4140 2017-11-09  Pedro Alves  <palves@redhat.com>
4141
4142         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4143         match till end of line.
4144
4145 2017-11-09  Pedro Alves  <palves@redhat.com>
4146
4147         * gdb.base/memattr.exp: Tighten regexes to match the end line.
4148
4149 2017-11-09  Pedro Alves  <palves@redhat.com>
4150
4151         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4152         New procedures, factored out from ...
4153         (top level): ... here, and adjusted to avoid expecting beyond the
4154         prompt in one go.
4155
4156 2017-11-09  Pedro Alves  <palves@redhat.com>
4157
4158         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4159         output.  Fix '?' match.
4160
4161 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
4162
4163         * gdb.ada/scoped_watch: New testcase.
4164         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4165         which is actually correct.
4166         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4167         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4168
4169 2017-11-08  Pedro Alves  <palves@redhat.com>
4170
4171         * gdb.gdb/complaints.exp (test_initial_complaints)
4172         (test_serial_complaints, test_short_complaints): Call
4173         complaint_internal instead of complaint.
4174
4175 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
4176
4177         * gdb.threads/tls-core.c: New file.
4178         * gdb.threads/tls-core.exp: Likewise.
4179
4180 2017-11-08   Pedro Alves  <palves@redhat.com>
4181
4182         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4183         (p Exported_Capitalized): New test.
4184         (p exported_capitalized): New test.
4185
4186 2017-11-07  Pedro Alves  <palves@redhat.com>
4187
4188         * gdb.cp/ena-dis-br-range.exp: Add more tests.
4189
4190 2017-11-07  Pedro Alves  <palves@redhat.com>
4191
4192         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4193         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4194         (disable_invalid, disable_inverted, disable_negative): New
4195         procedures.
4196         ("bad numbers"): New set of tests.
4197
4198 2017-11-07  Pedro Alves  <palves@redhat.com>
4199
4200         * gdb.cp/ena-dis-br-range.exp: Add tests.
4201
4202 2017-11-07  Pedro Alves  <palves@redhat.com>
4203
4204         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4205
4206 2017-11-07  Xavier Roirand  <roirand@adacore.com>
4207             Pedro Alves  <palves@redhat.com>
4208
4209         * gdb.base/ena-dis-br.exp: Add reference to
4210         gdb.cp/ena-dis-br-range.exp.
4211         * gdb.cp/ena-dis-br-range.exp: New file.
4212         * gdb.cp/ena-dis-br-range.cc: New file.
4213
4214 2017-11-06  Pedro Alves  <palves@redhat.com>
4215
4216         * gdb.base/attach-non-pgrp-leader.c: New.
4217         * gdb.base/attach-non-pgrp-leader.exp: New.
4218
4219 2017-11-06  Pedro Alves  <palves@redhat.com>
4220
4221         * configure.ac: No longer check for termio.h and sgtty.h.
4222         * configure: Regenerate.
4223         * remote-utils.c: Include termios.h instead of gdb_termios.h.
4224         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4225         Remove termio and sgtty code.
4226
4227 2017-11-03  Yao Qi  <yao.qi@linaro.org>
4228
4229         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4230         in GDB is disabled.
4231
4232 2017-11-03  Yao Qi  <yao.qi@linaro.org>
4233
4234         * gdb.python/py-thrhandle.exp: Skip it if python is not
4235         enabled.
4236
4237 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
4238
4239         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4240         as a breakpoint command.
4241
4242 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
4243
4244         PR python/21213
4245         * gdb.python/py-infthread.exp: Test calling
4246         InferiorThread.inferior () multiple times in a row.
4247
4248 2017-10-27  Keith Seitz  <keiths@redhat.com>
4249
4250         * gdb.opt/inline-break.exp (break_info_1): New procedure.
4251         Test "info break" for every inlined function breakpoint.
4252
4253 2017-10-27  Yao Qi  <yao.qi@linaro.org>
4254
4255         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4256
4257 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
4258
4259         * gdb.cp/classes.exp (test_static_members): Test printing
4260         Outer::instance.
4261         * gdb.cp/classes.c (struct Inner, struct Outer): New.
4262         (Inner::instance, Outer::instance): New.
4263
4264 2017-10-24  Pedro Alves  <palves@redhat.com>
4265
4266         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4267         extra console" test in two stages.
4268
4269 2017-10-24  Pedro Alves  <palves@redhat.com>
4270
4271         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4272
4273 2017-10-24  Pedro Alves  <palves@redhat.com>
4274
4275         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4276         loop.
4277
4278 2017-10-24  Pedro Alves  <palves@redhat.com>
4279
4280         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4281         $attempt" and "stoppedtry $stoppedtry" test prefixes.
4282
4283 2017-10-24  Pedro Alves  <palves@redhat.com>
4284
4285         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4286         parameter and handle it.  Don't output read value in test name.
4287
4288 2017-10-24  Pedro Alves  <palves@redhat.com>
4289
4290         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4291         custom test name.
4292
4293 2017-10-24  Pedro Alves  <palves@redhat.com>
4294
4295         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4296         include the unstable output directory name in the test's name.
4297         (initial_setup_simple) <'set args'>: Use custom test name.
4298
4299 2017-10-24  Pedro Alves  <palves@redhat.com>
4300
4301         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4302         with explicit test name.
4303
4304 2017-10-20  Pedro Alves  <palves@redhat.com>
4305
4306         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4307         'wait -i'.  Use gdb_assert and remote_close.
4308
4309 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
4310
4311         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4312         number from variable rather than hard-coded.
4313
4314 2017-10-19  Pedro Alves  <palves@redhat.com>
4315
4316         * gdb.base/long-inferior-output.c: New file.
4317         * gdb.base/long-inferior-output.exp: New file.
4318
4319 2017-11-18  Keith Seitz  <keiths@redhat.com>
4320
4321         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4322         method.
4323         (main): Call it.
4324         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4325         Add additional user-defined conversion operator tests.
4326
4327 2017-10-17  Pedro Alves  <palves@redhat.com>
4328
4329         * boards/native-stdio-gdbserver.exp: Load "local-board".
4330
4331 2017-10-17  Pedro Alves  <palves@redhat.com>
4332
4333         * gdb.base/quit-live.c: New file.
4334         * gdb.base/quit-live.exp: New file.
4335
4336 2017-10-16  Keith Seitz  <keiths@redhat.com>
4337
4338         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4339         (class_with_protected_typedef, class_with_private_typedef)
4340         (struct_with_public_typedef, struct_with_protected_typedef)
4341         (struct_with_private_typedef): New classes/structs.
4342         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4343         typedefs and access specifiers.
4344
4345 2017-10-16  Pedro Alves  <palves@redhat.com>
4346             Simon Marchi  <simon.marchi@polymtl.ca>
4347
4348         * README (Local vs Remote vs Native): New section.
4349         * boards/local-board.exp: New file, with bits factored out from
4350         ...
4351         * boards/native-extended-gdbserver.exp: ... here.  Load
4352         "local-board".
4353         * boards/native-gdbserver.exp: Load "local-board".
4354         (${board}_spawn, ${board}_exec): Delete.
4355         * boards/native-stdio-gdbserver.exp: Most contents factored out to
4356         ...
4357         * boards/stdio-gdbserver-base.exp: ... this new file.
4358         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4359         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4360         procedure.
4361         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4362         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
4363         stdio_gdbserver_command.
4364         (${board}_get_remote_address, ${board}_get_comm_port)
4365         (${board}_download, ${board}_upload): Delete.
4366         (get_target_remote_pipe_cmd): New.
4367
4368 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
4369
4370         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4371         test_bkpt_deletion, test_bkpt_cond_and_cmds,
4372         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4373         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4374         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4375         remove with_test_prefix.
4376
4377 2017-10-13  Pedro Alves  <palves@redhat.com>
4378
4379         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4380         * gdb.base/annota1.exp: Use it instead of is_remote.
4381         * gdb.base/annota3.exp: Use it instead of is_remote.
4382         * gdb.cp/annota2.exp: Use it instead of is_remote.
4383         * gdb.cp/annota3.exp: Use it instead of is_remote.
4384         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4385
4386 2017-10-13  Pedro Alves  <palves@redhat.com>
4387
4388         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4389         (test_num_test_vars, run_and_count_vars, find_env)
4390         (test_set_unset_env, test_inherit_env_var): New procedures.
4391         (top level): Use them.
4392
4393 2017-10-13  Pedro Alves  <palves@redhat.com>
4394
4395         * lib/selftest-support.exp (selftest_setup): Extend comments, and
4396         also skip on stub-like targets.
4397
4398 2017-10-13  Pedro Alves  <palves@redhat.com>
4399
4400         PR gdb/22293
4401         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4402         (top level): Move some tests to ...
4403         (test_not_found): ... this new procedure.
4404         (top level): Call it.
4405
4406 2017-10-13  Pedro Alves  <palves@redhat.com>
4407
4408         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
4409         expect different "info terminal" output if testing with a
4410         non-native target.
4411
4412 2017-10-13  Pedro Alves  <palves@redhat.com>
4413             Simon Marchi  <simon.marchi@polymtl.ca>
4414
4415         PR python/12966
4416         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4417
4418 2017-10-13  Pedro Alves  <palves@redhat.com>
4419
4420         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4421         already.
4422
4423 2017-10-13  Pedro Alves  <palves@redhat.com>
4424
4425         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4426         is_remote.
4427
4428 2017-10-13  Pedro Alves  <palves@redhat.com>
4429
4430         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4431         is_remote.
4432
4433 2017-10-13  Pedro Alves  <palves@redhat.com>
4434
4435         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4436         is set.
4437         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
4438         instead of is_remote.
4439
4440 2017-10-13  Pedro Alves  <palves@redhat.com>
4441
4442         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4443         (top level): Add comment.
4444
4445 2017-10-13  Pedro Alves  <palves@redhat.com>
4446
4447         * gdb.base/remote.exp (top level): Fix comment typo and add
4448         missing return.
4449
4450 2017-10-13  Pedro Alves  <palves@redhat.com>
4451             Simon Marchi  <simon.marchi@polymtl.ca>
4452
4453         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4454         calls and add comments.  Skip test if use_gdb_stub is set.
4455         (top level): Use "set cwd" command instead of "cd" command.
4456
4457 2017-10-13  Pedro Alves  <palves@redhat.com>
4458
4459         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4460         is_remote target check.
4461
4462 2017-10-13  Pedro Alves  <palves@redhat.com>
4463
4464         * gdb.base/scope.exp: Use build_executable + clean_restart +
4465         gdb_file_cmd instead of prepare_for_testing and no longer skip
4466         "before run" tests on is_remote target boards.  Update comments.
4467         * boards/native-extended-gdbserver.exp
4468         (extended_gdbserver_load_last_file): New, factored out from ...
4469         (gdb_load): ... this.  Move further below and add comment.
4470         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4471
4472 2017-10-12  Pedro Alves  <palves@redhat.com>
4473
4474         * gdb.base/attach.exp: Remove references to gdb64.
4475         * gdb.base/dbx.exp: Remove references to gdb64.
4476
4477 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
4478             Pedro Alves  <palves@redhat.com>
4479
4480         * gdb.base/label.exp: Remove is_remote target check.
4481
4482 2017-10-12  Pedro Alves  <palves@redhat.com>
4483
4484         * gdb.base/auvx.exp (coredir): Update comment.
4485         (top level) <core_works>: Use "set cwd" command instead of "cd"
4486         command.
4487
4488 2017-10-12  Pedro Alves  <palves@redhat.com>
4489             Simon Marchi  <simon.marchi@polymtl.ca>
4490
4491         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4492         target boards.
4493
4494 2017-10-12  Pedro Alves  <palves@redhat.com>
4495             Simon Marchi  <simon.marchi@polymtl.ca>
4496
4497         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4498         Instead skip if there's any gdb_protocol set.
4499
4500 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
4501             Pedro Alves  <palves@redhat.com>
4502
4503         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4504
4505 2017-10-12  Pedro Alves  <palves@redhat.com>
4506             Simon Marchi  <simon.marchi@polymtl.ca>
4507
4508         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4509         instead of on dejagnu remote boards.
4510
4511 2017-10-12  Pedro Alves  <palves@redhat.com>
4512             Simon Marchi  <simon.marchi@polymtl.ca>
4513
4514         * gdb.base/inferior-died.exp: Remove is_remote and isnative
4515         checks.  Use build_executable + clean_restart instead of
4516         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
4517         of enabling non-stop after starting gdb.
4518
4519 2017-10-12  Pedro Alves  <palves@redhat.com>
4520
4521         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4522         * gdb.threads/non-ldr-exc-2.exp: Ditto.
4523         * gdb.threads/non-ldr-exc-3.exp: Ditto.
4524         * gdb.threads/non-ldr-exc-4.exp: Ditto.
4525
4526 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
4527
4528         * gdb.arch/arc-tdesc-cpu.exp: New file.
4529         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4530
4531 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
4532
4533         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4534
4535 2017-10-10  Pedro Alves <palves@redhat.com>
4536
4537         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4538         expect CLI output.
4539
4540 2017-10-10  Pedro Alves  <palves@redhat.com>
4541
4542         * lib/selftest-support.exp (selftest_setup): Update for
4543         captured_command_loop's prototype change.
4544
4545 2017-10-09  Pedro Alves  <palves@redhat.com>
4546
4547         Test both arch1=>arch2 and arch2=>arch1.
4548
4549         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4550         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
4551         factored out to...
4552         (append_arch1_options, append_arch2_options, append_arch_options)
4553         (build_executables): New procedures.
4554         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
4555         local.
4556         (top level): Add new 'first_arch' testing axis.
4557
4558 2017-10-09  Pedro Alves  <palves@redhat.com>
4559
4560         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4561         (barrier): New.
4562         (thread_start, all_started): New functions.
4563         (main): Spawn new thread and wait until it is scheduled.
4564         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4565         option.
4566         (do_test): Add 'selected_thread' parameter.  Run to all_started
4567         instead of main.  Explicitly set the breakpoint at main.  Switch
4568         to the SELECTED_THREAD thread.
4569         (top level): Test handling the exec event with either the main
4570         thread or the second thread selected.
4571
4572 2017-10-09  Pedro Alves  <palves@redhat.com>
4573
4574         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4575         logic.  Move STOP marker after the value checks.
4576         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4577         regexp.
4578
4579 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
4580
4581         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4582
4583 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
4584
4585         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4586         integer-to-dfp conversion.
4587         * gdb.base/dfp-test.exp: Likewise.
4588
4589 2017-10-04  Pedro Alves  <palves@redhat.com>
4590
4591         * gdb.multi/hangout.c: Include <unistd.h>.
4592         (hangout_loop): New function.
4593         (main): Call alarm.  Call hangout_loop in a loop.
4594         * gdb.multi/hello.c: Include <unistd.h>.
4595         (hello_loop): New function.
4596         (main): Call alarm.  Call hangout_loop in a loop.
4597         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4598         inferior with the other selected.
4599
4600 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
4601
4602         * gdb.mi/list-thread-groups-available.exp: New file.
4603         * gdb.mi/list-thread-groups-available.c: New file.
4604
4605 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
4606
4607         * gdb.base/set-cwd.exp: Make it available on
4608         native-extended-gdbserver.
4609
4610 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
4611
4612         * gdb.base/set-cwd.c: New file.
4613         * gdb.base/set-cwd.exp: Likewise.
4614
4615 2017-10-02  Tom Tromey  <tom@tromey.com>
4616
4617         PR rust/22236:
4618         * gdb.rust/simple.rs (main): New variable "fslice".
4619         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
4620
4621 2017-10-02  Tom Tromey  <tom@tromey.com>
4622
4623         * gdb.rust/simple.exp: Test ptype of a slice.
4624
4625 2017-10-02  Tom Tromey  <tom@tromey.com>
4626
4627         * gdb.rust/simple.exp: Test index of slice.
4628
4629 2017-09-27  Tom Tromey  <tom@tromey.com>
4630
4631         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4632
4633 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4634             Pedro Alves  <palves@redhat.com>
4635
4636         * gdb.base/compare-sections.exp (get value of read-only section): Read
4637         as unsigned value.
4638         (corrupt read-only section): Likewise and don't set written if patching
4639         failed.
4640
4641 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
4642
4643         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4644         files.
4645
4646 2017-09-20  Pedro Alves  <palves@redhat.com>
4647
4648         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4649         symbol names in gdb's output.
4650         * gdb.cp/overload.exp ("list all overloads"): Likewise.
4651
4652 2017-09-20  Pedro Alves  <palves@redhat.com>
4653
4654         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4655         Rename to ...
4656         (test_list_ambiguous_symbol): ... this and add a symbol name
4657         parameter.  Adjust.
4658         (test_list_ambiguous_function): Reimplement on top of
4659         test_list_ambiguous_symbol and also test listing ambiguous
4660         variables.
4661         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4662         (ambiguous_fun): ... this.
4663         (ambiguous_var): New.
4664         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4665         (ambiguous_fun): ... this.
4666         (ambiguous_var): New.
4667
4668 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
4669
4670         * gdb.base/starti.c: New file.
4671         * gdb.base/starti.exp: New file.
4672         * lib/gdb.exp (gdb_starti_cmd): New procedure.
4673
4674 2017-09-14  Pedro Alves  <palves@redhat.com>
4675
4676         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4677         (top level): Use it instead of runto.
4678
4679 2017-09-11  Tom Tromey  <tom@tromey.com>
4680
4681         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4682
4683 2017-09-11  Tom Tromey  <tom@tromey.com>
4684
4685         * gdb.python/py-infthread.exp: Add tests for new_thread event.
4686         * gdb.python/py-inferior.exp: Add tests for new inferior events.
4687
4688 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
4689
4690         * gdb.fortran/printing-types.exp: New file.
4691         * gdb.fortran/printing-types.exp: New file.
4692
4693 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
4694
4695         * gdb.fortran/vla-ptype.exp: Fix typos.
4696         * gdb.fortran/vla-value.exp: Same.
4697
4698 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
4699
4700         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4701         * gdb.mi/mi-var-child-f.exp: Likewise.
4702         * gdb.mi/mi-vla-fortran.exp: Likewise.
4703
4704 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
4705             Christoph Weinmann  <christoph.t.weinmann@intel.com>
4706             Bernhard Heckel  <bernhard.heckel@intel.com>
4707
4708         * gdb.fortran/ptr-indentation.f90: New file.
4709         * gdb.fortran/ptr-indentation.exp: New file.
4710
4711 2017-09-05  Tom Tromey  <tom@tromey.com>
4712
4713         PR gdb/22010:
4714         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4715
4716 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4717
4718         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4719
4720 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4721
4722         * gdb.threads/tls-nodebug-pie.c: New file.
4723         * gdb.threads/tls-nodebug-pie.exp: New file.
4724
4725 2017-09-05  Tom Tromey  <tom@tromey.com>
4726
4727         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4728         for rust.
4729
4730 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
4731
4732         * gdb.multi/multi-arch-exec.exp: Test with different
4733         "follow-exec-mode" settings.
4734         (do_test): New procedure.
4735
4736 2017-09-04  Pedro Alves  <palves@redhat.com>
4737
4738         * gdb.base/func-static.c (S::method const, S::method volatile)
4739         (S::method volatile const): New methods.
4740         (c_s, v_s, cv_s): New instances.
4741         (main): Call method() on them.
4742         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4743         (cannot_resolve): New procedure.
4744         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
4745         print-quote-unquoted columns.
4746         (do_test): Test printing each scope too.
4747
4748 2017-09-04  Pedro Alves  <palves@redhat.com>
4749
4750         * gdb.base/local-static.exp: Also test with
4751         class::method::variable wholly quoted.
4752         * gdb.cp/m-static.exp (class::method::variable): Remove test.
4753
4754 2017-09-04  Pedro Alves  <palves@redhat.com>
4755
4756         * gdb.base/local-static.c: New.
4757         * gdb.base/local-static.cc: New.
4758         * gdb.base/local-static.exp:  New.
4759
4760 2017-09-04  Pedro Alves  <palves@redhat.com>
4761
4762         * gdb.asm/asm-source.exp: Add casts to int.
4763         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4764         (dataglobal64_1, dataglobal64_2): New globals.
4765         * gdb.base/nodebug.exp: Test different expressions involving the
4766         new globals, with print, whatis and ptype.  Add casts to int.
4767         * gdb.base/solib-display.exp: Add casts to int.
4768         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
4769         * gdb.cp/m-static.exp: Add cast to int.
4770         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4771         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4772         tls variable with no debug info without a cast.  Test with a cast
4773         to int too.
4774         * gdb.trace/entry-values.exp: Add casts.
4775
4776 2017-09-04  Pedro Alves  <palves@redhat.com>
4777
4778         * gdb.base/nodebug.exp: Test that ptype's error about functions
4779         with unknown return type includes the function name too.
4780
4781 2017-09-04  Pedro Alves  <palves@redhat.com>
4782
4783         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4784         return type of munmap in infcall.
4785         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4786         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
4787         type of ftell in infcall.
4788         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4789         type of getpid in infcall.
4790         * gdb.base/infcall-exec.exp: Cast return type of execlp in
4791         infcall.
4792         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4793         Bail on failure to extract the pid.
4794         * gdb.base/nodebug.c: #include <stdint.h>.
4795         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4796         New functions.
4797         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4798         Change expected output of print/whatis/ptype with functions with
4799         no debug info.  Test all supported languages.  Call
4800         test_call_promotion.
4801         * gdb.compile/compile.exp: Adjust expected output to expect
4802         warning.
4803         * gdb.threads/siginfo-threads.exp: Likewise.
4804
4805 2017-09-04  Pedro Alves  <palves@redhat.com>
4806
4807         * gdb.base/callfuncs.exp (do_function_calls): New parameter
4808         "prototypes".  Test calling float functions via prototyped and
4809         unprototyped function pointers.
4810         (perform_all_tests): New parameter "prototypes".  Pass it down.
4811         (top level): Pass down "prototypes" parameter to
4812         perform_all_tests.
4813
4814 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
4815
4816         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4817         Test with nested loops.
4818
4819 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
4820
4821         * gdb.base/commands.exp: Call the new procedures.
4822         (loop_break_test, loop_continue_test): New procedures.
4823
4824 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
4825
4826         * gdb.base/commands.exp: Call new procedure.
4827         (define_if_without_arg_test): New procedure.
4828
4829 2017-09-04  Pedro Alves  <palves@redhat.com>
4830
4831         * gdb.base/list-ambiguous.exp: New file.
4832         * gdb.base/list-ambiguous0.c: New file.
4833         * gdb.base/list-ambiguous1.c: New file.
4834         * gdb.base/list.exp (test_list_range): Adjust expected output.
4835
4836 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
4837
4838         * gdb.base/share-env-with-gdbserver.c: New file.
4839         * gdb.base/share-env-with-gdbserver.exp: Likewise.
4840
4841 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
4842
4843         * gdb.base/commands.exp (gdbvar_simple_if_test,
4844         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4845         progvar_simple_if_test, progvar_simple_while_test,
4846         progvar_complex_if_while_test, user_defined_command_test,
4847         user_defined_command_args_eval,
4848         user_defined_command_args_stack_test,
4849         user_defined_command_manyargs_test, bp_deleted_in_command_test,
4850         temporary_breakpoint_commands,
4851         gdb_test_no_prompt, redefine_hook_test,
4852         redefine_backtrace_test): Remove "global gdb_prompt".
4853
4854 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
4855
4856         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4857         New proc, call it from toplevel.
4858
4859 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
4860
4861         PR remote/21852
4862         * gdb.server/normal.c: New file, copied from gdb.base.
4863         * gdb.server/run-without-local-binary.exp: New file.
4864
4865 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
4866
4867         * gdb.arch/sparc64-adi.exp: New file.
4868         * gdb.arch/sparc64-adi.c: New file.
4869
4870 2017-08-22  Pedro Alves  <palves@redhat.com>
4871
4872         * gdb.cp/overload.exp (line_range_pattern): New procedure.
4873         (top level): Add "list all overloads" tests.
4874
4875 2017-08-22  Tom Tromey  <tom@tromey.com>
4876
4877         * gdb.gdb/xfullpath.exp: Remove.
4878
4879 2017-08-21  Pedro Alves  <palves@redhat.com>
4880
4881         PR gdb/19487
4882         * gdb.base/symbol-alias.c: New.
4883         * gdb.base/symbol-alias2.c: New.
4884         * gdb.base/symbol-alias.exp: New.
4885
4886 2017-08-21  Pedro Alves  <palves@redhat.com>
4887
4888         * gdb.base/dfp-test.c
4889         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4890         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4891         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4892         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4893         * gdb.base/whatis-ptype-typedefs.c: New.
4894         * gdb.base/whatis-ptype-typedefs.exp: New.
4895         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4896         (an_int, an_int_type, an_int_type2): New globals.
4897         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4898         involving typedefs and cast expressions.
4899         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4900         (lookup_typedefs_function): New.
4901         (typedefs_pretty_printers_dict): New.
4902         (top level): Register lookup_typedefs_function in
4903         gdb.pretty_printers.
4904
4905 2017-08-18  Yao Qi  <yao.qi@linaro.org>
4906
4907         * gdb.server/unittest.exp: New.
4908
4909 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4910
4911         PR gdb/21954
4912         * gdb.base/environ.exp: Add test to check if 'unset environment'
4913         works.
4914
4915 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4916
4917         * lib/gdb.exp (universal_compile_options): New caching proc.
4918         (gdb_compile): Suppress GCC's coloring of messages.
4919
4920 2017-08-14  Tom Tromey  <tom@tromey.com>
4921
4922         PR gdb/21675:
4923         * gdb.base/printcmds.exp (test_radices): New function.
4924         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4925         * gdb.base/sizeof.exp (check_valueof): Use p/d.
4926         * lib/gdb.exp (get_integer_valueof): Use p/d.
4927
4928 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
4929
4930         * lib/gdb.exp (get_valueof): Don't capture end-of-line
4931         characters.
4932
4933 2017-08-05  Tom Tromey  <tom@tromey.com>
4934
4935         * gdb.rust/simple.exp: Allow String to appear in a different
4936         namespace.
4937
4938 2017-07-26  Yao Qi  <yao.qi@linaro.org>
4939
4940         * gdb.gdb/unittest.exp: Invoke command
4941         "maintenance check xml-descriptions".
4942
4943 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4944
4945         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4946         calling context.
4947         (hex128): Drop erroneous calculation of parameters.
4948
4949 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
4950
4951         * gdb.python/py-unwind.exp: Disable stack protection when
4952         building test file.
4953
4954 2017-07-20  Pedro Alves  <palves@redhat.com>
4955
4956         * gdb.base/default.exp (set language): Adjust expected output.
4957
4958 2017-07-20  Pedro Alves  <palves@redhat.com>
4959
4960         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4961         (test_minsym): ... this, and make static.
4962         (get_pck__foo__bar__minsym): Rename to ...
4963         (get_test_minsym): ... this.
4964         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
4965         symbol names and comments.
4966         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4967         (get_test_minsym): ... this.
4968         (pck__foo__bar__minsym__2): Rename to ...
4969         (test_minsym): ... this.
4970         (main): Adjust.
4971
4972 2017-07-17  Pedro Alves  <palves@redhat.com>
4973
4974         * gdb.base/completion.exp: Adjust expected output.
4975         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4976         the completer works.
4977
4978 2017-07-17  Pedro Alves  <palves@redhat.com>
4979
4980         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4981
4982 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
4983
4984         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4985
4986 2017-07-14  Tom Tromey  <tom@tromey.com>
4987
4988         PR rust/21764:
4989         * gdb.rust/simple.exp: Add tests.
4990
4991 2017-07-14  Tom Tromey  <tom@tromey.com>
4992
4993         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4994
4995 2017-07-14  Pedro Alves  <palves@redhat.com>
4996
4997         * gdb.linespec/base/one/thefile.cc (z1): New function.
4998         * gdb.linespec/base/two/thefile.cc (z2): New function.
4999         * gdb.linespec/linespec.exp: Add tests.
5000
5001 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
5002
5003         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5004         to mi_create_breakpoint.
5005
5006 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
5007
5008         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5009         mi_create_breakpoint.
5010
5011 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
5012
5013         * gdb.dlang/demangle.exp: Update for demangling changes.
5014
5015 2017-07-09  Tom Tromey  <tom@tromey.com>
5016
5017         * gdb.dwarf2/shortpiece.exp: New file.
5018
5019 2017-07-06  David Blaikie  <dblaikie@gmail.com>
5020
5021         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5022         built from fissiont-multi-cu{1,2}.c.
5023         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5024         except putting 'main' and 'func' in separate CUs in the same DWO file.
5025         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5026         test.
5027         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5028         test.
5029
5030 2017-07-06  Pedro Alves  <palves@redhat.com>
5031
5032         * gdb.python/py-unwind.exp: Test flushregs.
5033
5034 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
5035
5036         PR cli/21688
5037         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5038         tests for alias commands and trailing whitespace.
5039
5040 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
5041
5042         PR cli/21688
5043         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5044         procedure.  Call it.
5045
5046 2017-06-29  Pedro Alves  <palves@redhat.com>
5047
5048         * gdb.base/printcmds.exp: Add tests.
5049
5050 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
5051
5052         PR gdb/21337
5053         * gdb.base/reread-readsym.exp: New file.
5054         * gdb.base/reread-readsym.c: New file.
5055
5056 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
5057
5058         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5059         subpattern.
5060
5061 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
5062
5063         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5064         extended mnemonic.
5065         * gdb.arch/powerpc-power9.s: Likewise.
5066
5067 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5068
5069         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5070         on 32-bit x86 targets.  Exploit is_*_target macros where
5071         appropriate.
5072
5073 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5074
5075         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5076         register pieces.
5077
5078 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5079
5080         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5081         located in one or more DWARF pieces.
5082
5083 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5084
5085         * lib/gdb.exp (get_endianness): New proc.
5086         * gdb.arch/aarch64-fp.exp: Use it.
5087         * gdb.arch/altivec-regs.exp: Likewise.
5088         * gdb.arch/e500-regs.exp: Likewise.
5089         * gdb.arch/vsx-regs.exp: Likewise.
5090         * gdb.base/dump.exp: Likewise.
5091         * gdb.base/funcargs.exp: Likewise.
5092         * gdb.base/gnu_vector.exp: Likewise.
5093         * gdb.dwarf2/formdata16.exp: Likewise.
5094         * gdb.dwarf2/implptrpiece.exp: Likewise.
5095         * gdb.dwarf2/nonvar-access.exp: Likewise.
5096         * gdb.python/py-inferior.exp: Likewise.
5097         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5098
5099 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5100
5101         PR gdb/21226
5102         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5103         stack value pieces are taken from the LSB end.
5104
5105 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5106
5107         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5108         variable at nonzero offset.
5109
5110 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5111
5112         * gdb.dwarf2/var-access.c: New file.
5113         * gdb.dwarf2/var-access.exp: New test.
5114         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5115
5116 2017-06-12  Tom Tromey  <tom@tromey.com>
5117
5118         * gdb.dwarf2/formdata16.exp: Add tests.
5119
5120 2017-06-12  Tom Tromey  <tom@tromey.com>
5121
5122         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5123
5124 2017-06-12  Tom Tromey  <tom@tromey.com>
5125
5126         PR exp/16225:
5127         * gdb.reverse/i386-sse-reverse.exp: Update tests.
5128         * gdb.arch/vsx-regs.exp: Update tests.
5129         * gdb.arch/s390-vregs.exp (hex128): New proc.
5130         Update test.
5131         * gdb.arch/altivec-regs.exp: Update tests.
5132
5133 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
5134
5135         * gdb.base/startup-with-shell.c: New file.
5136         * gdb.base/startup-with-shell.exp: Likewise.
5137
5138 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
5139
5140         * gdb.server/non-existing-program.exp: Update regex in order to
5141         reflect the fact that gdbserver is now using fork_inferior (with a
5142         shell) to startup the inferior.
5143
5144 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
5145
5146         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5147         support function calls from GDB.
5148
5149 2017-05-21  Tom Tromey  <tom@tromey.com>
5150
5151         PR rust/21466:
5152         * gdb.rust/unsized.exp: New file.
5153         * gdb.rust/unsized.rs: New file.
5154
5155 2017-05-19  Tom Tromey  <tom@tromey.com>
5156
5157         PR rust/21484:
5158         * gdb.rust/watch.exp: New file.
5159         * gdb.rust/watch.rs: New file.
5160
5161 2017-05-18  Tom Tromey  <tom@tromey.com>
5162
5163         * gdb.rust/simple.exp: Allow Box to be qualified.
5164
5165 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5166
5167         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5168
5169 2017-05-18  Pedro Alves  <palves@redhat.com>
5170
5171         * gdb.base/fileio.c (test_write, test_read, test_close)
5172         (test_fstat): Don't print 'ret' in the fail path.
5173
5174 2017-05-18  Pedro Alves  <palves@redhat.com>
5175
5176         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5177         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5178         (test_system, test_rename, test_unlink, test_time): Change
5179         prototypes.
5180         * gdb.base/fileio.exp (stop_msg): Adjust.
5181
5182 2017-05-18  Pedro Alves  <palves@redhat.com>
5183
5184         * gdb.base/fileio.c (null_str): New global.
5185         (test_stat): Use it.
5186         * gdb.base/fileio.exp: Remove nowarnings.
5187
5188 2017-05-17  Yao Qi  <yao.qi@linaro.org>
5189
5190         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5191
5192 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
5193
5194         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5195         argument command.
5196         (top-level): Invoke test_set_inferior_tty.
5197
5198 2017-05-04  Pedro Alves  <palves@redhat.com>
5199
5200         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5201         Add parens to print call for Python 3.
5202
5203 2017-05-03  Keith Seitz  <keiths@redhat.com>
5204
5205         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5206         (main): Call it.
5207
5208 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
5209
5210         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5211         to prev and next.
5212
5213 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
5214
5215         * gdb.python/py-record-btrace.exp: Remove test for
5216         gdb.BtraceInstruction.error.
5217
5218 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
5219
5220         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5221
5222 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
5223
5224         * gdb.python/py-record-btrace-threads.c: New file.
5225         * gdb.python/py-record-btrace-threads.exp: New file.
5226
5227 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
5228
5229         PR testsuite/8595
5230         * gdb.base/environ.exp: Make test available in all architectures.
5231         Move bits related to "info program" testing to
5232         gdb.base/info-program.exp.  Rewrite tests to use the two new
5233         procedures mentione below.
5234         (test_set_show_env_var) New procedure.
5235         (test_set_show_env_var_equal): Likewise.
5236         * gdb.base/info-program.exp: New file.
5237
5238 2017-04-27  Keith Seitz  <keiths@redhat.com>
5239
5240         * gdb.cp/oranking.cc (test15): New function.
5241         (main): Call test15 and declare additional variables for testing.
5242         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5243         "p foo101('abc')" tests.
5244         Add tests for cv qualifier overloads.
5245         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5246         "lvalue reference overload" test.
5247         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5248         "print value of f1 on Child&& in f2" test.
5249
5250 2017-04-19  Pedro Alves  <palves@redhat.com>
5251
5252         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5253         procedure.
5254         (top level): Call it.
5255         * lib/gdb.exp (gdb_define_cmd): New procedure.
5256
5257 2017-04-12  Pedro Alves  <palves@redhat.com>
5258
5259         PR gdb/21323
5260         * gdb.cp/wide_char_types.c: Include <wchar.h>.
5261         (wchar): New global.
5262         * gdb.cp/wide_char_types.exp (wide_char_types_program)
5263         (do_test_wide_char, wide_char_types_no_program, top level): Add
5264         wchar_t testing.
5265
5266 2017-04-12  Pedro Alves  <palves@redhat.com>
5267
5268         PR c++/21323
5269         * gdb.cp/wide_char_types.c: New file.
5270         * gdb.cp/wide_char_types.exp: New file.
5271
5272 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
5273
5274         PR gdb/21352
5275         * gdb.trace/tsv.exp: Add test for "tsave -r".
5276
5277 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
5278
5279         * gdb.dlang/watch-loc.c: New file.
5280         * gdb.dlang/watch-loc.exp: New file.
5281
5282 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5283
5284         * gdb.python/py-section-script.exp (sepdebug): New testcases.
5285
5286 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
5287
5288         * gdb.arch/arc-analyze-prologue.S: New file.
5289         * gdb.arch/arc-analyze-prologue.exp: Likewise.
5290
5291 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
5292
5293         * gdb.arch/arc-decode-insn.S: New file.
5294         * gdb.arch/arc-decode-insn.exp: Likewise.
5295
5296 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
5297
5298         PR tdep/20928
5299         * gdb.arch/sparc64-regs.exp: New file.
5300         * gdb.arch/sparc64-regs.S: Likewise.
5301
5302 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
5303
5304         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5305         and memory view on Python 3.
5306
5307 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
5308             Keith Seitz  <keiths@redhat.com>
5309
5310         PR gdb/14441
5311         * gdb.cp/demangle.exp: Add rvalue reference tests.
5312         * gdb.cp/rvalue-ref-casts.cc: New file.
5313         * gdb.cp/rvalue-ref-casts.exp: New file.
5314         * gdb.cp/rvalue-ref-overload.cc: New file.
5315         * gdb.cp/rvalue-ref-overload.exp: New file.
5316         * gdb.cp/rvalue-ref-params.cc: New file.
5317         * gdb.cp/rvalue-ref-params.exp: New file.
5318         * gdb.cp/rvalue-ref-sizeof.cc: New file.
5319         * gdb.cp/rvalue-ref-sizeof.exp: New file.
5320         * gdb.cp/rvalue-ref-types.cc: New file.
5321         * gdb.cp/rvalue-ref-types.exp: New file.
5322         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5323         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5324
5325 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
5326
5327         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5328         New procedure.
5329
5330 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
5331
5332         * lib/mi-support.exp (mi_gdb_test): Add additional message
5333         for unexpected output.
5334
5335 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5336
5337         * gdb.base/examine-backward.c (Barrier): New character array
5338         constant, to ensure that TestStrings is preceded by a string
5339         terminator.
5340
5341 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5342
5343         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5344         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5345         and implicit pointer into such a location.
5346
5347 2017-03-16  Doug Evans  <dje@google.com>
5348
5349         * gdb.python/py-lazy-string (pointer): Really add new typedef.
5350
5351 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5352
5353         * gdb.cp/m-static.exp: Fix expectation for prototype of
5354         test5.single_constructor and single_constructor::single_constructor.
5355
5356 2017-03-16  Doug Evans  <dje@google.com>
5357
5358         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5359         * gdb.guile/scm-lazy-string.c: New file.
5360         * gdb.guile/scm-value.exp: Move lazy string tests to ...
5361         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
5362         for pointer, array, typedef lazy strings.
5363
5364 2017-03-16  Doug Evans  <dje@google.com>
5365
5366         PR python/17728, python/18439, python/18779
5367         * gdb.python/py-value.c (main) Delete locals sptr, sn.
5368         * gdb.python/py-lazy-string.c (pointer): New typedef.
5369         (main): New locals ptr, array, typedef_ptr.
5370         * gdb.python/py-value.exp: Move lazy string tests to ...
5371         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
5372         array, typedef lazy strings.
5373
5374 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
5375
5376         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5377           Add optional 'test' parameter.
5378
5379 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
5380
5381         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5382         Skip for versions of DejaGnu < 1.5.
5383
5384 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
5385
5386         * lib/gdb.exp (dejagnu_version): New proc.
5387         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5388         Use dejagnu_version.
5389
5390 2017-03-10  Keith Seitz  <keiths@redhat.com>
5391
5392         PR c++/8128
5393         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5394         type from destructor regexps.
5395         Add a branch which actually passes the test.
5396         Adjust "ptype t5i" test names.
5397
5398 2017-03-08  Pedro Alves  <palves@redhat.com>
5399
5400         * gdb.base/step-over-exit.exp: Add explicit test message.
5401
5402 2017-03-08  Pedro Alves  <palves@redhat.com>
5403
5404         PR gdb/18360
5405         * gdb.threads/interrupt-while-step-over.c: New file.
5406         * gdb.threads/interrupt-while-step-over.exp: New file.
5407
5408 2017-03-08  Pedro Alves  <palves@redhat.com>
5409
5410         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5411         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5412
5413 2017-03-08  Pedro Alves  <palves@redhat.com>
5414
5415         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5416         PKRU as not supported as a PASS.
5417
5418 2017-03-08  Pedro Alves  <palves@redhat.com>
5419
5420         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5421         prefix instead of $binfile1/$binfile2.
5422         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5423         in test message.
5424         * gdb.python/py-completion.exp: Use "load python file" as test
5425         messages instead of unstable path names.
5426
5427 2017-03-08  Pedro Alves  <palves@redhat.com>
5428             Jan Kratochvil  <jan.kratochvil@redhat.com>
5429
5430         PR cli/21218
5431         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5432         New proc.
5433         (top level): Call it.
5434
5435 2017-03-08  Pedro Alves  <palves@redhat.com>
5436
5437         PR tui/21216
5438         * gdb.tui/tui-nl-filtered-output.exp: New file.
5439
5440 2017-03-08  Pedro Alves  <palves@redhat.com>
5441
5442         * gdb.base/completion.exp: Move TUI completion tests to ...
5443         * gdb.tui/completion.exp: ... this new file.
5444
5445 2017-03-08  Pedro Alves  <palves@redhat.com>
5446
5447         * gdb.base/tui-disasm-long-lines.c,
5448         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5449         gdb.base/tui-layout.exp: Move to ...
5450         * gdb.tui/: ... this new directory.
5451
5452 2017-03-07  Pedro Alves  <palves@redhat.com>
5453
5454         * gdb.base/tui-layout.c: New file.
5455         * gdb.base/tui-layout.exp: New file.
5456
5457 2017-03-07  Pedro Alves  <palves@redhat.com>
5458
5459         * gdb.base/tui-layout.c: Rename to ...
5460         * gdb.base/tui-disasm-long-lines.c: ... this.
5461         * gdb.base/tui-layout.exp: Rename to ...
5462         * gdb.base/tui-disasm-long-lines.exp: ... this.
5463
5464 2017-03-07  Pedro Alves  <palves@redhat.com>
5465
5466         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5467
5468 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
5469
5470         * i386-mpx-call.c: New file.
5471         * i386-mpx-call.exp: New file.
5472
5473 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
5474
5475         * gdb.arch/powerpc-power.exp: Delete test.
5476         * gdb.arch/powerpc-power.s: Likewise.
5477         * gdb.disasm/disassembler-options.exp: New test.
5478         * gdb.arch/powerpc-altivec.exp: Likewise.
5479         * gdb.arch/powerpc-altivec.s: Likewise.
5480         * gdb.arch/powerpc-altivec2.exp: Likewise.
5481         * gdb.arch/powerpc-altivec2.s: Likewise.
5482         * gdb.arch/powerpc-altivec3.exp: Likewise.
5483         * gdb.arch/powerpc-altivec3.s: Likewise.
5484         * gdb.arch/powerpc-power7.exp: Likewise.
5485         * gdb.arch/powerpc-power7.s: Likewise.
5486         * gdb.arch/powerpc-power8.exp: Likewise.
5487         * gdb.arch/powerpc-power8.s: Likewise.
5488         * gdb.arch/powerpc-power9.exp: Likewise.
5489         * gdb.arch/powerpc-power9.s: Likewise.
5490         * gdb.arch/powerpc-vsx.exp: Likewise.
5491         * gdb.arch/powerpc-vsx.s: Likewise.
5492         * gdb.arch/powerpc-vsx2.exp: Likewise.
5493         * gdb.arch/powerpc-vsx2.s: Likewise.
5494         * gdb.arch/powerpc-vsx3.exp: Likewise.
5495         * gdb.arch/powerpc-vsx3.s: Likewise.
5496         * gdb.arch/arm-disassembler-options.exp: Likewise.
5497         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5498         * gdb.arch/s390-disassembler-options.exp: Likewise.
5499
5500 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
5501
5502         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5503         (check_supported_features): ... this. Changed return type to void.
5504         (supports_rdseed): New static global.
5505         (rdseed): Check supports_rdseed.
5506         (initialize): Call check_supported_features.
5507
5508 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5509
5510         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5511         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
5512         and lqarx/stqcx.
5513         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5514         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5515
5516 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5517
5518         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5519         uppercase.
5520
5521 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5522
5523         * gdb.dwarf2/formdata16.c: New file.
5524         * gdb.dwarf2/formdata16.exp: New file.
5525         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5526
5527 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5528
5529         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5530         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5531         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5532         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5533         DW_AT_GNU_*.
5534
5535 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5536
5537         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5538
5539 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
5540
5541         PR gdb/21164
5542         * gdb.base/maint.exp: Add testcases for when the commands do
5543         not have arguments.
5544
5545 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5546
5547         * gdb.cp/chained-calls.exp: Use p instead of P.
5548
5549 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
5550
5551         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5552         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5553
5554 2017-02-14  Tom Tromey  <tom@tromey.com>
5555
5556         PR python/13598:
5557         * gdb.python/py-events.exp: Add before_prompt event tests.
5558
5559 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5560
5561         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5562
5563 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
5564
5565         * gdb.linespec/explicit.c (my_unique_function_name): New function.
5566         (main): Call my_unique_function_name.
5567         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5568         completion of patterns with a single match.
5569         Add missing -re switches to gdb_test_multiple calls.
5570
5571 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
5572
5573         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5574         return if core file is not recognized.
5575
5576 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
5577
5578         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5579         and extra UIs.
5580
5581 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
5582
5583         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5584         proc_with_prefix.
5585
5586 2017-02-10  Tom Tromey  <tom@tromey.com>
5587
5588         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5589
5590 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
5591
5592         PR gdb/21122
5593         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5594
5595 2017-02-08  Jerome Guitton  <guitton@adacore.com>
5596
5597         * gdb.base/define.exp: Add test for command abbreviations
5598         in define.
5599
5600 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
5601
5602         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5603         * gdb.reverse/insn-reverse-x86.c: New file.
5604
5605 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
5606
5607         PR tdep/20936
5608         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5609
5610 2017-02-03  Tom Tromey  <tom@tromey.com>
5611
5612         PR rust/21097:
5613         * gdb.rust/simple.exp: Add new tests.
5614
5615 2017-02-02  Pedro Alves  <palves@redhat.com>
5616
5617         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5618         tests.
5619
5620 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5621
5622         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5623         taking a 2-byte value out of a 4-byte DWARF implicit value on
5624         big-endian targets.
5625         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5626         logic.  Add test cases for DW_OP_implicit.
5627
5628 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
5629
5630         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5631
5632 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
5633
5634         * gdb.btrace/enable.exp: Call gdb_exit before
5635         skip_gdbserver_tests.
5636
5637 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
5638
5639         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5640         GDBFLAGS.
5641
5642 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
5643
5644         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5645         the test is skipped.
5646         * gdb.btrace/data.exp: Likewise.
5647         * gdb.btrace/delta.exp: Likewise.
5648         * gdb.btrace/dlopen.exp: Likewise.
5649         * gdb.btrace/enable-running.exp: Likewise.
5650         * gdb.btrace/enable.exp: Likewise.
5651         * gdb.btrace/exception.exp: Likewise.
5652         * gdb.btrace/function_call_history.exp: Likewise.
5653         * gdb.btrace/gcore.exp: Likewise.
5654         * gdb.btrace/instruction_history.exp: Likewise.
5655         * gdb.btrace/multi-thread-step.exp: Likewise.
5656         * gdb.btrace/nohist.exp: Likewise.
5657         * gdb.btrace/non-stop.exp: Likewise.
5658         * gdb.btrace/reconnect.exp: Likewise.
5659         * gdb.btrace/record_goto-step.exp: Likewise.
5660         * gdb.btrace/record_goto.exp: Likewise.
5661         * gdb.btrace/rn-dl-bind.exp: Likewise.
5662         * gdb.btrace/segv.exp: Likewise.
5663         * gdb.btrace/step.exp: Likewise.
5664         * gdb.btrace/stepi.exp: Likewise.
5665         * gdb.btrace/tailcall-only.exp: Likewise.
5666         * gdb.btrace/tailcall.exp: Likewise.
5667         * gdb.btrace/tsx.exp: Likewise.
5668         * gdb.btrace/unknown_functions.exp: Likewise.
5669         * gdb.btrace/vdso.exp: Likewise.
5670
5671 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
5672
5673         * gdb.btrace/enable-running.c: New.
5674         * gdb.btrace/enable-running.exp: New.
5675
5676 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
5677
5678         * gdb.arch/amd64-gs_base.c: New file.
5679         * gdb.arch/amd64-gs_base.exp: New file.
5680
5681 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
5682
5683         * lib/memory.exp: Remove spurious empty newlines.
5684
5685 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
5686
5687         * gdb.python/py-bad-printers.exp: Load python file using "source".
5688         * gdb.python/py-events.exp: Likewise.
5689         * gdb.python/py-evsignal.exp: Likewise.
5690         * gdb.python/py-evthreads.exp: Likewise.
5691         * gdb.python/py-frame-args.exp: Likewise.
5692         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5693         * gdb.python/py-framefilter-mi.exp: Likewise.
5694         * gdb.python/py-framefilter.exp: Likewise.
5695         * gdb.python/py-mi.exp: Likewise.
5696         * gdb.python/py-pp-maint.exp: Likewise.
5697         * gdb.python/py-pp-registration.exp: Likewise.
5698         * gdb.python/py-prettyprint.exp: Likewise.
5699         (run_lang_tests): Likewise.
5700         * gdb.python/py-typeprint.exp: Likewise.
5701
5702 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
5703
5704         * lib/memory.exp: New file.
5705         * lib/gdb.exp: Load memory.exp.
5706         * gdb.base/memattr.exp (delete_memory): Move proc to
5707         lib/memory.exp and rename to delete_memory_regions.
5708         Replace delete_memory with delete_memory_regions.
5709         Cleanup memory regions before tests.
5710         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5711         before tests.
5712
5713 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
5714
5715         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5716         files.
5717         (initialize): New function conditionally defined.
5718         (testcases): Move within conditional block.
5719         (main): Call initialize.
5720         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5721         of gdb.reverse/insn-reverse.c.
5722         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5723         gdb.reverse/insn-reverse.c.
5724
5725 2017-01-26  Yao Qi  <yao.qi@linaro.org>
5726
5727         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5728         disassemble on address 0.
5729
5730 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5731             Yao Qi  <yao.qi@linaro.org>
5732
5733         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5734         * gdb.dwarf2/implptr-64bit.S: Remove.
5735         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
5736         variables in caller's context.  Add DW_OP_implicit_value.
5737
5738 2017-01-25  Yao Qi  <yao.qi@linaro.org>
5739
5740         * lib/dwarf.exp (Dwarf::_location): Handle
5741         DW_OP_GNU_implicit_pointer with proper size.
5742
5743 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
5744
5745         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5746         and add untested calls.
5747
5748 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
5749
5750         * gdb.python/python.exp: Check line number against what GDB thinks
5751         the line number is for func1.
5752
5753 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
5754
5755         * gdb.dlang/debug-expr.exp: New file.
5756
5757 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
5758
5759         Fix test names for the following files:
5760
5761         * gdb.ada/exec_changed.exp
5762         * gdb.ada/info_types.exp
5763         * gdb.arch/aarch64-atomic-inst.exp
5764         * gdb.arch/aarch64-fp.exp
5765         * gdb.arch/altivec-abi.exp
5766         * gdb.arch/altivec-regs.exp
5767         * gdb.arch/amd64-byte.exp
5768         * gdb.arch/amd64-disp-step.exp
5769         * gdb.arch/amd64-dword.exp
5770         * gdb.arch/amd64-entry-value-inline.exp
5771         * gdb.arch/amd64-entry-value-param.exp
5772         * gdb.arch/amd64-entry-value-paramref.exp
5773         * gdb.arch/amd64-entry-value.exp
5774         * gdb.arch/amd64-i386-address.exp
5775         * gdb.arch/amd64-invalid-stack-middle.exp
5776         * gdb.arch/amd64-invalid-stack-top.exp
5777         * gdb.arch/amd64-optimout-repeat.exp
5778         * gdb.arch/amd64-prologue-skip.exp
5779         * gdb.arch/amd64-prologue-xmm.exp
5780         * gdb.arch/amd64-stap-special-operands.exp
5781         * gdb.arch/amd64-stap-wrong-subexp.exp
5782         * gdb.arch/amd64-tailcall-cxx.exp
5783         * gdb.arch/amd64-tailcall-noret.exp
5784         * gdb.arch/amd64-tailcall-ret.exp
5785         * gdb.arch/amd64-tailcall-self.exp
5786         * gdb.arch/amd64-word.exp
5787         * gdb.arch/arm-bl-branch-dest.exp
5788         * gdb.arch/arm-disp-step.exp
5789         * gdb.arch/arm-neon.exp
5790         * gdb.arch/arm-single-step-kernel-helper.exp
5791         * gdb.arch/avr-flash-qualifier.exp
5792         * gdb.arch/disp-step-insn-reloc.exp
5793         * gdb.arch/e500-abi.exp
5794         * gdb.arch/e500-regs.exp
5795         * gdb.arch/ftrace-insn-reloc.exp
5796         * gdb.arch/i386-avx512.exp
5797         * gdb.arch/i386-bp_permanent.exp
5798         * gdb.arch/i386-byte.exp
5799         * gdb.arch/i386-cfi-notcurrent.exp
5800         * gdb.arch/i386-disp-step.exp
5801         * gdb.arch/i386-dr3-watch.exp
5802         * gdb.arch/i386-float.exp
5803         * gdb.arch/i386-gnu-cfi.exp
5804         * gdb.arch/i386-mpx-map.exp
5805         * gdb.arch/i386-mpx-sigsegv.exp
5806         * gdb.arch/i386-mpx-simple_segv.exp
5807         * gdb.arch/i386-mpx.exp
5808         * gdb.arch/i386-permbkpt.exp
5809         * gdb.arch/i386-prologue.exp
5810         * gdb.arch/i386-signal.exp
5811         * gdb.arch/i386-size-overlap.exp
5812         * gdb.arch/i386-unwind.exp
5813         * gdb.arch/i386-word.exp
5814         * gdb.arch/mips-fcr.exp
5815         * gdb.arch/powerpc-d128-regs.exp
5816         * gdb.arch/powerpc-stackless.exp
5817         * gdb.arch/ppc64-atomic-inst.exp
5818         * gdb.arch/s390-stackless.exp
5819         * gdb.arch/s390-tdbregs.exp
5820         * gdb.arch/s390-vregs.exp
5821         * gdb.arch/sparc-sysstep.exp
5822         * gdb.arch/thumb-bx-pc.exp
5823         * gdb.arch/thumb-singlestep.exp
5824         * gdb.arch/thumb2-it.exp
5825         * gdb.arch/vsx-regs.exp
5826         * gdb.asm/asm-source.exp
5827         * gdb.base/a2-run.exp
5828         * gdb.base/advance.exp
5829         * gdb.base/all-bin.exp
5830         * gdb.base/anon.exp
5831         * gdb.base/args.exp
5832         * gdb.base/arithmet.exp
5833         * gdb.base/async-shell.exp
5834         * gdb.base/async.exp
5835         * gdb.base/attach-pie-noexec.exp
5836         * gdb.base/attach-twice.exp
5837         * gdb.base/auto-load.exp
5838         * gdb.base/bang.exp
5839         * gdb.base/bitfields.exp
5840         * gdb.base/break-always.exp
5841         * gdb.base/break-caller-line.exp
5842         * gdb.base/break-entry.exp
5843         * gdb.base/break-inline.exp
5844         * gdb.base/break-on-linker-gcd-function.exp
5845         * gdb.base/break-probes.exp
5846         * gdb.base/break.exp
5847         * gdb.base/breakpoint-shadow.exp
5848         * gdb.base/call-ar-st.exp
5849         * gdb.base/call-sc.exp
5850         * gdb.base/call-signal-resume.exp
5851         * gdb.base/call-strs.exp
5852         * gdb.base/callfuncs.exp
5853         * gdb.base/catch-fork-static.exp
5854         * gdb.base/catch-gdb-caused-signals.exp
5855         * gdb.base/catch-load.exp
5856         * gdb.base/catch-signal-fork.exp
5857         * gdb.base/catch-signal.exp
5858         * gdb.base/catch-syscall.exp
5859         * gdb.base/charset.exp
5860         * gdb.base/checkpoint.exp
5861         * gdb.base/chng-syms.exp
5862         * gdb.base/code-expr.exp
5863         * gdb.base/code_elim.exp
5864         * gdb.base/commands.exp
5865         * gdb.base/completion.exp
5866         * gdb.base/complex.exp
5867         * gdb.base/cond-expr.exp
5868         * gdb.base/condbreak.exp
5869         * gdb.base/consecutive.exp
5870         * gdb.base/continue-all-already-running.exp
5871         * gdb.base/coredump-filter.exp
5872         * gdb.base/corefile.exp
5873         * gdb.base/dbx.exp
5874         * gdb.base/debug-expr.exp
5875         * gdb.base/define.exp
5876         * gdb.base/del.exp
5877         * gdb.base/disabled-location.exp
5878         * gdb.base/disasm-end-cu.exp
5879         * gdb.base/disasm-optim.exp
5880         * gdb.base/display.exp
5881         * gdb.base/duplicate-bp.exp
5882         * gdb.base/ena-dis-br.exp
5883         * gdb.base/ending-run.exp
5884         * gdb.base/enumval.exp
5885         * gdb.base/environ.exp
5886         * gdb.base/eu-strip-infcall.exp
5887         * gdb.base/eval-avoid-side-effects.exp
5888         * gdb.base/eval-skip.exp
5889         * gdb.base/exitsignal.exp
5890         * gdb.base/expand-psymtabs.exp
5891         * gdb.base/filesym.exp
5892         * gdb.base/find-unmapped.exp
5893         * gdb.base/finish.exp
5894         * gdb.base/float.exp
5895         * gdb.base/foll-exec-mode.exp
5896         * gdb.base/foll-exec.exp
5897         * gdb.base/foll-fork.exp
5898         * gdb.base/fortran-sym-case.exp
5899         * gdb.base/freebpcmd.exp
5900         * gdb.base/func-ptr.exp
5901         * gdb.base/func-ptrs.exp
5902         * gdb.base/funcargs.exp
5903         * gdb.base/gcore-buffer-overflow.exp
5904         * gdb.base/gcore-relro-pie.exp
5905         * gdb.base/gcore-relro.exp
5906         * gdb.base/gcore.exp
5907         * gdb.base/gdb1090.exp
5908         * gdb.base/gdb11530.exp
5909         * gdb.base/gdb11531.exp
5910         * gdb.base/gdb1821.exp
5911         * gdb.base/gdbindex-stabs.exp
5912         * gdb.base/gdbvars.exp
5913         * gdb.base/hbreak.exp
5914         * gdb.base/hbreak2.exp
5915         * gdb.base/included.exp
5916         * gdb.base/infcall-input.exp
5917         * gdb.base/inferior-died.exp
5918         * gdb.base/infnan.exp
5919         * gdb.base/info-macros.exp
5920         * gdb.base/info-os.exp
5921         * gdb.base/info-proc.exp
5922         * gdb.base/info-shared.exp
5923         * gdb.base/info-target.exp
5924         * gdb.base/infoline.exp
5925         * gdb.base/interp.exp
5926         * gdb.base/interrupt.exp
5927         * gdb.base/jit-reader.exp
5928         * gdb.base/jit-simple.exp
5929         * gdb.base/kill-after-signal.exp
5930         * gdb.base/kill-detach-inferiors-cmd.exp
5931         * gdb.base/label.exp
5932         * gdb.base/langs.exp
5933         * gdb.base/ldbl_e308.exp
5934         * gdb.base/line-symtabs.exp
5935         * gdb.base/linespecs.exp
5936         * gdb.base/list.exp
5937         * gdb.base/long_long.exp
5938         * gdb.base/longest-types.exp
5939         * gdb.base/maint.exp
5940         * gdb.base/max-value-size.exp
5941         * gdb.base/memattr.exp
5942         * gdb.base/mips_pro.exp
5943         * gdb.base/morestack.exp
5944         * gdb.base/moribund-step.exp
5945         * gdb.base/multi-forks.exp
5946         * gdb.base/nested-addr.exp
5947         * gdb.base/nextoverexit.exp
5948         * gdb.base/noreturn-finish.exp
5949         * gdb.base/noreturn-return.exp
5950         * gdb.base/nostdlib.exp
5951         * gdb.base/offsets.exp
5952         * gdb.base/opaque.exp
5953         * gdb.base/pc-fp.exp
5954         * gdb.base/permissions.exp
5955         * gdb.base/print-symbol-loading.exp
5956         * gdb.base/prologue-include.exp
5957         * gdb.base/psymtab.exp
5958         * gdb.base/ptype.exp
5959         * gdb.base/random-signal.exp
5960         * gdb.base/randomize.exp
5961         * gdb.base/range-stepping.exp
5962         * gdb.base/readline-ask.exp
5963         * gdb.base/recpar.exp
5964         * gdb.base/recurse.exp
5965         * gdb.base/relational.exp
5966         * gdb.base/restore.exp
5967         * gdb.base/return-nodebug.exp
5968         * gdb.base/return.exp
5969         * gdb.base/run-after-attach.exp
5970         * gdb.base/save-bp.exp
5971         * gdb.base/scope.exp
5972         * gdb.base/sect-cmd.exp
5973         * gdb.base/set-lang-auto.exp
5974         * gdb.base/set-noassign.exp
5975         * gdb.base/setvar.exp
5976         * gdb.base/sigall.exp
5977         * gdb.base/sigbpt.exp
5978         * gdb.base/siginfo-addr.exp
5979         * gdb.base/siginfo-infcall.exp
5980         * gdb.base/siginfo-obj.exp
5981         * gdb.base/siginfo.exp
5982         * gdb.base/signals-state-child.exp
5983         * gdb.base/signest.exp
5984         * gdb.base/sigstep.exp
5985         * gdb.base/sizeof.exp
5986         * gdb.base/skip.exp
5987         * gdb.base/solib-corrupted.exp
5988         * gdb.base/solib-nodir.exp
5989         * gdb.base/solib-search.exp
5990         * gdb.base/stack-checking.exp
5991         * gdb.base/stale-infcall.exp
5992         * gdb.base/stap-probe.exp
5993         * gdb.base/start.exp
5994         * gdb.base/step-break.exp
5995         * gdb.base/step-bt.exp
5996         * gdb.base/step-line.exp
5997         * gdb.base/step-over-exit.exp
5998         * gdb.base/step-over-syscall.exp
5999         * gdb.base/step-resume-infcall.exp
6000         * gdb.base/step-test.exp
6001         * gdb.base/store.exp
6002         * gdb.base/structs3.exp
6003         * gdb.base/sym-file.exp
6004         * gdb.base/symbol-without-target_section.exp
6005         * gdb.base/term.exp
6006         * gdb.base/testenv.exp
6007         * gdb.base/ui-redirect.exp
6008         * gdb.base/until.exp
6009         * gdb.base/unwindonsignal.exp
6010         * gdb.base/value-double-free.exp
6011         * gdb.base/vla-datatypes.exp
6012         * gdb.base/vla-ptr.exp
6013         * gdb.base/vla-sideeffect.exp
6014         * gdb.base/volatile.exp
6015         * gdb.base/watch-cond-infcall.exp
6016         * gdb.base/watch-cond.exp
6017         * gdb.base/watch-non-mem.exp
6018         * gdb.base/watch-read.exp
6019         * gdb.base/watch-vfork.exp
6020         * gdb.base/watchpoint-cond-gone.exp
6021         * gdb.base/watchpoint-delete.exp
6022         * gdb.base/watchpoint-hw-hit-once.exp
6023         * gdb.base/watchpoint-hw.exp
6024         * gdb.base/watchpoint-stops-at-right-insn.exp
6025         * gdb.base/watchpoints.exp
6026         * gdb.base/wchar.exp
6027         * gdb.base/whatis-exp.exp
6028         * gdb.btrace/buffer-size.exp
6029         * gdb.btrace/data.exp
6030         * gdb.btrace/delta.exp
6031         * gdb.btrace/dlopen.exp
6032         * gdb.btrace/enable.exp
6033         * gdb.btrace/exception.exp
6034         * gdb.btrace/function_call_history.exp
6035         * gdb.btrace/gcore.exp
6036         * gdb.btrace/instruction_history.exp
6037         * gdb.btrace/nohist.exp
6038         * gdb.btrace/reconnect.exp
6039         * gdb.btrace/record_goto-step.exp
6040         * gdb.btrace/record_goto.exp
6041         * gdb.btrace/rn-dl-bind.exp
6042         * gdb.btrace/segv.exp
6043         * gdb.btrace/step.exp
6044         * gdb.btrace/stepi.exp
6045         * gdb.btrace/tailcall-only.exp
6046         * gdb.btrace/tailcall.exp
6047         * gdb.btrace/tsx.exp
6048         * gdb.btrace/unknown_functions.exp
6049         * gdb.btrace/vdso.exp
6050         * gdb.compile/compile-ifunc.exp
6051         * gdb.compile/compile-ops.exp
6052         * gdb.compile/compile-print.exp
6053         * gdb.compile/compile-setjmp.exp
6054         * gdb.cp/abstract-origin.exp
6055         * gdb.cp/ambiguous.exp
6056         * gdb.cp/annota2.exp
6057         * gdb.cp/annota3.exp
6058         * gdb.cp/anon-ns.exp
6059         * gdb.cp/anon-struct.exp
6060         * gdb.cp/anon-union.exp
6061         * gdb.cp/arg-reference.exp
6062         * gdb.cp/baseenum.exp
6063         * gdb.cp/bool.exp
6064         * gdb.cp/breakpoint.exp
6065         * gdb.cp/bs15503.exp
6066         * gdb.cp/call-c.exp
6067         * gdb.cp/casts.exp
6068         * gdb.cp/chained-calls.exp
6069         * gdb.cp/class2.exp
6070         * gdb.cp/classes.exp
6071         * gdb.cp/cmpd-minsyms.exp
6072         * gdb.cp/converts.exp
6073         * gdb.cp/cp-relocate.exp
6074         * gdb.cp/cpcompletion.exp
6075         * gdb.cp/cpexprs.exp
6076         * gdb.cp/cplabel.exp
6077         * gdb.cp/cplusfuncs.exp
6078         * gdb.cp/cpsizeof.exp
6079         * gdb.cp/ctti.exp
6080         * gdb.cp/derivation.exp
6081         * gdb.cp/destrprint.exp
6082         * gdb.cp/dispcxx.exp
6083         * gdb.cp/enum-class.exp
6084         * gdb.cp/exception.exp
6085         * gdb.cp/exceptprint.exp
6086         * gdb.cp/expand-psymtabs-cxx.exp
6087         * gdb.cp/expand-sals.exp
6088         * gdb.cp/extern-c.exp
6089         * gdb.cp/filename.exp
6090         * gdb.cp/formatted-ref.exp
6091         * gdb.cp/fpointer.exp
6092         * gdb.cp/gdb1355.exp
6093         * gdb.cp/gdb2495.exp
6094         * gdb.cp/hang.exp
6095         * gdb.cp/impl-this.exp
6096         * gdb.cp/infcall-dlopen.exp
6097         * gdb.cp/inherit.exp
6098         * gdb.cp/iostream.exp
6099         * gdb.cp/koenig.exp
6100         * gdb.cp/local.exp
6101         * gdb.cp/m-data.exp
6102         * gdb.cp/m-static.exp
6103         * gdb.cp/mb-ctor.exp
6104         * gdb.cp/mb-inline.exp
6105         * gdb.cp/mb-templates.exp
6106         * gdb.cp/member-name.exp
6107         * gdb.cp/member-ptr.exp
6108         * gdb.cp/meth-typedefs.exp
6109         * gdb.cp/method.exp
6110         * gdb.cp/method2.exp
6111         * gdb.cp/minsym-fallback.exp
6112         * gdb.cp/misc.exp
6113         * gdb.cp/namelessclass.exp
6114         * gdb.cp/namespace-enum.exp
6115         * gdb.cp/namespace-nested-import.exp
6116         * gdb.cp/namespace.exp
6117         * gdb.cp/nextoverthrow.exp
6118         * gdb.cp/no-dmgl-verbose.exp
6119         * gdb.cp/non-trivial-retval.exp
6120         * gdb.cp/noparam.exp
6121         * gdb.cp/nsdecl.exp
6122         * gdb.cp/nsimport.exp
6123         * gdb.cp/nsnested.exp
6124         * gdb.cp/nsnoimports.exp
6125         * gdb.cp/nsrecurs.exp
6126         * gdb.cp/nsstress.exp
6127         * gdb.cp/nsusing.exp
6128         * gdb.cp/operator.exp
6129         * gdb.cp/oranking.exp
6130         * gdb.cp/overload-const.exp
6131         * gdb.cp/overload.exp
6132         * gdb.cp/ovldbreak.exp
6133         * gdb.cp/ovsrch.exp
6134         * gdb.cp/paren-type.exp
6135         * gdb.cp/parse-lang.exp
6136         * gdb.cp/pass-by-ref.exp
6137         * gdb.cp/pr-1023.exp
6138         * gdb.cp/pr-1210.exp
6139         * gdb.cp/pr-574.exp
6140         * gdb.cp/pr10687.exp
6141         * gdb.cp/pr12028.exp
6142         * gdb.cp/pr17132.exp
6143         * gdb.cp/pr17494.exp
6144         * gdb.cp/pr9067.exp
6145         * gdb.cp/pr9167.exp
6146         * gdb.cp/pr9631.exp
6147         * gdb.cp/printmethod.exp
6148         * gdb.cp/psmang.exp
6149         * gdb.cp/psymtab-parameter.exp
6150         * gdb.cp/ptype-cv-cp.exp
6151         * gdb.cp/ptype-flags.exp
6152         * gdb.cp/re-set-overloaded.exp
6153         * gdb.cp/ref-types.exp
6154         * gdb.cp/rtti.exp
6155         * gdb.cp/scope-err.exp
6156         * gdb.cp/shadow.exp
6157         * gdb.cp/smartp.exp
6158         * gdb.cp/static-method.exp
6159         * gdb.cp/static-print-quit.exp
6160         * gdb.cp/temargs.exp
6161         * gdb.cp/templates.exp
6162         * gdb.cp/try_catch.exp
6163         * gdb.cp/typedef-operator.exp
6164         * gdb.cp/typeid.exp
6165         * gdb.cp/userdef.exp
6166         * gdb.cp/using-crash.exp
6167         * gdb.cp/var-tag.exp
6168         * gdb.cp/virtbase.exp
6169         * gdb.cp/virtfunc.exp
6170         * gdb.cp/virtfunc2.exp
6171         * gdb.cp/vla-cxx.exp
6172         * gdb.disasm/t01_mov.exp
6173         * gdb.disasm/t02_mova.exp
6174         * gdb.disasm/t03_add.exp
6175         * gdb.disasm/t04_sub.exp
6176         * gdb.disasm/t05_cmp.exp
6177         * gdb.disasm/t06_ari2.exp
6178         * gdb.disasm/t07_ari3.exp
6179         * gdb.disasm/t08_or.exp
6180         * gdb.disasm/t09_xor.exp
6181         * gdb.disasm/t10_and.exp
6182         * gdb.disasm/t11_logs.exp
6183         * gdb.disasm/t12_bit.exp
6184         * gdb.disasm/t13_otr.exp
6185         * gdb.dlang/circular.exp
6186         * gdb.dwarf2/arr-stride.exp
6187         * gdb.dwarf2/arr-subrange.exp
6188         * gdb.dwarf2/atomic-type.exp
6189         * gdb.dwarf2/bad-regnum.exp
6190         * gdb.dwarf2/bitfield-parent-optimized-out.exp
6191         * gdb.dwarf2/callframecfa.exp
6192         * gdb.dwarf2/clztest.exp
6193         * gdb.dwarf2/corrupt.exp
6194         * gdb.dwarf2/data-loc.exp
6195         * gdb.dwarf2/dup-psym.exp
6196         * gdb.dwarf2/dw2-anon-mptr.exp
6197         * gdb.dwarf2/dw2-anonymous-func.exp
6198         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6199         * gdb.dwarf2/dw2-bad-unresolved.exp
6200         * gdb.dwarf2/dw2-basic.exp
6201         * gdb.dwarf2/dw2-canonicalize-type.exp
6202         * gdb.dwarf2/dw2-case-insensitive.exp
6203         * gdb.dwarf2/dw2-common-block.exp
6204         * gdb.dwarf2/dw2-compdir-oldgcc.exp
6205         * gdb.dwarf2/dw2-compressed.exp
6206         * gdb.dwarf2/dw2-const.exp
6207         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6208         * gdb.dwarf2/dw2-cu-size.exp
6209         * gdb.dwarf2/dw2-dup-frame.exp
6210         * gdb.dwarf2/dw2-entry-value.exp
6211         * gdb.dwarf2/dw2-icycle.exp
6212         * gdb.dwarf2/dw2-ifort-parameter.exp
6213         * gdb.dwarf2/dw2-inline-break.exp
6214         * gdb.dwarf2/dw2-inline-param.exp
6215         * gdb.dwarf2/dw2-intercu.exp
6216         * gdb.dwarf2/dw2-intermix.exp
6217         * gdb.dwarf2/dw2-lexical-block-bare.exp
6218         * gdb.dwarf2/dw2-linkage-name-trust.exp
6219         * gdb.dwarf2/dw2-minsym-in-cu.exp
6220         * gdb.dwarf2/dw2-noloc.exp
6221         * gdb.dwarf2/dw2-op-call.exp
6222         * gdb.dwarf2/dw2-op-out-param.exp
6223         * gdb.dwarf2/dw2-opt-structptr.exp
6224         * gdb.dwarf2/dw2-param-error.exp
6225         * gdb.dwarf2/dw2-producer.exp
6226         * gdb.dwarf2/dw2-ranges-base.exp
6227         * gdb.dwarf2/dw2-ref-missing-frame.exp
6228         * gdb.dwarf2/dw2-reg-undefined.exp
6229         * gdb.dwarf2/dw2-regno-invalid.exp
6230         * gdb.dwarf2/dw2-restore.exp
6231         * gdb.dwarf2/dw2-restrict.exp
6232         * gdb.dwarf2/dw2-single-line-discriminators.exp
6233         * gdb.dwarf2/dw2-strp.exp
6234         * gdb.dwarf2/dw2-undefined-ret-addr.exp
6235         * gdb.dwarf2/dw2-unresolved.exp
6236         * gdb.dwarf2/dw2-var-zero-addr.exp
6237         * gdb.dwarf2/dw4-sig-types.exp
6238         * gdb.dwarf2/dwz.exp
6239         * gdb.dwarf2/dynarr-ptr.exp
6240         * gdb.dwarf2/enum-type.exp
6241         * gdb.dwarf2/gdb-index.exp
6242         * gdb.dwarf2/implptr-64bit.exp
6243         * gdb.dwarf2/implptr-optimized-out.exp
6244         * gdb.dwarf2/implptr.exp
6245         * gdb.dwarf2/implref-array.exp
6246         * gdb.dwarf2/implref-const.exp
6247         * gdb.dwarf2/implref-global.exp
6248         * gdb.dwarf2/implref-struct.exp
6249         * gdb.dwarf2/mac-fileno.exp
6250         * gdb.dwarf2/main-subprogram.exp
6251         * gdb.dwarf2/member-ptr-forwardref.exp
6252         * gdb.dwarf2/method-ptr.exp
6253         * gdb.dwarf2/missing-sig-type.exp
6254         * gdb.dwarf2/nonvar-access.exp
6255         * gdb.dwarf2/opaque-type-lookup.exp
6256         * gdb.dwarf2/pieces-optimized-out.exp
6257         * gdb.dwarf2/pieces.exp
6258         * gdb.dwarf2/pr10770.exp
6259         * gdb.dwarf2/pr13961.exp
6260         * gdb.dwarf2/staticvirtual.exp
6261         * gdb.dwarf2/subrange.exp
6262         * gdb.dwarf2/symtab-producer.exp
6263         * gdb.dwarf2/trace-crash.exp
6264         * gdb.dwarf2/typeddwarf.exp
6265         * gdb.dwarf2/valop.exp
6266         * gdb.dwarf2/watch-notconst.exp
6267         * gdb.fortran/array-element.exp
6268         * gdb.fortran/charset.exp
6269         * gdb.fortran/common-block.exp
6270         * gdb.fortran/complex.exp
6271         * gdb.fortran/derived-type-function.exp
6272         * gdb.fortran/derived-type.exp
6273         * gdb.fortran/logical.exp
6274         * gdb.fortran/module.exp
6275         * gdb.fortran/multi-dim.exp
6276         * gdb.fortran/nested-funcs.exp
6277         * gdb.fortran/print-formatted.exp
6278         * gdb.fortran/subarray.exp
6279         * gdb.fortran/vla-alloc-assoc.exp
6280         * gdb.fortran/vla-datatypes.exp
6281         * gdb.fortran/vla-history.exp
6282         * gdb.fortran/vla-ptr-info.exp
6283         * gdb.fortran/vla-ptype-sub.exp
6284         * gdb.fortran/vla-ptype.exp
6285         * gdb.fortran/vla-sizeof.exp
6286         * gdb.fortran/vla-type.exp
6287         * gdb.fortran/vla-value-sub-arbitrary.exp
6288         * gdb.fortran/vla-value-sub-finish.exp
6289         * gdb.fortran/vla-value-sub.exp
6290         * gdb.fortran/vla-value.exp
6291         * gdb.fortran/whatis_type.exp
6292         * gdb.go/chan.exp
6293         * gdb.go/handcall.exp
6294         * gdb.go/hello.exp
6295         * gdb.go/integers.exp
6296         * gdb.go/methods.exp
6297         * gdb.go/package.exp
6298         * gdb.go/strings.exp
6299         * gdb.go/types.exp
6300         * gdb.go/unsafe.exp
6301         * gdb.guile/scm-arch.exp
6302         * gdb.guile/scm-block.exp
6303         * gdb.guile/scm-breakpoint.exp
6304         * gdb.guile/scm-cmd.exp
6305         * gdb.guile/scm-disasm.exp
6306         * gdb.guile/scm-equal.exp
6307         * gdb.guile/scm-frame-args.exp
6308         * gdb.guile/scm-frame-inline.exp
6309         * gdb.guile/scm-frame.exp
6310         * gdb.guile/scm-iterator.exp
6311         * gdb.guile/scm-math.exp
6312         * gdb.guile/scm-objfile.exp
6313         * gdb.guile/scm-ports.exp
6314         * gdb.guile/scm-symbol.exp
6315         * gdb.guile/scm-symtab.exp
6316         * gdb.guile/scm-value-cc.exp
6317         * gdb.guile/types-module.exp
6318         * gdb.linespec/break-ask.exp
6319         * gdb.linespec/cpexplicit.exp
6320         * gdb.linespec/explicit.exp
6321         * gdb.linespec/keywords.exp
6322         * gdb.linespec/linespec.exp
6323         * gdb.linespec/ls-dollar.exp
6324         * gdb.linespec/ls-errs.exp
6325         * gdb.linespec/skip-two.exp
6326         * gdb.linespec/thread.exp
6327         * gdb.mi/mi-async.exp
6328         * gdb.mi/mi-basics.exp
6329         * gdb.mi/mi-break.exp
6330         * gdb.mi/mi-catch-load.exp
6331         * gdb.mi/mi-cli.exp
6332         * gdb.mi/mi-cmd-param-changed.exp
6333         * gdb.mi/mi-console.exp
6334         * gdb.mi/mi-detach.exp
6335         * gdb.mi/mi-disassemble.exp
6336         * gdb.mi/mi-eval.exp
6337         * gdb.mi/mi-file-transfer.exp
6338         * gdb.mi/mi-file.exp
6339         * gdb.mi/mi-fill-memory.exp
6340         * gdb.mi/mi-inheritance-syntax-error.exp
6341         * gdb.mi/mi-linespec-err-cp.exp
6342         * gdb.mi/mi-logging.exp
6343         * gdb.mi/mi-memory-changed.exp
6344         * gdb.mi/mi-read-memory.exp
6345         * gdb.mi/mi-record-changed.exp
6346         * gdb.mi/mi-reg-undefined.exp
6347         * gdb.mi/mi-regs.exp
6348         * gdb.mi/mi-return.exp
6349         * gdb.mi/mi-reverse.exp
6350         * gdb.mi/mi-simplerun.exp
6351         * gdb.mi/mi-solib.exp
6352         * gdb.mi/mi-stack.exp
6353         * gdb.mi/mi-stepi.exp
6354         * gdb.mi/mi-syn-frame.exp
6355         * gdb.mi/mi-until.exp
6356         * gdb.mi/mi-var-block.exp
6357         * gdb.mi/mi-var-child.exp
6358         * gdb.mi/mi-var-cmd.exp
6359         * gdb.mi/mi-var-cp.exp
6360         * gdb.mi/mi-var-display.exp
6361         * gdb.mi/mi-var-invalidate.exp
6362         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6363         * gdb.mi/mi-vla-fortran.exp
6364         * gdb.mi/mi-watch.exp
6365         * gdb.mi/mi2-var-child.exp
6366         * gdb.mi/user-selected-context-sync.exp
6367         * gdb.modula2/unbounded-array.exp
6368         * gdb.multi/dummy-frame-restore.exp
6369         * gdb.multi/multi-arch-exec.exp
6370         * gdb.multi/multi-arch.exp
6371         * gdb.multi/tids.exp
6372         * gdb.multi/watchpoint-multi.exp
6373         * gdb.opencl/callfuncs.exp
6374         * gdb.opencl/convs_casts.exp
6375         * gdb.opencl/datatypes.exp
6376         * gdb.opencl/operators.exp
6377         * gdb.opencl/vec_comps.exp
6378         * gdb.opt/clobbered-registers-O2.exp
6379         * gdb.opt/inline-break.exp
6380         * gdb.opt/inline-bt.exp
6381         * gdb.opt/inline-cmds.exp
6382         * gdb.opt/inline-locals.exp
6383         * gdb.pascal/case-insensitive-symbols.exp
6384         * gdb.pascal/floats.exp
6385         * gdb.pascal/gdb11492.exp
6386         * gdb.python/lib-types.exp
6387         * gdb.python/py-arch.exp
6388         * gdb.python/py-as-string.exp
6389         * gdb.python/py-bad-printers.exp
6390         * gdb.python/py-block.exp
6391         * gdb.python/py-breakpoint-create-fail.exp
6392         * gdb.python/py-breakpoint.exp
6393         * gdb.python/py-caller-is.exp
6394         * gdb.python/py-cmd.exp
6395         * gdb.python/py-explore-cc.exp
6396         * gdb.python/py-explore.exp
6397         * gdb.python/py-finish-breakpoint.exp
6398         * gdb.python/py-finish-breakpoint2.exp
6399         * gdb.python/py-frame-args.exp
6400         * gdb.python/py-frame-inline.exp
6401         * gdb.python/py-frame.exp
6402         * gdb.python/py-framefilter-mi.exp
6403         * gdb.python/py-infthread.exp
6404         * gdb.python/py-lazy-string.exp
6405         * gdb.python/py-linetable.exp
6406         * gdb.python/py-mi-events.exp
6407         * gdb.python/py-mi-objfile.exp
6408         * gdb.python/py-mi.exp
6409         * gdb.python/py-objfile.exp
6410         * gdb.python/py-pp-integral.exp
6411         * gdb.python/py-pp-maint.exp
6412         * gdb.python/py-pp-re-notag.exp
6413         * gdb.python/py-pp-registration.exp
6414         * gdb.python/py-recurse-unwind.exp
6415         * gdb.python/py-strfns.exp
6416         * gdb.python/py-symbol.exp
6417         * gdb.python/py-symtab.exp
6418         * gdb.python/py-sync-interp.exp
6419         * gdb.python/py-typeprint.exp
6420         * gdb.python/py-unwind-maint.exp
6421         * gdb.python/py-unwind.exp
6422         * gdb.python/py-value-cc.exp
6423         * gdb.python/py-xmethods.exp
6424         * gdb.reverse/amd64-tailcall-reverse.exp
6425         * gdb.reverse/break-precsave.exp
6426         * gdb.reverse/break-reverse.exp
6427         * gdb.reverse/consecutive-precsave.exp
6428         * gdb.reverse/consecutive-reverse.exp
6429         * gdb.reverse/finish-precsave.exp
6430         * gdb.reverse/finish-reverse-bkpt.exp
6431         * gdb.reverse/finish-reverse.exp
6432         * gdb.reverse/fstatat-reverse.exp
6433         * gdb.reverse/getresuid-reverse.exp
6434         * gdb.reverse/i386-precsave.exp
6435         * gdb.reverse/i386-reverse.exp
6436         * gdb.reverse/i386-sse-reverse.exp
6437         * gdb.reverse/i387-env-reverse.exp
6438         * gdb.reverse/i387-stack-reverse.exp
6439         * gdb.reverse/insn-reverse.exp
6440         * gdb.reverse/machinestate-precsave.exp
6441         * gdb.reverse/machinestate.exp
6442         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6443         * gdb.reverse/pipe-reverse.exp
6444         * gdb.reverse/readv-reverse.exp
6445         * gdb.reverse/recvmsg-reverse.exp
6446         * gdb.reverse/rerun-prec.exp
6447         * gdb.reverse/s390-mvcle.exp
6448         * gdb.reverse/step-precsave.exp
6449         * gdb.reverse/step-reverse.exp
6450         * gdb.reverse/time-reverse.exp
6451         * gdb.reverse/until-precsave.exp
6452         * gdb.reverse/until-reverse.exp
6453         * gdb.reverse/waitpid-reverse.exp
6454         * gdb.reverse/watch-precsave.exp
6455         * gdb.reverse/watch-reverse.exp
6456         * gdb.rust/generics.exp
6457         * gdb.rust/methods.exp
6458         * gdb.rust/modules.exp
6459         * gdb.rust/simple.exp
6460         * gdb.server/connect-with-no-symbol-file.exp
6461         * gdb.server/ext-attach.exp
6462         * gdb.server/ext-restart.exp
6463         * gdb.server/ext-wrapper.exp
6464         * gdb.server/file-transfer.exp
6465         * gdb.server/server-exec-info.exp
6466         * gdb.server/server-kill.exp
6467         * gdb.server/server-mon.exp
6468         * gdb.server/wrapper.exp
6469         * gdb.stabs/exclfwd.exp
6470         * gdb.stabs/gdb11479.exp
6471         * gdb.threads/clone-new-thread-event.exp
6472         * gdb.threads/corethreads.exp
6473         * gdb.threads/current-lwp-dead.exp
6474         * gdb.threads/dlopen-libpthread.exp
6475         * gdb.threads/gcore-thread.exp
6476         * gdb.threads/sigstep-threads.exp
6477         * gdb.threads/watchpoint-fork.exp
6478         * gdb.trace/actions-changed.exp
6479         * gdb.trace/backtrace.exp
6480         * gdb.trace/change-loc.exp
6481         * gdb.trace/circ.exp
6482         * gdb.trace/collection.exp
6483         * gdb.trace/disconnected-tracing.exp
6484         * gdb.trace/ftrace.exp
6485         * gdb.trace/mi-trace-frame-collected.exp
6486         * gdb.trace/mi-trace-unavailable.exp
6487         * gdb.trace/mi-traceframe-changed.exp
6488         * gdb.trace/mi-tsv-changed.exp
6489         * gdb.trace/no-attach-trace.exp
6490         * gdb.trace/passc-dyn.exp
6491         * gdb.trace/qtro.exp
6492         * gdb.trace/range-stepping.exp
6493         * gdb.trace/read-memory.exp
6494         * gdb.trace/save-trace.exp
6495         * gdb.trace/signal.exp
6496         * gdb.trace/status-stop.exp
6497         * gdb.trace/tfile.exp
6498         * gdb.trace/trace-break.exp
6499         * gdb.trace/trace-buffer-size.exp
6500         * gdb.trace/trace-condition.exp
6501         * gdb.trace/tracefile-pseudo-reg.exp
6502         * gdb.trace/tstatus.exp
6503         * gdb.trace/unavailable.exp
6504         * gdb.trace/while-dyn.exp
6505         * gdb.trace/while-stepping.exp
6506
6507 2016-12-22  Doug Evans  <xdje42@gmail.com>
6508
6509         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6510         and msymbols.
6511
6512 2016-12-19  Yao Qi  <yao.qi@linaro.org>
6513
6514         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6515         (test_with_self): Don't call do_steps_and_nexts, and remove
6516         code about stepping into xmalloc.
6517
6518 2016-12-09  Yao Qi  <yao.qi@linaro.org>
6519
6520         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6521
6522 2016-12-09  Yao Qi  <yao.qi@linaro.org>
6523
6524         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6525
6526 2016-12-09  Pedro Alves  <palves@redhat.com>
6527
6528         * gdb.base/all-architectures-0.exp: New file.
6529         * gdb.base/all-architectures-1.exp: New file.
6530         * gdb.base/all-architectures-2.exp: New file.
6531         * gdb.base/all-architectures-3.exp: New file.
6532         * gdb.base/all-architectures-4.exp: New file.
6533         * gdb.base/all-architectures-5.exp: New file.
6534         * gdb.base/all-architectures-6.exp: New file.
6535         * gdb.base/all-architectures-7.exp: New file.
6536         * gdb.base/all-architectures.exp.in: New file.
6537
6538 2016-12-09  Yao Qi  <yao.qi@linaro.org>
6539
6540         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6541
6542 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
6543
6544         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6545         possible.
6546         Remove useless pattern-matching code.
6547
6548 2016-12-02  Pedro Alves  <palves@redhat.com>
6549
6550         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6551         procedure.
6552         (top level): Call it.
6553
6554 2016-12-02  Pedro Alves  <palves@redhat.com>
6555
6556         * gdb.base/commands.exp (user_defined_command_args_stack_test):
6557         New procedure.
6558         (top level): Call it.
6559
6560 2016-12-02  Pedro Alves  <palves@redhat.com>
6561
6562         PR cli/20559
6563         * gdb.base/commands.exp (user_defined_command_args_eval): New
6564         procedure.
6565         (top level): Call it.
6566
6567 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
6568
6569         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6570         timeout handling.
6571
6572 2016-12-02  Tom Tromey  <tom@tromey.com>
6573
6574         * gdb.dwarf2/main-subprogram.c: New file.
6575         * gdb.dwarf2/main-subprogram.exp: New file.
6576
6577 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6578
6579         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6580         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6581         gdb_test_no_output for a couple of cases.
6582         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6583
6584 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6585
6586         Fix test names and standardize compilation error messages throughout
6587         the following files:
6588
6589         * gdb.ada/start.exp
6590         * gdb.arch/alpha-step.exp
6591         * gdb.arch/e500-prologue.exp
6592         * gdb.arch/ftrace-insn-reloc.exp
6593         * gdb.arch/gdb1291.exp
6594         * gdb.arch/gdb1431.exp
6595         * gdb.arch/gdb1558.exp
6596         * gdb.arch/i386-dr3-watch.exp
6597         * gdb.arch/i386-sse-stack-align.exp
6598         * gdb.arch/ia64-breakpoint-shadow.exp
6599         * gdb.arch/pa-nullify.exp
6600         * gdb.arch/powerpc-aix-prologue.exp
6601         * gdb.arch/thumb-bx-pc.exp
6602         * gdb.base/annota1.exp
6603         * gdb.base/annota3.exp
6604         * gdb.base/arrayidx.exp
6605         * gdb.base/assign.exp
6606         * gdb.base/attach.exp
6607         * gdb.base/auxv.exp
6608         * gdb.base/bang.exp
6609         * gdb.base/bfp-test.exp
6610         * gdb.base/bigcore.exp
6611         * gdb.base/bitfields2.exp
6612         * gdb.base/break-fun-addr.exp
6613         * gdb.base/break-probes.exp
6614         * gdb.base/call-rt-st.exp
6615         * gdb.base/callexit.exp
6616         * gdb.base/catch-fork-kill.exp
6617         * gdb.base/charset.exp
6618         * gdb.base/checkpoint.exp
6619         * gdb.base/comprdebug.exp
6620         * gdb.base/constvars.exp
6621         * gdb.base/coredump-filter.exp
6622         * gdb.base/cursal.exp
6623         * gdb.base/cvexpr.exp
6624         * gdb.base/detach.exp
6625         * gdb.base/display.exp
6626         * gdb.base/dmsym.exp
6627         * gdb.base/dprintf-pending.exp
6628         * gdb.base/dso2dso.exp
6629         * gdb.base/dtrace-probe.exp
6630         * gdb.base/dump.exp
6631         * gdb.base/enum_cond.exp
6632         * gdb.base/exe-lock.exp
6633         * gdb.base/exec-invalid-sysroot.exp
6634         * gdb.base/execl-update-breakpoints.exp
6635         * gdb.base/exprs.exp
6636         * gdb.base/fileio.exp
6637         * gdb.base/find.exp
6638         * gdb.base/finish.exp
6639         * gdb.base/fixsection.exp
6640         * gdb.base/foll-vfork.exp
6641         * gdb.base/frame-args.exp
6642         * gdb.base/gcore.exp
6643         * gdb.base/gdb1250.exp
6644         * gdb.base/global-var-nested-by-dso.exp
6645         * gdb.base/gnu-ifunc.exp
6646         * gdb.base/hashline1.exp
6647         * gdb.base/hashline2.exp
6648         * gdb.base/hashline3.exp
6649         * gdb.base/hbreak-in-shr-unsupported.exp
6650         * gdb.base/huge.exp
6651         * gdb.base/infcall-input.exp
6652         * gdb.base/info-fun.exp
6653         * gdb.base/info-shared.exp
6654         * gdb.base/jit-simple.exp
6655         * gdb.base/jit-so.exp
6656         * gdb.base/jit.exp
6657         * gdb.base/jump.exp
6658         * gdb.base/label.exp
6659         * gdb.base/lineinc.exp
6660         * gdb.base/logical.exp
6661         * gdb.base/longjmp.exp
6662         * gdb.base/macscp.exp
6663         * gdb.base/miscexprs.exp
6664         * gdb.base/new-ui-echo.exp
6665         * gdb.base/new-ui-pending-input.exp
6666         * gdb.base/new-ui.exp
6667         * gdb.base/nodebug.exp
6668         * gdb.base/nofield.exp
6669         * gdb.base/offsets.exp
6670         * gdb.base/overlays.exp
6671         * gdb.base/pending.exp
6672         * gdb.base/pointers.exp
6673         * gdb.base/pr11022.exp
6674         * gdb.base/printcmds.exp
6675         * gdb.base/prologue.exp
6676         * gdb.base/ptr-typedef.exp
6677         * gdb.base/realname-expand.exp
6678         * gdb.base/relativedebug.exp
6679         * gdb.base/relocate.exp
6680         * gdb.base/remote.exp
6681         * gdb.base/reread.exp
6682         * gdb.base/return2.exp
6683         * gdb.base/savedregs.exp
6684         * gdb.base/sep.exp
6685         * gdb.base/sepdebug.exp
6686         * gdb.base/sepsymtab.exp
6687         * gdb.base/set-inferior-tty.exp
6688         * gdb.base/setshow.exp
6689         * gdb.base/shlib-call.exp
6690         * gdb.base/sigaltstack.exp
6691         * gdb.base/siginfo-addr.exp
6692         * gdb.base/signals.exp
6693         * gdb.base/signull.exp
6694         * gdb.base/sigrepeat.exp
6695         * gdb.base/so-impl-ld.exp
6696         * gdb.base/solib-display.exp
6697         * gdb.base/solib-overlap.exp
6698         * gdb.base/solib-search.exp
6699         * gdb.base/solib-symbol.exp
6700         * gdb.base/structs.exp
6701         * gdb.base/structs2.exp
6702         * gdb.base/symtab-search-order.exp
6703         * gdb.base/twice.exp
6704         * gdb.base/unload.exp
6705         * gdb.base/varargs.exp
6706         * gdb.base/watchpoint-solib.exp
6707         * gdb.base/watchpoint.exp
6708         * gdb.base/whatis.exp
6709         * gdb.base/wrong_frame_bt_full.exp
6710         * gdb.btrace/dlopen.exp
6711         * gdb.cell/ea-standalone.exp
6712         * gdb.cell/ea-test.exp
6713         * gdb.cp/dispcxx.exp
6714         * gdb.cp/gdb2384.exp
6715         * gdb.cp/method2.exp
6716         * gdb.cp/nextoverthrow.exp
6717         * gdb.cp/pr10728.exp
6718         * gdb.disasm/am33.exp
6719         * gdb.disasm/h8300s.exp
6720         * gdb.disasm/mn10300.exp
6721         * gdb.disasm/sh3.exp
6722         * gdb.dwarf2/dw2-dir-file-name.exp
6723         * gdb.fortran/complex.exp
6724         * gdb.fortran/library-module.exp
6725         * gdb.guile/scm-pretty-print.exp
6726         * gdb.guile/scm-symbol.exp
6727         * gdb.guile/scm-type.exp
6728         * gdb.guile/scm-value.exp
6729         * gdb.linespec/linespec.exp
6730         * gdb.mi/gdb701.exp
6731         * gdb.mi/gdb792.exp
6732         * gdb.mi/mi-breakpoint-changed.exp
6733         * gdb.mi/mi-dprintf-pending.exp
6734         * gdb.mi/mi-dprintf.exp
6735         * gdb.mi/mi-exit-code.exp
6736         * gdb.mi/mi-pending.exp
6737         * gdb.mi/mi-solib.exp
6738         * gdb.mi/new-ui-mi-sync.exp
6739         * gdb.mi/pr11022.exp
6740         * gdb.mi/user-selected-context-sync.exp
6741         * gdb.opt/solib-intra-step.exp
6742         * gdb.python/py-events.exp
6743         * gdb.python/py-finish-breakpoint.exp
6744         * gdb.python/py-mi.exp
6745         * gdb.python/py-prettyprint.exp
6746         * gdb.python/py-shared.exp
6747         * gdb.python/py-symbol.exp
6748         * gdb.python/py-template.exp
6749         * gdb.python/py-type.exp
6750         * gdb.python/py-value.exp
6751         * gdb.reverse/solib-precsave.exp
6752         * gdb.reverse/solib-reverse.exp
6753         * gdb.server/solib-list.exp
6754         * gdb.stabs/weird.exp
6755         * gdb.threads/reconnect-signal.exp
6756         * gdb.threads/stepi-random-signal.exp
6757         * gdb.trace/actions.exp
6758         * gdb.trace/ax.exp
6759         * gdb.trace/backtrace.exp
6760         * gdb.trace/change-loc.exp
6761         * gdb.trace/deltrace.exp
6762         * gdb.trace/ftrace-lock.exp
6763         * gdb.trace/ftrace.exp
6764         * gdb.trace/infotrace.exp
6765         * gdb.trace/mi-tracepoint-changed.exp
6766         * gdb.trace/packetlen.exp
6767         * gdb.trace/passcount.exp
6768         * gdb.trace/pending.exp
6769         * gdb.trace/range-stepping.exp
6770         * gdb.trace/report.exp
6771         * gdb.trace/stap-trace.exp
6772         * gdb.trace/tfind.exp
6773         * gdb.trace/trace-break.exp
6774         * gdb.trace/trace-condition.exp
6775         * gdb.trace/trace-enable-disable.exp
6776         * gdb.trace/trace-mt.exp
6777         * gdb.trace/tracecmd.exp
6778         * gdb.trace/tspeed.exp
6779         * gdb.trace/tsv.exp
6780         * lib/perftest.exp
6781
6782 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6783
6784         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6785         with gdb_test_no_output.
6786         Use command as test name.
6787
6788 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6789
6790         Fix test names starting with uppercase throughout the files.
6791
6792         * gdb.ada/assign_1.exp
6793         * gdb.ada/boolean_expr.exp
6794         * gdb.base/arrayidx.exp
6795         * gdb.base/del.exp
6796         * gdb.base/gcore-buffer-overflow.exp
6797         * gdb.base/testenv.exp
6798         * gdb.compile/compile.exp
6799         * gdb.python/py-framefilter-invalidarg.exp
6800         * gdb.python/py-framefilter.exp
6801
6802 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6803
6804         Fix test names starting with uppercase throughout the files.
6805
6806         * gdb.ada/array_return.exp
6807         * gdb.ada/expr_delims.exp
6808         * gdb.ada/mi_dyn_arr.exp
6809         * gdb.ada/mi_interface.exp
6810         * gdb.ada/mi_var_array.exp
6811         * gdb.ada/watch_arg.exp
6812         * gdb.arch/alpha-step.exp
6813         * gdb.arch/altivec-regs.exp
6814         * gdb.arch/e500-regs.exp
6815         * gdb.arch/powerpc-d128-regs.exp
6816         * gdb.base/arrayidx.exp
6817         * gdb.base/break.exp
6818         * gdb.base/checkpoint.exp
6819         * gdb.base/debug-expr.exp
6820         * gdb.base/dmsym.exp
6821         * gdb.base/radix.exp
6822         * gdb.base/sepdebug.exp
6823         * gdb.base/testenv.exp
6824         * gdb.base/watch_thread_num.exp
6825         * gdb.base/watchpoint-cond-gone.exp
6826         * gdb.cell/break.exp
6827         * gdb.cell/ea-cache.exp
6828         * gdb.compile/compile.exp
6829         * gdb.cp/gdb2495.exp
6830         * gdb.gdb/selftest.exp
6831         * gdb.gdb/xfullpath.exp
6832         * gdb.go/hello.exp
6833         * gdb.go/integers.exp
6834         * gdb.objc/basicclass.exp
6835         * gdb.pascal/hello.exp
6836         * gdb.pascal/integers.exp
6837         * gdb.python/py-breakpoint.exp
6838         * gdb.python/py-cmd.exp
6839         * gdb.python/py-linetable.exp
6840         * gdb.python/py-xmethods.exp
6841         * gdb.python/python.exp
6842         * gdb.reverse/consecutive-precsave.exp
6843         * gdb.reverse/finish-precsave.exp
6844         * gdb.reverse/i386-precsave.exp
6845         * gdb.reverse/machinestate-precsave.exp
6846         * gdb.reverse/sigall-precsave.exp
6847         * gdb.reverse/solib-precsave.exp
6848         * gdb.reverse/step-precsave.exp
6849         * gdb.reverse/until-precsave.exp
6850         * gdb.reverse/watch-precsave.exp
6851         * gdb.threads/leader-exit.exp
6852         * gdb.threads/pthreads.exp
6853         * gdb.threads/wp-replication.exp
6854         * gdb.trace/actions.exp
6855         * gdb.trace/mi-tsv-changed.exp
6856         * gdb.trace/tsv.exp
6857
6858 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6859
6860         Fix test names starting with uppercase throughout the files.
6861
6862         * gdb.arch/i386-bp_permanent.exp
6863         * gdb.arch/i386-gnu-cfi.exp
6864         * gdb.base/disasm-end-cu.exp
6865         * gdb.base/macscp.exp
6866         * gdb.base/pending.exp
6867         * gdb.base/watch_thread_num.exp
6868         * gdb.cp/exception.exp
6869         * gdb.cp/gdb2495.exp
6870         * gdb.cp/local.exp
6871         * gdb.python/py-evsignal.exp
6872         * gdb.python/python.exp
6873         * gdb.trace/tracecmd.exp
6874
6875 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6876
6877         Fix test names starting with uppercase throughout the files.
6878
6879         * gdb.base/charset.exp
6880         * gdb.base/eval.exp
6881         * gdb.base/multi-forks.exp
6882         * gdb.guile/scm-progspace.exp
6883         * gdb.opencl/datatypes.exp
6884         * gdb.python/py-block.exp
6885         * gdb.python/py-function.exp
6886         * gdb.python/py-symbol.exp
6887         * gdb.python/py-symtab.exp
6888         * gdb.python/py-xmethods.exp
6889         * gdb.reverse/break-precsave.exp
6890         * gdb.reverse/break-reverse.exp
6891         * gdb.reverse/consecutive-precsave.exp
6892         * gdb.reverse/consecutive-reverse.exp
6893         * gdb.reverse/finish-precsave.exp
6894         * gdb.reverse/finish-reverse-bkpt.exp
6895         * gdb.reverse/finish-reverse.exp
6896         * gdb.reverse/fstatat-reverse.exp
6897         * gdb.reverse/getresuid-reverse.exp
6898         * gdb.reverse/i386-precsave.exp
6899         * gdb.reverse/i386-reverse.exp
6900         * gdb.reverse/i386-sse-reverse.exp
6901         * gdb.reverse/i387-stack-reverse.exp
6902         * gdb.reverse/insn-reverse.exp
6903         * gdb.reverse/machinestate-precsave.exp
6904         * gdb.reverse/machinestate.exp
6905         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6906         * gdb.reverse/pipe-reverse.exp
6907         * gdb.reverse/readv-reverse.exp
6908         * gdb.reverse/recvmsg-reverse.exp
6909         * gdb.reverse/rerun-prec.exp
6910         * gdb.reverse/s390-mvcle.exp
6911         * gdb.reverse/sigall-precsave.exp
6912         * gdb.reverse/sigall-reverse.exp
6913         * gdb.reverse/solib-precsave.exp
6914         * gdb.reverse/solib-reverse.exp
6915         * gdb.reverse/step-precsave.exp
6916         * gdb.reverse/step-reverse.exp
6917         * gdb.reverse/time-reverse.exp
6918         * gdb.reverse/until-precsave.exp
6919         * gdb.reverse/until-reverse.exp
6920         * gdb.reverse/waitpid-reverse.exp
6921         * gdb.reverse/watch-precsave.exp
6922         * gdb.reverse/watch-reverse.exp
6923
6924 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6925
6926         Fix test names starting with uppercase throughout the files.
6927
6928         * gdb.arch/i386-mpx-simple_segv.exp
6929         * gdb.arch/i386-mpx.exp
6930         * gdb.arch/i386-permbkpt.exp
6931         * gdb.arch/pa-nullify.exp
6932         * gdb.arch/powerpc-d128-regs.exp
6933         * gdb.arch/vsx-regs.exp
6934         * gdb.base/bfp-test.exp
6935         * gdb.base/break.exp
6936         * gdb.base/breakpoint-shadow.exp
6937         * gdb.base/callfuncs.exp
6938         * gdb.base/charset.exp
6939         * gdb.base/commands.exp
6940         * gdb.base/completion.exp
6941         * gdb.base/dfp-test.exp
6942         * gdb.base/echo.exp
6943         * gdb.base/ending-run.exp
6944         * gdb.base/eval.exp
6945         * gdb.base/expand-psymtabs.exp
6946         * gdb.base/float128.exp
6947         * gdb.base/floatn.exp
6948         * gdb.base/foll-exec-mode.exp
6949         * gdb.base/gdb1056.exp
6950         * gdb.base/gdb11531.exp
6951         * gdb.base/kill-after-signal.exp
6952         * gdb.base/multi-forks.exp
6953         * gdb.base/overlays.exp
6954         * gdb.base/pending.exp
6955         * gdb.base/sepdebug.exp
6956         * gdb.base/testenv.exp
6957         * gdb.base/valgrind-db-attach.exp
6958         * gdb.base/watch_thread_num.exp
6959         * gdb.base/watchpoint-cond-gone.exp
6960         * gdb.base/watchpoint.exp
6961         * gdb.base/watchpoints.exp
6962         * gdb.cp/arg-reference.exp
6963         * gdb.cp/baseenum.exp
6964         * gdb.cp/operator.exp
6965         * gdb.cp/shadow.exp
6966         * gdb.dwarf2/dw2-op-out-param.exp
6967         * gdb.dwarf2/dw2-reg-undefined.exp
6968         * gdb.go/chan.exp
6969         * gdb.go/hello.exp
6970         * gdb.go/integers.exp
6971         * gdb.go/methods.exp
6972         * gdb.go/package.exp
6973         * gdb.guile/scm-parameter.exp
6974         * gdb.guile/scm-progspace.exp
6975         * gdb.guile/scm-value.exp
6976         * gdb.mi/mi-pending.exp
6977         * gdb.mi/user-selected-context-sync.exp
6978         * gdb.multi/multi-attach.exp
6979         * gdb.multi/tids.exp
6980         * gdb.opt/clobbered-registers-O2.exp
6981         * gdb.pascal/floats.exp
6982         * gdb.pascal/integers.exp
6983         * gdb.python/py-block.exp
6984         * gdb.python/py-events.exp
6985         * gdb.python/py-parameter.exp
6986         * gdb.python/py-symbol.exp
6987         * gdb.python/py-symtab.exp
6988         * gdb.python/py-type.exp
6989         * gdb.python/py-value.exp
6990         * gdb.python/py-xmethods.exp
6991         * gdb.python/python.exp
6992         * gdb.reverse/break-precsave.exp
6993         * gdb.reverse/consecutive-precsave.exp
6994         * gdb.reverse/finish-precsave.exp
6995         * gdb.reverse/i386-precsave.exp
6996         * gdb.reverse/machinestate-precsave.exp
6997         * gdb.reverse/sigall-precsave.exp
6998         * gdb.reverse/solib-precsave.exp
6999         * gdb.reverse/step-precsave.exp
7000         * gdb.reverse/until-precsave.exp
7001         * gdb.reverse/watch-precsave.exp
7002         * gdb.server/ext-attach.exp
7003         * gdb.server/ext-restart.exp
7004         * gdb.server/ext-run.exp
7005         * gdb.server/ext-wrapper.exp
7006         * gdb.stabs/gdb11479.exp
7007         * gdb.stabs/weird.exp
7008         * gdb.threads/attach-many-short-lived-threads.exp
7009         * gdb.threads/kill.exp
7010         * gdb.threads/watchpoint-fork.exp
7011
7012 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
7013
7014         Fix test names starting with uppercase throughout all the files below.
7015
7016         * gdb.ada/array_return.exp
7017         * gdb.ada/catch_ex.exp
7018         * gdb.ada/info_exc.exp
7019         * gdb.ada/mi_catch_ex.exp
7020         * gdb.ada/mi_dyn_arr.exp
7021         * gdb.ada/mi_ex_cond.exp
7022         * gdb.ada/mi_exc_info.exp
7023         * gdb.ada/mi_interface.exp
7024         * gdb.ada/mi_task_arg.exp
7025         * gdb.ada/mi_task_info.exp
7026         * gdb.ada/mi_var_array.exp
7027         * gdb.arch/alpha-step.exp
7028         * gdb.arch/amd64-disp-step.exp
7029         * gdb.arch/arm-disp-step.exp
7030         * gdb.arch/disp-step-insn-reloc.exp
7031         * gdb.arch/e500-prologue.exp
7032         * gdb.arch/ftrace-insn-reloc.exp
7033         * gdb.arch/gdb1558.exp
7034         * gdb.arch/i386-bp_permanent.exp
7035         * gdb.arch/i386-disp-step.exp
7036         * gdb.arch/i386-float.exp
7037         * gdb.arch/i386-gnu-cfi.exp
7038         * gdb.arch/ia64-breakpoint-shadow.exp
7039         * gdb.arch/mips16-thunks.exp
7040         * gdb.arch/pa-nullify.exp
7041         * gdb.arch/powerpc-aix-prologue.exp
7042         * gdb.arch/powerpc-power.exp
7043         * gdb.arch/ppc-dfp.exp
7044         * gdb.arch/s390-tdbregs.exp
7045         * gdb.arch/spu-info.exp
7046         * gdb.arch/spu-ls.exp
7047         * gdb.arch/thumb-bx-pc.exp
7048         * gdb.base/advance.exp
7049         * gdb.base/annota-input-while-running.exp
7050         * gdb.base/arrayidx.exp
7051         * gdb.base/asmlabel.exp
7052         * gdb.base/async.exp
7053         * gdb.base/attach-wait-input.exp
7054         * gdb.base/auto-connect-native-target.exp
7055         * gdb.base/batch-preserve-term-settings.exp
7056         * gdb.base/bfp-test.exp
7057         * gdb.base/bigcore.exp
7058         * gdb.base/bp-permanent.exp
7059         * gdb.base/break-always.exp
7060         * gdb.base/break-fun-addr.exp
7061         * gdb.base/break-idempotent.exp
7062         * gdb.base/break-main-file-remove-fail.exp
7063         * gdb.base/break-probes.exp
7064         * gdb.base/break-unload-file.exp
7065         * gdb.base/break.exp
7066         * gdb.base/call-ar-st.exp
7067         * gdb.base/call-rt-st.exp
7068         * gdb.base/call-sc.exp
7069         * gdb.base/call-signal-resume.exp
7070         * gdb.base/call-strs.exp
7071         * gdb.base/callexit.exp
7072         * gdb.base/callfuncs.exp
7073         * gdb.base/catch-gdb-caused-signals.exp
7074         * gdb.base/catch-signal-siginfo-cond.exp
7075         * gdb.base/catch-syscall.exp
7076         * gdb.base/compare-sections.exp
7077         * gdb.base/cond-eval-mode.exp
7078         * gdb.base/condbreak-call-false.exp
7079         * gdb.base/consecutive-step-over.exp
7080         * gdb.base/cursal.exp
7081         * gdb.base/disabled-location.exp
7082         * gdb.base/disasm-end-cu.exp
7083         * gdb.base/display.exp
7084         * gdb.base/double-prompt-target-event-error.exp
7085         * gdb.base/dprintf-bp-same-addr.exp
7086         * gdb.base/dprintf-detach.exp
7087         * gdb.base/dprintf-next.exp
7088         * gdb.base/dprintf-non-stop.exp
7089         * gdb.base/dprintf-pending.exp
7090         * gdb.base/dso2dso.exp
7091         * gdb.base/ending-run.exp
7092         * gdb.base/enum_cond.exp
7093         * gdb.base/examine-backward.exp
7094         * gdb.base/exe-lock.exp
7095         * gdb.base/exec-invalid-sysroot.exp
7096         * gdb.base/execl-update-breakpoints.exp
7097         * gdb.base/execution-termios.exp
7098         * gdb.base/fileio.exp
7099         * gdb.base/fixsection.exp
7100         * gdb.base/foll-exec-mode.exp
7101         * gdb.base/foll-exec.exp
7102         * gdb.base/fork-running-state.exp
7103         * gdb.base/frame-args.exp
7104         * gdb.base/fullpath-expand.exp
7105         * gdb.base/func-ptr.exp
7106         * gdb.base/gcore-relro-pie.exp
7107         * gdb.base/gdb1090.exp
7108         * gdb.base/gdb1555.exp
7109         * gdb.base/global-var-nested-by-dso.exp
7110         * gdb.base/gnu-ifunc.exp
7111         * gdb.base/hbreak-in-shr-unsupported.exp
7112         * gdb.base/hbreak-unmapped.exp
7113         * gdb.base/hook-stop.exp
7114         * gdb.base/infcall-input.exp
7115         * gdb.base/info-fun.exp
7116         * gdb.base/info-shared.exp
7117         * gdb.base/interrupt-noterm.exp
7118         * gdb.base/jit-so.exp
7119         * gdb.base/jit.exp
7120         * gdb.base/line-symtabs.exp
7121         * gdb.base/list.exp
7122         * gdb.base/longjmp.exp
7123         * gdb.base/macscp.exp
7124         * gdb.base/max-value-size.exp
7125         * gdb.base/nodebug.exp
7126         * gdb.base/nofield.exp
7127         * gdb.base/overlays.exp
7128         * gdb.base/paginate-after-ctrl-c-running.exp
7129         * gdb.base/paginate-bg-execution.exp
7130         * gdb.base/paginate-inferior-exit.exp
7131         * gdb.base/pending.exp
7132         * gdb.base/pr11022.exp
7133         * gdb.base/printcmds.exp
7134         * gdb.base/ptr-typedef.exp
7135         * gdb.base/ptype.exp
7136         * gdb.base/randomize.exp
7137         * gdb.base/range-stepping.exp
7138         * gdb.base/realname-expand.exp
7139         * gdb.base/relativedebug.exp
7140         * gdb.base/remote.exp
7141         * gdb.base/savedregs.exp
7142         * gdb.base/sepdebug.exp
7143         * gdb.base/set-noassign.exp
7144         * gdb.base/shlib-call.exp
7145         * gdb.base/shreloc.exp
7146         * gdb.base/sigaltstack.exp
7147         * gdb.base/sigbpt.exp
7148         * gdb.base/siginfo-addr.exp
7149         * gdb.base/siginfo-obj.exp
7150         * gdb.base/siginfo-thread.exp
7151         * gdb.base/signest.exp
7152         * gdb.base/signull.exp
7153         * gdb.base/sigrepeat.exp
7154         * gdb.base/skip.exp
7155         * gdb.base/so-impl-ld.exp
7156         * gdb.base/solib-corrupted.exp
7157         * gdb.base/solib-disc.exp
7158         * gdb.base/solib-display.exp
7159         * gdb.base/solib-overlap.exp
7160         * gdb.base/solib-search.exp
7161         * gdb.base/solib-symbol.exp
7162         * gdb.base/source-execution.exp
7163         * gdb.base/sss-bp-on-user-bp-2.exp
7164         * gdb.base/sss-bp-on-user-bp.exp
7165         * gdb.base/stack-checking.exp
7166         * gdb.base/stale-infcall.exp
7167         * gdb.base/step-break.exp
7168         * gdb.base/step-line.exp
7169         * gdb.base/step-over-exit.exp
7170         * gdb.base/step-test.exp
7171         * gdb.base/structs.exp
7172         * gdb.base/sym-file.exp
7173         * gdb.base/symtab-search-order.exp
7174         * gdb.base/term.exp
7175         * gdb.base/type-opaque.exp
7176         * gdb.base/unload.exp
7177         * gdb.base/until-nodebug.exp
7178         * gdb.base/until.exp
7179         * gdb.base/unwindonsignal.exp
7180         * gdb.base/watch-cond.exp
7181         * gdb.base/watch-non-mem.exp
7182         * gdb.base/watch_thread_num.exp
7183         * gdb.base/watchpoint-reuse-slot.exp
7184         * gdb.base/watchpoint-solib.exp
7185         * gdb.base/watchpoint.exp
7186         * gdb.btrace/dlopen.exp
7187         * gdb.cell/arch.exp
7188         * gdb.cell/break.exp
7189         * gdb.cell/bt.exp
7190         * gdb.cell/core.exp
7191         * gdb.cell/data.exp
7192         * gdb.cell/dwarfaddr.exp
7193         * gdb.cell/ea-cache.exp
7194         * gdb.cell/ea-standalone.exp
7195         * gdb.cell/ea-test.exp
7196         * gdb.cell/f-regs.exp
7197         * gdb.cell/fork.exp
7198         * gdb.cell/gcore.exp
7199         * gdb.cell/mem-access.exp
7200         * gdb.cell/ptype.exp
7201         * gdb.cell/registers.exp
7202         * gdb.cell/sizeof.exp
7203         * gdb.cell/solib-symbol.exp
7204         * gdb.cell/solib.exp
7205         * gdb.compile/compile-tls.exp
7206         * gdb.cp/exception.exp
7207         * gdb.cp/gdb2495.exp
7208         * gdb.cp/local.exp
7209         * gdb.cp/mb-inline.exp
7210         * gdb.cp/mb-templates.exp
7211         * gdb.cp/pr10687.exp
7212         * gdb.cp/pr9167.exp
7213         * gdb.cp/scope-err.exp
7214         * gdb.cp/templates.exp
7215         * gdb.cp/virtfunc.exp
7216         * gdb.dwarf2/dw2-dir-file-name.exp
7217         * gdb.dwarf2/dw2-single-line-discriminators.exp
7218         * gdb.fortran/complex.exp
7219         * gdb.fortran/library-module.exp
7220         * gdb.guile/guile.exp
7221         * gdb.guile/scm-cmd.exp
7222         * gdb.guile/scm-frame-inline.exp
7223         * gdb.guile/scm-objfile.exp
7224         * gdb.guile/scm-pretty-print.exp
7225         * gdb.guile/scm-symbol.exp
7226         * gdb.guile/scm-type.exp
7227         * gdb.guile/scm-value.exp
7228         * gdb.linespec/keywords.exp
7229         * gdb.linespec/ls-errs.exp
7230         * gdb.linespec/macro-relative.exp
7231         * gdb.linespec/thread.exp
7232         * gdb.mi/mi-breakpoint-changed.exp
7233         * gdb.mi/mi-dprintf-pending.exp
7234         * gdb.mi/mi-fullname-deleted.exp
7235         * gdb.mi/mi-logging.exp
7236         * gdb.mi/mi-pending.exp
7237         * gdb.mi/mi-solib.exp
7238         * gdb.mi/new-ui-mi-sync.exp
7239         * gdb.mi/user-selected-context-sync.exp
7240         * gdb.multi/dummy-frame-restore.exp
7241         * gdb.multi/multi-arch-exec.exp
7242         * gdb.multi/remove-inferiors.exp
7243         * gdb.multi/watchpoint-multi-exit.exp
7244         * gdb.opt/solib-intra-step.exp
7245         * gdb.perf/backtrace.exp
7246         * gdb.perf/single-step.exp
7247         * gdb.perf/skip-command.exp
7248         * gdb.perf/skip-prologue.exp
7249         * gdb.perf/solib.exp
7250         * gdb.python/lib-types.exp
7251         * gdb.python/py-as-string.exp
7252         * gdb.python/py-bad-printers.exp
7253         * gdb.python/py-block.exp
7254         * gdb.python/py-breakpoint.exp
7255         * gdb.python/py-cmd.exp
7256         * gdb.python/py-events.exp
7257         * gdb.python/py-evthreads.exp
7258         * gdb.python/py-finish-breakpoint.exp
7259         * gdb.python/py-finish-breakpoint2.exp
7260         * gdb.python/py-frame-inline.exp
7261         * gdb.python/py-frame.exp
7262         * gdb.python/py-inferior.exp
7263         * gdb.python/py-infthread.exp
7264         * gdb.python/py-mi.exp
7265         * gdb.python/py-objfile.exp
7266         * gdb.python/py-pp-maint.exp
7267         * gdb.python/py-pp-registration.exp
7268         * gdb.python/py-prettyprint.exp
7269         * gdb.python/py-recurse-unwind.exp
7270         * gdb.python/py-shared.exp
7271         * gdb.python/py-symbol.exp
7272         * gdb.python/py-symtab.exp
7273         * gdb.python/py-template.exp
7274         * gdb.python/py-type.exp
7275         * gdb.python/py-unwind-maint.exp
7276         * gdb.python/py-unwind.exp
7277         * gdb.python/py-value.exp
7278         * gdb.python/python.exp
7279         * gdb.reverse/finish-reverse-bkpt.exp
7280         * gdb.reverse/insn-reverse.exp
7281         * gdb.reverse/next-reverse-bkpt-over-sr.exp
7282         * gdb.reverse/solib-precsave.exp
7283         * gdb.reverse/solib-reverse.exp
7284         * gdb.stabs/gdb11479.exp
7285         * gdb.stabs/weird.exp
7286         * gdb.threads/fork-child-threads.exp
7287         * gdb.threads/fork-plus-threads.exp
7288         * gdb.threads/fork-thread-pending.exp
7289         * gdb.threads/forking-threads-plus-breakpoint.exp
7290         * gdb.threads/hand-call-in-threads.exp
7291         * gdb.threads/interrupted-hand-call.exp
7292         * gdb.threads/linux-dp.exp
7293         * gdb.threads/local-watch-wrong-thread.exp
7294         * gdb.threads/next-while-other-thread-longjmps.exp
7295         * gdb.threads/non-ldr-exit.exp
7296         * gdb.threads/pending-step.exp
7297         * gdb.threads/print-threads.exp
7298         * gdb.threads/process-dies-while-detaching.exp
7299         * gdb.threads/process-dies-while-handling-bp.exp
7300         * gdb.threads/pthreads.exp
7301         * gdb.threads/queue-signal.exp
7302         * gdb.threads/reconnect-signal.exp
7303         * gdb.threads/signal-command-handle-nopass.exp
7304         * gdb.threads/signal-command-multiple-signals-pending.exp
7305         * gdb.threads/signal-delivered-right-thread.exp
7306         * gdb.threads/signal-sigtrap.exp
7307         * gdb.threads/sigthread.exp
7308         * gdb.threads/staticthreads.exp
7309         * gdb.threads/stepi-random-signal.exp
7310         * gdb.threads/thread-unwindonsignal.exp
7311         * gdb.threads/thread_check.exp
7312         * gdb.threads/thread_events.exp
7313         * gdb.threads/tid-reuse.exp
7314         * gdb.threads/tls-nodebug.exp
7315         * gdb.threads/tls-shared.exp
7316         * gdb.threads/tls-so_extern.exp
7317         * gdb.threads/tls.exp
7318         * gdb.threads/wp-replication.exp
7319         * gdb.trace/actions-changed.exp
7320         * gdb.trace/actions.exp
7321         * gdb.trace/backtrace.exp
7322         * gdb.trace/change-loc.exp
7323         * gdb.trace/collection.exp
7324         * gdb.trace/deltrace.exp
7325         * gdb.trace/disconnected-tracing.exp
7326         * gdb.trace/entry-values.exp
7327         * gdb.trace/ftrace-lock.exp
7328         * gdb.trace/ftrace.exp
7329         * gdb.trace/infotrace.exp
7330         * gdb.trace/mi-trace-frame-collected.exp
7331         * gdb.trace/mi-trace-unavailable.exp
7332         * gdb.trace/mi-traceframe-changed.exp
7333         * gdb.trace/mi-tracepoint-changed.exp
7334         * gdb.trace/mi-tsv-changed.exp
7335         * gdb.trace/no-attach-trace.exp
7336         * gdb.trace/packetlen.exp
7337         * gdb.trace/passc-dyn.exp
7338         * gdb.trace/passcount.exp
7339         * gdb.trace/pending.exp
7340         * gdb.trace/pr16508.exp
7341         * gdb.trace/qtro.exp
7342         * gdb.trace/range-stepping.exp
7343         * gdb.trace/read-memory.exp
7344         * gdb.trace/report.exp
7345         * gdb.trace/save-trace.exp
7346         * gdb.trace/signal.exp
7347         * gdb.trace/stap-trace.exp
7348         * gdb.trace/status-stop.exp
7349         * gdb.trace/strace.exp
7350         * gdb.trace/tfile.exp
7351         * gdb.trace/tfind.exp
7352         * gdb.trace/trace-break.exp
7353         * gdb.trace/trace-condition.exp
7354         * gdb.trace/trace-enable-disable.exp
7355         * gdb.trace/trace-mt.exp
7356         * gdb.trace/tracecmd.exp
7357         * gdb.trace/tracefile-pseudo-reg.exp
7358         * gdb.trace/tspeed.exp
7359         * gdb.trace/tstatus.exp
7360         * gdb.trace/tsv.exp
7361         * gdb.trace/unavailable.exp
7362         * gdb.trace/while-dyn.exp
7363         * gdb.trace/while-stepping.exp
7364         * lib/gdb-guile.exp
7365         * lib/gdb.exp
7366         * lib/mi-support.exp
7367         * lib/pascal.exp
7368         * lib/perftest.exp
7369         * lib/prelink-support.exp
7370         * lib/selftest-support.exp
7371
7372 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
7373
7374         * Makefile.in: Include disable-implicit-rules.mk.
7375
7376 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7377
7378         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7379         non-byte-aligned bit fields.
7380
7381 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7382
7383         PR gdb/12616
7384         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
7385         respects the DW_AT_data_bit_offset attribute.
7386
7387 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
7388
7389         * gdb.base/default.exp: Fix output of "set language".
7390
7391 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
7392
7393         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7394         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
7395         make.
7396         * configure.ac: Remove checks for the make program.
7397         * configure: Re-generate.
7398
7399 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
7400
7401         * gdb.python/py-recurse-unwind.c (main): Add loop.
7402         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7403         to read_register() and gdb.parse_and_eval().  Make each code
7404         call a separate case that can be individually tested.
7405         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7406         proc. Call cont_and_backtrace for each of the code paths that
7407         we want to test in the unwinder.
7408
7409 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7410
7411         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7412         the definition of struct S.
7413
7414 2016-11-11  Catherine Moore  <clm@codesourcery.com>
7415
7416         * gdb.base/dump.exp: Identify verilog format dump tests as such.
7417
7418 2016-11-09  Pedro Alves  <palves@redhat.com>
7419
7420         * gdb.base/commands.exp (runto_or_return): New procedure.
7421         (gdbvar_simple_if_test, gdbvar_simple_while_test)
7422         (gdbvar_complex_if_while_test, progvar_simple_if_test)
7423         (progvar_simple_while_test, progvar_complex_if_while_test)
7424         (if_while_breakpoint_command_test)
7425         (infrun_breakpoint_command_test, breakpoint_command_test)
7426         (user_defined_command_test, watchpoint_command_test)
7427         (test_command_prompt_position, redefine_hook_test)
7428         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7429         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7430         multi_line_input and multi_line.  Remove gdb_expect and
7431         gdb_stop_suppressing_tests uses.
7432         * lib/gdb.exp (valnum_re): New global.
7433         (multi_line_input): New procedure.
7434
7435 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
7436
7437         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7438         Remove.
7439         (test_setup): Define with proc_with_prefix.
7440         (test_cli_inferior): Likewise.
7441         (test_cli_thread): Likewise.
7442         (test_cli_frame): Likewise.
7443         (test_cli_select_frame): Likewise.
7444         (test_cli_up_down): Likewise.
7445         (test_mi_thread_select): Likewise.
7446         (test_mi_stack_select_frame): Likewise.
7447         (test_cli_in_mi_inferior): Likewise.
7448         (test_cli_in_mi_thread): Likewise.
7449         (test_cli_in_mi_frame): Likewise.
7450         (top level): Do not use with_test_prefix_procname.
7451
7452 2016-11-09  Pedro Alves  <palves@redhat.com>
7453
7454         * gdb.base/commands.exp (gdbvar_simple_if_test)
7455         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7456         (progvar_simple_if_test, progvar_simple_while_test)
7457         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7458         (infrun_breakpoint_command_test, breakpoint_command_test)
7459         (user_defined_command_test, watchpoint_command_test)
7460         (test_command_prompt_position, deprecated_command_test)
7461         (bp_deleted_in_command, temporary_breakpoint_commands)
7462         (stray_arg0_test, source_file_with_indented_comment)
7463         (recursive_source_test, if_commands_test)
7464         (error_clears_commands_left, redefine_hook_test)
7465         (redefine_backtrace_test): Use proc_with_prefix.
7466         * lib/gdb.exp (proc_with_prefix): New proc.
7467
7468 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7469
7470         * gdb.base/tui-layout.c: New file.
7471         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7472         disassembly window contains very long lines.
7473
7474 2016-11-08  Tom Tromey  <tom@tromey.com>
7475
7476         * gdb.python/py-value.exp (test_value_creation): Make "long" test
7477         depend on Python 2.
7478
7479 2016-11-08  Tom Tromey  <tom@tromey.com>
7480
7481         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7482         New method.
7483
7484 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
7485
7486         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7487
7488 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
7489
7490         * gdb.rust/simple.rs: Add test for univariant enums without
7491         discriminants and for encoded struct-like enums.
7492
7493 2016-10-28  Pedro Alves  <palves@redhat.com>
7494
7495         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7496         gdb_test_multiple, tighten regexps and match symtabs and line
7497         tables incrementally.
7498
7499 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
7500
7501         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7502         general.
7503
7504 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
7505
7506         * gdb.base/exec-invalid-sysroot.exp: New file.
7507
7508 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7509
7510         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7511
7512 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7513
7514         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7515
7516 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
7517
7518         * gdb.base/killed-outside.exp: Remove $options from a call to
7519         `prepare_for_testing'.
7520
7521 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
7522
7523         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7524         Change test message.
7525
7526 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
7527
7528         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7529         Update comment.
7530
7531 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
7532
7533         * gdb.trace/mi-trace-save.exp: New file.
7534
7535 2016-10-13  Yao Qi  <yao.qi@linaro.org>
7536
7537         * gdb.base/code_elim.exp (get_var_address): Remove.
7538         * gdb.base/relocate.exp: Likewise.
7539         * gdb.base/shreloc.exp: Likewise.
7540         * lib/gdb.exp (get_var_address): New.
7541
7542 2016-10-13  Yao Qi  <yao.qi@linaro.org>
7543
7544         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7545         floating point tests if $skip_float_test is false.
7546
7547 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
7548
7549         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7550         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7551         argc values.
7552         Add 1 to argc so we guarantee distinct initial/modified argc values.
7553
7554 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7555
7556         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7557
7558 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7559
7560         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7561         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7562         * gdb.arch/vsx-regs.exp: Likewise.
7563
7564 2016-10-07  Yao Qi  <yao.qi@linaro.org>
7565
7566         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7567
7568 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
7569
7570         * gdb.python/python.exp: Test decode_line("*0").
7571
7572 2016-10-06  Doug Evans  <dje@google.com>
7573
7574         * gdb.python/py-value.exp (test_value_creation): Add test for large
7575         unsigned 64-bit value.
7576
7577 2016-10-06  Tom Tromey  <tom@tromey.com>
7578
7579         * gdb.compile/compile.exp: Change java tests to rust.
7580         * gdb.base/setshow.exp: Change java tests to rust.
7581         * gdb.base/default.exp: Remove java from language list.
7582         * README (Examples): Update language example.
7583         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7584         test.
7585         * lib/gdb.exp (skip_java_tests): Remove.
7586         * lib/java.exp: Remove.
7587         * gdb.java: Remove.
7588
7589 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
7590
7591         * gdb.arch/mips-fcr.exp: New test.
7592         * gdb.arch/mips-fcr.c: Source for the new test.
7593
7594 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
7595
7596         * gdb.base/solib-disc.exp: Use `standard_output_file'
7597         throughout.
7598
7599 2016-10-06  Pedro Alves  <palves@redhat.com>
7600
7601         * gdb.base/jit-simple-dl.c: New file.
7602         * gdb.base/jit-simple-jit.c: New file, factored out from ...
7603         * gdb.base/jit-simple.c: ... this.
7604         * gdb.base/jit-simple.exp (jit_run): Delete.
7605         (build_jit): New proc.
7606         (jit_test_reread): Recompile either the main program or the shared
7607         library, depending on what is being tested.  Skip changing address
7608         if caller wants to.  Compare before/after addresses.  If testing
7609         standalone, explicitly load the binary.  Test "maint info
7610         breakpoints".
7611         (top level): Add "standalone vs shared lib" and "change address"
7612         vs "same address" axes.
7613
7614 2016-10-06  Pedro Alves  <palves@redhat.com>
7615
7616         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7617         call.
7618         (jit_run): Delete.
7619         (jit_test_reread): Use with_test_prefix.  Reload the main binary
7620         explicitly.  Compare the before/after addresses of the JIT
7621         descriptor.
7622
7623 2016-08-15  Doug Evans  <dje@google.com>
7624
7625         * gdb.xml/extra-regs.xml: Update, end field now required, default type
7626         for single bitfields is bool.
7627         * gdb.xml/tdesc-regs.exp: Ditto.
7628
7629 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
7630
7631         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7632
7633 2016-10-05  Yao Qi  <yao.qi@linaro.org>
7634
7635         * lib/gdb.exp (support_complex_tests): Return zero if
7636         gdb_skip_float_test return true.
7637
7638 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7639             Simon Marchi  <simon.marchi@ericsson.com>
7640
7641         PR gdb/20487
7642         * gdb.mi/user-selected-context-sync.exp: New file.
7643         * gdb.mi/user-selected-context-sync.c: New file.
7644
7645 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7646             Simon Marchi  <simon.marchi@ericsson.com>
7647
7648         PR gdb/20487
7649         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7650         =thread-select-event check.
7651
7652 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
7653
7654         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7655         the compulsory L operand changes.
7656         * gdb.arch/powerpc-power.s: Likewise.
7657
7658 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7659
7660         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7661         * gdb.base/jit-attach-pie.c: New file.
7662         * gdb.base/jit-attach-pie.exp: New file.
7663
7664 2016-09-28  Pedro Alves  <palves@redhat.com>
7665
7666         * gdb.base/infcall-input.c: New file.
7667         * gdb.base/infcall-input.exp: New file.
7668
7669 2016-09-22  Yao Qi  <yao.qi@linaro.org>
7670
7671         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7672         (gdb_exit): Rename it to ...
7673         (gdbserver_gdb_exit): ...  Close GDBserver.
7674         (gdb_exit): New proc, call gdbserver_gdb_exit.
7675         (mi_gdb_exit): Likewise.
7676
7677 2016-09-22  Yao Qi  <yao.qi@linaro.org>
7678
7679         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7680         path.
7681         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7682         Remove duplication.
7683
7684 2016-09-22  Yao Qi  <yao.qi@linaro.org>
7685
7686         * lib/gdbserver-support.exp: Check the existence of
7687         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7688
7689 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
7690
7691         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7692
7693 2016-09-21  Tom Tromey  <tom@tromey.com>
7694
7695         PR gdb/20604:
7696         * gdb.base/quit.exp: New file.
7697
7698 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
7699
7700         * .gitignore: New file.
7701
7702 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
7703
7704         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7705         throughout.
7706
7707 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7708
7709         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7710
7711 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7712
7713         * gdb.cp/casts.cc (decltype): Move it ...
7714         (main): ... with its call to ...
7715         * gdb.cp/casts03.cc: ... a new file.
7716         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7717
7718 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7719
7720         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7721
7722 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
7723
7724         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7725         and sync up the test with tests in gas/testsuite/gas/ppc.
7726         * gdb.arch/powerpc-power.exp: Likewise.
7727
7728 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7729
7730         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7731
7732 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
7733             Jan Kratochvil  <jan.kratochvil@redhat.com>
7734
7735         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7736         make m1's definition to be different from m2's.  Use 'dummy' as an
7737         argument for probe 'two'.
7738
7739 2016-09-10  Jon Beniston  <jon@beniston.com>
7740
7741         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7742         for sim target.
7743
7744 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7745
7746         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7747         variable declaration.
7748         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
7749         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7750         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7751         received HWCAP as its argument.
7752
7753 2016-09-06  Pedro Alves  <palves@redhat.com>
7754
7755         * gdb.base/new-ui-pending-input.c: New file.
7756         * gdb.base/new-ui-pending-input.exp: New file.
7757         * gdb.exp (clear_gdb_spawn_id): New procedure.
7758         (with_spawn_id): Check whether gdb_spawn_id exists before
7759         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
7760         on exit.
7761
7762 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
7763
7764         * gdb.base/float128.c: New file.
7765         * gdb.base/float128.exp: Likewise.
7766         * gdb.base/floatn.c: Likewise.
7767         * gdb.base/floatn.exp: Likewise.
7768
7769 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
7770
7771         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7772
7773 2016-09-05  Pedro Alves  <palves@redhat.com>
7774
7775         PR backtrace/19927
7776         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7777         unwinders are immediately called as side effect of "source" or
7778         "disable unwinder" commands.
7779         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7780
7781 2016-09-02  Yao Qi  <yao.qi@linaro.org>
7782
7783         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7784         is true and $type is "float" or "double".
7785
7786 2016-09-02  Yao Qi  <yao.qi@linaro.org>
7787
7788         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7789         true.
7790         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7791         * gdb.base/call-rt-st.exp: Likewise.
7792         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7793         return value instead of gdb,skip_float_test.
7794         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7795         (do_function_calls): Use its return value instead of
7796         gdb,skip_float_test.
7797         * gdb.base/finish.exp: Likewise.
7798         * gdb.base/funcargs.exp: Likewise.
7799         * gdb.base/return.exp: Likewise.
7800         * gdb.base/return2.exp: Likewise.
7801         * gdb.base/varargs.exp: Likewise.
7802         * lib/gdb.exp (gdb_skip_float_test): Change it to
7803         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
7804
7805 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7806
7807         * gdb.multi/tids.exp: Test "thread apply all".
7808
7809 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7810
7811         * gdb.base/default.exp (tty): Remove.
7812
7813 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
7814
7815         * gdb.python/py-recurse-unwind.c: New file.
7816         * gdb.python/py-recurse-unwind.py: New file.
7817         * gdb.python/py-recurse-unwind.exp: New file.
7818
7819 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
7820
7821         * gdb.base/set-inferior-tty.exp: New file.
7822         * gdb.base/set-inferior-tty.c: New file.
7823
7824 2016-08-23  Pedro Alves  <palves@redhat.com>
7825
7826         PR gdb/20494
7827         * gdb.base/new-ui-echo.c: New file.
7828         * gdb.base/new-ui-echo.exp: New file.
7829
7830 2016-08-23  Yao Qi  <yao.qi@linaro.org>
7831
7832         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7833         gdbserver_spawn.
7834         * gdb.server/connect-without-multi-process.exp (do_test):
7835         Likewise.
7836
7837 2016-08-23  Yao Qi  <yao.qi@linaro.org>
7838
7839         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7840         standalone_txt.  Delete gdb_txt and standalone_txt on host
7841         and target.  Spawn the binary on target.  Copy files from
7842         target to host.
7843
7844 2016-08-22  Pedro Alves  <palves@redhat.com>
7845
7846         PR gdb/20505
7847         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
7848         with_test_prefix.  Factor out bits to ...
7849         (test_no_vdso): ... this new procedure.
7850
7851 2016-08-19  Carl Love  <cel@us.ibm.com>
7852
7853         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7854         maintaining separate logic for constructing the output path.
7855         * gdb.arch/powerpc-d128-regs.exp: Likewise.
7856         * gdb.arch/ppc-dfp.exp: Likewise.
7857         * gdb.arch/ppc-fp.exp: Likewise.
7858         * gdb.arch/vsx-regs.exp: Likewise.
7859         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7860         binprefix for generating the additional binary files.
7861
7862 2016-08-19  Pedro Alves  <palves@redhat.com>
7863
7864         * gdb.trace/mi-trace-frame-collected.exp
7865         (test_trace_frame_collected): On x32, expect two registers.
7866
7867 2016-08-18  Carl Love  <cel@us.ibm.com>
7868
7869         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7870         and sync up the test with tests in gas/testsuite/gas/ppc.
7871         * gdb.arch/powerpc-power.exp: Likewise.
7872
7873 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
7874
7875         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7876         expected error message.
7877
7878 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
7879
7880         * gdb.multi/remove-inferiors.exp: New file.
7881         * gdb.multi/remove-inferiors.c: New file.
7882
7883 2016-08-12  Yao Qi  <yao.qi@linaro.org>
7884
7885         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7886         argument list.
7887
7888 2016-08-10  Pedro Alves  <palves@redhat.com>
7889
7890         PR gdb/19187
7891         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7892         setup_kfails.
7893
7894 2016-08-09  Pedro Alves  <palves@redhat.com>
7895             Simon Marchi  <simon.marchi@ericsson.com>
7896
7897         PR gdb/20418
7898         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7899         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7900
7901 2016-08-09  Pedro Alves  <palves@redhat.com>
7902
7903         PR mi/20431
7904         * gdb.mi/mi-cmd-error.exp: New file.
7905
7906 2016-08-09  Pedro Alves  <palves@redhat.com>
7907
7908         PR gdb/18653
7909         * gdb.base/signals-state-child.c: New file.
7910         * gdb.base/signals-state-child.exp: New file.
7911         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7912
7913 2016-08-09  Pedro Alves  <palves@redhat.com>
7914
7915         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7916
7917 2016-08-03  Tom Tromey  <tom@tromey.com>
7918
7919         PR python/18565:
7920         * gdb.python/py-frame-inline.exp: Add Frame.function test.
7921
7922 2016-08-01  Yao Qi  <yao.qi@linaro.org>
7923
7924         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7925         variable mode to "multi-process" if $multi_process is 1, otherwise
7926         set it to "single-process".
7927
7928 2016-08-01  Yao Qi  <yao.qi@linaro.org>
7929
7930         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7931         * gdb.cp/cpexprs.exp: Likewise.
7932         * gdb.cp/m-static.exp: Likewise.
7933
7934 2016-07-26  Tom Tromey  <tom@tromey.com>
7935
7936         PR python/20190:
7937         * gdb.threads/tls.exp (check_thread_local): Add python symbol
7938         test.
7939
7940 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
7941
7942         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7943         selecting assembly source files.
7944         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7945         assembly source files.
7946         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7947         assembly source files.
7948         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7949         selecting assembly source files.
7950
7951 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
7952
7953         * gdb.base/new-ui.exp (do_test_invalid_args): New
7954         procedure.
7955
7956 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
7957
7958         * gdb.btrace/reconnect.c: New file.
7959         * gdb.btrace/reconnect.exp: New file.
7960
7961 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
7962
7963         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7964         to test_catch_syscall_group.
7965         (test_catch_syscall_group): New.
7966
7967 2016-07-21  Tom Tromey  <tom@tromey.com>
7968
7969         * gdb.rust/simple.rs (main): Use empty struct expression.
7970         * gdb.rust/simple.exp: Add tests for empty struct expression.
7971
7972 2016-07-21  Yao Qi  <yao.qi@linaro.org>
7973
7974         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7975         if gdb_skip_xml_test is true on some targets.
7976
7977 2016-07-21  Yao Qi  <yao.qi@linaro.org>
7978
7979         * gdb.server/solib-list.exp: Unset last_loaded_file.
7980
7981 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7982
7983         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7984         "step into captured_main (args)".
7985
7986 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7987
7988         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7989
7990 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7991
7992         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7993
7994 2016-07-19  Pedro Alves  <palves@redhat.com>
7995
7996         * gdb.opt/inline-break.exp: Remove optimize=-O2.
7997         * gdb.opt/inline-bt.exp: Likewise.
7998         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7999         additional_flags=-Winline.
8000         * gdb.opt/inline-locals.exp: Likewise.
8001         * gdb.opt/inline-markers.c (ATTR): Define.
8002         (inlined_fn): Use it.
8003
8004 2016-07-19  Yao Qi  <yao.qi@linaro.org>
8005
8006         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8007         (test_with_self): Remove some code.  Remove argument executable.
8008         (top-level): Use do_self_tests.
8009
8010 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
8011             Don Breazeal <donb@codesourcery.com>
8012
8013         * gdb.base/maint.exp: Escape paths used in regular expressions.
8014         * gdb.stabs/weird.exp: Likewise.
8015
8016 2016-07-13  Tom Tromey  <tom@tromey.com>
8017
8018         PR python/15620, PR python/18620:
8019         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8020         (test_bkpt_events): New procs.
8021
8022 2016-07-13  Tom Tromey  <tom@tromey.com>
8023
8024         PR python/17698:
8025         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8026         test.
8027         (test_watchpoints): Likewise.
8028         (test_bkpt_pending): New proc.
8029
8030 2016-07-13  Tom Tromey  <tom@tromey.com>
8031
8032         PR cli/18053:
8033         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8034         completion test.
8035
8036 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8037
8038         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8039         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8040         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8041         f_label.
8042         (g): Rename g_end_lbl to g_label.
8043         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8044         low_pc and high_pc.
8045         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8046
8047 2016-07-12  Tom Tromey  <tom@tromey.com>
8048
8049         PR python/19293:
8050         * gdb.python/py-unwind-maint.exp: Update tests.
8051
8052 2016-07-12  Yao Qi  <yao.qi@linaro.org>
8053
8054         * lib/selftest-support.exp (selftest_setup): Match the output
8055         when captured_main is inlined.
8056
8057 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8058
8059         * gdb.fortran/derived-types.exp (result_line, result_line_2):
8060         New variables.
8061         (print this%a, print this%b, print this): New tests.
8062         * gdb.fortran/derived-types.f90 (this): New object and
8063         initialization.
8064
8065 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
8066
8067         * gdb.ada/arraydim.exp: Remove extra directory level in build
8068         directory.
8069
8070 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
8071
8072         * lib/ada.exp: Remove extra directory level in build directory.
8073         * gdb.ada/cond_lang.exp: Likewise.
8074         * gdb.ada/exec_changed.exp: Likewise.
8075         * gdb.ada/lang_switch.exp: Likewise.
8076
8077 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
8078
8079         * simple.rs: Add test for raw pointer subscripting.
8080         * simple.exp: Add test expectations.
8081
8082 2016-07-05  Yao Qi  <yao.qi@linaro.org>
8083
8084         * gdb.mi/mi-reverse.exp: Match =record-started output.
8085
8086 2016-07-01  Pedro Alves  <palves@redhat.com>
8087
8088         * gdb.base/jit-reader.exp (info_registers_current_frame): New
8089         procedure.
8090         (jit_reader_test): Test the jit reader's unwinder.
8091         * gdb.base/jithost.c (jit_function_00_code): New global.
8092         (main): Use memcpy to fill in the mmapped code, instead of poking
8093         bytes manually here.
8094         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8095         value.
8096         (read_debug_info): Save the function's range.
8097         (read_sp): New function.
8098         (unwind_frame): Use it.  Also unwind RBP.
8099         (get_frame_id): Use read_sp.
8100         (gdb_init_reader): Use calloc instead of malloc.
8101         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8102         parameter.  Use gdb_test_multiple.
8103
8104 2016-07-01  Pedro Alves  <palves@redhat.com>
8105             Antoine Tremblay  <antoine.tremblay@ericsson.com>
8106
8107         * gdb.threads/process-dies-while-detaching.c: New file.
8108         * gdb.threads/process-dies-while-detaching.exp: New file.
8109
8110 2016-07-01  Pedro Alves  <palves@redhat.com>
8111
8112         * gdb.multi/watchpoint-multi-exit.c: New file.
8113         * gdb.multi/watchpoint-multi-exit.exp: New file.
8114
8115 2016-06-30  Pedro Alves  <palves@redhat.com>
8116
8117         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8118         unset inferior_spawn_id.
8119
8120 2016-06-30  Pedro Alves  <palves@redhat.com>
8121
8122         * lib/mi-support.exp (default_mi_gdb_start): Declare global
8123         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8124
8125 2016-06-29  Yao Qi  <yao.qi@linaro.org>
8126
8127         * gdb.base/return.c: Add copyright header.
8128
8129 2016-06-29  Tom Tromey  <tom@tromey.com>
8130
8131         PR python/20129:
8132         * gdb.python/py-framefilter.exp: Add tests for setting priority
8133         and disabling of non-existent frame filter.
8134
8135 2016-06-29  Yao Qi  <yao.qi@linaro.org>
8136
8137         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8138         0x0f07ff.
8139
8140 2016-06-28  Yao Qi  <yao.qi@linaro.org>
8141
8142         * gdb.base/catch-syscall.exp: Remove check on isnative and target
8143         triplets.  Start gdb, execute catch syscall, and continue.  Check
8144         gdb's output to determine catch syscall is supported.
8145
8146 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
8147
8148         * gdb.rust/simple.rs: Add test for returning unit in a function.
8149         * gdb.rust/simple.exp: Add expectation for functions returning
8150         unit.
8151
8152 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
8153
8154         * gdb.python/py-breakpoint-create-fail.c,
8155         gdb.python/py-breakpoint-create-fail.exp,
8156         gdb.python/py-breakpoint-create-fail.py: New testcase.
8157
8158 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
8159
8160         PR gdb/20239
8161         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8162         * gdb.rust/simple.exp: Add test expectations for new NonZero
8163         tests.
8164
8165 2016-06-24  David Taylor  <dtaylor@emc.com>
8166
8167         * gdb.base/offsets.exp: New file.
8168         * gdb.base/offsets.c: New file.
8169
8170 2016-06-23  Tom Tromey  <tom@tromey.com>
8171
8172         PR gdb/16483:
8173         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8174         before any filters are loaded.
8175
8176 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8177
8178         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8179         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8180         structs.
8181         * gdb.fortran/derived-type-function.exp: New file.
8182         * gdb.fortran/derived-type-function.f90: New file.
8183
8184
8185 2016-06-21  Pedro Alves  <palves@redhat.com>
8186
8187         * gdb.base/new-ui.exp: New file.
8188         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8189         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8190         (with_spawn_id): New procedure.
8191
8192 2016-06-21  Pedro Alves  <palves@redhat.com>
8193
8194         * gdb.mi/mi-exec-run.exp: New file.
8195
8196 2016-06-21  Pedro Alves  <palves@redhat.com>
8197
8198         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8199         breakpoint command's output on the main UI.
8200         (test_break): New procedure, factored out from calls in the top
8201         level.
8202         (top level): Use foreach_with_prefix to test MI as main UI and as
8203         separate UI.
8204
8205 2016-06-21  Pedro Alves  <palves@redhat.com>
8206
8207         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8208         (test_awatch_creation_and_listing)
8209         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8210         Remove 'type' parameter.
8211         (test_watchpoint_all): New parameter mi_mode.  Remove
8212         with_test_prefix.
8213         (top level): Use foreach_with_prefix, and add main/separate UI MI
8214         testing axis.
8215
8216 2016-06-21  Pedro Alves  <palves@redhat.com>
8217
8218         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8219         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8220         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8221         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8222         (gdb_main_spawn_id, mi_spawn_id): Declare and
8223         comment.
8224         (mi_create_inferior_pty): New procedure,
8225         factored out from default_mi_gdb_start.
8226         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8227         procedures.
8228         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8229         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8230         Use mi_create_inferior_pty.
8231         (mi_gdb_start): Use eval to pass down args list.
8232
8233 2016-06-21  Pedro Alves  <palves@redhat.com>
8234
8235         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8236         * gdb.opt/inline-cmds.exp: Add MI tests.
8237
8238 2016-06-21  Pedro Alves  <palves@redhat.com>
8239
8240         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8241
8242 2016-06-21  Pedro Alves  <palves@redhat.com>
8243
8244         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8245         (top level): Use it instead of mi_execute_to.
8246
8247 2016-06-21  Pedro Alves  <palves@redhat.com>
8248
8249         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8250         (cont_handler_str): New.
8251         (signal_stop_handler): Set stop_handler_str instead of printing to
8252         stdout.
8253         (continue_handler): Set cont_handler_str instead of printing to
8254         stdout.
8255         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8256         mi_send_resuming_command.  Print stop_handler_str and
8257         cont_handler_str instead of expecting the python events print
8258         directly.
8259
8260 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
8261
8262         * gdb.base/jit-reader.exp: New file.
8263         * gdb.base/jithost.c: New file.
8264         * gdb.base/jithost.h: New file.
8265         * gdb.base/jitreader.c : New file.
8266         * gdb.base/jit-protocol.h: New file.
8267
8268 2016-06-17  Yao Qi  <yao.qi@linaro.org>
8269
8270         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8271         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
8272         and detach-on-fork.  Adjust tests.
8273         (top level): Invoke break_cond_on_syscall with combinations of
8274         syscall, follow-fork-mode and detach-on-fork.
8275
8276 2016-06-17  Yao Qi  <yao.qi@linaro.org>
8277
8278         * gdb.base/step-over-exit.c: New.
8279         * gdb.base/step-over-exit.exp: New.
8280
8281 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
8282
8283         * gdb.base/float.exp: Add target check for nds32*-*-*.
8284         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8285
8286 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
8287
8288         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8289         for unsupported target features.
8290         * gdb.base/call-rt-st.exp: Likewise.
8291         * gdb.base/call-sc.exp: Likewise.
8292         * gdb.base/call-signal-resume.exp: Likewise.
8293         * gdb.base/call-strs.exp: Likewise.
8294         * gdb.base/callexit.exp: Likewise.
8295         * gdb.base/callfuncs.exp: Likewise.
8296         * gdb.base/nodebug.exp: Likewise.
8297         * gdb.base/printcmds.exp: Likewise.
8298         * gdb.base/ptype.exp: Likewise.
8299         * gdb.base/structs.exp: Likewise.
8300         * gdb.base/unwindonsignal.exp: Likewise.
8301         * gdb.cp/gdb2495.exp: Likewise.
8302         * gdb.cp/templates.exp: Likewise.
8303         * gdb.cp/virtfunc.exp: Likewise.
8304         * gdb.threads/hand-call-in-threads.exp: Likewise.
8305         * gdb.threads/interrupted-hand-call.exp: Likewise.
8306         * gdb.threads/thread-unwindonsignal.exp: Likewise.
8307
8308 2016-06-10  Tom Tromey  <tom@tromey.com>
8309
8310         PR rust/20110:
8311         * gdb.rust/expr.exp: Add test for integer constant larger than
8312         i32.
8313
8314 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
8315
8316         * gdb.fortran/nested-funcs.exp: New.
8317         * gdb.fortran/nested-funcs.f90: New.
8318
8319 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
8320
8321         * gdb.base/examine-backward.c: New file.
8322         * gdb.base/examine-backward.exp: New file.
8323
8324 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
8325
8326         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8327         matching.
8328
8329 2016-06-02  Tom Tromey  <tom@tromey.com>
8330
8331         PR python/18984:
8332         * gdb.python/py-shared.exp: Add solib_name test.
8333
8334 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
8335
8336         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8337
8338 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
8339
8340         PR c++/19893
8341         * gdb.dwarf2/implref.exp: Rename to...
8342         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
8343         * gdb.dwarf2/implref-array.c: New file.
8344         * gdb.dwarf2/implref-array.exp: Likewise.
8345         * gdb.dwarf2/implref-global.c: Likewise.
8346         * gdb.dwarf2/implref-global.exp: Likewise.
8347         * gdb.dwarf2/implref-struct.c: Likewise.
8348         * gdb.dwarf2/implref-struct.exp: Likewise.
8349
8350 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8351
8352         * gdb.trace/trace-condition.exp: Add 64bit tests.
8353
8354 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8355
8356         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8357         bits types.
8358         (main): Adapt to 8 to 64 bits types.
8359         * gdb.trace/trace-condition.exp: Add new tests.
8360
8361 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8362
8363         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8364
8365 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8366
8367         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8368         Move condition tests...
8369         * gdb.trace/trace-condition.exp: Here.
8370
8371 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8372
8373         * gdb.trace/trace-condition.exp: Add counter-case tests.
8374
8375 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8376
8377         PR c++/15231
8378         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8379         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8380
8381 2016-05-27  Pedro Alves  <palves@redhat.com>
8382
8383         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8384         New procedure.
8385         (top level): Call it, and bail out of DejaGnu is known to be bad.
8386
8387 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
8388
8389         * gdb.base/whatis.c: Extend the test case.
8390         * gdb.base/whatis.exp: Add additional tests.
8391
8392 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8393
8394 * gdb.fortran/type.f90: Add pointer variable.
8395 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8396
8397 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8398
8399         * gdb.fortran/vla-type.exp: Fix testcase name.
8400
8401 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8402
8403         * gdb.fortran/vla-type.exp: Access elements in nested structs.
8404
8405 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8406
8407         * gdb.fortran/type.f90: Add nested structures.
8408         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8409         * gdb.fortran/derived-type.exp: Adapt expected output.
8410         * gdb.fortran/vla-type.exp: Adapt expected output.
8411
8412 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8413
8414         * gdb.fortran/whatis_type.exp: Adapt expected output.
8415
8416 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8417
8418         * gdb.fortran/print_type.exp: Fix expected output.
8419         * gdb.fortran/whatis_type.exp: Fix expected output.
8420
8421 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
8422
8423         * gdb.fortran/whatis_type.exp: Use multi_line.
8424
8425 2016-05-24  Tom Tromey  <tom@tromey.com>
8426
8427         PR python/17386:
8428         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8429         use value as an index.
8430
8431 2016-05-23  Tom Tromey  <tom@tromey.com>
8432
8433         PR python/17981:
8434         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8435         no-breakpoint case.
8436
8437 2016-05-24  Pedro Alves  <palves@redhat.com>
8438
8439         PR gdb/19828
8440         * gdb.threads/clone-attach-detach.c: New file.
8441         * gdb.threads/clone-attach-detach.exp: New file.
8442
8443 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
8444
8445         * gdb.base/annota-input-while-running.exp: Fix syntax error.
8446
8447 2016-05-23  Tom Tromey  <tom@tromey.com>
8448
8449         PR python/19438, PR python/18393:
8450         * gdb.python/py-progspace.exp: Add "dir" test.
8451         * gdb.python/py-objfile.exp: Add "dir" test.
8452
8453 2016-05-23  Yao Qi  <yao.qi@linaro.org>
8454
8455         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8456         * gdb.arch/thumb2-it.exp: Likewise.
8457
8458 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
8459
8460         * gdb.mi/mi-threads-interrupt.c: New file.
8461         * gdb.mi/mi-threads-interrupt.exp: New file.
8462
8463 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
8464
8465         PR gdb/18077
8466         * gdb.mi/mi-async-run.exp: New file.
8467         * gdb.mi/mi-async-run.c: New file.
8468
8469 2016-05-17  Tom Tromey  <tom@tromey.com>
8470             Manish Goregaokar <manishsmail@gmail.com>
8471
8472         * lib/rust-support.exp: New file.
8473         * lib/gdb.exp (skip_rust_tests): New proc.
8474         (build_executable_from_specs): Handle rust.
8475         * lib/future.exp (gdb_find_rustc): New proc.
8476         (gdb_default_target_compile): Handle rust.
8477         * gdb.rust/expr.exp: New file.
8478         * gdb.rust/generics.exp: New file.
8479         * gdb.rust/generics.rs: New file.
8480         * gdb.rust/methods.exp: New file.
8481         * gdb.rust/methods.rs: New file.
8482         * gdb.rust/modules.exp: New file.
8483         * gdb.rust/modules.rs: New file.
8484         * gdb.rust/simple.exp: New file.
8485         * gdb.rust/simple.rs: New file.
8486
8487 2016-05-17  Tom Tromey  <tom@tromey.com>
8488
8489         * gdb.base/default.exp (set language): Add rust.
8490
8491 2016-05-17  Tom Tromey  <tom@tromey.com>
8492
8493         * gdb.gdb/unittest.exp: New file.
8494
8495 2016-05-16  Yao Qi  <yao.qi@linaro.org>
8496
8497         * gdb.base/batch-preserve-term-settings.exp: Remove variable
8498         shell_prompt.  Update shell_prompt_re.
8499
8500 2016-05-12  Doug Evans  <dje@google.com>
8501
8502         PR symtab/19999
8503         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8504         $options when building executable.
8505         * gdb.dwarf2/fission-loclists-pie.S: New file.
8506         * gdb.dwarf2/fission-loclists-pie.exp: New file.
8507
8508 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
8509
8510         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8511         of [is_remote target],
8512
8513 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
8514
8515         * lib/gdb.exp (use_gdb_stub): New procedure.
8516
8517 2016-05-03  Yunlian Jiang <yunlian@google.com>
8518             Doug Evans  <dje@google.com>
8519
8520         PR symtab/19914
8521         * gdb.dwarf2/dwp-sepdebug.c: New file.
8522         * gdb.dwarf2/dwp-sepdebug.exp: New file.
8523
8524 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
8525
8526         * gdb.base/detach.exp: Remove is_remote check.
8527
8528 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
8529
8530         * gdb.base/annota-input-while-running.exp: Don't check for
8531         [is_remote target].  Enable annotations after running to main.
8532         Remove unused "set test..." line.
8533
8534 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
8535
8536         * gdb.trace/trace-enable-disable.exp: New file.
8537         * gdb.trace/trace-enable-disable.c: New file.
8538
8539 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
8540
8541         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8542         use it in info sharedlibrary test.
8543         * gdb.trace/ftrace-lock.exp: Likewise.
8544         * gdb.trace/ftrace.exp: Likewise.
8545         * gdb.trace/range-stepping.exp: Likewise.
8546         * gdb.trace/trace-break.exp: Likewise.
8547         * gdb.trace/trace-condition.exp: Likewise.
8548         * gdb.trace/trace-mt.exp: Likewise.
8549
8550 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
8551
8552         * lib/gdb.exp (gdb_load_shlibs): Rename to...
8553         (gdb_load_shlib): ... this.
8554         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8555         gdb_load_shlib.
8556         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8557         * gdb.base/ctxobj.exp: Likewise.
8558         * gdb.base/dprintf-pending.exp: Likewise.
8559         * gdb.base/dso2dso.exp: Likewise.
8560         * gdb.base/fixsection.exp: Likewise.
8561         * gdb.base/gcore-relro.exp: Likewise.
8562         * gdb.base/gdb1555.exp: Likewise.
8563         * gdb.base/global-var-nested-by-dso.exp: Likewise.
8564         * gdb.base/gnu-ifunc.exp: Likewise.
8565         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8566         * gdb.base/jit-so.exp (one_jit_test): Likewise.
8567         * gdb.base/pending.exp: Likewise.
8568         * gdb.base/print-file-var.exp: Likewise.
8569         * gdb.base/print-symbol-loading.exp: Likewise.
8570         * gdb.base/shlib-call.exp: Likewise.
8571         * gdb.base/shreloc.exp: Likewise.
8572         * gdb.base/so-impl-ld.exp: Likewise.
8573         * gdb.base/solib-disc.exp: Likewise.
8574         * gdb.base/solib-nodir.exp: Likewise.
8575         * gdb.base/solib-overlap.exp: Likewise.
8576         * gdb.base/solib-symbol.exp: Likewise.
8577         * gdb.base/solib-weak.exp (do_test): Likewise.
8578         * gdb.base/sym-file.exp: Likewise.
8579         * gdb.base/symtab-search-order.exp: Likewise.
8580         * gdb.base/type-opaque.exp: Likewise.
8581         * gdb.base/unload.exp: Likewise.
8582         * gdb.base/watchpoint-solib.exp: Likewise.
8583         * gdb.compile/compile.exp: Likewise.
8584         * gdb.cp/gdb2384.exp: Likewise.
8585         * gdb.cp/infcall-dlopen.exp: Likewise.
8586         * gdb.cp/re-set-overloaded.exp: Likewise.
8587         * gdb.fortran/library-module.exp: Likewise.
8588         * gdb.opt/solib-intra-step.exp: Likewise.
8589         * gdb.python/py-finish-breakpoint.exp: Likewise.
8590         * gdb.python/py-shared.exp: Likewise.
8591         * gdb.reverse/solib-precsave.exp: Likewise.
8592         * gdb.reverse/solib-reverse.exp: Likewise.
8593         * gdb.server/solib-list.exp: Likewise.
8594         * gdb.threads/dlopen-libpthread.exp: Likewise.
8595         * gdb.threads/tls-shared.exp: Likewise.
8596         * gdb.threads/tls-so_extern.exp: Likewise.
8597         * gdb.trace/change-loc.exp: Likewise.
8598         * gdb.trace/ftrace-lock.exp: Likewise.
8599         * gdb.trace/ftrace.exp: Likewise.
8600         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8601         * gdb.trace/pending.exp: Likewise.
8602         * gdb.trace/range-stepping.exp: Likewise.
8603         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8604         (strace_info_marker): Likewise.
8605         (strace_probe_marker): Likewise.
8606         (strace_trace_on_same_addr): Likewise.
8607         (strace_trace_on_diff_addr): Likewise.
8608         * gdb.trace/trace-break.exp: Likewise.
8609         * gdb.trace/trace-condition.exp: Likewise.
8610         * gdb.trace/trace-mt.exp: Likewise.
8611
8612 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
8613
8614         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
8615         result of gdb_remote_download.
8616         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8617         * gdb.base/dso2dso.exp: Likewise.
8618         * gdb.base/global-var-nested-by-dso.exp: Likewise.
8619         * gdb.base/print-file-var.exp: Likewise.
8620         * gdb.base/shlib-call.exp: Likewise.
8621         * gdb.base/shreloc.exp: Likewise.
8622         * gdb.base/solib-overlap.exp: Likewise.
8623         * gdb.base/solib-weak.exp (do_test): Likewise.
8624         * gdb.base/unload.exp: Likewise.
8625
8626 2016-04-27  Yao Qi  <yao.qi@linaro.org>
8627
8628         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8629         exists.
8630
8631 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
8632
8633         * vla-type.exp: Print structure from toplevel.
8634
8635 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
8636
8637         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8638         of dynamic types.
8639         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8640         of dynamic types.
8641
8642 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
8643
8644         * gdb.fortran/vla-type.f90: New file.
8645         * gdb.fortran/vla-type.exp: New file.
8646
8647 2016-04-25  Yao Qi  <yao.qi@linaro.org>
8648
8649         * gdb.base/branch-to-self.c: New file.
8650         * gdb.base/branch-to-self.exp: New file.
8651
8652 2016-04-22  Yao Qi  <yao.qi@linaro.org>
8653
8654         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8655         more after $hex.
8656
8657 2016-04-22  Yao Qi  <yao.qi@linaro.org>
8658
8659         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8660         * gdb.base/annota3.exp: Likewise.
8661
8662 2016-04-22  Yao Qi  <yao.qi@linaro.org>
8663
8664         * gdb.reverse/step-precsave.exp: Do one step and test program
8665         stops in "callee" and do multiple steps until program goes out
8666         of "callee".
8667         * gdb.reverse/step-reverse.exp: Likewise.
8668
8669 2016-04-22  Yao Qi  <yao.qi@linaro.org>
8670
8671         * gdb.trace/signal.exp: Also pass if
8672         $tracepoint_hits($i) > $iterations.
8673
8674 2016-04-22  Yao Qi  <yao.qi@linaro.org>
8675
8676         * gdb.trace/signal.c: New file.
8677         * gdb.trace/signal.exp: New file.
8678
8679 2016-04-19  Doug Evans  <xdje42@gmail.com>
8680
8681         * gdb.base/bad-file.exp: New file.
8682
8683 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
8684
8685         * gdb.dwarf2/implref.exp: New file.
8686
8687 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
8688
8689         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8690         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8691         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8692         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8693         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8694         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8695         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8696         * lib/fortran.exp (fortran_int4): New procedure.
8697         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8698         (fortran_logical4): Likewise.
8699
8700 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
8701
8702         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8703
8704 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
8705
8706         * lib/compiler.c: Add Intel specific preprocessor macros.
8707         * lib/compiler.cc: Likewise.
8708
8709 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
8710
8711         * gdb.server/connect-with-no-symbol-file.c: New file.
8712         * gdb.server/connect-with-no-symbol-file.exp: New file.
8713
8714 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
8715
8716         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8717
8718 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
8719
8720         * boards/gdbserver-base.exp (${board}_download): Copy source file to
8721         standard output directory.
8722
8723 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8724
8725         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8726
8727 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
8728
8729         * gdb.btrace/instruction_history.c (loop): Add declaration.
8730
8731 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8732
8733         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8734
8735 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
8736
8737         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8738         parentheses to print.
8739         (continue_handler): Likewise.
8740
8741 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
8742
8743         * gdb.server/solib-list.exp: Remove is_remote check.
8744         Pass shlib= to gdb_compile.  Don't link shared library with
8745         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
8746         Run binary filename through "readlink -f" on the target.
8747
8748 2016-04-08  Pedro Alves  <palves@redhat.com>
8749
8750         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
8751         interpreter filename as argument to gdbserver_spawn.
8752         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8753         Return empty if $last_loaded_file does not exist.
8754
8755 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8756
8757         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8758         * gdb.base/jit-main.c: Use exit after usage.
8759
8760 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8761
8762         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8763         GDBHISTSIZE prior to the tests.
8764         * gdb.base/gdbinit-history.exp: Likewise.
8765
8766 2016-04-07  Pedro Alves  <palves@redhat.com>
8767
8768         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8769         instead of build_executable.  Use gdb_load_shlibs.
8770
8771 2016-04-07  Yao Qi  <yao.qi@linaro.org>
8772
8773         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8774         Execute "si" command.
8775
8776 2016-04-07  Yao Qi  <yao.qi@linaro.org>
8777
8778         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8779         number instead of the comments on some line.
8780
8781 2016-04-06  Don Breazeal  <donb@codesourcery.com>
8782
8783         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8784         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8785
8786 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
8787
8788         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8789         standard_output_file.  Remove unused binfile variable.
8790
8791 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
8792
8793         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8794         * gdb.python/py-mi-objfile.exp: Match "list main" output
8795         in console format.
8796
8797 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
8798
8799         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8800         absolute.
8801
8802 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
8803
8804         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8805         absolute.
8806         * gdb.trace/ftrace.exp: Likewise.
8807         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8808         targets as well.
8809         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8810         (gdb_load_shlibs): Copy libraries to test directory when testing
8811         natively.  Only set solib-search-path if testing remotely.
8812         * lib/mi-support.exp (mi_load_shlibs): Likewise.
8813
8814 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
8815
8816         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8817         gdb_download.  Use it even if the target is not remote.
8818         * gdb.base/jit.exp (compile_jit_test): Likewise.
8819         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8820         output directory if the destination board is local, otherwise use
8821         the standard remote_download from DejaGnu.
8822         (gdb_download): Remove.
8823         (gdb_load_shlibs): Use gdb_remote_download instead of
8824         gdb_download.
8825         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8826         Use gdb_remote_download instead of gdb_download.  Use it even if
8827         the target is not remote.
8828         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8829         instead of gdb_download.
8830
8831 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
8832
8833         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8834         (test_insert_delete_modify): Call mi_load_shlibs before trying to
8835         run.
8836
8837 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
8838
8839         PR gdb/19820
8840         * gdb.base/printcmds.exp: Add artificial arrays tests.
8841
8842 2016-03-31  Pedro Alves  <palves@redhat.com>
8843
8844         PR gdb/19858
8845         * gdb.base/jit-main.c: Include unistd.h.
8846         (ATTACH): Define to 0 if not already defined.
8847         (wait_for_gdb, mypid): New globals.
8848         (WAIT_FOR_GDB): New macro.
8849         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
8850         some breakpoint locations.
8851         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8852         New procedures.
8853         (one_jit_test): Add REATTACH parameter, and handle it.  Use
8854         continue_to_test_location.
8855         (top level): Test attach, and adjusts calls to one_jit_test.
8856
8857 2016-03-31  Pedro Alves  <palves@redhat.com>
8858
8859         PR gdb/19858
8860         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
8861         BINSUFFIX parameter, and handle it.
8862         (top level): Adjust calls compile_jit_test.
8863
8864 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
8865
8866         PR python/19743
8867         * gdb.python/py-mi-events-gdb.py: New file.
8868         * gdb.python/py-mi-events.c: New file.
8869         * gdb.python/py-mi-events.exp: New file.
8870
8871 2016-03-30  Yao Qi  <yao.qi@linaro.org>
8872
8873         * gdb.reverse/until-precsave.exp: Match function name only.
8874         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8875         Move malloc to a condition block.
8876         * gdb.reverse/until-reverse.exp: Match function name only.
8877
8878 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8879
8880         * gdb.trace/ftrace.exp: Set arg0exp for s390.
8881         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8882         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8883         variable for GPR 0 instead of assuming it is register 0.
8884         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8885         * lib/trace-support.exp: Add s390 registers.
8886
8887 2016-03-29  Yao Qi  <yao.qi@linaro.org>
8888
8889         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8890
8891 2016-03-24  Yao Qi  <yao.qi@linaro.org>
8892
8893         * gdb.reverse/break-reverse.exp: Add quotation mark in the
8894         test message.
8895
8896 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8897
8898         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8899         maintaining separate logic for constructing the output path.
8900
8901 2016-03-16  Don Breazeal  <donb@codesourcery.com>
8902
8903         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8904         Retry fork and waitpid on interrupted system call errors.
8905         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8906         Use with_timeout_factor to increase timeout by factor of 10.
8907
8908 2016-03-15  Don Breazeal  <donb@codesourcery.com>
8909
8910         * gdb.cp/scope-err.cc: New test program.
8911         * gdb.cp/scope-err.exp: New test script.
8912         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8913         lines and "set breakpoint here" comment.
8914         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8915         Fixed some whitespace and format issues.
8916         * gdb.mi/mi-linespec-err-cp.cc: New test program.
8917         * gdb.mi/mi-linespec-err-cp.exp: New test script.
8918
8919 2016-03-15  Doug Evans  <dje@google.com>
8920
8921         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8922         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8923         All callers updated.  Add tests for enums, mixed flags register.
8924
8925 2016-03-15  Doug Evans  <dje@google.com>
8926
8927         * gdb.base/skip.c (main): Call test_skip_file_and_function.
8928         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8929
8930 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
8931
8932         * gdb.base/default.exp: Add $_as_string to the list of expected
8933         convenience functions.
8934
8935 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8936
8937         * gdb.base/maint.exp: New tests for 'maint info line-table'.
8938
8939 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
8940
8941         * gdb.python/py-as-string.exp: New file.
8942         * gdb.python/py-as-string.c: New file.
8943
8944 2016-03-09  Pedro Alves  <palves@redhat.com>
8945
8946         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8947         signal" -> "Thread NN received signal" output change.
8948         * gdb.threads/ia64-sigill.exp: Likewise.
8949         * gdb.threads/linux-dp.exp: Likewise.
8950         * gdb.threads/manythreads.exp: Likewise.
8951         * gdb.threads/pending-step.exp: Likewise.
8952         * gdb.threads/print-threads.exp: Likewise.
8953         * gdb.threads/sigstep-threads.exp: Likewise.
8954         * gdb.threads/staticthreads.exp: Likewise.
8955         * gdb.threads/tls.exp: Likewise.
8956
8957 2016-03-09  Pedro Alves  <palves@redhat.com>
8958
8959         * gdb.base/command-line-input.exp: New file.
8960
8961 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8962
8963         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8964         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8965         * gdb.trace/pending.exp: Accept leading dot before function name.
8966         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8967         * lib/trace-support.exp: Set registers for ppc.
8968
8969 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8970
8971         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8972         use it for disassembly; accept .main in addition to main in backtrace.
8973
8974 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
8975             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8976
8977         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8978         (gdb_recursion_test_ptr): New global variable.
8979         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8980         gdb_recursion_test.
8981         (gdb_c_test): Ditto.
8982
8983 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8984
8985         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8986         ordering.
8987
8988 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8989
8990         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8991         (bar): Add bar_start_lbl label.
8992         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8993         of foo/bar for emitting DWARF and tracing.
8994
8995 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
8996
8997         * analyze-racy-logs.py: Set executable bit.
8998
8999 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
9000
9001         * Makefile.in (DEFAULT_RACY_ITER): New variable.
9002         (CHECK_TARGET_TMP): Likewise.
9003         (check-single-racy): New rule.
9004         (check-parallel-racy): Likewise.
9005         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9006         (do-check-parallel-racy): New rule.
9007         (check-racy/%.exp): Likewise.
9008         * README (Racy testcases): New section.
9009         * analyze-racy-logs.py: New file.
9010
9011 2016-03-03  Doug Evans  <dje@google.com>
9012
9013         * gdb.base/skip.exp: Use with_test_prefix.
9014
9015 2016-03-03  Yao Qi  <yao.qi@linaro.org>
9016
9017         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9018         Invoke step_over_syscall "clone" and break_cond_on_syscall
9019         "clone".
9020         * gdb.base/step-over-clone.c: New file.
9021
9022 2016-03-03  Yao Qi  <yao.qi@linaro.org>
9023
9024         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9025         code format.
9026
9027 2016-03-03  Yao Qi  <yao.qi@linaro.org>
9028
9029         * gdb.base/disp-step-fork.c: Rename to ...
9030         * gdb.base/step-over-fork.c: ... it.  New file.
9031         * gdb.base/disp-step-vfork.c: Rename to ...
9032         * gdb.base/step-over-vfork.c: ... it.  New file.
9033         * gdb.base/disp-step-syscall.exp: Rename to ...
9034         * gdb.base/step-over-syscall.exp: ... it.  New file.
9035         (disp_step_cross_syscall): Rename to ...
9036         (step_over_syscall): ... it.
9037
9038 2016-03-03  Yao Qi  <yao.qi@linaro.org>
9039
9040         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9041         If target supports condition evaluation on target, invoke
9042         break_cond_on_syscall for fork and vfork.
9043
9044 2016-03-03  Yao Qi  <yao.qi@linaro.org>
9045
9046         * gdb.base/disp-step-syscall.exp: Don't invoke
9047         support_displaced_stepping.
9048         (disp_step_cross_syscall): Test with displaced stepping off and
9049         on if supported.
9050
9051 2016-03-03  Yao Qi  <yao.qi@linaro.org>
9052
9053         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9054         proc.
9055         (setup): New proc.
9056         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9057         and setup.
9058
9059 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
9060
9061         * gdb.fortran/vla-history.exp: Remove breakpoint.
9062
9063 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
9064
9065         * gdb.fortran/vla-history.exp: Lookup array elements and printing
9066         exceeds timeout.
9067
9068 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
9069
9070         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9071         breakpoint.
9072
9073 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
9074
9075         * gdb.mi/vla.f90: Nullify pointer after declaration.
9076
9077 2016-03-01  Pedro Alves  <palves@redhat.com>
9078
9079         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9080
9081 2016-03-01  Pedro Alves  <palves@redhat.com>
9082
9083         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9084         before anything else.
9085         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
9086         _GNU_SOURCE here.
9087         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9088         before anything else.
9089         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9090
9091 2016-03-01  Pedro Alves  <palves@redhat.com>
9092
9093         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9094
9095 2016-03-01  Yao Qi  <yao.qi@linaro.org>
9096
9097         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9098         prepare_for_testing.
9099
9100 2016-03-01  Yao Qi  <yao.qi@linaro.org>
9101
9102         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9103
9104 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9105
9106         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9107         manually constructing the output path.
9108
9109 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9110
9111         * gdb.arch/s390-stackless.S: New.
9112         * gdb.arch/s390-stackless.exp: New.
9113
9114 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
9115
9116         * gdb.dlang/circular.c: New file.
9117         * gdb.dlang/circular.exp: New file.
9118
9119 2016-02-26  Yao Qi  <yao.qi@linaro.org>
9120
9121         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9122         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9123         (testcases): Update.
9124
9125 2016-02-26  Yao Qi  <yao.qi@linaro.org>
9126
9127         * gdb.reverse/aarch64.c: Rename to ...
9128         * gdb.reverse/insn-reverse.c: ... it.
9129         * gdb.reverse/aarch64.exp: Rename to ...
9130         * gdb.reverse/insn-reverse.exp: ... it.
9131
9132 2016-02-26  Yao Qi  <yao.qi@linaro.org>
9133
9134         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9135         (testcase_ftype): New.
9136         (testcases): New array.
9137         (n_testcases): New.
9138         (main): Call each element in testcases.
9139         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9140         (read_testcase): New.
9141         Do the tests in a loop.
9142
9143 2016-02-25  Yao Qi  <yao.qi@linaro.org>
9144
9145         * gdb.base/branches.c: Remove.
9146
9147 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9148
9149         PR gdb/13808
9150         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9151
9152 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9153
9154         * gdb.trace/ftrace.exp: Remove unnecessary target check.
9155
9156 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9157
9158         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9159         change x86_64 call_insn to 'callq'.
9160
9161 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9162
9163         * gdb.trace/tfile-avx.c: Move to...
9164         * gdb.trace/tracefile-pseudo-reg.c: Here.
9165         * gdb.trace/tfile-avx.exp: Move to...
9166         * gdb.trace/tracefile-pseudo-reg.exp: Here.
9167
9168 2016-02-24  Gary Benson <gbenson@redhat.com>
9169
9170         * gdb.base/attach-pie-noexec.exp: Do not expect an error
9171         message on attach.
9172
9173 2016-02-23  Doug Evans  <dje@google.com>
9174
9175         * gdb.base/skip.c (test_skip): New function.
9176         (end_test_skip_file_and_function): New function.
9177         (test_skip_file_and_function): New function.
9178         * gdb.base/skip1.c (test_skip): New function.
9179         (skip1_test_skip_file_and_function): New function.
9180         * gdb.base/skip.exp: Add tests for new skip options.
9181         * gdb.base/skip-solib.exp: Update expected output.
9182         * gdb.perf/skip-command.cc: New file.
9183         * gdb.perf/skip-command.exp: New file.
9184         * gdb.perf/skip-command.py: New file.
9185
9186 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9187
9188         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9189         info registers pattern.
9190
9191 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
9192
9193         * lib/future.exp: Add D support.
9194         (gdb_find_gdc): New proc.
9195         (gdb_default_target_compile): Add D support.
9196
9197 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
9198
9199         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9200         user+system time.
9201         (trace_speed_test): Determine the iteration count for a time
9202         between 15..30 seconds.
9203
9204 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9205
9206         * gdb.arch/i386-mpx-sigsegv.c: New file.
9207         * gdb.arch/i386-mpx-sigsegv.exp: New file.
9208         * gdb.arch/i386-mpx-simple_segv.c: New file.
9209         * gdb.arch/i386-mpx-simple_segv.exp: New file.
9210
9211 2016-02-18  Yao Qi  <yao.qi@linaro.org>
9212
9213         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9214         Don't call setup_kfail.
9215
9216 2016-02-18  Yao Qi  <yao.qi@linaro.org>
9217
9218         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9219         Set "set breakpoint condition-evaluation" per $cond_bp_target.
9220
9221 2016-02-16  Doug Evans  <dje@google.com>
9222
9223         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
9224         * gdb.base/skip1.c: Ditto.
9225         * gdb.base/skip.exp: Whitespace cleanup.
9226
9227 2016-02-16  Don Breazeal  <donb@codesourcery.com>
9228
9229         PR remote/19496
9230         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9231         Remove kfail for PR remote/19496.
9232
9233 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
9234
9235         * lib/gdb.exp (standard_temp_file): Return a path specific to
9236         the runtest invocation.
9237
9238 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
9239
9240         * gdb.trace/save-trace.exp: Change relative path to be in the
9241         standard output directory.
9242
9243 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9244
9245         * gdb.arch/i386-prologue.c: Add missing prototypes.
9246
9247 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9248
9249         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9250         * gdb.arch/i386-prologue.exp: Likewise.
9251         * gdb.arch/i386-size.exp: Likewise.
9252
9253 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
9254
9255         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9256         define object file path.
9257         * gdb.btrace/gcore.exp: Use standard_output_file to define core
9258         file path.
9259         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9260         standard_output_file to define binfile.
9261
9262 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9263
9264         Fix compatibility with recent gfortran-5.3.1.
9265         * gdb.fortran/vla-history.exp (print vla1 allocated)
9266         (print vla2 allocated, print $2, print $3): Remove
9267         (print $4): Rename to ...
9268         (print $2): ... here.
9269         (print $9): Rename to ...
9270         (print $5): ... here.
9271         (print $10): Rename to ...
9272         (print $6): ... here.
9273         * gdb.fortran/vla.f90: Add pvla initialization.
9274
9275 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9276
9277         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9278         New test.
9279         * gdb.fortran/vla-value-sub.exp: Likewise.
9280
9281 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9282
9283         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9284
9285 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
9286
9287         * i386-biarch-core.exp: Define corefile using
9288         standard_output_file.
9289
9290 2016-02-12  Yao Qi  <yao.qi@linaro.org>
9291
9292         * gdb.arch/arm-single-step-kernel-helper.c: New.
9293         * gdb.arch/arm-single-step-kernel-helper.exp: New.
9294
9295 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
9296
9297         * gdb.btrace/tailcall-only.exp: New.
9298         * gdb.btrace/tailcall-only.c: New.
9299         * gdb.btrace/x86_64-tailcall-only.S: New.
9300         * gdb.btrace/i686-tailcall-only.S: New.
9301
9302 2016-02-11  Pedro Alves  <palves@redhat.com>
9303
9304         * README (Parallel testing): Add missing double quotes.
9305
9306 2016-02-11  Pedro Alves  <palves@redhat.com>
9307
9308         * README (Parallel testing): New section.
9309         (GDB_PARALLEL): Rewrite.
9310         (FORCE_PARALLEL): Document.
9311
9312 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9313
9314         * gdb.trace/tfile-avx.c: New test.
9315         * gdb.trace/tfile-avx.exp: New test.
9316
9317 2016-02-09  Keith Seitz  <keiths@redhat.com>
9318
9319         PR breakpoints/19546
9320         * gdb.base/infcall-exec.c: New file.
9321         * gdb.base/infcall-exec2.c: New file.
9322         * gdb.base/infcall-exec.exp: New file.
9323
9324 2016-02-09  Keith Seitz  <keiths@redhat.com>
9325
9326         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9327         (toplevel): Call test_bkpt_address.
9328
9329 2016-02-09  Keith Seitz  <keiths@redhat.com>
9330
9331         PR python/19506
9332         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9333         (toplevel): Call test_bkpt_address.
9334
9335 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
9336
9337         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9338         to AC_OUTPUT.
9339         * configure: Regenerate.
9340
9341 2016-02-09  Pedro Alves  <palves@redhat.com>
9342
9343         PR breakpoints/19548
9344         * gdb.base/execl-update-breakpoints.c (some_function): New
9345         function.
9346         (main): Call it.
9347         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9348         Tighten expected GDB output.
9349
9350 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
9351
9352         * Makefile.in (ALL_SUBDIRS): Remove.
9353         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9354         (distclean maintainer-clean realclean): Likewise.
9355         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9356         * configure: Regenerate.
9357         * gdb.ada/Makefile.in: Delete.
9358         * gdb.arch/Makefile.in: Likewise.
9359         * gdb.asm/Makefile.in: Likewise.
9360         * gdb.base/Makefile.in: Likewise.
9361         * gdb.btrace/Makefile.in: Likewise.
9362         * gdb.cell/Makefile.in: Likewise.
9363         * gdb.compile/Makefile.in: Likewise.
9364         * gdb.cp/Makefile.in: Likewise.
9365         * gdb.disasm/Makefile.in: Likewise.
9366         * gdb.dlang/Makefile.in: Likewise.
9367         * gdb.dwarf2/Makefile.in: Likewise.
9368         * gdb.fortran/Makefile.in: Likewise.
9369         * gdb.gdb/Makefile.in: Likewise.
9370         * gdb.go/Makefile.in: Likewise.
9371         * gdb.guile/Makefile.in: Likewise.
9372         * gdb.java/Makefile.in: Likewise.
9373         * gdb.linespec/Makefile.in: Likewise.
9374         * gdb.mi/Makefile.in: Likewise.
9375         * gdb.modula2/Makefile.in: Likewise.
9376         * gdb.multi/Makefile.in: Likewise.
9377         * gdb.objc/Makefile.in: Likewise.
9378         * gdb.opencl/Makefile.in: Likewise.
9379         * gdb.opt/Makefile.in: Likewise.
9380         * gdb.pascal/Makefile.in: Likewise.
9381         * gdb.perf/Makefile.in: Likewise.
9382         * gdb.python/Makefile.in: Likewise.
9383         * gdb.reverse/Makefile.in: Likewise.
9384         * gdb.server/Makefile.in: Likewise.
9385         * gdb.stabs/Makefile.in: Likewise.
9386         * gdb.threads/Makefile.in: Likewise.
9387         * gdb.trace/Makefile.in: Likewise.
9388         * gdb.xml/Makefile.in: Likewise.
9389         * lib/gdb.exp (make_gdb_parallel_path): Add check for
9390         GDB_PARALLEL.
9391         (standard_output_file): Remove check for GDB_PARALLEL, always
9392         return path in outputs/$subdir/$testname.
9393
9394 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
9395
9396         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9397         (site.exp): Assign abs_srcdir to tcl's srcdir.
9398
9399 2016-02-04  Yao Qi  <yao.qi@linaro.org>
9400
9401         * gdb.base/foll-exec-mode.c: Include limits.h.
9402         (main): Add parameters argc and argv.  Get directory from
9403         argv[0].
9404         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9405         compilation.
9406         * gdb.base/foll-exec.c: Include limits.h.
9407         (main): Add parameters argc and argv.
9408         Get directory from argv[0].
9409         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9410         Adjust tests on the number of lines as source code changed.
9411         * gdb.base/foll-vfork-exit.c: Include limits.h.
9412         (main): Add one line of statement before vfork.
9413         * gdb.base/foll-vfork.c: Include limits.h and string.h.
9414         (main): Add parameters argc and argv.  Get directory from
9415         argv[0].
9416         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9417         (setup_gdb): Set tbreak to skip some source lines.
9418         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9419         (main): Add parameters argc and argv.  Get directory from
9420         argv[0].
9421         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9422         compilation.
9423         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9424         (main): Add parameters argc and argv.  Get directory from
9425         argv[0].
9426         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9427         compilation.
9428
9429 2016-02-01  Doug Evans  <dje@google.com>
9430
9431         * gdb.base/skip.exp: Clean up multiple references to same test name.
9432
9433 2016-02-01  Pedro Alves  <palves@redhat.com>
9434
9435         PR remote/19496
9436         * gdb.threads/forking-threads-plus-breakpoint.exp
9437         (displaced_stepping_supported): New global.
9438         (probe_displaced_stepping_support): New procedure.
9439         (do_test): Add 'displaced' parameter, and use it.
9440         (top level): Check for displaced stepping support.  Add displaced
9441         stepping on/off testing axis.
9442
9443 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
9444
9445         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9446         pointer.  Don't perform further tests on the unassociated pointer
9447         if the first test fails.
9448
9449 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
9450
9451         * gdb.base/max-value-size.c: New file.
9452         * gdb.base/max-value-size.exp: New file.
9453         * gdb.base/huge.exp: Disable max-value-size for this test.
9454
9455 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
9456
9457         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9458
9459 2016-01-28  Yao Qi  <yao.qi@linaro.org>
9460
9461         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9462
9463 2016-01-25  Pedro Alves  <palves@redhat.com>
9464
9465         PR threads/19461
9466         * gdb.base/fork-running-state.c: New file.
9467         * gdb.base/fork-running-state.exp: New file.
9468
9469 2016-01-25  Pedro Alves  <palves@redhat.com>
9470
9471         PR gdb/19494
9472         * gdb.base/catch-fork-kill.c: New file.
9473         * gdb.base/catch-fork-kill.exp: New file.
9474
9475 2016-01-25  Pedro Alves  <palves@redhat.com>
9476
9477         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9478         Delete, moved to lib/gdb.exp.
9479         * gdb.threads/forking-threads-plus-breakpoint.exp
9480         (foreach_with_prefix): Likewise.
9481         * gdb.threads/process-dies-while-handling-bp.exp
9482         (foreach_with_prefix): Likewise.
9483         * lib/gdb.exp (foreach_with_prefix): New procedure.
9484
9485 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9486
9487         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9488         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9489
9490 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9491
9492         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9493         endian targets.
9494
9495 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9496             Pedro Alves  <palves@redhat.com>
9497
9498         Fix testsuite compatibility with Guile.
9499         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9500         number.
9501
9502 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9503
9504         Fix testsuite compatibility with Guile.
9505         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9506         (thread 1): New test for backtrace through signal handler.
9507
9508 2016-01-22  Yao Qi  <yao.qi@linaro.org>
9509
9510         PR testsuite/19491
9511         * gdb.base/multi-forks.c: Include
9512         ../lib/unbuffer_output.c
9513         (main): Call gdb_unbuffer_output.
9514
9515 2016-01-21  Doug Evans  <dje@google.com>
9516
9517         * lib/ada.exp (gdb_compile_ada): Fix typo.
9518
9519 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
9520
9521         * gdb.base/break-fun-addr.exp: New file.
9522         * gdb.base/break-fun-addr1.c: New file.
9523         * gdb.base/break-fun-addr2.c: New file.
9524
9525 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
9526
9527         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9528         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9529         enum flag values.
9530
9531 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9532
9533         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9534         when GDB can not set the vector return value.  Add more comments
9535         for clarification.
9536
9537 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9538
9539         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
9540         command.
9541
9542 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
9543
9544         * Makefile.in (DO_RUNTEST): Add --status and update usages.
9545
9546 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
9547
9548         * Makefile.in (check-single): Pass --status to runtest.
9549         (check/%.exp): Likewise.
9550
9551 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
9552
9553         * Makefile.in (check-parallel): Propagate return code from make
9554         do-check-parallel.
9555
9556 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9557
9558         * gdb.trace/ftrace.exp: Fix expected message on continue.
9559         * gdb.trace/pending.exp: Fix expected message on continue.
9560         * gdb.trace/trace-break.exp: Fix expected message on continue.
9561
9562 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
9563
9564         * lib/gdb.exp (gdb_test): Remove unused global references.
9565
9566 2016-01-18  Pedro Alves  <palves@redhat.com>
9567
9568         * gdb.base/async-shell.exp: Adjust expected output.
9569         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9570         * gdb.base/siginfo-thread.exp: Adjust expected output.
9571         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9572         * gdb.java/jnpe.exp: Adjust expected output.
9573         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9574         * gdb.threads/continue-pending-status.exp: Adjust expected output.
9575         * gdb.threads/leader-exit.exp: Adjust expected output.
9576         * gdb.threads/manythreads.exp: Adjust expected output.
9577         * gdb.threads/pthreads.exp: Adjust expected output.
9578         * gdb.threads/schedlock.exp: Adjust expected output.
9579         * gdb.threads/siginfo-threads.exp: Adjust expected output.
9580         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9581         expected output.
9582         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9583         output.
9584         * gdb.threads/sigthread.exp: Adjust expected output.
9585         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9586
9587 2016-01-18  Yao Qi  <yao.qi@linaro.org>
9588
9589         * gdb.guile/scm-section-script.c: Replace @progbits with
9590         %progbits.
9591         * gdb.python/py-section-script.c: Likewise.
9592
9593 2016-01-15  Pedro Alves  <palves@redhat.com>
9594
9595         * gdb.multi/tids.exp: Test star wildcard ranges.
9596
9597 2016-01-15  Pedro Alves  <palves@redhat.com>
9598
9599         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9600         command from "thread apply" invocation.
9601         (thr_apply_info_thr_invalid): Default the expected output to the
9602         input tid list.
9603         (top level): Add tests that use convenience variables.  Add tests
9604         for "thread apply" with a valid TID list, but missing the command.
9605
9606 2016-01-13  Pedro Alves  <palves@redhat.com>
9607
9608         * gdb.base/default.exp: Expect $_gthread as well.
9609         * gdb.multi/tids.exp: Test $_gthread.
9610         * gdb.threads/thread-specific.exp: Test $_gthread.
9611
9612 2016-01-13  Pedro Alves  <palves@redhat.com>
9613
9614         * gdb.multi/tids.exp: Test "info threads -gid".
9615
9616 2016-01-13  Pedro Alves  <palves@redhat.com>
9617
9618         * gdb.multi/tids.exp: Test InferiorThread.global_num and
9619         Breakpoint.thread.
9620         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9621
9622 2016-01-07  Pedro Alves  <palves@redhat.com>
9623
9624         * gdb.base/break.exp: Adjust to output changes.
9625         * gdb.base/hbreak2.exp: Likewise.
9626         * gdb.base/sepdebug.exp: Likewise.
9627         * gdb.base/watch_thread_num.exp: Likewise.
9628         * gdb.linespec/keywords.exp: Likewise.
9629         * gdb.multi/info-threads.exp: Likewise.
9630         * gdb.threads/thread-find.exp: Likewise.
9631         * gdb.multi/tids.c: New file.
9632         * gdb.multi/tids.exp: New file.
9633
9634 2016-01-13  Pedro Alves  <palves@redhat.com>
9635
9636         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9637
9638 2016-01-13  Pedro Alves  <palves@redhat.com>
9639
9640         * gdb.base/default.exp: Expect $_inferior as well.
9641         * gdb.multi/base.exp: Test $_inferior.
9642
9643 2016-01-13  Pedro Alves  <palves@redhat.com>
9644
9645         PR breakpoints/19388
9646         * gdb.base/catch-signal-siginfo-cond.c: New file.
9647         * gdb.base/catch-signal-siginfo-cond.exp: New file.
9648
9649 2016-01-12  Josh Stone  <jistone@redhat.com>
9650             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9651
9652         * gdb.base/catch-syscall.c (do_execve): New variable.
9653         (main): Conditionally trigger an execve.
9654         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9655         (test_catch_syscall_execve): New, check entry/return across execve.
9656         (do_syscall_tests): Call test_catch_syscall_execve.
9657
9658 2016-01-12  Pedro Alves  <palves@redhat.com>
9659
9660         * gdb.base/random-signal.exp (do_test): New procedure, with body
9661         of testcase moved in.
9662
9663 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9664             Pedro Alves  <palves@redhat.com>
9665
9666         * gdb.base/funcargs.exp (finish from indirectly called function):
9667         Reintroduce the case for 'First'.
9668
9669 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9670             Pedro Alves  <palves@redhat.com>
9671
9672         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9673         (tcatch_vfork_then_child_follow_exec)
9674         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9675         identification.
9676
9677 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9678
9679         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9680         and repeats to unlimited.
9681         * gdb.python/py-value.exp: Likewise.
9682         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9683         and repeats to unlimited.
9684
9685 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9686
9687         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9688         and reordering the functions.
9689         * gdb.multi/hangout.c: Likewise.
9690         * gdb.multi/hello.c: Likewise.
9691
9692 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
9693
9694         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9695         absolute.
9696         (SingleStatisticTestResult.report): Use dict.keys instead of
9697         dict.iterkeys.
9698
9699 2016-01-06  Pedro Alves  <palves@redhat.com>
9700
9701         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
9702
9703 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
9704
9705         * gdb.btrace/dlopen.exp: New.
9706         * gdb.btrace/dlopen.c: New.
9707         * gdb.btrace/dlopen-dso.c: New.
9708
9709 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
9710
9711         * lib/gdb.exp (gdb_test): Update comments to clarify that the
9712         PATTERN argument is optional.
9713
9714 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
9715
9716         * lib/ada.exp (target_compile_ada_from_dir): New function.
9717         (gdb_compile_ada): Reimplement avoiding the use of project files.
9718         * gdb.ada/gnat_ada.gpr: Delete.
9719         * gdb.ada/cond_lang.exp: Adjust test to make path before
9720         filename optional.
9721         * gdb.ada/small_reg_param.exp: Likewise.
9722
9723 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
9724
9725         * gdb.base/foll-vork.exp: Remove HP-UX special case.
9726
9727 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
9728
9729         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9730         case.
9731
9732 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
9733
9734         * gdb.base/break.exp: Remove dead code.
9735         * gdb.base/sepdebug.exp: Likewise.
9736
9737 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
9738
9739         * gdb.asm/asm-source.exp: Remove HP-UX references.
9740         * gdb.base/annota1.exp: Likewise.
9741         * gdb.base/annota3.exp: Likewise.
9742         * gdb.base/attach.exp: Likewise.
9743         * gdb.base/bigcore.exp: Likewise.
9744         * gdb.base/break.exp: Likewise.
9745         * gdb.base/call-ar-st.exp: Likewise.
9746         * gdb.base/callfuncs.exp: Likewise.
9747         * gdb.base/catch-fork-static.exp: Likewise.
9748         * gdb.base/display.exp: Likewise.
9749         * gdb.base/foll-exec-mode.exp: Likewise.
9750         * gdb.base/foll-exec.exp: Likewise.
9751         * gdb.base/foll-fork.exp: Likewise.
9752         * gdb.base/foll-vfork.exp: Likewise.
9753         * gdb.base/funcargs.exp: Likewise.
9754         * gdb.base/hbreak2.exp: Likewise.
9755         * gdb.base/inferior-died.exp: Likewise.
9756         * gdb.base/interrupt.exp: Likewise.
9757         * gdb.base/multi-forks.exp: Likewise.
9758         * gdb.base/nodebug.exp: Likewise.
9759         * gdb.base/sepdebug.exp: Likewise.
9760         * gdb.base/solib1.c: Likewise.
9761         * gdb.base/step-test.exp: Likewise.
9762         * gdb.mi/non-stop.c: Likewise.
9763         * gdb.mi/pthreads.c: Likewise.
9764         * gdb.multi/bkpt-multi-exec.ex: Likewise.
9765         * gdb.threads/pthreads.c: Likewise.
9766         * gdb.threads/staticthreads.exp: Likewise.
9767         * lib/future.exp: Likewise.
9768         * lib/gdb.exp: Likewise.
9769         * gdb.base/so-indr-cl.c: Remove.
9770         * gdb.base/so-indr-cl.exp: Likewise.
9771         * gdb.base/solib.c: Likewise.
9772         * gdb.base/solib.exp: Likewise.
9773         * gdb.base/solib2.c: Likewise.
9774
9775 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
9776
9777         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9778         * gdb.base/call-ar-st.exp: Likewise.
9779         * gdb.base/callfuncs.exp: Likewise.
9780         * gdb.base/condbreak.exp: Likewise.
9781         * gdb.base/constvars.exp: Likewise.
9782         * gdb.base/hbreak2.exp: Likewise.
9783         * gdb.base/langs.exp: Likewise.
9784         * gdb.base/list.exp: Likewise.
9785         * gdb.base/long_long.exp: Likewise.
9786         * gdb.base/ptype.exp: Likewise.
9787         * gdb.base/scope.exp: Likewise.
9788         * gdb.base/signals.exp: Likewise.
9789         * gdb.base/so-impl-ld.exp: Likewise.
9790         * gdb.base/varargs.exp: Likewise.
9791         * gdb.base/volatile.exp: Likewise.
9792         * gdb.base/whatis.exp: Likewise.
9793         * gdb.cp/cplusfuncs.exp: Likewise.
9794         * gdb.cp/inherit.exp: Likewise.
9795         * gdb.cp/local.exp: Likewise.
9796         * gdb.cp/member-ptr.exp: Likewise.
9797         * gdb.cp/method.exp: Likewise.
9798         * gdb.cp/overload.exp: Likewise.
9799         * gdb.cp/templates.exp: Likewise.
9800         * gdb.stabs/weird.exp: Likewise.
9801         * lib/compiler.c: Likewise.
9802         * lib/compiler.cc: Likewise.
9803         * lib/cp-support.exp: Likewise.
9804         * lib/gdb.exp: Likewise.
9805
9806 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
9807
9808         * configure.ac: Remove HP-UX case.
9809         * configure: Regenerate.
9810
9811 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
9812
9813         * lib/gdb.exp (gdb_compile): Add function doc.
9814
9815 2015-12-17  Pedro Alves  <palves@redhat.com>
9816
9817         PR threads/19354
9818         * gdb.multi/info-threads.exp: New file.
9819
9820 2015-12-15  Yao Qi  <yao.qi@linaro.org>
9821
9822         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9823         is aarch64*-*-*.
9824
9825 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9826
9827         * gdb.base/history-duplicates.exp: Skip if no readline support.
9828
9829 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9830
9831         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9832
9833 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9834
9835         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9836
9837 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9838
9839         * gdb.base/completion.exp: Skip tests that interrupt GDB with
9840         ctrl-C if nointerrupts target property is set.
9841         * gdb.base/double-prompt-target-event-error.exp: Likewise.
9842         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9843         * gdb.base/paginate-bg-execution.exp: Likewise.
9844         * gdb.base/paginate-execution-startup.exp: Likewise.
9845         * gdb.base/random-signal.exp: Likewise.
9846         * gdb.base/range-stepping.exp: Likewise.
9847         * gdb.cp/annota2.exp: Likewise.
9848         * gdb.cp/annota3.exp: Likewise.
9849         * gdb.gdb/selftest.exp: Likewise.
9850         * gdb.threads/continue-pending-status.exp: Likewise.
9851         * gdb.threads/leader-exit.exp: Likewise.
9852         * gdb.threads/manythreads.exp: Likewise.
9853         * gdb.threads/pthreads.exp: Likewise.
9854         * gdb.threads/schedlock.exp: Likewise.
9855         * gdb.threads/sigthread.exp: Likewise.
9856
9857 2015-12-11  Don Breazeal  <donb@codesourcery.com>
9858
9859         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9860         remote.
9861         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9862         * gdb.base/foll-exec.exp (main): Enable for target remote.
9863         * gdb.base/foll-fork.exp (main): Likewise.
9864         * gdb.base/foll-vfork.exp (main): Likewise.
9865         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9866         (proc continue_to_exit_bp_loc): Use clean_restart.
9867         * gdb.base/pie-execl.exp (main): Disable for target remote.
9868         * gdb.base/watch-vfork.exp (main): Enable for target remote.
9869         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9870         * gdb.threads/execl.exp (main): Likewise.
9871         * gdb.threads/fork-child-threads.exp (main): Likewise.
9872         * gdb.threads/fork-plus-threads.exp (main): Disable for target
9873         remote.
9874         * gdb.threads/fork-thread-pending.exp (main): Enable for target
9875         remote.
9876         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9877         pid.tid style ptids, instead of just tid.
9878         * gdb.threads/thread-execl.exp (main): Enable for target remote.
9879         * gdb.threads/watchpoint-fork.exp (main): Likewise.
9880         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9881         ptids, instead of just tid.
9882
9883 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9884
9885         * gdb.base/list.exp (test_list_forward): Add end of file error
9886         test.
9887         (test_repeat_list_command): Add end of file error test.
9888         (test_list_backwards): Add beginning of file error test.
9889
9890 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9891
9892         * gdb.base/list.exp (test_list_invalid_args): New function,
9893         defined, and called.
9894
9895 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9896
9897         * gdb.base/list.exp (test_list): Make test names unique.
9898
9899 2015-12-11  Yao Qi  <yao.qi@linaro.org>
9900
9901         * gdb.base/coremaker2.c: Remove.
9902
9903 2015-12-10  Pedro Alves  <palves@redhat.com>
9904
9905         * gdb.multi/base.exp: Remove stale "spaces" references.
9906
9907 2015-12-10  Pedro Alves  <palves@redhat.com>
9908
9909         * gdb.multi/base.exp: Don't use nowarnings.
9910         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9911         * gdb.multi/hangout.c: Include stdio.h.
9912         * gdb.multi/hello.c: Include stdlib.h.
9913         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9914         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9915         * gdb.multi/multi-arch.exp: Don't use nowarnings.
9916
9917 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
9918
9919         * gdb.dwarf2/dw2-ranges-base.c: New file.
9920         * gdb.dwarf2/dw2-ranges-base.exp: New file.
9921         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9922         support additional line table, and debug ranges generation.
9923         (Dwarf::ranges): New function, generate .debug_ranges.
9924         (Dwarf::lines): Support generating simple line table programs.
9925         (Dwarf::assemble): Initialise new namespace variables.
9926
9927 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
9928
9929         * gdb.base/async.exp (proc test_background): Add case for
9930         asynchronous execution not supported.
9931
9932 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
9933
9934         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9935           format and change test names to make them unique.
9936
9937 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
9938             Pedro Alves  <pedro@redhat.com>
9939
9940         PR gdb/18702
9941         Add checking of floatformats setup on x86_64 hosts.
9942         * gdb.arch/i386-float.S (main): Load bigval and smallval.
9943         (smallval, bigval): New labels/constants.
9944         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9945         float" after loading bigval and smallval.
9946
9947 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
9948
9949         * gdb.ada/fun_overload_menu.exp: New testcase.
9950         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9951
9952 2015-12-04  Josh Stone  <jistone@redhat.com>
9953
9954         * gdb.base/catch-fork-static.exp: New.
9955
9956 2015-12-03  Yao Qi  <yao.qi@linaro.org>
9957
9958         * gdb.base/sizeof.c: Don't include stdio.h and
9959         ../lib/unbuffer_output.c.
9960         (main): New variable 'size' and 'value'.  Remove printf and
9961         gdb_unbuffer_output.  Assign return value to size and value.
9962         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9963         at the beginning.
9964         (check_sizeof): Check the result by printing variable 'size'.
9965         (check_valueof): Check the result by printing variable 'value'.
9966
9967 2015-12-01  Yao Qi  <yao.qi@linaro.org>
9968
9969         * gdb.base/disp-step-syscall.exp: Define syscall instruction
9970         for aarch64*-*-linux* target.
9971
9972 2015-11-30  Pedro Alves  <palves@redhat.com>
9973
9974         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9975
9976 2015-11-30  Pedro Alves  <palves@redhat.com>
9977
9978         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9979         Handle non-stop mode vCont replies.
9980
9981 2015-11-30  Pedro Alves  <palves@redhat.com>
9982
9983         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9984         prepare_for_testing.  Start gdb with "set non-stop on" appended to
9985         GDBFLAGS.  Lax expected stop output.
9986
9987 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9988
9989         * gdb.arch/arm-neon.exp: New.
9990         * gdb.arch/arm-neon.c: New.
9991
9992 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9993
9994         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9995
9996 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9997
9998         * gdb.cp/annota2.exp: Allow multiple occurrences of the
9999         frames-invalid annotation.
10000
10001 2015-11-27  Yao Qi  <yao.qi@linaro.org>
10002
10003         * gdb.cp/annota2.exp: Use ${frames_invalid}.
10004
10005 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
10006
10007         * gdb.threads/names.exp: New file.
10008         * gdb.threads/names.c: New file.
10009         * README: Mention gdb,no_thread_names.
10010
10011 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
10012
10013         PR 19297
10014         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10015         support" error.
10016
10017 2015-11-24  Pedro Alves  <palves@redhat.com>
10018
10019         PR 17539
10020         * gdb.base/display.exp: Expect displays to be sorted in ascending
10021         order.  Use multi_line.
10022         * gdb.base/solib-display.exp: Likewise.
10023
10024 2015-11-24  Pedro Alves  <palves@redhat.com>
10025
10026         PR 17539
10027         * gdb.base/display.exp: Expect displays to be sorted in ascending
10028         order.  Use multi_line.
10029         * gdb.base/solib-display.exp: Likewise.
10030
10031 2015-11-24  Pedro Alves  <palves@redhat.com>
10032
10033         PR 17539
10034         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10035         threads in ascending order.
10036         * gdb.base/foll-fork.exp: Likewise.
10037         * gdb.base/foll-vfork.exp: Likewise.
10038         * gdb.base/multi-forks.exp: Likewise.
10039         * gdb.mi/mi-nonstop.exp: Likewise.
10040         * gdb.mi/mi-nsintrall.exp: Likewise.
10041         * gdb.multi/base.exp: Likewise.
10042         * gdb.multi/multi-arch.exp: Likewise.
10043         * gdb.python/py-inferior.exp: Likewise.
10044         * gdb.threads/break-while-running.exp: Likewise.
10045         * gdb.threads/execl.exp: Likewise.
10046         * gdb.threads/gcore-thread.exp: Likewise.
10047         * gdb.threads/info-threads-cur-sal.exp: Likewise.
10048         * gdb.threads/kill.exp: Likewise.
10049         * gdb.threads/linux-dp.exp: Likewise.
10050         * gdb.threads/multiple-step-overs.exp: Likewise.
10051         * gdb.threads/next-bp-other-thread.exp: Likewise.
10052         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10053         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10054         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10055         * gdb.threads/thread-find.exp: Likewise.
10056         * gdb.threads/tls.exp: Likewise.
10057         * lib/mi-support.exp (mi_reverse_list): Delete.
10058         (mi_check_thread_states): No longer reverse list.
10059
10060 2015-11-24  Pedro Alves  <palves@redhat.com>
10061
10062         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
10063         use lowercase.
10064
10065 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
10066
10067         * gdb.trace/actions.c: Include trace-common.h.
10068         (main): Add a location for a fast tracepoint.
10069         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10070         the normal tracepoints.
10071         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10072
10073 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
10074
10075         * save-trace.exp: Factor out code to these...
10076         (gdb_save_tracepoints): New.
10077         (gdb_load_tracepoints): New.
10078         (do_save_load_test): New.
10079
10080 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
10081
10082         * gdb.base/asmlabel.exp: New test.
10083         * gdb.base/asmlabel.c: New test case.
10084
10085 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
10086
10087         * gdb.base/wrong_frame_bt_full-main.c: New file.
10088         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10089         * gdb.base/wrong_frame_bt_full.exp: New file.
10090
10091 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
10092
10093         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10094
10095 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
10096
10097         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10098         pstate register when comparing registers values in
10099         sparc64-*-linux-gnu targets to avoid spurious differences.
10100
10101 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
10102
10103         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10104
10105 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
10106
10107         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10108         as type argument to gdb_compile.
10109         * gdb.base/nested-subp2.exp: Likewise.
10110         * gdb.base/nested-subp3.exp: Likewise.
10111
10112 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10113
10114         * lib/dwarf.exp (_note): Fix left shift of negative value.
10115         * gdb.trace/trace-condition.exp: Likewise.
10116
10117 2015-11-13  Yao Qi  <yao.qi@linaro.org>
10118
10119         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10120         comments about d10v.
10121         (test_scalar_returns): Likewise.
10122         * gdb.base/d10v.ld: Remove.
10123         * gdb.base/overlays.exp: Remove the target triplet checking for
10124         d10v-*-*.
10125         * gdb.base/structs.exp (test_struct_returns): Remove the
10126         comments about d10v.
10127         (test_struct_calls): Likewise.
10128
10129 2015-11-13  Yao Qi  <yao.qi@linaro.org>
10130
10131         * gdb.base/gnu_vector.exp: Check the return value by "p res".
10132         * gdb.base/gnu_vector.c: Don't include stdio.h.
10133         (main): Don't print res and call add_some_intvecs.
10134
10135 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
10136
10137         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10138         macro.
10139         (func5): Removed.
10140         (func4): Use FAST_TRACEPOINT_LABEL.
10141         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10142         macro.
10143         (func): Removed.
10144         (thread_function): Use FAST_TRACEPOINT_LABEL.
10145         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10146         (func): Remove.
10147         (marker): Use FAST_TRACEPOINT_LABEL.
10148         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10149         (pendfunc1): Remove.
10150         (pendfunc): Use FAST_TRACEPOINT_LABEL.
10151         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10152         (foo): Remove.
10153         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10154         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10155         macro.
10156         (func): Remove.
10157         (marker): Use FAST_TRACEPOINT_LABEL.
10158         * gdb.trace/trace-common.h: New header.
10159         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10160         macro.
10161         (func): Remove.
10162         (marker): Use FAST_TRACEPOINT_LABEL.
10163         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10164         (func): Remove.
10165         (thread_function): Use FAST_TRACEPOINT_LABEL.
10166
10167 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
10168
10169         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10170         in front.
10171         * gdb.trace/change-loc.exp: Use global pcreg definition.
10172         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10173         * gdb.trace/entry-values.exp: Use global spreg definition, add $
10174         in front.
10175         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10176         * gdb.trace/pending.exp: Likewise.
10177         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10178         * gdb.trace/trace-break.exp: Likewise.
10179         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10180         in front.
10181         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10182         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10183         in front.
10184         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10185
10186 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
10187
10188         * gdb.ada/fin_fun_out: New testcase.
10189
10190 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
10191
10192         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10193         value associated with DW_AT_byte_size.
10194         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10195         constants for DW_AT_byte_size, DW_AT_lower_bound, and
10196         DW_AT_upper_bound.
10197
10198 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
10199
10200         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10201         (gdb_target_symbol_prefix_flags): Define in terms of _asm
10202         version.
10203         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10204         gdb.dwarf2/dw2-canonicalize-type.exp,
10205         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10206         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10207         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10208         provided by gdb_target_symbol_prefix_flags_asm.
10209         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10210         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10211         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10212         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10213         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10214         macros where needed).  Use this macro for symbols which require
10215         the prefix provided by SYMBOL_PREFIX.
10216
10217 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
10218
10219         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10220         New procs.
10221         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10222         representing expressions, of more than one list element.
10223         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10224         to prepend linker symbol prefix to f.
10225         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10226         table_1 and table_2.
10227         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10228         Likewise, for f and g.
10229         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10230         for ptr.
10231         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10232         for main.
10233         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10234         table_1_ptr and table_2_ptr.
10235
10236 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10237             Joel Brobecker  <brobecker@adacore.com>
10238
10239         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10240
10241 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
10242
10243         * gdb.reverse/s390-mvcle.c: New test.
10244         * gdb.reverse/s390-mvcle.exp: New file.
10245         * lib/gdb.exp: Enable reverse tests on s390*-linux.
10246
10247 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
10248
10249         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10250
10251 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
10252
10253         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10254         reaching marker2.
10255         * gdb.reverse/getresuid-reverse.exp: Likewise.
10256         * gdb.reverse/pipe-reverse.exp: Likewise.
10257         * gdb.reverse/readv-reverse.exp: Likewise.
10258         * gdb.reverse/recvmsg-reverse.exp: Likewise.
10259         * gdb.reverse/time-reverse.exp: Likewise.
10260         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10261
10262 2015-10-30  Yao Qi  <yao.qi@linaro.org>
10263
10264         * gdb.threads/wp-replication.c (watch_count_done): Remove.
10265         (empty_cycle): Remove.
10266         (main): Don't call empty_cycle.  Don't use watch_count_done.
10267         * gdb.threads/wp-replication.exp: Don't set breakpoint on
10268         empty_cycle.  Rewrite the code counting HW watchpoints.
10269
10270 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
10271
10272         * gdb.reverse/fstatat-reverse.c: New test.
10273         * gdb.reverse/fstatat-reverse.exp: New file.
10274         * gdb.reverse/getresuid-reverse.c: New test.
10275         * gdb.reverse/getresuid-reverse.exp: New file.
10276         * gdb.reverse/pipe-reverse.c: New test.
10277         * gdb.reverse/pipe-reverse.exp: New file.
10278         * gdb.reverse/readv-reverse.c: New test.
10279         * gdb.reverse/readv-reverse.exp: New file.
10280         * gdb.reverse/recvmsg-reverse.c: New test.
10281         * gdb.reverse/recvmsg-reverse.exp: New file.
10282         * gdb.reverse/time-reverse.c: New test.
10283         * gdb.reverse/time-reverse.exp: New file.
10284         * gdb.reverse/waitpid-reverse.c: New test.
10285         * gdb.reverse/waitpid-reverse.exp: New file.
10286
10287 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10288
10289         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10290
10291 2015-10-26  Doug Evans  <dje@google.com>
10292
10293         PR symtab/17391
10294         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10295         * gdb.dwarf2/bad-regnum.c: New file.
10296         * gdb.dwarf2/bad-regnum.exp: New file.
10297
10298 2015-10-26  Doug Evans  <dje@google.com>
10299
10300         PR python/18938
10301         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10302         file.
10303
10304 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10305
10306         * gdb.compile/compile.exp (compile code globalvar): Update expectation
10307         for a change by "Mention language in compile error message".
10308
10309 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
10310
10311         PR python/18073
10312         * gdb.python/py-type.c (C::a_method): New.
10313         (C::a_const_method): New.
10314         (C::a_static_method): New.
10315         (a_function): New.
10316         * gdb.python/py-type.exp (test_fields): Test getting fields
10317         from function and method.
10318
10319 2015-10-21  Keven Boell  <keven.boell@intel.com>
10320
10321         * gdb.fortran/vla-alloc-assoc.exp: New file.
10322         * gdb.fortran/vla-datatypes.exp: New file.
10323         * gdb.fortran/vla-datatypes.f90: New file.
10324         * gdb.fortran/vla-history.exp: New file.
10325         * gdb.fortran/vla-ptype-sub.exp: New file.
10326         * gdb.fortran/vla-ptype.exp: New file.
10327         * gdb.fortran/vla-sizeof.exp: New file.
10328         * gdb.fortran/vla-sub.f90: New file.
10329         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10330         * gdb.fortran/vla-value-sub-finish.exp: New file.
10331         * gdb.fortran/vla-value-sub.exp: New file.
10332         * gdb.fortran/vla-value.exp: New file.
10333         * gdb.fortran/vla-ptr-info.exp: New file.
10334         * gdb.mi/mi-vla-fortran.exp: New file.
10335         * gdb.mi/vla.f90: New file.
10336
10337 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
10338
10339         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10340         of hardwired timeout value.
10341
10342 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10343             Pedro Alves  <palves@redhat.com>
10344
10345         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10346         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10347
10348 2015-10-19  Josh Stone  <jistone@redhat.com>
10349
10350         * gdb.base/catch-syscall.c: Include <sched.h>.
10351         (unknown_syscall): New variable.
10352         (main): Trigger a vfork and an unknown syscall.
10353         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10354         (unknown_syscall_number): Likewise.
10355         (check_call_to_syscall): Accept an optional syscall pattern.
10356         (check_return_from_syscall): Likewise.
10357         (check_continue): Likewise.
10358         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10359         (test_catch_syscall_skipping_return): New test toggling off 'catch
10360         syscall' to step over the syscall return, then toggling back on.
10361         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10362         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10363         (do_syscall_tests): Call test_catch_syscall_without_args and
10364         test_catch_syscall_mid_vfork.
10365         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10366         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10367
10368 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
10369
10370         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10371         print g_vE): Add new pass patterns.
10372         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10373         print various symbol names for vptr fields.
10374
10375 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
10376
10377         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10378         results.
10379
10380 2015-10-12  Yao Qi  <yao.qi@linaro.org>
10381
10382         * gdb.arch/disp-step-insn-reloc.exp: New test case.
10383
10384 2015-10-12  Yao Qi  <yao.qi@linaro.org>
10385
10386         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10387         is aarch64*-*-linux*.
10388
10389 2015-10-12  Yao Qi  <yao.qi@linaro.org>
10390
10391         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10392         (can_relocate_bcond_true): ... it.
10393         (can_relocate_bcond_false): New function.
10394         (foo): Likewise.
10395         (can_relocate_bl): Likewise.
10396         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10397         can_relocate_bl.
10398
10399 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
10400
10401         * gdb.base/nested-addr.c: New file.
10402         * gdb.base/nested-addr.exp: New testcase.
10403
10404 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
10405
10406         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10407         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10408         its output.  Ignore the output of "record goto begin" and instead
10409         check that GDB is replaying.
10410
10411 2015-10-09  Pedro Alves  <palves@redhat.com>
10412
10413         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10414         (top level): Use it in the run with no args test.
10415
10416 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
10417
10418         * gdb.dlang/properties.exp: New file.
10419
10420 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
10421
10422         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10423         whether or not address 0x1000 is mapped on the target.
10424
10425 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
10426
10427         * gdb.python/py-type.exp: Do not run tests if binaries fail to
10428         build.
10429
10430 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
10431
10432         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10433         instruction-history test.
10434
10435 2015-09-28  Doug Evans  <dje@google.com>
10436
10437         * gdb.base/gcore.c (array_func): Add reference to static_array.
10438
10439 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
10440
10441         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10442         source line.
10443
10444 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10445
10446         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10447         short or char as base type.
10448
10449 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10450
10451         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10452         to allow any size enum.
10453
10454 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10455
10456         * gdb.ada/array_ptr_renaming.exp: New testcase.
10457         * gdb.ada/array_ptr_renaming/foo.adb: New file.
10458         * gdb.ada/array_ptr_renaming/pack.ads: New file.
10459
10460 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
10461
10462         * gdb.trace/ftrace-lock.c: New file.
10463         * gdb.trace/ftrace-lock.exp: New file.
10464
10465 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
10466
10467         * gdb.arch/insn-reloc.c: New file.
10468         * gdb.arch/ftrace-insn-reloc.exp: New file.
10469
10470 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
10471
10472         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10473         instruction.
10474         * gdb.trace/pendshr1.c (pendfunc): Likewise.
10475         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10476         * gdb.trace/range-stepping.c: Likewise.
10477         * gdb.trace/trace-break.c: Likewise.
10478         * gdb.trace/trace-mt.c (thread_function): Likewise.
10479         * gdb.trace/ftrace.c (marker): Likewise.
10480         * gdb.trace/trace-condition.c (marker): Likewise.
10481         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10482         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10483         is_aarch64_target.
10484
10485 2015-09-18  Doug Evans  <xdje42@gmail.com>
10486
10487         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10488         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10489
10490 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
10491
10492         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10493         the breakpoint.
10494
10495 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
10496
10497         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10498         the pending breakpoint.  Remove timeout override for "Run till
10499         MI pending breakpoint on pendfunc3 on thread 2" test.
10500
10501 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
10502
10503         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10504         filename pattern.
10505
10506 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
10507
10508         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10509         in breakpoint filename pattern.
10510
10511 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
10512
10513         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10514
10515 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
10516
10517         * gdb.linespec/explicit.exp: Check for readline support for
10518         tab-completion tests.  Fix obvious typo.
10519
10520 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
10521
10522         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10523         and replay.
10524
10525 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
10526
10527         * gdb.btrace/non-stop.c: New.
10528         * gdb.btrace/non-stop.exp: New.
10529
10530 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
10531             Yao Qi  <yao.qi@linaro.org>
10532
10533         * gdb.trace/trace-condition.c: New file.
10534         * gdb.trace/trace-condition.exp: New file.
10535
10536 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
10537
10538         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10539         for testing bytecode compilation.
10540
10541 2015-09-16  Pedro Alves  <palves@redhat.com>
10542             Sandra Loosemore <sandra@codesourcery.com>
10543
10544         * gdb.threads/non-stop-fair-events.c (timeout): New global.
10545         (SECONDS): Redefine.
10546         (main): Call pthread_kill and alarm early.
10547         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10548         support.
10549         (test): If the target can't hardware step and doesn't support
10550         displaced stepping, increase the timeout.
10551
10552 2015-09-16  Pedro Alves  <palves@redhat.com>
10553
10554         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10555         (enable_debug): New procedures.
10556         (test): Use them.  Bail out if waiting for threads fails.
10557         (top level): Bail out if a test fails.
10558
10559 2015-09-16  Yao Qi  <yao.qi@linaro.org>
10560
10561         * gdb.asm/asm-source.exp: Set asm-arch for
10562         aarch64*-*-* target.
10563         * gdb.asm/aarch64.inc: New file.
10564
10565 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
10566
10567         * gdb.ada/array_of_variable_length.exp: New testcase.
10568         * gdb.ada/array_of_variable_length/foo.adb: New file.
10569         * gdb.ada/array_of_variable_length/pck.adb: New file.
10570         * gdb.ada/array_of_variable_length/pck.ads: New file.
10571
10572 2015-09-15  Doug Evans  <dje@google.com>
10573
10574         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10575         of function static local variable.
10576
10577 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
10578
10579         * gdb.threads/tls-so_extern.exp: New test file.
10580         * gdb.threads/tls-so_extern.c: New test file.
10581         * gdb.threads/tls-so_extern_main.c: New test file.
10582
10583 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10584
10585         * gdb.opt/solib-intra-step-lib.c: New file.
10586         * gdb.opt/solib-intra-step-main.c: New file.
10587         * gdb.opt/solib-intra-step.exp: New file.
10588
10589 2015-09-15  Pedro Alves  <palves@redhat.com>
10590
10591         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10592         gdb_continue_to_breakpoint instead of gdb_test_multiple.
10593
10594 2015-09-14  Pedro Alves  <palves@redhat.com>
10595
10596         * gdb.base/hook-stop-continue.c: Delete.
10597         * gdb.base/hook-stop-continue.exp: Delete.
10598         * gdb.base/hook-stop-frame.c: Delete.
10599         * gdb.base/hook-stop-frame.exp: Delete.
10600         * gdb.base/hook-stop.c: New file.
10601         * gdb.base/hook-stop.exp: New file.
10602
10603 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
10604
10605         * gdb.ada/access_to_packed_array.exp: New testcase.
10606         * gdb.ada/access_to_packed_array/foo.adb: New file.
10607         * gdb.ada/access_to_packed_array/pack.adb: New file.
10608         * gdb.ada/access_to_packed_array/pack.ads: New file.
10609
10610 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
10611
10612         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10613         buffer size test.
10614
10615 2015-09-11  Don Breazeal  <donb@codesourcery.com>
10616
10617         * gdb.base/foll-exec.c: Add copyright header.  Fix
10618         formatting issues.
10619         * gdb.base/foll-exec.exp (zap_session): Delete proc.
10620         (do_exec_tests): Use clean_restart in place of zap_session,
10621         and for test initialization.  Fix formatting issues.  Use
10622         fail in place of perror.
10623         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10624         an expect statement to match an expression with output from
10625         the program under debug.
10626         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10627         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10628         * gdb.threads/non-ldr-exc-2.exp: Likewise.
10629         * gdb.threads/non-ldr-exc-3.exp: Likewise.
10630         * gdb.threads/non-ldr-exc-4.exp: Likewise.
10631
10632 2015-09-09  Doug Evans  <dje@google.com>
10633
10634         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10635
10636 2015-09-09  Doug Evans  <dje@google.com>
10637
10638         * gdb.base/pie-execl.exp: Fix result test of build_executable.
10639
10640 2015-09-09  Doug Evans  <dje@google.com>
10641
10642         * gdb.base/savedregs.exp: Fix typo.
10643
10644 2015-09-09  Pedro Alves  <palves@redhat.com>
10645
10646         * gdb.mi/mi-cli.exp: Add CLI finish tests.
10647
10648 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
10649
10650         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10651         command actually switches threads.  Give up on remaining
10652         tests if target fails to stop at breakpoint.
10653
10654 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10655
10656         * gdb.ada/funcall_char.exp: New testcase.
10657         * gdb.ada/funcall_char/foo.adb: New file.
10658
10659 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10660
10661         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10662         expected outputs.  Add two testcases for completing ambiguous
10663         functions.
10664         * gdb.ada/complete/aux_pck.adb: New file.
10665         * gdb.ada/complete/aux_pck.ads: New file.
10666         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10667         Ambiguous_Func functions.
10668         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10669         * gdb.ada/complete/pck.adb: Likewise.
10670
10671 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
10672
10673         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10674         failures to run the test program under GDB.
10675
10676 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
10677
10678         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10679         to C.
10680
10681 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
10682
10683         * gdb.base/run-after-attach.exp: New test file.
10684         * gdb.base/run-after-attach.c: New test file.
10685
10686 2015-08-26  Don Breazeal  <donb@codesourcery.com>
10687
10688         * gdb.base/foll-exec-2.c: New test program.
10689         * gdb.base/foll-exec-2.exp: New test.
10690
10691 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
10692
10693         * gdb.base/nested-subp1.exp: New file.
10694         * gdb.base/nested-subp1.c: New file.
10695         * gdb.base/nested-subp2.exp: New file.
10696         * gdb.base/nested-subp2.c: New file.
10697         * gdb.base/nested-subp3.exp: New file.
10698         * gdb.base/nested-subp3.c: New file.
10699
10700 2015-08-24  Pedro Alves  <palves@redhat.com>
10701
10702         * gdb.server/connect-without-multi-process.c: New file.
10703         * gdb.server/connect-without-multi-process.exp: New file.
10704
10705 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
10706
10707         * gdb.opt/inline-markers.c: Make z int.
10708
10709 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
10710
10711         * gdb.opt/inline-markers.c: Make z volatile.
10712
10713 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
10714
10715         * gdb.opt/inline-bt.c: New volatile global z.
10716         * gdb.opt/inline-cmds.c: Likewise.
10717         * gdb.opt/inline-locals.c: Likewise.
10718         * gdb.opt/inline-markers.c: New extern global z.
10719         (marker): Use z.
10720         (inline_fn): Likewise.
10721
10722 2015-08-24  Pedro Alves  <palves@redhat.com>
10723
10724         * config/m32r-stub.exp: Remove file.
10725         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10726         * gdb.base/call-rt-st.exp: Likewise.
10727         * gdb.base/call-strs.exp: Likewise.
10728         * gdb.base/default.exp: Remove references to h8300-*-hms and
10729         *-*-udi*.
10730         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10731
10732 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10733
10734         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10735         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
10736         and "return" use KFAIL when GDB can not read/write the vector
10737         return value.
10738
10739 2015-08-21  Gary Benson <gbenson@redhat.com>
10740
10741         * gdb.trace/pending.exp: Cope with remote transfer warnings.
10742
10743 2015-08-20  Pedro Alves  <palves@redhat.com>
10744
10745         * gdb.server/solib-list.exp: No longer expect an interior stop in
10746         non-stop mode.
10747
10748 2015-08-20  Pedro Alves  <palves@redhat.com>
10749
10750         * gdb.server/connect-stopped-target.c: New file.
10751         * gdb.server/connect-stopped-target.exp: New file.
10752
10753 2015-08-20  Pedro Alves  <palves@redhat.com>
10754
10755         * gdb.dwarf2/comp-unit-lang.exp: New file.
10756         * gdb.dwarf2/comp-unit-lang.c: New file.
10757
10758 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
10759
10760         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10761         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10762
10763 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
10764
10765         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10766         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10767
10768 2015-08-18  Doug Evans  <dje@google.com>
10769             Adrian Sendroiu <adrian.sendroiu@freescale.com>
10770
10771         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10772         skip_python_tests.  New arg prompt_regexp.
10773         (skip_python_tests): New function.
10774         * lib/mi-support.exp (mi_skip_python_tests): New function.
10775         * gdb.python/py-mi-objfile-gdb.py: New file.
10776         * gdb.python/py-mi-objfile.c: New file.
10777         * gdb.python/py-mi-objfile.exp: New file.
10778
10779 2015-08-17  Keith Seitz  <keiths@redhat.com>
10780
10781         * gdb.linespec/explicit.exp: Move strace test from here ...
10782         * gdb.trace/strace.exp: ... to here.
10783
10784 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
10785
10786         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10787         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10788
10789 2015-08-14  Doug Evans  <xdje42@gmail.com>
10790
10791         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10792         inferior before selecting a new file.
10793
10794 2015-08-14  Doug Evans  <xdje42@gmail.com>
10795
10796         * gdb.mi/mi-disassemble.exp: Update.
10797         * gdb.base/disasm-optim.S: New file.
10798         * gdb.base/disasm-optim.c: New file.
10799         * gdb.base/disasm-optim.h: New file.
10800         * gdb.base/disasm-optim.exp: New file.
10801
10802 2015-08-14  Keith Seitz  <keiths@redhat.com>
10803
10804         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10805         "evaluated-by".
10806
10807 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
10808
10809         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10810
10811 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
10812
10813         * gdb.ada/fun_renaming.exp: New testcase.
10814         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10815         * gdb.ada/fun_renaming/pack.adb: New file.
10816         * gdb.ada/fun_renaming/pack.ads: New file.
10817
10818 2015-08-12  Keith Seitz  <keiths@redhat.com>
10819
10820         * gdb.base/dso2dso.exp: Pass basename of source file in call to
10821         gdb_get_line_number.
10822
10823 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
10824
10825         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10826         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10827         gdb.base/dso2dso.exp: New files.
10828
10829 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
10830             Pedro Alves  <palves@redhat.com>
10831             Keith Seitz  <keiths@redhat.com>
10832
10833         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10834         GDBFLAGS.
10835
10836 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
10837
10838         * gdb.base/gdbhistsize-history.exp
10839         (test_histsize_history_setting): Use save_vars.
10840         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10841         Use save_vars.
10842         (test_no_truncation_of_unlimited_history_file): Use save_vars.
10843         * gdb.base/readline.exp: Use save_vars.
10844
10845 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
10846
10847         * lib/gdb.exp (save_vars): New proc.
10848
10849 2015-08-11  Keith Seitz  <keiths@redhat.com>
10850
10851         * gdb.base/help.exp: Update help_breakpoint_text.
10852
10853 2015-08-11  Keith Seitz  <keiths@redhat.com>
10854
10855         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10856         (at toplevel): Call test_explicit_breakpoints.
10857         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10858         breakpoints.
10859         * lib/mi-support.exp (mi_make_breakpoint): Add support for
10860         breakpoint conditions, "-cond".
10861
10862 2015-08-11  Keith Seitz  <keiths@redhat.com>
10863
10864         * gdb.linespec/3explicit.c: New file.
10865         * gdb.linespec/cpexplicit.cc: New file.
10866         * gdb.linespec/cpexplicit.exp: New file.
10867         * gdb.linespec/explicit.c: New file.
10868         * gdb.linespec/explicit.exp: New file.
10869         * gdb.linespec/explicit2.c: New file.
10870         * gdb.linespec/ls-errs.exp: Add explicit location tests.
10871         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10872         before using in the matching pattern.
10873         Clarify that `prefix' is a regular expression.
10874
10875 2015-08-11  Keith Seitz  <keiths@redhat.com>
10876
10877         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10878         test.
10879         Add tests for missing ",FMT" and ",".
10880
10881 2015-08-10  Doug Evans  <dje@google.com>
10882             Keith Seitz  <keiths@redhat.com>
10883
10884         PR gdb/17960
10885         * gdb.base/completion.exp: Add location completer tests.
10886
10887 2015-08-07  Pedro Alves  <palves@redhat.com>
10888
10889         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10890         tests here.
10891         (top level): Run do_test with and without displaced stepping.
10892
10893 2015-08-07  Pedro Alves  <palves@redhat.com>
10894
10895         * gdb.base/valgrind-disp-step.c: New file.
10896         * gdb.base/valgrind-disp-step.exp: New file.
10897
10898 2015-08-07  Pedro Alves  <palves@redhat.com>
10899
10900         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10901         Delete function.
10902         (main): Add alarm.  Run an infinite loop instead of calling
10903         wait_threads.
10904         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10905         comment.
10906         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10907         Delete function.
10908         (main): Add alarm.  Run an infinite loop instead of calling
10909         wait_threads.
10910         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10911         comment.
10912
10913 2015-08-07  Pedro Alves  <palves@redhat.com>
10914
10915         * gdb.base/checkpoint-ns.exp: New file.
10916         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10917         standard_testfile.
10918
10919 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
10920
10921         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10922         * gdb.btrace/instruction_history.exp: Update.
10923         * gdb.btrace/tsx.exp: New.
10924         * gdb.btrace/tsx.c: New.
10925
10926 2015-08-06  Pedro Alves <palves@redhat.com>
10927
10928         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10929         increase timeout.
10930         * gdb.reverse/until-precsave.exp: Bump timeouts.
10931
10932 2015-08-06  Pedro Alves  <palves@redhat.com>
10933
10934         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10935
10936 2015-08-06  Pedro Alves  <palves@redhat.com>
10937
10938         PR gdb/18749
10939         * gdb.threads/process-dies-while-handling-bp.c: New file.
10940         * gdb.threads/process-dies-while-handling-bp.exp: New file.
10941
10942 2015-08-06  Pedro Alves  <palves@redhat.com>
10943
10944         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10945         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10946
10947 2015-08-05  Pedro Alves  <palves@redhat.com>
10948
10949         * gdb.threads/next-while-other-thread-longjmps.c: New file.
10950         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10951
10952 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
10953
10954         * gdb.base/bp-permanent.exp: Report test as unsupported if
10955         the target cannot stop at the permanent breakpoint.
10956
10957 2015-08-03  Doug Evans  <dje@google.com>
10958
10959         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10960         10000.
10961
10962 2015-08-03  Doug Evans  <dje@google.com>
10963
10964         * Makefile.in (workers/%.worker, build-perf): New rule.
10965         (GDB_PERFTEST_MODE): New variable.
10966         (check-perf): Use it.
10967         (clean): Clean up gdb.perf parallel build subdirs.
10968         * lib/build-piece.exp: New file.
10969         * lib/gdb.exp (make_gdb_parallel_path): New function
10970         (standard_output_file, standard_temp_file): Call it.
10971         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10972         of $GDB_PARALLEL.
10973         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10974
10975 2015-08-03  Doug Evans  <dje@google.com>
10976
10977         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10978         (LOG_FILE_NAME): New global.
10979         (TextReporter.__init__): Initialize self.txt_sum.
10980         (TextReporter.report): Add support for multiple data-points.
10981         Move report to perftest.sum, put raw data in perftest.log.
10982         (TextReporter.start): Open sum and log files.
10983         (TextReporter.end): Close sum and log files.
10984         * gdb.perf/lib/perftest/testresult.py
10985         (SingleStatisticTestResult.record): Handle multiple data-points.
10986
10987 2015-07-31  Pedro Alves  <palves@redhat.com>
10988
10989         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10990         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
10991         kill_wait_spawned_process instead of explicit "kill -9".
10992         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10993         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
10994         kill_wait_spawned_process.
10995         * gdb.base/attach-twice.exp: Likewise.
10996         * gdb.base/attach.exp: Likewise.
10997         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10998         gdb_test_multiple.
10999         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11000         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
11001         kill_wait_spawned_process.
11002         * gdb.base/valgrind-infcall.exp: Likewise.
11003         * gdb.multi/multi-attach.exp: Likewise.
11004         * gdb.python/py-prompt.exp: Likewise.
11005         * gdb.python/py-sync-interp.exp: Likewise.
11006         * gdb.server/ext-attach.exp: Likewise.
11007         * gdb.threads/attach-into-signal.exp (corefunc): Use
11008         spawn_wait_for_attach, spawn_id_get_pid and
11009         kill_wait_spawned_process.
11010         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11011         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
11012         spawn_id_get_pid and kill_wait_spawned_process.
11013         * gdb.threads/attach-stopped.exp (corefunc): Use
11014         spawn_wait_for_attach, spawn_id_get_pid and
11015         kill_wait_spawned_process.
11016         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11017         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
11018         kill_wait_spawned_process instead of explicit "kill -9".
11019         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11020         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11021         (spawn_wait_for_attach): Use spawn instead of exec to spawn
11022         processes.  Don't map cygwin/windows pids here.  Now returns a
11023         spawn id list.
11024
11025 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
11026
11027         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11028         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11029         correct patch.
11030
11031 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
11032
11033         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11034
11035 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
11036
11037         Reapply:
11038         2014-05-21  Mark Wielaard  <mjw@redhat.com>
11039
11040         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11041
11042 2015-07-30  Pedro Alves  <palves@redhat.com>
11043
11044         * linux-low.c (handle_extended_wait): Set the child's last
11045         reported status to TARGET_WAITKIND_STOPPED.
11046
11047 2015-07-30  Pedro Alves  <palves@redhat.com>
11048
11049         PR threads/18600
11050         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11051         only shows inferior 1.
11052
11053 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
11054             Pedro Alves  <palves@redhat.com>
11055
11056         PR threads/18600
11057         * gdb.threads/fork-plus-threads.c: New file.
11058         * gdb.threads/fork-plus-threads.exp: New file.
11059
11060 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
11061
11062         * gdb.base/batch-preserve-term-settings.exp
11063         (test_terminal_settings_preserved_after_cli_exit): Use
11064         send_quit_command.
11065
11066 2015-07-29  Pedro Alves  <palves@redhat.com>
11067             Don Breazeal  <donb@codesourcery.com>
11068
11069         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11070         output from both inferior_spawn_id and gdb_spawn_id.
11071
11072 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
11073
11074         * gdb.threads/attach-into-signal.exp (corefunc): Use
11075         with_test_prefix on nested loops, uniquefying the test messages.
11076
11077 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
11078
11079         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11080         commit.
11081
11082 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
11083
11084         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11085         New proc.
11086         (test_terminal_settings_preserved_after_sigterm): New test.
11087
11088 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
11089
11090         * gdb.base/batch-preserve-term-settings.exp
11091         (test_terminal_settings_preserved_after_cli_exit): New test.
11092
11093 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
11094
11095         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11096         manipulation of saved_gdbflags.
11097         (test_terminal_settings_preserved): Remove global declaration of
11098         the unused variable pagination_prompt.  Remove manipulation of
11099         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
11100         GDBFLAGS.
11101
11102 2015-07-29  Pedro Alves  <palves@redhat.com>
11103
11104         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11105
11106 2015-07-29  Pedro Alves  <palves@redhat.com>
11107
11108         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11109         at the top.
11110
11111 2015-07-29  Pedro Alves  <palves@redhat.com>
11112
11113         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11114         (main): Call gdb_unbuffer_output.
11115         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11116         (main): Call gdb_unbuffer_output.
11117         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11118         (main): Call gdb_unbuffer_output.
11119         * gdb.base/call-strs.exp: Adjust to step over the
11120         gdb_unbuffer_output call.
11121         * gdb.base/catch-gdb-caused-signals.c: Include
11122         "../lib/unbuffer_output.c".
11123         (main): Call gdb_unbuffer_output.
11124         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11125         (main): Call gdb_unbuffer_output.
11126         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11127         (main): Call gdb_unbuffer_output.
11128         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11129         (main): Call gdb_unbuffer_output.
11130         * gdb.base/shlib-call.exp: Adjust to step over the
11131         gdb_unbuffer_output call.
11132         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11133         (main): Call gdb_unbuffer_output.
11134         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11135         (main): Call gdb_unbuffer_output.
11136         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11137         (main): Rename to ...
11138         (test): ... this.
11139         (main): Reimplement.
11140         * gdb.base/varargs.exp: Run to test instead of to main.
11141         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11142         (main): Call gdb_unbuffer_output.
11143
11144 2015-07-29  Pedro Alves  <palves@redhat.com>
11145
11146         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11147         factore out from mi_continue_dprintf.  For call-style dprintfs,
11148         expect dprintf output out of $inferior_spawn_id.
11149         (mi_continue_dprintf): Use mi_expect_dprintf.
11150         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11151         (main): Call gdb_unbuffer_output.
11152
11153 2015-07-29  Pedro Alves  <palves@redhat.com>
11154
11155         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11156         (default_mi_gdb_start): Set inferior_spawn_id instead of
11157         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
11158         gdb_spawn_id.
11159         (mi_gdb_test): Always expect inferior output from both
11160         $inferior_spawn_id and $gdb_spawn_id.
11161
11162 2015-07-29  Pedro Alves  <palves@redhat.com>
11163
11164         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
11165         send_inferior and $inferior_spawn_id.
11166
11167 2015-07-29  Pedro Alves  <palves@redhat.com>
11168
11169         * gdb.gdb/complaints.exp (test_initial_complaints)
11170         (test_serial_complaints, test_short_complaints): Use
11171         gdb_test_stdio.
11172         (test_empty_complaint): Handle $inferior_spawn_id !=
11173         $gdb_spawn_id.
11174
11175 2015-07-29  Pedro Alves  <palves@redhat.com>
11176
11177         * gdb.base/varargs.exp: Use gdb_test_stdio.
11178
11179 2015-07-29  Pedro Alves  <palves@redhat.com>
11180
11181         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11182
11183 2015-07-29  Pedro Alves  <palves@redhat.com>
11184
11185         * gdb.base/ending-run.exp: Use gdb_test_stdio.
11186
11187 2015-07-29  Pedro Alves  <palves@redhat.com>
11188
11189         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11190         parameter into two new parameters, "inf_result" and "gdb_result".
11191         Expect inferior output and gdb output from $inferior_spawn_id and
11192         $gdb_spawn_id, respectively.  Adjust all callers.
11193
11194 2015-07-29  Pedro Alves  <palves@redhat.com>
11195
11196         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11197         of gdb_test_sequence.
11198
11199 2015-07-29  Pedro Alves  <palves@redhat.com>
11200
11201         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11202         (saw_spurious_output): Expect inferior output from
11203         $inferior_spawn_id.  Use gdb_test_stdio.
11204
11205 2015-07-29  Pedro Alves  <palves@redhat.com>
11206
11207         * gdb.base/dprintf.exp: Use standard_testfile.  Change
11208         prepare_for_testing call.
11209         (srcfile): Don't set.
11210         (restart): New procedure.
11211         (test_dprintf): New procecure, use to continue over dprintfs.
11212         (test_call, test_agent): New procedures, tests moved here.
11213         Restart gdb and recreate dprintfs.  Adjust expected output.
11214
11215 2015-07-29  Pedro Alves  <palves@redhat.com>
11216
11217         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11218
11219 2015-07-29  Pedro Alves  <palves@redhat.com>
11220
11221         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11222
11223 2015-07-29  Pedro Alves  <palves@redhat.com>
11224
11225         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11226         gdb_test_stdio.
11227
11228 2015-07-29  Pedro Alves  <palves@redhat.com>
11229
11230         * lib/gdb.exp (gdb_test_stdio): New procedure.
11231
11232 2015-07-29  Pedro Alves  <palves@redhat.com>
11233
11234         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11235
11236 2015-07-29  Pedro Alves  <palves@redhat.com>
11237
11238         * gdb.base/call-signal-resume.exp: Remove check for
11239         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
11240         * gdb.base/unwindonsignal.exp: Likewise.
11241         * gdb.base/call-signals.c (gen_signal): Remove printf call.
11242         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11243
11244 2015-07-29  Pedro Alves  <palves@redhat.com>
11245
11246         * gdb.base/siginfo-addr.c (pass): New function.
11247         (handler): Call it iff si_addr is correct.
11248         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11249         Set a breakpoint at "pass" and continue to it.
11250
11251 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
11252
11253         * gdb.python/py-objfile.exp: Make some tests have unique names.
11254         * gdb.python/py-pp-registration.exp: Likewise.
11255
11256 2015-07-28  Pedro Alves  <palves@redhat.com>
11257
11258         * gdb.server/server-exec-info.exp: Issue a "disconnect".
11259
11260 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
11261
11262         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11263
11264 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
11265
11266         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11267
11268 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
11269
11270         * gdb.base/gdb-sigterm-2.exp: New test.
11271
11272 2015-07-25  Doug Evans  <xdje42@gmail.com>
11273
11274         Revert:
11275         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11276         (workers/%.worker, build-perf): New rule.
11277         (GDB_PERFTEST_MODE): New variable.
11278         (check-perf): Use it.
11279         (clean): Clean up gdb.perf parallel build subdirs.
11280         * lib/build-piece.exp: New file.
11281         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11282         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11283         name.
11284         (standard_temp_file): Ditto.
11285         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11286         of $GDB_PARALLEL.
11287
11288 2015-07-24  Doug Evans  <dje@google.com>
11289
11290         * gdb.perf/lib/perftest/utils.py: New file.
11291         * gdb.perf/gm-hello.cc: New file.
11292         * gdb.perf/gm-pervasive-typedef.cc: New file.
11293         * gdb.perf/gm-pervasive-typedef.h: New file.
11294         * gdb.perf/gm-std.cc: New file.
11295         * gdb.perf/gm-std.h: New file.
11296         * gdb.perf/gm-use-cerr.cc: New file.
11297         * gdb.perf/gm-utils.h: New file.
11298         * gdb.perf/gmonster-null-lookup.py: New file.
11299         * gdb.perf/gmonster-pervasive-typedef.py: New file.
11300         * gdb.perf/gmonster-print-cerr.py: New file.
11301         * gdb.perf/gmonster-ptype-string.py: New file.
11302         * gdb.perf/gmonster-runto-main.py: New file.
11303         * gdb.perf/gmonster-select-file.py: New file.
11304         * gdb.perf/gmonster1-null-lookup.exp: New file.
11305         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11306         * gdb.perf/gmonster1-print-cerr.exp: New file.
11307         * gdb.perf/gmonster1-ptype-string.exp: New file.
11308         * gdb.perf/gmonster1-runto-main.exp: New file.
11309         * gdb.perf/gmonster1-select-file.exp: New file.
11310         * gdb.perf/gmonster1.cc: New file.
11311         * gdb.perf/gmonster1.exp: New file.
11312         * gdb.perf/gmonster2-null-lookup.exp: New file.
11313         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11314         * gdb.perf/gmonster2-print-cerr.exp: New file.
11315         * gdb.perf/gmonster2-ptype-string.exp: New file.
11316         * gdb.perf/gmonster2-runto-main.exp: New file.
11317         * gdb.perf/gmonster2-select-file.exp: New file.
11318         * gdb.perf/gmonster2.cc: New file.
11319         * gdb.perf/gmonster2.exp: New file.
11320
11321 2015-07-24  Doug Evans  <dje@google.com>
11322
11323         * gdb.perf/README: New file.
11324         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11325         * lib/gen-perf-test.exp: New file.
11326
11327 2015-07-24  Doug Evans  <dje@google.com>
11328
11329         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11330         (PerfTest::startup): New function.
11331         (PerfTest::run): Return result of calling body.
11332         (PerfTest::assemble): Rewrite.
11333         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11334         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11335         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11336         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11337         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11338
11339 2015-07-24  Doug Evans  <dje@google.com>
11340
11341         * lib/gdb.exp (clean_restart): Make executable optional.
11342
11343 2015-07-24  Doug Evans  <dje@google.com>
11344
11345         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11346         compiler_info references.
11347         * gdb.cp/temargs.exp: Ditto.
11348         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11349         (get_compiler_info): Early exit if already computed.  Set compiler_info
11350         to "unknown" if there was a problem.
11351         (test_compiler_info): Add function comment.  Call get_compiler_info.
11352
11353 2015-07-24  Doug Evans  <dje@google.com>
11354
11355         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11356         (workers/%.worker, build-perf): New rule.
11357         (GDB_PERFTEST_MODE): New variable.
11358         (check-perf): Use it.
11359         (clean): Clean up gdb.perf parallel build subdirs.
11360         * lib/build-piece.exp: New file.
11361         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11362         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11363         name.
11364         (standard_temp_file): Ditto.
11365         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11366         of $GDB_PARALLEL.
11367
11368 2015-07-24  Doug Evans  <dje@google.com>
11369
11370         * lib/future.exp (gdb_default_target_compile): New option
11371         "early_flags".
11372         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11373         --as-needed.
11374
11375 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
11376
11377         * gdb.base/catch-syscall.exp: Call gdb_exit before
11378         gdb_skip_xml_test.
11379
11380 2015-07-24  Pedro Alves  <palves@redhat.com>
11381
11382         * gdb.python/py-events.exp: Accept output between the stop event
11383         and the prompt.
11384         * gdb.python/py-evsignal.exp: Likewise.
11385         * gdb.python/py-evthreads.exp: Likewise.
11386
11387 2015-07-24  Pedro Alves  <palves@redhat.com>
11388
11389         PR gdb/18717
11390         * gdb.threads/non-ldr-exit.c: New file.
11391         * gdb.threads/non-ldr-exit.exp: New file.
11392
11393 2015-07-24  Yao Qi  <yao.qi@linaro.org>
11394
11395         * gdb.server/ext-wrapper.exp: Test --wrapper option when
11396         restarting process.
11397
11398 2015-07-24  Yao Qi  <yao.qi@linaro.org>
11399
11400         * gdb.server/ext-restart.exp: New file.
11401
11402 2015-07-24  Yao Qi  <yao.qi@linaro.org>
11403
11404         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11405         argument options.
11406         * gdb.server/ext-wrapper.exp: New file.
11407
11408 2015-07-23  Doug Evans  <dje@google.com>
11409
11410         * gdb.dwarf2/dw2-dummy-cu.S: New file.
11411         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11412
11413 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
11414
11415         * gdb.ada/var_arr_typedef.exp: New testcase.
11416         * gdb.ada/var_arr_typedef/pack.adb: New file.
11417         * gdb.ada/var_arr_typedef/pack.ads: New file.
11418         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11419
11420 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
11421
11422         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11423
11424 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11425
11426         * gdb.arch/i386-biarch-core.exp: Replace istarget
11427         by "complete set gnutarget". Remove expectation for the "core-file"
11428         command.
11429
11430 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
11431
11432         Revert the previous commit:
11433         Tests for validate symbol file using build-id.
11434
11435 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
11436
11437         Tests for validate symbol file using build-id.
11438         * gdb.base/solib-mismatch-lib.c: New file.
11439         * gdb.base/solib-mismatch-libmod.c: New file.
11440         * gdb.base/solib-mismatch.c: New file.
11441         * gdb.base/solib-mismatch.exp: New file.
11442
11443 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
11444
11445         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11446         nios2-*-linux*.
11447         * gdb.base/sigbpt.exp (stepi_out): Likewise.
11448         * gdb.base/siginfo.exp: Likewise.
11449         * gdb.base/sigstep.exp (advance, advancei): Likewise.
11450
11451 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
11452
11453         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11454         Move it to ...
11455         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11456         ... here.
11457         * gdb.trace/range-stepping.exp: Check that the target supports
11458         range stepping.
11459
11460 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11461
11462         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11463
11464 2015-07-14  Pedro Alves  <palves@redhat.com>
11465
11466         * gdb.base/killed-outside.exp: New file.
11467         * gdb.base/killed-outside.c: New file.
11468
11469 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
11470
11471         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11472         (n at main): New.
11473         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11474
11475 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11476
11477         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11478         infcall tests instead of setting up for KFAIL.
11479
11480 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
11481
11482         * gdb.btrace/record_goto-step.exp: New.
11483
11484 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
11485
11486         PR compile/18484
11487         * gdb.compile/compile.c (struct struct_type): Add volatile to
11488         selffield's type.
11489         * gdb.compile/compile.exp
11490         (compile code struct_object.selffield = &struct_object): Skip further
11491         struct_object tests if this one xfails.
11492
11493 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
11494
11495         PR exp/18617
11496         * gdb.trace/ax.exp: Add test.
11497
11498 2015-07-07  Yao Qi  <yao.qi@linaro.org>
11499
11500         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11501         instead of istarget "aarch64*-*-*".
11502         * gdb.arch/aarch64-fp.exp: Likewise.
11503         * gdb.base/float.exp: Likewise.
11504         * gdb.reverse/aarch64.exp: Likewise.
11505         * lib/gdb.exp (is_aarch64_target): New proc.
11506
11507 2015-07-07  Yao Qi  <yao.qi@linaro.org>
11508
11509         * lib/gdb.exp (is_aarch32_target): New proc.
11510         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11511         instead of "istarget "arm*-*-*"".
11512         * gdb.arch/arm-disp-step.exp: Likewise.
11513         * gdb.arch/thumb-bx-pc.exp: Likewise.
11514         * gdb.arch/thumb-prologue.exp: Likewise.
11515         * gdb.arch/thumb-singlestep.exp: Likewise.
11516         * gdb.base/disp-step-syscall.exp: Likewise.
11517         * gdb.base/float.exp: Likewise.
11518
11519 2015-07-07  Yao Qi  <yao.qi@linaro.org>
11520
11521         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11522         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11523
11524 2015-07-07  Yao Qi  <yao.qi@linaro.org>
11525
11526         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11527         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11528         if it exists.
11529         * gdb.multi/multi-arch.exp: Likewise.
11530
11531 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
11532
11533         * gdb.python/py-lazy-string.exp: Add missing parentheses to
11534         print.
11535
11536 2015-07-07  Yao Qi  <yao.qi@linaro.org>
11537
11538         * gdb.arch/thumb-singlestep.exp: Do one more single step.
11539
11540 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
11541
11542         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11543         '[' and ']' characters.
11544
11545 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
11546
11547         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11548
11549 2015-06-29  Pedro Alves  <palves@redhat.com>
11550
11551         PR threads/18127
11552         * gdb.threads/hand-call-new-thread.c: New file.
11553         * gdb.threads/hand-call-new-thread.c: New file.
11554
11555 2015-06-26  Keith Seitz  <keiths@redhat.com>
11556             Doug Evans  <dje@google.com>
11557
11558         PR 16253
11559         * gdb.cp/var-tag-2.cc: New file.
11560         * gdb.cp/var-tag-3.cc: New file.
11561         * gdb.cp/var-tag-4.cc: New file.
11562         * gdb.cp/var-tag.cc: New file.
11563         * gdb.cp/var-tag.exp: New file.
11564
11565 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
11566
11567         * gdb.base/history-duplicates.exp: New test.
11568
11569 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
11570
11571         * gdb.base/completion.exp: Test the completion of the "focus"
11572         command.
11573
11574 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11575
11576         * gdb.arch/amd64-prologue-skip.S: New file.
11577         * gdb.arch/amd64-prologue-skip.exp: New file.
11578
11579 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
11580
11581         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11582         is_address_zero_readable check.
11583
11584 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
11585
11586         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11587         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11588
11589 2015-06-24  Yao Qi  <yao.qi@linaro.org>
11590
11591         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11592         linux targets.
11593
11594 2015-06-24  Yao Qi  <yao.qi@linaro.org>
11595
11596         * lib/gdb.exp (supports_get_siginfo_type): New proc.
11597         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11598         * gdb.base/siginfo-thread.exp: Likewise.
11599
11600 2015-06-22  Yao Qi  <yao.qi@linaro.org>
11601
11602         * boards/remote-gdbserver-on-localhost.exp: Add comments.
11603
11604 2015-06-22  Yao Qi  <yao.qi@linaro.org>
11605
11606         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11607         aarch64*-*-*.
11608         (skip_hw_watchpoint_tests): Likewise.
11609
11610 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
11611
11612         * gdb.base/gdbinit-history.exp: Test the interaction between
11613         setting GDBHISTSIZE and setting the history size via .gdbinit.
11614
11615 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
11616
11617         PR gdb/16999
11618         * gdb.base/gdbhistsize-history.exp: New test.
11619
11620 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
11621
11622         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11623         with GDBHISTSIZE.
11624         * gdb.base/readline.exp: Likewise.
11625
11626 2015-06-17  Yao Qi  <yao.qi@linaro.org>
11627
11628         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11629         line.
11630
11631 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
11632
11633         * gdb.base/gdbinit-history.exp: Add test case to check that
11634         an unlimited history file does not get truncated on exit.
11635
11636 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11637
11638         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11639         (VECTOR): New macro.  Use it...
11640         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11641         ...for these typedefs.
11642         (int8, char1, int1, double1): New typedefs.
11643         (struct just_int2, struct two_int2): New structures.
11644         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11645         (add_structvecs, add_singlevecs): New functions.
11646         (main): Call add_some_intvecs twice.
11647         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11648         the compile and exit upon failure.  Try compiling for the "native"
11649         architecture.  Test inferior function calls with vector arguments
11650         and vector return value handling with "finish" and "return".
11651
11652 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
11653
11654         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11655         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11656         PE file.
11657         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11658
11659 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11660
11661         PR breakpoints/16465
11662         * gdb.mi/mi-dprintf-pending.c: New file.
11663         * gdb.mi/mi-dprintf-pending.exp: New test.
11664         * gdb.mi/mi-dprintf-pendshr.c: New file.
11665
11666 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11667             Mircea Gherzan  <mircea.gherzan@intel.com>
11668
11669         * gdb.arch/i386-mpx-map.c: New file.
11670         * gdb.arch/i386-mpx-map.exp: New File.
11671
11672 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11673
11674         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11675         * gdb.arch/i386-mpx.exp: Indentation fixed.
11676
11677 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11678
11679         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11680         function and improved indentation.
11681         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11682         gdb_test_multiple. Added additional tests to skip the test.
11683
11684 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11685
11686         * gdb.arch/i386-avx512.c: Change path in include file.
11687         * gdb.arch/i386-avx512.exp: Change include dir path
11688         compilation flag.
11689         * gdb.arch/i386-mpx.c: Change path in include file.
11690         * gdb.arch/i386-mpx.exp: Change include dir path compilation
11691         flag.
11692
11693 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
11694
11695         * gdb.compile/compile-print.exp (compile print *vararray@3)
11696         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11697
11698 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11699
11700         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11701         (do not keep jit in memory): ... this.
11702         (expect 5): Change it to ...
11703         (expect no 5): ... this.
11704
11705 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
11706
11707         PR gdb/15564
11708         * gdb.mi/mi-detach.exp: New file.
11709
11710 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11711
11712         PR symtab/18392
11713         * gdb.arch/amd64-tailcall-self.S: New file.
11714         * gdb.arch/amd64-tailcall-self.c: New file.
11715         * gdb.arch/amd64-tailcall-self.exp: New file.
11716
11717 2015-05-28  Don Breazeal  <donb@codesourcery.com>
11718
11719         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11720         tests for remote targets by checking is_target_gdbserver.
11721
11722 2015-05-27  Doug Evans  <dje@google.com>
11723
11724         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11725         * gdb.dwarf2/opaque-type-lookup.c: New file.
11726         * gdb.dwarf2/opaque-type-lookup.exp: New file.
11727
11728 2015-05-26  Doug Evans  <dje@google.com>
11729
11730         * gdb.cp/iostream.cc: New file.
11731         * gdb.cp/iostream.exp: New file.
11732
11733 2015-05-26  Doug Evans  <dje@google.com>
11734
11735         * gdb.dwarf2/dw2-op-call.exp: Update.
11736         * gdb.dwarf2/dw4-sig-types.exp: Update.
11737         * gdb.dwarf2/implptr.exp: Update.
11738         * gdb.mi/mi-cmd-param-changed.exp: Update.
11739
11740 2015-05-26  Doug Evans  <dje@google.com>
11741
11742         * gdb.python/py-lazy-string.c: New file.
11743         * gdb.python/py-lazy-string.exp: New file.
11744         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11745         (main): Update.  Add estring3.
11746         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11747         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11748
11749 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
11750             Yao Qi  <yao.qi@linaro.org>
11751
11752         * gdb.reverse/aarch64.c: New.
11753         * gdb.reverse/aarch64.exp: New.
11754
11755 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
11756
11757         * lib/gdb.exp (supports_process_record): Return true for
11758         aarch64*-linux*.
11759         (supports_reverse): Likewise.
11760
11761 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
11762
11763         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11764         Use with_test_prefix.
11765
11766 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
11767
11768         * gdb.base/completion.exp: Add test for completion of layout
11769         names.
11770
11771 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
11772
11773         * lib/gdb.exp (skip_tui_tests): New proc.
11774         * gdb.base/tui-layout.exp: Check skip_tui_tests.
11775
11776 2015-05-19  Pedro Alves  <palves@redhat.com>
11777
11778         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11779         Save the whole env array instead of just HOME.  Unset HISTSIZE in
11780         the environment while testing.  Restore whole environment
11781         afterwards.
11782
11783 2015-05-16  Doug Evans  <xdje42@gmail.com>
11784
11785         * gdb.guile/scm-ports.c: New file.
11786         * gdb.guile/scm-ports.exp: Add memory port tests.
11787
11788 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11789
11790         * gdb.compile/compile-print.c: New file.
11791         * gdb.compile/compile-print.exp: New file.
11792
11793 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11794
11795         * gdb.compile/compile-ops.exp: Cast param to void.
11796         * gdb.compile/compile.exp: Complete type for _gdb_expr.
11797         (compile code struct_object.selffield = &struct_object): Add xfail.
11798
11799 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
11800
11801         * gdb.ada/arr_enum_with_gap: New testcase.
11802
11803 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
11804
11805         * gdb.ada/byte_packed_arr: New testcase.
11806
11807 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
11808
11809         * gdb.ada/pckd_neg: New testcase.
11810
11811 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
11812
11813         PR gdb/17820
11814         * gdb.base/gdbinit-history.exp: New test.
11815         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11816         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11817
11818 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
11819
11820         * gdb.python/py-xmethods.cc: Enhance test case.
11821         * gdb.python/py-xmethods.exp: New tests.
11822         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11823         function.
11824         (B_indexoper): Likewise.
11825         (global_dm_list) : Add new xmethod worker functions.
11826
11827 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
11828
11829         * gdb.base/coredump-filter.exp: Correctly unset
11830         "coredump_var_addr" array.
11831
11832 2015-05-08  Pedro Alves  <palves@redhat.com>
11833
11834         * gdb.server/non-existing-program.exp: Unset spawn_id.
11835
11836 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
11837
11838         PR python/18291
11839         * gdb.python/py-xmethods.exp: Add tests.
11840
11841 2015-05-08  Yao Qi  <yao.qi@linaro.org>
11842
11843         PR gdb/18208
11844         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11845         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11846         function set_coredump_filter, and remove remote_exec call.
11847         Remove argument ipid.  Callers update.
11848         (top level): Don't get inferior's PID.
11849
11850 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11851
11852         * gdb.base/watch_thread_num.exp: Skip test on targets without
11853         access watchpoints.
11854
11855 2015-05-06  Pedro Alves  <palves@redhat.com>
11856
11857         PR server/18081
11858         * gdb.server/non-existing-program.exp: New file.
11859
11860 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11861
11862         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11863
11864 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11865
11866         * gdb.ada/out_of_line_in_inlined: New testcase.
11867
11868 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11869
11870         * gdb.ada/var_rec_arr: New testcase.
11871
11872 2015-04-30  Yao Qi  <yao.qi@linaro.org>
11873
11874         * gdb.base/break-idempotent.exp: If
11875         skip_hw_watchpoint_multi_tests returns true, skip the tests
11876         on "rwatch" and "awatch".
11877
11878 2015-04-30  Yao Qi  <yao.qi@linaro.org>
11879
11880         * gdb.base/relativedebug.exp: Invoke gdb command
11881         "info sharedlibrary", and if libc.so doesn't have debug info,
11882         skip the test.
11883
11884 2015-04-29  Doug Evans  <dje@google.com>
11885
11886         * gdb.python/py-xmethods.exp: Add ptype tests.
11887         * gdb.python/py-xmethods.py (E_method_char_worker): Add
11888         get_result_type method.
11889
11890 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
11891
11892         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11893         the target does not support hardware watchpoints.
11894
11895 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
11896
11897         * gdb.base/break-always.exp: Abort testing if writing to memory
11898         causes an error.
11899
11900 2015-04-28  Doug Evans  <dje@google.com>
11901
11902         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11903         * gdb.python/py-pp-registration.exp: ... here.  New file.
11904         * gdb.python/py-pp-registration.c: New file.
11905         * gdb.python/py-pp-registration.py: New file.
11906
11907 2015-04-28  Doug Evans  <dje@google.com>
11908
11909         * gdb.python/py-bad-printers.c: New file.
11910         * gdb.python/py-bad-printers.py: New file.
11911         * gdb.python/py-bad-printers.exp: New file.
11912
11913 2015-04-28  Sasha Smundak  <asmundak@google.com>
11914
11915         * gdb.python/py-type.exp: New test.
11916
11917 2015-04-28  Andy Wingo  <wingo@igalia.com>
11918
11919         * gdb.python/py-parameter.exp:
11920         * gdb.guile/scm-parameter.exp: Escape the path that we are
11921         matching against, as it might contain characters that are special
11922         to regular expressions.
11923
11924 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
11925
11926         * gdb.ada/rec_comp: New testcase.
11927
11928 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
11929
11930         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11931         before using it.
11932
11933 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
11934
11935         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
11936         new tests for verilog output.
11937
11938 2015-04-24  Yao Qi  <yao.qi@linaro.org>
11939
11940         * boards/remote-gdbserver-on-localhost.exp: New file.
11941
11942 2015-04-23  Pedro Alves  <palves@redhat.com>
11943
11944         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11945         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
11946         "end of file", remove $inferior_spawn_id from the indirect list.
11947
11948 2015-04-23  Pedro Alves  <palves@redhat.com>
11949
11950         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11951
11952 2015-04-23  Pedro Alves  <palves@redhat.com>
11953
11954         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11955         on $any_spawn_id instead of only on $gdb_spawn_id.
11956
11957 2015-04-21  Pierre Muller  <muller@sourceware.org>
11958
11959         PR pascal/17815
11960         * lib/pascal.exp (gpc_compile): Add new option "class".
11961         (fpc_compile): Likewise.
11962         * gdb.pascal/case-insensitive-symbols.pas: New file.
11963         * gdb.pascal/case-insensitive-symbols.exp: New file.
11964
11965 2015-04-20  Gary Benson <gbenson@redhat.com>
11966
11967         * gdb.base/attach.exp: Fix three extended remote failures.
11968
11969 2015-04-17  Gary Benson <gbenson@redhat.com>
11970
11971         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11972         the main executable over the remote protocol.
11973
11974 2015-04-16  Pedro Alves  <palves@redhat.com>
11975
11976         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11977         a new gdbserver if gdbserver_reconnect_p is set.
11978
11979 2015-04-16  Pedro Alves  <palves@redhat.com>
11980
11981         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11982         is set, don't exit gdbserver.
11983
11984 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11985
11986         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11987         appropriate .insn, such that an older assembler can be used.
11988         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11989         the z/Architecture instruction set on 31-bit targets as well.
11990
11991 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11992
11993         * gdb.go/handcall.exp: Remove all logic related to the first
11994         breakpoint and rely on go_runto_main instead.
11995         * gdb.go/strings.exp: Likewise.
11996         * gdb.go/unsafe.exp: Likewise.
11997         * gdb.go/hello.exp: Likewise.  Also rename the remaining
11998         breakpoint marker to "breakpoint 1".
11999         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12000         * gdb.go/strings.go: Likewise.
12001         * gdb.go/unsafe.go: Likewise.
12002         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
12003         "set breakpoint 2 here" and rename the remaining breakpoint marker
12004         to "breakpoint 1".
12005
12006 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
12007
12008         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12009         if itertools.imap is not present.
12010         * gdb.python/py-objfile.exp: Add parentheses.
12011         * gdb.python/py-type.exp: Same.
12012         * gdb.python/py-unwind-maint.py: Same.
12013
12014 2015-04-15  Yao Qi  <yao.qi@linaro.org>
12015
12016         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12017         of ":$ptr_size" and set its form explicitly.
12018
12019 2015-04-15  Pedro Alves  <palves@redhat.com>
12020             Yao Qi  <yao.qi@linaro.org>
12021
12022         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12023         timeout by factor of 4.
12024         (test_regular_watch): Likewise.
12025         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12026         * gdb.reverse/sigall-reverse.exp: Likewise.
12027         * gdb.reverse/until-precsave.exp: Likewise.
12028         * lib/gdb.exp (with_timeout_factor): New proc.
12029         (gdb_expect): Move some code to ...
12030         (get_largest_timeout): ... here.  New procedure.
12031
12032 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
12033
12034         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12035
12036 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
12037
12038         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12039         to write to the .text section.
12040
12041 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
12042
12043         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12044         Handle the case of targets that do not provide PID information.
12045
12046 2015-04-13  Yao Qi  <yao.qi@linaro.org>
12047
12048         * lib/gdbserver-support.exp (gdb_exit): Catch exception
12049         and use expect instead of gdb_expect.
12050
12051 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
12052
12053         * gdb.base/coredump-filter.exp: Rename variable "addr" to
12054         "coredump_var_addr" to avoid naming conflict with other testcases.
12055
12056 2015-04-10  Pedro Alves  <palves@redhat.com>
12057
12058         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12059         gdb_test_sequence and gdb_assert.
12060
12061 2015-04-10  Pedro Alves  <palves@redhat.com>
12062
12063         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12064         test messages that don't include the breakpoint address.
12065
12066 2015-04-10  Yao Qi  <yao.qi@linaro.org>
12067
12068         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12069         false for some offset and width combinations which aren't
12070         supported by linux kernel.
12071
12072 2015-04-10  Pedro Alves  <palves@redhat.com>
12073
12074         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12075         procedure, factored out from ...
12076         (top level): ... here.  Add "set displaced-stepping" testing axis.
12077         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12078         parameter "displaced".  Use it.
12079         (top level): Use foreach and add "set displaced-stepping" testing
12080         axis.
12081
12082 2015-04-10  Pedro Alves  <palves@redhat.com>
12083
12084         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12085         Remove comment.
12086         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12087         both the address of the instruction that triggers the watchpoint
12088         and the address of the instruction immediately after, and use
12089         those addresses for the test.  Fix comment.
12090
12091 2015-04-10  Pedro Alves  <palves@redhat.com>
12092
12093         * gdb.base/sigstep.exp (breakpoint_to_handler)
12094         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
12095         Test "backtrace" in handler.
12096         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
12097         (top level): Add new "displaced" test axis to
12098         breakpoint_to_handler, breakpoint_to_handler_entry and
12099         breakpoint_over_handler.
12100
12101 2015-04-10  Pedro Alves  <palves@redhat.com>
12102
12103         PR gdb/18216
12104         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12105
12106 2015-04-10  Yao Qi  <yao.qi@linaro.org>
12107
12108         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12109         (test_add_rn_pc): New function.
12110         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12111         (top level): Invoke test_add_rn_pc.
12112
12113 2015-04-10  Pedro Alves  <palves@redhat.com>
12114
12115         PR gdb/13858
12116         * gdb.base/step-over-no-symbols.exp: New file.
12117
12118 2015-04-09  Andy Wingo  <wingo@igalia.com>
12119
12120         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12121         after the Python tests.
12122
12123 2015-04-08  Keith Seitz  <keiths@redhat.com>
12124
12125         PR python/16699
12126         * gdb.python/py-completion.exp: New tests for completion.
12127         * gdb.python/py-completion.py (CompleteLimit1): New class.
12128         (CompleteLimit2): Likewise.
12129         (CompleteLimit3): Likewise.
12130         (CompleteLimit4): Likewise.
12131         (CompleteLimit5): Likewise.
12132         (CompleteLimit6): Likewise.
12133         (CompleteLimit7): Likewise.
12134
12135 2015-04-08  Pedro Alves  <palves@redhat.com>
12136
12137         PR gdb/18214
12138         PR gdb/18216
12139         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12140         function.
12141         (main): Install it as SIGUSR1 handler.
12142         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12143         parameter.  Always use "setup" as prefix.  Toggle "set
12144         displaced-stepping" off/on depending on global.  Don't switch to
12145         thread 1 here.
12146         (top level): Add displaced stepping "off/on" test axis.  Update
12147         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
12148         continuing with a queued signal in each thread.
12149
12150 2015-04-08  Pedro Alves  <palves@redhat.com>
12151
12152         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12153         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
12154         gdb_breakpoint instead of gdb_test that doesn't expect anything.
12155         Return early if running to main fails.
12156         * gdb.trace/while-stepping.exp: Likewise.
12157
12158 2015-04-07  Pedro Alves  <palves@redhat.com>
12159
12160         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12161         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
12162         interact with inferior program.
12163
12164 2015-04-07  Pedro Alves  <palves@redhat.com>
12165
12166         * lib/gdb.exp (inferior_spawn_id): New global.
12167         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
12168         spawn id after processing the user code.
12169         (default_gdb_start): Set inferior_spawn_id.
12170         (send_inferior): New procedure.
12171         * lib/gdbserver-support.exp (gdbserver_start): Set
12172         inferior_spawn_id.
12173         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12174
12175 2015-04-07  Pedro Alves  <palves@redhat.com>
12176
12177         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12178         * lib/gdbserver-support.exp (gdbserver_start): Make
12179         $server_spawn_id global.
12180         (gdbserver_start): Don't wait for gdbserver's spawn id with
12181         expect_background.
12182         (close_gdbserver): New procedure.
12183         (gdb_exit): Rename the default version and reimplement.
12184
12185 2015-04-07  Pedro Alves  <palves@redhat.com>
12186
12187         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12188         append the substituted item, not the original item.
12189
12190 2015-04-07  Pedro Alves  <palves@redhat.com>
12191
12192         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12193         gdb_expect.
12194
12195 2015-04-07  Pedro Alves  <palves@redhat.com>
12196
12197         * gdb.base/interrupt.exp: Don't handle the case of the inferior
12198         output appearing once only.
12199
12200 2015-04-07  Pedro Alves  <palves@redhat.com>
12201
12202         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12203         that doesn't expect anything.  Return early if running to main
12204         fails.
12205
12206 2015-04-07  Yao Qi  <yao.qi@linaro.org>
12207
12208         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12209         (child_function): Call alarm.
12210         (main): Move call to alarm into the loop.
12211         * gdb.threads/non-stop-fair-events.exp: Build program with
12212         -DTIMEOUT=$timeout.
12213
12214 2015-04-06  Doug Evans  <xdje42@gmail.com>
12215
12216         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12217         Fix dest parameter to board_info.
12218         (fpc_compile): Ditto.
12219         (gdb_compile_pascal): Rename dest arg to destfile.
12220
12221 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
12222
12223         * gdb.ada/funcall_ref.exp: New file.
12224         * gdb.ada/funcall_ref/foo.adb: New file.
12225
12226 2015-04-02  Yao Qi  <yao.qi@linaro.org>
12227
12228         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12229         is remote.
12230
12231 2015-04-02  Gary Benson <gbenson@redhat.com>
12232
12233         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12234
12235 2015-04-01  Sasha Smundak  <asmundak@google.com>
12236
12237         * gdb.python/py-unwind-maint.c: New file.
12238         * gdb.python/py-unwind-maint.exp: New test.
12239         * gdb.python/py-unwind-maint.py: New file.
12240         * gdb.python/py-unwind.c: New file.
12241         * gdb.python/py-unwind.exp: New test.
12242         * gdb.python/py-unwind.py: New test.
12243
12244 2015-04-01  Pedro Alves  <palves@redhat.com>
12245
12246         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12247         to fail instead of non-existent $test.
12248
12249 2015-04-01  Pedro Alves  <palves@redhat.com>
12250
12251         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12252         GDBFLAGS if not empty.
12253
12254 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
12255
12256         * gdb.ada/complete.exp: Remove "multi_line".
12257         * gdb.ada/info_exc.exp: Remove "multi_line".
12258         * gdb.ada/packed_tagged.exp: Remove "multi_line".
12259         * gdb.ada/ptype_field.exp: Remove "multi_line".
12260         * gdb.ada/sym_print_name.exp: Remove "multi_line".
12261         * gdb.ada/tagged.exp: Remove "multi_line".
12262         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12263         [multi_line ...]
12264         * gdb.btrace/delta.exp: Likewise.
12265         * gdb.btrace/exception.exp: Likewise.
12266         * gdb.btrace/function_call_history.exp: Likewise.
12267         * gdb.btrace/instruction_history.exp: Likewise.
12268         * gdb.btrace/nohist.exp: Likewise.
12269         * gdb.btrace/record_goto.exp: Likewise.
12270         * gdb.btrace/segv.exp: Likewise.
12271         * gdb.btrace/stepi.exp: Likewise.
12272         * gdb.btrace/tailcall.exp: Likewise.
12273         * gdb.btrace/unknown_functions.exp: Likewise.
12274         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12275         * lib/gdb.exp: Add the "multi_line" helper.
12276
12277 2015-04-01  Pedro Alves  <palves@redhat.com>
12278
12279         * gdb.threads/tid-reuse.c: New file.
12280         * gdb.threads/tid-reuse.exp: New file.
12281
12282 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
12283
12284         PR corefiles/16092
12285         * gdb.base/coredump-filter.c: New file.
12286         * gdb.base/coredump-filter.exp: Likewise.
12287
12288 2015-03-27  Petr Machata  <pmachata@redhat.com>
12289
12290         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12291         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12292         (Dwarf::assemble): Initialize them.
12293         (Dwarf::lines): New function.
12294
12295 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
12296
12297         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12298         SYMBOL_PREFIX for x86_64-*-cygwin.
12299
12300 2015-03-26  Andy Wingo  <wingo@igalia.com>
12301
12302         PR symtab/18148
12303         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12304         const_value but not a location.
12305         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12306         location defined in non-main CUs are visible.
12307
12308 2015-03-26  Yao Qi  <yao.qi@linaro.org>
12309
12310         PR testsuite/18139
12311         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12312         Add a line number entry for the same line.
12313         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12314         Add a line number entry for the same line.
12315
12316 2015-03-26  Yao Qi  <yao.qi@linaro.org>
12317
12318         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12319         .int 0.
12320         (func): Likewise.  Add .Lfunc_1 label.
12321         Use .Lfunc_1 label.
12322         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12323         .int 0.
12324         (func): Likewise.
12325         Use .Lfunc_1 label.
12326
12327 2015-03-26  Yao Qi  <yao.qi@linaro.org>
12328
12329         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12330         Call gdb_compile instead to compile each .s files without debug
12331         information.
12332
12333 2015-03-26  Yao Qi  <yao.qi@linaro.org>
12334
12335         * gdb.base/savedregs.exp (process_saved_regs): Make
12336         "Saved registers:" optional in the pattern.
12337
12338 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
12339
12340         * gdb.btrace/next.exp: Merged into step.exp.
12341         * gdb.btrace/finish.exp: Merged into step.exp.
12342         * gdb.btrace/nexti.exp: Merged into stepi.exp.
12343         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
12344         "record goto" and checking the exact replay position.
12345         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
12346         check for "Recording format" in "info record" output.
12347         * gdb.btrace/record_goto.exp: Choose test file based on target.
12348         * gdb.btrace/x86-record_goto.S: Renamed into ...
12349         * gdb.btrace/x86_64-record_goto.S: ... this.
12350         * gdb.btrace/i686-record_goto.S: New.
12351         * gdb.btrace/x86-tailcall.S: Renamed into ...
12352         * gdb.btrace/x86_64-tailcall.S: ... this.
12353         * gdb.btrace/i686-tailcall.S: New.
12354         * gdb.btrace/x86-tailcall.c: Renamed into ...
12355         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
12356         separate statements.  Update test.
12357         * gdb.btrace/delta.exp: Use record_goto.c as test file.
12358         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12359         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12360         * gdb.btrace/tailcall.exp: Choose test file based on target.
12361         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12362
12363 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
12364
12365         * gdb.btrace/exception.exp: Increase BTS buffer size.
12366
12367 2015-03-24  Pedro Alves  <palves@redhat.com>
12368
12369         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12370
12371 2015-03-24  Pedro Alves  <palves@redhat.com>
12372
12373         * gdb.threads/schedlock.exp (test_step): No longer expect that
12374         "set scheduler-locking step" with "next" over a function call runs
12375         threads unlocked.
12376
12377 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
12378
12379         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12380
12381 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
12382
12383         PR breakpoints/16466
12384         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12385         * gdb.mi/mi-pending.c (thread_func): New function.
12386         (int main): Add threading support required.
12387         * gdb.mi/mi-pending.exp: Add tests for this issue.
12388         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12389         (pendfunc2): Remove stdio dependency.
12390         * gdb.mi/mi-pendshr2.c: New file.
12391
12392 2015-03-23  Keith Seitz  <keiths@redhat.com>
12393
12394         * gdb.linespec/keywords.c: New file.
12395         * gdb.linespec/keywords.exp: New file.
12396
12397 2015-03-23  Keith Seitz  <keiths@redhat.com>
12398
12399         PR gdb/18021
12400         * gdb.dwarf2/staticvirtual.exp: New test.
12401
12402 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12403
12404         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12405         * README: Remove HP-UX and gdb.hp.
12406         (configuration):
12407         * configure: Regenerate.
12408         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12409         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12410         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12411         gdb.hp/gdb.defects/Makefile.
12412         * gdb.hp/Makefile.in: File deleted.
12413         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12414         * gdb.hp/gdb.aCC/optimize.c: File deleted.
12415         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12416         * gdb.hp/gdb.aCC/run.c: File deleted.
12417         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12418         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12419         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12420         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12421         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12422         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12423         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12424         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12425         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12426         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12427         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12428         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12429         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12430         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12431         * gdb.hp/gdb.base-hp/reg.s: File deleted.
12432         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12433         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12434         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12435         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12436         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12437         * gdb.hp/gdb.compat/Makefile.in: File deleted.
12438         * gdb.hp/gdb.compat/average.c: File deleted.
12439         * gdb.hp/gdb.compat/sum.c: File deleted.
12440         * gdb.hp/gdb.compat/xdb.c: File deleted.
12441         * gdb.hp/gdb.compat/xdb0.c: File deleted.
12442         * gdb.hp/gdb.compat/xdb0.h: File deleted.
12443         * gdb.hp/gdb.compat/xdb1.c: File deleted.
12444         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12445         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12446         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12447         * gdb.hp/gdb.defects/Makefile.in: File deleted.
12448         * gdb.hp/gdb.defects/bs14602.c: File deleted.
12449         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12450         * gdb.hp/gdb.defects/solib-d.c: File deleted.
12451         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12452         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12453         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12454         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12455         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12456         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12457         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12458         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12459         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12460         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12461         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12462         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12463         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12464         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12465         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12466         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12467         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12468         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12469         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12470         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12471         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12472         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12473         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12474         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12475         * gdb.hp/tools/odump: File deleted.
12476
12477 2015-03-19  Pedro Alves  <palves@redhat.com>
12478
12479         * gdb.threads/continue-pending-status.exp (saw_thread_2)
12480         (saw_thread_3): New globals.
12481         (top level): Increment them when an event for the corresponding
12482         thread is seen.
12483         (no thread starvation): New test.
12484
12485 2015-03-19  Pedro Alves  <palves@redhat.com>
12486
12487         * gdb.threads/continue-pending-status.c: New file.
12488         * gdb.threads/continue-pending-status.exp: New file.
12489
12490 2015-03-18  Pedro Alves  <palves@redhat.com>
12491
12492         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12493         Use gdb_is_target_remote instead of is_remote.  Use
12494         gdb_test_multiple instead of gdb_expect.  Exit early if
12495         gdb_test_multiple hits its internal matches.  Tighten stepi tests
12496         expected output.  Fail on exit with any signal, instead of just
12497         SIGILL.
12498
12499 2015-03-18  Yao Qi  <yao.qi@linaro.org>
12500
12501         PR tdep/18107
12502         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12503         variable.
12504         * gdb.base/catch-syscall.exp: Don't skip it on
12505         aarch64*-*-linux* target.  Remove elements in all_syscalls.
12506         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12507         target.
12508         (setup_all_syscalls): New proc.
12509
12510 2015-03-16  Yao Qi  <yao.qi@linaro.org>
12511
12512         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12513         (top level): Skip tests if valid_addr_p returns false for
12514         $cmd1 or $cmd2.
12515
12516 2015-03-11  Andy Wingo  <wingo@igalia.com>
12517
12518         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12519
12520 2015-03-11  Yao Qi  <yao.qi@linaro.org>
12521
12522         * gdb.base/catch-syscall.exp: Fix typo in comments.
12523
12524 2015-03-11  Yao Qi  <yao.qi@linaro.org>
12525
12526         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12527
12528 2015-03-09  Pedro Alves  <palves@redhat.com>
12529
12530         * dg-extract-results.py: Delete.
12531
12532 2015-03-09  Pedro Alves  <palves@redhat.com>
12533
12534         Merge dg-extract-results.sh from GCC upstream (r218843).
12535
12536         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
12537                 * dg-extract-results.sh: Use --text with grep to avoid issues with
12538                 binary files.  Fall back to cat -v, if that doesn't work.
12539
12540 2015-03-05  Pedro Alves  <palves@redhat.com>
12541
12542         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12543
12544 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
12545
12546         * lib/mi-support.exp (mi_expect_interrupt): Accept
12547         alternative event for when in all-stop mode.
12548
12549 2015-03-04  Pedro Alves  <palves@redhat.com>
12550
12551         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12552
12553 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
12554
12555         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12556
12557 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12558
12559         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12560         regexps for GDB's current line display, accept a hex address
12561         preceding the line number.
12562
12563 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12564
12565         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12566         the 'arch1' variable for "s390*-linux*" targets.
12567
12568 2015-03-04  Pedro Alves  <palves@redhat.com>
12569
12570         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12571         (main): Pass missing retval argument to pthread_join call.
12572
12573 2015-03-02  Pedro Alves  <palves@redhat.com>
12574
12575         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12576         (top level): Call do_test with non-stop as well.
12577
12578 2015-03-02  Pedro Alves  <palves@redhat.com>
12579
12580         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12581         -1.
12582
12583 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12584
12585         * gdb.arch/s390-vregs.exp: New test.
12586         * gdb.arch/s390-vregs.S: New file.
12587
12588 2015-02-27  Pedro Alves  <palves@redhat.com>
12589
12590         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12591         call to catch_command_errors.
12592         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12593         catch_command_errors.
12594
12595 2015-02-27  Pedro Alves  <palves@redhat.com>
12596
12597         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12598         "true" for boolean result.
12599         * gdb.gdb/selftest.exp (test_with_self): Also accept full
12600         prototype of main.
12601
12602 2015-02-27  Pedro Alves  <palves@redhat.com>
12603
12604         * lib/unbuffer_output.c: New file.
12605         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12606         (main): Call gdb_unbuffer_output.
12607
12608 2015-02-27  Yao Qi  <yao.qi@linaro.org>
12609
12610         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12611         target.
12612
12613 2015-02-26  Doug Evans  <dje@google.com>
12614
12615         * gdb.cp/class2.cc (Dbase, D): New classes.
12616         (main): New local delta.
12617         * gdb.cp/class2.exp: Test printing delta.
12618         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12619         (dynbar): New global.
12620         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12621
12622 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
12623
12624         * gdb.compile/compile-ifunc.c: New file.
12625         * gdb.compile/compile-ifunc.exp: New file.
12626
12627 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
12628
12629         * gdb.base/structs.exp: Check for correct struct on finish.
12630
12631 2015-02-26  Yao Qi  <yao.qi@linaro.org>
12632
12633         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12634         is zero.
12635
12636 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
12637
12638         * gdb.arch/cordic.ko.bz2: New file.
12639         * gdb.arch/cordic.ko.debug.bz2: New file.
12640         * gdb.arch/ppc64-symtab-cordic.exp: New file.
12641
12642 2015-02-25  Yao Qi  <yao.qi@linaro.org>
12643
12644         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12645         aarch64*-*-* target.
12646
12647 2015-02-23  Pedro Alves  <palves@redhat.com>
12648
12649         * lib/gdb.exp (delete_breakpoints): Rewrite using
12650         gdb_test_multiple.
12651
12652 2015-02-23  Pedro Alves  <palves@redhat.com>
12653
12654         * gdb.base/info-os.c: Include stdlib.h.
12655
12656 2015-02-22  Doug Evans  <xdje42@gmail.com>
12657
12658         PR symtab/17855
12659         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12660         is read after symbols have been re-read.
12661         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12662         * gdb.ada/exec_changed/second.adb (Second): Ditto.
12663
12664 2015-02-21  Doug Evans  <dje@google.com>
12665
12666         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12667
12668 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12669
12670         PR corefiles/17808
12671         * gdb.arch/i386-biarch-core.core.bz2: New file.
12672         * gdb.arch/i386-biarch-core.exp: New file.
12673
12674 2015-02-21  Pedro Alves  <palves@redhat.com>
12675
12676         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12677         runto_main fails.
12678
12679 2015-02-20  Pedro Alves  <palves@redhat.com>
12680
12681         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12682         info probes.
12683
12684 2015-02-20  Pedro Alves  <palves@redhat.com>
12685
12686         * gdb.threads/multi-create-ns-info-thr.exp: New file.
12687
12688 2015-02-20  Pedro Alves  <palves@redhat.com>
12689
12690         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
12691         clean_restart before gdb_target_supports_trace.
12692
12693 2015-02-20  Pedro Alves  <palves@redhat.com>
12694
12695         PR threads/18006
12696         * gdb.threads/clone-thread_db.c: New file.
12697         * gdb.threads/clone-thread_db.exp: New file.
12698
12699 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
12700
12701         PR breakpoints/16812
12702         * gdb.base/catch-gdb-caused-signals.c: New file.
12703         * gdb.base/catch-gdb-caused-signals.exp: New file.
12704
12705 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
12706
12707         * configure: Regenerated.
12708         * configure.ac: Use GDB_AC_TRANSFORM.
12709         * aclocal.m4: sinclude ../transform.m4.
12710
12711 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12712
12713         * lib/dtrace.exp: New file.
12714         * gdb.base/dtrace-probe.exp: Likewise.
12715         * gdb.base/dtrace-probe.d: Likewise.
12716         * gdb.base/dtrace-probe.c: Likewise.
12717         * lib/pdtrace.in: Likewise.
12718         * configure.ac: Output variables with the transformed names of
12719         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
12720         * configure: Regenerated.
12721
12722 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12723
12724         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12725         expected message when trying to access $_probe_* convenience
12726         variables while not on a probe.
12727
12728 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12729
12730         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12731
12732 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
12733
12734         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12735         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12736
12737 2015-02-10  Doug Evans  <xdje42@gmail.com>
12738
12739         * lib/gdb.exp (gdb_load): Always return a result.
12740
12741 2015-02-10  Pedro Alves  <palves@redhat.com>
12742
12743         * gdb.threads/signal-sigtrap.c: New file.
12744         * gdb.threads/signal-sigtrap.exp: New file.
12745
12746 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
12747
12748         * gdb.trace/no-attach-trace.c: New file.
12749         * gdb.trace/no-attach-trace.exp: New file.
12750
12751 2015-02-09  Mark Wielaard  <mjw@redhat.com>
12752
12753         * gdb.dwarf2/atomic.c: New file.
12754         * gdb.dwarf2/atomic-type.exp: Likewise.
12755
12756 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
12757
12758         * gdb.btrace/buffer-size.exp: Update "info record" output.
12759         * gdb.btrace/delta.exp: Update "info record" output.
12760         * gdb.btrace/enable.exp: Update "info record" output.
12761         * gdb.btrace/finish.exp: Update "info record" output.
12762         * gdb.btrace/instruction_history.exp: Update "info record" output.
12763         * gdb.btrace/next.exp: Update "info record" output.
12764         * gdb.btrace/nexti.exp: Update "info record" output.
12765         * gdb.btrace/step.exp: Update "info record" output.
12766         * gdb.btrace/stepi.exp: Update "info record" output.
12767         * gdb.btrace/nohist.exp: Update "info record" output.
12768
12769 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
12770
12771         * gdb.btrace/buffer-size: New.
12772
12773 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
12774
12775         * gdb.btrace/delta.exp: Update "info record" output.
12776         * gdb.btrace/enable.exp: Update "info record" output.
12777         * gdb.btrace/finish.exp: Update "info record" output.
12778         * gdb.btrace/instruction_history.exp: Update "info record" output.
12779         * gdb.btrace/next.exp: Update "info record" output.
12780         * gdb.btrace/nexti.exp: Update "info record" output.
12781         * gdb.btrace/step.exp: Update "info record" output.
12782         * gdb.btrace/stepi.exp: Update "info record" output.
12783         * gdb.btrace/nohist.exp: Update "info record" output.
12784
12785 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
12786
12787         PR gdb/15678
12788         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12789
12790 2015-02-06  Pedro Alves  <palves@redhat.com>
12791
12792         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12793         macro.
12794         (seconds_left, again): New globals.
12795         (main): Wait seconds_left in a 1-second sleep loop instead of
12796         sleeping 180 seconds.  If 'again' is set, reset the seconds
12797         counter.
12798         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12799         'again' in the inferior before detaching.  Print the seconds left.
12800         (options): New global.
12801         (top level): Build program with -DTIMEOUT=$timeout.
12802
12803 2015-02-06  Pedro Alves  <palves@redhat.com>
12804
12805         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12806         determine how many seconds to pass to 'alarm'.
12807         * gdb.base/gdb-sigterm.exp (top level): Build program with
12808         -DTIMEOUT=$timeout.
12809         (do_test): Return success/failure indication.  Add more verbose
12810         logging.  Don't fail if 200 single steps are seen.  Instead, fail
12811         when the test times out.
12812         (passes): New global.
12813         (top level): Break the testing loop if testing fails on any
12814         iteration.  Use gdb_assert.
12815
12816 2015-02-04  Don Breazeal  <donb@codesourcery.com>
12817
12818         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12819         and initialize them.
12820         (ipc_cleanup): New function.
12821         (main): Don't declare shmid, semid, and msqid.  Add a call to
12822         atexit so that we call ipc_cleanup on exit.
12823
12824 2015-02-04  Pedro Alves  <palves@redhat.com>
12825
12826         * boards/native-extended-gdbserver.exp: Remove any target variant
12827         specifications from the board name before clearing the isremote
12828         flag from board_info.
12829
12830 2015-01-31  Doug Evans  <xdje42@gmail.com>
12831
12832         * gdb.base/maint.exp <maint print type argc>: Update expected output.
12833
12834 2015-01-31  Gary Benson <gbenson@redhat.com>
12835
12836         * gdb.base/completion.exp: Disable completion limiting for
12837         existing tests.  Add new tests to check completion limiting.
12838         * gdb.linespec/ls-errs.exp: Disable completion limiting.
12839
12840 2015-01-31  Doug Evans  <xdje42@gmail.com>
12841
12842         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12843
12844 2015-01-31  Doug Evans  <xdje42@gmail.com>
12845
12846         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12847         entries.  Duplicate file section script entries.
12848         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12849         inlined entries.  Add test for safe-path rejection.
12850         * gdb.python/py-section-script.c: Add duplicate inlined section script
12851         entries.  Duplicate file section script entries.
12852         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12853         inlined entries.  Add test for safe-path rejection.
12854
12855 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
12856
12857         * gdb.ada/disc_arr_bound: New testcase.
12858
12859 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
12860
12861         * gdb.ada/mi_var_array: New testcase.
12862
12863 2015-01-27  Doug Evans  <dje@google.com>
12864
12865         * gdb.python/py-objfile.exp: Add tests for objfile.username.
12866         Add test for objfile.filename, objfile.username after objfile
12867         has been unloaded.
12868
12869 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
12870
12871         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12872         the second test to print the name attribute of value
12873         returned by the call to gdb.lookup_type, and adjust
12874         the expected output accordingly.
12875
12876 2015-01-25  Mark Wielaard  <mjw@redhat.com>
12877
12878         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12879         * gdb.base/disp-step-fork.c: Include unistd.h.
12880         * gdb.base/siginfo-obj.c: Include stdio.h.
12881         * gdb.base/siginfo-thread.c: Likewise.
12882         * gdb.mi/non-stop.c: Include unistd.h.
12883         * gdb.mi/nsthrexec.c: Include stdio.h.
12884         * gdb.mi/pthreads.c: Include unistd.h.
12885         * gdb.modula2/unbounded1.c (main): Declare returns int.
12886         * gdb.reverse/consecutive-reverse.c: Likewise.
12887         * gdb.threads/create-fail.c: Include unistd.h.
12888         * gdb.threads/killed.c: Likewise.
12889         * gdb.threads/linux-dp.c: Likewise.
12890         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12891         * gdb.threads/non-ldr-exc-2.c: Likewise.
12892         * gdb.threads/non-ldr-exc-3.c: Likewise.
12893         * gdb.threads/non-ldr-exc-4.c: Likewise.
12894         * gdb.threads/pthreads.c: Include unistd.h.
12895         (main): Declare returns int.
12896         * gdb.threads/tls-main.c (foo): New declaration.
12897         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12898
12899 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
12900
12901         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12902         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12903
12904 2015-01-15  Mark Wielaard  <mjw@redhat.com>
12905
12906         * gdb.base/noreturn-return.c: New file.
12907         * gdb.base/noreturn-return.exp: New file.
12908         * gdb.base/noreturn-finish.c: New file.
12909         * gdb.base/noreturn-finish.exp: New file.
12910
12911 2015-01-23  Pedro Alves  <palves@redhat.com>
12912
12913         * gdb.threads/continue-pending-after-query.c: New file.
12914         * gdb.threads/continue-pending-after-query.exp: New file.
12915
12916 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
12917             Simon Marchi  <simon.marchi@ericsson.com>
12918
12919         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12920         * gdb.base/valgrind-db-attach.exp: Same.
12921         * gdb.base/valgrind-infcall.exp: Same.
12922         * lib/mi-support.exp (default_mi_gdb_start): Same.
12923         * lib/prompt.exp (default_prompt_gdb_start): Same.
12924         * lib/gdb.exp (default_gdb_spawn): Same.
12925         (gdb_interact): New.
12926
12927
12928 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12929
12930         * gdb.compile/compile.exp (pointer to jit function): New test.
12931
12932 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
12933
12934         * lib/gdb.exp (supports_process_record): Return true for
12935         powerpc*-*-linux*.
12936         (supports_reverse): Likewise.
12937
12938 2015-01-15  Don Breazeal  <donb@codesourcery.com>
12939
12940         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12941         instead of checking whether the target board is remote and
12942         use spawn_wait_for_attach instead of exec/sleep.
12943         * gdb.base/attach-twice.exp: Likewise.
12944
12945 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
12946
12947         * gdb.ada/var_arr_attrs: New testcase.
12948
12949 2015-01-14  Pedro Alves  <palves@redhat.com>
12950             Joel Brobecker  <brobecker@adacore.com>
12951
12952         PR gdb/17525
12953         * gdb.base/bp-cmds-execution-x-script.c: New file.
12954         * gdb.base/bp-cmds-execution-x-script.exp: New file.
12955         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12956
12957 2015-01-14  Pedro Alves  <palves@redhat.com>
12958
12959         PR cli/17828
12960         * gdb.base/batch-preserve-term-settings.c: New file.
12961         * gdb.base/batch-preserve-term-settings.exp: New file.
12962
12963 2015-01-13  Doug Evans  <dje@google.com>
12964
12965         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12966         binary.
12967
12968 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
12969
12970         * Makefile.in (clean mostlyclean): Do not delete *.py.
12971
12972 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
12973
12974         * gdb.python/py-lookup-type.exp: New file.
12975
12976 2015-01-12  Pedro Alves  <palves@redhat.com>
12977
12978         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12979         restore GDBFLAGS before returning.
12980
12981 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12982
12983         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12984         is_amd64_regs_target and is_x86_like_target.
12985
12986 2015-01-11  Doug Evans  <xdje42@gmail.com>
12987
12988         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12989         is given without an explicit form.
12990         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12991         attributes.
12992         * gdb.dwarf/corrupt.exp: Ditto.
12993         * gdb.dwarf2/enum-type.exp: Ditto.
12994         * gdb.trace/entry-values.exp: Ditto.
12995         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12996
12997 2015-01-11  Doug Evans  <xdje42@gmail.com>
12998
12999         PR gdb/15830
13000         * gdb.base/maint.exp: Remove references to "maint demangle".
13001         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
13002         Add tests for explicitly specifying language to demangle.
13003         * gdb.dlang/demangle.exp: Ditto.
13004
13005 2015-01-09  Pedro Alves  <palves@redhat.com>
13006
13007         * gdb.threads/non-stop-fair-events.c: New file.
13008         * gdb.threads/non-stop-fair-events.exp: New file.
13009
13010 2015-01-09  Pedro Alves  <palves@redhat.com>
13011
13012         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13013         the global scope.  Set a breakpoint after all threads are started
13014         rather than stepping over two source lines.  Expect the prompt.
13015         * gdb.base/watch_thread_num.c (threads_started_barrier): New
13016         global.
13017         (NUM): Now 15.
13018         (main): Use threads_started_barrier to wait for all threads to
13019         start.  Main thread no longer calls thread_function.  Exit after
13020         180 seconds.
13021         (loop): New function.
13022         (thread_function): Wait on threads_started_barrier barrier.  Call
13023         'loop' at each iteration.
13024         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13025         threads have started, instead of hardcoding number of "next"
13026         steps.  Use an access watchpoint instead of a write watchpoint.
13027
13028 2015-01-09  Pedro Alves  <palves@redhat.com>
13029
13030         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13031         (thread_func): Wait on barrier.
13032         (main): Wait for all threads to start before stopping GDB.
13033         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13034         global.
13035         (thread1_func, thread2_func): Wait on barrier.
13036         (main): Wait for all threads to start before stopping GDB.
13037         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13038         New global.
13039         (thread1_func, thread2_func): Wait on barrier.
13040         (main): Wait for all threads to start before stopping GDB.
13041
13042 2015-01-09  Pedro Alves  <palves@redhat.com>
13043
13044         * gdb.threads/attach-many-short-lived-threads.c: New file.
13045         * gdb.threads/attach-many-short-lived-threads.exp: New file.
13046
13047 2014-01-09  Pedro Alves  <palves@redhat.com>
13048
13049         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13050         instead of to thread 2.
13051         * gdb.threads/signal-command-multiple-signals-pending.c (main):
13052         Add barrier around each pthread_create call instead of around all
13053         calls.
13054         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13055         Set a break on thread_function and have the child threads hit it
13056         one at at a time.
13057
13058 2015-01-09  Pedro Alves  <palves@redhat.com>
13059
13060         * lib/gdb.exp (can_spawn_for_attach): New procedure.
13061         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13062         false.
13063         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13064         checking whether the target board is remote.
13065         * gdb.multi/multi-attach.exp: Likewise.
13066         * gdb.python/py-sync-interp.exp: Likewise.
13067         * gdb.server/ext-attach.exp: Likewise.
13068         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13069         tests that need to attach, instead of checking whether the target
13070         board is remote at the top of the file.
13071
13072 2015-01-08  Yao Qi  <yao@codesourcery.com>
13073
13074         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13075
13076 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13077
13078         Fix testcase compilation.
13079         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13080
13081 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
13082
13083         * gdb.python/py-type.exp: Add a couple test about empty
13084         array creation, and negative-length array creation.
13085
13086 2015-01-02  Doug Evans  <xdje42@gmail.com>
13087
13088         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13089
13090 2015-01-02  Doug Evans  <dje@google.com>
13091
13092         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13093
13094 2014-12-29  Yao Qi  <yao@codesourcery.com>
13095
13096         * gdb.trace/entry-values.exp: Update comments.  Rename variable
13097         bar_call_foo to returned_from_foo.
13098
13099 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
13100
13101         PR gdb/17394
13102         * gdb.linespec/break-asm-file.c: New file.
13103         * gdb.linespec/break-asm-file.exp: New file.
13104         * gdb.linespec/break-asm-file0.s: New file.
13105         * gdb.linespec/break-asm-file1.s: New file.
13106
13107 2014-12-18  Nigel Stephens  <nigel@mips.com>
13108             Maciej W. Rozycki  <macro@codesourcery.com>
13109
13110         * gdb.base/float.exp: Handle the new output from "info float" on
13111         MIPS targets.
13112
13113 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13114
13115         Fix MinGW compilation.
13116         * gdb.compile/compile-ops.exp: Update untested message if
13117         !skip_compile_feature_tests.
13118         * gdb.compile/compile-setjmp.exp: Likewise.
13119         * gdb.compile/compile-tls.exp: Likewise.
13120         * gdb.compile/compile.exp: Likewise.
13121         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13122         supported on this host".
13123
13124 2014-12-16  Doug Evans  <xdje42@gmail.com>
13125
13126         * boards/stabs.exp: New file.
13127
13128 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
13129
13130         * gdb.base/completion.exp: Adjust to format changes of "maint
13131         print user-registers".
13132
13133 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
13134
13135         PR server/17457
13136         * gdb.arch/aarch64-fp.c: New file.
13137         * gdb.arch/aarch64-fp.exp: New file.
13138
13139 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
13140
13141         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13142         r210637, r210913, r211666, r215400, r215817).
13143
13144         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
13145                 * dg-extract-results.py: New file.
13146                 * dg-extract-results.sh: Use it if the environment seems
13147                 suitable.
13148
13149         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
13150
13151                 * dg-extract-results.py (parse_run): Handle warnings that
13152                 are printed before a test harness is run.
13153
13154         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
13155
13156                 * dg-extract-results.py (Named): Remove __cmp__ method.
13157                 (output_variation): Use a key to sort variation.harnesses.
13158
13159         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
13160
13161                 * dg-extract-results.py: For Python 3, force sys.stdout to
13162                 handle surrogate escape sequences.
13163                 (safe_open): New function.
13164                 (output_segment, main): Use it.
13165
13166         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
13167
13168                 * dg-extract-results.py (Prog.result_re): Include options
13169                 in test name.
13170
13171         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
13172
13173                 * dg-extract-results.py (output_variation): Always sort if
13174                 do_sum.
13175
13176 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
13177
13178         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13179         as long as we get pagination notifications.
13180
13181 2014-12-15  Jason Merrill  <jason@redhat.com>
13182
13183         * Makefile.in (check-gdb.%): Restore.
13184         * README: Mention it.
13185
13186 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
13187
13188         * gdb.ada/str_uninit: New testcase.
13189
13190 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13191
13192         PR symtab/17642
13193         * gdb.base/vla-stub-define.c: New file.
13194         * gdb.base/vla-stub.c: New file.
13195         * gdb.base/vla-stub.exp: New file.
13196
13197 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
13198             Jan Kratochvil  <jan.kratochvil@redhat.com>
13199             Tom Tromey  <tromey@redhat.com>
13200
13201         * configure.ac: Add gdb.compile/.
13202         * configure: Regenerate.
13203         * gdb.compile/Makefile.in: New file.
13204         * gdb.compile/compile-ops.exp: New file.
13205         * gdb.compile/compile-ops.c: New file.
13206         * gdb.compile/compile-tls.c: New file.
13207         * gdb.compile/compile-tls.exp: New file.
13208         * gdb.compile/compile-constvar.S: New file.
13209         * gdb.compile/compile-constvar.c: New file.
13210         * gdb.compile/compile-mod.c: New file.
13211         * gdb.compile/compile-nodebug.c: New file.
13212         * gdb.compile/compile-setjmp-mod.c: New file.
13213         * gdb.compile/compile-setjmp.c: New file.
13214         * gdb.compile/compile-setjmp.exp: New file.
13215         * gdb.compile/compile-shlib.c: New file.
13216         * gdb.compile/compile.c: New file.
13217         * gdb.compile/compile.exp: New file.
13218         * lib/gdb.exp (skip_compile_feature_tests): New proc.
13219
13220 2014-12-12  Tom Tromey  <tromey@redhat.com>
13221
13222         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
13223         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13224
13225 2014-12-12  Doug Evans  <dje@google.com>
13226
13227         * lib/gdb-python.exp (get_python_valueof): New function.
13228         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13229
13230 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13231
13232         * gdb.base/completion.exp: Add test for completion of "info
13233         registers ".
13234
13235 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
13236
13237         * gdb.base/func-ptrs.c: New file.
13238         * gdb.base/func-ptrs.exp: New file.
13239
13240 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
13241
13242         PR breakpoints/17012
13243         * gdb.base/dprintf-detach.c: New file.
13244         * gdb.base/dprintf-detach.exp: New file.
13245
13246 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
13247
13248         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13249         * lib/gdb.exp (target_is_gdbserver): New procedure.
13250
13251 2014-12-08  Doug Evans  <dje@google.com>
13252
13253         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13254
13255 2014-12-05  Yao Qi  <yao@codesourcery.com>
13256
13257         * gdb.guile/scm-error.exp: Remove the third argument to
13258         gdb_remote_download.
13259         * gdb.guile/scm-frame-args.exp: Likewise.
13260         * gdb.guile/scm-section-script.exp: Likewise.
13261
13262 2014-12-05  Yao Qi  <yao@codesourcery.com>
13263
13264         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13265
13266 2014-12-04  Doug Evans  <dje@google.com>
13267
13268         * gdb.python/py-objfile.exp: Add tests for
13269         objfile.add_separate_debug_file.
13270
13271 2014-12-04  Doug Evans  <dje@google.com>
13272
13273         * lib/gdb.exp (get_build_id): New function.
13274         (build_id_debug_filename_get): Rewrite to use it.
13275         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13276
13277 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
13278
13279         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13280         `method(long)', not just 0x0.
13281         * gdb.cp/nsalias.exp: Align code labels to 4.
13282         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13283         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13284         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13285         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13286         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13287         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13288
13289 2014-12-02  Doug Evans  <dje@google.com>
13290
13291         PR symtab/17602
13292         * gdb.cp/anon-ns.cc: Move guts of this file to ...
13293         * gdb.cp/anon-ns2.cc: ... here.  New file.
13294         * gdb.cp/anon-ns.exp: Update.
13295
13296 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
13297
13298         * gdb.python/py-events.py (inferior_call_handler): New.
13299         (register_changed_handler, memory_changed_handler): New.
13300         (test_events.invoke): Register new handlers.
13301         * gdb.python/py-events.exp: Add tests for inferior call,
13302         memory_changed and register_changed events.
13303
13304 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13305
13306         * gdb.base/execl-update-breakpoints.exp: Specify the link address
13307         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
13308         if the linker doesn't understand this.
13309
13310 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
13311
13312         * gdb.python/python.exp: Change expected reply to help().
13313
13314 2014-12-01  Yao Qi  <yao@codesourcery.com>
13315
13316         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
13317         AC_CONFIG_SUBDIRS(gdb.gdbtk).
13318         * configure: Re-generated.
13319
13320 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
13321
13322         * gdb.cp/chained-calls.cc: New file.
13323         * gdb.cp/chained-calls.exp: New file.
13324         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13325
13326 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
13327
13328         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13329         * gdb.dwarf2/symtab-producer.exp: Same.
13330         * gdb.gdb/python-interrupts.exp: Same.
13331         * gdb.gdb/python-selftest.exp: Same.
13332         * gdb.python/py-linetable.exp: Same.
13333         * gdb.python/py-type.exp: Same.
13334         * gdb.python/py-value-cc.exp: Same.
13335         * gdb.python/py-value.exp: Same.
13336
13337 2014-11-28  Yao Qi  <yao@codesourcery.com>
13338
13339         * gdb.base/break-probes.exp: Match library name prefixed with
13340         sysroot.
13341
13342 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
13343
13344         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13345         test expected output.  Add parentheses for the call to print.
13346         Remove L suffix from integers.
13347
13348 2014-11-26  Doug Evans  <dje@google.com>
13349
13350         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13351
13352 2014-11-22  Yao Qi  <yao@codesourcery.com>
13353
13354         * gdb.trace/entry-values.c: Remove asms.
13355         (foo): Add foo_label.
13356         (bar): Add bar_label.
13357         * gdb.trace/entry-values.exp: Remove code computing  foo's
13358         length and bar's length.
13359         (Dwarf::assemble): Invoke function_range for bar and use
13360         MACRO_AT_func for foo.
13361
13362 2014-11-22  Yao Qi  <yao@codesourcery.com>
13363
13364         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13365         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
13366         Use .Lgcc43_procstart instead of gcc43.
13367
13368 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
13369
13370         * gdb.ada/n_arr_bound: New testcase.
13371
13372 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
13373
13374         PR breakpoints/10737
13375         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13376         test_catch_syscall_multi_arch.
13377         (test_catch_syscall_multi_arch): New function.
13378
13379 2014-11-20  Doug Evans  <xdje42@gmail.com>
13380
13381         * gdb.base/maint.exp: Update expected output.
13382
13383 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13384
13385         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13386         4-byte instruction on S390.
13387
13388 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
13389
13390         * gdb.ada/arr_arr: New testcase.
13391
13392 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
13393
13394         * gdb.ada/pkd_arr_elem: New Testcase.
13395
13396 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
13397
13398         * gdb.reverse/break-precsave: Expect completion message for
13399         core file reads.
13400         * gdb.reverse/consecutive-precsave.exp: Likewise.
13401         * gdb.reverse/finish-precsave.exp: Likewise.
13402         * gdb.reverse/i386-precsave.exp: Likewise.
13403         * gdb.reverse/machinestate-precsave.exp: Likewise.
13404         * gdb.reverse/sigall-precsave.exp: Likewise.
13405         * gdb.reverse/solib-precsave.exp: Likewise.
13406         * gdb.reverse/step-precsave.exp: Likewise.
13407         * gdb.reverse/until-precsave.exp: Likewise.
13408         * gdb.reverse/watch-precsave.exp: Likewise.
13409
13410 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13411
13412         * gdb.base/bp-permanent.c: Include unistd.h.
13413         * gdb.python/py-framefilter-mi.c (main): Add return type.
13414         * gdb.python/py-framefilter.c (main): Likewise.
13415         * gdb.trace/actions-changed.c (main): Likewise.
13416
13417 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13418
13419         * gdb.mi/until.c: Add eye-catchers.
13420         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13421         line numbers.
13422
13423 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13424
13425         * gdb.base/condbreak.exp: Drop references to removed non-prototype
13426         function header variants in break1.c.
13427         * gdb.base/ena-dis-br.exp: Likewise.
13428         * gdb.base/hbreak2.exp: Likewise.
13429         * gdb.reverse/until-precsave.exp: Drop references to removed
13430         non-prototype function header variants in ur1.c.
13431         * gdb.reverse/until-reverse.exp: Likewise.
13432
13433 2014-11-17  Petr Machata  <pmachata@redhat.com>
13434
13435         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
13436         ${_cu_offset_size} bytes abbrev offset.
13437
13438 2014-11-15  Doug Evans  <xdje42@gmail.com>
13439
13440         PR symtab/17559
13441         * gdb.base/line-symtabs.exp: New file.
13442         * gdb.base/line-symtabs.c: New file.
13443         * gdb.base/line-symtabs.h: New file.
13444
13445 2014-11-14  Yao Qi  <yao@codesourcery.com>
13446
13447         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13448         (func): Add label func_label.
13449         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13450         Replace low_pc and high_pc with MACRO_AT_range.
13451         Replace name, low_pc and high_pc with MACRO_AT_func.
13452
13453 2014-11-14  Yao Qi  <yao@codesourcery.com>
13454
13455         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13456         Replace name, low_pc and high_pc with MACRO_AT_func.
13457
13458 2014-11-14  Yao Qi  <yao@codesourcery.com>
13459
13460         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13461         produce debug information.
13462         * gdb.dwarf2/implptr-optimized-out.S: Removed.
13463
13464 2014-11-14  Yao Qi  <yao@codesourcery.com>
13465
13466         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13467         object and get function length.
13468         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13469         with MACRO_AT_func.
13470         (top-level): Replace gdb_compile and clean_restart with
13471         prepare_for_testing.
13472         * gdb.dwarf2/main.c (main): Add label main_label.
13473
13474 2014-11-14  Yao Qi  <yao@codesourcery.com>
13475
13476         * lib/dwarf.exp (function_range): New procedure.
13477         (Dwarf::_handle_macro_at_func): New procedure.
13478         (Dwarf::_handle_macro_at_range): New procedure.
13479         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13480
13481 2014-11-14  Yao Qi  <yao@codesourcery.com>
13482
13483         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13484         (_handle_attribute): New procedure.
13485
13486 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13487
13488         * gdb.ada/cond_lang/foo.c (callme): Add return type.
13489         * gdb.base/call-sc.c (zed): Likewise.
13490         * gdb.base/checkpoint.c (main): Likewise.
13491         * gdb.base/dump.c (main): Likewise.
13492         * gdb.base/gcore.c (main): Likewise.
13493         * gdb.base/huge.c (main): Likewise.
13494         * gdb.base/multi-forks.c (main): Likewise.
13495         * gdb.base/pr10179-a.c (main): Likewise.
13496         * gdb.base/savedregs.c (main): Likewise.
13497         * gdb.base/sigaltstack.c (main): Likewise.
13498         * gdb.base/siginfo.c (main): Likewise.
13499         * gdb.base/structs.c (zed): Likewise.
13500         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13501         * gdb.mi/mi-syn-frame.c (main): Likewise.
13502         * gdb.mi/until.c (foo, main): Likewise.
13503         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13504         * gdb.base/solib-weak.c (foo): Declare.
13505         * gdb.base/attach-twice.c: Include stdio.h.
13506         * gdb.base/weaklib1.c: Likewise.
13507         * gdb.base/weaklib2.c: Likewise.
13508         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13509         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13510         unistd.h.
13511         * gdb.base/attach-pie-misread.c: Include stdlib.h.
13512         * gdb.mi/mi-exit-code.c: Likewise.
13513         * gdb.base/break-interp-lib.c: Include string.h.
13514         * gdb.base/coremaker.c: Likewise.
13515         * gdb.base/testenv.c: Likewise.
13516         * gdb.python/py-finish-breakpoint.c: Likewise.
13517         * gdb.base/inferior-died.c: Include sys/wait.h.
13518         * gdb.base/fileio.c: Include time.h.
13519         * gdb.base/async-shell.c: Include unistd.h.
13520         * gdb.base/dprintf-non-stop.c: Likewise.
13521         * gdb.base/info-os.c: Likewise.
13522         * gdb.mi/mi-console.c: Likewise.
13523         * gdb.mi/watch-nonstop.c: Likewise.
13524         * gdb.python/py-events.c: Likewise.
13525         * gdb.base/async.c (baz): Move up before its invocation.
13526         * gdb.base/code_elim2.c (my_global_func): Likewise.
13527         * gdb.base/skip-solib-lib.c (multiply): Likewise.
13528         * gdb.base/advance.c (func2): Likewise.
13529
13530 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13531
13532         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13533         variant.
13534         * gdb.base/annota3.c: Likewise.
13535         * gdb.base/async.c: Likewise.
13536         * gdb.base/average.c: Likewise.
13537         * gdb.base/call-ar-st.c: Likewise.
13538         * gdb.base/call-rt-st.c: Likewise.
13539         * gdb.base/call-sc.c: Likewise.
13540         * gdb.base/call-strs.c: Likewise.
13541         * gdb.base/ending-run.c: Likewise.
13542         * gdb.base/execd-prog.c: Likewise.
13543         * gdb.base/exprs.c: Likewise.
13544         * gdb.base/foll-exec.c: Likewise.
13545         * gdb.base/foll-fork.c: Likewise.
13546         * gdb.base/foll-vfork.c: Likewise.
13547         * gdb.base/funcargs.c: Likewise.
13548         * gdb.base/gcore.c: Likewise.
13549         * gdb.base/jump.c: Likewise.
13550         * gdb.base/langs0.c: Likewise.
13551         * gdb.base/langs1.c: Likewise.
13552         * gdb.base/langs2.c: Likewise.
13553         * gdb.base/mips_pro.c: Likewise.
13554         * gdb.base/nodebug.c: Likewise.
13555         * gdb.base/opaque0.c: Likewise.
13556         * gdb.base/opaque1.c: Likewise.
13557         * gdb.base/recurse.c: Likewise.
13558         * gdb.base/run.c: Likewise.
13559         * gdb.base/scope0.c: Likewise.
13560         * gdb.base/scope1.c: Likewise.
13561         * gdb.base/setshow.c: Likewise.
13562         * gdb.base/setvar.c: Likewise.
13563         * gdb.base/shmain.c: Likewise.
13564         * gdb.base/shr1.c: Likewise.
13565         * gdb.base/shr2.c: Likewise.
13566         * gdb.base/sigall.c: Likewise.
13567         * gdb.base/signals.c: Likewise.
13568         * gdb.base/so-indr-cl.c: Likewise.
13569         * gdb.base/solib2.c: Likewise.
13570         * gdb.base/structs.c: Likewise.
13571         * gdb.base/sum.c: Likewise.
13572         * gdb.base/vforked-prog.c: Likewise.
13573         * gdb.base/watchpoint.c: Likewise.
13574         * gdb.reverse/shr2.c: Likewise.
13575         * gdb.reverse/until-reverse.c: Likewise.
13576         * gdb.reverse/ur1.c: Likewise.
13577         * gdb.reverse/watch-reverse.c: Likewise.
13578
13579 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13580
13581         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13582         variant.
13583         * gdb.base/sepdebug.exp: Drop references to removed code.
13584
13585 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13586
13587         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13588         variant.  Preserve original line numbering.
13589         * gdb.base/list1.c: Likewise.
13590
13591 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13592
13593         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13594         variant.
13595         * gdb.base/break1.c: Likewise.
13596         * gdb.base/break.exp: Drop references to removed code.
13597
13598 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13599
13600         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13601         variant.
13602
13603 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13604
13605         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13606
13607 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13608
13609         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
13610         logic into perform_all_tests() and invoke it with and without
13611         function header prototypes.
13612         (do_function_calls): Remove conditional XFAIL for PR 5318.
13613         (rerun_and_prepare): Remove duplicate code.
13614         (perform_all_tests): New.  Main logic moved here.
13615
13616 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13617
13618         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13619         code guarded by #ifdef NO_PROTOTYPES.
13620         (t_double_many_args): Likewise.
13621         (DEF_FUNC_MANY_ARGS_1): Likewise.
13622         (DEF_FUNC_VALUES_1): Likewise.
13623         (t_structs_ldc): Renamed from t_structs_fc in conditional code
13624         guarded by #ifdef PROTOTYPES.
13625
13626 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13627
13628         * gdb.mi/mi-console.c: Add eye-catcher.
13629         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13630         instead of literal line number.
13631
13632 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13633
13634         * gdb.base/shr2.c: Add eye-catcher.
13635         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13636         line number.
13637
13638 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13639
13640         * gdb.base/jump.c: Add eye-catchers.
13641         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13642         numbers.
13643
13644 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13645
13646         * gdb.base/execd-prog.c: Add eye-catchers.
13647         * gdb.base/foll-exec.c: Likewise.
13648         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13649         line numbers.
13650
13651 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13652
13653         * gdb.base/ending-run.c: Add eye-catchers.
13654         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13655         literal line numbers.
13656
13657 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13658
13659         * gdb.base/call-rt-st.c: Add eye-catchers.
13660         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13661         literal line numbers.
13662
13663 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13664
13665         * gdb.base/call-ar-st.c: Add eye-catchers.
13666         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13667         literal line numbers.
13668
13669 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13670
13671         * gdb.base/average.c: Add eye-catchers.
13672         * gdb.base/sum.c: Likewise.
13673         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13674         regexps dynamically.
13675
13676 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13677
13678         * gdb.base/solib1.c: Add eye-catchers.
13679         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13680         literal line numbers.
13681
13682 2014-11-12  Pedro Alves  <palves@redhat.com>
13683
13684         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13685         leader has exited.
13686
13687 2014-11-12  Pedro Alves  <palves@redhat.com>
13688
13689         * gdb.arch/i386-bp_permanent.c: New file.
13690         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13691         (srcfile): Set to i386-bp_permanent.c.
13692         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
13693         that stepi does not execute the 'leave' instruction, instead of
13694         testing it does execute.
13695         * gdb.base/bp-permanent.c: New file.
13696         * gdb.base/bp-permanent.exp: New file.
13697
13698 2014-11-10  Doug Evans  <xdje42@gmail.com>
13699
13700         PR symtab/17564
13701         * gdb.base/symtab-search-order.exp: New file.
13702         * gdb.base/symtab-search-order.c: New file.
13703         * gdb.base/symtab-search-order-1.c: New file.
13704         * gdb.base/symtab-search-order-shlib-1.c: New file.
13705
13706 2014-11-07  Pedro Alves  <palves@redhat.com>
13707
13708         PR gdb/17511
13709         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13710         i?86-*-linux*.
13711
13712 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
13713
13714         PR c++/17494
13715         * gdb.cp/pr17494.cc: New file.
13716         * gdb.cp/pr17494.exp: New file.
13717
13718 2014-11-02  Yao Qi  <yao@codesourcery.com>
13719
13720         * gdb.python/python.exp: Get working directory and match the
13721         output of "set extended-prompt \\w " with it.
13722
13723 2014-10-30  Doug Evans  <dje@google.com>
13724
13725         * gdb.python/py-objfile.exp: Add tests for setting random attributes
13726         in objfiles.
13727         * gdb.python/py-progspace.exp: Add tests for setting random attributes
13728         in progspaces.
13729
13730 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
13731
13732         * gdb.base/fullpath-expand.exp: Skip for a remote host.
13733         * gdb.base/realname-expand.exp: Likewise.
13734         * gdb.linespec/macro-relative.exp: Likewise.
13735
13736 2014-10-29  Pedro Alves  <palves@redhat.com>
13737
13738         PR gdb/17408
13739         * gdb.threads/schedlock.c (some_function): New function.
13740         (call_function): New global.
13741         (MAYBE_CALL_SOME_FUNCTION): New macro.
13742         (thread_function): Call it.
13743         * gdb.threads/schedlock.exp (get_args): Add description parameter,
13744         and use it instead of a global counter.  Adjust all callers.
13745         (get_current_thread): Use "find current thread" for test message
13746         here rather than having all callers pass down the same string.
13747         (goto_loop): New procedure, factored out from ...
13748         (my_continue): ... this.
13749         (step_ten_loops): Change parameter from test message to command to
13750         use.  Adjust.
13751         (list_count): Delete global.
13752         (check_result): New procedure, factored out from duplicate top
13753         level code.
13754         (continue tests): Wrap in with_test_prefix.
13755         (test_step): New procedure, factored out from duplicate top level
13756         code.
13757         (top level): Test "step" in combination with all scheduler-locking
13758         modes.  Test "next" in combination with all scheduler-locking
13759         modes, and in combination with stepping over a function call or
13760         not.
13761         * gdb.threads/next-bp-other-thread.c: New file.
13762         * gdb.threads/next-bp-other-thread.exp: New file.
13763
13764 2014-10-29  Pedro Alves  <palves@redhat.com>
13765
13766         PR python/17372
13767         * gdb.python/python.exp: Test a multi-line command that spawns
13768         interactive Python.
13769         * gdb.base/multi-line-starts-subshell.exp: New file.
13770
13771 2014-10-29  Yao Qi  <yao@codesourcery.com>
13772
13773         * gdb.base/fileio.exp: Make directories on host.
13774
13775 2014-10-29  Yao Qi  <yao@codesourcery.com>
13776
13777         * gdb.base/fileio.c (test_write): Close the file.
13778
13779 2014-10-28  Pedro Alves  <palves@redhat.com>
13780
13781         PR gdb/12623
13782         * gdb.base/sigstep.c (no_handler): New global.
13783         (main): If 'no_handler is true, set the signal handlers to
13784         SIG_IGN.
13785         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13786         with_sw_watch and no_handler parameters.  Handle them.
13787         (top level) <stepping over handler when stopped at a breakpoint
13788         test>: Add a test axis for testing with a software watchpoint, and
13789         another for testing with the signal handler set to SIG_IGN.
13790         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13791         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13792
13793 2014-10-28  Pedro Alves  <palves@redhat.com>
13794
13795         PR gdb/17511
13796         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13797         * gdb.base/sigstep.exp (other_handler_location): New global.
13798         (advance): Support stepping into the signal handler, and running
13799         commands while in the handler.
13800         (in_handler_map): New global.
13801         (top level): In the advance test, add combinations for getting
13802         into the handler with stepping commands, and for running commands
13803         in the handler.  Add comment descripting the advancei tests.
13804
13805 2014-10-28  Pedro Alves  <palves@redhat.com>
13806
13807         * gdb.base/sigstep.exp: Use build_executable instead of
13808         prepare_for_testing.
13809         (top level): Move code that starts GDB, runs to main and creates a
13810         display to ...
13811         (restart): ... this new procedure.
13812         (top level): Move backtrace from signal handler test to ...
13813         (validate_backtrace): ... this new procedure.
13814         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
13815         with_test_prefix.  Always restart GDB.
13816         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
13817         with_test_prefix.  Always restart GDB.  No need to delete
13818         breakpoints after the test.
13819         (test_skip_handler): Remove prefix parameter.
13820         (skip_over_handler, breakpoint_to_handler)
13821         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13822         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
13823         restart GDB.  No need to delete breakpoints after the test.
13824         (top level): Use foreach to call the test procedures with
13825         different commands.
13826
13827 2014-10-28  Pedro Alves  <palves@redhat.com>
13828
13829         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13830         instead of GNATS numbers.
13831         * gdb.base/sigbpt.exp: Likewise.
13832         * gdb.base/siginfo.exp: Likewise.
13833         * gdb.base/sigstep.exp: Likewise.
13834
13835 2014-10-27  Pedro Alves  <palves@redhat.com>
13836
13837         * gdb.base/sigstep.c (dummy): New global.
13838         (main): Issue a couple writes to the new global.
13839         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13840         procedures.
13841         (skip_over_handler): Use test_skip_handler.
13842         (top level): Call skip_over_handler for stepi and nexti too.
13843         (breakpoint_over_handler): Use test_skip_handler.
13844         (top level): Call breakpoint_over_handler for stepi and nexti too.
13845
13846 2014-10-27  Yao Qi  <yao@codesourcery.com>
13847
13848         * gdb.trace/tfile.c (adjust_function_address)
13849         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13850         function descriptor.
13851
13852 2014-10-24  Don Breazeal  <donb@codesourcery.com>
13853
13854         * gdb.base/foll-fork.exp (test_follow_fork,
13855         catch_fork_child_follow): Check for updated fork messages emitted
13856         from infrun.c.
13857         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13858         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13859         vfork_and_exec_child_follow_through_step): Check for updated vfork
13860         messages emitted from infrun.c.
13861
13862 2014-10-24  Pedro Alves  <palves@redhat.com>
13863
13864         * gdb.base/corefile.exp: Remove references to ultrix.
13865         * gdb.base/interrupt.exp: Likewise.
13866         * gdb.base/whatis.exp: Likewise.
13867         * gdb.gdb/selftest.exp: Likewise.
13868         * gdb.threads/manythreads.exp: Likewise.
13869         * gdb.threads/print-threads.exp: Likewise.
13870         * gdb.threads/pthreads.exp:: Likewise.
13871         * gdb.threads/schedlock.exp: Likewise.
13872
13873 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
13874
13875         * gdb.cp/non-trivial-retval.cc: Add a test case.
13876         * gdb.cp/non-trivial-retval.exp: Add a test.
13877
13878 2014-10-20  Yao Qi  <yao@codesourcery.com>
13879
13880         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13881         * gdb.python/py-objfile-script-gdb.py: New file.
13882         * gdb.python/py-objfile-script.exp: Update reference to
13883         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
13884         of remote_download.  Remove the dest file.
13885
13886 2014-10-20  Yao Qi  <yao@codesourcery.com>
13887
13888         * gdb.base/checkpoint.exp: Don't remove file copied on host.
13889         * gdb.base/step-line.exp: Likewise.
13890         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13891         * gdb.dwarf2/dw2-basic.exp: Likewise.
13892         * gdb.dwarf2/dw2-compressed.exp: Likewise.
13893         * gdb.dwarf2/dw2-filename.exp: Likewise.
13894         * gdb.dwarf2/dw2-intercu.exp: Likewise.
13895         * gdb.dwarf2/dw2-intermix.exp: Likewise.
13896         * gdb.dwarf2/dw2-producer.exp: Likewise.
13897         * gdb.dwarf2/mac-fileno.exp: Likewise.
13898         * gdb.python/py-frame-args.exp: Likewise.
13899         * gdb.python/py-framefilter.exp: Likewise.
13900         * gdb.python/py-mi.exp: Likewise.
13901         * gdb.python/py-objfile-script.exp: Likewise
13902         * gdb.python/py-pp-integral.exp: Likewise.
13903         * gdb.python/py-pp-re-notag.exp: Likewise.
13904         * gdb.python/py-prettyprint.exp: Likewise.
13905         * gdb.python/py-section-script.exp: Likewise.
13906         * gdb.python/py-typeprint.exp: Likewise.
13907         * gdb.python/py-xmethods.exp: Likewise.
13908         * gdb.stabs/weird.exp: Likewise.
13909         * gdb.xml/tdesc-regs.exp: Likewise.
13910
13911 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
13912
13913         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13914         (out_cu): Use addr_len for the size of addresses.
13915         (out_line): Likewise.  Size DW_LNE_set_address instruction
13916         according to addr_len.
13917         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13918         (FUNC): Add START_INSNS to definition.
13919
13920 2014-10-18  Yao Qi  <yao@codesourcery.com>
13921
13922         * gdb.base/argv0-symlink.exp: Check argv[0] value if
13923         gdb_has_argv0 return true.
13924         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13925         check [target_info exists noargs], check [gdb_has_argv0]
13926         instead.
13927         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13928         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13929         procedures.
13930
13931 2014-10-17  Doug Evans  <dje@google.com>
13932
13933         * gdb.python/py-events.exp: Update expected output for clear_objfiles
13934         event.
13935         * gdb.python/py-events.py: Add clear_objfiles event.
13936
13937 2014-10-17  Doug Evans  <dje@google.com>
13938
13939         * gdb.python/py-objfile.exp: Test progspace attribute.
13940
13941 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
13942
13943         * gdb.guile/scm-breakpoint.exp: Do not assume any
13944         directory separators when matching source file paths.
13945         * gdb.python/py-breakpoint.exp: Likewise.
13946         * gdb.reverse/break-precsave.exp: Likewise.
13947         * gdb.reverse/break-reverse.exp: Likewise.
13948         * gdb.reverse/consecutive-precsave.exp: Likewise.
13949         * gdb.reverse/finish-precsave.exp: Likewise.
13950         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13951         * gdb.reverse/finish-reverse.exp: Likewise.
13952         * gdb.reverse/i386-precsave.exp: Likewise.
13953         * gdb.reverse/i387-env-reverse.exp: Likewise.
13954         * gdb.reverse/i387-stack-reverse.exp: Likewise.
13955         * gdb.reverse/machinestate-precsave.exp: Likewise.
13956         * gdb.reverse/machinestate.exp: Likewise.
13957         * gdb.reverse/sigall-precsave.exp: Likewise.
13958         * gdb.reverse/solib-precsave.exp: Likewise.
13959         * gdb.reverse/step-precsave.exp: Likewise.
13960         * gdb.reverse/until-precsave.exp: Likewise.
13961         * gdb.reverse/watch-precsave.exp: Likewise.
13962         * gdb.reverse/watch-reverse.exp: Likewise.
13963
13964 2014-10-17  Yao Qi  <yao@codesourcery.com>
13965
13966         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13967         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13968
13969 2014-10-17  Pedro Alves  <palves@redhat.com>
13970
13971         PR gdb/17471
13972         * gdb.base/bg-execution-repeat.c: New file.
13973         * gdb.base/bg-execution-repeat.exp: New file.
13974
13975 2014-10-17  Pedro Alves  <palves@redhat.com>
13976
13977         PR gdb/17300
13978         * gdb.base/continue-all-already-running.c: New file.
13979         * gdb.base/continue-all-already-running.exp: New file.
13980
13981 2014-10-17  Pedro Alves  <palves@redhat.com>
13982
13983         PR gdb/17472
13984         * gdb.base/annota-input-while-running.c: New file.
13985         * gdb.base/annota-input-while-running.exp: New file.
13986
13987 2014-10-17  Pedro Alves  <palves@redhat.com>
13988
13989         * gdb.base/callfuncs.exp: emove references to osf.
13990         * gdb.base/sigall.exp: Likewise.
13991         * gdb.gdb/selftest.exp: Likewise.
13992         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13993         * gdb.mi/non-stop.c: Likewise.
13994         * gdb.mi/pthreads.c: Likewise.
13995         * gdb.reverse/sigall-precsave.exp: Likewise.
13996         * gdb.reverse/sigall-reverse.exp: Likewise.
13997         * gdb.threads/pthreads.c: Likewise.
13998         * gdb.threads/pthreads.exp: Likewise.
13999
14000 2014-10-17  Yao Qi  <yao@codesourcery.com>
14001
14002         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14003         check 'target_info exists noargs'.
14004         (test_command_prompt_position): Likewise.
14005         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14006         Remove "set args".
14007         (progvar_simple_while_test): Likewise.
14008         (progvar_complex_if_while_test): Likewise.
14009         (if_while_breakpoint_command_test): Likewise.
14010         (infrun_breakpoint_command_test): Likewise.
14011         (breakpoint_command_test): Likewise.
14012         (watchpoint_command_test): Likewise.
14013         (bp_deleted_in_command_test): Likewise.
14014         (temporary_breakpoint_commands): Likewise.
14015
14016 2014-10-16  Yao Qi  <yao@codesourcery.com>
14017
14018         * gdb.base/remotetimeout.exp: Remove noargs checking.
14019
14020 2014-10-15  Pedro Alves  <palves@redhat.com>
14021
14022         PR breakpoints/9649
14023         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14024         * gdb.base/breakpoint-in-ro-region.exp
14025         (probe_target_hardware_step): New procedure.
14026         (top level): Probe hardware stepping and hardware breakpoint
14027         support.  Test stepping through a read-only region, with both
14028         "breakpoint auto-hw" on and off and both "always-inserted" on and
14029         off.
14030
14031 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
14032
14033         * gdb.dlang/demangle.exp: Update for demangling changes.
14034
14035 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
14036
14037         * gdb.cp/non-trivial-retval.cc: Add new test cases.
14038         * gdb.cp/non-trivial-retval.exp: Add new tests.
14039
14040 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
14041
14042         PR c++/13403
14043         PR c++/15154
14044         * gdb.cp/non-trivial-retval.cc: New file.
14045         * gdb.cp/non-trivial-retval.exp: New file.
14046
14047 2014-10-15  Yao Qi  <yao@codesourcery.com>
14048
14049         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14050         remote host.
14051
14052 2014-10-15  Yao Qi  <yao@codesourcery.com>
14053
14054         * gdb.python/py-symbol.exp: Match file base name if host is
14055         remote, otherwise match file name with dir name.
14056         * gdb.python/py-symtab.exp: Likewise.
14057         * gdb.python/python.exp: Likewise.
14058
14059 2014-10-15  Yao Qi  <yao@codesourcery.com>
14060
14061         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14062         pattern.
14063         * gdb.python/py-symtab.exp: Likewise.
14064         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
14065         locationn.
14066
14067 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
14068
14069         * gdb.ada/addr_arith: New testcase.
14070
14071 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
14072
14073         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14074         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14075         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14076         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14077
14078 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
14079
14080         * gdb.arch/stap-eval-lang-ada.S: Likewise.
14081         * gdb.arch/stap-eval-lang-ada.c: Likewise.
14082         * gdb.arch/stap-eval-lang-ada.exp: New file.
14083
14084 2014-10-14  Yao Qi  <yao@codesourcery.com>
14085
14086         * gdb.mi/mi-var-child.c (nothing1): New function.
14087         (nothing2): New function.
14088         (do_children_tests): Set function pointers by nothing1 and
14089         nothing2.
14090         * gdb.mi/mi-var-child.exp: Step over new added statements.
14091         Update test to match the new output.
14092         * gdb.mi/var-cmd.c (nothing1): New function.
14093         (nothing2): New function.
14094         (do_children_tests): Set function pointers by  nothing1 and
14095         nothing2.
14096         * gdb.mi/mi-var-display.exp: Update test to match output.
14097         Step to the line specified by $line_dct_nothing.
14098         Increase the number of lines to step.
14099
14100 2014-10-14  Yao Qi  <yao@codesourcery.com>
14101
14102         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14103         tests.
14104         * gdb.mi/mi2-var-child.exp: Likewise.
14105
14106 2014-10-13  Doug Evans  <dje@google.com>
14107
14108         * gdb.python/py-objfile.exp: Change name of file name test.
14109
14110 2014-10-13  Doug Evans  <dje@google.com>
14111
14112         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14113         from the start of the CU.
14114
14115 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
14116             Yao Qi  <yao@codesourcery.com>
14117
14118         Fix "save breakpoints" for "catch" command.
14119         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14120         Remove -nonewline.  Match also the added "main" line.
14121
14122 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
14123
14124         Fix "save breakpoints" for "disable $bpnum" command.
14125         * gdb.base/save-bp.c (main): Add label.
14126         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
14127
14128 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
14129
14130         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14131
14132 2014-10-11  Yao Qi  <yao@codesourcery.com>
14133
14134         * gdb.server/server-kill.exp: Execute command
14135         "set remote trace-status-packet on" before "tstatus".
14136
14137 2014-10-11  Yao Qi  <yao@codesourcery.com>
14138
14139         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14140         (main): Call getppid.
14141         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14142         and continue to it.  Read variable "server_pid".
14143
14144 2014-10-11  Yao Qi  <yao@codesourcery.com>
14145
14146         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14147
14148 2014-10-11  Yao Qi  <yao@codesourcery.com>
14149
14150         * gdb.threads/thread-find.exp: Don't execute command
14151         "info threads".
14152         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14153         * gdb.threads/linux-dp.exp: Don't check the condition
14154         $threads_created equals to zero.
14155
14156 2014-10-10  Pedro Alves  <palves@redhat.com>
14157
14158         * gdb.base/bigcore.exp: Remove references to IRIX.
14159         * gdb.base/funcargs.exp: Likewise.
14160         * gdb.base/interrupt.exp: Likewise.
14161         * gdb.base/mips_pro.exp: Likewise.
14162         * gdb.base/nodebug.exp: Likewise.
14163         * gdb.base/setvar.exp: Likewise.
14164         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14165
14166 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
14167             Pedro Alves  <palves@redhat.com>
14168
14169         PR symtab/14466
14170         * gdb.base/vdso-warning.c: New file.
14171         * gdb.base/vdso-warning.exp: New file.
14172
14173 2014-10-02  Doug Evans  <dje@google.com>
14174
14175         * gdb.base/structs.c (main): Don't run forever.
14176
14177 2014-10-02  Pedro Alves  <palves@redhat.com>
14178
14179         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14180         (top level) <stop threads 1, stop threads 2>: Use it.
14181
14182 2014-10-02  Pedro Alves  <palves@redhat.com>
14183
14184         * gdb.threads/break-while-running.exp (test): Add new
14185         'update_thread_list' argument.  Skip "info threads" if false.
14186         (top level): Add new 'update_thread_list' axis.
14187
14188 2014-10-02  Pedro Alves  <palves@redhat.com>
14189
14190         PR breakpoints/17431
14191         * gdb.base/execl-update-breakpoints.c: New file.
14192         * gdb.base/execl-update-breakpoints.exp: New file.
14193
14194 2014-10-01  Pedro Alves  <palves@redhat.com>
14195
14196         * gdb.base/breakpoint-in-ro-region.c: New file.
14197         * gdb.base/breakpoint-in-ro-region.exp: New file.
14198
14199 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
14200
14201         * gdb.mi/mi-exit-code.exp: New file.
14202         * gdb.mi/mi-exit-code.c: New file.
14203
14204 2014-09-30  Yao Qi  <yao@codesourcery.com>
14205
14206         * lib/prelink-support.exp (build_executable_own_libs): Error if
14207         the target isn't native.
14208
14209 2014-09-30  Yao Qi  <yao@codesourcery.com>
14210
14211         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14212         false.
14213
14214 2014-09-22  Pedro Alves  <palves@redhat.com>
14215
14216         * gdb.threads/break-while-running.exp: New file.
14217         * gdb.threads/break-while-running.c: New file.
14218
14219 2014-09-19  Yao Qi  <yao@codesourcery.com>
14220
14221         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14222         Invoke test.  Restart GDB with --readnow and invoke test again.
14223
14224 2014-09-19  Yao Qi  <yao@codesourcery.com>
14225
14226         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14227         proc set_breakpoint_on_gcd_function.  Invoke
14228         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
14229         invoke set_breakpoint_on_gcd_function again.
14230
14231 2014-09-18  Doug Evans  <dje@google.com>
14232
14233         * gdb.dwarf2/symtab-producer.exp: New file.
14234
14235 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
14236
14237         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14238         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14239         * gdb.base/global-var-nested-by-dso.c: Likewise.
14240         * gdb.base/global-var-nested-by-dso.exp: Likewise.
14241
14242 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
14243             Pedro Alves  <palves@redhat.com>
14244
14245         * gdb.base/watch-bitfields.exp: Pass string other than test file
14246         name to prepare_for_testing.
14247         (watch): New procedure.
14248         (expect_watchpoint): Use with_test_prefix.
14249         (top level): Factor out tests to ...
14250         (test_watch_location, test_regular_watch): ... these new
14251         procedures, and use with_test_prefix and gdb_continue_to_end.
14252
14253 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
14254
14255         PR breakpoints/12526
14256         * gdb.base/watch-bitfields.exp: New file.
14257         * gdb.base/watch-bitfields.c: New file.
14258
14259 2014-09-16  Pedro Alves  <palves@redhat.com>
14260
14261         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14262         software and hardware addresses, not software address against
14263         itself.
14264
14265 2014-09-16  Pedro Alves  <palves@redhat.com>
14266
14267         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14268         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14269
14270 2014-09-16  Pedro Alves  <palves@redhat.com>
14271
14272         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14273         files.
14274         * gdb.base/a2-run.exp: Remove all code guarded by istarget
14275         "*-*-vxworks*" throughout.
14276         * gdb.base/break.exp: Likewise.
14277         * gdb.base/default.exp: Likewise.
14278         * gdb.base/scope.exp: Likewise.
14279         * gdb.base/sepdebug.exp: Likewise.
14280         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14281         throughout.
14282         * gdb.base/run.c: Likewise.
14283         * gdb.base/sepdebug.c: Likewise.
14284         * gdb.hp/gdb.aCC/run.c: Likewise.
14285         * gdb.reverse/until-reverse.c: Likewise.
14286         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14287
14288 2014-09-16  Yao Qi  <yao@codesourcery.com>
14289
14290         * boards/local-remote-host-native.exp: New file.
14291
14292 2014-09-14  Doug Evans  <xdje42@gmail.com>
14293
14294         * gdb.threads/queue-signal.c (thread_count): New variable.
14295         (thread_count_mutex, thread_count_condvar): New variables.
14296         (incr_thread_count, wait_all_threads_running): New functions.
14297         (main): Wait for all threads to be in their thread functions.
14298
14299 2014-09-13  Doug Evans  <xdje42@gmail.com>
14300
14301         * gdb.threads/queue-signal.c: New file.
14302         * gdb.threads/queue-signal.exp: New file.
14303
14304 2014-09-13  Doug Evans  <xdje42@gmail.com>
14305
14306         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14307         be consistent with what default_gdb_init uses.
14308         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14309         the plain text of the prompt.  Add some logging printfs.
14310         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14311
14312 2014-09-12  Pedro Alves  <palves@redhat.com>
14313
14314         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14315         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14316         * gdb.arch/i386-size-overlap.exp: Likewise.
14317         * gdb.arch/i386-size.exp: Likewise.
14318         * gdb.arch/i386-unwind.exp: Likewise.
14319         * gdb.base/a2-run.exp: Likewise.
14320         * gdb.base/break.exp: Likewise.
14321         * gdb.base/charset.exp: Likewise.
14322         * gdb.base/chng-syms.exp: Likewise.
14323         * gdb.base/commands.exp: Likewise.
14324         * gdb.base/dbx.exp: Likewise.
14325         * gdb.base/find.exp: Likewise.
14326         * gdb.base/funcargs.exp: Likewise.
14327         * gdb.base/jit-simple.exp: Likewise.
14328         * gdb.base/reread.exp: Likewise.
14329         * gdb.base/sepdebug.exp: Likewise.
14330         * gdb.base/step-bt.exp: Likewise.
14331         * gdb.cp/mb-inline.exp: Likewise.
14332         * gdb.cp/mb-templates.exp: Likewise.
14333         * gdb.objc/basicclass.exp: Likewise.
14334         * gdb.threads/killed.exp: Likewise.
14335
14336 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14337
14338         PR tdep/17379
14339         * gdb.arch/powerpc-stackless.S: New file.
14340         * gdb.arch/powerpc-stackless.exp: New file.
14341
14342 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
14343
14344         * gdb.base/attach.c: Include unistd.h.
14345         (main): Call alarm.  Add label postloop.
14346         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14347         gdb_breakpoint, gdb_continue_to_breakpoint.
14348         (test_command_line_attach_run): Kill ${testpid} in one exit path.
14349
14350 2014-09-11  Pedro Alves  <palves@redhat.com>
14351
14352         PR gdb/17347
14353         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14354         * gdb.base/attach.exp (test_command_line_attach_run): New
14355         procedure.
14356         (top level): Call it.
14357
14358 2014-09-11  Pedro Alves  <palves@redhat.com>
14359
14360         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14361         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14362         (do_command_attach_tests): Use spawn_wait_for_attach.
14363         * gdb.base/solib-overlap.exp: Likewise.
14364         * gdb.multi/multi-attach.exp: Likewise.
14365         * gdb.python/py-prompt.exp: Likewise.
14366         * gdb.python/py-sync-interp.exp: Likewise.
14367         * gdb.server/ext-attach.exp: Likewise.
14368
14369 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
14370
14371         * gdb.fortran/array-element.exp: Remove unexpected "continue"
14372         command in testcase.  Simplify testcase.
14373
14374 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
14375
14376         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14377
14378 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
14379
14380         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14381
14382 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
14383
14384         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14385
14386 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
14387
14388         * gdb.dwarf2/dynarr-ptr.c: New file.
14389         * gdb.dwarf2/dynarr-ptr.exp: New file.
14390
14391 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14392
14393         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14394         of 30 rather than hardcoding 120 for a slow test case.  Take the
14395         `gdb,timeout' target setting into account for this calculation.
14396         Don't extend the timeout for the test cases that don't need it.
14397
14398 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14399
14400         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14401         a factor of 2 for a slow test case.  Take the `gdb,timeout'
14402         target setting into account for this calculation.
14403         * gdb.reverse/until-precsave.exp: Increase the timeout by
14404         a factor of 15 and 3 respectively rather than adding 120
14405         for a pair of slow test cases.  Take the `gdb,timeout'
14406         target setting into account for this calculation.
14407
14408 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14409
14410         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14411         timeout, don't pass one down to gdb_expect.
14412         (gdb_expect): Rework timeout selection.
14413
14414 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14415
14416         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14417         exception on timeout.
14418         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14419         (gdbserver_start_extended): Catch any `gdbserver_start' error
14420         exceptions.
14421         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14422         * lib/mi-support.exp (mi_gdb_target_load): Catch any
14423         `gdbserver_gdb_load' error exceptions.
14424
14425 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14426
14427         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14428         120 on waiting for the TCP socket to open.
14429
14430 2014-09-09  Doug Evans  <xdje42@gmail.com>
14431
14432         * gdb.base/default.exp (show_conv_list): Add _caller_is,
14433         _caller_matches, _any_caller_is, _any_caller_matches.
14434
14435 2014-09-09  Doug Evans  <xdje42@gmail.com>
14436
14437         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14438
14439 2014-09-09  Yao Qi  <yao@codesourcery.com>
14440
14441         * gdb.mi/mi-var-display.exp: Set print symbol off.
14442
14443 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
14444
14445         PR gdb/17035
14446         * gdb.base/commands.exp: Add tests to verify user-defined
14447         commands with empty bodies.
14448         * gdb.python/py-cmd.exp: Test that we don't show user-defined
14449         python commands in `show user command`.
14450         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14451         scheme commands in `show user command`.
14452
14453 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
14454
14455         PR python/17355
14456         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14457         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14458         * gdb.python/py-framefilter-invalidarg.exp: New file.
14459         * gdb.python/py-framefilter-invalidarg.py: New file.
14460
14461 2014-09-06  Doug Evans  <xdje42@gmail.com>
14462
14463         PR 15276
14464         * gdb.python/py-caller-is.c: New file.
14465         * gdb.python/py-caller-is.exp: New file.
14466
14467 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
14468
14469         PR gdb/17235
14470         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14471         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14472
14473 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
14474
14475         PR fortran/17237
14476         * gdb.fortran/print-formatted.exp: New file.
14477         * gdb.fortran/print-formatted.f90: Likewise.
14478
14479 2014-09-03  Sasha Smundak  <asmundak@google.com>
14480
14481         * gdb.python/py-frame.exp: Test Frame.read_register.
14482
14483 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
14484
14485         PR python/16699
14486         * gdb.python/py-completion.exp: New file.
14487         * gdb.python/py-completion.py: Likewise.
14488
14489 2014-08-28  Doug Evans  <dje@google.com>
14490
14491         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14492         eax,etc. are live with values set by gdb and thus the compiler can't
14493         use them.
14494         * gdb.arch/i386-pseudo.c (main): Ditto.
14495
14496 2014-08-27  Doug Evans  <dje@google.com>
14497
14498         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14499
14500 2014-08-25  Doug Evans  <dje@google.com>
14501
14502         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14503         (main): Ditto.
14504
14505 2014-08-25  Doug Evans  <dje@google.com>
14506
14507         * gdb.threads/thread-execl.exp: #include <stdio.h>.
14508
14509 2014-08-24  Yao Qi  <yao@codesourcery.com>
14510
14511         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14512         symbol off.
14513         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14514
14515 2014-08-22  Doug Evans  <dje@google.com>
14516
14517         PR 17276
14518         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14519         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14520         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14521
14522 2014-08-22  Yao Qi  <yao@codesourcery.com>
14523
14524         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14525         * gdb.python/py-finish-breakpoint2.exp: Likewise.
14526         * gdb.python/python.exp: Likewise.  Use .py file on the host
14527         instead of the build.
14528
14529 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14530
14531         * gdb.threads/gcore-stale-thread.c: New file.
14532         * gdb.threads/gcore-stale-thread.exp: New file.
14533
14534 2014-08-21  Pedro Alves  <palves@redhat.com>
14535
14536         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14537         * gdb.base/gcore-relro-pie.exp: Likewise.
14538         * gdb.base/gcore-relro.exp: Likewise.
14539         * gdb.base/gcore.exp: Likewise.
14540         * gdb.base/print-symbol-loading.exp: Likewise.
14541         * gdb.threads/gcore-thread.exp: Likewise.
14542         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14543
14544 2014-08-20  Pedro Alves  <palves@redhat.com>
14545             Jan Kratochvil  <jan.kratochvil@redhat.com>
14546
14547         * Makefile.in (EXTRA_RULES, CC): New variables, get from
14548         configure.
14549         (EXPECT): Handle READ1 being set.
14550         (all): Depend on EXTRA_RULES.
14551         (check-read1, expect-read1, read1.so, read1): New rules.
14552         * README (Testsuite Parameters): Document the READ1 make variable.
14553         (Race detection): New section.
14554         * configure: Regenerate.
14555         * configure.ac: If build==host==target, and running under a
14556         GNU/glibc system, add read1 to the extra Makefile rules.
14557         (EXTRA_RULES): AC_SUBST it.
14558         * lib/read1.c: New file.
14559
14560 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
14561
14562         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14563         the handling of variables declared as a typedef to an array
14564         which a DW_AT_data_location attribute.
14565
14566 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
14567             Pedro Alves  <palves@redhat.com>
14568
14569         PR symtab/14604
14570         PR symtab/14605
14571         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14572         gdb_test.
14573
14574 2014-08-19  Pedro Alves  <palves@redhat.com>
14575
14576         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14577
14578 2014-08-19  Yao Qi  <yao@codesourcery.com>
14579
14580         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14581         right line.
14582
14583 2014-08-18  David Blaikie  <dblaikie@gmail.com>
14584
14585         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14586
14587 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
14588
14589         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14590         attribute in array range.
14591
14592 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
14593
14594         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14595
14596 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
14597
14598         PR c++/17132
14599         * gdb.cp/pr17132.cc: New file.
14600         * gdb.cp/pr17132.exp: New file.
14601
14602 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
14603
14604         * gdb.python/py-xmethods.py (A_getarrayind)
14605         (E_method_char_worker.__call__, E_method_int_worker.__call__):
14606         Use 'print' with function call syntax.
14607         (E_method_matcher.match): Fix tab vs space indentation mixup.
14608
14609 2014-08-15  Yao Qi  <yao@codesourcery.com>
14610
14611         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14612         false.
14613
14614 2014-08-15  Yao Qi  <yao@codesourcery.com>
14615
14616         * gdb.cp/casts.exp: Set print symbol off.
14617         * gdb.cp/class2.exp: Likewise.
14618         * gdb.cp/overload.exp: Likewise.
14619         * gdb.cp/templates.exp: Likewise.
14620
14621 2014-08-11  Doug Evans  <dje@google.com>
14622
14623         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14624         (test_load_shlib): Update.
14625
14626 2014-08-09  Yao Qi  <yao@codesourcery.com>
14627
14628         * gdb.base/display.exp: Invoke is_address_zero_readable.
14629         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14630         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14631         * gdb.base/hbreak-unmapped.exp: Return if
14632         is_address_zero_readable returns true.
14633         * gdb.base/signest.exp: Likewise.
14634         * gdb.base/signull.exp: Likewise.
14635         * gdb.base/sigbpt.exp: Likewise.
14636         * gdb.guile/scm-disasm.exp: Do the test if
14637         is_address_zero_readable returns false.
14638         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14639         * gdb.python/py-arch.exp: Likewise.
14640         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14641         * lib/gdb.exp (is_address_zero_readable): New proc.
14642
14643 2014-08-09  Yao Qi  <yao@codesourcery.com>
14644
14645         PR testsuite/13443
14646         * gdb.mi/mi-var-display.exp: Make test messages unique.
14647
14648 2014-08-04  Tom Tromey  <tromey@redhat.com>
14649
14650         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14651         target 0".
14652
14653 2014-08-04  Tom Tromey  <tromey@redhat.com>
14654
14655         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14656         "target_resume".
14657
14658 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
14659
14660         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14661         inner_vla_struct_object_size.
14662         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14663         as xfail.
14664
14665 2014-07-30  Pedro Alves  <palves@redhat.com>
14666
14667         * gdb.threads/signal-command-handle-nopass.exp (test): Add
14668         comment.
14669
14670 2014-07-29  Yao Qi  <yao@codesourcery.com>
14671
14672         PR gdb/17206
14673         * gdb.base/until-nodebug.exp: New.
14674
14675 2014-07-28  Doug Evans  <xdje42@gmail.com>
14676
14677         PR guile/17203
14678         * gdb.guile/scm-parameter.exp: Add tests for trying to create
14679         previously existing parameter, and previously ambiguously spelled
14680         parameter.
14681
14682 2014-07-28  Will Newton  <will.newton@linaro.org>
14683
14684         * gdb.base/varargs.exp: Remove KFAILs for ARM.
14685
14686 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
14687             Doug Evans  <xdje42@gmail.com>
14688
14689         PR guile/17146
14690         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14691
14692 2014-07-25  Pedro Alves  <palves@redhat.com>
14693
14694         * gdb.threads/signal-command-handle-nopass.c: New file.
14695         * gdb.threads/signal-command-handle-nopass.exp: New file.
14696         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14697         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14698         * gdb.threads/signal-delivered-right-thread.c: New file.
14699         * gdb.threads/signal-delivered-right-thread.exp: New file.
14700
14701 2014-07-25  Pedro Alves  <palves@redhat.com>
14702
14703         * gdb.base/double-prompt-target-event-error.exp
14704         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14705         match.
14706         (cancel_pagination_in_target_event): Rework double prompt
14707         detection.
14708         * gdb.base/paginate-after-ctrl-c-running.exp
14709         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14710         <return>' match.
14711         * gdb.base/paginate-bg-execution.exp
14712         (test_bg_execution_pagination_return)
14713         (test_bg_execution_pagination_cancel): Remove '-notransfer
14714         <return>' matches.
14715         * gdb.base/paginate-execution-startup.exp
14716         (test_fg_execution_pagination_return)
14717         (test_fg_execution_pagination_cancel): Remove '-notransfer
14718         <return>' matches.
14719         * gdb.base/paginate-inferior-exit.exp
14720         (test_paginate_inferior_exited): Remove '-notransfer <return>'
14721         match.
14722         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14723         * lib/gdb.exp (pagination_prompt): Run text through
14724         string_to_regexp.
14725         (gdb_test_multiple): Match $pagination_prompt instead of
14726         "<return>".
14727         (string_to_regexp): Move to lib/gdb-utils.exp.
14728
14729 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14730
14731         * gdb.arch/amd64-entry-value-paramref.S: New file.
14732         * gdb.arch/amd64-entry-value-paramref.cc: New file.
14733         * gdb.arch/amd64-entry-value-paramref.exp: New file.
14734         * gdb.arch/amd64-optimout-repeat.S: New file.
14735         * gdb.arch/amd64-optimout-repeat.c: New file.
14736         * gdb.arch/amd64-optimout-repeat.exp: New file.
14737
14738 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
14739
14740         PR gdb/17170
14741         * gdb.base/statistics.exp: New file.
14742
14743 2014-07-17  Doug Evans  <dje@google.com>
14744
14745         PR gdb/17170
14746         * gdb.base/maint.exp: Update testing of per-command stats.
14747
14748 2014-07-16  Pedro Alves  <palves@redhat.com>
14749
14750         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14751         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14752         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14753         (tfile_write_buf): New functions.
14754         (add_memory_block): Rewrite using the above.
14755         (adjust_function_address): New function.
14756         (FUNCTION_ADDRESS): New macro.
14757         (write_basic_trace_file): Remove short_x local, and use
14758         tfile_write_16. Change type of func_addr local to unsigned long
14759         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
14760         here.  Cast argument of add_memory_block to char pointer.
14761         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
14762         (main): Remove parameters.
14763         * gdb.trace/tfile.exp: Remove nowarnings.
14764
14765 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
14766
14767         * gdb.base/debug-expr.exp: Test string evaluation with
14768         "debug expression" on.
14769
14770 2014-07-15  Pedro Alves  <palves@redhat.com>
14771
14772         * gdb.base/reread.exp: Use clean_restart.
14773
14774 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
14775
14776         * gdb.arch/avr-flash-qualifer.c: New.
14777         * gdb.arch/avr-flash-qualifer.exp: New.
14778
14779 2014-07-14  Pedro Alves  <palves@redhat.com>
14780
14781         * gdb.base/paginate-after-ctrl-c-running.c: New file.
14782         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14783
14784 2014-07-14  Pedro Alves  <palves@redhat.com>
14785
14786         * gdb.base/double-prompt-target-event-error.c: New file.
14787         * gdb.base/double-prompt-target-event-error.exp: New file.
14788
14789 2014-07-14  Pedro Alves  <palves@redhat.com>
14790
14791         PR gdb/17072
14792         * gdb.base/paginate-inferior-exit.c: New file.
14793         * gdb.base/paginate-inferior-exit.exp: New file.
14794
14795 2014-07-14  Pedro Alves  <palves@redhat.com>
14796
14797         PR gdb/17072
14798         * gdb.base/paginate-bg-execution.c: New file.
14799         * gdb.base/paginate-bg-execution.exp: New file.
14800
14801 2014-07-14  Pedro Alves  <palves@redhat.com>
14802
14803         PR gdb/17072
14804         * gdb.base/paginate-execution-startup.c: New file.
14805         * gdb.base/paginate-execution-startup.exp: New file.
14806         * lib/gdb.exp (pagination_prompt): New global.
14807         (default_gdb_spawn): New procedure, factored out from
14808         default_gdb_spawn.
14809         (default_gdb_start): Adjust to call default_gdb_spawn.
14810         (gdb_spawn): New procedure.
14811
14812 2014-07-14  Pedro Alves  <palves@redhat.com>
14813
14814         * lib/gdb.exp (gdb_assert): New procedure.
14815         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14816
14817 2014-07-14  Pedro Alves  <palves@redhat.com>
14818
14819         * gdb.base/execution-termios.c: New file.
14820         * gdb.base/execution-termios.exp: New file.
14821
14822 2014-07-14  Tom Tromey  <tromey@redhat.com>
14823
14824         * gdb.cp/vla-cxx.cc: New file.
14825         * gdb.cp/vla-cxx.exp: New file.
14826
14827 2014-07-14  Tom Tromey  <tromey@redhat.com>
14828
14829         * gdb.reverse/rerun-prec.c: New file.
14830         * gdb.reverse/rerun-prec.exp: New file.
14831
14832 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
14833             Maciej W. Rozycki  <macro@codesourcery.com>
14834
14835         * lib/gdb-utils.exp: New file.
14836         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14837         inline `gdb_init_command' processing.
14838         (gdb_start_cmd): Likewise.
14839         * lib/mi-support.exp (mi_run_cmd): Likewise.
14840         * README: Document `gdb_init_command' and `gdb_init_commands'.
14841
14842 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14843
14844         Fix false FAIL running under a very long directory name.
14845         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14846         and "set print elements 10000".  Twice.
14847
14848 2014-07-11  Yao Qi  <yao@codesourcery.com>
14849
14850         * gdb.base/exprs.exp: "set print symbol off".
14851
14852 2014-07-11  Pedro Alves  <palves@redhat.com>
14853
14854         * gdb.threads/kill.c: New file.
14855         * gdb.threads/kill.exp: New file.
14856
14857 2014-07-10  Yao Qi  <yao@codesourcery.com>
14858
14859         * gdb.trace/tfile.c (write_basic_trace_file)
14860         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14861         address written to trace file.
14862
14863 2014-07-09  Pedro Alves  <palves@redhat.com>
14864
14865         * gdb.base/attach-wait-input.exp: New file.
14866         * gdb.base/attach-wait-input.c: New file.
14867
14868 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
14869
14870         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14871         setting up test structures.
14872         (main): Call new test function.
14873         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14874         test function, continue into test function and walk test
14875         structures.
14876
14877 2014-07-02  Yao Qi  <yao@codesourcery.com>
14878
14879         * gdb.trace/entry-values.c: Define labels 'foo_start' and
14880         'bar_start' at the beginning of functions 'foo' and 'bar'
14881         respectively.
14882         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14883         instead of 'foo' and 'bar'.
14884
14885 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
14886
14887         * gdb.btrace/segv.exp: New.
14888         * gdb.btrace/segv.c: New.
14889
14890 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
14891
14892         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14893         instruction.
14894
14895 2014-06-30  Mark Wielaard  <mjw@redhat.com>
14896
14897         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14898         vulture, vilify, villar): New volatile array constants.
14899         (vindictive, vegetation): New const volatile array constants.
14900         * gdb.base/volatile.exp: Test volatile and const volatile array
14901         types.
14902
14903 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14904
14905         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14906         target lacks support for awatch, rwatch, or hbreak.
14907
14908 2014-06-27  Yao Qi  <yao@codesourcery.com>
14909
14910         * gdb.multi/dummy-frame-restore.exp: New.
14911         * gdb.multi/dummy-frame-restore.c: New.
14912
14913 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
14914
14915         * gdb.btrace/gcore.exp: New.
14916
14917 2014-06-23  Pedro Alves  <palves@redhat.com>
14918
14919         * gdb.base/watchpoint-reuse-slot.c: New file.
14920         * gdb.base/watchpoint-reuse-slot.exp: New file.
14921
14922 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
14923
14924         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14925         progspace's filename in 'info', 'enable' and 'disable' command
14926         tests.
14927
14928 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14929
14930         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14931         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14932         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14933
14934 2014-06-20  Gary Benson  <gbenson@redhat.com>
14935
14936         * gdb.arch/i386-avx.exp: Fix include file location.
14937         * gdb.arch/i386-sse.exp: Likewise.
14938
14939 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
14940
14941         * gdb.dlang/expression.exp: New file.
14942
14943 2014-06-19  Pedro Alves  <palves@redhat.com>
14944
14945         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14946         out from ...
14947         (top level): ... here.  Iterate running tests under different
14948         scheduler-locking settings.
14949
14950 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
14951
14952         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14953         to DW_FORM_addr and use non-zero addresses.
14954
14955 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
14956
14957         PR gdb/17017
14958         * gdb.python/py-xmethods.cc: Add global function call counters and
14959         increment them in their respective functions.  Remove "cout"
14960         statements.
14961         * gdb.python/py-xmethods.exp: Make tests check the global function
14962         call counters instead of depending on inferior IO.
14963
14964 2014-06-18  Don Breazeal  <donb@codesourcery.com>
14965
14966         * gdb.base/foll-fork.exp (default_fork_parent_follow):
14967         Deleted procedure.
14968         (explicit_fork_parent_follow): Deleted procedure.
14969         (explicit_fork_child_follow): Deleted procedure.
14970         (test_follow_fork): New procedure.
14971         (do_fork_tests): Replace calls to deleted procedures with
14972         calls to test_follow_fork and reset GDB for subsequent
14973         procedure calls.
14974
14975 2014-06-17  Yao Qi  <yao@codesourcery.com>
14976
14977         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14978         CP1252.
14979
14980 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
14981
14982         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14983         Initialize ptr and S explicitly.
14984         (skip_type_update_when_not_use_rtti_test): Likewise.
14985
14986 2014-06-16  Keith Seitz  <keiths@redhat.com>
14987
14988         PR mi/15863
14989         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14990         the inferior is started.
14991
14992 2014-06-16  Pedro Alves  <palves@redhat.com>
14993
14994         * gdb.base/break-main-file-remove-fail.c: New file.
14995         * gdb.base/break-main-file-remove-fail.exp: New file.
14996         * gdb.base/break-unload-file.exp: Use build_executable instead of
14997         prepare_for_testing.
14998         (test_break): New parameter "initial_load".  Handle it.
14999         (top level): Add initial_load cmdline/file axis.
15000
15001 2014-06-12  Tom Tromey  <tromey@redhat.com>
15002
15003         * gdb.base/completion.exp: Don't use directory name in test.
15004
15005 2014-06-09  Gary Benson  <gbenson@redhat.com>
15006
15007         * gdb.base/sigall.c [Functions to send signals]: Reorder to
15008         separate the always-available ANSI-standard signals from the
15009         signals that require checking.
15010         (main): Likewise.
15011         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15012         Likewise.
15013         (main): Likewise.
15014
15015 2014-06-07  Keith Seitz  <keiths@redhat.com>
15016
15017         Revert:
15018         PR c++/16253
15019         * gdb.cp/var-tag.cc: New file.
15020         * gdb.cp/var-tag.exp: New file.
15021         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15022         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15023         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15024         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15025
15026 2014-06-06  Doug Evans  <xdje42@gmail.com>
15027
15028         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15029
15030 2014-06-06  Pedro Alves  <palves@redhat.com>
15031
15032         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15033         in target debug output instead of looking at RSP packets,
15034         disabling the test on any target that uses hardware stepping.
15035         Update comments.
15036
15037 2014-06-06  Pedro Alves  <palves@redhat.com>
15038
15039         * gdb.base/break-unload-file.exp: Fix typo.
15040
15041 2014-06-06  Yao Qi  <yao@codesourcery.com>
15042
15043         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15044         from "jit_function" to "^jit_function".
15045
15046 2014-06-06  Yao Qi  <yao@codesourcery.com>
15047
15048         * gdb.base/async.c (foo): Add one statement.
15049         * gdb.base/async.exp: Get the next instruction address and
15050         match the output of "nexti" by instruction address.  Match
15051         the hex address in the output of "finish".
15052
15053 2014-06-06  Gary Benson  <gbenson@redhat.com>
15054
15055         * gdb.base/call-signals.c: Remove preprocessor conditionals
15056         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15057         SIGSEGV and SIGTERM.
15058         * gdb.base/sigall.c: Likewise.
15059         * gdb.base/unwindonsignal.c: Likewise.
15060         * gdb.reverse/sigall-reverse.c: Likewise.
15061
15062 2014-06-06  Yao Qi  <yao@codesourcery.com>
15063
15064         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
15065         readable, skip the test.
15066
15067 2014-06-06  Yao Qi  <yao@codesourcery.com>
15068
15069         * gdb.threads/staticthreads.c (thread_function): Move the line
15070         setting breakpoint on forward.
15071         * gdb.threads/staticthreads.exp: Update comments.
15072
15073 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
15074
15075         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15076         "history-append! type error".
15077
15078 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
15079
15080         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15081         erroneous dprintf expected input.
15082
15083 2014-06-04  Doug Evans  <xdje42@gmail.com>
15084
15085         * gdb.guile/scm-generics.exp: Delete.
15086
15087 2014-06-04  Doug Evans  <xdje42@gmail.com>
15088
15089         * gdb.guile/scm-breakpoint.exp: Update.
15090         Add tests for breakpoint registration.
15091
15092 2014-06-04  Tom Tromey  <tromey@redhat.com>
15093
15094         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15095         VLA-in-union.
15096         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15097         inner_vla_struct, vla_union types.  Initialize objects of those
15098         types and compute their sizes.
15099
15100 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
15101             Hui Zhu  <hui@codesourcery.com>
15102
15103         * gdb.base/fileio.exp: Add test for shell not available as well as
15104         available.
15105         * gdb.base/fileio.c (test_system): Check for shell twice.
15106
15107 2014-06-04  Yao Qi  <yao@codesourcery.com>
15108
15109         * gdb.base/auto-connect-native-target.exp: Remove redundant
15110         space from the regexp pattern.
15111
15112 2014-06-04  Yao Qi  <yao@codesourcery.com>
15113
15114         * gdb.base/default.exp: Replace "child" with "native" in
15115         regexp pattern.
15116
15117 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
15118
15119         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15120         * gdb.python/py-xmethods.exp: New tests to test xmethods.
15121         * gdb.python/py-xmethods.py: Python script supporting the
15122         new testcase and tests.
15123
15124 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
15125             Pedro Alves  <palves@redhat.com>
15126
15127         PR breakpoints/17000
15128         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15129         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15130
15131 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
15132
15133         * gdb.base/subst.exp: Add tests to verify partial path matching
15134         output.
15135
15136 2014-06-03  Pedro Alves  <palves@redhat.com>
15137
15138         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15139         target that doesn't use software single-stepping.
15140
15141 2014-06-03  Pedro Alves  <palves@redhat.com>
15142
15143         PR breakpoints/17000
15144         * gdb.base/sss-bp-on-user-bp-2.c: New file.
15145         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15146
15147 2014-06-02  Doug Evans  <xdje42@gmail.com>
15148
15149         * gdb.guile/scm-parameter.exp: New file.
15150
15151 2014-06-02  Doug Evans  <xdje42@gmail.com>
15152
15153         * gdb.guile/scm-cmd.c: New file.
15154         * gdb.guile/scm-cmd.exp: New file.
15155
15156 2014-06-02  Doug Evans  <xdje42@gmail.com>
15157
15158         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15159         pretty-printer lookup.
15160         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15161         (make-pp_s-printer): Call it.
15162         (make-pretty-printer-from-dict): New function.
15163         (lookup-pretty-printer-maker-from-dict): New function.
15164         (*pretty-printer*): Simplify.
15165         (make-objfile-pp_s-printer): New function.
15166         (install-objfile-pretty-printers!): New function.
15167         (make-progspace-pp_s-printer): New function.
15168         (install-progspace-pretty-printers!): New function.
15169         * gdb.guile/scm-progspace.c: New file.
15170         * gdb.guile/scm-progspace.exp: New file.
15171
15172 2014-06-02  Pedro Alves  <palves@redhat.com>
15173
15174         * gdb.base/dprintf-bp-same-addr.c: New file.
15175         * gdb.base/dprintf-bp-same-addr.exp: New file.
15176
15177 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15178
15179         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15180         * gdb.arch/powerpc-power.s: Likewise.
15181
15182 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
15183
15184         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15185
15186 2014-06-01  Yao Qi  <yao@codesourcery.com>
15187
15188         * gdb.base/watchpoint.exp (test_watch_location): Check null
15189         pointer can be dereferenced.  If not, do the test, otherwise
15190         skip it.
15191
15192 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
15193
15194         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15195         results.
15196         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15197
15198 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
15199
15200         * gdb.arch/amd64-invalid-stack-middle.S: New file.
15201         * gdb.arch/amd64-invalid-stack-middle.c: New file.
15202         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15203         * gdb.arch/amd64-invalid-stack-top.c: New file.
15204         * gdb.arch/amd64-invalid-stack-top.exp: New file.
15205
15206 2014-05-30  Pedro Alves  <palves@redhat.com>
15207
15208         PR breakpoints/17000
15209         * gdb.base/sss-bp-on-user-bp.c: New file.
15210         * gdb.base/sss-bp-on-user-bp.exp: New file.
15211
15212 2014-05-30  David Blaikie  <dblaikie@gmail.com>
15213
15214         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15215         gnu_inline semantics via attribute.
15216         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15217         source explicitly specifies the required semantics.
15218
15219 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
15220
15221         * gdb.reverse/sigall-reverse.exp: Fix a typo.
15222
15223 2014-05-29  Pedro Alves  <palves@redhat.com>
15224             Tom Tromey  <tromey@redhat.com>
15225
15226         * gdb.base/async-shell.exp: Don't enable target-async.
15227         * gdb.base/async.exp
15228         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15229         parameter.  Adjust.
15230         (top level): Don't test with "target-async".
15231         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15232         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15233         * gdb.base/inferior-died.exp: Don't enable target-async.
15234         * gdb.base/interrupt-noterm.exp: Likewise.
15235         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15236         * gdb.mi/mi-nonstop-exit.exp: Likewise.
15237         * gdb.mi/mi-nonstop.exp: Likewise.
15238         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15239         * gdb.mi/mi-nsintrall.exp: Likewise.
15240         * gdb.mi/mi-nsmoribund.exp: Likewise.
15241         * gdb.mi/mi-nsthrexec.exp: Likewise.
15242         * gdb.mi/mi-watch-nonstop.exp: Likewise.
15243         * gdb.multi/watchpoint-multi.exp: Adjust comment.
15244         * gdb.python/py-evsignal.exp: Don't enable target-async.
15245         * gdb.python/py-evthreads.exp: Likewise.
15246         * gdb.python/py-prompt.exp: Likewise.
15247         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15248         * gdb.server/solib-list.exp: Don't enable target-async.
15249         * gdb.threads/thread-specific-bp.exp: Likewise.
15250         * lib/mi-support.exp: Adjust to use mi-async.
15251
15252 2014-05-29  Pedro Alves  <palves@redhat.com>
15253
15254         PR gdb/13860
15255         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15256         reason, even in sync mode.
15257
15258 2014-05-29  Pedro Alves  <palves@redhat.com>
15259             Hui Zhu  <hui@codesourcery.com>
15260
15261         PR PR15693
15262         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15263         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15264         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15265         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15266
15267 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
15268
15269         * config/monitor.exp (gdb_target_monitor): Replace use of
15270         "set remotebaud" by "set serial baud".
15271
15272 2014-05-26  Andy Wingo  <wingo@igalia.com>
15273
15274         * gdb.guile/scm-breakpoint.exp:
15275         * gdb.guile/scm-gsmob.exp: Update to use plain old object
15276         properties instead of gdb-object-properties.
15277
15278 2014-05-26  Yao Qi  <yao@codesourcery.com>
15279
15280         * gdb.server/no-thread-db.exp: Specify source file name
15281         explicitly when setting a breakpoint.
15282
15283 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
15284
15285         * gdb.btrace/vdso.c: New.
15286         * gdb.btrace/vdso.exp: New.
15287
15288 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
15289
15290         * gdb.base/gcore.exp (capture_command_output): Move ...
15291         * lib/gdb.exp (capture_command_output): ... here.
15292
15293 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
15294
15295         * gdb.btrace/data.exp: Test memory access during btrace replay.
15296
15297 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
15298
15299         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15300
15301 2014-05-21  Pedro Alves  <palves@redhat.com>
15302
15303         PR gdb/13860
15304         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15305         (top level): Test that output related to execution commands is
15306         sent to the console with CLI commands, but not with MI commands.
15307         Test that breakpoint events are always mirrored to the console.
15308         Also expect the new source line to be output after a "next" in
15309         async mode too.  Make it a pass/fail test.
15310         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15311         output.
15312         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15313
15314 2014-05-21  Pedro Alves  <palves@redhat.com>
15315
15316         * gdb.base/list.exp (build_pattern, test_list): New procedures.
15317         Use them to test variations of "list" after reaching a breakpoint.
15318         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15319         Test "list" with listsize 10 after reaching a breakpoint.
15320         * gdb.python/python.exp (decode_line current location line
15321         number): Adjust expected line number.
15322
15323 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
15324
15325         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15326         behavior for $args, pass it directly to "run".
15327
15328 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
15329
15330         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15331         30000 to 65536.
15332
15333 2014-05-21  Pedro Alves  <palves@redhat.com>
15334
15335         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15336         auto-connect-native-target off".
15337         * gdb.base/auto-connect-native-target.c: New file.
15338         * gdb.base/auto-connect-native-target.exp: New file.
15339
15340 2014-05-21  Pedro Alves  <palves@redhat.com>
15341
15342         * gdb.base/default.exp: Test "target native" instead of "target
15343         child".
15344
15345 2014-05-21  Mark Wielaard  <mjw@redhat.com>
15346
15347         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15348
15349 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
15350
15351         Fix TLS access for -static -pthread.
15352         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15353         <HAVE_TLS> (thread_function, main): Initialize it.
15354         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15355         Add clean_restart.
15356         <$have_tls != "">: Check TLSVAR.
15357
15358 2014-05-21  Pedro Alves  <palves@redhat.com>
15359
15360         * gdb.base/dcache-line-read-error.c: New.
15361         * gdb.base/dcache-line-read-error.exp: New.
15362
15363 2014-05-20  Pedro Alves  <palves@redhat.com>
15364
15365         * gdb.base/compare-sections.c: New file.
15366         * gdb.base/compare-sections.exp: New file.
15367
15368 2014-05-20  Pedro Alves  <palves@redhat.com>
15369
15370         * gdb.base/break-idempotent.c: New file.
15371         * gdb.base/break-idempotent.exp: New file.
15372
15373 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
15374
15375         * gdb.btrace/nohist.exp: New.
15376
15377 2014-05-20  Yao Qi  <yao@codesourcery.com>
15378
15379         * lib/gdb.exp (gdb_init): Set timeout if test file is under
15380         gdb.reverse directory and gdb_reverse_timeout exists in board
15381         setting.
15382         * README: Document gdb_reverse_timeout.
15383
15384 2014-05-20  Yao Qi  <yao@codesourcery.com>
15385
15386         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15387         'test_file_name'.  Treat args as a string instead of a list.
15388         (gdb_init): Rename argument 'args' by 'test_file_name'.
15389
15390 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
15391
15392         * gdb.arch/powerpc-power.exp: New file.
15393         * gdb.arch/powerpc-power.s: New file.
15394
15395 2014-05-16  Doug Evans  <dje@google.com>
15396
15397         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15398         * gdb.base/completion.exp: Check that all expected files exist
15399         before doing file completion.
15400
15401 2014-05-16  Doug Evans  <dje@google.com>
15402
15403         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15404         Update.
15405         (do_syscall_tests_without_xml): Update.
15406
15407 2014-05-16  Pedro Alves  <palves@redhat.com>
15408
15409         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15410         instead of "unknown output after running".
15411
15412 2014-05-16  Yao Qi  <yao@codesourcery.com>
15413
15414         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
15415         file1.txt from host at the end.
15416         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15417
15418 2014-05-15  Doug Evans  <dje@google.com>
15419
15420         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15421         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15422         loading file.  Add test for TU lookup.
15423
15424 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
15425
15426         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15427         calling "-exec-arguments" or "set args" before running the
15428         inferior.
15429
15430 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
15431
15432         * lib/mi-support.exp (mi_expect_stop): Expect message for
15433         inferiors that exit with non-zero exit code.
15434
15435 2014-05-14  Yao Qi  <yao@codesourcery.com>
15436
15437         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15438         match absolute path on remote host.
15439         (test_file_list_exec_source_files): Remove "/" from the
15440         pattern.
15441
15442 2014-05-14  Yao Qi  <yao@codesourcery.com>
15443
15444         * boards/local-remote-host-notty.exp (${board}_file): New
15445         proc.
15446
15447 2014-05-07  Kyle McMartin  <kyle@redhat.com>
15448
15449         Pushed by Joel Brobecker  <brobecker@adacore.com>.
15450         * gdb.arch/aarch64-atomic-inst.c: New file.
15451         * gdb.arch/aarch64-atomic-inst.exp: New file.
15452
15453 2014-05-07  Yao Qi  <yao@codesourcery.com>
15454
15455         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15456         in current context" too.
15457
15458 2014-05-05  Keith Seitz  <keiths@redhat.com>
15459
15460         * gdb.linespec/ls-dollar.exp: Add test for linespec
15461         file:convenience_variable.
15462
15463 2014-05-05  Yao Qi  <yao@codesourcery.com>
15464
15465         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15466         traceframes into tfile and ctf trace files.  Read data from
15467         trace file and test collected data.
15468         (gdb_collect_locals_test): Likewise.
15469         (gdb_unavailable_registers_test): Likewise.
15470         (gdb_unavailable_floats): Likewise.
15471         (gdb_collect_globals_test): Likewise.
15472         (top-level): Append "ctf" to trace_file_targets if GDB
15473         supports.
15474
15475 2014-05-05  Yao Qi  <yao@codesourcery.com>
15476
15477         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15478         code to ...
15479         (gdb_collect_args_test_1): ... it.  New proc.
15480         (gdb_collect_locals_test): Move some code to ...
15481         (gdb_collect_locals_test_1): ... it.  New proc.
15482         (gdb_unavailable_registers_test): Move some code to ...
15483         (gdb_unavailable_registers_test_1): ... it.  New proc.
15484         (gdb_unavailable_floats): Move some code to ...
15485         (gdb_unavailable_floats_1): ... it.  New proc.
15486
15487 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
15488
15489         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15490         probes to test for bitness recognition.
15491         * gdb.arch/amd64-stap-optional-prefix.exp
15492         (test_probe_value_without_reg): New procedure.
15493         Add code to test for different kinds of bitness.
15494
15495 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
15496
15497         PR breakpoints/16889
15498         * gdb.arch/amd64-stap-optional-prefix.S: New file.
15499         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15500
15501 2014-05-01  Pedro Alves  <palves@redhat.com>
15502
15503         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
15504         gdb_file_cmd if no file is specified.
15505         * boards/native-extended-gdbserver.exp (gdb_load): Use the
15506         last_loaded_file to set the remote exec-file.
15507
15508 2014-05-01  Pedro Alves  <palves@redhat.com>
15509
15510         * boards/local-remote-host.exp: New file.
15511
15512 2014-05-01  Pedro Alves  <palves@redhat.com>
15513
15514         * boards/local-remote-host.exp: Rename to ...
15515         * boards/local-remote-host-notty.exp: ... this.
15516
15517 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
15518
15519         * gdb.ada/dyn_arrayidx: New testcase.
15520
15521 2014-04-26  Yao Qi  <yao@codesourcery.com>
15522
15523         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
15524         and compute the length of function main.  Save it in
15525         $main_length.
15526         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15527         (top-level): Use gdb_compile to compile objects into
15528         executable and restart GDB.  Remove invocation to
15529         prepare_for_testing.
15530
15531 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
15532             Pedro Alves  <palves@redhat.com>
15533
15534         PR server/16255
15535         * gdb.multi/multi-attach.c: New file.
15536         * gdb.multi/multi-attach.exp: New file.
15537
15538 2014-04-25  Pedro Alves  <palves@redhat.com>
15539
15540         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15541         user.
15542         (top level): Test that "set remote conditional-breakpoints-packet
15543         off" works as intended.
15544         * gdb.base/dprintf.exp: Test that "set remote
15545         breakpoint-commands-packet off" works as intended.
15546         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15547         New function.
15548         (top level): Call it.
15549         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15550         remote fast-tracepoints-packet off" works as intended.
15551         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15552         * lib/gdb.exp (gdb_is_target_remote): ... here.
15553
15554 2014-04-24  David Blaikie  <dblaikie@gmail.com>
15555
15556         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15557         ensure clang would not discard them.
15558         * gdb.base/gdbvars.c: Ditto.
15559         * gdb.base/memattr.c: Ditto.
15560         * gdb.base/whatis.c: Ditto.
15561         * gdb.python/py-prettyprint.c: Ditto.
15562         * gdb.trace/actions.c: Ditto.
15563         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15564         ensure clang would not discard it.
15565
15566 2014-04-24  David Blaikie  <dblaikie@gmail.com>
15567
15568         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15569         clang to emit the full definition of type required by the test
15570         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15571
15572 2014-04-24  David Blaikie  <dblaikie@gmail.com>
15573
15574         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15575         coax Clang into emitting the definition of the type.
15576         * gdb.cp/pr10728-x.h (y): Ditto.
15577         * gdb.cp/pr10728-y.cc (y): Ditto.
15578
15579 2014-04-24  David Blaikie  <dblaikie@gmail.com>
15580
15581         * gdb.base/label.exp: XFAIL label related tests under Clang.
15582         * gdb.cp/cplabel.exp: Ditto.
15583         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15584         under Clang those using labels.
15585
15586 2014-04-25  Yao Qi  <yao@codesourcery.com>
15587
15588         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15589         double_label.
15590         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15591         partial_label and double_label.
15592
15593 2014-04-24  David Blaikie  <dblaikie@gmail.com>
15594
15595         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15596
15597 2014-04-24  David Blaikie  <dblaikie@gmail.com>
15598
15599         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15600         of the function to work across GCC and Clang.
15601         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15602         pointer types (const void ** const V void **).
15603
15604 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
15605             Walfred Tedeschi  <walfred.tedeschi@intel.com>
15606
15607         * Makefile.in (EXECUTABLES): Added i386-avx512.
15608         * gdb.arch/i386-avx512.c: New file.
15609         * gdb.arch/i386-avx512.exp: Likewise.
15610
15611 2014-04-23  Keith Seitz  <keiths@redhat.com>
15612
15613         * lib/mi-support.exp (mi_list_breakpoints): Delete.
15614         (mi_make_breakpoint_table): New procedure.
15615         (mi_create_breakpoint): Use mi_make_breakpoint
15616         and return the result.
15617         (mi_make_breakpoint): New procedure.
15618         (mi_build_kv_pairs): New procedure.
15619
15620         * gdb.mi/mi-break.exp: Remove unused globals,
15621         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15622         All callers updated.
15623         * gdb.mi/mi-dprintf.exp: Use variable to track command
15624         number.
15625         Update all callers of mi_create_breakpoint and use
15626         mi_make_breakpoint_table.
15627         Remove any unused global variables.
15628         * gdb.mi/mi-nonstop.exp: Likewise.
15629         * gdb.mi/mi-nsintrall.exp: Likewise.
15630         * gdb.mi/mi-nsmoribund.exp: Likewise.
15631         * gdb.mi/mi-nsthrexec.exp: Likewise.
15632         * gdb.mi/mi-reverse.exp: Likewise.
15633         * gdb.mi/mi-simplerun.exp: Likewise.
15634         * gdb.mi/mi-stepn.exp: Likewise.
15635         * gdb.mi/mi-syn-frame.exp: Likewise.
15636         * gdb.mi/mi-until.exp: Likewise.
15637         * gdb.mi/mi-var-cp.exp: Likewise.
15638         * gdb.mi/mi-var-display.exp: Likewise.
15639         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15640         * gdb.mi/mi2-var-child.exp: Likewise.
15641         * gdb.mi/mi-vla-c99.exp: Likewise.
15642         * lib/mi-support.exp: Likewise.
15643
15644         From Ian Lance Taylor  <iant@cygnus.com>:
15645         * lib/gdb.exp (parse_args): New procedure.
15646
15647 2014-04-23  Pedro Alves  <palves@redhat.com>
15648
15649         * gdb.base/break-unload-file.c: New file.
15650         * gdb.base/break-unload-file.exp: New file.
15651         * gdb.base/sym-file-lib.c (baz): New function.
15652         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15653         field.
15654         (load): Store the segment's mapped size.
15655         (unload): New function.
15656         (unload_shlib): New function.
15657         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15658         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15659         set a breakpoint at baz, and call it.
15660         * gdb.base/sym-file.exp: New tests for stale breakpoint
15661         instructions.
15662
15663 2014-04-23  Pedro Alves  <palves@redhat.com>
15664
15665         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15666         * gdb.base/hbreak-in-shr-unsupported.c: New file.
15667         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15668         * gdb.base/hbreak-unmapped.c: New file.
15669         * gdb.base/hbreak-unmapped.exp: New file.
15670         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15671         * lib/gdb.exp (gdb_is_target_remote): ... here.
15672
15673 2014-04-22  Pedro Alves  <palves@redhat.com>
15674
15675         * gdb.base/consecutive-step-over.c: New file.
15676         * gdb.base/consecutive-step-over.exp: New file.
15677
15678 2014-04-22  Pedro Alves  <palves@redhat.com>
15679
15680         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15681         instead of send_gdb/gdb_expect.
15682
15683 2014-04-22  Yao Qi  <yao@codesourcery.com>
15684
15685         * lib/trace-support.exp (generate_tracefile): New procedure.
15686         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15687         return 0.
15688         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15689         if generate_tracefile returns 1.
15690
15691 2014-04-18  Tom Tromey  <palves@redhat.com>
15692             Pedro alves  <tromey@redhat.com>
15693
15694         PR backtrace/15558
15695         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15696         with a backtrace limit.
15697         * gdb.python/py-frame-inline.exp: Test running to an inline
15698         function with a backtrace limit, and printing the newest frame.
15699         * gdb.python/py-frame-inline.c (main): Call f.
15700
15701 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15702
15703         * gdb.java/jnpe.exp: Drop srcdir from untested path.
15704
15705 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15706
15707         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15708         Drop prefix from unsupported source file path.
15709
15710 2014-04-17  Yao Qi  <yao@codesourcery.com>
15711
15712         * lib/gdb.exp (with_target_charset): New proc.
15713         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15714         with_target_charset.
15715         (test_print_strings): Likewise.
15716         (test_repeat_bytes): Likewise.
15717         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15718         for some tests.
15719
15720 2014-04-16  Keith Seitz  <keiths@redhat.com>
15721
15722         PR gdb/15827
15723         * gdb.dwarf2/corrupt.c: New file.
15724         * gdb.dwarf2/corrupt.exp: New file.
15725
15726 2014-04-16  Keith Seitz  <keiths@redhat.com>
15727
15728         PR c++/16597
15729         * gdb.cp/namelessclass.cc: New file.
15730         * gdb.cp/namelessclass.exp: New file.
15731         * gdb.cp/namelessclass.S: New file.
15732
15733 2014-04-16  Doug Evans  <dje@google.com>
15734
15735         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15736         Add comment.
15737         (gdbserver_default_get_comm_port): New function.
15738         (gdbserver_start): Check if board file provided
15739         "gdbserver,get_comm_port" and use it if so.
15740         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15741         (gdb,socketport): Set to "stdio".
15742         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15743         (stdio_gdbserver_template): Delete.
15744         (${board}_get_remote_address): Update.
15745         (${board}_build_remote_cmd): Delete.
15746         (${board}_get_comm_port): New function.
15747         (${board}_spawn): Update.
15748         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15749         Delete.
15750         (${board}_get_remote_address): Update.
15751         (${board}_get_comm_port): New function.
15752
15753 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
15754
15755         * gdb.base/memattr.exp: Improve regexps to handle memory regions
15756         appearing in any order.
15757
15758 2014-04-15  Doug Evans  <dje@google.com>
15759
15760         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15761         uninitialized value of "description".
15762
15763 2014-04-15  Keith Seitz  <keiths@redhat.com>
15764
15765         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15766         Remove unused globals.
15767         (test_running_the_program): Likewise.
15768         (test_controlled_execution): Likewise.
15769         (test_controlling_breakpoints): Likewise.
15770         (test_program_termination): Likewise.
15771
15772 2014-04-15  Keith Seitz  <keiths@redhat.com>
15773
15774         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15775         unused globals.
15776         (test_rbreak_creation_and_listing): Likewise.
15777         (test_ignore_count): Likewise.
15778         (test_error): Likewise.
15779
15780 2014-04-15  Pedro Alves  <palves@redhat.com>
15781
15782         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15783         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15784         sym-file-loader.c.
15785         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15786         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15787         to sym-file-loader.c.
15788         (struct library): Forward declare.
15789         (load_shlib, lookup_function): Change prototypes.
15790         (find_shstrtab, find_strtab, find_shdr, find_symtab)
15791         (translate_offset): Remove declarations.
15792         (get_text_addr): New declaration.
15793         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15794         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15795         sym-file-loader.h.
15796         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15797         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15798         here from sym-file-loader.h.
15799         (struct library): New structure.
15800         (load_shlib, lookup_function): Change prototypes and adjust to
15801         work with a struct library.
15802         (find_shstrtab, find_strtab, find_shdr, find_symtab)
15803         (translate_offset): Make static.
15804         (get_text_addr): New function.
15805         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15806
15807 2014-04-15  Pedro Alves  <palves@redhat.com>
15808
15809         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
15810
15811 2014-04-15  Pedro Alves  <palves@redhat.com>
15812
15813         * gdb.base/sym-file-loader.c: Include <limits.h>.
15814         (SELF_LINK): New define.
15815         (get_origin): New function.
15816         (load_shlib): Use it.
15817         * gdb.base/sym-file.exp: Don't early return if the target is
15818         remote.  Use runto_main, and issue fail is that fails.  Use
15819         gdb_load_shlibs.
15820         (shlib_name): Delete.
15821         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
15822
15823 2014-04-15  Pedro Alves <palves@redhat.com>
15824
15825         * gdb.base/sym-file.exp: Remove regex characters from test
15826         message.  Don't refer to breakpoint numbers in test messages.
15827
15828 2014-04-14  Keith Seitz  <keiths@redhat.com>
15829
15830         PR c++/16253
15831         * gdb.cp/var-tag.cc: New file.
15832         * gdb.cp/var-tag.exp: New file.
15833         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15834         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15835         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15836         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15837
15838 2014-04-14  Tom Tromey  <tromey@redhat.com>
15839
15840         * gdb.cp/classes.exp (test_enums): Handle underlying type.
15841         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15842         type.
15843         * gdb.cp/enum-class.exp: New file.
15844         * gdb.cp/enum-class.cc: New file.
15845
15846 2014-04-14  Tom Tromey  <tromey@redhat.com>
15847
15848         * gdb.dwarf2/enum-type.exp: New file.
15849
15850 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15851
15852         * gdb.mi/mi-vla-c99.exp: New file.
15853         * gdb.mi/vla.c: New file.
15854
15855 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15856
15857         * gdb.base/vla-datatypes.c: New file.
15858         * gdb.base/vla-datatypes.exp: New file.
15859
15860 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15861
15862         * gdb.base/vla-ptr.c: New file.
15863         * gdb.base/vla-ptr.exp: New file.
15864
15865 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15866
15867         * gdb.dwarf2/count.exp: New file.
15868
15869 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15870
15871         * gdb.base/vla-sideeffect.c: New file.
15872         * gdb.base/vla-sideeffect.exp: New file.
15873
15874 2014-04-14  David Blaikie <dblaikie@gmail.com>
15875
15876         * gdb.mi/non-stop.c: Add return value for non-void function return
15877         statement.
15878         * gdb.threads/staticthreads.c: Ditto.
15879
15880 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
15881             Doug Evans  <xdje42@gmail.com>
15882
15883         * gdb.guile/scm-value.c: Improve test case.
15884         * gdb.guile/scm-value.exp: Add new test.
15885
15886 2014-04-11  David Blaikie  <dblaikie@gmail.com>
15887
15888         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15889         override Clang's default.
15890
15891 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
15892
15893         Revert the following changes (regressions):
15894
15895         * gdb.base/vla-sideeffect.c: New file.
15896         * gdb.base/vla-sideeffect.exp: New file.
15897
15898         * gdb.dwarf2/count.exp: New file.
15899
15900         * gdb.base/vla-multi.c: New file.
15901         * gdb.base/vla-multi.exp: New file.
15902
15903         * gdb.base/vla-ptr.c: New file.
15904         * gdb.base/vla-ptr.exp: New file.
15905
15906         * gdb.base/vla-datatypes.c: New file.
15907         * gdb.base/vla-datatypes.exp: New file.
15908
15909         * gdb.mi/mi-vla-c99.exp: New file.
15910         * gdb.mi/vla.c: New file.
15911
15912 2014-04-11  Keith Seitz  <keiths@redhat.com>
15913
15914         PR c++/16675
15915         * gdb.cp/cpsizeof.exp: New file.
15916         * gdb.cp/cpsizeof.cc: New file.
15917
15918 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15919
15920         * gdb.mi/mi-vla-c99.exp: New file.
15921         * gdb.mi/vla.c: New file.
15922
15923 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15924
15925         * gdb.base/vla-datatypes.c: New file.
15926         * gdb.base/vla-datatypes.exp: New file.
15927
15928 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15929
15930         * gdb.base/vla-ptr.c: New file.
15931         * gdb.base/vla-ptr.exp: New file.
15932
15933 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15934
15935         * gdb.base/vla-multi.c: New file.
15936         * gdb.base/vla-multi.exp: New file.
15937
15938 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15939
15940         * gdb.dwarf2/count.exp: New file.
15941
15942 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15943
15944         * gdb.base/vla-sideeffect.c: New file.
15945         * gdb.base/vla-sideeffect.exp: New file.
15946
15947 2014-04-11  Yao Qi  <yao@codesourcery.com>
15948
15949         * gdb.base/completion.exp: Check file exists before running tests
15950         on file completion.
15951
15952 2014-04-10  Pedro Alves  <palves@redhat.com>
15953
15954         * gdb.base/cond-eval-mode.c: New file.
15955         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
15956         prepare_for_testing to build the new file.  Check result of
15957         runto_main.
15958         (test_break, test_watch): New procedures.
15959         (top level): Use them.
15960
15961 2014-04-08  Pierre Muller  <muller@sourceware.org>
15962
15963         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15964         Ctrl-V use for mingw hosts.
15965
15966 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
15967
15968         * gdb.python/py-value.c: Improve test case.
15969         * gdb.python/py-value.exp: Add new test.
15970
15971 2014-04-07  David Blaikie  <dblaikie@gmail.com>
15972
15973         * lib/compiler.c: Identify the clang compiler.
15974         * lib/compiler.cc: Ditto.
15975
15976 2014-04-03  Yao Qi  <yao@codesourcery.com>
15977
15978         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15979
15980 2014-04-01  Anton Blanchard  <anton@samba.org>
15981
15982         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
15983         messages unique.
15984
15985 2014-04-01  Anton Blanchard  <anton@samba.org>
15986
15987         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15988         prepare_for_testing.
15989
15990 2014-04-01  Anton Blanchard  <anton@samba.org>
15991
15992         * gdb.arch/ppc64-atomic-inst.c: Remove.
15993         * gdb.arch/ppc64-atomic-inst.S: New file.
15994         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15995
15996 2014-03-31  Doug Evans  <dje@google.com>
15997
15998         * gdb.base/print-symbol-loading-lib.c: New file.
15999         * gdb.base/print-symbol-loading-main.c: New file.
16000         * gdb.base/print-symbol-loading.exp: New file.
16001
16002 2014-03-31  Yao Qi  <yao@codesourcery.com>
16003
16004         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16005
16006 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
16007
16008         * gdb.ada/mi_dyn_arr: New testcase.
16009
16010 2014-03-27  Doug Evans  <dje@google.com>
16011
16012         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16013
16014 2014-03-27  Yao Qi  <yao@codesourcery.com>
16015
16016         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16017         if target is nios2-*-*.
16018
16019 2014-03-26  Yao Qi  <yao@codesourcery.com>
16020
16021         * lib/gdb.exp (readline_is_used): New proc.
16022         * gdb.base/completion.exp: Move tests on command complete up.
16023         Skip the rest of tests if readline is not used.
16024         * gdb.ada/complete.exp: Skp the test if readline is not
16025         used.
16026         * gdb.base/filesym.exp: Likewise.
16027         * gdb.base/macscp.exp: Likewise.
16028         * gdb.base/readline-ask.exp: Likewise.
16029         * gdb.base/readline.exp: Likewise.
16030         * gdb.python/py-cmd.exp: Likewise.
16031         * gdb.trace/tfile.exp: Likewise.
16032
16033 2014-03-26  Yao Qi  <yao@codesourcery.com>
16034
16035         * gdb.base/macscp.exp: Fix code format issues.
16036
16037 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
16038
16039         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16040         * gdb.asm/powerpc64le.inc: New file.
16041
16042 2014-03-25  Pedro Alves  <palves@redhat.com>
16043             Doug Evans  <dje@google.com>
16044
16045         * gdb.base/source-execution.c: New file.
16046         * gdb.base/source-execution.exp: New file.
16047         * gdb.base/source-execution.gdb: New file.
16048
16049 2014-03-24  Doug Evans  <dje@google.com>
16050
16051         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16052         using fission.
16053
16054 2014-03-24  Hui Zhu  <hui@codesourcery.com>
16055             Pedro Alves  <palves@redhat.com>
16056
16057         PR breakpoints/16101
16058         * gdb.base/dprintf.exp: Use unsupported rather than changing the
16059         test pass/fail messages.  Detect missing support for dprintf when
16060         breakpoints are actually inserted.
16061         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16062         breakpoints are actually inserted.
16063         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16064         fails.
16065
16066 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
16067
16068         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16069
16070 2014-03-22  Doug Evans  <xdje42@gmail.com>
16071
16072         * gdb.python/python.exp (python not supported): Verify multi-line
16073         python command issues an error.
16074         * gdb.guile/guile.exp (guile not supported): Verify multi-line
16075         guile command issues an error.
16076
16077 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
16078
16079         * gdb.threads/thread-specific.exp: Handle the lack of usable
16080         $this_breakpoint and $this_thread.
16081
16082 2014-03-21  Hui Zhu  <hui@codesourcery.com>
16083
16084         * gdb.base/attach.exp (do_command_attach_tests): New.
16085
16086 2014-03-20  Tom Tromey  <tromey@redhat.com>
16087             Pedro Alves  <palves@redhat.com>
16088
16089         PR cli/15718
16090         * gdb.base/condbreak-call-false.c: New file.
16091         * gdb.base/condbreak-call-false.exp: New file.
16092
16093 2014-03-20  Pedro Alves  <palves@redhat.com>
16094
16095         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16096         Delete.
16097         (block_signals, unblock_signals): Delete.
16098         (child_function_2, main): Remove references to deleted variable
16099         and functions.
16100
16101 2014-03-20  Pedro Alves  <palves@redhat.com>
16102
16103         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16104         Use pthread_kill to signal thread 2.
16105         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16106         Adjust to make the test send itself a signal rather than using the
16107         host's "kill" command.
16108
16109 2014-03-20  Pedro Alves  <palves@redhat.com>
16110
16111         * gdb.threads/multiple-step-overs.c: New file.
16112         * gdb.threads/multiple-step-overs.exp: New file.
16113         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16114         Adjust expected infrun debug output.
16115
16116 2014-03-20  Pedro Alves  <palves@redhat.com>
16117
16118         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16119         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16120
16121 2014-03-20  Pedro Alves  <palves@redhat.com>
16122
16123         PR breakpoints/7143
16124         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16125         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
16126         of gdb_test_multiple.
16127         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16128         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16129
16130 2014-03-20  Pedro Alves  <palves@redhat.com>
16131
16132         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16133         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16134
16135 2014-03-19  Pedro Alves  <palves@redhat.com>
16136
16137         * gdb.base/async.exp: Remove early return.
16138
16139 2014-03-19  Pedro Alves  <palves@redhat.com>
16140
16141         * gdb.base/async.exp (step& tests): Pass explicit test messages.
16142
16143 2014-03-19  Pedro Alves  <palves@redhat.com>
16144
16145         * gdb.base/async.exp (test_background): Expect \r\n after
16146         "completed." in the fail pattern.
16147
16148 2014-03-19  Pedro Alves  <palves@redhat.com>
16149
16150         * gdb.base/async.exp (test_background): New procedure.
16151         Use it for all background execution command tests.
16152
16153 2014-03-19  Pedro Alves  <palves@redhat.com>
16154
16155         * gdb.base/async.exp: Use prepare_for_testing.
16156
16157 2014-03-19  Pedro Alves  <palves@redhat.com>
16158
16159         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
16160         the same line.
16161
16162 2014-03-19  Pedro Alves  <palves@redhat.com>
16163
16164         * gdb.base/async.c (main): Add "jump here" and "until here" line
16165         marker comments.
16166         * gdb.base/async.exp (jump_here): New global.
16167         (jump& test): Use it.
16168         (until_here): New global.
16169         (until& test): Use it.
16170
16171 2014-03-19  Pedro Alves  <palves@redhat.com>
16172
16173         * gdb.base/async.exp: Don't frob gdb_protocol.
16174
16175 2014-03-18  Doug Evans  <xdje42@gmail.com>
16176
16177         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
16178         Fix spelling of exec-done-display.
16179
16180 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
16181
16182         PR gdb/15358
16183         * gdb.base/gdb-sigterm.c: New file.
16184         * gdb.base/gdb-sigterm.exp: New file.
16185
16186 2014-03-18  Pedro Alves  <palves@redhat.com>
16187
16188         PR gdb/13860
16189         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16190         * lib/mi-support.exp (mi_expect_stop): Add special handling for
16191         solib-event.
16192
16193 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
16194
16195         * gdb.ada/pckd_arr_ren: New testcase.
16196
16197 2014-03-13  Doug Evans  <xdje42@gmail.com>
16198
16199         PR guile/16612
16200         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16201         collect after discarding symbols.
16202
16203 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
16204             Doug Evans  <xdje42@gmail.com>
16205
16206         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16207         to history survives a gc.
16208
16209 2014-03-13  Pedro Alves  <palves@redhat.com>
16210
16211         * gdb.base/default.exp: Don't test "target procfs".
16212
16213 2014-03-13  Pedro Alves  <palves@redhat.com>
16214
16215         * gdb.base/default.exp: Update "target child" and "target procfs"
16216         tests to not expect "Unix".
16217
16218 2014-03-12  Tom Tromey  <tromey@redhat.com>
16219
16220         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16221         New procs.  Add target-async tests.
16222         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16223         Add target-async tests.
16224
16225 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16226
16227         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16228         'func_start' and 'func_end' for the beginning and end of the
16229         function code, respectively.
16230         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16231         'func_end' instead of 'func' and 'main'.
16232
16233 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16234
16235         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16236         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16237         generate the debug info assembler source.
16238
16239 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16240
16241         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16242         * gdb.dwarf2/arr-subrange.exp: Likewise.
16243         * gdb.dwarf2/dwz.exp: Likewise.
16244         * gdb.dwarf2/method-ptr.exp: Likewise.
16245         * gdb.dwarf2/missing-sig-type.exp: Likewise.
16246         * gdb.dwarf2/subrange.exp: Likewise.
16247         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16248         * gdb.dwarf2/implptrpiece.exp: Likewise.
16249         * gdb.dwarf2/nostaticblock.exp: Likewise.
16250
16251 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16252
16253         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16254         directory to absolute path name arguments.
16255
16256 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
16257
16258         * gdb.ada/tagged_access: New testcase.
16259
16260 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
16261
16262         * gdb.btrace/data.exp: Update expected output.
16263
16264 2014-03-06  Yao Qi  <yao@codesourcery.com>
16265
16266         * gdb.trace/pr16508.exp: New file.
16267
16268 2014-03-05  Pedro Alves  <palves@redhat.com>
16269
16270         PR gdb/16575
16271         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16272         procedure.
16273         (top level): Adjust to use it.  Add tests that exercise breakpoint
16274         interaction with the code-cache.
16275
16276 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
16277
16278         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16279         test for 'history-append!'.
16280
16281 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
16282
16283         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16284         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16285         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16286         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16287         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16288         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16289
16290 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
16291
16292         * testsuite/gdb.python/py-pp-re-notag.c: New file.
16293         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16294         * testsuite/gdb.python/py-pp-re-notag.p: New file.
16295
16296 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
16297
16298         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16299
16300 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
16301
16302         * gdb.dwarf2/arr-stride.c: New file.
16303         * gdb.dwarf2/arr-stride.exp: New file.
16304
16305 2014-02-26  Pedro Alves  <palves@redhat.com>
16306
16307         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16308         that won't ever trigger.  Make sure that GDB reports the correct
16309         breakpoint that caused the stop.
16310
16311 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
16312
16313         PR gdb/16626
16314         * gdb.base/auto-load-script: New file.
16315         * gdb.base/auto-load.c: New file.
16316         * gdb.base/auto-load.exp: New file.
16317
16318         PR gdb/16626
16319         * gdb.base/auto-load.exp: Fix out-of-srctree run.
16320
16321 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
16322
16323         Fix dw2-icycle.exp -fsanitize=address GDB crash.
16324         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16325
16326 2014-02-24  Doug Evans  <dje@google.com>
16327
16328         * lib/gdb.exp (run_on_host): Log error output if program fails.
16329
16330 2014-02-21  Pedro Alves  <palves@redhat.com>
16331
16332         * gdb.threads/step-after-sr-lock.c: Rename to ...
16333         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16334         * gdb.threads/step-after-sr-lock.exp: Rename to ...
16335         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16336         ... this.
16337
16338 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
16339
16340         PR tdep/16397
16341         * gdb.arch/amd64-stap-special-operands.exp: New file.
16342         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16343         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16344         * gdb.arch/amd64-stap-triplet.S: Likewise.
16345         * gdb.arch/amd64-stap-triplet.c: Likewise.
16346
16347 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
16348
16349         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16350         in .section pseudo-op.
16351
16352 2014-02-20  lin zuojian  <manjian2006@gmail.com>
16353             Joel Brobecker  <brobecker@adacore.com>
16354             Doug Evans  <xdje42@gmail.com>
16355
16356         PR symtab/16581
16357         * gdb.dwarf2/dw2-icycle.S: New file.
16358         * gdb.dwarf2/dw2-icycle.c: New file.
16359         * gdb.dwarf2/dw2-icycle.exp: New file.
16360
16361 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
16362
16363         * gdb.python/py-value-cc.cc: Improve test case to enable testing
16364         operations on gdb.Value objects.
16365         * gdb.python/py-value-cc.exp: Add new test to test operations on
16366         gdb.Value objects.
16367
16368 2014-02-18  Doug Evans  <dje@google.com>
16369
16370         * Makefile.in (TESTS): New variable.
16371         (expanded_tests, expanded_tests_or_none): New variables
16372         (check-single): Pass $(expanded_tests_or_none) to runtest.
16373         (check-parallel): Only run tests in $(TESTS) if non-empty.
16374         (check/no-matching-tests-found): New rule.
16375         * README: Document TESTS makefile variable.
16376
16377 2014-02-18  Doug Evans  <dje@google.com>
16378
16379         * Makefile.in (check-parallel): rm -rf outputs temp.
16380
16381 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16382
16383         Fix "ERROR: no fileid for" in the testsuite.
16384         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16385
16386 2014-02-12  Doug Evans  <dje@google.com>
16387
16388         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16389         (MISCELLANEOUS): New variable.
16390         (clean): rm -rf $(MISCELLANEOUS).
16391         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16392         dwp live in the same directory as symlinks, with each symlink pointed
16393         to a differently named file in a different directory.
16394
16395 2014-02-11  Doug Evans  <dje@google.com>
16396
16397         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16398         of Tcl file commands.
16399
16400 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
16401
16402         * gdb.threads/step-after-sr-lock.exp: Avoid executing
16403         "kill -SIGUSR1 -1".
16404
16405 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
16406
16407         * gdb.ada/tick_length_array_enum_idx: New testcase.
16408
16409 2014-02-10  Doug Evans  <xdje42@gmail.com>
16410
16411         * configure.ac (AC_OUTPUT): Add gdb.guile.
16412         * configure: Regenerate.
16413         * lib/gdb-guile.exp: New file.
16414         * lib/gdb.exp (get_target_charset): New function.
16415         * gdb.base/help.exp: Update expected output from "apropos apropos".
16416         * gdb.guile/Makefile.in: New file.
16417         * gdb.guile/guile.exp: New file.
16418         * gdb.guile/scm-arch.c: New file.
16419         * gdb.guile/scm-arch.exp: New file.
16420         * gdb.guile/scm-block.c: New file.
16421         * gdb.guile/scm-block.exp: New file.
16422         * gdb.guile/scm-breakpoint.c: New file.
16423         * gdb.guile/scm-breakpoint.exp: New file.
16424         * gdb.guile/scm-disasm.c: New file.
16425         * gdb.guile/scm-disasm.exp: New file.
16426         * gdb.guile/scm-equal.c: New file.
16427         * gdb.guile/scm-equal.exp: New file.
16428         * gdb.guile/scm-error.exp: New file.
16429         * gdb.guile/scm-error.scm: New file.
16430         * gdb.guile/scm-frame-args.c: New file.
16431         * gdb.guile/scm-frame-args.exp: New file.
16432         * gdb.guile/scm-frame-args.scm: New file.
16433         * gdb.guile/scm-frame-inline.c: New file.
16434         * gdb.guile/scm-frame-inline.exp: New file.
16435         * gdb.guile/scm-frame.c: New file.
16436         * gdb.guile/scm-frame.exp: New file.
16437         * gdb.guile/scm-generics.exp: New file.
16438         * gdb.guile/scm-gsmob.exp: New file.
16439         * gdb.guile/scm-iterator.c: New file.
16440         * gdb.guile/scm-iterator.exp: New file.
16441         * gdb.guile/scm-math.c: New file.
16442         * gdb.guile/scm-math.exp: New file.
16443         * gdb.guile/scm-objfile-script-gdb.in: New file.
16444         * gdb.guile/scm-objfile-script.c: New file.
16445         * gdb.guile/scm-objfile-script.exp: New file.
16446         * gdb.guile/scm-objfile.c: New file.
16447         * gdb.guile/scm-objfile.exp: New file.
16448         * gdb.guile/scm-ports.exp: New file.
16449         * gdb.guile/scm-pretty-print.c: New file.
16450         * gdb.guile/scm-pretty-print.exp: New file.
16451         * gdb.guile/scm-pretty-print.scm: New file.
16452         * gdb.guile/scm-section-script.c: New file.
16453         * gdb.guile/scm-section-script.exp: New file.
16454         * gdb.guile/scm-section-script.scm: New file.
16455         * gdb.guile/scm-symbol.c: New file.
16456         * gdb.guile/scm-symbol.exp: New file.
16457         * gdb.guile/scm-symtab-2.c: New file.
16458         * gdb.guile/scm-symtab.c: New file.
16459         * gdb.guile/scm-symtab.exp: New file.
16460         * gdb.guile/scm-type.c: New file.
16461         * gdb.guile/scm-type.exp: New file.
16462         * gdb.guile/scm-value-cc.cc: New file.
16463         * gdb.guile/scm-value-cc.exp: New file.
16464         * gdb.guile/scm-value.c: New file.
16465         * gdb.guile/scm-value.exp: New file.
16466         * gdb.guile/source2.scm: New file.
16467         * gdb.guile/types-module.cc: New file.
16468         * gdb.guile/types-module.exp: New file.
16469
16470 2014-02-10  Yao Qi  <yao@codesourcery.com>
16471
16472         PR testsuite/16543
16473         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16474         * configure: Regenerated.
16475         * Makefile.in: New file.
16476
16477 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16478
16479         * gdb.python/py-framefilter.exp: Fix typo.
16480
16481 2014-02-08  Yao Qi  <yao@codesourcery.com>
16482
16483         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16484         that no =breakpoint-modified is emitted when breakpoints are
16485         modified through MI commands.
16486
16487 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
16488             Pedro Alves  <palves@redhat.com>
16489
16490         * gdb.threads/step-after-sr-lock.c: New file.
16491         * gdb.threads/step-after-sr-lock.exp: New file.
16492
16493 2014-02-07  Pedro Alves  <palves@redhat.com>
16494
16495         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16496
16497 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
16498
16499         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16500         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16501
16502 2014-02-06  Doug Evans  <xdje42@gmail.com>
16503
16504         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16505         output.
16506
16507         * gdb.gdb/python-interrupts.exp: New file.
16508
16509 2014-02-05  Yao Qi  <yao@codesourcery.com>
16510
16511         * gdb.trace/report.exp (use_collected_data): Test the output
16512         of "info threads" and "info inferiors".
16513
16514 2014-02-05  Yao Qi  <yao@codesourcery.com>
16515
16516         Revert this patch:
16517
16518         2013-05-24  Yao Qi  <yao@codesourcery.com>
16519
16520         * gdb.trace/tfile.exp: Test inferior and thread.
16521
16522 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
16523
16524         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16525         on a function.
16526         * gdb.base/step-bt.c: Call hello via function pointer to make
16527         sure its first instruction is executed on powerpc64le-linux.
16528
16529 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
16530
16531         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16532
16533 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
16534
16535         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
16536         of the test patterns for use on little-endian systems.
16537
16538 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
16539
16540         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16541         (decimal_vector): Fix for little-endian.
16542
16543 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
16544
16545         * gdb.arch/sparc-sysstep.exp: New file.
16546         * gdb.arch/sparc-sysstep.c: Likewise.
16547
16548         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16549
16550 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16551
16552         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16553
16554 2014-01-23  Tom Tromey  <tromey@redhat.com>
16555
16556         * gdb.ada/array_char_idx: New testcase.
16557
16558 2014-01-23  Tom Tromey  <tromey@redhat.com>
16559
16560         PR python/16487:
16561         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16562         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16563         classes.
16564
16565 2014-01-23  Tom Tromey  <tromey@redhat.com>
16566
16567         PR python/16491:
16568         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16569         string from an inferior frame.
16570         * gdb.python/py-framefilter-mi.exp: Update.
16571
16572 2014-01-22  Doug Evans  <dje@google.com>
16573
16574         * gdb.server/server-mon.exp: Add tests for "set debug-format".
16575
16576 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
16577
16578         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16579
16580 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
16581
16582         * gdb.trace/entry-values.exp: Remove excess space character from
16583         regex patterns.  Handle s390 call instruction.
16584
16585 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
16586
16587         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16588         define "*_start" label.  Make "name" static.
16589         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16590         ${name} by references to ${name}_start.
16591
16592 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
16593
16594         * gdb.base/info-macros.exp: Remove "debug" from the compile
16595         options.
16596
16597 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
16598
16599         * gdb.dlang/demangle.exp: New file.
16600
16601 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
16602
16603         * gdb.dlang/primitive-types.exp: New file.
16604
16605 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
16606
16607         * configure.ac: Create gdb.dlang/Makefile.
16608         * configure: Regenerate.
16609         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16610         * gdb.dlang/Makefile.in: New file.
16611         * lib/d-support.exp: New file.
16612         * lib/gdb.exp (skip_d_tests): New proc.
16613
16614 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16615
16616         * gdb.btrace/delta.exp: Check reverse stepi.
16617         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
16618         * gdb.btrace/finish.exp: New.
16619         * gdb.btrace/next.exp: New.
16620         * gdb.btrace/nexti.exp: New.
16621         * gdb.btrace/record_goto.c: Add comments.
16622         * gdb.btrace/step.exp: New.
16623         * gdb.btrace/stepi.exp: New.
16624         * gdb.btrace/multi-thread-step.c: New.
16625         * gdb.btrace/multi-thread-step.exp: New.
16626         * gdb.btrace/rn-dl-bind.c: New.
16627         * gdb.btrace/rn-dl-bind.exp: New.
16628         * gdb.btrace/data.c: New.
16629         * gdb.btrace/data.exp: New.
16630         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16631
16632 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16633
16634         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16635         * gdb.btrace/exception.exp: Update.
16636         * gdb.btrace/instruction_history.exp: Update.
16637         * gdb.btrace/record_goto.exp: Update.
16638         * gdb.btrace/tailcall.exp: Update.
16639         * gdb.btrace/unknown_functions.exp: Update.
16640         * gdb.btrace/delta.exp: New.
16641
16642 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16643
16644         * gdb.btrace/record_goto.exp: Add backtrace test.
16645         * gdb.btrace/tailcall.exp: Add backtrace test.
16646
16647 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16648
16649         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16650         * gdb.btrace/record_goto.c: New.
16651         * gdb.btrace/record_goto.exp: New.
16652         * gdb.btrace/x86-record_goto.S: New.
16653
16654 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16655
16656         * gdb.btrace/function_call_history.exp: Update tests.
16657         * gdb.btrace/instruction_history.exp: Update tests.
16658
16659 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16660
16661         * gdb.btrace/function_call_history.exp: Fix expected field
16662         order for "record function-call-history".
16663         Add new tests for "record function-call-history /c".
16664         * gdb.btrace/exception.cc: New.
16665         * gdb.btrace/exception.exp: New.
16666         * gdb.btrace/tailcall.exp: New.
16667         * gdb.btrace/x86-tailcall.S: New.
16668         * gdb.btrace/x86-tailcall.c: New.
16669         * gdb.btrace/unknown_functions.c: New.
16670         * gdb.btrace/unknown_functions.exp: New.
16671         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16672
16673 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16674
16675         * gdb.btrace/instruction_history.exp: Update.
16676         * gdb.btrace/function_call_history.exp: Update.
16677
16678 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16679
16680         * gdb.btrace/function_call_history.exp: Fix expected function
16681         trace.
16682         * gdb.btrace/instruction_history.exp: Initialize traced.
16683         Remove traced_functions.
16684
16685 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16686
16687         * gdb.btrace/function_call_history.exp: Update
16688         * gdb.btrace/instruction_history.exp: Update.
16689
16690 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16691
16692         * gdb.btrace/enable.exp: Update expected text.
16693
16694 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
16695
16696         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16697         bytes.
16698
16699 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
16700
16701         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16702
16703 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
16704
16705         * lib/gdb.exp (supports_process_record): Return true for
16706         arm*-linux*.  (supports_reverse): Likewise.
16707
16708 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
16709
16710         PR python/15464
16711         PR python/16113
16712         * gdb.python/py-type.c: Enhance test case.
16713         * gdb.python/py-value-cc.cc: Likewise
16714         * gdb.python/py-type.exp: Add new tests.
16715         * gdb.python/py-value-cc.exp: Likewise
16716
16717 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16718             Pedro Alves <palves@redhat.com>
16719
16720         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16721         Make "name" extern.
16722         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16723         references to ${name}_start by references to ${name}.
16724
16725 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
16726
16727         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16728
16729 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
16730
16731         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16732
16733 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
16734             Pedro Alves  <palves@redhat.com>
16735
16736         * gdb.mi/mi-info-os.exp: Connect to the target with
16737         mi_gdb_target_load.
16738
16739 2014-01-08  Pedro Alves  <palves@redhat.com>
16740
16741         * gdb.threads/reconnect-signal.c: New file.
16742         * gdb.threads/reconnect-signal.exp: New file.
16743
16744 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
16745
16746         * gdb.base/source-dir.exp: New file.
16747
16748 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
16749
16750         * gdb.ada/mi_interface: New testcase.
16751
16752 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
16753
16754         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16755         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16756         gdb.ada/pp-rec-component/pck.ads: New files.
16757
16758 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
16759
16760         * gdb.python/py-pp-integral.c: New file.
16761         * gdb.python/py-pp-integral.py: New file.
16762         * gdb.python/py-pp-integral.exp: New file.
16763
16764 For older changes see ChangeLog-1993-2013.
16765 \f
16766 ;; Local Variables:
16767 ;; mode: change-log
16768 ;; left-margin: 8
16769 ;; fill-column: 74
16770 ;; version-control: never
16771 ;; End:
16772
16773     Copyright 2014-2019 Free Software Foundation, Inc.
16774   Copying and distribution of this file, with or without modification,
16775   are permitted provided the copyright notice and this notice are preserved.