When debugging a mixed Ada/C program using this scenario:
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-05-08  Joel Brobecker  <brobecker@adacore.com>
2
3         * gdb.ada/frame_arg_lang.exp: New testcase.
4         * gdb.ada/frame_arg_lang/bla.adb: New file.
5         * gdb.ada/frame_arg_lang/pck.ads: New file.
6         * gdb.ada/frame_arg_lang/pck.adb: New file.
7         * gdb.ada/frame_arg_lang/foo.c: New file.
8
9 2019-05-08  Tom Tromey  <tromey@adacore.com>
10
11         * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
12
13 2019-05-08  Tom Tromey  <tromey@adacore.com>
14
15         * gdb.base/ptype-offsets.exp: Update tests.
16
17 2019-05-08  Tom Tromey  <tromey@adacore.com>
18
19         * gdb.base/ptype-offsets.exp: Use string_to_regexp.  Fix test
20         cases.
21         * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
22         "short".
23
24 2019-05-08  Tom Tromey  <tromey@adacore.com>
25
26         * gdb.ada/vla.exp: New file.
27         * gdb.ada/vla/vla.adb: New file.
28
29 2019-05-07  Tom de Vries  <tdevries@suse.de>
30
31         * gdb.base/index-cache.exp (ls_host): Fix return statement.
32
33 2019-05-07  Tom de Vries  <tdevries@suse.de>
34
35         PR testsuite/24522
36         * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
37         section.
38
39 2019-05-07  Tom de Vries  <tdevries@suse.de>
40
41         PR testsuite/24522
42         * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
43         .debug_aranges section.
44
45 2019-05-07  Tom de Vries  <tdevries@suse.de>
46
47         PR testsuite/24159
48         * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
49
50 2019-05-06  Tom de Vries  <tdevries@suse.de>
51
52         * lib/gdb.exp (exec_has_index_section): New proc.
53         * gdb.base/index-cache.exp: Handle case that binfile contains an index
54         section.
55
56 2019-05-04  Tom de Vries  <tdevries@suse.de>
57
58         * boards/cc-with-debug-names.exp: New file.
59
60 2019-05-03  Tom Tromey  <tromey@adacore.com>
61
62         * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
63         * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
64         * gdb.ada/char_enum.exp: Add test.
65
66 2019-05-03  Tom de Vries  <tdevries@suse.de>
67
68         * boards/cc-with-gdb-index.exp: New file.
69
70 2019-05-02  Andrew Burgess  <andrew.burgess@embecosm.com>
71
72         * gdb.rust/simple.exp: Add new test case.
73         * gdb.rust/simple.rs (struct StringAtOffset): New struct.
74         (main): Initialise an instance of the new struct.
75
76 2019-05-01  Tom Tromey  <tromey@adacore.com>
77
78         * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
79         record.
80         (NPR): New variable.
81         * gdb.ada/packed_array_assign.exp: Add nested packed assignment
82         test.
83
84 2019-05-01  Tom Tromey  <tromey@adacore.com>
85
86         * gdb.ada/packed_array_assign.exp: Add packed assignment
87         regression test.
88
89 2019-05-01  Tom de Vries  <tdevries@suse.de>
90
91         * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
92
93 2019-05-01  Tom de Vries  <tdevries@suse.de>
94
95         * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
96
97 2019-04-30  Ali Tamur  <tamur@google.com>
98
99         * lib/dwarf.exp(): Added DW_FORM_strx1-4.
100
101 2019-04-30  Tom Tromey  <tromey@adacore.com>
102
103         * lib/ada.exp (find_ada_tool): New proc.
104         * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
105         * gdb.ada/catch_ex_std.exp: New file.
106         * gdb.ada/catch_ex_std/foo.adb: New file.
107         * gdb.ada/catch_ex_std/some_package.adb: New file.
108         * gdb.ada/catch_ex_std/some_package.ads: New file.
109
110 2019-04-30  Tom Tromey  <tromey@adacore.com>
111
112         PR c++/24470:
113         * gdb.cp/temargs.cc: Add test code from PR.
114
115 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
116
117         * gdb.fortran/vla-datatypes.exp: Update expected results.
118         * gdb.fortran/vla-ptype.exp: Likewise.
119         * gdb.fortran/vla-type.exp: Likewise.
120         * gdb.fortran/vla-value.exp: Likewise.
121
122 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
123
124         * gdb.fortran/ptr-indentation.exp: Update expected results.
125         * gdb.fortran/ptype-on-functions.exp: Likewise.
126         * gdb.fortran/vla-ptr-info.exp: Likewise.
127         * gdb.fortran/vla-value.exp: Likewise.
128
129 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
130
131         * gdb.fortran/ptype-on-functions.exp: New file.
132         * gdb.fortran/ptype-on-functions.f90: New file.
133
134 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
135
136         * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
137         case void string.
138
139 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
140
141         * gdb.fortran/complex.exp: Expand.
142         * gdb.fortran/complex.f: Renamed to...
143         * gdb.fortran/complex.f90: ...this, and extended to add more
144         complex values.
145
146 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
147
148         * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
149         MODULO, CMPLX.
150
151 2019-04-29  Andrew Burgess  <andrew.burgess@embecosm.com>
152             Richard Bunt  <richard.bunt@arm.com>
153
154         * gdb.base/max-depth.c: New file.
155         * gdb.base/max-depth.exp: New file.
156         * gdb.python/py-nested-maps.c: New file.
157         * gdb.python/py-nested-maps.exp: New file.
158         * gdb.python/py-nested-maps.py: New file.
159         * gdb.python/py-format-string.exp (test_max_depth): New proc.
160         (test_all_common): Call test_max_depth.
161         * gdb.fortran/max-depth.exp: New file.
162         * gdb.fortran/max-depth.f90: New file.
163         * gdb.go/max-depth.exp: New file.
164         * gdb.go/max-depth.go: New file.
165         * gdb.modula2/max-depth.exp: New file.
166         * gdb.modula2/max-depth.c: New file.
167         * lib/gdb.exp (get_print_expr_at_depths): New proc.
168
169 2019-04-29  Tom de Vries  <tdevries@suse.de>
170
171         * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
172
173 2019-04-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
174
175         * gdb.base/callexit.exp: Test may-call-functions off.
176
177 2019-04-25  Keith Seitz  <keiths@redhat.com>
178
179         PR c++/24367
180         * gdb.cp/meth-typedefs.cc (incomplete_struct)
181         (another_incomplete_struct, test_incomplete): New definitions.
182         (main): Use new definitions.
183         * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
184         functions.
185
186 2019-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
187
188         PR corefiles/11608
189         PR corefiles/18187
190         * gdb.base/coredump-filter-build-id.exp: New file.
191
192 2019-04-25  Alan Hayward  <alan.hayward@arm.com>
193
194         * Makefile.in: Pass through GDBSERVER_DEBUG.
195         * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
196         (gdbserver,debug): Add board setting.
197         * gdb.trace/tspeed.exp: Skip when debugging.
198         * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
199         * lib/gdbserver-support.exp: Likewise
200
201 2019-04-24  Tom Tromey  <tromey@adacore.com>
202
203         * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
204         Rust.
205
206 2019-04-24  Tom Tromey  <tromey@adacore.com>
207
208         * gdb.arch/amd64-eval.exp: Test bitfield return.
209         * gdb.arch/amd64-eval.cc (struct Bitfields): New.
210         (class Foo) <return_bitfields>: New method.
211         (main): Call it.
212
213 2019-04-23  Andrew Burgess  <andrew.burgess@embecosm.com>
214
215         * gdb.cp/many-args.cc: New file.
216         * gdb.cp/many-args.exp: New file.
217
218 2019-04-23  Tom de Vries  <tdevries@suse.de>
219
220         PR gdb/24433
221         * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
222
223 2019-04-23  Alan Hayward  <alan.hayward@arm.com>
224
225         * gdb.trace/backtrace.exp: Use nopie flag.
226         * gdb.trace/circ.exp: Likewise.
227         * gdb.trace/collection.exp: Likewise.
228         * gdb.trace/ftrace.exp: Likewise.
229         * gdb.trace/mi-trace-unavailable.exp: Likewise.
230         * gdb.trace/mi-traceframe-changed.exp: Likewise.
231         * gdb.trace/qtro.exp: Likewise.
232         * gdb.trace/read-memory.exp: Likewise.
233         * gdb.trace/report.exp: Likewise.
234         * gdb.trace/tfile.exp: Likewise.
235         * gdb.trace/tfind.exp: Likewise.
236         * gdb.trace/unavailable.exp: Likewise.
237
238 2019-04-22  Pedro Alves  <palves@redhat.com>
239
240         * gdb.base/solib-probes-nosharedlibrary.c,
241         gdb.base/solib-probes-nosharedlibrary.exp: New files.
242
243 2019-04-19  Tom Tromey  <tromey@adacore.com>
244
245         * gdb.ada/ptype_union.c: New file.
246         * gdb.ada/ptype_union.exp: New file.
247
248 2019-04-19  Tom Tromey  <tromey@adacore.com>
249
250         PR symtab/24423:
251         * gdb.base/list0.h (foo): Add a control-l character.
252
253 2019-04-18  Tom de Vries  <tdevries@suse.de>
254
255         PR gdb/24433
256         * boards/local-board.exp: Set sysroot to "".
257
258 2019-04-18  Tom de Vries  <tdevries@suse.de>
259             Pedro Alves  <palves@redhat.com>
260
261         PR gdb/24454
262         * gdb.threads/vfork-follow-child-exec.c: New file.
263         * gdb.threads/vfork-follow-child-exec.exp: New file.
264         * gdb.threads/vfork-follow-child-exit.c: New file.
265         * gdb.threads/vfork-follow-child-exit.exp: New file.
266
267 2019-04-15  Leszek Swirski  <leszeks@google.com>
268
269         * gdb.arch/amd64-eval.cc: New file.
270         * gdb.arch/amd64-eval.exp: New file.
271
272 2019-04-11  Alan Hayward  <alan.hayward@arm.com>
273
274         * gdb.server/sysroot.c: New test.
275         * gdb.server/sysroot.exp: New file.
276         * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
277         matching param.
278
279 2019-04-11  Andrew Burgess  <andrew.burgess@embecosm.com>
280
281         * gdb.base/align.exp: Extend test to cover structures containing
282         only static fields.
283
284 2019-04-11  Tom de Vries  <tdevries@suse.de>
285
286         * boards/cc-with-dwz-m.exp: New file.
287         * boards/cc-with-dwz.exp: New file.
288         * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
289
290 2019-04-09  Simon Marchi  <simon.marchi@efficios.com>
291
292         * gdb.base/start-cpp.exp: New file.
293         * gdb.base/start-cpp.cc: New file.
294
295 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
296
297         * gdb.python/py-thrhandle.exp: Adjust tests to call
298         thread_from_handle instead of thread_from_thread_handle.
299
300 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
301
302         * gdb.python/py-thrhandle.exp: Add tests for
303         gdb.InferiorThread.handle.
304
305 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
306
307         * gdb.python/py-function.exp: Check calling helper function from
308         all languages.
309         * lib/gdb.exp (gdb_supported_languages): New proc.
310
311 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
312
313         * gdb.base/complex-parts.c: New file.
314         * gdb.base/complex-parts.exp: New file.
315
316 2019-04-01  Tom Tromey  <tromey@adacore.com>
317
318         PR symtab/23331:
319         * gdb.dwarf2/dw2-ranges-main.c: New file.
320         * gdb.dwarf2/dw2-ranges-psym.c: New file.
321         * gdb.dwarf2/dw2-ranges-psym.exp: New file.
322
323 2019-03-30  Simon Marchi <simark@simark.ca>
324
325         * gdb.base/default.exp: Add values for $_gdb_major and
326         $_gdb_minor.
327
328 2019-03-29  Tom Tromey  <tromey@adacore.com>
329
330         * gdb.base/help.exp: Tighten apropos regexp.
331
332 2019-03-29  Keith Seitz  <keiths@redhat.com>
333
334         * gdb.fortran/array-bounds.exp: New file.
335         * gdb.fortran/array-bounds.f90: New file.
336
337 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
338
339         * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
340
341 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
342
343         * gdb.multi/hello.c (main): Increase alarm timer.
344
345 2019-03-28  Sandra Loosemore  <sandra@codesourcery.com>
346
347         * gdb.threads/watchpoint-fork.exp (test): Use large timeout
348         factor when no hardware watchpoint support.
349
350 2019-03-28  Alan Hayward  <alan.hayward@arm.com>
351             Pedro Alves  <palves@redhat.com>
352
353         * boards/local-board.exp: set sysroot to /.
354
355 2019-03-27  Alan Hayward  <alan.hayward@arm.com>
356
357         * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
358         in child.
359
360 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
361
362         * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
363         field.
364         (make_container): Initialise new field.
365         * gdb.python/py-prettyprint.exp: Add new tests.
366         * gdb.python/py-prettyprint.py (class ContainerPrinter)
367         <display_hint>: New method.
368
369 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
370
371         * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
372         gdb_continue_to_breakpoint more throughout this test.
373         (run_lang_tests) Supply unique test names, and use
374         gdb_test_no_output.
375
376 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
377
378         * gdb.base/finish-pretty.exp: Update expected results.
379         * gdb.base/pretty-print.c: New file.
380         * gdb.base/pretty-print.exp: New file.
381
382 2019-03-25  Pedro Alves  <palves@redhat.com>
383
384         * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
385         move comments outside list.  Append '-i "" eof' section.
386
387 2019-03-22  Alan Hayward  <alan.hayward@arm.com>
388
389         * README: Add pie options.
390         * gdb.base/break-interp.exp: Ensure pie is disabled.
391         * gdb.base/dump.exp: Likewise.
392         * lib/gdb.exp (gdb_compile): Add pie option.
393
394 2019-03-19  Tom Tromey  <tromey@adacore.com>
395
396         * gdb.mi/mi2-cli-display.c: New file.
397         * gdb.mi/mi2-cli-display.exp: New file.
398
399 2019-03-18  Joel Brobecker  <brobecker@adacore.com>
400             Tom Tromey  <tromey@adacore.com>
401
402         * gdb.ada/ptype_array/pck.adb: New file.
403         * gdb.ada/ptype_array/pck.ads: New file.
404         * gdb.ada/ptype_array/foo.adb: New file.
405         * gdb.ada/ptype_array.exp: New file.
406
407 2019-03-14  Tom Tromey  <tromey@adacore.com>
408
409         * gdb.base/style.exp: Add "set style sources" test.
410
411 2019-03-13  Simon Marchi  <simon.marchi@ericsson.com>
412
413         * mi-breakpoint-location-ena-dis.exp: Rename to ...
414         * mi-breakpoint-multiple-locations.exp: ... this.
415         (make_breakpoints_pattern): New proc.
416         (do_test): Add mi_version parameter, test -break-insert,
417         -break-info and =breakpoint-created.
418
419 2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
420
421         * config/default.exp: Remove 'load_lib gdb.exp'.
422         * config/monitor.exp: Likewise.
423         * config/sid.exp: Likewise.
424         * config/sim.exp: Likewise.
425         * config/slite.exp: Likewise.
426         * config/unix.exp: Likewise.
427         * gdb.base/default.exp: Remove unhelpful comment.
428
429 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
430
431         * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
432
433 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
434
435         * gdb.fortran/intrinsics.exp: Extend to cover ABS.
436
437 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
438
439         * gdb.fortran/type-kinds.exp: Update expected results.
440
441 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
442
443         * gdb.fortran/type-kinds.exp: Test new integer type kind.
444
445 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
446
447         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
448         function.
449         (test_basic_parsing_of_type_kinds): Expand types tested.
450         (test_parsing_invalid_type_kinds): New function.
451
452 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
453
454         * gdb.fortran/intrinsics.exp: New file.
455         * gdb.fortran/intrinsics.f90: New file.
456         * gdb.fortran/type-kinds.exp: New file.
457
458 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
459
460         * gdb.fortran/dot-ops.exp: New file.
461
462 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
463
464         * gdb.fortran/types.exp (test_logical_literal_types_accepted):
465         Check upper and lower case logical literals.
466
467 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
468
469         * gdb.fortran/types.exp (test_float_literal_types_accepted):
470         Remove duplicate tests.
471
472 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
473
474         * lib/gdb.exp (builtin_cd): rename of cd.
475         (cd): Override builtin.
476
477 2019-03-06  Richard Bunt  <richard.bunt@arm.com>
478
479         * gdb.fortran/function-calls.exp: New file.
480         * gdb.fortran/function-calls.f90: New test.
481
482 2019-03-04  Richard Bunt  <richard.bunt@arm.com>
483
484         * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
485         on user program standard output.
486         * gdb.fortran/short-circuit-argument-list.f90: Record function
487         calls.
488
489 2019-02-28  Alan Hayward  <alan.hayward@arm.com>
490
491         * lib/gdbserver-support.exp (gdbserver_start): Check for listen
492         failure.
493
494 2019-02-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
495
496         PR gdb/8527
497         * gdb.base/interrupt-daemon-attach.c,
498         gdb.base/interrupt-daemon-attach.exp: New test.
499
500 2019-02-27  Pedro Alves  <palves@redhat.com>
501
502         * gdb.base/page.exp: Add tests for "set width/height -1".
503
504 2019-02-27  Pedro Alves  <palves@redhat.com>
505
506         * gdb.base/page.exp: Add tests for "set/show width/height" with
507         "infinite" values.
508
509 2019-02-27  Tom Tromey  <tromey@adacore.com>
510
511         * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
512         2.4.
513         * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
514         workaround.
515
516 2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
517
518         * gdb.base/align.exp: Extend to compile in both C and C++, and add
519         tests for structs with static members.
520
521 2019-02-26  Tom Tromey  <tromey@adacore.com>
522
523         * gdb.python/py-value.exp (test_value_from_buffer): Check for
524         ValueError, not TypeError.
525
526 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
527
528         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
529         call from main program.
530
531 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
532
533         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
534         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
535         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
536         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
537         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
538
539 2019-02-22  Keith Seitz  <keiths@redhat.com>
540
541         PR symtab/23853
542         * gdb.base/symlink-sourcefile.c: New file.
543         * gdb.base/symlink-sourcefile.exp: New file.
544
545 2019-02-20  Tom Tromey  <tom@tromey.com>
546
547         * gdb.base/info_qt.exp: Update.
548
549 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
550
551         * gdb.base/source.exp: Move "error in sourced script" code to
552         the end.
553         * gdb.base/source-error.gdb: Move contents to
554         source-error-1.gdb.  Add new code to source source-error-1.gdb.
555         * gdb.base/source-error-1.gdb: New file, from previous
556         source-error.gdb.
557
558 2019-02-17  Tom Tromey  <tom@tromey.com>
559
560         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
561         for macro styling.
562         * gdb.base/style.c (SOME_MACRO): New macro.
563
564 2019-02-17  Tom Tromey  <tom@tromey.com>
565
566         * gdb.base/style.exp: Add line-wrapping tests.
567         * gdb.base/page.exp: Add test for quitting during pagination.
568
569 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
570
571         * gdb.ada/big_packed_array: New testcase.
572         * gdb.ada/homonym.exp: Fix incorrect expected output for
573         "break <homonym__get_value>" test.
574
575 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
576
577         PR breakpoints/21870
578         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
579         and prepare_for_testing.  Add comment.
580         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
581         redundant cleanup call.  Clean up comment.
582
583 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
584
585         PR breakpoints/21870
586         * gdb.arch/aarch64-dbreg-contents.exp: New file.
587         * gdb.arch/aarch64-dbreg-contents.c: New file.
588
589 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
590
591         * gdb.ada/mi_ref_changeable: New testcase.
592
593 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
594
595         * gdb.base/attach.exp: Add double attach test.
596
597 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
598
599         * lib/gdb.exp (default_gdb_start): Don't match pagination
600         prompt.
601         (gdb_init): Set stty_init.
602
603 2019-01-27  Tom Tromey  <tom@tromey.com>
604
605         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
606         skip_python_tests.
607
608 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
609
610         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
611         New structure.
612         (struct struct_static_02_02): Likewise.
613         (struct struct_static_02_03): Likewise.
614         (struct struct_static_02_04): Likewise.
615         (struct struct_static_04_01): Likewise.
616         (struct struct_static_04_02): Likewise.
617         (struct struct_static_04_03): Likewise.
618         (struct struct_static_04_04): Likewise.
619         (struct struct_static_06_01): Likewise.
620         (struct struct_static_06_02): Likewise.
621         (struct struct_static_06_03): Likewise.
622         (struct struct_static_06_04): Likewise.
623         (cmp_struct_static_02_01): Likewise.
624         (cmp_struct_static_02_02): Likewise.
625         (cmp_struct_static_02_03): Likewise.
626         (cmp_struct_static_02_04): Likewise.
627         (cmp_struct_static_04_01): Likewise.
628         (cmp_struct_static_04_02): Likewise.
629         (cmp_struct_static_04_03): Likewise.
630         (cmp_struct_static_04_04): Likewise.
631         (cmp_struct_static_06_01): Likewise.
632         (cmp_struct_static_06_02): Likewise.
633         (cmp_struct_static_06_03): Likewise.
634         (cmp_struct_static_06_04): Likewise.
635         (call_all): Test new structs.
636         * gdb.base/infcall-nested-structs.exp: Likewise.
637
638 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
639         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
640
641 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
642         * gdb.base/stack-protector.c: New test.
643         * gdb.base/stack-protector.exp: New file.
644         * gdb.cp/ovldbreak.exp: Only allow a single break line.
645         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
646         option.
647         (gdb_compile): Remove stack protector for GCC and prevent
648         recursion.
649
650 2019-01-16  Keith Seitz  <keiths@redhat.com>
651
652         PR gdb/23773
653         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
654
655 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
656
657         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
658         aliases.
659         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
660         tests.
661         * gdb.arch/powerpc-vector-regs.c: New file.
662         * gdb.arch/powerpc-vector-regs.exp: New file.
663
664 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
665
666         * gdb.arch/altivec-regs.exp: Fix the list passed to
667         gdb_expect_list when testing "info vector".
668
669 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
670
671         * gdb.base/style.exp: Don't include path in testname.
672
673 2019-01-10  Keith Seitz  <keiths@redhat.com>
674
675         PR gdb/23712
676         PR symtab/23010
677         * gdb.dwarf2/multidictionary.exp: New file.
678
679 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
680
681         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
682         (test_gnuv3_style_demangling): ... this.
683         (test_lucid_style_demangling): Remove.
684         (test_arm_style_demangling): Remove.
685         (test_hp_style_demangling): Remove.
686         (do_tests): Remove calls to the above.
687
688 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
689
690         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
691         case.
692
693 2019-01-06  Tom Tromey  <tom@tromey.com>
694
695         PR gdb/28155:
696         * gdb.dwarf2/typedef-void-finish.exp: New file.
697
698 2018-12-28  Tom Tromey  <tom@tromey.com>
699             Simon Marchi <simark@simark.ca>
700
701         * gdb.base/jit-exec.exp: New file.
702         * gdb.base/jit-exec.c: New file.
703         * gdb.base/jit-execd.c: New file.
704
705 2018-12-28  Tom Tromey  <tom@tromey.com>
706
707         * gdb.base/style.exp: Update test to check for address styling.
708
709 2018-12-28  Tom Tromey  <tom@tromey.com>
710
711         * gdb.base/style.exp: Add test for styling of "Reading symbols"
712         message.
713
714 2018-12-28  Tom Tromey  <tom@tromey.com>
715
716         * gdb.base/style.exp: Add test for version number styling.
717
718 2018-12-28  Tom Tromey  <tom@tromey.com>
719
720         * gdb.base/style.exp: Add test for print_address_symbolic.
721
722 2018-12-28  Tom Tromey  <tom@tromey.com>
723
724         * gdb.base/style.exp: Add test for breakpoint setting.
725
726 2018-12-28  Tom Tromey  <tom@tromey.com>
727
728         * gdb.base/style.exp: Add test for variable names.
729
730 2018-12-28  Tom Tromey  <tom@tromey.com>
731
732         * gdb.base/style.exp: New file.
733         * gdb.base/style.c: New file.
734
735 2018-12-28  Tom Tromey  <tom@tromey.com>
736
737         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
738         "dumb".
739         * gdb.base/readline.exp (operate_and_get_next): Save and restore
740         the TERM environment variable.
741
742 2018-12-27  Tom Tromey  <tom@tromey.com>
743
744         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
745         pagination test.
746
747 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
748
749         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
750         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
751
752 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
753
754         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
755         Filename a.adb changed to bp_fun_addr.adb.
756         gdb.ada/bp_fun_addr.exp: Update test accordingly.
757
758 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
759
760         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
761         non-PIE executables.
762         * README: Mention the gdb,nopie_flag board setting.
763         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
764         non-PIE executable.
765         * gdb.arch/amd64-entry-value.exp: Likewise.
766         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
767         * gdb.arch/i386-float.exp: Likewise.
768         * gdb.arch/i386-signal.exp: Likewise.
769         * gdb.mi/mi-reg-undefined.exp: Likewise.
770
771 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
772
773         PR gdb/23974
774         * gdb.base/info-os.exp: Check return for unknown "info os" type.
775
776 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
777
778         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
779         Update order of results accordingly.
780
781 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
782
783         * gdb.base/annota1.exp: Update a test regexp.
784
785 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
786
787         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
788
789 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
790
791         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
792         (reuse_time): Initialize to REUSE_TIME_CAP.
793         (check_rc): New function.
794         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
795         Check pthread_create rc.
796         (spawner_thread_func): Check pthread_create and pthread_join rc.
797
798 2018-12-08  Pedro Alves  <palves@redhat.com>
799
800         * gdb.base/list.exp (test_forward_search): Rename to ...
801         (test_forward_reverse_search): ... this.  Also test reverse-search
802         and the forward-search alias.
803
804 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
805
806         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
807         local timeout variable before return, and remove all local timeout
808         variable entirely.
809         (gdb_load): Likewise.
810
811 2018-12-01  Tom de Vries  <tdevries@suse.de>
812
813         * gdb.base/gdb-caching-proc.exp: New file.
814
815 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
816
817         * Makefile.in (TIMESTAMP): New variable.
818         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
819         command.
820         (check-single-racy): Likewise.
821         (check/%.exp): Likewise.
822         (check-racy/%.exp): Likewise.
823         (workers/%.worker): Likewise.
824         (build-perf): Likewise.
825         (check-perf): Likewise.
826         * README: Describe new "TS" and "TS_FORMAT" variables.
827         * print-ts.py: New file.
828
829 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
830
831         PR python/23714
832         * gdb.python/python.exp: Test command repetition after
833         gdb.execute.
834
835 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
836
837         * gdb.opt/inline-break.exp: Add test that info breakpoint output
838         is correctly aligned.
839
840 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
841
842         * gdb.ada/info_auto_lang.exp: New testcase.
843         * gdb.ada/info_auto_lang/global_pack.ads: New file.
844         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
845         * gdb.ada/info_auto_lang/some_c.c: New file.
846
847 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
848
849         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
850         FUNC_lang language syntax.
851
852 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
853
854         * gdb.base/info_minsym.c: New file.
855         * gdb.base/info_minsym.exp: New file.
856
857 2018-11-19  Tom Tromey  <tom@tromey.com>
858
859         PR rust/23625:
860         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
861         * gdb.rust/expr.exp: Update expected output.  Change one test.
862
863 2018-11-19  Tom Tromey  <tom@tromey.com>
864
865         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
866
867 2018-11-19  Pedro Alves  <palves@redhat.com>
868
869         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
870         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
871         see the expected warning.
872
873 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
874
875         PR gdb/22736:
876         * gdb.cp/infcall-nodebug-lib.c: New test.
877         * gdb.cp/infcall-nodebug-main.c: New test.
878         * gdb.cp/infcall-nodebug.exp: New file.
879
880 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
881
882         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
883         completer tests.
884
885 2018-11-09  Tom de Vries  <tdevries@suse.de>
886
887         * gdb.base/msym-lang.c: New test.
888         * gdb.base/msym-lang.exp: New file.
889         * gdb.base/msym-lang-main.c: New test.
890
891 2018-11-08  Tom Tromey  <tom@tromey.com>
892
893         PR gdb/23555:
894         PR gdb/23838:
895         * gdb.base/warning.exp: New file.
896
897 2018-11-08  Jan Beulich  <jbeulich@suse.com>
898
899         * testsuite/gdb.arch/i386-avx512.c,
900         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
901
902 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
903
904         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
905         point hardware.
906
907 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
908
909         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
910         * gdb.dwarf2/missing-type-name.exp: New file.
911
912 2018-11-06  Tom de Vries  <tdevries@suse.de>
913
914         * gdb.base/many-headers.c: New test.
915         * gdb.base/many-headers.exp: New file.
916
917 2018-11-06  Jim Wilson  <jimw@sifive.com>
918
919         * gdb.base/code_elim.exp: For riscv, set additional_flags
920         to include -msmall-data-limit=0.
921
922 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
923
924         * gdb.ada/watch_minus_l: New testcase.
925
926 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
927
928         * gdb.arch/aix-sighandle.c: New file.
929         * gdb.arch/aix-sighandle.exp: New file.
930
931 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
932
933         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
934         registers being unions.
935
936 2018-10-31  Tom de Vries  <tdevries@suse.de>
937
938         * lib/valgrind.exp: New file.
939          (vgdb_start, vgdb_stop): New procs, factored out of ...
940         * gdb.base/valgrind-bt.exp: ... here, ...
941         * gdb.base/valgrind-disp-step.exp: ... here and ...
942         * gdb.base/valgrind-infcall.exp: ... here.
943
944 2018-10-31  Tom de Vries  <tdevries@suse.de>
945
946         * lib/gdb.exp (get_valueof): Don't output read value in test name.
947
948 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
949
950         * gdb.dwarf2/void-type.c: New file.
951         * gdb.dwarf2/void-type.exp: New file.
952
953 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
954
955         * gdb.base/info_qt.c: New file.
956         * gdb.base/info_qt.exp: New file.
957
958 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
959
960         * gdb.arch/powerpc-htm-regs.c: New file.
961         * gdb.arch/powerpc-htm-regs.exp: New file.
962
963 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
964
965         * gdb.arch/powerpc-tar.c: New file.
966         * gdb.arch/powerpc-tar.exp: New file.
967
968 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
969
970         * gdb.arch/powerpc-ppr-dscr.c: New file.
971         * gdb.arch/powerpc-ppr-dscr.exp: New file.
972
973 2018-10-25  Tom de Vries  <tdevries@suse.de>
974
975         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
976
977 2018-10-24  Tom de Vries  <tdevries@suse.de>
978
979         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
980         longer exists error.
981
982 2018-10-24  Tom de Vries  <tdevries@suse.de>
983
984         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
985
986 2018-10-24  Tom de Vries  <tdevries@suse.de>
987
988         * gdb.base/valgrind-db-attach.exp: Handle removed support for
989         --db-attach in valgrind.
990
991 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
992
993         * gdb.arch/riscv-reg-aliases.c: New file.
994         * gdb.arch/riscv-reg-aliases.exp: New file.
995
996 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
997
998         * gdb.python/py-cmd.exp: Check for gdb_prompt.
999
1000 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1001
1002         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1003
1004 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1005
1006         * gdb.cp/ovldbreak.exp: Fix regexps.
1007
1008 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1009
1010         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1011
1012 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1013
1014         PR cli/23785
1015         * gdb.base/restore.exp: New test to check if "restore" with an
1016         invalid file doesn't segfault.
1017
1018 2018-10-18  Tom de Vries  <tdevries@suse.de>
1019
1020         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1021         * gdb.ada/excep_handle.exp: Same.
1022         * gdb.ada/mi_string_access.exp: Same.
1023         * gdb.ada/mi_var_union.exp: Same.
1024         * gdb.arch/arc-analyze-prologue.exp: Same.
1025         * gdb.arch/arc-decode-insn.exp: Same.
1026         * gdb.base/readnever.exp: Same.
1027         * gdb.fortran/printing-types.exp: Same.
1028         * gdb.guile/scm-lazy-string.exp: Same.
1029
1030 2018-10-16  Tom de Vries  <tdevries@suse.de>
1031
1032         PR gdb/23730
1033         * gdb.base/catch-follow-exec.c: Add copyright notice.
1034         * gdb.base/catch-follow-exec.exp: Rewrite to use
1035         gdb_spawn_with_cmdline_opts.  Require gdb-native.
1036
1037 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
1038
1039         * gdb.trace/actions-changed.exp: Check for arch support.
1040         * gdb.trace/actions.exp: Likewise.
1041         * gdb.trace/ax.exp: Likewise.
1042         * gdb.trace/backtrace.exp: Likewise.
1043         * gdb.trace/change-loc.exp: Likewise.
1044         * gdb.trace/deltrace.exp: Likewise.
1045         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1046         * gdb.trace/ftrace.exp: Likewise.
1047         * gdb.trace/infotrace.exp: Check for arch support.
1048         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1049         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1050         * gdb.trace/mi-tsv-changed.exp: Likewise.
1051         * gdb.trace/packetlen.exp: Likewise.
1052         * gdb.trace/passc-dyn.exp: Likewise.
1053         * gdb.trace/passcount.exp: Likewise.
1054         * gdb.trace/pending.exp: Likewise.
1055         * gdb.trace/range-stepping.exp: Check for shlib support.
1056         * gdb.trace/report.exp: Check for arch support.
1057         * gdb.trace/save-trace.exp: Likewise.
1058         * gdb.trace/signal.exp: Check for signal support.
1059         * gdb.trace/tfind.exp: Check for arch support.
1060         * gdb.trace/trace-break.exp: Check for arch and shlib support.
1061         * gdb.trace/trace-common.h: Add comment.
1062         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1063         * gdb.trace/trace-enable-disable.exp: Likewise.
1064         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
1065         * gdb.trace/tracecmd.exp: Check for arch support.
1066         * gdb.trace/tspeed.exp: Check for shlib and target support.
1067         * gdb.trace/tstatus.exp: Check for arch support.
1068         * gdb.trace/tsv.exp: Likewise.
1069         * gdb.trace/while-dyn.exp: Likewise.
1070         * gdb.trace/while-stepping.exp: Likewise.
1071         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1072
1073 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
1074
1075         * gdb.trace/tspeed.exp: Remove nowarnings.
1076         (prepare_for_trace_test): Declare "global ipalib".
1077         * gdb.trace/tspeed.c: Include unistd.h.
1078         (main): Remove superfluous printf argument.
1079
1080 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
1081
1082         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1083         directory prefix on the filename.
1084
1085 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
1086
1087         * gdb.gdb/unittest.exp: Update expected message informing that
1088         selftests have been disabled.
1089         * gdb.server/unittest.exp: Likewise.
1090
1091 2018-10-09  Tom de Vries  <tdevries@suse.de>
1092
1093         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1094         with runto_main.
1095
1096 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
1097
1098         PR c++/16841
1099         * gdb.cp/virtbase2.cc: New file.
1100         * gdb.cp/virtbase2.exp: New file.
1101
1102 2018-10-06  Tom Tromey  <tom@tromey.com>
1103
1104         PR python/19399:
1105         * gdb.python/py-inferior.exp: Add architecture test.
1106
1107 2018-10-06  Tom Tromey  <tom@tromey.com>
1108
1109         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1110         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1111
1112 2018-10-06  Tom Tromey  <tom@tromey.com>
1113
1114         * gdb.python/py-breakpoint.exp (check_last_event): Check location
1115         of a "throw" catchpoint.
1116
1117 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
1118
1119         * gdb.base/info-proc.exp: Update string expected from "help info
1120         proc".
1121
1122 2018-10-04  Tom Tromey  <tom@tromey.com>
1123
1124         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1125         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1126         (test_initial_complaints, test_empty_complaints): Update.
1127         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1128
1129 2018-10-04  Tom Tromey  <tom@tromey.com>
1130
1131         PR cli/19551:
1132         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1133         * lib/gdb.exp (gdb_file_cmd): Update.
1134         * gdb.stabs/weird.exp (print_weird_var): Update.
1135         * gdb.server/solib-list.exp: Update.
1136         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1137         * gdb.mi/mi-cli.exp: Update.
1138         * gdb.linespec/linespec.exp: Update.
1139         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1140         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1141         * gdb.cp/cp-relocate.exp: Update.
1142         * gdb.base/sym-file.exp: Update.
1143         * gdb.base/relocate.exp: Update.
1144         * gdb.base/readnever.exp: Update.
1145         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1146         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1147         * gdb.base/dbx.exp (gdb_file_cmd): Update.
1148         * gdb.base/code_elim.exp: Update.
1149         * gdb.base/break-unload-file.exp (test_break): Update.
1150         * gdb.base/break-interp.exp (test_attach_gdb): Update.
1151         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1152         Update.
1153         * gdb.base/attach.exp (do_attach_tests): Update.
1154         * gdb.base/sepdebug.exp: Update.
1155         * gdb.python/py-section-script.exp: Update.
1156
1157 2018-10-04  Tom Tromey  <tom@tromey.com>
1158
1159         PR cli/22234:
1160         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1161         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1162         output.
1163
1164 2018-10-04  Tom Tromey  <tom@tromey.com>
1165
1166         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1167         set width and height to 0.
1168         (test_command_line_attach_run): Use -quiet.
1169
1170 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
1171
1172         * lib/gdb.exp (skip_ifunc_tests): New.
1173         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
1174         other compile failures.
1175         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1176
1177 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
1178
1179         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1180         is_amd64_regs_target.
1181
1182 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
1183
1184         * gdb.arch/aarch64-sighandler-regs.c: New test.
1185         * gdb.arch/aarch64-sighandler-regs.exp: New file.
1186         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1187
1188 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
1189
1190         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1191         assembly.
1192
1193 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1194
1195         * gdb.base/frame-selection.exp: New file.
1196         * gdb.base/frame-selection.c: New file.
1197
1198 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
1199
1200         * gdb.threads/check-libthread-db.c (thread_routine): Use a
1201         pthread barrier.
1202         (main): Likewise.
1203
1204 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1205
1206         * gdb.base/large-frame-1.c: New file.
1207         * gdb.base/large-frame-2.c: New file.
1208         * gdb.base/large-frame.exp: New file.
1209         * gdb.base/large-frame.h: New file.
1210
1211 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1212
1213         PR gdb/20948
1214         * gdb.base/write_mem.exp: New test.
1215         * gdb.base/write_mem.c: Likewise.
1216
1217 2018-09-23  Tom Tromey  <tom@tromey.com>
1218
1219         PR python/18852:
1220         * gdb.python/py-parameter.exp: Add test for parameter that throws
1221         on "set".
1222
1223 2018-09-23  Tom Tromey  <tom@tromey.com>
1224
1225         PR python/17284:
1226         * gdb.python/py-template.exp (test_template_arg): Add test for
1227         negative template argument number.
1228
1229 2018-09-23  Tom Tromey  <tom@tromey.com>
1230
1231         PR python/14062:
1232         * gdb.python/python.exp: Add test for post_event error.
1233
1234 2018-09-23  Tom Tromey  <tom@tromey.com>
1235
1236         PR python/18170:
1237         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1238         convert pointers to int and long.
1239
1240 2018-09-23  Tom Tromey  <tom@tromey.com>
1241
1242         PR python/20126:
1243         * gdb.python/py-value.exp (test_value_numeric_ops): Add
1244         signed-ness conversion tests.
1245
1246 2018-09-23  Tom Tromey  <tom@tromey.com>
1247
1248         PR python/18352;
1249         * gdb.python/py-value.exp (test_float_conversion): New proc.
1250         Use it.
1251
1252 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1253
1254         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1255
1256 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1257
1258         * gdb.base/complete-empty.exp: Skip tab-completion tests if
1259         no readline.
1260         * gdb.base/utf8-identifiers.exp: Likewise.
1261         * gdb.cp/cpcompletion.exp: Likewise.
1262         * gdb.linespec/cpcompletion.exp: Likewise.
1263         * gdb.linespec/cpls-abi-tag.exp: Likewise.
1264         * gdb.linespec/cpls-ops.exp: Likewise.
1265
1266 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
1267             Chris January  <chris.january@arm.com>
1268
1269         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1270         * gdb.fortran/short-circuit-argument-list.exp: New file.
1271         * gdb.fortran/short-circuit-argument-list.f90: New test.
1272
1273 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1274
1275         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1276         "arch=" keyword when executing "-stack-list-frames".
1277
1278 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1279
1280         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1281         "arch=" keyword when executing "-stack-list-frames".
1282
1283 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1284
1285         * gdb.ada/complete.exp: Expect for "@" when doing "complete
1286         break ada".
1287
1288 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
1289
1290         PR python/23669
1291         * gdb.python/python.exp: Test gdb.execute("show commands").
1292
1293 2018-09-16  Tom Tromey  <tom@tromey.com>
1294
1295         * gdb.base/new-ui.exp (do_execution_tests): Update.
1296         * gdb.base/dbx.exp (test_breakpoints): Update.
1297
1298 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
1299
1300         * lib/gdb.exp (gdb_simple_compile): Add proc.
1301         (is_elf_target): Use gdb_simple_compile.
1302         (skip_altivec_tests): Likewise.
1303         (skip_vsx_tests): Likewise.
1304         (skip_tsx_tests): Likewise.
1305         (skip_btrace_tests): Likewise.
1306         (skip_btrace_pt_tests): Likewise.
1307         (gdb_can_simple_compile): Likewise.
1308         (gdb_has_argv0): Likewise.
1309         (gdb_target_symbol_prefix): Likewise.
1310         (target_supports_scheduler_locking): Likewise.
1311
1312 2018-09-13  Tom Tromey  <tom@tromey.com>
1313
1314         * Makefile.in (TAGS): Recognize proc_with_prefix and
1315         gdb_caching_proc.
1316
1317 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1318
1319         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1320         method.
1321
1322 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1323
1324         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1325         and a few other Inferior properties when the Inferior is no
1326         longer valid.
1327
1328 2018-09-13  Tom Tromey  <tom@tromey.com>
1329
1330         PR rust/23650:
1331         * gdb.rust/simple.exp: Add test for enum field access error.
1332
1333 2018-09-13  Tom Tromey  <tom@tromey.com>
1334
1335         PR rust/23626:
1336         * gdb.rust/simple.rs (EmptyEnum): New type.
1337         (main): Use it.
1338         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1339
1340 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1341
1342         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1343         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1344         * gdb.python/py-symtab.exp: Update test printing an objfile.
1345
1346 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
1347
1348         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1349         object.
1350
1351 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
1352
1353         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1354         (support_complex_tests): Use gdb_can_simple_compile.
1355         (is_ilp32_target): Likewise.
1356         (is_lp64_target): Likewise.
1357         (is_64_target): Likewise.
1358         (is_amd64_regs_target): Likewise.
1359         (is_aarch32_target): Likewise.
1360         (gdb_int128_helper): Likewise.
1361
1362 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1363
1364         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1365
1366 2018-09-10  Jerome Guitton  <guitton@adacore.com>
1367
1368         * gdb.ada/same_component_name: Add test for case of tagged record
1369         with variable-length fields.
1370
1371 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1372
1373         * gdb.ada/access_to_unbounded_array.exp: New testcase.
1374         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1375         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1376         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1377
1378 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1379
1380         * gdb.ada/mi_string_access.exp: New testcase.
1381         * gdb.ada/mi_string_access/bar.adb: New file.
1382         * gdb.ada/mi_string_access/pck.adb: New file.
1383         * gdb.ada/mi_string_access/pck.asd: New file.
1384
1385 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1386
1387         * gdb.ada/mi_var_union.exp: New testcase.
1388         * gdb.ada/mi_var_union/bar.adb: New file.
1389         * gdb.ada/mi_var_union/pck.adb: New file.
1390         * gdb.ada/mi_var_union/pck.asd: New file.
1391
1392 2018-09-08  Tom Tromey  <tom@tromey.com>
1393
1394         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1395
1396 2018-09-08  Tom Tromey  <tom@tromey.com>
1397
1398         PR python/16047:
1399         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1400         (register_pretty_printers): Register new printer.
1401         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1402         test.
1403         * gdb.python/py-prettyprint.c (int_type3): New typedef.
1404         (an_int_type3): New global.
1405
1406 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
1407
1408         * gdb.ada/expr_with_funcall: New testcase.
1409
1410 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
1411
1412         * gdb.ada/packed_array_assign: New testcase.
1413
1414 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1415
1416         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1417         names, and add test prefixes to make test names unique.
1418
1419 2018-09-05  Tom de Vries  <tdevries@suse.de>
1420
1421         * gdb.dwarf2/varval.exp: Add test.
1422
1423 2018-09-04  Gary Benson <gbenson@redhat.com>
1424
1425         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1426         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
1427
1428 2018-08-31  Tom Tromey  <tom@tromey.com>
1429
1430         * gdb.rust/simple.rs: Rename second variable "v".
1431
1432 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
1433
1434         * gdb.base/funcargs.c (use_a): New function.
1435         (recurse): Call use_a.
1436
1437 2018-08-29  Keith Seitz  <keiths@redhat.com>
1438
1439         * gdb.compile/compile-cplus-anonymous.cc: New file.
1440         * gdb.compile/compile-cplus-anonymous.exp: New file.
1441         * gdb.compile/compile-cplus-array-decay.cc: New file.
1442         * gdb.compile/compile-cplus-array-decay.exp: New file.
1443         * gdb.compile/compile-cplus-inherit.cc: New file.
1444         * gdb.compile/compile-cplus-inherit.exp: New file.
1445         * gdb.compile/compile-cplus-member.cc: New file.
1446         * gdb.compile/compile-cplus-member.exp: New file.
1447         * gdb.compile/compile-cplus-method.cc: New file.
1448         * gdb.compile/compile-cplus-method.exp: New file.
1449         * gdb.compile/compile-cplus-mod.c: "New" file.
1450         * gdb.compile/compile-cplus-namespace.cc: New file.
1451         * gdb.compile/compile-cplus-namespace.exp: New file.
1452         * gdb.compile/compile-cplus-nested.cc: New file.
1453         * gdb.compile/compile-cplus-nested.exp: New file.
1454         * gdb.compile/compile-cplus-print.c: "New" file.
1455         * gdb.compile/compile-cplus-print.exp: "New" file.
1456         * gdb.compile/compile-cplus-virtual.cc: New file.
1457         * gdb.compile/compile-cplus-virtual.exp: New file.
1458         * gdb.compile/compile-cplus.c: "New" file.
1459         * gdb.compile/compile-cplus.exp: "New" file.
1460         * lib/compile-support.exp: New file.
1461
1462 2018-08-16  Gary Benson <gbenson@redhat.com>
1463
1464         PR gdb/13000:
1465         * gdb.base/batch-exit-status.exp: New file.
1466         * gdb.base/batch-exit-status.good-commands: Likewise.
1467         * gdb.base/batch-exit-status.bad-commands: Likewise.
1468
1469 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
1470
1471         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1472         (struct struct02): Likewise.
1473         (struct struct03): Likewise.
1474         (struct struct04): Likewise.
1475         (struct struct_01_01): New struct.
1476         (struct struct_01_02): Likewise.
1477         (struct struct_01_03): Likewise.
1478         (struct struct_01_04): Likewise.
1479         (struct struct_02_01): Likewise.
1480         (struct struct_02_02): Likewise.
1481         (struct struct_02_03): Likewise.
1482         (struct struct_02_04): Likewise.
1483         (struct struct_04_01): Likewise.
1484         (struct struct_04_02): Likewise.
1485         (struct struct_04_03): Likewise.
1486         (struct struct_04_04): Likewise.
1487         (struct struct_05_01): Likewise.
1488         (struct struct_05_02): Likewise.
1489         (struct struct_05_03): Likewise.
1490         (struct struct_05_04): Likewise.
1491         (cmp_struct01): Remove function.
1492         (cmp_struct02): Likewise.
1493         (cmp_struct03): Likewise.
1494         (cmp_struct04): Likewise.
1495         (cmp_struct_01_01): Add Function.
1496         (cmp_struct_01_02): Likewise.
1497         (cmp_struct_01_03): Likewise.
1498         (cmp_struct_01_04): Likewise.
1499         (cmp_struct_02_01): Likewise.
1500         (cmp_struct_02_02): Likewise.
1501         (cmp_struct_02_03): Likewise.
1502         (cmp_struct_02_04): Likewise.
1503         (cmp_struct_04_01): Likewise.
1504         (cmp_struct_04_02): Likewise.
1505         (cmp_struct_04_03): Likewise.
1506         (cmp_struct_04_04): Likewise.
1507         (cmp_struct_05_01): Likewise.
1508         (cmp_struct_05_02): Likewise.
1509         (cmp_struct_05_03): Likewise.
1510         (cmp_struct_05_04): Likewise.
1511         (call_all): Add new structs.
1512         * gdb.base/infcall-nested-structs.exp: Likewise.
1513
1514 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1515
1516         * gdb.python/py-framefilter-mi.exp: Update regexp to
1517         check for "arch" field in frame output.
1518
1519 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1520
1521         * gdb.dwarf2/dw2-ranges-func.c: New file.
1522         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1523
1524 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1525
1526         * gdb.base/term.exp: Compare terminal settings with values from
1527         the inferior.
1528         * gdb.base/term.c: Get and set terminal settings.
1529
1530 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1531
1532         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1533         accommodate new "arch" field in frame output.
1534         * gdb.mi/mi-return.exp: Likewise.
1535         * gdb.mi/mi-stack.exp: Likewise.
1536         * gdb.mi/mi-syn-frame.exp: Likewise.
1537         * gdb.mi/user-selected-context-sync.exp: Likewise.
1538
1539 2018-08-19  Michael Spang  <spang@google.com>
1540
1541         PR gdb/11786
1542         * gdb.base/gcore-tls-pie.c: New file.
1543         * gdb.base/gcore-tls-pie.exp: New file.
1544
1545 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1546
1547         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1548         * gdb.dwarf2/varval.c: New file.
1549         * gdb.dwarf2/varval.exp: New file.
1550
1551 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1552
1553         PR gdb/18931
1554         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1555
1556 2018-08-16  Keith Seitz  <keiths@redhat.com>
1557
1558         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1559         tests expected to pass.
1560
1561 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1562
1563         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1564         -data-disassemble -a.
1565         (test_disassembly_bogus_args): Likewise.
1566
1567 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1568
1569         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1570
1571 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1572
1573         * gdb.base/vla-optimized-out.exp: Add new test.
1574
1575 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1576
1577         * gdb.base/vla-optimized-out-o3.exp: Delete.
1578         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1579         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1580         deleted tests.
1581
1582 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1583
1584         PR gdb/18050:
1585         * gdb.server/extended-remote-restart.c: New file.
1586         * gdb.server/extended-remote-restart.exp: New file.
1587
1588 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1589
1590         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1591         "set variable index = 42".
1592
1593 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1594
1595         * boards/index-cache-gdb.exp: New file.
1596         * gdb.dwarf2/index-cache.exp: New file.
1597         * gdb.dwarf2/index-cache.c: New file.
1598         * gdb.base/maint.exp: Check if we are using the index cache.
1599
1600 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1601
1602         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1603         MAKEFLAGS.
1604
1605 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1606
1607         * dg-extract-results.sh: Move to toplevel contrib.
1608         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1609         * Makefile.in (check-parallel-racy): Likewise.
1610
1611 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1612
1613         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1614         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1615         tests if the target supports scheduler locking.
1616
1617 2018-08-04  Tom de Vries  <tdevries@suse.de>
1618
1619         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1620
1621 2018-08-02  Tom Tromey  <tom@tromey.com>
1622
1623         PR symtab/16842.
1624         * gdb.cp/temargs.exp: Test "info address" of a template
1625         parameter.
1626
1627 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1628
1629         * gdb.python/py-mi-var-info-path-expression.c: New file.
1630         * gdb.python/py-mi-var-info-path-expression.py: New file.
1631         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1632
1633 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1634
1635         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1636         error after "cannot resolve name" string.
1637
1638 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1639
1640         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1641         started.
1642         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1643
1644 2018-07-28  Tom de Vries  <tdevries@suse.de>
1645
1646         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1647
1648 2018-07-26  Tom de Vries  <tdevries@suse.de>
1649
1650         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1651
1652 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1653
1654         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1655         is visible.
1656
1657 2018-07-26  Tom de Vries  <tdevries@suse.de>
1658
1659         PR breakpoints/23366
1660         * gdb.base/catch-follow-exec.c: New test.
1661         * gdb.base/catch-follow-exec.exp: New file.
1662
1663 2018-07-25  Tom de Vries  <tdevries@suse.de>
1664
1665         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1666         vla-optimized-out.c.
1667
1668 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1669
1670         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1671         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1672
1673 2018-07-20  Tom de Vries  <tdevries@suse.de>
1674
1675         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1676         NOCLONE macro.
1677         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1678
1679 2018-07-19  Tom de Vries  <tdevries@suse.de>
1680
1681         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1682         regular expression.
1683
1684 2018-07-18  Tom de Vries  <tdevries@suse.de>
1685
1686         * gdb.base/vla-optimized-out.c: New test.
1687         * gdb.base/vla-optimized-out.exp: New file.
1688
1689 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1690
1691         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1692         message "No address associated with hostname" when gdbserver
1693         cannot resolve the hostname.
1694
1695 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1696
1697         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1698         Add some test prefixes to make tests unique.
1699
1700 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1701
1702         * gdb.base/frameapply.c: New file.
1703         * gdb.base/frameapply.exp: New file.
1704
1705 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1706
1707         * gdb.base/skip.exp: Update expected error message.
1708
1709 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1710             Jan Kratochvil  <jan.kratochvil@redhat.com>
1711             Paul Fertser  <fercerpav@gmail.com>
1712             Tsutomu Seki  <sekiriki@gmail.com>
1713
1714         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1715         parameter.
1716         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1717         by default.
1718         * boards/native-gdbserver.exp: Likewise.
1719         * gdb.server/run-without-local-binary.exp: Improve regexp used
1720         for detecting when a remote debugging connection succeeds.
1721         * gdb.server/server-connect.exp: New file.
1722         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1723         Do not prefix the port number with ":".
1724         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1725         support for detecting and using it.  Add '$debughost_gdbserver'
1726         to the list of arguments used to start gdbserver.  Handle case
1727         when gdbserver cannot resolve a network name.
1728
1729 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1730
1731         PR c++/23373
1732         * gdb.base/ptype-offsets.cc (struct static_member): New
1733         struct.
1734         (main) <stmember>: New variable.
1735         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1736         with a static member in it.
1737
1738 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1739
1740         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1741         watchpoints enabled and disabled.
1742
1743 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1744
1745         * gdb.base/examine-backward.exp: Still run tests around address
1746         0x0, even if address 0x0 is not readable.  Update the pattern for
1747         matching address 0x0 in expected output.
1748
1749 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1750
1751         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1752         malloc/free.
1753
1754 2018-07-04  Tom de Vries  <tdevries@suse.de>
1755
1756         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1757
1758 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1759
1760         PR tdep/8282
1761         * gdb.arch/mips-disassembler-options.exp: New test.
1762         * gdb.arch/mips-disassembler-options.s: New test source.
1763
1764 2018-06-29  Pedro Alves  <palves@redhat.com>
1765
1766         * gdb.threads/names.exp: Adjust expected "info threads" output.
1767
1768 2018-06-29  Pedro Alves  <palves@redhat.com>
1769
1770         * gdb.opt/inline-break.exp (line number, address): Add "info
1771         break" tests.
1772
1773 2018-06-29  Pedro Alves  <palves@redhat.com>
1774
1775         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1776         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1777         number and address and running to them.
1778
1779 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1780
1781         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1782
1783 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1784
1785         * lib/compiler.c: Remove executable permission flag.
1786
1787 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1788
1789         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1790         code.
1791         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1792
1793 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1794
1795         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1796
1797 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1798
1799         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1800         address argument is omitted.
1801
1802 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1803
1804         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1805
1806 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1807
1808         PR gdb/21695
1809         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1810         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1811
1812 2018-06-26  Tom Tromey  <tom@tromey.com>
1813
1814         PR rust/22574:
1815         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1816         * gdb.rust/simple.rs (struct SimpleLayout): New.
1817
1818 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1819
1820         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1821         "info registers" output.
1822
1823 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1824
1825         * gdb.base/watchpoint-hw-attach.c: New test.
1826         * gdb.base/watchpoint-hw-attach.exp: New file.
1827
1828 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1829
1830         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1831         through /bin/sh.
1832         * boards/dwarf4-gdb-index.exp: Likewise.
1833         * boards/fission-dwp.exp: Likewise.
1834
1835 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1836
1837         * gdb.base/float128.exp: Add comment and improved fail message
1838         to the failure case of "print large128" test.
1839
1840 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1841
1842         * configure.ac: Remove AC_PREREQ.
1843         * configure: Re-generate.
1844
1845 2018-06-19  Pedro Alves  <palves@redhat.com>
1846
1847         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1848         (func_extern_caller): New.
1849         (main): Call func_extern_caller.
1850         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1851         logic change.
1852
1853 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1854
1855         PR gdb/16841
1856         * gdb.cp/typedef-base.cc: New file.
1857         * gdb.cp/typedef-base.exp: New file.
1858
1859 2018-06-18  Tom de Vries  <tdevries@suse.de>
1860
1861         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1862
1863 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1864             Richard Bunt <Richard.Bunt@arm.com>
1865
1866         * gdb.threads/attach-slow-waitpid.c: New file.
1867         * gdb.threads/attach-slow-waitpid.exp: New file.
1868         * gdb.threads/slow-waitpid.c: New file.
1869
1870 2018-06-14  Pedro Alves  <palves@redhat.com>
1871
1872         * gdb.base/fork-running-state.c: Include <errno.h>.
1873         (exit_if_relative_exits): New.
1874         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1875         exits.
1876         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1877         child exits.
1878
1879 2018-06-14  Tom de Vries  <tdevries@suse.de>
1880
1881         PR cli/22573
1882         * gdb.base/finish-pretty.c: New test.
1883         * gdb.base/finish-pretty.exp: New file.
1884
1885 2018-06-14  Pedro Alves  <palves@redhat.com>
1886
1887         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1888         gdb's expected startup output.
1889
1890 2018-06-14  Pedro Alves  <palves@redhat.com>
1891
1892         * lib/selftest-support.exp (selftest_setup): Remove inlined
1893         function handling.
1894
1895 2018-06-14  Tom de Vries  <tdevries@suse.de>
1896
1897         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1898         matching of breakpoint printing.
1899
1900 2018-06-13  Tom de Vries  <tdevries@suse.de>
1901
1902         PR testsuite/23269
1903         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1904         (fork_child): ... here, and ...
1905         (fork_parent): ... here.
1906
1907 2018-06-12  Tom de Vries  <tdevries@suse.de>
1908
1909         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1910
1911 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1912             Stephen Roberts  <stephen.roberts@arm.com>
1913
1914         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1915         rewrite test to describe action performed, rather than possible
1916         failure.
1917
1918 2018-06-08  Gary Benson <gbenson@redhat.com>
1919
1920         * gdb.threads/check-libthread-db.exp: New file.
1921         * gdb.threads/check-libthread-db.c: Likewise.
1922
1923 2018-06-05  Tom Tromey  <tom@tromey.com>
1924
1925         * gdb.base/default.exp: Update expected "show version" output.
1926
1927 2018-06-05  Tom Tromey  <tom@tromey.com>
1928
1929         PR cli/12326:
1930         * gdb.cp/static-print-quit.exp: Update.
1931         * lib/gdb.exp (pagination_prompt): Update.
1932         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1933         * gdb.python/python.exp: Update.
1934
1935 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1936
1937         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1938
1939 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1940
1941         * gdb.ada/bp_fun_addr: New testcase.
1942
1943 2018-06-01  Tom Tromey  <tom@tromey.com>
1944
1945         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1946         results.
1947         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1948         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1949         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1950         * gdb.base/maint.exp (maint_pass_if): Update.
1951
1952 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1953
1954         * gdb.base/endian.exp: New test.
1955         * gdb.base/endian.c: New test source.
1956
1957 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1958
1959         PR gdb/23203
1960         * gdb.base/bt-selected-frame.c: New file.
1961         * gdb.base/bt-selected-frame.exp: New file.
1962         * lib/gdb.exp (get_current_frame_number): New function.
1963
1964 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1965             Pedro Alves  <palves@redhat.com>
1966
1967         * gdb.threads/tls-core.c: Include <stdlib.h>
1968         (thread_proc): Call `abort'.
1969         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1970         (tls_core_test): New procedure, bits factored out from ...
1971         (top level): ... here.  Test both native cores and gcore cores.
1972
1973 2018-05-23  Tom Tromey  <tom@tromey.com>
1974
1975         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1976
1977 2018-05-23  Tom Tromey  <tom@tromey.com>
1978
1979         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1980         symfile_complaints.
1981         (test_short_complaints): Likewise.
1982         (test_empty_complaints): Likewise.
1983         (test_initial_complaints): Update.
1984
1985 2018-05-23  Tom Tromey  <tom@tromey.com>
1986
1987         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1988
1989 2018-05-23  Tom Tromey  <tom@tromey.com>
1990
1991         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1992         (test_short_complaints): Update.
1993
1994 2018-05-22  Pedro Alves  <palves@redhat.com>
1995
1996         * gdb.base/remote.exp: Only gdb_start after compiling the
1997         testcase.  Issue "disconnect" before testing "set remote" command
1998         defaults.  Issue clean_restart before running to main.
1999
2000 2018-05-22  Pedro Alves  <palves@redhat.com>
2001
2002         * gdb.base/remote.exp: Adjust expected output of "show remote
2003         memory-write-packet-size".  Add tests for "set remote
2004         memory-write-packet-size 0" and "set remote
2005         memory-write-packet-size fixed/limit".
2006
2007 2018-05-22  Pedro Alves  <palves@redhat.com>
2008
2009         PR gdb/22973
2010         * gdb.base/utf8-identifiers.c: New file.
2011         * gdb.base/utf8-identifiers.exp: New file.
2012
2013 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
2014
2015         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2016
2017 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
2018
2019         * gdb.arch/powerpc-vsx-gcore.exp: New file.
2020
2021 2018-05-18  Tom Tromey  <tom@tromey.com>
2022
2023         * gdb.base/ptype-offsets.exp: Update.
2024
2025 2018-05-17  Keith Seitz  <keiths@redhat.com>
2026
2027         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2028         in expected breakpoint stop locations.
2029         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2030         move to proper scope to test variable values.
2031         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2032         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2033         New functions.
2034         (main): Call not_inline_func3.
2035         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2036         inline_func1, inline_func2, and inline_func3.  Test that when each
2037         breakpoint is hit, GDB properly reports both the stop location
2038         and the backtrace. Repeat tests for temporary breakpoints.
2039
2040 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
2041
2042         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2043         rather then trying to access it in determining whether the PID
2044         of `gdbserver' could have been retrieved.
2045
2046 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
2047
2048         * gdb.arch/amd64-init-x87-values.S: New file.
2049         * gdb.arch/amd64-init-x87-values.exp: New file.
2050
2051 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2052
2053         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2054
2055 2018-05-04  Tom Tromey  <tom@tromey.com>
2056
2057         PR python/22730:
2058         * gdb.python/python.exp: Test multi-line execute.
2059
2060 2018-05-04  Tom Tromey  <tom@tromey.com>
2061
2062         PR python/22731:
2063         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2064
2065 2018-05-04  Tom Tromey  <tom@tromey.com>
2066
2067         PR gdb/11750:
2068         * gdb.base/define.exp: Test defining a user command inside a user
2069         command.
2070         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2071
2072 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2073             Pedro Alves <palves@redhat.com>
2074
2075         PR breakpoints/19806 and support for PR external/20207.
2076         * gdb.base/watchpoint-unaligned.c: New file.
2077         * gdb.base/watchpoint-unaligned.exp: New file.
2078
2079 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2080
2081         * gdb.base/maint.exp: Make test names unique, use
2082         test_prefix_command_help to test 'help maint info', and remove
2083         repeated test of 'help maint'.
2084
2085 2018-05-04  Tom Tromey  <tom@tromey.com>
2086
2087         PR gdb/22619:
2088         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2089         behavior.
2090
2091 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2092
2093         * gdb.base/maint.exp: Process output from 'maint print registers'
2094         line at a time.
2095
2096 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2097
2098         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2099         timeout.
2100
2101 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2102
2103         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2104         filter pattern.
2105
2106 2018-05-02  Pedro Alves  <palves@redhat.com>
2107
2108         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2109         to_log_command renames.
2110         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2111
2112 2018-05-02  Tom Tromey  <tom@tromey.com>
2113
2114         * gdb.python/py-parameter.exp: Set test message.
2115
2116 2018-05-02  Tom Tromey  <tom@tromey.com>
2117
2118         PR python/20084:
2119         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2120         PARAM_ZUINTEGER_UNLIMITED tests.
2121
2122 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
2123
2124         PR rust/23124
2125         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2126         when casting.
2127
2128 2018-04-30  Tom Tromey  <tom@tromey.com>
2129
2130         * gdb.python/py-type.exp: Check align attribute.
2131         * gdb.python/py-type.c: New "aligncheck" global.
2132
2133 2018-04-30  Tom Tromey  <tom@tromey.com>
2134
2135         PR exp/17095:
2136         * gdb.dwarf2/dw2-align.exp: New file.
2137         * gdb.cp/align.exp: New file.
2138         * gdb.base/align.exp: New file.
2139         * lib/gdb.exp (gdb_int128_helper): New proc.
2140         (has_int128_c, has_int128_cxx): New caching procs.
2141
2142 2018-04-27  Tom Tromey  <tom@tromey.com>
2143
2144         PR rust/22545:
2145         * gdb.rust/simple.exp: Add inclusive range tests.
2146
2147 2018-04-26  Pedro Alves  <palves@redhat.com>
2148
2149         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2150         ifunc breakpoint locations correctly of ifunc breakpoints set
2151         while the program resolves the ifunc.
2152
2153 2018-04-26  Pedro Alves  <palves@redhat.com>
2154
2155         * gdb.base/gnu-ifunc-final.c: New file.
2156         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2157         * gdb.base/gnu-ifunc.exp (executable): Delete.
2158         (staticexecutable): Adjust.
2159         (lib_opts, exec_opts): Delete.
2160         (make_binsuffix, build, set-break): New procedures.
2161         (misc_tests): New, with tests factored out from the top level.
2162         (top level): Test different combinations of ifunc resolver name,
2163         resolver with and with debug info, and ifunc target with and
2164         without debug info.  Wrap static tests with with_target_prefix.
2165
2166 2018-04-26  Pedro Alves  <palves@redhat.com>
2167
2168         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2169         return type" warnings.
2170
2171 2018-04-25  Pedro Alves  <palves@redhat.com>
2172
2173         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2174         killed".
2175         * gdb.base/kill-after-signal.exp: Likewise.
2176         * gdb.threads/kill.exp: Likewise.
2177
2178 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2179             Sergio Durigan Junior  <sergiodj@redhat.com>
2180             Pedro Alves  <palves@redhat.com>
2181
2182         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2183         regexps to expect for '[Inferior ... detached]' as well.
2184         * gdb.base/attach.exp: Likewise.
2185         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2186         "gdb_continue_to_end".
2187         (test_catch_syscall_with_wrong_args): Likewise.
2188         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2189         ']'.  Don't set 'verbose' on.
2190         * gdb.base/foll-vfork.exp: Likewise.
2191         * gdb.base/fork-print-inferior-events.c: New file.
2192         * gdb.base/fork-print-inferior-events.exp: New file.
2193         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2194         '[Inferior ... has been killed]' message.
2195         * gdb.base/kill-after-signal.exp: Likewise.
2196         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2197         detach message.
2198         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2199         message.
2200         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2201         regexps to expect for '[Inferior ... detached]' as well.
2202         * gdb.threads/process-dies-while-detaching.exp: Likewise.
2203
2204 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
2205
2206         PR gdb/23104
2207         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2208
2209 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
2210
2211         * gdb.threads/multiple-successive-infcall.c: New test.
2212         * gdb.threads/multiple-successive-infcall.exp: New file.
2213
2214 2018-04-17  Tom Tromey  <tom@tromey.com>
2215
2216         * gdb.rust/simple.rs (Union): New type.
2217         (main): New local "u".
2218         * gdb.rust/simple.exp (test_one_slice): Add new test case.
2219
2220 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2221
2222         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2223         number information in output of "whereis" command.
2224         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2225
2226 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2227
2228         * gdb.ada/info_types.exp: Adjust expected output to the line
2229         numbers now printed by "info var/func/type".
2230         * gdb.base/completion.exp: Likewise.
2231         * gdb.base/included.exp: Likewise.
2232         * gdb.cp/cp-relocate.exp: Likewise.
2233         * gdb.cp/cplusfuncs.exp: Likewise.
2234         * gdb.cp/namespace.exp: Likewise.
2235         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2236
2237 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
2238
2239         * gdb.btrace/cpu.exp: New.
2240
2241 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
2242
2243         * gdb.base/step-indirect-call-thunk.exp: New.
2244         * gdb.base/step-indirect-call-thunk.c: New.
2245         * gdb.reverse/step-indirect-call-thunk.exp: New.
2246         * gdb.reverse/step-indirect-call-thunk.c: New.
2247
2248 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
2249
2250         * gdb.base/pie-fork.c: New file.
2251         * gdb.base/pie-fork.exp: New file.
2252
2253 2018-04-11  Tom Tromey  <tom@tromey.com>
2254
2255         * gdb.rust/simple.exp: Add test for ".." struct initializer.
2256
2257 2018-04-10  Pedro Alves  <palves@redhat.com>
2258
2259         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2260         exits.  Instead loop running forever.
2261         (fork_parent): Run forever too.
2262
2263 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
2264
2265         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2266         mi_continue_to_line.
2267         * gdb.mi/mi-stack.c (callee4): Add comment.
2268
2269 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
2270
2271         * gdb.mi/mi-stack.exp: Fix indentation.
2272
2273 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
2274
2275         PR gdb/22979
2276         * gdb.arch/amd64-osabi.exp: New file.
2277
2278 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
2279
2280         PR gdb/22980
2281         * gdb.base/osabi.exp: New file.
2282
2283 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
2284
2285         * gdb.cp/static-typedef-print.exp: New file.
2286         * gdb.cp/static-typedef-print.cc: New file.
2287
2288 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
2289
2290         * gdb.ada/varsize_limit: New testcase.
2291
2292 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
2293
2294         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2295
2296         * gdb.ada/notcplusplus: New testcase.
2297
2298         * gdb.base/c-linkage-name.c: New file.
2299         * gdb.base/c-linkage-name.exp: New testcase.
2300
2301 2018-03-26  Tom Tromey  <tom@tromey.com>
2302
2303         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2304         * gdb.python/py-framefilter.py (name_error): New global.
2305         (ErrorInName.function): Use name_error.
2306
2307 2018-03-26  Tom Tromey  <tom@tromey.com>
2308
2309         PR backtrace/15582:
2310         * gdb.python/py-framefilter.exp: Add "bt hide" test.
2311
2312 2018-03-23  Keith Seitz  <keiths@redhat.com>
2313
2314         PR c++/22968
2315         * gdb.cp/subtypes.exp: New file.
2316         * gdb.cp/subtypes.h: New file.
2317         * gdb.cp/subtypes.cc: New file.
2318         * gdb.cp/subtypes-2.cc: New file.
2319
2320 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
2321
2322         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2323         (done): Call '_exit' not 'exit' to avoid atexit handlers.
2324         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2325         -nostartfiles when compiling the test.  Confirm that all registers
2326         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2327
2328 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
2329
2330         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2331         option, syntax was wrong anyway.
2332         * gdb.arch/arm-disp-step.exp: Likewise.
2333         * gdb.arch/sparc64-regs.exp: Likewise.
2334         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2335         option, syntax was wrong anyway, switch to use
2336         prepare_for_testing.
2337         * gdb.arch/i386-disp-step.exp: Likewise.
2338
2339 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2340
2341         * gdb.ada/exec_changed.exp: Replace "target_info exists
2342         use_gdb_stub" by "use_gdb_stub".
2343         * gdb.ada/start.exp: Likewise.
2344         * gdb.base/async-shell.exp: Likewise.
2345         * gdb.base/attach-pie-misread.exp: Likewise.
2346         * gdb.base/attach-wait-input.exp: Likewise.
2347         * gdb.base/break-entry.exp: Likewise.
2348         * gdb.base/break-interp.exp: Likewise.
2349         * gdb.base/dprintf-detach.exp: Likewise.
2350         * gdb.base/nostdlib.exp: Likewise.
2351         * gdb.base/solib-nodir.exp: Likewise.
2352         * gdb.base/statistics.exp: Likewise.
2353         * gdb.base/testenv.exp: Likewise.
2354         * gdb.mi/mi-exec-run.exp: Likewise.
2355         * gdb.mi/mi-start.exp: Likewise.
2356         * gdb.multi/dummy-frame-restore.exp: Likewise.
2357         * gdb.multi/multi-arch-exec.exp: Likewise.
2358         * gdb.multi/multi-arch.exp: Likewise.
2359         * gdb.multi/tids.exp: Likewise.
2360         * gdb.multi/watchpoint-multi.exp: Likewise.
2361         * gdb.python/py-events.exp: Likewise.
2362         * gdb.threads/attach-into-signal.exp: Likewise.
2363         * gdb.threads/attach-stopped.exp: Likewise.
2364         * gdb.threads/threadapply.exp: Likewise.
2365         * lib/selftest-support.exp: Likewise.
2366
2367 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2368
2369         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2370
2371 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
2372
2373         * gdb.perf/template-breakpoints.cc: New file.
2374         * gdb.perf/template-breakpoints.exp: New file.
2375         * gdb.perf/template-breakpoints.py: New file.
2376
2377 2018-03-19  Tom Tromey  <tom@tromey.com>
2378
2379         * gdb.rust/simple.rs (main): Add local variables field1, field2,
2380         y0.
2381         * gdb.rust/simple.exp: Test bare identifier form of struct
2382         initializer.
2383
2384 2018-03-19  Tom Tromey  <tom@tromey.com>
2385
2386         * gdb.gdb/observer.exp: Remove.
2387
2388 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2389
2390         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2391         "qualified" option when setting breakpoints.
2392         * gdb.trace/backtrace.exp: Likewise.
2393         * gdb.trace/circ.exp: Likewise.
2394         * gdb.trace/collection.exp: Likewise.
2395         * gdb.trace/disconnected-tracing.exp: Likewise.
2396         * gdb.trace/ftrace-lock.exp: Likewise.
2397         * gdb.trace/ftrace.exp: Likewise.
2398         * gdb.trace/infotrace.exp: Likewise.
2399         * gdb.trace/packetlen.exp: Likewise.
2400         * gdb.trace/passc-dyn.exp: Likewise.
2401         * gdb.trace/qtro.exp: Likewise.
2402         * gdb.trace/read-memory.exp: Likewise.
2403         * gdb.trace/report.exp: Likewise.
2404         * gdb.trace/signal.exp: Likewise.
2405         * gdb.trace/status-stop.exp: Likewise.
2406         * gdb.trace/strace.exp: Likewise.
2407         * gdb.trace/tfind.exp: Likewise.
2408         * gdb.trace/trace-break.exp: Likewise.
2409         * gdb.trace/trace-condition.exp: Likewise.
2410         * gdb.trace/trace-mt.exp: Likewise.
2411         * gdb.trace/tstatus.exp: Likewise.
2412         * gdb.trace/tsv.exp: Likewise.
2413         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2414         * gdb.trace/unavailable.exp: Likewise.
2415         * gdb.trace/while-dyn.exp: Likewise.
2416
2417 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2418
2419         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2420         that libinproctrace is copied to the target.
2421
2422 2018-03-14  Tom Tromey  <tom@tromey.com>
2423
2424         PR cli/14977:
2425         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2426         a null pointer.
2427         * gdb.base/wchar.exp: Likewise.
2428
2429 2018-03-14  Tom Tromey  <tom@tromey.com>
2430
2431         PR cli/19918:
2432         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2433         flag.
2434
2435 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
2436
2437         PR gdb/22841
2438         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2439         "target" to remote_exec.
2440
2441 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
2442
2443         PR gdb/22841
2444         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2445         ${board}_upload): Remove.
2446
2447 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2448
2449         * gdb.cp/watch-cp.cc: New test.
2450         * gdb.cp/watch-cp.exp: New file.
2451
2452 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2453
2454         * gdb.base/infcall-nested-structs.exp: New file.
2455         * gdb.base/infcall-nested-structs.c: New file.
2456         * gdb.base/float.exp: Add riscv support.
2457
2458 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2459
2460         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2461         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2462
2463 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
2464
2465         * gdb.server/abspath.exp: New file.
2466         * lib/gdb.exp (with_cwd): New procedure.
2467
2468 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
2469
2470         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2471         use it.
2472         (gdb_is_target_remote_prompt): New proc.
2473         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2474         (gdb_is_target_native): Pass prompt parameter to
2475         gdb_is_target_1.
2476
2477 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
2478
2479         * gdb.base/load-command.c: New file.
2480         * gdb.base/load-command.exp: New file.
2481         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2482         (gdb_is_target_1): ...this, and generalize for other targets
2483         than just remote.
2484         (gdb_is_target_remote): Use gdb_is_target_1.
2485         (gdb_is_target_native): use gdb_is_target_1.
2486
2487 2018-02-26  Tom Tromey  <tom@tromey.com>
2488
2489         PR python/16497:
2490         * gdb.python/py-framefilter.exp: Update test.
2491
2492 2018-02-26  Tom Tromey  <tom@tromey.com>
2493
2494         * gdb.dwarf2/variant.c: New file.
2495         * gdb.dwarf2/variant.exp: New file.
2496
2497 2018-02-26  Tom Tromey  <tom@tromey.com>
2498
2499         * gdb.rust/simple.exp: Accept more possible results in enum test.
2500
2501 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
2502
2503         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2504         parentheses.
2505
2506 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
2507
2508         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2509         name of a variable: $actual_linejj -> $actual_line.
2510
2511 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2512
2513         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2514
2515 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2516
2517         * gdb.btrace/buffer-size.exp: Do not force BTS.
2518
2519 2018-02-14  Pedro Alves  <palves@redhat.com>
2520
2521         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2522         getting a "Quit".
2523
2524 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2525
2526         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2527         Fix test name.
2528
2529 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2530
2531         * gdb.cp/m-static.exp: Check type of optimized out static
2532         member.
2533
2534 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2535
2536         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2537         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2538
2539 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2540             Leszek Swirski  <leszeks@google.com>
2541
2542         * gdb.python/py-prettyprint.c
2543         (struct to_string_returns_value_inner,
2544         struct to_string_returns_value_wrapper): New.
2545         (main): Add tsrvw variable.
2546         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2547         ToStringReturnsValueWrapper): New classes.
2548         (register_pretty_printers): Register new pretty-printers.
2549         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2550         recursive pretty printer.
2551         * gdb.python/py-mi.exp: Likewise.
2552
2553 2018-02-01  Leszek Swirski  <leszeks@google.com>
2554
2555         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2556         functions with the same name as an include file are parsed
2557         correctly.
2558
2559 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2560
2561         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2562         "\[^\r\n\]*".
2563
2564 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2565
2566         * gdb.arch/powerpc-prologue-frame.s: New file.
2567         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2568         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2569
2570 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2571
2572         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2573
2574 2018-01-30  Pedro Alves  <palves@redhat.com>
2575
2576         PR gdb/13211
2577         * gdb.base/interrupt-daemon.c: New.
2578         * gdb.base/interrupt-daemon.exp: New.
2579         * gdb.multi/multi-term-settings.c: New.
2580         * gdb.multi/multi-term-settings.exp: New.
2581
2582 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2583
2584         * gdb.base/break.exp: Save the location where the breakpoint
2585         on break.c:47 was actually inserted when debugging the version
2586         compiled at -O2 and use it in the expected output of the "info
2587         break" test performed soon after.
2588
2589 2018-01-22  Pedro Alves  <palves@redhat.com>
2590             Sergio Durigan Junior  <sergiodj@redhat.com>
2591
2592         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2593         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2594
2595 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2596
2597         * gdb.base/break-include.c, gdb.base/break-include.inc,
2598         gdb.base/break-include.exp: New files.
2599         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2600         line number now being the actual line number where the breakpoint
2601         was inserted.
2602         * gdb.mi/mi-break.exp: Likewise.
2603         * gdb.mi/mi-reverse.exp: Likewise.
2604         * gdb.mi/mi-simplerun.exp: Ditto.
2605
2606 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2607
2608         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2609         varobj.
2610         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2611
2612 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2613             Andrew Burgess  <andrew.burgess@embecosm.com>
2614
2615         * gdb.mi/basics.c: Add new global.
2616         * gdb.mi/mi-frame-regs.exp: New file.
2617         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2618         case.
2619
2620 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2621
2622         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2623         non-parameter, and on an unknown symbol.
2624
2625 2018-01-19  Tom Tromey  <tom@tromey.com>
2626
2627         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2628         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2629
2630 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2631
2632         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2633         setrlimit and chdir to int.
2634
2635 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2636
2637         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2638         function.
2639         (my_tend): Likewise.
2640         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2641         rationale of avoiding FP- and vector instructions.
2642
2643 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2644
2645         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2646         "info reg" with "\[ \t\]*".
2647         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2648         "\[ \t\]+".
2649         * gdb.arch/s390-multiarch.exp: Ditto.
2650         * gdb.base/pc-fp.exp: Ditto.
2651         * gdb.reverse/i386-precsave.exp: Ditto.
2652         * gdb.reverse/i386-reverse.exp: Ditto.
2653         * gdb.reverse/i387-env-reverse.exp: Ditto.
2654         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2655
2656 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2657
2658         * lib/gdb.exp (gdb_compile): Re-enable use of
2659         universal_compile_options for languages other than Rust.
2660
2661 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2662
2663         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2664
2665 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2666
2667         PR gdb/16577
2668         * gdb.base/solib-vanish.exp: New.
2669         * gdb.base/solib-vanish-main.c: New.
2670         * gdb.base/solib-vanish-lib1.c: New.
2671         * gdb.base/solib-vanish-lib2.c: New.
2672
2673 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2674
2675         * gdb.compile/compile.exp: Match the address printed for
2676         frame in the output of command "bt".
2677
2678 2018-01-15  Tom Tromey  <tom@tromey.com>
2679
2680         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2681         compute sp_reg.
2682
2683 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2684
2685         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2686         to prepare.
2687         (prepare): Return 0 on error, 1 on success.
2688
2689 2018-01-12  Pedro Alves  <palves@redhat.com>
2690
2691         * gdb.base/continue-after-aborted-step-over.c: New.
2692         * gdb.base/continue-after-aborted-step-over.exp: New.
2693
2694 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2695
2696         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2697         options when not creating an executable.
2698
2699 2018-01-11  Pedro Alves  <palves@redhat.com>
2700
2701         PR remote/22597
2702         * gdb.server/stop-reply-no-thread.c: New file.
2703         * gdb.server/stop-reply-no-thread.exp: New file.
2704
2705 2018-01-10  Pedro Alves  <palves@redhat.com>
2706
2707         PR gdb/22670
2708         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2709         functions too.  Test setting breakpoints and printing C functions
2710         with no debug info too.
2711         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2712
2713 2018-01-10  Pedro Alves  <palves@redhat.com>
2714
2715         PR gdb/22670
2716         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2717         a fail.
2718
2719 2018-01-10  Pedro Alves  <palves@redhat.com>
2720
2721         PR gdb/22670
2722         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2723
2724 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2725
2726         * gdb.server/unittest.exp: Match the output in non-development
2727         mode.
2728
2729 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2730
2731         * gdb.gdb/unittest.exp: Match output in non-development mode.
2732
2733 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2734
2735         * gdb.ada/access_tagged_param.exp: Relax expected output
2736         for value of "ObjL" in "continue" to pck.inspect breakpoint
2737         test.
2738
2739 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2740
2741         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2742         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2743
2744 2018-01-05  Pedro Alves  <palves@redhat.com>
2745
2746         PR gdb/18653
2747         * gdb.base/libsegfault.exp: New.
2748
2749 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2750
2751         PR gdb/22670
2752         * gdb.ada/access_tagged_param.exp: New file.
2753         * gdb.ada/access_tagged_param/foo.adb: New file.
2754
2755 2018-01-05  Pedro Alves  <palves@redhat.com>
2756
2757         PR gdb/22670
2758         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2759         exercise lower case too, and to exercise both full matching and
2760         wild matching.
2761
2762 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2763
2764         * gdb.ada/rename_subscript_param: New testcase.
2765
2766 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2767
2768         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2769
2770 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2771
2772         * gdb.ada/convvar_comp: New testcase.
2773
2774 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2775
2776         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2777         (My_Table): New global variable.
2778         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2779
2780 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2781
2782         PR gdb/22670
2783         * gdb.ada/maint_with_ada: New testcase.
2784
2785 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2786
2787         PR gdb/22670
2788         * gdb.ada/bp_c_mixed_case: New testcase.
2789
2790 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2791
2792         PR gdb/22670
2793         * gdb.ada/complete.exp: Add "complete break ada" test.
2794
2795 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2796
2797         PR gdb/22670
2798         * gdb.ada/info_addr_mixed_case: New testcase.
2799
2800 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2801
2802         * gdb.ada/excep_handle.exp: New testcase.
2803         * gdb.ada/excep_handle/foo.adb: New file.
2804         * gdb.ada/excep_handle/pck.ads: New file.
2805
2806 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2807
2808         * gdb.base/step-line.c: Add extra empty line in copyright header.
2809         * gdb.base/step-line.inp: Likewise.
2810
2811 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2812
2813         * gdb.ada/dyn_stride.exp: Add slice test.
2814
2815 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2816
2817         * gdb.ada/dyn_stride: New testcase.
2818
2819 2017-12-27  Stafford Horne  <shorne@gmail.com>
2820
2821         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2822         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2823
2824 2017-12-27  Stafford Horne  <shorne@gmail.com>
2825
2826         * gdb.base/reggroups.c: New file.
2827         * gdb.base/reggroups.exp: New file.
2828
2829 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2830
2831         * gdb.dwarf2/ada-valprint-error.c: New file.
2832         * gdb.dwarf2/ada-valprint-error.exp: New file.
2833
2834 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2835
2836         * gdb.ada/assign_arr: New testcase.
2837
2838 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2839
2840         * gdb.ada/funcall_ptr: New testcase.
2841
2842 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2843
2844         PR cli/16224
2845         * gdb.base/ptype-offsets.cc: New file.
2846         * gdb.base/ptype-offsets.exp: New file.
2847
2848 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2849
2850         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2851         if XML is disabled.
2852
2853 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2854
2855         * gdb.ada/same_component_name: New testcase.
2856
2857 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2858
2859         * gdb.ada/str_binop_equal: New testcase.
2860
2861 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2862
2863         * gdb.ada/task_switch_in_core: New testcase.
2864
2865 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2866
2867         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2868         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2869         call test_bkpt_qualified.
2870         (test_bkpt_qualified): New proc.
2871
2872 2017-12-13  Pedro Alves  <palves@redhat.com>
2873
2874         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2875         Tighten regexp by matching with an anchor.
2876
2877 2017-12-13  Pedro Alves  <palves@redhat.com>
2878
2879         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2880         ("expression with namespace"): New set of tests.
2881         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2882         (Nested::Test_NS::qux): New.
2883         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2884         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2885
2886 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2887
2888         * gdb.base/server-del-break.c: New file.
2889         * gdb.base/server-del-break.exp: New file.
2890
2891 2017-12-12  Stafford Horne  <shorne@gmail.com>
2892
2893         * gdb.xml/tdesc-regs.exp: Add or1k support.
2894
2895 2017-12-12  Stafford Horne  <shorne@gmail.com>
2896
2897         * gdb.base/bp-permanent.c: Define nop of or1k.
2898
2899 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2900
2901         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2902         output with components being reordered.
2903
2904 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2905
2906         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2907         output with components being reordered.
2908
2909 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2910             Pedro Alves  <palves@redhat.com>
2911
2912         * gdb.base/maint.exp (check for .gdb_index): Check also for
2913         .debug_names.
2914         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2915         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2916         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2917         (.gdb_index used after symbol reloading): Support also .debug_names.
2918         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2919
2920 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2921
2922         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2923         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2924
2925 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2926
2927         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2928         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2929
2930 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2931
2932         * gdb.arch/aarch64-tagged-pointer.c: New file.
2933         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2934
2935 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2936
2937         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2938         "int".
2939
2940 2017-12-07  Keith Seitz  <keiths@redhat.com>
2941
2942         PR breakpoints/22569
2943         * gdb.linespec/ls-errs.exp: Change expected result of "break
2944         -source this file has spaces.c -line 3".
2945         Check that an explicit source file followed by whitespace is
2946         identified as an invalid explicit location.
2947
2948 2017-12-07  Keith Seitz  <keiths@redhat.com>
2949
2950         * gdb.cp/nested-types.cc: New file.
2951         * gdb.cp/nested-types.exp: New file.
2952         * lib/cp-support.exp: Load data-structures.exp library.
2953         (debug_cp_test_ptype_class): New global.
2954         (cp_ptype_class_verbose, next_line): New procedures.
2955         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2956         Add and document new return value.
2957         Switch the list of lines to a queue.
2958         Add support for new `type' key for nested type definitions.
2959         Add debugging/troubleshooting messages.
2960         * lib/data-structures.exp: New file.
2961
2962 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2963
2964         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2965         with proc_with_prefix, don't use with_test_prefix.
2966
2967 2017-12-07  Tom Tromey  <tom@tromey.com>
2968
2969         * gdb.base/break.exp: Add test for empty "commands".
2970
2971 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2972
2973         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2974         malloc and catch syscall.
2975
2976 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2977
2978        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2979         tests for explicit locations.
2980
2981 2017-12-06  Pedro Alves  <palves@redhat.com>
2982
2983         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2984         force-disabling XML descriptions.
2985
2986 2017-12-04  Pedro Alves  <palves@redhat.com>
2987
2988         PR gdb/22499
2989         * gdb.arch/amd64-disp-step-avx.S: New file.
2990         * gdb.arch/amd64-disp-step-avx.exp: New file.
2991
2992 2017-12-03  Pedro Alves  <palves@redhat.com>
2993
2994         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2995         and <string.h>.
2996         (parent_function): Print distinct messages when waitpid fails, or
2997         the child exits with a signal, or the child exits for an unhandled
2998         reason.
2999         * gdb.threads/process-dies-while-detaching.exp
3000         (detach_and_expect_exit): New 'inf_output_re' parameter and use
3001         it.  Wait for both inferior output and GDB's prompt.  Use an
3002         indirect spawn id list.
3003         (do_detach): New parameter 'child_exit'.  Use it to compute
3004         expected inferior output.
3005         (test_detach, test_detach_watch, test_detach_killed_outside):
3006         Adjust to pass down the expected child exit kind.
3007
3008 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
3009             Sergio Durigan Junior  <sergiodj@redhat.com>
3010             Pedro Alves  <palves@redhat.com>
3011
3012         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3013
3014 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
3015
3016         * gdb.base/relocate.exp: Add tests to guarantee that arguments
3017         to 'symbol-file' and 'add-symbol-file' can be
3018         position-independent.
3019
3020 2017-12-01  Yao Qi  <yao.qi@linaro.org>
3021
3022         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3023         the URL in copyright header.
3024         * gdb.arch/aarch64-fp.exp: Likewise.
3025         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3026         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3027         * gdb.base/expand-psymtabs.exp: Likewise.
3028         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3029         * gdb.fortran/common-block.exp: Likewise.
3030         * gdb.fortran/common-block.f90: Likewise.
3031         * gdb.fortran/logical.exp: Likewise.
3032         * gdb.fortran/vla-datatypes.f90: Likewise.
3033         * gdb.fortran/vla-sub.f90: Likewise.
3034
3035 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
3036
3037         * gdb.ada/repeat_dyn: New testcase.
3038
3039 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
3040
3041         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3042         Update for changed thread numbering.
3043         * gdb.cell/bt.exp: Update for changed GDB output.
3044
3045 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
3046
3047         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3048         setting isremote by hand.
3049         * boards/dwarf4-gdb-index.exp: Likewise.
3050         * boards/fission.exp: Likewise.
3051         * boards/stabs.exp: Likewise.
3052
3053 2017-11-30  Pedro Alves  <palves@redhat.com>
3054
3055         * gdb.linespec/cpls-ops.exp
3056         (check_explicit_skips_function_argument): Extract the underlying
3057         type of size_t instead of hardcoding it.
3058
3059 2017-11-29  Pedro Alves  <palves@redhat.com>
3060
3061         PR c++/19436
3062         * gdb.linespec/cpls-abi-tag.cc: New file.
3063         * gdb.linespec/cpls-abi-tag.exp: New file.
3064
3065 2017-11-29  Pedro Alves  <palves@redhat.com>
3066
3067         * gdb.base/langs.exp: Use -qualified.
3068         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3069         it.
3070         * gdb.cp/namespace.exp: Use -qualified.
3071         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3072         (overload-3, template-overload, template-ret-type, const-overload)
3073         (const-overload-quoted, anon-ns, ambiguous-prefix): New
3074         procedures.
3075         (test_driver): Call them.
3076         * gdb.cp/save-bp-qualified.cc: New.
3077         * gdb.cp/save-bp-qualified.exp: New.
3078         * gdb.linespec/explicit.exp: Test -qualified.
3079         * lib/completion-support.exp (completion::explicit_opts_list): Add
3080         "-qualified".
3081         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3082
3083 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3084
3085         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3086
3087 2017-11-29  Tom Tromey  <tom@tromey.com>
3088
3089         * gdb.base/relocate.exp: Update invalid argument test.
3090         Add new tests for invalid arguments.
3091
3092 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3093
3094         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3095         Return 0 as a long.
3096         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3097
3098 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3099
3100         * gdb.cp/breakpoint.cc (bar): Set return type to void.
3101         * gdb.cp/psymtab-parameter.cc (func): Likewise.
3102         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3103         func ().
3104         * gdb.cp/shadow.cc (B.func): Return 0.
3105
3106 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
3107
3108         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3109         expected output in gdb_expect call to allow the exception
3110         message to be present as well.  Fix syntax confusion to avoid
3111         TCL thinking that exception_name is an array.
3112
3113 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
3114
3115         * gdb.arch/spu-info.c: Include <unistd.h>.
3116         (do_signal_test): Fix broken calls to write.
3117         * gdb.arch/spu-info.exp: Use prepare_for_testing.
3118         Fix checks for empty mailboxes.  Update signal tests for corrected
3119         do_signal_test routine.  Allow nonzero event status.
3120         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3121         * gdb.cell/arch.exp: Use standard_output_file.
3122         * gdb.cell/break.exp: Likewise.
3123         * gdb.cell/bt.exp: Likewise.
3124         * gdb.cell/core.exp: Likewise.
3125         * gdb.cell/dwarfaddr.exp: Likewise.
3126         * gdb.cell/ea-cache.exp: Likewise.
3127         * gdb.cell/ea-standalone.exp: Likewise.
3128         * gdb.cell/f-regs.exp: Likewise.
3129         * gdb.cell/fork.exp: Likewise.
3130         * gdb.cell/gcore.exp: Likewise.
3131         * gdb.cell/mem-access.exp: Likewise.
3132         * gdb.cell/ptype.exp: Likewise.
3133         * gdb.cell/registers.exp: Likewise.
3134         * gdb.cell/sizeof.exp: Likewise.
3135         * gdb.cell/solib-symbol.exp: Likewise.
3136         * gdb.cell/solib.exp: Likewise.
3137
3138 2017-11-25   Pedro Alves  <palves@redhat.com>
3139
3140         * gdb.base/complete-empty.exp: New file.
3141         * gdb.base/completion.exp: Adjust.
3142
3143 2017-11-25  Pedro Alves  <palves@redhat.com>
3144
3145         * gdb.linespec/cpls-ops.cc: New file.
3146         * gdb.linespec/cpls-ops.exp: New file.
3147         * lib/completion-support.exp (test_complete_prefix_range_re): New,
3148         factored out from ...
3149         (test_complete_prefix_range): ... this.
3150
3151 2017-11-24  Pedro Alves  <palves@redhat.com>
3152
3153         * gdb.linespec/cpcompletion.exp: New file.
3154         * gdb.linespec/cpls-hyphen.cc: New file.
3155         * gdb.linespec/cpls.cc: New file.
3156         * gdb.linespec/cpls2.cc: New file.
3157         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
3158         test to use test_gdb_complete_unique.  Add label completion,
3159         keyword completion and explicit location completion tests.
3160         * lib/completion-support.exp: New file.
3161
3162 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
3163
3164         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3165         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3166         when hitting an exception catchpoint.
3167
3168 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3169
3170         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3171
3172 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
3173
3174         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3175         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3176         * gdb.dwarf2/info-locals-optimized-out.c: New file.
3177
3178 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3179
3180         * gdb.base/info-os.exp: Pass pthreads.
3181         * gdb.multi/multi-attach.exp: Likewise.
3182
3183 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3184
3185         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3186         compiler.
3187
3188 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3189
3190         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3191         * gdb.base/break-interp.exp: Likewise.
3192         * gdb.base/jit-attach-pie.exp: Likewise.
3193
3194 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
3195
3196         * gdb.base/float128.c (large128): New variable.
3197         * gdb.base/float128.exp: Add test to print largest __float128 value.
3198
3199 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
3200
3201         * gdb.arch/vsx-regs.exp: Update register content checks.
3202
3203 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
3204
3205         * gdb.arch/ppc-longdouble.exp: New file.
3206         * gdb.arch/ppc-longdouble.c: Likewise.
3207
3208 2017-11-21  Pedro Alves  <palves@redhat.com>
3209
3210         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3211
3212 2017-11-20  Pedro Alves  <palves@redhat.com>
3213
3214         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3215         (long_double_typedef): New typedefs.
3216         Use DEF on double and long double.
3217         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3218         cases.
3219         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3220         and 'long_double_ptr_same_size' locals.  Use them to decide
3221         whether cast from array/function to float is valid/invalid.
3222
3223 2017-11-17  Tom Tromey  <tom@tromey.com>
3224
3225         * gdb.rust/traits.rs: New file.
3226         * gdb.rust/traits.exp: New file.
3227
3228 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
3229
3230         * gdb.ada/minsyms: New testcase.
3231
3232 2017-11-16  Pedro Alves  <palves@redhat.com>
3233
3234         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3235         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3236
3237 2017-11-16  Pedro Alves  <palves@redhat.com>
3238
3239         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3240         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3241
3242 2017-11-16  Pedro Alves  <palves@redhat.com>
3243
3244         * gdb.server/reconnect-ctrl-c.c: New file.
3245         * gdb.server/reconnect-ctrl-c.exp: New file.
3246
3247 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
3248
3249         * gdb.python/py-rbreak.exp: New file.
3250         * gdb.python/py-rbreak.c: New file.
3251         * gdb.python/py-rbreak-func2.c: New file.
3252
3253 2017-11-16  Pedro Alves  <palves@redhat.com>
3254
3255         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3256         pattern.
3257         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3258         GDB.
3259
3260 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
3261
3262         * gdb.tui/completionn.exp (test_tab_completion): Add space in
3263         regex.
3264
3265 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
3266
3267         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3268         test names.
3269
3270 2017-11-09  Pedro Alves  <palves@redhat.com>
3271
3272         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3273         factored out from ...
3274         (top level): ... here, and adjusted to avoid expecting beyond the
3275         prompt in a single gdb_test_multiple.
3276
3277 2017-11-09  Pedro Alves  <palves@redhat.com>
3278
3279         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3280         output.
3281         * gdb.server/ext-attach.exp ("kill" test): Likewise.
3282         * gdb.server/ext-restart.exp ("kill" test): Likewise.
3283         * gdb.server/ext-run.exp ("kill" test): Likewise.
3284         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3285
3286 2017-11-09  Pedro Alves  <palves@redhat.com>
3287
3288         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3289         match till end of line.
3290
3291 2017-11-09  Pedro Alves  <palves@redhat.com>
3292
3293         * gdb.base/memattr.exp: Tighten regexes to match the end line.
3294
3295 2017-11-09  Pedro Alves  <palves@redhat.com>
3296
3297         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3298         New procedures, factored out from ...
3299         (top level): ... here, and adjusted to avoid expecting beyond the
3300         prompt in one go.
3301
3302 2017-11-09  Pedro Alves  <palves@redhat.com>
3303
3304         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3305         output.  Fix '?' match.
3306
3307 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
3308
3309         * gdb.ada/scoped_watch: New testcase.
3310         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3311         which is actually correct.
3312         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3313         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3314
3315 2017-11-08  Pedro Alves  <palves@redhat.com>
3316
3317         * gdb.gdb/complaints.exp (test_initial_complaints)
3318         (test_serial_complaints, test_short_complaints): Call
3319         complaint_internal instead of complaint.
3320
3321 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
3322
3323         * gdb.threads/tls-core.c: New file.
3324         * gdb.threads/tls-core.exp: Likewise.
3325
3326 2017-11-08   Pedro Alves  <palves@redhat.com>
3327
3328         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3329         (p Exported_Capitalized): New test.
3330         (p exported_capitalized): New test.
3331
3332 2017-11-07  Pedro Alves  <palves@redhat.com>
3333
3334         * gdb.cp/ena-dis-br-range.exp: Add more tests.
3335
3336 2017-11-07  Pedro Alves  <palves@redhat.com>
3337
3338         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3339         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3340         (disable_invalid, disable_inverted, disable_negative): New
3341         procedures.
3342         ("bad numbers"): New set of tests.
3343
3344 2017-11-07  Pedro Alves  <palves@redhat.com>
3345
3346         * gdb.cp/ena-dis-br-range.exp: Add tests.
3347
3348 2017-11-07  Pedro Alves  <palves@redhat.com>
3349
3350         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3351
3352 2017-11-07  Xavier Roirand  <roirand@adacore.com>
3353             Pedro Alves  <palves@redhat.com>
3354
3355         * gdb.base/ena-dis-br.exp: Add reference to
3356         gdb.cp/ena-dis-br-range.exp.
3357         * gdb.cp/ena-dis-br-range.exp: New file.
3358         * gdb.cp/ena-dis-br-range.cc: New file.
3359
3360 2017-11-06  Pedro Alves  <palves@redhat.com>
3361
3362         * gdb.base/attach-non-pgrp-leader.c: New.
3363         * gdb.base/attach-non-pgrp-leader.exp: New.
3364
3365 2017-11-06  Pedro Alves  <palves@redhat.com>
3366
3367         * configure.ac: No longer check for termio.h and sgtty.h.
3368         * configure: Regenerate.
3369         * remote-utils.c: Include termios.h instead of gdb_termios.h.
3370         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3371         Remove termio and sgtty code.
3372
3373 2017-11-03  Yao Qi  <yao.qi@linaro.org>
3374
3375         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3376         in GDB is disabled.
3377
3378 2017-11-03  Yao Qi  <yao.qi@linaro.org>
3379
3380         * gdb.python/py-thrhandle.exp: Skip it if python is not
3381         enabled.
3382
3383 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
3384
3385         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3386         as a breakpoint command.
3387
3388 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
3389
3390         PR python/21213
3391         * gdb.python/py-infthread.exp: Test calling
3392         InferiorThread.inferior () multiple times in a row.
3393
3394 2017-10-27  Keith Seitz  <keiths@redhat.com>
3395
3396         * gdb.opt/inline-break.exp (break_info_1): New procedure.
3397         Test "info break" for every inlined function breakpoint.
3398
3399 2017-10-27  Yao Qi  <yao.qi@linaro.org>
3400
3401         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3402
3403 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
3404
3405         * gdb.cp/classes.exp (test_static_members): Test printing
3406         Outer::instance.
3407         * gdb.cp/classes.c (struct Inner, struct Outer): New.
3408         (Inner::instance, Outer::instance): New.
3409
3410 2017-10-24  Pedro Alves  <palves@redhat.com>
3411
3412         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3413         extra console" test in two stages.
3414
3415 2017-10-24  Pedro Alves  <palves@redhat.com>
3416
3417         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3418
3419 2017-10-24  Pedro Alves  <palves@redhat.com>
3420
3421         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3422         loop.
3423
3424 2017-10-24  Pedro Alves  <palves@redhat.com>
3425
3426         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3427         $attempt" and "stoppedtry $stoppedtry" test prefixes.
3428
3429 2017-10-24  Pedro Alves  <palves@redhat.com>
3430
3431         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3432         parameter and handle it.  Don't output read value in test name.
3433
3434 2017-10-24  Pedro Alves  <palves@redhat.com>
3435
3436         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3437         custom test name.
3438
3439 2017-10-24  Pedro Alves  <palves@redhat.com>
3440
3441         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3442         include the unstable output directory name in the test's name.
3443         (initial_setup_simple) <'set args'>: Use custom test name.
3444
3445 2017-10-24  Pedro Alves  <palves@redhat.com>
3446
3447         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3448         with explicit test name.
3449
3450 2017-10-20  Pedro Alves  <palves@redhat.com>
3451
3452         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3453         'wait -i'.  Use gdb_assert and remote_close.
3454
3455 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
3456
3457         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3458         number from variable rather than hard-coded.
3459
3460 2017-10-19  Pedro Alves  <palves@redhat.com>
3461
3462         * gdb.base/long-inferior-output.c: New file.
3463         * gdb.base/long-inferior-output.exp: New file.
3464
3465 2017-11-18  Keith Seitz  <keiths@redhat.com>
3466
3467         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3468         method.
3469         (main): Call it.
3470         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3471         Add additional user-defined conversion operator tests.
3472
3473 2017-10-17  Pedro Alves  <palves@redhat.com>
3474
3475         * boards/native-stdio-gdbserver.exp: Load "local-board".
3476
3477 2017-10-17  Pedro Alves  <palves@redhat.com>
3478
3479         * gdb.base/quit-live.c: New file.
3480         * gdb.base/quit-live.exp: New file.
3481
3482 2017-10-16  Keith Seitz  <keiths@redhat.com>
3483
3484         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3485         (class_with_protected_typedef, class_with_private_typedef)
3486         (struct_with_public_typedef, struct_with_protected_typedef)
3487         (struct_with_private_typedef): New classes/structs.
3488         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3489         typedefs and access specifiers.
3490
3491 2017-10-16  Pedro Alves  <palves@redhat.com>
3492             Simon Marchi  <simon.marchi@polymtl.ca>
3493
3494         * README (Local vs Remote vs Native): New section.
3495         * boards/local-board.exp: New file, with bits factored out from
3496         ...
3497         * boards/native-extended-gdbserver.exp: ... here.  Load
3498         "local-board".
3499         * boards/native-gdbserver.exp: Load "local-board".
3500         (${board}_spawn, ${board}_exec): Delete.
3501         * boards/native-stdio-gdbserver.exp: Most contents factored out to
3502         ...
3503         * boards/stdio-gdbserver-base.exp: ... this new file.
3504         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3505         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3506         procedure.
3507         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3508         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3509         stdio_gdbserver_command.
3510         (${board}_get_remote_address, ${board}_get_comm_port)
3511         (${board}_download, ${board}_upload): Delete.
3512         (get_target_remote_pipe_cmd): New.
3513
3514 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3515
3516         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3517         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3518         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3519         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3520         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3521         remove with_test_prefix.
3522
3523 2017-10-13  Pedro Alves  <palves@redhat.com>
3524
3525         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3526         * gdb.base/annota1.exp: Use it instead of is_remote.
3527         * gdb.base/annota3.exp: Use it instead of is_remote.
3528         * gdb.cp/annota2.exp: Use it instead of is_remote.
3529         * gdb.cp/annota3.exp: Use it instead of is_remote.
3530         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3531
3532 2017-10-13  Pedro Alves  <palves@redhat.com>
3533
3534         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3535         (test_num_test_vars, run_and_count_vars, find_env)
3536         (test_set_unset_env, test_inherit_env_var): New procedures.
3537         (top level): Use them.
3538
3539 2017-10-13  Pedro Alves  <palves@redhat.com>
3540
3541         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3542         also skip on stub-like targets.
3543
3544 2017-10-13  Pedro Alves  <palves@redhat.com>
3545
3546         PR gdb/22293
3547         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3548         (top level): Move some tests to ...
3549         (test_not_found): ... this new procedure.
3550         (top level): Call it.
3551
3552 2017-10-13  Pedro Alves  <palves@redhat.com>
3553
3554         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3555         expect different "info terminal" output if testing with a
3556         non-native target.
3557
3558 2017-10-13  Pedro Alves  <palves@redhat.com>
3559             Simon Marchi  <simon.marchi@polymtl.ca>
3560
3561         PR python/12966
3562         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3563
3564 2017-10-13  Pedro Alves  <palves@redhat.com>
3565
3566         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3567         already.
3568
3569 2017-10-13  Pedro Alves  <palves@redhat.com>
3570
3571         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3572         is_remote.
3573
3574 2017-10-13  Pedro Alves  <palves@redhat.com>
3575
3576         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3577         is_remote.
3578
3579 2017-10-13  Pedro Alves  <palves@redhat.com>
3580
3581         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3582         is set.
3583         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3584         instead of is_remote.
3585
3586 2017-10-13  Pedro Alves  <palves@redhat.com>
3587
3588         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3589         (top level): Add comment.
3590
3591 2017-10-13  Pedro Alves  <palves@redhat.com>
3592
3593         * gdb.base/remote.exp (top level): Fix comment typo and add
3594         missing return.
3595
3596 2017-10-13  Pedro Alves  <palves@redhat.com>
3597             Simon Marchi  <simon.marchi@polymtl.ca>
3598
3599         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3600         calls and add comments.  Skip test if use_gdb_stub is set.
3601         (top level): Use "set cwd" command instead of "cd" command.
3602
3603 2017-10-13  Pedro Alves  <palves@redhat.com>
3604
3605         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3606         is_remote target check.
3607
3608 2017-10-13  Pedro Alves  <palves@redhat.com>
3609
3610         * gdb.base/scope.exp: Use build_executable + clean_restart +
3611         gdb_file_cmd instead of prepare_for_testing and no longer skip
3612         "before run" tests on is_remote target boards.  Update comments.
3613         * boards/native-extended-gdbserver.exp
3614         (extended_gdbserver_load_last_file): New, factored out from ...
3615         (gdb_load): ... this.  Move further below and add comment.
3616         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3617
3618 2017-10-12  Pedro Alves  <palves@redhat.com>
3619
3620         * gdb.base/attach.exp: Remove references to gdb64.
3621         * gdb.base/dbx.exp: Remove references to gdb64.
3622
3623 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3624             Pedro Alves  <palves@redhat.com>
3625
3626         * gdb.base/label.exp: Remove is_remote target check.
3627
3628 2017-10-12  Pedro Alves  <palves@redhat.com>
3629
3630         * gdb.base/auvx.exp (coredir): Update comment.
3631         (top level) <core_works>: Use "set cwd" command instead of "cd"
3632         command.
3633
3634 2017-10-12  Pedro Alves  <palves@redhat.com>
3635             Simon Marchi  <simon.marchi@polymtl.ca>
3636
3637         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3638         target boards.
3639
3640 2017-10-12  Pedro Alves  <palves@redhat.com>
3641             Simon Marchi  <simon.marchi@polymtl.ca>
3642
3643         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3644         Instead skip if there's any gdb_protocol set.
3645
3646 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3647             Pedro Alves  <palves@redhat.com>
3648
3649         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3650
3651 2017-10-12  Pedro Alves  <palves@redhat.com>
3652             Simon Marchi  <simon.marchi@polymtl.ca>
3653
3654         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3655         instead of on dejagnu remote boards.
3656
3657 2017-10-12  Pedro Alves  <palves@redhat.com>
3658             Simon Marchi  <simon.marchi@polymtl.ca>
3659
3660         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3661         checks.  Use build_executable + clean_restart instead of
3662         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3663         of enabling non-stop after starting gdb.
3664
3665 2017-10-12  Pedro Alves  <palves@redhat.com>
3666
3667         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3668         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3669         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3670         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3671
3672 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3673
3674         * gdb.arch/arc-tdesc-cpu.exp: New file.
3675         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3676
3677 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3678
3679         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3680
3681 2017-10-10  Pedro Alves <palves@redhat.com>
3682
3683         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3684         expect CLI output.
3685
3686 2017-10-10  Pedro Alves  <palves@redhat.com>
3687
3688         * lib/selftest-support.exp (selftest_setup): Update for
3689         captured_command_loop's prototype change.
3690
3691 2017-10-09  Pedro Alves  <palves@redhat.com>
3692
3693         Test both arch1=>arch2 and arch2=>arch1.
3694
3695         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3696         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3697         factored out to...
3698         (append_arch1_options, append_arch2_options, append_arch_options)
3699         (build_executables): New procedures.
3700         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3701         local.
3702         (top level): Add new 'first_arch' testing axis.
3703
3704 2017-10-09  Pedro Alves  <palves@redhat.com>
3705
3706         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3707         (barrier): New.
3708         (thread_start, all_started): New functions.
3709         (main): Spawn new thread and wait until it is scheduled.
3710         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3711         option.
3712         (do_test): Add 'selected_thread' parameter.  Run to all_started
3713         instead of main.  Explicitly set the breakpoint at main.  Switch
3714         to the SELECTED_THREAD thread.
3715         (top level): Test handling the exec event with either the main
3716         thread or the second thread selected.
3717
3718 2017-10-09  Pedro Alves  <palves@redhat.com>
3719
3720         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3721         logic.  Move STOP marker after the value checks.
3722         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3723         regexp.
3724
3725 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3726
3727         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3728
3729 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3730
3731         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3732         integer-to-dfp conversion.
3733         * gdb.base/dfp-test.exp: Likewise.
3734
3735 2017-10-04  Pedro Alves  <palves@redhat.com>
3736
3737         * gdb.multi/hangout.c: Include <unistd.h>.
3738         (hangout_loop): New function.
3739         (main): Call alarm.  Call hangout_loop in a loop.
3740         * gdb.multi/hello.c: Include <unistd.h>.
3741         (hello_loop): New function.
3742         (main): Call alarm.  Call hangout_loop in a loop.
3743         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3744         inferior with the other selected.
3745
3746 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3747
3748         * gdb.mi/list-thread-groups-available.exp: New file.
3749         * gdb.mi/list-thread-groups-available.c: New file.
3750
3751 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3752
3753         * gdb.base/set-cwd.exp: Make it available on
3754         native-extended-gdbserver.
3755
3756 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3757
3758         * gdb.base/set-cwd.c: New file.
3759         * gdb.base/set-cwd.exp: Likewise.
3760
3761 2017-10-02  Tom Tromey  <tom@tromey.com>
3762
3763         PR rust/22236:
3764         * gdb.rust/simple.rs (main): New variable "fslice".
3765         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3766
3767 2017-10-02  Tom Tromey  <tom@tromey.com>
3768
3769         * gdb.rust/simple.exp: Test ptype of a slice.
3770
3771 2017-10-02  Tom Tromey  <tom@tromey.com>
3772
3773         * gdb.rust/simple.exp: Test index of slice.
3774
3775 2017-09-27  Tom Tromey  <tom@tromey.com>
3776
3777         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3778
3779 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3780             Pedro Alves  <palves@redhat.com>
3781
3782         * gdb.base/compare-sections.exp (get value of read-only section): Read
3783         as unsigned value.
3784         (corrupt read-only section): Likewise and don't set written if patching
3785         failed.
3786
3787 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3788
3789         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3790         files.
3791
3792 2017-09-20  Pedro Alves  <palves@redhat.com>
3793
3794         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3795         symbol names in gdb's output.
3796         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3797
3798 2017-09-20  Pedro Alves  <palves@redhat.com>
3799
3800         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3801         Rename to ...
3802         (test_list_ambiguous_symbol): ... this and add a symbol name
3803         parameter.  Adjust.
3804         (test_list_ambiguous_function): Reimplement on top of
3805         test_list_ambiguous_symbol and also test listing ambiguous
3806         variables.
3807         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3808         (ambiguous_fun): ... this.
3809         (ambiguous_var): New.
3810         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3811         (ambiguous_fun): ... this.
3812         (ambiguous_var): New.
3813
3814 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3815
3816         * gdb.base/starti.c: New file.
3817         * gdb.base/starti.exp: New file.
3818         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3819
3820 2017-09-14  Pedro Alves  <palves@redhat.com>
3821
3822         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3823         (top level): Use it instead of runto.
3824
3825 2017-09-11  Tom Tromey  <tom@tromey.com>
3826
3827         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3828
3829 2017-09-11  Tom Tromey  <tom@tromey.com>
3830
3831         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3832         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3833
3834 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3835
3836         * gdb.fortran/printing-types.exp: New file.
3837         * gdb.fortran/printing-types.exp: New file.
3838
3839 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3840
3841         * gdb.fortran/vla-ptype.exp: Fix typos.
3842         * gdb.fortran/vla-value.exp: Same.
3843
3844 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3845
3846         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3847         * gdb.mi/mi-var-child-f.exp: Likewise.
3848         * gdb.mi/mi-vla-fortran.exp: Likewise.
3849
3850 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3851             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3852             Bernhard Heckel  <bernhard.heckel@intel.com>
3853
3854         * gdb.fortran/ptr-indentation.f90: New file.
3855         * gdb.fortran/ptr-indentation.exp: New file.
3856
3857 2017-09-05  Tom Tromey  <tom@tromey.com>
3858
3859         PR gdb/22010:
3860         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3861
3862 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3863
3864         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3865
3866 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3867
3868         * gdb.threads/tls-nodebug-pie.c: New file.
3869         * gdb.threads/tls-nodebug-pie.exp: New file.
3870
3871 2017-09-05  Tom Tromey  <tom@tromey.com>
3872
3873         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3874         for rust.
3875
3876 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3877
3878         * gdb.multi/multi-arch-exec.exp: Test with different
3879         "follow-exec-mode" settings.
3880         (do_test): New procedure.
3881
3882 2017-09-04  Pedro Alves  <palves@redhat.com>
3883
3884         * gdb.base/func-static.c (S::method const, S::method volatile)
3885         (S::method volatile const): New methods.
3886         (c_s, v_s, cv_s): New instances.
3887         (main): Call method() on them.
3888         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3889         (cannot_resolve): New procedure.
3890         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3891         print-quote-unquoted columns.
3892         (do_test): Test printing each scope too.
3893
3894 2017-09-04  Pedro Alves  <palves@redhat.com>
3895
3896         * gdb.base/local-static.exp: Also test with
3897         class::method::variable wholly quoted.
3898         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3899
3900 2017-09-04  Pedro Alves  <palves@redhat.com>
3901
3902         * gdb.base/local-static.c: New.
3903         * gdb.base/local-static.cc: New.
3904         * gdb.base/local-static.exp:  New.
3905
3906 2017-09-04  Pedro Alves  <palves@redhat.com>
3907
3908         * gdb.asm/asm-source.exp: Add casts to int.
3909         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3910         (dataglobal64_1, dataglobal64_2): New globals.
3911         * gdb.base/nodebug.exp: Test different expressions involving the
3912         new globals, with print, whatis and ptype.  Add casts to int.
3913         * gdb.base/solib-display.exp: Add casts to int.
3914         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3915         * gdb.cp/m-static.exp: Add cast to int.
3916         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3917         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3918         tls variable with no debug info without a cast.  Test with a cast
3919         to int too.
3920         * gdb.trace/entry-values.exp: Add casts.
3921
3922 2017-09-04  Pedro Alves  <palves@redhat.com>
3923
3924         * gdb.base/nodebug.exp: Test that ptype's error about functions
3925         with unknown return type includes the function name too.
3926
3927 2017-09-04  Pedro Alves  <palves@redhat.com>
3928
3929         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3930         return type of munmap in infcall.
3931         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3932         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3933         type of ftell in infcall.
3934         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3935         type of getpid in infcall.
3936         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3937         infcall.
3938         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3939         Bail on failure to extract the pid.
3940         * gdb.base/nodebug.c: #include <stdint.h>.
3941         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3942         New functions.
3943         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3944         Change expected output of print/whatis/ptype with functions with
3945         no debug info.  Test all supported languages.  Call
3946         test_call_promotion.
3947         * gdb.compile/compile.exp: Adjust expected output to expect
3948         warning.
3949         * gdb.threads/siginfo-threads.exp: Likewise.
3950
3951 2017-09-04  Pedro Alves  <palves@redhat.com>
3952
3953         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3954         "prototypes".  Test calling float functions via prototyped and
3955         unprototyped function pointers.
3956         (perform_all_tests): New parameter "prototypes".  Pass it down.
3957         (top level): Pass down "prototypes" parameter to
3958         perform_all_tests.
3959
3960 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3961
3962         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3963         Test with nested loops.
3964
3965 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3966
3967         * gdb.base/commands.exp: Call the new procedures.
3968         (loop_break_test, loop_continue_test): New procedures.
3969
3970 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3971
3972         * gdb.base/commands.exp: Call new procedure.
3973         (define_if_without_arg_test): New procedure.
3974
3975 2017-09-04  Pedro Alves  <palves@redhat.com>
3976
3977         * gdb.base/list-ambiguous.exp: New file.
3978         * gdb.base/list-ambiguous0.c: New file.
3979         * gdb.base/list-ambiguous1.c: New file.
3980         * gdb.base/list.exp (test_list_range): Adjust expected output.
3981
3982 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3983
3984         * gdb.base/share-env-with-gdbserver.c: New file.
3985         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3986
3987 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3988
3989         * gdb.base/commands.exp (gdbvar_simple_if_test,
3990         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3991         progvar_simple_if_test, progvar_simple_while_test,
3992         progvar_complex_if_while_test, user_defined_command_test,
3993         user_defined_command_args_eval,
3994         user_defined_command_args_stack_test,
3995         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3996         temporary_breakpoint_commands,
3997         gdb_test_no_prompt, redefine_hook_test,
3998         redefine_backtrace_test): Remove "global gdb_prompt".
3999
4000 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
4001
4002         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4003         New proc, call it from toplevel.
4004
4005 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
4006
4007         PR remote/21852
4008         * gdb.server/normal.c: New file, copied from gdb.base.
4009         * gdb.server/run-without-local-binary.exp: New file.
4010
4011 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
4012
4013         * gdb.arch/sparc64-adi.exp: New file.
4014         * gdb.arch/sparc64-adi.c: New file.
4015
4016 2017-08-22  Pedro Alves  <palves@redhat.com>
4017
4018         * gdb.cp/overload.exp (line_range_pattern): New procedure.
4019         (top level): Add "list all overloads" tests.
4020
4021 2017-08-22  Tom Tromey  <tom@tromey.com>
4022
4023         * gdb.gdb/xfullpath.exp: Remove.
4024
4025 2017-08-21  Pedro Alves  <palves@redhat.com>
4026
4027         PR gdb/19487
4028         * gdb.base/symbol-alias.c: New.
4029         * gdb.base/symbol-alias2.c: New.
4030         * gdb.base/symbol-alias.exp: New.
4031
4032 2017-08-21  Pedro Alves  <palves@redhat.com>
4033
4034         * gdb.base/dfp-test.c
4035         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4036         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4037         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4038         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4039         * gdb.base/whatis-ptype-typedefs.c: New.
4040         * gdb.base/whatis-ptype-typedefs.exp: New.
4041         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4042         (an_int, an_int_type, an_int_type2): New globals.
4043         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4044         involving typedefs and cast expressions.
4045         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4046         (lookup_typedefs_function): New.
4047         (typedefs_pretty_printers_dict): New.
4048         (top level): Register lookup_typedefs_function in
4049         gdb.pretty_printers.
4050
4051 2017-08-18  Yao Qi  <yao.qi@linaro.org>
4052
4053         * gdb.server/unittest.exp: New.
4054
4055 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4056
4057         PR gdb/21954
4058         * gdb.base/environ.exp: Add test to check if 'unset environment'
4059         works.
4060
4061 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4062
4063         * lib/gdb.exp (universal_compile_options): New caching proc.
4064         (gdb_compile): Suppress GCC's coloring of messages.
4065
4066 2017-08-14  Tom Tromey  <tom@tromey.com>
4067
4068         PR gdb/21675:
4069         * gdb.base/printcmds.exp (test_radices): New function.
4070         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4071         * gdb.base/sizeof.exp (check_valueof): Use p/d.
4072         * lib/gdb.exp (get_integer_valueof): Use p/d.
4073
4074 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
4075
4076         * lib/gdb.exp (get_valueof): Don't capture end-of-line
4077         characters.
4078
4079 2017-08-05  Tom Tromey  <tom@tromey.com>
4080
4081         * gdb.rust/simple.exp: Allow String to appear in a different
4082         namespace.
4083
4084 2017-07-26  Yao Qi  <yao.qi@linaro.org>
4085
4086         * gdb.gdb/unittest.exp: Invoke command
4087         "maintenance check xml-descriptions".
4088
4089 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4090
4091         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4092         calling context.
4093         (hex128): Drop erroneous calculation of parameters.
4094
4095 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
4096
4097         * gdb.python/py-unwind.exp: Disable stack protection when
4098         building test file.
4099
4100 2017-07-20  Pedro Alves  <palves@redhat.com>
4101
4102         * gdb.base/default.exp (set language): Adjust expected output.
4103
4104 2017-07-20  Pedro Alves  <palves@redhat.com>
4105
4106         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4107         (test_minsym): ... this, and make static.
4108         (get_pck__foo__bar__minsym): Rename to ...
4109         (get_test_minsym): ... this.
4110         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
4111         symbol names and comments.
4112         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4113         (get_test_minsym): ... this.
4114         (pck__foo__bar__minsym__2): Rename to ...
4115         (test_minsym): ... this.
4116         (main): Adjust.
4117
4118 2017-07-17  Pedro Alves  <palves@redhat.com>
4119
4120         * gdb.base/completion.exp: Adjust expected output.
4121         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4122         the completer works.
4123
4124 2017-07-17  Pedro Alves  <palves@redhat.com>
4125
4126         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4127
4128 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
4129
4130         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4131
4132 2017-07-14  Tom Tromey  <tom@tromey.com>
4133
4134         PR rust/21764:
4135         * gdb.rust/simple.exp: Add tests.
4136
4137 2017-07-14  Tom Tromey  <tom@tromey.com>
4138
4139         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4140
4141 2017-07-14  Pedro Alves  <palves@redhat.com>
4142
4143         * gdb.linespec/base/one/thefile.cc (z1): New function.
4144         * gdb.linespec/base/two/thefile.cc (z2): New function.
4145         * gdb.linespec/linespec.exp: Add tests.
4146
4147 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
4148
4149         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4150         to mi_create_breakpoint.
4151
4152 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
4153
4154         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4155         mi_create_breakpoint.
4156
4157 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
4158
4159         * gdb.dlang/demangle.exp: Update for demangling changes.
4160
4161 2017-07-09  Tom Tromey  <tom@tromey.com>
4162
4163         * gdb.dwarf2/shortpiece.exp: New file.
4164
4165 2017-07-06  David Blaikie  <dblaikie@gmail.com>
4166
4167         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4168         built from fissiont-multi-cu{1,2}.c.
4169         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4170         except putting 'main' and 'func' in separate CUs in the same DWO file.
4171         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4172         test.
4173         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4174         test.
4175
4176 2017-07-06  Pedro Alves  <palves@redhat.com>
4177
4178         * gdb.python/py-unwind.exp: Test flushregs.
4179
4180 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
4181
4182         PR cli/21688
4183         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4184         tests for alias commands and trailing whitespace.
4185
4186 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
4187
4188         PR cli/21688
4189         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4190         procedure.  Call it.
4191
4192 2017-06-29  Pedro Alves  <palves@redhat.com>
4193
4194         * gdb.base/printcmds.exp: Add tests.
4195
4196 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
4197
4198         PR gdb/21337
4199         * gdb.base/reread-readsym.exp: New file.
4200         * gdb.base/reread-readsym.c: New file.
4201
4202 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
4203
4204         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4205         subpattern.
4206
4207 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
4208
4209         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4210         extended mnemonic.
4211         * gdb.arch/powerpc-power9.s: Likewise.
4212
4213 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4214
4215         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4216         on 32-bit x86 targets.  Exploit is_*_target macros where
4217         appropriate.
4218
4219 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4220
4221         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4222         register pieces.
4223
4224 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4225
4226         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4227         located in one or more DWARF pieces.
4228
4229 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4230
4231         * lib/gdb.exp (get_endianness): New proc.
4232         * gdb.arch/aarch64-fp.exp: Use it.
4233         * gdb.arch/altivec-regs.exp: Likewise.
4234         * gdb.arch/e500-regs.exp: Likewise.
4235         * gdb.arch/vsx-regs.exp: Likewise.
4236         * gdb.base/dump.exp: Likewise.
4237         * gdb.base/funcargs.exp: Likewise.
4238         * gdb.base/gnu_vector.exp: Likewise.
4239         * gdb.dwarf2/formdata16.exp: Likewise.
4240         * gdb.dwarf2/implptrpiece.exp: Likewise.
4241         * gdb.dwarf2/nonvar-access.exp: Likewise.
4242         * gdb.python/py-inferior.exp: Likewise.
4243         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4244
4245 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4246
4247         PR gdb/21226
4248         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4249         stack value pieces are taken from the LSB end.
4250
4251 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4252
4253         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4254         variable at nonzero offset.
4255
4256 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4257
4258         * gdb.dwarf2/var-access.c: New file.
4259         * gdb.dwarf2/var-access.exp: New test.
4260         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4261
4262 2017-06-12  Tom Tromey  <tom@tromey.com>
4263
4264         * gdb.dwarf2/formdata16.exp: Add tests.
4265
4266 2017-06-12  Tom Tromey  <tom@tromey.com>
4267
4268         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4269
4270 2017-06-12  Tom Tromey  <tom@tromey.com>
4271
4272         PR exp/16225:
4273         * gdb.reverse/i386-sse-reverse.exp: Update tests.
4274         * gdb.arch/vsx-regs.exp: Update tests.
4275         * gdb.arch/s390-vregs.exp (hex128): New proc.
4276         Update test.
4277         * gdb.arch/altivec-regs.exp: Update tests.
4278
4279 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
4280
4281         * gdb.base/startup-with-shell.c: New file.
4282         * gdb.base/startup-with-shell.exp: Likewise.
4283
4284 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
4285
4286         * gdb.server/non-existing-program.exp: Update regex in order to
4287         reflect the fact that gdbserver is now using fork_inferior (with a
4288         shell) to startup the inferior.
4289
4290 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
4291
4292         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4293         support function calls from GDB.
4294
4295 2017-05-21  Tom Tromey  <tom@tromey.com>
4296
4297         PR rust/21466:
4298         * gdb.rust/unsized.exp: New file.
4299         * gdb.rust/unsized.rs: New file.
4300
4301 2017-05-19  Tom Tromey  <tom@tromey.com>
4302
4303         PR rust/21484:
4304         * gdb.rust/watch.exp: New file.
4305         * gdb.rust/watch.rs: New file.
4306
4307 2017-05-18  Tom Tromey  <tom@tromey.com>
4308
4309         * gdb.rust/simple.exp: Allow Box to be qualified.
4310
4311 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4312
4313         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4314
4315 2017-05-18  Pedro Alves  <palves@redhat.com>
4316
4317         * gdb.base/fileio.c (test_write, test_read, test_close)
4318         (test_fstat): Don't print 'ret' in the fail path.
4319
4320 2017-05-18  Pedro Alves  <palves@redhat.com>
4321
4322         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4323         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4324         (test_system, test_rename, test_unlink, test_time): Change
4325         prototypes.
4326         * gdb.base/fileio.exp (stop_msg): Adjust.
4327
4328 2017-05-18  Pedro Alves  <palves@redhat.com>
4329
4330         * gdb.base/fileio.c (null_str): New global.
4331         (test_stat): Use it.
4332         * gdb.base/fileio.exp: Remove nowarnings.
4333
4334 2017-05-17  Yao Qi  <yao.qi@linaro.org>
4335
4336         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4337
4338 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
4339
4340         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4341         argument command.
4342         (top-level): Invoke test_set_inferior_tty.
4343
4344 2017-05-04  Pedro Alves  <palves@redhat.com>
4345
4346         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4347         Add parens to print call for Python 3.
4348
4349 2017-05-03  Keith Seitz  <keiths@redhat.com>
4350
4351         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4352         (main): Call it.
4353
4354 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4355
4356         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4357         to prev and next.
4358
4359 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4360
4361         * gdb.python/py-record-btrace.exp: Remove test for
4362         gdb.BtraceInstruction.error.
4363
4364 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4365
4366         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4367
4368 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4369
4370         * gdb.python/py-record-btrace-threads.c: New file.
4371         * gdb.python/py-record-btrace-threads.exp: New file.
4372
4373 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
4374
4375         PR testsuite/8595
4376         * gdb.base/environ.exp: Make test available in all architectures.
4377         Move bits related to "info program" testing to
4378         gdb.base/info-program.exp.  Rewrite tests to use the two new
4379         procedures mentione below.
4380         (test_set_show_env_var) New procedure.
4381         (test_set_show_env_var_equal): Likewise.
4382         * gdb.base/info-program.exp: New file.
4383
4384 2017-04-27  Keith Seitz  <keiths@redhat.com>
4385
4386         * gdb.cp/oranking.cc (test15): New function.
4387         (main): Call test15 and declare additional variables for testing.
4388         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4389         "p foo101('abc')" tests.
4390         Add tests for cv qualifier overloads.
4391         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4392         "lvalue reference overload" test.
4393         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4394         "print value of f1 on Child&& in f2" test.
4395
4396 2017-04-19  Pedro Alves  <palves@redhat.com>
4397
4398         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4399         procedure.
4400         (top level): Call it.
4401         * lib/gdb.exp (gdb_define_cmd): New procedure.
4402
4403 2017-04-12  Pedro Alves  <palves@redhat.com>
4404
4405         PR gdb/21323
4406         * gdb.cp/wide_char_types.c: Include <wchar.h>.
4407         (wchar): New global.
4408         * gdb.cp/wide_char_types.exp (wide_char_types_program)
4409         (do_test_wide_char, wide_char_types_no_program, top level): Add
4410         wchar_t testing.
4411
4412 2017-04-12  Pedro Alves  <palves@redhat.com>
4413
4414         PR c++/21323
4415         * gdb.cp/wide_char_types.c: New file.
4416         * gdb.cp/wide_char_types.exp: New file.
4417
4418 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
4419
4420         PR gdb/21352
4421         * gdb.trace/tsv.exp: Add test for "tsave -r".
4422
4423 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
4424
4425         * gdb.dlang/watch-loc.c: New file.
4426         * gdb.dlang/watch-loc.exp: New file.
4427
4428 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4429
4430         * gdb.python/py-section-script.exp (sepdebug): New testcases.
4431
4432 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
4433
4434         * gdb.arch/arc-analyze-prologue.S: New file.
4435         * gdb.arch/arc-analyze-prologue.exp: Likewise.
4436
4437 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
4438
4439         * gdb.arch/arc-decode-insn.S: New file.
4440         * gdb.arch/arc-decode-insn.exp: Likewise.
4441
4442 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
4443
4444         PR tdep/20928
4445         * gdb.arch/sparc64-regs.exp: New file.
4446         * gdb.arch/sparc64-regs.S: Likewise.
4447
4448 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
4449
4450         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4451         and memory view on Python 3.
4452
4453 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
4454             Keith Seitz  <keiths@redhat.com>
4455
4456         PR gdb/14441
4457         * gdb.cp/demangle.exp: Add rvalue reference tests.
4458         * gdb.cp/rvalue-ref-casts.cc: New file.
4459         * gdb.cp/rvalue-ref-casts.exp: New file.
4460         * gdb.cp/rvalue-ref-overload.cc: New file.
4461         * gdb.cp/rvalue-ref-overload.exp: New file.
4462         * gdb.cp/rvalue-ref-params.cc: New file.
4463         * gdb.cp/rvalue-ref-params.exp: New file.
4464         * gdb.cp/rvalue-ref-sizeof.cc: New file.
4465         * gdb.cp/rvalue-ref-sizeof.exp: New file.
4466         * gdb.cp/rvalue-ref-types.cc: New file.
4467         * gdb.cp/rvalue-ref-types.exp: New file.
4468         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4469         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4470
4471 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4472
4473         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4474         New procedure.
4475
4476 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4477
4478         * lib/mi-support.exp (mi_gdb_test): Add additional message
4479         for unexpected output.
4480
4481 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4482
4483         * gdb.base/examine-backward.c (Barrier): New character array
4484         constant, to ensure that TestStrings is preceded by a string
4485         terminator.
4486
4487 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4488
4489         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4490         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4491         and implicit pointer into such a location.
4492
4493 2017-03-16  Doug Evans  <dje@google.com>
4494
4495         * gdb.python/py-lazy-string (pointer): Really add new typedef.
4496
4497 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4498
4499         * gdb.cp/m-static.exp: Fix expectation for prototype of
4500         test5.single_constructor and single_constructor::single_constructor.
4501
4502 2017-03-16  Doug Evans  <dje@google.com>
4503
4504         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4505         * gdb.guile/scm-lazy-string.c: New file.
4506         * gdb.guile/scm-value.exp: Move lazy string tests to ...
4507         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
4508         for pointer, array, typedef lazy strings.
4509
4510 2017-03-16  Doug Evans  <dje@google.com>
4511
4512         PR python/17728, python/18439, python/18779
4513         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4514         * gdb.python/py-lazy-string.c (pointer): New typedef.
4515         (main): New locals ptr, array, typedef_ptr.
4516         * gdb.python/py-value.exp: Move lazy string tests to ...
4517         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4518         array, typedef lazy strings.
4519
4520 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4521
4522         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4523           Add optional 'test' parameter.
4524
4525 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4526
4527         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4528         Skip for versions of DejaGnu < 1.5.
4529
4530 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4531
4532         * lib/gdb.exp (dejagnu_version): New proc.
4533         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4534         Use dejagnu_version.
4535
4536 2017-03-10  Keith Seitz  <keiths@redhat.com>
4537
4538         PR c++/8128
4539         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4540         type from destructor regexps.
4541         Add a branch which actually passes the test.
4542         Adjust "ptype t5i" test names.
4543
4544 2017-03-08  Pedro Alves  <palves@redhat.com>
4545
4546         * gdb.base/step-over-exit.exp: Add explicit test message.
4547
4548 2017-03-08  Pedro Alves  <palves@redhat.com>
4549
4550         PR gdb/18360
4551         * gdb.threads/interrupt-while-step-over.c: New file.
4552         * gdb.threads/interrupt-while-step-over.exp: New file.
4553
4554 2017-03-08  Pedro Alves  <palves@redhat.com>
4555
4556         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4557         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4558
4559 2017-03-08  Pedro Alves  <palves@redhat.com>
4560
4561         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4562         PKRU as not supported as a PASS.
4563
4564 2017-03-08  Pedro Alves  <palves@redhat.com>
4565
4566         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4567         prefix instead of $binfile1/$binfile2.
4568         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4569         in test message.
4570         * gdb.python/py-completion.exp: Use "load python file" as test
4571         messages instead of unstable path names.
4572
4573 2017-03-08  Pedro Alves  <palves@redhat.com>
4574             Jan Kratochvil  <jan.kratochvil@redhat.com>
4575
4576         PR cli/21218
4577         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4578         New proc.
4579         (top level): Call it.
4580
4581 2017-03-08  Pedro Alves  <palves@redhat.com>
4582
4583         PR tui/21216
4584         * gdb.tui/tui-nl-filtered-output.exp: New file.
4585
4586 2017-03-08  Pedro Alves  <palves@redhat.com>
4587
4588         * gdb.base/completion.exp: Move TUI completion tests to ...
4589         * gdb.tui/completion.exp: ... this new file.
4590
4591 2017-03-08  Pedro Alves  <palves@redhat.com>
4592
4593         * gdb.base/tui-disasm-long-lines.c,
4594         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4595         gdb.base/tui-layout.exp: Move to ...
4596         * gdb.tui/: ... this new directory.
4597
4598 2017-03-07  Pedro Alves  <palves@redhat.com>
4599
4600         * gdb.base/tui-layout.c: New file.
4601         * gdb.base/tui-layout.exp: New file.
4602
4603 2017-03-07  Pedro Alves  <palves@redhat.com>
4604
4605         * gdb.base/tui-layout.c: Rename to ...
4606         * gdb.base/tui-disasm-long-lines.c: ... this.
4607         * gdb.base/tui-layout.exp: Rename to ...
4608         * gdb.base/tui-disasm-long-lines.exp: ... this.
4609
4610 2017-03-07  Pedro Alves  <palves@redhat.com>
4611
4612         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4613
4614 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4615
4616         * i386-mpx-call.c: New file.
4617         * i386-mpx-call.exp: New file.
4618
4619 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4620
4621         * gdb.arch/powerpc-power.exp: Delete test.
4622         * gdb.arch/powerpc-power.s: Likewise.
4623         * gdb.disasm/disassembler-options.exp: New test.
4624         * gdb.arch/powerpc-altivec.exp: Likewise.
4625         * gdb.arch/powerpc-altivec.s: Likewise.
4626         * gdb.arch/powerpc-altivec2.exp: Likewise.
4627         * gdb.arch/powerpc-altivec2.s: Likewise.
4628         * gdb.arch/powerpc-altivec3.exp: Likewise.
4629         * gdb.arch/powerpc-altivec3.s: Likewise.
4630         * gdb.arch/powerpc-power7.exp: Likewise.
4631         * gdb.arch/powerpc-power7.s: Likewise.
4632         * gdb.arch/powerpc-power8.exp: Likewise.
4633         * gdb.arch/powerpc-power8.s: Likewise.
4634         * gdb.arch/powerpc-power9.exp: Likewise.
4635         * gdb.arch/powerpc-power9.s: Likewise.
4636         * gdb.arch/powerpc-vsx.exp: Likewise.
4637         * gdb.arch/powerpc-vsx.s: Likewise.
4638         * gdb.arch/powerpc-vsx2.exp: Likewise.
4639         * gdb.arch/powerpc-vsx2.s: Likewise.
4640         * gdb.arch/powerpc-vsx3.exp: Likewise.
4641         * gdb.arch/powerpc-vsx3.s: Likewise.
4642         * gdb.arch/arm-disassembler-options.exp: Likewise.
4643         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4644         * gdb.arch/s390-disassembler-options.exp: Likewise.
4645
4646 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4647
4648         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4649         (check_supported_features): ... this. Changed return type to void.
4650         (supports_rdseed): New static global.
4651         (rdseed): Check supports_rdseed.
4652         (initialize): Call check_supported_features.
4653
4654 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4655
4656         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4657         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4658         and lqarx/stqcx.
4659         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4660         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4661
4662 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4663
4664         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4665         uppercase.
4666
4667 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4668
4669         * gdb.dwarf2/formdata16.c: New file.
4670         * gdb.dwarf2/formdata16.exp: New file.
4671         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4672
4673 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4674
4675         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4676         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4677         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4678         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4679         DW_AT_GNU_*.
4680
4681 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4682
4683         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4684
4685 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4686
4687         PR gdb/21164
4688         * gdb.base/maint.exp: Add testcases for when the commands do
4689         not have arguments.
4690
4691 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4692
4693         * gdb.cp/chained-calls.exp: Use p instead of P.
4694
4695 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4696
4697         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4698         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4699
4700 2017-02-14  Tom Tromey  <tom@tromey.com>
4701
4702         PR python/13598:
4703         * gdb.python/py-events.exp: Add before_prompt event tests.
4704
4705 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4706
4707         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4708
4709 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4710
4711         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4712         (main): Call my_unique_function_name.
4713         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4714         completion of patterns with a single match.
4715         Add missing -re switches to gdb_test_multiple calls.
4716
4717 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4718
4719         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4720         return if core file is not recognized.
4721
4722 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4723
4724         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4725         and extra UIs.
4726
4727 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4728
4729         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4730         proc_with_prefix.
4731
4732 2017-02-10  Tom Tromey  <tom@tromey.com>
4733
4734         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4735
4736 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4737
4738         PR gdb/21122
4739         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4740
4741 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4742
4743         * gdb.base/define.exp: Add test for command abbreviations
4744         in define.
4745
4746 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4747
4748         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4749         * gdb.reverse/insn-reverse-x86.c: New file.
4750
4751 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4752
4753         PR tdep/20936
4754         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4755
4756 2017-02-03  Tom Tromey  <tom@tromey.com>
4757
4758         PR rust/21097:
4759         * gdb.rust/simple.exp: Add new tests.
4760
4761 2017-02-02  Pedro Alves  <palves@redhat.com>
4762
4763         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4764         tests.
4765
4766 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4767
4768         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4769         taking a 2-byte value out of a 4-byte DWARF implicit value on
4770         big-endian targets.
4771         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4772         logic.  Add test cases for DW_OP_implicit.
4773
4774 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4775
4776         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4777
4778 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4779
4780         * gdb.btrace/enable.exp: Call gdb_exit before
4781         skip_gdbserver_tests.
4782
4783 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4784
4785         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4786         GDBFLAGS.
4787
4788 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4789
4790         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4791         the test is skipped.
4792         * gdb.btrace/data.exp: Likewise.
4793         * gdb.btrace/delta.exp: Likewise.
4794         * gdb.btrace/dlopen.exp: Likewise.
4795         * gdb.btrace/enable-running.exp: Likewise.
4796         * gdb.btrace/enable.exp: Likewise.
4797         * gdb.btrace/exception.exp: Likewise.
4798         * gdb.btrace/function_call_history.exp: Likewise.
4799         * gdb.btrace/gcore.exp: Likewise.
4800         * gdb.btrace/instruction_history.exp: Likewise.
4801         * gdb.btrace/multi-thread-step.exp: Likewise.
4802         * gdb.btrace/nohist.exp: Likewise.
4803         * gdb.btrace/non-stop.exp: Likewise.
4804         * gdb.btrace/reconnect.exp: Likewise.
4805         * gdb.btrace/record_goto-step.exp: Likewise.
4806         * gdb.btrace/record_goto.exp: Likewise.
4807         * gdb.btrace/rn-dl-bind.exp: Likewise.
4808         * gdb.btrace/segv.exp: Likewise.
4809         * gdb.btrace/step.exp: Likewise.
4810         * gdb.btrace/stepi.exp: Likewise.
4811         * gdb.btrace/tailcall-only.exp: Likewise.
4812         * gdb.btrace/tailcall.exp: Likewise.
4813         * gdb.btrace/tsx.exp: Likewise.
4814         * gdb.btrace/unknown_functions.exp: Likewise.
4815         * gdb.btrace/vdso.exp: Likewise.
4816
4817 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4818
4819         * gdb.btrace/enable-running.c: New.
4820         * gdb.btrace/enable-running.exp: New.
4821
4822 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4823
4824         * gdb.arch/amd64-gs_base.c: New file.
4825         * gdb.arch/amd64-gs_base.exp: New file.
4826
4827 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4828
4829         * lib/memory.exp: Remove spurious empty newlines.
4830
4831 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4832
4833         * gdb.python/py-bad-printers.exp: Load python file using "source".
4834         * gdb.python/py-events.exp: Likewise.
4835         * gdb.python/py-evsignal.exp: Likewise.
4836         * gdb.python/py-evthreads.exp: Likewise.
4837         * gdb.python/py-frame-args.exp: Likewise.
4838         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4839         * gdb.python/py-framefilter-mi.exp: Likewise.
4840         * gdb.python/py-framefilter.exp: Likewise.
4841         * gdb.python/py-mi.exp: Likewise.
4842         * gdb.python/py-pp-maint.exp: Likewise.
4843         * gdb.python/py-pp-registration.exp: Likewise.
4844         * gdb.python/py-prettyprint.exp: Likewise.
4845         (run_lang_tests): Likewise.
4846         * gdb.python/py-typeprint.exp: Likewise.
4847
4848 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4849
4850         * lib/memory.exp: New file.
4851         * lib/gdb.exp: Load memory.exp.
4852         * gdb.base/memattr.exp (delete_memory): Move proc to
4853         lib/memory.exp and rename to delete_memory_regions.
4854         Replace delete_memory with delete_memory_regions.
4855         Cleanup memory regions before tests.
4856         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4857         before tests.
4858
4859 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4860
4861         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4862         files.
4863         (initialize): New function conditionally defined.
4864         (testcases): Move within conditional block.
4865         (main): Call initialize.
4866         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4867         of gdb.reverse/insn-reverse.c.
4868         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4869         gdb.reverse/insn-reverse.c.
4870
4871 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4872
4873         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4874         disassemble on address 0.
4875
4876 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4877             Yao Qi  <yao.qi@linaro.org>
4878
4879         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4880         * gdb.dwarf2/implptr-64bit.S: Remove.
4881         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4882         variables in caller's context.  Add DW_OP_implicit_value.
4883
4884 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4885
4886         * lib/dwarf.exp (Dwarf::_location): Handle
4887         DW_OP_GNU_implicit_pointer with proper size.
4888
4889 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4890
4891         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4892         and add untested calls.
4893
4894 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4895
4896         * gdb.python/python.exp: Check line number against what GDB thinks
4897         the line number is for func1.
4898
4899 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4900
4901         * gdb.dlang/debug-expr.exp: New file.
4902
4903 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4904
4905         Fix test names for the following files:
4906
4907         * gdb.ada/exec_changed.exp
4908         * gdb.ada/info_types.exp
4909         * gdb.arch/aarch64-atomic-inst.exp
4910         * gdb.arch/aarch64-fp.exp
4911         * gdb.arch/altivec-abi.exp
4912         * gdb.arch/altivec-regs.exp
4913         * gdb.arch/amd64-byte.exp
4914         * gdb.arch/amd64-disp-step.exp
4915         * gdb.arch/amd64-dword.exp
4916         * gdb.arch/amd64-entry-value-inline.exp
4917         * gdb.arch/amd64-entry-value-param.exp
4918         * gdb.arch/amd64-entry-value-paramref.exp
4919         * gdb.arch/amd64-entry-value.exp
4920         * gdb.arch/amd64-i386-address.exp
4921         * gdb.arch/amd64-invalid-stack-middle.exp
4922         * gdb.arch/amd64-invalid-stack-top.exp
4923         * gdb.arch/amd64-optimout-repeat.exp
4924         * gdb.arch/amd64-prologue-skip.exp
4925         * gdb.arch/amd64-prologue-xmm.exp
4926         * gdb.arch/amd64-stap-special-operands.exp
4927         * gdb.arch/amd64-stap-wrong-subexp.exp
4928         * gdb.arch/amd64-tailcall-cxx.exp
4929         * gdb.arch/amd64-tailcall-noret.exp
4930         * gdb.arch/amd64-tailcall-ret.exp
4931         * gdb.arch/amd64-tailcall-self.exp
4932         * gdb.arch/amd64-word.exp
4933         * gdb.arch/arm-bl-branch-dest.exp
4934         * gdb.arch/arm-disp-step.exp
4935         * gdb.arch/arm-neon.exp
4936         * gdb.arch/arm-single-step-kernel-helper.exp
4937         * gdb.arch/avr-flash-qualifier.exp
4938         * gdb.arch/disp-step-insn-reloc.exp
4939         * gdb.arch/e500-abi.exp
4940         * gdb.arch/e500-regs.exp
4941         * gdb.arch/ftrace-insn-reloc.exp
4942         * gdb.arch/i386-avx512.exp
4943         * gdb.arch/i386-bp_permanent.exp
4944         * gdb.arch/i386-byte.exp
4945         * gdb.arch/i386-cfi-notcurrent.exp
4946         * gdb.arch/i386-disp-step.exp
4947         * gdb.arch/i386-dr3-watch.exp
4948         * gdb.arch/i386-float.exp
4949         * gdb.arch/i386-gnu-cfi.exp
4950         * gdb.arch/i386-mpx-map.exp
4951         * gdb.arch/i386-mpx-sigsegv.exp
4952         * gdb.arch/i386-mpx-simple_segv.exp
4953         * gdb.arch/i386-mpx.exp
4954         * gdb.arch/i386-permbkpt.exp
4955         * gdb.arch/i386-prologue.exp
4956         * gdb.arch/i386-signal.exp
4957         * gdb.arch/i386-size-overlap.exp
4958         * gdb.arch/i386-unwind.exp
4959         * gdb.arch/i386-word.exp
4960         * gdb.arch/mips-fcr.exp
4961         * gdb.arch/powerpc-d128-regs.exp
4962         * gdb.arch/powerpc-stackless.exp
4963         * gdb.arch/ppc64-atomic-inst.exp
4964         * gdb.arch/s390-stackless.exp
4965         * gdb.arch/s390-tdbregs.exp
4966         * gdb.arch/s390-vregs.exp
4967         * gdb.arch/sparc-sysstep.exp
4968         * gdb.arch/thumb-bx-pc.exp
4969         * gdb.arch/thumb-singlestep.exp
4970         * gdb.arch/thumb2-it.exp
4971         * gdb.arch/vsx-regs.exp
4972         * gdb.asm/asm-source.exp
4973         * gdb.base/a2-run.exp
4974         * gdb.base/advance.exp
4975         * gdb.base/all-bin.exp
4976         * gdb.base/anon.exp
4977         * gdb.base/args.exp
4978         * gdb.base/arithmet.exp
4979         * gdb.base/async-shell.exp
4980         * gdb.base/async.exp
4981         * gdb.base/attach-pie-noexec.exp
4982         * gdb.base/attach-twice.exp
4983         * gdb.base/auto-load.exp
4984         * gdb.base/bang.exp
4985         * gdb.base/bitfields.exp
4986         * gdb.base/break-always.exp
4987         * gdb.base/break-caller-line.exp
4988         * gdb.base/break-entry.exp
4989         * gdb.base/break-inline.exp
4990         * gdb.base/break-on-linker-gcd-function.exp
4991         * gdb.base/break-probes.exp
4992         * gdb.base/break.exp
4993         * gdb.base/breakpoint-shadow.exp
4994         * gdb.base/call-ar-st.exp
4995         * gdb.base/call-sc.exp
4996         * gdb.base/call-signal-resume.exp
4997         * gdb.base/call-strs.exp
4998         * gdb.base/callfuncs.exp
4999         * gdb.base/catch-fork-static.exp
5000         * gdb.base/catch-gdb-caused-signals.exp
5001         * gdb.base/catch-load.exp
5002         * gdb.base/catch-signal-fork.exp
5003         * gdb.base/catch-signal.exp
5004         * gdb.base/catch-syscall.exp
5005         * gdb.base/charset.exp
5006         * gdb.base/checkpoint.exp
5007         * gdb.base/chng-syms.exp
5008         * gdb.base/code-expr.exp
5009         * gdb.base/code_elim.exp
5010         * gdb.base/commands.exp
5011         * gdb.base/completion.exp
5012         * gdb.base/complex.exp
5013         * gdb.base/cond-expr.exp
5014         * gdb.base/condbreak.exp
5015         * gdb.base/consecutive.exp
5016         * gdb.base/continue-all-already-running.exp
5017         * gdb.base/coredump-filter.exp
5018         * gdb.base/corefile.exp
5019         * gdb.base/dbx.exp
5020         * gdb.base/debug-expr.exp
5021         * gdb.base/define.exp
5022         * gdb.base/del.exp
5023         * gdb.base/disabled-location.exp
5024         * gdb.base/disasm-end-cu.exp
5025         * gdb.base/disasm-optim.exp
5026         * gdb.base/display.exp
5027         * gdb.base/duplicate-bp.exp
5028         * gdb.base/ena-dis-br.exp
5029         * gdb.base/ending-run.exp
5030         * gdb.base/enumval.exp
5031         * gdb.base/environ.exp
5032         * gdb.base/eu-strip-infcall.exp
5033         * gdb.base/eval-avoid-side-effects.exp
5034         * gdb.base/eval-skip.exp
5035         * gdb.base/exitsignal.exp
5036         * gdb.base/expand-psymtabs.exp
5037         * gdb.base/filesym.exp
5038         * gdb.base/find-unmapped.exp
5039         * gdb.base/finish.exp
5040         * gdb.base/float.exp
5041         * gdb.base/foll-exec-mode.exp
5042         * gdb.base/foll-exec.exp
5043         * gdb.base/foll-fork.exp
5044         * gdb.base/fortran-sym-case.exp
5045         * gdb.base/freebpcmd.exp
5046         * gdb.base/func-ptr.exp
5047         * gdb.base/func-ptrs.exp
5048         * gdb.base/funcargs.exp
5049         * gdb.base/gcore-buffer-overflow.exp
5050         * gdb.base/gcore-relro-pie.exp
5051         * gdb.base/gcore-relro.exp
5052         * gdb.base/gcore.exp
5053         * gdb.base/gdb1090.exp
5054         * gdb.base/gdb11530.exp
5055         * gdb.base/gdb11531.exp
5056         * gdb.base/gdb1821.exp
5057         * gdb.base/gdbindex-stabs.exp
5058         * gdb.base/gdbvars.exp
5059         * gdb.base/hbreak.exp
5060         * gdb.base/hbreak2.exp
5061         * gdb.base/included.exp
5062         * gdb.base/infcall-input.exp
5063         * gdb.base/inferior-died.exp
5064         * gdb.base/infnan.exp
5065         * gdb.base/info-macros.exp
5066         * gdb.base/info-os.exp
5067         * gdb.base/info-proc.exp
5068         * gdb.base/info-shared.exp
5069         * gdb.base/info-target.exp
5070         * gdb.base/infoline.exp
5071         * gdb.base/interp.exp
5072         * gdb.base/interrupt.exp
5073         * gdb.base/jit-reader.exp
5074         * gdb.base/jit-simple.exp
5075         * gdb.base/kill-after-signal.exp
5076         * gdb.base/kill-detach-inferiors-cmd.exp
5077         * gdb.base/label.exp
5078         * gdb.base/langs.exp
5079         * gdb.base/ldbl_e308.exp
5080         * gdb.base/line-symtabs.exp
5081         * gdb.base/linespecs.exp
5082         * gdb.base/list.exp
5083         * gdb.base/long_long.exp
5084         * gdb.base/longest-types.exp
5085         * gdb.base/maint.exp
5086         * gdb.base/max-value-size.exp
5087         * gdb.base/memattr.exp
5088         * gdb.base/mips_pro.exp
5089         * gdb.base/morestack.exp
5090         * gdb.base/moribund-step.exp
5091         * gdb.base/multi-forks.exp
5092         * gdb.base/nested-addr.exp
5093         * gdb.base/nextoverexit.exp
5094         * gdb.base/noreturn-finish.exp
5095         * gdb.base/noreturn-return.exp
5096         * gdb.base/nostdlib.exp
5097         * gdb.base/offsets.exp
5098         * gdb.base/opaque.exp
5099         * gdb.base/pc-fp.exp
5100         * gdb.base/permissions.exp
5101         * gdb.base/print-symbol-loading.exp
5102         * gdb.base/prologue-include.exp
5103         * gdb.base/psymtab.exp
5104         * gdb.base/ptype.exp
5105         * gdb.base/random-signal.exp
5106         * gdb.base/randomize.exp
5107         * gdb.base/range-stepping.exp
5108         * gdb.base/readline-ask.exp
5109         * gdb.base/recpar.exp
5110         * gdb.base/recurse.exp
5111         * gdb.base/relational.exp
5112         * gdb.base/restore.exp
5113         * gdb.base/return-nodebug.exp
5114         * gdb.base/return.exp
5115         * gdb.base/run-after-attach.exp
5116         * gdb.base/save-bp.exp
5117         * gdb.base/scope.exp
5118         * gdb.base/sect-cmd.exp
5119         * gdb.base/set-lang-auto.exp
5120         * gdb.base/set-noassign.exp
5121         * gdb.base/setvar.exp
5122         * gdb.base/sigall.exp
5123         * gdb.base/sigbpt.exp
5124         * gdb.base/siginfo-addr.exp
5125         * gdb.base/siginfo-infcall.exp
5126         * gdb.base/siginfo-obj.exp
5127         * gdb.base/siginfo.exp
5128         * gdb.base/signals-state-child.exp
5129         * gdb.base/signest.exp
5130         * gdb.base/sigstep.exp
5131         * gdb.base/sizeof.exp
5132         * gdb.base/skip.exp
5133         * gdb.base/solib-corrupted.exp
5134         * gdb.base/solib-nodir.exp
5135         * gdb.base/solib-search.exp
5136         * gdb.base/stack-checking.exp
5137         * gdb.base/stale-infcall.exp
5138         * gdb.base/stap-probe.exp
5139         * gdb.base/start.exp
5140         * gdb.base/step-break.exp
5141         * gdb.base/step-bt.exp
5142         * gdb.base/step-line.exp
5143         * gdb.base/step-over-exit.exp
5144         * gdb.base/step-over-syscall.exp
5145         * gdb.base/step-resume-infcall.exp
5146         * gdb.base/step-test.exp
5147         * gdb.base/store.exp
5148         * gdb.base/structs3.exp
5149         * gdb.base/sym-file.exp
5150         * gdb.base/symbol-without-target_section.exp
5151         * gdb.base/term.exp
5152         * gdb.base/testenv.exp
5153         * gdb.base/ui-redirect.exp
5154         * gdb.base/until.exp
5155         * gdb.base/unwindonsignal.exp
5156         * gdb.base/value-double-free.exp
5157         * gdb.base/vla-datatypes.exp
5158         * gdb.base/vla-ptr.exp
5159         * gdb.base/vla-sideeffect.exp
5160         * gdb.base/volatile.exp
5161         * gdb.base/watch-cond-infcall.exp
5162         * gdb.base/watch-cond.exp
5163         * gdb.base/watch-non-mem.exp
5164         * gdb.base/watch-read.exp
5165         * gdb.base/watch-vfork.exp
5166         * gdb.base/watchpoint-cond-gone.exp
5167         * gdb.base/watchpoint-delete.exp
5168         * gdb.base/watchpoint-hw-hit-once.exp
5169         * gdb.base/watchpoint-hw.exp
5170         * gdb.base/watchpoint-stops-at-right-insn.exp
5171         * gdb.base/watchpoints.exp
5172         * gdb.base/wchar.exp
5173         * gdb.base/whatis-exp.exp
5174         * gdb.btrace/buffer-size.exp
5175         * gdb.btrace/data.exp
5176         * gdb.btrace/delta.exp
5177         * gdb.btrace/dlopen.exp
5178         * gdb.btrace/enable.exp
5179         * gdb.btrace/exception.exp
5180         * gdb.btrace/function_call_history.exp
5181         * gdb.btrace/gcore.exp
5182         * gdb.btrace/instruction_history.exp
5183         * gdb.btrace/nohist.exp
5184         * gdb.btrace/reconnect.exp
5185         * gdb.btrace/record_goto-step.exp
5186         * gdb.btrace/record_goto.exp
5187         * gdb.btrace/rn-dl-bind.exp
5188         * gdb.btrace/segv.exp
5189         * gdb.btrace/step.exp
5190         * gdb.btrace/stepi.exp
5191         * gdb.btrace/tailcall-only.exp
5192         * gdb.btrace/tailcall.exp
5193         * gdb.btrace/tsx.exp
5194         * gdb.btrace/unknown_functions.exp
5195         * gdb.btrace/vdso.exp
5196         * gdb.compile/compile-ifunc.exp
5197         * gdb.compile/compile-ops.exp
5198         * gdb.compile/compile-print.exp
5199         * gdb.compile/compile-setjmp.exp
5200         * gdb.cp/abstract-origin.exp
5201         * gdb.cp/ambiguous.exp
5202         * gdb.cp/annota2.exp
5203         * gdb.cp/annota3.exp
5204         * gdb.cp/anon-ns.exp
5205         * gdb.cp/anon-struct.exp
5206         * gdb.cp/anon-union.exp
5207         * gdb.cp/arg-reference.exp
5208         * gdb.cp/baseenum.exp
5209         * gdb.cp/bool.exp
5210         * gdb.cp/breakpoint.exp
5211         * gdb.cp/bs15503.exp
5212         * gdb.cp/call-c.exp
5213         * gdb.cp/casts.exp
5214         * gdb.cp/chained-calls.exp
5215         * gdb.cp/class2.exp
5216         * gdb.cp/classes.exp
5217         * gdb.cp/cmpd-minsyms.exp
5218         * gdb.cp/converts.exp
5219         * gdb.cp/cp-relocate.exp
5220         * gdb.cp/cpcompletion.exp
5221         * gdb.cp/cpexprs.exp
5222         * gdb.cp/cplabel.exp
5223         * gdb.cp/cplusfuncs.exp
5224         * gdb.cp/cpsizeof.exp
5225         * gdb.cp/ctti.exp
5226         * gdb.cp/derivation.exp
5227         * gdb.cp/destrprint.exp
5228         * gdb.cp/dispcxx.exp
5229         * gdb.cp/enum-class.exp
5230         * gdb.cp/exception.exp
5231         * gdb.cp/exceptprint.exp
5232         * gdb.cp/expand-psymtabs-cxx.exp
5233         * gdb.cp/expand-sals.exp
5234         * gdb.cp/extern-c.exp
5235         * gdb.cp/filename.exp
5236         * gdb.cp/formatted-ref.exp
5237         * gdb.cp/fpointer.exp
5238         * gdb.cp/gdb1355.exp
5239         * gdb.cp/gdb2495.exp
5240         * gdb.cp/hang.exp
5241         * gdb.cp/impl-this.exp
5242         * gdb.cp/infcall-dlopen.exp
5243         * gdb.cp/inherit.exp
5244         * gdb.cp/iostream.exp
5245         * gdb.cp/koenig.exp
5246         * gdb.cp/local.exp
5247         * gdb.cp/m-data.exp
5248         * gdb.cp/m-static.exp
5249         * gdb.cp/mb-ctor.exp
5250         * gdb.cp/mb-inline.exp
5251         * gdb.cp/mb-templates.exp
5252         * gdb.cp/member-name.exp
5253         * gdb.cp/member-ptr.exp
5254         * gdb.cp/meth-typedefs.exp
5255         * gdb.cp/method.exp
5256         * gdb.cp/method2.exp
5257         * gdb.cp/minsym-fallback.exp
5258         * gdb.cp/misc.exp
5259         * gdb.cp/namelessclass.exp
5260         * gdb.cp/namespace-enum.exp
5261         * gdb.cp/namespace-nested-import.exp
5262         * gdb.cp/namespace.exp
5263         * gdb.cp/nextoverthrow.exp
5264         * gdb.cp/no-dmgl-verbose.exp
5265         * gdb.cp/non-trivial-retval.exp
5266         * gdb.cp/noparam.exp
5267         * gdb.cp/nsdecl.exp
5268         * gdb.cp/nsimport.exp
5269         * gdb.cp/nsnested.exp
5270         * gdb.cp/nsnoimports.exp
5271         * gdb.cp/nsrecurs.exp
5272         * gdb.cp/nsstress.exp
5273         * gdb.cp/nsusing.exp
5274         * gdb.cp/operator.exp
5275         * gdb.cp/oranking.exp
5276         * gdb.cp/overload-const.exp
5277         * gdb.cp/overload.exp
5278         * gdb.cp/ovldbreak.exp
5279         * gdb.cp/ovsrch.exp
5280         * gdb.cp/paren-type.exp
5281         * gdb.cp/parse-lang.exp
5282         * gdb.cp/pass-by-ref.exp
5283         * gdb.cp/pr-1023.exp
5284         * gdb.cp/pr-1210.exp
5285         * gdb.cp/pr-574.exp
5286         * gdb.cp/pr10687.exp
5287         * gdb.cp/pr12028.exp
5288         * gdb.cp/pr17132.exp
5289         * gdb.cp/pr17494.exp
5290         * gdb.cp/pr9067.exp
5291         * gdb.cp/pr9167.exp
5292         * gdb.cp/pr9631.exp
5293         * gdb.cp/printmethod.exp
5294         * gdb.cp/psmang.exp
5295         * gdb.cp/psymtab-parameter.exp
5296         * gdb.cp/ptype-cv-cp.exp
5297         * gdb.cp/ptype-flags.exp
5298         * gdb.cp/re-set-overloaded.exp
5299         * gdb.cp/ref-types.exp
5300         * gdb.cp/rtti.exp
5301         * gdb.cp/scope-err.exp
5302         * gdb.cp/shadow.exp
5303         * gdb.cp/smartp.exp
5304         * gdb.cp/static-method.exp
5305         * gdb.cp/static-print-quit.exp
5306         * gdb.cp/temargs.exp
5307         * gdb.cp/templates.exp
5308         * gdb.cp/try_catch.exp
5309         * gdb.cp/typedef-operator.exp
5310         * gdb.cp/typeid.exp
5311         * gdb.cp/userdef.exp
5312         * gdb.cp/using-crash.exp
5313         * gdb.cp/var-tag.exp
5314         * gdb.cp/virtbase.exp
5315         * gdb.cp/virtfunc.exp
5316         * gdb.cp/virtfunc2.exp
5317         * gdb.cp/vla-cxx.exp
5318         * gdb.disasm/t01_mov.exp
5319         * gdb.disasm/t02_mova.exp
5320         * gdb.disasm/t03_add.exp
5321         * gdb.disasm/t04_sub.exp
5322         * gdb.disasm/t05_cmp.exp
5323         * gdb.disasm/t06_ari2.exp
5324         * gdb.disasm/t07_ari3.exp
5325         * gdb.disasm/t08_or.exp
5326         * gdb.disasm/t09_xor.exp
5327         * gdb.disasm/t10_and.exp
5328         * gdb.disasm/t11_logs.exp
5329         * gdb.disasm/t12_bit.exp
5330         * gdb.disasm/t13_otr.exp
5331         * gdb.dlang/circular.exp
5332         * gdb.dwarf2/arr-stride.exp
5333         * gdb.dwarf2/arr-subrange.exp
5334         * gdb.dwarf2/atomic-type.exp
5335         * gdb.dwarf2/bad-regnum.exp
5336         * gdb.dwarf2/bitfield-parent-optimized-out.exp
5337         * gdb.dwarf2/callframecfa.exp
5338         * gdb.dwarf2/clztest.exp
5339         * gdb.dwarf2/corrupt.exp
5340         * gdb.dwarf2/data-loc.exp
5341         * gdb.dwarf2/dup-psym.exp
5342         * gdb.dwarf2/dw2-anon-mptr.exp
5343         * gdb.dwarf2/dw2-anonymous-func.exp
5344         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5345         * gdb.dwarf2/dw2-bad-unresolved.exp
5346         * gdb.dwarf2/dw2-basic.exp
5347         * gdb.dwarf2/dw2-canonicalize-type.exp
5348         * gdb.dwarf2/dw2-case-insensitive.exp
5349         * gdb.dwarf2/dw2-common-block.exp
5350         * gdb.dwarf2/dw2-compdir-oldgcc.exp
5351         * gdb.dwarf2/dw2-compressed.exp
5352         * gdb.dwarf2/dw2-const.exp
5353         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5354         * gdb.dwarf2/dw2-cu-size.exp
5355         * gdb.dwarf2/dw2-dup-frame.exp
5356         * gdb.dwarf2/dw2-entry-value.exp
5357         * gdb.dwarf2/dw2-icycle.exp
5358         * gdb.dwarf2/dw2-ifort-parameter.exp
5359         * gdb.dwarf2/dw2-inline-break.exp
5360         * gdb.dwarf2/dw2-inline-param.exp
5361         * gdb.dwarf2/dw2-intercu.exp
5362         * gdb.dwarf2/dw2-intermix.exp
5363         * gdb.dwarf2/dw2-lexical-block-bare.exp
5364         * gdb.dwarf2/dw2-linkage-name-trust.exp
5365         * gdb.dwarf2/dw2-minsym-in-cu.exp
5366         * gdb.dwarf2/dw2-noloc.exp
5367         * gdb.dwarf2/dw2-op-call.exp
5368         * gdb.dwarf2/dw2-op-out-param.exp
5369         * gdb.dwarf2/dw2-opt-structptr.exp
5370         * gdb.dwarf2/dw2-param-error.exp
5371         * gdb.dwarf2/dw2-producer.exp
5372         * gdb.dwarf2/dw2-ranges-base.exp
5373         * gdb.dwarf2/dw2-ref-missing-frame.exp
5374         * gdb.dwarf2/dw2-reg-undefined.exp
5375         * gdb.dwarf2/dw2-regno-invalid.exp
5376         * gdb.dwarf2/dw2-restore.exp
5377         * gdb.dwarf2/dw2-restrict.exp
5378         * gdb.dwarf2/dw2-single-line-discriminators.exp
5379         * gdb.dwarf2/dw2-strp.exp
5380         * gdb.dwarf2/dw2-undefined-ret-addr.exp
5381         * gdb.dwarf2/dw2-unresolved.exp
5382         * gdb.dwarf2/dw2-var-zero-addr.exp
5383         * gdb.dwarf2/dw4-sig-types.exp
5384         * gdb.dwarf2/dwz.exp
5385         * gdb.dwarf2/dynarr-ptr.exp
5386         * gdb.dwarf2/enum-type.exp
5387         * gdb.dwarf2/gdb-index.exp
5388         * gdb.dwarf2/implptr-64bit.exp
5389         * gdb.dwarf2/implptr-optimized-out.exp
5390         * gdb.dwarf2/implptr.exp
5391         * gdb.dwarf2/implref-array.exp
5392         * gdb.dwarf2/implref-const.exp
5393         * gdb.dwarf2/implref-global.exp
5394         * gdb.dwarf2/implref-struct.exp
5395         * gdb.dwarf2/mac-fileno.exp
5396         * gdb.dwarf2/main-subprogram.exp
5397         * gdb.dwarf2/member-ptr-forwardref.exp
5398         * gdb.dwarf2/method-ptr.exp
5399         * gdb.dwarf2/missing-sig-type.exp
5400         * gdb.dwarf2/nonvar-access.exp
5401         * gdb.dwarf2/opaque-type-lookup.exp
5402         * gdb.dwarf2/pieces-optimized-out.exp
5403         * gdb.dwarf2/pieces.exp
5404         * gdb.dwarf2/pr10770.exp
5405         * gdb.dwarf2/pr13961.exp
5406         * gdb.dwarf2/staticvirtual.exp
5407         * gdb.dwarf2/subrange.exp
5408         * gdb.dwarf2/symtab-producer.exp
5409         * gdb.dwarf2/trace-crash.exp
5410         * gdb.dwarf2/typeddwarf.exp
5411         * gdb.dwarf2/valop.exp
5412         * gdb.dwarf2/watch-notconst.exp
5413         * gdb.fortran/array-element.exp
5414         * gdb.fortran/charset.exp
5415         * gdb.fortran/common-block.exp
5416         * gdb.fortran/complex.exp
5417         * gdb.fortran/derived-type-function.exp
5418         * gdb.fortran/derived-type.exp
5419         * gdb.fortran/logical.exp
5420         * gdb.fortran/module.exp
5421         * gdb.fortran/multi-dim.exp
5422         * gdb.fortran/nested-funcs.exp
5423         * gdb.fortran/print-formatted.exp
5424         * gdb.fortran/subarray.exp
5425         * gdb.fortran/vla-alloc-assoc.exp
5426         * gdb.fortran/vla-datatypes.exp
5427         * gdb.fortran/vla-history.exp
5428         * gdb.fortran/vla-ptr-info.exp
5429         * gdb.fortran/vla-ptype-sub.exp
5430         * gdb.fortran/vla-ptype.exp
5431         * gdb.fortran/vla-sizeof.exp
5432         * gdb.fortran/vla-type.exp
5433         * gdb.fortran/vla-value-sub-arbitrary.exp
5434         * gdb.fortran/vla-value-sub-finish.exp
5435         * gdb.fortran/vla-value-sub.exp
5436         * gdb.fortran/vla-value.exp
5437         * gdb.fortran/whatis_type.exp
5438         * gdb.go/chan.exp
5439         * gdb.go/handcall.exp
5440         * gdb.go/hello.exp
5441         * gdb.go/integers.exp
5442         * gdb.go/methods.exp
5443         * gdb.go/package.exp
5444         * gdb.go/strings.exp
5445         * gdb.go/types.exp
5446         * gdb.go/unsafe.exp
5447         * gdb.guile/scm-arch.exp
5448         * gdb.guile/scm-block.exp
5449         * gdb.guile/scm-breakpoint.exp
5450         * gdb.guile/scm-cmd.exp
5451         * gdb.guile/scm-disasm.exp
5452         * gdb.guile/scm-equal.exp
5453         * gdb.guile/scm-frame-args.exp
5454         * gdb.guile/scm-frame-inline.exp
5455         * gdb.guile/scm-frame.exp
5456         * gdb.guile/scm-iterator.exp
5457         * gdb.guile/scm-math.exp
5458         * gdb.guile/scm-objfile.exp
5459         * gdb.guile/scm-ports.exp
5460         * gdb.guile/scm-symbol.exp
5461         * gdb.guile/scm-symtab.exp
5462         * gdb.guile/scm-value-cc.exp
5463         * gdb.guile/types-module.exp
5464         * gdb.linespec/break-ask.exp
5465         * gdb.linespec/cpexplicit.exp
5466         * gdb.linespec/explicit.exp
5467         * gdb.linespec/keywords.exp
5468         * gdb.linespec/linespec.exp
5469         * gdb.linespec/ls-dollar.exp
5470         * gdb.linespec/ls-errs.exp
5471         * gdb.linespec/skip-two.exp
5472         * gdb.linespec/thread.exp
5473         * gdb.mi/mi-async.exp
5474         * gdb.mi/mi-basics.exp
5475         * gdb.mi/mi-break.exp
5476         * gdb.mi/mi-catch-load.exp
5477         * gdb.mi/mi-cli.exp
5478         * gdb.mi/mi-cmd-param-changed.exp
5479         * gdb.mi/mi-console.exp
5480         * gdb.mi/mi-detach.exp
5481         * gdb.mi/mi-disassemble.exp
5482         * gdb.mi/mi-eval.exp
5483         * gdb.mi/mi-file-transfer.exp
5484         * gdb.mi/mi-file.exp
5485         * gdb.mi/mi-fill-memory.exp
5486         * gdb.mi/mi-inheritance-syntax-error.exp
5487         * gdb.mi/mi-linespec-err-cp.exp
5488         * gdb.mi/mi-logging.exp
5489         * gdb.mi/mi-memory-changed.exp
5490         * gdb.mi/mi-read-memory.exp
5491         * gdb.mi/mi-record-changed.exp
5492         * gdb.mi/mi-reg-undefined.exp
5493         * gdb.mi/mi-regs.exp
5494         * gdb.mi/mi-return.exp
5495         * gdb.mi/mi-reverse.exp
5496         * gdb.mi/mi-simplerun.exp
5497         * gdb.mi/mi-solib.exp
5498         * gdb.mi/mi-stack.exp
5499         * gdb.mi/mi-stepi.exp
5500         * gdb.mi/mi-syn-frame.exp
5501         * gdb.mi/mi-until.exp
5502         * gdb.mi/mi-var-block.exp
5503         * gdb.mi/mi-var-child.exp
5504         * gdb.mi/mi-var-cmd.exp
5505         * gdb.mi/mi-var-cp.exp
5506         * gdb.mi/mi-var-display.exp
5507         * gdb.mi/mi-var-invalidate.exp
5508         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5509         * gdb.mi/mi-vla-fortran.exp
5510         * gdb.mi/mi-watch.exp
5511         * gdb.mi/mi2-var-child.exp
5512         * gdb.mi/user-selected-context-sync.exp
5513         * gdb.modula2/unbounded-array.exp
5514         * gdb.multi/dummy-frame-restore.exp
5515         * gdb.multi/multi-arch-exec.exp
5516         * gdb.multi/multi-arch.exp
5517         * gdb.multi/tids.exp
5518         * gdb.multi/watchpoint-multi.exp
5519         * gdb.opencl/callfuncs.exp
5520         * gdb.opencl/convs_casts.exp
5521         * gdb.opencl/datatypes.exp
5522         * gdb.opencl/operators.exp
5523         * gdb.opencl/vec_comps.exp
5524         * gdb.opt/clobbered-registers-O2.exp
5525         * gdb.opt/inline-break.exp
5526         * gdb.opt/inline-bt.exp
5527         * gdb.opt/inline-cmds.exp
5528         * gdb.opt/inline-locals.exp
5529         * gdb.pascal/case-insensitive-symbols.exp
5530         * gdb.pascal/floats.exp
5531         * gdb.pascal/gdb11492.exp
5532         * gdb.python/lib-types.exp
5533         * gdb.python/py-arch.exp
5534         * gdb.python/py-as-string.exp
5535         * gdb.python/py-bad-printers.exp
5536         * gdb.python/py-block.exp
5537         * gdb.python/py-breakpoint-create-fail.exp
5538         * gdb.python/py-breakpoint.exp
5539         * gdb.python/py-caller-is.exp
5540         * gdb.python/py-cmd.exp
5541         * gdb.python/py-explore-cc.exp
5542         * gdb.python/py-explore.exp
5543         * gdb.python/py-finish-breakpoint.exp
5544         * gdb.python/py-finish-breakpoint2.exp
5545         * gdb.python/py-frame-args.exp
5546         * gdb.python/py-frame-inline.exp
5547         * gdb.python/py-frame.exp
5548         * gdb.python/py-framefilter-mi.exp
5549         * gdb.python/py-infthread.exp
5550         * gdb.python/py-lazy-string.exp
5551         * gdb.python/py-linetable.exp
5552         * gdb.python/py-mi-events.exp
5553         * gdb.python/py-mi-objfile.exp
5554         * gdb.python/py-mi.exp
5555         * gdb.python/py-objfile.exp
5556         * gdb.python/py-pp-integral.exp
5557         * gdb.python/py-pp-maint.exp
5558         * gdb.python/py-pp-re-notag.exp
5559         * gdb.python/py-pp-registration.exp
5560         * gdb.python/py-recurse-unwind.exp
5561         * gdb.python/py-strfns.exp
5562         * gdb.python/py-symbol.exp
5563         * gdb.python/py-symtab.exp
5564         * gdb.python/py-sync-interp.exp
5565         * gdb.python/py-typeprint.exp
5566         * gdb.python/py-unwind-maint.exp
5567         * gdb.python/py-unwind.exp
5568         * gdb.python/py-value-cc.exp
5569         * gdb.python/py-xmethods.exp
5570         * gdb.reverse/amd64-tailcall-reverse.exp
5571         * gdb.reverse/break-precsave.exp
5572         * gdb.reverse/break-reverse.exp
5573         * gdb.reverse/consecutive-precsave.exp
5574         * gdb.reverse/consecutive-reverse.exp
5575         * gdb.reverse/finish-precsave.exp
5576         * gdb.reverse/finish-reverse-bkpt.exp
5577         * gdb.reverse/finish-reverse.exp
5578         * gdb.reverse/fstatat-reverse.exp
5579         * gdb.reverse/getresuid-reverse.exp
5580         * gdb.reverse/i386-precsave.exp
5581         * gdb.reverse/i386-reverse.exp
5582         * gdb.reverse/i386-sse-reverse.exp
5583         * gdb.reverse/i387-env-reverse.exp
5584         * gdb.reverse/i387-stack-reverse.exp
5585         * gdb.reverse/insn-reverse.exp
5586         * gdb.reverse/machinestate-precsave.exp
5587         * gdb.reverse/machinestate.exp
5588         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5589         * gdb.reverse/pipe-reverse.exp
5590         * gdb.reverse/readv-reverse.exp
5591         * gdb.reverse/recvmsg-reverse.exp
5592         * gdb.reverse/rerun-prec.exp
5593         * gdb.reverse/s390-mvcle.exp
5594         * gdb.reverse/step-precsave.exp
5595         * gdb.reverse/step-reverse.exp
5596         * gdb.reverse/time-reverse.exp
5597         * gdb.reverse/until-precsave.exp
5598         * gdb.reverse/until-reverse.exp
5599         * gdb.reverse/waitpid-reverse.exp
5600         * gdb.reverse/watch-precsave.exp
5601         * gdb.reverse/watch-reverse.exp
5602         * gdb.rust/generics.exp
5603         * gdb.rust/methods.exp
5604         * gdb.rust/modules.exp
5605         * gdb.rust/simple.exp
5606         * gdb.server/connect-with-no-symbol-file.exp
5607         * gdb.server/ext-attach.exp
5608         * gdb.server/ext-restart.exp
5609         * gdb.server/ext-wrapper.exp
5610         * gdb.server/file-transfer.exp
5611         * gdb.server/server-exec-info.exp
5612         * gdb.server/server-kill.exp
5613         * gdb.server/server-mon.exp
5614         * gdb.server/wrapper.exp
5615         * gdb.stabs/exclfwd.exp
5616         * gdb.stabs/gdb11479.exp
5617         * gdb.threads/clone-new-thread-event.exp
5618         * gdb.threads/corethreads.exp
5619         * gdb.threads/current-lwp-dead.exp
5620         * gdb.threads/dlopen-libpthread.exp
5621         * gdb.threads/gcore-thread.exp
5622         * gdb.threads/sigstep-threads.exp
5623         * gdb.threads/watchpoint-fork.exp
5624         * gdb.trace/actions-changed.exp
5625         * gdb.trace/backtrace.exp
5626         * gdb.trace/change-loc.exp
5627         * gdb.trace/circ.exp
5628         * gdb.trace/collection.exp
5629         * gdb.trace/disconnected-tracing.exp
5630         * gdb.trace/ftrace.exp
5631         * gdb.trace/mi-trace-frame-collected.exp
5632         * gdb.trace/mi-trace-unavailable.exp
5633         * gdb.trace/mi-traceframe-changed.exp
5634         * gdb.trace/mi-tsv-changed.exp
5635         * gdb.trace/no-attach-trace.exp
5636         * gdb.trace/passc-dyn.exp
5637         * gdb.trace/qtro.exp
5638         * gdb.trace/range-stepping.exp
5639         * gdb.trace/read-memory.exp
5640         * gdb.trace/save-trace.exp
5641         * gdb.trace/signal.exp
5642         * gdb.trace/status-stop.exp
5643         * gdb.trace/tfile.exp
5644         * gdb.trace/trace-break.exp
5645         * gdb.trace/trace-buffer-size.exp
5646         * gdb.trace/trace-condition.exp
5647         * gdb.trace/tracefile-pseudo-reg.exp
5648         * gdb.trace/tstatus.exp
5649         * gdb.trace/unavailable.exp
5650         * gdb.trace/while-dyn.exp
5651         * gdb.trace/while-stepping.exp
5652
5653 2016-12-22  Doug Evans  <xdje42@gmail.com>
5654
5655         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5656         and msymbols.
5657
5658 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5659
5660         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5661         (test_with_self): Don't call do_steps_and_nexts, and remove
5662         code about stepping into xmalloc.
5663
5664 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5665
5666         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5667
5668 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5669
5670         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5671
5672 2016-12-09  Pedro Alves  <palves@redhat.com>
5673
5674         * gdb.base/all-architectures-0.exp: New file.
5675         * gdb.base/all-architectures-1.exp: New file.
5676         * gdb.base/all-architectures-2.exp: New file.
5677         * gdb.base/all-architectures-3.exp: New file.
5678         * gdb.base/all-architectures-4.exp: New file.
5679         * gdb.base/all-architectures-5.exp: New file.
5680         * gdb.base/all-architectures-6.exp: New file.
5681         * gdb.base/all-architectures-7.exp: New file.
5682         * gdb.base/all-architectures.exp.in: New file.
5683
5684 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5685
5686         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5687
5688 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5689
5690         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5691         possible.
5692         Remove useless pattern-matching code.
5693
5694 2016-12-02  Pedro Alves  <palves@redhat.com>
5695
5696         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5697         procedure.
5698         (top level): Call it.
5699
5700 2016-12-02  Pedro Alves  <palves@redhat.com>
5701
5702         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5703         New procedure.
5704         (top level): Call it.
5705
5706 2016-12-02  Pedro Alves  <palves@redhat.com>
5707
5708         PR cli/20559
5709         * gdb.base/commands.exp (user_defined_command_args_eval): New
5710         procedure.
5711         (top level): Call it.
5712
5713 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5714
5715         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5716         timeout handling.
5717
5718 2016-12-02  Tom Tromey  <tom@tromey.com>
5719
5720         * gdb.dwarf2/main-subprogram.c: New file.
5721         * gdb.dwarf2/main-subprogram.exp: New file.
5722
5723 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5724
5725         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5726         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5727         gdb_test_no_output for a couple of cases.
5728         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5729
5730 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5731
5732         Fix test names and standardize compilation error messages throughout
5733         the following files:
5734
5735         * gdb.ada/start.exp
5736         * gdb.arch/alpha-step.exp
5737         * gdb.arch/e500-prologue.exp
5738         * gdb.arch/ftrace-insn-reloc.exp
5739         * gdb.arch/gdb1291.exp
5740         * gdb.arch/gdb1431.exp
5741         * gdb.arch/gdb1558.exp
5742         * gdb.arch/i386-dr3-watch.exp
5743         * gdb.arch/i386-sse-stack-align.exp
5744         * gdb.arch/ia64-breakpoint-shadow.exp
5745         * gdb.arch/pa-nullify.exp
5746         * gdb.arch/powerpc-aix-prologue.exp
5747         * gdb.arch/thumb-bx-pc.exp
5748         * gdb.base/annota1.exp
5749         * gdb.base/annota3.exp
5750         * gdb.base/arrayidx.exp
5751         * gdb.base/assign.exp
5752         * gdb.base/attach.exp
5753         * gdb.base/auxv.exp
5754         * gdb.base/bang.exp
5755         * gdb.base/bfp-test.exp
5756         * gdb.base/bigcore.exp
5757         * gdb.base/bitfields2.exp
5758         * gdb.base/break-fun-addr.exp
5759         * gdb.base/break-probes.exp
5760         * gdb.base/call-rt-st.exp
5761         * gdb.base/callexit.exp
5762         * gdb.base/catch-fork-kill.exp
5763         * gdb.base/charset.exp
5764         * gdb.base/checkpoint.exp
5765         * gdb.base/comprdebug.exp
5766         * gdb.base/constvars.exp
5767         * gdb.base/coredump-filter.exp
5768         * gdb.base/cursal.exp
5769         * gdb.base/cvexpr.exp
5770         * gdb.base/detach.exp
5771         * gdb.base/display.exp
5772         * gdb.base/dmsym.exp
5773         * gdb.base/dprintf-pending.exp
5774         * gdb.base/dso2dso.exp
5775         * gdb.base/dtrace-probe.exp
5776         * gdb.base/dump.exp
5777         * gdb.base/enum_cond.exp
5778         * gdb.base/exe-lock.exp
5779         * gdb.base/exec-invalid-sysroot.exp
5780         * gdb.base/execl-update-breakpoints.exp
5781         * gdb.base/exprs.exp
5782         * gdb.base/fileio.exp
5783         * gdb.base/find.exp
5784         * gdb.base/finish.exp
5785         * gdb.base/fixsection.exp
5786         * gdb.base/foll-vfork.exp
5787         * gdb.base/frame-args.exp
5788         * gdb.base/gcore.exp
5789         * gdb.base/gdb1250.exp
5790         * gdb.base/global-var-nested-by-dso.exp
5791         * gdb.base/gnu-ifunc.exp
5792         * gdb.base/hashline1.exp
5793         * gdb.base/hashline2.exp
5794         * gdb.base/hashline3.exp
5795         * gdb.base/hbreak-in-shr-unsupported.exp
5796         * gdb.base/huge.exp
5797         * gdb.base/infcall-input.exp
5798         * gdb.base/info-fun.exp
5799         * gdb.base/info-shared.exp
5800         * gdb.base/jit-simple.exp
5801         * gdb.base/jit-so.exp
5802         * gdb.base/jit.exp
5803         * gdb.base/jump.exp
5804         * gdb.base/label.exp
5805         * gdb.base/lineinc.exp
5806         * gdb.base/logical.exp
5807         * gdb.base/longjmp.exp
5808         * gdb.base/macscp.exp
5809         * gdb.base/miscexprs.exp
5810         * gdb.base/new-ui-echo.exp
5811         * gdb.base/new-ui-pending-input.exp
5812         * gdb.base/new-ui.exp
5813         * gdb.base/nodebug.exp
5814         * gdb.base/nofield.exp
5815         * gdb.base/offsets.exp
5816         * gdb.base/overlays.exp
5817         * gdb.base/pending.exp
5818         * gdb.base/pointers.exp
5819         * gdb.base/pr11022.exp
5820         * gdb.base/printcmds.exp
5821         * gdb.base/prologue.exp
5822         * gdb.base/ptr-typedef.exp
5823         * gdb.base/realname-expand.exp
5824         * gdb.base/relativedebug.exp
5825         * gdb.base/relocate.exp
5826         * gdb.base/remote.exp
5827         * gdb.base/reread.exp
5828         * gdb.base/return2.exp
5829         * gdb.base/savedregs.exp
5830         * gdb.base/sep.exp
5831         * gdb.base/sepdebug.exp
5832         * gdb.base/sepsymtab.exp
5833         * gdb.base/set-inferior-tty.exp
5834         * gdb.base/setshow.exp
5835         * gdb.base/shlib-call.exp
5836         * gdb.base/sigaltstack.exp
5837         * gdb.base/siginfo-addr.exp
5838         * gdb.base/signals.exp
5839         * gdb.base/signull.exp
5840         * gdb.base/sigrepeat.exp
5841         * gdb.base/so-impl-ld.exp
5842         * gdb.base/solib-display.exp
5843         * gdb.base/solib-overlap.exp
5844         * gdb.base/solib-search.exp
5845         * gdb.base/solib-symbol.exp
5846         * gdb.base/structs.exp
5847         * gdb.base/structs2.exp
5848         * gdb.base/symtab-search-order.exp
5849         * gdb.base/twice.exp
5850         * gdb.base/unload.exp
5851         * gdb.base/varargs.exp
5852         * gdb.base/watchpoint-solib.exp
5853         * gdb.base/watchpoint.exp
5854         * gdb.base/whatis.exp
5855         * gdb.base/wrong_frame_bt_full.exp
5856         * gdb.btrace/dlopen.exp
5857         * gdb.cell/ea-standalone.exp
5858         * gdb.cell/ea-test.exp
5859         * gdb.cp/dispcxx.exp
5860         * gdb.cp/gdb2384.exp
5861         * gdb.cp/method2.exp
5862         * gdb.cp/nextoverthrow.exp
5863         * gdb.cp/pr10728.exp
5864         * gdb.disasm/am33.exp
5865         * gdb.disasm/h8300s.exp
5866         * gdb.disasm/mn10300.exp
5867         * gdb.disasm/sh3.exp
5868         * gdb.dwarf2/dw2-dir-file-name.exp
5869         * gdb.fortran/complex.exp
5870         * gdb.fortran/library-module.exp
5871         * gdb.guile/scm-pretty-print.exp
5872         * gdb.guile/scm-symbol.exp
5873         * gdb.guile/scm-type.exp
5874         * gdb.guile/scm-value.exp
5875         * gdb.linespec/linespec.exp
5876         * gdb.mi/gdb701.exp
5877         * gdb.mi/gdb792.exp
5878         * gdb.mi/mi-breakpoint-changed.exp
5879         * gdb.mi/mi-dprintf-pending.exp
5880         * gdb.mi/mi-dprintf.exp
5881         * gdb.mi/mi-exit-code.exp
5882         * gdb.mi/mi-pending.exp
5883         * gdb.mi/mi-solib.exp
5884         * gdb.mi/new-ui-mi-sync.exp
5885         * gdb.mi/pr11022.exp
5886         * gdb.mi/user-selected-context-sync.exp
5887         * gdb.opt/solib-intra-step.exp
5888         * gdb.python/py-events.exp
5889         * gdb.python/py-finish-breakpoint.exp
5890         * gdb.python/py-mi.exp
5891         * gdb.python/py-prettyprint.exp
5892         * gdb.python/py-shared.exp
5893         * gdb.python/py-symbol.exp
5894         * gdb.python/py-template.exp
5895         * gdb.python/py-type.exp
5896         * gdb.python/py-value.exp
5897         * gdb.reverse/solib-precsave.exp
5898         * gdb.reverse/solib-reverse.exp
5899         * gdb.server/solib-list.exp
5900         * gdb.stabs/weird.exp
5901         * gdb.threads/reconnect-signal.exp
5902         * gdb.threads/stepi-random-signal.exp
5903         * gdb.trace/actions.exp
5904         * gdb.trace/ax.exp
5905         * gdb.trace/backtrace.exp
5906         * gdb.trace/change-loc.exp
5907         * gdb.trace/deltrace.exp
5908         * gdb.trace/ftrace-lock.exp
5909         * gdb.trace/ftrace.exp
5910         * gdb.trace/infotrace.exp
5911         * gdb.trace/mi-tracepoint-changed.exp
5912         * gdb.trace/packetlen.exp
5913         * gdb.trace/passcount.exp
5914         * gdb.trace/pending.exp
5915         * gdb.trace/range-stepping.exp
5916         * gdb.trace/report.exp
5917         * gdb.trace/stap-trace.exp
5918         * gdb.trace/tfind.exp
5919         * gdb.trace/trace-break.exp
5920         * gdb.trace/trace-condition.exp
5921         * gdb.trace/trace-enable-disable.exp
5922         * gdb.trace/trace-mt.exp
5923         * gdb.trace/tracecmd.exp
5924         * gdb.trace/tspeed.exp
5925         * gdb.trace/tsv.exp
5926         * lib/perftest.exp
5927
5928 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5929
5930         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5931         with gdb_test_no_output.
5932         Use command as test name.
5933
5934 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5935
5936         Fix test names starting with uppercase throughout the files.
5937
5938         * gdb.ada/assign_1.exp
5939         * gdb.ada/boolean_expr.exp
5940         * gdb.base/arrayidx.exp
5941         * gdb.base/del.exp
5942         * gdb.base/gcore-buffer-overflow.exp
5943         * gdb.base/testenv.exp
5944         * gdb.compile/compile.exp
5945         * gdb.python/py-framefilter-invalidarg.exp
5946         * gdb.python/py-framefilter.exp
5947
5948 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5949
5950         Fix test names starting with uppercase throughout the files.
5951
5952         * gdb.ada/array_return.exp
5953         * gdb.ada/expr_delims.exp
5954         * gdb.ada/mi_dyn_arr.exp
5955         * gdb.ada/mi_interface.exp
5956         * gdb.ada/mi_var_array.exp
5957         * gdb.ada/watch_arg.exp
5958         * gdb.arch/alpha-step.exp
5959         * gdb.arch/altivec-regs.exp
5960         * gdb.arch/e500-regs.exp
5961         * gdb.arch/powerpc-d128-regs.exp
5962         * gdb.base/arrayidx.exp
5963         * gdb.base/break.exp
5964         * gdb.base/checkpoint.exp
5965         * gdb.base/debug-expr.exp
5966         * gdb.base/dmsym.exp
5967         * gdb.base/radix.exp
5968         * gdb.base/sepdebug.exp
5969         * gdb.base/testenv.exp
5970         * gdb.base/watch_thread_num.exp
5971         * gdb.base/watchpoint-cond-gone.exp
5972         * gdb.cell/break.exp
5973         * gdb.cell/ea-cache.exp
5974         * gdb.compile/compile.exp
5975         * gdb.cp/gdb2495.exp
5976         * gdb.gdb/selftest.exp
5977         * gdb.gdb/xfullpath.exp
5978         * gdb.go/hello.exp
5979         * gdb.go/integers.exp
5980         * gdb.objc/basicclass.exp
5981         * gdb.pascal/hello.exp
5982         * gdb.pascal/integers.exp
5983         * gdb.python/py-breakpoint.exp
5984         * gdb.python/py-cmd.exp
5985         * gdb.python/py-linetable.exp
5986         * gdb.python/py-xmethods.exp
5987         * gdb.python/python.exp
5988         * gdb.reverse/consecutive-precsave.exp
5989         * gdb.reverse/finish-precsave.exp
5990         * gdb.reverse/i386-precsave.exp
5991         * gdb.reverse/machinestate-precsave.exp
5992         * gdb.reverse/sigall-precsave.exp
5993         * gdb.reverse/solib-precsave.exp
5994         * gdb.reverse/step-precsave.exp
5995         * gdb.reverse/until-precsave.exp
5996         * gdb.reverse/watch-precsave.exp
5997         * gdb.threads/leader-exit.exp
5998         * gdb.threads/pthreads.exp
5999         * gdb.threads/wp-replication.exp
6000         * gdb.trace/actions.exp
6001         * gdb.trace/mi-tsv-changed.exp
6002         * gdb.trace/tsv.exp
6003
6004 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6005
6006         Fix test names starting with uppercase throughout the files.
6007
6008         * gdb.arch/i386-bp_permanent.exp
6009         * gdb.arch/i386-gnu-cfi.exp
6010         * gdb.base/disasm-end-cu.exp
6011         * gdb.base/macscp.exp
6012         * gdb.base/pending.exp
6013         * gdb.base/watch_thread_num.exp
6014         * gdb.cp/exception.exp
6015         * gdb.cp/gdb2495.exp
6016         * gdb.cp/local.exp
6017         * gdb.python/py-evsignal.exp
6018         * gdb.python/python.exp
6019         * gdb.trace/tracecmd.exp
6020
6021 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6022
6023         Fix test names starting with uppercase throughout the files.
6024
6025         * gdb.base/charset.exp
6026         * gdb.base/eval.exp
6027         * gdb.base/multi-forks.exp
6028         * gdb.guile/scm-progspace.exp
6029         * gdb.opencl/datatypes.exp
6030         * gdb.python/py-block.exp
6031         * gdb.python/py-function.exp
6032         * gdb.python/py-symbol.exp
6033         * gdb.python/py-symtab.exp
6034         * gdb.python/py-xmethods.exp
6035         * gdb.reverse/break-precsave.exp
6036         * gdb.reverse/break-reverse.exp
6037         * gdb.reverse/consecutive-precsave.exp
6038         * gdb.reverse/consecutive-reverse.exp
6039         * gdb.reverse/finish-precsave.exp
6040         * gdb.reverse/finish-reverse-bkpt.exp
6041         * gdb.reverse/finish-reverse.exp
6042         * gdb.reverse/fstatat-reverse.exp
6043         * gdb.reverse/getresuid-reverse.exp
6044         * gdb.reverse/i386-precsave.exp
6045         * gdb.reverse/i386-reverse.exp
6046         * gdb.reverse/i386-sse-reverse.exp
6047         * gdb.reverse/i387-stack-reverse.exp
6048         * gdb.reverse/insn-reverse.exp
6049         * gdb.reverse/machinestate-precsave.exp
6050         * gdb.reverse/machinestate.exp
6051         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6052         * gdb.reverse/pipe-reverse.exp
6053         * gdb.reverse/readv-reverse.exp
6054         * gdb.reverse/recvmsg-reverse.exp
6055         * gdb.reverse/rerun-prec.exp
6056         * gdb.reverse/s390-mvcle.exp
6057         * gdb.reverse/sigall-precsave.exp
6058         * gdb.reverse/sigall-reverse.exp
6059         * gdb.reverse/solib-precsave.exp
6060         * gdb.reverse/solib-reverse.exp
6061         * gdb.reverse/step-precsave.exp
6062         * gdb.reverse/step-reverse.exp
6063         * gdb.reverse/time-reverse.exp
6064         * gdb.reverse/until-precsave.exp
6065         * gdb.reverse/until-reverse.exp
6066         * gdb.reverse/waitpid-reverse.exp
6067         * gdb.reverse/watch-precsave.exp
6068         * gdb.reverse/watch-reverse.exp
6069
6070 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6071
6072         Fix test names starting with uppercase throughout the files.
6073
6074         * gdb.arch/i386-mpx-simple_segv.exp
6075         * gdb.arch/i386-mpx.exp
6076         * gdb.arch/i386-permbkpt.exp
6077         * gdb.arch/pa-nullify.exp
6078         * gdb.arch/powerpc-d128-regs.exp
6079         * gdb.arch/vsx-regs.exp
6080         * gdb.base/bfp-test.exp
6081         * gdb.base/break.exp
6082         * gdb.base/breakpoint-shadow.exp
6083         * gdb.base/callfuncs.exp
6084         * gdb.base/charset.exp
6085         * gdb.base/commands.exp
6086         * gdb.base/completion.exp
6087         * gdb.base/dfp-test.exp
6088         * gdb.base/echo.exp
6089         * gdb.base/ending-run.exp
6090         * gdb.base/eval.exp
6091         * gdb.base/expand-psymtabs.exp
6092         * gdb.base/float128.exp
6093         * gdb.base/floatn.exp
6094         * gdb.base/foll-exec-mode.exp
6095         * gdb.base/gdb1056.exp
6096         * gdb.base/gdb11531.exp
6097         * gdb.base/kill-after-signal.exp
6098         * gdb.base/multi-forks.exp
6099         * gdb.base/overlays.exp
6100         * gdb.base/pending.exp
6101         * gdb.base/sepdebug.exp
6102         * gdb.base/testenv.exp
6103         * gdb.base/valgrind-db-attach.exp
6104         * gdb.base/watch_thread_num.exp
6105         * gdb.base/watchpoint-cond-gone.exp
6106         * gdb.base/watchpoint.exp
6107         * gdb.base/watchpoints.exp
6108         * gdb.cp/arg-reference.exp
6109         * gdb.cp/baseenum.exp
6110         * gdb.cp/operator.exp
6111         * gdb.cp/shadow.exp
6112         * gdb.dwarf2/dw2-op-out-param.exp
6113         * gdb.dwarf2/dw2-reg-undefined.exp
6114         * gdb.go/chan.exp
6115         * gdb.go/hello.exp
6116         * gdb.go/integers.exp
6117         * gdb.go/methods.exp
6118         * gdb.go/package.exp
6119         * gdb.guile/scm-parameter.exp
6120         * gdb.guile/scm-progspace.exp
6121         * gdb.guile/scm-value.exp
6122         * gdb.mi/mi-pending.exp
6123         * gdb.mi/user-selected-context-sync.exp
6124         * gdb.multi/multi-attach.exp
6125         * gdb.multi/tids.exp
6126         * gdb.opt/clobbered-registers-O2.exp
6127         * gdb.pascal/floats.exp
6128         * gdb.pascal/integers.exp
6129         * gdb.python/py-block.exp
6130         * gdb.python/py-events.exp
6131         * gdb.python/py-parameter.exp
6132         * gdb.python/py-symbol.exp
6133         * gdb.python/py-symtab.exp
6134         * gdb.python/py-type.exp
6135         * gdb.python/py-value.exp
6136         * gdb.python/py-xmethods.exp
6137         * gdb.python/python.exp
6138         * gdb.reverse/break-precsave.exp
6139         * gdb.reverse/consecutive-precsave.exp
6140         * gdb.reverse/finish-precsave.exp
6141         * gdb.reverse/i386-precsave.exp
6142         * gdb.reverse/machinestate-precsave.exp
6143         * gdb.reverse/sigall-precsave.exp
6144         * gdb.reverse/solib-precsave.exp
6145         * gdb.reverse/step-precsave.exp
6146         * gdb.reverse/until-precsave.exp
6147         * gdb.reverse/watch-precsave.exp
6148         * gdb.server/ext-attach.exp
6149         * gdb.server/ext-restart.exp
6150         * gdb.server/ext-run.exp
6151         * gdb.server/ext-wrapper.exp
6152         * gdb.stabs/gdb11479.exp
6153         * gdb.stabs/weird.exp
6154         * gdb.threads/attach-many-short-lived-threads.exp
6155         * gdb.threads/kill.exp
6156         * gdb.threads/watchpoint-fork.exp
6157
6158 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6159
6160         Fix test names starting with uppercase throughout all the files below.
6161
6162         * gdb.ada/array_return.exp
6163         * gdb.ada/catch_ex.exp
6164         * gdb.ada/info_exc.exp
6165         * gdb.ada/mi_catch_ex.exp
6166         * gdb.ada/mi_dyn_arr.exp
6167         * gdb.ada/mi_ex_cond.exp
6168         * gdb.ada/mi_exc_info.exp
6169         * gdb.ada/mi_interface.exp
6170         * gdb.ada/mi_task_arg.exp
6171         * gdb.ada/mi_task_info.exp
6172         * gdb.ada/mi_var_array.exp
6173         * gdb.arch/alpha-step.exp
6174         * gdb.arch/amd64-disp-step.exp
6175         * gdb.arch/arm-disp-step.exp
6176         * gdb.arch/disp-step-insn-reloc.exp
6177         * gdb.arch/e500-prologue.exp
6178         * gdb.arch/ftrace-insn-reloc.exp
6179         * gdb.arch/gdb1558.exp
6180         * gdb.arch/i386-bp_permanent.exp
6181         * gdb.arch/i386-disp-step.exp
6182         * gdb.arch/i386-float.exp
6183         * gdb.arch/i386-gnu-cfi.exp
6184         * gdb.arch/ia64-breakpoint-shadow.exp
6185         * gdb.arch/mips16-thunks.exp
6186         * gdb.arch/pa-nullify.exp
6187         * gdb.arch/powerpc-aix-prologue.exp
6188         * gdb.arch/powerpc-power.exp
6189         * gdb.arch/ppc-dfp.exp
6190         * gdb.arch/s390-tdbregs.exp
6191         * gdb.arch/spu-info.exp
6192         * gdb.arch/spu-ls.exp
6193         * gdb.arch/thumb-bx-pc.exp
6194         * gdb.base/advance.exp
6195         * gdb.base/annota-input-while-running.exp
6196         * gdb.base/arrayidx.exp
6197         * gdb.base/asmlabel.exp
6198         * gdb.base/async.exp
6199         * gdb.base/attach-wait-input.exp
6200         * gdb.base/auto-connect-native-target.exp
6201         * gdb.base/batch-preserve-term-settings.exp
6202         * gdb.base/bfp-test.exp
6203         * gdb.base/bigcore.exp
6204         * gdb.base/bp-permanent.exp
6205         * gdb.base/break-always.exp
6206         * gdb.base/break-fun-addr.exp
6207         * gdb.base/break-idempotent.exp
6208         * gdb.base/break-main-file-remove-fail.exp
6209         * gdb.base/break-probes.exp
6210         * gdb.base/break-unload-file.exp
6211         * gdb.base/break.exp
6212         * gdb.base/call-ar-st.exp
6213         * gdb.base/call-rt-st.exp
6214         * gdb.base/call-sc.exp
6215         * gdb.base/call-signal-resume.exp
6216         * gdb.base/call-strs.exp
6217         * gdb.base/callexit.exp
6218         * gdb.base/callfuncs.exp
6219         * gdb.base/catch-gdb-caused-signals.exp
6220         * gdb.base/catch-signal-siginfo-cond.exp
6221         * gdb.base/catch-syscall.exp
6222         * gdb.base/compare-sections.exp
6223         * gdb.base/cond-eval-mode.exp
6224         * gdb.base/condbreak-call-false.exp
6225         * gdb.base/consecutive-step-over.exp
6226         * gdb.base/cursal.exp
6227         * gdb.base/disabled-location.exp
6228         * gdb.base/disasm-end-cu.exp
6229         * gdb.base/display.exp
6230         * gdb.base/double-prompt-target-event-error.exp
6231         * gdb.base/dprintf-bp-same-addr.exp
6232         * gdb.base/dprintf-detach.exp
6233         * gdb.base/dprintf-next.exp
6234         * gdb.base/dprintf-non-stop.exp
6235         * gdb.base/dprintf-pending.exp
6236         * gdb.base/dso2dso.exp
6237         * gdb.base/ending-run.exp
6238         * gdb.base/enum_cond.exp
6239         * gdb.base/examine-backward.exp
6240         * gdb.base/exe-lock.exp
6241         * gdb.base/exec-invalid-sysroot.exp
6242         * gdb.base/execl-update-breakpoints.exp
6243         * gdb.base/execution-termios.exp
6244         * gdb.base/fileio.exp
6245         * gdb.base/fixsection.exp
6246         * gdb.base/foll-exec-mode.exp
6247         * gdb.base/foll-exec.exp
6248         * gdb.base/fork-running-state.exp
6249         * gdb.base/frame-args.exp
6250         * gdb.base/fullpath-expand.exp
6251         * gdb.base/func-ptr.exp
6252         * gdb.base/gcore-relro-pie.exp
6253         * gdb.base/gdb1090.exp
6254         * gdb.base/gdb1555.exp
6255         * gdb.base/global-var-nested-by-dso.exp
6256         * gdb.base/gnu-ifunc.exp
6257         * gdb.base/hbreak-in-shr-unsupported.exp
6258         * gdb.base/hbreak-unmapped.exp
6259         * gdb.base/hook-stop.exp
6260         * gdb.base/infcall-input.exp
6261         * gdb.base/info-fun.exp
6262         * gdb.base/info-shared.exp
6263         * gdb.base/interrupt-noterm.exp
6264         * gdb.base/jit-so.exp
6265         * gdb.base/jit.exp
6266         * gdb.base/line-symtabs.exp
6267         * gdb.base/list.exp
6268         * gdb.base/longjmp.exp
6269         * gdb.base/macscp.exp
6270         * gdb.base/max-value-size.exp
6271         * gdb.base/nodebug.exp
6272         * gdb.base/nofield.exp
6273         * gdb.base/overlays.exp
6274         * gdb.base/paginate-after-ctrl-c-running.exp
6275         * gdb.base/paginate-bg-execution.exp
6276         * gdb.base/paginate-inferior-exit.exp
6277         * gdb.base/pending.exp
6278         * gdb.base/pr11022.exp
6279         * gdb.base/printcmds.exp
6280         * gdb.base/ptr-typedef.exp
6281         * gdb.base/ptype.exp
6282         * gdb.base/randomize.exp
6283         * gdb.base/range-stepping.exp
6284         * gdb.base/realname-expand.exp
6285         * gdb.base/relativedebug.exp
6286         * gdb.base/remote.exp
6287         * gdb.base/savedregs.exp
6288         * gdb.base/sepdebug.exp
6289         * gdb.base/set-noassign.exp
6290         * gdb.base/shlib-call.exp
6291         * gdb.base/shreloc.exp
6292         * gdb.base/sigaltstack.exp
6293         * gdb.base/sigbpt.exp
6294         * gdb.base/siginfo-addr.exp
6295         * gdb.base/siginfo-obj.exp
6296         * gdb.base/siginfo-thread.exp
6297         * gdb.base/signest.exp
6298         * gdb.base/signull.exp
6299         * gdb.base/sigrepeat.exp
6300         * gdb.base/skip.exp
6301         * gdb.base/so-impl-ld.exp
6302         * gdb.base/solib-corrupted.exp
6303         * gdb.base/solib-disc.exp
6304         * gdb.base/solib-display.exp
6305         * gdb.base/solib-overlap.exp
6306         * gdb.base/solib-search.exp
6307         * gdb.base/solib-symbol.exp
6308         * gdb.base/source-execution.exp
6309         * gdb.base/sss-bp-on-user-bp-2.exp
6310         * gdb.base/sss-bp-on-user-bp.exp
6311         * gdb.base/stack-checking.exp
6312         * gdb.base/stale-infcall.exp
6313         * gdb.base/step-break.exp
6314         * gdb.base/step-line.exp
6315         * gdb.base/step-over-exit.exp
6316         * gdb.base/step-test.exp
6317         * gdb.base/structs.exp
6318         * gdb.base/sym-file.exp
6319         * gdb.base/symtab-search-order.exp
6320         * gdb.base/term.exp
6321         * gdb.base/type-opaque.exp
6322         * gdb.base/unload.exp
6323         * gdb.base/until-nodebug.exp
6324         * gdb.base/until.exp
6325         * gdb.base/unwindonsignal.exp
6326         * gdb.base/watch-cond.exp
6327         * gdb.base/watch-non-mem.exp
6328         * gdb.base/watch_thread_num.exp
6329         * gdb.base/watchpoint-reuse-slot.exp
6330         * gdb.base/watchpoint-solib.exp
6331         * gdb.base/watchpoint.exp
6332         * gdb.btrace/dlopen.exp
6333         * gdb.cell/arch.exp
6334         * gdb.cell/break.exp
6335         * gdb.cell/bt.exp
6336         * gdb.cell/core.exp
6337         * gdb.cell/data.exp
6338         * gdb.cell/dwarfaddr.exp
6339         * gdb.cell/ea-cache.exp
6340         * gdb.cell/ea-standalone.exp
6341         * gdb.cell/ea-test.exp
6342         * gdb.cell/f-regs.exp
6343         * gdb.cell/fork.exp
6344         * gdb.cell/gcore.exp
6345         * gdb.cell/mem-access.exp
6346         * gdb.cell/ptype.exp
6347         * gdb.cell/registers.exp
6348         * gdb.cell/sizeof.exp
6349         * gdb.cell/solib-symbol.exp
6350         * gdb.cell/solib.exp
6351         * gdb.compile/compile-tls.exp
6352         * gdb.cp/exception.exp
6353         * gdb.cp/gdb2495.exp
6354         * gdb.cp/local.exp
6355         * gdb.cp/mb-inline.exp
6356         * gdb.cp/mb-templates.exp
6357         * gdb.cp/pr10687.exp
6358         * gdb.cp/pr9167.exp
6359         * gdb.cp/scope-err.exp
6360         * gdb.cp/templates.exp
6361         * gdb.cp/virtfunc.exp
6362         * gdb.dwarf2/dw2-dir-file-name.exp
6363         * gdb.dwarf2/dw2-single-line-discriminators.exp
6364         * gdb.fortran/complex.exp
6365         * gdb.fortran/library-module.exp
6366         * gdb.guile/guile.exp
6367         * gdb.guile/scm-cmd.exp
6368         * gdb.guile/scm-frame-inline.exp
6369         * gdb.guile/scm-objfile.exp
6370         * gdb.guile/scm-pretty-print.exp
6371         * gdb.guile/scm-symbol.exp
6372         * gdb.guile/scm-type.exp
6373         * gdb.guile/scm-value.exp
6374         * gdb.linespec/keywords.exp
6375         * gdb.linespec/ls-errs.exp
6376         * gdb.linespec/macro-relative.exp
6377         * gdb.linespec/thread.exp
6378         * gdb.mi/mi-breakpoint-changed.exp
6379         * gdb.mi/mi-dprintf-pending.exp
6380         * gdb.mi/mi-fullname-deleted.exp
6381         * gdb.mi/mi-logging.exp
6382         * gdb.mi/mi-pending.exp
6383         * gdb.mi/mi-solib.exp
6384         * gdb.mi/new-ui-mi-sync.exp
6385         * gdb.mi/user-selected-context-sync.exp
6386         * gdb.multi/dummy-frame-restore.exp
6387         * gdb.multi/multi-arch-exec.exp
6388         * gdb.multi/remove-inferiors.exp
6389         * gdb.multi/watchpoint-multi-exit.exp
6390         * gdb.opt/solib-intra-step.exp
6391         * gdb.perf/backtrace.exp
6392         * gdb.perf/single-step.exp
6393         * gdb.perf/skip-command.exp
6394         * gdb.perf/skip-prologue.exp
6395         * gdb.perf/solib.exp
6396         * gdb.python/lib-types.exp
6397         * gdb.python/py-as-string.exp
6398         * gdb.python/py-bad-printers.exp
6399         * gdb.python/py-block.exp
6400         * gdb.python/py-breakpoint.exp
6401         * gdb.python/py-cmd.exp
6402         * gdb.python/py-events.exp
6403         * gdb.python/py-evthreads.exp
6404         * gdb.python/py-finish-breakpoint.exp
6405         * gdb.python/py-finish-breakpoint2.exp
6406         * gdb.python/py-frame-inline.exp
6407         * gdb.python/py-frame.exp
6408         * gdb.python/py-inferior.exp
6409         * gdb.python/py-infthread.exp
6410         * gdb.python/py-mi.exp
6411         * gdb.python/py-objfile.exp
6412         * gdb.python/py-pp-maint.exp
6413         * gdb.python/py-pp-registration.exp
6414         * gdb.python/py-prettyprint.exp
6415         * gdb.python/py-recurse-unwind.exp
6416         * gdb.python/py-shared.exp
6417         * gdb.python/py-symbol.exp
6418         * gdb.python/py-symtab.exp
6419         * gdb.python/py-template.exp
6420         * gdb.python/py-type.exp
6421         * gdb.python/py-unwind-maint.exp
6422         * gdb.python/py-unwind.exp
6423         * gdb.python/py-value.exp
6424         * gdb.python/python.exp
6425         * gdb.reverse/finish-reverse-bkpt.exp
6426         * gdb.reverse/insn-reverse.exp
6427         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6428         * gdb.reverse/solib-precsave.exp
6429         * gdb.reverse/solib-reverse.exp
6430         * gdb.stabs/gdb11479.exp
6431         * gdb.stabs/weird.exp
6432         * gdb.threads/fork-child-threads.exp
6433         * gdb.threads/fork-plus-threads.exp
6434         * gdb.threads/fork-thread-pending.exp
6435         * gdb.threads/forking-threads-plus-breakpoint.exp
6436         * gdb.threads/hand-call-in-threads.exp
6437         * gdb.threads/interrupted-hand-call.exp
6438         * gdb.threads/linux-dp.exp
6439         * gdb.threads/local-watch-wrong-thread.exp
6440         * gdb.threads/next-while-other-thread-longjmps.exp
6441         * gdb.threads/non-ldr-exit.exp
6442         * gdb.threads/pending-step.exp
6443         * gdb.threads/print-threads.exp
6444         * gdb.threads/process-dies-while-detaching.exp
6445         * gdb.threads/process-dies-while-handling-bp.exp
6446         * gdb.threads/pthreads.exp
6447         * gdb.threads/queue-signal.exp
6448         * gdb.threads/reconnect-signal.exp
6449         * gdb.threads/signal-command-handle-nopass.exp
6450         * gdb.threads/signal-command-multiple-signals-pending.exp
6451         * gdb.threads/signal-delivered-right-thread.exp
6452         * gdb.threads/signal-sigtrap.exp
6453         * gdb.threads/sigthread.exp
6454         * gdb.threads/staticthreads.exp
6455         * gdb.threads/stepi-random-signal.exp
6456         * gdb.threads/thread-unwindonsignal.exp
6457         * gdb.threads/thread_check.exp
6458         * gdb.threads/thread_events.exp
6459         * gdb.threads/tid-reuse.exp
6460         * gdb.threads/tls-nodebug.exp
6461         * gdb.threads/tls-shared.exp
6462         * gdb.threads/tls-so_extern.exp
6463         * gdb.threads/tls.exp
6464         * gdb.threads/wp-replication.exp
6465         * gdb.trace/actions-changed.exp
6466         * gdb.trace/actions.exp
6467         * gdb.trace/backtrace.exp
6468         * gdb.trace/change-loc.exp
6469         * gdb.trace/collection.exp
6470         * gdb.trace/deltrace.exp
6471         * gdb.trace/disconnected-tracing.exp
6472         * gdb.trace/entry-values.exp
6473         * gdb.trace/ftrace-lock.exp
6474         * gdb.trace/ftrace.exp
6475         * gdb.trace/infotrace.exp
6476         * gdb.trace/mi-trace-frame-collected.exp
6477         * gdb.trace/mi-trace-unavailable.exp
6478         * gdb.trace/mi-traceframe-changed.exp
6479         * gdb.trace/mi-tracepoint-changed.exp
6480         * gdb.trace/mi-tsv-changed.exp
6481         * gdb.trace/no-attach-trace.exp
6482         * gdb.trace/packetlen.exp
6483         * gdb.trace/passc-dyn.exp
6484         * gdb.trace/passcount.exp
6485         * gdb.trace/pending.exp
6486         * gdb.trace/pr16508.exp
6487         * gdb.trace/qtro.exp
6488         * gdb.trace/range-stepping.exp
6489         * gdb.trace/read-memory.exp
6490         * gdb.trace/report.exp
6491         * gdb.trace/save-trace.exp
6492         * gdb.trace/signal.exp
6493         * gdb.trace/stap-trace.exp
6494         * gdb.trace/status-stop.exp
6495         * gdb.trace/strace.exp
6496         * gdb.trace/tfile.exp
6497         * gdb.trace/tfind.exp
6498         * gdb.trace/trace-break.exp
6499         * gdb.trace/trace-condition.exp
6500         * gdb.trace/trace-enable-disable.exp
6501         * gdb.trace/trace-mt.exp
6502         * gdb.trace/tracecmd.exp
6503         * gdb.trace/tracefile-pseudo-reg.exp
6504         * gdb.trace/tspeed.exp
6505         * gdb.trace/tstatus.exp
6506         * gdb.trace/tsv.exp
6507         * gdb.trace/unavailable.exp
6508         * gdb.trace/while-dyn.exp
6509         * gdb.trace/while-stepping.exp
6510         * lib/gdb-guile.exp
6511         * lib/gdb.exp
6512         * lib/mi-support.exp
6513         * lib/pascal.exp
6514         * lib/perftest.exp
6515         * lib/prelink-support.exp
6516         * lib/selftest-support.exp
6517
6518 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6519
6520         * Makefile.in: Include disable-implicit-rules.mk.
6521
6522 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6523
6524         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6525         non-byte-aligned bit fields.
6526
6527 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6528
6529         PR gdb/12616
6530         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6531         respects the DW_AT_data_bit_offset attribute.
6532
6533 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6534
6535         * gdb.base/default.exp: Fix output of "set language".
6536
6537 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6538
6539         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6540         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6541         make.
6542         * configure.ac: Remove checks for the make program.
6543         * configure: Re-generate.
6544
6545 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6546
6547         * gdb.python/py-recurse-unwind.c (main): Add loop.
6548         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6549         to read_register() and gdb.parse_and_eval().  Make each code
6550         call a separate case that can be individually tested.
6551         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6552         proc. Call cont_and_backtrace for each of the code paths that
6553         we want to test in the unwinder.
6554
6555 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6556
6557         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6558         the definition of struct S.
6559
6560 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6561
6562         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6563
6564 2016-11-09  Pedro Alves  <palves@redhat.com>
6565
6566         * gdb.base/commands.exp (runto_or_return): New procedure.
6567         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6568         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6569         (progvar_simple_while_test, progvar_complex_if_while_test)
6570         (if_while_breakpoint_command_test)
6571         (infrun_breakpoint_command_test, breakpoint_command_test)
6572         (user_defined_command_test, watchpoint_command_test)
6573         (test_command_prompt_position, redefine_hook_test)
6574         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6575         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6576         multi_line_input and multi_line.  Remove gdb_expect and
6577         gdb_stop_suppressing_tests uses.
6578         * lib/gdb.exp (valnum_re): New global.
6579         (multi_line_input): New procedure.
6580
6581 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6582
6583         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6584         Remove.
6585         (test_setup): Define with proc_with_prefix.
6586         (test_cli_inferior): Likewise.
6587         (test_cli_thread): Likewise.
6588         (test_cli_frame): Likewise.
6589         (test_cli_select_frame): Likewise.
6590         (test_cli_up_down): Likewise.
6591         (test_mi_thread_select): Likewise.
6592         (test_mi_stack_select_frame): Likewise.
6593         (test_cli_in_mi_inferior): Likewise.
6594         (test_cli_in_mi_thread): Likewise.
6595         (test_cli_in_mi_frame): Likewise.
6596         (top level): Do not use with_test_prefix_procname.
6597
6598 2016-11-09  Pedro Alves  <palves@redhat.com>
6599
6600         * gdb.base/commands.exp (gdbvar_simple_if_test)
6601         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6602         (progvar_simple_if_test, progvar_simple_while_test)
6603         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6604         (infrun_breakpoint_command_test, breakpoint_command_test)
6605         (user_defined_command_test, watchpoint_command_test)
6606         (test_command_prompt_position, deprecated_command_test)
6607         (bp_deleted_in_command, temporary_breakpoint_commands)
6608         (stray_arg0_test, source_file_with_indented_comment)
6609         (recursive_source_test, if_commands_test)
6610         (error_clears_commands_left, redefine_hook_test)
6611         (redefine_backtrace_test): Use proc_with_prefix.
6612         * lib/gdb.exp (proc_with_prefix): New proc.
6613
6614 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6615
6616         * gdb.base/tui-layout.c: New file.
6617         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6618         disassembly window contains very long lines.
6619
6620 2016-11-08  Tom Tromey  <tom@tromey.com>
6621
6622         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6623         depend on Python 2.
6624
6625 2016-11-08  Tom Tromey  <tom@tromey.com>
6626
6627         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6628         New method.
6629
6630 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6631
6632         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6633
6634 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6635
6636         * gdb.rust/simple.rs: Add test for univariant enums without
6637         discriminants and for encoded struct-like enums.
6638
6639 2016-10-28  Pedro Alves  <palves@redhat.com>
6640
6641         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6642         gdb_test_multiple, tighten regexps and match symtabs and line
6643         tables incrementally.
6644
6645 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6646
6647         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6648         general.
6649
6650 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6651
6652         * gdb.base/exec-invalid-sysroot.exp: New file.
6653
6654 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6655
6656         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6657
6658 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6659
6660         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6661
6662 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6663
6664         * gdb.base/killed-outside.exp: Remove $options from a call to
6665         `prepare_for_testing'.
6666
6667 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6668
6669         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6670         Change test message.
6671
6672 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6673
6674         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6675         Update comment.
6676
6677 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6678
6679         * gdb.trace/mi-trace-save.exp: New file.
6680
6681 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6682
6683         * gdb.base/code_elim.exp (get_var_address): Remove.
6684         * gdb.base/relocate.exp: Likewise.
6685         * gdb.base/shreloc.exp: Likewise.
6686         * lib/gdb.exp (get_var_address): New.
6687
6688 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6689
6690         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6691         floating point tests if $skip_float_test is false.
6692
6693 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6694
6695         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6696         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6697         argc values.
6698         Add 1 to argc so we guarantee distinct initial/modified argc values.
6699
6700 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6701
6702         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6703
6704 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6705
6706         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6707         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6708         * gdb.arch/vsx-regs.exp: Likewise.
6709
6710 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6711
6712         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6713
6714 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6715
6716         * gdb.python/python.exp: Test decode_line("*0").
6717
6718 2016-10-06  Doug Evans  <dje@google.com>
6719
6720         * gdb.python/py-value.exp (test_value_creation): Add test for large
6721         unsigned 64-bit value.
6722
6723 2016-10-06  Tom Tromey  <tom@tromey.com>
6724
6725         * gdb.compile/compile.exp: Change java tests to rust.
6726         * gdb.base/setshow.exp: Change java tests to rust.
6727         * gdb.base/default.exp: Remove java from language list.
6728         * README (Examples): Update language example.
6729         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6730         test.
6731         * lib/gdb.exp (skip_java_tests): Remove.
6732         * lib/java.exp: Remove.
6733         * gdb.java: Remove.
6734
6735 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6736
6737         * gdb.arch/mips-fcr.exp: New test.
6738         * gdb.arch/mips-fcr.c: Source for the new test.
6739
6740 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6741
6742         * gdb.base/solib-disc.exp: Use `standard_output_file'
6743         throughout.
6744
6745 2016-10-06  Pedro Alves  <palves@redhat.com>
6746
6747         * gdb.base/jit-simple-dl.c: New file.
6748         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6749         * gdb.base/jit-simple.c: ... this.
6750         * gdb.base/jit-simple.exp (jit_run): Delete.
6751         (build_jit): New proc.
6752         (jit_test_reread): Recompile either the main program or the shared
6753         library, depending on what is being tested.  Skip changing address
6754         if caller wants to.  Compare before/after addresses.  If testing
6755         standalone, explicitly load the binary.  Test "maint info
6756         breakpoints".
6757         (top level): Add "standalone vs shared lib" and "change address"
6758         vs "same address" axes.
6759
6760 2016-10-06  Pedro Alves  <palves@redhat.com>
6761
6762         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6763         call.
6764         (jit_run): Delete.
6765         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6766         explicitly.  Compare the before/after addresses of the JIT
6767         descriptor.
6768
6769 2016-08-15  Doug Evans  <dje@google.com>
6770
6771         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6772         for single bitfields is bool.
6773         * gdb.xml/tdesc-regs.exp: Ditto.
6774
6775 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6776
6777         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6778
6779 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6780
6781         * lib/gdb.exp (support_complex_tests): Return zero if
6782         gdb_skip_float_test return true.
6783
6784 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6785             Simon Marchi  <simon.marchi@ericsson.com>
6786
6787         PR gdb/20487
6788         * gdb.mi/user-selected-context-sync.exp: New file.
6789         * gdb.mi/user-selected-context-sync.c: New file.
6790
6791 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6792             Simon Marchi  <simon.marchi@ericsson.com>
6793
6794         PR gdb/20487
6795         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6796         =thread-select-event check.
6797
6798 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6799
6800         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6801         the compulsory L operand changes.
6802         * gdb.arch/powerpc-power.s: Likewise.
6803
6804 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6805
6806         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6807         * gdb.base/jit-attach-pie.c: New file.
6808         * gdb.base/jit-attach-pie.exp: New file.
6809
6810 2016-09-28  Pedro Alves  <palves@redhat.com>
6811
6812         * gdb.base/infcall-input.c: New file.
6813         * gdb.base/infcall-input.exp: New file.
6814
6815 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6816
6817         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6818         (gdb_exit): Rename it to ...
6819         (gdbserver_gdb_exit): ...  Close GDBserver.
6820         (gdb_exit): New proc, call gdbserver_gdb_exit.
6821         (mi_gdb_exit): Likewise.
6822
6823 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6824
6825         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6826         path.
6827         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6828         Remove duplication.
6829
6830 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6831
6832         * lib/gdbserver-support.exp: Check the existence of
6833         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6834
6835 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6836
6837         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6838
6839 2016-09-21  Tom Tromey  <tom@tromey.com>
6840
6841         PR gdb/20604:
6842         * gdb.base/quit.exp: New file.
6843
6844 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6845
6846         * .gitignore: New file.
6847
6848 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6849
6850         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6851         throughout.
6852
6853 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6854
6855         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6856
6857 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6858
6859         * gdb.cp/casts.cc (decltype): Move it ...
6860         (main): ... with its call to ...
6861         * gdb.cp/casts03.cc: ... a new file.
6862         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6863
6864 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6865
6866         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6867
6868 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6869
6870         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6871         and sync up the test with tests in gas/testsuite/gas/ppc.
6872         * gdb.arch/powerpc-power.exp: Likewise.
6873
6874 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6875
6876         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6877
6878 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6879             Jan Kratochvil  <jan.kratochvil@redhat.com>
6880
6881         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6882         make m1's definition to be different from m2's.  Use 'dummy' as an
6883         argument for probe 'two'.
6884
6885 2016-09-10  Jon Beniston  <jon@beniston.com>
6886
6887         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6888         for sim target.
6889
6890 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6891
6892         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6893         variable declaration.
6894         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6895         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6896         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6897         received HWCAP as its argument.
6898
6899 2016-09-06  Pedro Alves  <palves@redhat.com>
6900
6901         * gdb.base/new-ui-pending-input.c: New file.
6902         * gdb.base/new-ui-pending-input.exp: New file.
6903         * gdb.exp (clear_gdb_spawn_id): New procedure.
6904         (with_spawn_id): Check whether gdb_spawn_id exists before
6905         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6906         on exit.
6907
6908 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6909
6910         * gdb.base/float128.c: New file.
6911         * gdb.base/float128.exp: Likewise.
6912         * gdb.base/floatn.c: Likewise.
6913         * gdb.base/floatn.exp: Likewise.
6914
6915 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6916
6917         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6918
6919 2016-09-05  Pedro Alves  <palves@redhat.com>
6920
6921         PR backtrace/19927
6922         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6923         unwinders are immediately called as side effect of "source" or
6924         "disable unwinder" commands.
6925         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6926
6927 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6928
6929         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6930         is true and $type is "float" or "double".
6931
6932 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6933
6934         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6935         true.
6936         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6937         * gdb.base/call-rt-st.exp: Likewise.
6938         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6939         return value instead of gdb,skip_float_test.
6940         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6941         (do_function_calls): Use its return value instead of
6942         gdb,skip_float_test.
6943         * gdb.base/finish.exp: Likewise.
6944         * gdb.base/funcargs.exp: Likewise.
6945         * gdb.base/return.exp: Likewise.
6946         * gdb.base/return2.exp: Likewise.
6947         * gdb.base/varargs.exp: Likewise.
6948         * lib/gdb.exp (gdb_skip_float_test): Change it to
6949         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6950
6951 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6952
6953         * gdb.multi/tids.exp: Test "thread apply all".
6954
6955 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6956
6957         * gdb.base/default.exp (tty): Remove.
6958
6959 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6960
6961         * gdb.python/py-recurse-unwind.c: New file.
6962         * gdb.python/py-recurse-unwind.py: New file.
6963         * gdb.python/py-recurse-unwind.exp: New file.
6964
6965 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6966
6967         * gdb.base/set-inferior-tty.exp: New file.
6968         * gdb.base/set-inferior-tty.c: New file.
6969
6970 2016-08-23  Pedro Alves  <palves@redhat.com>
6971
6972         PR gdb/20494
6973         * gdb.base/new-ui-echo.c: New file.
6974         * gdb.base/new-ui-echo.exp: New file.
6975
6976 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6977
6978         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6979         gdbserver_spawn.
6980         * gdb.server/connect-without-multi-process.exp (do_test):
6981         Likewise.
6982
6983 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6984
6985         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6986         standalone_txt.  Delete gdb_txt and standalone_txt on host
6987         and target.  Spawn the binary on target.  Copy files from
6988         target to host.
6989
6990 2016-08-22  Pedro Alves  <palves@redhat.com>
6991
6992         PR gdb/20505
6993         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6994         with_test_prefix.  Factor out bits to ...
6995         (test_no_vdso): ... this new procedure.
6996
6997 2016-08-19  Carl Love  <cel@us.ibm.com>
6998
6999         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7000         maintaining separate logic for constructing the output path.
7001         * gdb.arch/powerpc-d128-regs.exp: Likewise.
7002         * gdb.arch/ppc-dfp.exp: Likewise.
7003         * gdb.arch/ppc-fp.exp: Likewise.
7004         * gdb.arch/vsx-regs.exp: Likewise.
7005         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7006         binprefix for generating the additional binary files.
7007
7008 2016-08-19  Pedro Alves  <palves@redhat.com>
7009
7010         * gdb.trace/mi-trace-frame-collected.exp
7011         (test_trace_frame_collected): On x32, expect two registers.
7012
7013 2016-08-18  Carl Love  <cel@us.ibm.com>
7014
7015         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7016         and sync up the test with tests in gas/testsuite/gas/ppc.
7017         * gdb.arch/powerpc-power.exp: Likewise.
7018
7019 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
7020
7021         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7022         expected error message.
7023
7024 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
7025
7026         * gdb.multi/remove-inferiors.exp: New file.
7027         * gdb.multi/remove-inferiors.c: New file.
7028
7029 2016-08-12  Yao Qi  <yao.qi@linaro.org>
7030
7031         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7032         argument list.
7033
7034 2016-08-10  Pedro Alves  <palves@redhat.com>
7035
7036         PR gdb/19187
7037         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7038         setup_kfails.
7039
7040 2016-08-09  Pedro Alves  <palves@redhat.com>
7041             Simon Marchi  <simon.marchi@ericsson.com>
7042
7043         PR gdb/20418
7044         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7045         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7046
7047 2016-08-09  Pedro Alves  <palves@redhat.com>
7048
7049         PR mi/20431
7050         * gdb.mi/mi-cmd-error.exp: New file.
7051
7052 2016-08-09  Pedro Alves  <palves@redhat.com>
7053
7054         PR gdb/18653
7055         * gdb.base/signals-state-child.c: New file.
7056         * gdb.base/signals-state-child.exp: New file.
7057         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7058
7059 2016-08-09  Pedro Alves  <palves@redhat.com>
7060
7061         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7062
7063 2016-08-03  Tom Tromey  <tom@tromey.com>
7064
7065         PR python/18565:
7066         * gdb.python/py-frame-inline.exp: Add Frame.function test.
7067
7068 2016-08-01  Yao Qi  <yao.qi@linaro.org>
7069
7070         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7071         variable mode to "multi-process" if $multi_process is 1, otherwise
7072         set it to "single-process".
7073
7074 2016-08-01  Yao Qi  <yao.qi@linaro.org>
7075
7076         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7077         * gdb.cp/cpexprs.exp: Likewise.
7078         * gdb.cp/m-static.exp: Likewise.
7079
7080 2016-07-26  Tom Tromey  <tom@tromey.com>
7081
7082         PR python/20190:
7083         * gdb.threads/tls.exp (check_thread_local): Add python symbol
7084         test.
7085
7086 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
7087
7088         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7089         selecting assembly source files.
7090         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7091         assembly source files.
7092         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7093         assembly source files.
7094         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7095         selecting assembly source files.
7096
7097 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
7098
7099         * gdb.base/new-ui.exp (do_test_invalid_args): New
7100         procedure.
7101
7102 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
7103
7104         * gdb.btrace/reconnect.c: New file.
7105         * gdb.btrace/reconnect.exp: New file.
7106
7107 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
7108
7109         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7110         to test_catch_syscall_group.
7111         (test_catch_syscall_group): New.
7112
7113 2016-07-21  Tom Tromey  <tom@tromey.com>
7114
7115         * gdb.rust/simple.rs (main): Use empty struct expression.
7116         * gdb.rust/simple.exp: Add tests for empty struct expression.
7117
7118 2016-07-21  Yao Qi  <yao.qi@linaro.org>
7119
7120         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7121         if gdb_skip_xml_test is true on some targets.
7122
7123 2016-07-21  Yao Qi  <yao.qi@linaro.org>
7124
7125         * gdb.server/solib-list.exp: Unset last_loaded_file.
7126
7127 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7128
7129         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7130         "step into captured_main (args)".
7131
7132 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7133
7134         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7135
7136 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7137
7138         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7139
7140 2016-07-19  Pedro Alves  <palves@redhat.com>
7141
7142         * gdb.opt/inline-break.exp: Remove optimize=-O2.
7143         * gdb.opt/inline-bt.exp: Likewise.
7144         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7145         additional_flags=-Winline.
7146         * gdb.opt/inline-locals.exp: Likewise.
7147         * gdb.opt/inline-markers.c (ATTR): Define.
7148         (inlined_fn): Use it.
7149
7150 2016-07-19  Yao Qi  <yao.qi@linaro.org>
7151
7152         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7153         (test_with_self): Remove some code.  Remove argument executable.
7154         (top-level): Use do_self_tests.
7155
7156 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
7157             Don Breazeal <donb@codesourcery.com>
7158
7159         * gdb.base/maint.exp: Escape paths used in regular expressions.
7160         * gdb.stabs/weird.exp: Likewise.
7161
7162 2016-07-13  Tom Tromey  <tom@tromey.com>
7163
7164         PR python/15620, PR python/18620:
7165         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7166         (test_bkpt_events): New procs.
7167
7168 2016-07-13  Tom Tromey  <tom@tromey.com>
7169
7170         PR python/17698:
7171         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7172         test.
7173         (test_watchpoints): Likewise.
7174         (test_bkpt_pending): New proc.
7175
7176 2016-07-13  Tom Tromey  <tom@tromey.com>
7177
7178         PR cli/18053:
7179         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7180         completion test.
7181
7182 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7183
7184         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7185         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7186         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7187         f_label.
7188         (g): Rename g_end_lbl to g_label.
7189         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7190         low_pc and high_pc.
7191         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7192
7193 2016-07-12  Tom Tromey  <tom@tromey.com>
7194
7195         PR python/19293:
7196         * gdb.python/py-unwind-maint.exp: Update tests.
7197
7198 2016-07-12  Yao Qi  <yao.qi@linaro.org>
7199
7200         * lib/selftest-support.exp (selftest_setup): Match the output
7201         when captured_main is inlined.
7202
7203 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7204
7205         * gdb.fortran/derived-types.exp (result_line, result_line_2):
7206         New variables.
7207         (print this%a, print this%b, print this): New tests.
7208         * gdb.fortran/derived-types.f90 (this): New object and
7209         initialization.
7210
7211 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
7212
7213         * gdb.ada/arraydim.exp: Remove extra directory level in build
7214         directory.
7215
7216 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
7217
7218         * lib/ada.exp: Remove extra directory level in build directory.
7219         * gdb.ada/cond_lang.exp: Likewise.
7220         * gdb.ada/exec_changed.exp: Likewise.
7221         * gdb.ada/lang_switch.exp: Likewise.
7222
7223 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
7224
7225         * simple.rs: Add test for raw pointer subscripting.
7226         * simple.exp: Add test expectations.
7227
7228 2016-07-05  Yao Qi  <yao.qi@linaro.org>
7229
7230         * gdb.mi/mi-reverse.exp: Match =record-started output.
7231
7232 2016-07-01  Pedro Alves  <palves@redhat.com>
7233
7234         * gdb.base/jit-reader.exp (info_registers_current_frame): New
7235         procedure.
7236         (jit_reader_test): Test the jit reader's unwinder.
7237         * gdb.base/jithost.c (jit_function_00_code): New global.
7238         (main): Use memcpy to fill in the mmapped code, instead of poking
7239         bytes manually here.
7240         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7241         value.
7242         (read_debug_info): Save the function's range.
7243         (read_sp): New function.
7244         (unwind_frame): Use it.  Also unwind RBP.
7245         (get_frame_id): Use read_sp.
7246         (gdb_init_reader): Use calloc instead of malloc.
7247         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7248         parameter.  Use gdb_test_multiple.
7249
7250 2016-07-01  Pedro Alves  <palves@redhat.com>
7251             Antoine Tremblay  <antoine.tremblay@ericsson.com>
7252
7253         * gdb.threads/process-dies-while-detaching.c: New file.
7254         * gdb.threads/process-dies-while-detaching.exp: New file.
7255
7256 2016-07-01  Pedro Alves  <palves@redhat.com>
7257
7258         * gdb.multi/watchpoint-multi-exit.c: New file.
7259         * gdb.multi/watchpoint-multi-exit.exp: New file.
7260
7261 2016-06-30  Pedro Alves  <palves@redhat.com>
7262
7263         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7264         unset inferior_spawn_id.
7265
7266 2016-06-30  Pedro Alves  <palves@redhat.com>
7267
7268         * lib/mi-support.exp (default_mi_gdb_start): Declare global
7269         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7270
7271 2016-06-29  Yao Qi  <yao.qi@linaro.org>
7272
7273         * gdb.base/return.c: Add copyright header.
7274
7275 2016-06-29  Tom Tromey  <tom@tromey.com>
7276
7277         PR python/20129:
7278         * gdb.python/py-framefilter.exp: Add tests for setting priority
7279         and disabling of non-existent frame filter.
7280
7281 2016-06-29  Yao Qi  <yao.qi@linaro.org>
7282
7283         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7284         0x0f07ff.
7285
7286 2016-06-28  Yao Qi  <yao.qi@linaro.org>
7287
7288         * gdb.base/catch-syscall.exp: Remove check on isnative and target
7289         triplets.  Start gdb, execute catch syscall, and continue.  Check
7290         gdb's output to determine catch syscall is supported.
7291
7292 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
7293
7294         * gdb.rust/simple.rs: Add test for returning unit in a function.
7295         * gdb.rust/simple.exp: Add expectation for functions returning
7296         unit.
7297
7298 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
7299
7300         * gdb.python/py-breakpoint-create-fail.c,
7301         gdb.python/py-breakpoint-create-fail.exp,
7302         gdb.python/py-breakpoint-create-fail.py: New testcase.
7303
7304 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
7305
7306         PR gdb/20239
7307         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7308         * gdb.rust/simple.exp: Add test expectations for new NonZero
7309         tests.
7310
7311 2016-06-24  David Taylor  <dtaylor@emc.com>
7312
7313         * gdb.base/offsets.exp: New file.
7314         * gdb.base/offsets.c: New file.
7315
7316 2016-06-23  Tom Tromey  <tom@tromey.com>
7317
7318         PR gdb/16483:
7319         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7320         before any filters are loaded.
7321
7322 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7323
7324         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7325         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7326         structs.
7327         * gdb.fortran/derived-type-function.exp: New file.
7328         * gdb.fortran/derived-type-function.f90: New file.
7329
7330
7331 2016-06-21  Pedro Alves  <palves@redhat.com>
7332
7333         * gdb.base/new-ui.exp: New file.
7334         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7335         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7336         (with_spawn_id): New procedure.
7337
7338 2016-06-21  Pedro Alves  <palves@redhat.com>
7339
7340         * gdb.mi/mi-exec-run.exp: New file.
7341
7342 2016-06-21  Pedro Alves  <palves@redhat.com>
7343
7344         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7345         breakpoint command's output on the main UI.
7346         (test_break): New procedure, factored out from calls in the top
7347         level.
7348         (top level): Use foreach_with_prefix to test MI as main UI and as
7349         separate UI.
7350
7351 2016-06-21  Pedro Alves  <palves@redhat.com>
7352
7353         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7354         (test_awatch_creation_and_listing)
7355         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7356         Remove 'type' parameter.
7357         (test_watchpoint_all): New parameter mi_mode.  Remove
7358         with_test_prefix.
7359         (top level): Use foreach_with_prefix, and add main/separate UI MI
7360         testing axis.
7361
7362 2016-06-21  Pedro Alves  <palves@redhat.com>
7363
7364         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7365         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7366         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7367         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7368         (gdb_main_spawn_id, mi_spawn_id): Declare and
7369         comment.
7370         (mi_create_inferior_pty): New procedure,
7371         factored out from default_mi_gdb_start.
7372         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7373         procedures.
7374         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7375         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7376         Use mi_create_inferior_pty.
7377         (mi_gdb_start): Use eval to pass down args list.
7378
7379 2016-06-21  Pedro Alves  <palves@redhat.com>
7380
7381         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7382         * gdb.opt/inline-cmds.exp: Add MI tests.
7383
7384 2016-06-21  Pedro Alves  <palves@redhat.com>
7385
7386         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7387
7388 2016-06-21  Pedro Alves  <palves@redhat.com>
7389
7390         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7391         (top level): Use it instead of mi_execute_to.
7392
7393 2016-06-21  Pedro Alves  <palves@redhat.com>
7394
7395         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7396         (cont_handler_str): New.
7397         (signal_stop_handler): Set stop_handler_str instead of printing to
7398         stdout.
7399         (continue_handler): Set cont_handler_str instead of printing to
7400         stdout.
7401         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7402         mi_send_resuming_command.  Print stop_handler_str and
7403         cont_handler_str instead of expecting the python events print
7404         directly.
7405
7406 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
7407
7408         * gdb.base/jit-reader.exp: New file.
7409         * gdb.base/jithost.c: New file.
7410         * gdb.base/jithost.h: New file.
7411         * gdb.base/jitreader.c : New file.
7412         * gdb.base/jit-protocol.h: New file.
7413
7414 2016-06-17  Yao Qi  <yao.qi@linaro.org>
7415
7416         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7417         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
7418         and detach-on-fork.  Adjust tests.
7419         (top level): Invoke break_cond_on_syscall with combinations of
7420         syscall, follow-fork-mode and detach-on-fork.
7421
7422 2016-06-17  Yao Qi  <yao.qi@linaro.org>
7423
7424         * gdb.base/step-over-exit.c: New.
7425         * gdb.base/step-over-exit.exp: New.
7426
7427 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
7428
7429         * gdb.base/float.exp: Add target check for nds32*-*-*.
7430         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7431
7432 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
7433
7434         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7435         for unsupported target features.
7436         * gdb.base/call-rt-st.exp: Likewise.
7437         * gdb.base/call-sc.exp: Likewise.
7438         * gdb.base/call-signal-resume.exp: Likewise.
7439         * gdb.base/call-strs.exp: Likewise.
7440         * gdb.base/callexit.exp: Likewise.
7441         * gdb.base/callfuncs.exp: Likewise.
7442         * gdb.base/nodebug.exp: Likewise.
7443         * gdb.base/printcmds.exp: Likewise.
7444         * gdb.base/ptype.exp: Likewise.
7445         * gdb.base/structs.exp: Likewise.
7446         * gdb.base/unwindonsignal.exp: Likewise.
7447         * gdb.cp/gdb2495.exp: Likewise.
7448         * gdb.cp/templates.exp: Likewise.
7449         * gdb.cp/virtfunc.exp: Likewise.
7450         * gdb.threads/hand-call-in-threads.exp: Likewise.
7451         * gdb.threads/interrupted-hand-call.exp: Likewise.
7452         * gdb.threads/thread-unwindonsignal.exp: Likewise.
7453
7454 2016-06-10  Tom Tromey  <tom@tromey.com>
7455
7456         PR rust/20110:
7457         * gdb.rust/expr.exp: Add test for integer constant larger than
7458         i32.
7459
7460 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
7461
7462         * gdb.fortran/nested-funcs.exp: New.
7463         * gdb.fortran/nested-funcs.f90: New.
7464
7465 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
7466
7467         * gdb.base/examine-backward.c: New file.
7468         * gdb.base/examine-backward.exp: New file.
7469
7470 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
7471
7472         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7473         matching.
7474
7475 2016-06-02  Tom Tromey  <tom@tromey.com>
7476
7477         PR python/18984:
7478         * gdb.python/py-shared.exp: Add solib_name test.
7479
7480 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
7481
7482         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7483
7484 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
7485
7486         PR c++/19893
7487         * gdb.dwarf2/implref.exp: Rename to...
7488         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
7489         * gdb.dwarf2/implref-array.c: New file.
7490         * gdb.dwarf2/implref-array.exp: Likewise.
7491         * gdb.dwarf2/implref-global.c: Likewise.
7492         * gdb.dwarf2/implref-global.exp: Likewise.
7493         * gdb.dwarf2/implref-struct.c: Likewise.
7494         * gdb.dwarf2/implref-struct.exp: Likewise.
7495
7496 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7497
7498         * gdb.trace/trace-condition.exp: Add 64bit tests.
7499
7500 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7501
7502         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7503         bits types.
7504         (main): Adapt to 8 to 64 bits types.
7505         * gdb.trace/trace-condition.exp: Add new tests.
7506
7507 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7508
7509         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7510
7511 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7512
7513         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7514         Move condition tests...
7515         * gdb.trace/trace-condition.exp: Here.
7516
7517 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7518
7519         * gdb.trace/trace-condition.exp: Add counter-case tests.
7520
7521 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7522
7523         PR c++/15231
7524         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7525         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7526
7527 2016-05-27  Pedro Alves  <palves@redhat.com>
7528
7529         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7530         New procedure.
7531         (top level): Call it, and bail out of DejaGnu is known to be bad.
7532
7533 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7534
7535         * gdb.base/whatis.c: Extend the test case.
7536         * gdb.base/whatis.exp: Add additional tests.
7537
7538 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7539
7540 * gdb.fortran/type.f90: Add pointer variable.
7541 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7542
7543 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7544
7545         * gdb.fortran/vla-type.exp: Fix testcase name.
7546
7547 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7548
7549         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7550
7551 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7552
7553         * gdb.fortran/type.f90: Add nested structures.
7554         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7555         * gdb.fortran/derived-type.exp: Adapt expected output.
7556         * gdb.fortran/vla-type.exp: Adapt expected output.
7557
7558 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7559
7560         * gdb.fortran/whatis_type.exp: Adapt expected output.
7561
7562 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7563
7564         * gdb.fortran/print_type.exp: Fix expected output.
7565         * gdb.fortran/whatis_type.exp: Fix expected output.
7566
7567 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7568
7569         * gdb.fortran/whatis_type.exp: Use multi_line.
7570
7571 2016-05-24  Tom Tromey  <tom@tromey.com>
7572
7573         PR python/17386:
7574         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7575         use value as an index.
7576
7577 2016-05-23  Tom Tromey  <tom@tromey.com>
7578
7579         PR python/17981:
7580         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7581         no-breakpoint case.
7582
7583 2016-05-24  Pedro Alves  <palves@redhat.com>
7584
7585         PR gdb/19828
7586         * gdb.threads/clone-attach-detach.c: New file.
7587         * gdb.threads/clone-attach-detach.exp: New file.
7588
7589 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7590
7591         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7592
7593 2016-05-23  Tom Tromey  <tom@tromey.com>
7594
7595         PR python/19438, PR python/18393:
7596         * gdb.python/py-progspace.exp: Add "dir" test.
7597         * gdb.python/py-objfile.exp: Add "dir" test.
7598
7599 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7600
7601         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7602         * gdb.arch/thumb2-it.exp: Likewise.
7603
7604 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7605
7606         * gdb.mi/mi-threads-interrupt.c: New file.
7607         * gdb.mi/mi-threads-interrupt.exp: New file.
7608
7609 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7610
7611         PR gdb/18077
7612         * gdb.mi/mi-async-run.exp: New file.
7613         * gdb.mi/mi-async-run.c: New file.
7614
7615 2016-05-17  Tom Tromey  <tom@tromey.com>
7616             Manish Goregaokar <manishsmail@gmail.com>
7617
7618         * lib/rust-support.exp: New file.
7619         * lib/gdb.exp (skip_rust_tests): New proc.
7620         (build_executable_from_specs): Handle rust.
7621         * lib/future.exp (gdb_find_rustc): New proc.
7622         (gdb_default_target_compile): Handle rust.
7623         * gdb.rust/expr.exp: New file.
7624         * gdb.rust/generics.exp: New file.
7625         * gdb.rust/generics.rs: New file.
7626         * gdb.rust/methods.exp: New file.
7627         * gdb.rust/methods.rs: New file.
7628         * gdb.rust/modules.exp: New file.
7629         * gdb.rust/modules.rs: New file.
7630         * gdb.rust/simple.exp: New file.
7631         * gdb.rust/simple.rs: New file.
7632
7633 2016-05-17  Tom Tromey  <tom@tromey.com>
7634
7635         * gdb.base/default.exp (set language): Add rust.
7636
7637 2016-05-17  Tom Tromey  <tom@tromey.com>
7638
7639         * gdb.gdb/unittest.exp: New file.
7640
7641 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7642
7643         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7644         shell_prompt.  Update shell_prompt_re.
7645
7646 2016-05-12  Doug Evans  <dje@google.com>
7647
7648         PR symtab/19999
7649         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7650         $options when building executable.
7651         * gdb.dwarf2/fission-loclists-pie.S: New file.
7652         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7653
7654 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7655
7656         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7657         of [is_remote target],
7658
7659 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7660
7661         * lib/gdb.exp (use_gdb_stub): New procedure.
7662
7663 2016-05-03  Yunlian Jiang <yunlian@google.com>
7664             Doug Evans  <dje@google.com>
7665
7666         PR symtab/19914
7667         * gdb.dwarf2/dwp-sepdebug.c: New file.
7668         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7669
7670 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7671
7672         * gdb.base/detach.exp: Remove is_remote check.
7673
7674 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7675
7676         * gdb.base/annota-input-while-running.exp: Don't check for
7677         [is_remote target].  Enable annotations after running to main.
7678         Remove unused "set test..." line.
7679
7680 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7681
7682         * gdb.trace/trace-enable-disable.exp: New file.
7683         * gdb.trace/trace-enable-disable.c: New file.
7684
7685 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7686
7687         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7688         use it in info sharedlibrary test.
7689         * gdb.trace/ftrace-lock.exp: Likewise.
7690         * gdb.trace/ftrace.exp: Likewise.
7691         * gdb.trace/range-stepping.exp: Likewise.
7692         * gdb.trace/trace-break.exp: Likewise.
7693         * gdb.trace/trace-condition.exp: Likewise.
7694         * gdb.trace/trace-mt.exp: Likewise.
7695
7696 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7697
7698         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7699         (gdb_load_shlib): ... this.
7700         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7701         gdb_load_shlib.
7702         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7703         * gdb.base/ctxobj.exp: Likewise.
7704         * gdb.base/dprintf-pending.exp: Likewise.
7705         * gdb.base/dso2dso.exp: Likewise.
7706         * gdb.base/fixsection.exp: Likewise.
7707         * gdb.base/gcore-relro.exp: Likewise.
7708         * gdb.base/gdb1555.exp: Likewise.
7709         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7710         * gdb.base/gnu-ifunc.exp: Likewise.
7711         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7712         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7713         * gdb.base/pending.exp: Likewise.
7714         * gdb.base/print-file-var.exp: Likewise.
7715         * gdb.base/print-symbol-loading.exp: Likewise.
7716         * gdb.base/shlib-call.exp: Likewise.
7717         * gdb.base/shreloc.exp: Likewise.
7718         * gdb.base/so-impl-ld.exp: Likewise.
7719         * gdb.base/solib-disc.exp: Likewise.
7720         * gdb.base/solib-nodir.exp: Likewise.
7721         * gdb.base/solib-overlap.exp: Likewise.
7722         * gdb.base/solib-symbol.exp: Likewise.
7723         * gdb.base/solib-weak.exp (do_test): Likewise.
7724         * gdb.base/sym-file.exp: Likewise.
7725         * gdb.base/symtab-search-order.exp: Likewise.
7726         * gdb.base/type-opaque.exp: Likewise.
7727         * gdb.base/unload.exp: Likewise.
7728         * gdb.base/watchpoint-solib.exp: Likewise.
7729         * gdb.compile/compile.exp: Likewise.
7730         * gdb.cp/gdb2384.exp: Likewise.
7731         * gdb.cp/infcall-dlopen.exp: Likewise.
7732         * gdb.cp/re-set-overloaded.exp: Likewise.
7733         * gdb.fortran/library-module.exp: Likewise.
7734         * gdb.opt/solib-intra-step.exp: Likewise.
7735         * gdb.python/py-finish-breakpoint.exp: Likewise.
7736         * gdb.python/py-shared.exp: Likewise.
7737         * gdb.reverse/solib-precsave.exp: Likewise.
7738         * gdb.reverse/solib-reverse.exp: Likewise.
7739         * gdb.server/solib-list.exp: Likewise.
7740         * gdb.threads/dlopen-libpthread.exp: Likewise.
7741         * gdb.threads/tls-shared.exp: Likewise.
7742         * gdb.threads/tls-so_extern.exp: Likewise.
7743         * gdb.trace/change-loc.exp: Likewise.
7744         * gdb.trace/ftrace-lock.exp: Likewise.
7745         * gdb.trace/ftrace.exp: Likewise.
7746         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7747         * gdb.trace/pending.exp: Likewise.
7748         * gdb.trace/range-stepping.exp: Likewise.
7749         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7750         (strace_info_marker): Likewise.
7751         (strace_probe_marker): Likewise.
7752         (strace_trace_on_same_addr): Likewise.
7753         (strace_trace_on_diff_addr): Likewise.
7754         * gdb.trace/trace-break.exp: Likewise.
7755         * gdb.trace/trace-condition.exp: Likewise.
7756         * gdb.trace/trace-mt.exp: Likewise.
7757
7758 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7759
7760         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7761         result of gdb_remote_download.
7762         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7763         * gdb.base/dso2dso.exp: Likewise.
7764         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7765         * gdb.base/print-file-var.exp: Likewise.
7766         * gdb.base/shlib-call.exp: Likewise.
7767         * gdb.base/shreloc.exp: Likewise.
7768         * gdb.base/solib-overlap.exp: Likewise.
7769         * gdb.base/solib-weak.exp (do_test): Likewise.
7770         * gdb.base/unload.exp: Likewise.
7771
7772 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7773
7774         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7775         exists.
7776
7777 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7778
7779         * vla-type.exp: Print structure from toplevel.
7780
7781 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7782
7783         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7784         of dynamic types.
7785         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7786         of dynamic types.
7787
7788 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7789
7790         * gdb.fortran/vla-type.f90: New file.
7791         * gdb.fortran/vla-type.exp: New file.
7792
7793 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7794
7795         * gdb.base/branch-to-self.c: New file.
7796         * gdb.base/branch-to-self.exp: New file.
7797
7798 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7799
7800         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7801         more after $hex.
7802
7803 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7804
7805         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7806         * gdb.base/annota3.exp: Likewise.
7807
7808 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7809
7810         * gdb.reverse/step-precsave.exp: Do one step and test program
7811         stops in "callee" and do multiple steps until program goes out
7812         of "callee".
7813         * gdb.reverse/step-reverse.exp: Likewise.
7814
7815 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7816
7817         * gdb.trace/signal.exp: Also pass if
7818         $tracepoint_hits($i) > $iterations.
7819
7820 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7821
7822         * gdb.trace/signal.c: New file.
7823         * gdb.trace/signal.exp: New file.
7824
7825 2016-04-19  Doug Evans  <xdje42@gmail.com>
7826
7827         * gdb.base/bad-file.exp: New file.
7828
7829 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7830
7831         * gdb.dwarf2/implref.exp: New file.
7832
7833 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7834
7835         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7836         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7837         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7838         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7839         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7840         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7841         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7842         * lib/fortran.exp (fortran_int4): New procedure.
7843         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7844         (fortran_logical4): Likewise.
7845
7846 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7847
7848         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7849
7850 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7851
7852         * lib/compiler.c: Add Intel specific preprocessor macros.
7853         * lib/compiler.cc: Likewise.
7854
7855 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7856
7857         * gdb.server/connect-with-no-symbol-file.c: New file.
7858         * gdb.server/connect-with-no-symbol-file.exp: New file.
7859
7860 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7861
7862         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7863
7864 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7865
7866         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7867         standard output directory.
7868
7869 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7870
7871         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7872
7873 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7874
7875         * gdb.btrace/instruction_history.c (loop): Add declaration.
7876
7877 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7878
7879         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7880
7881 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7882
7883         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7884         parentheses to print.
7885         (continue_handler): Likewise.
7886
7887 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7888
7889         * gdb.server/solib-list.exp: Remove is_remote check.
7890         Pass shlib= to gdb_compile.  Don't link shared library with
7891         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7892         Run binary filename through "readlink -f" on the target.
7893
7894 2016-04-08  Pedro Alves  <palves@redhat.com>
7895
7896         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7897         interpreter filename as argument to gdbserver_spawn.
7898         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7899         Return empty if $last_loaded_file does not exist.
7900
7901 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7902
7903         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7904         * gdb.base/jit-main.c: Use exit after usage.
7905
7906 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7907
7908         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7909         GDBHISTSIZE prior to the tests.
7910         * gdb.base/gdbinit-history.exp: Likewise.
7911
7912 2016-04-07  Pedro Alves  <palves@redhat.com>
7913
7914         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7915         instead of build_executable.  Use gdb_load_shlibs.
7916
7917 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7918
7919         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7920         Execute "si" command.
7921
7922 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7923
7924         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7925         number instead of the comments on some line.
7926
7927 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7928
7929         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7930         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7931
7932 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7933
7934         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7935         standard_output_file.  Remove unused binfile variable.
7936
7937 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7938
7939         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7940         * gdb.python/py-mi-objfile.exp: Match "list main" output
7941         in console format.
7942
7943 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7944
7945         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7946         absolute.
7947
7948 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7949
7950         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7951         absolute.
7952         * gdb.trace/ftrace.exp: Likewise.
7953         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7954         targets as well.
7955         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7956         (gdb_load_shlibs): Copy libraries to test directory when testing
7957         natively.  Only set solib-search-path if testing remotely.
7958         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7959
7960 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7961
7962         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7963         gdb_download.  Use it even if the target is not remote.
7964         * gdb.base/jit.exp (compile_jit_test): Likewise.
7965         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7966         output directory if the destination board is local, otherwise use
7967         the standard remote_download from DejaGnu.
7968         (gdb_download): Remove.
7969         (gdb_load_shlibs): Use gdb_remote_download instead of
7970         gdb_download.
7971         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7972         Use gdb_remote_download instead of gdb_download.  Use it even if
7973         the target is not remote.
7974         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7975         instead of gdb_download.
7976
7977 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7978
7979         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7980         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7981         run.
7982
7983 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7984
7985         PR gdb/19820
7986         * gdb.base/printcmds.exp: Add artificial arrays tests.
7987
7988 2016-03-31  Pedro Alves  <palves@redhat.com>
7989
7990         PR gdb/19858
7991         * gdb.base/jit-main.c: Include unistd.h.
7992         (ATTACH): Define to 0 if not already defined.
7993         (wait_for_gdb, mypid): New globals.
7994         (WAIT_FOR_GDB): New macro.
7995         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7996         some breakpoint locations.
7997         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7998         New procedures.
7999         (one_jit_test): Add REATTACH parameter, and handle it.  Use
8000         continue_to_test_location.
8001         (top level): Test attach, and adjusts calls to one_jit_test.
8002
8003 2016-03-31  Pedro Alves  <palves@redhat.com>
8004
8005         PR gdb/19858
8006         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
8007         BINSUFFIX parameter, and handle it.
8008         (top level): Adjust calls compile_jit_test.
8009
8010 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
8011
8012         PR python/19743
8013         * gdb.python/py-mi-events-gdb.py: New file.
8014         * gdb.python/py-mi-events.c: New file.
8015         * gdb.python/py-mi-events.exp: New file.
8016
8017 2016-03-30  Yao Qi  <yao.qi@linaro.org>
8018
8019         * gdb.reverse/until-precsave.exp: Match function name only.
8020         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8021         Move malloc to a condition block.
8022         * gdb.reverse/until-reverse.exp: Match function name only.
8023
8024 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8025
8026         * gdb.trace/ftrace.exp: Set arg0exp for s390.
8027         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8028         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8029         variable for GPR 0 instead of assuming it is register 0.
8030         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8031         * lib/trace-support.exp: Add s390 registers.
8032
8033 2016-03-29  Yao Qi  <yao.qi@linaro.org>
8034
8035         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8036
8037 2016-03-24  Yao Qi  <yao.qi@linaro.org>
8038
8039         * gdb.reverse/break-reverse.exp: Add quotation mark in the
8040         test message.
8041
8042 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8043
8044         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8045         maintaining separate logic for constructing the output path.
8046
8047 2016-03-16  Don Breazeal  <donb@codesourcery.com>
8048
8049         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8050         Retry fork and waitpid on interrupted system call errors.
8051         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8052         Use with_timeout_factor to increase timeout by factor of 10.
8053
8054 2016-03-15  Don Breazeal  <donb@codesourcery.com>
8055
8056         * gdb.cp/scope-err.cc: New test program.
8057         * gdb.cp/scope-err.exp: New test script.
8058         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8059         lines and "set breakpoint here" comment.
8060         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8061         Fixed some whitespace and format issues.
8062         * gdb.mi/mi-linespec-err-cp.cc: New test program.
8063         * gdb.mi/mi-linespec-err-cp.exp: New test script.
8064
8065 2016-03-15  Doug Evans  <dje@google.com>
8066
8067         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8068         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8069         All callers updated.  Add tests for enums, mixed flags register.
8070
8071 2016-03-15  Doug Evans  <dje@google.com>
8072
8073         * gdb.base/skip.c (main): Call test_skip_file_and_function.
8074         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8075
8076 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
8077
8078         * gdb.base/default.exp: Add $_as_string to the list of expected
8079         convenience functions.
8080
8081 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8082
8083         * gdb.base/maint.exp: New tests for 'maint info line-table'.
8084
8085 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
8086
8087         * gdb.python/py-as-string.exp: New file.
8088         * gdb.python/py-as-string.c: New file.
8089
8090 2016-03-09  Pedro Alves  <palves@redhat.com>
8091
8092         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8093         signal" -> "Thread NN received signal" output change.
8094         * gdb.threads/ia64-sigill.exp: Likewise.
8095         * gdb.threads/linux-dp.exp: Likewise.
8096         * gdb.threads/manythreads.exp: Likewise.
8097         * gdb.threads/pending-step.exp: Likewise.
8098         * gdb.threads/print-threads.exp: Likewise.
8099         * gdb.threads/sigstep-threads.exp: Likewise.
8100         * gdb.threads/staticthreads.exp: Likewise.
8101         * gdb.threads/tls.exp: Likewise.
8102
8103 2016-03-09  Pedro Alves  <palves@redhat.com>
8104
8105         * gdb.base/command-line-input.exp: New file.
8106
8107 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8108
8109         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8110         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8111         * gdb.trace/pending.exp: Accept leading dot before function name.
8112         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8113         * lib/trace-support.exp: Set registers for ppc.
8114
8115 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8116
8117         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8118         use it for disassembly; accept .main in addition to main in backtrace.
8119
8120 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
8121             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8122
8123         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8124         (gdb_recursion_test_ptr): New global variable.
8125         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8126         gdb_recursion_test.
8127         (gdb_c_test): Ditto.
8128
8129 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8130
8131         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8132         ordering.
8133
8134 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8135
8136         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8137         (bar): Add bar_start_lbl label.
8138         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8139         of foo/bar for emitting DWARF and tracing.
8140
8141 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
8142
8143         * analyze-racy-logs.py: Set executable bit.
8144
8145 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
8146
8147         * Makefile.in (DEFAULT_RACY_ITER): New variable.
8148         (CHECK_TARGET_TMP): Likewise.
8149         (check-single-racy): New rule.
8150         (check-parallel-racy): Likewise.
8151         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8152         (do-check-parallel-racy): New rule.
8153         (check-racy/%.exp): Likewise.
8154         * README (Racy testcases): New section.
8155         * analyze-racy-logs.py: New file.
8156
8157 2016-03-03  Doug Evans  <dje@google.com>
8158
8159         * gdb.base/skip.exp: Use with_test_prefix.
8160
8161 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8162
8163         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8164         Invoke step_over_syscall "clone" and break_cond_on_syscall
8165         "clone".
8166         * gdb.base/step-over-clone.c: New file.
8167
8168 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8169
8170         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8171         code format.
8172
8173 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8174
8175         * gdb.base/disp-step-fork.c: Rename to ...
8176         * gdb.base/step-over-fork.c: ... it.  New file.
8177         * gdb.base/disp-step-vfork.c: Rename to ...
8178         * gdb.base/step-over-vfork.c: ... it.  New file.
8179         * gdb.base/disp-step-syscall.exp: Rename to ...
8180         * gdb.base/step-over-syscall.exp: ... it.  New file.
8181         (disp_step_cross_syscall): Rename to ...
8182         (step_over_syscall): ... it.
8183
8184 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8185
8186         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8187         If target supports condition evaluation on target, invoke
8188         break_cond_on_syscall for fork and vfork.
8189
8190 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8191
8192         * gdb.base/disp-step-syscall.exp: Don't invoke
8193         support_displaced_stepping.
8194         (disp_step_cross_syscall): Test with displaced stepping off and
8195         on if supported.
8196
8197 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8198
8199         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8200         proc.
8201         (setup): New proc.
8202         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8203         and setup.
8204
8205 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8206
8207         * gdb.fortran/vla-history.exp: Remove breakpoint.
8208
8209 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8210
8211         * gdb.fortran/vla-history.exp: Lookup array elements and printing
8212         exceeds timeout.
8213
8214 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8215
8216         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8217         breakpoint.
8218
8219 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8220
8221         * gdb.mi/vla.f90: Nullify pointer after declaration.
8222
8223 2016-03-01  Pedro Alves  <palves@redhat.com>
8224
8225         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8226
8227 2016-03-01  Pedro Alves  <palves@redhat.com>
8228
8229         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8230         before anything else.
8231         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
8232         _GNU_SOURCE here.
8233         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8234         before anything else.
8235         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8236
8237 2016-03-01  Pedro Alves  <palves@redhat.com>
8238
8239         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8240
8241 2016-03-01  Yao Qi  <yao.qi@linaro.org>
8242
8243         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8244         prepare_for_testing.
8245
8246 2016-03-01  Yao Qi  <yao.qi@linaro.org>
8247
8248         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8249
8250 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8251
8252         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8253         manually constructing the output path.
8254
8255 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8256
8257         * gdb.arch/s390-stackless.S: New.
8258         * gdb.arch/s390-stackless.exp: New.
8259
8260 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8261
8262         * gdb.dlang/circular.c: New file.
8263         * gdb.dlang/circular.exp: New file.
8264
8265 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8266
8267         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8268         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8269         (testcases): Update.
8270
8271 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8272
8273         * gdb.reverse/aarch64.c: Rename to ...
8274         * gdb.reverse/insn-reverse.c: ... it.
8275         * gdb.reverse/aarch64.exp: Rename to ...
8276         * gdb.reverse/insn-reverse.exp: ... it.
8277
8278 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8279
8280         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8281         (testcase_ftype): New.
8282         (testcases): New array.
8283         (n_testcases): New.
8284         (main): Call each element in testcases.
8285         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8286         (read_testcase): New.
8287         Do the tests in a loop.
8288
8289 2016-02-25  Yao Qi  <yao.qi@linaro.org>
8290
8291         * gdb.base/branches.c: Remove.
8292
8293 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8294
8295         PR gdb/13808
8296         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8297
8298 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8299
8300         * gdb.trace/ftrace.exp: Remove unnecessary target check.
8301
8302 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8303
8304         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8305         change x86_64 call_insn to 'callq'.
8306
8307 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8308
8309         * gdb.trace/tfile-avx.c: Move to...
8310         * gdb.trace/tracefile-pseudo-reg.c: Here.
8311         * gdb.trace/tfile-avx.exp: Move to...
8312         * gdb.trace/tracefile-pseudo-reg.exp: Here.
8313
8314 2016-02-24  Gary Benson <gbenson@redhat.com>
8315
8316         * gdb.base/attach-pie-noexec.exp: Do not expect an error
8317         message on attach.
8318
8319 2016-02-23  Doug Evans  <dje@google.com>
8320
8321         * gdb.base/skip.c (test_skip): New function.
8322         (end_test_skip_file_and_function): New function.
8323         (test_skip_file_and_function): New function.
8324         * gdb.base/skip1.c (test_skip): New function.
8325         (skip1_test_skip_file_and_function): New function.
8326         * gdb.base/skip.exp: Add tests for new skip options.
8327         * gdb.base/skip-solib.exp: Update expected output.
8328         * gdb.perf/skip-command.cc: New file.
8329         * gdb.perf/skip-command.exp: New file.
8330         * gdb.perf/skip-command.py: New file.
8331
8332 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8333
8334         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8335         info registers pattern.
8336
8337 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
8338
8339         * lib/future.exp: Add D support.
8340         (gdb_find_gdc): New proc.
8341         (gdb_default_target_compile): Add D support.
8342
8343 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
8344
8345         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8346         user+system time.
8347         (trace_speed_test): Determine the iteration count for a time
8348         between 15..30 seconds.
8349
8350 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8351
8352         * gdb.arch/i386-mpx-sigsegv.c: New file.
8353         * gdb.arch/i386-mpx-sigsegv.exp: New file.
8354         * gdb.arch/i386-mpx-simple_segv.c: New file.
8355         * gdb.arch/i386-mpx-simple_segv.exp: New file.
8356
8357 2016-02-18  Yao Qi  <yao.qi@linaro.org>
8358
8359         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8360         Don't call setup_kfail.
8361
8362 2016-02-18  Yao Qi  <yao.qi@linaro.org>
8363
8364         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8365         Set "set breakpoint condition-evaluation" per $cond_bp_target.
8366
8367 2016-02-16  Doug Evans  <dje@google.com>
8368
8369         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
8370         * gdb.base/skip1.c: Ditto.
8371         * gdb.base/skip.exp: Whitespace cleanup.
8372
8373 2016-02-16  Don Breazeal  <donb@codesourcery.com>
8374
8375         PR remote/19496
8376         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8377         Remove kfail for PR remote/19496.
8378
8379 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
8380
8381         * lib/gdb.exp (standard_temp_file): Return a path specific to
8382         the runtest invocation.
8383
8384 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
8385
8386         * gdb.trace/save-trace.exp: Change relative path to be in the
8387         standard output directory.
8388
8389 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8390
8391         * gdb.arch/i386-prologue.c: Add missing prototypes.
8392
8393 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8394
8395         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8396         * gdb.arch/i386-prologue.exp: Likewise.
8397         * gdb.arch/i386-size.exp: Likewise.
8398
8399 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
8400
8401         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8402         define object file path.
8403         * gdb.btrace/gcore.exp: Use standard_output_file to define core
8404         file path.
8405         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8406         standard_output_file to define binfile.
8407
8408 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8409
8410         Fix compatibility with recent gfortran-5.3.1.
8411         * gdb.fortran/vla-history.exp (print vla1 allocated)
8412         (print vla2 allocated, print $2, print $3): Remove
8413         (print $4): Rename to ...
8414         (print $2): ... here.
8415         (print $9): Rename to ...
8416         (print $5): ... here.
8417         (print $10): Rename to ...
8418         (print $6): ... here.
8419         * gdb.fortran/vla.f90: Add pvla initialization.
8420
8421 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8422
8423         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8424         New test.
8425         * gdb.fortran/vla-value-sub.exp: Likewise.
8426
8427 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8428
8429         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8430
8431 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
8432
8433         * i386-biarch-core.exp: Define corefile using
8434         standard_output_file.
8435
8436 2016-02-12  Yao Qi  <yao.qi@linaro.org>
8437
8438         * gdb.arch/arm-single-step-kernel-helper.c: New.
8439         * gdb.arch/arm-single-step-kernel-helper.exp: New.
8440
8441 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
8442
8443         * gdb.btrace/tailcall-only.exp: New.
8444         * gdb.btrace/tailcall-only.c: New.
8445         * gdb.btrace/x86_64-tailcall-only.S: New.
8446         * gdb.btrace/i686-tailcall-only.S: New.
8447
8448 2016-02-11  Pedro Alves  <palves@redhat.com>
8449
8450         * README (Parallel testing): Add missing double quotes.
8451
8452 2016-02-11  Pedro Alves  <palves@redhat.com>
8453
8454         * README (Parallel testing): New section.
8455         (GDB_PARALLEL): Rewrite.
8456         (FORCE_PARALLEL): Document.
8457
8458 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8459
8460         * gdb.trace/tfile-avx.c: New test.
8461         * gdb.trace/tfile-avx.exp: New test.
8462
8463 2016-02-09  Keith Seitz  <keiths@redhat.com>
8464
8465         PR breakpoints/19546
8466         * gdb.base/infcall-exec.c: New file.
8467         * gdb.base/infcall-exec2.c: New file.
8468         * gdb.base/infcall-exec.exp: New file.
8469
8470 2016-02-09  Keith Seitz  <keiths@redhat.com>
8471
8472         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8473         (toplevel): Call test_bkpt_address.
8474
8475 2016-02-09  Keith Seitz  <keiths@redhat.com>
8476
8477         PR python/19506
8478         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8479         (toplevel): Call test_bkpt_address.
8480
8481 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
8482
8483         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8484         to AC_OUTPUT.
8485         * configure: Regenerate.
8486
8487 2016-02-09  Pedro Alves  <palves@redhat.com>
8488
8489         PR breakpoints/19548
8490         * gdb.base/execl-update-breakpoints.c (some_function): New
8491         function.
8492         (main): Call it.
8493         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8494         Tighten expected GDB output.
8495
8496 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8497
8498         * Makefile.in (ALL_SUBDIRS): Remove.
8499         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8500         (distclean maintainer-clean realclean): Likewise.
8501         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8502         * configure: Regenerate.
8503         * gdb.ada/Makefile.in: Delete.
8504         * gdb.arch/Makefile.in: Likewise.
8505         * gdb.asm/Makefile.in: Likewise.
8506         * gdb.base/Makefile.in: Likewise.
8507         * gdb.btrace/Makefile.in: Likewise.
8508         * gdb.cell/Makefile.in: Likewise.
8509         * gdb.compile/Makefile.in: Likewise.
8510         * gdb.cp/Makefile.in: Likewise.
8511         * gdb.disasm/Makefile.in: Likewise.
8512         * gdb.dlang/Makefile.in: Likewise.
8513         * gdb.dwarf2/Makefile.in: Likewise.
8514         * gdb.fortran/Makefile.in: Likewise.
8515         * gdb.gdb/Makefile.in: Likewise.
8516         * gdb.go/Makefile.in: Likewise.
8517         * gdb.guile/Makefile.in: Likewise.
8518         * gdb.java/Makefile.in: Likewise.
8519         * gdb.linespec/Makefile.in: Likewise.
8520         * gdb.mi/Makefile.in: Likewise.
8521         * gdb.modula2/Makefile.in: Likewise.
8522         * gdb.multi/Makefile.in: Likewise.
8523         * gdb.objc/Makefile.in: Likewise.
8524         * gdb.opencl/Makefile.in: Likewise.
8525         * gdb.opt/Makefile.in: Likewise.
8526         * gdb.pascal/Makefile.in: Likewise.
8527         * gdb.perf/Makefile.in: Likewise.
8528         * gdb.python/Makefile.in: Likewise.
8529         * gdb.reverse/Makefile.in: Likewise.
8530         * gdb.server/Makefile.in: Likewise.
8531         * gdb.stabs/Makefile.in: Likewise.
8532         * gdb.threads/Makefile.in: Likewise.
8533         * gdb.trace/Makefile.in: Likewise.
8534         * gdb.xml/Makefile.in: Likewise.
8535         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8536         GDB_PARALLEL.
8537         (standard_output_file): Remove check for GDB_PARALLEL, always
8538         return path in outputs/$subdir/$testname.
8539
8540 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8541
8542         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8543         (site.exp): Assign abs_srcdir to tcl's srcdir.
8544
8545 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8546
8547         * gdb.base/foll-exec-mode.c: Include limits.h.
8548         (main): Add parameters argc and argv.  Get directory from
8549         argv[0].
8550         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8551         compilation.
8552         * gdb.base/foll-exec.c: Include limits.h.
8553         (main): Add parameters argc and argv.
8554         Get directory from argv[0].
8555         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8556         Adjust tests on the number of lines as source code changed.
8557         * gdb.base/foll-vfork-exit.c: Include limits.h.
8558         (main): Add one line of statement before vfork.
8559         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8560         (main): Add parameters argc and argv.  Get directory from
8561         argv[0].
8562         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8563         (setup_gdb): Set tbreak to skip some source lines.
8564         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8565         (main): Add parameters argc and argv.  Get directory from
8566         argv[0].
8567         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8568         compilation.
8569         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8570         (main): Add parameters argc and argv.  Get directory from
8571         argv[0].
8572         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8573         compilation.
8574
8575 2016-02-01  Doug Evans  <dje@google.com>
8576
8577         * gdb.base/skip.exp: Clean up multiple references to same test name.
8578
8579 2016-02-01  Pedro Alves  <palves@redhat.com>
8580
8581         PR remote/19496
8582         * gdb.threads/forking-threads-plus-breakpoint.exp
8583         (displaced_stepping_supported): New global.
8584         (probe_displaced_stepping_support): New procedure.
8585         (do_test): Add 'displaced' parameter, and use it.
8586         (top level): Check for displaced stepping support.  Add displaced
8587         stepping on/off testing axis.
8588
8589 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8590
8591         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8592         pointer.  Don't perform further tests on the unassociated pointer
8593         if the first test fails.
8594
8595 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8596
8597         * gdb.base/max-value-size.c: New file.
8598         * gdb.base/max-value-size.exp: New file.
8599         * gdb.base/huge.exp: Disable max-value-size for this test.
8600
8601 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8602
8603         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8604
8605 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8606
8607         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8608
8609 2016-01-25  Pedro Alves  <palves@redhat.com>
8610
8611         PR threads/19461
8612         * gdb.base/fork-running-state.c: New file.
8613         * gdb.base/fork-running-state.exp: New file.
8614
8615 2016-01-25  Pedro Alves  <palves@redhat.com>
8616
8617         PR gdb/19494
8618         * gdb.base/catch-fork-kill.c: New file.
8619         * gdb.base/catch-fork-kill.exp: New file.
8620
8621 2016-01-25  Pedro Alves  <palves@redhat.com>
8622
8623         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8624         Delete, moved to lib/gdb.exp.
8625         * gdb.threads/forking-threads-plus-breakpoint.exp
8626         (foreach_with_prefix): Likewise.
8627         * gdb.threads/process-dies-while-handling-bp.exp
8628         (foreach_with_prefix): Likewise.
8629         * lib/gdb.exp (foreach_with_prefix): New procedure.
8630
8631 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8632
8633         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8634         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8635
8636 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8637
8638         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8639         endian targets.
8640
8641 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8642             Pedro Alves  <palves@redhat.com>
8643
8644         Fix testsuite compatibility with Guile.
8645         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8646         number.
8647
8648 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8649
8650         Fix testsuite compatibility with Guile.
8651         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8652         (thread 1): New test for backtrace through signal handler.
8653
8654 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8655
8656         PR testsuite/19491
8657         * gdb.base/multi-forks.c: Include
8658         ../lib/unbuffer_output.c
8659         (main): Call gdb_unbuffer_output.
8660
8661 2016-01-21  Doug Evans  <dje@google.com>
8662
8663         * lib/ada.exp (gdb_compile_ada): Fix typo.
8664
8665 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8666
8667         * gdb.base/break-fun-addr.exp: New file.
8668         * gdb.base/break-fun-addr1.c: New file.
8669         * gdb.base/break-fun-addr2.c: New file.
8670
8671 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8672
8673         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8674         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8675         enum flag values.
8676
8677 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8678
8679         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8680         when GDB can not set the vector return value.  Add more comments
8681         for clarification.
8682
8683 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8684
8685         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8686         command.
8687
8688 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8689
8690         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8691
8692 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8693
8694         * Makefile.in (check-single): Pass --status to runtest.
8695         (check/%.exp): Likewise.
8696
8697 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8698
8699         * Makefile.in (check-parallel): Propagate return code from make
8700         do-check-parallel.
8701
8702 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8703
8704         * gdb.trace/ftrace.exp: Fix expected message on continue.
8705         * gdb.trace/pending.exp: Fix expected message on continue.
8706         * gdb.trace/trace-break.exp: Fix expected message on continue.
8707
8708 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8709
8710         * lib/gdb.exp (gdb_test): Remove unused global references.
8711
8712 2016-01-18  Pedro Alves  <palves@redhat.com>
8713
8714         * gdb.base/async-shell.exp: Adjust expected output.
8715         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8716         * gdb.base/siginfo-thread.exp: Adjust expected output.
8717         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8718         * gdb.java/jnpe.exp: Adjust expected output.
8719         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8720         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8721         * gdb.threads/leader-exit.exp: Adjust expected output.
8722         * gdb.threads/manythreads.exp: Adjust expected output.
8723         * gdb.threads/pthreads.exp: Adjust expected output.
8724         * gdb.threads/schedlock.exp: Adjust expected output.
8725         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8726         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8727         expected output.
8728         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8729         output.
8730         * gdb.threads/sigthread.exp: Adjust expected output.
8731         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8732
8733 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8734
8735         * gdb.guile/scm-section-script.c: Replace @progbits with
8736         %progbits.
8737         * gdb.python/py-section-script.c: Likewise.
8738
8739 2016-01-15  Pedro Alves  <palves@redhat.com>
8740
8741         * gdb.multi/tids.exp: Test star wildcard ranges.
8742
8743 2016-01-15  Pedro Alves  <palves@redhat.com>
8744
8745         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8746         command from "thread apply" invocation.
8747         (thr_apply_info_thr_invalid): Default the expected output to the
8748         input tid list.
8749         (top level): Add tests that use convenience variables.  Add tests
8750         for "thread apply" with a valid TID list, but missing the command.
8751
8752 2016-01-13  Pedro Alves  <palves@redhat.com>
8753
8754         * gdb.base/default.exp: Expect $_gthread as well.
8755         * gdb.multi/tids.exp: Test $_gthread.
8756         * gdb.threads/thread-specific.exp: Test $_gthread.
8757
8758 2016-01-13  Pedro Alves  <palves@redhat.com>
8759
8760         * gdb.multi/tids.exp: Test "info threads -gid".
8761
8762 2016-01-13  Pedro Alves  <palves@redhat.com>
8763
8764         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8765         Breakpoint.thread.
8766         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8767
8768 2016-01-07  Pedro Alves  <palves@redhat.com>
8769
8770         * gdb.base/break.exp: Adjust to output changes.
8771         * gdb.base/hbreak2.exp: Likewise.
8772         * gdb.base/sepdebug.exp: Likewise.
8773         * gdb.base/watch_thread_num.exp: Likewise.
8774         * gdb.linespec/keywords.exp: Likewise.
8775         * gdb.multi/info-threads.exp: Likewise.
8776         * gdb.threads/thread-find.exp: Likewise.
8777         * gdb.multi/tids.c: New file.
8778         * gdb.multi/tids.exp: New file.
8779
8780 2016-01-13  Pedro Alves  <palves@redhat.com>
8781
8782         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8783
8784 2016-01-13  Pedro Alves  <palves@redhat.com>
8785
8786         * gdb.base/default.exp: Expect $_inferior as well.
8787         * gdb.multi/base.exp: Test $_inferior.
8788
8789 2016-01-13  Pedro Alves  <palves@redhat.com>
8790
8791         PR breakpoints/19388
8792         * gdb.base/catch-signal-siginfo-cond.c: New file.
8793         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8794
8795 2016-01-12  Josh Stone  <jistone@redhat.com>
8796             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8797
8798         * gdb.base/catch-syscall.c (do_execve): New variable.
8799         (main): Conditionally trigger an execve.
8800         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8801         (test_catch_syscall_execve): New, check entry/return across execve.
8802         (do_syscall_tests): Call test_catch_syscall_execve.
8803
8804 2016-01-12  Pedro Alves  <palves@redhat.com>
8805
8806         * gdb.base/random-signal.exp (do_test): New procedure, with body
8807         of testcase moved in.
8808
8809 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8810             Pedro Alves  <palves@redhat.com>
8811
8812         * gdb.base/funcargs.exp (finish from indirectly called function):
8813         Reintroduce the case for 'First'.
8814
8815 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8816             Pedro Alves  <palves@redhat.com>
8817
8818         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8819         (tcatch_vfork_then_child_follow_exec)
8820         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8821         identification.
8822
8823 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8824
8825         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8826         and repeats to unlimited.
8827         * gdb.python/py-value.exp: Likewise.
8828         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8829         and repeats to unlimited.
8830
8831 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8832
8833         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8834         and reordering the functions.
8835         * gdb.multi/hangout.c: Likewise.
8836         * gdb.multi/hello.c: Likewise.
8837
8838 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8839
8840         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8841         absolute.
8842         (SingleStatisticTestResult.report): Use dict.keys instead of
8843         dict.iterkeys.
8844
8845 2016-01-06  Pedro Alves  <palves@redhat.com>
8846
8847         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8848
8849 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8850
8851         * gdb.btrace/dlopen.exp: New.
8852         * gdb.btrace/dlopen.c: New.
8853         * gdb.btrace/dlopen-dso.c: New.
8854
8855 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8856
8857         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8858         PATTERN argument is optional.
8859
8860 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8861
8862         * lib/ada.exp (target_compile_ada_from_dir): New function.
8863         (gdb_compile_ada): Reimplement avoiding the use of project files.
8864         * gdb.ada/gnat_ada.gpr: Delete.
8865         * gdb.ada/cond_lang.exp: Adjust test to make path before
8866         filename optional.
8867         * gdb.ada/small_reg_param.exp: Likewise.
8868
8869 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8870
8871         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8872
8873 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8874
8875         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8876         case.
8877
8878 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8879
8880         * gdb.base/break.exp: Remove dead code.
8881         * gdb.base/sepdebug.exp: Likewise.
8882
8883 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8884
8885         * gdb.asm/asm-source.exp: Remove HP-UX references.
8886         * gdb.base/annota1.exp: Likewise.
8887         * gdb.base/annota3.exp: Likewise.
8888         * gdb.base/attach.exp: Likewise.
8889         * gdb.base/bigcore.exp: Likewise.
8890         * gdb.base/break.exp: Likewise.
8891         * gdb.base/call-ar-st.exp: Likewise.
8892         * gdb.base/callfuncs.exp: Likewise.
8893         * gdb.base/catch-fork-static.exp: Likewise.
8894         * gdb.base/display.exp: Likewise.
8895         * gdb.base/foll-exec-mode.exp: Likewise.
8896         * gdb.base/foll-exec.exp: Likewise.
8897         * gdb.base/foll-fork.exp: Likewise.
8898         * gdb.base/foll-vfork.exp: Likewise.
8899         * gdb.base/funcargs.exp: Likewise.
8900         * gdb.base/hbreak2.exp: Likewise.
8901         * gdb.base/inferior-died.exp: Likewise.
8902         * gdb.base/interrupt.exp: Likewise.
8903         * gdb.base/multi-forks.exp: Likewise.
8904         * gdb.base/nodebug.exp: Likewise.
8905         * gdb.base/sepdebug.exp: Likewise.
8906         * gdb.base/solib1.c: Likewise.
8907         * gdb.base/step-test.exp: Likewise.
8908         * gdb.mi/non-stop.c: Likewise.
8909         * gdb.mi/pthreads.c: Likewise.
8910         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8911         * gdb.threads/pthreads.c: Likewise.
8912         * gdb.threads/staticthreads.exp: Likewise.
8913         * lib/future.exp: Likewise.
8914         * lib/gdb.exp: Likewise.
8915         * gdb.base/so-indr-cl.c: Remove.
8916         * gdb.base/so-indr-cl.exp: Likewise.
8917         * gdb.base/solib.c: Likewise.
8918         * gdb.base/solib.exp: Likewise.
8919         * gdb.base/solib2.c: Likewise.
8920
8921 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8922
8923         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8924         * gdb.base/call-ar-st.exp: Likewise.
8925         * gdb.base/callfuncs.exp: Likewise.
8926         * gdb.base/condbreak.exp: Likewise.
8927         * gdb.base/constvars.exp: Likewise.
8928         * gdb.base/hbreak2.exp: Likewise.
8929         * gdb.base/langs.exp: Likewise.
8930         * gdb.base/list.exp: Likewise.
8931         * gdb.base/long_long.exp: Likewise.
8932         * gdb.base/ptype.exp: Likewise.
8933         * gdb.base/scope.exp: Likewise.
8934         * gdb.base/signals.exp: Likewise.
8935         * gdb.base/so-impl-ld.exp: Likewise.
8936         * gdb.base/varargs.exp: Likewise.
8937         * gdb.base/volatile.exp: Likewise.
8938         * gdb.base/whatis.exp: Likewise.
8939         * gdb.cp/cplusfuncs.exp: Likewise.
8940         * gdb.cp/inherit.exp: Likewise.
8941         * gdb.cp/local.exp: Likewise.
8942         * gdb.cp/member-ptr.exp: Likewise.
8943         * gdb.cp/method.exp: Likewise.
8944         * gdb.cp/overload.exp: Likewise.
8945         * gdb.cp/templates.exp: Likewise.
8946         * gdb.stabs/weird.exp: Likewise.
8947         * lib/compiler.c: Likewise.
8948         * lib/compiler.cc: Likewise.
8949         * lib/cp-support.exp: Likewise.
8950         * lib/gdb.exp: Likewise.
8951
8952 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8953
8954         * configure.ac: Remove HP-UX case.
8955         * configure: Regenerate.
8956
8957 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8958
8959         * lib/gdb.exp (gdb_compile): Add function doc.
8960
8961 2015-12-17  Pedro Alves  <palves@redhat.com>
8962
8963         PR threads/19354
8964         * gdb.multi/info-threads.exp: New file.
8965
8966 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8967
8968         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8969         is aarch64*-*-*.
8970
8971 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8972
8973         * gdb.base/history-duplicates.exp: Skip if no readline support.
8974
8975 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8976
8977         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8978
8979 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8980
8981         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8982
8983 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8984
8985         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8986         ctrl-C if nointerrupts target property is set.
8987         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8988         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8989         * gdb.base/paginate-bg-execution.exp: Likewise.
8990         * gdb.base/paginate-execution-startup.exp: Likewise.
8991         * gdb.base/random-signal.exp: Likewise.
8992         * gdb.base/range-stepping.exp: Likewise.
8993         * gdb.cp/annota2.exp: Likewise.
8994         * gdb.cp/annota3.exp: Likewise.
8995         * gdb.gdb/selftest.exp: Likewise.
8996         * gdb.threads/continue-pending-status.exp: Likewise.
8997         * gdb.threads/leader-exit.exp: Likewise.
8998         * gdb.threads/manythreads.exp: Likewise.
8999         * gdb.threads/pthreads.exp: Likewise.
9000         * gdb.threads/schedlock.exp: Likewise.
9001         * gdb.threads/sigthread.exp: Likewise.
9002
9003 2015-12-11  Don Breazeal  <donb@codesourcery.com>
9004
9005         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9006         remote.
9007         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9008         * gdb.base/foll-exec.exp (main): Enable for target remote.
9009         * gdb.base/foll-fork.exp (main): Likewise.
9010         * gdb.base/foll-vfork.exp (main): Likewise.
9011         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9012         (proc continue_to_exit_bp_loc): Use clean_restart.
9013         * gdb.base/pie-execl.exp (main): Disable for target remote.
9014         * gdb.base/watch-vfork.exp (main): Enable for target remote.
9015         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9016         * gdb.threads/execl.exp (main): Likewise.
9017         * gdb.threads/fork-child-threads.exp (main): Likewise.
9018         * gdb.threads/fork-plus-threads.exp (main): Disable for target
9019         remote.
9020         * gdb.threads/fork-thread-pending.exp (main): Enable for target
9021         remote.
9022         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9023         pid.tid style ptids, instead of just tid.
9024         * gdb.threads/thread-execl.exp (main): Enable for target remote.
9025         * gdb.threads/watchpoint-fork.exp (main): Likewise.
9026         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9027         ptids, instead of just tid.
9028
9029 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9030
9031         * gdb.base/list.exp (test_list_forward): Add end of file error
9032         test.
9033         (test_repeat_list_command): Add end of file error test.
9034         (test_list_backwards): Add beginning of file error test.
9035
9036 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9037
9038         * gdb.base/list.exp (test_list_invalid_args): New function,
9039         defined, and called.
9040
9041 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9042
9043         * gdb.base/list.exp (test_list): Make test names unique.
9044
9045 2015-12-11  Yao Qi  <yao.qi@linaro.org>
9046
9047         * gdb.base/coremaker2.c: Remove.
9048
9049 2015-12-10  Pedro Alves  <palves@redhat.com>
9050
9051         * gdb.multi/base.exp: Remove stale "spaces" references.
9052
9053 2015-12-10  Pedro Alves  <palves@redhat.com>
9054
9055         * gdb.multi/base.exp: Don't use nowarnings.
9056         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9057         * gdb.multi/hangout.c: Include stdio.h.
9058         * gdb.multi/hello.c: Include stdlib.h.
9059         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9060         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9061         * gdb.multi/multi-arch.exp: Don't use nowarnings.
9062
9063 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
9064
9065         * gdb.dwarf2/dw2-ranges-base.c: New file.
9066         * gdb.dwarf2/dw2-ranges-base.exp: New file.
9067         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9068         support additional line table, and debug ranges generation.
9069         (Dwarf::ranges): New function, generate .debug_ranges.
9070         (Dwarf::lines): Support generating simple line table programs.
9071         (Dwarf::assemble): Initialise new namespace variables.
9072
9073 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
9074
9075         * gdb.base/async.exp (proc test_background): Add case for
9076         asynchronous execution not supported.
9077
9078 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
9079
9080         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9081           format and change test names to make them unique.
9082
9083 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
9084             Pedro Alves  <pedro@redhat.com>
9085
9086         PR gdb/18702
9087         Add checking of floatformats setup on x86_64 hosts.
9088         * gdb.arch/i386-float.S (main): Load bigval and smallval.
9089         (smallval, bigval): New labels/constants.
9090         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9091         float" after loading bigval and smallval.
9092
9093 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
9094
9095         * gdb.ada/fun_overload_menu.exp: New testcase.
9096         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9097
9098 2015-12-04  Josh Stone  <jistone@redhat.com>
9099
9100         * gdb.base/catch-fork-static.exp: New.
9101
9102 2015-12-03  Yao Qi  <yao.qi@linaro.org>
9103
9104         * gdb.base/sizeof.c: Don't include stdio.h and
9105         ../lib/unbuffer_output.c.
9106         (main): New variable 'size' and 'value'.  Remove printf and
9107         gdb_unbuffer_output.  Assign return value to size and value.
9108         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9109         at the beginning.
9110         (check_sizeof): Check the result by printing variable 'size'.
9111         (check_valueof): Check the result by printing variable 'value'.
9112
9113 2015-12-01  Yao Qi  <yao.qi@linaro.org>
9114
9115         * gdb.base/disp-step-syscall.exp: Define syscall instruction
9116         for aarch64*-*-linux* target.
9117
9118 2015-11-30  Pedro Alves  <palves@redhat.com>
9119
9120         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9121
9122 2015-11-30  Pedro Alves  <palves@redhat.com>
9123
9124         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9125         Handle non-stop mode vCont replies.
9126
9127 2015-11-30  Pedro Alves  <palves@redhat.com>
9128
9129         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9130         prepare_for_testing.  Start gdb with "set non-stop on" appended to
9131         GDBFLAGS.  Lax expected stop output.
9132
9133 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9134
9135         * gdb.arch/arm-neon.exp: New.
9136         * gdb.arch/arm-neon.c: New.
9137
9138 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9139
9140         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9141
9142 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9143
9144         * gdb.cp/annota2.exp: Allow multiple occurrences of the
9145         frames-invalid annotation.
9146
9147 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9148
9149         * gdb.cp/annota2.exp: Use ${frames_invalid}.
9150
9151 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
9152
9153         * gdb.threads/names.exp: New file.
9154         * gdb.threads/names.c: New file.
9155         * README: Mention gdb,no_thread_names.
9156
9157 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
9158
9159         PR 19297
9160         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9161         support" error.
9162
9163 2015-11-24  Pedro Alves  <palves@redhat.com>
9164
9165         PR 17539
9166         * gdb.base/display.exp: Expect displays to be sorted in ascending
9167         order.  Use multi_line.
9168         * gdb.base/solib-display.exp: Likewise.
9169
9170 2015-11-24  Pedro Alves  <palves@redhat.com>
9171
9172         PR 17539
9173         * gdb.base/display.exp: Expect displays to be sorted in ascending
9174         order.  Use multi_line.
9175         * gdb.base/solib-display.exp: Likewise.
9176
9177 2015-11-24  Pedro Alves  <palves@redhat.com>
9178
9179         PR 17539
9180         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9181         threads in ascending order.
9182         * gdb.base/foll-fork.exp: Likewise.
9183         * gdb.base/foll-vfork.exp: Likewise.
9184         * gdb.base/multi-forks.exp: Likewise.
9185         * gdb.mi/mi-nonstop.exp: Likewise.
9186         * gdb.mi/mi-nsintrall.exp: Likewise.
9187         * gdb.multi/base.exp: Likewise.
9188         * gdb.multi/multi-arch.exp: Likewise.
9189         * gdb.python/py-inferior.exp: Likewise.
9190         * gdb.threads/break-while-running.exp: Likewise.
9191         * gdb.threads/execl.exp: Likewise.
9192         * gdb.threads/gcore-thread.exp: Likewise.
9193         * gdb.threads/info-threads-cur-sal.exp: Likewise.
9194         * gdb.threads/kill.exp: Likewise.
9195         * gdb.threads/linux-dp.exp: Likewise.
9196         * gdb.threads/multiple-step-overs.exp: Likewise.
9197         * gdb.threads/next-bp-other-thread.exp: Likewise.
9198         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9199         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9200         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9201         * gdb.threads/thread-find.exp: Likewise.
9202         * gdb.threads/tls.exp: Likewise.
9203         * lib/mi-support.exp (mi_reverse_list): Delete.
9204         (mi_check_thread_states): No longer reverse list.
9205
9206 2015-11-24  Pedro Alves  <palves@redhat.com>
9207
9208         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
9209         use lowercase.
9210
9211 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
9212
9213         * gdb.trace/actions.c: Include trace-common.h.
9214         (main): Add a location for a fast tracepoint.
9215         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9216         the normal tracepoints.
9217         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9218
9219 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
9220
9221         * save-trace.exp: Factor out code to these...
9222         (gdb_save_tracepoints): New.
9223         (gdb_load_tracepoints): New.
9224         (do_save_load_test): New.
9225
9226 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
9227
9228         * gdb.base/asmlabel.exp: New test.
9229         * gdb.base/asmlabel.c: New test case.
9230
9231 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
9232
9233         * gdb.base/wrong_frame_bt_full-main.c: New file.
9234         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9235         * gdb.base/wrong_frame_bt_full.exp: New file.
9236
9237 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
9238
9239         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9240
9241 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
9242
9243         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9244         pstate register when comparing registers values in
9245         sparc64-*-linux-gnu targets to avoid spurious differences.
9246
9247 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
9248
9249         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9250
9251 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
9252
9253         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9254         as type argument to gdb_compile.
9255         * gdb.base/nested-subp2.exp: Likewise.
9256         * gdb.base/nested-subp3.exp: Likewise.
9257
9258 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9259
9260         * lib/dwarf.exp (_note): Fix left shift of negative value.
9261         * gdb.trace/trace-condition.exp: Likewise.
9262
9263 2015-11-13  Yao Qi  <yao.qi@linaro.org>
9264
9265         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9266         comments about d10v.
9267         (test_scalar_returns): Likewise.
9268         * gdb.base/d10v.ld: Remove.
9269         * gdb.base/overlays.exp: Remove the target triplet checking for
9270         d10v-*-*.
9271         * gdb.base/structs.exp (test_struct_returns): Remove the
9272         comments about d10v.
9273         (test_struct_calls): Likewise.
9274
9275 2015-11-13  Yao Qi  <yao.qi@linaro.org>
9276
9277         * gdb.base/gnu_vector.exp: Check the return value by "p res".
9278         * gdb.base/gnu_vector.c: Don't include stdio.h.
9279         (main): Don't print res and call add_some_intvecs.
9280
9281 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9282
9283         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9284         macro.
9285         (func5): Removed.
9286         (func4): Use FAST_TRACEPOINT_LABEL.
9287         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9288         macro.
9289         (func): Removed.
9290         (thread_function): Use FAST_TRACEPOINT_LABEL.
9291         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9292         (func): Remove.
9293         (marker): Use FAST_TRACEPOINT_LABEL.
9294         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9295         (pendfunc1): Remove.
9296         (pendfunc): Use FAST_TRACEPOINT_LABEL.
9297         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9298         (foo): Remove.
9299         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9300         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9301         macro.
9302         (func): Remove.
9303         (marker): Use FAST_TRACEPOINT_LABEL.
9304         * gdb.trace/trace-common.h: New header.
9305         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9306         macro.
9307         (func): Remove.
9308         (marker): Use FAST_TRACEPOINT_LABEL.
9309         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9310         (func): Remove.
9311         (thread_function): Use FAST_TRACEPOINT_LABEL.
9312
9313 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9314
9315         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9316         in front.
9317         * gdb.trace/change-loc.exp: Use global pcreg definition.
9318         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9319         * gdb.trace/entry-values.exp: Use global spreg definition, add $
9320         in front.
9321         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9322         * gdb.trace/pending.exp: Likewise.
9323         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9324         * gdb.trace/trace-break.exp: Likewise.
9325         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9326         in front.
9327         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9328         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9329         in front.
9330         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9331
9332 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
9333
9334         * gdb.ada/fin_fun_out: New testcase.
9335
9336 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
9337
9338         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9339         value associated with DW_AT_byte_size.
9340         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9341         constants for DW_AT_byte_size, DW_AT_lower_bound, and
9342         DW_AT_upper_bound.
9343
9344 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
9345
9346         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9347         (gdb_target_symbol_prefix_flags): Define in terms of _asm
9348         version.
9349         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9350         gdb.dwarf2/dw2-canonicalize-type.exp,
9351         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9352         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9353         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9354         provided by gdb_target_symbol_prefix_flags_asm.
9355         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9356         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9357         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9358         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9359         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9360         macros where needed).  Use this macro for symbols which require
9361         the prefix provided by SYMBOL_PREFIX.
9362
9363 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
9364
9365         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9366         New procs.
9367         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9368         representing expressions, of more than one list element.
9369         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9370         to prepend linker symbol prefix to f.
9371         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9372         table_1 and table_2.
9373         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9374         Likewise, for f and g.
9375         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9376         for ptr.
9377         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9378         for main.
9379         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9380         table_1_ptr and table_2_ptr.
9381
9382 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9383             Joel Brobecker  <brobecker@adacore.com>
9384
9385         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9386
9387 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9388
9389         * gdb.reverse/s390-mvcle.c: New test.
9390         * gdb.reverse/s390-mvcle.exp: New file.
9391         * lib/gdb.exp: Enable reverse tests on s390*-linux.
9392
9393 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9394
9395         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9396
9397 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9398
9399         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9400         reaching marker2.
9401         * gdb.reverse/getresuid-reverse.exp: Likewise.
9402         * gdb.reverse/pipe-reverse.exp: Likewise.
9403         * gdb.reverse/readv-reverse.exp: Likewise.
9404         * gdb.reverse/recvmsg-reverse.exp: Likewise.
9405         * gdb.reverse/time-reverse.exp: Likewise.
9406         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9407
9408 2015-10-30  Yao Qi  <yao.qi@linaro.org>
9409
9410         * gdb.threads/wp-replication.c (watch_count_done): Remove.
9411         (empty_cycle): Remove.
9412         (main): Don't call empty_cycle.  Don't use watch_count_done.
9413         * gdb.threads/wp-replication.exp: Don't set breakpoint on
9414         empty_cycle.  Rewrite the code counting HW watchpoints.
9415
9416 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9417
9418         * gdb.reverse/fstatat-reverse.c: New test.
9419         * gdb.reverse/fstatat-reverse.exp: New file.
9420         * gdb.reverse/getresuid-reverse.c: New test.
9421         * gdb.reverse/getresuid-reverse.exp: New file.
9422         * gdb.reverse/pipe-reverse.c: New test.
9423         * gdb.reverse/pipe-reverse.exp: New file.
9424         * gdb.reverse/readv-reverse.c: New test.
9425         * gdb.reverse/readv-reverse.exp: New file.
9426         * gdb.reverse/recvmsg-reverse.c: New test.
9427         * gdb.reverse/recvmsg-reverse.exp: New file.
9428         * gdb.reverse/time-reverse.c: New test.
9429         * gdb.reverse/time-reverse.exp: New file.
9430         * gdb.reverse/waitpid-reverse.c: New test.
9431         * gdb.reverse/waitpid-reverse.exp: New file.
9432
9433 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9434
9435         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9436
9437 2015-10-26  Doug Evans  <dje@google.com>
9438
9439         PR symtab/17391
9440         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9441         * gdb.dwarf2/bad-regnum.c: New file.
9442         * gdb.dwarf2/bad-regnum.exp: New file.
9443
9444 2015-10-26  Doug Evans  <dje@google.com>
9445
9446         PR python/18938
9447         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9448         file.
9449
9450 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9451
9452         * gdb.compile/compile.exp (compile code globalvar): Update expectation
9453         for a change by "Mention language in compile error message".
9454
9455 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
9456
9457         PR python/18073
9458         * gdb.python/py-type.c (C::a_method): New.
9459         (C::a_const_method): New.
9460         (C::a_static_method): New.
9461         (a_function): New.
9462         * gdb.python/py-type.exp (test_fields): Test getting fields
9463         from function and method.
9464
9465 2015-10-21  Keven Boell  <keven.boell@intel.com>
9466
9467         * gdb.fortran/vla-alloc-assoc.exp: New file.
9468         * gdb.fortran/vla-datatypes.exp: New file.
9469         * gdb.fortran/vla-datatypes.f90: New file.
9470         * gdb.fortran/vla-history.exp: New file.
9471         * gdb.fortran/vla-ptype-sub.exp: New file.
9472         * gdb.fortran/vla-ptype.exp: New file.
9473         * gdb.fortran/vla-sizeof.exp: New file.
9474         * gdb.fortran/vla-sub.f90: New file.
9475         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9476         * gdb.fortran/vla-value-sub-finish.exp: New file.
9477         * gdb.fortran/vla-value-sub.exp: New file.
9478         * gdb.fortran/vla-value.exp: New file.
9479         * gdb.fortran/vla-ptr-info.exp: New file.
9480         * gdb.mi/mi-vla-fortran.exp: New file.
9481         * gdb.mi/vla.f90: New file.
9482
9483 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
9484
9485         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9486         of hardwired timeout value.
9487
9488 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9489             Pedro Alves  <palves@redhat.com>
9490
9491         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9492         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9493
9494 2015-10-19  Josh Stone  <jistone@redhat.com>
9495
9496         * gdb.base/catch-syscall.c: Include <sched.h>.
9497         (unknown_syscall): New variable.
9498         (main): Trigger a vfork and an unknown syscall.
9499         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9500         (unknown_syscall_number): Likewise.
9501         (check_call_to_syscall): Accept an optional syscall pattern.
9502         (check_return_from_syscall): Likewise.
9503         (check_continue): Likewise.
9504         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9505         (test_catch_syscall_skipping_return): New test toggling off 'catch
9506         syscall' to step over the syscall return, then toggling back on.
9507         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9508         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9509         (do_syscall_tests): Call test_catch_syscall_without_args and
9510         test_catch_syscall_mid_vfork.
9511         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9512         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9513
9514 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9515
9516         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9517         print g_vE): Add new pass patterns.
9518         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9519         print various symbol names for vptr fields.
9520
9521 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9522
9523         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9524         results.
9525
9526 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9527
9528         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9529
9530 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9531
9532         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9533         is aarch64*-*-linux*.
9534
9535 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9536
9537         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9538         (can_relocate_bcond_true): ... it.
9539         (can_relocate_bcond_false): New function.
9540         (foo): Likewise.
9541         (can_relocate_bl): Likewise.
9542         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9543         can_relocate_bl.
9544
9545 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9546
9547         * gdb.base/nested-addr.c: New file.
9548         * gdb.base/nested-addr.exp: New testcase.
9549
9550 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9551
9552         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9553         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9554         its output.  Ignore the output of "record goto begin" and instead
9555         check that GDB is replaying.
9556
9557 2015-10-09  Pedro Alves  <palves@redhat.com>
9558
9559         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9560         (top level): Use it in the run with no args test.
9561
9562 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9563
9564         * gdb.dlang/properties.exp: New file.
9565
9566 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9567
9568         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9569         whether or not address 0x1000 is mapped on the target.
9570
9571 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9572
9573         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9574         build.
9575
9576 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9577
9578         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9579         instruction-history test.
9580
9581 2015-09-28  Doug Evans  <dje@google.com>
9582
9583         * gdb.base/gcore.c (array_func): Add reference to static_array.
9584
9585 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9586
9587         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9588         source line.
9589
9590 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9591
9592         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9593         short or char as base type.
9594
9595 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9596
9597         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9598         to allow any size enum.
9599
9600 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9601
9602         * gdb.ada/array_ptr_renaming.exp: New testcase.
9603         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9604         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9605
9606 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9607
9608         * gdb.trace/ftrace-lock.c: New file.
9609         * gdb.trace/ftrace-lock.exp: New file.
9610
9611 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9612
9613         * gdb.arch/insn-reloc.c: New file.
9614         * gdb.arch/ftrace-insn-reloc.exp: New file.
9615
9616 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9617
9618         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9619         instruction.
9620         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9621         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9622         * gdb.trace/range-stepping.c: Likewise.
9623         * gdb.trace/trace-break.c: Likewise.
9624         * gdb.trace/trace-mt.c (thread_function): Likewise.
9625         * gdb.trace/ftrace.c (marker): Likewise.
9626         * gdb.trace/trace-condition.c (marker): Likewise.
9627         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9628         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9629         is_aarch64_target.
9630
9631 2015-09-18  Doug Evans  <xdje42@gmail.com>
9632
9633         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9634         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9635
9636 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9637
9638         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9639         the breakpoint.
9640
9641 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9642
9643         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9644         the pending breakpoint.  Remove timeout override for "Run till
9645         MI pending breakpoint on pendfunc3 on thread 2" test.
9646
9647 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9648
9649         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9650         filename pattern.
9651
9652 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9653
9654         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9655         in breakpoint filename pattern.
9656
9657 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9658
9659         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9660
9661 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9662
9663         * gdb.linespec/explicit.exp: Check for readline support for
9664         tab-completion tests.  Fix obvious typo.
9665
9666 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9667
9668         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9669         and replay.
9670
9671 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9672
9673         * gdb.btrace/non-stop.c: New.
9674         * gdb.btrace/non-stop.exp: New.
9675
9676 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9677             Yao Qi  <yao.qi@linaro.org>
9678
9679         * gdb.trace/trace-condition.c: New file.
9680         * gdb.trace/trace-condition.exp: New file.
9681
9682 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9683
9684         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9685         for testing bytecode compilation.
9686
9687 2015-09-16  Pedro Alves  <palves@redhat.com>
9688             Sandra Loosemore <sandra@codesourcery.com>
9689
9690         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9691         (SECONDS): Redefine.
9692         (main): Call pthread_kill and alarm early.
9693         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9694         support.
9695         (test): If the target can't hardware step and doesn't support
9696         displaced stepping, increase the timeout.
9697
9698 2015-09-16  Pedro Alves  <palves@redhat.com>
9699
9700         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9701         (enable_debug): New procedures.
9702         (test): Use them.  Bail out if waiting for threads fails.
9703         (top level): Bail out if a test fails.
9704
9705 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9706
9707         * gdb.asm/asm-source.exp: Set asm-arch for
9708         aarch64*-*-* target.
9709         * gdb.asm/aarch64.inc: New file.
9710
9711 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9712
9713         * gdb.ada/array_of_variable_length.exp: New testcase.
9714         * gdb.ada/array_of_variable_length/foo.adb: New file.
9715         * gdb.ada/array_of_variable_length/pck.adb: New file.
9716         * gdb.ada/array_of_variable_length/pck.ads: New file.
9717
9718 2015-09-15  Doug Evans  <dje@google.com>
9719
9720         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9721         of function static local variable.
9722
9723 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9724
9725         * gdb.threads/tls-so_extern.exp: New test file.
9726         * gdb.threads/tls-so_extern.c: New test file.
9727         * gdb.threads/tls-so_extern_main.c: New test file.
9728
9729 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9730
9731         * gdb.opt/solib-intra-step-lib.c: New file.
9732         * gdb.opt/solib-intra-step-main.c: New file.
9733         * gdb.opt/solib-intra-step.exp: New file.
9734
9735 2015-09-15  Pedro Alves  <palves@redhat.com>
9736
9737         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9738         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9739
9740 2015-09-14  Pedro Alves  <palves@redhat.com>
9741
9742         * gdb.base/hook-stop-continue.c: Delete.
9743         * gdb.base/hook-stop-continue.exp: Delete.
9744         * gdb.base/hook-stop-frame.c: Delete.
9745         * gdb.base/hook-stop-frame.exp: Delete.
9746         * gdb.base/hook-stop.c: New file.
9747         * gdb.base/hook-stop.exp: New file.
9748
9749 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9750
9751         * gdb.ada/access_to_packed_array.exp: New testcase.
9752         * gdb.ada/access_to_packed_array/foo.adb: New file.
9753         * gdb.ada/access_to_packed_array/pack.adb: New file.
9754         * gdb.ada/access_to_packed_array/pack.ads: New file.
9755
9756 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9757
9758         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9759         buffer size test.
9760
9761 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9762
9763         * gdb.base/foll-exec.c: Add copyright header.  Fix
9764         formatting issues.
9765         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9766         (do_exec_tests): Use clean_restart in place of zap_session,
9767         and for test initialization.  Fix formatting issues.  Use
9768         fail in place of perror.
9769         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9770         an expect statement to match an expression with output from
9771         the program under debug.
9772         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9773         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9774         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9775         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9776         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9777
9778 2015-09-09  Doug Evans  <dje@google.com>
9779
9780         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9781
9782 2015-09-09  Doug Evans  <dje@google.com>
9783
9784         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9785
9786 2015-09-09  Doug Evans  <dje@google.com>
9787
9788         * gdb.base/savedregs.exp: Fix typo.
9789
9790 2015-09-09  Pedro Alves  <palves@redhat.com>
9791
9792         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9793
9794 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9795
9796         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9797         command actually switches threads.  Give up on remaining
9798         tests if target fails to stop at breakpoint.
9799
9800 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9801
9802         * gdb.ada/funcall_char.exp: New testcase.
9803         * gdb.ada/funcall_char/foo.adb: New file.
9804
9805 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9806
9807         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9808         expected outputs.  Add two testcases for completing ambiguous
9809         functions.
9810         * gdb.ada/complete/aux_pck.adb: New file.
9811         * gdb.ada/complete/aux_pck.ads: New file.
9812         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9813         Ambiguous_Func functions.
9814         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9815         * gdb.ada/complete/pck.adb: Likewise.
9816
9817 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9818
9819         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9820         failures to run the test program under GDB.
9821
9822 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9823
9824         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9825         to C.
9826
9827 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9828
9829         * gdb.base/run-after-attach.exp: New test file.
9830         * gdb.base/run-after-attach.c: New test file.
9831
9832 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9833
9834         * gdb.base/foll-exec-2.c: New test program.
9835         * gdb.base/foll-exec-2.exp: New test.
9836
9837 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9838
9839         * gdb.base/nested-subp1.exp: New file.
9840         * gdb.base/nested-subp1.c: New file.
9841         * gdb.base/nested-subp2.exp: New file.
9842         * gdb.base/nested-subp2.c: New file.
9843         * gdb.base/nested-subp3.exp: New file.
9844         * gdb.base/nested-subp3.c: New file.
9845
9846 2015-08-24  Pedro Alves  <palves@redhat.com>
9847
9848         * gdb.server/connect-without-multi-process.c: New file.
9849         * gdb.server/connect-without-multi-process.exp: New file.
9850
9851 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9852
9853         * gdb.opt/inline-markers.c: Make z int.
9854
9855 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9856
9857         * gdb.opt/inline-markers.c: Make z volatile.
9858
9859 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9860
9861         * gdb.opt/inline-bt.c: New volatile global z.
9862         * gdb.opt/inline-cmds.c: Likewise.
9863         * gdb.opt/inline-locals.c: Likewise.
9864         * gdb.opt/inline-markers.c: New extern global z.
9865         (marker): Use z.
9866         (inline_fn): Likewise.
9867
9868 2015-08-24  Pedro Alves  <palves@redhat.com>
9869
9870         * config/m32r-stub.exp: Remove file.
9871         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9872         * gdb.base/call-rt-st.exp: Likewise.
9873         * gdb.base/call-strs.exp: Likewise.
9874         * gdb.base/default.exp: Remove references to h8300-*-hms and
9875         *-*-udi*.
9876         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9877
9878 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9879
9880         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9881         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9882         and "return" use KFAIL when GDB can not read/write the vector
9883         return value.
9884
9885 2015-08-21  Gary Benson <gbenson@redhat.com>
9886
9887         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9888
9889 2015-08-20  Pedro Alves  <palves@redhat.com>
9890
9891         * gdb.server/solib-list.exp: No longer expect an interior stop in
9892         non-stop mode.
9893
9894 2015-08-20  Pedro Alves  <palves@redhat.com>
9895
9896         * gdb.server/connect-stopped-target.c: New file.
9897         * gdb.server/connect-stopped-target.exp: New file.
9898
9899 2015-08-20  Pedro Alves  <palves@redhat.com>
9900
9901         * gdb.dwarf2/comp-unit-lang.exp: New file.
9902         * gdb.dwarf2/comp-unit-lang.c: New file.
9903
9904 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9905
9906         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9907         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9908
9909 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9910
9911         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9912         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9913
9914 2015-08-18  Doug Evans  <dje@google.com>
9915             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9916
9917         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9918         skip_python_tests.  New arg prompt_regexp.
9919         (skip_python_tests): New function.
9920         * lib/mi-support.exp (mi_skip_python_tests): New function.
9921         * gdb.python/py-mi-objfile-gdb.py: New file.
9922         * gdb.python/py-mi-objfile.c: New file.
9923         * gdb.python/py-mi-objfile.exp: New file.
9924
9925 2015-08-17  Keith Seitz  <keiths@redhat.com>
9926
9927         * gdb.linespec/explicit.exp: Move strace test from here ...
9928         * gdb.trace/strace.exp: ... to here.
9929
9930 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9931
9932         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9933         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9934
9935 2015-08-14  Doug Evans  <xdje42@gmail.com>
9936
9937         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9938         inferior before selecting a new file.
9939
9940 2015-08-14  Doug Evans  <xdje42@gmail.com>
9941
9942         * gdb.mi/mi-disassemble.exp: Update.
9943         * gdb.base/disasm-optim.S: New file.
9944         * gdb.base/disasm-optim.c: New file.
9945         * gdb.base/disasm-optim.h: New file.
9946         * gdb.base/disasm-optim.exp: New file.
9947
9948 2015-08-14  Keith Seitz  <keiths@redhat.com>
9949
9950         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9951         "evaluated-by".
9952
9953 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9954
9955         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9956
9957 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9958
9959         * gdb.ada/fun_renaming.exp: New testcase.
9960         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9961         * gdb.ada/fun_renaming/pack.adb: New file.
9962         * gdb.ada/fun_renaming/pack.ads: New file.
9963
9964 2015-08-12  Keith Seitz  <keiths@redhat.com>
9965
9966         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9967         gdb_get_line_number.
9968
9969 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9970
9971         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9972         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9973         gdb.base/dso2dso.exp: New files.
9974
9975 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9976             Pedro Alves  <palves@redhat.com>
9977             Keith Seitz  <keiths@redhat.com>
9978
9979         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9980         GDBFLAGS.
9981
9982 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9983
9984         * gdb.base/gdbhistsize-history.exp
9985         (test_histsize_history_setting): Use save_vars.
9986         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9987         Use save_vars.
9988         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9989         * gdb.base/readline.exp: Use save_vars.
9990
9991 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9992
9993         * lib/gdb.exp (save_vars): New proc.
9994
9995 2015-08-11  Keith Seitz  <keiths@redhat.com>
9996
9997         * gdb.base/help.exp: Update help_breakpoint_text.
9998
9999 2015-08-11  Keith Seitz  <keiths@redhat.com>
10000
10001         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10002         (at toplevel): Call test_explicit_breakpoints.
10003         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10004         breakpoints.
10005         * lib/mi-support.exp (mi_make_breakpoint): Add support for
10006         breakpoint conditions, "-cond".
10007
10008 2015-08-11  Keith Seitz  <keiths@redhat.com>
10009
10010         * gdb.linespec/3explicit.c: New file.
10011         * gdb.linespec/cpexplicit.cc: New file.
10012         * gdb.linespec/cpexplicit.exp: New file.
10013         * gdb.linespec/explicit.c: New file.
10014         * gdb.linespec/explicit.exp: New file.
10015         * gdb.linespec/explicit2.c: New file.
10016         * gdb.linespec/ls-errs.exp: Add explicit location tests.
10017         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10018         before using in the matching pattern.
10019         Clarify that `prefix' is a regular expression.
10020
10021 2015-08-11  Keith Seitz  <keiths@redhat.com>
10022
10023         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10024         test.
10025         Add tests for missing ",FMT" and ",".
10026
10027 2015-08-10  Doug Evans  <dje@google.com>
10028             Keith Seitz  <keiths@redhat.com>
10029
10030         PR gdb/17960
10031         * gdb.base/completion.exp: Add location completer tests.
10032
10033 2015-08-07  Pedro Alves  <palves@redhat.com>
10034
10035         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10036         tests here.
10037         (top level): Run do_test with and without displaced stepping.
10038
10039 2015-08-07  Pedro Alves  <palves@redhat.com>
10040
10041         * gdb.base/valgrind-disp-step.c: New file.
10042         * gdb.base/valgrind-disp-step.exp: New file.
10043
10044 2015-08-07  Pedro Alves  <palves@redhat.com>
10045
10046         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10047         Delete function.
10048         (main): Add alarm.  Run an infinite loop instead of calling
10049         wait_threads.
10050         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10051         comment.
10052         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10053         Delete function.
10054         (main): Add alarm.  Run an infinite loop instead of calling
10055         wait_threads.
10056         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10057         comment.
10058
10059 2015-08-07  Pedro Alves  <palves@redhat.com>
10060
10061         * gdb.base/checkpoint-ns.exp: New file.
10062         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10063         standard_testfile.
10064
10065 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
10066
10067         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10068         * gdb.btrace/instruction_history.exp: Update.
10069         * gdb.btrace/tsx.exp: New.
10070         * gdb.btrace/tsx.c: New.
10071
10072 2015-08-06  Pedro Alves <palves@redhat.com>
10073
10074         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10075         increase timeout.
10076         * gdb.reverse/until-precsave.exp: Bump timeouts.
10077
10078 2015-08-06  Pedro Alves  <palves@redhat.com>
10079
10080         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10081
10082 2015-08-06  Pedro Alves  <palves@redhat.com>
10083
10084         PR gdb/18749
10085         * gdb.threads/process-dies-while-handling-bp.c: New file.
10086         * gdb.threads/process-dies-while-handling-bp.exp: New file.
10087
10088 2015-08-06  Pedro Alves  <palves@redhat.com>
10089
10090         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10091         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10092
10093 2015-08-05  Pedro Alves  <palves@redhat.com>
10094
10095         * gdb.threads/next-while-other-thread-longjmps.c: New file.
10096         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10097
10098 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
10099
10100         * gdb.base/bp-permanent.exp: Report test as unsupported if
10101         the target cannot stop at the permanent breakpoint.
10102
10103 2015-08-03  Doug Evans  <dje@google.com>
10104
10105         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10106         10000.
10107
10108 2015-08-03  Doug Evans  <dje@google.com>
10109
10110         * Makefile.in (workers/%.worker, build-perf): New rule.
10111         (GDB_PERFTEST_MODE): New variable.
10112         (check-perf): Use it.
10113         (clean): Clean up gdb.perf parallel build subdirs.
10114         * lib/build-piece.exp: New file.
10115         * lib/gdb.exp (make_gdb_parallel_path): New function
10116         (standard_output_file, standard_temp_file): Call it.
10117         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10118         of $GDB_PARALLEL.
10119         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10120
10121 2015-08-03  Doug Evans  <dje@google.com>
10122
10123         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10124         (LOG_FILE_NAME): New global.
10125         (TextReporter.__init__): Initialize self.txt_sum.
10126         (TextReporter.report): Add support for multiple data-points.
10127         Move report to perftest.sum, put raw data in perftest.log.
10128         (TextReporter.start): Open sum and log files.
10129         (TextReporter.end): Close sum and log files.
10130         * gdb.perf/lib/perftest/testresult.py
10131         (SingleStatisticTestResult.record): Handle multiple data-points.
10132
10133 2015-07-31  Pedro Alves  <palves@redhat.com>
10134
10135         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10136         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
10137         kill_wait_spawned_process instead of explicit "kill -9".
10138         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10139         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
10140         kill_wait_spawned_process.
10141         * gdb.base/attach-twice.exp: Likewise.
10142         * gdb.base/attach.exp: Likewise.
10143         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10144         gdb_test_multiple.
10145         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10146         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
10147         kill_wait_spawned_process.
10148         * gdb.base/valgrind-infcall.exp: Likewise.
10149         * gdb.multi/multi-attach.exp: Likewise.
10150         * gdb.python/py-prompt.exp: Likewise.
10151         * gdb.python/py-sync-interp.exp: Likewise.
10152         * gdb.server/ext-attach.exp: Likewise.
10153         * gdb.threads/attach-into-signal.exp (corefunc): Use
10154         spawn_wait_for_attach, spawn_id_get_pid and
10155         kill_wait_spawned_process.
10156         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10157         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
10158         spawn_id_get_pid and kill_wait_spawned_process.
10159         * gdb.threads/attach-stopped.exp (corefunc): Use
10160         spawn_wait_for_attach, spawn_id_get_pid and
10161         kill_wait_spawned_process.
10162         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10163         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
10164         kill_wait_spawned_process instead of explicit "kill -9".
10165         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10166         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10167         (spawn_wait_for_attach): Use spawn instead of exec to spawn
10168         processes.  Don't map cygwin/windows pids here.  Now returns a
10169         spawn id list.
10170
10171 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
10172
10173         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10174         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10175         correct patch.
10176
10177 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
10178
10179         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10180
10181 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
10182
10183         Reapply:
10184         2014-05-21  Mark Wielaard  <mjw@redhat.com>
10185
10186         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10187
10188 2015-07-30  Pedro Alves  <palves@redhat.com>
10189
10190         * linux-low.c (handle_extended_wait): Set the child's last
10191         reported status to TARGET_WAITKIND_STOPPED.
10192
10193 2015-07-30  Pedro Alves  <palves@redhat.com>
10194
10195         PR threads/18600
10196         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10197         only shows inferior 1.
10198
10199 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
10200             Pedro Alves  <palves@redhat.com>
10201
10202         PR threads/18600
10203         * gdb.threads/fork-plus-threads.c: New file.
10204         * gdb.threads/fork-plus-threads.exp: New file.
10205
10206 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10207
10208         * gdb.base/batch-preserve-term-settings.exp
10209         (test_terminal_settings_preserved_after_cli_exit): Use
10210         send_quit_command.
10211
10212 2015-07-29  Pedro Alves  <palves@redhat.com>
10213             Don Breazeal  <donb@codesourcery.com>
10214
10215         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10216         output from both inferior_spawn_id and gdb_spawn_id.
10217
10218 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
10219
10220         * gdb.threads/attach-into-signal.exp (corefunc): Use
10221         with_test_prefix on nested loops, uniquefying the test messages.
10222
10223 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
10224
10225         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10226         commit.
10227
10228 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10229
10230         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10231         New proc.
10232         (test_terminal_settings_preserved_after_sigterm): New test.
10233
10234 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10235
10236         * gdb.base/batch-preserve-term-settings.exp
10237         (test_terminal_settings_preserved_after_cli_exit): New test.
10238
10239 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10240
10241         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10242         manipulation of saved_gdbflags.
10243         (test_terminal_settings_preserved): Remove global declaration of
10244         the unused variable pagination_prompt.  Remove manipulation of
10245         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
10246         GDBFLAGS.
10247
10248 2015-07-29  Pedro Alves  <palves@redhat.com>
10249
10250         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10251
10252 2015-07-29  Pedro Alves  <palves@redhat.com>
10253
10254         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10255         at the top.
10256
10257 2015-07-29  Pedro Alves  <palves@redhat.com>
10258
10259         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10260         (main): Call gdb_unbuffer_output.
10261         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10262         (main): Call gdb_unbuffer_output.
10263         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10264         (main): Call gdb_unbuffer_output.
10265         * gdb.base/call-strs.exp: Adjust to step over the
10266         gdb_unbuffer_output call.
10267         * gdb.base/catch-gdb-caused-signals.c: Include
10268         "../lib/unbuffer_output.c".
10269         (main): Call gdb_unbuffer_output.
10270         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10271         (main): Call gdb_unbuffer_output.
10272         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10273         (main): Call gdb_unbuffer_output.
10274         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10275         (main): Call gdb_unbuffer_output.
10276         * gdb.base/shlib-call.exp: Adjust to step over the
10277         gdb_unbuffer_output call.
10278         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10279         (main): Call gdb_unbuffer_output.
10280         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10281         (main): Call gdb_unbuffer_output.
10282         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10283         (main): Rename to ...
10284         (test): ... this.
10285         (main): Reimplement.
10286         * gdb.base/varargs.exp: Run to test instead of to main.
10287         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10288         (main): Call gdb_unbuffer_output.
10289
10290 2015-07-29  Pedro Alves  <palves@redhat.com>
10291
10292         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10293         factore out from mi_continue_dprintf.  For call-style dprintfs,
10294         expect dprintf output out of $inferior_spawn_id.
10295         (mi_continue_dprintf): Use mi_expect_dprintf.
10296         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10297         (main): Call gdb_unbuffer_output.
10298
10299 2015-07-29  Pedro Alves  <palves@redhat.com>
10300
10301         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10302         (default_mi_gdb_start): Set inferior_spawn_id instead of
10303         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
10304         gdb_spawn_id.
10305         (mi_gdb_test): Always expect inferior output from both
10306         $inferior_spawn_id and $gdb_spawn_id.
10307
10308 2015-07-29  Pedro Alves  <palves@redhat.com>
10309
10310         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
10311         send_inferior and $inferior_spawn_id.
10312
10313 2015-07-29  Pedro Alves  <palves@redhat.com>
10314
10315         * gdb.gdb/complaints.exp (test_initial_complaints)
10316         (test_serial_complaints, test_short_complaints): Use
10317         gdb_test_stdio.
10318         (test_empty_complaint): Handle $inferior_spawn_id !=
10319         $gdb_spawn_id.
10320
10321 2015-07-29  Pedro Alves  <palves@redhat.com>
10322
10323         * gdb.base/varargs.exp: Use gdb_test_stdio.
10324
10325 2015-07-29  Pedro Alves  <palves@redhat.com>
10326
10327         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10328
10329 2015-07-29  Pedro Alves  <palves@redhat.com>
10330
10331         * gdb.base/ending-run.exp: Use gdb_test_stdio.
10332
10333 2015-07-29  Pedro Alves  <palves@redhat.com>
10334
10335         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10336         parameter into two new parameters, "inf_result" and "gdb_result".
10337         Expect inferior output and gdb output from $inferior_spawn_id and
10338         $gdb_spawn_id, respectively.  Adjust all callers.
10339
10340 2015-07-29  Pedro Alves  <palves@redhat.com>
10341
10342         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10343         of gdb_test_sequence.
10344
10345 2015-07-29  Pedro Alves  <palves@redhat.com>
10346
10347         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10348         (saw_spurious_output): Expect inferior output from
10349         $inferior_spawn_id.  Use gdb_test_stdio.
10350
10351 2015-07-29  Pedro Alves  <palves@redhat.com>
10352
10353         * gdb.base/dprintf.exp: Use standard_testfile.  Change
10354         prepare_for_testing call.
10355         (srcfile): Don't set.
10356         (restart): New procedure.
10357         (test_dprintf): New procecure, use to continue over dprintfs.
10358         (test_call, test_agent): New procedures, tests moved here.
10359         Restart gdb and recreate dprintfs.  Adjust expected output.
10360
10361 2015-07-29  Pedro Alves  <palves@redhat.com>
10362
10363         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10364
10365 2015-07-29  Pedro Alves  <palves@redhat.com>
10366
10367         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10368
10369 2015-07-29  Pedro Alves  <palves@redhat.com>
10370
10371         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10372         gdb_test_stdio.
10373
10374 2015-07-29  Pedro Alves  <palves@redhat.com>
10375
10376         * lib/gdb.exp (gdb_test_stdio): New procedure.
10377
10378 2015-07-29  Pedro Alves  <palves@redhat.com>
10379
10380         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10381
10382 2015-07-29  Pedro Alves  <palves@redhat.com>
10383
10384         * gdb.base/call-signal-resume.exp: Remove check for
10385         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
10386         * gdb.base/unwindonsignal.exp: Likewise.
10387         * gdb.base/call-signals.c (gen_signal): Remove printf call.
10388         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10389
10390 2015-07-29  Pedro Alves  <palves@redhat.com>
10391
10392         * gdb.base/siginfo-addr.c (pass): New function.
10393         (handler): Call it iff si_addr is correct.
10394         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10395         Set a breakpoint at "pass" and continue to it.
10396
10397 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
10398
10399         * gdb.python/py-objfile.exp: Make some tests have unique names.
10400         * gdb.python/py-pp-registration.exp: Likewise.
10401
10402 2015-07-28  Pedro Alves  <palves@redhat.com>
10403
10404         * gdb.server/server-exec-info.exp: Issue a "disconnect".
10405
10406 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
10407
10408         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10409
10410 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
10411
10412         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10413
10414 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
10415
10416         * gdb.base/gdb-sigterm-2.exp: New test.
10417
10418 2015-07-25  Doug Evans  <xdje42@gmail.com>
10419
10420         Revert:
10421         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10422         (workers/%.worker, build-perf): New rule.
10423         (GDB_PERFTEST_MODE): New variable.
10424         (check-perf): Use it.
10425         (clean): Clean up gdb.perf parallel build subdirs.
10426         * lib/build-piece.exp: New file.
10427         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10428         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10429         name.
10430         (standard_temp_file): Ditto.
10431         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10432         of $GDB_PARALLEL.
10433
10434 2015-07-24  Doug Evans  <dje@google.com>
10435
10436         * gdb.perf/lib/perftest/utils.py: New file.
10437         * gdb.perf/gm-hello.cc: New file.
10438         * gdb.perf/gm-pervasive-typedef.cc: New file.
10439         * gdb.perf/gm-pervasive-typedef.h: New file.
10440         * gdb.perf/gm-std.cc: New file.
10441         * gdb.perf/gm-std.h: New file.
10442         * gdb.perf/gm-use-cerr.cc: New file.
10443         * gdb.perf/gm-utils.h: New file.
10444         * gdb.perf/gmonster-null-lookup.py: New file.
10445         * gdb.perf/gmonster-pervasive-typedef.py: New file.
10446         * gdb.perf/gmonster-print-cerr.py: New file.
10447         * gdb.perf/gmonster-ptype-string.py: New file.
10448         * gdb.perf/gmonster-runto-main.py: New file.
10449         * gdb.perf/gmonster-select-file.py: New file.
10450         * gdb.perf/gmonster1-null-lookup.exp: New file.
10451         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10452         * gdb.perf/gmonster1-print-cerr.exp: New file.
10453         * gdb.perf/gmonster1-ptype-string.exp: New file.
10454         * gdb.perf/gmonster1-runto-main.exp: New file.
10455         * gdb.perf/gmonster1-select-file.exp: New file.
10456         * gdb.perf/gmonster1.cc: New file.
10457         * gdb.perf/gmonster1.exp: New file.
10458         * gdb.perf/gmonster2-null-lookup.exp: New file.
10459         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10460         * gdb.perf/gmonster2-print-cerr.exp: New file.
10461         * gdb.perf/gmonster2-ptype-string.exp: New file.
10462         * gdb.perf/gmonster2-runto-main.exp: New file.
10463         * gdb.perf/gmonster2-select-file.exp: New file.
10464         * gdb.perf/gmonster2.cc: New file.
10465         * gdb.perf/gmonster2.exp: New file.
10466
10467 2015-07-24  Doug Evans  <dje@google.com>
10468
10469         * gdb.perf/README: New file.
10470         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10471         * lib/gen-perf-test.exp: New file.
10472
10473 2015-07-24  Doug Evans  <dje@google.com>
10474
10475         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10476         (PerfTest::startup): New function.
10477         (PerfTest::run): Return result of calling body.
10478         (PerfTest::assemble): Rewrite.
10479         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10480         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10481         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10482         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10483         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10484
10485 2015-07-24  Doug Evans  <dje@google.com>
10486
10487         * lib/gdb.exp (clean_restart): Make executable optional.
10488
10489 2015-07-24  Doug Evans  <dje@google.com>
10490
10491         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10492         compiler_info references.
10493         * gdb.cp/temargs.exp: Ditto.
10494         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10495         (get_compiler_info): Early exit if already computed.  Set compiler_info
10496         to "unknown" if there was a problem.
10497         (test_compiler_info): Add function comment.  Call get_compiler_info.
10498
10499 2015-07-24  Doug Evans  <dje@google.com>
10500
10501         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10502         (workers/%.worker, build-perf): New rule.
10503         (GDB_PERFTEST_MODE): New variable.
10504         (check-perf): Use it.
10505         (clean): Clean up gdb.perf parallel build subdirs.
10506         * lib/build-piece.exp: New file.
10507         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10508         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10509         name.
10510         (standard_temp_file): Ditto.
10511         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10512         of $GDB_PARALLEL.
10513
10514 2015-07-24  Doug Evans  <dje@google.com>
10515
10516         * lib/future.exp (gdb_default_target_compile): New option
10517         "early_flags".
10518         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10519         --as-needed.
10520
10521 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10522
10523         * gdb.base/catch-syscall.exp: Call gdb_exit before
10524         gdb_skip_xml_test.
10525
10526 2015-07-24  Pedro Alves  <palves@redhat.com>
10527
10528         * gdb.python/py-events.exp: Accept output between the stop event
10529         and the prompt.
10530         * gdb.python/py-evsignal.exp: Likewise.
10531         * gdb.python/py-evthreads.exp: Likewise.
10532
10533 2015-07-24  Pedro Alves  <palves@redhat.com>
10534
10535         PR gdb/18717
10536         * gdb.threads/non-ldr-exit.c: New file.
10537         * gdb.threads/non-ldr-exit.exp: New file.
10538
10539 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10540
10541         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10542         restarting process.
10543
10544 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10545
10546         * gdb.server/ext-restart.exp: New file.
10547
10548 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10549
10550         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10551         argument options.
10552         * gdb.server/ext-wrapper.exp: New file.
10553
10554 2015-07-23  Doug Evans  <dje@google.com>
10555
10556         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10557         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10558
10559 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10560
10561         * gdb.ada/var_arr_typedef.exp: New testcase.
10562         * gdb.ada/var_arr_typedef/pack.adb: New file.
10563         * gdb.ada/var_arr_typedef/pack.ads: New file.
10564         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10565
10566 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10567
10568         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10569
10570 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10571
10572         * gdb.arch/i386-biarch-core.exp: Replace istarget
10573         by "complete set gnutarget". Remove expectation for the "core-file"
10574         command.
10575
10576 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10577
10578         Revert the previous commit:
10579         Tests for validate symbol file using build-id.
10580
10581 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10582
10583         Tests for validate symbol file using build-id.
10584         * gdb.base/solib-mismatch-lib.c: New file.
10585         * gdb.base/solib-mismatch-libmod.c: New file.
10586         * gdb.base/solib-mismatch.c: New file.
10587         * gdb.base/solib-mismatch.exp: New file.
10588
10589 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10590
10591         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10592         nios2-*-linux*.
10593         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10594         * gdb.base/siginfo.exp: Likewise.
10595         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10596
10597 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10598
10599         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10600         Move it to ...
10601         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10602         ... here.
10603         * gdb.trace/range-stepping.exp: Check that the target supports
10604         range stepping.
10605
10606 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10607
10608         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10609
10610 2015-07-14  Pedro Alves  <palves@redhat.com>
10611
10612         * gdb.base/killed-outside.exp: New file.
10613         * gdb.base/killed-outside.c: New file.
10614
10615 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10616
10617         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10618         (n at main): New.
10619         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10620
10621 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10622
10623         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10624         infcall tests instead of setting up for KFAIL.
10625
10626 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10627
10628         * gdb.btrace/record_goto-step.exp: New.
10629
10630 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10631
10632         PR compile/18484
10633         * gdb.compile/compile.c (struct struct_type): Add volatile to
10634         selffield's type.
10635         * gdb.compile/compile.exp
10636         (compile code struct_object.selffield = &struct_object): Skip further
10637         struct_object tests if this one xfails.
10638
10639 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10640
10641         PR exp/18617
10642         * gdb.trace/ax.exp: Add test.
10643
10644 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10645
10646         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10647         instead of istarget "aarch64*-*-*".
10648         * gdb.arch/aarch64-fp.exp: Likewise.
10649         * gdb.base/float.exp: Likewise.
10650         * gdb.reverse/aarch64.exp: Likewise.
10651         * lib/gdb.exp (is_aarch64_target): New proc.
10652
10653 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10654
10655         * lib/gdb.exp (is_aarch32_target): New proc.
10656         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10657         instead of "istarget "arm*-*-*"".
10658         * gdb.arch/arm-disp-step.exp: Likewise.
10659         * gdb.arch/thumb-bx-pc.exp: Likewise.
10660         * gdb.arch/thumb-prologue.exp: Likewise.
10661         * gdb.arch/thumb-singlestep.exp: Likewise.
10662         * gdb.base/disp-step-syscall.exp: Likewise.
10663         * gdb.base/float.exp: Likewise.
10664
10665 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10666
10667         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10668         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10669
10670 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10671
10672         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10673         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10674         if it exists.
10675         * gdb.multi/multi-arch.exp: Likewise.
10676
10677 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10678
10679         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10680         print.
10681
10682 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10683
10684         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10685
10686 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10687
10688         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10689         '[' and ']' characters.
10690
10691 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10692
10693         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10694
10695 2015-06-29  Pedro Alves  <palves@redhat.com>
10696
10697         PR threads/18127
10698         * gdb.threads/hand-call-new-thread.c: New file.
10699         * gdb.threads/hand-call-new-thread.c: New file.
10700
10701 2015-06-26  Keith Seitz  <keiths@redhat.com>
10702             Doug Evans  <dje@google.com>
10703
10704         PR 16253
10705         * gdb.cp/var-tag-2.cc: New file.
10706         * gdb.cp/var-tag-3.cc: New file.
10707         * gdb.cp/var-tag-4.cc: New file.
10708         * gdb.cp/var-tag.cc: New file.
10709         * gdb.cp/var-tag.exp: New file.
10710
10711 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10712
10713         * gdb.base/history-duplicates.exp: New test.
10714
10715 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10716
10717         * gdb.base/completion.exp: Test the completion of the "focus"
10718         command.
10719
10720 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10721
10722         * gdb.arch/amd64-prologue-skip.S: New file.
10723         * gdb.arch/amd64-prologue-skip.exp: New file.
10724
10725 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10726
10727         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10728         is_address_zero_readable check.
10729
10730 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10731
10732         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10733         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10734
10735 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10736
10737         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10738         linux targets.
10739
10740 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10741
10742         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10743         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10744         * gdb.base/siginfo-thread.exp: Likewise.
10745
10746 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10747
10748         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10749
10750 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10751
10752         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10753         aarch64*-*-*.
10754         (skip_hw_watchpoint_tests): Likewise.
10755
10756 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10757
10758         * gdb.base/gdbinit-history.exp: Test the interaction between
10759         setting GDBHISTSIZE and setting the history size via .gdbinit.
10760
10761 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10762
10763         PR gdb/16999
10764         * gdb.base/gdbhistsize-history.exp: New test.
10765
10766 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10767
10768         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10769         with GDBHISTSIZE.
10770         * gdb.base/readline.exp: Likewise.
10771
10772 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10773
10774         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10775         line.
10776
10777 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10778
10779         * gdb.base/gdbinit-history.exp: Add test case to check that
10780         an unlimited history file does not get truncated on exit.
10781
10782 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10783
10784         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10785         (VECTOR): New macro.  Use it...
10786         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10787         ...for these typedefs.
10788         (int8, char1, int1, double1): New typedefs.
10789         (struct just_int2, struct two_int2): New structures.
10790         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10791         (add_structvecs, add_singlevecs): New functions.
10792         (main): Call add_some_intvecs twice.
10793         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10794         the compile and exit upon failure.  Try compiling for the "native"
10795         architecture.  Test inferior function calls with vector arguments
10796         and vector return value handling with "finish" and "return".
10797
10798 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10799
10800         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10801         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10802         PE file.
10803         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10804
10805 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10806
10807         PR breakpoints/16465
10808         * gdb.mi/mi-dprintf-pending.c: New file.
10809         * gdb.mi/mi-dprintf-pending.exp: New test.
10810         * gdb.mi/mi-dprintf-pendshr.c: New file.
10811
10812 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10813             Mircea Gherzan  <mircea.gherzan@intel.com>
10814
10815         * gdb.arch/i386-mpx-map.c: New file.
10816         * gdb.arch/i386-mpx-map.exp: New File.
10817
10818 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10819
10820         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10821         * gdb.arch/i386-mpx.exp: Indentation fixed.
10822
10823 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10824
10825         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10826         function and improved indentation.
10827         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10828         gdb_test_multiple. Added additional tests to skip the test.
10829
10830 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10831
10832         * gdb.arch/i386-avx512.c: Change path in include file.
10833         * gdb.arch/i386-avx512.exp: Change include dir path
10834         compilation flag.
10835         * gdb.arch/i386-mpx.c: Change path in include file.
10836         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10837         flag.
10838
10839 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10840
10841         * gdb.compile/compile-print.exp (compile print *vararray@3)
10842         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10843
10844 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10845
10846         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10847         (do not keep jit in memory): ... this.
10848         (expect 5): Change it to ...
10849         (expect no 5): ... this.
10850
10851 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10852
10853         PR gdb/15564
10854         * gdb.mi/mi-detach.exp: New file.
10855
10856 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10857
10858         PR symtab/18392
10859         * gdb.arch/amd64-tailcall-self.S: New file.
10860         * gdb.arch/amd64-tailcall-self.c: New file.
10861         * gdb.arch/amd64-tailcall-self.exp: New file.
10862
10863 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10864
10865         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10866         tests for remote targets by checking is_target_gdbserver.
10867
10868 2015-05-27  Doug Evans  <dje@google.com>
10869
10870         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10871         * gdb.dwarf2/opaque-type-lookup.c: New file.
10872         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10873
10874 2015-05-26  Doug Evans  <dje@google.com>
10875
10876         * gdb.cp/iostream.cc: New file.
10877         * gdb.cp/iostream.exp: New file.
10878
10879 2015-05-26  Doug Evans  <dje@google.com>
10880
10881         * gdb.dwarf2/dw2-op-call.exp: Update.
10882         * gdb.dwarf2/dw4-sig-types.exp: Update.
10883         * gdb.dwarf2/implptr.exp: Update.
10884         * gdb.mi/mi-cmd-param-changed.exp: Update.
10885
10886 2015-05-26  Doug Evans  <dje@google.com>
10887
10888         * gdb.python/py-lazy-string.c: New file.
10889         * gdb.python/py-lazy-string.exp: New file.
10890         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10891         (main): Update.  Add estring3.
10892         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10893         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10894
10895 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10896             Yao Qi  <yao.qi@linaro.org>
10897
10898         * gdb.reverse/aarch64.c: New.
10899         * gdb.reverse/aarch64.exp: New.
10900
10901 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10902
10903         * lib/gdb.exp (supports_process_record): Return true for
10904         aarch64*-linux*.
10905         (supports_reverse): Likewise.
10906
10907 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10908
10909         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10910         Use with_test_prefix.
10911
10912 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10913
10914         * gdb.base/completion.exp: Add test for completion of layout
10915         names.
10916
10917 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10918
10919         * lib/gdb.exp (skip_tui_tests): New proc.
10920         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10921
10922 2015-05-19  Pedro Alves  <palves@redhat.com>
10923
10924         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10925         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10926         the environment while testing.  Restore whole environment
10927         afterwards.
10928
10929 2015-05-16  Doug Evans  <xdje42@gmail.com>
10930
10931         * gdb.guile/scm-ports.c: New file.
10932         * gdb.guile/scm-ports.exp: Add memory port tests.
10933
10934 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10935
10936         * gdb.compile/compile-print.c: New file.
10937         * gdb.compile/compile-print.exp: New file.
10938
10939 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10940
10941         * gdb.compile/compile-ops.exp: Cast param to void.
10942         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10943         (compile code struct_object.selffield = &struct_object): Add xfail.
10944
10945 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10946
10947         * gdb.ada/arr_enum_with_gap: New testcase.
10948
10949 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10950
10951         * gdb.ada/byte_packed_arr: New testcase.
10952
10953 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10954
10955         * gdb.ada/pckd_neg: New testcase.
10956
10957 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10958
10959         PR gdb/17820
10960         * gdb.base/gdbinit-history.exp: New test.
10961         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10962         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10963
10964 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10965
10966         * gdb.python/py-xmethods.cc: Enhance test case.
10967         * gdb.python/py-xmethods.exp: New tests.
10968         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10969         function.
10970         (B_indexoper): Likewise.
10971         (global_dm_list) : Add new xmethod worker functions.
10972
10973 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10974
10975         * gdb.base/coredump-filter.exp: Correctly unset
10976         "coredump_var_addr" array.
10977
10978 2015-05-08  Pedro Alves  <palves@redhat.com>
10979
10980         * gdb.server/non-existing-program.exp: Unset spawn_id.
10981
10982 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10983
10984         PR python/18291
10985         * gdb.python/py-xmethods.exp: Add tests.
10986
10987 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10988
10989         PR gdb/18208
10990         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10991         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10992         function set_coredump_filter, and remove remote_exec call.
10993         Remove argument ipid.  Callers update.
10994         (top level): Don't get inferior's PID.
10995
10996 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10997
10998         * gdb.base/watch_thread_num.exp: Skip test on targets without
10999         access watchpoints.
11000
11001 2015-05-06  Pedro Alves  <palves@redhat.com>
11002
11003         PR server/18081
11004         * gdb.server/non-existing-program.exp: New file.
11005
11006 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11007
11008         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11009
11010 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11011
11012         * gdb.ada/out_of_line_in_inlined: New testcase.
11013
11014 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11015
11016         * gdb.ada/var_rec_arr: New testcase.
11017
11018 2015-04-30  Yao Qi  <yao.qi@linaro.org>
11019
11020         * gdb.base/break-idempotent.exp: If
11021         skip_hw_watchpoint_multi_tests returns true, skip the tests
11022         on "rwatch" and "awatch".
11023
11024 2015-04-30  Yao Qi  <yao.qi@linaro.org>
11025
11026         * gdb.base/relativedebug.exp: Invoke gdb command
11027         "info sharedlibrary", and if libc.so doesn't have debug info,
11028         skip the test.
11029
11030 2015-04-29  Doug Evans  <dje@google.com>
11031
11032         * gdb.python/py-xmethods.exp: Add ptype tests.
11033         * gdb.python/py-xmethods.py (E_method_char_worker): Add
11034         get_result_type method.
11035
11036 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
11037
11038         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11039         the target does not support hardware watchpoints.
11040
11041 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
11042
11043         * gdb.base/break-always.exp: Abort testing if writing to memory
11044         causes an error.
11045
11046 2015-04-28  Doug Evans  <dje@google.com>
11047
11048         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11049         * gdb.python/py-pp-registration.exp: ... here.  New file.
11050         * gdb.python/py-pp-registration.c: New file.
11051         * gdb.python/py-pp-registration.py: New file.
11052
11053 2015-04-28  Doug Evans  <dje@google.com>
11054
11055         * gdb.python/py-bad-printers.c: New file.
11056         * gdb.python/py-bad-printers.py: New file.
11057         * gdb.python/py-bad-printers.exp: New file.
11058
11059 2015-04-28  Sasha Smundak  <asmundak@google.com>
11060
11061         * gdb.python/py-type.exp: New test.
11062
11063 2015-04-28  Andy Wingo  <wingo@igalia.com>
11064
11065         * gdb.python/py-parameter.exp:
11066         * gdb.guile/scm-parameter.exp: Escape the path that we are
11067         matching against, as it might contain characters that are special
11068         to regular expressions.
11069
11070 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
11071
11072         * gdb.ada/rec_comp: New testcase.
11073
11074 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
11075
11076         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11077         before using it.
11078
11079 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
11080
11081         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
11082         new tests for verilog output.
11083
11084 2015-04-24  Yao Qi  <yao.qi@linaro.org>
11085
11086         * boards/remote-gdbserver-on-localhost.exp: New file.
11087
11088 2015-04-23  Pedro Alves  <palves@redhat.com>
11089
11090         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11091         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
11092         "end of file", remove $inferior_spawn_id from the indirect list.
11093
11094 2015-04-23  Pedro Alves  <palves@redhat.com>
11095
11096         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11097
11098 2015-04-23  Pedro Alves  <palves@redhat.com>
11099
11100         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11101         on $any_spawn_id instead of only on $gdb_spawn_id.
11102
11103 2015-04-21  Pierre Muller  <muller@sourceware.org>
11104
11105         PR pascal/17815
11106         * lib/pascal.exp (gpc_compile): Add new option "class".
11107         (fpc_compile): Likewise.
11108         * gdb.pascal/case-insensitive-symbols.pas: New file.
11109         * gdb.pascal/case-insensitive-symbols.exp: New file.
11110
11111 2015-04-20  Gary Benson <gbenson@redhat.com>
11112
11113         * gdb.base/attach.exp: Fix three extended remote failures.
11114
11115 2015-04-17  Gary Benson <gbenson@redhat.com>
11116
11117         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11118         the main executable over the remote protocol.
11119
11120 2015-04-16  Pedro Alves  <palves@redhat.com>
11121
11122         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11123         a new gdbserver if gdbserver_reconnect_p is set.
11124
11125 2015-04-16  Pedro Alves  <palves@redhat.com>
11126
11127         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11128         is set, don't exit gdbserver.
11129
11130 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11131
11132         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11133         appropriate .insn, such that an older assembler can be used.
11134         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11135         the z/Architecture instruction set on 31-bit targets as well.
11136
11137 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11138
11139         * gdb.go/handcall.exp: Remove all logic related to the first
11140         breakpoint and rely on go_runto_main instead.
11141         * gdb.go/strings.exp: Likewise.
11142         * gdb.go/unsafe.exp: Likewise.
11143         * gdb.go/hello.exp: Likewise.  Also rename the remaining
11144         breakpoint marker to "breakpoint 1".
11145         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11146         * gdb.go/strings.go: Likewise.
11147         * gdb.go/unsafe.go: Likewise.
11148         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
11149         "set breakpoint 2 here" and rename the remaining breakpoint marker
11150         to "breakpoint 1".
11151
11152 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
11153
11154         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11155         if itertools.imap is not present.
11156         * gdb.python/py-objfile.exp: Add parentheses.
11157         * gdb.python/py-type.exp: Same.
11158         * gdb.python/py-unwind-maint.py: Same.
11159
11160 2015-04-15  Yao Qi  <yao.qi@linaro.org>
11161
11162         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11163         of ":$ptr_size" and set its form explicitly.
11164
11165 2015-04-15  Pedro Alves  <palves@redhat.com>
11166             Yao Qi  <yao.qi@linaro.org>
11167
11168         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11169         timeout by factor of 4.
11170         (test_regular_watch): Likewise.
11171         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11172         * gdb.reverse/sigall-reverse.exp: Likewise.
11173         * gdb.reverse/until-precsave.exp: Likewise.
11174         * lib/gdb.exp (with_timeout_factor): New proc.
11175         (gdb_expect): Move some code to ...
11176         (get_largest_timeout): ... here.  New procedure.
11177
11178 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
11179
11180         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11181
11182 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
11183
11184         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11185         to write to the .text section.
11186
11187 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
11188
11189         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11190         Handle the case of targets that do not provide PID information.
11191
11192 2015-04-13  Yao Qi  <yao.qi@linaro.org>
11193
11194         * lib/gdbserver-support.exp (gdb_exit): Catch exception
11195         and use expect instead of gdb_expect.
11196
11197 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
11198
11199         * gdb.base/coredump-filter.exp: Rename variable "addr" to
11200         "coredump_var_addr" to avoid naming conflict with other testcases.
11201
11202 2015-04-10  Pedro Alves  <palves@redhat.com>
11203
11204         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11205         gdb_test_sequence and gdb_assert.
11206
11207 2015-04-10  Pedro Alves  <palves@redhat.com>
11208
11209         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11210         test messages that don't include the breakpoint address.
11211
11212 2015-04-10  Yao Qi  <yao.qi@linaro.org>
11213
11214         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11215         false for some offset and width combinations which aren't
11216         supported by linux kernel.
11217
11218 2015-04-10  Pedro Alves  <palves@redhat.com>
11219
11220         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11221         procedure, factored out from ...
11222         (top level): ... here.  Add "set displaced-stepping" testing axis.
11223         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11224         parameter "displaced".  Use it.
11225         (top level): Use foreach and add "set displaced-stepping" testing
11226         axis.
11227
11228 2015-04-10  Pedro Alves  <palves@redhat.com>
11229
11230         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11231         Remove comment.
11232         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11233         both the address of the instruction that triggers the watchpoint
11234         and the address of the instruction immediately after, and use
11235         those addresses for the test.  Fix comment.
11236
11237 2015-04-10  Pedro Alves  <palves@redhat.com>
11238
11239         * gdb.base/sigstep.exp (breakpoint_to_handler)
11240         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
11241         Test "backtrace" in handler.
11242         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
11243         (top level): Add new "displaced" test axis to
11244         breakpoint_to_handler, breakpoint_to_handler_entry and
11245         breakpoint_over_handler.
11246
11247 2015-04-10  Pedro Alves  <palves@redhat.com>
11248
11249         PR gdb/18216
11250         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11251
11252 2015-04-10  Yao Qi  <yao.qi@linaro.org>
11253
11254         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11255         (test_add_rn_pc): New function.
11256         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11257         (top level): Invoke test_add_rn_pc.
11258
11259 2015-04-10  Pedro Alves  <palves@redhat.com>
11260
11261         PR gdb/13858
11262         * gdb.base/step-over-no-symbols.exp: New file.
11263
11264 2015-04-09  Andy Wingo  <wingo@igalia.com>
11265
11266         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11267         after the Python tests.
11268
11269 2015-04-08  Keith Seitz  <keiths@redhat.com>
11270
11271         PR python/16699
11272         * gdb.python/py-completion.exp: New tests for completion.
11273         * gdb.python/py-completion.py (CompleteLimit1): New class.
11274         (CompleteLimit2): Likewise.
11275         (CompleteLimit3): Likewise.
11276         (CompleteLimit4): Likewise.
11277         (CompleteLimit5): Likewise.
11278         (CompleteLimit6): Likewise.
11279         (CompleteLimit7): Likewise.
11280
11281 2015-04-08  Pedro Alves  <palves@redhat.com>
11282
11283         PR gdb/18214
11284         PR gdb/18216
11285         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11286         function.
11287         (main): Install it as SIGUSR1 handler.
11288         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11289         parameter.  Always use "setup" as prefix.  Toggle "set
11290         displaced-stepping" off/on depending on global.  Don't switch to
11291         thread 1 here.
11292         (top level): Add displaced stepping "off/on" test axis.  Update
11293         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
11294         continuing with a queued signal in each thread.
11295
11296 2015-04-08  Pedro Alves  <palves@redhat.com>
11297
11298         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11299         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
11300         gdb_breakpoint instead of gdb_test that doesn't expect anything.
11301         Return early if running to main fails.
11302         * gdb.trace/while-stepping.exp: Likewise.
11303
11304 2015-04-07  Pedro Alves  <palves@redhat.com>
11305
11306         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11307         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
11308         interact with inferior program.
11309
11310 2015-04-07  Pedro Alves  <palves@redhat.com>
11311
11312         * lib/gdb.exp (inferior_spawn_id): New global.
11313         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
11314         spawn id after processing the user code.
11315         (default_gdb_start): Set inferior_spawn_id.
11316         (send_inferior): New procedure.
11317         * lib/gdbserver-support.exp (gdbserver_start): Set
11318         inferior_spawn_id.
11319         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11320
11321 2015-04-07  Pedro Alves  <palves@redhat.com>
11322
11323         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11324         * lib/gdbserver-support.exp (gdbserver_start): Make
11325         $server_spawn_id global.
11326         (gdbserver_start): Don't wait for gdbserver's spawn id with
11327         expect_background.
11328         (close_gdbserver): New procedure.
11329         (gdb_exit): Rename the default version and reimplement.
11330
11331 2015-04-07  Pedro Alves  <palves@redhat.com>
11332
11333         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11334         append the substituted item, not the original item.
11335
11336 2015-04-07  Pedro Alves  <palves@redhat.com>
11337
11338         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11339         gdb_expect.
11340
11341 2015-04-07  Pedro Alves  <palves@redhat.com>
11342
11343         * gdb.base/interrupt.exp: Don't handle the case of the inferior
11344         output appearing once only.
11345
11346 2015-04-07  Pedro Alves  <palves@redhat.com>
11347
11348         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11349         that doesn't expect anything.  Return early if running to main
11350         fails.
11351
11352 2015-04-07  Yao Qi  <yao.qi@linaro.org>
11353
11354         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11355         (child_function): Call alarm.
11356         (main): Move call to alarm into the loop.
11357         * gdb.threads/non-stop-fair-events.exp: Build program with
11358         -DTIMEOUT=$timeout.
11359
11360 2015-04-06  Doug Evans  <xdje42@gmail.com>
11361
11362         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11363         Fix dest parameter to board_info.
11364         (fpc_compile): Ditto.
11365         (gdb_compile_pascal): Rename dest arg to destfile.
11366
11367 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
11368
11369         * gdb.ada/funcall_ref.exp: New file.
11370         * gdb.ada/funcall_ref/foo.adb: New file.
11371
11372 2015-04-02  Yao Qi  <yao.qi@linaro.org>
11373
11374         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11375         is remote.
11376
11377 2015-04-02  Gary Benson <gbenson@redhat.com>
11378
11379         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11380
11381 2015-04-01  Sasha Smundak  <asmundak@google.com>
11382
11383         * gdb.python/py-unwind-maint.c: New file.
11384         * gdb.python/py-unwind-maint.exp: New test.
11385         * gdb.python/py-unwind-maint.py: New file.
11386         * gdb.python/py-unwind.c: New file.
11387         * gdb.python/py-unwind.exp: New test.
11388         * gdb.python/py-unwind.py: New test.
11389
11390 2015-04-01  Pedro Alves  <palves@redhat.com>
11391
11392         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11393         to fail instead of non-existent $test.
11394
11395 2015-04-01  Pedro Alves  <palves@redhat.com>
11396
11397         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11398         GDBFLAGS if not empty.
11399
11400 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
11401
11402         * gdb.ada/complete.exp: Remove "multi_line".
11403         * gdb.ada/info_exc.exp: Remove "multi_line".
11404         * gdb.ada/packed_tagged.exp: Remove "multi_line".
11405         * gdb.ada/ptype_field.exp: Remove "multi_line".
11406         * gdb.ada/sym_print_name.exp: Remove "multi_line".
11407         * gdb.ada/tagged.exp: Remove "multi_line".
11408         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11409         [multi_line ...]
11410         * gdb.btrace/delta.exp: Likewise.
11411         * gdb.btrace/exception.exp: Likewise.
11412         * gdb.btrace/function_call_history.exp: Likewise.
11413         * gdb.btrace/instruction_history.exp: Likewise.
11414         * gdb.btrace/nohist.exp: Likewise.
11415         * gdb.btrace/record_goto.exp: Likewise.
11416         * gdb.btrace/segv.exp: Likewise.
11417         * gdb.btrace/stepi.exp: Likewise.
11418         * gdb.btrace/tailcall.exp: Likewise.
11419         * gdb.btrace/unknown_functions.exp: Likewise.
11420         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11421         * lib/gdb.exp: Add the "multi_line" helper.
11422
11423 2015-04-01  Pedro Alves  <palves@redhat.com>
11424
11425         * gdb.threads/tid-reuse.c: New file.
11426         * gdb.threads/tid-reuse.exp: New file.
11427
11428 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
11429
11430         PR corefiles/16092
11431         * gdb.base/coredump-filter.c: New file.
11432         * gdb.base/coredump-filter.exp: Likewise.
11433
11434 2015-03-27  Petr Machata  <pmachata@redhat.com>
11435
11436         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11437         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11438         (Dwarf::assemble): Initialize them.
11439         (Dwarf::lines): New function.
11440
11441 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
11442
11443         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11444         SYMBOL_PREFIX for x86_64-*-cygwin.
11445
11446 2015-03-26  Andy Wingo  <wingo@igalia.com>
11447
11448         PR symtab/18148
11449         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11450         const_value but not a location.
11451         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11452         location defined in non-main CUs are visible.
11453
11454 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11455
11456         PR testsuite/18139
11457         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11458         Add a line number entry for the same line.
11459         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11460         Add a line number entry for the same line.
11461
11462 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11463
11464         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11465         .int 0.
11466         (func): Likewise.  Add .Lfunc_1 label.
11467         Use .Lfunc_1 label.
11468         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11469         .int 0.
11470         (func): Likewise.
11471         Use .Lfunc_1 label.
11472
11473 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11474
11475         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11476         Call gdb_compile instead to compile each .s files without debug
11477         information.
11478
11479 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11480
11481         * gdb.base/savedregs.exp (process_saved_regs): Make
11482         "Saved registers:" optional in the pattern.
11483
11484 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11485
11486         * gdb.btrace/next.exp: Merged into step.exp.
11487         * gdb.btrace/finish.exp: Merged into step.exp.
11488         * gdb.btrace/nexti.exp: Merged into stepi.exp.
11489         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
11490         "record goto" and checking the exact replay position.
11491         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
11492         check for "Recording format" in "info record" output.
11493         * gdb.btrace/record_goto.exp: Choose test file based on target.
11494         * gdb.btrace/x86-record_goto.S: Renamed into ...
11495         * gdb.btrace/x86_64-record_goto.S: ... this.
11496         * gdb.btrace/i686-record_goto.S: New.
11497         * gdb.btrace/x86-tailcall.S: Renamed into ...
11498         * gdb.btrace/x86_64-tailcall.S: ... this.
11499         * gdb.btrace/i686-tailcall.S: New.
11500         * gdb.btrace/x86-tailcall.c: Renamed into ...
11501         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
11502         separate statements.  Update test.
11503         * gdb.btrace/delta.exp: Use record_goto.c as test file.
11504         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11505         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11506         * gdb.btrace/tailcall.exp: Choose test file based on target.
11507         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11508
11509 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11510
11511         * gdb.btrace/exception.exp: Increase BTS buffer size.
11512
11513 2015-03-24  Pedro Alves  <palves@redhat.com>
11514
11515         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11516
11517 2015-03-24  Pedro Alves  <palves@redhat.com>
11518
11519         * gdb.threads/schedlock.exp (test_step): No longer expect that
11520         "set scheduler-locking step" with "next" over a function call runs
11521         threads unlocked.
11522
11523 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11524
11525         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11526
11527 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11528
11529         PR breakpoints/16466
11530         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11531         * gdb.mi/mi-pending.c (thread_func): New function.
11532         (int main): Add threading support required.
11533         * gdb.mi/mi-pending.exp: Add tests for this issue.
11534         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11535         (pendfunc2): Remove stdio dependency.
11536         * gdb.mi/mi-pendshr2.c: New file.
11537
11538 2015-03-23  Keith Seitz  <keiths@redhat.com>
11539
11540         * gdb.linespec/keywords.c: New file.
11541         * gdb.linespec/keywords.exp: New file.
11542
11543 2015-03-23  Keith Seitz  <keiths@redhat.com>
11544
11545         PR gdb/18021
11546         * gdb.dwarf2/staticvirtual.exp: New test.
11547
11548 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11549
11550         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11551         * README: Remove HP-UX and gdb.hp.
11552         (configuration):
11553         * configure: Regenerate.
11554         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11555         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11556         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11557         gdb.hp/gdb.defects/Makefile.
11558         * gdb.hp/Makefile.in: File deleted.
11559         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11560         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11561         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11562         * gdb.hp/gdb.aCC/run.c: File deleted.
11563         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11564         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11565         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11566         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11567         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11568         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11569         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11570         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11571         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11572         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11573         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11574         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11575         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11576         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11577         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11578         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11579         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11580         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11581         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11582         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11583         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11584         * gdb.hp/gdb.compat/average.c: File deleted.
11585         * gdb.hp/gdb.compat/sum.c: File deleted.
11586         * gdb.hp/gdb.compat/xdb.c: File deleted.
11587         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11588         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11589         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11590         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11591         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11592         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11593         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11594         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11595         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11596         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11597         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11598         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11599         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11600         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11601         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11602         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11603         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11604         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11605         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11606         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11607         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11608         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11609         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11610         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11611         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11612         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11613         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11614         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11615         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11616         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11617         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11618         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11619         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11620         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11621         * gdb.hp/tools/odump: File deleted.
11622
11623 2015-03-19  Pedro Alves  <palves@redhat.com>
11624
11625         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11626         (saw_thread_3): New globals.
11627         (top level): Increment them when an event for the corresponding
11628         thread is seen.
11629         (no thread starvation): New test.
11630
11631 2015-03-19  Pedro Alves  <palves@redhat.com>
11632
11633         * gdb.threads/continue-pending-status.c: New file.
11634         * gdb.threads/continue-pending-status.exp: New file.
11635
11636 2015-03-18  Pedro Alves  <palves@redhat.com>
11637
11638         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11639         Use gdb_is_target_remote instead of is_remote.  Use
11640         gdb_test_multiple instead of gdb_expect.  Exit early if
11641         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11642         expected output.  Fail on exit with any signal, instead of just
11643         SIGILL.
11644
11645 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11646
11647         PR tdep/18107
11648         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11649         variable.
11650         * gdb.base/catch-syscall.exp: Don't skip it on
11651         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11652         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11653         target.
11654         (setup_all_syscalls): New proc.
11655
11656 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11657
11658         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11659         (top level): Skip tests if valid_addr_p returns false for
11660         $cmd1 or $cmd2.
11661
11662 2015-03-11  Andy Wingo  <wingo@igalia.com>
11663
11664         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11665
11666 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11667
11668         * gdb.base/catch-syscall.exp: Fix typo in comments.
11669
11670 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11671
11672         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11673
11674 2015-03-09  Pedro Alves  <palves@redhat.com>
11675
11676         * dg-extract-results.py: Delete.
11677
11678 2015-03-09  Pedro Alves  <palves@redhat.com>
11679
11680         Merge dg-extract-results.sh from GCC upstream (r218843).
11681
11682         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11683                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11684                 binary files.  Fall back to cat -v, if that doesn't work.
11685
11686 2015-03-05  Pedro Alves  <palves@redhat.com>
11687
11688         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11689
11690 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11691
11692         * lib/mi-support.exp (mi_expect_interrupt): Accept
11693         alternative event for when in all-stop mode.
11694
11695 2015-03-04  Pedro Alves  <palves@redhat.com>
11696
11697         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11698
11699 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11700
11701         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11702
11703 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11704
11705         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11706         regexps for GDB's current line display, accept a hex address
11707         preceding the line number.
11708
11709 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11710
11711         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11712         the 'arch1' variable for "s390*-linux*" targets.
11713
11714 2015-03-04  Pedro Alves  <palves@redhat.com>
11715
11716         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11717         (main): Pass missing retval argument to pthread_join call.
11718
11719 2015-03-02  Pedro Alves  <palves@redhat.com>
11720
11721         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11722         (top level): Call do_test with non-stop as well.
11723
11724 2015-03-02  Pedro Alves  <palves@redhat.com>
11725
11726         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11727         -1.
11728
11729 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11730
11731         * gdb.arch/s390-vregs.exp: New test.
11732         * gdb.arch/s390-vregs.S: New file.
11733
11734 2015-02-27  Pedro Alves  <palves@redhat.com>
11735
11736         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11737         call to catch_command_errors.
11738         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11739         catch_command_errors.
11740
11741 2015-02-27  Pedro Alves  <palves@redhat.com>
11742
11743         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11744         "true" for boolean result.
11745         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11746         prototype of main.
11747
11748 2015-02-27  Pedro Alves  <palves@redhat.com>
11749
11750         * lib/unbuffer_output.c: New file.
11751         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11752         (main): Call gdb_unbuffer_output.
11753
11754 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11755
11756         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11757         target.
11758
11759 2015-02-26  Doug Evans  <dje@google.com>
11760
11761         * gdb.cp/class2.cc (Dbase, D): New classes.
11762         (main): New local delta.
11763         * gdb.cp/class2.exp: Test printing delta.
11764         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11765         (dynbar): New global.
11766         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11767
11768 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11769
11770         * gdb.compile/compile-ifunc.c: New file.
11771         * gdb.compile/compile-ifunc.exp: New file.
11772
11773 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11774
11775         * gdb.base/structs.exp: Check for correct struct on finish.
11776
11777 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11778
11779         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11780         is zero.
11781
11782 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11783
11784         * gdb.arch/cordic.ko.bz2: New file.
11785         * gdb.arch/cordic.ko.debug.bz2: New file.
11786         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11787
11788 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11789
11790         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11791         aarch64*-*-* target.
11792
11793 2015-02-23  Pedro Alves  <palves@redhat.com>
11794
11795         * lib/gdb.exp (delete_breakpoints): Rewrite using
11796         gdb_test_multiple.
11797
11798 2015-02-23  Pedro Alves  <palves@redhat.com>
11799
11800         * gdb.base/info-os.c: Include stdlib.h.
11801
11802 2015-02-22  Doug Evans  <xdje42@gmail.com>
11803
11804         PR symtab/17855
11805         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11806         is read after symbols have been re-read.
11807         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11808         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11809
11810 2015-02-21  Doug Evans  <dje@google.com>
11811
11812         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11813
11814 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11815
11816         PR corefiles/17808
11817         * gdb.arch/i386-biarch-core.core.bz2: New file.
11818         * gdb.arch/i386-biarch-core.exp: New file.
11819
11820 2015-02-21  Pedro Alves  <palves@redhat.com>
11821
11822         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11823         runto_main fails.
11824
11825 2015-02-20  Pedro Alves  <palves@redhat.com>
11826
11827         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11828         info probes.
11829
11830 2015-02-20  Pedro Alves  <palves@redhat.com>
11831
11832         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11833
11834 2015-02-20  Pedro Alves  <palves@redhat.com>
11835
11836         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11837         clean_restart before gdb_target_supports_trace.
11838
11839 2015-02-20  Pedro Alves  <palves@redhat.com>
11840
11841         PR threads/18006
11842         * gdb.threads/clone-thread_db.c: New file.
11843         * gdb.threads/clone-thread_db.exp: New file.
11844
11845 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11846
11847         PR breakpoints/16812
11848         * gdb.base/catch-gdb-caused-signals.c: New file.
11849         * gdb.base/catch-gdb-caused-signals.exp: New file.
11850
11851 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11852
11853         * configure: Regenerated.
11854         * configure.ac: Use GDB_AC_TRANSFORM.
11855         * aclocal.m4: sinclude ../transform.m4.
11856
11857 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11858
11859         * lib/dtrace.exp: New file.
11860         * gdb.base/dtrace-probe.exp: Likewise.
11861         * gdb.base/dtrace-probe.d: Likewise.
11862         * gdb.base/dtrace-probe.c: Likewise.
11863         * lib/pdtrace.in: Likewise.
11864         * configure.ac: Output variables with the transformed names of
11865         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11866         * configure: Regenerated.
11867
11868 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11869
11870         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11871         expected message when trying to access $_probe_* convenience
11872         variables while not on a probe.
11873
11874 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11875
11876         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11877
11878 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11879
11880         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11881         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11882
11883 2015-02-10  Doug Evans  <xdje42@gmail.com>
11884
11885         * lib/gdb.exp (gdb_load): Always return a result.
11886
11887 2015-02-10  Pedro Alves  <palves@redhat.com>
11888
11889         * gdb.threads/signal-sigtrap.c: New file.
11890         * gdb.threads/signal-sigtrap.exp: New file.
11891
11892 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11893
11894         * gdb.trace/no-attach-trace.c: New file.
11895         * gdb.trace/no-attach-trace.exp: New file.
11896
11897 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11898
11899         * gdb.dwarf2/atomic.c: New file.
11900         * gdb.dwarf2/atomic-type.exp: Likewise.
11901
11902 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11903
11904         * gdb.btrace/buffer-size.exp: Update "info record" output.
11905         * gdb.btrace/delta.exp: Update "info record" output.
11906         * gdb.btrace/enable.exp: Update "info record" output.
11907         * gdb.btrace/finish.exp: Update "info record" output.
11908         * gdb.btrace/instruction_history.exp: Update "info record" output.
11909         * gdb.btrace/next.exp: Update "info record" output.
11910         * gdb.btrace/nexti.exp: Update "info record" output.
11911         * gdb.btrace/step.exp: Update "info record" output.
11912         * gdb.btrace/stepi.exp: Update "info record" output.
11913         * gdb.btrace/nohist.exp: Update "info record" output.
11914
11915 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11916
11917         * gdb.btrace/buffer-size: New.
11918
11919 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11920
11921         * gdb.btrace/delta.exp: Update "info record" output.
11922         * gdb.btrace/enable.exp: Update "info record" output.
11923         * gdb.btrace/finish.exp: Update "info record" output.
11924         * gdb.btrace/instruction_history.exp: Update "info record" output.
11925         * gdb.btrace/next.exp: Update "info record" output.
11926         * gdb.btrace/nexti.exp: Update "info record" output.
11927         * gdb.btrace/step.exp: Update "info record" output.
11928         * gdb.btrace/stepi.exp: Update "info record" output.
11929         * gdb.btrace/nohist.exp: Update "info record" output.
11930
11931 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11932
11933         PR gdb/15678
11934         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11935
11936 2015-02-06  Pedro Alves  <palves@redhat.com>
11937
11938         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11939         macro.
11940         (seconds_left, again): New globals.
11941         (main): Wait seconds_left in a 1-second sleep loop instead of
11942         sleeping 180 seconds.  If 'again' is set, reset the seconds
11943         counter.
11944         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11945         'again' in the inferior before detaching.  Print the seconds left.
11946         (options): New global.
11947         (top level): Build program with -DTIMEOUT=$timeout.
11948
11949 2015-02-06  Pedro Alves  <palves@redhat.com>
11950
11951         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11952         determine how many seconds to pass to 'alarm'.
11953         * gdb.base/gdb-sigterm.exp (top level): Build program with
11954         -DTIMEOUT=$timeout.
11955         (do_test): Return success/failure indication.  Add more verbose
11956         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11957         when the test times out.
11958         (passes): New global.
11959         (top level): Break the testing loop if testing fails on any
11960         iteration.  Use gdb_assert.
11961
11962 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11963
11964         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11965         and initialize them.
11966         (ipc_cleanup): New function.
11967         (main): Don't declare shmid, semid, and msqid.  Add a call to
11968         atexit so that we call ipc_cleanup on exit.
11969
11970 2015-02-04  Pedro Alves  <palves@redhat.com>
11971
11972         * boards/native-extended-gdbserver.exp: Remove any target variant
11973         specifications from the board name before clearing the isremote
11974         flag from board_info.
11975
11976 2015-01-31  Doug Evans  <xdje42@gmail.com>
11977
11978         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11979
11980 2015-01-31  Gary Benson <gbenson@redhat.com>
11981
11982         * gdb.base/completion.exp: Disable completion limiting for
11983         existing tests.  Add new tests to check completion limiting.
11984         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11985
11986 2015-01-31  Doug Evans  <xdje42@gmail.com>
11987
11988         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11989
11990 2015-01-31  Doug Evans  <xdje42@gmail.com>
11991
11992         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11993         entries.  Duplicate file section script entries.
11994         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11995         inlined entries.  Add test for safe-path rejection.
11996         * gdb.python/py-section-script.c: Add duplicate inlined section script
11997         entries.  Duplicate file section script entries.
11998         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11999         inlined entries.  Add test for safe-path rejection.
12000
12001 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
12002
12003         * gdb.ada/disc_arr_bound: New testcase.
12004
12005 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
12006
12007         * gdb.ada/mi_var_array: New testcase.
12008
12009 2015-01-27  Doug Evans  <dje@google.com>
12010
12011         * gdb.python/py-objfile.exp: Add tests for objfile.username.
12012         Add test for objfile.filename, objfile.username after objfile
12013         has been unloaded.
12014
12015 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
12016
12017         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12018         the second test to print the name attribute of value
12019         returned by the call to gdb.lookup_type, and adjust
12020         the expected output accordingly.
12021
12022 2015-01-25  Mark Wielaard  <mjw@redhat.com>
12023
12024         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12025         * gdb.base/disp-step-fork.c: Include unistd.h.
12026         * gdb.base/siginfo-obj.c: Include stdio.h.
12027         * gdb.base/siginfo-thread.c: Likewise.
12028         * gdb.mi/non-stop.c: Include unistd.h.
12029         * gdb.mi/nsthrexec.c: Include stdio.h.
12030         * gdb.mi/pthreads.c: Include unistd.h.
12031         * gdb.modula2/unbounded1.c (main): Declare returns int.
12032         * gdb.reverse/consecutive-reverse.c: Likewise.
12033         * gdb.threads/create-fail.c: Include unistd.h.
12034         * gdb.threads/killed.c: Likewise.
12035         * gdb.threads/linux-dp.c: Likewise.
12036         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12037         * gdb.threads/non-ldr-exc-2.c: Likewise.
12038         * gdb.threads/non-ldr-exc-3.c: Likewise.
12039         * gdb.threads/non-ldr-exc-4.c: Likewise.
12040         * gdb.threads/pthreads.c: Include unistd.h.
12041         (main): Declare returns int.
12042         * gdb.threads/tls-main.c (foo): New declaration.
12043         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12044
12045 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
12046
12047         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12048         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12049
12050 2015-01-15  Mark Wielaard  <mjw@redhat.com>
12051
12052         * gdb.base/noreturn-return.c: New file.
12053         * gdb.base/noreturn-return.exp: New file.
12054         * gdb.base/noreturn-finish.c: New file.
12055         * gdb.base/noreturn-finish.exp: New file.
12056
12057 2015-01-23  Pedro Alves  <palves@redhat.com>
12058
12059         * gdb.threads/continue-pending-after-query.c: New file.
12060         * gdb.threads/continue-pending-after-query.exp: New file.
12061
12062 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
12063             Simon Marchi  <simon.marchi@ericsson.com>
12064
12065         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12066         * gdb.base/valgrind-db-attach.exp: Same.
12067         * gdb.base/valgrind-infcall.exp: Same.
12068         * lib/mi-support.exp (default_mi_gdb_start): Same.
12069         * lib/prompt.exp (default_prompt_gdb_start): Same.
12070         * lib/gdb.exp (default_gdb_spawn): Same.
12071         (gdb_interact): New.
12072
12073
12074 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12075
12076         * gdb.compile/compile.exp (pointer to jit function): New test.
12077
12078 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
12079
12080         * lib/gdb.exp (supports_process_record): Return true for
12081         powerpc*-*-linux*.
12082         (supports_reverse): Likewise.
12083
12084 2015-01-15  Don Breazeal  <donb@codesourcery.com>
12085
12086         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12087         instead of checking whether the target board is remote and
12088         use spawn_wait_for_attach instead of exec/sleep.
12089         * gdb.base/attach-twice.exp: Likewise.
12090
12091 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
12092
12093         * gdb.ada/var_arr_attrs: New testcase.
12094
12095 2015-01-14  Pedro Alves  <palves@redhat.com>
12096             Joel Brobecker  <brobecker@adacore.com>
12097
12098         PR gdb/17525
12099         * gdb.base/bp-cmds-execution-x-script.c: New file.
12100         * gdb.base/bp-cmds-execution-x-script.exp: New file.
12101         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12102
12103 2015-01-14  Pedro Alves  <palves@redhat.com>
12104
12105         PR cli/17828
12106         * gdb.base/batch-preserve-term-settings.c: New file.
12107         * gdb.base/batch-preserve-term-settings.exp: New file.
12108
12109 2015-01-13  Doug Evans  <dje@google.com>
12110
12111         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12112         binary.
12113
12114 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
12115
12116         * Makefile.in (clean mostlyclean): Do not delete *.py.
12117
12118 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
12119
12120         * gdb.python/py-lookup-type.exp: New file.
12121
12122 2015-01-12  Pedro Alves  <palves@redhat.com>
12123
12124         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12125         restore GDBFLAGS before returning.
12126
12127 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12128
12129         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12130         is_amd64_regs_target and is_x86_like_target.
12131
12132 2015-01-11  Doug Evans  <xdje42@gmail.com>
12133
12134         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12135         is given without an explicit form.
12136         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12137         attributes.
12138         * gdb.dwarf/corrupt.exp: Ditto.
12139         * gdb.dwarf2/enum-type.exp: Ditto.
12140         * gdb.trace/entry-values.exp: Ditto.
12141         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12142
12143 2015-01-11  Doug Evans  <xdje42@gmail.com>
12144
12145         PR gdb/15830
12146         * gdb.base/maint.exp: Remove references to "maint demangle".
12147         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
12148         Add tests for explicitly specifying language to demangle.
12149         * gdb.dlang/demangle.exp: Ditto.
12150
12151 2015-01-09  Pedro Alves  <palves@redhat.com>
12152
12153         * gdb.threads/non-stop-fair-events.c: New file.
12154         * gdb.threads/non-stop-fair-events.exp: New file.
12155
12156 2015-01-09  Pedro Alves  <palves@redhat.com>
12157
12158         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12159         the global scope.  Set a breakpoint after all threads are started
12160         rather than stepping over two source lines.  Expect the prompt.
12161         * gdb.base/watch_thread_num.c (threads_started_barrier): New
12162         global.
12163         (NUM): Now 15.
12164         (main): Use threads_started_barrier to wait for all threads to
12165         start.  Main thread no longer calls thread_function.  Exit after
12166         180 seconds.
12167         (loop): New function.
12168         (thread_function): Wait on threads_started_barrier barrier.  Call
12169         'loop' at each iteration.
12170         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12171         threads have started, instead of hardcoding number of "next"
12172         steps.  Use an access watchpoint instead of a write watchpoint.
12173
12174 2015-01-09  Pedro Alves  <palves@redhat.com>
12175
12176         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12177         (thread_func): Wait on barrier.
12178         (main): Wait for all threads to start before stopping GDB.
12179         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12180         global.
12181         (thread1_func, thread2_func): Wait on barrier.
12182         (main): Wait for all threads to start before stopping GDB.
12183         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12184         New global.
12185         (thread1_func, thread2_func): Wait on barrier.
12186         (main): Wait for all threads to start before stopping GDB.
12187
12188 2015-01-09  Pedro Alves  <palves@redhat.com>
12189
12190         * gdb.threads/attach-many-short-lived-threads.c: New file.
12191         * gdb.threads/attach-many-short-lived-threads.exp: New file.
12192
12193 2014-01-09  Pedro Alves  <palves@redhat.com>
12194
12195         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12196         instead of to thread 2.
12197         * gdb.threads/signal-command-multiple-signals-pending.c (main):
12198         Add barrier around each pthread_create call instead of around all
12199         calls.
12200         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12201         Set a break on thread_function and have the child threads hit it
12202         one at at a time.
12203
12204 2015-01-09  Pedro Alves  <palves@redhat.com>
12205
12206         * lib/gdb.exp (can_spawn_for_attach): New procedure.
12207         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12208         false.
12209         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12210         checking whether the target board is remote.
12211         * gdb.multi/multi-attach.exp: Likewise.
12212         * gdb.python/py-sync-interp.exp: Likewise.
12213         * gdb.server/ext-attach.exp: Likewise.
12214         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12215         tests that need to attach, instead of checking whether the target
12216         board is remote at the top of the file.
12217
12218 2015-01-08  Yao Qi  <yao@codesourcery.com>
12219
12220         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12221
12222 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12223
12224         Fix testcase compilation.
12225         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12226
12227 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
12228
12229         * gdb.python/py-type.exp: Add a couple test about empty
12230         array creation, and negative-length array creation.
12231
12232 2015-01-02  Doug Evans  <xdje42@gmail.com>
12233
12234         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12235
12236 2015-01-02  Doug Evans  <dje@google.com>
12237
12238         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12239
12240 2014-12-29  Yao Qi  <yao@codesourcery.com>
12241
12242         * gdb.trace/entry-values.exp: Update comments.  Rename variable
12243         bar_call_foo to returned_from_foo.
12244
12245 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
12246
12247         PR gdb/17394
12248         * gdb.linespec/break-asm-file.c: New file.
12249         * gdb.linespec/break-asm-file.exp: New file.
12250         * gdb.linespec/break-asm-file0.s: New file.
12251         * gdb.linespec/break-asm-file1.s: New file.
12252
12253 2014-12-18  Nigel Stephens  <nigel@mips.com>
12254             Maciej W. Rozycki  <macro@codesourcery.com>
12255
12256         * gdb.base/float.exp: Handle the new output from "info float" on
12257         MIPS targets.
12258
12259 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12260
12261         Fix MinGW compilation.
12262         * gdb.compile/compile-ops.exp: Update untested message if
12263         !skip_compile_feature_tests.
12264         * gdb.compile/compile-setjmp.exp: Likewise.
12265         * gdb.compile/compile-tls.exp: Likewise.
12266         * gdb.compile/compile.exp: Likewise.
12267         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12268         supported on this host".
12269
12270 2014-12-16  Doug Evans  <xdje42@gmail.com>
12271
12272         * boards/stabs.exp: New file.
12273
12274 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12275
12276         * gdb.base/completion.exp: Adjust to format changes of "maint
12277         print user-registers".
12278
12279 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
12280
12281         PR server/17457
12282         * gdb.arch/aarch64-fp.c: New file.
12283         * gdb.arch/aarch64-fp.exp: New file.
12284
12285 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
12286
12287         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12288         r210637, r210913, r211666, r215400, r215817).
12289
12290         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
12291                 * dg-extract-results.py: New file.
12292                 * dg-extract-results.sh: Use it if the environment seems
12293                 suitable.
12294
12295         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
12296
12297                 * dg-extract-results.py (parse_run): Handle warnings that
12298                 are printed before a test harness is run.
12299
12300         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
12301
12302                 * dg-extract-results.py (Named): Remove __cmp__ method.
12303                 (output_variation): Use a key to sort variation.harnesses.
12304
12305         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
12306
12307                 * dg-extract-results.py: For Python 3, force sys.stdout to
12308                 handle surrogate escape sequences.
12309                 (safe_open): New function.
12310                 (output_segment, main): Use it.
12311
12312         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
12313
12314                 * dg-extract-results.py (Prog.result_re): Include options
12315                 in test name.
12316
12317         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
12318
12319                 * dg-extract-results.py (output_variation): Always sort if
12320                 do_sum.
12321
12322 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
12323
12324         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12325         as long as we get pagination notifications.
12326
12327 2014-12-15  Jason Merrill  <jason@redhat.com>
12328
12329         * Makefile.in (check-gdb.%): Restore.
12330         * README: Mention it.
12331
12332 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
12333
12334         * gdb.ada/str_uninit: New testcase.
12335
12336 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12337
12338         PR symtab/17642
12339         * gdb.base/vla-stub-define.c: New file.
12340         * gdb.base/vla-stub.c: New file.
12341         * gdb.base/vla-stub.exp: New file.
12342
12343 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
12344             Jan Kratochvil  <jan.kratochvil@redhat.com>
12345             Tom Tromey  <tromey@redhat.com>
12346
12347         * configure.ac: Add gdb.compile/.
12348         * configure: Regenerate.
12349         * gdb.compile/Makefile.in: New file.
12350         * gdb.compile/compile-ops.exp: New file.
12351         * gdb.compile/compile-ops.c: New file.
12352         * gdb.compile/compile-tls.c: New file.
12353         * gdb.compile/compile-tls.exp: New file.
12354         * gdb.compile/compile-constvar.S: New file.
12355         * gdb.compile/compile-constvar.c: New file.
12356         * gdb.compile/compile-mod.c: New file.
12357         * gdb.compile/compile-nodebug.c: New file.
12358         * gdb.compile/compile-setjmp-mod.c: New file.
12359         * gdb.compile/compile-setjmp.c: New file.
12360         * gdb.compile/compile-setjmp.exp: New file.
12361         * gdb.compile/compile-shlib.c: New file.
12362         * gdb.compile/compile.c: New file.
12363         * gdb.compile/compile.exp: New file.
12364         * lib/gdb.exp (skip_compile_feature_tests): New proc.
12365
12366 2014-12-12  Tom Tromey  <tromey@redhat.com>
12367
12368         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
12369         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12370
12371 2014-12-12  Doug Evans  <dje@google.com>
12372
12373         * lib/gdb-python.exp (get_python_valueof): New function.
12374         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12375
12376 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12377
12378         * gdb.base/completion.exp: Add test for completion of "info
12379         registers ".
12380
12381 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
12382
12383         * gdb.base/func-ptrs.c: New file.
12384         * gdb.base/func-ptrs.exp: New file.
12385
12386 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
12387
12388         PR breakpoints/17012
12389         * gdb.base/dprintf-detach.c: New file.
12390         * gdb.base/dprintf-detach.exp: New file.
12391
12392 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
12393
12394         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12395         * lib/gdb.exp (target_is_gdbserver): New procedure.
12396
12397 2014-12-08  Doug Evans  <dje@google.com>
12398
12399         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12400
12401 2014-12-05  Yao Qi  <yao@codesourcery.com>
12402
12403         * gdb.guile/scm-error.exp: Remove the third argument to
12404         gdb_remote_download.
12405         * gdb.guile/scm-frame-args.exp: Likewise.
12406         * gdb.guile/scm-section-script.exp: Likewise.
12407
12408 2014-12-05  Yao Qi  <yao@codesourcery.com>
12409
12410         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12411
12412 2014-12-04  Doug Evans  <dje@google.com>
12413
12414         * gdb.python/py-objfile.exp: Add tests for
12415         objfile.add_separate_debug_file.
12416
12417 2014-12-04  Doug Evans  <dje@google.com>
12418
12419         * lib/gdb.exp (get_build_id): New function.
12420         (build_id_debug_filename_get): Rewrite to use it.
12421         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12422
12423 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
12424
12425         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12426         `method(long)', not just 0x0.
12427         * gdb.cp/nsalias.exp: Align code labels to 4.
12428         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12429         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12430         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12431         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12432         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12433         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12434
12435 2014-12-02  Doug Evans  <dje@google.com>
12436
12437         PR symtab/17602
12438         * gdb.cp/anon-ns.cc: Move guts of this file to ...
12439         * gdb.cp/anon-ns2.cc: ... here.  New file.
12440         * gdb.cp/anon-ns.exp: Update.
12441
12442 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
12443
12444         * gdb.python/py-events.py (inferior_call_handler): New.
12445         (register_changed_handler, memory_changed_handler): New.
12446         (test_events.invoke): Register new handlers.
12447         * gdb.python/py-events.exp: Add tests for inferior call,
12448         memory_changed and register_changed events.
12449
12450 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12451
12452         * gdb.base/execl-update-breakpoints.exp: Specify the link address
12453         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
12454         if the linker doesn't understand this.
12455
12456 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
12457
12458         * gdb.python/python.exp: Change expected reply to help().
12459
12460 2014-12-01  Yao Qi  <yao@codesourcery.com>
12461
12462         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
12463         AC_CONFIG_SUBDIRS(gdb.gdbtk).
12464         * configure: Re-generated.
12465
12466 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
12467
12468         * gdb.cp/chained-calls.cc: New file.
12469         * gdb.cp/chained-calls.exp: New file.
12470         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12471
12472 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
12473
12474         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12475         * gdb.dwarf2/symtab-producer.exp: Same.
12476         * gdb.gdb/python-interrupts.exp: Same.
12477         * gdb.gdb/python-selftest.exp: Same.
12478         * gdb.python/py-linetable.exp: Same.
12479         * gdb.python/py-type.exp: Same.
12480         * gdb.python/py-value-cc.exp: Same.
12481         * gdb.python/py-value.exp: Same.
12482
12483 2014-11-28  Yao Qi  <yao@codesourcery.com>
12484
12485         * gdb.base/break-probes.exp: Match library name prefixed with
12486         sysroot.
12487
12488 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
12489
12490         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12491         test expected output.  Add parentheses for the call to print.
12492         Remove L suffix from integers.
12493
12494 2014-11-26  Doug Evans  <dje@google.com>
12495
12496         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12497
12498 2014-11-22  Yao Qi  <yao@codesourcery.com>
12499
12500         * gdb.trace/entry-values.c: Remove asms.
12501         (foo): Add foo_label.
12502         (bar): Add bar_label.
12503         * gdb.trace/entry-values.exp: Remove code computing  foo's
12504         length and bar's length.
12505         (Dwarf::assemble): Invoke function_range for bar and use
12506         MACRO_AT_func for foo.
12507
12508 2014-11-22  Yao Qi  <yao@codesourcery.com>
12509
12510         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12511         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12512         Use .Lgcc43_procstart instead of gcc43.
12513
12514 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12515
12516         * gdb.ada/n_arr_bound: New testcase.
12517
12518 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12519
12520         PR breakpoints/10737
12521         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12522         test_catch_syscall_multi_arch.
12523         (test_catch_syscall_multi_arch): New function.
12524
12525 2014-11-20  Doug Evans  <xdje42@gmail.com>
12526
12527         * gdb.base/maint.exp: Update expected output.
12528
12529 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12530
12531         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12532         4-byte instruction on S390.
12533
12534 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12535
12536         * gdb.ada/arr_arr: New testcase.
12537
12538 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12539
12540         * gdb.ada/pkd_arr_elem: New Testcase.
12541
12542 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12543
12544         * gdb.reverse/break-precsave: Expect completion message for
12545         core file reads.
12546         * gdb.reverse/consecutive-precsave.exp: Likewise.
12547         * gdb.reverse/finish-precsave.exp: Likewise.
12548         * gdb.reverse/i386-precsave.exp: Likewise.
12549         * gdb.reverse/machinestate-precsave.exp: Likewise.
12550         * gdb.reverse/sigall-precsave.exp: Likewise.
12551         * gdb.reverse/solib-precsave.exp: Likewise.
12552         * gdb.reverse/step-precsave.exp: Likewise.
12553         * gdb.reverse/until-precsave.exp: Likewise.
12554         * gdb.reverse/watch-precsave.exp: Likewise.
12555
12556 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12557
12558         * gdb.base/bp-permanent.c: Include unistd.h.
12559         * gdb.python/py-framefilter-mi.c (main): Add return type.
12560         * gdb.python/py-framefilter.c (main): Likewise.
12561         * gdb.trace/actions-changed.c (main): Likewise.
12562
12563 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12564
12565         * gdb.mi/until.c: Add eye-catchers.
12566         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12567         line numbers.
12568
12569 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12570
12571         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12572         function header variants in break1.c.
12573         * gdb.base/ena-dis-br.exp: Likewise.
12574         * gdb.base/hbreak2.exp: Likewise.
12575         * gdb.reverse/until-precsave.exp: Drop references to removed
12576         non-prototype function header variants in ur1.c.
12577         * gdb.reverse/until-reverse.exp: Likewise.
12578
12579 2014-11-17  Petr Machata  <pmachata@redhat.com>
12580
12581         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12582         ${_cu_offset_size} bytes abbrev offset.
12583
12584 2014-11-15  Doug Evans  <xdje42@gmail.com>
12585
12586         PR symtab/17559
12587         * gdb.base/line-symtabs.exp: New file.
12588         * gdb.base/line-symtabs.c: New file.
12589         * gdb.base/line-symtabs.h: New file.
12590
12591 2014-11-14  Yao Qi  <yao@codesourcery.com>
12592
12593         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12594         (func): Add label func_label.
12595         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12596         Replace low_pc and high_pc with MACRO_AT_range.
12597         Replace name, low_pc and high_pc with MACRO_AT_func.
12598
12599 2014-11-14  Yao Qi  <yao@codesourcery.com>
12600
12601         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12602         Replace name, low_pc and high_pc with MACRO_AT_func.
12603
12604 2014-11-14  Yao Qi  <yao@codesourcery.com>
12605
12606         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12607         produce debug information.
12608         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12609
12610 2014-11-14  Yao Qi  <yao@codesourcery.com>
12611
12612         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12613         object and get function length.
12614         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12615         with MACRO_AT_func.
12616         (top-level): Replace gdb_compile and clean_restart with
12617         prepare_for_testing.
12618         * gdb.dwarf2/main.c (main): Add label main_label.
12619
12620 2014-11-14  Yao Qi  <yao@codesourcery.com>
12621
12622         * lib/dwarf.exp (function_range): New procedure.
12623         (Dwarf::_handle_macro_at_func): New procedure.
12624         (Dwarf::_handle_macro_at_range): New procedure.
12625         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12626
12627 2014-11-14  Yao Qi  <yao@codesourcery.com>
12628
12629         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12630         (_handle_attribute): New procedure.
12631
12632 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12633
12634         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12635         * gdb.base/call-sc.c (zed): Likewise.
12636         * gdb.base/checkpoint.c (main): Likewise.
12637         * gdb.base/dump.c (main): Likewise.
12638         * gdb.base/gcore.c (main): Likewise.
12639         * gdb.base/huge.c (main): Likewise.
12640         * gdb.base/multi-forks.c (main): Likewise.
12641         * gdb.base/pr10179-a.c (main): Likewise.
12642         * gdb.base/savedregs.c (main): Likewise.
12643         * gdb.base/sigaltstack.c (main): Likewise.
12644         * gdb.base/siginfo.c (main): Likewise.
12645         * gdb.base/structs.c (zed): Likewise.
12646         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12647         * gdb.mi/mi-syn-frame.c (main): Likewise.
12648         * gdb.mi/until.c (foo, main): Likewise.
12649         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12650         * gdb.base/solib-weak.c (foo): Declare.
12651         * gdb.base/attach-twice.c: Include stdio.h.
12652         * gdb.base/weaklib1.c: Likewise.
12653         * gdb.base/weaklib2.c: Likewise.
12654         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12655         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12656         unistd.h.
12657         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12658         * gdb.mi/mi-exit-code.c: Likewise.
12659         * gdb.base/break-interp-lib.c: Include string.h.
12660         * gdb.base/coremaker.c: Likewise.
12661         * gdb.base/testenv.c: Likewise.
12662         * gdb.python/py-finish-breakpoint.c: Likewise.
12663         * gdb.base/inferior-died.c: Include sys/wait.h.
12664         * gdb.base/fileio.c: Include time.h.
12665         * gdb.base/async-shell.c: Include unistd.h.
12666         * gdb.base/dprintf-non-stop.c: Likewise.
12667         * gdb.base/info-os.c: Likewise.
12668         * gdb.mi/mi-console.c: Likewise.
12669         * gdb.mi/watch-nonstop.c: Likewise.
12670         * gdb.python/py-events.c: Likewise.
12671         * gdb.base/async.c (baz): Move up before its invocation.
12672         * gdb.base/code_elim2.c (my_global_func): Likewise.
12673         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12674         * gdb.base/advance.c (func2): Likewise.
12675
12676 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12677
12678         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12679         variant.
12680         * gdb.base/annota3.c: Likewise.
12681         * gdb.base/async.c: Likewise.
12682         * gdb.base/average.c: Likewise.
12683         * gdb.base/call-ar-st.c: Likewise.
12684         * gdb.base/call-rt-st.c: Likewise.
12685         * gdb.base/call-sc.c: Likewise.
12686         * gdb.base/call-strs.c: Likewise.
12687         * gdb.base/ending-run.c: Likewise.
12688         * gdb.base/execd-prog.c: Likewise.
12689         * gdb.base/exprs.c: Likewise.
12690         * gdb.base/foll-exec.c: Likewise.
12691         * gdb.base/foll-fork.c: Likewise.
12692         * gdb.base/foll-vfork.c: Likewise.
12693         * gdb.base/funcargs.c: Likewise.
12694         * gdb.base/gcore.c: Likewise.
12695         * gdb.base/jump.c: Likewise.
12696         * gdb.base/langs0.c: Likewise.
12697         * gdb.base/langs1.c: Likewise.
12698         * gdb.base/langs2.c: Likewise.
12699         * gdb.base/mips_pro.c: Likewise.
12700         * gdb.base/nodebug.c: Likewise.
12701         * gdb.base/opaque0.c: Likewise.
12702         * gdb.base/opaque1.c: Likewise.
12703         * gdb.base/recurse.c: Likewise.
12704         * gdb.base/run.c: Likewise.
12705         * gdb.base/scope0.c: Likewise.
12706         * gdb.base/scope1.c: Likewise.
12707         * gdb.base/setshow.c: Likewise.
12708         * gdb.base/setvar.c: Likewise.
12709         * gdb.base/shmain.c: Likewise.
12710         * gdb.base/shr1.c: Likewise.
12711         * gdb.base/shr2.c: Likewise.
12712         * gdb.base/sigall.c: Likewise.
12713         * gdb.base/signals.c: Likewise.
12714         * gdb.base/so-indr-cl.c: Likewise.
12715         * gdb.base/solib2.c: Likewise.
12716         * gdb.base/structs.c: Likewise.
12717         * gdb.base/sum.c: Likewise.
12718         * gdb.base/vforked-prog.c: Likewise.
12719         * gdb.base/watchpoint.c: Likewise.
12720         * gdb.reverse/shr2.c: Likewise.
12721         * gdb.reverse/until-reverse.c: Likewise.
12722         * gdb.reverse/ur1.c: Likewise.
12723         * gdb.reverse/watch-reverse.c: Likewise.
12724
12725 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12726
12727         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12728         variant.
12729         * gdb.base/sepdebug.exp: Drop references to removed code.
12730
12731 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12732
12733         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12734         variant.  Preserve original line numbering.
12735         * gdb.base/list1.c: Likewise.
12736
12737 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12738
12739         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12740         variant.
12741         * gdb.base/break1.c: Likewise.
12742         * gdb.base/break.exp: Drop references to removed code.
12743
12744 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12745
12746         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12747         variant.
12748
12749 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12750
12751         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12752
12753 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12754
12755         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12756         logic into perform_all_tests() and invoke it with and without
12757         function header prototypes.
12758         (do_function_calls): Remove conditional XFAIL for PR 5318.
12759         (rerun_and_prepare): Remove duplicate code.
12760         (perform_all_tests): New.  Main logic moved here.
12761
12762 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12763
12764         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12765         code guarded by #ifdef NO_PROTOTYPES.
12766         (t_double_many_args): Likewise.
12767         (DEF_FUNC_MANY_ARGS_1): Likewise.
12768         (DEF_FUNC_VALUES_1): Likewise.
12769         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12770         guarded by #ifdef PROTOTYPES.
12771
12772 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12773
12774         * gdb.mi/mi-console.c: Add eye-catcher.
12775         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12776         instead of literal line number.
12777
12778 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12779
12780         * gdb.base/shr2.c: Add eye-catcher.
12781         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12782         line number.
12783
12784 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12785
12786         * gdb.base/jump.c: Add eye-catchers.
12787         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12788         numbers.
12789
12790 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12791
12792         * gdb.base/execd-prog.c: Add eye-catchers.
12793         * gdb.base/foll-exec.c: Likewise.
12794         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12795         line numbers.
12796
12797 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12798
12799         * gdb.base/ending-run.c: Add eye-catchers.
12800         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12801         literal line numbers.
12802
12803 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12804
12805         * gdb.base/call-rt-st.c: Add eye-catchers.
12806         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12807         literal line numbers.
12808
12809 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12810
12811         * gdb.base/call-ar-st.c: Add eye-catchers.
12812         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12813         literal line numbers.
12814
12815 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12816
12817         * gdb.base/average.c: Add eye-catchers.
12818         * gdb.base/sum.c: Likewise.
12819         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12820         regexps dynamically.
12821
12822 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12823
12824         * gdb.base/solib1.c: Add eye-catchers.
12825         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12826         literal line numbers.
12827
12828 2014-11-12  Pedro Alves  <palves@redhat.com>
12829
12830         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12831         leader has exited.
12832
12833 2014-11-12  Pedro Alves  <palves@redhat.com>
12834
12835         * gdb.arch/i386-bp_permanent.c: New file.
12836         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12837         (srcfile): Set to i386-bp_permanent.c.
12838         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12839         that stepi does not execute the 'leave' instruction, instead of
12840         testing it does execute.
12841         * gdb.base/bp-permanent.c: New file.
12842         * gdb.base/bp-permanent.exp: New file.
12843
12844 2014-11-10  Doug Evans  <xdje42@gmail.com>
12845
12846         PR symtab/17564
12847         * gdb.base/symtab-search-order.exp: New file.
12848         * gdb.base/symtab-search-order.c: New file.
12849         * gdb.base/symtab-search-order-1.c: New file.
12850         * gdb.base/symtab-search-order-shlib-1.c: New file.
12851
12852 2014-11-07  Pedro Alves  <palves@redhat.com>
12853
12854         PR gdb/17511
12855         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12856         i?86-*-linux*.
12857
12858 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12859
12860         PR c++/17494
12861         * gdb.cp/pr17494.cc: New file.
12862         * gdb.cp/pr17494.exp: New file.
12863
12864 2014-11-02  Yao Qi  <yao@codesourcery.com>
12865
12866         * gdb.python/python.exp: Get working directory and match the
12867         output of "set extended-prompt \\w " with it.
12868
12869 2014-10-30  Doug Evans  <dje@google.com>
12870
12871         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12872         in objfiles.
12873         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12874         in progspaces.
12875
12876 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12877
12878         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12879         * gdb.base/realname-expand.exp: Likewise.
12880         * gdb.linespec/macro-relative.exp: Likewise.
12881
12882 2014-10-29  Pedro Alves  <palves@redhat.com>
12883
12884         PR gdb/17408
12885         * gdb.threads/schedlock.c (some_function): New function.
12886         (call_function): New global.
12887         (MAYBE_CALL_SOME_FUNCTION): New macro.
12888         (thread_function): Call it.
12889         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12890         and use it instead of a global counter.  Adjust all callers.
12891         (get_current_thread): Use "find current thread" for test message
12892         here rather than having all callers pass down the same string.
12893         (goto_loop): New procedure, factored out from ...
12894         (my_continue): ... this.
12895         (step_ten_loops): Change parameter from test message to command to
12896         use.  Adjust.
12897         (list_count): Delete global.
12898         (check_result): New procedure, factored out from duplicate top
12899         level code.
12900         (continue tests): Wrap in with_test_prefix.
12901         (test_step): New procedure, factored out from duplicate top level
12902         code.
12903         (top level): Test "step" in combination with all scheduler-locking
12904         modes.  Test "next" in combination with all scheduler-locking
12905         modes, and in combination with stepping over a function call or
12906         not.
12907         * gdb.threads/next-bp-other-thread.c: New file.
12908         * gdb.threads/next-bp-other-thread.exp: New file.
12909
12910 2014-10-29  Pedro Alves  <palves@redhat.com>
12911
12912         PR python/17372
12913         * gdb.python/python.exp: Test a multi-line command that spawns
12914         interactive Python.
12915         * gdb.base/multi-line-starts-subshell.exp: New file.
12916
12917 2014-10-29  Yao Qi  <yao@codesourcery.com>
12918
12919         * gdb.base/fileio.exp: Make directories on host.
12920
12921 2014-10-29  Yao Qi  <yao@codesourcery.com>
12922
12923         * gdb.base/fileio.c (test_write): Close the file.
12924
12925 2014-10-28  Pedro Alves  <palves@redhat.com>
12926
12927         PR gdb/12623
12928         * gdb.base/sigstep.c (no_handler): New global.
12929         (main): If 'no_handler is true, set the signal handlers to
12930         SIG_IGN.
12931         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12932         with_sw_watch and no_handler parameters.  Handle them.
12933         (top level) <stepping over handler when stopped at a breakpoint
12934         test>: Add a test axis for testing with a software watchpoint, and
12935         another for testing with the signal handler set to SIG_IGN.
12936         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12937         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12938
12939 2014-10-28  Pedro Alves  <palves@redhat.com>
12940
12941         PR gdb/17511
12942         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12943         * gdb.base/sigstep.exp (other_handler_location): New global.
12944         (advance): Support stepping into the signal handler, and running
12945         commands while in the handler.
12946         (in_handler_map): New global.
12947         (top level): In the advance test, add combinations for getting
12948         into the handler with stepping commands, and for running commands
12949         in the handler.  Add comment descripting the advancei tests.
12950
12951 2014-10-28  Pedro Alves  <palves@redhat.com>
12952
12953         * gdb.base/sigstep.exp: Use build_executable instead of
12954         prepare_for_testing.
12955         (top level): Move code that starts GDB, runs to main and creates a
12956         display to ...
12957         (restart): ... this new procedure.
12958         (top level): Move backtrace from signal handler test to ...
12959         (validate_backtrace): ... this new procedure.
12960         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12961         with_test_prefix.  Always restart GDB.
12962         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12963         with_test_prefix.  Always restart GDB.  No need to delete
12964         breakpoints after the test.
12965         (test_skip_handler): Remove prefix parameter.
12966         (skip_over_handler, breakpoint_to_handler)
12967         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12968         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12969         restart GDB.  No need to delete breakpoints after the test.
12970         (top level): Use foreach to call the test procedures with
12971         different commands.
12972
12973 2014-10-28  Pedro Alves  <palves@redhat.com>
12974
12975         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12976         instead of GNATS numbers.
12977         * gdb.base/sigbpt.exp: Likewise.
12978         * gdb.base/siginfo.exp: Likewise.
12979         * gdb.base/sigstep.exp: Likewise.
12980
12981 2014-10-27  Pedro Alves  <palves@redhat.com>
12982
12983         * gdb.base/sigstep.c (dummy): New global.
12984         (main): Issue a couple writes to the new global.
12985         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12986         procedures.
12987         (skip_over_handler): Use test_skip_handler.
12988         (top level): Call skip_over_handler for stepi and nexti too.
12989         (breakpoint_over_handler): Use test_skip_handler.
12990         (top level): Call breakpoint_over_handler for stepi and nexti too.
12991
12992 2014-10-27  Yao Qi  <yao@codesourcery.com>
12993
12994         * gdb.trace/tfile.c (adjust_function_address)
12995         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12996         function descriptor.
12997
12998 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12999
13000         * gdb.base/foll-fork.exp (test_follow_fork,
13001         catch_fork_child_follow): Check for updated fork messages emitted
13002         from infrun.c.
13003         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13004         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13005         vfork_and_exec_child_follow_through_step): Check for updated vfork
13006         messages emitted from infrun.c.
13007
13008 2014-10-24  Pedro Alves  <palves@redhat.com>
13009
13010         * gdb.base/corefile.exp: Remove references to ultrix.
13011         * gdb.base/interrupt.exp: Likewise.
13012         * gdb.base/whatis.exp: Likewise.
13013         * gdb.gdb/selftest.exp: Likewise.
13014         * gdb.threads/manythreads.exp: Likewise.
13015         * gdb.threads/print-threads.exp: Likewise.
13016         * gdb.threads/pthreads.exp:: Likewise.
13017         * gdb.threads/schedlock.exp: Likewise.
13018
13019 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
13020
13021         * gdb.cp/non-trivial-retval.cc: Add a test case.
13022         * gdb.cp/non-trivial-retval.exp: Add a test.
13023
13024 2014-10-20  Yao Qi  <yao@codesourcery.com>
13025
13026         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13027         * gdb.python/py-objfile-script-gdb.py: New file.
13028         * gdb.python/py-objfile-script.exp: Update reference to
13029         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
13030         of remote_download.  Remove the dest file.
13031
13032 2014-10-20  Yao Qi  <yao@codesourcery.com>
13033
13034         * gdb.base/checkpoint.exp: Don't remove file copied on host.
13035         * gdb.base/step-line.exp: Likewise.
13036         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13037         * gdb.dwarf2/dw2-basic.exp: Likewise.
13038         * gdb.dwarf2/dw2-compressed.exp: Likewise.
13039         * gdb.dwarf2/dw2-filename.exp: Likewise.
13040         * gdb.dwarf2/dw2-intercu.exp: Likewise.
13041         * gdb.dwarf2/dw2-intermix.exp: Likewise.
13042         * gdb.dwarf2/dw2-producer.exp: Likewise.
13043         * gdb.dwarf2/mac-fileno.exp: Likewise.
13044         * gdb.python/py-frame-args.exp: Likewise.
13045         * gdb.python/py-framefilter.exp: Likewise.
13046         * gdb.python/py-mi.exp: Likewise.
13047         * gdb.python/py-objfile-script.exp: Likewise
13048         * gdb.python/py-pp-integral.exp: Likewise.
13049         * gdb.python/py-pp-re-notag.exp: Likewise.
13050         * gdb.python/py-prettyprint.exp: Likewise.
13051         * gdb.python/py-section-script.exp: Likewise.
13052         * gdb.python/py-typeprint.exp: Likewise.
13053         * gdb.python/py-xmethods.exp: Likewise.
13054         * gdb.stabs/weird.exp: Likewise.
13055         * gdb.xml/tdesc-regs.exp: Likewise.
13056
13057 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
13058
13059         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13060         (out_cu): Use addr_len for the size of addresses.
13061         (out_line): Likewise.  Size DW_LNE_set_address instruction
13062         according to addr_len.
13063         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13064         (FUNC): Add START_INSNS to definition.
13065
13066 2014-10-18  Yao Qi  <yao@codesourcery.com>
13067
13068         * gdb.base/argv0-symlink.exp: Check argv[0] value if
13069         gdb_has_argv0 return true.
13070         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13071         check [target_info exists noargs], check [gdb_has_argv0]
13072         instead.
13073         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13074         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13075         procedures.
13076
13077 2014-10-17  Doug Evans  <dje@google.com>
13078
13079         * gdb.python/py-events.exp: Update expected output for clear_objfiles
13080         event.
13081         * gdb.python/py-events.py: Add clear_objfiles event.
13082
13083 2014-10-17  Doug Evans  <dje@google.com>
13084
13085         * gdb.python/py-objfile.exp: Test progspace attribute.
13086
13087 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
13088
13089         * gdb.guile/scm-breakpoint.exp: Do not assume any
13090         directory separators when matching source file paths.
13091         * gdb.python/py-breakpoint.exp: Likewise.
13092         * gdb.reverse/break-precsave.exp: Likewise.
13093         * gdb.reverse/break-reverse.exp: Likewise.
13094         * gdb.reverse/consecutive-precsave.exp: Likewise.
13095         * gdb.reverse/finish-precsave.exp: Likewise.
13096         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13097         * gdb.reverse/finish-reverse.exp: Likewise.
13098         * gdb.reverse/i386-precsave.exp: Likewise.
13099         * gdb.reverse/i387-env-reverse.exp: Likewise.
13100         * gdb.reverse/i387-stack-reverse.exp: Likewise.
13101         * gdb.reverse/machinestate-precsave.exp: Likewise.
13102         * gdb.reverse/machinestate.exp: Likewise.
13103         * gdb.reverse/sigall-precsave.exp: Likewise.
13104         * gdb.reverse/solib-precsave.exp: Likewise.
13105         * gdb.reverse/step-precsave.exp: Likewise.
13106         * gdb.reverse/until-precsave.exp: Likewise.
13107         * gdb.reverse/watch-precsave.exp: Likewise.
13108         * gdb.reverse/watch-reverse.exp: Likewise.
13109
13110 2014-10-17  Yao Qi  <yao@codesourcery.com>
13111
13112         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13113         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13114
13115 2014-10-17  Pedro Alves  <palves@redhat.com>
13116
13117         PR gdb/17471
13118         * gdb.base/bg-execution-repeat.c: New file.
13119         * gdb.base/bg-execution-repeat.exp: New file.
13120
13121 2014-10-17  Pedro Alves  <palves@redhat.com>
13122
13123         PR gdb/17300
13124         * gdb.base/continue-all-already-running.c: New file.
13125         * gdb.base/continue-all-already-running.exp: New file.
13126
13127 2014-10-17  Pedro Alves  <palves@redhat.com>
13128
13129         PR gdb/17472
13130         * gdb.base/annota-input-while-running.c: New file.
13131         * gdb.base/annota-input-while-running.exp: New file.
13132
13133 2014-10-17  Pedro Alves  <palves@redhat.com>
13134
13135         * gdb.base/callfuncs.exp: emove references to osf.
13136         * gdb.base/sigall.exp: Likewise.
13137         * gdb.gdb/selftest.exp: Likewise.
13138         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13139         * gdb.mi/non-stop.c: Likewise.
13140         * gdb.mi/pthreads.c: Likewise.
13141         * gdb.reverse/sigall-precsave.exp: Likewise.
13142         * gdb.reverse/sigall-reverse.exp: Likewise.
13143         * gdb.threads/pthreads.c: Likewise.
13144         * gdb.threads/pthreads.exp: Likewise.
13145
13146 2014-10-17  Yao Qi  <yao@codesourcery.com>
13147
13148         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13149         check 'target_info exists noargs'.
13150         (test_command_prompt_position): Likewise.
13151         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13152         Remove "set args".
13153         (progvar_simple_while_test): Likewise.
13154         (progvar_complex_if_while_test): Likewise.
13155         (if_while_breakpoint_command_test): Likewise.
13156         (infrun_breakpoint_command_test): Likewise.
13157         (breakpoint_command_test): Likewise.
13158         (watchpoint_command_test): Likewise.
13159         (bp_deleted_in_command_test): Likewise.
13160         (temporary_breakpoint_commands): Likewise.
13161
13162 2014-10-16  Yao Qi  <yao@codesourcery.com>
13163
13164         * gdb.base/remotetimeout.exp: Remove noargs checking.
13165
13166 2014-10-15  Pedro Alves  <palves@redhat.com>
13167
13168         PR breakpoints/9649
13169         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13170         * gdb.base/breakpoint-in-ro-region.exp
13171         (probe_target_hardware_step): New procedure.
13172         (top level): Probe hardware stepping and hardware breakpoint
13173         support.  Test stepping through a read-only region, with both
13174         "breakpoint auto-hw" on and off and both "always-inserted" on and
13175         off.
13176
13177 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
13178
13179         * gdb.dlang/demangle.exp: Update for demangling changes.
13180
13181 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
13182
13183         * gdb.cp/non-trivial-retval.cc: Add new test cases.
13184         * gdb.cp/non-trivial-retval.exp: Add new tests.
13185
13186 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
13187
13188         PR c++/13403
13189         PR c++/15154
13190         * gdb.cp/non-trivial-retval.cc: New file.
13191         * gdb.cp/non-trivial-retval.exp: New file.
13192
13193 2014-10-15  Yao Qi  <yao@codesourcery.com>
13194
13195         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13196         remote host.
13197
13198 2014-10-15  Yao Qi  <yao@codesourcery.com>
13199
13200         * gdb.python/py-symbol.exp: Match file base name if host is
13201         remote, otherwise match file name with dir name.
13202         * gdb.python/py-symtab.exp: Likewise.
13203         * gdb.python/python.exp: Likewise.
13204
13205 2014-10-15  Yao Qi  <yao@codesourcery.com>
13206
13207         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13208         pattern.
13209         * gdb.python/py-symtab.exp: Likewise.
13210         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
13211         locationn.
13212
13213 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
13214
13215         * gdb.ada/addr_arith: New testcase.
13216
13217 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
13218
13219         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13220         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13221         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13222         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13223
13224 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
13225
13226         * gdb.arch/stap-eval-lang-ada.S: Likewise.
13227         * gdb.arch/stap-eval-lang-ada.c: Likewise.
13228         * gdb.arch/stap-eval-lang-ada.exp: New file.
13229
13230 2014-10-14  Yao Qi  <yao@codesourcery.com>
13231
13232         * gdb.mi/mi-var-child.c (nothing1): New function.
13233         (nothing2): New function.
13234         (do_children_tests): Set function pointers by nothing1 and
13235         nothing2.
13236         * gdb.mi/mi-var-child.exp: Step over new added statements.
13237         Update test to match the new output.
13238         * gdb.mi/var-cmd.c (nothing1): New function.
13239         (nothing2): New function.
13240         (do_children_tests): Set function pointers by  nothing1 and
13241         nothing2.
13242         * gdb.mi/mi-var-display.exp: Update test to match output.
13243         Step to the line specified by $line_dct_nothing.
13244         Increase the number of lines to step.
13245
13246 2014-10-14  Yao Qi  <yao@codesourcery.com>
13247
13248         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13249         tests.
13250         * gdb.mi/mi2-var-child.exp: Likewise.
13251
13252 2014-10-13  Doug Evans  <dje@google.com>
13253
13254         * gdb.python/py-objfile.exp: Change name of file name test.
13255
13256 2014-10-13  Doug Evans  <dje@google.com>
13257
13258         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13259         from the start of the CU.
13260
13261 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13262             Yao Qi  <yao@codesourcery.com>
13263
13264         Fix "save breakpoints" for "catch" command.
13265         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13266         Remove -nonewline.  Match also the added "main" line.
13267
13268 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13269
13270         Fix "save breakpoints" for "disable $bpnum" command.
13271         * gdb.base/save-bp.c (main): Add label.
13272         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
13273
13274 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13275
13276         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13277
13278 2014-10-11  Yao Qi  <yao@codesourcery.com>
13279
13280         * gdb.server/server-kill.exp: Execute command
13281         "set remote trace-status-packet on" before "tstatus".
13282
13283 2014-10-11  Yao Qi  <yao@codesourcery.com>
13284
13285         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13286         (main): Call getppid.
13287         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13288         and continue to it.  Read variable "server_pid".
13289
13290 2014-10-11  Yao Qi  <yao@codesourcery.com>
13291
13292         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13293
13294 2014-10-11  Yao Qi  <yao@codesourcery.com>
13295
13296         * gdb.threads/thread-find.exp: Don't execute command
13297         "info threads".
13298         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13299         * gdb.threads/linux-dp.exp: Don't check the condition
13300         $threads_created equals to zero.
13301
13302 2014-10-10  Pedro Alves  <palves@redhat.com>
13303
13304         * gdb.base/bigcore.exp: Remove references to IRIX.
13305         * gdb.base/funcargs.exp: Likewise.
13306         * gdb.base/interrupt.exp: Likewise.
13307         * gdb.base/mips_pro.exp: Likewise.
13308         * gdb.base/nodebug.exp: Likewise.
13309         * gdb.base/setvar.exp: Likewise.
13310         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13311
13312 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
13313             Pedro Alves  <palves@redhat.com>
13314
13315         PR symtab/14466
13316         * gdb.base/vdso-warning.c: New file.
13317         * gdb.base/vdso-warning.exp: New file.
13318
13319 2014-10-02  Doug Evans  <dje@google.com>
13320
13321         * gdb.base/structs.c (main): Don't run forever.
13322
13323 2014-10-02  Pedro Alves  <palves@redhat.com>
13324
13325         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13326         (top level) <stop threads 1, stop threads 2>: Use it.
13327
13328 2014-10-02  Pedro Alves  <palves@redhat.com>
13329
13330         * gdb.threads/break-while-running.exp (test): Add new
13331         'update_thread_list' argument.  Skip "info threads" if false.
13332         (top level): Add new 'update_thread_list' axis.
13333
13334 2014-10-02  Pedro Alves  <palves@redhat.com>
13335
13336         PR breakpoints/17431
13337         * gdb.base/execl-update-breakpoints.c: New file.
13338         * gdb.base/execl-update-breakpoints.exp: New file.
13339
13340 2014-10-01  Pedro Alves  <palves@redhat.com>
13341
13342         * gdb.base/breakpoint-in-ro-region.c: New file.
13343         * gdb.base/breakpoint-in-ro-region.exp: New file.
13344
13345 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
13346
13347         * gdb.mi/mi-exit-code.exp: New file.
13348         * gdb.mi/mi-exit-code.c: New file.
13349
13350 2014-09-30  Yao Qi  <yao@codesourcery.com>
13351
13352         * lib/prelink-support.exp (build_executable_own_libs): Error if
13353         the target isn't native.
13354
13355 2014-09-30  Yao Qi  <yao@codesourcery.com>
13356
13357         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13358         false.
13359
13360 2014-09-22  Pedro Alves  <palves@redhat.com>
13361
13362         * gdb.threads/break-while-running.exp: New file.
13363         * gdb.threads/break-while-running.c: New file.
13364
13365 2014-09-19  Yao Qi  <yao@codesourcery.com>
13366
13367         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13368         Invoke test.  Restart GDB with --readnow and invoke test again.
13369
13370 2014-09-19  Yao Qi  <yao@codesourcery.com>
13371
13372         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13373         proc set_breakpoint_on_gcd_function.  Invoke
13374         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
13375         invoke set_breakpoint_on_gcd_function again.
13376
13377 2014-09-18  Doug Evans  <dje@google.com>
13378
13379         * gdb.dwarf2/symtab-producer.exp: New file.
13380
13381 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
13382
13383         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13384         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13385         * gdb.base/global-var-nested-by-dso.c: Likewise.
13386         * gdb.base/global-var-nested-by-dso.exp: Likewise.
13387
13388 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
13389             Pedro Alves  <palves@redhat.com>
13390
13391         * gdb.base/watch-bitfields.exp: Pass string other than test file
13392         name to prepare_for_testing.
13393         (watch): New procedure.
13394         (expect_watchpoint): Use with_test_prefix.
13395         (top level): Factor out tests to ...
13396         (test_watch_location, test_regular_watch): ... these new
13397         procedures, and use with_test_prefix and gdb_continue_to_end.
13398
13399 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
13400
13401         PR breakpoints/12526
13402         * gdb.base/watch-bitfields.exp: New file.
13403         * gdb.base/watch-bitfields.c: New file.
13404
13405 2014-09-16  Pedro Alves  <palves@redhat.com>
13406
13407         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13408         software and hardware addresses, not software address against
13409         itself.
13410
13411 2014-09-16  Pedro Alves  <palves@redhat.com>
13412
13413         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13414         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13415
13416 2014-09-16  Pedro Alves  <palves@redhat.com>
13417
13418         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13419         files.
13420         * gdb.base/a2-run.exp: Remove all code guarded by istarget
13421         "*-*-vxworks*" throughout.
13422         * gdb.base/break.exp: Likewise.
13423         * gdb.base/default.exp: Likewise.
13424         * gdb.base/scope.exp: Likewise.
13425         * gdb.base/sepdebug.exp: Likewise.
13426         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13427         throughout.
13428         * gdb.base/run.c: Likewise.
13429         * gdb.base/sepdebug.c: Likewise.
13430         * gdb.hp/gdb.aCC/run.c: Likewise.
13431         * gdb.reverse/until-reverse.c: Likewise.
13432         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13433
13434 2014-09-16  Yao Qi  <yao@codesourcery.com>
13435
13436         * boards/local-remote-host-native.exp: New file.
13437
13438 2014-09-14  Doug Evans  <xdje42@gmail.com>
13439
13440         * gdb.threads/queue-signal.c (thread_count): New variable.
13441         (thread_count_mutex, thread_count_condvar): New variables.
13442         (incr_thread_count, wait_all_threads_running): New functions.
13443         (main): Wait for all threads to be in their thread functions.
13444
13445 2014-09-13  Doug Evans  <xdje42@gmail.com>
13446
13447         * gdb.threads/queue-signal.c: New file.
13448         * gdb.threads/queue-signal.exp: New file.
13449
13450 2014-09-13  Doug Evans  <xdje42@gmail.com>
13451
13452         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13453         be consistent with what default_gdb_init uses.
13454         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13455         the plain text of the prompt.  Add some logging printfs.
13456         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13457
13458 2014-09-12  Pedro Alves  <palves@redhat.com>
13459
13460         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13461         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13462         * gdb.arch/i386-size-overlap.exp: Likewise.
13463         * gdb.arch/i386-size.exp: Likewise.
13464         * gdb.arch/i386-unwind.exp: Likewise.
13465         * gdb.base/a2-run.exp: Likewise.
13466         * gdb.base/break.exp: Likewise.
13467         * gdb.base/charset.exp: Likewise.
13468         * gdb.base/chng-syms.exp: Likewise.
13469         * gdb.base/commands.exp: Likewise.
13470         * gdb.base/dbx.exp: Likewise.
13471         * gdb.base/find.exp: Likewise.
13472         * gdb.base/funcargs.exp: Likewise.
13473         * gdb.base/jit-simple.exp: Likewise.
13474         * gdb.base/reread.exp: Likewise.
13475         * gdb.base/sepdebug.exp: Likewise.
13476         * gdb.base/step-bt.exp: Likewise.
13477         * gdb.cp/mb-inline.exp: Likewise.
13478         * gdb.cp/mb-templates.exp: Likewise.
13479         * gdb.objc/basicclass.exp: Likewise.
13480         * gdb.threads/killed.exp: Likewise.
13481
13482 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13483
13484         PR tdep/17379
13485         * gdb.arch/powerpc-stackless.S: New file.
13486         * gdb.arch/powerpc-stackless.exp: New file.
13487
13488 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13489
13490         * gdb.base/attach.c: Include unistd.h.
13491         (main): Call alarm.  Add label postloop.
13492         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13493         gdb_breakpoint, gdb_continue_to_breakpoint.
13494         (test_command_line_attach_run): Kill ${testpid} in one exit path.
13495
13496 2014-09-11  Pedro Alves  <palves@redhat.com>
13497
13498         PR gdb/17347
13499         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13500         * gdb.base/attach.exp (test_command_line_attach_run): New
13501         procedure.
13502         (top level): Call it.
13503
13504 2014-09-11  Pedro Alves  <palves@redhat.com>
13505
13506         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13507         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13508         (do_command_attach_tests): Use spawn_wait_for_attach.
13509         * gdb.base/solib-overlap.exp: Likewise.
13510         * gdb.multi/multi-attach.exp: Likewise.
13511         * gdb.python/py-prompt.exp: Likewise.
13512         * gdb.python/py-sync-interp.exp: Likewise.
13513         * gdb.server/ext-attach.exp: Likewise.
13514
13515 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13516
13517         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13518         command in testcase.  Simplify testcase.
13519
13520 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13521
13522         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13523
13524 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13525
13526         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13527
13528 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13529
13530         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13531
13532 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13533
13534         * gdb.dwarf2/dynarr-ptr.c: New file.
13535         * gdb.dwarf2/dynarr-ptr.exp: New file.
13536
13537 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13538
13539         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13540         of 30 rather than hardcoding 120 for a slow test case.  Take the
13541         `gdb,timeout' target setting into account for this calculation.
13542         Don't extend the timeout for the test cases that don't need it.
13543
13544 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13545
13546         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13547         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13548         target setting into account for this calculation.
13549         * gdb.reverse/until-precsave.exp: Increase the timeout by
13550         a factor of 15 and 3 respectively rather than adding 120
13551         for a pair of slow test cases.  Take the `gdb,timeout'
13552         target setting into account for this calculation.
13553
13554 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13555
13556         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13557         timeout, don't pass one down to gdb_expect.
13558         (gdb_expect): Rework timeout selection.
13559
13560 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13561
13562         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13563         exception on timeout.
13564         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13565         (gdbserver_start_extended): Catch any `gdbserver_start' error
13566         exceptions.
13567         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13568         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13569         `gdbserver_gdb_load' error exceptions.
13570
13571 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13572
13573         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13574         120 on waiting for the TCP socket to open.
13575
13576 2014-09-09  Doug Evans  <xdje42@gmail.com>
13577
13578         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13579         _caller_matches, _any_caller_is, _any_caller_matches.
13580
13581 2014-09-09  Doug Evans  <xdje42@gmail.com>
13582
13583         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13584
13585 2014-09-09  Yao Qi  <yao@codesourcery.com>
13586
13587         * gdb.mi/mi-var-display.exp: Set print symbol off.
13588
13589 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13590
13591         PR gdb/17035
13592         * gdb.base/commands.exp: Add tests to verify user-defined
13593         commands with empty bodies.
13594         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13595         python commands in `show user command`.
13596         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13597         scheme commands in `show user command`.
13598
13599 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13600
13601         PR python/17355
13602         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13603         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13604         * gdb.python/py-framefilter-invalidarg.exp: New file.
13605         * gdb.python/py-framefilter-invalidarg.py: New file.
13606
13607 2014-09-06  Doug Evans  <xdje42@gmail.com>
13608
13609         PR 15276
13610         * gdb.python/py-caller-is.c: New file.
13611         * gdb.python/py-caller-is.exp: New file.
13612
13613 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13614
13615         PR gdb/17235
13616         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13617         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13618
13619 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13620
13621         PR fortran/17237
13622         * gdb.fortran/print-formatted.exp: New file.
13623         * gdb.fortran/print-formatted.f90: Likewise.
13624
13625 2014-09-03  Sasha Smundak  <asmundak@google.com>
13626
13627         * gdb.python/py-frame.exp: Test Frame.read_register.
13628
13629 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13630
13631         PR python/16699
13632         * gdb.python/py-completion.exp: New file.
13633         * gdb.python/py-completion.py: Likewise.
13634
13635 2014-08-28  Doug Evans  <dje@google.com>
13636
13637         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13638         eax,etc. are live with values set by gdb and thus the compiler can't
13639         use them.
13640         * gdb.arch/i386-pseudo.c (main): Ditto.
13641
13642 2014-08-27  Doug Evans  <dje@google.com>
13643
13644         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13645
13646 2014-08-25  Doug Evans  <dje@google.com>
13647
13648         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13649         (main): Ditto.
13650
13651 2014-08-25  Doug Evans  <dje@google.com>
13652
13653         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13654
13655 2014-08-24  Yao Qi  <yao@codesourcery.com>
13656
13657         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13658         symbol off.
13659         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13660
13661 2014-08-22  Doug Evans  <dje@google.com>
13662
13663         PR 17276
13664         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13665         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13666         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13667
13668 2014-08-22  Yao Qi  <yao@codesourcery.com>
13669
13670         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13671         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13672         * gdb.python/python.exp: Likewise.  Use .py file on the host
13673         instead of the build.
13674
13675 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13676
13677         * gdb.threads/gcore-stale-thread.c: New file.
13678         * gdb.threads/gcore-stale-thread.exp: New file.
13679
13680 2014-08-21  Pedro Alves  <palves@redhat.com>
13681
13682         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13683         * gdb.base/gcore-relro-pie.exp: Likewise.
13684         * gdb.base/gcore-relro.exp: Likewise.
13685         * gdb.base/gcore.exp: Likewise.
13686         * gdb.base/print-symbol-loading.exp: Likewise.
13687         * gdb.threads/gcore-thread.exp: Likewise.
13688         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13689
13690 2014-08-20  Pedro Alves  <palves@redhat.com>
13691             Jan Kratochvil  <jan.kratochvil@redhat.com>
13692
13693         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13694         configure.
13695         (EXPECT): Handle READ1 being set.
13696         (all): Depend on EXTRA_RULES.
13697         (check-read1, expect-read1, read1.so, read1): New rules.
13698         * README (Testsuite Parameters): Document the READ1 make variable.
13699         (Race detection): New section.
13700         * configure: Regenerate.
13701         * configure.ac: If build==host==target, and running under a
13702         GNU/glibc system, add read1 to the extra Makefile rules.
13703         (EXTRA_RULES): AC_SUBST it.
13704         * lib/read1.c: New file.
13705
13706 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13707
13708         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13709         the handling of variables declared as a typedef to an array
13710         which a DW_AT_data_location attribute.
13711
13712 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13713             Pedro Alves  <palves@redhat.com>
13714
13715         PR symtab/14604
13716         PR symtab/14605
13717         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13718         gdb_test.
13719
13720 2014-08-19  Pedro Alves  <palves@redhat.com>
13721
13722         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13723
13724 2014-08-19  Yao Qi  <yao@codesourcery.com>
13725
13726         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13727         right line.
13728
13729 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13730
13731         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13732
13733 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13734
13735         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13736         attribute in array range.
13737
13738 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13739
13740         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13741
13742 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13743
13744         PR c++/17132
13745         * gdb.cp/pr17132.cc: New file.
13746         * gdb.cp/pr17132.exp: New file.
13747
13748 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13749
13750         * gdb.python/py-xmethods.py (A_getarrayind)
13751         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13752         Use 'print' with function call syntax.
13753         (E_method_matcher.match): Fix tab vs space indentation mixup.
13754
13755 2014-08-15  Yao Qi  <yao@codesourcery.com>
13756
13757         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13758         false.
13759
13760 2014-08-15  Yao Qi  <yao@codesourcery.com>
13761
13762         * gdb.cp/casts.exp: Set print symbol off.
13763         * gdb.cp/class2.exp: Likewise.
13764         * gdb.cp/overload.exp: Likewise.
13765         * gdb.cp/templates.exp: Likewise.
13766
13767 2014-08-11  Doug Evans  <dje@google.com>
13768
13769         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13770         (test_load_shlib): Update.
13771
13772 2014-08-09  Yao Qi  <yao@codesourcery.com>
13773
13774         * gdb.base/display.exp: Invoke is_address_zero_readable.
13775         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13776         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13777         * gdb.base/hbreak-unmapped.exp: Return if
13778         is_address_zero_readable returns true.
13779         * gdb.base/signest.exp: Likewise.
13780         * gdb.base/signull.exp: Likewise.
13781         * gdb.base/sigbpt.exp: Likewise.
13782         * gdb.guile/scm-disasm.exp: Do the test if
13783         is_address_zero_readable returns false.
13784         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13785         * gdb.python/py-arch.exp: Likewise.
13786         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13787         * lib/gdb.exp (is_address_zero_readable): New proc.
13788
13789 2014-08-09  Yao Qi  <yao@codesourcery.com>
13790
13791         PR testsuite/13443
13792         * gdb.mi/mi-var-display.exp: Make test messages unique.
13793
13794 2014-08-04  Tom Tromey  <tromey@redhat.com>
13795
13796         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13797         target 0".
13798
13799 2014-08-04  Tom Tromey  <tromey@redhat.com>
13800
13801         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13802         "target_resume".
13803
13804 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13805
13806         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13807         inner_vla_struct_object_size.
13808         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13809         as xfail.
13810
13811 2014-07-30  Pedro Alves  <palves@redhat.com>
13812
13813         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13814         comment.
13815
13816 2014-07-29  Yao Qi  <yao@codesourcery.com>
13817
13818         PR gdb/17206
13819         * gdb.base/until-nodebug.exp: New.
13820
13821 2014-07-28  Doug Evans  <xdje42@gmail.com>
13822
13823         PR guile/17203
13824         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13825         previously existing parameter, and previously ambiguously spelled
13826         parameter.
13827
13828 2014-07-28  Will Newton  <will.newton@linaro.org>
13829
13830         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13831
13832 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13833             Doug Evans  <xdje42@gmail.com>
13834
13835         PR guile/17146
13836         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13837
13838 2014-07-25  Pedro Alves  <palves@redhat.com>
13839
13840         * gdb.threads/signal-command-handle-nopass.c: New file.
13841         * gdb.threads/signal-command-handle-nopass.exp: New file.
13842         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13843         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13844         * gdb.threads/signal-delivered-right-thread.c: New file.
13845         * gdb.threads/signal-delivered-right-thread.exp: New file.
13846
13847 2014-07-25  Pedro Alves  <palves@redhat.com>
13848
13849         * gdb.base/double-prompt-target-event-error.exp
13850         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13851         match.
13852         (cancel_pagination_in_target_event): Rework double prompt
13853         detection.
13854         * gdb.base/paginate-after-ctrl-c-running.exp
13855         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13856         <return>' match.
13857         * gdb.base/paginate-bg-execution.exp
13858         (test_bg_execution_pagination_return)
13859         (test_bg_execution_pagination_cancel): Remove '-notransfer
13860         <return>' matches.
13861         * gdb.base/paginate-execution-startup.exp
13862         (test_fg_execution_pagination_return)
13863         (test_fg_execution_pagination_cancel): Remove '-notransfer
13864         <return>' matches.
13865         * gdb.base/paginate-inferior-exit.exp
13866         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13867         match.
13868         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13869         * lib/gdb.exp (pagination_prompt): Run text through
13870         string_to_regexp.
13871         (gdb_test_multiple): Match $pagination_prompt instead of
13872         "<return>".
13873         (string_to_regexp): Move to lib/gdb-utils.exp.
13874
13875 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13876
13877         * gdb.arch/amd64-entry-value-paramref.S: New file.
13878         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13879         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13880         * gdb.arch/amd64-optimout-repeat.S: New file.
13881         * gdb.arch/amd64-optimout-repeat.c: New file.
13882         * gdb.arch/amd64-optimout-repeat.exp: New file.
13883
13884 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13885
13886         PR gdb/17170
13887         * gdb.base/statistics.exp: New file.
13888
13889 2014-07-17  Doug Evans  <dje@google.com>
13890
13891         PR gdb/17170
13892         * gdb.base/maint.exp: Update testing of per-command stats.
13893
13894 2014-07-16  Pedro Alves  <palves@redhat.com>
13895
13896         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13897         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13898         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13899         (tfile_write_buf): New functions.
13900         (add_memory_block): Rewrite using the above.
13901         (adjust_function_address): New function.
13902         (FUNCTION_ADDRESS): New macro.
13903         (write_basic_trace_file): Remove short_x local, and use
13904         tfile_write_16. Change type of func_addr local to unsigned long
13905         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13906         here.  Cast argument of add_memory_block to char pointer.
13907         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13908         (main): Remove parameters.
13909         * gdb.trace/tfile.exp: Remove nowarnings.
13910
13911 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13912
13913         * gdb.base/debug-expr.exp: Test string evaluation with
13914         "debug expression" on.
13915
13916 2014-07-15  Pedro Alves  <palves@redhat.com>
13917
13918         * gdb.base/reread.exp: Use clean_restart.
13919
13920 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13921
13922         * gdb.arch/avr-flash-qualifer.c: New.
13923         * gdb.arch/avr-flash-qualifer.exp: New.
13924
13925 2014-07-14  Pedro Alves  <palves@redhat.com>
13926
13927         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13928         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13929
13930 2014-07-14  Pedro Alves  <palves@redhat.com>
13931
13932         * gdb.base/double-prompt-target-event-error.c: New file.
13933         * gdb.base/double-prompt-target-event-error.exp: New file.
13934
13935 2014-07-14  Pedro Alves  <palves@redhat.com>
13936
13937         PR gdb/17072
13938         * gdb.base/paginate-inferior-exit.c: New file.
13939         * gdb.base/paginate-inferior-exit.exp: New file.
13940
13941 2014-07-14  Pedro Alves  <palves@redhat.com>
13942
13943         PR gdb/17072
13944         * gdb.base/paginate-bg-execution.c: New file.
13945         * gdb.base/paginate-bg-execution.exp: New file.
13946
13947 2014-07-14  Pedro Alves  <palves@redhat.com>
13948
13949         PR gdb/17072
13950         * gdb.base/paginate-execution-startup.c: New file.
13951         * gdb.base/paginate-execution-startup.exp: New file.
13952         * lib/gdb.exp (pagination_prompt): New global.
13953         (default_gdb_spawn): New procedure, factored out from
13954         default_gdb_spawn.
13955         (default_gdb_start): Adjust to call default_gdb_spawn.
13956         (gdb_spawn): New procedure.
13957
13958 2014-07-14  Pedro Alves  <palves@redhat.com>
13959
13960         * lib/gdb.exp (gdb_assert): New procedure.
13961         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13962
13963 2014-07-14  Pedro Alves  <palves@redhat.com>
13964
13965         * gdb.base/execution-termios.c: New file.
13966         * gdb.base/execution-termios.exp: New file.
13967
13968 2014-07-14  Tom Tromey  <tromey@redhat.com>
13969
13970         * gdb.cp/vla-cxx.cc: New file.
13971         * gdb.cp/vla-cxx.exp: New file.
13972
13973 2014-07-14  Tom Tromey  <tromey@redhat.com>
13974
13975         * gdb.reverse/rerun-prec.c: New file.
13976         * gdb.reverse/rerun-prec.exp: New file.
13977
13978 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13979             Maciej W. Rozycki  <macro@codesourcery.com>
13980
13981         * lib/gdb-utils.exp: New file.
13982         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13983         inline `gdb_init_command' processing.
13984         (gdb_start_cmd): Likewise.
13985         * lib/mi-support.exp (mi_run_cmd): Likewise.
13986         * README: Document `gdb_init_command' and `gdb_init_commands'.
13987
13988 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13989
13990         Fix false FAIL running under a very long directory name.
13991         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13992         and "set print elements 10000".  Twice.
13993
13994 2014-07-11  Yao Qi  <yao@codesourcery.com>
13995
13996         * gdb.base/exprs.exp: "set print symbol off".
13997
13998 2014-07-11  Pedro Alves  <palves@redhat.com>
13999
14000         * gdb.threads/kill.c: New file.
14001         * gdb.threads/kill.exp: New file.
14002
14003 2014-07-10  Yao Qi  <yao@codesourcery.com>
14004
14005         * gdb.trace/tfile.c (write_basic_trace_file)
14006         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14007         address written to trace file.
14008
14009 2014-07-09  Pedro Alves  <palves@redhat.com>
14010
14011         * gdb.base/attach-wait-input.exp: New file.
14012         * gdb.base/attach-wait-input.c: New file.
14013
14014 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
14015
14016         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14017         setting up test structures.
14018         (main): Call new test function.
14019         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14020         test function, continue into test function and walk test
14021         structures.
14022
14023 2014-07-02  Yao Qi  <yao@codesourcery.com>
14024
14025         * gdb.trace/entry-values.c: Define labels 'foo_start' and
14026         'bar_start' at the beginning of functions 'foo' and 'bar'
14027         respectively.
14028         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14029         instead of 'foo' and 'bar'.
14030
14031 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
14032
14033         * gdb.btrace/segv.exp: New.
14034         * gdb.btrace/segv.c: New.
14035
14036 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
14037
14038         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14039         instruction.
14040
14041 2014-06-30  Mark Wielaard  <mjw@redhat.com>
14042
14043         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14044         vulture, vilify, villar): New volatile array constants.
14045         (vindictive, vegetation): New const volatile array constants.
14046         * gdb.base/volatile.exp: Test volatile and const volatile array
14047         types.
14048
14049 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14050
14051         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14052         target lacks support for awatch, rwatch, or hbreak.
14053
14054 2014-06-27  Yao Qi  <yao@codesourcery.com>
14055
14056         * gdb.multi/dummy-frame-restore.exp: New.
14057         * gdb.multi/dummy-frame-restore.c: New.
14058
14059 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
14060
14061         * gdb.btrace/gcore.exp: New.
14062
14063 2014-06-23  Pedro Alves  <palves@redhat.com>
14064
14065         * gdb.base/watchpoint-reuse-slot.c: New file.
14066         * gdb.base/watchpoint-reuse-slot.exp: New file.
14067
14068 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
14069
14070         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14071         progspace's filename in 'info', 'enable' and 'disable' command
14072         tests.
14073
14074 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14075
14076         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14077         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14078         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14079
14080 2014-06-20  Gary Benson  <gbenson@redhat.com>
14081
14082         * gdb.arch/i386-avx.exp: Fix include file location.
14083         * gdb.arch/i386-sse.exp: Likewise.
14084
14085 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
14086
14087         * gdb.dlang/expression.exp: New file.
14088
14089 2014-06-19  Pedro Alves  <palves@redhat.com>
14090
14091         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14092         out from ...
14093         (top level): ... here.  Iterate running tests under different
14094         scheduler-locking settings.
14095
14096 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
14097
14098         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14099         to DW_FORM_addr and use non-zero addresses.
14100
14101 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
14102
14103         PR gdb/17017
14104         * gdb.python/py-xmethods.cc: Add global function call counters and
14105         increment them in their respective functions.  Remove "cout"
14106         statements.
14107         * gdb.python/py-xmethods.exp: Make tests check the global function
14108         call counters instead of depending on inferior IO.
14109
14110 2014-06-18  Don Breazeal  <donb@codesourcery.com>
14111
14112         * gdb.base/foll-fork.exp (default_fork_parent_follow):
14113         Deleted procedure.
14114         (explicit_fork_parent_follow): Deleted procedure.
14115         (explicit_fork_child_follow): Deleted procedure.
14116         (test_follow_fork): New procedure.
14117         (do_fork_tests): Replace calls to deleted procedures with
14118         calls to test_follow_fork and reset GDB for subsequent
14119         procedure calls.
14120
14121 2014-06-17  Yao Qi  <yao@codesourcery.com>
14122
14123         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14124         CP1252.
14125
14126 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
14127
14128         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14129         Initialize ptr and S explicitly.
14130         (skip_type_update_when_not_use_rtti_test): Likewise.
14131
14132 2014-06-16  Keith Seitz  <keiths@redhat.com>
14133
14134         PR mi/15863
14135         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14136         the inferior is started.
14137
14138 2014-06-16  Pedro Alves  <palves@redhat.com>
14139
14140         * gdb.base/break-main-file-remove-fail.c: New file.
14141         * gdb.base/break-main-file-remove-fail.exp: New file.
14142         * gdb.base/break-unload-file.exp: Use build_executable instead of
14143         prepare_for_testing.
14144         (test_break): New parameter "initial_load".  Handle it.
14145         (top level): Add initial_load cmdline/file axis.
14146
14147 2014-06-12  Tom Tromey  <tromey@redhat.com>
14148
14149         * gdb.base/completion.exp: Don't use directory name in test.
14150
14151 2014-06-09  Gary Benson  <gbenson@redhat.com>
14152
14153         * gdb.base/sigall.c [Functions to send signals]: Reorder to
14154         separate the always-available ANSI-standard signals from the
14155         signals that require checking.
14156         (main): Likewise.
14157         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14158         Likewise.
14159         (main): Likewise.
14160
14161 2014-06-07  Keith Seitz  <keiths@redhat.com>
14162
14163         Revert:
14164         PR c++/16253
14165         * gdb.cp/var-tag.cc: New file.
14166         * gdb.cp/var-tag.exp: New file.
14167         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14168         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14169         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14170         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14171
14172 2014-06-06  Doug Evans  <xdje42@gmail.com>
14173
14174         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14175
14176 2014-06-06  Pedro Alves  <palves@redhat.com>
14177
14178         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14179         in target debug output instead of looking at RSP packets,
14180         disabling the test on any target that uses hardware stepping.
14181         Update comments.
14182
14183 2014-06-06  Pedro Alves  <palves@redhat.com>
14184
14185         * gdb.base/break-unload-file.exp: Fix typo.
14186
14187 2014-06-06  Yao Qi  <yao@codesourcery.com>
14188
14189         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14190         from "jit_function" to "^jit_function".
14191
14192 2014-06-06  Yao Qi  <yao@codesourcery.com>
14193
14194         * gdb.base/async.c (foo): Add one statement.
14195         * gdb.base/async.exp: Get the next instruction address and
14196         match the output of "nexti" by instruction address.  Match
14197         the hex address in the output of "finish".
14198
14199 2014-06-06  Gary Benson  <gbenson@redhat.com>
14200
14201         * gdb.base/call-signals.c: Remove preprocessor conditionals
14202         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14203         SIGSEGV and SIGTERM.
14204         * gdb.base/sigall.c: Likewise.
14205         * gdb.base/unwindonsignal.c: Likewise.
14206         * gdb.reverse/sigall-reverse.c: Likewise.
14207
14208 2014-06-06  Yao Qi  <yao@codesourcery.com>
14209
14210         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
14211         readable, skip the test.
14212
14213 2014-06-06  Yao Qi  <yao@codesourcery.com>
14214
14215         * gdb.threads/staticthreads.c (thread_function): Move the line
14216         setting breakpoint on forward.
14217         * gdb.threads/staticthreads.exp: Update comments.
14218
14219 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
14220
14221         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14222         "history-append! type error".
14223
14224 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
14225
14226         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14227         erroneous dprintf expected input.
14228
14229 2014-06-04  Doug Evans  <xdje42@gmail.com>
14230
14231         * gdb.guile/scm-generics.exp: Delete.
14232
14233 2014-06-04  Doug Evans  <xdje42@gmail.com>
14234
14235         * gdb.guile/scm-breakpoint.exp: Update.
14236         Add tests for breakpoint registration.
14237
14238 2014-06-04  Tom Tromey  <tromey@redhat.com>
14239
14240         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14241         VLA-in-union.
14242         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14243         inner_vla_struct, vla_union types.  Initialize objects of those
14244         types and compute their sizes.
14245
14246 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
14247             Hui Zhu  <hui@codesourcery.com>
14248
14249         * gdb.base/fileio.exp: Add test for shell not available as well as
14250         available.
14251         * gdb.base/fileio.c (test_system): Check for shell twice.
14252
14253 2014-06-04  Yao Qi  <yao@codesourcery.com>
14254
14255         * gdb.base/auto-connect-native-target.exp: Remove redundant
14256         space from the regexp pattern.
14257
14258 2014-06-04  Yao Qi  <yao@codesourcery.com>
14259
14260         * gdb.base/default.exp: Replace "child" with "native" in
14261         regexp pattern.
14262
14263 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
14264
14265         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14266         * gdb.python/py-xmethods.exp: New tests to test xmethods.
14267         * gdb.python/py-xmethods.py: Python script supporting the
14268         new testcase and tests.
14269
14270 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
14271             Pedro Alves  <palves@redhat.com>
14272
14273         PR breakpoints/17000
14274         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14275         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14276
14277 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
14278
14279         * gdb.base/subst.exp: Add tests to verify partial path matching
14280         output.
14281
14282 2014-06-03  Pedro Alves  <palves@redhat.com>
14283
14284         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14285         target that doesn't use software single-stepping.
14286
14287 2014-06-03  Pedro Alves  <palves@redhat.com>
14288
14289         PR breakpoints/17000
14290         * gdb.base/sss-bp-on-user-bp-2.c: New file.
14291         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14292
14293 2014-06-02  Doug Evans  <xdje42@gmail.com>
14294
14295         * gdb.guile/scm-parameter.exp: New file.
14296
14297 2014-06-02  Doug Evans  <xdje42@gmail.com>
14298
14299         * gdb.guile/scm-cmd.c: New file.
14300         * gdb.guile/scm-cmd.exp: New file.
14301
14302 2014-06-02  Doug Evans  <xdje42@gmail.com>
14303
14304         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14305         pretty-printer lookup.
14306         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14307         (make-pp_s-printer): Call it.
14308         (make-pretty-printer-from-dict): New function.
14309         (lookup-pretty-printer-maker-from-dict): New function.
14310         (*pretty-printer*): Simplify.
14311         (make-objfile-pp_s-printer): New function.
14312         (install-objfile-pretty-printers!): New function.
14313         (make-progspace-pp_s-printer): New function.
14314         (install-progspace-pretty-printers!): New function.
14315         * gdb.guile/scm-progspace.c: New file.
14316         * gdb.guile/scm-progspace.exp: New file.
14317
14318 2014-06-02  Pedro Alves  <palves@redhat.com>
14319
14320         * gdb.base/dprintf-bp-same-addr.c: New file.
14321         * gdb.base/dprintf-bp-same-addr.exp: New file.
14322
14323 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14324
14325         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14326         * gdb.arch/powerpc-power.s: Likewise.
14327
14328 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
14329
14330         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14331
14332 2014-06-01  Yao Qi  <yao@codesourcery.com>
14333
14334         * gdb.base/watchpoint.exp (test_watch_location): Check null
14335         pointer can be dereferenced.  If not, do the test, otherwise
14336         skip it.
14337
14338 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
14339
14340         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14341         results.
14342         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14343
14344 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
14345
14346         * gdb.arch/amd64-invalid-stack-middle.S: New file.
14347         * gdb.arch/amd64-invalid-stack-middle.c: New file.
14348         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14349         * gdb.arch/amd64-invalid-stack-top.c: New file.
14350         * gdb.arch/amd64-invalid-stack-top.exp: New file.
14351
14352 2014-05-30  Pedro Alves  <palves@redhat.com>
14353
14354         PR breakpoints/17000
14355         * gdb.base/sss-bp-on-user-bp.c: New file.
14356         * gdb.base/sss-bp-on-user-bp.exp: New file.
14357
14358 2014-05-30  David Blaikie  <dblaikie@gmail.com>
14359
14360         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14361         gnu_inline semantics via attribute.
14362         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14363         source explicitly specifies the required semantics.
14364
14365 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
14366
14367         * gdb.reverse/sigall-reverse.exp: Fix a typo.
14368
14369 2014-05-29  Pedro Alves  <palves@redhat.com>
14370             Tom Tromey  <tromey@redhat.com>
14371
14372         * gdb.base/async-shell.exp: Don't enable target-async.
14373         * gdb.base/async.exp
14374         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14375         parameter.  Adjust.
14376         (top level): Don't test with "target-async".
14377         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14378         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14379         * gdb.base/inferior-died.exp: Don't enable target-async.
14380         * gdb.base/interrupt-noterm.exp: Likewise.
14381         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14382         * gdb.mi/mi-nonstop-exit.exp: Likewise.
14383         * gdb.mi/mi-nonstop.exp: Likewise.
14384         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14385         * gdb.mi/mi-nsintrall.exp: Likewise.
14386         * gdb.mi/mi-nsmoribund.exp: Likewise.
14387         * gdb.mi/mi-nsthrexec.exp: Likewise.
14388         * gdb.mi/mi-watch-nonstop.exp: Likewise.
14389         * gdb.multi/watchpoint-multi.exp: Adjust comment.
14390         * gdb.python/py-evsignal.exp: Don't enable target-async.
14391         * gdb.python/py-evthreads.exp: Likewise.
14392         * gdb.python/py-prompt.exp: Likewise.
14393         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14394         * gdb.server/solib-list.exp: Don't enable target-async.
14395         * gdb.threads/thread-specific-bp.exp: Likewise.
14396         * lib/mi-support.exp: Adjust to use mi-async.
14397
14398 2014-05-29  Pedro Alves  <palves@redhat.com>
14399
14400         PR gdb/13860
14401         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14402         reason, even in sync mode.
14403
14404 2014-05-29  Pedro Alves  <palves@redhat.com>
14405             Hui Zhu  <hui@codesourcery.com>
14406
14407         PR PR15693
14408         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14409         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14410         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14411         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14412
14413 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
14414
14415         * config/monitor.exp (gdb_target_monitor): Replace use of
14416         "set remotebaud" by "set serial baud".
14417
14418 2014-05-26  Andy Wingo  <wingo@igalia.com>
14419
14420         * gdb.guile/scm-breakpoint.exp:
14421         * gdb.guile/scm-gsmob.exp: Update to use plain old object
14422         properties instead of gdb-object-properties.
14423
14424 2014-05-26  Yao Qi  <yao@codesourcery.com>
14425
14426         * gdb.server/no-thread-db.exp: Specify source file name
14427         explicitly when setting a breakpoint.
14428
14429 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14430
14431         * gdb.btrace/vdso.c: New.
14432         * gdb.btrace/vdso.exp: New.
14433
14434 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14435
14436         * gdb.base/gcore.exp (capture_command_output): Move ...
14437         * lib/gdb.exp (capture_command_output): ... here.
14438
14439 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14440
14441         * gdb.btrace/data.exp: Test memory access during btrace replay.
14442
14443 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
14444
14445         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14446
14447 2014-05-21  Pedro Alves  <palves@redhat.com>
14448
14449         PR gdb/13860
14450         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14451         (top level): Test that output related to execution commands is
14452         sent to the console with CLI commands, but not with MI commands.
14453         Test that breakpoint events are always mirrored to the console.
14454         Also expect the new source line to be output after a "next" in
14455         async mode too.  Make it a pass/fail test.
14456         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14457         output.
14458         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14459
14460 2014-05-21  Pedro Alves  <palves@redhat.com>
14461
14462         * gdb.base/list.exp (build_pattern, test_list): New procedures.
14463         Use them to test variations of "list" after reaching a breakpoint.
14464         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14465         Test "list" with listsize 10 after reaching a breakpoint.
14466         * gdb.python/python.exp (decode_line current location line
14467         number): Adjust expected line number.
14468
14469 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
14470
14471         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14472         behavior for $args, pass it directly to "run".
14473
14474 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
14475
14476         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14477         30000 to 65536.
14478
14479 2014-05-21  Pedro Alves  <palves@redhat.com>
14480
14481         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14482         auto-connect-native-target off".
14483         * gdb.base/auto-connect-native-target.c: New file.
14484         * gdb.base/auto-connect-native-target.exp: New file.
14485
14486 2014-05-21  Pedro Alves  <palves@redhat.com>
14487
14488         * gdb.base/default.exp: Test "target native" instead of "target
14489         child".
14490
14491 2014-05-21  Mark Wielaard  <mjw@redhat.com>
14492
14493         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14494
14495 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14496
14497         Fix TLS access for -static -pthread.
14498         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14499         <HAVE_TLS> (thread_function, main): Initialize it.
14500         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14501         Add clean_restart.
14502         <$have_tls != "">: Check TLSVAR.
14503
14504 2014-05-21  Pedro Alves  <palves@redhat.com>
14505
14506         * gdb.base/dcache-line-read-error.c: New.
14507         * gdb.base/dcache-line-read-error.exp: New.
14508
14509 2014-05-20  Pedro Alves  <palves@redhat.com>
14510
14511         * gdb.base/compare-sections.c: New file.
14512         * gdb.base/compare-sections.exp: New file.
14513
14514 2014-05-20  Pedro Alves  <palves@redhat.com>
14515
14516         * gdb.base/break-idempotent.c: New file.
14517         * gdb.base/break-idempotent.exp: New file.
14518
14519 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14520
14521         * gdb.btrace/nohist.exp: New.
14522
14523 2014-05-20  Yao Qi  <yao@codesourcery.com>
14524
14525         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14526         gdb.reverse directory and gdb_reverse_timeout exists in board
14527         setting.
14528         * README: Document gdb_reverse_timeout.
14529
14530 2014-05-20  Yao Qi  <yao@codesourcery.com>
14531
14532         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14533         'test_file_name'.  Treat args as a string instead of a list.
14534         (gdb_init): Rename argument 'args' by 'test_file_name'.
14535
14536 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14537
14538         * gdb.arch/powerpc-power.exp: New file.
14539         * gdb.arch/powerpc-power.s: New file.
14540
14541 2014-05-16  Doug Evans  <dje@google.com>
14542
14543         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14544         * gdb.base/completion.exp: Check that all expected files exist
14545         before doing file completion.
14546
14547 2014-05-16  Doug Evans  <dje@google.com>
14548
14549         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14550         Update.
14551         (do_syscall_tests_without_xml): Update.
14552
14553 2014-05-16  Pedro Alves  <palves@redhat.com>
14554
14555         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14556         instead of "unknown output after running".
14557
14558 2014-05-16  Yao Qi  <yao@codesourcery.com>
14559
14560         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14561         file1.txt from host at the end.
14562         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14563
14564 2014-05-15  Doug Evans  <dje@google.com>
14565
14566         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14567         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14568         loading file.  Add test for TU lookup.
14569
14570 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14571
14572         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14573         calling "-exec-arguments" or "set args" before running the
14574         inferior.
14575
14576 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14577
14578         * lib/mi-support.exp (mi_expect_stop): Expect message for
14579         inferiors that exit with non-zero exit code.
14580
14581 2014-05-14  Yao Qi  <yao@codesourcery.com>
14582
14583         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14584         match absolute path on remote host.
14585         (test_file_list_exec_source_files): Remove "/" from the
14586         pattern.
14587
14588 2014-05-14  Yao Qi  <yao@codesourcery.com>
14589
14590         * boards/local-remote-host-notty.exp (${board}_file): New
14591         proc.
14592
14593 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14594
14595         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14596         * gdb.arch/aarch64-atomic-inst.c: New file.
14597         * gdb.arch/aarch64-atomic-inst.exp: New file.
14598
14599 2014-05-07  Yao Qi  <yao@codesourcery.com>
14600
14601         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14602         in current context" too.
14603
14604 2014-05-05  Keith Seitz  <keiths@redhat.com>
14605
14606         * gdb.linespec/ls-dollar.exp: Add test for linespec
14607         file:convenience_variable.
14608
14609 2014-05-05  Yao Qi  <yao@codesourcery.com>
14610
14611         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14612         traceframes into tfile and ctf trace files.  Read data from
14613         trace file and test collected data.
14614         (gdb_collect_locals_test): Likewise.
14615         (gdb_unavailable_registers_test): Likewise.
14616         (gdb_unavailable_floats): Likewise.
14617         (gdb_collect_globals_test): Likewise.
14618         (top-level): Append "ctf" to trace_file_targets if GDB
14619         supports.
14620
14621 2014-05-05  Yao Qi  <yao@codesourcery.com>
14622
14623         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14624         code to ...
14625         (gdb_collect_args_test_1): ... it.  New proc.
14626         (gdb_collect_locals_test): Move some code to ...
14627         (gdb_collect_locals_test_1): ... it.  New proc.
14628         (gdb_unavailable_registers_test): Move some code to ...
14629         (gdb_unavailable_registers_test_1): ... it.  New proc.
14630         (gdb_unavailable_floats): Move some code to ...
14631         (gdb_unavailable_floats_1): ... it.  New proc.
14632
14633 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14634
14635         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14636         probes to test for bitness recognition.
14637         * gdb.arch/amd64-stap-optional-prefix.exp
14638         (test_probe_value_without_reg): New procedure.
14639         Add code to test for different kinds of bitness.
14640
14641 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14642
14643         PR breakpoints/16889
14644         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14645         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14646
14647 2014-05-01  Pedro Alves  <palves@redhat.com>
14648
14649         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14650         gdb_file_cmd if no file is specified.
14651         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14652         last_loaded_file to set the remote exec-file.
14653
14654 2014-05-01  Pedro Alves  <palves@redhat.com>
14655
14656         * boards/local-remote-host.exp: New file.
14657
14658 2014-05-01  Pedro Alves  <palves@redhat.com>
14659
14660         * boards/local-remote-host.exp: Rename to ...
14661         * boards/local-remote-host-notty.exp: ... this.
14662
14663 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14664
14665         * gdb.ada/dyn_arrayidx: New testcase.
14666
14667 2014-04-26  Yao Qi  <yao@codesourcery.com>
14668
14669         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14670         and compute the length of function main.  Save it in
14671         $main_length.
14672         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14673         (top-level): Use gdb_compile to compile objects into
14674         executable and restart GDB.  Remove invocation to
14675         prepare_for_testing.
14676
14677 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14678             Pedro Alves  <palves@redhat.com>
14679
14680         PR server/16255
14681         * gdb.multi/multi-attach.c: New file.
14682         * gdb.multi/multi-attach.exp: New file.
14683
14684 2014-04-25  Pedro Alves  <palves@redhat.com>
14685
14686         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14687         user.
14688         (top level): Test that "set remote conditional-breakpoints-packet
14689         off" works as intended.
14690         * gdb.base/dprintf.exp: Test that "set remote
14691         breakpoint-commands-packet off" works as intended.
14692         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14693         New function.
14694         (top level): Call it.
14695         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14696         remote fast-tracepoints-packet off" works as intended.
14697         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14698         * lib/gdb.exp (gdb_is_target_remote): ... here.
14699
14700 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14701
14702         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14703         ensure clang would not discard them.
14704         * gdb.base/gdbvars.c: Ditto.
14705         * gdb.base/memattr.c: Ditto.
14706         * gdb.base/whatis.c: Ditto.
14707         * gdb.python/py-prettyprint.c: Ditto.
14708         * gdb.trace/actions.c: Ditto.
14709         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14710         ensure clang would not discard it.
14711
14712 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14713
14714         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14715         clang to emit the full definition of type required by the test
14716         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14717
14718 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14719
14720         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14721         coax Clang into emitting the definition of the type.
14722         * gdb.cp/pr10728-x.h (y): Ditto.
14723         * gdb.cp/pr10728-y.cc (y): Ditto.
14724
14725 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14726
14727         * gdb.base/label.exp: XFAIL label related tests under Clang.
14728         * gdb.cp/cplabel.exp: Ditto.
14729         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14730         under Clang those using labels.
14731
14732 2014-04-25  Yao Qi  <yao@codesourcery.com>
14733
14734         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14735         double_label.
14736         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14737         partial_label and double_label.
14738
14739 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14740
14741         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14742
14743 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14744
14745         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14746         of the function to work across GCC and Clang.
14747         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14748         pointer types (const void ** const V void **).
14749
14750 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14751             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14752
14753         * Makefile.in (EXECUTABLES): Added i386-avx512.
14754         * gdb.arch/i386-avx512.c: New file.
14755         * gdb.arch/i386-avx512.exp: Likewise.
14756
14757 2014-04-23  Keith Seitz  <keiths@redhat.com>
14758
14759         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14760         (mi_make_breakpoint_table): New procedure.
14761         (mi_create_breakpoint): Use mi_make_breakpoint
14762         and return the result.
14763         (mi_make_breakpoint): New procedure.
14764         (mi_build_kv_pairs): New procedure.
14765
14766         * gdb.mi/mi-break.exp: Remove unused globals,
14767         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14768         All callers updated.
14769         * gdb.mi/mi-dprintf.exp: Use variable to track command
14770         number.
14771         Update all callers of mi_create_breakpoint and use
14772         mi_make_breakpoint_table.
14773         Remove any unused global variables.
14774         * gdb.mi/mi-nonstop.exp: Likewise.
14775         * gdb.mi/mi-nsintrall.exp: Likewise.
14776         * gdb.mi/mi-nsmoribund.exp: Likewise.
14777         * gdb.mi/mi-nsthrexec.exp: Likewise.
14778         * gdb.mi/mi-reverse.exp: Likewise.
14779         * gdb.mi/mi-simplerun.exp: Likewise.
14780         * gdb.mi/mi-stepn.exp: Likewise.
14781         * gdb.mi/mi-syn-frame.exp: Likewise.
14782         * gdb.mi/mi-until.exp: Likewise.
14783         * gdb.mi/mi-var-cp.exp: Likewise.
14784         * gdb.mi/mi-var-display.exp: Likewise.
14785         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14786         * gdb.mi/mi2-var-child.exp: Likewise.
14787         * gdb.mi/mi-vla-c99.exp: Likewise.
14788         * lib/mi-support.exp: Likewise.
14789
14790         From Ian Lance Taylor  <iant@cygnus.com>:
14791         * lib/gdb.exp (parse_args): New procedure.
14792
14793 2014-04-23  Pedro Alves  <palves@redhat.com>
14794
14795         * gdb.base/break-unload-file.c: New file.
14796         * gdb.base/break-unload-file.exp: New file.
14797         * gdb.base/sym-file-lib.c (baz): New function.
14798         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14799         field.
14800         (load): Store the segment's mapped size.
14801         (unload): New function.
14802         (unload_shlib): New function.
14803         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14804         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14805         set a breakpoint at baz, and call it.
14806         * gdb.base/sym-file.exp: New tests for stale breakpoint
14807         instructions.
14808
14809 2014-04-23  Pedro Alves  <palves@redhat.com>
14810
14811         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14812         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14813         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14814         * gdb.base/hbreak-unmapped.c: New file.
14815         * gdb.base/hbreak-unmapped.exp: New file.
14816         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14817         * lib/gdb.exp (gdb_is_target_remote): ... here.
14818
14819 2014-04-22  Pedro Alves  <palves@redhat.com>
14820
14821         * gdb.base/consecutive-step-over.c: New file.
14822         * gdb.base/consecutive-step-over.exp: New file.
14823
14824 2014-04-22  Pedro Alves  <palves@redhat.com>
14825
14826         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14827         instead of send_gdb/gdb_expect.
14828
14829 2014-04-22  Yao Qi  <yao@codesourcery.com>
14830
14831         * lib/trace-support.exp (generate_tracefile): New procedure.
14832         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14833         return 0.
14834         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14835         if generate_tracefile returns 1.
14836
14837 2014-04-18  Tom Tromey  <palves@redhat.com>
14838             Pedro alves  <tromey@redhat.com>
14839
14840         PR backtrace/15558
14841         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14842         with a backtrace limit.
14843         * gdb.python/py-frame-inline.exp: Test running to an inline
14844         function with a backtrace limit, and printing the newest frame.
14845         * gdb.python/py-frame-inline.c (main): Call f.
14846
14847 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14848
14849         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14850
14851 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14852
14853         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14854         Drop prefix from unsupported source file path.
14855
14856 2014-04-17  Yao Qi  <yao@codesourcery.com>
14857
14858         * lib/gdb.exp (with_target_charset): New proc.
14859         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14860         with_target_charset.
14861         (test_print_strings): Likewise.
14862         (test_repeat_bytes): Likewise.
14863         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14864         for some tests.
14865
14866 2014-04-16  Keith Seitz  <keiths@redhat.com>
14867
14868         PR gdb/15827
14869         * gdb.dwarf2/corrupt.c: New file.
14870         * gdb.dwarf2/corrupt.exp: New file.
14871
14872 2014-04-16  Keith Seitz  <keiths@redhat.com>
14873
14874         PR c++/16597
14875         * gdb.cp/namelessclass.cc: New file.
14876         * gdb.cp/namelessclass.exp: New file.
14877         * gdb.cp/namelessclass.S: New file.
14878
14879 2014-04-16  Doug Evans  <dje@google.com>
14880
14881         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14882         Add comment.
14883         (gdbserver_default_get_comm_port): New function.
14884         (gdbserver_start): Check if board file provided
14885         "gdbserver,get_comm_port" and use it if so.
14886         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14887         (gdb,socketport): Set to "stdio".
14888         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14889         (stdio_gdbserver_template): Delete.
14890         (${board}_get_remote_address): Update.
14891         (${board}_build_remote_cmd): Delete.
14892         (${board}_get_comm_port): New function.
14893         (${board}_spawn): Update.
14894         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14895         Delete.
14896         (${board}_get_remote_address): Update.
14897         (${board}_get_comm_port): New function.
14898
14899 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14900
14901         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14902         appearing in any order.
14903
14904 2014-04-15  Doug Evans  <dje@google.com>
14905
14906         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14907         uninitialized value of "description".
14908
14909 2014-04-15  Keith Seitz  <keiths@redhat.com>
14910
14911         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14912         Remove unused globals.
14913         (test_running_the_program): Likewise.
14914         (test_controlled_execution): Likewise.
14915         (test_controlling_breakpoints): Likewise.
14916         (test_program_termination): Likewise.
14917
14918 2014-04-15  Keith Seitz  <keiths@redhat.com>
14919
14920         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14921         unused globals.
14922         (test_rbreak_creation_and_listing): Likewise.
14923         (test_ignore_count): Likewise.
14924         (test_error): Likewise.
14925
14926 2014-04-15  Pedro Alves  <palves@redhat.com>
14927
14928         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14929         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14930         sym-file-loader.c.
14931         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14932         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14933         to sym-file-loader.c.
14934         (struct library): Forward declare.
14935         (load_shlib, lookup_function): Change prototypes.
14936         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14937         (translate_offset): Remove declarations.
14938         (get_text_addr): New declaration.
14939         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14940         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14941         sym-file-loader.h.
14942         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14943         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14944         here from sym-file-loader.h.
14945         (struct library): New structure.
14946         (load_shlib, lookup_function): Change prototypes and adjust to
14947         work with a struct library.
14948         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14949         (translate_offset): Make static.
14950         (get_text_addr): New function.
14951         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14952
14953 2014-04-15  Pedro Alves  <palves@redhat.com>
14954
14955         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14956
14957 2014-04-15  Pedro Alves  <palves@redhat.com>
14958
14959         * gdb.base/sym-file-loader.c: Include <limits.h>.
14960         (SELF_LINK): New define.
14961         (get_origin): New function.
14962         (load_shlib): Use it.
14963         * gdb.base/sym-file.exp: Don't early return if the target is
14964         remote.  Use runto_main, and issue fail is that fails.  Use
14965         gdb_load_shlibs.
14966         (shlib_name): Delete.
14967         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14968
14969 2014-04-15  Pedro Alves <palves@redhat.com>
14970
14971         * gdb.base/sym-file.exp: Remove regex characters from test
14972         message.  Don't refer to breakpoint numbers in test messages.
14973
14974 2014-04-14  Keith Seitz  <keiths@redhat.com>
14975
14976         PR c++/16253
14977         * gdb.cp/var-tag.cc: New file.
14978         * gdb.cp/var-tag.exp: New file.
14979         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14980         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14981         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14982         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14983
14984 2014-04-14  Tom Tromey  <tromey@redhat.com>
14985
14986         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14987         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14988         type.
14989         * gdb.cp/enum-class.exp: New file.
14990         * gdb.cp/enum-class.cc: New file.
14991
14992 2014-04-14  Tom Tromey  <tromey@redhat.com>
14993
14994         * gdb.dwarf2/enum-type.exp: New file.
14995
14996 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14997
14998         * gdb.mi/mi-vla-c99.exp: New file.
14999         * gdb.mi/vla.c: New file.
15000
15001 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15002
15003         * gdb.base/vla-datatypes.c: New file.
15004         * gdb.base/vla-datatypes.exp: New file.
15005
15006 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15007
15008         * gdb.base/vla-ptr.c: New file.
15009         * gdb.base/vla-ptr.exp: New file.
15010
15011 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15012
15013         * gdb.dwarf2/count.exp: New file.
15014
15015 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15016
15017         * gdb.base/vla-sideeffect.c: New file.
15018         * gdb.base/vla-sideeffect.exp: New file.
15019
15020 2014-04-14  David Blaikie <dblaikie@gmail.com>
15021
15022         * gdb.mi/non-stop.c: Add return value for non-void function return
15023         statement.
15024         * gdb.threads/staticthreads.c: Ditto.
15025
15026 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
15027             Doug Evans  <xdje42@gmail.com>
15028
15029         * gdb.guile/scm-value.c: Improve test case.
15030         * gdb.guile/scm-value.exp: Add new test.
15031
15032 2014-04-11  David Blaikie  <dblaikie@gmail.com>
15033
15034         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15035         override Clang's default.
15036
15037 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
15038
15039         Revert the following changes (regressions):
15040
15041         * gdb.base/vla-sideeffect.c: New file.
15042         * gdb.base/vla-sideeffect.exp: New file.
15043
15044         * gdb.dwarf2/count.exp: New file.
15045
15046         * gdb.base/vla-multi.c: New file.
15047         * gdb.base/vla-multi.exp: New file.
15048
15049         * gdb.base/vla-ptr.c: New file.
15050         * gdb.base/vla-ptr.exp: New file.
15051
15052         * gdb.base/vla-datatypes.c: New file.
15053         * gdb.base/vla-datatypes.exp: New file.
15054
15055         * gdb.mi/mi-vla-c99.exp: New file.
15056         * gdb.mi/vla.c: New file.
15057
15058 2014-04-11  Keith Seitz  <keiths@redhat.com>
15059
15060         PR c++/16675
15061         * gdb.cp/cpsizeof.exp: New file.
15062         * gdb.cp/cpsizeof.cc: New file.
15063
15064 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15065
15066         * gdb.mi/mi-vla-c99.exp: New file.
15067         * gdb.mi/vla.c: New file.
15068
15069 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15070
15071         * gdb.base/vla-datatypes.c: New file.
15072         * gdb.base/vla-datatypes.exp: New file.
15073
15074 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15075
15076         * gdb.base/vla-ptr.c: New file.
15077         * gdb.base/vla-ptr.exp: New file.
15078
15079 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15080
15081         * gdb.base/vla-multi.c: New file.
15082         * gdb.base/vla-multi.exp: New file.
15083
15084 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15085
15086         * gdb.dwarf2/count.exp: New file.
15087
15088 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15089
15090         * gdb.base/vla-sideeffect.c: New file.
15091         * gdb.base/vla-sideeffect.exp: New file.
15092
15093 2014-04-11  Yao Qi  <yao@codesourcery.com>
15094
15095         * gdb.base/completion.exp: Check file exists before running tests
15096         on file completion.
15097
15098 2014-04-10  Pedro Alves  <palves@redhat.com>
15099
15100         * gdb.base/cond-eval-mode.c: New file.
15101         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
15102         prepare_for_testing to build the new file.  Check result of
15103         runto_main.
15104         (test_break, test_watch): New procedures.
15105         (top level): Use them.
15106
15107 2014-04-08  Pierre Muller  <muller@sourceware.org>
15108
15109         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15110         Ctrl-V use for mingw hosts.
15111
15112 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
15113
15114         * gdb.python/py-value.c: Improve test case.
15115         * gdb.python/py-value.exp: Add new test.
15116
15117 2014-04-07  David Blaikie  <dblaikie@gmail.com>
15118
15119         * lib/compiler.c: Identify the clang compiler.
15120         * lib/compiler.cc: Ditto.
15121
15122 2014-04-03  Yao Qi  <yao@codesourcery.com>
15123
15124         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15125
15126 2014-04-01  Anton Blanchard  <anton@samba.org>
15127
15128         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
15129         messages unique.
15130
15131 2014-04-01  Anton Blanchard  <anton@samba.org>
15132
15133         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15134         prepare_for_testing.
15135
15136 2014-04-01  Anton Blanchard  <anton@samba.org>
15137
15138         * gdb.arch/ppc64-atomic-inst.c: Remove.
15139         * gdb.arch/ppc64-atomic-inst.S: New file.
15140         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15141
15142 2014-03-31  Doug Evans  <dje@google.com>
15143
15144         * gdb.base/print-symbol-loading-lib.c: New file.
15145         * gdb.base/print-symbol-loading-main.c: New file.
15146         * gdb.base/print-symbol-loading.exp: New file.
15147
15148 2014-03-31  Yao Qi  <yao@codesourcery.com>
15149
15150         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15151
15152 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
15153
15154         * gdb.ada/mi_dyn_arr: New testcase.
15155
15156 2014-03-27  Doug Evans  <dje@google.com>
15157
15158         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15159
15160 2014-03-27  Yao Qi  <yao@codesourcery.com>
15161
15162         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15163         if target is nios2-*-*.
15164
15165 2014-03-26  Yao Qi  <yao@codesourcery.com>
15166
15167         * lib/gdb.exp (readline_is_used): New proc.
15168         * gdb.base/completion.exp: Move tests on command complete up.
15169         Skip the rest of tests if readline is not used.
15170         * gdb.ada/complete.exp: Skp the test if readline is not
15171         used.
15172         * gdb.base/filesym.exp: Likewise.
15173         * gdb.base/macscp.exp: Likewise.
15174         * gdb.base/readline-ask.exp: Likewise.
15175         * gdb.base/readline.exp: Likewise.
15176         * gdb.python/py-cmd.exp: Likewise.
15177         * gdb.trace/tfile.exp: Likewise.
15178
15179 2014-03-26  Yao Qi  <yao@codesourcery.com>
15180
15181         * gdb.base/macscp.exp: Fix code format issues.
15182
15183 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
15184
15185         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15186         * gdb.asm/powerpc64le.inc: New file.
15187
15188 2014-03-25  Pedro Alves  <palves@redhat.com>
15189             Doug Evans  <dje@google.com>
15190
15191         * gdb.base/source-execution.c: New file.
15192         * gdb.base/source-execution.exp: New file.
15193         * gdb.base/source-execution.gdb: New file.
15194
15195 2014-03-24  Doug Evans  <dje@google.com>
15196
15197         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15198         using fission.
15199
15200 2014-03-24  Hui Zhu  <hui@codesourcery.com>
15201             Pedro Alves  <palves@redhat.com>
15202
15203         PR breakpoints/16101
15204         * gdb.base/dprintf.exp: Use unsupported rather than changing the
15205         test pass/fail messages.  Detect missing support for dprintf when
15206         breakpoints are actually inserted.
15207         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15208         breakpoints are actually inserted.
15209         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15210         fails.
15211
15212 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
15213
15214         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15215
15216 2014-03-22  Doug Evans  <xdje42@gmail.com>
15217
15218         * gdb.python/python.exp (python not supported): Verify multi-line
15219         python command issues an error.
15220         * gdb.guile/guile.exp (guile not supported): Verify multi-line
15221         guile command issues an error.
15222
15223 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
15224
15225         * gdb.threads/thread-specific.exp: Handle the lack of usable
15226         $this_breakpoint and $this_thread.
15227
15228 2014-03-21  Hui Zhu  <hui@codesourcery.com>
15229
15230         * gdb.base/attach.exp (do_command_attach_tests): New.
15231
15232 2014-03-20  Tom Tromey  <tromey@redhat.com>
15233             Pedro Alves  <palves@redhat.com>
15234
15235         PR cli/15718
15236         * gdb.base/condbreak-call-false.c: New file.
15237         * gdb.base/condbreak-call-false.exp: New file.
15238
15239 2014-03-20  Pedro Alves  <palves@redhat.com>
15240
15241         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15242         Delete.
15243         (block_signals, unblock_signals): Delete.
15244         (child_function_2, main): Remove references to deleted variable
15245         and functions.
15246
15247 2014-03-20  Pedro Alves  <palves@redhat.com>
15248
15249         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15250         Use pthread_kill to signal thread 2.
15251         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15252         Adjust to make the test send itself a signal rather than using the
15253         host's "kill" command.
15254
15255 2014-03-20  Pedro Alves  <palves@redhat.com>
15256
15257         * gdb.threads/multiple-step-overs.c: New file.
15258         * gdb.threads/multiple-step-overs.exp: New file.
15259         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15260         Adjust expected infrun debug output.
15261
15262 2014-03-20  Pedro Alves  <palves@redhat.com>
15263
15264         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15265         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15266
15267 2014-03-20  Pedro Alves  <palves@redhat.com>
15268
15269         PR breakpoints/7143
15270         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15271         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
15272         of gdb_test_multiple.
15273         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15274         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15275
15276 2014-03-20  Pedro Alves  <palves@redhat.com>
15277
15278         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15279         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15280
15281 2014-03-19  Pedro Alves  <palves@redhat.com>
15282
15283         * gdb.base/async.exp: Remove early return.
15284
15285 2014-03-19  Pedro Alves  <palves@redhat.com>
15286
15287         * gdb.base/async.exp (step& tests): Pass explicit test messages.
15288
15289 2014-03-19  Pedro Alves  <palves@redhat.com>
15290
15291         * gdb.base/async.exp (test_background): Expect \r\n after
15292         "completed." in the fail pattern.
15293
15294 2014-03-19  Pedro Alves  <palves@redhat.com>
15295
15296         * gdb.base/async.exp (test_background): New procedure.
15297         Use it for all background execution command tests.
15298
15299 2014-03-19  Pedro Alves  <palves@redhat.com>
15300
15301         * gdb.base/async.exp: Use prepare_for_testing.
15302
15303 2014-03-19  Pedro Alves  <palves@redhat.com>
15304
15305         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
15306         the same line.
15307
15308 2014-03-19  Pedro Alves  <palves@redhat.com>
15309
15310         * gdb.base/async.c (main): Add "jump here" and "until here" line
15311         marker comments.
15312         * gdb.base/async.exp (jump_here): New global.
15313         (jump& test): Use it.
15314         (until_here): New global.
15315         (until& test): Use it.
15316
15317 2014-03-19  Pedro Alves  <palves@redhat.com>
15318
15319         * gdb.base/async.exp: Don't frob gdb_protocol.
15320
15321 2014-03-18  Doug Evans  <xdje42@gmail.com>
15322
15323         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
15324         Fix spelling of exec-done-display.
15325
15326 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
15327
15328         PR gdb/15358
15329         * gdb.base/gdb-sigterm.c: New file.
15330         * gdb.base/gdb-sigterm.exp: New file.
15331
15332 2014-03-18  Pedro Alves  <palves@redhat.com>
15333
15334         PR gdb/13860
15335         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15336         * lib/mi-support.exp (mi_expect_stop): Add special handling for
15337         solib-event.
15338
15339 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
15340
15341         * gdb.ada/pckd_arr_ren: New testcase.
15342
15343 2014-03-13  Doug Evans  <xdje42@gmail.com>
15344
15345         PR guile/16612
15346         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15347         collect after discarding symbols.
15348
15349 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
15350             Doug Evans  <xdje42@gmail.com>
15351
15352         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15353         to history survives a gc.
15354
15355 2014-03-13  Pedro Alves  <palves@redhat.com>
15356
15357         * gdb.base/default.exp: Don't test "target procfs".
15358
15359 2014-03-13  Pedro Alves  <palves@redhat.com>
15360
15361         * gdb.base/default.exp: Update "target child" and "target procfs"
15362         tests to not expect "Unix".
15363
15364 2014-03-12  Tom Tromey  <tromey@redhat.com>
15365
15366         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15367         New procs.  Add target-async tests.
15368         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15369         Add target-async tests.
15370
15371 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15372
15373         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15374         'func_start' and 'func_end' for the beginning and end of the
15375         function code, respectively.
15376         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15377         'func_end' instead of 'func' and 'main'.
15378
15379 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15380
15381         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15382         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15383         generate the debug info assembler source.
15384
15385 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15386
15387         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15388         * gdb.dwarf2/arr-subrange.exp: Likewise.
15389         * gdb.dwarf2/dwz.exp: Likewise.
15390         * gdb.dwarf2/method-ptr.exp: Likewise.
15391         * gdb.dwarf2/missing-sig-type.exp: Likewise.
15392         * gdb.dwarf2/subrange.exp: Likewise.
15393         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15394         * gdb.dwarf2/implptrpiece.exp: Likewise.
15395         * gdb.dwarf2/nostaticblock.exp: Likewise.
15396
15397 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15398
15399         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15400         directory to absolute path name arguments.
15401
15402 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
15403
15404         * gdb.ada/tagged_access: New testcase.
15405
15406 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
15407
15408         * gdb.btrace/data.exp: Update expected output.
15409
15410 2014-03-06  Yao Qi  <yao@codesourcery.com>
15411
15412         * gdb.trace/pr16508.exp: New file.
15413
15414 2014-03-05  Pedro Alves  <palves@redhat.com>
15415
15416         PR gdb/16575
15417         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15418         procedure.
15419         (top level): Adjust to use it.  Add tests that exercise breakpoint
15420         interaction with the code-cache.
15421
15422 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
15423
15424         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15425         test for 'history-append!'.
15426
15427 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15428
15429         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15430         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15431         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15432         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15433         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15434         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15435
15436 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15437
15438         * testsuite/gdb.python/py-pp-re-notag.c: New file.
15439         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15440         * testsuite/gdb.python/py-pp-re-notag.p: New file.
15441
15442 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15443
15444         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15445
15446 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15447
15448         * gdb.dwarf2/arr-stride.c: New file.
15449         * gdb.dwarf2/arr-stride.exp: New file.
15450
15451 2014-02-26  Pedro Alves  <palves@redhat.com>
15452
15453         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15454         that won't ever trigger.  Make sure that GDB reports the correct
15455         breakpoint that caused the stop.
15456
15457 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15458
15459         PR gdb/16626
15460         * gdb.base/auto-load-script: New file.
15461         * gdb.base/auto-load.c: New file.
15462         * gdb.base/auto-load.exp: New file.
15463
15464         PR gdb/16626
15465         * gdb.base/auto-load.exp: Fix out-of-srctree run.
15466
15467 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15468
15469         Fix dw2-icycle.exp -fsanitize=address GDB crash.
15470         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15471
15472 2014-02-24  Doug Evans  <dje@google.com>
15473
15474         * lib/gdb.exp (run_on_host): Log error output if program fails.
15475
15476 2014-02-21  Pedro Alves  <palves@redhat.com>
15477
15478         * gdb.threads/step-after-sr-lock.c: Rename to ...
15479         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15480         * gdb.threads/step-after-sr-lock.exp: Rename to ...
15481         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15482         ... this.
15483
15484 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
15485
15486         PR tdep/16397
15487         * gdb.arch/amd64-stap-special-operands.exp: New file.
15488         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15489         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15490         * gdb.arch/amd64-stap-triplet.S: Likewise.
15491         * gdb.arch/amd64-stap-triplet.c: Likewise.
15492
15493 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
15494
15495         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15496         in .section pseudo-op.
15497
15498 2014-02-20  lin zuojian  <manjian2006@gmail.com>
15499             Joel Brobecker  <brobecker@adacore.com>
15500             Doug Evans  <xdje42@gmail.com>
15501
15502         PR symtab/16581
15503         * gdb.dwarf2/dw2-icycle.S: New file.
15504         * gdb.dwarf2/dw2-icycle.c: New file.
15505         * gdb.dwarf2/dw2-icycle.exp: New file.
15506
15507 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
15508
15509         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15510         operations on gdb.Value objects.
15511         * gdb.python/py-value-cc.exp: Add new test to test operations on
15512         gdb.Value objects.
15513
15514 2014-02-18  Doug Evans  <dje@google.com>
15515
15516         * Makefile.in (TESTS): New variable.
15517         (expanded_tests, expanded_tests_or_none): New variables
15518         (check-single): Pass $(expanded_tests_or_none) to runtest.
15519         (check-parallel): Only run tests in $(TESTS) if non-empty.
15520         (check/no-matching-tests-found): New rule.
15521         * README: Document TESTS makefile variable.
15522
15523 2014-02-18  Doug Evans  <dje@google.com>
15524
15525         * Makefile.in (check-parallel): rm -rf outputs temp.
15526
15527 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15528
15529         Fix "ERROR: no fileid for" in the testsuite.
15530         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15531
15532 2014-02-12  Doug Evans  <dje@google.com>
15533
15534         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15535         (MISCELLANEOUS): New variable.
15536         (clean): rm -rf $(MISCELLANEOUS).
15537         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15538         dwp live in the same directory as symlinks, with each symlink pointed
15539         to a differently named file in a different directory.
15540
15541 2014-02-11  Doug Evans  <dje@google.com>
15542
15543         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15544         of Tcl file commands.
15545
15546 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15547
15548         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15549         "kill -SIGUSR1 -1".
15550
15551 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15552
15553         * gdb.ada/tick_length_array_enum_idx: New testcase.
15554
15555 2014-02-10  Doug Evans  <xdje42@gmail.com>
15556
15557         * configure.ac (AC_OUTPUT): Add gdb.guile.
15558         * configure: Regenerate.
15559         * lib/gdb-guile.exp: New file.
15560         * lib/gdb.exp (get_target_charset): New function.
15561         * gdb.base/help.exp: Update expected output from "apropos apropos".
15562         * gdb.guile/Makefile.in: New file.
15563         * gdb.guile/guile.exp: New file.
15564         * gdb.guile/scm-arch.c: New file.
15565         * gdb.guile/scm-arch.exp: New file.
15566         * gdb.guile/scm-block.c: New file.
15567         * gdb.guile/scm-block.exp: New file.
15568         * gdb.guile/scm-breakpoint.c: New file.
15569         * gdb.guile/scm-breakpoint.exp: New file.
15570         * gdb.guile/scm-disasm.c: New file.
15571         * gdb.guile/scm-disasm.exp: New file.
15572         * gdb.guile/scm-equal.c: New file.
15573         * gdb.guile/scm-equal.exp: New file.
15574         * gdb.guile/scm-error.exp: New file.
15575         * gdb.guile/scm-error.scm: New file.
15576         * gdb.guile/scm-frame-args.c: New file.
15577         * gdb.guile/scm-frame-args.exp: New file.
15578         * gdb.guile/scm-frame-args.scm: New file.
15579         * gdb.guile/scm-frame-inline.c: New file.
15580         * gdb.guile/scm-frame-inline.exp: New file.
15581         * gdb.guile/scm-frame.c: New file.
15582         * gdb.guile/scm-frame.exp: New file.
15583         * gdb.guile/scm-generics.exp: New file.
15584         * gdb.guile/scm-gsmob.exp: New file.
15585         * gdb.guile/scm-iterator.c: New file.
15586         * gdb.guile/scm-iterator.exp: New file.
15587         * gdb.guile/scm-math.c: New file.
15588         * gdb.guile/scm-math.exp: New file.
15589         * gdb.guile/scm-objfile-script-gdb.in: New file.
15590         * gdb.guile/scm-objfile-script.c: New file.
15591         * gdb.guile/scm-objfile-script.exp: New file.
15592         * gdb.guile/scm-objfile.c: New file.
15593         * gdb.guile/scm-objfile.exp: New file.
15594         * gdb.guile/scm-ports.exp: New file.
15595         * gdb.guile/scm-pretty-print.c: New file.
15596         * gdb.guile/scm-pretty-print.exp: New file.
15597         * gdb.guile/scm-pretty-print.scm: New file.
15598         * gdb.guile/scm-section-script.c: New file.
15599         * gdb.guile/scm-section-script.exp: New file.
15600         * gdb.guile/scm-section-script.scm: New file.
15601         * gdb.guile/scm-symbol.c: New file.
15602         * gdb.guile/scm-symbol.exp: New file.
15603         * gdb.guile/scm-symtab-2.c: New file.
15604         * gdb.guile/scm-symtab.c: New file.
15605         * gdb.guile/scm-symtab.exp: New file.
15606         * gdb.guile/scm-type.c: New file.
15607         * gdb.guile/scm-type.exp: New file.
15608         * gdb.guile/scm-value-cc.cc: New file.
15609         * gdb.guile/scm-value-cc.exp: New file.
15610         * gdb.guile/scm-value.c: New file.
15611         * gdb.guile/scm-value.exp: New file.
15612         * gdb.guile/source2.scm: New file.
15613         * gdb.guile/types-module.cc: New file.
15614         * gdb.guile/types-module.exp: New file.
15615
15616 2014-02-10  Yao Qi  <yao@codesourcery.com>
15617
15618         PR testsuite/16543
15619         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15620         * configure: Regenerated.
15621         * Makefile.in: New file.
15622
15623 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15624
15625         * gdb.python/py-framefilter.exp: Fix typo.
15626
15627 2014-02-08  Yao Qi  <yao@codesourcery.com>
15628
15629         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15630         that no =breakpoint-modified is emitted when breakpoints are
15631         modified through MI commands.
15632
15633 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15634             Pedro Alves  <palves@redhat.com>
15635
15636         * gdb.threads/step-after-sr-lock.c: New file.
15637         * gdb.threads/step-after-sr-lock.exp: New file.
15638
15639 2014-02-07  Pedro Alves  <palves@redhat.com>
15640
15641         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15642
15643 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15644
15645         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15646         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15647
15648 2014-02-06  Doug Evans  <xdje42@gmail.com>
15649
15650         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15651         output.
15652
15653         * gdb.gdb/python-interrupts.exp: New file.
15654
15655 2014-02-05  Yao Qi  <yao@codesourcery.com>
15656
15657         * gdb.trace/report.exp (use_collected_data): Test the output
15658         of "info threads" and "info inferiors".
15659
15660 2014-02-05  Yao Qi  <yao@codesourcery.com>
15661
15662         Revert this patch:
15663
15664         2013-05-24  Yao Qi  <yao@codesourcery.com>
15665
15666         * gdb.trace/tfile.exp: Test inferior and thread.
15667
15668 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15669
15670         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15671         on a function.
15672         * gdb.base/step-bt.c: Call hello via function pointer to make
15673         sure its first instruction is executed on powerpc64le-linux.
15674
15675 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15676
15677         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15678
15679 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15680
15681         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15682         of the test patterns for use on little-endian systems.
15683
15684 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15685
15686         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15687         (decimal_vector): Fix for little-endian.
15688
15689 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15690
15691         * gdb.arch/sparc-sysstep.exp: New file.
15692         * gdb.arch/sparc-sysstep.c: Likewise.
15693
15694         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15695
15696 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15697
15698         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15699
15700 2014-01-23  Tom Tromey  <tromey@redhat.com>
15701
15702         * gdb.ada/array_char_idx: New testcase.
15703
15704 2014-01-23  Tom Tromey  <tromey@redhat.com>
15705
15706         PR python/16487:
15707         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15708         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15709         classes.
15710
15711 2014-01-23  Tom Tromey  <tromey@redhat.com>
15712
15713         PR python/16491:
15714         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15715         string from an inferior frame.
15716         * gdb.python/py-framefilter-mi.exp: Update.
15717
15718 2014-01-22  Doug Evans  <dje@google.com>
15719
15720         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15721
15722 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15723
15724         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15725
15726 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15727
15728         * gdb.trace/entry-values.exp: Remove excess space character from
15729         regex patterns.  Handle s390 call instruction.
15730
15731 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15732
15733         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15734         define "*_start" label.  Make "name" static.
15735         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15736         ${name} by references to ${name}_start.
15737
15738 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15739
15740         * gdb.base/info-macros.exp: Remove "debug" from the compile
15741         options.
15742
15743 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15744
15745         * gdb.dlang/demangle.exp: New file.
15746
15747 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15748
15749         * gdb.dlang/primitive-types.exp: New file.
15750
15751 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15752
15753         * configure.ac: Create gdb.dlang/Makefile.
15754         * configure: Regenerate.
15755         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15756         * gdb.dlang/Makefile.in: New file.
15757         * lib/d-support.exp: New file.
15758         * lib/gdb.exp (skip_d_tests): New proc.
15759
15760 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15761
15762         * gdb.btrace/delta.exp: Check reverse stepi.
15763         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15764         * gdb.btrace/finish.exp: New.
15765         * gdb.btrace/next.exp: New.
15766         * gdb.btrace/nexti.exp: New.
15767         * gdb.btrace/record_goto.c: Add comments.
15768         * gdb.btrace/step.exp: New.
15769         * gdb.btrace/stepi.exp: New.
15770         * gdb.btrace/multi-thread-step.c: New.
15771         * gdb.btrace/multi-thread-step.exp: New.
15772         * gdb.btrace/rn-dl-bind.c: New.
15773         * gdb.btrace/rn-dl-bind.exp: New.
15774         * gdb.btrace/data.c: New.
15775         * gdb.btrace/data.exp: New.
15776         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15777
15778 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15779
15780         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15781         * gdb.btrace/exception.exp: Update.
15782         * gdb.btrace/instruction_history.exp: Update.
15783         * gdb.btrace/record_goto.exp: Update.
15784         * gdb.btrace/tailcall.exp: Update.
15785         * gdb.btrace/unknown_functions.exp: Update.
15786         * gdb.btrace/delta.exp: New.
15787
15788 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15789
15790         * gdb.btrace/record_goto.exp: Add backtrace test.
15791         * gdb.btrace/tailcall.exp: Add backtrace test.
15792
15793 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15794
15795         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15796         * gdb.btrace/record_goto.c: New.
15797         * gdb.btrace/record_goto.exp: New.
15798         * gdb.btrace/x86-record_goto.S: New.
15799
15800 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15801
15802         * gdb.btrace/function_call_history.exp: Update tests.
15803         * gdb.btrace/instruction_history.exp: Update tests.
15804
15805 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15806
15807         * gdb.btrace/function_call_history.exp: Fix expected field
15808         order for "record function-call-history".
15809         Add new tests for "record function-call-history /c".
15810         * gdb.btrace/exception.cc: New.
15811         * gdb.btrace/exception.exp: New.
15812         * gdb.btrace/tailcall.exp: New.
15813         * gdb.btrace/x86-tailcall.S: New.
15814         * gdb.btrace/x86-tailcall.c: New.
15815         * gdb.btrace/unknown_functions.c: New.
15816         * gdb.btrace/unknown_functions.exp: New.
15817         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15818
15819 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15820
15821         * gdb.btrace/instruction_history.exp: Update.
15822         * gdb.btrace/function_call_history.exp: Update.
15823
15824 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15825
15826         * gdb.btrace/function_call_history.exp: Fix expected function
15827         trace.
15828         * gdb.btrace/instruction_history.exp: Initialize traced.
15829         Remove traced_functions.
15830
15831 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15832
15833         * gdb.btrace/function_call_history.exp: Update
15834         * gdb.btrace/instruction_history.exp: Update.
15835
15836 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15837
15838         * gdb.btrace/enable.exp: Update expected text.
15839
15840 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15841
15842         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15843         bytes.
15844
15845 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15846
15847         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15848
15849 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15850
15851         * lib/gdb.exp (supports_process_record): Return true for
15852         arm*-linux*.  (supports_reverse): Likewise.
15853
15854 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15855
15856         PR python/15464
15857         PR python/16113
15858         * gdb.python/py-type.c: Enhance test case.
15859         * gdb.python/py-value-cc.cc: Likewise
15860         * gdb.python/py-type.exp: Add new tests.
15861         * gdb.python/py-value-cc.exp: Likewise
15862
15863 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15864             Pedro Alves <palves@redhat.com>
15865
15866         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15867         Make "name" extern.
15868         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15869         references to ${name}_start by references to ${name}.
15870
15871 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15872
15873         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15874
15875 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15876
15877         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15878
15879 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15880             Pedro Alves  <palves@redhat.com>
15881
15882         * gdb.mi/mi-info-os.exp: Connect to the target with
15883         mi_gdb_target_load.
15884
15885 2014-01-08  Pedro Alves  <palves@redhat.com>
15886
15887         * gdb.threads/reconnect-signal.c: New file.
15888         * gdb.threads/reconnect-signal.exp: New file.
15889
15890 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15891
15892         * gdb.base/source-dir.exp: New file.
15893
15894 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15895
15896         * gdb.ada/mi_interface: New testcase.
15897
15898 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15899
15900         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15901         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15902         gdb.ada/pp-rec-component/pck.ads: New files.
15903
15904 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15905
15906         * gdb.python/py-pp-integral.c: New file.
15907         * gdb.python/py-pp-integral.py: New file.
15908         * gdb.python/py-pp-integral.exp: New file.
15909
15910 For older changes see ChangeLog-1993-2013.
15911 \f
15912 ;; Local Variables:
15913 ;; mode: change-log
15914 ;; left-margin: 8
15915 ;; fill-column: 74
15916 ;; version-control: never
15917 ;; End:
15918
15919     Copyright 2014-2019 Free Software Foundation, Inc.
15920   Copying and distribution of this file, with or without modification,
15921   are permitted provided the copyright notice and this notice are preserved.