Add "set print finish"
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-05-29  Tom Tromey  <tromey@adacore.com>
2
3         * gdb.base/finish.exp (finish_no_print): New proc.
4         (finish_tests): Call it.
5
6 2019-05-24  Tom de Vries  <tdevries@suse.de>
7
8         * gdb.dwarf2/gdb-add-index.exp: New file.
9
10 2019-05-22  Tom Tromey  <tromey@adacore.com>
11
12         * gdb.base/info-shared.exp (check_info_shared): Use "style".
13         * gdb.base/style.exp: Use "style".
14         * lib/gdb-utils.exp (style): New proc.
15
16 2019-05-22  Tom de Vries  <tdevries@suse.de>
17
18         * gdb.base/align.exp: Require c++11.
19
20 2019-05-22  Tom de Vries  <tdevries@suse.de>
21
22         PR testsuite/24586
23         * gdb.python/py-mi-var-info-path-expression.exp: Call
24         mi_skip_python_tests to check if python is supported.
25
26 2019-05-22  Alan Hayward  <alan.hayward@arm.com>
27
28         * gdb.arch/aarch64-pauth.c: New test.
29         * gdb.arch/aarch64-pauth.exp: New file.
30
31 2019-05-22  Alan Hayward  <alan.hayward@arm.com>
32
33         * README (Re-running Tests Outside The Testsuite): New section.
34
35 2019-05-21  Tom de Vries  <tdevries@suse.de>
36
37         * gdb.arch/amd64-eval.exp: Require c++11.
38         * gdb.base/max-depth.exp: Same.
39         * gdb.compile/compile-cplus-array-decay.exp: Same.
40         * gdb.cp/meth-typedefs.exp: Same.
41         * gdb.cp/subtypes.exp: Same.
42         * gdb.cp/temargs.exp: Same.
43
44 2019-05-21  Alan Hayward  <alan.hayward@arm.com>
45
46         * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
47
48 2019-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
49
50         PR gdb/18644
51         * gdb.fortran/complex.exp: Remove setup_kfail calls.
52         * gdb.fortran/printing-types.exp: Add new test.
53         * gdb.fortran/printing-types.f90: Add 16-byte real variable for
54         testing.
55         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
56         setup_kfail call.
57
58 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
59
60         * README (Running the Testsuite): Change example.
61         (Testsuite Parameters): Remove TRANSCRIPT.
62         * lib/gdb.exp: Remove TRANSCRIPT check.
63
64 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
65
66         * README (Testsuite Parameters): Add replay logging to
67         GDBSERVER_DEBUG.
68         (gdbserver,debug): Refer to GDBSERVER_DEBUG.
69         * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
70         as a comma separated list.
71         (gdb_debug_init): Override procedure.
72
73 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
74
75         * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
76         (gdb_write_cmd_file): New procedure.
77         * lib/gdbserver-support.exp (gdbserver_start): Call
78         gdbserver_write_cmd_file.
79         (gdbserver_write_cmd_file): New procedure.
80
81 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
82
83         * lib/gdb.exp (gdb_unload): Mark Y as an answer.
84         (delete_breakpoints): Likewise.
85         (gdb_run_cmd): Likewise.
86         (gdb_start_cmd): Likewise.
87         (gdb_starti_cmd): Likewise.
88         (gdb_internal_error_resync): Likewise.
89         (gdb_test_multiple): Likewise.
90         (gdb_reinitialize_dir): Likewise.
91         (default_gdb_exit): Likewise.
92         (gdb_file_cmd): Mark kill as optional.
93         (default_gdb_start): Call gdb_stdin_log_init.
94         (send_gdb): Call gdb_stdin_log_write.
95         (rerun_to_main): Mark Y as an answer.
96         (gdb_stdin_log_init): New function.
97         (gdb_stdin_log_write): Likewise.
98
99 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
100
101         * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
102         * gdb.base/debug-expr.exp: Likewise.
103         * gdb.base/foll-fork.exp: Likewise.
104         * gdb.base/foll-vfork.exp: Likewise.
105         * gdb.base/fork-print-inferior-events.exp: Likewise.
106         * gdb.base/gdb-sigterm.exp: Likewise.
107         * gdb.base/gdbinit-history.exp: Likewise.
108         * gdb.base/osabi.exp: Likewise.
109         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
110         * gdb.base/ui-redirect.exp: Likewise.
111         * gdb.gdb/unittest.exp: Likewise.
112         * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
113         * gdb.mi/mi-watch.exp: Likewise.
114         * gdb.mi/new-ui-mi-sync.exp: Likewise.
115         * gdb.mi/user-selected-context-sync.exp: Likewise.
116         * gdb.python/python.exp: Disable debug test when debugging.
117         * gdb.threads/check-libthread-db.exp: Disable when debugging.
118         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
119         Likewise.
120         * gdb.threads/stepi-random-signal.exp: Likewise.
121
122 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
123
124         * Makefile.in: Pass through GDB_DEBUG.
125         * README (Testsuite Parameters): Add GDB_DEBUG.
126         (gdb,debug): Add board setting.
127         * lib/gdb.exp (default_gdb_start): Start debugging.
128         (gdb_debug_enabled): New procedure.
129         (gdb_debug_init): Likewise.
130
131 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
132         
133         * Makefile.in: Pass through GDB_DEBUG.
134         * README (Testsuite Parameters): Add GDB_DEBUG.
135         (gdb,debug): Add board setting.
136         * lib/gdb.exp (default_gdb_start): Start debugging.
137         (gdb_debug_enabled): New procedure.
138         (gdb_debug_init): Likewise.
139
140 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
141
142         * gdb.base/ui-redirect.exp: Add debug redirect tests.
143
144 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
145
146         * gdb.base/ui-redirect.exp: Test redirection.
147
148 2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>
149
150         * gdb.mi/mi-complete.exp: New file.
151         * gdb.mi/mi-complete.cc: Likewise.
152
153 2019-05-15  Bernhard Heckel  <bernhard.heckel@intel.com>
154
155         * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
156         indexed and sliced arrays, and pointers to arrays.
157
158 2019-05-14  Tom Tromey  <tromey@adacore.com>
159
160         * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
161         styling test.
162
163 2019-05-14  Tom de Vries  <tdevries@suse.de>
164
165         * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
166         selection entry encoding.
167
168 2019-05-10  Tom Tromey  <tromey@adacore.com>
169
170         * gdb.ada/info_exc.exp: Add "complete" test.
171
172 2019-05-09  Tom de Vries  <tdevries@suse.de>
173
174         * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
175         CU-relative.
176
177 2019-05-09  Tom de Vries  <tdevries@suse.de>
178
179         * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
180         CU-relative.
181
182 2019-05-08  Joel Brobecker  <brobecker@adacore.com>
183
184         * gdb.ada/frame_arg_lang.exp: New testcase.
185         * gdb.ada/frame_arg_lang/bla.adb: New file.
186         * gdb.ada/frame_arg_lang/pck.ads: New file.
187         * gdb.ada/frame_arg_lang/pck.adb: New file.
188         * gdb.ada/frame_arg_lang/foo.c: New file.
189
190 2019-05-08  Tom Tromey  <tromey@adacore.com>
191
192         * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
193
194 2019-05-08  Tom Tromey  <tromey@adacore.com>
195
196         * gdb.base/ptype-offsets.exp: Update tests.
197
198 2019-05-08  Tom Tromey  <tromey@adacore.com>
199
200         * gdb.base/ptype-offsets.exp: Use string_to_regexp.  Fix test
201         cases.
202         * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
203         "short".
204
205 2019-05-08  Tom Tromey  <tromey@adacore.com>
206
207         * gdb.ada/vla.exp: New file.
208         * gdb.ada/vla/vla.adb: New file.
209
210 2019-05-07  Tom de Vries  <tdevries@suse.de>
211
212         * gdb.base/index-cache.exp (ls_host): Fix return statement.
213
214 2019-05-07  Tom de Vries  <tdevries@suse.de>
215
216         PR testsuite/24522
217         * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
218         section.
219
220 2019-05-07  Tom de Vries  <tdevries@suse.de>
221
222         PR testsuite/24522
223         * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
224         .debug_aranges section.
225
226 2019-05-07  Tom de Vries  <tdevries@suse.de>
227
228         PR testsuite/24159
229         * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
230
231 2019-05-06  Tom de Vries  <tdevries@suse.de>
232
233         * lib/gdb.exp (exec_has_index_section): New proc.
234         * gdb.base/index-cache.exp: Handle case that binfile contains an index
235         section.
236
237 2019-05-04  Tom de Vries  <tdevries@suse.de>
238
239         * boards/cc-with-debug-names.exp: New file.
240
241 2019-05-03  Tom Tromey  <tromey@adacore.com>
242
243         * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
244         * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
245         * gdb.ada/char_enum.exp: Add test.
246
247 2019-05-03  Tom de Vries  <tdevries@suse.de>
248
249         * boards/cc-with-gdb-index.exp: New file.
250
251 2019-05-02  Andrew Burgess  <andrew.burgess@embecosm.com>
252
253         * gdb.rust/simple.exp: Add new test case.
254         * gdb.rust/simple.rs (struct StringAtOffset): New struct.
255         (main): Initialise an instance of the new struct.
256
257 2019-05-01  Tom Tromey  <tromey@adacore.com>
258
259         * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
260         record.
261         (NPR): New variable.
262         * gdb.ada/packed_array_assign.exp: Add nested packed assignment
263         test.
264
265 2019-05-01  Tom Tromey  <tromey@adacore.com>
266
267         * gdb.ada/packed_array_assign.exp: Add packed assignment
268         regression test.
269
270 2019-05-01  Tom de Vries  <tdevries@suse.de>
271
272         * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
273
274 2019-05-01  Tom de Vries  <tdevries@suse.de>
275
276         * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
277
278 2019-04-30  Ali Tamur  <tamur@google.com>
279
280         * lib/dwarf.exp(): Added DW_FORM_strx1-4.
281
282 2019-04-30  Tom Tromey  <tromey@adacore.com>
283
284         * lib/ada.exp (find_ada_tool): New proc.
285         * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
286         * gdb.ada/catch_ex_std.exp: New file.
287         * gdb.ada/catch_ex_std/foo.adb: New file.
288         * gdb.ada/catch_ex_std/some_package.adb: New file.
289         * gdb.ada/catch_ex_std/some_package.ads: New file.
290
291 2019-04-30  Tom Tromey  <tromey@adacore.com>
292
293         PR c++/24470:
294         * gdb.cp/temargs.cc: Add test code from PR.
295
296 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
297
298         * gdb.fortran/vla-datatypes.exp: Update expected results.
299         * gdb.fortran/vla-ptype.exp: Likewise.
300         * gdb.fortran/vla-type.exp: Likewise.
301         * gdb.fortran/vla-value.exp: Likewise.
302
303 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
304
305         * gdb.fortran/ptr-indentation.exp: Update expected results.
306         * gdb.fortran/ptype-on-functions.exp: Likewise.
307         * gdb.fortran/vla-ptr-info.exp: Likewise.
308         * gdb.fortran/vla-value.exp: Likewise.
309
310 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
311
312         * gdb.fortran/ptype-on-functions.exp: New file.
313         * gdb.fortran/ptype-on-functions.f90: New file.
314
315 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
316
317         * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
318         case void string.
319
320 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
321
322         * gdb.fortran/complex.exp: Expand.
323         * gdb.fortran/complex.f: Renamed to...
324         * gdb.fortran/complex.f90: ...this, and extended to add more
325         complex values.
326
327 2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
328
329         * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
330         MODULO, CMPLX.
331
332 2019-04-29  Andrew Burgess  <andrew.burgess@embecosm.com>
333             Richard Bunt  <richard.bunt@arm.com>
334
335         * gdb.base/max-depth.c: New file.
336         * gdb.base/max-depth.exp: New file.
337         * gdb.python/py-nested-maps.c: New file.
338         * gdb.python/py-nested-maps.exp: New file.
339         * gdb.python/py-nested-maps.py: New file.
340         * gdb.python/py-format-string.exp (test_max_depth): New proc.
341         (test_all_common): Call test_max_depth.
342         * gdb.fortran/max-depth.exp: New file.
343         * gdb.fortran/max-depth.f90: New file.
344         * gdb.go/max-depth.exp: New file.
345         * gdb.go/max-depth.go: New file.
346         * gdb.modula2/max-depth.exp: New file.
347         * gdb.modula2/max-depth.c: New file.
348         * lib/gdb.exp (get_print_expr_at_depths): New proc.
349
350 2019-04-29  Tom de Vries  <tdevries@suse.de>
351
352         * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
353
354 2019-04-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
355
356         * gdb.base/callexit.exp: Test may-call-functions off.
357
358 2019-04-25  Keith Seitz  <keiths@redhat.com>
359
360         PR c++/24367
361         * gdb.cp/meth-typedefs.cc (incomplete_struct)
362         (another_incomplete_struct, test_incomplete): New definitions.
363         (main): Use new definitions.
364         * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
365         functions.
366
367 2019-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
368
369         PR corefiles/11608
370         PR corefiles/18187
371         * gdb.base/coredump-filter-build-id.exp: New file.
372
373 2019-04-25  Alan Hayward  <alan.hayward@arm.com>
374
375         * Makefile.in: Pass through GDBSERVER_DEBUG.
376         * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
377         (gdbserver,debug): Add board setting.
378         * gdb.trace/tspeed.exp: Skip when debugging.
379         * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
380         * lib/gdbserver-support.exp: Likewise
381
382 2019-04-24  Tom Tromey  <tromey@adacore.com>
383
384         * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
385         Rust.
386
387 2019-04-24  Tom Tromey  <tromey@adacore.com>
388
389         * gdb.arch/amd64-eval.exp: Test bitfield return.
390         * gdb.arch/amd64-eval.cc (struct Bitfields): New.
391         (class Foo) <return_bitfields>: New method.
392         (main): Call it.
393
394 2019-04-23  Andrew Burgess  <andrew.burgess@embecosm.com>
395
396         * gdb.cp/many-args.cc: New file.
397         * gdb.cp/many-args.exp: New file.
398
399 2019-04-23  Tom de Vries  <tdevries@suse.de>
400
401         PR gdb/24433
402         * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
403
404 2019-04-23  Alan Hayward  <alan.hayward@arm.com>
405
406         * gdb.trace/backtrace.exp: Use nopie flag.
407         * gdb.trace/circ.exp: Likewise.
408         * gdb.trace/collection.exp: Likewise.
409         * gdb.trace/ftrace.exp: Likewise.
410         * gdb.trace/mi-trace-unavailable.exp: Likewise.
411         * gdb.trace/mi-traceframe-changed.exp: Likewise.
412         * gdb.trace/qtro.exp: Likewise.
413         * gdb.trace/read-memory.exp: Likewise.
414         * gdb.trace/report.exp: Likewise.
415         * gdb.trace/tfile.exp: Likewise.
416         * gdb.trace/tfind.exp: Likewise.
417         * gdb.trace/unavailable.exp: Likewise.
418
419 2019-04-22  Pedro Alves  <palves@redhat.com>
420
421         * gdb.base/solib-probes-nosharedlibrary.c,
422         gdb.base/solib-probes-nosharedlibrary.exp: New files.
423
424 2019-04-19  Tom Tromey  <tromey@adacore.com>
425
426         * gdb.ada/ptype_union.c: New file.
427         * gdb.ada/ptype_union.exp: New file.
428
429 2019-04-19  Tom Tromey  <tromey@adacore.com>
430
431         PR symtab/24423:
432         * gdb.base/list0.h (foo): Add a control-l character.
433
434 2019-04-18  Tom de Vries  <tdevries@suse.de>
435
436         PR gdb/24433
437         * boards/local-board.exp: Set sysroot to "".
438
439 2019-04-18  Tom de Vries  <tdevries@suse.de>
440             Pedro Alves  <palves@redhat.com>
441
442         PR gdb/24454
443         * gdb.threads/vfork-follow-child-exec.c: New file.
444         * gdb.threads/vfork-follow-child-exec.exp: New file.
445         * gdb.threads/vfork-follow-child-exit.c: New file.
446         * gdb.threads/vfork-follow-child-exit.exp: New file.
447
448 2019-04-15  Leszek Swirski  <leszeks@google.com>
449
450         * gdb.arch/amd64-eval.cc: New file.
451         * gdb.arch/amd64-eval.exp: New file.
452
453 2019-04-11  Alan Hayward  <alan.hayward@arm.com>
454
455         * gdb.server/sysroot.c: New test.
456         * gdb.server/sysroot.exp: New file.
457         * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
458         matching param.
459
460 2019-04-11  Andrew Burgess  <andrew.burgess@embecosm.com>
461
462         * gdb.base/align.exp: Extend test to cover structures containing
463         only static fields.
464
465 2019-04-11  Tom de Vries  <tdevries@suse.de>
466
467         * boards/cc-with-dwz-m.exp: New file.
468         * boards/cc-with-dwz.exp: New file.
469         * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
470
471 2019-04-09  Simon Marchi  <simon.marchi@efficios.com>
472
473         * gdb.base/start-cpp.exp: New file.
474         * gdb.base/start-cpp.cc: New file.
475
476 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
477
478         * gdb.python/py-thrhandle.exp: Adjust tests to call
479         thread_from_handle instead of thread_from_thread_handle.
480
481 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
482
483         * gdb.python/py-thrhandle.exp: Add tests for
484         gdb.InferiorThread.handle.
485
486 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
487
488         * gdb.python/py-function.exp: Check calling helper function from
489         all languages.
490         * lib/gdb.exp (gdb_supported_languages): New proc.
491
492 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
493
494         * gdb.base/complex-parts.c: New file.
495         * gdb.base/complex-parts.exp: New file.
496
497 2019-04-01  Tom Tromey  <tromey@adacore.com>
498
499         PR symtab/23331:
500         * gdb.dwarf2/dw2-ranges-main.c: New file.
501         * gdb.dwarf2/dw2-ranges-psym.c: New file.
502         * gdb.dwarf2/dw2-ranges-psym.exp: New file.
503
504 2019-03-30  Simon Marchi <simark@simark.ca>
505
506         * gdb.base/default.exp: Add values for $_gdb_major and
507         $_gdb_minor.
508
509 2019-03-29  Tom Tromey  <tromey@adacore.com>
510
511         * gdb.base/help.exp: Tighten apropos regexp.
512
513 2019-03-29  Keith Seitz  <keiths@redhat.com>
514
515         * gdb.fortran/array-bounds.exp: New file.
516         * gdb.fortran/array-bounds.f90: New file.
517
518 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
519
520         * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
521
522 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
523
524         * gdb.multi/hello.c (main): Increase alarm timer.
525
526 2019-03-28  Sandra Loosemore  <sandra@codesourcery.com>
527
528         * gdb.threads/watchpoint-fork.exp (test): Use large timeout
529         factor when no hardware watchpoint support.
530
531 2019-03-28  Alan Hayward  <alan.hayward@arm.com>
532             Pedro Alves  <palves@redhat.com>
533
534         * boards/local-board.exp: set sysroot to /.
535
536 2019-03-27  Alan Hayward  <alan.hayward@arm.com>
537
538         * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
539         in child.
540
541 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
542
543         * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
544         field.
545         (make_container): Initialise new field.
546         * gdb.python/py-prettyprint.exp: Add new tests.
547         * gdb.python/py-prettyprint.py (class ContainerPrinter)
548         <display_hint>: New method.
549
550 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
551
552         * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
553         gdb_continue_to_breakpoint more throughout this test.
554         (run_lang_tests) Supply unique test names, and use
555         gdb_test_no_output.
556
557 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
558
559         * gdb.base/finish-pretty.exp: Update expected results.
560         * gdb.base/pretty-print.c: New file.
561         * gdb.base/pretty-print.exp: New file.
562
563 2019-03-25  Pedro Alves  <palves@redhat.com>
564
565         * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
566         move comments outside list.  Append '-i "" eof' section.
567
568 2019-03-22  Alan Hayward  <alan.hayward@arm.com>
569
570         * README: Add pie options.
571         * gdb.base/break-interp.exp: Ensure pie is disabled.
572         * gdb.base/dump.exp: Likewise.
573         * lib/gdb.exp (gdb_compile): Add pie option.
574
575 2019-03-19  Tom Tromey  <tromey@adacore.com>
576
577         * gdb.mi/mi2-cli-display.c: New file.
578         * gdb.mi/mi2-cli-display.exp: New file.
579
580 2019-03-18  Joel Brobecker  <brobecker@adacore.com>
581             Tom Tromey  <tromey@adacore.com>
582
583         * gdb.ada/ptype_array/pck.adb: New file.
584         * gdb.ada/ptype_array/pck.ads: New file.
585         * gdb.ada/ptype_array/foo.adb: New file.
586         * gdb.ada/ptype_array.exp: New file.
587
588 2019-03-14  Tom Tromey  <tromey@adacore.com>
589
590         * gdb.base/style.exp: Add "set style sources" test.
591
592 2019-03-13  Simon Marchi  <simon.marchi@ericsson.com>
593
594         * mi-breakpoint-location-ena-dis.exp: Rename to ...
595         * mi-breakpoint-multiple-locations.exp: ... this.
596         (make_breakpoints_pattern): New proc.
597         (do_test): Add mi_version parameter, test -break-insert,
598         -break-info and =breakpoint-created.
599
600 2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
601
602         * config/default.exp: Remove 'load_lib gdb.exp'.
603         * config/monitor.exp: Likewise.
604         * config/sid.exp: Likewise.
605         * config/sim.exp: Likewise.
606         * config/slite.exp: Likewise.
607         * config/unix.exp: Likewise.
608         * gdb.base/default.exp: Remove unhelpful comment.
609
610 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
611
612         * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
613
614 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
615
616         * gdb.fortran/intrinsics.exp: Extend to cover ABS.
617
618 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
619
620         * gdb.fortran/type-kinds.exp: Update expected results.
621
622 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
623
624         * gdb.fortran/type-kinds.exp: Test new integer type kind.
625
626 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
627
628         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
629         function.
630         (test_basic_parsing_of_type_kinds): Expand types tested.
631         (test_parsing_invalid_type_kinds): New function.
632
633 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
634
635         * gdb.fortran/intrinsics.exp: New file.
636         * gdb.fortran/intrinsics.f90: New file.
637         * gdb.fortran/type-kinds.exp: New file.
638
639 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
640
641         * gdb.fortran/dot-ops.exp: New file.
642
643 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
644
645         * gdb.fortran/types.exp (test_logical_literal_types_accepted):
646         Check upper and lower case logical literals.
647
648 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
649
650         * gdb.fortran/types.exp (test_float_literal_types_accepted):
651         Remove duplicate tests.
652
653 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
654
655         * lib/gdb.exp (builtin_cd): rename of cd.
656         (cd): Override builtin.
657
658 2019-03-06  Richard Bunt  <richard.bunt@arm.com>
659
660         * gdb.fortran/function-calls.exp: New file.
661         * gdb.fortran/function-calls.f90: New test.
662
663 2019-03-04  Richard Bunt  <richard.bunt@arm.com>
664
665         * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
666         on user program standard output.
667         * gdb.fortran/short-circuit-argument-list.f90: Record function
668         calls.
669
670 2019-02-28  Alan Hayward  <alan.hayward@arm.com>
671
672         * lib/gdbserver-support.exp (gdbserver_start): Check for listen
673         failure.
674
675 2019-02-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
676
677         PR gdb/8527
678         * gdb.base/interrupt-daemon-attach.c,
679         gdb.base/interrupt-daemon-attach.exp: New test.
680
681 2019-02-27  Pedro Alves  <palves@redhat.com>
682
683         * gdb.base/page.exp: Add tests for "set width/height -1".
684
685 2019-02-27  Pedro Alves  <palves@redhat.com>
686
687         * gdb.base/page.exp: Add tests for "set/show width/height" with
688         "infinite" values.
689
690 2019-02-27  Tom Tromey  <tromey@adacore.com>
691
692         * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
693         2.4.
694         * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
695         workaround.
696
697 2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
698
699         * gdb.base/align.exp: Extend to compile in both C and C++, and add
700         tests for structs with static members.
701
702 2019-02-26  Tom Tromey  <tromey@adacore.com>
703
704         * gdb.python/py-value.exp (test_value_from_buffer): Check for
705         ValueError, not TypeError.
706
707 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
708
709         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
710         call from main program.
711
712 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
713
714         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
715         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
716         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
717         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
718         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
719
720 2019-02-22  Keith Seitz  <keiths@redhat.com>
721
722         PR symtab/23853
723         * gdb.base/symlink-sourcefile.c: New file.
724         * gdb.base/symlink-sourcefile.exp: New file.
725
726 2019-02-20  Tom Tromey  <tom@tromey.com>
727
728         * gdb.base/info_qt.exp: Update.
729
730 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
731
732         * gdb.base/source.exp: Move "error in sourced script" code to
733         the end.
734         * gdb.base/source-error.gdb: Move contents to
735         source-error-1.gdb.  Add new code to source source-error-1.gdb.
736         * gdb.base/source-error-1.gdb: New file, from previous
737         source-error.gdb.
738
739 2019-02-17  Tom Tromey  <tom@tromey.com>
740
741         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
742         for macro styling.
743         * gdb.base/style.c (SOME_MACRO): New macro.
744
745 2019-02-17  Tom Tromey  <tom@tromey.com>
746
747         * gdb.base/style.exp: Add line-wrapping tests.
748         * gdb.base/page.exp: Add test for quitting during pagination.
749
750 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
751
752         * gdb.ada/big_packed_array: New testcase.
753         * gdb.ada/homonym.exp: Fix incorrect expected output for
754         "break <homonym__get_value>" test.
755
756 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
757
758         PR breakpoints/21870
759         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
760         and prepare_for_testing.  Add comment.
761         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
762         redundant cleanup call.  Clean up comment.
763
764 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
765
766         PR breakpoints/21870
767         * gdb.arch/aarch64-dbreg-contents.exp: New file.
768         * gdb.arch/aarch64-dbreg-contents.c: New file.
769
770 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
771
772         * gdb.ada/mi_ref_changeable: New testcase.
773
774 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
775
776         * gdb.base/attach.exp: Add double attach test.
777
778 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
779
780         * lib/gdb.exp (default_gdb_start): Don't match pagination
781         prompt.
782         (gdb_init): Set stty_init.
783
784 2019-01-27  Tom Tromey  <tom@tromey.com>
785
786         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
787         skip_python_tests.
788
789 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
790
791         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
792         New structure.
793         (struct struct_static_02_02): Likewise.
794         (struct struct_static_02_03): Likewise.
795         (struct struct_static_02_04): Likewise.
796         (struct struct_static_04_01): Likewise.
797         (struct struct_static_04_02): Likewise.
798         (struct struct_static_04_03): Likewise.
799         (struct struct_static_04_04): Likewise.
800         (struct struct_static_06_01): Likewise.
801         (struct struct_static_06_02): Likewise.
802         (struct struct_static_06_03): Likewise.
803         (struct struct_static_06_04): Likewise.
804         (cmp_struct_static_02_01): Likewise.
805         (cmp_struct_static_02_02): Likewise.
806         (cmp_struct_static_02_03): Likewise.
807         (cmp_struct_static_02_04): Likewise.
808         (cmp_struct_static_04_01): Likewise.
809         (cmp_struct_static_04_02): Likewise.
810         (cmp_struct_static_04_03): Likewise.
811         (cmp_struct_static_04_04): Likewise.
812         (cmp_struct_static_06_01): Likewise.
813         (cmp_struct_static_06_02): Likewise.
814         (cmp_struct_static_06_03): Likewise.
815         (cmp_struct_static_06_04): Likewise.
816         (call_all): Test new structs.
817         * gdb.base/infcall-nested-structs.exp: Likewise.
818
819 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
820         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
821
822 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
823         * gdb.base/stack-protector.c: New test.
824         * gdb.base/stack-protector.exp: New file.
825         * gdb.cp/ovldbreak.exp: Only allow a single break line.
826         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
827         option.
828         (gdb_compile): Remove stack protector for GCC and prevent
829         recursion.
830
831 2019-01-16  Keith Seitz  <keiths@redhat.com>
832
833         PR gdb/23773
834         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
835
836 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
837
838         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
839         aliases.
840         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
841         tests.
842         * gdb.arch/powerpc-vector-regs.c: New file.
843         * gdb.arch/powerpc-vector-regs.exp: New file.
844
845 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
846
847         * gdb.arch/altivec-regs.exp: Fix the list passed to
848         gdb_expect_list when testing "info vector".
849
850 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
851
852         * gdb.base/style.exp: Don't include path in testname.
853
854 2019-01-10  Keith Seitz  <keiths@redhat.com>
855
856         PR gdb/23712
857         PR symtab/23010
858         * gdb.dwarf2/multidictionary.exp: New file.
859
860 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
861
862         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
863         (test_gnuv3_style_demangling): ... this.
864         (test_lucid_style_demangling): Remove.
865         (test_arm_style_demangling): Remove.
866         (test_hp_style_demangling): Remove.
867         (do_tests): Remove calls to the above.
868
869 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
870
871         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
872         case.
873
874 2019-01-06  Tom Tromey  <tom@tromey.com>
875
876         PR gdb/28155:
877         * gdb.dwarf2/typedef-void-finish.exp: New file.
878
879 2018-12-28  Tom Tromey  <tom@tromey.com>
880             Simon Marchi <simark@simark.ca>
881
882         * gdb.base/jit-exec.exp: New file.
883         * gdb.base/jit-exec.c: New file.
884         * gdb.base/jit-execd.c: New file.
885
886 2018-12-28  Tom Tromey  <tom@tromey.com>
887
888         * gdb.base/style.exp: Update test to check for address styling.
889
890 2018-12-28  Tom Tromey  <tom@tromey.com>
891
892         * gdb.base/style.exp: Add test for styling of "Reading symbols"
893         message.
894
895 2018-12-28  Tom Tromey  <tom@tromey.com>
896
897         * gdb.base/style.exp: Add test for version number styling.
898
899 2018-12-28  Tom Tromey  <tom@tromey.com>
900
901         * gdb.base/style.exp: Add test for print_address_symbolic.
902
903 2018-12-28  Tom Tromey  <tom@tromey.com>
904
905         * gdb.base/style.exp: Add test for breakpoint setting.
906
907 2018-12-28  Tom Tromey  <tom@tromey.com>
908
909         * gdb.base/style.exp: Add test for variable names.
910
911 2018-12-28  Tom Tromey  <tom@tromey.com>
912
913         * gdb.base/style.exp: New file.
914         * gdb.base/style.c: New file.
915
916 2018-12-28  Tom Tromey  <tom@tromey.com>
917
918         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
919         "dumb".
920         * gdb.base/readline.exp (operate_and_get_next): Save and restore
921         the TERM environment variable.
922
923 2018-12-27  Tom Tromey  <tom@tromey.com>
924
925         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
926         pagination test.
927
928 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
929
930         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
931         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
932
933 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
934
935         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
936         Filename a.adb changed to bp_fun_addr.adb.
937         gdb.ada/bp_fun_addr.exp: Update test accordingly.
938
939 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
940
941         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
942         non-PIE executables.
943         * README: Mention the gdb,nopie_flag board setting.
944         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
945         non-PIE executable.
946         * gdb.arch/amd64-entry-value.exp: Likewise.
947         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
948         * gdb.arch/i386-float.exp: Likewise.
949         * gdb.arch/i386-signal.exp: Likewise.
950         * gdb.mi/mi-reg-undefined.exp: Likewise.
951
952 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
953
954         PR gdb/23974
955         * gdb.base/info-os.exp: Check return for unknown "info os" type.
956
957 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
958
959         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
960         Update order of results accordingly.
961
962 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
963
964         * gdb.base/annota1.exp: Update a test regexp.
965
966 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
967
968         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
969
970 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
971
972         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
973         (reuse_time): Initialize to REUSE_TIME_CAP.
974         (check_rc): New function.
975         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
976         Check pthread_create rc.
977         (spawner_thread_func): Check pthread_create and pthread_join rc.
978
979 2018-12-08  Pedro Alves  <palves@redhat.com>
980
981         * gdb.base/list.exp (test_forward_search): Rename to ...
982         (test_forward_reverse_search): ... this.  Also test reverse-search
983         and the forward-search alias.
984
985 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
986
987         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
988         local timeout variable before return, and remove all local timeout
989         variable entirely.
990         (gdb_load): Likewise.
991
992 2018-12-01  Tom de Vries  <tdevries@suse.de>
993
994         * gdb.base/gdb-caching-proc.exp: New file.
995
996 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
997
998         * Makefile.in (TIMESTAMP): New variable.
999         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1000         command.
1001         (check-single-racy): Likewise.
1002         (check/%.exp): Likewise.
1003         (check-racy/%.exp): Likewise.
1004         (workers/%.worker): Likewise.
1005         (build-perf): Likewise.
1006         (check-perf): Likewise.
1007         * README: Describe new "TS" and "TS_FORMAT" variables.
1008         * print-ts.py: New file.
1009
1010 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
1011
1012         PR python/23714
1013         * gdb.python/python.exp: Test command repetition after
1014         gdb.execute.
1015
1016 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
1017
1018         * gdb.opt/inline-break.exp: Add test that info breakpoint output
1019         is correctly aligned.
1020
1021 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1022
1023         * gdb.ada/info_auto_lang.exp: New testcase.
1024         * gdb.ada/info_auto_lang/global_pack.ads: New file.
1025         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1026         * gdb.ada/info_auto_lang/some_c.c: New file.
1027
1028 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1029
1030         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1031         FUNC_lang language syntax.
1032
1033 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1034
1035         * gdb.base/info_minsym.c: New file.
1036         * gdb.base/info_minsym.exp: New file.
1037
1038 2018-11-19  Tom Tromey  <tom@tromey.com>
1039
1040         PR rust/23625:
1041         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
1042         * gdb.rust/expr.exp: Update expected output.  Change one test.
1043
1044 2018-11-19  Tom Tromey  <tom@tromey.com>
1045
1046         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1047
1048 2018-11-19  Pedro Alves  <palves@redhat.com>
1049
1050         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
1051         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
1052         see the expected warning.
1053
1054 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
1055
1056         PR gdb/22736:
1057         * gdb.cp/infcall-nodebug-lib.c: New test.
1058         * gdb.cp/infcall-nodebug-main.c: New test.
1059         * gdb.cp/infcall-nodebug.exp: New file.
1060
1061 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
1062
1063         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
1064         completer tests.
1065
1066 2018-11-09  Tom de Vries  <tdevries@suse.de>
1067
1068         * gdb.base/msym-lang.c: New test.
1069         * gdb.base/msym-lang.exp: New file.
1070         * gdb.base/msym-lang-main.c: New test.
1071
1072 2018-11-08  Tom Tromey  <tom@tromey.com>
1073
1074         PR gdb/23555:
1075         PR gdb/23838:
1076         * gdb.base/warning.exp: New file.
1077
1078 2018-11-08  Jan Beulich  <jbeulich@suse.com>
1079
1080         * testsuite/gdb.arch/i386-avx512.c,
1081         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1082
1083 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1084
1085         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1086         point hardware.
1087
1088 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1089
1090         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1091         * gdb.dwarf2/missing-type-name.exp: New file.
1092
1093 2018-11-06  Tom de Vries  <tdevries@suse.de>
1094
1095         * gdb.base/many-headers.c: New test.
1096         * gdb.base/many-headers.exp: New file.
1097
1098 2018-11-06  Jim Wilson  <jimw@sifive.com>
1099
1100         * gdb.base/code_elim.exp: For riscv, set additional_flags
1101         to include -msmall-data-limit=0.
1102
1103 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
1104
1105         * gdb.ada/watch_minus_l: New testcase.
1106
1107 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1108
1109         * gdb.arch/aix-sighandle.c: New file.
1110         * gdb.arch/aix-sighandle.exp: New file.
1111
1112 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
1113
1114         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1115         registers being unions.
1116
1117 2018-10-31  Tom de Vries  <tdevries@suse.de>
1118
1119         * lib/valgrind.exp: New file.
1120          (vgdb_start, vgdb_stop): New procs, factored out of ...
1121         * gdb.base/valgrind-bt.exp: ... here, ...
1122         * gdb.base/valgrind-disp-step.exp: ... here and ...
1123         * gdb.base/valgrind-infcall.exp: ... here.
1124
1125 2018-10-31  Tom de Vries  <tdevries@suse.de>
1126
1127         * lib/gdb.exp (get_valueof): Don't output read value in test name.
1128
1129 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
1130
1131         * gdb.dwarf2/void-type.c: New file.
1132         * gdb.dwarf2/void-type.exp: New file.
1133
1134 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1135
1136         * gdb.base/info_qt.c: New file.
1137         * gdb.base/info_qt.exp: New file.
1138
1139 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1140
1141         * gdb.arch/powerpc-htm-regs.c: New file.
1142         * gdb.arch/powerpc-htm-regs.exp: New file.
1143
1144 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1145
1146         * gdb.arch/powerpc-tar.c: New file.
1147         * gdb.arch/powerpc-tar.exp: New file.
1148
1149 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1150
1151         * gdb.arch/powerpc-ppr-dscr.c: New file.
1152         * gdb.arch/powerpc-ppr-dscr.exp: New file.
1153
1154 2018-10-25  Tom de Vries  <tdevries@suse.de>
1155
1156         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1157
1158 2018-10-24  Tom de Vries  <tdevries@suse.de>
1159
1160         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1161         longer exists error.
1162
1163 2018-10-24  Tom de Vries  <tdevries@suse.de>
1164
1165         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1166
1167 2018-10-24  Tom de Vries  <tdevries@suse.de>
1168
1169         * gdb.base/valgrind-db-attach.exp: Handle removed support for
1170         --db-attach in valgrind.
1171
1172 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1173
1174         * gdb.arch/riscv-reg-aliases.c: New file.
1175         * gdb.arch/riscv-reg-aliases.exp: New file.
1176
1177 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1178
1179         * gdb.python/py-cmd.exp: Check for gdb_prompt.
1180
1181 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1182
1183         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1184
1185 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1186
1187         * gdb.cp/ovldbreak.exp: Fix regexps.
1188
1189 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
1190
1191         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1192
1193 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1194
1195         PR cli/23785
1196         * gdb.base/restore.exp: New test to check if "restore" with an
1197         invalid file doesn't segfault.
1198
1199 2018-10-18  Tom de Vries  <tdevries@suse.de>
1200
1201         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1202         * gdb.ada/excep_handle.exp: Same.
1203         * gdb.ada/mi_string_access.exp: Same.
1204         * gdb.ada/mi_var_union.exp: Same.
1205         * gdb.arch/arc-analyze-prologue.exp: Same.
1206         * gdb.arch/arc-decode-insn.exp: Same.
1207         * gdb.base/readnever.exp: Same.
1208         * gdb.fortran/printing-types.exp: Same.
1209         * gdb.guile/scm-lazy-string.exp: Same.
1210
1211 2018-10-16  Tom de Vries  <tdevries@suse.de>
1212
1213         PR gdb/23730
1214         * gdb.base/catch-follow-exec.c: Add copyright notice.
1215         * gdb.base/catch-follow-exec.exp: Rewrite to use
1216         gdb_spawn_with_cmdline_opts.  Require gdb-native.
1217
1218 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
1219
1220         * gdb.trace/actions-changed.exp: Check for arch support.
1221         * gdb.trace/actions.exp: Likewise.
1222         * gdb.trace/ax.exp: Likewise.
1223         * gdb.trace/backtrace.exp: Likewise.
1224         * gdb.trace/change-loc.exp: Likewise.
1225         * gdb.trace/deltrace.exp: Likewise.
1226         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1227         * gdb.trace/ftrace.exp: Likewise.
1228         * gdb.trace/infotrace.exp: Check for arch support.
1229         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1230         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1231         * gdb.trace/mi-tsv-changed.exp: Likewise.
1232         * gdb.trace/packetlen.exp: Likewise.
1233         * gdb.trace/passc-dyn.exp: Likewise.
1234         * gdb.trace/passcount.exp: Likewise.
1235         * gdb.trace/pending.exp: Likewise.
1236         * gdb.trace/range-stepping.exp: Check for shlib support.
1237         * gdb.trace/report.exp: Check for arch support.
1238         * gdb.trace/save-trace.exp: Likewise.
1239         * gdb.trace/signal.exp: Check for signal support.
1240         * gdb.trace/tfind.exp: Check for arch support.
1241         * gdb.trace/trace-break.exp: Check for arch and shlib support.
1242         * gdb.trace/trace-common.h: Add comment.
1243         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1244         * gdb.trace/trace-enable-disable.exp: Likewise.
1245         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
1246         * gdb.trace/tracecmd.exp: Check for arch support.
1247         * gdb.trace/tspeed.exp: Check for shlib and target support.
1248         * gdb.trace/tstatus.exp: Check for arch support.
1249         * gdb.trace/tsv.exp: Likewise.
1250         * gdb.trace/while-dyn.exp: Likewise.
1251         * gdb.trace/while-stepping.exp: Likewise.
1252         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1253
1254 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
1255
1256         * gdb.trace/tspeed.exp: Remove nowarnings.
1257         (prepare_for_trace_test): Declare "global ipalib".
1258         * gdb.trace/tspeed.c: Include unistd.h.
1259         (main): Remove superfluous printf argument.
1260
1261 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
1262
1263         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1264         directory prefix on the filename.
1265
1266 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
1267
1268         * gdb.gdb/unittest.exp: Update expected message informing that
1269         selftests have been disabled.
1270         * gdb.server/unittest.exp: Likewise.
1271
1272 2018-10-09  Tom de Vries  <tdevries@suse.de>
1273
1274         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1275         with runto_main.
1276
1277 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
1278
1279         PR c++/16841
1280         * gdb.cp/virtbase2.cc: New file.
1281         * gdb.cp/virtbase2.exp: New file.
1282
1283 2018-10-06  Tom Tromey  <tom@tromey.com>
1284
1285         PR python/19399:
1286         * gdb.python/py-inferior.exp: Add architecture test.
1287
1288 2018-10-06  Tom Tromey  <tom@tromey.com>
1289
1290         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1291         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1292
1293 2018-10-06  Tom Tromey  <tom@tromey.com>
1294
1295         * gdb.python/py-breakpoint.exp (check_last_event): Check location
1296         of a "throw" catchpoint.
1297
1298 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
1299
1300         * gdb.base/info-proc.exp: Update string expected from "help info
1301         proc".
1302
1303 2018-10-04  Tom Tromey  <tom@tromey.com>
1304
1305         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1306         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1307         (test_initial_complaints, test_empty_complaints): Update.
1308         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1309
1310 2018-10-04  Tom Tromey  <tom@tromey.com>
1311
1312         PR cli/19551:
1313         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1314         * lib/gdb.exp (gdb_file_cmd): Update.
1315         * gdb.stabs/weird.exp (print_weird_var): Update.
1316         * gdb.server/solib-list.exp: Update.
1317         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1318         * gdb.mi/mi-cli.exp: Update.
1319         * gdb.linespec/linespec.exp: Update.
1320         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1321         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1322         * gdb.cp/cp-relocate.exp: Update.
1323         * gdb.base/sym-file.exp: Update.
1324         * gdb.base/relocate.exp: Update.
1325         * gdb.base/readnever.exp: Update.
1326         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1327         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1328         * gdb.base/dbx.exp (gdb_file_cmd): Update.
1329         * gdb.base/code_elim.exp: Update.
1330         * gdb.base/break-unload-file.exp (test_break): Update.
1331         * gdb.base/break-interp.exp (test_attach_gdb): Update.
1332         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1333         Update.
1334         * gdb.base/attach.exp (do_attach_tests): Update.
1335         * gdb.base/sepdebug.exp: Update.
1336         * gdb.python/py-section-script.exp: Update.
1337
1338 2018-10-04  Tom Tromey  <tom@tromey.com>
1339
1340         PR cli/22234:
1341         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1342         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1343         output.
1344
1345 2018-10-04  Tom Tromey  <tom@tromey.com>
1346
1347         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1348         set width and height to 0.
1349         (test_command_line_attach_run): Use -quiet.
1350
1351 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
1352
1353         * lib/gdb.exp (skip_ifunc_tests): New.
1354         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
1355         other compile failures.
1356         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1357
1358 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
1359
1360         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1361         is_amd64_regs_target.
1362
1363 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
1364
1365         * gdb.arch/aarch64-sighandler-regs.c: New test.
1366         * gdb.arch/aarch64-sighandler-regs.exp: New file.
1367         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1368
1369 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
1370
1371         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1372         assembly.
1373
1374 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1375
1376         * gdb.base/frame-selection.exp: New file.
1377         * gdb.base/frame-selection.c: New file.
1378
1379 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
1380
1381         * gdb.threads/check-libthread-db.c (thread_routine): Use a
1382         pthread barrier.
1383         (main): Likewise.
1384
1385 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1386
1387         * gdb.base/large-frame-1.c: New file.
1388         * gdb.base/large-frame-2.c: New file.
1389         * gdb.base/large-frame.exp: New file.
1390         * gdb.base/large-frame.h: New file.
1391
1392 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1393
1394         PR gdb/20948
1395         * gdb.base/write_mem.exp: New test.
1396         * gdb.base/write_mem.c: Likewise.
1397
1398 2018-09-23  Tom Tromey  <tom@tromey.com>
1399
1400         PR python/18852:
1401         * gdb.python/py-parameter.exp: Add test for parameter that throws
1402         on "set".
1403
1404 2018-09-23  Tom Tromey  <tom@tromey.com>
1405
1406         PR python/17284:
1407         * gdb.python/py-template.exp (test_template_arg): Add test for
1408         negative template argument number.
1409
1410 2018-09-23  Tom Tromey  <tom@tromey.com>
1411
1412         PR python/14062:
1413         * gdb.python/python.exp: Add test for post_event error.
1414
1415 2018-09-23  Tom Tromey  <tom@tromey.com>
1416
1417         PR python/18170:
1418         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1419         convert pointers to int and long.
1420
1421 2018-09-23  Tom Tromey  <tom@tromey.com>
1422
1423         PR python/20126:
1424         * gdb.python/py-value.exp (test_value_numeric_ops): Add
1425         signed-ness conversion tests.
1426
1427 2018-09-23  Tom Tromey  <tom@tromey.com>
1428
1429         PR python/18352;
1430         * gdb.python/py-value.exp (test_float_conversion): New proc.
1431         Use it.
1432
1433 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1434
1435         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1436
1437 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1438
1439         * gdb.base/complete-empty.exp: Skip tab-completion tests if
1440         no readline.
1441         * gdb.base/utf8-identifiers.exp: Likewise.
1442         * gdb.cp/cpcompletion.exp: Likewise.
1443         * gdb.linespec/cpcompletion.exp: Likewise.
1444         * gdb.linespec/cpls-abi-tag.exp: Likewise.
1445         * gdb.linespec/cpls-ops.exp: Likewise.
1446
1447 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
1448             Chris January  <chris.january@arm.com>
1449
1450         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1451         * gdb.fortran/short-circuit-argument-list.exp: New file.
1452         * gdb.fortran/short-circuit-argument-list.f90: New test.
1453
1454 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1455
1456         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1457         "arch=" keyword when executing "-stack-list-frames".
1458
1459 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1460
1461         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1462         "arch=" keyword when executing "-stack-list-frames".
1463
1464 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1465
1466         * gdb.ada/complete.exp: Expect for "@" when doing "complete
1467         break ada".
1468
1469 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
1470
1471         PR python/23669
1472         * gdb.python/python.exp: Test gdb.execute("show commands").
1473
1474 2018-09-16  Tom Tromey  <tom@tromey.com>
1475
1476         * gdb.base/new-ui.exp (do_execution_tests): Update.
1477         * gdb.base/dbx.exp (test_breakpoints): Update.
1478
1479 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
1480
1481         * lib/gdb.exp (gdb_simple_compile): Add proc.
1482         (is_elf_target): Use gdb_simple_compile.
1483         (skip_altivec_tests): Likewise.
1484         (skip_vsx_tests): Likewise.
1485         (skip_tsx_tests): Likewise.
1486         (skip_btrace_tests): Likewise.
1487         (skip_btrace_pt_tests): Likewise.
1488         (gdb_can_simple_compile): Likewise.
1489         (gdb_has_argv0): Likewise.
1490         (gdb_target_symbol_prefix): Likewise.
1491         (target_supports_scheduler_locking): Likewise.
1492
1493 2018-09-13  Tom Tromey  <tom@tromey.com>
1494
1495         * Makefile.in (TAGS): Recognize proc_with_prefix and
1496         gdb_caching_proc.
1497
1498 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1499
1500         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1501         method.
1502
1503 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1504
1505         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1506         and a few other Inferior properties when the Inferior is no
1507         longer valid.
1508
1509 2018-09-13  Tom Tromey  <tom@tromey.com>
1510
1511         PR rust/23650:
1512         * gdb.rust/simple.exp: Add test for enum field access error.
1513
1514 2018-09-13  Tom Tromey  <tom@tromey.com>
1515
1516         PR rust/23626:
1517         * gdb.rust/simple.rs (EmptyEnum): New type.
1518         (main): Use it.
1519         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1520
1521 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1522
1523         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1524         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1525         * gdb.python/py-symtab.exp: Update test printing an objfile.
1526
1527 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
1528
1529         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1530         object.
1531
1532 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
1533
1534         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1535         (support_complex_tests): Use gdb_can_simple_compile.
1536         (is_ilp32_target): Likewise.
1537         (is_lp64_target): Likewise.
1538         (is_64_target): Likewise.
1539         (is_amd64_regs_target): Likewise.
1540         (is_aarch32_target): Likewise.
1541         (gdb_int128_helper): Likewise.
1542
1543 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1544
1545         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1546
1547 2018-09-10  Jerome Guitton  <guitton@adacore.com>
1548
1549         * gdb.ada/same_component_name: Add test for case of tagged record
1550         with variable-length fields.
1551
1552 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1553
1554         * gdb.ada/access_to_unbounded_array.exp: New testcase.
1555         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1556         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1557         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1558
1559 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1560
1561         * gdb.ada/mi_string_access.exp: New testcase.
1562         * gdb.ada/mi_string_access/bar.adb: New file.
1563         * gdb.ada/mi_string_access/pck.adb: New file.
1564         * gdb.ada/mi_string_access/pck.asd: New file.
1565
1566 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1567
1568         * gdb.ada/mi_var_union.exp: New testcase.
1569         * gdb.ada/mi_var_union/bar.adb: New file.
1570         * gdb.ada/mi_var_union/pck.adb: New file.
1571         * gdb.ada/mi_var_union/pck.asd: New file.
1572
1573 2018-09-08  Tom Tromey  <tom@tromey.com>
1574
1575         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1576
1577 2018-09-08  Tom Tromey  <tom@tromey.com>
1578
1579         PR python/16047:
1580         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1581         (register_pretty_printers): Register new printer.
1582         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1583         test.
1584         * gdb.python/py-prettyprint.c (int_type3): New typedef.
1585         (an_int_type3): New global.
1586
1587 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
1588
1589         * gdb.ada/expr_with_funcall: New testcase.
1590
1591 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
1592
1593         * gdb.ada/packed_array_assign: New testcase.
1594
1595 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1596
1597         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1598         names, and add test prefixes to make test names unique.
1599
1600 2018-09-05  Tom de Vries  <tdevries@suse.de>
1601
1602         * gdb.dwarf2/varval.exp: Add test.
1603
1604 2018-09-04  Gary Benson <gbenson@redhat.com>
1605
1606         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1607         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
1608
1609 2018-08-31  Tom Tromey  <tom@tromey.com>
1610
1611         * gdb.rust/simple.rs: Rename second variable "v".
1612
1613 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
1614
1615         * gdb.base/funcargs.c (use_a): New function.
1616         (recurse): Call use_a.
1617
1618 2018-08-29  Keith Seitz  <keiths@redhat.com>
1619
1620         * gdb.compile/compile-cplus-anonymous.cc: New file.
1621         * gdb.compile/compile-cplus-anonymous.exp: New file.
1622         * gdb.compile/compile-cplus-array-decay.cc: New file.
1623         * gdb.compile/compile-cplus-array-decay.exp: New file.
1624         * gdb.compile/compile-cplus-inherit.cc: New file.
1625         * gdb.compile/compile-cplus-inherit.exp: New file.
1626         * gdb.compile/compile-cplus-member.cc: New file.
1627         * gdb.compile/compile-cplus-member.exp: New file.
1628         * gdb.compile/compile-cplus-method.cc: New file.
1629         * gdb.compile/compile-cplus-method.exp: New file.
1630         * gdb.compile/compile-cplus-mod.c: "New" file.
1631         * gdb.compile/compile-cplus-namespace.cc: New file.
1632         * gdb.compile/compile-cplus-namespace.exp: New file.
1633         * gdb.compile/compile-cplus-nested.cc: New file.
1634         * gdb.compile/compile-cplus-nested.exp: New file.
1635         * gdb.compile/compile-cplus-print.c: "New" file.
1636         * gdb.compile/compile-cplus-print.exp: "New" file.
1637         * gdb.compile/compile-cplus-virtual.cc: New file.
1638         * gdb.compile/compile-cplus-virtual.exp: New file.
1639         * gdb.compile/compile-cplus.c: "New" file.
1640         * gdb.compile/compile-cplus.exp: "New" file.
1641         * lib/compile-support.exp: New file.
1642
1643 2018-08-16  Gary Benson <gbenson@redhat.com>
1644
1645         PR gdb/13000:
1646         * gdb.base/batch-exit-status.exp: New file.
1647         * gdb.base/batch-exit-status.good-commands: Likewise.
1648         * gdb.base/batch-exit-status.bad-commands: Likewise.
1649
1650 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
1651
1652         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1653         (struct struct02): Likewise.
1654         (struct struct03): Likewise.
1655         (struct struct04): Likewise.
1656         (struct struct_01_01): New struct.
1657         (struct struct_01_02): Likewise.
1658         (struct struct_01_03): Likewise.
1659         (struct struct_01_04): Likewise.
1660         (struct struct_02_01): Likewise.
1661         (struct struct_02_02): Likewise.
1662         (struct struct_02_03): Likewise.
1663         (struct struct_02_04): Likewise.
1664         (struct struct_04_01): Likewise.
1665         (struct struct_04_02): Likewise.
1666         (struct struct_04_03): Likewise.
1667         (struct struct_04_04): Likewise.
1668         (struct struct_05_01): Likewise.
1669         (struct struct_05_02): Likewise.
1670         (struct struct_05_03): Likewise.
1671         (struct struct_05_04): Likewise.
1672         (cmp_struct01): Remove function.
1673         (cmp_struct02): Likewise.
1674         (cmp_struct03): Likewise.
1675         (cmp_struct04): Likewise.
1676         (cmp_struct_01_01): Add Function.
1677         (cmp_struct_01_02): Likewise.
1678         (cmp_struct_01_03): Likewise.
1679         (cmp_struct_01_04): Likewise.
1680         (cmp_struct_02_01): Likewise.
1681         (cmp_struct_02_02): Likewise.
1682         (cmp_struct_02_03): Likewise.
1683         (cmp_struct_02_04): Likewise.
1684         (cmp_struct_04_01): Likewise.
1685         (cmp_struct_04_02): Likewise.
1686         (cmp_struct_04_03): Likewise.
1687         (cmp_struct_04_04): Likewise.
1688         (cmp_struct_05_01): Likewise.
1689         (cmp_struct_05_02): Likewise.
1690         (cmp_struct_05_03): Likewise.
1691         (cmp_struct_05_04): Likewise.
1692         (call_all): Add new structs.
1693         * gdb.base/infcall-nested-structs.exp: Likewise.
1694
1695 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1696
1697         * gdb.python/py-framefilter-mi.exp: Update regexp to
1698         check for "arch" field in frame output.
1699
1700 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1701
1702         * gdb.dwarf2/dw2-ranges-func.c: New file.
1703         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1704
1705 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1706
1707         * gdb.base/term.exp: Compare terminal settings with values from
1708         the inferior.
1709         * gdb.base/term.c: Get and set terminal settings.
1710
1711 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1712
1713         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1714         accommodate new "arch" field in frame output.
1715         * gdb.mi/mi-return.exp: Likewise.
1716         * gdb.mi/mi-stack.exp: Likewise.
1717         * gdb.mi/mi-syn-frame.exp: Likewise.
1718         * gdb.mi/user-selected-context-sync.exp: Likewise.
1719
1720 2018-08-19  Michael Spang  <spang@google.com>
1721
1722         PR gdb/11786
1723         * gdb.base/gcore-tls-pie.c: New file.
1724         * gdb.base/gcore-tls-pie.exp: New file.
1725
1726 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1727
1728         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1729         * gdb.dwarf2/varval.c: New file.
1730         * gdb.dwarf2/varval.exp: New file.
1731
1732 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1733
1734         PR gdb/18931
1735         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1736
1737 2018-08-16  Keith Seitz  <keiths@redhat.com>
1738
1739         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1740         tests expected to pass.
1741
1742 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1743
1744         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1745         -data-disassemble -a.
1746         (test_disassembly_bogus_args): Likewise.
1747
1748 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1749
1750         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1751
1752 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1753
1754         * gdb.base/vla-optimized-out.exp: Add new test.
1755
1756 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1757
1758         * gdb.base/vla-optimized-out-o3.exp: Delete.
1759         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1760         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1761         deleted tests.
1762
1763 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1764
1765         PR gdb/18050:
1766         * gdb.server/extended-remote-restart.c: New file.
1767         * gdb.server/extended-remote-restart.exp: New file.
1768
1769 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1770
1771         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1772         "set variable index = 42".
1773
1774 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1775
1776         * boards/index-cache-gdb.exp: New file.
1777         * gdb.dwarf2/index-cache.exp: New file.
1778         * gdb.dwarf2/index-cache.c: New file.
1779         * gdb.base/maint.exp: Check if we are using the index cache.
1780
1781 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1782
1783         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1784         MAKEFLAGS.
1785
1786 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1787
1788         * dg-extract-results.sh: Move to toplevel contrib.
1789         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1790         * Makefile.in (check-parallel-racy): Likewise.
1791
1792 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1793
1794         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1795         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1796         tests if the target supports scheduler locking.
1797
1798 2018-08-04  Tom de Vries  <tdevries@suse.de>
1799
1800         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1801
1802 2018-08-02  Tom Tromey  <tom@tromey.com>
1803
1804         PR symtab/16842.
1805         * gdb.cp/temargs.exp: Test "info address" of a template
1806         parameter.
1807
1808 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1809
1810         * gdb.python/py-mi-var-info-path-expression.c: New file.
1811         * gdb.python/py-mi-var-info-path-expression.py: New file.
1812         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1813
1814 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1815
1816         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1817         error after "cannot resolve name" string.
1818
1819 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1820
1821         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1822         started.
1823         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1824
1825 2018-07-28  Tom de Vries  <tdevries@suse.de>
1826
1827         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1828
1829 2018-07-26  Tom de Vries  <tdevries@suse.de>
1830
1831         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1832
1833 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1834
1835         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1836         is visible.
1837
1838 2018-07-26  Tom de Vries  <tdevries@suse.de>
1839
1840         PR breakpoints/23366
1841         * gdb.base/catch-follow-exec.c: New test.
1842         * gdb.base/catch-follow-exec.exp: New file.
1843
1844 2018-07-25  Tom de Vries  <tdevries@suse.de>
1845
1846         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1847         vla-optimized-out.c.
1848
1849 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1850
1851         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1852         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1853
1854 2018-07-20  Tom de Vries  <tdevries@suse.de>
1855
1856         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1857         NOCLONE macro.
1858         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1859
1860 2018-07-19  Tom de Vries  <tdevries@suse.de>
1861
1862         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1863         regular expression.
1864
1865 2018-07-18  Tom de Vries  <tdevries@suse.de>
1866
1867         * gdb.base/vla-optimized-out.c: New test.
1868         * gdb.base/vla-optimized-out.exp: New file.
1869
1870 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1871
1872         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1873         message "No address associated with hostname" when gdbserver
1874         cannot resolve the hostname.
1875
1876 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1877
1878         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1879         Add some test prefixes to make tests unique.
1880
1881 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1882
1883         * gdb.base/frameapply.c: New file.
1884         * gdb.base/frameapply.exp: New file.
1885
1886 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1887
1888         * gdb.base/skip.exp: Update expected error message.
1889
1890 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1891             Jan Kratochvil  <jan.kratochvil@redhat.com>
1892             Paul Fertser  <fercerpav@gmail.com>
1893             Tsutomu Seki  <sekiriki@gmail.com>
1894
1895         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1896         parameter.
1897         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1898         by default.
1899         * boards/native-gdbserver.exp: Likewise.
1900         * gdb.server/run-without-local-binary.exp: Improve regexp used
1901         for detecting when a remote debugging connection succeeds.
1902         * gdb.server/server-connect.exp: New file.
1903         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1904         Do not prefix the port number with ":".
1905         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1906         support for detecting and using it.  Add '$debughost_gdbserver'
1907         to the list of arguments used to start gdbserver.  Handle case
1908         when gdbserver cannot resolve a network name.
1909
1910 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1911
1912         PR c++/23373
1913         * gdb.base/ptype-offsets.cc (struct static_member): New
1914         struct.
1915         (main) <stmember>: New variable.
1916         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1917         with a static member in it.
1918
1919 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1920
1921         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1922         watchpoints enabled and disabled.
1923
1924 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1925
1926         * gdb.base/examine-backward.exp: Still run tests around address
1927         0x0, even if address 0x0 is not readable.  Update the pattern for
1928         matching address 0x0 in expected output.
1929
1930 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1931
1932         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1933         malloc/free.
1934
1935 2018-07-04  Tom de Vries  <tdevries@suse.de>
1936
1937         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1938
1939 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1940
1941         PR tdep/8282
1942         * gdb.arch/mips-disassembler-options.exp: New test.
1943         * gdb.arch/mips-disassembler-options.s: New test source.
1944
1945 2018-06-29  Pedro Alves  <palves@redhat.com>
1946
1947         * gdb.threads/names.exp: Adjust expected "info threads" output.
1948
1949 2018-06-29  Pedro Alves  <palves@redhat.com>
1950
1951         * gdb.opt/inline-break.exp (line number, address): Add "info
1952         break" tests.
1953
1954 2018-06-29  Pedro Alves  <palves@redhat.com>
1955
1956         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1957         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1958         number and address and running to them.
1959
1960 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1961
1962         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1963
1964 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1965
1966         * lib/compiler.c: Remove executable permission flag.
1967
1968 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1969
1970         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1971         code.
1972         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1973
1974 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1975
1976         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1977
1978 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1979
1980         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1981         address argument is omitted.
1982
1983 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1984
1985         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1986
1987 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1988
1989         PR gdb/21695
1990         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1991         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1992
1993 2018-06-26  Tom Tromey  <tom@tromey.com>
1994
1995         PR rust/22574:
1996         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1997         * gdb.rust/simple.rs (struct SimpleLayout): New.
1998
1999 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
2000
2001         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2002         "info registers" output.
2003
2004 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
2005
2006         * gdb.base/watchpoint-hw-attach.c: New test.
2007         * gdb.base/watchpoint-hw-attach.exp: New file.
2008
2009 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
2010
2011         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2012         through /bin/sh.
2013         * boards/dwarf4-gdb-index.exp: Likewise.
2014         * boards/fission-dwp.exp: Likewise.
2015
2016 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
2017
2018         * gdb.base/float128.exp: Add comment and improved fail message
2019         to the failure case of "print large128" test.
2020
2021 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
2022
2023         * configure.ac: Remove AC_PREREQ.
2024         * configure: Re-generate.
2025
2026 2018-06-19  Pedro Alves  <palves@redhat.com>
2027
2028         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2029         (func_extern_caller): New.
2030         (main): Call func_extern_caller.
2031         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2032         logic change.
2033
2034 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
2035
2036         PR gdb/16841
2037         * gdb.cp/typedef-base.cc: New file.
2038         * gdb.cp/typedef-base.exp: New file.
2039
2040 2018-06-18  Tom de Vries  <tdevries@suse.de>
2041
2042         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2043
2044 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
2045             Richard Bunt <Richard.Bunt@arm.com>
2046
2047         * gdb.threads/attach-slow-waitpid.c: New file.
2048         * gdb.threads/attach-slow-waitpid.exp: New file.
2049         * gdb.threads/slow-waitpid.c: New file.
2050
2051 2018-06-14  Pedro Alves  <palves@redhat.com>
2052
2053         * gdb.base/fork-running-state.c: Include <errno.h>.
2054         (exit_if_relative_exits): New.
2055         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2056         exits.
2057         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2058         child exits.
2059
2060 2018-06-14  Tom de Vries  <tdevries@suse.de>
2061
2062         PR cli/22573
2063         * gdb.base/finish-pretty.c: New test.
2064         * gdb.base/finish-pretty.exp: New file.
2065
2066 2018-06-14  Pedro Alves  <palves@redhat.com>
2067
2068         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2069         gdb's expected startup output.
2070
2071 2018-06-14  Pedro Alves  <palves@redhat.com>
2072
2073         * lib/selftest-support.exp (selftest_setup): Remove inlined
2074         function handling.
2075
2076 2018-06-14  Tom de Vries  <tdevries@suse.de>
2077
2078         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2079         matching of breakpoint printing.
2080
2081 2018-06-13  Tom de Vries  <tdevries@suse.de>
2082
2083         PR testsuite/23269
2084         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2085         (fork_child): ... here, and ...
2086         (fork_parent): ... here.
2087
2088 2018-06-12  Tom de Vries  <tdevries@suse.de>
2089
2090         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2091
2092 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2093             Stephen Roberts  <stephen.roberts@arm.com>
2094
2095         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2096         rewrite test to describe action performed, rather than possible
2097         failure.
2098
2099 2018-06-08  Gary Benson <gbenson@redhat.com>
2100
2101         * gdb.threads/check-libthread-db.exp: New file.
2102         * gdb.threads/check-libthread-db.c: Likewise.
2103
2104 2018-06-05  Tom Tromey  <tom@tromey.com>
2105
2106         * gdb.base/default.exp: Update expected "show version" output.
2107
2108 2018-06-05  Tom Tromey  <tom@tromey.com>
2109
2110         PR cli/12326:
2111         * gdb.cp/static-print-quit.exp: Update.
2112         * lib/gdb.exp (pagination_prompt): Update.
2113         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
2114         * gdb.python/python.exp: Update.
2115
2116 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
2117
2118         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2119
2120 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
2121
2122         * gdb.ada/bp_fun_addr: New testcase.
2123
2124 2018-06-01  Tom Tromey  <tom@tromey.com>
2125
2126         * gdb.xml/tdesc-regs.exp (load_description): Update expected
2127         results.
2128         * gdb.dwarf2/method-ptr.exp: Set language to C++.
2129         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2130         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2131         * gdb.base/maint.exp (maint_pass_if): Update.
2132
2133 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
2134
2135         * gdb.base/endian.exp: New test.
2136         * gdb.base/endian.c: New test source.
2137
2138 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
2139
2140         PR gdb/23203
2141         * gdb.base/bt-selected-frame.c: New file.
2142         * gdb.base/bt-selected-frame.exp: New file.
2143         * lib/gdb.exp (get_current_frame_number): New function.
2144
2145 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
2146             Pedro Alves  <palves@redhat.com>
2147
2148         * gdb.threads/tls-core.c: Include <stdlib.h>
2149         (thread_proc): Call `abort'.
2150         * gdb.threads/tls-core.exp: Generate a core with core_find too.
2151         (tls_core_test): New procedure, bits factored out from ...
2152         (top level): ... here.  Test both native cores and gcore cores.
2153
2154 2018-05-23  Tom Tromey  <tom@tromey.com>
2155
2156         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2157
2158 2018-05-23  Tom Tromey  <tom@tromey.com>
2159
2160         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2161         symfile_complaints.
2162         (test_short_complaints): Likewise.
2163         (test_empty_complaints): Likewise.
2164         (test_initial_complaints): Update.
2165
2166 2018-05-23  Tom Tromey  <tom@tromey.com>
2167
2168         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2169
2170 2018-05-23  Tom Tromey  <tom@tromey.com>
2171
2172         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2173         (test_short_complaints): Update.
2174
2175 2018-05-22  Pedro Alves  <palves@redhat.com>
2176
2177         * gdb.base/remote.exp: Only gdb_start after compiling the
2178         testcase.  Issue "disconnect" before testing "set remote" command
2179         defaults.  Issue clean_restart before running to main.
2180
2181 2018-05-22  Pedro Alves  <palves@redhat.com>
2182
2183         * gdb.base/remote.exp: Adjust expected output of "show remote
2184         memory-write-packet-size".  Add tests for "set remote
2185         memory-write-packet-size 0" and "set remote
2186         memory-write-packet-size fixed/limit".
2187
2188 2018-05-22  Pedro Alves  <palves@redhat.com>
2189
2190         PR gdb/22973
2191         * gdb.base/utf8-identifiers.c: New file.
2192         * gdb.base/utf8-identifiers.exp: New file.
2193
2194 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
2195
2196         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2197
2198 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
2199
2200         * gdb.arch/powerpc-vsx-gcore.exp: New file.
2201
2202 2018-05-18  Tom Tromey  <tom@tromey.com>
2203
2204         * gdb.base/ptype-offsets.exp: Update.
2205
2206 2018-05-17  Keith Seitz  <keiths@redhat.com>
2207
2208         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2209         in expected breakpoint stop locations.
2210         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2211         move to proper scope to test variable values.
2212         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2213         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2214         New functions.
2215         (main): Call not_inline_func3.
2216         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2217         inline_func1, inline_func2, and inline_func3.  Test that when each
2218         breakpoint is hit, GDB properly reports both the stop location
2219         and the backtrace. Repeat tests for temporary breakpoints.
2220
2221 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
2222
2223         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2224         rather then trying to access it in determining whether the PID
2225         of `gdbserver' could have been retrieved.
2226
2227 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
2228
2229         * gdb.arch/amd64-init-x87-values.S: New file.
2230         * gdb.arch/amd64-init-x87-values.exp: New file.
2231
2232 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2233
2234         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2235
2236 2018-05-04  Tom Tromey  <tom@tromey.com>
2237
2238         PR python/22730:
2239         * gdb.python/python.exp: Test multi-line execute.
2240
2241 2018-05-04  Tom Tromey  <tom@tromey.com>
2242
2243         PR python/22731:
2244         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2245
2246 2018-05-04  Tom Tromey  <tom@tromey.com>
2247
2248         PR gdb/11750:
2249         * gdb.base/define.exp: Test defining a user command inside a user
2250         command.
2251         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2252
2253 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2254             Pedro Alves <palves@redhat.com>
2255
2256         PR breakpoints/19806 and support for PR external/20207.
2257         * gdb.base/watchpoint-unaligned.c: New file.
2258         * gdb.base/watchpoint-unaligned.exp: New file.
2259
2260 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2261
2262         * gdb.base/maint.exp: Make test names unique, use
2263         test_prefix_command_help to test 'help maint info', and remove
2264         repeated test of 'help maint'.
2265
2266 2018-05-04  Tom Tromey  <tom@tromey.com>
2267
2268         PR gdb/22619:
2269         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2270         behavior.
2271
2272 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2273
2274         * gdb.base/maint.exp: Process output from 'maint print registers'
2275         line at a time.
2276
2277 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
2278
2279         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2280         timeout.
2281
2282 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2283
2284         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2285         filter pattern.
2286
2287 2018-05-02  Pedro Alves  <palves@redhat.com>
2288
2289         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2290         to_log_command renames.
2291         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2292
2293 2018-05-02  Tom Tromey  <tom@tromey.com>
2294
2295         * gdb.python/py-parameter.exp: Set test message.
2296
2297 2018-05-02  Tom Tromey  <tom@tromey.com>
2298
2299         PR python/20084:
2300         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2301         PARAM_ZUINTEGER_UNLIMITED tests.
2302
2303 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
2304
2305         PR rust/23124
2306         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2307         when casting.
2308
2309 2018-04-30  Tom Tromey  <tom@tromey.com>
2310
2311         * gdb.python/py-type.exp: Check align attribute.
2312         * gdb.python/py-type.c: New "aligncheck" global.
2313
2314 2018-04-30  Tom Tromey  <tom@tromey.com>
2315
2316         PR exp/17095:
2317         * gdb.dwarf2/dw2-align.exp: New file.
2318         * gdb.cp/align.exp: New file.
2319         * gdb.base/align.exp: New file.
2320         * lib/gdb.exp (gdb_int128_helper): New proc.
2321         (has_int128_c, has_int128_cxx): New caching procs.
2322
2323 2018-04-27  Tom Tromey  <tom@tromey.com>
2324
2325         PR rust/22545:
2326         * gdb.rust/simple.exp: Add inclusive range tests.
2327
2328 2018-04-26  Pedro Alves  <palves@redhat.com>
2329
2330         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2331         ifunc breakpoint locations correctly of ifunc breakpoints set
2332         while the program resolves the ifunc.
2333
2334 2018-04-26  Pedro Alves  <palves@redhat.com>
2335
2336         * gdb.base/gnu-ifunc-final.c: New file.
2337         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2338         * gdb.base/gnu-ifunc.exp (executable): Delete.
2339         (staticexecutable): Adjust.
2340         (lib_opts, exec_opts): Delete.
2341         (make_binsuffix, build, set-break): New procedures.
2342         (misc_tests): New, with tests factored out from the top level.
2343         (top level): Test different combinations of ifunc resolver name,
2344         resolver with and with debug info, and ifunc target with and
2345         without debug info.  Wrap static tests with with_target_prefix.
2346
2347 2018-04-26  Pedro Alves  <palves@redhat.com>
2348
2349         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2350         return type" warnings.
2351
2352 2018-04-25  Pedro Alves  <palves@redhat.com>
2353
2354         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2355         killed".
2356         * gdb.base/kill-after-signal.exp: Likewise.
2357         * gdb.threads/kill.exp: Likewise.
2358
2359 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2360             Sergio Durigan Junior  <sergiodj@redhat.com>
2361             Pedro Alves  <palves@redhat.com>
2362
2363         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2364         regexps to expect for '[Inferior ... detached]' as well.
2365         * gdb.base/attach.exp: Likewise.
2366         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2367         "gdb_continue_to_end".
2368         (test_catch_syscall_with_wrong_args): Likewise.
2369         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2370         ']'.  Don't set 'verbose' on.
2371         * gdb.base/foll-vfork.exp: Likewise.
2372         * gdb.base/fork-print-inferior-events.c: New file.
2373         * gdb.base/fork-print-inferior-events.exp: New file.
2374         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2375         '[Inferior ... has been killed]' message.
2376         * gdb.base/kill-after-signal.exp: Likewise.
2377         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2378         detach message.
2379         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2380         message.
2381         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2382         regexps to expect for '[Inferior ... detached]' as well.
2383         * gdb.threads/process-dies-while-detaching.exp: Likewise.
2384
2385 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
2386
2387         PR gdb/23104
2388         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2389
2390 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
2391
2392         * gdb.threads/multiple-successive-infcall.c: New test.
2393         * gdb.threads/multiple-successive-infcall.exp: New file.
2394
2395 2018-04-17  Tom Tromey  <tom@tromey.com>
2396
2397         * gdb.rust/simple.rs (Union): New type.
2398         (main): New local "u".
2399         * gdb.rust/simple.exp (test_one_slice): Add new test case.
2400
2401 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2402
2403         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2404         number information in output of "whereis" command.
2405         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2406
2407 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2408
2409         * gdb.ada/info_types.exp: Adjust expected output to the line
2410         numbers now printed by "info var/func/type".
2411         * gdb.base/completion.exp: Likewise.
2412         * gdb.base/included.exp: Likewise.
2413         * gdb.cp/cp-relocate.exp: Likewise.
2414         * gdb.cp/cplusfuncs.exp: Likewise.
2415         * gdb.cp/namespace.exp: Likewise.
2416         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2417
2418 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
2419
2420         * gdb.btrace/cpu.exp: New.
2421
2422 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
2423
2424         * gdb.base/step-indirect-call-thunk.exp: New.
2425         * gdb.base/step-indirect-call-thunk.c: New.
2426         * gdb.reverse/step-indirect-call-thunk.exp: New.
2427         * gdb.reverse/step-indirect-call-thunk.c: New.
2428
2429 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
2430
2431         * gdb.base/pie-fork.c: New file.
2432         * gdb.base/pie-fork.exp: New file.
2433
2434 2018-04-11  Tom Tromey  <tom@tromey.com>
2435
2436         * gdb.rust/simple.exp: Add test for ".." struct initializer.
2437
2438 2018-04-10  Pedro Alves  <palves@redhat.com>
2439
2440         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2441         exits.  Instead loop running forever.
2442         (fork_parent): Run forever too.
2443
2444 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
2445
2446         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2447         mi_continue_to_line.
2448         * gdb.mi/mi-stack.c (callee4): Add comment.
2449
2450 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
2451
2452         * gdb.mi/mi-stack.exp: Fix indentation.
2453
2454 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
2455
2456         PR gdb/22979
2457         * gdb.arch/amd64-osabi.exp: New file.
2458
2459 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
2460
2461         PR gdb/22980
2462         * gdb.base/osabi.exp: New file.
2463
2464 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
2465
2466         * gdb.cp/static-typedef-print.exp: New file.
2467         * gdb.cp/static-typedef-print.cc: New file.
2468
2469 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
2470
2471         * gdb.ada/varsize_limit: New testcase.
2472
2473 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
2474
2475         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2476
2477         * gdb.ada/notcplusplus: New testcase.
2478
2479         * gdb.base/c-linkage-name.c: New file.
2480         * gdb.base/c-linkage-name.exp: New testcase.
2481
2482 2018-03-26  Tom Tromey  <tom@tromey.com>
2483
2484         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2485         * gdb.python/py-framefilter.py (name_error): New global.
2486         (ErrorInName.function): Use name_error.
2487
2488 2018-03-26  Tom Tromey  <tom@tromey.com>
2489
2490         PR backtrace/15582:
2491         * gdb.python/py-framefilter.exp: Add "bt hide" test.
2492
2493 2018-03-23  Keith Seitz  <keiths@redhat.com>
2494
2495         PR c++/22968
2496         * gdb.cp/subtypes.exp: New file.
2497         * gdb.cp/subtypes.h: New file.
2498         * gdb.cp/subtypes.cc: New file.
2499         * gdb.cp/subtypes-2.cc: New file.
2500
2501 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
2502
2503         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2504         (done): Call '_exit' not 'exit' to avoid atexit handlers.
2505         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2506         -nostartfiles when compiling the test.  Confirm that all registers
2507         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2508
2509 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
2510
2511         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2512         option, syntax was wrong anyway.
2513         * gdb.arch/arm-disp-step.exp: Likewise.
2514         * gdb.arch/sparc64-regs.exp: Likewise.
2515         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2516         option, syntax was wrong anyway, switch to use
2517         prepare_for_testing.
2518         * gdb.arch/i386-disp-step.exp: Likewise.
2519
2520 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2521
2522         * gdb.ada/exec_changed.exp: Replace "target_info exists
2523         use_gdb_stub" by "use_gdb_stub".
2524         * gdb.ada/start.exp: Likewise.
2525         * gdb.base/async-shell.exp: Likewise.
2526         * gdb.base/attach-pie-misread.exp: Likewise.
2527         * gdb.base/attach-wait-input.exp: Likewise.
2528         * gdb.base/break-entry.exp: Likewise.
2529         * gdb.base/break-interp.exp: Likewise.
2530         * gdb.base/dprintf-detach.exp: Likewise.
2531         * gdb.base/nostdlib.exp: Likewise.
2532         * gdb.base/solib-nodir.exp: Likewise.
2533         * gdb.base/statistics.exp: Likewise.
2534         * gdb.base/testenv.exp: Likewise.
2535         * gdb.mi/mi-exec-run.exp: Likewise.
2536         * gdb.mi/mi-start.exp: Likewise.
2537         * gdb.multi/dummy-frame-restore.exp: Likewise.
2538         * gdb.multi/multi-arch-exec.exp: Likewise.
2539         * gdb.multi/multi-arch.exp: Likewise.
2540         * gdb.multi/tids.exp: Likewise.
2541         * gdb.multi/watchpoint-multi.exp: Likewise.
2542         * gdb.python/py-events.exp: Likewise.
2543         * gdb.threads/attach-into-signal.exp: Likewise.
2544         * gdb.threads/attach-stopped.exp: Likewise.
2545         * gdb.threads/threadapply.exp: Likewise.
2546         * lib/selftest-support.exp: Likewise.
2547
2548 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2549
2550         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2551
2552 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
2553
2554         * gdb.perf/template-breakpoints.cc: New file.
2555         * gdb.perf/template-breakpoints.exp: New file.
2556         * gdb.perf/template-breakpoints.py: New file.
2557
2558 2018-03-19  Tom Tromey  <tom@tromey.com>
2559
2560         * gdb.rust/simple.rs (main): Add local variables field1, field2,
2561         y0.
2562         * gdb.rust/simple.exp: Test bare identifier form of struct
2563         initializer.
2564
2565 2018-03-19  Tom Tromey  <tom@tromey.com>
2566
2567         * gdb.gdb/observer.exp: Remove.
2568
2569 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2570
2571         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2572         "qualified" option when setting breakpoints.
2573         * gdb.trace/backtrace.exp: Likewise.
2574         * gdb.trace/circ.exp: Likewise.
2575         * gdb.trace/collection.exp: Likewise.
2576         * gdb.trace/disconnected-tracing.exp: Likewise.
2577         * gdb.trace/ftrace-lock.exp: Likewise.
2578         * gdb.trace/ftrace.exp: Likewise.
2579         * gdb.trace/infotrace.exp: Likewise.
2580         * gdb.trace/packetlen.exp: Likewise.
2581         * gdb.trace/passc-dyn.exp: Likewise.
2582         * gdb.trace/qtro.exp: Likewise.
2583         * gdb.trace/read-memory.exp: Likewise.
2584         * gdb.trace/report.exp: Likewise.
2585         * gdb.trace/signal.exp: Likewise.
2586         * gdb.trace/status-stop.exp: Likewise.
2587         * gdb.trace/strace.exp: Likewise.
2588         * gdb.trace/tfind.exp: Likewise.
2589         * gdb.trace/trace-break.exp: Likewise.
2590         * gdb.trace/trace-condition.exp: Likewise.
2591         * gdb.trace/trace-mt.exp: Likewise.
2592         * gdb.trace/tstatus.exp: Likewise.
2593         * gdb.trace/tsv.exp: Likewise.
2594         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2595         * gdb.trace/unavailable.exp: Likewise.
2596         * gdb.trace/while-dyn.exp: Likewise.
2597
2598 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2599
2600         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2601         that libinproctrace is copied to the target.
2602
2603 2018-03-14  Tom Tromey  <tom@tromey.com>
2604
2605         PR cli/14977:
2606         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2607         a null pointer.
2608         * gdb.base/wchar.exp: Likewise.
2609
2610 2018-03-14  Tom Tromey  <tom@tromey.com>
2611
2612         PR cli/19918:
2613         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2614         flag.
2615
2616 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
2617
2618         PR gdb/22841
2619         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2620         "target" to remote_exec.
2621
2622 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
2623
2624         PR gdb/22841
2625         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2626         ${board}_upload): Remove.
2627
2628 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2629
2630         * gdb.cp/watch-cp.cc: New test.
2631         * gdb.cp/watch-cp.exp: New file.
2632
2633 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2634
2635         * gdb.base/infcall-nested-structs.exp: New file.
2636         * gdb.base/infcall-nested-structs.c: New file.
2637         * gdb.base/float.exp: Add riscv support.
2638
2639 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2640
2641         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2642         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2643
2644 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
2645
2646         * gdb.server/abspath.exp: New file.
2647         * lib/gdb.exp (with_cwd): New procedure.
2648
2649 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
2650
2651         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2652         use it.
2653         (gdb_is_target_remote_prompt): New proc.
2654         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2655         (gdb_is_target_native): Pass prompt parameter to
2656         gdb_is_target_1.
2657
2658 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
2659
2660         * gdb.base/load-command.c: New file.
2661         * gdb.base/load-command.exp: New file.
2662         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2663         (gdb_is_target_1): ...this, and generalize for other targets
2664         than just remote.
2665         (gdb_is_target_remote): Use gdb_is_target_1.
2666         (gdb_is_target_native): use gdb_is_target_1.
2667
2668 2018-02-26  Tom Tromey  <tom@tromey.com>
2669
2670         PR python/16497:
2671         * gdb.python/py-framefilter.exp: Update test.
2672
2673 2018-02-26  Tom Tromey  <tom@tromey.com>
2674
2675         * gdb.dwarf2/variant.c: New file.
2676         * gdb.dwarf2/variant.exp: New file.
2677
2678 2018-02-26  Tom Tromey  <tom@tromey.com>
2679
2680         * gdb.rust/simple.exp: Accept more possible results in enum test.
2681
2682 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
2683
2684         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2685         parentheses.
2686
2687 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
2688
2689         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2690         name of a variable: $actual_linejj -> $actual_line.
2691
2692 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2693
2694         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2695
2696 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2697
2698         * gdb.btrace/buffer-size.exp: Do not force BTS.
2699
2700 2018-02-14  Pedro Alves  <palves@redhat.com>
2701
2702         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2703         getting a "Quit".
2704
2705 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2706
2707         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2708         Fix test name.
2709
2710 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2711
2712         * gdb.cp/m-static.exp: Check type of optimized out static
2713         member.
2714
2715 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2716
2717         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2718         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2719
2720 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2721             Leszek Swirski  <leszeks@google.com>
2722
2723         * gdb.python/py-prettyprint.c
2724         (struct to_string_returns_value_inner,
2725         struct to_string_returns_value_wrapper): New.
2726         (main): Add tsrvw variable.
2727         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2728         ToStringReturnsValueWrapper): New classes.
2729         (register_pretty_printers): Register new pretty-printers.
2730         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2731         recursive pretty printer.
2732         * gdb.python/py-mi.exp: Likewise.
2733
2734 2018-02-01  Leszek Swirski  <leszeks@google.com>
2735
2736         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2737         functions with the same name as an include file are parsed
2738         correctly.
2739
2740 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2741
2742         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2743         "\[^\r\n\]*".
2744
2745 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2746
2747         * gdb.arch/powerpc-prologue-frame.s: New file.
2748         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2749         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2750
2751 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2752
2753         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2754
2755 2018-01-30  Pedro Alves  <palves@redhat.com>
2756
2757         PR gdb/13211
2758         * gdb.base/interrupt-daemon.c: New.
2759         * gdb.base/interrupt-daemon.exp: New.
2760         * gdb.multi/multi-term-settings.c: New.
2761         * gdb.multi/multi-term-settings.exp: New.
2762
2763 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2764
2765         * gdb.base/break.exp: Save the location where the breakpoint
2766         on break.c:47 was actually inserted when debugging the version
2767         compiled at -O2 and use it in the expected output of the "info
2768         break" test performed soon after.
2769
2770 2018-01-22  Pedro Alves  <palves@redhat.com>
2771             Sergio Durigan Junior  <sergiodj@redhat.com>
2772
2773         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2774         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2775
2776 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2777
2778         * gdb.base/break-include.c, gdb.base/break-include.inc,
2779         gdb.base/break-include.exp: New files.
2780         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2781         line number now being the actual line number where the breakpoint
2782         was inserted.
2783         * gdb.mi/mi-break.exp: Likewise.
2784         * gdb.mi/mi-reverse.exp: Likewise.
2785         * gdb.mi/mi-simplerun.exp: Ditto.
2786
2787 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2788
2789         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2790         varobj.
2791         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2792
2793 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2794             Andrew Burgess  <andrew.burgess@embecosm.com>
2795
2796         * gdb.mi/basics.c: Add new global.
2797         * gdb.mi/mi-frame-regs.exp: New file.
2798         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2799         case.
2800
2801 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2802
2803         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2804         non-parameter, and on an unknown symbol.
2805
2806 2018-01-19  Tom Tromey  <tom@tromey.com>
2807
2808         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2809         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2810
2811 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2812
2813         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2814         setrlimit and chdir to int.
2815
2816 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2817
2818         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2819         function.
2820         (my_tend): Likewise.
2821         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2822         rationale of avoiding FP- and vector instructions.
2823
2824 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2825
2826         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2827         "info reg" with "\[ \t\]*".
2828         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2829         "\[ \t\]+".
2830         * gdb.arch/s390-multiarch.exp: Ditto.
2831         * gdb.base/pc-fp.exp: Ditto.
2832         * gdb.reverse/i386-precsave.exp: Ditto.
2833         * gdb.reverse/i386-reverse.exp: Ditto.
2834         * gdb.reverse/i387-env-reverse.exp: Ditto.
2835         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2836
2837 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2838
2839         * lib/gdb.exp (gdb_compile): Re-enable use of
2840         universal_compile_options for languages other than Rust.
2841
2842 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2843
2844         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2845
2846 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2847
2848         PR gdb/16577
2849         * gdb.base/solib-vanish.exp: New.
2850         * gdb.base/solib-vanish-main.c: New.
2851         * gdb.base/solib-vanish-lib1.c: New.
2852         * gdb.base/solib-vanish-lib2.c: New.
2853
2854 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2855
2856         * gdb.compile/compile.exp: Match the address printed for
2857         frame in the output of command "bt".
2858
2859 2018-01-15  Tom Tromey  <tom@tromey.com>
2860
2861         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2862         compute sp_reg.
2863
2864 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2865
2866         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2867         to prepare.
2868         (prepare): Return 0 on error, 1 on success.
2869
2870 2018-01-12  Pedro Alves  <palves@redhat.com>
2871
2872         * gdb.base/continue-after-aborted-step-over.c: New.
2873         * gdb.base/continue-after-aborted-step-over.exp: New.
2874
2875 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2876
2877         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2878         options when not creating an executable.
2879
2880 2018-01-11  Pedro Alves  <palves@redhat.com>
2881
2882         PR remote/22597
2883         * gdb.server/stop-reply-no-thread.c: New file.
2884         * gdb.server/stop-reply-no-thread.exp: New file.
2885
2886 2018-01-10  Pedro Alves  <palves@redhat.com>
2887
2888         PR gdb/22670
2889         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2890         functions too.  Test setting breakpoints and printing C functions
2891         with no debug info too.
2892         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2893
2894 2018-01-10  Pedro Alves  <palves@redhat.com>
2895
2896         PR gdb/22670
2897         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2898         a fail.
2899
2900 2018-01-10  Pedro Alves  <palves@redhat.com>
2901
2902         PR gdb/22670
2903         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2904
2905 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2906
2907         * gdb.server/unittest.exp: Match the output in non-development
2908         mode.
2909
2910 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2911
2912         * gdb.gdb/unittest.exp: Match output in non-development mode.
2913
2914 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2915
2916         * gdb.ada/access_tagged_param.exp: Relax expected output
2917         for value of "ObjL" in "continue" to pck.inspect breakpoint
2918         test.
2919
2920 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2921
2922         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2923         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2924
2925 2018-01-05  Pedro Alves  <palves@redhat.com>
2926
2927         PR gdb/18653
2928         * gdb.base/libsegfault.exp: New.
2929
2930 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2931
2932         PR gdb/22670
2933         * gdb.ada/access_tagged_param.exp: New file.
2934         * gdb.ada/access_tagged_param/foo.adb: New file.
2935
2936 2018-01-05  Pedro Alves  <palves@redhat.com>
2937
2938         PR gdb/22670
2939         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2940         exercise lower case too, and to exercise both full matching and
2941         wild matching.
2942
2943 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2944
2945         * gdb.ada/rename_subscript_param: New testcase.
2946
2947 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2948
2949         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2950
2951 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2952
2953         * gdb.ada/convvar_comp: New testcase.
2954
2955 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2956
2957         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2958         (My_Table): New global variable.
2959         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2960
2961 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2962
2963         PR gdb/22670
2964         * gdb.ada/maint_with_ada: New testcase.
2965
2966 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2967
2968         PR gdb/22670
2969         * gdb.ada/bp_c_mixed_case: New testcase.
2970
2971 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2972
2973         PR gdb/22670
2974         * gdb.ada/complete.exp: Add "complete break ada" test.
2975
2976 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2977
2978         PR gdb/22670
2979         * gdb.ada/info_addr_mixed_case: New testcase.
2980
2981 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2982
2983         * gdb.ada/excep_handle.exp: New testcase.
2984         * gdb.ada/excep_handle/foo.adb: New file.
2985         * gdb.ada/excep_handle/pck.ads: New file.
2986
2987 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2988
2989         * gdb.base/step-line.c: Add extra empty line in copyright header.
2990         * gdb.base/step-line.inp: Likewise.
2991
2992 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2993
2994         * gdb.ada/dyn_stride.exp: Add slice test.
2995
2996 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2997
2998         * gdb.ada/dyn_stride: New testcase.
2999
3000 2017-12-27  Stafford Horne  <shorne@gmail.com>
3001
3002         * gdb.xml/extra-regs.xml: Add example foo reggroup.
3003         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3004
3005 2017-12-27  Stafford Horne  <shorne@gmail.com>
3006
3007         * gdb.base/reggroups.c: New file.
3008         * gdb.base/reggroups.exp: New file.
3009
3010 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
3011
3012         * gdb.dwarf2/ada-valprint-error.c: New file.
3013         * gdb.dwarf2/ada-valprint-error.exp: New file.
3014
3015 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
3016
3017         * gdb.ada/assign_arr: New testcase.
3018
3019 2017-12-18  Xavier Roirand  <roirand@adacore.com>
3020
3021         * gdb.ada/funcall_ptr: New testcase.
3022
3023 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3024
3025         PR cli/16224
3026         * gdb.base/ptype-offsets.cc: New file.
3027         * gdb.base/ptype-offsets.exp: New file.
3028
3029 2017-12-15  Yao Qi  <yao.qi@linaro.org>
3030
3031         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3032         if XML is disabled.
3033
3034 2017-12-15  Xavier Roirand  <roirand@adacore.com>
3035
3036         * gdb.ada/same_component_name: New testcase.
3037
3038 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
3039
3040         * gdb.ada/str_binop_equal: New testcase.
3041
3042 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
3043
3044         * gdb.ada/task_switch_in_core: New testcase.
3045
3046 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
3047
3048         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3049         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3050         call test_bkpt_qualified.
3051         (test_bkpt_qualified): New proc.
3052
3053 2017-12-13  Pedro Alves  <palves@redhat.com>
3054
3055         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3056         Tighten regexp by matching with an anchor.
3057
3058 2017-12-13  Pedro Alves  <palves@redhat.com>
3059
3060         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3061         ("expression with namespace"): New set of tests.
3062         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3063         (Nested::Test_NS::qux): New.
3064         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3065         defaults to 'start_quote_char' and 'end_quote_char' parameters.
3066
3067 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
3068
3069         * gdb.base/server-del-break.c: New file.
3070         * gdb.base/server-del-break.exp: New file.
3071
3072 2017-12-12  Stafford Horne  <shorne@gmail.com>
3073
3074         * gdb.xml/tdesc-regs.exp: Add or1k support.
3075
3076 2017-12-12  Stafford Horne  <shorne@gmail.com>
3077
3078         * gdb.base/bp-permanent.c: Define nop of or1k.
3079
3080 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
3081
3082         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3083         output with components being reordered.
3084
3085 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
3086
3087         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3088         output with components being reordered.
3089
3090 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
3091             Pedro Alves  <palves@redhat.com>
3092
3093         * gdb.base/maint.exp (check for .gdb_index): Check also for
3094         .debug_names.
3095         * gdb.dlang/watch-loc.c (.debug_aranges): New.
3096         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3097         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3098         (.gdb_index used after symbol reloading): Support also .debug_names.
3099         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3100
3101 2017-12-08  Yao Qi  <yao.qi@linaro.org>
3102
3103         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3104         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3105
3106 2017-12-08  Yao Qi  <yao.qi@linaro.org>
3107
3108         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3109         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3110
3111 2017-12-08  Yao Qi  <yao.qi@linaro.org>
3112
3113         * gdb.arch/aarch64-tagged-pointer.c: New file.
3114         * gdb.arch/aarch64-tagged-pointer.exp: New file.
3115
3116 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
3117
3118         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3119         "int".
3120
3121 2017-12-07  Keith Seitz  <keiths@redhat.com>
3122
3123         PR breakpoints/22569
3124         * gdb.linespec/ls-errs.exp: Change expected result of "break
3125         -source this file has spaces.c -line 3".
3126         Check that an explicit source file followed by whitespace is
3127         identified as an invalid explicit location.
3128
3129 2017-12-07  Keith Seitz  <keiths@redhat.com>
3130
3131         * gdb.cp/nested-types.cc: New file.
3132         * gdb.cp/nested-types.exp: New file.
3133         * lib/cp-support.exp: Load data-structures.exp library.
3134         (debug_cp_test_ptype_class): New global.
3135         (cp_ptype_class_verbose, next_line): New procedures.
3136         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3137         Add and document new return value.
3138         Switch the list of lines to a queue.
3139         Add support for new `type' key for nested type definitions.
3140         Add debugging/troubleshooting messages.
3141         * lib/data-structures.exp: New file.
3142
3143 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
3144
3145         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3146         with proc_with_prefix, don't use with_test_prefix.
3147
3148 2017-12-07  Tom Tromey  <tom@tromey.com>
3149
3150         * gdb.base/break.exp: Add test for empty "commands".
3151
3152 2017-12-07  Yao Qi  <yao.qi@linaro.org>
3153
3154         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3155         malloc and catch syscall.
3156
3157 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
3158
3159        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3160         tests for explicit locations.
3161
3162 2017-12-06  Pedro Alves  <palves@redhat.com>
3163
3164         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3165         force-disabling XML descriptions.
3166
3167 2017-12-04  Pedro Alves  <palves@redhat.com>
3168
3169         PR gdb/22499
3170         * gdb.arch/amd64-disp-step-avx.S: New file.
3171         * gdb.arch/amd64-disp-step-avx.exp: New file.
3172
3173 2017-12-03  Pedro Alves  <palves@redhat.com>
3174
3175         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3176         and <string.h>.
3177         (parent_function): Print distinct messages when waitpid fails, or
3178         the child exits with a signal, or the child exits for an unhandled
3179         reason.
3180         * gdb.threads/process-dies-while-detaching.exp
3181         (detach_and_expect_exit): New 'inf_output_re' parameter and use
3182         it.  Wait for both inferior output and GDB's prompt.  Use an
3183         indirect spawn id list.
3184         (do_detach): New parameter 'child_exit'.  Use it to compute
3185         expected inferior output.
3186         (test_detach, test_detach_watch, test_detach_killed_outside):
3187         Adjust to pass down the expected child exit kind.
3188
3189 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
3190             Sergio Durigan Junior  <sergiodj@redhat.com>
3191             Pedro Alves  <palves@redhat.com>
3192
3193         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3194
3195 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
3196
3197         * gdb.base/relocate.exp: Add tests to guarantee that arguments
3198         to 'symbol-file' and 'add-symbol-file' can be
3199         position-independent.
3200
3201 2017-12-01  Yao Qi  <yao.qi@linaro.org>
3202
3203         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3204         the URL in copyright header.
3205         * gdb.arch/aarch64-fp.exp: Likewise.
3206         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3207         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3208         * gdb.base/expand-psymtabs.exp: Likewise.
3209         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3210         * gdb.fortran/common-block.exp: Likewise.
3211         * gdb.fortran/common-block.f90: Likewise.
3212         * gdb.fortran/logical.exp: Likewise.
3213         * gdb.fortran/vla-datatypes.f90: Likewise.
3214         * gdb.fortran/vla-sub.f90: Likewise.
3215
3216 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
3217
3218         * gdb.ada/repeat_dyn: New testcase.
3219
3220 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
3221
3222         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3223         Update for changed thread numbering.
3224         * gdb.cell/bt.exp: Update for changed GDB output.
3225
3226 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
3227
3228         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3229         setting isremote by hand.
3230         * boards/dwarf4-gdb-index.exp: Likewise.
3231         * boards/fission.exp: Likewise.
3232         * boards/stabs.exp: Likewise.
3233
3234 2017-11-30  Pedro Alves  <palves@redhat.com>
3235
3236         * gdb.linespec/cpls-ops.exp
3237         (check_explicit_skips_function_argument): Extract the underlying
3238         type of size_t instead of hardcoding it.
3239
3240 2017-11-29  Pedro Alves  <palves@redhat.com>
3241
3242         PR c++/19436
3243         * gdb.linespec/cpls-abi-tag.cc: New file.
3244         * gdb.linespec/cpls-abi-tag.exp: New file.
3245
3246 2017-11-29  Pedro Alves  <palves@redhat.com>
3247
3248         * gdb.base/langs.exp: Use -qualified.
3249         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3250         it.
3251         * gdb.cp/namespace.exp: Use -qualified.
3252         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3253         (overload-3, template-overload, template-ret-type, const-overload)
3254         (const-overload-quoted, anon-ns, ambiguous-prefix): New
3255         procedures.
3256         (test_driver): Call them.
3257         * gdb.cp/save-bp-qualified.cc: New.
3258         * gdb.cp/save-bp-qualified.exp: New.
3259         * gdb.linespec/explicit.exp: Test -qualified.
3260         * lib/completion-support.exp (completion::explicit_opts_list): Add
3261         "-qualified".
3262         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3263
3264 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3265
3266         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3267
3268 2017-11-29  Tom Tromey  <tom@tromey.com>
3269
3270         * gdb.base/relocate.exp: Update invalid argument test.
3271         Add new tests for invalid arguments.
3272
3273 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3274
3275         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3276         Return 0 as a long.
3277         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3278
3279 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3280
3281         * gdb.cp/breakpoint.cc (bar): Set return type to void.
3282         * gdb.cp/psymtab-parameter.cc (func): Likewise.
3283         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3284         func ().
3285         * gdb.cp/shadow.cc (B.func): Return 0.
3286
3287 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
3288
3289         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3290         expected output in gdb_expect call to allow the exception
3291         message to be present as well.  Fix syntax confusion to avoid
3292         TCL thinking that exception_name is an array.
3293
3294 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
3295
3296         * gdb.arch/spu-info.c: Include <unistd.h>.
3297         (do_signal_test): Fix broken calls to write.
3298         * gdb.arch/spu-info.exp: Use prepare_for_testing.
3299         Fix checks for empty mailboxes.  Update signal tests for corrected
3300         do_signal_test routine.  Allow nonzero event status.
3301         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3302         * gdb.cell/arch.exp: Use standard_output_file.
3303         * gdb.cell/break.exp: Likewise.
3304         * gdb.cell/bt.exp: Likewise.
3305         * gdb.cell/core.exp: Likewise.
3306         * gdb.cell/dwarfaddr.exp: Likewise.
3307         * gdb.cell/ea-cache.exp: Likewise.
3308         * gdb.cell/ea-standalone.exp: Likewise.
3309         * gdb.cell/f-regs.exp: Likewise.
3310         * gdb.cell/fork.exp: Likewise.
3311         * gdb.cell/gcore.exp: Likewise.
3312         * gdb.cell/mem-access.exp: Likewise.
3313         * gdb.cell/ptype.exp: Likewise.
3314         * gdb.cell/registers.exp: Likewise.
3315         * gdb.cell/sizeof.exp: Likewise.
3316         * gdb.cell/solib-symbol.exp: Likewise.
3317         * gdb.cell/solib.exp: Likewise.
3318
3319 2017-11-25   Pedro Alves  <palves@redhat.com>
3320
3321         * gdb.base/complete-empty.exp: New file.
3322         * gdb.base/completion.exp: Adjust.
3323
3324 2017-11-25  Pedro Alves  <palves@redhat.com>
3325
3326         * gdb.linespec/cpls-ops.cc: New file.
3327         * gdb.linespec/cpls-ops.exp: New file.
3328         * lib/completion-support.exp (test_complete_prefix_range_re): New,
3329         factored out from ...
3330         (test_complete_prefix_range): ... this.
3331
3332 2017-11-24  Pedro Alves  <palves@redhat.com>
3333
3334         * gdb.linespec/cpcompletion.exp: New file.
3335         * gdb.linespec/cpls-hyphen.cc: New file.
3336         * gdb.linespec/cpls.cc: New file.
3337         * gdb.linespec/cpls2.cc: New file.
3338         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
3339         test to use test_gdb_complete_unique.  Add label completion,
3340         keyword completion and explicit location completion tests.
3341         * lib/completion-support.exp: New file.
3342
3343 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
3344
3345         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3346         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3347         when hitting an exception catchpoint.
3348
3349 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3350
3351         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3352
3353 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
3354
3355         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3356         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3357         * gdb.dwarf2/info-locals-optimized-out.c: New file.
3358
3359 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3360
3361         * gdb.base/info-os.exp: Pass pthreads.
3362         * gdb.multi/multi-attach.exp: Likewise.
3363
3364 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3365
3366         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3367         compiler.
3368
3369 2017-11-22  Yao Qi  <yao.qi@linaro.org>
3370
3371         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3372         * gdb.base/break-interp.exp: Likewise.
3373         * gdb.base/jit-attach-pie.exp: Likewise.
3374
3375 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
3376
3377         * gdb.base/float128.c (large128): New variable.
3378         * gdb.base/float128.exp: Add test to print largest __float128 value.
3379
3380 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
3381
3382         * gdb.arch/vsx-regs.exp: Update register content checks.
3383
3384 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
3385
3386         * gdb.arch/ppc-longdouble.exp: New file.
3387         * gdb.arch/ppc-longdouble.c: Likewise.
3388
3389 2017-11-21  Pedro Alves  <palves@redhat.com>
3390
3391         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3392
3393 2017-11-20  Pedro Alves  <palves@redhat.com>
3394
3395         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3396         (long_double_typedef): New typedefs.
3397         Use DEF on double and long double.
3398         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3399         cases.
3400         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3401         and 'long_double_ptr_same_size' locals.  Use them to decide
3402         whether cast from array/function to float is valid/invalid.
3403
3404 2017-11-17  Tom Tromey  <tom@tromey.com>
3405
3406         * gdb.rust/traits.rs: New file.
3407         * gdb.rust/traits.exp: New file.
3408
3409 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
3410
3411         * gdb.ada/minsyms: New testcase.
3412
3413 2017-11-16  Pedro Alves  <palves@redhat.com>
3414
3415         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3416         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3417
3418 2017-11-16  Pedro Alves  <palves@redhat.com>
3419
3420         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3421         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3422
3423 2017-11-16  Pedro Alves  <palves@redhat.com>
3424
3425         * gdb.server/reconnect-ctrl-c.c: New file.
3426         * gdb.server/reconnect-ctrl-c.exp: New file.
3427
3428 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
3429
3430         * gdb.python/py-rbreak.exp: New file.
3431         * gdb.python/py-rbreak.c: New file.
3432         * gdb.python/py-rbreak-func2.c: New file.
3433
3434 2017-11-16  Pedro Alves  <palves@redhat.com>
3435
3436         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3437         pattern.
3438         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3439         GDB.
3440
3441 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
3442
3443         * gdb.tui/completionn.exp (test_tab_completion): Add space in
3444         regex.
3445
3446 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
3447
3448         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3449         test names.
3450
3451 2017-11-09  Pedro Alves  <palves@redhat.com>
3452
3453         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3454         factored out from ...
3455         (top level): ... here, and adjusted to avoid expecting beyond the
3456         prompt in a single gdb_test_multiple.
3457
3458 2017-11-09  Pedro Alves  <palves@redhat.com>
3459
3460         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3461         output.
3462         * gdb.server/ext-attach.exp ("kill" test): Likewise.
3463         * gdb.server/ext-restart.exp ("kill" test): Likewise.
3464         * gdb.server/ext-run.exp ("kill" test): Likewise.
3465         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3466
3467 2017-11-09  Pedro Alves  <palves@redhat.com>
3468
3469         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3470         match till end of line.
3471
3472 2017-11-09  Pedro Alves  <palves@redhat.com>
3473
3474         * gdb.base/memattr.exp: Tighten regexes to match the end line.
3475
3476 2017-11-09  Pedro Alves  <palves@redhat.com>
3477
3478         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3479         New procedures, factored out from ...
3480         (top level): ... here, and adjusted to avoid expecting beyond the
3481         prompt in one go.
3482
3483 2017-11-09  Pedro Alves  <palves@redhat.com>
3484
3485         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3486         output.  Fix '?' match.
3487
3488 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
3489
3490         * gdb.ada/scoped_watch: New testcase.
3491         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3492         which is actually correct.
3493         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3494         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3495
3496 2017-11-08  Pedro Alves  <palves@redhat.com>
3497
3498         * gdb.gdb/complaints.exp (test_initial_complaints)
3499         (test_serial_complaints, test_short_complaints): Call
3500         complaint_internal instead of complaint.
3501
3502 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
3503
3504         * gdb.threads/tls-core.c: New file.
3505         * gdb.threads/tls-core.exp: Likewise.
3506
3507 2017-11-08   Pedro Alves  <palves@redhat.com>
3508
3509         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3510         (p Exported_Capitalized): New test.
3511         (p exported_capitalized): New test.
3512
3513 2017-11-07  Pedro Alves  <palves@redhat.com>
3514
3515         * gdb.cp/ena-dis-br-range.exp: Add more tests.
3516
3517 2017-11-07  Pedro Alves  <palves@redhat.com>
3518
3519         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3520         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3521         (disable_invalid, disable_inverted, disable_negative): New
3522         procedures.
3523         ("bad numbers"): New set of tests.
3524
3525 2017-11-07  Pedro Alves  <palves@redhat.com>
3526
3527         * gdb.cp/ena-dis-br-range.exp: Add tests.
3528
3529 2017-11-07  Pedro Alves  <palves@redhat.com>
3530
3531         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3532
3533 2017-11-07  Xavier Roirand  <roirand@adacore.com>
3534             Pedro Alves  <palves@redhat.com>
3535
3536         * gdb.base/ena-dis-br.exp: Add reference to
3537         gdb.cp/ena-dis-br-range.exp.
3538         * gdb.cp/ena-dis-br-range.exp: New file.
3539         * gdb.cp/ena-dis-br-range.cc: New file.
3540
3541 2017-11-06  Pedro Alves  <palves@redhat.com>
3542
3543         * gdb.base/attach-non-pgrp-leader.c: New.
3544         * gdb.base/attach-non-pgrp-leader.exp: New.
3545
3546 2017-11-06  Pedro Alves  <palves@redhat.com>
3547
3548         * configure.ac: No longer check for termio.h and sgtty.h.
3549         * configure: Regenerate.
3550         * remote-utils.c: Include termios.h instead of gdb_termios.h.
3551         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3552         Remove termio and sgtty code.
3553
3554 2017-11-03  Yao Qi  <yao.qi@linaro.org>
3555
3556         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3557         in GDB is disabled.
3558
3559 2017-11-03  Yao Qi  <yao.qi@linaro.org>
3560
3561         * gdb.python/py-thrhandle.exp: Skip it if python is not
3562         enabled.
3563
3564 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
3565
3566         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3567         as a breakpoint command.
3568
3569 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
3570
3571         PR python/21213
3572         * gdb.python/py-infthread.exp: Test calling
3573         InferiorThread.inferior () multiple times in a row.
3574
3575 2017-10-27  Keith Seitz  <keiths@redhat.com>
3576
3577         * gdb.opt/inline-break.exp (break_info_1): New procedure.
3578         Test "info break" for every inlined function breakpoint.
3579
3580 2017-10-27  Yao Qi  <yao.qi@linaro.org>
3581
3582         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3583
3584 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
3585
3586         * gdb.cp/classes.exp (test_static_members): Test printing
3587         Outer::instance.
3588         * gdb.cp/classes.c (struct Inner, struct Outer): New.
3589         (Inner::instance, Outer::instance): New.
3590
3591 2017-10-24  Pedro Alves  <palves@redhat.com>
3592
3593         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3594         extra console" test in two stages.
3595
3596 2017-10-24  Pedro Alves  <palves@redhat.com>
3597
3598         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3599
3600 2017-10-24  Pedro Alves  <palves@redhat.com>
3601
3602         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3603         loop.
3604
3605 2017-10-24  Pedro Alves  <palves@redhat.com>
3606
3607         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3608         $attempt" and "stoppedtry $stoppedtry" test prefixes.
3609
3610 2017-10-24  Pedro Alves  <palves@redhat.com>
3611
3612         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3613         parameter and handle it.  Don't output read value in test name.
3614
3615 2017-10-24  Pedro Alves  <palves@redhat.com>
3616
3617         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3618         custom test name.
3619
3620 2017-10-24  Pedro Alves  <palves@redhat.com>
3621
3622         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3623         include the unstable output directory name in the test's name.
3624         (initial_setup_simple) <'set args'>: Use custom test name.
3625
3626 2017-10-24  Pedro Alves  <palves@redhat.com>
3627
3628         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3629         with explicit test name.
3630
3631 2017-10-20  Pedro Alves  <palves@redhat.com>
3632
3633         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3634         'wait -i'.  Use gdb_assert and remote_close.
3635
3636 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
3637
3638         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3639         number from variable rather than hard-coded.
3640
3641 2017-10-19  Pedro Alves  <palves@redhat.com>
3642
3643         * gdb.base/long-inferior-output.c: New file.
3644         * gdb.base/long-inferior-output.exp: New file.
3645
3646 2017-11-18  Keith Seitz  <keiths@redhat.com>
3647
3648         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3649         method.
3650         (main): Call it.
3651         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3652         Add additional user-defined conversion operator tests.
3653
3654 2017-10-17  Pedro Alves  <palves@redhat.com>
3655
3656         * boards/native-stdio-gdbserver.exp: Load "local-board".
3657
3658 2017-10-17  Pedro Alves  <palves@redhat.com>
3659
3660         * gdb.base/quit-live.c: New file.
3661         * gdb.base/quit-live.exp: New file.
3662
3663 2017-10-16  Keith Seitz  <keiths@redhat.com>
3664
3665         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3666         (class_with_protected_typedef, class_with_private_typedef)
3667         (struct_with_public_typedef, struct_with_protected_typedef)
3668         (struct_with_private_typedef): New classes/structs.
3669         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3670         typedefs and access specifiers.
3671
3672 2017-10-16  Pedro Alves  <palves@redhat.com>
3673             Simon Marchi  <simon.marchi@polymtl.ca>
3674
3675         * README (Local vs Remote vs Native): New section.
3676         * boards/local-board.exp: New file, with bits factored out from
3677         ...
3678         * boards/native-extended-gdbserver.exp: ... here.  Load
3679         "local-board".
3680         * boards/native-gdbserver.exp: Load "local-board".
3681         (${board}_spawn, ${board}_exec): Delete.
3682         * boards/native-stdio-gdbserver.exp: Most contents factored out to
3683         ...
3684         * boards/stdio-gdbserver-base.exp: ... this new file.
3685         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3686         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3687         procedure.
3688         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3689         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3690         stdio_gdbserver_command.
3691         (${board}_get_remote_address, ${board}_get_comm_port)
3692         (${board}_download, ${board}_upload): Delete.
3693         (get_target_remote_pipe_cmd): New.
3694
3695 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3696
3697         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3698         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3699         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3700         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3701         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3702         remove with_test_prefix.
3703
3704 2017-10-13  Pedro Alves  <palves@redhat.com>
3705
3706         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3707         * gdb.base/annota1.exp: Use it instead of is_remote.
3708         * gdb.base/annota3.exp: Use it instead of is_remote.
3709         * gdb.cp/annota2.exp: Use it instead of is_remote.
3710         * gdb.cp/annota3.exp: Use it instead of is_remote.
3711         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3712
3713 2017-10-13  Pedro Alves  <palves@redhat.com>
3714
3715         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3716         (test_num_test_vars, run_and_count_vars, find_env)
3717         (test_set_unset_env, test_inherit_env_var): New procedures.
3718         (top level): Use them.
3719
3720 2017-10-13  Pedro Alves  <palves@redhat.com>
3721
3722         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3723         also skip on stub-like targets.
3724
3725 2017-10-13  Pedro Alves  <palves@redhat.com>
3726
3727         PR gdb/22293
3728         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3729         (top level): Move some tests to ...
3730         (test_not_found): ... this new procedure.
3731         (top level): Call it.
3732
3733 2017-10-13  Pedro Alves  <palves@redhat.com>
3734
3735         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3736         expect different "info terminal" output if testing with a
3737         non-native target.
3738
3739 2017-10-13  Pedro Alves  <palves@redhat.com>
3740             Simon Marchi  <simon.marchi@polymtl.ca>
3741
3742         PR python/12966
3743         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3744
3745 2017-10-13  Pedro Alves  <palves@redhat.com>
3746
3747         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3748         already.
3749
3750 2017-10-13  Pedro Alves  <palves@redhat.com>
3751
3752         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3753         is_remote.
3754
3755 2017-10-13  Pedro Alves  <palves@redhat.com>
3756
3757         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3758         is_remote.
3759
3760 2017-10-13  Pedro Alves  <palves@redhat.com>
3761
3762         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3763         is set.
3764         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3765         instead of is_remote.
3766
3767 2017-10-13  Pedro Alves  <palves@redhat.com>
3768
3769         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3770         (top level): Add comment.
3771
3772 2017-10-13  Pedro Alves  <palves@redhat.com>
3773
3774         * gdb.base/remote.exp (top level): Fix comment typo and add
3775         missing return.
3776
3777 2017-10-13  Pedro Alves  <palves@redhat.com>
3778             Simon Marchi  <simon.marchi@polymtl.ca>
3779
3780         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3781         calls and add comments.  Skip test if use_gdb_stub is set.
3782         (top level): Use "set cwd" command instead of "cd" command.
3783
3784 2017-10-13  Pedro Alves  <palves@redhat.com>
3785
3786         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3787         is_remote target check.
3788
3789 2017-10-13  Pedro Alves  <palves@redhat.com>
3790
3791         * gdb.base/scope.exp: Use build_executable + clean_restart +
3792         gdb_file_cmd instead of prepare_for_testing and no longer skip
3793         "before run" tests on is_remote target boards.  Update comments.
3794         * boards/native-extended-gdbserver.exp
3795         (extended_gdbserver_load_last_file): New, factored out from ...
3796         (gdb_load): ... this.  Move further below and add comment.
3797         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3798
3799 2017-10-12  Pedro Alves  <palves@redhat.com>
3800
3801         * gdb.base/attach.exp: Remove references to gdb64.
3802         * gdb.base/dbx.exp: Remove references to gdb64.
3803
3804 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3805             Pedro Alves  <palves@redhat.com>
3806
3807         * gdb.base/label.exp: Remove is_remote target check.
3808
3809 2017-10-12  Pedro Alves  <palves@redhat.com>
3810
3811         * gdb.base/auvx.exp (coredir): Update comment.
3812         (top level) <core_works>: Use "set cwd" command instead of "cd"
3813         command.
3814
3815 2017-10-12  Pedro Alves  <palves@redhat.com>
3816             Simon Marchi  <simon.marchi@polymtl.ca>
3817
3818         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3819         target boards.
3820
3821 2017-10-12  Pedro Alves  <palves@redhat.com>
3822             Simon Marchi  <simon.marchi@polymtl.ca>
3823
3824         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3825         Instead skip if there's any gdb_protocol set.
3826
3827 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3828             Pedro Alves  <palves@redhat.com>
3829
3830         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3831
3832 2017-10-12  Pedro Alves  <palves@redhat.com>
3833             Simon Marchi  <simon.marchi@polymtl.ca>
3834
3835         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3836         instead of on dejagnu remote boards.
3837
3838 2017-10-12  Pedro Alves  <palves@redhat.com>
3839             Simon Marchi  <simon.marchi@polymtl.ca>
3840
3841         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3842         checks.  Use build_executable + clean_restart instead of
3843         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3844         of enabling non-stop after starting gdb.
3845
3846 2017-10-12  Pedro Alves  <palves@redhat.com>
3847
3848         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3849         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3850         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3851         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3852
3853 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3854
3855         * gdb.arch/arc-tdesc-cpu.exp: New file.
3856         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3857
3858 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3859
3860         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3861
3862 2017-10-10  Pedro Alves <palves@redhat.com>
3863
3864         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3865         expect CLI output.
3866
3867 2017-10-10  Pedro Alves  <palves@redhat.com>
3868
3869         * lib/selftest-support.exp (selftest_setup): Update for
3870         captured_command_loop's prototype change.
3871
3872 2017-10-09  Pedro Alves  <palves@redhat.com>
3873
3874         Test both arch1=>arch2 and arch2=>arch1.
3875
3876         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3877         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3878         factored out to...
3879         (append_arch1_options, append_arch2_options, append_arch_options)
3880         (build_executables): New procedures.
3881         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3882         local.
3883         (top level): Add new 'first_arch' testing axis.
3884
3885 2017-10-09  Pedro Alves  <palves@redhat.com>
3886
3887         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3888         (barrier): New.
3889         (thread_start, all_started): New functions.
3890         (main): Spawn new thread and wait until it is scheduled.
3891         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3892         option.
3893         (do_test): Add 'selected_thread' parameter.  Run to all_started
3894         instead of main.  Explicitly set the breakpoint at main.  Switch
3895         to the SELECTED_THREAD thread.
3896         (top level): Test handling the exec event with either the main
3897         thread or the second thread selected.
3898
3899 2017-10-09  Pedro Alves  <palves@redhat.com>
3900
3901         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3902         logic.  Move STOP marker after the value checks.
3903         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3904         regexp.
3905
3906 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3907
3908         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3909
3910 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3911
3912         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3913         integer-to-dfp conversion.
3914         * gdb.base/dfp-test.exp: Likewise.
3915
3916 2017-10-04  Pedro Alves  <palves@redhat.com>
3917
3918         * gdb.multi/hangout.c: Include <unistd.h>.
3919         (hangout_loop): New function.
3920         (main): Call alarm.  Call hangout_loop in a loop.
3921         * gdb.multi/hello.c: Include <unistd.h>.
3922         (hello_loop): New function.
3923         (main): Call alarm.  Call hangout_loop in a loop.
3924         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3925         inferior with the other selected.
3926
3927 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3928
3929         * gdb.mi/list-thread-groups-available.exp: New file.
3930         * gdb.mi/list-thread-groups-available.c: New file.
3931
3932 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3933
3934         * gdb.base/set-cwd.exp: Make it available on
3935         native-extended-gdbserver.
3936
3937 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3938
3939         * gdb.base/set-cwd.c: New file.
3940         * gdb.base/set-cwd.exp: Likewise.
3941
3942 2017-10-02  Tom Tromey  <tom@tromey.com>
3943
3944         PR rust/22236:
3945         * gdb.rust/simple.rs (main): New variable "fslice".
3946         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3947
3948 2017-10-02  Tom Tromey  <tom@tromey.com>
3949
3950         * gdb.rust/simple.exp: Test ptype of a slice.
3951
3952 2017-10-02  Tom Tromey  <tom@tromey.com>
3953
3954         * gdb.rust/simple.exp: Test index of slice.
3955
3956 2017-09-27  Tom Tromey  <tom@tromey.com>
3957
3958         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3959
3960 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3961             Pedro Alves  <palves@redhat.com>
3962
3963         * gdb.base/compare-sections.exp (get value of read-only section): Read
3964         as unsigned value.
3965         (corrupt read-only section): Likewise and don't set written if patching
3966         failed.
3967
3968 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3969
3970         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3971         files.
3972
3973 2017-09-20  Pedro Alves  <palves@redhat.com>
3974
3975         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3976         symbol names in gdb's output.
3977         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3978
3979 2017-09-20  Pedro Alves  <palves@redhat.com>
3980
3981         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3982         Rename to ...
3983         (test_list_ambiguous_symbol): ... this and add a symbol name
3984         parameter.  Adjust.
3985         (test_list_ambiguous_function): Reimplement on top of
3986         test_list_ambiguous_symbol and also test listing ambiguous
3987         variables.
3988         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3989         (ambiguous_fun): ... this.
3990         (ambiguous_var): New.
3991         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3992         (ambiguous_fun): ... this.
3993         (ambiguous_var): New.
3994
3995 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3996
3997         * gdb.base/starti.c: New file.
3998         * gdb.base/starti.exp: New file.
3999         * lib/gdb.exp (gdb_starti_cmd): New procedure.
4000
4001 2017-09-14  Pedro Alves  <palves@redhat.com>
4002
4003         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4004         (top level): Use it instead of runto.
4005
4006 2017-09-11  Tom Tromey  <tom@tromey.com>
4007
4008         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4009
4010 2017-09-11  Tom Tromey  <tom@tromey.com>
4011
4012         * gdb.python/py-infthread.exp: Add tests for new_thread event.
4013         * gdb.python/py-inferior.exp: Add tests for new inferior events.
4014
4015 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
4016
4017         * gdb.fortran/printing-types.exp: New file.
4018         * gdb.fortran/printing-types.exp: New file.
4019
4020 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
4021
4022         * gdb.fortran/vla-ptype.exp: Fix typos.
4023         * gdb.fortran/vla-value.exp: Same.
4024
4025 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
4026
4027         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4028         * gdb.mi/mi-var-child-f.exp: Likewise.
4029         * gdb.mi/mi-vla-fortran.exp: Likewise.
4030
4031 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
4032             Christoph Weinmann  <christoph.t.weinmann@intel.com>
4033             Bernhard Heckel  <bernhard.heckel@intel.com>
4034
4035         * gdb.fortran/ptr-indentation.f90: New file.
4036         * gdb.fortran/ptr-indentation.exp: New file.
4037
4038 2017-09-05  Tom Tromey  <tom@tromey.com>
4039
4040         PR gdb/22010:
4041         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4042
4043 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4044
4045         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4046
4047 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4048
4049         * gdb.threads/tls-nodebug-pie.c: New file.
4050         * gdb.threads/tls-nodebug-pie.exp: New file.
4051
4052 2017-09-05  Tom Tromey  <tom@tromey.com>
4053
4054         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4055         for rust.
4056
4057 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
4058
4059         * gdb.multi/multi-arch-exec.exp: Test with different
4060         "follow-exec-mode" settings.
4061         (do_test): New procedure.
4062
4063 2017-09-04  Pedro Alves  <palves@redhat.com>
4064
4065         * gdb.base/func-static.c (S::method const, S::method volatile)
4066         (S::method volatile const): New methods.
4067         (c_s, v_s, cv_s): New instances.
4068         (main): Call method() on them.
4069         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4070         (cannot_resolve): New procedure.
4071         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
4072         print-quote-unquoted columns.
4073         (do_test): Test printing each scope too.
4074
4075 2017-09-04  Pedro Alves  <palves@redhat.com>
4076
4077         * gdb.base/local-static.exp: Also test with
4078         class::method::variable wholly quoted.
4079         * gdb.cp/m-static.exp (class::method::variable): Remove test.
4080
4081 2017-09-04  Pedro Alves  <palves@redhat.com>
4082
4083         * gdb.base/local-static.c: New.
4084         * gdb.base/local-static.cc: New.
4085         * gdb.base/local-static.exp:  New.
4086
4087 2017-09-04  Pedro Alves  <palves@redhat.com>
4088
4089         * gdb.asm/asm-source.exp: Add casts to int.
4090         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4091         (dataglobal64_1, dataglobal64_2): New globals.
4092         * gdb.base/nodebug.exp: Test different expressions involving the
4093         new globals, with print, whatis and ptype.  Add casts to int.
4094         * gdb.base/solib-display.exp: Add casts to int.
4095         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
4096         * gdb.cp/m-static.exp: Add cast to int.
4097         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4098         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4099         tls variable with no debug info without a cast.  Test with a cast
4100         to int too.
4101         * gdb.trace/entry-values.exp: Add casts.
4102
4103 2017-09-04  Pedro Alves  <palves@redhat.com>
4104
4105         * gdb.base/nodebug.exp: Test that ptype's error about functions
4106         with unknown return type includes the function name too.
4107
4108 2017-09-04  Pedro Alves  <palves@redhat.com>
4109
4110         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4111         return type of munmap in infcall.
4112         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4113         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
4114         type of ftell in infcall.
4115         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4116         type of getpid in infcall.
4117         * gdb.base/infcall-exec.exp: Cast return type of execlp in
4118         infcall.
4119         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4120         Bail on failure to extract the pid.
4121         * gdb.base/nodebug.c: #include <stdint.h>.
4122         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4123         New functions.
4124         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4125         Change expected output of print/whatis/ptype with functions with
4126         no debug info.  Test all supported languages.  Call
4127         test_call_promotion.
4128         * gdb.compile/compile.exp: Adjust expected output to expect
4129         warning.
4130         * gdb.threads/siginfo-threads.exp: Likewise.
4131
4132 2017-09-04  Pedro Alves  <palves@redhat.com>
4133
4134         * gdb.base/callfuncs.exp (do_function_calls): New parameter
4135         "prototypes".  Test calling float functions via prototyped and
4136         unprototyped function pointers.
4137         (perform_all_tests): New parameter "prototypes".  Pass it down.
4138         (top level): Pass down "prototypes" parameter to
4139         perform_all_tests.
4140
4141 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
4142
4143         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4144         Test with nested loops.
4145
4146 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
4147
4148         * gdb.base/commands.exp: Call the new procedures.
4149         (loop_break_test, loop_continue_test): New procedures.
4150
4151 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
4152
4153         * gdb.base/commands.exp: Call new procedure.
4154         (define_if_without_arg_test): New procedure.
4155
4156 2017-09-04  Pedro Alves  <palves@redhat.com>
4157
4158         * gdb.base/list-ambiguous.exp: New file.
4159         * gdb.base/list-ambiguous0.c: New file.
4160         * gdb.base/list-ambiguous1.c: New file.
4161         * gdb.base/list.exp (test_list_range): Adjust expected output.
4162
4163 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
4164
4165         * gdb.base/share-env-with-gdbserver.c: New file.
4166         * gdb.base/share-env-with-gdbserver.exp: Likewise.
4167
4168 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
4169
4170         * gdb.base/commands.exp (gdbvar_simple_if_test,
4171         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4172         progvar_simple_if_test, progvar_simple_while_test,
4173         progvar_complex_if_while_test, user_defined_command_test,
4174         user_defined_command_args_eval,
4175         user_defined_command_args_stack_test,
4176         user_defined_command_manyargs_test, bp_deleted_in_command_test,
4177         temporary_breakpoint_commands,
4178         gdb_test_no_prompt, redefine_hook_test,
4179         redefine_backtrace_test): Remove "global gdb_prompt".
4180
4181 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
4182
4183         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4184         New proc, call it from toplevel.
4185
4186 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
4187
4188         PR remote/21852
4189         * gdb.server/normal.c: New file, copied from gdb.base.
4190         * gdb.server/run-without-local-binary.exp: New file.
4191
4192 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
4193
4194         * gdb.arch/sparc64-adi.exp: New file.
4195         * gdb.arch/sparc64-adi.c: New file.
4196
4197 2017-08-22  Pedro Alves  <palves@redhat.com>
4198
4199         * gdb.cp/overload.exp (line_range_pattern): New procedure.
4200         (top level): Add "list all overloads" tests.
4201
4202 2017-08-22  Tom Tromey  <tom@tromey.com>
4203
4204         * gdb.gdb/xfullpath.exp: Remove.
4205
4206 2017-08-21  Pedro Alves  <palves@redhat.com>
4207
4208         PR gdb/19487
4209         * gdb.base/symbol-alias.c: New.
4210         * gdb.base/symbol-alias2.c: New.
4211         * gdb.base/symbol-alias.exp: New.
4212
4213 2017-08-21  Pedro Alves  <palves@redhat.com>
4214
4215         * gdb.base/dfp-test.c
4216         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4217         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4218         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4219         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4220         * gdb.base/whatis-ptype-typedefs.c: New.
4221         * gdb.base/whatis-ptype-typedefs.exp: New.
4222         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4223         (an_int, an_int_type, an_int_type2): New globals.
4224         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4225         involving typedefs and cast expressions.
4226         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4227         (lookup_typedefs_function): New.
4228         (typedefs_pretty_printers_dict): New.
4229         (top level): Register lookup_typedefs_function in
4230         gdb.pretty_printers.
4231
4232 2017-08-18  Yao Qi  <yao.qi@linaro.org>
4233
4234         * gdb.server/unittest.exp: New.
4235
4236 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4237
4238         PR gdb/21954
4239         * gdb.base/environ.exp: Add test to check if 'unset environment'
4240         works.
4241
4242 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4243
4244         * lib/gdb.exp (universal_compile_options): New caching proc.
4245         (gdb_compile): Suppress GCC's coloring of messages.
4246
4247 2017-08-14  Tom Tromey  <tom@tromey.com>
4248
4249         PR gdb/21675:
4250         * gdb.base/printcmds.exp (test_radices): New function.
4251         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4252         * gdb.base/sizeof.exp (check_valueof): Use p/d.
4253         * lib/gdb.exp (get_integer_valueof): Use p/d.
4254
4255 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
4256
4257         * lib/gdb.exp (get_valueof): Don't capture end-of-line
4258         characters.
4259
4260 2017-08-05  Tom Tromey  <tom@tromey.com>
4261
4262         * gdb.rust/simple.exp: Allow String to appear in a different
4263         namespace.
4264
4265 2017-07-26  Yao Qi  <yao.qi@linaro.org>
4266
4267         * gdb.gdb/unittest.exp: Invoke command
4268         "maintenance check xml-descriptions".
4269
4270 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4271
4272         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4273         calling context.
4274         (hex128): Drop erroneous calculation of parameters.
4275
4276 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
4277
4278         * gdb.python/py-unwind.exp: Disable stack protection when
4279         building test file.
4280
4281 2017-07-20  Pedro Alves  <palves@redhat.com>
4282
4283         * gdb.base/default.exp (set language): Adjust expected output.
4284
4285 2017-07-20  Pedro Alves  <palves@redhat.com>
4286
4287         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4288         (test_minsym): ... this, and make static.
4289         (get_pck__foo__bar__minsym): Rename to ...
4290         (get_test_minsym): ... this.
4291         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
4292         symbol names and comments.
4293         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4294         (get_test_minsym): ... this.
4295         (pck__foo__bar__minsym__2): Rename to ...
4296         (test_minsym): ... this.
4297         (main): Adjust.
4298
4299 2017-07-17  Pedro Alves  <palves@redhat.com>
4300
4301         * gdb.base/completion.exp: Adjust expected output.
4302         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4303         the completer works.
4304
4305 2017-07-17  Pedro Alves  <palves@redhat.com>
4306
4307         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4308
4309 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
4310
4311         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4312
4313 2017-07-14  Tom Tromey  <tom@tromey.com>
4314
4315         PR rust/21764:
4316         * gdb.rust/simple.exp: Add tests.
4317
4318 2017-07-14  Tom Tromey  <tom@tromey.com>
4319
4320         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4321
4322 2017-07-14  Pedro Alves  <palves@redhat.com>
4323
4324         * gdb.linespec/base/one/thefile.cc (z1): New function.
4325         * gdb.linespec/base/two/thefile.cc (z2): New function.
4326         * gdb.linespec/linespec.exp: Add tests.
4327
4328 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
4329
4330         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4331         to mi_create_breakpoint.
4332
4333 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
4334
4335         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4336         mi_create_breakpoint.
4337
4338 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
4339
4340         * gdb.dlang/demangle.exp: Update for demangling changes.
4341
4342 2017-07-09  Tom Tromey  <tom@tromey.com>
4343
4344         * gdb.dwarf2/shortpiece.exp: New file.
4345
4346 2017-07-06  David Blaikie  <dblaikie@gmail.com>
4347
4348         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4349         built from fissiont-multi-cu{1,2}.c.
4350         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4351         except putting 'main' and 'func' in separate CUs in the same DWO file.
4352         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4353         test.
4354         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4355         test.
4356
4357 2017-07-06  Pedro Alves  <palves@redhat.com>
4358
4359         * gdb.python/py-unwind.exp: Test flushregs.
4360
4361 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
4362
4363         PR cli/21688
4364         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4365         tests for alias commands and trailing whitespace.
4366
4367 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
4368
4369         PR cli/21688
4370         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4371         procedure.  Call it.
4372
4373 2017-06-29  Pedro Alves  <palves@redhat.com>
4374
4375         * gdb.base/printcmds.exp: Add tests.
4376
4377 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
4378
4379         PR gdb/21337
4380         * gdb.base/reread-readsym.exp: New file.
4381         * gdb.base/reread-readsym.c: New file.
4382
4383 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
4384
4385         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4386         subpattern.
4387
4388 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
4389
4390         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4391         extended mnemonic.
4392         * gdb.arch/powerpc-power9.s: Likewise.
4393
4394 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4395
4396         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4397         on 32-bit x86 targets.  Exploit is_*_target macros where
4398         appropriate.
4399
4400 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4401
4402         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4403         register pieces.
4404
4405 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4406
4407         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4408         located in one or more DWARF pieces.
4409
4410 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4411
4412         * lib/gdb.exp (get_endianness): New proc.
4413         * gdb.arch/aarch64-fp.exp: Use it.
4414         * gdb.arch/altivec-regs.exp: Likewise.
4415         * gdb.arch/e500-regs.exp: Likewise.
4416         * gdb.arch/vsx-regs.exp: Likewise.
4417         * gdb.base/dump.exp: Likewise.
4418         * gdb.base/funcargs.exp: Likewise.
4419         * gdb.base/gnu_vector.exp: Likewise.
4420         * gdb.dwarf2/formdata16.exp: Likewise.
4421         * gdb.dwarf2/implptrpiece.exp: Likewise.
4422         * gdb.dwarf2/nonvar-access.exp: Likewise.
4423         * gdb.python/py-inferior.exp: Likewise.
4424         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4425
4426 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4427
4428         PR gdb/21226
4429         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4430         stack value pieces are taken from the LSB end.
4431
4432 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4433
4434         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4435         variable at nonzero offset.
4436
4437 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4438
4439         * gdb.dwarf2/var-access.c: New file.
4440         * gdb.dwarf2/var-access.exp: New test.
4441         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4442
4443 2017-06-12  Tom Tromey  <tom@tromey.com>
4444
4445         * gdb.dwarf2/formdata16.exp: Add tests.
4446
4447 2017-06-12  Tom Tromey  <tom@tromey.com>
4448
4449         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4450
4451 2017-06-12  Tom Tromey  <tom@tromey.com>
4452
4453         PR exp/16225:
4454         * gdb.reverse/i386-sse-reverse.exp: Update tests.
4455         * gdb.arch/vsx-regs.exp: Update tests.
4456         * gdb.arch/s390-vregs.exp (hex128): New proc.
4457         Update test.
4458         * gdb.arch/altivec-regs.exp: Update tests.
4459
4460 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
4461
4462         * gdb.base/startup-with-shell.c: New file.
4463         * gdb.base/startup-with-shell.exp: Likewise.
4464
4465 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
4466
4467         * gdb.server/non-existing-program.exp: Update regex in order to
4468         reflect the fact that gdbserver is now using fork_inferior (with a
4469         shell) to startup the inferior.
4470
4471 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
4472
4473         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4474         support function calls from GDB.
4475
4476 2017-05-21  Tom Tromey  <tom@tromey.com>
4477
4478         PR rust/21466:
4479         * gdb.rust/unsized.exp: New file.
4480         * gdb.rust/unsized.rs: New file.
4481
4482 2017-05-19  Tom Tromey  <tom@tromey.com>
4483
4484         PR rust/21484:
4485         * gdb.rust/watch.exp: New file.
4486         * gdb.rust/watch.rs: New file.
4487
4488 2017-05-18  Tom Tromey  <tom@tromey.com>
4489
4490         * gdb.rust/simple.exp: Allow Box to be qualified.
4491
4492 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4493
4494         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4495
4496 2017-05-18  Pedro Alves  <palves@redhat.com>
4497
4498         * gdb.base/fileio.c (test_write, test_read, test_close)
4499         (test_fstat): Don't print 'ret' in the fail path.
4500
4501 2017-05-18  Pedro Alves  <palves@redhat.com>
4502
4503         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4504         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4505         (test_system, test_rename, test_unlink, test_time): Change
4506         prototypes.
4507         * gdb.base/fileio.exp (stop_msg): Adjust.
4508
4509 2017-05-18  Pedro Alves  <palves@redhat.com>
4510
4511         * gdb.base/fileio.c (null_str): New global.
4512         (test_stat): Use it.
4513         * gdb.base/fileio.exp: Remove nowarnings.
4514
4515 2017-05-17  Yao Qi  <yao.qi@linaro.org>
4516
4517         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4518
4519 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
4520
4521         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4522         argument command.
4523         (top-level): Invoke test_set_inferior_tty.
4524
4525 2017-05-04  Pedro Alves  <palves@redhat.com>
4526
4527         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4528         Add parens to print call for Python 3.
4529
4530 2017-05-03  Keith Seitz  <keiths@redhat.com>
4531
4532         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4533         (main): Call it.
4534
4535 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4536
4537         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4538         to prev and next.
4539
4540 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4541
4542         * gdb.python/py-record-btrace.exp: Remove test for
4543         gdb.BtraceInstruction.error.
4544
4545 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4546
4547         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4548
4549 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4550
4551         * gdb.python/py-record-btrace-threads.c: New file.
4552         * gdb.python/py-record-btrace-threads.exp: New file.
4553
4554 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
4555
4556         PR testsuite/8595
4557         * gdb.base/environ.exp: Make test available in all architectures.
4558         Move bits related to "info program" testing to
4559         gdb.base/info-program.exp.  Rewrite tests to use the two new
4560         procedures mentione below.
4561         (test_set_show_env_var) New procedure.
4562         (test_set_show_env_var_equal): Likewise.
4563         * gdb.base/info-program.exp: New file.
4564
4565 2017-04-27  Keith Seitz  <keiths@redhat.com>
4566
4567         * gdb.cp/oranking.cc (test15): New function.
4568         (main): Call test15 and declare additional variables for testing.
4569         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4570         "p foo101('abc')" tests.
4571         Add tests for cv qualifier overloads.
4572         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4573         "lvalue reference overload" test.
4574         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4575         "print value of f1 on Child&& in f2" test.
4576
4577 2017-04-19  Pedro Alves  <palves@redhat.com>
4578
4579         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4580         procedure.
4581         (top level): Call it.
4582         * lib/gdb.exp (gdb_define_cmd): New procedure.
4583
4584 2017-04-12  Pedro Alves  <palves@redhat.com>
4585
4586         PR gdb/21323
4587         * gdb.cp/wide_char_types.c: Include <wchar.h>.
4588         (wchar): New global.
4589         * gdb.cp/wide_char_types.exp (wide_char_types_program)
4590         (do_test_wide_char, wide_char_types_no_program, top level): Add
4591         wchar_t testing.
4592
4593 2017-04-12  Pedro Alves  <palves@redhat.com>
4594
4595         PR c++/21323
4596         * gdb.cp/wide_char_types.c: New file.
4597         * gdb.cp/wide_char_types.exp: New file.
4598
4599 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
4600
4601         PR gdb/21352
4602         * gdb.trace/tsv.exp: Add test for "tsave -r".
4603
4604 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
4605
4606         * gdb.dlang/watch-loc.c: New file.
4607         * gdb.dlang/watch-loc.exp: New file.
4608
4609 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4610
4611         * gdb.python/py-section-script.exp (sepdebug): New testcases.
4612
4613 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
4614
4615         * gdb.arch/arc-analyze-prologue.S: New file.
4616         * gdb.arch/arc-analyze-prologue.exp: Likewise.
4617
4618 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
4619
4620         * gdb.arch/arc-decode-insn.S: New file.
4621         * gdb.arch/arc-decode-insn.exp: Likewise.
4622
4623 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
4624
4625         PR tdep/20928
4626         * gdb.arch/sparc64-regs.exp: New file.
4627         * gdb.arch/sparc64-regs.S: Likewise.
4628
4629 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
4630
4631         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4632         and memory view on Python 3.
4633
4634 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
4635             Keith Seitz  <keiths@redhat.com>
4636
4637         PR gdb/14441
4638         * gdb.cp/demangle.exp: Add rvalue reference tests.
4639         * gdb.cp/rvalue-ref-casts.cc: New file.
4640         * gdb.cp/rvalue-ref-casts.exp: New file.
4641         * gdb.cp/rvalue-ref-overload.cc: New file.
4642         * gdb.cp/rvalue-ref-overload.exp: New file.
4643         * gdb.cp/rvalue-ref-params.cc: New file.
4644         * gdb.cp/rvalue-ref-params.exp: New file.
4645         * gdb.cp/rvalue-ref-sizeof.cc: New file.
4646         * gdb.cp/rvalue-ref-sizeof.exp: New file.
4647         * gdb.cp/rvalue-ref-types.cc: New file.
4648         * gdb.cp/rvalue-ref-types.exp: New file.
4649         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4650         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4651
4652 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4653
4654         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4655         New procedure.
4656
4657 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4658
4659         * lib/mi-support.exp (mi_gdb_test): Add additional message
4660         for unexpected output.
4661
4662 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4663
4664         * gdb.base/examine-backward.c (Barrier): New character array
4665         constant, to ensure that TestStrings is preceded by a string
4666         terminator.
4667
4668 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4669
4670         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4671         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4672         and implicit pointer into such a location.
4673
4674 2017-03-16  Doug Evans  <dje@google.com>
4675
4676         * gdb.python/py-lazy-string (pointer): Really add new typedef.
4677
4678 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4679
4680         * gdb.cp/m-static.exp: Fix expectation for prototype of
4681         test5.single_constructor and single_constructor::single_constructor.
4682
4683 2017-03-16  Doug Evans  <dje@google.com>
4684
4685         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4686         * gdb.guile/scm-lazy-string.c: New file.
4687         * gdb.guile/scm-value.exp: Move lazy string tests to ...
4688         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
4689         for pointer, array, typedef lazy strings.
4690
4691 2017-03-16  Doug Evans  <dje@google.com>
4692
4693         PR python/17728, python/18439, python/18779
4694         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4695         * gdb.python/py-lazy-string.c (pointer): New typedef.
4696         (main): New locals ptr, array, typedef_ptr.
4697         * gdb.python/py-value.exp: Move lazy string tests to ...
4698         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4699         array, typedef lazy strings.
4700
4701 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4702
4703         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4704           Add optional 'test' parameter.
4705
4706 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4707
4708         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4709         Skip for versions of DejaGnu < 1.5.
4710
4711 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4712
4713         * lib/gdb.exp (dejagnu_version): New proc.
4714         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4715         Use dejagnu_version.
4716
4717 2017-03-10  Keith Seitz  <keiths@redhat.com>
4718
4719         PR c++/8128
4720         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4721         type from destructor regexps.
4722         Add a branch which actually passes the test.
4723         Adjust "ptype t5i" test names.
4724
4725 2017-03-08  Pedro Alves  <palves@redhat.com>
4726
4727         * gdb.base/step-over-exit.exp: Add explicit test message.
4728
4729 2017-03-08  Pedro Alves  <palves@redhat.com>
4730
4731         PR gdb/18360
4732         * gdb.threads/interrupt-while-step-over.c: New file.
4733         * gdb.threads/interrupt-while-step-over.exp: New file.
4734
4735 2017-03-08  Pedro Alves  <palves@redhat.com>
4736
4737         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4738         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4739
4740 2017-03-08  Pedro Alves  <palves@redhat.com>
4741
4742         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4743         PKRU as not supported as a PASS.
4744
4745 2017-03-08  Pedro Alves  <palves@redhat.com>
4746
4747         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4748         prefix instead of $binfile1/$binfile2.
4749         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4750         in test message.
4751         * gdb.python/py-completion.exp: Use "load python file" as test
4752         messages instead of unstable path names.
4753
4754 2017-03-08  Pedro Alves  <palves@redhat.com>
4755             Jan Kratochvil  <jan.kratochvil@redhat.com>
4756
4757         PR cli/21218
4758         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4759         New proc.
4760         (top level): Call it.
4761
4762 2017-03-08  Pedro Alves  <palves@redhat.com>
4763
4764         PR tui/21216
4765         * gdb.tui/tui-nl-filtered-output.exp: New file.
4766
4767 2017-03-08  Pedro Alves  <palves@redhat.com>
4768
4769         * gdb.base/completion.exp: Move TUI completion tests to ...
4770         * gdb.tui/completion.exp: ... this new file.
4771
4772 2017-03-08  Pedro Alves  <palves@redhat.com>
4773
4774         * gdb.base/tui-disasm-long-lines.c,
4775         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4776         gdb.base/tui-layout.exp: Move to ...
4777         * gdb.tui/: ... this new directory.
4778
4779 2017-03-07  Pedro Alves  <palves@redhat.com>
4780
4781         * gdb.base/tui-layout.c: New file.
4782         * gdb.base/tui-layout.exp: New file.
4783
4784 2017-03-07  Pedro Alves  <palves@redhat.com>
4785
4786         * gdb.base/tui-layout.c: Rename to ...
4787         * gdb.base/tui-disasm-long-lines.c: ... this.
4788         * gdb.base/tui-layout.exp: Rename to ...
4789         * gdb.base/tui-disasm-long-lines.exp: ... this.
4790
4791 2017-03-07  Pedro Alves  <palves@redhat.com>
4792
4793         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4794
4795 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4796
4797         * i386-mpx-call.c: New file.
4798         * i386-mpx-call.exp: New file.
4799
4800 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4801
4802         * gdb.arch/powerpc-power.exp: Delete test.
4803         * gdb.arch/powerpc-power.s: Likewise.
4804         * gdb.disasm/disassembler-options.exp: New test.
4805         * gdb.arch/powerpc-altivec.exp: Likewise.
4806         * gdb.arch/powerpc-altivec.s: Likewise.
4807         * gdb.arch/powerpc-altivec2.exp: Likewise.
4808         * gdb.arch/powerpc-altivec2.s: Likewise.
4809         * gdb.arch/powerpc-altivec3.exp: Likewise.
4810         * gdb.arch/powerpc-altivec3.s: Likewise.
4811         * gdb.arch/powerpc-power7.exp: Likewise.
4812         * gdb.arch/powerpc-power7.s: Likewise.
4813         * gdb.arch/powerpc-power8.exp: Likewise.
4814         * gdb.arch/powerpc-power8.s: Likewise.
4815         * gdb.arch/powerpc-power9.exp: Likewise.
4816         * gdb.arch/powerpc-power9.s: Likewise.
4817         * gdb.arch/powerpc-vsx.exp: Likewise.
4818         * gdb.arch/powerpc-vsx.s: Likewise.
4819         * gdb.arch/powerpc-vsx2.exp: Likewise.
4820         * gdb.arch/powerpc-vsx2.s: Likewise.
4821         * gdb.arch/powerpc-vsx3.exp: Likewise.
4822         * gdb.arch/powerpc-vsx3.s: Likewise.
4823         * gdb.arch/arm-disassembler-options.exp: Likewise.
4824         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4825         * gdb.arch/s390-disassembler-options.exp: Likewise.
4826
4827 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4828
4829         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4830         (check_supported_features): ... this. Changed return type to void.
4831         (supports_rdseed): New static global.
4832         (rdseed): Check supports_rdseed.
4833         (initialize): Call check_supported_features.
4834
4835 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4836
4837         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4838         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4839         and lqarx/stqcx.
4840         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4841         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4842
4843 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4844
4845         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4846         uppercase.
4847
4848 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4849
4850         * gdb.dwarf2/formdata16.c: New file.
4851         * gdb.dwarf2/formdata16.exp: New file.
4852         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4853
4854 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4855
4856         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4857         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4858         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4859         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4860         DW_AT_GNU_*.
4861
4862 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4863
4864         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4865
4866 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4867
4868         PR gdb/21164
4869         * gdb.base/maint.exp: Add testcases for when the commands do
4870         not have arguments.
4871
4872 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4873
4874         * gdb.cp/chained-calls.exp: Use p instead of P.
4875
4876 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4877
4878         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4879         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4880
4881 2017-02-14  Tom Tromey  <tom@tromey.com>
4882
4883         PR python/13598:
4884         * gdb.python/py-events.exp: Add before_prompt event tests.
4885
4886 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4887
4888         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4889
4890 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4891
4892         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4893         (main): Call my_unique_function_name.
4894         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4895         completion of patterns with a single match.
4896         Add missing -re switches to gdb_test_multiple calls.
4897
4898 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4899
4900         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4901         return if core file is not recognized.
4902
4903 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4904
4905         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4906         and extra UIs.
4907
4908 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4909
4910         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4911         proc_with_prefix.
4912
4913 2017-02-10  Tom Tromey  <tom@tromey.com>
4914
4915         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4916
4917 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4918
4919         PR gdb/21122
4920         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4921
4922 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4923
4924         * gdb.base/define.exp: Add test for command abbreviations
4925         in define.
4926
4927 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4928
4929         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4930         * gdb.reverse/insn-reverse-x86.c: New file.
4931
4932 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4933
4934         PR tdep/20936
4935         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4936
4937 2017-02-03  Tom Tromey  <tom@tromey.com>
4938
4939         PR rust/21097:
4940         * gdb.rust/simple.exp: Add new tests.
4941
4942 2017-02-02  Pedro Alves  <palves@redhat.com>
4943
4944         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4945         tests.
4946
4947 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4948
4949         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4950         taking a 2-byte value out of a 4-byte DWARF implicit value on
4951         big-endian targets.
4952         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4953         logic.  Add test cases for DW_OP_implicit.
4954
4955 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4956
4957         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4958
4959 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4960
4961         * gdb.btrace/enable.exp: Call gdb_exit before
4962         skip_gdbserver_tests.
4963
4964 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4965
4966         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4967         GDBFLAGS.
4968
4969 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4970
4971         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4972         the test is skipped.
4973         * gdb.btrace/data.exp: Likewise.
4974         * gdb.btrace/delta.exp: Likewise.
4975         * gdb.btrace/dlopen.exp: Likewise.
4976         * gdb.btrace/enable-running.exp: Likewise.
4977         * gdb.btrace/enable.exp: Likewise.
4978         * gdb.btrace/exception.exp: Likewise.
4979         * gdb.btrace/function_call_history.exp: Likewise.
4980         * gdb.btrace/gcore.exp: Likewise.
4981         * gdb.btrace/instruction_history.exp: Likewise.
4982         * gdb.btrace/multi-thread-step.exp: Likewise.
4983         * gdb.btrace/nohist.exp: Likewise.
4984         * gdb.btrace/non-stop.exp: Likewise.
4985         * gdb.btrace/reconnect.exp: Likewise.
4986         * gdb.btrace/record_goto-step.exp: Likewise.
4987         * gdb.btrace/record_goto.exp: Likewise.
4988         * gdb.btrace/rn-dl-bind.exp: Likewise.
4989         * gdb.btrace/segv.exp: Likewise.
4990         * gdb.btrace/step.exp: Likewise.
4991         * gdb.btrace/stepi.exp: Likewise.
4992         * gdb.btrace/tailcall-only.exp: Likewise.
4993         * gdb.btrace/tailcall.exp: Likewise.
4994         * gdb.btrace/tsx.exp: Likewise.
4995         * gdb.btrace/unknown_functions.exp: Likewise.
4996         * gdb.btrace/vdso.exp: Likewise.
4997
4998 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4999
5000         * gdb.btrace/enable-running.c: New.
5001         * gdb.btrace/enable-running.exp: New.
5002
5003 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
5004
5005         * gdb.arch/amd64-gs_base.c: New file.
5006         * gdb.arch/amd64-gs_base.exp: New file.
5007
5008 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
5009
5010         * lib/memory.exp: Remove spurious empty newlines.
5011
5012 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
5013
5014         * gdb.python/py-bad-printers.exp: Load python file using "source".
5015         * gdb.python/py-events.exp: Likewise.
5016         * gdb.python/py-evsignal.exp: Likewise.
5017         * gdb.python/py-evthreads.exp: Likewise.
5018         * gdb.python/py-frame-args.exp: Likewise.
5019         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5020         * gdb.python/py-framefilter-mi.exp: Likewise.
5021         * gdb.python/py-framefilter.exp: Likewise.
5022         * gdb.python/py-mi.exp: Likewise.
5023         * gdb.python/py-pp-maint.exp: Likewise.
5024         * gdb.python/py-pp-registration.exp: Likewise.
5025         * gdb.python/py-prettyprint.exp: Likewise.
5026         (run_lang_tests): Likewise.
5027         * gdb.python/py-typeprint.exp: Likewise.
5028
5029 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
5030
5031         * lib/memory.exp: New file.
5032         * lib/gdb.exp: Load memory.exp.
5033         * gdb.base/memattr.exp (delete_memory): Move proc to
5034         lib/memory.exp and rename to delete_memory_regions.
5035         Replace delete_memory with delete_memory_regions.
5036         Cleanup memory regions before tests.
5037         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5038         before tests.
5039
5040 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
5041
5042         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5043         files.
5044         (initialize): New function conditionally defined.
5045         (testcases): Move within conditional block.
5046         (main): Call initialize.
5047         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5048         of gdb.reverse/insn-reverse.c.
5049         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5050         gdb.reverse/insn-reverse.c.
5051
5052 2017-01-26  Yao Qi  <yao.qi@linaro.org>
5053
5054         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5055         disassemble on address 0.
5056
5057 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5058             Yao Qi  <yao.qi@linaro.org>
5059
5060         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5061         * gdb.dwarf2/implptr-64bit.S: Remove.
5062         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
5063         variables in caller's context.  Add DW_OP_implicit_value.
5064
5065 2017-01-25  Yao Qi  <yao.qi@linaro.org>
5066
5067         * lib/dwarf.exp (Dwarf::_location): Handle
5068         DW_OP_GNU_implicit_pointer with proper size.
5069
5070 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
5071
5072         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5073         and add untested calls.
5074
5075 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
5076
5077         * gdb.python/python.exp: Check line number against what GDB thinks
5078         the line number is for func1.
5079
5080 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
5081
5082         * gdb.dlang/debug-expr.exp: New file.
5083
5084 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
5085
5086         Fix test names for the following files:
5087
5088         * gdb.ada/exec_changed.exp
5089         * gdb.ada/info_types.exp
5090         * gdb.arch/aarch64-atomic-inst.exp
5091         * gdb.arch/aarch64-fp.exp
5092         * gdb.arch/altivec-abi.exp
5093         * gdb.arch/altivec-regs.exp
5094         * gdb.arch/amd64-byte.exp
5095         * gdb.arch/amd64-disp-step.exp
5096         * gdb.arch/amd64-dword.exp
5097         * gdb.arch/amd64-entry-value-inline.exp
5098         * gdb.arch/amd64-entry-value-param.exp
5099         * gdb.arch/amd64-entry-value-paramref.exp
5100         * gdb.arch/amd64-entry-value.exp
5101         * gdb.arch/amd64-i386-address.exp
5102         * gdb.arch/amd64-invalid-stack-middle.exp
5103         * gdb.arch/amd64-invalid-stack-top.exp
5104         * gdb.arch/amd64-optimout-repeat.exp
5105         * gdb.arch/amd64-prologue-skip.exp
5106         * gdb.arch/amd64-prologue-xmm.exp
5107         * gdb.arch/amd64-stap-special-operands.exp
5108         * gdb.arch/amd64-stap-wrong-subexp.exp
5109         * gdb.arch/amd64-tailcall-cxx.exp
5110         * gdb.arch/amd64-tailcall-noret.exp
5111         * gdb.arch/amd64-tailcall-ret.exp
5112         * gdb.arch/amd64-tailcall-self.exp
5113         * gdb.arch/amd64-word.exp
5114         * gdb.arch/arm-bl-branch-dest.exp
5115         * gdb.arch/arm-disp-step.exp
5116         * gdb.arch/arm-neon.exp
5117         * gdb.arch/arm-single-step-kernel-helper.exp
5118         * gdb.arch/avr-flash-qualifier.exp
5119         * gdb.arch/disp-step-insn-reloc.exp
5120         * gdb.arch/e500-abi.exp
5121         * gdb.arch/e500-regs.exp
5122         * gdb.arch/ftrace-insn-reloc.exp
5123         * gdb.arch/i386-avx512.exp
5124         * gdb.arch/i386-bp_permanent.exp
5125         * gdb.arch/i386-byte.exp
5126         * gdb.arch/i386-cfi-notcurrent.exp
5127         * gdb.arch/i386-disp-step.exp
5128         * gdb.arch/i386-dr3-watch.exp
5129         * gdb.arch/i386-float.exp
5130         * gdb.arch/i386-gnu-cfi.exp
5131         * gdb.arch/i386-mpx-map.exp
5132         * gdb.arch/i386-mpx-sigsegv.exp
5133         * gdb.arch/i386-mpx-simple_segv.exp
5134         * gdb.arch/i386-mpx.exp
5135         * gdb.arch/i386-permbkpt.exp
5136         * gdb.arch/i386-prologue.exp
5137         * gdb.arch/i386-signal.exp
5138         * gdb.arch/i386-size-overlap.exp
5139         * gdb.arch/i386-unwind.exp
5140         * gdb.arch/i386-word.exp
5141         * gdb.arch/mips-fcr.exp
5142         * gdb.arch/powerpc-d128-regs.exp
5143         * gdb.arch/powerpc-stackless.exp
5144         * gdb.arch/ppc64-atomic-inst.exp
5145         * gdb.arch/s390-stackless.exp
5146         * gdb.arch/s390-tdbregs.exp
5147         * gdb.arch/s390-vregs.exp
5148         * gdb.arch/sparc-sysstep.exp
5149         * gdb.arch/thumb-bx-pc.exp
5150         * gdb.arch/thumb-singlestep.exp
5151         * gdb.arch/thumb2-it.exp
5152         * gdb.arch/vsx-regs.exp
5153         * gdb.asm/asm-source.exp
5154         * gdb.base/a2-run.exp
5155         * gdb.base/advance.exp
5156         * gdb.base/all-bin.exp
5157         * gdb.base/anon.exp
5158         * gdb.base/args.exp
5159         * gdb.base/arithmet.exp
5160         * gdb.base/async-shell.exp
5161         * gdb.base/async.exp
5162         * gdb.base/attach-pie-noexec.exp
5163         * gdb.base/attach-twice.exp
5164         * gdb.base/auto-load.exp
5165         * gdb.base/bang.exp
5166         * gdb.base/bitfields.exp
5167         * gdb.base/break-always.exp
5168         * gdb.base/break-caller-line.exp
5169         * gdb.base/break-entry.exp
5170         * gdb.base/break-inline.exp
5171         * gdb.base/break-on-linker-gcd-function.exp
5172         * gdb.base/break-probes.exp
5173         * gdb.base/break.exp
5174         * gdb.base/breakpoint-shadow.exp
5175         * gdb.base/call-ar-st.exp
5176         * gdb.base/call-sc.exp
5177         * gdb.base/call-signal-resume.exp
5178         * gdb.base/call-strs.exp
5179         * gdb.base/callfuncs.exp
5180         * gdb.base/catch-fork-static.exp
5181         * gdb.base/catch-gdb-caused-signals.exp
5182         * gdb.base/catch-load.exp
5183         * gdb.base/catch-signal-fork.exp
5184         * gdb.base/catch-signal.exp
5185         * gdb.base/catch-syscall.exp
5186         * gdb.base/charset.exp
5187         * gdb.base/checkpoint.exp
5188         * gdb.base/chng-syms.exp
5189         * gdb.base/code-expr.exp
5190         * gdb.base/code_elim.exp
5191         * gdb.base/commands.exp
5192         * gdb.base/completion.exp
5193         * gdb.base/complex.exp
5194         * gdb.base/cond-expr.exp
5195         * gdb.base/condbreak.exp
5196         * gdb.base/consecutive.exp
5197         * gdb.base/continue-all-already-running.exp
5198         * gdb.base/coredump-filter.exp
5199         * gdb.base/corefile.exp
5200         * gdb.base/dbx.exp
5201         * gdb.base/debug-expr.exp
5202         * gdb.base/define.exp
5203         * gdb.base/del.exp
5204         * gdb.base/disabled-location.exp
5205         * gdb.base/disasm-end-cu.exp
5206         * gdb.base/disasm-optim.exp
5207         * gdb.base/display.exp
5208         * gdb.base/duplicate-bp.exp
5209         * gdb.base/ena-dis-br.exp
5210         * gdb.base/ending-run.exp
5211         * gdb.base/enumval.exp
5212         * gdb.base/environ.exp
5213         * gdb.base/eu-strip-infcall.exp
5214         * gdb.base/eval-avoid-side-effects.exp
5215         * gdb.base/eval-skip.exp
5216         * gdb.base/exitsignal.exp
5217         * gdb.base/expand-psymtabs.exp
5218         * gdb.base/filesym.exp
5219         * gdb.base/find-unmapped.exp
5220         * gdb.base/finish.exp
5221         * gdb.base/float.exp
5222         * gdb.base/foll-exec-mode.exp
5223         * gdb.base/foll-exec.exp
5224         * gdb.base/foll-fork.exp
5225         * gdb.base/fortran-sym-case.exp
5226         * gdb.base/freebpcmd.exp
5227         * gdb.base/func-ptr.exp
5228         * gdb.base/func-ptrs.exp
5229         * gdb.base/funcargs.exp
5230         * gdb.base/gcore-buffer-overflow.exp
5231         * gdb.base/gcore-relro-pie.exp
5232         * gdb.base/gcore-relro.exp
5233         * gdb.base/gcore.exp
5234         * gdb.base/gdb1090.exp
5235         * gdb.base/gdb11530.exp
5236         * gdb.base/gdb11531.exp
5237         * gdb.base/gdb1821.exp
5238         * gdb.base/gdbindex-stabs.exp
5239         * gdb.base/gdbvars.exp
5240         * gdb.base/hbreak.exp
5241         * gdb.base/hbreak2.exp
5242         * gdb.base/included.exp
5243         * gdb.base/infcall-input.exp
5244         * gdb.base/inferior-died.exp
5245         * gdb.base/infnan.exp
5246         * gdb.base/info-macros.exp
5247         * gdb.base/info-os.exp
5248         * gdb.base/info-proc.exp
5249         * gdb.base/info-shared.exp
5250         * gdb.base/info-target.exp
5251         * gdb.base/infoline.exp
5252         * gdb.base/interp.exp
5253         * gdb.base/interrupt.exp
5254         * gdb.base/jit-reader.exp
5255         * gdb.base/jit-simple.exp
5256         * gdb.base/kill-after-signal.exp
5257         * gdb.base/kill-detach-inferiors-cmd.exp
5258         * gdb.base/label.exp
5259         * gdb.base/langs.exp
5260         * gdb.base/ldbl_e308.exp
5261         * gdb.base/line-symtabs.exp
5262         * gdb.base/linespecs.exp
5263         * gdb.base/list.exp
5264         * gdb.base/long_long.exp
5265         * gdb.base/longest-types.exp
5266         * gdb.base/maint.exp
5267         * gdb.base/max-value-size.exp
5268         * gdb.base/memattr.exp
5269         * gdb.base/mips_pro.exp
5270         * gdb.base/morestack.exp
5271         * gdb.base/moribund-step.exp
5272         * gdb.base/multi-forks.exp
5273         * gdb.base/nested-addr.exp
5274         * gdb.base/nextoverexit.exp
5275         * gdb.base/noreturn-finish.exp
5276         * gdb.base/noreturn-return.exp
5277         * gdb.base/nostdlib.exp
5278         * gdb.base/offsets.exp
5279         * gdb.base/opaque.exp
5280         * gdb.base/pc-fp.exp
5281         * gdb.base/permissions.exp
5282         * gdb.base/print-symbol-loading.exp
5283         * gdb.base/prologue-include.exp
5284         * gdb.base/psymtab.exp
5285         * gdb.base/ptype.exp
5286         * gdb.base/random-signal.exp
5287         * gdb.base/randomize.exp
5288         * gdb.base/range-stepping.exp
5289         * gdb.base/readline-ask.exp
5290         * gdb.base/recpar.exp
5291         * gdb.base/recurse.exp
5292         * gdb.base/relational.exp
5293         * gdb.base/restore.exp
5294         * gdb.base/return-nodebug.exp
5295         * gdb.base/return.exp
5296         * gdb.base/run-after-attach.exp
5297         * gdb.base/save-bp.exp
5298         * gdb.base/scope.exp
5299         * gdb.base/sect-cmd.exp
5300         * gdb.base/set-lang-auto.exp
5301         * gdb.base/set-noassign.exp
5302         * gdb.base/setvar.exp
5303         * gdb.base/sigall.exp
5304         * gdb.base/sigbpt.exp
5305         * gdb.base/siginfo-addr.exp
5306         * gdb.base/siginfo-infcall.exp
5307         * gdb.base/siginfo-obj.exp
5308         * gdb.base/siginfo.exp
5309         * gdb.base/signals-state-child.exp
5310         * gdb.base/signest.exp
5311         * gdb.base/sigstep.exp
5312         * gdb.base/sizeof.exp
5313         * gdb.base/skip.exp
5314         * gdb.base/solib-corrupted.exp
5315         * gdb.base/solib-nodir.exp
5316         * gdb.base/solib-search.exp
5317         * gdb.base/stack-checking.exp
5318         * gdb.base/stale-infcall.exp
5319         * gdb.base/stap-probe.exp
5320         * gdb.base/start.exp
5321         * gdb.base/step-break.exp
5322         * gdb.base/step-bt.exp
5323         * gdb.base/step-line.exp
5324         * gdb.base/step-over-exit.exp
5325         * gdb.base/step-over-syscall.exp
5326         * gdb.base/step-resume-infcall.exp
5327         * gdb.base/step-test.exp
5328         * gdb.base/store.exp
5329         * gdb.base/structs3.exp
5330         * gdb.base/sym-file.exp
5331         * gdb.base/symbol-without-target_section.exp
5332         * gdb.base/term.exp
5333         * gdb.base/testenv.exp
5334         * gdb.base/ui-redirect.exp
5335         * gdb.base/until.exp
5336         * gdb.base/unwindonsignal.exp
5337         * gdb.base/value-double-free.exp
5338         * gdb.base/vla-datatypes.exp
5339         * gdb.base/vla-ptr.exp
5340         * gdb.base/vla-sideeffect.exp
5341         * gdb.base/volatile.exp
5342         * gdb.base/watch-cond-infcall.exp
5343         * gdb.base/watch-cond.exp
5344         * gdb.base/watch-non-mem.exp
5345         * gdb.base/watch-read.exp
5346         * gdb.base/watch-vfork.exp
5347         * gdb.base/watchpoint-cond-gone.exp
5348         * gdb.base/watchpoint-delete.exp
5349         * gdb.base/watchpoint-hw-hit-once.exp
5350         * gdb.base/watchpoint-hw.exp
5351         * gdb.base/watchpoint-stops-at-right-insn.exp
5352         * gdb.base/watchpoints.exp
5353         * gdb.base/wchar.exp
5354         * gdb.base/whatis-exp.exp
5355         * gdb.btrace/buffer-size.exp
5356         * gdb.btrace/data.exp
5357         * gdb.btrace/delta.exp
5358         * gdb.btrace/dlopen.exp
5359         * gdb.btrace/enable.exp
5360         * gdb.btrace/exception.exp
5361         * gdb.btrace/function_call_history.exp
5362         * gdb.btrace/gcore.exp
5363         * gdb.btrace/instruction_history.exp
5364         * gdb.btrace/nohist.exp
5365         * gdb.btrace/reconnect.exp
5366         * gdb.btrace/record_goto-step.exp
5367         * gdb.btrace/record_goto.exp
5368         * gdb.btrace/rn-dl-bind.exp
5369         * gdb.btrace/segv.exp
5370         * gdb.btrace/step.exp
5371         * gdb.btrace/stepi.exp
5372         * gdb.btrace/tailcall-only.exp
5373         * gdb.btrace/tailcall.exp
5374         * gdb.btrace/tsx.exp
5375         * gdb.btrace/unknown_functions.exp
5376         * gdb.btrace/vdso.exp
5377         * gdb.compile/compile-ifunc.exp
5378         * gdb.compile/compile-ops.exp
5379         * gdb.compile/compile-print.exp
5380         * gdb.compile/compile-setjmp.exp
5381         * gdb.cp/abstract-origin.exp
5382         * gdb.cp/ambiguous.exp
5383         * gdb.cp/annota2.exp
5384         * gdb.cp/annota3.exp
5385         * gdb.cp/anon-ns.exp
5386         * gdb.cp/anon-struct.exp
5387         * gdb.cp/anon-union.exp
5388         * gdb.cp/arg-reference.exp
5389         * gdb.cp/baseenum.exp
5390         * gdb.cp/bool.exp
5391         * gdb.cp/breakpoint.exp
5392         * gdb.cp/bs15503.exp
5393         * gdb.cp/call-c.exp
5394         * gdb.cp/casts.exp
5395         * gdb.cp/chained-calls.exp
5396         * gdb.cp/class2.exp
5397         * gdb.cp/classes.exp
5398         * gdb.cp/cmpd-minsyms.exp
5399         * gdb.cp/converts.exp
5400         * gdb.cp/cp-relocate.exp
5401         * gdb.cp/cpcompletion.exp
5402         * gdb.cp/cpexprs.exp
5403         * gdb.cp/cplabel.exp
5404         * gdb.cp/cplusfuncs.exp
5405         * gdb.cp/cpsizeof.exp
5406         * gdb.cp/ctti.exp
5407         * gdb.cp/derivation.exp
5408         * gdb.cp/destrprint.exp
5409         * gdb.cp/dispcxx.exp
5410         * gdb.cp/enum-class.exp
5411         * gdb.cp/exception.exp
5412         * gdb.cp/exceptprint.exp
5413         * gdb.cp/expand-psymtabs-cxx.exp
5414         * gdb.cp/expand-sals.exp
5415         * gdb.cp/extern-c.exp
5416         * gdb.cp/filename.exp
5417         * gdb.cp/formatted-ref.exp
5418         * gdb.cp/fpointer.exp
5419         * gdb.cp/gdb1355.exp
5420         * gdb.cp/gdb2495.exp
5421         * gdb.cp/hang.exp
5422         * gdb.cp/impl-this.exp
5423         * gdb.cp/infcall-dlopen.exp
5424         * gdb.cp/inherit.exp
5425         * gdb.cp/iostream.exp
5426         * gdb.cp/koenig.exp
5427         * gdb.cp/local.exp
5428         * gdb.cp/m-data.exp
5429         * gdb.cp/m-static.exp
5430         * gdb.cp/mb-ctor.exp
5431         * gdb.cp/mb-inline.exp
5432         * gdb.cp/mb-templates.exp
5433         * gdb.cp/member-name.exp
5434         * gdb.cp/member-ptr.exp
5435         * gdb.cp/meth-typedefs.exp
5436         * gdb.cp/method.exp
5437         * gdb.cp/method2.exp
5438         * gdb.cp/minsym-fallback.exp
5439         * gdb.cp/misc.exp
5440         * gdb.cp/namelessclass.exp
5441         * gdb.cp/namespace-enum.exp
5442         * gdb.cp/namespace-nested-import.exp
5443         * gdb.cp/namespace.exp
5444         * gdb.cp/nextoverthrow.exp
5445         * gdb.cp/no-dmgl-verbose.exp
5446         * gdb.cp/non-trivial-retval.exp
5447         * gdb.cp/noparam.exp
5448         * gdb.cp/nsdecl.exp
5449         * gdb.cp/nsimport.exp
5450         * gdb.cp/nsnested.exp
5451         * gdb.cp/nsnoimports.exp
5452         * gdb.cp/nsrecurs.exp
5453         * gdb.cp/nsstress.exp
5454         * gdb.cp/nsusing.exp
5455         * gdb.cp/operator.exp
5456         * gdb.cp/oranking.exp
5457         * gdb.cp/overload-const.exp
5458         * gdb.cp/overload.exp
5459         * gdb.cp/ovldbreak.exp
5460         * gdb.cp/ovsrch.exp
5461         * gdb.cp/paren-type.exp
5462         * gdb.cp/parse-lang.exp
5463         * gdb.cp/pass-by-ref.exp
5464         * gdb.cp/pr-1023.exp
5465         * gdb.cp/pr-1210.exp
5466         * gdb.cp/pr-574.exp
5467         * gdb.cp/pr10687.exp
5468         * gdb.cp/pr12028.exp
5469         * gdb.cp/pr17132.exp
5470         * gdb.cp/pr17494.exp
5471         * gdb.cp/pr9067.exp
5472         * gdb.cp/pr9167.exp
5473         * gdb.cp/pr9631.exp
5474         * gdb.cp/printmethod.exp
5475         * gdb.cp/psmang.exp
5476         * gdb.cp/psymtab-parameter.exp
5477         * gdb.cp/ptype-cv-cp.exp
5478         * gdb.cp/ptype-flags.exp
5479         * gdb.cp/re-set-overloaded.exp
5480         * gdb.cp/ref-types.exp
5481         * gdb.cp/rtti.exp
5482         * gdb.cp/scope-err.exp
5483         * gdb.cp/shadow.exp
5484         * gdb.cp/smartp.exp
5485         * gdb.cp/static-method.exp
5486         * gdb.cp/static-print-quit.exp
5487         * gdb.cp/temargs.exp
5488         * gdb.cp/templates.exp
5489         * gdb.cp/try_catch.exp
5490         * gdb.cp/typedef-operator.exp
5491         * gdb.cp/typeid.exp
5492         * gdb.cp/userdef.exp
5493         * gdb.cp/using-crash.exp
5494         * gdb.cp/var-tag.exp
5495         * gdb.cp/virtbase.exp
5496         * gdb.cp/virtfunc.exp
5497         * gdb.cp/virtfunc2.exp
5498         * gdb.cp/vla-cxx.exp
5499         * gdb.disasm/t01_mov.exp
5500         * gdb.disasm/t02_mova.exp
5501         * gdb.disasm/t03_add.exp
5502         * gdb.disasm/t04_sub.exp
5503         * gdb.disasm/t05_cmp.exp
5504         * gdb.disasm/t06_ari2.exp
5505         * gdb.disasm/t07_ari3.exp
5506         * gdb.disasm/t08_or.exp
5507         * gdb.disasm/t09_xor.exp
5508         * gdb.disasm/t10_and.exp
5509         * gdb.disasm/t11_logs.exp
5510         * gdb.disasm/t12_bit.exp
5511         * gdb.disasm/t13_otr.exp
5512         * gdb.dlang/circular.exp
5513         * gdb.dwarf2/arr-stride.exp
5514         * gdb.dwarf2/arr-subrange.exp
5515         * gdb.dwarf2/atomic-type.exp
5516         * gdb.dwarf2/bad-regnum.exp
5517         * gdb.dwarf2/bitfield-parent-optimized-out.exp
5518         * gdb.dwarf2/callframecfa.exp
5519         * gdb.dwarf2/clztest.exp
5520         * gdb.dwarf2/corrupt.exp
5521         * gdb.dwarf2/data-loc.exp
5522         * gdb.dwarf2/dup-psym.exp
5523         * gdb.dwarf2/dw2-anon-mptr.exp
5524         * gdb.dwarf2/dw2-anonymous-func.exp
5525         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5526         * gdb.dwarf2/dw2-bad-unresolved.exp
5527         * gdb.dwarf2/dw2-basic.exp
5528         * gdb.dwarf2/dw2-canonicalize-type.exp
5529         * gdb.dwarf2/dw2-case-insensitive.exp
5530         * gdb.dwarf2/dw2-common-block.exp
5531         * gdb.dwarf2/dw2-compdir-oldgcc.exp
5532         * gdb.dwarf2/dw2-compressed.exp
5533         * gdb.dwarf2/dw2-const.exp
5534         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5535         * gdb.dwarf2/dw2-cu-size.exp
5536         * gdb.dwarf2/dw2-dup-frame.exp
5537         * gdb.dwarf2/dw2-entry-value.exp
5538         * gdb.dwarf2/dw2-icycle.exp
5539         * gdb.dwarf2/dw2-ifort-parameter.exp
5540         * gdb.dwarf2/dw2-inline-break.exp
5541         * gdb.dwarf2/dw2-inline-param.exp
5542         * gdb.dwarf2/dw2-intercu.exp
5543         * gdb.dwarf2/dw2-intermix.exp
5544         * gdb.dwarf2/dw2-lexical-block-bare.exp
5545         * gdb.dwarf2/dw2-linkage-name-trust.exp
5546         * gdb.dwarf2/dw2-minsym-in-cu.exp
5547         * gdb.dwarf2/dw2-noloc.exp
5548         * gdb.dwarf2/dw2-op-call.exp
5549         * gdb.dwarf2/dw2-op-out-param.exp
5550         * gdb.dwarf2/dw2-opt-structptr.exp
5551         * gdb.dwarf2/dw2-param-error.exp
5552         * gdb.dwarf2/dw2-producer.exp
5553         * gdb.dwarf2/dw2-ranges-base.exp
5554         * gdb.dwarf2/dw2-ref-missing-frame.exp
5555         * gdb.dwarf2/dw2-reg-undefined.exp
5556         * gdb.dwarf2/dw2-regno-invalid.exp
5557         * gdb.dwarf2/dw2-restore.exp
5558         * gdb.dwarf2/dw2-restrict.exp
5559         * gdb.dwarf2/dw2-single-line-discriminators.exp
5560         * gdb.dwarf2/dw2-strp.exp
5561         * gdb.dwarf2/dw2-undefined-ret-addr.exp
5562         * gdb.dwarf2/dw2-unresolved.exp
5563         * gdb.dwarf2/dw2-var-zero-addr.exp
5564         * gdb.dwarf2/dw4-sig-types.exp
5565         * gdb.dwarf2/dwz.exp
5566         * gdb.dwarf2/dynarr-ptr.exp
5567         * gdb.dwarf2/enum-type.exp
5568         * gdb.dwarf2/gdb-index.exp
5569         * gdb.dwarf2/implptr-64bit.exp
5570         * gdb.dwarf2/implptr-optimized-out.exp
5571         * gdb.dwarf2/implptr.exp
5572         * gdb.dwarf2/implref-array.exp
5573         * gdb.dwarf2/implref-const.exp
5574         * gdb.dwarf2/implref-global.exp
5575         * gdb.dwarf2/implref-struct.exp
5576         * gdb.dwarf2/mac-fileno.exp
5577         * gdb.dwarf2/main-subprogram.exp
5578         * gdb.dwarf2/member-ptr-forwardref.exp
5579         * gdb.dwarf2/method-ptr.exp
5580         * gdb.dwarf2/missing-sig-type.exp
5581         * gdb.dwarf2/nonvar-access.exp
5582         * gdb.dwarf2/opaque-type-lookup.exp
5583         * gdb.dwarf2/pieces-optimized-out.exp
5584         * gdb.dwarf2/pieces.exp
5585         * gdb.dwarf2/pr10770.exp
5586         * gdb.dwarf2/pr13961.exp
5587         * gdb.dwarf2/staticvirtual.exp
5588         * gdb.dwarf2/subrange.exp
5589         * gdb.dwarf2/symtab-producer.exp
5590         * gdb.dwarf2/trace-crash.exp
5591         * gdb.dwarf2/typeddwarf.exp
5592         * gdb.dwarf2/valop.exp
5593         * gdb.dwarf2/watch-notconst.exp
5594         * gdb.fortran/array-element.exp
5595         * gdb.fortran/charset.exp
5596         * gdb.fortran/common-block.exp
5597         * gdb.fortran/complex.exp
5598         * gdb.fortran/derived-type-function.exp
5599         * gdb.fortran/derived-type.exp
5600         * gdb.fortran/logical.exp
5601         * gdb.fortran/module.exp
5602         * gdb.fortran/multi-dim.exp
5603         * gdb.fortran/nested-funcs.exp
5604         * gdb.fortran/print-formatted.exp
5605         * gdb.fortran/subarray.exp
5606         * gdb.fortran/vla-alloc-assoc.exp
5607         * gdb.fortran/vla-datatypes.exp
5608         * gdb.fortran/vla-history.exp
5609         * gdb.fortran/vla-ptr-info.exp
5610         * gdb.fortran/vla-ptype-sub.exp
5611         * gdb.fortran/vla-ptype.exp
5612         * gdb.fortran/vla-sizeof.exp
5613         * gdb.fortran/vla-type.exp
5614         * gdb.fortran/vla-value-sub-arbitrary.exp
5615         * gdb.fortran/vla-value-sub-finish.exp
5616         * gdb.fortran/vla-value-sub.exp
5617         * gdb.fortran/vla-value.exp
5618         * gdb.fortran/whatis_type.exp
5619         * gdb.go/chan.exp
5620         * gdb.go/handcall.exp
5621         * gdb.go/hello.exp
5622         * gdb.go/integers.exp
5623         * gdb.go/methods.exp
5624         * gdb.go/package.exp
5625         * gdb.go/strings.exp
5626         * gdb.go/types.exp
5627         * gdb.go/unsafe.exp
5628         * gdb.guile/scm-arch.exp
5629         * gdb.guile/scm-block.exp
5630         * gdb.guile/scm-breakpoint.exp
5631         * gdb.guile/scm-cmd.exp
5632         * gdb.guile/scm-disasm.exp
5633         * gdb.guile/scm-equal.exp
5634         * gdb.guile/scm-frame-args.exp
5635         * gdb.guile/scm-frame-inline.exp
5636         * gdb.guile/scm-frame.exp
5637         * gdb.guile/scm-iterator.exp
5638         * gdb.guile/scm-math.exp
5639         * gdb.guile/scm-objfile.exp
5640         * gdb.guile/scm-ports.exp
5641         * gdb.guile/scm-symbol.exp
5642         * gdb.guile/scm-symtab.exp
5643         * gdb.guile/scm-value-cc.exp
5644         * gdb.guile/types-module.exp
5645         * gdb.linespec/break-ask.exp
5646         * gdb.linespec/cpexplicit.exp
5647         * gdb.linespec/explicit.exp
5648         * gdb.linespec/keywords.exp
5649         * gdb.linespec/linespec.exp
5650         * gdb.linespec/ls-dollar.exp
5651         * gdb.linespec/ls-errs.exp
5652         * gdb.linespec/skip-two.exp
5653         * gdb.linespec/thread.exp
5654         * gdb.mi/mi-async.exp
5655         * gdb.mi/mi-basics.exp
5656         * gdb.mi/mi-break.exp
5657         * gdb.mi/mi-catch-load.exp
5658         * gdb.mi/mi-cli.exp
5659         * gdb.mi/mi-cmd-param-changed.exp
5660         * gdb.mi/mi-console.exp
5661         * gdb.mi/mi-detach.exp
5662         * gdb.mi/mi-disassemble.exp
5663         * gdb.mi/mi-eval.exp
5664         * gdb.mi/mi-file-transfer.exp
5665         * gdb.mi/mi-file.exp
5666         * gdb.mi/mi-fill-memory.exp
5667         * gdb.mi/mi-inheritance-syntax-error.exp
5668         * gdb.mi/mi-linespec-err-cp.exp
5669         * gdb.mi/mi-logging.exp
5670         * gdb.mi/mi-memory-changed.exp
5671         * gdb.mi/mi-read-memory.exp
5672         * gdb.mi/mi-record-changed.exp
5673         * gdb.mi/mi-reg-undefined.exp
5674         * gdb.mi/mi-regs.exp
5675         * gdb.mi/mi-return.exp
5676         * gdb.mi/mi-reverse.exp
5677         * gdb.mi/mi-simplerun.exp
5678         * gdb.mi/mi-solib.exp
5679         * gdb.mi/mi-stack.exp
5680         * gdb.mi/mi-stepi.exp
5681         * gdb.mi/mi-syn-frame.exp
5682         * gdb.mi/mi-until.exp
5683         * gdb.mi/mi-var-block.exp
5684         * gdb.mi/mi-var-child.exp
5685         * gdb.mi/mi-var-cmd.exp
5686         * gdb.mi/mi-var-cp.exp
5687         * gdb.mi/mi-var-display.exp
5688         * gdb.mi/mi-var-invalidate.exp
5689         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5690         * gdb.mi/mi-vla-fortran.exp
5691         * gdb.mi/mi-watch.exp
5692         * gdb.mi/mi2-var-child.exp
5693         * gdb.mi/user-selected-context-sync.exp
5694         * gdb.modula2/unbounded-array.exp
5695         * gdb.multi/dummy-frame-restore.exp
5696         * gdb.multi/multi-arch-exec.exp
5697         * gdb.multi/multi-arch.exp
5698         * gdb.multi/tids.exp
5699         * gdb.multi/watchpoint-multi.exp
5700         * gdb.opencl/callfuncs.exp
5701         * gdb.opencl/convs_casts.exp
5702         * gdb.opencl/datatypes.exp
5703         * gdb.opencl/operators.exp
5704         * gdb.opencl/vec_comps.exp
5705         * gdb.opt/clobbered-registers-O2.exp
5706         * gdb.opt/inline-break.exp
5707         * gdb.opt/inline-bt.exp
5708         * gdb.opt/inline-cmds.exp
5709         * gdb.opt/inline-locals.exp
5710         * gdb.pascal/case-insensitive-symbols.exp
5711         * gdb.pascal/floats.exp
5712         * gdb.pascal/gdb11492.exp
5713         * gdb.python/lib-types.exp
5714         * gdb.python/py-arch.exp
5715         * gdb.python/py-as-string.exp
5716         * gdb.python/py-bad-printers.exp
5717         * gdb.python/py-block.exp
5718         * gdb.python/py-breakpoint-create-fail.exp
5719         * gdb.python/py-breakpoint.exp
5720         * gdb.python/py-caller-is.exp
5721         * gdb.python/py-cmd.exp
5722         * gdb.python/py-explore-cc.exp
5723         * gdb.python/py-explore.exp
5724         * gdb.python/py-finish-breakpoint.exp
5725         * gdb.python/py-finish-breakpoint2.exp
5726         * gdb.python/py-frame-args.exp
5727         * gdb.python/py-frame-inline.exp
5728         * gdb.python/py-frame.exp
5729         * gdb.python/py-framefilter-mi.exp
5730         * gdb.python/py-infthread.exp
5731         * gdb.python/py-lazy-string.exp
5732         * gdb.python/py-linetable.exp
5733         * gdb.python/py-mi-events.exp
5734         * gdb.python/py-mi-objfile.exp
5735         * gdb.python/py-mi.exp
5736         * gdb.python/py-objfile.exp
5737         * gdb.python/py-pp-integral.exp
5738         * gdb.python/py-pp-maint.exp
5739         * gdb.python/py-pp-re-notag.exp
5740         * gdb.python/py-pp-registration.exp
5741         * gdb.python/py-recurse-unwind.exp
5742         * gdb.python/py-strfns.exp
5743         * gdb.python/py-symbol.exp
5744         * gdb.python/py-symtab.exp
5745         * gdb.python/py-sync-interp.exp
5746         * gdb.python/py-typeprint.exp
5747         * gdb.python/py-unwind-maint.exp
5748         * gdb.python/py-unwind.exp
5749         * gdb.python/py-value-cc.exp
5750         * gdb.python/py-xmethods.exp
5751         * gdb.reverse/amd64-tailcall-reverse.exp
5752         * gdb.reverse/break-precsave.exp
5753         * gdb.reverse/break-reverse.exp
5754         * gdb.reverse/consecutive-precsave.exp
5755         * gdb.reverse/consecutive-reverse.exp
5756         * gdb.reverse/finish-precsave.exp
5757         * gdb.reverse/finish-reverse-bkpt.exp
5758         * gdb.reverse/finish-reverse.exp
5759         * gdb.reverse/fstatat-reverse.exp
5760         * gdb.reverse/getresuid-reverse.exp
5761         * gdb.reverse/i386-precsave.exp
5762         * gdb.reverse/i386-reverse.exp
5763         * gdb.reverse/i386-sse-reverse.exp
5764         * gdb.reverse/i387-env-reverse.exp
5765         * gdb.reverse/i387-stack-reverse.exp
5766         * gdb.reverse/insn-reverse.exp
5767         * gdb.reverse/machinestate-precsave.exp
5768         * gdb.reverse/machinestate.exp
5769         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5770         * gdb.reverse/pipe-reverse.exp
5771         * gdb.reverse/readv-reverse.exp
5772         * gdb.reverse/recvmsg-reverse.exp
5773         * gdb.reverse/rerun-prec.exp
5774         * gdb.reverse/s390-mvcle.exp
5775         * gdb.reverse/step-precsave.exp
5776         * gdb.reverse/step-reverse.exp
5777         * gdb.reverse/time-reverse.exp
5778         * gdb.reverse/until-precsave.exp
5779         * gdb.reverse/until-reverse.exp
5780         * gdb.reverse/waitpid-reverse.exp
5781         * gdb.reverse/watch-precsave.exp
5782         * gdb.reverse/watch-reverse.exp
5783         * gdb.rust/generics.exp
5784         * gdb.rust/methods.exp
5785         * gdb.rust/modules.exp
5786         * gdb.rust/simple.exp
5787         * gdb.server/connect-with-no-symbol-file.exp
5788         * gdb.server/ext-attach.exp
5789         * gdb.server/ext-restart.exp
5790         * gdb.server/ext-wrapper.exp
5791         * gdb.server/file-transfer.exp
5792         * gdb.server/server-exec-info.exp
5793         * gdb.server/server-kill.exp
5794         * gdb.server/server-mon.exp
5795         * gdb.server/wrapper.exp
5796         * gdb.stabs/exclfwd.exp
5797         * gdb.stabs/gdb11479.exp
5798         * gdb.threads/clone-new-thread-event.exp
5799         * gdb.threads/corethreads.exp
5800         * gdb.threads/current-lwp-dead.exp
5801         * gdb.threads/dlopen-libpthread.exp
5802         * gdb.threads/gcore-thread.exp
5803         * gdb.threads/sigstep-threads.exp
5804         * gdb.threads/watchpoint-fork.exp
5805         * gdb.trace/actions-changed.exp
5806         * gdb.trace/backtrace.exp
5807         * gdb.trace/change-loc.exp
5808         * gdb.trace/circ.exp
5809         * gdb.trace/collection.exp
5810         * gdb.trace/disconnected-tracing.exp
5811         * gdb.trace/ftrace.exp
5812         * gdb.trace/mi-trace-frame-collected.exp
5813         * gdb.trace/mi-trace-unavailable.exp
5814         * gdb.trace/mi-traceframe-changed.exp
5815         * gdb.trace/mi-tsv-changed.exp
5816         * gdb.trace/no-attach-trace.exp
5817         * gdb.trace/passc-dyn.exp
5818         * gdb.trace/qtro.exp
5819         * gdb.trace/range-stepping.exp
5820         * gdb.trace/read-memory.exp
5821         * gdb.trace/save-trace.exp
5822         * gdb.trace/signal.exp
5823         * gdb.trace/status-stop.exp
5824         * gdb.trace/tfile.exp
5825         * gdb.trace/trace-break.exp
5826         * gdb.trace/trace-buffer-size.exp
5827         * gdb.trace/trace-condition.exp
5828         * gdb.trace/tracefile-pseudo-reg.exp
5829         * gdb.trace/tstatus.exp
5830         * gdb.trace/unavailable.exp
5831         * gdb.trace/while-dyn.exp
5832         * gdb.trace/while-stepping.exp
5833
5834 2016-12-22  Doug Evans  <xdje42@gmail.com>
5835
5836         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5837         and msymbols.
5838
5839 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5840
5841         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5842         (test_with_self): Don't call do_steps_and_nexts, and remove
5843         code about stepping into xmalloc.
5844
5845 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5846
5847         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5848
5849 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5850
5851         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5852
5853 2016-12-09  Pedro Alves  <palves@redhat.com>
5854
5855         * gdb.base/all-architectures-0.exp: New file.
5856         * gdb.base/all-architectures-1.exp: New file.
5857         * gdb.base/all-architectures-2.exp: New file.
5858         * gdb.base/all-architectures-3.exp: New file.
5859         * gdb.base/all-architectures-4.exp: New file.
5860         * gdb.base/all-architectures-5.exp: New file.
5861         * gdb.base/all-architectures-6.exp: New file.
5862         * gdb.base/all-architectures-7.exp: New file.
5863         * gdb.base/all-architectures.exp.in: New file.
5864
5865 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5866
5867         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5868
5869 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5870
5871         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5872         possible.
5873         Remove useless pattern-matching code.
5874
5875 2016-12-02  Pedro Alves  <palves@redhat.com>
5876
5877         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5878         procedure.
5879         (top level): Call it.
5880
5881 2016-12-02  Pedro Alves  <palves@redhat.com>
5882
5883         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5884         New procedure.
5885         (top level): Call it.
5886
5887 2016-12-02  Pedro Alves  <palves@redhat.com>
5888
5889         PR cli/20559
5890         * gdb.base/commands.exp (user_defined_command_args_eval): New
5891         procedure.
5892         (top level): Call it.
5893
5894 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5895
5896         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5897         timeout handling.
5898
5899 2016-12-02  Tom Tromey  <tom@tromey.com>
5900
5901         * gdb.dwarf2/main-subprogram.c: New file.
5902         * gdb.dwarf2/main-subprogram.exp: New file.
5903
5904 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5905
5906         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5907         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5908         gdb_test_no_output for a couple of cases.
5909         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5910
5911 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5912
5913         Fix test names and standardize compilation error messages throughout
5914         the following files:
5915
5916         * gdb.ada/start.exp
5917         * gdb.arch/alpha-step.exp
5918         * gdb.arch/e500-prologue.exp
5919         * gdb.arch/ftrace-insn-reloc.exp
5920         * gdb.arch/gdb1291.exp
5921         * gdb.arch/gdb1431.exp
5922         * gdb.arch/gdb1558.exp
5923         * gdb.arch/i386-dr3-watch.exp
5924         * gdb.arch/i386-sse-stack-align.exp
5925         * gdb.arch/ia64-breakpoint-shadow.exp
5926         * gdb.arch/pa-nullify.exp
5927         * gdb.arch/powerpc-aix-prologue.exp
5928         * gdb.arch/thumb-bx-pc.exp
5929         * gdb.base/annota1.exp
5930         * gdb.base/annota3.exp
5931         * gdb.base/arrayidx.exp
5932         * gdb.base/assign.exp
5933         * gdb.base/attach.exp
5934         * gdb.base/auxv.exp
5935         * gdb.base/bang.exp
5936         * gdb.base/bfp-test.exp
5937         * gdb.base/bigcore.exp
5938         * gdb.base/bitfields2.exp
5939         * gdb.base/break-fun-addr.exp
5940         * gdb.base/break-probes.exp
5941         * gdb.base/call-rt-st.exp
5942         * gdb.base/callexit.exp
5943         * gdb.base/catch-fork-kill.exp
5944         * gdb.base/charset.exp
5945         * gdb.base/checkpoint.exp
5946         * gdb.base/comprdebug.exp
5947         * gdb.base/constvars.exp
5948         * gdb.base/coredump-filter.exp
5949         * gdb.base/cursal.exp
5950         * gdb.base/cvexpr.exp
5951         * gdb.base/detach.exp
5952         * gdb.base/display.exp
5953         * gdb.base/dmsym.exp
5954         * gdb.base/dprintf-pending.exp
5955         * gdb.base/dso2dso.exp
5956         * gdb.base/dtrace-probe.exp
5957         * gdb.base/dump.exp
5958         * gdb.base/enum_cond.exp
5959         * gdb.base/exe-lock.exp
5960         * gdb.base/exec-invalid-sysroot.exp
5961         * gdb.base/execl-update-breakpoints.exp
5962         * gdb.base/exprs.exp
5963         * gdb.base/fileio.exp
5964         * gdb.base/find.exp
5965         * gdb.base/finish.exp
5966         * gdb.base/fixsection.exp
5967         * gdb.base/foll-vfork.exp
5968         * gdb.base/frame-args.exp
5969         * gdb.base/gcore.exp
5970         * gdb.base/gdb1250.exp
5971         * gdb.base/global-var-nested-by-dso.exp
5972         * gdb.base/gnu-ifunc.exp
5973         * gdb.base/hashline1.exp
5974         * gdb.base/hashline2.exp
5975         * gdb.base/hashline3.exp
5976         * gdb.base/hbreak-in-shr-unsupported.exp
5977         * gdb.base/huge.exp
5978         * gdb.base/infcall-input.exp
5979         * gdb.base/info-fun.exp
5980         * gdb.base/info-shared.exp
5981         * gdb.base/jit-simple.exp
5982         * gdb.base/jit-so.exp
5983         * gdb.base/jit.exp
5984         * gdb.base/jump.exp
5985         * gdb.base/label.exp
5986         * gdb.base/lineinc.exp
5987         * gdb.base/logical.exp
5988         * gdb.base/longjmp.exp
5989         * gdb.base/macscp.exp
5990         * gdb.base/miscexprs.exp
5991         * gdb.base/new-ui-echo.exp
5992         * gdb.base/new-ui-pending-input.exp
5993         * gdb.base/new-ui.exp
5994         * gdb.base/nodebug.exp
5995         * gdb.base/nofield.exp
5996         * gdb.base/offsets.exp
5997         * gdb.base/overlays.exp
5998         * gdb.base/pending.exp
5999         * gdb.base/pointers.exp
6000         * gdb.base/pr11022.exp
6001         * gdb.base/printcmds.exp
6002         * gdb.base/prologue.exp
6003         * gdb.base/ptr-typedef.exp
6004         * gdb.base/realname-expand.exp
6005         * gdb.base/relativedebug.exp
6006         * gdb.base/relocate.exp
6007         * gdb.base/remote.exp
6008         * gdb.base/reread.exp
6009         * gdb.base/return2.exp
6010         * gdb.base/savedregs.exp
6011         * gdb.base/sep.exp
6012         * gdb.base/sepdebug.exp
6013         * gdb.base/sepsymtab.exp
6014         * gdb.base/set-inferior-tty.exp
6015         * gdb.base/setshow.exp
6016         * gdb.base/shlib-call.exp
6017         * gdb.base/sigaltstack.exp
6018         * gdb.base/siginfo-addr.exp
6019         * gdb.base/signals.exp
6020         * gdb.base/signull.exp
6021         * gdb.base/sigrepeat.exp
6022         * gdb.base/so-impl-ld.exp
6023         * gdb.base/solib-display.exp
6024         * gdb.base/solib-overlap.exp
6025         * gdb.base/solib-search.exp
6026         * gdb.base/solib-symbol.exp
6027         * gdb.base/structs.exp
6028         * gdb.base/structs2.exp
6029         * gdb.base/symtab-search-order.exp
6030         * gdb.base/twice.exp
6031         * gdb.base/unload.exp
6032         * gdb.base/varargs.exp
6033         * gdb.base/watchpoint-solib.exp
6034         * gdb.base/watchpoint.exp
6035         * gdb.base/whatis.exp
6036         * gdb.base/wrong_frame_bt_full.exp
6037         * gdb.btrace/dlopen.exp
6038         * gdb.cell/ea-standalone.exp
6039         * gdb.cell/ea-test.exp
6040         * gdb.cp/dispcxx.exp
6041         * gdb.cp/gdb2384.exp
6042         * gdb.cp/method2.exp
6043         * gdb.cp/nextoverthrow.exp
6044         * gdb.cp/pr10728.exp
6045         * gdb.disasm/am33.exp
6046         * gdb.disasm/h8300s.exp
6047         * gdb.disasm/mn10300.exp
6048         * gdb.disasm/sh3.exp
6049         * gdb.dwarf2/dw2-dir-file-name.exp
6050         * gdb.fortran/complex.exp
6051         * gdb.fortran/library-module.exp
6052         * gdb.guile/scm-pretty-print.exp
6053         * gdb.guile/scm-symbol.exp
6054         * gdb.guile/scm-type.exp
6055         * gdb.guile/scm-value.exp
6056         * gdb.linespec/linespec.exp
6057         * gdb.mi/gdb701.exp
6058         * gdb.mi/gdb792.exp
6059         * gdb.mi/mi-breakpoint-changed.exp
6060         * gdb.mi/mi-dprintf-pending.exp
6061         * gdb.mi/mi-dprintf.exp
6062         * gdb.mi/mi-exit-code.exp
6063         * gdb.mi/mi-pending.exp
6064         * gdb.mi/mi-solib.exp
6065         * gdb.mi/new-ui-mi-sync.exp
6066         * gdb.mi/pr11022.exp
6067         * gdb.mi/user-selected-context-sync.exp
6068         * gdb.opt/solib-intra-step.exp
6069         * gdb.python/py-events.exp
6070         * gdb.python/py-finish-breakpoint.exp
6071         * gdb.python/py-mi.exp
6072         * gdb.python/py-prettyprint.exp
6073         * gdb.python/py-shared.exp
6074         * gdb.python/py-symbol.exp
6075         * gdb.python/py-template.exp
6076         * gdb.python/py-type.exp
6077         * gdb.python/py-value.exp
6078         * gdb.reverse/solib-precsave.exp
6079         * gdb.reverse/solib-reverse.exp
6080         * gdb.server/solib-list.exp
6081         * gdb.stabs/weird.exp
6082         * gdb.threads/reconnect-signal.exp
6083         * gdb.threads/stepi-random-signal.exp
6084         * gdb.trace/actions.exp
6085         * gdb.trace/ax.exp
6086         * gdb.trace/backtrace.exp
6087         * gdb.trace/change-loc.exp
6088         * gdb.trace/deltrace.exp
6089         * gdb.trace/ftrace-lock.exp
6090         * gdb.trace/ftrace.exp
6091         * gdb.trace/infotrace.exp
6092         * gdb.trace/mi-tracepoint-changed.exp
6093         * gdb.trace/packetlen.exp
6094         * gdb.trace/passcount.exp
6095         * gdb.trace/pending.exp
6096         * gdb.trace/range-stepping.exp
6097         * gdb.trace/report.exp
6098         * gdb.trace/stap-trace.exp
6099         * gdb.trace/tfind.exp
6100         * gdb.trace/trace-break.exp
6101         * gdb.trace/trace-condition.exp
6102         * gdb.trace/trace-enable-disable.exp
6103         * gdb.trace/trace-mt.exp
6104         * gdb.trace/tracecmd.exp
6105         * gdb.trace/tspeed.exp
6106         * gdb.trace/tsv.exp
6107         * lib/perftest.exp
6108
6109 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6110
6111         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6112         with gdb_test_no_output.
6113         Use command as test name.
6114
6115 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6116
6117         Fix test names starting with uppercase throughout the files.
6118
6119         * gdb.ada/assign_1.exp
6120         * gdb.ada/boolean_expr.exp
6121         * gdb.base/arrayidx.exp
6122         * gdb.base/del.exp
6123         * gdb.base/gcore-buffer-overflow.exp
6124         * gdb.base/testenv.exp
6125         * gdb.compile/compile.exp
6126         * gdb.python/py-framefilter-invalidarg.exp
6127         * gdb.python/py-framefilter.exp
6128
6129 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6130
6131         Fix test names starting with uppercase throughout the files.
6132
6133         * gdb.ada/array_return.exp
6134         * gdb.ada/expr_delims.exp
6135         * gdb.ada/mi_dyn_arr.exp
6136         * gdb.ada/mi_interface.exp
6137         * gdb.ada/mi_var_array.exp
6138         * gdb.ada/watch_arg.exp
6139         * gdb.arch/alpha-step.exp
6140         * gdb.arch/altivec-regs.exp
6141         * gdb.arch/e500-regs.exp
6142         * gdb.arch/powerpc-d128-regs.exp
6143         * gdb.base/arrayidx.exp
6144         * gdb.base/break.exp
6145         * gdb.base/checkpoint.exp
6146         * gdb.base/debug-expr.exp
6147         * gdb.base/dmsym.exp
6148         * gdb.base/radix.exp
6149         * gdb.base/sepdebug.exp
6150         * gdb.base/testenv.exp
6151         * gdb.base/watch_thread_num.exp
6152         * gdb.base/watchpoint-cond-gone.exp
6153         * gdb.cell/break.exp
6154         * gdb.cell/ea-cache.exp
6155         * gdb.compile/compile.exp
6156         * gdb.cp/gdb2495.exp
6157         * gdb.gdb/selftest.exp
6158         * gdb.gdb/xfullpath.exp
6159         * gdb.go/hello.exp
6160         * gdb.go/integers.exp
6161         * gdb.objc/basicclass.exp
6162         * gdb.pascal/hello.exp
6163         * gdb.pascal/integers.exp
6164         * gdb.python/py-breakpoint.exp
6165         * gdb.python/py-cmd.exp
6166         * gdb.python/py-linetable.exp
6167         * gdb.python/py-xmethods.exp
6168         * gdb.python/python.exp
6169         * gdb.reverse/consecutive-precsave.exp
6170         * gdb.reverse/finish-precsave.exp
6171         * gdb.reverse/i386-precsave.exp
6172         * gdb.reverse/machinestate-precsave.exp
6173         * gdb.reverse/sigall-precsave.exp
6174         * gdb.reverse/solib-precsave.exp
6175         * gdb.reverse/step-precsave.exp
6176         * gdb.reverse/until-precsave.exp
6177         * gdb.reverse/watch-precsave.exp
6178         * gdb.threads/leader-exit.exp
6179         * gdb.threads/pthreads.exp
6180         * gdb.threads/wp-replication.exp
6181         * gdb.trace/actions.exp
6182         * gdb.trace/mi-tsv-changed.exp
6183         * gdb.trace/tsv.exp
6184
6185 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6186
6187         Fix test names starting with uppercase throughout the files.
6188
6189         * gdb.arch/i386-bp_permanent.exp
6190         * gdb.arch/i386-gnu-cfi.exp
6191         * gdb.base/disasm-end-cu.exp
6192         * gdb.base/macscp.exp
6193         * gdb.base/pending.exp
6194         * gdb.base/watch_thread_num.exp
6195         * gdb.cp/exception.exp
6196         * gdb.cp/gdb2495.exp
6197         * gdb.cp/local.exp
6198         * gdb.python/py-evsignal.exp
6199         * gdb.python/python.exp
6200         * gdb.trace/tracecmd.exp
6201
6202 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6203
6204         Fix test names starting with uppercase throughout the files.
6205
6206         * gdb.base/charset.exp
6207         * gdb.base/eval.exp
6208         * gdb.base/multi-forks.exp
6209         * gdb.guile/scm-progspace.exp
6210         * gdb.opencl/datatypes.exp
6211         * gdb.python/py-block.exp
6212         * gdb.python/py-function.exp
6213         * gdb.python/py-symbol.exp
6214         * gdb.python/py-symtab.exp
6215         * gdb.python/py-xmethods.exp
6216         * gdb.reverse/break-precsave.exp
6217         * gdb.reverse/break-reverse.exp
6218         * gdb.reverse/consecutive-precsave.exp
6219         * gdb.reverse/consecutive-reverse.exp
6220         * gdb.reverse/finish-precsave.exp
6221         * gdb.reverse/finish-reverse-bkpt.exp
6222         * gdb.reverse/finish-reverse.exp
6223         * gdb.reverse/fstatat-reverse.exp
6224         * gdb.reverse/getresuid-reverse.exp
6225         * gdb.reverse/i386-precsave.exp
6226         * gdb.reverse/i386-reverse.exp
6227         * gdb.reverse/i386-sse-reverse.exp
6228         * gdb.reverse/i387-stack-reverse.exp
6229         * gdb.reverse/insn-reverse.exp
6230         * gdb.reverse/machinestate-precsave.exp
6231         * gdb.reverse/machinestate.exp
6232         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6233         * gdb.reverse/pipe-reverse.exp
6234         * gdb.reverse/readv-reverse.exp
6235         * gdb.reverse/recvmsg-reverse.exp
6236         * gdb.reverse/rerun-prec.exp
6237         * gdb.reverse/s390-mvcle.exp
6238         * gdb.reverse/sigall-precsave.exp
6239         * gdb.reverse/sigall-reverse.exp
6240         * gdb.reverse/solib-precsave.exp
6241         * gdb.reverse/solib-reverse.exp
6242         * gdb.reverse/step-precsave.exp
6243         * gdb.reverse/step-reverse.exp
6244         * gdb.reverse/time-reverse.exp
6245         * gdb.reverse/until-precsave.exp
6246         * gdb.reverse/until-reverse.exp
6247         * gdb.reverse/waitpid-reverse.exp
6248         * gdb.reverse/watch-precsave.exp
6249         * gdb.reverse/watch-reverse.exp
6250
6251 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6252
6253         Fix test names starting with uppercase throughout the files.
6254
6255         * gdb.arch/i386-mpx-simple_segv.exp
6256         * gdb.arch/i386-mpx.exp
6257         * gdb.arch/i386-permbkpt.exp
6258         * gdb.arch/pa-nullify.exp
6259         * gdb.arch/powerpc-d128-regs.exp
6260         * gdb.arch/vsx-regs.exp
6261         * gdb.base/bfp-test.exp
6262         * gdb.base/break.exp
6263         * gdb.base/breakpoint-shadow.exp
6264         * gdb.base/callfuncs.exp
6265         * gdb.base/charset.exp
6266         * gdb.base/commands.exp
6267         * gdb.base/completion.exp
6268         * gdb.base/dfp-test.exp
6269         * gdb.base/echo.exp
6270         * gdb.base/ending-run.exp
6271         * gdb.base/eval.exp
6272         * gdb.base/expand-psymtabs.exp
6273         * gdb.base/float128.exp
6274         * gdb.base/floatn.exp
6275         * gdb.base/foll-exec-mode.exp
6276         * gdb.base/gdb1056.exp
6277         * gdb.base/gdb11531.exp
6278         * gdb.base/kill-after-signal.exp
6279         * gdb.base/multi-forks.exp
6280         * gdb.base/overlays.exp
6281         * gdb.base/pending.exp
6282         * gdb.base/sepdebug.exp
6283         * gdb.base/testenv.exp
6284         * gdb.base/valgrind-db-attach.exp
6285         * gdb.base/watch_thread_num.exp
6286         * gdb.base/watchpoint-cond-gone.exp
6287         * gdb.base/watchpoint.exp
6288         * gdb.base/watchpoints.exp
6289         * gdb.cp/arg-reference.exp
6290         * gdb.cp/baseenum.exp
6291         * gdb.cp/operator.exp
6292         * gdb.cp/shadow.exp
6293         * gdb.dwarf2/dw2-op-out-param.exp
6294         * gdb.dwarf2/dw2-reg-undefined.exp
6295         * gdb.go/chan.exp
6296         * gdb.go/hello.exp
6297         * gdb.go/integers.exp
6298         * gdb.go/methods.exp
6299         * gdb.go/package.exp
6300         * gdb.guile/scm-parameter.exp
6301         * gdb.guile/scm-progspace.exp
6302         * gdb.guile/scm-value.exp
6303         * gdb.mi/mi-pending.exp
6304         * gdb.mi/user-selected-context-sync.exp
6305         * gdb.multi/multi-attach.exp
6306         * gdb.multi/tids.exp
6307         * gdb.opt/clobbered-registers-O2.exp
6308         * gdb.pascal/floats.exp
6309         * gdb.pascal/integers.exp
6310         * gdb.python/py-block.exp
6311         * gdb.python/py-events.exp
6312         * gdb.python/py-parameter.exp
6313         * gdb.python/py-symbol.exp
6314         * gdb.python/py-symtab.exp
6315         * gdb.python/py-type.exp
6316         * gdb.python/py-value.exp
6317         * gdb.python/py-xmethods.exp
6318         * gdb.python/python.exp
6319         * gdb.reverse/break-precsave.exp
6320         * gdb.reverse/consecutive-precsave.exp
6321         * gdb.reverse/finish-precsave.exp
6322         * gdb.reverse/i386-precsave.exp
6323         * gdb.reverse/machinestate-precsave.exp
6324         * gdb.reverse/sigall-precsave.exp
6325         * gdb.reverse/solib-precsave.exp
6326         * gdb.reverse/step-precsave.exp
6327         * gdb.reverse/until-precsave.exp
6328         * gdb.reverse/watch-precsave.exp
6329         * gdb.server/ext-attach.exp
6330         * gdb.server/ext-restart.exp
6331         * gdb.server/ext-run.exp
6332         * gdb.server/ext-wrapper.exp
6333         * gdb.stabs/gdb11479.exp
6334         * gdb.stabs/weird.exp
6335         * gdb.threads/attach-many-short-lived-threads.exp
6336         * gdb.threads/kill.exp
6337         * gdb.threads/watchpoint-fork.exp
6338
6339 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
6340
6341         Fix test names starting with uppercase throughout all the files below.
6342
6343         * gdb.ada/array_return.exp
6344         * gdb.ada/catch_ex.exp
6345         * gdb.ada/info_exc.exp
6346         * gdb.ada/mi_catch_ex.exp
6347         * gdb.ada/mi_dyn_arr.exp
6348         * gdb.ada/mi_ex_cond.exp
6349         * gdb.ada/mi_exc_info.exp
6350         * gdb.ada/mi_interface.exp
6351         * gdb.ada/mi_task_arg.exp
6352         * gdb.ada/mi_task_info.exp
6353         * gdb.ada/mi_var_array.exp
6354         * gdb.arch/alpha-step.exp
6355         * gdb.arch/amd64-disp-step.exp
6356         * gdb.arch/arm-disp-step.exp
6357         * gdb.arch/disp-step-insn-reloc.exp
6358         * gdb.arch/e500-prologue.exp
6359         * gdb.arch/ftrace-insn-reloc.exp
6360         * gdb.arch/gdb1558.exp
6361         * gdb.arch/i386-bp_permanent.exp
6362         * gdb.arch/i386-disp-step.exp
6363         * gdb.arch/i386-float.exp
6364         * gdb.arch/i386-gnu-cfi.exp
6365         * gdb.arch/ia64-breakpoint-shadow.exp
6366         * gdb.arch/mips16-thunks.exp
6367         * gdb.arch/pa-nullify.exp
6368         * gdb.arch/powerpc-aix-prologue.exp
6369         * gdb.arch/powerpc-power.exp
6370         * gdb.arch/ppc-dfp.exp
6371         * gdb.arch/s390-tdbregs.exp
6372         * gdb.arch/spu-info.exp
6373         * gdb.arch/spu-ls.exp
6374         * gdb.arch/thumb-bx-pc.exp
6375         * gdb.base/advance.exp
6376         * gdb.base/annota-input-while-running.exp
6377         * gdb.base/arrayidx.exp
6378         * gdb.base/asmlabel.exp
6379         * gdb.base/async.exp
6380         * gdb.base/attach-wait-input.exp
6381         * gdb.base/auto-connect-native-target.exp
6382         * gdb.base/batch-preserve-term-settings.exp
6383         * gdb.base/bfp-test.exp
6384         * gdb.base/bigcore.exp
6385         * gdb.base/bp-permanent.exp
6386         * gdb.base/break-always.exp
6387         * gdb.base/break-fun-addr.exp
6388         * gdb.base/break-idempotent.exp
6389         * gdb.base/break-main-file-remove-fail.exp
6390         * gdb.base/break-probes.exp
6391         * gdb.base/break-unload-file.exp
6392         * gdb.base/break.exp
6393         * gdb.base/call-ar-st.exp
6394         * gdb.base/call-rt-st.exp
6395         * gdb.base/call-sc.exp
6396         * gdb.base/call-signal-resume.exp
6397         * gdb.base/call-strs.exp
6398         * gdb.base/callexit.exp
6399         * gdb.base/callfuncs.exp
6400         * gdb.base/catch-gdb-caused-signals.exp
6401         * gdb.base/catch-signal-siginfo-cond.exp
6402         * gdb.base/catch-syscall.exp
6403         * gdb.base/compare-sections.exp
6404         * gdb.base/cond-eval-mode.exp
6405         * gdb.base/condbreak-call-false.exp
6406         * gdb.base/consecutive-step-over.exp
6407         * gdb.base/cursal.exp
6408         * gdb.base/disabled-location.exp
6409         * gdb.base/disasm-end-cu.exp
6410         * gdb.base/display.exp
6411         * gdb.base/double-prompt-target-event-error.exp
6412         * gdb.base/dprintf-bp-same-addr.exp
6413         * gdb.base/dprintf-detach.exp
6414         * gdb.base/dprintf-next.exp
6415         * gdb.base/dprintf-non-stop.exp
6416         * gdb.base/dprintf-pending.exp
6417         * gdb.base/dso2dso.exp
6418         * gdb.base/ending-run.exp
6419         * gdb.base/enum_cond.exp
6420         * gdb.base/examine-backward.exp
6421         * gdb.base/exe-lock.exp
6422         * gdb.base/exec-invalid-sysroot.exp
6423         * gdb.base/execl-update-breakpoints.exp
6424         * gdb.base/execution-termios.exp
6425         * gdb.base/fileio.exp
6426         * gdb.base/fixsection.exp
6427         * gdb.base/foll-exec-mode.exp
6428         * gdb.base/foll-exec.exp
6429         * gdb.base/fork-running-state.exp
6430         * gdb.base/frame-args.exp
6431         * gdb.base/fullpath-expand.exp
6432         * gdb.base/func-ptr.exp
6433         * gdb.base/gcore-relro-pie.exp
6434         * gdb.base/gdb1090.exp
6435         * gdb.base/gdb1555.exp
6436         * gdb.base/global-var-nested-by-dso.exp
6437         * gdb.base/gnu-ifunc.exp
6438         * gdb.base/hbreak-in-shr-unsupported.exp
6439         * gdb.base/hbreak-unmapped.exp
6440         * gdb.base/hook-stop.exp
6441         * gdb.base/infcall-input.exp
6442         * gdb.base/info-fun.exp
6443         * gdb.base/info-shared.exp
6444         * gdb.base/interrupt-noterm.exp
6445         * gdb.base/jit-so.exp
6446         * gdb.base/jit.exp
6447         * gdb.base/line-symtabs.exp
6448         * gdb.base/list.exp
6449         * gdb.base/longjmp.exp
6450         * gdb.base/macscp.exp
6451         * gdb.base/max-value-size.exp
6452         * gdb.base/nodebug.exp
6453         * gdb.base/nofield.exp
6454         * gdb.base/overlays.exp
6455         * gdb.base/paginate-after-ctrl-c-running.exp
6456         * gdb.base/paginate-bg-execution.exp
6457         * gdb.base/paginate-inferior-exit.exp
6458         * gdb.base/pending.exp
6459         * gdb.base/pr11022.exp
6460         * gdb.base/printcmds.exp
6461         * gdb.base/ptr-typedef.exp
6462         * gdb.base/ptype.exp
6463         * gdb.base/randomize.exp
6464         * gdb.base/range-stepping.exp
6465         * gdb.base/realname-expand.exp
6466         * gdb.base/relativedebug.exp
6467         * gdb.base/remote.exp
6468         * gdb.base/savedregs.exp
6469         * gdb.base/sepdebug.exp
6470         * gdb.base/set-noassign.exp
6471         * gdb.base/shlib-call.exp
6472         * gdb.base/shreloc.exp
6473         * gdb.base/sigaltstack.exp
6474         * gdb.base/sigbpt.exp
6475         * gdb.base/siginfo-addr.exp
6476         * gdb.base/siginfo-obj.exp
6477         * gdb.base/siginfo-thread.exp
6478         * gdb.base/signest.exp
6479         * gdb.base/signull.exp
6480         * gdb.base/sigrepeat.exp
6481         * gdb.base/skip.exp
6482         * gdb.base/so-impl-ld.exp
6483         * gdb.base/solib-corrupted.exp
6484         * gdb.base/solib-disc.exp
6485         * gdb.base/solib-display.exp
6486         * gdb.base/solib-overlap.exp
6487         * gdb.base/solib-search.exp
6488         * gdb.base/solib-symbol.exp
6489         * gdb.base/source-execution.exp
6490         * gdb.base/sss-bp-on-user-bp-2.exp
6491         * gdb.base/sss-bp-on-user-bp.exp
6492         * gdb.base/stack-checking.exp
6493         * gdb.base/stale-infcall.exp
6494         * gdb.base/step-break.exp
6495         * gdb.base/step-line.exp
6496         * gdb.base/step-over-exit.exp
6497         * gdb.base/step-test.exp
6498         * gdb.base/structs.exp
6499         * gdb.base/sym-file.exp
6500         * gdb.base/symtab-search-order.exp
6501         * gdb.base/term.exp
6502         * gdb.base/type-opaque.exp
6503         * gdb.base/unload.exp
6504         * gdb.base/until-nodebug.exp
6505         * gdb.base/until.exp
6506         * gdb.base/unwindonsignal.exp
6507         * gdb.base/watch-cond.exp
6508         * gdb.base/watch-non-mem.exp
6509         * gdb.base/watch_thread_num.exp
6510         * gdb.base/watchpoint-reuse-slot.exp
6511         * gdb.base/watchpoint-solib.exp
6512         * gdb.base/watchpoint.exp
6513         * gdb.btrace/dlopen.exp
6514         * gdb.cell/arch.exp
6515         * gdb.cell/break.exp
6516         * gdb.cell/bt.exp
6517         * gdb.cell/core.exp
6518         * gdb.cell/data.exp
6519         * gdb.cell/dwarfaddr.exp
6520         * gdb.cell/ea-cache.exp
6521         * gdb.cell/ea-standalone.exp
6522         * gdb.cell/ea-test.exp
6523         * gdb.cell/f-regs.exp
6524         * gdb.cell/fork.exp
6525         * gdb.cell/gcore.exp
6526         * gdb.cell/mem-access.exp
6527         * gdb.cell/ptype.exp
6528         * gdb.cell/registers.exp
6529         * gdb.cell/sizeof.exp
6530         * gdb.cell/solib-symbol.exp
6531         * gdb.cell/solib.exp
6532         * gdb.compile/compile-tls.exp
6533         * gdb.cp/exception.exp
6534         * gdb.cp/gdb2495.exp
6535         * gdb.cp/local.exp
6536         * gdb.cp/mb-inline.exp
6537         * gdb.cp/mb-templates.exp
6538         * gdb.cp/pr10687.exp
6539         * gdb.cp/pr9167.exp
6540         * gdb.cp/scope-err.exp
6541         * gdb.cp/templates.exp
6542         * gdb.cp/virtfunc.exp
6543         * gdb.dwarf2/dw2-dir-file-name.exp
6544         * gdb.dwarf2/dw2-single-line-discriminators.exp
6545         * gdb.fortran/complex.exp
6546         * gdb.fortran/library-module.exp
6547         * gdb.guile/guile.exp
6548         * gdb.guile/scm-cmd.exp
6549         * gdb.guile/scm-frame-inline.exp
6550         * gdb.guile/scm-objfile.exp
6551         * gdb.guile/scm-pretty-print.exp
6552         * gdb.guile/scm-symbol.exp
6553         * gdb.guile/scm-type.exp
6554         * gdb.guile/scm-value.exp
6555         * gdb.linespec/keywords.exp
6556         * gdb.linespec/ls-errs.exp
6557         * gdb.linespec/macro-relative.exp
6558         * gdb.linespec/thread.exp
6559         * gdb.mi/mi-breakpoint-changed.exp
6560         * gdb.mi/mi-dprintf-pending.exp
6561         * gdb.mi/mi-fullname-deleted.exp
6562         * gdb.mi/mi-logging.exp
6563         * gdb.mi/mi-pending.exp
6564         * gdb.mi/mi-solib.exp
6565         * gdb.mi/new-ui-mi-sync.exp
6566         * gdb.mi/user-selected-context-sync.exp
6567         * gdb.multi/dummy-frame-restore.exp
6568         * gdb.multi/multi-arch-exec.exp
6569         * gdb.multi/remove-inferiors.exp
6570         * gdb.multi/watchpoint-multi-exit.exp
6571         * gdb.opt/solib-intra-step.exp
6572         * gdb.perf/backtrace.exp
6573         * gdb.perf/single-step.exp
6574         * gdb.perf/skip-command.exp
6575         * gdb.perf/skip-prologue.exp
6576         * gdb.perf/solib.exp
6577         * gdb.python/lib-types.exp
6578         * gdb.python/py-as-string.exp
6579         * gdb.python/py-bad-printers.exp
6580         * gdb.python/py-block.exp
6581         * gdb.python/py-breakpoint.exp
6582         * gdb.python/py-cmd.exp
6583         * gdb.python/py-events.exp
6584         * gdb.python/py-evthreads.exp
6585         * gdb.python/py-finish-breakpoint.exp
6586         * gdb.python/py-finish-breakpoint2.exp
6587         * gdb.python/py-frame-inline.exp
6588         * gdb.python/py-frame.exp
6589         * gdb.python/py-inferior.exp
6590         * gdb.python/py-infthread.exp
6591         * gdb.python/py-mi.exp
6592         * gdb.python/py-objfile.exp
6593         * gdb.python/py-pp-maint.exp
6594         * gdb.python/py-pp-registration.exp
6595         * gdb.python/py-prettyprint.exp
6596         * gdb.python/py-recurse-unwind.exp
6597         * gdb.python/py-shared.exp
6598         * gdb.python/py-symbol.exp
6599         * gdb.python/py-symtab.exp
6600         * gdb.python/py-template.exp
6601         * gdb.python/py-type.exp
6602         * gdb.python/py-unwind-maint.exp
6603         * gdb.python/py-unwind.exp
6604         * gdb.python/py-value.exp
6605         * gdb.python/python.exp
6606         * gdb.reverse/finish-reverse-bkpt.exp
6607         * gdb.reverse/insn-reverse.exp
6608         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6609         * gdb.reverse/solib-precsave.exp
6610         * gdb.reverse/solib-reverse.exp
6611         * gdb.stabs/gdb11479.exp
6612         * gdb.stabs/weird.exp
6613         * gdb.threads/fork-child-threads.exp
6614         * gdb.threads/fork-plus-threads.exp
6615         * gdb.threads/fork-thread-pending.exp
6616         * gdb.threads/forking-threads-plus-breakpoint.exp
6617         * gdb.threads/hand-call-in-threads.exp
6618         * gdb.threads/interrupted-hand-call.exp
6619         * gdb.threads/linux-dp.exp
6620         * gdb.threads/local-watch-wrong-thread.exp
6621         * gdb.threads/next-while-other-thread-longjmps.exp
6622         * gdb.threads/non-ldr-exit.exp
6623         * gdb.threads/pending-step.exp
6624         * gdb.threads/print-threads.exp
6625         * gdb.threads/process-dies-while-detaching.exp
6626         * gdb.threads/process-dies-while-handling-bp.exp
6627         * gdb.threads/pthreads.exp
6628         * gdb.threads/queue-signal.exp
6629         * gdb.threads/reconnect-signal.exp
6630         * gdb.threads/signal-command-handle-nopass.exp
6631         * gdb.threads/signal-command-multiple-signals-pending.exp
6632         * gdb.threads/signal-delivered-right-thread.exp
6633         * gdb.threads/signal-sigtrap.exp
6634         * gdb.threads/sigthread.exp
6635         * gdb.threads/staticthreads.exp
6636         * gdb.threads/stepi-random-signal.exp
6637         * gdb.threads/thread-unwindonsignal.exp
6638         * gdb.threads/thread_check.exp
6639         * gdb.threads/thread_events.exp
6640         * gdb.threads/tid-reuse.exp
6641         * gdb.threads/tls-nodebug.exp
6642         * gdb.threads/tls-shared.exp
6643         * gdb.threads/tls-so_extern.exp
6644         * gdb.threads/tls.exp
6645         * gdb.threads/wp-replication.exp
6646         * gdb.trace/actions-changed.exp
6647         * gdb.trace/actions.exp
6648         * gdb.trace/backtrace.exp
6649         * gdb.trace/change-loc.exp
6650         * gdb.trace/collection.exp
6651         * gdb.trace/deltrace.exp
6652         * gdb.trace/disconnected-tracing.exp
6653         * gdb.trace/entry-values.exp
6654         * gdb.trace/ftrace-lock.exp
6655         * gdb.trace/ftrace.exp
6656         * gdb.trace/infotrace.exp
6657         * gdb.trace/mi-trace-frame-collected.exp
6658         * gdb.trace/mi-trace-unavailable.exp
6659         * gdb.trace/mi-traceframe-changed.exp
6660         * gdb.trace/mi-tracepoint-changed.exp
6661         * gdb.trace/mi-tsv-changed.exp
6662         * gdb.trace/no-attach-trace.exp
6663         * gdb.trace/packetlen.exp
6664         * gdb.trace/passc-dyn.exp
6665         * gdb.trace/passcount.exp
6666         * gdb.trace/pending.exp
6667         * gdb.trace/pr16508.exp
6668         * gdb.trace/qtro.exp
6669         * gdb.trace/range-stepping.exp
6670         * gdb.trace/read-memory.exp
6671         * gdb.trace/report.exp
6672         * gdb.trace/save-trace.exp
6673         * gdb.trace/signal.exp
6674         * gdb.trace/stap-trace.exp
6675         * gdb.trace/status-stop.exp
6676         * gdb.trace/strace.exp
6677         * gdb.trace/tfile.exp
6678         * gdb.trace/tfind.exp
6679         * gdb.trace/trace-break.exp
6680         * gdb.trace/trace-condition.exp
6681         * gdb.trace/trace-enable-disable.exp
6682         * gdb.trace/trace-mt.exp
6683         * gdb.trace/tracecmd.exp
6684         * gdb.trace/tracefile-pseudo-reg.exp
6685         * gdb.trace/tspeed.exp
6686         * gdb.trace/tstatus.exp
6687         * gdb.trace/tsv.exp
6688         * gdb.trace/unavailable.exp
6689         * gdb.trace/while-dyn.exp
6690         * gdb.trace/while-stepping.exp
6691         * lib/gdb-guile.exp
6692         * lib/gdb.exp
6693         * lib/mi-support.exp
6694         * lib/pascal.exp
6695         * lib/perftest.exp
6696         * lib/prelink-support.exp
6697         * lib/selftest-support.exp
6698
6699 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6700
6701         * Makefile.in: Include disable-implicit-rules.mk.
6702
6703 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6704
6705         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6706         non-byte-aligned bit fields.
6707
6708 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6709
6710         PR gdb/12616
6711         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6712         respects the DW_AT_data_bit_offset attribute.
6713
6714 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6715
6716         * gdb.base/default.exp: Fix output of "set language".
6717
6718 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6719
6720         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6721         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6722         make.
6723         * configure.ac: Remove checks for the make program.
6724         * configure: Re-generate.
6725
6726 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6727
6728         * gdb.python/py-recurse-unwind.c (main): Add loop.
6729         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6730         to read_register() and gdb.parse_and_eval().  Make each code
6731         call a separate case that can be individually tested.
6732         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6733         proc. Call cont_and_backtrace for each of the code paths that
6734         we want to test in the unwinder.
6735
6736 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6737
6738         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6739         the definition of struct S.
6740
6741 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6742
6743         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6744
6745 2016-11-09  Pedro Alves  <palves@redhat.com>
6746
6747         * gdb.base/commands.exp (runto_or_return): New procedure.
6748         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6749         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6750         (progvar_simple_while_test, progvar_complex_if_while_test)
6751         (if_while_breakpoint_command_test)
6752         (infrun_breakpoint_command_test, breakpoint_command_test)
6753         (user_defined_command_test, watchpoint_command_test)
6754         (test_command_prompt_position, redefine_hook_test)
6755         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6756         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6757         multi_line_input and multi_line.  Remove gdb_expect and
6758         gdb_stop_suppressing_tests uses.
6759         * lib/gdb.exp (valnum_re): New global.
6760         (multi_line_input): New procedure.
6761
6762 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6763
6764         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6765         Remove.
6766         (test_setup): Define with proc_with_prefix.
6767         (test_cli_inferior): Likewise.
6768         (test_cli_thread): Likewise.
6769         (test_cli_frame): Likewise.
6770         (test_cli_select_frame): Likewise.
6771         (test_cli_up_down): Likewise.
6772         (test_mi_thread_select): Likewise.
6773         (test_mi_stack_select_frame): Likewise.
6774         (test_cli_in_mi_inferior): Likewise.
6775         (test_cli_in_mi_thread): Likewise.
6776         (test_cli_in_mi_frame): Likewise.
6777         (top level): Do not use with_test_prefix_procname.
6778
6779 2016-11-09  Pedro Alves  <palves@redhat.com>
6780
6781         * gdb.base/commands.exp (gdbvar_simple_if_test)
6782         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6783         (progvar_simple_if_test, progvar_simple_while_test)
6784         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6785         (infrun_breakpoint_command_test, breakpoint_command_test)
6786         (user_defined_command_test, watchpoint_command_test)
6787         (test_command_prompt_position, deprecated_command_test)
6788         (bp_deleted_in_command, temporary_breakpoint_commands)
6789         (stray_arg0_test, source_file_with_indented_comment)
6790         (recursive_source_test, if_commands_test)
6791         (error_clears_commands_left, redefine_hook_test)
6792         (redefine_backtrace_test): Use proc_with_prefix.
6793         * lib/gdb.exp (proc_with_prefix): New proc.
6794
6795 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6796
6797         * gdb.base/tui-layout.c: New file.
6798         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6799         disassembly window contains very long lines.
6800
6801 2016-11-08  Tom Tromey  <tom@tromey.com>
6802
6803         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6804         depend on Python 2.
6805
6806 2016-11-08  Tom Tromey  <tom@tromey.com>
6807
6808         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6809         New method.
6810
6811 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6812
6813         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6814
6815 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6816
6817         * gdb.rust/simple.rs: Add test for univariant enums without
6818         discriminants and for encoded struct-like enums.
6819
6820 2016-10-28  Pedro Alves  <palves@redhat.com>
6821
6822         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6823         gdb_test_multiple, tighten regexps and match symtabs and line
6824         tables incrementally.
6825
6826 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6827
6828         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6829         general.
6830
6831 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6832
6833         * gdb.base/exec-invalid-sysroot.exp: New file.
6834
6835 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6836
6837         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6838
6839 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6840
6841         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6842
6843 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6844
6845         * gdb.base/killed-outside.exp: Remove $options from a call to
6846         `prepare_for_testing'.
6847
6848 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6849
6850         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6851         Change test message.
6852
6853 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6854
6855         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6856         Update comment.
6857
6858 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6859
6860         * gdb.trace/mi-trace-save.exp: New file.
6861
6862 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6863
6864         * gdb.base/code_elim.exp (get_var_address): Remove.
6865         * gdb.base/relocate.exp: Likewise.
6866         * gdb.base/shreloc.exp: Likewise.
6867         * lib/gdb.exp (get_var_address): New.
6868
6869 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6870
6871         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6872         floating point tests if $skip_float_test is false.
6873
6874 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6875
6876         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6877         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6878         argc values.
6879         Add 1 to argc so we guarantee distinct initial/modified argc values.
6880
6881 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6882
6883         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6884
6885 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6886
6887         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6888         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6889         * gdb.arch/vsx-regs.exp: Likewise.
6890
6891 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6892
6893         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6894
6895 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6896
6897         * gdb.python/python.exp: Test decode_line("*0").
6898
6899 2016-10-06  Doug Evans  <dje@google.com>
6900
6901         * gdb.python/py-value.exp (test_value_creation): Add test for large
6902         unsigned 64-bit value.
6903
6904 2016-10-06  Tom Tromey  <tom@tromey.com>
6905
6906         * gdb.compile/compile.exp: Change java tests to rust.
6907         * gdb.base/setshow.exp: Change java tests to rust.
6908         * gdb.base/default.exp: Remove java from language list.
6909         * README (Examples): Update language example.
6910         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6911         test.
6912         * lib/gdb.exp (skip_java_tests): Remove.
6913         * lib/java.exp: Remove.
6914         * gdb.java: Remove.
6915
6916 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6917
6918         * gdb.arch/mips-fcr.exp: New test.
6919         * gdb.arch/mips-fcr.c: Source for the new test.
6920
6921 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6922
6923         * gdb.base/solib-disc.exp: Use `standard_output_file'
6924         throughout.
6925
6926 2016-10-06  Pedro Alves  <palves@redhat.com>
6927
6928         * gdb.base/jit-simple-dl.c: New file.
6929         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6930         * gdb.base/jit-simple.c: ... this.
6931         * gdb.base/jit-simple.exp (jit_run): Delete.
6932         (build_jit): New proc.
6933         (jit_test_reread): Recompile either the main program or the shared
6934         library, depending on what is being tested.  Skip changing address
6935         if caller wants to.  Compare before/after addresses.  If testing
6936         standalone, explicitly load the binary.  Test "maint info
6937         breakpoints".
6938         (top level): Add "standalone vs shared lib" and "change address"
6939         vs "same address" axes.
6940
6941 2016-10-06  Pedro Alves  <palves@redhat.com>
6942
6943         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6944         call.
6945         (jit_run): Delete.
6946         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6947         explicitly.  Compare the before/after addresses of the JIT
6948         descriptor.
6949
6950 2016-08-15  Doug Evans  <dje@google.com>
6951
6952         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6953         for single bitfields is bool.
6954         * gdb.xml/tdesc-regs.exp: Ditto.
6955
6956 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6957
6958         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6959
6960 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6961
6962         * lib/gdb.exp (support_complex_tests): Return zero if
6963         gdb_skip_float_test return true.
6964
6965 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6966             Simon Marchi  <simon.marchi@ericsson.com>
6967
6968         PR gdb/20487
6969         * gdb.mi/user-selected-context-sync.exp: New file.
6970         * gdb.mi/user-selected-context-sync.c: New file.
6971
6972 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6973             Simon Marchi  <simon.marchi@ericsson.com>
6974
6975         PR gdb/20487
6976         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6977         =thread-select-event check.
6978
6979 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6980
6981         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6982         the compulsory L operand changes.
6983         * gdb.arch/powerpc-power.s: Likewise.
6984
6985 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6986
6987         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6988         * gdb.base/jit-attach-pie.c: New file.
6989         * gdb.base/jit-attach-pie.exp: New file.
6990
6991 2016-09-28  Pedro Alves  <palves@redhat.com>
6992
6993         * gdb.base/infcall-input.c: New file.
6994         * gdb.base/infcall-input.exp: New file.
6995
6996 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6997
6998         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6999         (gdb_exit): Rename it to ...
7000         (gdbserver_gdb_exit): ...  Close GDBserver.
7001         (gdb_exit): New proc, call gdbserver_gdb_exit.
7002         (mi_gdb_exit): Likewise.
7003
7004 2016-09-22  Yao Qi  <yao.qi@linaro.org>
7005
7006         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7007         path.
7008         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7009         Remove duplication.
7010
7011 2016-09-22  Yao Qi  <yao.qi@linaro.org>
7012
7013         * lib/gdbserver-support.exp: Check the existence of
7014         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7015
7016 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
7017
7018         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7019
7020 2016-09-21  Tom Tromey  <tom@tromey.com>
7021
7022         PR gdb/20604:
7023         * gdb.base/quit.exp: New file.
7024
7025 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
7026
7027         * .gitignore: New file.
7028
7029 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
7030
7031         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7032         throughout.
7033
7034 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7035
7036         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7037
7038 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7039
7040         * gdb.cp/casts.cc (decltype): Move it ...
7041         (main): ... with its call to ...
7042         * gdb.cp/casts03.cc: ... a new file.
7043         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7044
7045 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7046
7047         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7048
7049 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
7050
7051         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7052         and sync up the test with tests in gas/testsuite/gas/ppc.
7053         * gdb.arch/powerpc-power.exp: Likewise.
7054
7055 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7056
7057         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7058
7059 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
7060             Jan Kratochvil  <jan.kratochvil@redhat.com>
7061
7062         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7063         make m1's definition to be different from m2's.  Use 'dummy' as an
7064         argument for probe 'two'.
7065
7066 2016-09-10  Jon Beniston  <jon@beniston.com>
7067
7068         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7069         for sim target.
7070
7071 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7072
7073         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7074         variable declaration.
7075         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
7076         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7077         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7078         received HWCAP as its argument.
7079
7080 2016-09-06  Pedro Alves  <palves@redhat.com>
7081
7082         * gdb.base/new-ui-pending-input.c: New file.
7083         * gdb.base/new-ui-pending-input.exp: New file.
7084         * gdb.exp (clear_gdb_spawn_id): New procedure.
7085         (with_spawn_id): Check whether gdb_spawn_id exists before
7086         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
7087         on exit.
7088
7089 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
7090
7091         * gdb.base/float128.c: New file.
7092         * gdb.base/float128.exp: Likewise.
7093         * gdb.base/floatn.c: Likewise.
7094         * gdb.base/floatn.exp: Likewise.
7095
7096 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
7097
7098         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7099
7100 2016-09-05  Pedro Alves  <palves@redhat.com>
7101
7102         PR backtrace/19927
7103         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7104         unwinders are immediately called as side effect of "source" or
7105         "disable unwinder" commands.
7106         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7107
7108 2016-09-02  Yao Qi  <yao.qi@linaro.org>
7109
7110         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7111         is true and $type is "float" or "double".
7112
7113 2016-09-02  Yao Qi  <yao.qi@linaro.org>
7114
7115         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7116         true.
7117         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7118         * gdb.base/call-rt-st.exp: Likewise.
7119         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7120         return value instead of gdb,skip_float_test.
7121         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7122         (do_function_calls): Use its return value instead of
7123         gdb,skip_float_test.
7124         * gdb.base/finish.exp: Likewise.
7125         * gdb.base/funcargs.exp: Likewise.
7126         * gdb.base/return.exp: Likewise.
7127         * gdb.base/return2.exp: Likewise.
7128         * gdb.base/varargs.exp: Likewise.
7129         * lib/gdb.exp (gdb_skip_float_test): Change it to
7130         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
7131
7132 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7133
7134         * gdb.multi/tids.exp: Test "thread apply all".
7135
7136 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7137
7138         * gdb.base/default.exp (tty): Remove.
7139
7140 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
7141
7142         * gdb.python/py-recurse-unwind.c: New file.
7143         * gdb.python/py-recurse-unwind.py: New file.
7144         * gdb.python/py-recurse-unwind.exp: New file.
7145
7146 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
7147
7148         * gdb.base/set-inferior-tty.exp: New file.
7149         * gdb.base/set-inferior-tty.c: New file.
7150
7151 2016-08-23  Pedro Alves  <palves@redhat.com>
7152
7153         PR gdb/20494
7154         * gdb.base/new-ui-echo.c: New file.
7155         * gdb.base/new-ui-echo.exp: New file.
7156
7157 2016-08-23  Yao Qi  <yao.qi@linaro.org>
7158
7159         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7160         gdbserver_spawn.
7161         * gdb.server/connect-without-multi-process.exp (do_test):
7162         Likewise.
7163
7164 2016-08-23  Yao Qi  <yao.qi@linaro.org>
7165
7166         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7167         standalone_txt.  Delete gdb_txt and standalone_txt on host
7168         and target.  Spawn the binary on target.  Copy files from
7169         target to host.
7170
7171 2016-08-22  Pedro Alves  <palves@redhat.com>
7172
7173         PR gdb/20505
7174         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
7175         with_test_prefix.  Factor out bits to ...
7176         (test_no_vdso): ... this new procedure.
7177
7178 2016-08-19  Carl Love  <cel@us.ibm.com>
7179
7180         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7181         maintaining separate logic for constructing the output path.
7182         * gdb.arch/powerpc-d128-regs.exp: Likewise.
7183         * gdb.arch/ppc-dfp.exp: Likewise.
7184         * gdb.arch/ppc-fp.exp: Likewise.
7185         * gdb.arch/vsx-regs.exp: Likewise.
7186         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7187         binprefix for generating the additional binary files.
7188
7189 2016-08-19  Pedro Alves  <palves@redhat.com>
7190
7191         * gdb.trace/mi-trace-frame-collected.exp
7192         (test_trace_frame_collected): On x32, expect two registers.
7193
7194 2016-08-18  Carl Love  <cel@us.ibm.com>
7195
7196         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7197         and sync up the test with tests in gas/testsuite/gas/ppc.
7198         * gdb.arch/powerpc-power.exp: Likewise.
7199
7200 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
7201
7202         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7203         expected error message.
7204
7205 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
7206
7207         * gdb.multi/remove-inferiors.exp: New file.
7208         * gdb.multi/remove-inferiors.c: New file.
7209
7210 2016-08-12  Yao Qi  <yao.qi@linaro.org>
7211
7212         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7213         argument list.
7214
7215 2016-08-10  Pedro Alves  <palves@redhat.com>
7216
7217         PR gdb/19187
7218         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7219         setup_kfails.
7220
7221 2016-08-09  Pedro Alves  <palves@redhat.com>
7222             Simon Marchi  <simon.marchi@ericsson.com>
7223
7224         PR gdb/20418
7225         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7226         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7227
7228 2016-08-09  Pedro Alves  <palves@redhat.com>
7229
7230         PR mi/20431
7231         * gdb.mi/mi-cmd-error.exp: New file.
7232
7233 2016-08-09  Pedro Alves  <palves@redhat.com>
7234
7235         PR gdb/18653
7236         * gdb.base/signals-state-child.c: New file.
7237         * gdb.base/signals-state-child.exp: New file.
7238         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7239
7240 2016-08-09  Pedro Alves  <palves@redhat.com>
7241
7242         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7243
7244 2016-08-03  Tom Tromey  <tom@tromey.com>
7245
7246         PR python/18565:
7247         * gdb.python/py-frame-inline.exp: Add Frame.function test.
7248
7249 2016-08-01  Yao Qi  <yao.qi@linaro.org>
7250
7251         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7252         variable mode to "multi-process" if $multi_process is 1, otherwise
7253         set it to "single-process".
7254
7255 2016-08-01  Yao Qi  <yao.qi@linaro.org>
7256
7257         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7258         * gdb.cp/cpexprs.exp: Likewise.
7259         * gdb.cp/m-static.exp: Likewise.
7260
7261 2016-07-26  Tom Tromey  <tom@tromey.com>
7262
7263         PR python/20190:
7264         * gdb.threads/tls.exp (check_thread_local): Add python symbol
7265         test.
7266
7267 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
7268
7269         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7270         selecting assembly source files.
7271         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7272         assembly source files.
7273         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7274         assembly source files.
7275         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7276         selecting assembly source files.
7277
7278 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
7279
7280         * gdb.base/new-ui.exp (do_test_invalid_args): New
7281         procedure.
7282
7283 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
7284
7285         * gdb.btrace/reconnect.c: New file.
7286         * gdb.btrace/reconnect.exp: New file.
7287
7288 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
7289
7290         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7291         to test_catch_syscall_group.
7292         (test_catch_syscall_group): New.
7293
7294 2016-07-21  Tom Tromey  <tom@tromey.com>
7295
7296         * gdb.rust/simple.rs (main): Use empty struct expression.
7297         * gdb.rust/simple.exp: Add tests for empty struct expression.
7298
7299 2016-07-21  Yao Qi  <yao.qi@linaro.org>
7300
7301         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7302         if gdb_skip_xml_test is true on some targets.
7303
7304 2016-07-21  Yao Qi  <yao.qi@linaro.org>
7305
7306         * gdb.server/solib-list.exp: Unset last_loaded_file.
7307
7308 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7309
7310         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7311         "step into captured_main (args)".
7312
7313 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7314
7315         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7316
7317 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7318
7319         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7320
7321 2016-07-19  Pedro Alves  <palves@redhat.com>
7322
7323         * gdb.opt/inline-break.exp: Remove optimize=-O2.
7324         * gdb.opt/inline-bt.exp: Likewise.
7325         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7326         additional_flags=-Winline.
7327         * gdb.opt/inline-locals.exp: Likewise.
7328         * gdb.opt/inline-markers.c (ATTR): Define.
7329         (inlined_fn): Use it.
7330
7331 2016-07-19  Yao Qi  <yao.qi@linaro.org>
7332
7333         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7334         (test_with_self): Remove some code.  Remove argument executable.
7335         (top-level): Use do_self_tests.
7336
7337 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
7338             Don Breazeal <donb@codesourcery.com>
7339
7340         * gdb.base/maint.exp: Escape paths used in regular expressions.
7341         * gdb.stabs/weird.exp: Likewise.
7342
7343 2016-07-13  Tom Tromey  <tom@tromey.com>
7344
7345         PR python/15620, PR python/18620:
7346         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7347         (test_bkpt_events): New procs.
7348
7349 2016-07-13  Tom Tromey  <tom@tromey.com>
7350
7351         PR python/17698:
7352         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7353         test.
7354         (test_watchpoints): Likewise.
7355         (test_bkpt_pending): New proc.
7356
7357 2016-07-13  Tom Tromey  <tom@tromey.com>
7358
7359         PR cli/18053:
7360         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7361         completion test.
7362
7363 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7364
7365         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7366         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7367         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7368         f_label.
7369         (g): Rename g_end_lbl to g_label.
7370         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7371         low_pc and high_pc.
7372         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7373
7374 2016-07-12  Tom Tromey  <tom@tromey.com>
7375
7376         PR python/19293:
7377         * gdb.python/py-unwind-maint.exp: Update tests.
7378
7379 2016-07-12  Yao Qi  <yao.qi@linaro.org>
7380
7381         * lib/selftest-support.exp (selftest_setup): Match the output
7382         when captured_main is inlined.
7383
7384 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7385
7386         * gdb.fortran/derived-types.exp (result_line, result_line_2):
7387         New variables.
7388         (print this%a, print this%b, print this): New tests.
7389         * gdb.fortran/derived-types.f90 (this): New object and
7390         initialization.
7391
7392 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
7393
7394         * gdb.ada/arraydim.exp: Remove extra directory level in build
7395         directory.
7396
7397 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
7398
7399         * lib/ada.exp: Remove extra directory level in build directory.
7400         * gdb.ada/cond_lang.exp: Likewise.
7401         * gdb.ada/exec_changed.exp: Likewise.
7402         * gdb.ada/lang_switch.exp: Likewise.
7403
7404 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
7405
7406         * simple.rs: Add test for raw pointer subscripting.
7407         * simple.exp: Add test expectations.
7408
7409 2016-07-05  Yao Qi  <yao.qi@linaro.org>
7410
7411         * gdb.mi/mi-reverse.exp: Match =record-started output.
7412
7413 2016-07-01  Pedro Alves  <palves@redhat.com>
7414
7415         * gdb.base/jit-reader.exp (info_registers_current_frame): New
7416         procedure.
7417         (jit_reader_test): Test the jit reader's unwinder.
7418         * gdb.base/jithost.c (jit_function_00_code): New global.
7419         (main): Use memcpy to fill in the mmapped code, instead of poking
7420         bytes manually here.
7421         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7422         value.
7423         (read_debug_info): Save the function's range.
7424         (read_sp): New function.
7425         (unwind_frame): Use it.  Also unwind RBP.
7426         (get_frame_id): Use read_sp.
7427         (gdb_init_reader): Use calloc instead of malloc.
7428         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7429         parameter.  Use gdb_test_multiple.
7430
7431 2016-07-01  Pedro Alves  <palves@redhat.com>
7432             Antoine Tremblay  <antoine.tremblay@ericsson.com>
7433
7434         * gdb.threads/process-dies-while-detaching.c: New file.
7435         * gdb.threads/process-dies-while-detaching.exp: New file.
7436
7437 2016-07-01  Pedro Alves  <palves@redhat.com>
7438
7439         * gdb.multi/watchpoint-multi-exit.c: New file.
7440         * gdb.multi/watchpoint-multi-exit.exp: New file.
7441
7442 2016-06-30  Pedro Alves  <palves@redhat.com>
7443
7444         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7445         unset inferior_spawn_id.
7446
7447 2016-06-30  Pedro Alves  <palves@redhat.com>
7448
7449         * lib/mi-support.exp (default_mi_gdb_start): Declare global
7450         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7451
7452 2016-06-29  Yao Qi  <yao.qi@linaro.org>
7453
7454         * gdb.base/return.c: Add copyright header.
7455
7456 2016-06-29  Tom Tromey  <tom@tromey.com>
7457
7458         PR python/20129:
7459         * gdb.python/py-framefilter.exp: Add tests for setting priority
7460         and disabling of non-existent frame filter.
7461
7462 2016-06-29  Yao Qi  <yao.qi@linaro.org>
7463
7464         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7465         0x0f07ff.
7466
7467 2016-06-28  Yao Qi  <yao.qi@linaro.org>
7468
7469         * gdb.base/catch-syscall.exp: Remove check on isnative and target
7470         triplets.  Start gdb, execute catch syscall, and continue.  Check
7471         gdb's output to determine catch syscall is supported.
7472
7473 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
7474
7475         * gdb.rust/simple.rs: Add test for returning unit in a function.
7476         * gdb.rust/simple.exp: Add expectation for functions returning
7477         unit.
7478
7479 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
7480
7481         * gdb.python/py-breakpoint-create-fail.c,
7482         gdb.python/py-breakpoint-create-fail.exp,
7483         gdb.python/py-breakpoint-create-fail.py: New testcase.
7484
7485 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
7486
7487         PR gdb/20239
7488         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7489         * gdb.rust/simple.exp: Add test expectations for new NonZero
7490         tests.
7491
7492 2016-06-24  David Taylor  <dtaylor@emc.com>
7493
7494         * gdb.base/offsets.exp: New file.
7495         * gdb.base/offsets.c: New file.
7496
7497 2016-06-23  Tom Tromey  <tom@tromey.com>
7498
7499         PR gdb/16483:
7500         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7501         before any filters are loaded.
7502
7503 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7504
7505         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7506         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7507         structs.
7508         * gdb.fortran/derived-type-function.exp: New file.
7509         * gdb.fortran/derived-type-function.f90: New file.
7510
7511
7512 2016-06-21  Pedro Alves  <palves@redhat.com>
7513
7514         * gdb.base/new-ui.exp: New file.
7515         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7516         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7517         (with_spawn_id): New procedure.
7518
7519 2016-06-21  Pedro Alves  <palves@redhat.com>
7520
7521         * gdb.mi/mi-exec-run.exp: New file.
7522
7523 2016-06-21  Pedro Alves  <palves@redhat.com>
7524
7525         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7526         breakpoint command's output on the main UI.
7527         (test_break): New procedure, factored out from calls in the top
7528         level.
7529         (top level): Use foreach_with_prefix to test MI as main UI and as
7530         separate UI.
7531
7532 2016-06-21  Pedro Alves  <palves@redhat.com>
7533
7534         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7535         (test_awatch_creation_and_listing)
7536         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7537         Remove 'type' parameter.
7538         (test_watchpoint_all): New parameter mi_mode.  Remove
7539         with_test_prefix.
7540         (top level): Use foreach_with_prefix, and add main/separate UI MI
7541         testing axis.
7542
7543 2016-06-21  Pedro Alves  <palves@redhat.com>
7544
7545         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7546         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7547         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7548         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7549         (gdb_main_spawn_id, mi_spawn_id): Declare and
7550         comment.
7551         (mi_create_inferior_pty): New procedure,
7552         factored out from default_mi_gdb_start.
7553         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7554         procedures.
7555         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7556         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7557         Use mi_create_inferior_pty.
7558         (mi_gdb_start): Use eval to pass down args list.
7559
7560 2016-06-21  Pedro Alves  <palves@redhat.com>
7561
7562         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7563         * gdb.opt/inline-cmds.exp: Add MI tests.
7564
7565 2016-06-21  Pedro Alves  <palves@redhat.com>
7566
7567         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7568
7569 2016-06-21  Pedro Alves  <palves@redhat.com>
7570
7571         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7572         (top level): Use it instead of mi_execute_to.
7573
7574 2016-06-21  Pedro Alves  <palves@redhat.com>
7575
7576         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7577         (cont_handler_str): New.
7578         (signal_stop_handler): Set stop_handler_str instead of printing to
7579         stdout.
7580         (continue_handler): Set cont_handler_str instead of printing to
7581         stdout.
7582         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7583         mi_send_resuming_command.  Print stop_handler_str and
7584         cont_handler_str instead of expecting the python events print
7585         directly.
7586
7587 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
7588
7589         * gdb.base/jit-reader.exp: New file.
7590         * gdb.base/jithost.c: New file.
7591         * gdb.base/jithost.h: New file.
7592         * gdb.base/jitreader.c : New file.
7593         * gdb.base/jit-protocol.h: New file.
7594
7595 2016-06-17  Yao Qi  <yao.qi@linaro.org>
7596
7597         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7598         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
7599         and detach-on-fork.  Adjust tests.
7600         (top level): Invoke break_cond_on_syscall with combinations of
7601         syscall, follow-fork-mode and detach-on-fork.
7602
7603 2016-06-17  Yao Qi  <yao.qi@linaro.org>
7604
7605         * gdb.base/step-over-exit.c: New.
7606         * gdb.base/step-over-exit.exp: New.
7607
7608 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
7609
7610         * gdb.base/float.exp: Add target check for nds32*-*-*.
7611         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7612
7613 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
7614
7615         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7616         for unsupported target features.
7617         * gdb.base/call-rt-st.exp: Likewise.
7618         * gdb.base/call-sc.exp: Likewise.
7619         * gdb.base/call-signal-resume.exp: Likewise.
7620         * gdb.base/call-strs.exp: Likewise.
7621         * gdb.base/callexit.exp: Likewise.
7622         * gdb.base/callfuncs.exp: Likewise.
7623         * gdb.base/nodebug.exp: Likewise.
7624         * gdb.base/printcmds.exp: Likewise.
7625         * gdb.base/ptype.exp: Likewise.
7626         * gdb.base/structs.exp: Likewise.
7627         * gdb.base/unwindonsignal.exp: Likewise.
7628         * gdb.cp/gdb2495.exp: Likewise.
7629         * gdb.cp/templates.exp: Likewise.
7630         * gdb.cp/virtfunc.exp: Likewise.
7631         * gdb.threads/hand-call-in-threads.exp: Likewise.
7632         * gdb.threads/interrupted-hand-call.exp: Likewise.
7633         * gdb.threads/thread-unwindonsignal.exp: Likewise.
7634
7635 2016-06-10  Tom Tromey  <tom@tromey.com>
7636
7637         PR rust/20110:
7638         * gdb.rust/expr.exp: Add test for integer constant larger than
7639         i32.
7640
7641 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
7642
7643         * gdb.fortran/nested-funcs.exp: New.
7644         * gdb.fortran/nested-funcs.f90: New.
7645
7646 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
7647
7648         * gdb.base/examine-backward.c: New file.
7649         * gdb.base/examine-backward.exp: New file.
7650
7651 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
7652
7653         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7654         matching.
7655
7656 2016-06-02  Tom Tromey  <tom@tromey.com>
7657
7658         PR python/18984:
7659         * gdb.python/py-shared.exp: Add solib_name test.
7660
7661 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
7662
7663         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7664
7665 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
7666
7667         PR c++/19893
7668         * gdb.dwarf2/implref.exp: Rename to...
7669         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
7670         * gdb.dwarf2/implref-array.c: New file.
7671         * gdb.dwarf2/implref-array.exp: Likewise.
7672         * gdb.dwarf2/implref-global.c: Likewise.
7673         * gdb.dwarf2/implref-global.exp: Likewise.
7674         * gdb.dwarf2/implref-struct.c: Likewise.
7675         * gdb.dwarf2/implref-struct.exp: Likewise.
7676
7677 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7678
7679         * gdb.trace/trace-condition.exp: Add 64bit tests.
7680
7681 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7682
7683         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7684         bits types.
7685         (main): Adapt to 8 to 64 bits types.
7686         * gdb.trace/trace-condition.exp: Add new tests.
7687
7688 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7689
7690         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7691
7692 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7693
7694         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7695         Move condition tests...
7696         * gdb.trace/trace-condition.exp: Here.
7697
7698 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7699
7700         * gdb.trace/trace-condition.exp: Add counter-case tests.
7701
7702 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7703
7704         PR c++/15231
7705         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7706         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7707
7708 2016-05-27  Pedro Alves  <palves@redhat.com>
7709
7710         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7711         New procedure.
7712         (top level): Call it, and bail out of DejaGnu is known to be bad.
7713
7714 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7715
7716         * gdb.base/whatis.c: Extend the test case.
7717         * gdb.base/whatis.exp: Add additional tests.
7718
7719 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7720
7721 * gdb.fortran/type.f90: Add pointer variable.
7722 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7723
7724 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7725
7726         * gdb.fortran/vla-type.exp: Fix testcase name.
7727
7728 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7729
7730         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7731
7732 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7733
7734         * gdb.fortran/type.f90: Add nested structures.
7735         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7736         * gdb.fortran/derived-type.exp: Adapt expected output.
7737         * gdb.fortran/vla-type.exp: Adapt expected output.
7738
7739 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7740
7741         * gdb.fortran/whatis_type.exp: Adapt expected output.
7742
7743 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7744
7745         * gdb.fortran/print_type.exp: Fix expected output.
7746         * gdb.fortran/whatis_type.exp: Fix expected output.
7747
7748 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7749
7750         * gdb.fortran/whatis_type.exp: Use multi_line.
7751
7752 2016-05-24  Tom Tromey  <tom@tromey.com>
7753
7754         PR python/17386:
7755         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7756         use value as an index.
7757
7758 2016-05-23  Tom Tromey  <tom@tromey.com>
7759
7760         PR python/17981:
7761         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7762         no-breakpoint case.
7763
7764 2016-05-24  Pedro Alves  <palves@redhat.com>
7765
7766         PR gdb/19828
7767         * gdb.threads/clone-attach-detach.c: New file.
7768         * gdb.threads/clone-attach-detach.exp: New file.
7769
7770 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7771
7772         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7773
7774 2016-05-23  Tom Tromey  <tom@tromey.com>
7775
7776         PR python/19438, PR python/18393:
7777         * gdb.python/py-progspace.exp: Add "dir" test.
7778         * gdb.python/py-objfile.exp: Add "dir" test.
7779
7780 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7781
7782         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7783         * gdb.arch/thumb2-it.exp: Likewise.
7784
7785 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7786
7787         * gdb.mi/mi-threads-interrupt.c: New file.
7788         * gdb.mi/mi-threads-interrupt.exp: New file.
7789
7790 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7791
7792         PR gdb/18077
7793         * gdb.mi/mi-async-run.exp: New file.
7794         * gdb.mi/mi-async-run.c: New file.
7795
7796 2016-05-17  Tom Tromey  <tom@tromey.com>
7797             Manish Goregaokar <manishsmail@gmail.com>
7798
7799         * lib/rust-support.exp: New file.
7800         * lib/gdb.exp (skip_rust_tests): New proc.
7801         (build_executable_from_specs): Handle rust.
7802         * lib/future.exp (gdb_find_rustc): New proc.
7803         (gdb_default_target_compile): Handle rust.
7804         * gdb.rust/expr.exp: New file.
7805         * gdb.rust/generics.exp: New file.
7806         * gdb.rust/generics.rs: New file.
7807         * gdb.rust/methods.exp: New file.
7808         * gdb.rust/methods.rs: New file.
7809         * gdb.rust/modules.exp: New file.
7810         * gdb.rust/modules.rs: New file.
7811         * gdb.rust/simple.exp: New file.
7812         * gdb.rust/simple.rs: New file.
7813
7814 2016-05-17  Tom Tromey  <tom@tromey.com>
7815
7816         * gdb.base/default.exp (set language): Add rust.
7817
7818 2016-05-17  Tom Tromey  <tom@tromey.com>
7819
7820         * gdb.gdb/unittest.exp: New file.
7821
7822 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7823
7824         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7825         shell_prompt.  Update shell_prompt_re.
7826
7827 2016-05-12  Doug Evans  <dje@google.com>
7828
7829         PR symtab/19999
7830         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7831         $options when building executable.
7832         * gdb.dwarf2/fission-loclists-pie.S: New file.
7833         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7834
7835 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7836
7837         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7838         of [is_remote target],
7839
7840 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7841
7842         * lib/gdb.exp (use_gdb_stub): New procedure.
7843
7844 2016-05-03  Yunlian Jiang <yunlian@google.com>
7845             Doug Evans  <dje@google.com>
7846
7847         PR symtab/19914
7848         * gdb.dwarf2/dwp-sepdebug.c: New file.
7849         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7850
7851 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7852
7853         * gdb.base/detach.exp: Remove is_remote check.
7854
7855 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7856
7857         * gdb.base/annota-input-while-running.exp: Don't check for
7858         [is_remote target].  Enable annotations after running to main.
7859         Remove unused "set test..." line.
7860
7861 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7862
7863         * gdb.trace/trace-enable-disable.exp: New file.
7864         * gdb.trace/trace-enable-disable.c: New file.
7865
7866 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7867
7868         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7869         use it in info sharedlibrary test.
7870         * gdb.trace/ftrace-lock.exp: Likewise.
7871         * gdb.trace/ftrace.exp: Likewise.
7872         * gdb.trace/range-stepping.exp: Likewise.
7873         * gdb.trace/trace-break.exp: Likewise.
7874         * gdb.trace/trace-condition.exp: Likewise.
7875         * gdb.trace/trace-mt.exp: Likewise.
7876
7877 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7878
7879         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7880         (gdb_load_shlib): ... this.
7881         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7882         gdb_load_shlib.
7883         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7884         * gdb.base/ctxobj.exp: Likewise.
7885         * gdb.base/dprintf-pending.exp: Likewise.
7886         * gdb.base/dso2dso.exp: Likewise.
7887         * gdb.base/fixsection.exp: Likewise.
7888         * gdb.base/gcore-relro.exp: Likewise.
7889         * gdb.base/gdb1555.exp: Likewise.
7890         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7891         * gdb.base/gnu-ifunc.exp: Likewise.
7892         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7893         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7894         * gdb.base/pending.exp: Likewise.
7895         * gdb.base/print-file-var.exp: Likewise.
7896         * gdb.base/print-symbol-loading.exp: Likewise.
7897         * gdb.base/shlib-call.exp: Likewise.
7898         * gdb.base/shreloc.exp: Likewise.
7899         * gdb.base/so-impl-ld.exp: Likewise.
7900         * gdb.base/solib-disc.exp: Likewise.
7901         * gdb.base/solib-nodir.exp: Likewise.
7902         * gdb.base/solib-overlap.exp: Likewise.
7903         * gdb.base/solib-symbol.exp: Likewise.
7904         * gdb.base/solib-weak.exp (do_test): Likewise.
7905         * gdb.base/sym-file.exp: Likewise.
7906         * gdb.base/symtab-search-order.exp: Likewise.
7907         * gdb.base/type-opaque.exp: Likewise.
7908         * gdb.base/unload.exp: Likewise.
7909         * gdb.base/watchpoint-solib.exp: Likewise.
7910         * gdb.compile/compile.exp: Likewise.
7911         * gdb.cp/gdb2384.exp: Likewise.
7912         * gdb.cp/infcall-dlopen.exp: Likewise.
7913         * gdb.cp/re-set-overloaded.exp: Likewise.
7914         * gdb.fortran/library-module.exp: Likewise.
7915         * gdb.opt/solib-intra-step.exp: Likewise.
7916         * gdb.python/py-finish-breakpoint.exp: Likewise.
7917         * gdb.python/py-shared.exp: Likewise.
7918         * gdb.reverse/solib-precsave.exp: Likewise.
7919         * gdb.reverse/solib-reverse.exp: Likewise.
7920         * gdb.server/solib-list.exp: Likewise.
7921         * gdb.threads/dlopen-libpthread.exp: Likewise.
7922         * gdb.threads/tls-shared.exp: Likewise.
7923         * gdb.threads/tls-so_extern.exp: Likewise.
7924         * gdb.trace/change-loc.exp: Likewise.
7925         * gdb.trace/ftrace-lock.exp: Likewise.
7926         * gdb.trace/ftrace.exp: Likewise.
7927         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7928         * gdb.trace/pending.exp: Likewise.
7929         * gdb.trace/range-stepping.exp: Likewise.
7930         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7931         (strace_info_marker): Likewise.
7932         (strace_probe_marker): Likewise.
7933         (strace_trace_on_same_addr): Likewise.
7934         (strace_trace_on_diff_addr): Likewise.
7935         * gdb.trace/trace-break.exp: Likewise.
7936         * gdb.trace/trace-condition.exp: Likewise.
7937         * gdb.trace/trace-mt.exp: Likewise.
7938
7939 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7940
7941         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7942         result of gdb_remote_download.
7943         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7944         * gdb.base/dso2dso.exp: Likewise.
7945         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7946         * gdb.base/print-file-var.exp: Likewise.
7947         * gdb.base/shlib-call.exp: Likewise.
7948         * gdb.base/shreloc.exp: Likewise.
7949         * gdb.base/solib-overlap.exp: Likewise.
7950         * gdb.base/solib-weak.exp (do_test): Likewise.
7951         * gdb.base/unload.exp: Likewise.
7952
7953 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7954
7955         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7956         exists.
7957
7958 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7959
7960         * vla-type.exp: Print structure from toplevel.
7961
7962 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7963
7964         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7965         of dynamic types.
7966         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7967         of dynamic types.
7968
7969 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7970
7971         * gdb.fortran/vla-type.f90: New file.
7972         * gdb.fortran/vla-type.exp: New file.
7973
7974 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7975
7976         * gdb.base/branch-to-self.c: New file.
7977         * gdb.base/branch-to-self.exp: New file.
7978
7979 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7980
7981         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7982         more after $hex.
7983
7984 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7985
7986         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7987         * gdb.base/annota3.exp: Likewise.
7988
7989 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7990
7991         * gdb.reverse/step-precsave.exp: Do one step and test program
7992         stops in "callee" and do multiple steps until program goes out
7993         of "callee".
7994         * gdb.reverse/step-reverse.exp: Likewise.
7995
7996 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7997
7998         * gdb.trace/signal.exp: Also pass if
7999         $tracepoint_hits($i) > $iterations.
8000
8001 2016-04-22  Yao Qi  <yao.qi@linaro.org>
8002
8003         * gdb.trace/signal.c: New file.
8004         * gdb.trace/signal.exp: New file.
8005
8006 2016-04-19  Doug Evans  <xdje42@gmail.com>
8007
8008         * gdb.base/bad-file.exp: New file.
8009
8010 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
8011
8012         * gdb.dwarf2/implref.exp: New file.
8013
8014 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
8015
8016         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8017         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8018         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8019         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8020         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8021         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8022         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8023         * lib/fortran.exp (fortran_int4): New procedure.
8024         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8025         (fortran_logical4): Likewise.
8026
8027 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
8028
8029         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8030
8031 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
8032
8033         * lib/compiler.c: Add Intel specific preprocessor macros.
8034         * lib/compiler.cc: Likewise.
8035
8036 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
8037
8038         * gdb.server/connect-with-no-symbol-file.c: New file.
8039         * gdb.server/connect-with-no-symbol-file.exp: New file.
8040
8041 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
8042
8043         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8044
8045 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
8046
8047         * boards/gdbserver-base.exp (${board}_download): Copy source file to
8048         standard output directory.
8049
8050 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8051
8052         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8053
8054 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
8055
8056         * gdb.btrace/instruction_history.c (loop): Add declaration.
8057
8058 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8059
8060         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8061
8062 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
8063
8064         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8065         parentheses to print.
8066         (continue_handler): Likewise.
8067
8068 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
8069
8070         * gdb.server/solib-list.exp: Remove is_remote check.
8071         Pass shlib= to gdb_compile.  Don't link shared library with
8072         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
8073         Run binary filename through "readlink -f" on the target.
8074
8075 2016-04-08  Pedro Alves  <palves@redhat.com>
8076
8077         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
8078         interpreter filename as argument to gdbserver_spawn.
8079         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8080         Return empty if $last_loaded_file does not exist.
8081
8082 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8083
8084         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8085         * gdb.base/jit-main.c: Use exit after usage.
8086
8087 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8088
8089         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8090         GDBHISTSIZE prior to the tests.
8091         * gdb.base/gdbinit-history.exp: Likewise.
8092
8093 2016-04-07  Pedro Alves  <palves@redhat.com>
8094
8095         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8096         instead of build_executable.  Use gdb_load_shlibs.
8097
8098 2016-04-07  Yao Qi  <yao.qi@linaro.org>
8099
8100         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8101         Execute "si" command.
8102
8103 2016-04-07  Yao Qi  <yao.qi@linaro.org>
8104
8105         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8106         number instead of the comments on some line.
8107
8108 2016-04-06  Don Breazeal  <donb@codesourcery.com>
8109
8110         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8111         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8112
8113 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
8114
8115         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8116         standard_output_file.  Remove unused binfile variable.
8117
8118 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
8119
8120         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8121         * gdb.python/py-mi-objfile.exp: Match "list main" output
8122         in console format.
8123
8124 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
8125
8126         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8127         absolute.
8128
8129 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
8130
8131         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8132         absolute.
8133         * gdb.trace/ftrace.exp: Likewise.
8134         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8135         targets as well.
8136         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8137         (gdb_load_shlibs): Copy libraries to test directory when testing
8138         natively.  Only set solib-search-path if testing remotely.
8139         * lib/mi-support.exp (mi_load_shlibs): Likewise.
8140
8141 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
8142
8143         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8144         gdb_download.  Use it even if the target is not remote.
8145         * gdb.base/jit.exp (compile_jit_test): Likewise.
8146         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8147         output directory if the destination board is local, otherwise use
8148         the standard remote_download from DejaGnu.
8149         (gdb_download): Remove.
8150         (gdb_load_shlibs): Use gdb_remote_download instead of
8151         gdb_download.
8152         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8153         Use gdb_remote_download instead of gdb_download.  Use it even if
8154         the target is not remote.
8155         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8156         instead of gdb_download.
8157
8158 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
8159
8160         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8161         (test_insert_delete_modify): Call mi_load_shlibs before trying to
8162         run.
8163
8164 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
8165
8166         PR gdb/19820
8167         * gdb.base/printcmds.exp: Add artificial arrays tests.
8168
8169 2016-03-31  Pedro Alves  <palves@redhat.com>
8170
8171         PR gdb/19858
8172         * gdb.base/jit-main.c: Include unistd.h.
8173         (ATTACH): Define to 0 if not already defined.
8174         (wait_for_gdb, mypid): New globals.
8175         (WAIT_FOR_GDB): New macro.
8176         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
8177         some breakpoint locations.
8178         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8179         New procedures.
8180         (one_jit_test): Add REATTACH parameter, and handle it.  Use
8181         continue_to_test_location.
8182         (top level): Test attach, and adjusts calls to one_jit_test.
8183
8184 2016-03-31  Pedro Alves  <palves@redhat.com>
8185
8186         PR gdb/19858
8187         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
8188         BINSUFFIX parameter, and handle it.
8189         (top level): Adjust calls compile_jit_test.
8190
8191 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
8192
8193         PR python/19743
8194         * gdb.python/py-mi-events-gdb.py: New file.
8195         * gdb.python/py-mi-events.c: New file.
8196         * gdb.python/py-mi-events.exp: New file.
8197
8198 2016-03-30  Yao Qi  <yao.qi@linaro.org>
8199
8200         * gdb.reverse/until-precsave.exp: Match function name only.
8201         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8202         Move malloc to a condition block.
8203         * gdb.reverse/until-reverse.exp: Match function name only.
8204
8205 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8206
8207         * gdb.trace/ftrace.exp: Set arg0exp for s390.
8208         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8209         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8210         variable for GPR 0 instead of assuming it is register 0.
8211         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8212         * lib/trace-support.exp: Add s390 registers.
8213
8214 2016-03-29  Yao Qi  <yao.qi@linaro.org>
8215
8216         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8217
8218 2016-03-24  Yao Qi  <yao.qi@linaro.org>
8219
8220         * gdb.reverse/break-reverse.exp: Add quotation mark in the
8221         test message.
8222
8223 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8224
8225         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8226         maintaining separate logic for constructing the output path.
8227
8228 2016-03-16  Don Breazeal  <donb@codesourcery.com>
8229
8230         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8231         Retry fork and waitpid on interrupted system call errors.
8232         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8233         Use with_timeout_factor to increase timeout by factor of 10.
8234
8235 2016-03-15  Don Breazeal  <donb@codesourcery.com>
8236
8237         * gdb.cp/scope-err.cc: New test program.
8238         * gdb.cp/scope-err.exp: New test script.
8239         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8240         lines and "set breakpoint here" comment.
8241         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8242         Fixed some whitespace and format issues.
8243         * gdb.mi/mi-linespec-err-cp.cc: New test program.
8244         * gdb.mi/mi-linespec-err-cp.exp: New test script.
8245
8246 2016-03-15  Doug Evans  <dje@google.com>
8247
8248         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8249         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8250         All callers updated.  Add tests for enums, mixed flags register.
8251
8252 2016-03-15  Doug Evans  <dje@google.com>
8253
8254         * gdb.base/skip.c (main): Call test_skip_file_and_function.
8255         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8256
8257 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
8258
8259         * gdb.base/default.exp: Add $_as_string to the list of expected
8260         convenience functions.
8261
8262 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8263
8264         * gdb.base/maint.exp: New tests for 'maint info line-table'.
8265
8266 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
8267
8268         * gdb.python/py-as-string.exp: New file.
8269         * gdb.python/py-as-string.c: New file.
8270
8271 2016-03-09  Pedro Alves  <palves@redhat.com>
8272
8273         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8274         signal" -> "Thread NN received signal" output change.
8275         * gdb.threads/ia64-sigill.exp: Likewise.
8276         * gdb.threads/linux-dp.exp: Likewise.
8277         * gdb.threads/manythreads.exp: Likewise.
8278         * gdb.threads/pending-step.exp: Likewise.
8279         * gdb.threads/print-threads.exp: Likewise.
8280         * gdb.threads/sigstep-threads.exp: Likewise.
8281         * gdb.threads/staticthreads.exp: Likewise.
8282         * gdb.threads/tls.exp: Likewise.
8283
8284 2016-03-09  Pedro Alves  <palves@redhat.com>
8285
8286         * gdb.base/command-line-input.exp: New file.
8287
8288 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8289
8290         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8291         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8292         * gdb.trace/pending.exp: Accept leading dot before function name.
8293         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8294         * lib/trace-support.exp: Set registers for ppc.
8295
8296 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8297
8298         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8299         use it for disassembly; accept .main in addition to main in backtrace.
8300
8301 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
8302             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8303
8304         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8305         (gdb_recursion_test_ptr): New global variable.
8306         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8307         gdb_recursion_test.
8308         (gdb_c_test): Ditto.
8309
8310 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8311
8312         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8313         ordering.
8314
8315 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8316
8317         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8318         (bar): Add bar_start_lbl label.
8319         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8320         of foo/bar for emitting DWARF and tracing.
8321
8322 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
8323
8324         * analyze-racy-logs.py: Set executable bit.
8325
8326 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
8327
8328         * Makefile.in (DEFAULT_RACY_ITER): New variable.
8329         (CHECK_TARGET_TMP): Likewise.
8330         (check-single-racy): New rule.
8331         (check-parallel-racy): Likewise.
8332         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8333         (do-check-parallel-racy): New rule.
8334         (check-racy/%.exp): Likewise.
8335         * README (Racy testcases): New section.
8336         * analyze-racy-logs.py: New file.
8337
8338 2016-03-03  Doug Evans  <dje@google.com>
8339
8340         * gdb.base/skip.exp: Use with_test_prefix.
8341
8342 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8343
8344         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8345         Invoke step_over_syscall "clone" and break_cond_on_syscall
8346         "clone".
8347         * gdb.base/step-over-clone.c: New file.
8348
8349 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8350
8351         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8352         code format.
8353
8354 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8355
8356         * gdb.base/disp-step-fork.c: Rename to ...
8357         * gdb.base/step-over-fork.c: ... it.  New file.
8358         * gdb.base/disp-step-vfork.c: Rename to ...
8359         * gdb.base/step-over-vfork.c: ... it.  New file.
8360         * gdb.base/disp-step-syscall.exp: Rename to ...
8361         * gdb.base/step-over-syscall.exp: ... it.  New file.
8362         (disp_step_cross_syscall): Rename to ...
8363         (step_over_syscall): ... it.
8364
8365 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8366
8367         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8368         If target supports condition evaluation on target, invoke
8369         break_cond_on_syscall for fork and vfork.
8370
8371 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8372
8373         * gdb.base/disp-step-syscall.exp: Don't invoke
8374         support_displaced_stepping.
8375         (disp_step_cross_syscall): Test with displaced stepping off and
8376         on if supported.
8377
8378 2016-03-03  Yao Qi  <yao.qi@linaro.org>
8379
8380         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8381         proc.
8382         (setup): New proc.
8383         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8384         and setup.
8385
8386 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8387
8388         * gdb.fortran/vla-history.exp: Remove breakpoint.
8389
8390 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8391
8392         * gdb.fortran/vla-history.exp: Lookup array elements and printing
8393         exceeds timeout.
8394
8395 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8396
8397         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8398         breakpoint.
8399
8400 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8401
8402         * gdb.mi/vla.f90: Nullify pointer after declaration.
8403
8404 2016-03-01  Pedro Alves  <palves@redhat.com>
8405
8406         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8407
8408 2016-03-01  Pedro Alves  <palves@redhat.com>
8409
8410         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8411         before anything else.
8412         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
8413         _GNU_SOURCE here.
8414         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8415         before anything else.
8416         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8417
8418 2016-03-01  Pedro Alves  <palves@redhat.com>
8419
8420         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8421
8422 2016-03-01  Yao Qi  <yao.qi@linaro.org>
8423
8424         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8425         prepare_for_testing.
8426
8427 2016-03-01  Yao Qi  <yao.qi@linaro.org>
8428
8429         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8430
8431 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8432
8433         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8434         manually constructing the output path.
8435
8436 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8437
8438         * gdb.arch/s390-stackless.S: New.
8439         * gdb.arch/s390-stackless.exp: New.
8440
8441 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8442
8443         * gdb.dlang/circular.c: New file.
8444         * gdb.dlang/circular.exp: New file.
8445
8446 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8447
8448         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8449         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8450         (testcases): Update.
8451
8452 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8453
8454         * gdb.reverse/aarch64.c: Rename to ...
8455         * gdb.reverse/insn-reverse.c: ... it.
8456         * gdb.reverse/aarch64.exp: Rename to ...
8457         * gdb.reverse/insn-reverse.exp: ... it.
8458
8459 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8460
8461         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8462         (testcase_ftype): New.
8463         (testcases): New array.
8464         (n_testcases): New.
8465         (main): Call each element in testcases.
8466         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8467         (read_testcase): New.
8468         Do the tests in a loop.
8469
8470 2016-02-25  Yao Qi  <yao.qi@linaro.org>
8471
8472         * gdb.base/branches.c: Remove.
8473
8474 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8475
8476         PR gdb/13808
8477         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8478
8479 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8480
8481         * gdb.trace/ftrace.exp: Remove unnecessary target check.
8482
8483 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8484
8485         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8486         change x86_64 call_insn to 'callq'.
8487
8488 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8489
8490         * gdb.trace/tfile-avx.c: Move to...
8491         * gdb.trace/tracefile-pseudo-reg.c: Here.
8492         * gdb.trace/tfile-avx.exp: Move to...
8493         * gdb.trace/tracefile-pseudo-reg.exp: Here.
8494
8495 2016-02-24  Gary Benson <gbenson@redhat.com>
8496
8497         * gdb.base/attach-pie-noexec.exp: Do not expect an error
8498         message on attach.
8499
8500 2016-02-23  Doug Evans  <dje@google.com>
8501
8502         * gdb.base/skip.c (test_skip): New function.
8503         (end_test_skip_file_and_function): New function.
8504         (test_skip_file_and_function): New function.
8505         * gdb.base/skip1.c (test_skip): New function.
8506         (skip1_test_skip_file_and_function): New function.
8507         * gdb.base/skip.exp: Add tests for new skip options.
8508         * gdb.base/skip-solib.exp: Update expected output.
8509         * gdb.perf/skip-command.cc: New file.
8510         * gdb.perf/skip-command.exp: New file.
8511         * gdb.perf/skip-command.py: New file.
8512
8513 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8514
8515         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8516         info registers pattern.
8517
8518 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
8519
8520         * lib/future.exp: Add D support.
8521         (gdb_find_gdc): New proc.
8522         (gdb_default_target_compile): Add D support.
8523
8524 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
8525
8526         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8527         user+system time.
8528         (trace_speed_test): Determine the iteration count for a time
8529         between 15..30 seconds.
8530
8531 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8532
8533         * gdb.arch/i386-mpx-sigsegv.c: New file.
8534         * gdb.arch/i386-mpx-sigsegv.exp: New file.
8535         * gdb.arch/i386-mpx-simple_segv.c: New file.
8536         * gdb.arch/i386-mpx-simple_segv.exp: New file.
8537
8538 2016-02-18  Yao Qi  <yao.qi@linaro.org>
8539
8540         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8541         Don't call setup_kfail.
8542
8543 2016-02-18  Yao Qi  <yao.qi@linaro.org>
8544
8545         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8546         Set "set breakpoint condition-evaluation" per $cond_bp_target.
8547
8548 2016-02-16  Doug Evans  <dje@google.com>
8549
8550         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
8551         * gdb.base/skip1.c: Ditto.
8552         * gdb.base/skip.exp: Whitespace cleanup.
8553
8554 2016-02-16  Don Breazeal  <donb@codesourcery.com>
8555
8556         PR remote/19496
8557         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8558         Remove kfail for PR remote/19496.
8559
8560 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
8561
8562         * lib/gdb.exp (standard_temp_file): Return a path specific to
8563         the runtest invocation.
8564
8565 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
8566
8567         * gdb.trace/save-trace.exp: Change relative path to be in the
8568         standard output directory.
8569
8570 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8571
8572         * gdb.arch/i386-prologue.c: Add missing prototypes.
8573
8574 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8575
8576         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8577         * gdb.arch/i386-prologue.exp: Likewise.
8578         * gdb.arch/i386-size.exp: Likewise.
8579
8580 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
8581
8582         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8583         define object file path.
8584         * gdb.btrace/gcore.exp: Use standard_output_file to define core
8585         file path.
8586         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8587         standard_output_file to define binfile.
8588
8589 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8590
8591         Fix compatibility with recent gfortran-5.3.1.
8592         * gdb.fortran/vla-history.exp (print vla1 allocated)
8593         (print vla2 allocated, print $2, print $3): Remove
8594         (print $4): Rename to ...
8595         (print $2): ... here.
8596         (print $9): Rename to ...
8597         (print $5): ... here.
8598         (print $10): Rename to ...
8599         (print $6): ... here.
8600         * gdb.fortran/vla.f90: Add pvla initialization.
8601
8602 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8603
8604         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8605         New test.
8606         * gdb.fortran/vla-value-sub.exp: Likewise.
8607
8608 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8609
8610         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8611
8612 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
8613
8614         * i386-biarch-core.exp: Define corefile using
8615         standard_output_file.
8616
8617 2016-02-12  Yao Qi  <yao.qi@linaro.org>
8618
8619         * gdb.arch/arm-single-step-kernel-helper.c: New.
8620         * gdb.arch/arm-single-step-kernel-helper.exp: New.
8621
8622 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
8623
8624         * gdb.btrace/tailcall-only.exp: New.
8625         * gdb.btrace/tailcall-only.c: New.
8626         * gdb.btrace/x86_64-tailcall-only.S: New.
8627         * gdb.btrace/i686-tailcall-only.S: New.
8628
8629 2016-02-11  Pedro Alves  <palves@redhat.com>
8630
8631         * README (Parallel testing): Add missing double quotes.
8632
8633 2016-02-11  Pedro Alves  <palves@redhat.com>
8634
8635         * README (Parallel testing): New section.
8636         (GDB_PARALLEL): Rewrite.
8637         (FORCE_PARALLEL): Document.
8638
8639 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8640
8641         * gdb.trace/tfile-avx.c: New test.
8642         * gdb.trace/tfile-avx.exp: New test.
8643
8644 2016-02-09  Keith Seitz  <keiths@redhat.com>
8645
8646         PR breakpoints/19546
8647         * gdb.base/infcall-exec.c: New file.
8648         * gdb.base/infcall-exec2.c: New file.
8649         * gdb.base/infcall-exec.exp: New file.
8650
8651 2016-02-09  Keith Seitz  <keiths@redhat.com>
8652
8653         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8654         (toplevel): Call test_bkpt_address.
8655
8656 2016-02-09  Keith Seitz  <keiths@redhat.com>
8657
8658         PR python/19506
8659         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8660         (toplevel): Call test_bkpt_address.
8661
8662 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
8663
8664         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8665         to AC_OUTPUT.
8666         * configure: Regenerate.
8667
8668 2016-02-09  Pedro Alves  <palves@redhat.com>
8669
8670         PR breakpoints/19548
8671         * gdb.base/execl-update-breakpoints.c (some_function): New
8672         function.
8673         (main): Call it.
8674         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8675         Tighten expected GDB output.
8676
8677 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8678
8679         * Makefile.in (ALL_SUBDIRS): Remove.
8680         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8681         (distclean maintainer-clean realclean): Likewise.
8682         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8683         * configure: Regenerate.
8684         * gdb.ada/Makefile.in: Delete.
8685         * gdb.arch/Makefile.in: Likewise.
8686         * gdb.asm/Makefile.in: Likewise.
8687         * gdb.base/Makefile.in: Likewise.
8688         * gdb.btrace/Makefile.in: Likewise.
8689         * gdb.cell/Makefile.in: Likewise.
8690         * gdb.compile/Makefile.in: Likewise.
8691         * gdb.cp/Makefile.in: Likewise.
8692         * gdb.disasm/Makefile.in: Likewise.
8693         * gdb.dlang/Makefile.in: Likewise.
8694         * gdb.dwarf2/Makefile.in: Likewise.
8695         * gdb.fortran/Makefile.in: Likewise.
8696         * gdb.gdb/Makefile.in: Likewise.
8697         * gdb.go/Makefile.in: Likewise.
8698         * gdb.guile/Makefile.in: Likewise.
8699         * gdb.java/Makefile.in: Likewise.
8700         * gdb.linespec/Makefile.in: Likewise.
8701         * gdb.mi/Makefile.in: Likewise.
8702         * gdb.modula2/Makefile.in: Likewise.
8703         * gdb.multi/Makefile.in: Likewise.
8704         * gdb.objc/Makefile.in: Likewise.
8705         * gdb.opencl/Makefile.in: Likewise.
8706         * gdb.opt/Makefile.in: Likewise.
8707         * gdb.pascal/Makefile.in: Likewise.
8708         * gdb.perf/Makefile.in: Likewise.
8709         * gdb.python/Makefile.in: Likewise.
8710         * gdb.reverse/Makefile.in: Likewise.
8711         * gdb.server/Makefile.in: Likewise.
8712         * gdb.stabs/Makefile.in: Likewise.
8713         * gdb.threads/Makefile.in: Likewise.
8714         * gdb.trace/Makefile.in: Likewise.
8715         * gdb.xml/Makefile.in: Likewise.
8716         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8717         GDB_PARALLEL.
8718         (standard_output_file): Remove check for GDB_PARALLEL, always
8719         return path in outputs/$subdir/$testname.
8720
8721 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8722
8723         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8724         (site.exp): Assign abs_srcdir to tcl's srcdir.
8725
8726 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8727
8728         * gdb.base/foll-exec-mode.c: Include limits.h.
8729         (main): Add parameters argc and argv.  Get directory from
8730         argv[0].
8731         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8732         compilation.
8733         * gdb.base/foll-exec.c: Include limits.h.
8734         (main): Add parameters argc and argv.
8735         Get directory from argv[0].
8736         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8737         Adjust tests on the number of lines as source code changed.
8738         * gdb.base/foll-vfork-exit.c: Include limits.h.
8739         (main): Add one line of statement before vfork.
8740         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8741         (main): Add parameters argc and argv.  Get directory from
8742         argv[0].
8743         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8744         (setup_gdb): Set tbreak to skip some source lines.
8745         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8746         (main): Add parameters argc and argv.  Get directory from
8747         argv[0].
8748         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8749         compilation.
8750         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8751         (main): Add parameters argc and argv.  Get directory from
8752         argv[0].
8753         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8754         compilation.
8755
8756 2016-02-01  Doug Evans  <dje@google.com>
8757
8758         * gdb.base/skip.exp: Clean up multiple references to same test name.
8759
8760 2016-02-01  Pedro Alves  <palves@redhat.com>
8761
8762         PR remote/19496
8763         * gdb.threads/forking-threads-plus-breakpoint.exp
8764         (displaced_stepping_supported): New global.
8765         (probe_displaced_stepping_support): New procedure.
8766         (do_test): Add 'displaced' parameter, and use it.
8767         (top level): Check for displaced stepping support.  Add displaced
8768         stepping on/off testing axis.
8769
8770 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8771
8772         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8773         pointer.  Don't perform further tests on the unassociated pointer
8774         if the first test fails.
8775
8776 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8777
8778         * gdb.base/max-value-size.c: New file.
8779         * gdb.base/max-value-size.exp: New file.
8780         * gdb.base/huge.exp: Disable max-value-size for this test.
8781
8782 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8783
8784         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8785
8786 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8787
8788         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8789
8790 2016-01-25  Pedro Alves  <palves@redhat.com>
8791
8792         PR threads/19461
8793         * gdb.base/fork-running-state.c: New file.
8794         * gdb.base/fork-running-state.exp: New file.
8795
8796 2016-01-25  Pedro Alves  <palves@redhat.com>
8797
8798         PR gdb/19494
8799         * gdb.base/catch-fork-kill.c: New file.
8800         * gdb.base/catch-fork-kill.exp: New file.
8801
8802 2016-01-25  Pedro Alves  <palves@redhat.com>
8803
8804         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8805         Delete, moved to lib/gdb.exp.
8806         * gdb.threads/forking-threads-plus-breakpoint.exp
8807         (foreach_with_prefix): Likewise.
8808         * gdb.threads/process-dies-while-handling-bp.exp
8809         (foreach_with_prefix): Likewise.
8810         * lib/gdb.exp (foreach_with_prefix): New procedure.
8811
8812 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8813
8814         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8815         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8816
8817 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8818
8819         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8820         endian targets.
8821
8822 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8823             Pedro Alves  <palves@redhat.com>
8824
8825         Fix testsuite compatibility with Guile.
8826         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8827         number.
8828
8829 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8830
8831         Fix testsuite compatibility with Guile.
8832         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8833         (thread 1): New test for backtrace through signal handler.
8834
8835 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8836
8837         PR testsuite/19491
8838         * gdb.base/multi-forks.c: Include
8839         ../lib/unbuffer_output.c
8840         (main): Call gdb_unbuffer_output.
8841
8842 2016-01-21  Doug Evans  <dje@google.com>
8843
8844         * lib/ada.exp (gdb_compile_ada): Fix typo.
8845
8846 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8847
8848         * gdb.base/break-fun-addr.exp: New file.
8849         * gdb.base/break-fun-addr1.c: New file.
8850         * gdb.base/break-fun-addr2.c: New file.
8851
8852 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8853
8854         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8855         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8856         enum flag values.
8857
8858 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8859
8860         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8861         when GDB can not set the vector return value.  Add more comments
8862         for clarification.
8863
8864 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8865
8866         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8867         command.
8868
8869 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8870
8871         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8872
8873 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8874
8875         * Makefile.in (check-single): Pass --status to runtest.
8876         (check/%.exp): Likewise.
8877
8878 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8879
8880         * Makefile.in (check-parallel): Propagate return code from make
8881         do-check-parallel.
8882
8883 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8884
8885         * gdb.trace/ftrace.exp: Fix expected message on continue.
8886         * gdb.trace/pending.exp: Fix expected message on continue.
8887         * gdb.trace/trace-break.exp: Fix expected message on continue.
8888
8889 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8890
8891         * lib/gdb.exp (gdb_test): Remove unused global references.
8892
8893 2016-01-18  Pedro Alves  <palves@redhat.com>
8894
8895         * gdb.base/async-shell.exp: Adjust expected output.
8896         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8897         * gdb.base/siginfo-thread.exp: Adjust expected output.
8898         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8899         * gdb.java/jnpe.exp: Adjust expected output.
8900         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8901         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8902         * gdb.threads/leader-exit.exp: Adjust expected output.
8903         * gdb.threads/manythreads.exp: Adjust expected output.
8904         * gdb.threads/pthreads.exp: Adjust expected output.
8905         * gdb.threads/schedlock.exp: Adjust expected output.
8906         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8907         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8908         expected output.
8909         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8910         output.
8911         * gdb.threads/sigthread.exp: Adjust expected output.
8912         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8913
8914 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8915
8916         * gdb.guile/scm-section-script.c: Replace @progbits with
8917         %progbits.
8918         * gdb.python/py-section-script.c: Likewise.
8919
8920 2016-01-15  Pedro Alves  <palves@redhat.com>
8921
8922         * gdb.multi/tids.exp: Test star wildcard ranges.
8923
8924 2016-01-15  Pedro Alves  <palves@redhat.com>
8925
8926         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8927         command from "thread apply" invocation.
8928         (thr_apply_info_thr_invalid): Default the expected output to the
8929         input tid list.
8930         (top level): Add tests that use convenience variables.  Add tests
8931         for "thread apply" with a valid TID list, but missing the command.
8932
8933 2016-01-13  Pedro Alves  <palves@redhat.com>
8934
8935         * gdb.base/default.exp: Expect $_gthread as well.
8936         * gdb.multi/tids.exp: Test $_gthread.
8937         * gdb.threads/thread-specific.exp: Test $_gthread.
8938
8939 2016-01-13  Pedro Alves  <palves@redhat.com>
8940
8941         * gdb.multi/tids.exp: Test "info threads -gid".
8942
8943 2016-01-13  Pedro Alves  <palves@redhat.com>
8944
8945         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8946         Breakpoint.thread.
8947         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8948
8949 2016-01-07  Pedro Alves  <palves@redhat.com>
8950
8951         * gdb.base/break.exp: Adjust to output changes.
8952         * gdb.base/hbreak2.exp: Likewise.
8953         * gdb.base/sepdebug.exp: Likewise.
8954         * gdb.base/watch_thread_num.exp: Likewise.
8955         * gdb.linespec/keywords.exp: Likewise.
8956         * gdb.multi/info-threads.exp: Likewise.
8957         * gdb.threads/thread-find.exp: Likewise.
8958         * gdb.multi/tids.c: New file.
8959         * gdb.multi/tids.exp: New file.
8960
8961 2016-01-13  Pedro Alves  <palves@redhat.com>
8962
8963         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8964
8965 2016-01-13  Pedro Alves  <palves@redhat.com>
8966
8967         * gdb.base/default.exp: Expect $_inferior as well.
8968         * gdb.multi/base.exp: Test $_inferior.
8969
8970 2016-01-13  Pedro Alves  <palves@redhat.com>
8971
8972         PR breakpoints/19388
8973         * gdb.base/catch-signal-siginfo-cond.c: New file.
8974         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8975
8976 2016-01-12  Josh Stone  <jistone@redhat.com>
8977             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8978
8979         * gdb.base/catch-syscall.c (do_execve): New variable.
8980         (main): Conditionally trigger an execve.
8981         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8982         (test_catch_syscall_execve): New, check entry/return across execve.
8983         (do_syscall_tests): Call test_catch_syscall_execve.
8984
8985 2016-01-12  Pedro Alves  <palves@redhat.com>
8986
8987         * gdb.base/random-signal.exp (do_test): New procedure, with body
8988         of testcase moved in.
8989
8990 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8991             Pedro Alves  <palves@redhat.com>
8992
8993         * gdb.base/funcargs.exp (finish from indirectly called function):
8994         Reintroduce the case for 'First'.
8995
8996 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8997             Pedro Alves  <palves@redhat.com>
8998
8999         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9000         (tcatch_vfork_then_child_follow_exec)
9001         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9002         identification.
9003
9004 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9005
9006         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9007         and repeats to unlimited.
9008         * gdb.python/py-value.exp: Likewise.
9009         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9010         and repeats to unlimited.
9011
9012 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9013
9014         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9015         and reordering the functions.
9016         * gdb.multi/hangout.c: Likewise.
9017         * gdb.multi/hello.c: Likewise.
9018
9019 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
9020
9021         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9022         absolute.
9023         (SingleStatisticTestResult.report): Use dict.keys instead of
9024         dict.iterkeys.
9025
9026 2016-01-06  Pedro Alves  <palves@redhat.com>
9027
9028         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
9029
9030 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
9031
9032         * gdb.btrace/dlopen.exp: New.
9033         * gdb.btrace/dlopen.c: New.
9034         * gdb.btrace/dlopen-dso.c: New.
9035
9036 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
9037
9038         * lib/gdb.exp (gdb_test): Update comments to clarify that the
9039         PATTERN argument is optional.
9040
9041 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
9042
9043         * lib/ada.exp (target_compile_ada_from_dir): New function.
9044         (gdb_compile_ada): Reimplement avoiding the use of project files.
9045         * gdb.ada/gnat_ada.gpr: Delete.
9046         * gdb.ada/cond_lang.exp: Adjust test to make path before
9047         filename optional.
9048         * gdb.ada/small_reg_param.exp: Likewise.
9049
9050 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
9051
9052         * gdb.base/foll-vork.exp: Remove HP-UX special case.
9053
9054 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
9055
9056         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9057         case.
9058
9059 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
9060
9061         * gdb.base/break.exp: Remove dead code.
9062         * gdb.base/sepdebug.exp: Likewise.
9063
9064 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
9065
9066         * gdb.asm/asm-source.exp: Remove HP-UX references.
9067         * gdb.base/annota1.exp: Likewise.
9068         * gdb.base/annota3.exp: Likewise.
9069         * gdb.base/attach.exp: Likewise.
9070         * gdb.base/bigcore.exp: Likewise.
9071         * gdb.base/break.exp: Likewise.
9072         * gdb.base/call-ar-st.exp: Likewise.
9073         * gdb.base/callfuncs.exp: Likewise.
9074         * gdb.base/catch-fork-static.exp: Likewise.
9075         * gdb.base/display.exp: Likewise.
9076         * gdb.base/foll-exec-mode.exp: Likewise.
9077         * gdb.base/foll-exec.exp: Likewise.
9078         * gdb.base/foll-fork.exp: Likewise.
9079         * gdb.base/foll-vfork.exp: Likewise.
9080         * gdb.base/funcargs.exp: Likewise.
9081         * gdb.base/hbreak2.exp: Likewise.
9082         * gdb.base/inferior-died.exp: Likewise.
9083         * gdb.base/interrupt.exp: Likewise.
9084         * gdb.base/multi-forks.exp: Likewise.
9085         * gdb.base/nodebug.exp: Likewise.
9086         * gdb.base/sepdebug.exp: Likewise.
9087         * gdb.base/solib1.c: Likewise.
9088         * gdb.base/step-test.exp: Likewise.
9089         * gdb.mi/non-stop.c: Likewise.
9090         * gdb.mi/pthreads.c: Likewise.
9091         * gdb.multi/bkpt-multi-exec.ex: Likewise.
9092         * gdb.threads/pthreads.c: Likewise.
9093         * gdb.threads/staticthreads.exp: Likewise.
9094         * lib/future.exp: Likewise.
9095         * lib/gdb.exp: Likewise.
9096         * gdb.base/so-indr-cl.c: Remove.
9097         * gdb.base/so-indr-cl.exp: Likewise.
9098         * gdb.base/solib.c: Likewise.
9099         * gdb.base/solib.exp: Likewise.
9100         * gdb.base/solib2.c: Likewise.
9101
9102 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
9103
9104         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9105         * gdb.base/call-ar-st.exp: Likewise.
9106         * gdb.base/callfuncs.exp: Likewise.
9107         * gdb.base/condbreak.exp: Likewise.
9108         * gdb.base/constvars.exp: Likewise.
9109         * gdb.base/hbreak2.exp: Likewise.
9110         * gdb.base/langs.exp: Likewise.
9111         * gdb.base/list.exp: Likewise.
9112         * gdb.base/long_long.exp: Likewise.
9113         * gdb.base/ptype.exp: Likewise.
9114         * gdb.base/scope.exp: Likewise.
9115         * gdb.base/signals.exp: Likewise.
9116         * gdb.base/so-impl-ld.exp: Likewise.
9117         * gdb.base/varargs.exp: Likewise.
9118         * gdb.base/volatile.exp: Likewise.
9119         * gdb.base/whatis.exp: Likewise.
9120         * gdb.cp/cplusfuncs.exp: Likewise.
9121         * gdb.cp/inherit.exp: Likewise.
9122         * gdb.cp/local.exp: Likewise.
9123         * gdb.cp/member-ptr.exp: Likewise.
9124         * gdb.cp/method.exp: Likewise.
9125         * gdb.cp/overload.exp: Likewise.
9126         * gdb.cp/templates.exp: Likewise.
9127         * gdb.stabs/weird.exp: Likewise.
9128         * lib/compiler.c: Likewise.
9129         * lib/compiler.cc: Likewise.
9130         * lib/cp-support.exp: Likewise.
9131         * lib/gdb.exp: Likewise.
9132
9133 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
9134
9135         * configure.ac: Remove HP-UX case.
9136         * configure: Regenerate.
9137
9138 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
9139
9140         * lib/gdb.exp (gdb_compile): Add function doc.
9141
9142 2015-12-17  Pedro Alves  <palves@redhat.com>
9143
9144         PR threads/19354
9145         * gdb.multi/info-threads.exp: New file.
9146
9147 2015-12-15  Yao Qi  <yao.qi@linaro.org>
9148
9149         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9150         is aarch64*-*-*.
9151
9152 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9153
9154         * gdb.base/history-duplicates.exp: Skip if no readline support.
9155
9156 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9157
9158         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9159
9160 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9161
9162         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9163
9164 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
9165
9166         * gdb.base/completion.exp: Skip tests that interrupt GDB with
9167         ctrl-C if nointerrupts target property is set.
9168         * gdb.base/double-prompt-target-event-error.exp: Likewise.
9169         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9170         * gdb.base/paginate-bg-execution.exp: Likewise.
9171         * gdb.base/paginate-execution-startup.exp: Likewise.
9172         * gdb.base/random-signal.exp: Likewise.
9173         * gdb.base/range-stepping.exp: Likewise.
9174         * gdb.cp/annota2.exp: Likewise.
9175         * gdb.cp/annota3.exp: Likewise.
9176         * gdb.gdb/selftest.exp: Likewise.
9177         * gdb.threads/continue-pending-status.exp: Likewise.
9178         * gdb.threads/leader-exit.exp: Likewise.
9179         * gdb.threads/manythreads.exp: Likewise.
9180         * gdb.threads/pthreads.exp: Likewise.
9181         * gdb.threads/schedlock.exp: Likewise.
9182         * gdb.threads/sigthread.exp: Likewise.
9183
9184 2015-12-11  Don Breazeal  <donb@codesourcery.com>
9185
9186         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9187         remote.
9188         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9189         * gdb.base/foll-exec.exp (main): Enable for target remote.
9190         * gdb.base/foll-fork.exp (main): Likewise.
9191         * gdb.base/foll-vfork.exp (main): Likewise.
9192         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9193         (proc continue_to_exit_bp_loc): Use clean_restart.
9194         * gdb.base/pie-execl.exp (main): Disable for target remote.
9195         * gdb.base/watch-vfork.exp (main): Enable for target remote.
9196         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9197         * gdb.threads/execl.exp (main): Likewise.
9198         * gdb.threads/fork-child-threads.exp (main): Likewise.
9199         * gdb.threads/fork-plus-threads.exp (main): Disable for target
9200         remote.
9201         * gdb.threads/fork-thread-pending.exp (main): Enable for target
9202         remote.
9203         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9204         pid.tid style ptids, instead of just tid.
9205         * gdb.threads/thread-execl.exp (main): Enable for target remote.
9206         * gdb.threads/watchpoint-fork.exp (main): Likewise.
9207         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9208         ptids, instead of just tid.
9209
9210 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9211
9212         * gdb.base/list.exp (test_list_forward): Add end of file error
9213         test.
9214         (test_repeat_list_command): Add end of file error test.
9215         (test_list_backwards): Add beginning of file error test.
9216
9217 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9218
9219         * gdb.base/list.exp (test_list_invalid_args): New function,
9220         defined, and called.
9221
9222 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
9223
9224         * gdb.base/list.exp (test_list): Make test names unique.
9225
9226 2015-12-11  Yao Qi  <yao.qi@linaro.org>
9227
9228         * gdb.base/coremaker2.c: Remove.
9229
9230 2015-12-10  Pedro Alves  <palves@redhat.com>
9231
9232         * gdb.multi/base.exp: Remove stale "spaces" references.
9233
9234 2015-12-10  Pedro Alves  <palves@redhat.com>
9235
9236         * gdb.multi/base.exp: Don't use nowarnings.
9237         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9238         * gdb.multi/hangout.c: Include stdio.h.
9239         * gdb.multi/hello.c: Include stdlib.h.
9240         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9241         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9242         * gdb.multi/multi-arch.exp: Don't use nowarnings.
9243
9244 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
9245
9246         * gdb.dwarf2/dw2-ranges-base.c: New file.
9247         * gdb.dwarf2/dw2-ranges-base.exp: New file.
9248         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9249         support additional line table, and debug ranges generation.
9250         (Dwarf::ranges): New function, generate .debug_ranges.
9251         (Dwarf::lines): Support generating simple line table programs.
9252         (Dwarf::assemble): Initialise new namespace variables.
9253
9254 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
9255
9256         * gdb.base/async.exp (proc test_background): Add case for
9257         asynchronous execution not supported.
9258
9259 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
9260
9261         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9262           format and change test names to make them unique.
9263
9264 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
9265             Pedro Alves  <pedro@redhat.com>
9266
9267         PR gdb/18702
9268         Add checking of floatformats setup on x86_64 hosts.
9269         * gdb.arch/i386-float.S (main): Load bigval and smallval.
9270         (smallval, bigval): New labels/constants.
9271         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9272         float" after loading bigval and smallval.
9273
9274 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
9275
9276         * gdb.ada/fun_overload_menu.exp: New testcase.
9277         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9278
9279 2015-12-04  Josh Stone  <jistone@redhat.com>
9280
9281         * gdb.base/catch-fork-static.exp: New.
9282
9283 2015-12-03  Yao Qi  <yao.qi@linaro.org>
9284
9285         * gdb.base/sizeof.c: Don't include stdio.h and
9286         ../lib/unbuffer_output.c.
9287         (main): New variable 'size' and 'value'.  Remove printf and
9288         gdb_unbuffer_output.  Assign return value to size and value.
9289         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9290         at the beginning.
9291         (check_sizeof): Check the result by printing variable 'size'.
9292         (check_valueof): Check the result by printing variable 'value'.
9293
9294 2015-12-01  Yao Qi  <yao.qi@linaro.org>
9295
9296         * gdb.base/disp-step-syscall.exp: Define syscall instruction
9297         for aarch64*-*-linux* target.
9298
9299 2015-11-30  Pedro Alves  <palves@redhat.com>
9300
9301         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9302
9303 2015-11-30  Pedro Alves  <palves@redhat.com>
9304
9305         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9306         Handle non-stop mode vCont replies.
9307
9308 2015-11-30  Pedro Alves  <palves@redhat.com>
9309
9310         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9311         prepare_for_testing.  Start gdb with "set non-stop on" appended to
9312         GDBFLAGS.  Lax expected stop output.
9313
9314 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9315
9316         * gdb.arch/arm-neon.exp: New.
9317         * gdb.arch/arm-neon.c: New.
9318
9319 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9320
9321         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9322
9323 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9324
9325         * gdb.cp/annota2.exp: Allow multiple occurrences of the
9326         frames-invalid annotation.
9327
9328 2015-11-27  Yao Qi  <yao.qi@linaro.org>
9329
9330         * gdb.cp/annota2.exp: Use ${frames_invalid}.
9331
9332 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
9333
9334         * gdb.threads/names.exp: New file.
9335         * gdb.threads/names.c: New file.
9336         * README: Mention gdb,no_thread_names.
9337
9338 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
9339
9340         PR 19297
9341         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9342         support" error.
9343
9344 2015-11-24  Pedro Alves  <palves@redhat.com>
9345
9346         PR 17539
9347         * gdb.base/display.exp: Expect displays to be sorted in ascending
9348         order.  Use multi_line.
9349         * gdb.base/solib-display.exp: Likewise.
9350
9351 2015-11-24  Pedro Alves  <palves@redhat.com>
9352
9353         PR 17539
9354         * gdb.base/display.exp: Expect displays to be sorted in ascending
9355         order.  Use multi_line.
9356         * gdb.base/solib-display.exp: Likewise.
9357
9358 2015-11-24  Pedro Alves  <palves@redhat.com>
9359
9360         PR 17539
9361         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9362         threads in ascending order.
9363         * gdb.base/foll-fork.exp: Likewise.
9364         * gdb.base/foll-vfork.exp: Likewise.
9365         * gdb.base/multi-forks.exp: Likewise.
9366         * gdb.mi/mi-nonstop.exp: Likewise.
9367         * gdb.mi/mi-nsintrall.exp: Likewise.
9368         * gdb.multi/base.exp: Likewise.
9369         * gdb.multi/multi-arch.exp: Likewise.
9370         * gdb.python/py-inferior.exp: Likewise.
9371         * gdb.threads/break-while-running.exp: Likewise.
9372         * gdb.threads/execl.exp: Likewise.
9373         * gdb.threads/gcore-thread.exp: Likewise.
9374         * gdb.threads/info-threads-cur-sal.exp: Likewise.
9375         * gdb.threads/kill.exp: Likewise.
9376         * gdb.threads/linux-dp.exp: Likewise.
9377         * gdb.threads/multiple-step-overs.exp: Likewise.
9378         * gdb.threads/next-bp-other-thread.exp: Likewise.
9379         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9380         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9381         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9382         * gdb.threads/thread-find.exp: Likewise.
9383         * gdb.threads/tls.exp: Likewise.
9384         * lib/mi-support.exp (mi_reverse_list): Delete.
9385         (mi_check_thread_states): No longer reverse list.
9386
9387 2015-11-24  Pedro Alves  <palves@redhat.com>
9388
9389         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
9390         use lowercase.
9391
9392 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
9393
9394         * gdb.trace/actions.c: Include trace-common.h.
9395         (main): Add a location for a fast tracepoint.
9396         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9397         the normal tracepoints.
9398         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9399
9400 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
9401
9402         * save-trace.exp: Factor out code to these...
9403         (gdb_save_tracepoints): New.
9404         (gdb_load_tracepoints): New.
9405         (do_save_load_test): New.
9406
9407 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
9408
9409         * gdb.base/asmlabel.exp: New test.
9410         * gdb.base/asmlabel.c: New test case.
9411
9412 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
9413
9414         * gdb.base/wrong_frame_bt_full-main.c: New file.
9415         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9416         * gdb.base/wrong_frame_bt_full.exp: New file.
9417
9418 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
9419
9420         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9421
9422 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
9423
9424         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9425         pstate register when comparing registers values in
9426         sparc64-*-linux-gnu targets to avoid spurious differences.
9427
9428 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
9429
9430         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9431
9432 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
9433
9434         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9435         as type argument to gdb_compile.
9436         * gdb.base/nested-subp2.exp: Likewise.
9437         * gdb.base/nested-subp3.exp: Likewise.
9438
9439 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9440
9441         * lib/dwarf.exp (_note): Fix left shift of negative value.
9442         * gdb.trace/trace-condition.exp: Likewise.
9443
9444 2015-11-13  Yao Qi  <yao.qi@linaro.org>
9445
9446         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9447         comments about d10v.
9448         (test_scalar_returns): Likewise.
9449         * gdb.base/d10v.ld: Remove.
9450         * gdb.base/overlays.exp: Remove the target triplet checking for
9451         d10v-*-*.
9452         * gdb.base/structs.exp (test_struct_returns): Remove the
9453         comments about d10v.
9454         (test_struct_calls): Likewise.
9455
9456 2015-11-13  Yao Qi  <yao.qi@linaro.org>
9457
9458         * gdb.base/gnu_vector.exp: Check the return value by "p res".
9459         * gdb.base/gnu_vector.c: Don't include stdio.h.
9460         (main): Don't print res and call add_some_intvecs.
9461
9462 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9463
9464         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9465         macro.
9466         (func5): Removed.
9467         (func4): Use FAST_TRACEPOINT_LABEL.
9468         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9469         macro.
9470         (func): Removed.
9471         (thread_function): Use FAST_TRACEPOINT_LABEL.
9472         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9473         (func): Remove.
9474         (marker): Use FAST_TRACEPOINT_LABEL.
9475         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9476         (pendfunc1): Remove.
9477         (pendfunc): Use FAST_TRACEPOINT_LABEL.
9478         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9479         (foo): Remove.
9480         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9481         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9482         macro.
9483         (func): Remove.
9484         (marker): Use FAST_TRACEPOINT_LABEL.
9485         * gdb.trace/trace-common.h: New header.
9486         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9487         macro.
9488         (func): Remove.
9489         (marker): Use FAST_TRACEPOINT_LABEL.
9490         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9491         (func): Remove.
9492         (thread_function): Use FAST_TRACEPOINT_LABEL.
9493
9494 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9495
9496         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9497         in front.
9498         * gdb.trace/change-loc.exp: Use global pcreg definition.
9499         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9500         * gdb.trace/entry-values.exp: Use global spreg definition, add $
9501         in front.
9502         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9503         * gdb.trace/pending.exp: Likewise.
9504         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9505         * gdb.trace/trace-break.exp: Likewise.
9506         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9507         in front.
9508         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9509         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9510         in front.
9511         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9512
9513 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
9514
9515         * gdb.ada/fin_fun_out: New testcase.
9516
9517 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
9518
9519         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9520         value associated with DW_AT_byte_size.
9521         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9522         constants for DW_AT_byte_size, DW_AT_lower_bound, and
9523         DW_AT_upper_bound.
9524
9525 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
9526
9527         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9528         (gdb_target_symbol_prefix_flags): Define in terms of _asm
9529         version.
9530         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9531         gdb.dwarf2/dw2-canonicalize-type.exp,
9532         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9533         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9534         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9535         provided by gdb_target_symbol_prefix_flags_asm.
9536         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9537         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9538         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9539         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9540         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9541         macros where needed).  Use this macro for symbols which require
9542         the prefix provided by SYMBOL_PREFIX.
9543
9544 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
9545
9546         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9547         New procs.
9548         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9549         representing expressions, of more than one list element.
9550         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9551         to prepend linker symbol prefix to f.
9552         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9553         table_1 and table_2.
9554         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9555         Likewise, for f and g.
9556         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9557         for ptr.
9558         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9559         for main.
9560         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9561         table_1_ptr and table_2_ptr.
9562
9563 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9564             Joel Brobecker  <brobecker@adacore.com>
9565
9566         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9567
9568 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9569
9570         * gdb.reverse/s390-mvcle.c: New test.
9571         * gdb.reverse/s390-mvcle.exp: New file.
9572         * lib/gdb.exp: Enable reverse tests on s390*-linux.
9573
9574 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9575
9576         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9577
9578 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9579
9580         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9581         reaching marker2.
9582         * gdb.reverse/getresuid-reverse.exp: Likewise.
9583         * gdb.reverse/pipe-reverse.exp: Likewise.
9584         * gdb.reverse/readv-reverse.exp: Likewise.
9585         * gdb.reverse/recvmsg-reverse.exp: Likewise.
9586         * gdb.reverse/time-reverse.exp: Likewise.
9587         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9588
9589 2015-10-30  Yao Qi  <yao.qi@linaro.org>
9590
9591         * gdb.threads/wp-replication.c (watch_count_done): Remove.
9592         (empty_cycle): Remove.
9593         (main): Don't call empty_cycle.  Don't use watch_count_done.
9594         * gdb.threads/wp-replication.exp: Don't set breakpoint on
9595         empty_cycle.  Rewrite the code counting HW watchpoints.
9596
9597 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9598
9599         * gdb.reverse/fstatat-reverse.c: New test.
9600         * gdb.reverse/fstatat-reverse.exp: New file.
9601         * gdb.reverse/getresuid-reverse.c: New test.
9602         * gdb.reverse/getresuid-reverse.exp: New file.
9603         * gdb.reverse/pipe-reverse.c: New test.
9604         * gdb.reverse/pipe-reverse.exp: New file.
9605         * gdb.reverse/readv-reverse.c: New test.
9606         * gdb.reverse/readv-reverse.exp: New file.
9607         * gdb.reverse/recvmsg-reverse.c: New test.
9608         * gdb.reverse/recvmsg-reverse.exp: New file.
9609         * gdb.reverse/time-reverse.c: New test.
9610         * gdb.reverse/time-reverse.exp: New file.
9611         * gdb.reverse/waitpid-reverse.c: New test.
9612         * gdb.reverse/waitpid-reverse.exp: New file.
9613
9614 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9615
9616         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9617
9618 2015-10-26  Doug Evans  <dje@google.com>
9619
9620         PR symtab/17391
9621         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9622         * gdb.dwarf2/bad-regnum.c: New file.
9623         * gdb.dwarf2/bad-regnum.exp: New file.
9624
9625 2015-10-26  Doug Evans  <dje@google.com>
9626
9627         PR python/18938
9628         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9629         file.
9630
9631 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9632
9633         * gdb.compile/compile.exp (compile code globalvar): Update expectation
9634         for a change by "Mention language in compile error message".
9635
9636 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
9637
9638         PR python/18073
9639         * gdb.python/py-type.c (C::a_method): New.
9640         (C::a_const_method): New.
9641         (C::a_static_method): New.
9642         (a_function): New.
9643         * gdb.python/py-type.exp (test_fields): Test getting fields
9644         from function and method.
9645
9646 2015-10-21  Keven Boell  <keven.boell@intel.com>
9647
9648         * gdb.fortran/vla-alloc-assoc.exp: New file.
9649         * gdb.fortran/vla-datatypes.exp: New file.
9650         * gdb.fortran/vla-datatypes.f90: New file.
9651         * gdb.fortran/vla-history.exp: New file.
9652         * gdb.fortran/vla-ptype-sub.exp: New file.
9653         * gdb.fortran/vla-ptype.exp: New file.
9654         * gdb.fortran/vla-sizeof.exp: New file.
9655         * gdb.fortran/vla-sub.f90: New file.
9656         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9657         * gdb.fortran/vla-value-sub-finish.exp: New file.
9658         * gdb.fortran/vla-value-sub.exp: New file.
9659         * gdb.fortran/vla-value.exp: New file.
9660         * gdb.fortran/vla-ptr-info.exp: New file.
9661         * gdb.mi/mi-vla-fortran.exp: New file.
9662         * gdb.mi/vla.f90: New file.
9663
9664 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
9665
9666         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9667         of hardwired timeout value.
9668
9669 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9670             Pedro Alves  <palves@redhat.com>
9671
9672         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9673         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9674
9675 2015-10-19  Josh Stone  <jistone@redhat.com>
9676
9677         * gdb.base/catch-syscall.c: Include <sched.h>.
9678         (unknown_syscall): New variable.
9679         (main): Trigger a vfork and an unknown syscall.
9680         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9681         (unknown_syscall_number): Likewise.
9682         (check_call_to_syscall): Accept an optional syscall pattern.
9683         (check_return_from_syscall): Likewise.
9684         (check_continue): Likewise.
9685         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9686         (test_catch_syscall_skipping_return): New test toggling off 'catch
9687         syscall' to step over the syscall return, then toggling back on.
9688         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9689         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9690         (do_syscall_tests): Call test_catch_syscall_without_args and
9691         test_catch_syscall_mid_vfork.
9692         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9693         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9694
9695 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9696
9697         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9698         print g_vE): Add new pass patterns.
9699         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9700         print various symbol names for vptr fields.
9701
9702 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9703
9704         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9705         results.
9706
9707 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9708
9709         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9710
9711 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9712
9713         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9714         is aarch64*-*-linux*.
9715
9716 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9717
9718         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9719         (can_relocate_bcond_true): ... it.
9720         (can_relocate_bcond_false): New function.
9721         (foo): Likewise.
9722         (can_relocate_bl): Likewise.
9723         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9724         can_relocate_bl.
9725
9726 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9727
9728         * gdb.base/nested-addr.c: New file.
9729         * gdb.base/nested-addr.exp: New testcase.
9730
9731 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9732
9733         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9734         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9735         its output.  Ignore the output of "record goto begin" and instead
9736         check that GDB is replaying.
9737
9738 2015-10-09  Pedro Alves  <palves@redhat.com>
9739
9740         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9741         (top level): Use it in the run with no args test.
9742
9743 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9744
9745         * gdb.dlang/properties.exp: New file.
9746
9747 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9748
9749         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9750         whether or not address 0x1000 is mapped on the target.
9751
9752 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9753
9754         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9755         build.
9756
9757 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9758
9759         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9760         instruction-history test.
9761
9762 2015-09-28  Doug Evans  <dje@google.com>
9763
9764         * gdb.base/gcore.c (array_func): Add reference to static_array.
9765
9766 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9767
9768         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9769         source line.
9770
9771 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9772
9773         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9774         short or char as base type.
9775
9776 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9777
9778         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9779         to allow any size enum.
9780
9781 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9782
9783         * gdb.ada/array_ptr_renaming.exp: New testcase.
9784         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9785         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9786
9787 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9788
9789         * gdb.trace/ftrace-lock.c: New file.
9790         * gdb.trace/ftrace-lock.exp: New file.
9791
9792 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9793
9794         * gdb.arch/insn-reloc.c: New file.
9795         * gdb.arch/ftrace-insn-reloc.exp: New file.
9796
9797 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9798
9799         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9800         instruction.
9801         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9802         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9803         * gdb.trace/range-stepping.c: Likewise.
9804         * gdb.trace/trace-break.c: Likewise.
9805         * gdb.trace/trace-mt.c (thread_function): Likewise.
9806         * gdb.trace/ftrace.c (marker): Likewise.
9807         * gdb.trace/trace-condition.c (marker): Likewise.
9808         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9809         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9810         is_aarch64_target.
9811
9812 2015-09-18  Doug Evans  <xdje42@gmail.com>
9813
9814         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9815         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9816
9817 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9818
9819         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9820         the breakpoint.
9821
9822 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9823
9824         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9825         the pending breakpoint.  Remove timeout override for "Run till
9826         MI pending breakpoint on pendfunc3 on thread 2" test.
9827
9828 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9829
9830         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9831         filename pattern.
9832
9833 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9834
9835         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9836         in breakpoint filename pattern.
9837
9838 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9839
9840         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9841
9842 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9843
9844         * gdb.linespec/explicit.exp: Check for readline support for
9845         tab-completion tests.  Fix obvious typo.
9846
9847 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9848
9849         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9850         and replay.
9851
9852 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9853
9854         * gdb.btrace/non-stop.c: New.
9855         * gdb.btrace/non-stop.exp: New.
9856
9857 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9858             Yao Qi  <yao.qi@linaro.org>
9859
9860         * gdb.trace/trace-condition.c: New file.
9861         * gdb.trace/trace-condition.exp: New file.
9862
9863 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9864
9865         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9866         for testing bytecode compilation.
9867
9868 2015-09-16  Pedro Alves  <palves@redhat.com>
9869             Sandra Loosemore <sandra@codesourcery.com>
9870
9871         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9872         (SECONDS): Redefine.
9873         (main): Call pthread_kill and alarm early.
9874         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9875         support.
9876         (test): If the target can't hardware step and doesn't support
9877         displaced stepping, increase the timeout.
9878
9879 2015-09-16  Pedro Alves  <palves@redhat.com>
9880
9881         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9882         (enable_debug): New procedures.
9883         (test): Use them.  Bail out if waiting for threads fails.
9884         (top level): Bail out if a test fails.
9885
9886 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9887
9888         * gdb.asm/asm-source.exp: Set asm-arch for
9889         aarch64*-*-* target.
9890         * gdb.asm/aarch64.inc: New file.
9891
9892 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9893
9894         * gdb.ada/array_of_variable_length.exp: New testcase.
9895         * gdb.ada/array_of_variable_length/foo.adb: New file.
9896         * gdb.ada/array_of_variable_length/pck.adb: New file.
9897         * gdb.ada/array_of_variable_length/pck.ads: New file.
9898
9899 2015-09-15  Doug Evans  <dje@google.com>
9900
9901         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9902         of function static local variable.
9903
9904 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9905
9906         * gdb.threads/tls-so_extern.exp: New test file.
9907         * gdb.threads/tls-so_extern.c: New test file.
9908         * gdb.threads/tls-so_extern_main.c: New test file.
9909
9910 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9911
9912         * gdb.opt/solib-intra-step-lib.c: New file.
9913         * gdb.opt/solib-intra-step-main.c: New file.
9914         * gdb.opt/solib-intra-step.exp: New file.
9915
9916 2015-09-15  Pedro Alves  <palves@redhat.com>
9917
9918         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9919         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9920
9921 2015-09-14  Pedro Alves  <palves@redhat.com>
9922
9923         * gdb.base/hook-stop-continue.c: Delete.
9924         * gdb.base/hook-stop-continue.exp: Delete.
9925         * gdb.base/hook-stop-frame.c: Delete.
9926         * gdb.base/hook-stop-frame.exp: Delete.
9927         * gdb.base/hook-stop.c: New file.
9928         * gdb.base/hook-stop.exp: New file.
9929
9930 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9931
9932         * gdb.ada/access_to_packed_array.exp: New testcase.
9933         * gdb.ada/access_to_packed_array/foo.adb: New file.
9934         * gdb.ada/access_to_packed_array/pack.adb: New file.
9935         * gdb.ada/access_to_packed_array/pack.ads: New file.
9936
9937 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9938
9939         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9940         buffer size test.
9941
9942 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9943
9944         * gdb.base/foll-exec.c: Add copyright header.  Fix
9945         formatting issues.
9946         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9947         (do_exec_tests): Use clean_restart in place of zap_session,
9948         and for test initialization.  Fix formatting issues.  Use
9949         fail in place of perror.
9950         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9951         an expect statement to match an expression with output from
9952         the program under debug.
9953         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9954         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9955         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9956         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9957         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9958
9959 2015-09-09  Doug Evans  <dje@google.com>
9960
9961         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9962
9963 2015-09-09  Doug Evans  <dje@google.com>
9964
9965         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9966
9967 2015-09-09  Doug Evans  <dje@google.com>
9968
9969         * gdb.base/savedregs.exp: Fix typo.
9970
9971 2015-09-09  Pedro Alves  <palves@redhat.com>
9972
9973         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9974
9975 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9976
9977         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9978         command actually switches threads.  Give up on remaining
9979         tests if target fails to stop at breakpoint.
9980
9981 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9982
9983         * gdb.ada/funcall_char.exp: New testcase.
9984         * gdb.ada/funcall_char/foo.adb: New file.
9985
9986 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9987
9988         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9989         expected outputs.  Add two testcases for completing ambiguous
9990         functions.
9991         * gdb.ada/complete/aux_pck.adb: New file.
9992         * gdb.ada/complete/aux_pck.ads: New file.
9993         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9994         Ambiguous_Func functions.
9995         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9996         * gdb.ada/complete/pck.adb: Likewise.
9997
9998 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9999
10000         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10001         failures to run the test program under GDB.
10002
10003 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
10004
10005         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10006         to C.
10007
10008 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
10009
10010         * gdb.base/run-after-attach.exp: New test file.
10011         * gdb.base/run-after-attach.c: New test file.
10012
10013 2015-08-26  Don Breazeal  <donb@codesourcery.com>
10014
10015         * gdb.base/foll-exec-2.c: New test program.
10016         * gdb.base/foll-exec-2.exp: New test.
10017
10018 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
10019
10020         * gdb.base/nested-subp1.exp: New file.
10021         * gdb.base/nested-subp1.c: New file.
10022         * gdb.base/nested-subp2.exp: New file.
10023         * gdb.base/nested-subp2.c: New file.
10024         * gdb.base/nested-subp3.exp: New file.
10025         * gdb.base/nested-subp3.c: New file.
10026
10027 2015-08-24  Pedro Alves  <palves@redhat.com>
10028
10029         * gdb.server/connect-without-multi-process.c: New file.
10030         * gdb.server/connect-without-multi-process.exp: New file.
10031
10032 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
10033
10034         * gdb.opt/inline-markers.c: Make z int.
10035
10036 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
10037
10038         * gdb.opt/inline-markers.c: Make z volatile.
10039
10040 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
10041
10042         * gdb.opt/inline-bt.c: New volatile global z.
10043         * gdb.opt/inline-cmds.c: Likewise.
10044         * gdb.opt/inline-locals.c: Likewise.
10045         * gdb.opt/inline-markers.c: New extern global z.
10046         (marker): Use z.
10047         (inline_fn): Likewise.
10048
10049 2015-08-24  Pedro Alves  <palves@redhat.com>
10050
10051         * config/m32r-stub.exp: Remove file.
10052         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10053         * gdb.base/call-rt-st.exp: Likewise.
10054         * gdb.base/call-strs.exp: Likewise.
10055         * gdb.base/default.exp: Remove references to h8300-*-hms and
10056         *-*-udi*.
10057         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10058
10059 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10060
10061         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10062         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
10063         and "return" use KFAIL when GDB can not read/write the vector
10064         return value.
10065
10066 2015-08-21  Gary Benson <gbenson@redhat.com>
10067
10068         * gdb.trace/pending.exp: Cope with remote transfer warnings.
10069
10070 2015-08-20  Pedro Alves  <palves@redhat.com>
10071
10072         * gdb.server/solib-list.exp: No longer expect an interior stop in
10073         non-stop mode.
10074
10075 2015-08-20  Pedro Alves  <palves@redhat.com>
10076
10077         * gdb.server/connect-stopped-target.c: New file.
10078         * gdb.server/connect-stopped-target.exp: New file.
10079
10080 2015-08-20  Pedro Alves  <palves@redhat.com>
10081
10082         * gdb.dwarf2/comp-unit-lang.exp: New file.
10083         * gdb.dwarf2/comp-unit-lang.c: New file.
10084
10085 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
10086
10087         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10088         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10089
10090 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
10091
10092         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10093         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10094
10095 2015-08-18  Doug Evans  <dje@google.com>
10096             Adrian Sendroiu <adrian.sendroiu@freescale.com>
10097
10098         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10099         skip_python_tests.  New arg prompt_regexp.
10100         (skip_python_tests): New function.
10101         * lib/mi-support.exp (mi_skip_python_tests): New function.
10102         * gdb.python/py-mi-objfile-gdb.py: New file.
10103         * gdb.python/py-mi-objfile.c: New file.
10104         * gdb.python/py-mi-objfile.exp: New file.
10105
10106 2015-08-17  Keith Seitz  <keiths@redhat.com>
10107
10108         * gdb.linespec/explicit.exp: Move strace test from here ...
10109         * gdb.trace/strace.exp: ... to here.
10110
10111 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
10112
10113         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10114         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10115
10116 2015-08-14  Doug Evans  <xdje42@gmail.com>
10117
10118         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10119         inferior before selecting a new file.
10120
10121 2015-08-14  Doug Evans  <xdje42@gmail.com>
10122
10123         * gdb.mi/mi-disassemble.exp: Update.
10124         * gdb.base/disasm-optim.S: New file.
10125         * gdb.base/disasm-optim.c: New file.
10126         * gdb.base/disasm-optim.h: New file.
10127         * gdb.base/disasm-optim.exp: New file.
10128
10129 2015-08-14  Keith Seitz  <keiths@redhat.com>
10130
10131         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10132         "evaluated-by".
10133
10134 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
10135
10136         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10137
10138 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
10139
10140         * gdb.ada/fun_renaming.exp: New testcase.
10141         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10142         * gdb.ada/fun_renaming/pack.adb: New file.
10143         * gdb.ada/fun_renaming/pack.ads: New file.
10144
10145 2015-08-12  Keith Seitz  <keiths@redhat.com>
10146
10147         * gdb.base/dso2dso.exp: Pass basename of source file in call to
10148         gdb_get_line_number.
10149
10150 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
10151
10152         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10153         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10154         gdb.base/dso2dso.exp: New files.
10155
10156 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
10157             Pedro Alves  <palves@redhat.com>
10158             Keith Seitz  <keiths@redhat.com>
10159
10160         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10161         GDBFLAGS.
10162
10163 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
10164
10165         * gdb.base/gdbhistsize-history.exp
10166         (test_histsize_history_setting): Use save_vars.
10167         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10168         Use save_vars.
10169         (test_no_truncation_of_unlimited_history_file): Use save_vars.
10170         * gdb.base/readline.exp: Use save_vars.
10171
10172 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
10173
10174         * lib/gdb.exp (save_vars): New proc.
10175
10176 2015-08-11  Keith Seitz  <keiths@redhat.com>
10177
10178         * gdb.base/help.exp: Update help_breakpoint_text.
10179
10180 2015-08-11  Keith Seitz  <keiths@redhat.com>
10181
10182         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10183         (at toplevel): Call test_explicit_breakpoints.
10184         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10185         breakpoints.
10186         * lib/mi-support.exp (mi_make_breakpoint): Add support for
10187         breakpoint conditions, "-cond".
10188
10189 2015-08-11  Keith Seitz  <keiths@redhat.com>
10190
10191         * gdb.linespec/3explicit.c: New file.
10192         * gdb.linespec/cpexplicit.cc: New file.
10193         * gdb.linespec/cpexplicit.exp: New file.
10194         * gdb.linespec/explicit.c: New file.
10195         * gdb.linespec/explicit.exp: New file.
10196         * gdb.linespec/explicit2.c: New file.
10197         * gdb.linespec/ls-errs.exp: Add explicit location tests.
10198         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10199         before using in the matching pattern.
10200         Clarify that `prefix' is a regular expression.
10201
10202 2015-08-11  Keith Seitz  <keiths@redhat.com>
10203
10204         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10205         test.
10206         Add tests for missing ",FMT" and ",".
10207
10208 2015-08-10  Doug Evans  <dje@google.com>
10209             Keith Seitz  <keiths@redhat.com>
10210
10211         PR gdb/17960
10212         * gdb.base/completion.exp: Add location completer tests.
10213
10214 2015-08-07  Pedro Alves  <palves@redhat.com>
10215
10216         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10217         tests here.
10218         (top level): Run do_test with and without displaced stepping.
10219
10220 2015-08-07  Pedro Alves  <palves@redhat.com>
10221
10222         * gdb.base/valgrind-disp-step.c: New file.
10223         * gdb.base/valgrind-disp-step.exp: New file.
10224
10225 2015-08-07  Pedro Alves  <palves@redhat.com>
10226
10227         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10228         Delete function.
10229         (main): Add alarm.  Run an infinite loop instead of calling
10230         wait_threads.
10231         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10232         comment.
10233         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10234         Delete function.
10235         (main): Add alarm.  Run an infinite loop instead of calling
10236         wait_threads.
10237         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10238         comment.
10239
10240 2015-08-07  Pedro Alves  <palves@redhat.com>
10241
10242         * gdb.base/checkpoint-ns.exp: New file.
10243         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10244         standard_testfile.
10245
10246 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
10247
10248         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10249         * gdb.btrace/instruction_history.exp: Update.
10250         * gdb.btrace/tsx.exp: New.
10251         * gdb.btrace/tsx.c: New.
10252
10253 2015-08-06  Pedro Alves <palves@redhat.com>
10254
10255         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10256         increase timeout.
10257         * gdb.reverse/until-precsave.exp: Bump timeouts.
10258
10259 2015-08-06  Pedro Alves  <palves@redhat.com>
10260
10261         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10262
10263 2015-08-06  Pedro Alves  <palves@redhat.com>
10264
10265         PR gdb/18749
10266         * gdb.threads/process-dies-while-handling-bp.c: New file.
10267         * gdb.threads/process-dies-while-handling-bp.exp: New file.
10268
10269 2015-08-06  Pedro Alves  <palves@redhat.com>
10270
10271         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10272         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10273
10274 2015-08-05  Pedro Alves  <palves@redhat.com>
10275
10276         * gdb.threads/next-while-other-thread-longjmps.c: New file.
10277         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10278
10279 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
10280
10281         * gdb.base/bp-permanent.exp: Report test as unsupported if
10282         the target cannot stop at the permanent breakpoint.
10283
10284 2015-08-03  Doug Evans  <dje@google.com>
10285
10286         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10287         10000.
10288
10289 2015-08-03  Doug Evans  <dje@google.com>
10290
10291         * Makefile.in (workers/%.worker, build-perf): New rule.
10292         (GDB_PERFTEST_MODE): New variable.
10293         (check-perf): Use it.
10294         (clean): Clean up gdb.perf parallel build subdirs.
10295         * lib/build-piece.exp: New file.
10296         * lib/gdb.exp (make_gdb_parallel_path): New function
10297         (standard_output_file, standard_temp_file): Call it.
10298         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10299         of $GDB_PARALLEL.
10300         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10301
10302 2015-08-03  Doug Evans  <dje@google.com>
10303
10304         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10305         (LOG_FILE_NAME): New global.
10306         (TextReporter.__init__): Initialize self.txt_sum.
10307         (TextReporter.report): Add support for multiple data-points.
10308         Move report to perftest.sum, put raw data in perftest.log.
10309         (TextReporter.start): Open sum and log files.
10310         (TextReporter.end): Close sum and log files.
10311         * gdb.perf/lib/perftest/testresult.py
10312         (SingleStatisticTestResult.record): Handle multiple data-points.
10313
10314 2015-07-31  Pedro Alves  <palves@redhat.com>
10315
10316         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10317         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
10318         kill_wait_spawned_process instead of explicit "kill -9".
10319         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10320         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
10321         kill_wait_spawned_process.
10322         * gdb.base/attach-twice.exp: Likewise.
10323         * gdb.base/attach.exp: Likewise.
10324         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10325         gdb_test_multiple.
10326         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10327         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
10328         kill_wait_spawned_process.
10329         * gdb.base/valgrind-infcall.exp: Likewise.
10330         * gdb.multi/multi-attach.exp: Likewise.
10331         * gdb.python/py-prompt.exp: Likewise.
10332         * gdb.python/py-sync-interp.exp: Likewise.
10333         * gdb.server/ext-attach.exp: Likewise.
10334         * gdb.threads/attach-into-signal.exp (corefunc): Use
10335         spawn_wait_for_attach, spawn_id_get_pid and
10336         kill_wait_spawned_process.
10337         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10338         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
10339         spawn_id_get_pid and kill_wait_spawned_process.
10340         * gdb.threads/attach-stopped.exp (corefunc): Use
10341         spawn_wait_for_attach, spawn_id_get_pid and
10342         kill_wait_spawned_process.
10343         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10344         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
10345         kill_wait_spawned_process instead of explicit "kill -9".
10346         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10347         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10348         (spawn_wait_for_attach): Use spawn instead of exec to spawn
10349         processes.  Don't map cygwin/windows pids here.  Now returns a
10350         spawn id list.
10351
10352 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
10353
10354         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10355         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10356         correct patch.
10357
10358 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
10359
10360         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10361
10362 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
10363
10364         Reapply:
10365         2014-05-21  Mark Wielaard  <mjw@redhat.com>
10366
10367         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10368
10369 2015-07-30  Pedro Alves  <palves@redhat.com>
10370
10371         * linux-low.c (handle_extended_wait): Set the child's last
10372         reported status to TARGET_WAITKIND_STOPPED.
10373
10374 2015-07-30  Pedro Alves  <palves@redhat.com>
10375
10376         PR threads/18600
10377         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10378         only shows inferior 1.
10379
10380 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
10381             Pedro Alves  <palves@redhat.com>
10382
10383         PR threads/18600
10384         * gdb.threads/fork-plus-threads.c: New file.
10385         * gdb.threads/fork-plus-threads.exp: New file.
10386
10387 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10388
10389         * gdb.base/batch-preserve-term-settings.exp
10390         (test_terminal_settings_preserved_after_cli_exit): Use
10391         send_quit_command.
10392
10393 2015-07-29  Pedro Alves  <palves@redhat.com>
10394             Don Breazeal  <donb@codesourcery.com>
10395
10396         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10397         output from both inferior_spawn_id and gdb_spawn_id.
10398
10399 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
10400
10401         * gdb.threads/attach-into-signal.exp (corefunc): Use
10402         with_test_prefix on nested loops, uniquefying the test messages.
10403
10404 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
10405
10406         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10407         commit.
10408
10409 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10410
10411         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10412         New proc.
10413         (test_terminal_settings_preserved_after_sigterm): New test.
10414
10415 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10416
10417         * gdb.base/batch-preserve-term-settings.exp
10418         (test_terminal_settings_preserved_after_cli_exit): New test.
10419
10420 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10421
10422         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10423         manipulation of saved_gdbflags.
10424         (test_terminal_settings_preserved): Remove global declaration of
10425         the unused variable pagination_prompt.  Remove manipulation of
10426         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
10427         GDBFLAGS.
10428
10429 2015-07-29  Pedro Alves  <palves@redhat.com>
10430
10431         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10432
10433 2015-07-29  Pedro Alves  <palves@redhat.com>
10434
10435         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10436         at the top.
10437
10438 2015-07-29  Pedro Alves  <palves@redhat.com>
10439
10440         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10441         (main): Call gdb_unbuffer_output.
10442         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10443         (main): Call gdb_unbuffer_output.
10444         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10445         (main): Call gdb_unbuffer_output.
10446         * gdb.base/call-strs.exp: Adjust to step over the
10447         gdb_unbuffer_output call.
10448         * gdb.base/catch-gdb-caused-signals.c: Include
10449         "../lib/unbuffer_output.c".
10450         (main): Call gdb_unbuffer_output.
10451         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10452         (main): Call gdb_unbuffer_output.
10453         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10454         (main): Call gdb_unbuffer_output.
10455         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10456         (main): Call gdb_unbuffer_output.
10457         * gdb.base/shlib-call.exp: Adjust to step over the
10458         gdb_unbuffer_output call.
10459         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10460         (main): Call gdb_unbuffer_output.
10461         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10462         (main): Call gdb_unbuffer_output.
10463         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10464         (main): Rename to ...
10465         (test): ... this.
10466         (main): Reimplement.
10467         * gdb.base/varargs.exp: Run to test instead of to main.
10468         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10469         (main): Call gdb_unbuffer_output.
10470
10471 2015-07-29  Pedro Alves  <palves@redhat.com>
10472
10473         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10474         factore out from mi_continue_dprintf.  For call-style dprintfs,
10475         expect dprintf output out of $inferior_spawn_id.
10476         (mi_continue_dprintf): Use mi_expect_dprintf.
10477         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10478         (main): Call gdb_unbuffer_output.
10479
10480 2015-07-29  Pedro Alves  <palves@redhat.com>
10481
10482         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10483         (default_mi_gdb_start): Set inferior_spawn_id instead of
10484         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
10485         gdb_spawn_id.
10486         (mi_gdb_test): Always expect inferior output from both
10487         $inferior_spawn_id and $gdb_spawn_id.
10488
10489 2015-07-29  Pedro Alves  <palves@redhat.com>
10490
10491         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
10492         send_inferior and $inferior_spawn_id.
10493
10494 2015-07-29  Pedro Alves  <palves@redhat.com>
10495
10496         * gdb.gdb/complaints.exp (test_initial_complaints)
10497         (test_serial_complaints, test_short_complaints): Use
10498         gdb_test_stdio.
10499         (test_empty_complaint): Handle $inferior_spawn_id !=
10500         $gdb_spawn_id.
10501
10502 2015-07-29  Pedro Alves  <palves@redhat.com>
10503
10504         * gdb.base/varargs.exp: Use gdb_test_stdio.
10505
10506 2015-07-29  Pedro Alves  <palves@redhat.com>
10507
10508         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10509
10510 2015-07-29  Pedro Alves  <palves@redhat.com>
10511
10512         * gdb.base/ending-run.exp: Use gdb_test_stdio.
10513
10514 2015-07-29  Pedro Alves  <palves@redhat.com>
10515
10516         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10517         parameter into two new parameters, "inf_result" and "gdb_result".
10518         Expect inferior output and gdb output from $inferior_spawn_id and
10519         $gdb_spawn_id, respectively.  Adjust all callers.
10520
10521 2015-07-29  Pedro Alves  <palves@redhat.com>
10522
10523         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10524         of gdb_test_sequence.
10525
10526 2015-07-29  Pedro Alves  <palves@redhat.com>
10527
10528         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10529         (saw_spurious_output): Expect inferior output from
10530         $inferior_spawn_id.  Use gdb_test_stdio.
10531
10532 2015-07-29  Pedro Alves  <palves@redhat.com>
10533
10534         * gdb.base/dprintf.exp: Use standard_testfile.  Change
10535         prepare_for_testing call.
10536         (srcfile): Don't set.
10537         (restart): New procedure.
10538         (test_dprintf): New procecure, use to continue over dprintfs.
10539         (test_call, test_agent): New procedures, tests moved here.
10540         Restart gdb and recreate dprintfs.  Adjust expected output.
10541
10542 2015-07-29  Pedro Alves  <palves@redhat.com>
10543
10544         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10545
10546 2015-07-29  Pedro Alves  <palves@redhat.com>
10547
10548         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10549
10550 2015-07-29  Pedro Alves  <palves@redhat.com>
10551
10552         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10553         gdb_test_stdio.
10554
10555 2015-07-29  Pedro Alves  <palves@redhat.com>
10556
10557         * lib/gdb.exp (gdb_test_stdio): New procedure.
10558
10559 2015-07-29  Pedro Alves  <palves@redhat.com>
10560
10561         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10562
10563 2015-07-29  Pedro Alves  <palves@redhat.com>
10564
10565         * gdb.base/call-signal-resume.exp: Remove check for
10566         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
10567         * gdb.base/unwindonsignal.exp: Likewise.
10568         * gdb.base/call-signals.c (gen_signal): Remove printf call.
10569         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10570
10571 2015-07-29  Pedro Alves  <palves@redhat.com>
10572
10573         * gdb.base/siginfo-addr.c (pass): New function.
10574         (handler): Call it iff si_addr is correct.
10575         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10576         Set a breakpoint at "pass" and continue to it.
10577
10578 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
10579
10580         * gdb.python/py-objfile.exp: Make some tests have unique names.
10581         * gdb.python/py-pp-registration.exp: Likewise.
10582
10583 2015-07-28  Pedro Alves  <palves@redhat.com>
10584
10585         * gdb.server/server-exec-info.exp: Issue a "disconnect".
10586
10587 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
10588
10589         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10590
10591 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
10592
10593         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10594
10595 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
10596
10597         * gdb.base/gdb-sigterm-2.exp: New test.
10598
10599 2015-07-25  Doug Evans  <xdje42@gmail.com>
10600
10601         Revert:
10602         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10603         (workers/%.worker, build-perf): New rule.
10604         (GDB_PERFTEST_MODE): New variable.
10605         (check-perf): Use it.
10606         (clean): Clean up gdb.perf parallel build subdirs.
10607         * lib/build-piece.exp: New file.
10608         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10609         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10610         name.
10611         (standard_temp_file): Ditto.
10612         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10613         of $GDB_PARALLEL.
10614
10615 2015-07-24  Doug Evans  <dje@google.com>
10616
10617         * gdb.perf/lib/perftest/utils.py: New file.
10618         * gdb.perf/gm-hello.cc: New file.
10619         * gdb.perf/gm-pervasive-typedef.cc: New file.
10620         * gdb.perf/gm-pervasive-typedef.h: New file.
10621         * gdb.perf/gm-std.cc: New file.
10622         * gdb.perf/gm-std.h: New file.
10623         * gdb.perf/gm-use-cerr.cc: New file.
10624         * gdb.perf/gm-utils.h: New file.
10625         * gdb.perf/gmonster-null-lookup.py: New file.
10626         * gdb.perf/gmonster-pervasive-typedef.py: New file.
10627         * gdb.perf/gmonster-print-cerr.py: New file.
10628         * gdb.perf/gmonster-ptype-string.py: New file.
10629         * gdb.perf/gmonster-runto-main.py: New file.
10630         * gdb.perf/gmonster-select-file.py: New file.
10631         * gdb.perf/gmonster1-null-lookup.exp: New file.
10632         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10633         * gdb.perf/gmonster1-print-cerr.exp: New file.
10634         * gdb.perf/gmonster1-ptype-string.exp: New file.
10635         * gdb.perf/gmonster1-runto-main.exp: New file.
10636         * gdb.perf/gmonster1-select-file.exp: New file.
10637         * gdb.perf/gmonster1.cc: New file.
10638         * gdb.perf/gmonster1.exp: New file.
10639         * gdb.perf/gmonster2-null-lookup.exp: New file.
10640         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10641         * gdb.perf/gmonster2-print-cerr.exp: New file.
10642         * gdb.perf/gmonster2-ptype-string.exp: New file.
10643         * gdb.perf/gmonster2-runto-main.exp: New file.
10644         * gdb.perf/gmonster2-select-file.exp: New file.
10645         * gdb.perf/gmonster2.cc: New file.
10646         * gdb.perf/gmonster2.exp: New file.
10647
10648 2015-07-24  Doug Evans  <dje@google.com>
10649
10650         * gdb.perf/README: New file.
10651         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10652         * lib/gen-perf-test.exp: New file.
10653
10654 2015-07-24  Doug Evans  <dje@google.com>
10655
10656         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10657         (PerfTest::startup): New function.
10658         (PerfTest::run): Return result of calling body.
10659         (PerfTest::assemble): Rewrite.
10660         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10661         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10662         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10663         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10664         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10665
10666 2015-07-24  Doug Evans  <dje@google.com>
10667
10668         * lib/gdb.exp (clean_restart): Make executable optional.
10669
10670 2015-07-24  Doug Evans  <dje@google.com>
10671
10672         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10673         compiler_info references.
10674         * gdb.cp/temargs.exp: Ditto.
10675         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10676         (get_compiler_info): Early exit if already computed.  Set compiler_info
10677         to "unknown" if there was a problem.
10678         (test_compiler_info): Add function comment.  Call get_compiler_info.
10679
10680 2015-07-24  Doug Evans  <dje@google.com>
10681
10682         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10683         (workers/%.worker, build-perf): New rule.
10684         (GDB_PERFTEST_MODE): New variable.
10685         (check-perf): Use it.
10686         (clean): Clean up gdb.perf parallel build subdirs.
10687         * lib/build-piece.exp: New file.
10688         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10689         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10690         name.
10691         (standard_temp_file): Ditto.
10692         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10693         of $GDB_PARALLEL.
10694
10695 2015-07-24  Doug Evans  <dje@google.com>
10696
10697         * lib/future.exp (gdb_default_target_compile): New option
10698         "early_flags".
10699         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10700         --as-needed.
10701
10702 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10703
10704         * gdb.base/catch-syscall.exp: Call gdb_exit before
10705         gdb_skip_xml_test.
10706
10707 2015-07-24  Pedro Alves  <palves@redhat.com>
10708
10709         * gdb.python/py-events.exp: Accept output between the stop event
10710         and the prompt.
10711         * gdb.python/py-evsignal.exp: Likewise.
10712         * gdb.python/py-evthreads.exp: Likewise.
10713
10714 2015-07-24  Pedro Alves  <palves@redhat.com>
10715
10716         PR gdb/18717
10717         * gdb.threads/non-ldr-exit.c: New file.
10718         * gdb.threads/non-ldr-exit.exp: New file.
10719
10720 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10721
10722         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10723         restarting process.
10724
10725 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10726
10727         * gdb.server/ext-restart.exp: New file.
10728
10729 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10730
10731         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10732         argument options.
10733         * gdb.server/ext-wrapper.exp: New file.
10734
10735 2015-07-23  Doug Evans  <dje@google.com>
10736
10737         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10738         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10739
10740 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10741
10742         * gdb.ada/var_arr_typedef.exp: New testcase.
10743         * gdb.ada/var_arr_typedef/pack.adb: New file.
10744         * gdb.ada/var_arr_typedef/pack.ads: New file.
10745         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10746
10747 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10748
10749         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10750
10751 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10752
10753         * gdb.arch/i386-biarch-core.exp: Replace istarget
10754         by "complete set gnutarget". Remove expectation for the "core-file"
10755         command.
10756
10757 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10758
10759         Revert the previous commit:
10760         Tests for validate symbol file using build-id.
10761
10762 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10763
10764         Tests for validate symbol file using build-id.
10765         * gdb.base/solib-mismatch-lib.c: New file.
10766         * gdb.base/solib-mismatch-libmod.c: New file.
10767         * gdb.base/solib-mismatch.c: New file.
10768         * gdb.base/solib-mismatch.exp: New file.
10769
10770 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10771
10772         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10773         nios2-*-linux*.
10774         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10775         * gdb.base/siginfo.exp: Likewise.
10776         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10777
10778 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10779
10780         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10781         Move it to ...
10782         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10783         ... here.
10784         * gdb.trace/range-stepping.exp: Check that the target supports
10785         range stepping.
10786
10787 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10788
10789         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10790
10791 2015-07-14  Pedro Alves  <palves@redhat.com>
10792
10793         * gdb.base/killed-outside.exp: New file.
10794         * gdb.base/killed-outside.c: New file.
10795
10796 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10797
10798         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10799         (n at main): New.
10800         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10801
10802 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10803
10804         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10805         infcall tests instead of setting up for KFAIL.
10806
10807 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10808
10809         * gdb.btrace/record_goto-step.exp: New.
10810
10811 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10812
10813         PR compile/18484
10814         * gdb.compile/compile.c (struct struct_type): Add volatile to
10815         selffield's type.
10816         * gdb.compile/compile.exp
10817         (compile code struct_object.selffield = &struct_object): Skip further
10818         struct_object tests if this one xfails.
10819
10820 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10821
10822         PR exp/18617
10823         * gdb.trace/ax.exp: Add test.
10824
10825 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10826
10827         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10828         instead of istarget "aarch64*-*-*".
10829         * gdb.arch/aarch64-fp.exp: Likewise.
10830         * gdb.base/float.exp: Likewise.
10831         * gdb.reverse/aarch64.exp: Likewise.
10832         * lib/gdb.exp (is_aarch64_target): New proc.
10833
10834 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10835
10836         * lib/gdb.exp (is_aarch32_target): New proc.
10837         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10838         instead of "istarget "arm*-*-*"".
10839         * gdb.arch/arm-disp-step.exp: Likewise.
10840         * gdb.arch/thumb-bx-pc.exp: Likewise.
10841         * gdb.arch/thumb-prologue.exp: Likewise.
10842         * gdb.arch/thumb-singlestep.exp: Likewise.
10843         * gdb.base/disp-step-syscall.exp: Likewise.
10844         * gdb.base/float.exp: Likewise.
10845
10846 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10847
10848         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10849         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10850
10851 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10852
10853         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10854         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10855         if it exists.
10856         * gdb.multi/multi-arch.exp: Likewise.
10857
10858 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10859
10860         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10861         print.
10862
10863 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10864
10865         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10866
10867 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10868
10869         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10870         '[' and ']' characters.
10871
10872 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10873
10874         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10875
10876 2015-06-29  Pedro Alves  <palves@redhat.com>
10877
10878         PR threads/18127
10879         * gdb.threads/hand-call-new-thread.c: New file.
10880         * gdb.threads/hand-call-new-thread.c: New file.
10881
10882 2015-06-26  Keith Seitz  <keiths@redhat.com>
10883             Doug Evans  <dje@google.com>
10884
10885         PR 16253
10886         * gdb.cp/var-tag-2.cc: New file.
10887         * gdb.cp/var-tag-3.cc: New file.
10888         * gdb.cp/var-tag-4.cc: New file.
10889         * gdb.cp/var-tag.cc: New file.
10890         * gdb.cp/var-tag.exp: New file.
10891
10892 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10893
10894         * gdb.base/history-duplicates.exp: New test.
10895
10896 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10897
10898         * gdb.base/completion.exp: Test the completion of the "focus"
10899         command.
10900
10901 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10902
10903         * gdb.arch/amd64-prologue-skip.S: New file.
10904         * gdb.arch/amd64-prologue-skip.exp: New file.
10905
10906 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10907
10908         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10909         is_address_zero_readable check.
10910
10911 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10912
10913         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10914         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10915
10916 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10917
10918         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10919         linux targets.
10920
10921 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10922
10923         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10924         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10925         * gdb.base/siginfo-thread.exp: Likewise.
10926
10927 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10928
10929         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10930
10931 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10932
10933         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10934         aarch64*-*-*.
10935         (skip_hw_watchpoint_tests): Likewise.
10936
10937 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10938
10939         * gdb.base/gdbinit-history.exp: Test the interaction between
10940         setting GDBHISTSIZE and setting the history size via .gdbinit.
10941
10942 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10943
10944         PR gdb/16999
10945         * gdb.base/gdbhistsize-history.exp: New test.
10946
10947 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10948
10949         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10950         with GDBHISTSIZE.
10951         * gdb.base/readline.exp: Likewise.
10952
10953 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10954
10955         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10956         line.
10957
10958 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10959
10960         * gdb.base/gdbinit-history.exp: Add test case to check that
10961         an unlimited history file does not get truncated on exit.
10962
10963 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10964
10965         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10966         (VECTOR): New macro.  Use it...
10967         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10968         ...for these typedefs.
10969         (int8, char1, int1, double1): New typedefs.
10970         (struct just_int2, struct two_int2): New structures.
10971         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10972         (add_structvecs, add_singlevecs): New functions.
10973         (main): Call add_some_intvecs twice.
10974         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10975         the compile and exit upon failure.  Try compiling for the "native"
10976         architecture.  Test inferior function calls with vector arguments
10977         and vector return value handling with "finish" and "return".
10978
10979 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10980
10981         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10982         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10983         PE file.
10984         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10985
10986 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10987
10988         PR breakpoints/16465
10989         * gdb.mi/mi-dprintf-pending.c: New file.
10990         * gdb.mi/mi-dprintf-pending.exp: New test.
10991         * gdb.mi/mi-dprintf-pendshr.c: New file.
10992
10993 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10994             Mircea Gherzan  <mircea.gherzan@intel.com>
10995
10996         * gdb.arch/i386-mpx-map.c: New file.
10997         * gdb.arch/i386-mpx-map.exp: New File.
10998
10999 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11000
11001         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11002         * gdb.arch/i386-mpx.exp: Indentation fixed.
11003
11004 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11005
11006         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11007         function and improved indentation.
11008         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11009         gdb_test_multiple. Added additional tests to skip the test.
11010
11011 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
11012
11013         * gdb.arch/i386-avx512.c: Change path in include file.
11014         * gdb.arch/i386-avx512.exp: Change include dir path
11015         compilation flag.
11016         * gdb.arch/i386-mpx.c: Change path in include file.
11017         * gdb.arch/i386-mpx.exp: Change include dir path compilation
11018         flag.
11019
11020 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
11021
11022         * gdb.compile/compile-print.exp (compile print *vararray@3)
11023         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11024
11025 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11026
11027         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11028         (do not keep jit in memory): ... this.
11029         (expect 5): Change it to ...
11030         (expect no 5): ... this.
11031
11032 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
11033
11034         PR gdb/15564
11035         * gdb.mi/mi-detach.exp: New file.
11036
11037 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11038
11039         PR symtab/18392
11040         * gdb.arch/amd64-tailcall-self.S: New file.
11041         * gdb.arch/amd64-tailcall-self.c: New file.
11042         * gdb.arch/amd64-tailcall-self.exp: New file.
11043
11044 2015-05-28  Don Breazeal  <donb@codesourcery.com>
11045
11046         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11047         tests for remote targets by checking is_target_gdbserver.
11048
11049 2015-05-27  Doug Evans  <dje@google.com>
11050
11051         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11052         * gdb.dwarf2/opaque-type-lookup.c: New file.
11053         * gdb.dwarf2/opaque-type-lookup.exp: New file.
11054
11055 2015-05-26  Doug Evans  <dje@google.com>
11056
11057         * gdb.cp/iostream.cc: New file.
11058         * gdb.cp/iostream.exp: New file.
11059
11060 2015-05-26  Doug Evans  <dje@google.com>
11061
11062         * gdb.dwarf2/dw2-op-call.exp: Update.
11063         * gdb.dwarf2/dw4-sig-types.exp: Update.
11064         * gdb.dwarf2/implptr.exp: Update.
11065         * gdb.mi/mi-cmd-param-changed.exp: Update.
11066
11067 2015-05-26  Doug Evans  <dje@google.com>
11068
11069         * gdb.python/py-lazy-string.c: New file.
11070         * gdb.python/py-lazy-string.exp: New file.
11071         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11072         (main): Update.  Add estring3.
11073         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11074         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11075
11076 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
11077             Yao Qi  <yao.qi@linaro.org>
11078
11079         * gdb.reverse/aarch64.c: New.
11080         * gdb.reverse/aarch64.exp: New.
11081
11082 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
11083
11084         * lib/gdb.exp (supports_process_record): Return true for
11085         aarch64*-linux*.
11086         (supports_reverse): Likewise.
11087
11088 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
11089
11090         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11091         Use with_test_prefix.
11092
11093 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
11094
11095         * gdb.base/completion.exp: Add test for completion of layout
11096         names.
11097
11098 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
11099
11100         * lib/gdb.exp (skip_tui_tests): New proc.
11101         * gdb.base/tui-layout.exp: Check skip_tui_tests.
11102
11103 2015-05-19  Pedro Alves  <palves@redhat.com>
11104
11105         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11106         Save the whole env array instead of just HOME.  Unset HISTSIZE in
11107         the environment while testing.  Restore whole environment
11108         afterwards.
11109
11110 2015-05-16  Doug Evans  <xdje42@gmail.com>
11111
11112         * gdb.guile/scm-ports.c: New file.
11113         * gdb.guile/scm-ports.exp: Add memory port tests.
11114
11115 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11116
11117         * gdb.compile/compile-print.c: New file.
11118         * gdb.compile/compile-print.exp: New file.
11119
11120 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11121
11122         * gdb.compile/compile-ops.exp: Cast param to void.
11123         * gdb.compile/compile.exp: Complete type for _gdb_expr.
11124         (compile code struct_object.selffield = &struct_object): Add xfail.
11125
11126 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
11127
11128         * gdb.ada/arr_enum_with_gap: New testcase.
11129
11130 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
11131
11132         * gdb.ada/byte_packed_arr: New testcase.
11133
11134 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
11135
11136         * gdb.ada/pckd_neg: New testcase.
11137
11138 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
11139
11140         PR gdb/17820
11141         * gdb.base/gdbinit-history.exp: New test.
11142         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11143         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11144
11145 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
11146
11147         * gdb.python/py-xmethods.cc: Enhance test case.
11148         * gdb.python/py-xmethods.exp: New tests.
11149         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11150         function.
11151         (B_indexoper): Likewise.
11152         (global_dm_list) : Add new xmethod worker functions.
11153
11154 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
11155
11156         * gdb.base/coredump-filter.exp: Correctly unset
11157         "coredump_var_addr" array.
11158
11159 2015-05-08  Pedro Alves  <palves@redhat.com>
11160
11161         * gdb.server/non-existing-program.exp: Unset spawn_id.
11162
11163 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
11164
11165         PR python/18291
11166         * gdb.python/py-xmethods.exp: Add tests.
11167
11168 2015-05-08  Yao Qi  <yao.qi@linaro.org>
11169
11170         PR gdb/18208
11171         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11172         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11173         function set_coredump_filter, and remove remote_exec call.
11174         Remove argument ipid.  Callers update.
11175         (top level): Don't get inferior's PID.
11176
11177 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11178
11179         * gdb.base/watch_thread_num.exp: Skip test on targets without
11180         access watchpoints.
11181
11182 2015-05-06  Pedro Alves  <palves@redhat.com>
11183
11184         PR server/18081
11185         * gdb.server/non-existing-program.exp: New file.
11186
11187 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11188
11189         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11190
11191 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11192
11193         * gdb.ada/out_of_line_in_inlined: New testcase.
11194
11195 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
11196
11197         * gdb.ada/var_rec_arr: New testcase.
11198
11199 2015-04-30  Yao Qi  <yao.qi@linaro.org>
11200
11201         * gdb.base/break-idempotent.exp: If
11202         skip_hw_watchpoint_multi_tests returns true, skip the tests
11203         on "rwatch" and "awatch".
11204
11205 2015-04-30  Yao Qi  <yao.qi@linaro.org>
11206
11207         * gdb.base/relativedebug.exp: Invoke gdb command
11208         "info sharedlibrary", and if libc.so doesn't have debug info,
11209         skip the test.
11210
11211 2015-04-29  Doug Evans  <dje@google.com>
11212
11213         * gdb.python/py-xmethods.exp: Add ptype tests.
11214         * gdb.python/py-xmethods.py (E_method_char_worker): Add
11215         get_result_type method.
11216
11217 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
11218
11219         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11220         the target does not support hardware watchpoints.
11221
11222 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
11223
11224         * gdb.base/break-always.exp: Abort testing if writing to memory
11225         causes an error.
11226
11227 2015-04-28  Doug Evans  <dje@google.com>
11228
11229         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11230         * gdb.python/py-pp-registration.exp: ... here.  New file.
11231         * gdb.python/py-pp-registration.c: New file.
11232         * gdb.python/py-pp-registration.py: New file.
11233
11234 2015-04-28  Doug Evans  <dje@google.com>
11235
11236         * gdb.python/py-bad-printers.c: New file.
11237         * gdb.python/py-bad-printers.py: New file.
11238         * gdb.python/py-bad-printers.exp: New file.
11239
11240 2015-04-28  Sasha Smundak  <asmundak@google.com>
11241
11242         * gdb.python/py-type.exp: New test.
11243
11244 2015-04-28  Andy Wingo  <wingo@igalia.com>
11245
11246         * gdb.python/py-parameter.exp:
11247         * gdb.guile/scm-parameter.exp: Escape the path that we are
11248         matching against, as it might contain characters that are special
11249         to regular expressions.
11250
11251 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
11252
11253         * gdb.ada/rec_comp: New testcase.
11254
11255 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
11256
11257         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11258         before using it.
11259
11260 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
11261
11262         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
11263         new tests for verilog output.
11264
11265 2015-04-24  Yao Qi  <yao.qi@linaro.org>
11266
11267         * boards/remote-gdbserver-on-localhost.exp: New file.
11268
11269 2015-04-23  Pedro Alves  <palves@redhat.com>
11270
11271         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11272         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
11273         "end of file", remove $inferior_spawn_id from the indirect list.
11274
11275 2015-04-23  Pedro Alves  <palves@redhat.com>
11276
11277         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11278
11279 2015-04-23  Pedro Alves  <palves@redhat.com>
11280
11281         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11282         on $any_spawn_id instead of only on $gdb_spawn_id.
11283
11284 2015-04-21  Pierre Muller  <muller@sourceware.org>
11285
11286         PR pascal/17815
11287         * lib/pascal.exp (gpc_compile): Add new option "class".
11288         (fpc_compile): Likewise.
11289         * gdb.pascal/case-insensitive-symbols.pas: New file.
11290         * gdb.pascal/case-insensitive-symbols.exp: New file.
11291
11292 2015-04-20  Gary Benson <gbenson@redhat.com>
11293
11294         * gdb.base/attach.exp: Fix three extended remote failures.
11295
11296 2015-04-17  Gary Benson <gbenson@redhat.com>
11297
11298         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11299         the main executable over the remote protocol.
11300
11301 2015-04-16  Pedro Alves  <palves@redhat.com>
11302
11303         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11304         a new gdbserver if gdbserver_reconnect_p is set.
11305
11306 2015-04-16  Pedro Alves  <palves@redhat.com>
11307
11308         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11309         is set, don't exit gdbserver.
11310
11311 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11312
11313         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11314         appropriate .insn, such that an older assembler can be used.
11315         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11316         the z/Architecture instruction set on 31-bit targets as well.
11317
11318 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11319
11320         * gdb.go/handcall.exp: Remove all logic related to the first
11321         breakpoint and rely on go_runto_main instead.
11322         * gdb.go/strings.exp: Likewise.
11323         * gdb.go/unsafe.exp: Likewise.
11324         * gdb.go/hello.exp: Likewise.  Also rename the remaining
11325         breakpoint marker to "breakpoint 1".
11326         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11327         * gdb.go/strings.go: Likewise.
11328         * gdb.go/unsafe.go: Likewise.
11329         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
11330         "set breakpoint 2 here" and rename the remaining breakpoint marker
11331         to "breakpoint 1".
11332
11333 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
11334
11335         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11336         if itertools.imap is not present.
11337         * gdb.python/py-objfile.exp: Add parentheses.
11338         * gdb.python/py-type.exp: Same.
11339         * gdb.python/py-unwind-maint.py: Same.
11340
11341 2015-04-15  Yao Qi  <yao.qi@linaro.org>
11342
11343         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11344         of ":$ptr_size" and set its form explicitly.
11345
11346 2015-04-15  Pedro Alves  <palves@redhat.com>
11347             Yao Qi  <yao.qi@linaro.org>
11348
11349         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11350         timeout by factor of 4.
11351         (test_regular_watch): Likewise.
11352         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11353         * gdb.reverse/sigall-reverse.exp: Likewise.
11354         * gdb.reverse/until-precsave.exp: Likewise.
11355         * lib/gdb.exp (with_timeout_factor): New proc.
11356         (gdb_expect): Move some code to ...
11357         (get_largest_timeout): ... here.  New procedure.
11358
11359 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
11360
11361         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11362
11363 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
11364
11365         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11366         to write to the .text section.
11367
11368 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
11369
11370         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11371         Handle the case of targets that do not provide PID information.
11372
11373 2015-04-13  Yao Qi  <yao.qi@linaro.org>
11374
11375         * lib/gdbserver-support.exp (gdb_exit): Catch exception
11376         and use expect instead of gdb_expect.
11377
11378 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
11379
11380         * gdb.base/coredump-filter.exp: Rename variable "addr" to
11381         "coredump_var_addr" to avoid naming conflict with other testcases.
11382
11383 2015-04-10  Pedro Alves  <palves@redhat.com>
11384
11385         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11386         gdb_test_sequence and gdb_assert.
11387
11388 2015-04-10  Pedro Alves  <palves@redhat.com>
11389
11390         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11391         test messages that don't include the breakpoint address.
11392
11393 2015-04-10  Yao Qi  <yao.qi@linaro.org>
11394
11395         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11396         false for some offset and width combinations which aren't
11397         supported by linux kernel.
11398
11399 2015-04-10  Pedro Alves  <palves@redhat.com>
11400
11401         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11402         procedure, factored out from ...
11403         (top level): ... here.  Add "set displaced-stepping" testing axis.
11404         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11405         parameter "displaced".  Use it.
11406         (top level): Use foreach and add "set displaced-stepping" testing
11407         axis.
11408
11409 2015-04-10  Pedro Alves  <palves@redhat.com>
11410
11411         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11412         Remove comment.
11413         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11414         both the address of the instruction that triggers the watchpoint
11415         and the address of the instruction immediately after, and use
11416         those addresses for the test.  Fix comment.
11417
11418 2015-04-10  Pedro Alves  <palves@redhat.com>
11419
11420         * gdb.base/sigstep.exp (breakpoint_to_handler)
11421         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
11422         Test "backtrace" in handler.
11423         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
11424         (top level): Add new "displaced" test axis to
11425         breakpoint_to_handler, breakpoint_to_handler_entry and
11426         breakpoint_over_handler.
11427
11428 2015-04-10  Pedro Alves  <palves@redhat.com>
11429
11430         PR gdb/18216
11431         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11432
11433 2015-04-10  Yao Qi  <yao.qi@linaro.org>
11434
11435         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11436         (test_add_rn_pc): New function.
11437         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11438         (top level): Invoke test_add_rn_pc.
11439
11440 2015-04-10  Pedro Alves  <palves@redhat.com>
11441
11442         PR gdb/13858
11443         * gdb.base/step-over-no-symbols.exp: New file.
11444
11445 2015-04-09  Andy Wingo  <wingo@igalia.com>
11446
11447         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11448         after the Python tests.
11449
11450 2015-04-08  Keith Seitz  <keiths@redhat.com>
11451
11452         PR python/16699
11453         * gdb.python/py-completion.exp: New tests for completion.
11454         * gdb.python/py-completion.py (CompleteLimit1): New class.
11455         (CompleteLimit2): Likewise.
11456         (CompleteLimit3): Likewise.
11457         (CompleteLimit4): Likewise.
11458         (CompleteLimit5): Likewise.
11459         (CompleteLimit6): Likewise.
11460         (CompleteLimit7): Likewise.
11461
11462 2015-04-08  Pedro Alves  <palves@redhat.com>
11463
11464         PR gdb/18214
11465         PR gdb/18216
11466         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11467         function.
11468         (main): Install it as SIGUSR1 handler.
11469         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11470         parameter.  Always use "setup" as prefix.  Toggle "set
11471         displaced-stepping" off/on depending on global.  Don't switch to
11472         thread 1 here.
11473         (top level): Add displaced stepping "off/on" test axis.  Update
11474         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
11475         continuing with a queued signal in each thread.
11476
11477 2015-04-08  Pedro Alves  <palves@redhat.com>
11478
11479         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11480         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
11481         gdb_breakpoint instead of gdb_test that doesn't expect anything.
11482         Return early if running to main fails.
11483         * gdb.trace/while-stepping.exp: Likewise.
11484
11485 2015-04-07  Pedro Alves  <palves@redhat.com>
11486
11487         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11488         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
11489         interact with inferior program.
11490
11491 2015-04-07  Pedro Alves  <palves@redhat.com>
11492
11493         * lib/gdb.exp (inferior_spawn_id): New global.
11494         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
11495         spawn id after processing the user code.
11496         (default_gdb_start): Set inferior_spawn_id.
11497         (send_inferior): New procedure.
11498         * lib/gdbserver-support.exp (gdbserver_start): Set
11499         inferior_spawn_id.
11500         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11501
11502 2015-04-07  Pedro Alves  <palves@redhat.com>
11503
11504         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11505         * lib/gdbserver-support.exp (gdbserver_start): Make
11506         $server_spawn_id global.
11507         (gdbserver_start): Don't wait for gdbserver's spawn id with
11508         expect_background.
11509         (close_gdbserver): New procedure.
11510         (gdb_exit): Rename the default version and reimplement.
11511
11512 2015-04-07  Pedro Alves  <palves@redhat.com>
11513
11514         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11515         append the substituted item, not the original item.
11516
11517 2015-04-07  Pedro Alves  <palves@redhat.com>
11518
11519         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11520         gdb_expect.
11521
11522 2015-04-07  Pedro Alves  <palves@redhat.com>
11523
11524         * gdb.base/interrupt.exp: Don't handle the case of the inferior
11525         output appearing once only.
11526
11527 2015-04-07  Pedro Alves  <palves@redhat.com>
11528
11529         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11530         that doesn't expect anything.  Return early if running to main
11531         fails.
11532
11533 2015-04-07  Yao Qi  <yao.qi@linaro.org>
11534
11535         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11536         (child_function): Call alarm.
11537         (main): Move call to alarm into the loop.
11538         * gdb.threads/non-stop-fair-events.exp: Build program with
11539         -DTIMEOUT=$timeout.
11540
11541 2015-04-06  Doug Evans  <xdje42@gmail.com>
11542
11543         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11544         Fix dest parameter to board_info.
11545         (fpc_compile): Ditto.
11546         (gdb_compile_pascal): Rename dest arg to destfile.
11547
11548 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
11549
11550         * gdb.ada/funcall_ref.exp: New file.
11551         * gdb.ada/funcall_ref/foo.adb: New file.
11552
11553 2015-04-02  Yao Qi  <yao.qi@linaro.org>
11554
11555         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11556         is remote.
11557
11558 2015-04-02  Gary Benson <gbenson@redhat.com>
11559
11560         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11561
11562 2015-04-01  Sasha Smundak  <asmundak@google.com>
11563
11564         * gdb.python/py-unwind-maint.c: New file.
11565         * gdb.python/py-unwind-maint.exp: New test.
11566         * gdb.python/py-unwind-maint.py: New file.
11567         * gdb.python/py-unwind.c: New file.
11568         * gdb.python/py-unwind.exp: New test.
11569         * gdb.python/py-unwind.py: New test.
11570
11571 2015-04-01  Pedro Alves  <palves@redhat.com>
11572
11573         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11574         to fail instead of non-existent $test.
11575
11576 2015-04-01  Pedro Alves  <palves@redhat.com>
11577
11578         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11579         GDBFLAGS if not empty.
11580
11581 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
11582
11583         * gdb.ada/complete.exp: Remove "multi_line".
11584         * gdb.ada/info_exc.exp: Remove "multi_line".
11585         * gdb.ada/packed_tagged.exp: Remove "multi_line".
11586         * gdb.ada/ptype_field.exp: Remove "multi_line".
11587         * gdb.ada/sym_print_name.exp: Remove "multi_line".
11588         * gdb.ada/tagged.exp: Remove "multi_line".
11589         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11590         [multi_line ...]
11591         * gdb.btrace/delta.exp: Likewise.
11592         * gdb.btrace/exception.exp: Likewise.
11593         * gdb.btrace/function_call_history.exp: Likewise.
11594         * gdb.btrace/instruction_history.exp: Likewise.
11595         * gdb.btrace/nohist.exp: Likewise.
11596         * gdb.btrace/record_goto.exp: Likewise.
11597         * gdb.btrace/segv.exp: Likewise.
11598         * gdb.btrace/stepi.exp: Likewise.
11599         * gdb.btrace/tailcall.exp: Likewise.
11600         * gdb.btrace/unknown_functions.exp: Likewise.
11601         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11602         * lib/gdb.exp: Add the "multi_line" helper.
11603
11604 2015-04-01  Pedro Alves  <palves@redhat.com>
11605
11606         * gdb.threads/tid-reuse.c: New file.
11607         * gdb.threads/tid-reuse.exp: New file.
11608
11609 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
11610
11611         PR corefiles/16092
11612         * gdb.base/coredump-filter.c: New file.
11613         * gdb.base/coredump-filter.exp: Likewise.
11614
11615 2015-03-27  Petr Machata  <pmachata@redhat.com>
11616
11617         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11618         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11619         (Dwarf::assemble): Initialize them.
11620         (Dwarf::lines): New function.
11621
11622 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
11623
11624         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11625         SYMBOL_PREFIX for x86_64-*-cygwin.
11626
11627 2015-03-26  Andy Wingo  <wingo@igalia.com>
11628
11629         PR symtab/18148
11630         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11631         const_value but not a location.
11632         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11633         location defined in non-main CUs are visible.
11634
11635 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11636
11637         PR testsuite/18139
11638         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11639         Add a line number entry for the same line.
11640         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11641         Add a line number entry for the same line.
11642
11643 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11644
11645         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11646         .int 0.
11647         (func): Likewise.  Add .Lfunc_1 label.
11648         Use .Lfunc_1 label.
11649         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11650         .int 0.
11651         (func): Likewise.
11652         Use .Lfunc_1 label.
11653
11654 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11655
11656         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11657         Call gdb_compile instead to compile each .s files without debug
11658         information.
11659
11660 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11661
11662         * gdb.base/savedregs.exp (process_saved_regs): Make
11663         "Saved registers:" optional in the pattern.
11664
11665 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11666
11667         * gdb.btrace/next.exp: Merged into step.exp.
11668         * gdb.btrace/finish.exp: Merged into step.exp.
11669         * gdb.btrace/nexti.exp: Merged into stepi.exp.
11670         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
11671         "record goto" and checking the exact replay position.
11672         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
11673         check for "Recording format" in "info record" output.
11674         * gdb.btrace/record_goto.exp: Choose test file based on target.
11675         * gdb.btrace/x86-record_goto.S: Renamed into ...
11676         * gdb.btrace/x86_64-record_goto.S: ... this.
11677         * gdb.btrace/i686-record_goto.S: New.
11678         * gdb.btrace/x86-tailcall.S: Renamed into ...
11679         * gdb.btrace/x86_64-tailcall.S: ... this.
11680         * gdb.btrace/i686-tailcall.S: New.
11681         * gdb.btrace/x86-tailcall.c: Renamed into ...
11682         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
11683         separate statements.  Update test.
11684         * gdb.btrace/delta.exp: Use record_goto.c as test file.
11685         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11686         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11687         * gdb.btrace/tailcall.exp: Choose test file based on target.
11688         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11689
11690 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11691
11692         * gdb.btrace/exception.exp: Increase BTS buffer size.
11693
11694 2015-03-24  Pedro Alves  <palves@redhat.com>
11695
11696         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11697
11698 2015-03-24  Pedro Alves  <palves@redhat.com>
11699
11700         * gdb.threads/schedlock.exp (test_step): No longer expect that
11701         "set scheduler-locking step" with "next" over a function call runs
11702         threads unlocked.
11703
11704 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11705
11706         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11707
11708 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11709
11710         PR breakpoints/16466
11711         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11712         * gdb.mi/mi-pending.c (thread_func): New function.
11713         (int main): Add threading support required.
11714         * gdb.mi/mi-pending.exp: Add tests for this issue.
11715         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11716         (pendfunc2): Remove stdio dependency.
11717         * gdb.mi/mi-pendshr2.c: New file.
11718
11719 2015-03-23  Keith Seitz  <keiths@redhat.com>
11720
11721         * gdb.linespec/keywords.c: New file.
11722         * gdb.linespec/keywords.exp: New file.
11723
11724 2015-03-23  Keith Seitz  <keiths@redhat.com>
11725
11726         PR gdb/18021
11727         * gdb.dwarf2/staticvirtual.exp: New test.
11728
11729 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11730
11731         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11732         * README: Remove HP-UX and gdb.hp.
11733         (configuration):
11734         * configure: Regenerate.
11735         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11736         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11737         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11738         gdb.hp/gdb.defects/Makefile.
11739         * gdb.hp/Makefile.in: File deleted.
11740         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11741         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11742         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11743         * gdb.hp/gdb.aCC/run.c: File deleted.
11744         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11745         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11746         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11747         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11748         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11749         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11750         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11751         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11752         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11753         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11754         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11755         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11756         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11757         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11758         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11759         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11760         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11761         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11762         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11763         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11764         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11765         * gdb.hp/gdb.compat/average.c: File deleted.
11766         * gdb.hp/gdb.compat/sum.c: File deleted.
11767         * gdb.hp/gdb.compat/xdb.c: File deleted.
11768         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11769         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11770         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11771         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11772         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11773         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11774         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11775         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11776         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11777         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11778         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11779         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11780         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11781         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11782         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11783         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11784         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11785         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11786         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11787         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11788         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11789         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11790         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11791         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11792         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11793         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11794         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11795         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11796         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11797         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11798         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11799         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11800         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11801         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11802         * gdb.hp/tools/odump: File deleted.
11803
11804 2015-03-19  Pedro Alves  <palves@redhat.com>
11805
11806         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11807         (saw_thread_3): New globals.
11808         (top level): Increment them when an event for the corresponding
11809         thread is seen.
11810         (no thread starvation): New test.
11811
11812 2015-03-19  Pedro Alves  <palves@redhat.com>
11813
11814         * gdb.threads/continue-pending-status.c: New file.
11815         * gdb.threads/continue-pending-status.exp: New file.
11816
11817 2015-03-18  Pedro Alves  <palves@redhat.com>
11818
11819         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11820         Use gdb_is_target_remote instead of is_remote.  Use
11821         gdb_test_multiple instead of gdb_expect.  Exit early if
11822         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11823         expected output.  Fail on exit with any signal, instead of just
11824         SIGILL.
11825
11826 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11827
11828         PR tdep/18107
11829         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11830         variable.
11831         * gdb.base/catch-syscall.exp: Don't skip it on
11832         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11833         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11834         target.
11835         (setup_all_syscalls): New proc.
11836
11837 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11838
11839         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11840         (top level): Skip tests if valid_addr_p returns false for
11841         $cmd1 or $cmd2.
11842
11843 2015-03-11  Andy Wingo  <wingo@igalia.com>
11844
11845         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11846
11847 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11848
11849         * gdb.base/catch-syscall.exp: Fix typo in comments.
11850
11851 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11852
11853         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11854
11855 2015-03-09  Pedro Alves  <palves@redhat.com>
11856
11857         * dg-extract-results.py: Delete.
11858
11859 2015-03-09  Pedro Alves  <palves@redhat.com>
11860
11861         Merge dg-extract-results.sh from GCC upstream (r218843).
11862
11863         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11864                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11865                 binary files.  Fall back to cat -v, if that doesn't work.
11866
11867 2015-03-05  Pedro Alves  <palves@redhat.com>
11868
11869         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11870
11871 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11872
11873         * lib/mi-support.exp (mi_expect_interrupt): Accept
11874         alternative event for when in all-stop mode.
11875
11876 2015-03-04  Pedro Alves  <palves@redhat.com>
11877
11878         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11879
11880 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11881
11882         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11883
11884 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11885
11886         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11887         regexps for GDB's current line display, accept a hex address
11888         preceding the line number.
11889
11890 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11891
11892         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11893         the 'arch1' variable for "s390*-linux*" targets.
11894
11895 2015-03-04  Pedro Alves  <palves@redhat.com>
11896
11897         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11898         (main): Pass missing retval argument to pthread_join call.
11899
11900 2015-03-02  Pedro Alves  <palves@redhat.com>
11901
11902         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11903         (top level): Call do_test with non-stop as well.
11904
11905 2015-03-02  Pedro Alves  <palves@redhat.com>
11906
11907         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11908         -1.
11909
11910 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11911
11912         * gdb.arch/s390-vregs.exp: New test.
11913         * gdb.arch/s390-vregs.S: New file.
11914
11915 2015-02-27  Pedro Alves  <palves@redhat.com>
11916
11917         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11918         call to catch_command_errors.
11919         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11920         catch_command_errors.
11921
11922 2015-02-27  Pedro Alves  <palves@redhat.com>
11923
11924         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11925         "true" for boolean result.
11926         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11927         prototype of main.
11928
11929 2015-02-27  Pedro Alves  <palves@redhat.com>
11930
11931         * lib/unbuffer_output.c: New file.
11932         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11933         (main): Call gdb_unbuffer_output.
11934
11935 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11936
11937         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11938         target.
11939
11940 2015-02-26  Doug Evans  <dje@google.com>
11941
11942         * gdb.cp/class2.cc (Dbase, D): New classes.
11943         (main): New local delta.
11944         * gdb.cp/class2.exp: Test printing delta.
11945         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11946         (dynbar): New global.
11947         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11948
11949 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11950
11951         * gdb.compile/compile-ifunc.c: New file.
11952         * gdb.compile/compile-ifunc.exp: New file.
11953
11954 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11955
11956         * gdb.base/structs.exp: Check for correct struct on finish.
11957
11958 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11959
11960         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11961         is zero.
11962
11963 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11964
11965         * gdb.arch/cordic.ko.bz2: New file.
11966         * gdb.arch/cordic.ko.debug.bz2: New file.
11967         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11968
11969 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11970
11971         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11972         aarch64*-*-* target.
11973
11974 2015-02-23  Pedro Alves  <palves@redhat.com>
11975
11976         * lib/gdb.exp (delete_breakpoints): Rewrite using
11977         gdb_test_multiple.
11978
11979 2015-02-23  Pedro Alves  <palves@redhat.com>
11980
11981         * gdb.base/info-os.c: Include stdlib.h.
11982
11983 2015-02-22  Doug Evans  <xdje42@gmail.com>
11984
11985         PR symtab/17855
11986         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11987         is read after symbols have been re-read.
11988         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11989         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11990
11991 2015-02-21  Doug Evans  <dje@google.com>
11992
11993         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11994
11995 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11996
11997         PR corefiles/17808
11998         * gdb.arch/i386-biarch-core.core.bz2: New file.
11999         * gdb.arch/i386-biarch-core.exp: New file.
12000
12001 2015-02-21  Pedro Alves  <palves@redhat.com>
12002
12003         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12004         runto_main fails.
12005
12006 2015-02-20  Pedro Alves  <palves@redhat.com>
12007
12008         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12009         info probes.
12010
12011 2015-02-20  Pedro Alves  <palves@redhat.com>
12012
12013         * gdb.threads/multi-create-ns-info-thr.exp: New file.
12014
12015 2015-02-20  Pedro Alves  <palves@redhat.com>
12016
12017         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
12018         clean_restart before gdb_target_supports_trace.
12019
12020 2015-02-20  Pedro Alves  <palves@redhat.com>
12021
12022         PR threads/18006
12023         * gdb.threads/clone-thread_db.c: New file.
12024         * gdb.threads/clone-thread_db.exp: New file.
12025
12026 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
12027
12028         PR breakpoints/16812
12029         * gdb.base/catch-gdb-caused-signals.c: New file.
12030         * gdb.base/catch-gdb-caused-signals.exp: New file.
12031
12032 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
12033
12034         * configure: Regenerated.
12035         * configure.ac: Use GDB_AC_TRANSFORM.
12036         * aclocal.m4: sinclude ../transform.m4.
12037
12038 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12039
12040         * lib/dtrace.exp: New file.
12041         * gdb.base/dtrace-probe.exp: Likewise.
12042         * gdb.base/dtrace-probe.d: Likewise.
12043         * gdb.base/dtrace-probe.c: Likewise.
12044         * lib/pdtrace.in: Likewise.
12045         * configure.ac: Output variables with the transformed names of
12046         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
12047         * configure: Regenerated.
12048
12049 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12050
12051         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12052         expected message when trying to access $_probe_* convenience
12053         variables while not on a probe.
12054
12055 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12056
12057         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12058
12059 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
12060
12061         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12062         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12063
12064 2015-02-10  Doug Evans  <xdje42@gmail.com>
12065
12066         * lib/gdb.exp (gdb_load): Always return a result.
12067
12068 2015-02-10  Pedro Alves  <palves@redhat.com>
12069
12070         * gdb.threads/signal-sigtrap.c: New file.
12071         * gdb.threads/signal-sigtrap.exp: New file.
12072
12073 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
12074
12075         * gdb.trace/no-attach-trace.c: New file.
12076         * gdb.trace/no-attach-trace.exp: New file.
12077
12078 2015-02-09  Mark Wielaard  <mjw@redhat.com>
12079
12080         * gdb.dwarf2/atomic.c: New file.
12081         * gdb.dwarf2/atomic-type.exp: Likewise.
12082
12083 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
12084
12085         * gdb.btrace/buffer-size.exp: Update "info record" output.
12086         * gdb.btrace/delta.exp: Update "info record" output.
12087         * gdb.btrace/enable.exp: Update "info record" output.
12088         * gdb.btrace/finish.exp: Update "info record" output.
12089         * gdb.btrace/instruction_history.exp: Update "info record" output.
12090         * gdb.btrace/next.exp: Update "info record" output.
12091         * gdb.btrace/nexti.exp: Update "info record" output.
12092         * gdb.btrace/step.exp: Update "info record" output.
12093         * gdb.btrace/stepi.exp: Update "info record" output.
12094         * gdb.btrace/nohist.exp: Update "info record" output.
12095
12096 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
12097
12098         * gdb.btrace/buffer-size: New.
12099
12100 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
12101
12102         * gdb.btrace/delta.exp: Update "info record" output.
12103         * gdb.btrace/enable.exp: Update "info record" output.
12104         * gdb.btrace/finish.exp: Update "info record" output.
12105         * gdb.btrace/instruction_history.exp: Update "info record" output.
12106         * gdb.btrace/next.exp: Update "info record" output.
12107         * gdb.btrace/nexti.exp: Update "info record" output.
12108         * gdb.btrace/step.exp: Update "info record" output.
12109         * gdb.btrace/stepi.exp: Update "info record" output.
12110         * gdb.btrace/nohist.exp: Update "info record" output.
12111
12112 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
12113
12114         PR gdb/15678
12115         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12116
12117 2015-02-06  Pedro Alves  <palves@redhat.com>
12118
12119         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12120         macro.
12121         (seconds_left, again): New globals.
12122         (main): Wait seconds_left in a 1-second sleep loop instead of
12123         sleeping 180 seconds.  If 'again' is set, reset the seconds
12124         counter.
12125         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12126         'again' in the inferior before detaching.  Print the seconds left.
12127         (options): New global.
12128         (top level): Build program with -DTIMEOUT=$timeout.
12129
12130 2015-02-06  Pedro Alves  <palves@redhat.com>
12131
12132         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12133         determine how many seconds to pass to 'alarm'.
12134         * gdb.base/gdb-sigterm.exp (top level): Build program with
12135         -DTIMEOUT=$timeout.
12136         (do_test): Return success/failure indication.  Add more verbose
12137         logging.  Don't fail if 200 single steps are seen.  Instead, fail
12138         when the test times out.
12139         (passes): New global.
12140         (top level): Break the testing loop if testing fails on any
12141         iteration.  Use gdb_assert.
12142
12143 2015-02-04  Don Breazeal  <donb@codesourcery.com>
12144
12145         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12146         and initialize them.
12147         (ipc_cleanup): New function.
12148         (main): Don't declare shmid, semid, and msqid.  Add a call to
12149         atexit so that we call ipc_cleanup on exit.
12150
12151 2015-02-04  Pedro Alves  <palves@redhat.com>
12152
12153         * boards/native-extended-gdbserver.exp: Remove any target variant
12154         specifications from the board name before clearing the isremote
12155         flag from board_info.
12156
12157 2015-01-31  Doug Evans  <xdje42@gmail.com>
12158
12159         * gdb.base/maint.exp <maint print type argc>: Update expected output.
12160
12161 2015-01-31  Gary Benson <gbenson@redhat.com>
12162
12163         * gdb.base/completion.exp: Disable completion limiting for
12164         existing tests.  Add new tests to check completion limiting.
12165         * gdb.linespec/ls-errs.exp: Disable completion limiting.
12166
12167 2015-01-31  Doug Evans  <xdje42@gmail.com>
12168
12169         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12170
12171 2015-01-31  Doug Evans  <xdje42@gmail.com>
12172
12173         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12174         entries.  Duplicate file section script entries.
12175         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12176         inlined entries.  Add test for safe-path rejection.
12177         * gdb.python/py-section-script.c: Add duplicate inlined section script
12178         entries.  Duplicate file section script entries.
12179         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12180         inlined entries.  Add test for safe-path rejection.
12181
12182 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
12183
12184         * gdb.ada/disc_arr_bound: New testcase.
12185
12186 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
12187
12188         * gdb.ada/mi_var_array: New testcase.
12189
12190 2015-01-27  Doug Evans  <dje@google.com>
12191
12192         * gdb.python/py-objfile.exp: Add tests for objfile.username.
12193         Add test for objfile.filename, objfile.username after objfile
12194         has been unloaded.
12195
12196 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
12197
12198         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12199         the second test to print the name attribute of value
12200         returned by the call to gdb.lookup_type, and adjust
12201         the expected output accordingly.
12202
12203 2015-01-25  Mark Wielaard  <mjw@redhat.com>
12204
12205         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12206         * gdb.base/disp-step-fork.c: Include unistd.h.
12207         * gdb.base/siginfo-obj.c: Include stdio.h.
12208         * gdb.base/siginfo-thread.c: Likewise.
12209         * gdb.mi/non-stop.c: Include unistd.h.
12210         * gdb.mi/nsthrexec.c: Include stdio.h.
12211         * gdb.mi/pthreads.c: Include unistd.h.
12212         * gdb.modula2/unbounded1.c (main): Declare returns int.
12213         * gdb.reverse/consecutive-reverse.c: Likewise.
12214         * gdb.threads/create-fail.c: Include unistd.h.
12215         * gdb.threads/killed.c: Likewise.
12216         * gdb.threads/linux-dp.c: Likewise.
12217         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12218         * gdb.threads/non-ldr-exc-2.c: Likewise.
12219         * gdb.threads/non-ldr-exc-3.c: Likewise.
12220         * gdb.threads/non-ldr-exc-4.c: Likewise.
12221         * gdb.threads/pthreads.c: Include unistd.h.
12222         (main): Declare returns int.
12223         * gdb.threads/tls-main.c (foo): New declaration.
12224         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12225
12226 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
12227
12228         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12229         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12230
12231 2015-01-15  Mark Wielaard  <mjw@redhat.com>
12232
12233         * gdb.base/noreturn-return.c: New file.
12234         * gdb.base/noreturn-return.exp: New file.
12235         * gdb.base/noreturn-finish.c: New file.
12236         * gdb.base/noreturn-finish.exp: New file.
12237
12238 2015-01-23  Pedro Alves  <palves@redhat.com>
12239
12240         * gdb.threads/continue-pending-after-query.c: New file.
12241         * gdb.threads/continue-pending-after-query.exp: New file.
12242
12243 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
12244             Simon Marchi  <simon.marchi@ericsson.com>
12245
12246         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12247         * gdb.base/valgrind-db-attach.exp: Same.
12248         * gdb.base/valgrind-infcall.exp: Same.
12249         * lib/mi-support.exp (default_mi_gdb_start): Same.
12250         * lib/prompt.exp (default_prompt_gdb_start): Same.
12251         * lib/gdb.exp (default_gdb_spawn): Same.
12252         (gdb_interact): New.
12253
12254
12255 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12256
12257         * gdb.compile/compile.exp (pointer to jit function): New test.
12258
12259 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
12260
12261         * lib/gdb.exp (supports_process_record): Return true for
12262         powerpc*-*-linux*.
12263         (supports_reverse): Likewise.
12264
12265 2015-01-15  Don Breazeal  <donb@codesourcery.com>
12266
12267         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12268         instead of checking whether the target board is remote and
12269         use spawn_wait_for_attach instead of exec/sleep.
12270         * gdb.base/attach-twice.exp: Likewise.
12271
12272 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
12273
12274         * gdb.ada/var_arr_attrs: New testcase.
12275
12276 2015-01-14  Pedro Alves  <palves@redhat.com>
12277             Joel Brobecker  <brobecker@adacore.com>
12278
12279         PR gdb/17525
12280         * gdb.base/bp-cmds-execution-x-script.c: New file.
12281         * gdb.base/bp-cmds-execution-x-script.exp: New file.
12282         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12283
12284 2015-01-14  Pedro Alves  <palves@redhat.com>
12285
12286         PR cli/17828
12287         * gdb.base/batch-preserve-term-settings.c: New file.
12288         * gdb.base/batch-preserve-term-settings.exp: New file.
12289
12290 2015-01-13  Doug Evans  <dje@google.com>
12291
12292         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12293         binary.
12294
12295 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
12296
12297         * Makefile.in (clean mostlyclean): Do not delete *.py.
12298
12299 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
12300
12301         * gdb.python/py-lookup-type.exp: New file.
12302
12303 2015-01-12  Pedro Alves  <palves@redhat.com>
12304
12305         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12306         restore GDBFLAGS before returning.
12307
12308 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12309
12310         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12311         is_amd64_regs_target and is_x86_like_target.
12312
12313 2015-01-11  Doug Evans  <xdje42@gmail.com>
12314
12315         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12316         is given without an explicit form.
12317         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12318         attributes.
12319         * gdb.dwarf/corrupt.exp: Ditto.
12320         * gdb.dwarf2/enum-type.exp: Ditto.
12321         * gdb.trace/entry-values.exp: Ditto.
12322         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12323
12324 2015-01-11  Doug Evans  <xdje42@gmail.com>
12325
12326         PR gdb/15830
12327         * gdb.base/maint.exp: Remove references to "maint demangle".
12328         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
12329         Add tests for explicitly specifying language to demangle.
12330         * gdb.dlang/demangle.exp: Ditto.
12331
12332 2015-01-09  Pedro Alves  <palves@redhat.com>
12333
12334         * gdb.threads/non-stop-fair-events.c: New file.
12335         * gdb.threads/non-stop-fair-events.exp: New file.
12336
12337 2015-01-09  Pedro Alves  <palves@redhat.com>
12338
12339         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12340         the global scope.  Set a breakpoint after all threads are started
12341         rather than stepping over two source lines.  Expect the prompt.
12342         * gdb.base/watch_thread_num.c (threads_started_barrier): New
12343         global.
12344         (NUM): Now 15.
12345         (main): Use threads_started_barrier to wait for all threads to
12346         start.  Main thread no longer calls thread_function.  Exit after
12347         180 seconds.
12348         (loop): New function.
12349         (thread_function): Wait on threads_started_barrier barrier.  Call
12350         'loop' at each iteration.
12351         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12352         threads have started, instead of hardcoding number of "next"
12353         steps.  Use an access watchpoint instead of a write watchpoint.
12354
12355 2015-01-09  Pedro Alves  <palves@redhat.com>
12356
12357         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12358         (thread_func): Wait on barrier.
12359         (main): Wait for all threads to start before stopping GDB.
12360         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12361         global.
12362         (thread1_func, thread2_func): Wait on barrier.
12363         (main): Wait for all threads to start before stopping GDB.
12364         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12365         New global.
12366         (thread1_func, thread2_func): Wait on barrier.
12367         (main): Wait for all threads to start before stopping GDB.
12368
12369 2015-01-09  Pedro Alves  <palves@redhat.com>
12370
12371         * gdb.threads/attach-many-short-lived-threads.c: New file.
12372         * gdb.threads/attach-many-short-lived-threads.exp: New file.
12373
12374 2014-01-09  Pedro Alves  <palves@redhat.com>
12375
12376         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12377         instead of to thread 2.
12378         * gdb.threads/signal-command-multiple-signals-pending.c (main):
12379         Add barrier around each pthread_create call instead of around all
12380         calls.
12381         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12382         Set a break on thread_function and have the child threads hit it
12383         one at at a time.
12384
12385 2015-01-09  Pedro Alves  <palves@redhat.com>
12386
12387         * lib/gdb.exp (can_spawn_for_attach): New procedure.
12388         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12389         false.
12390         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12391         checking whether the target board is remote.
12392         * gdb.multi/multi-attach.exp: Likewise.
12393         * gdb.python/py-sync-interp.exp: Likewise.
12394         * gdb.server/ext-attach.exp: Likewise.
12395         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12396         tests that need to attach, instead of checking whether the target
12397         board is remote at the top of the file.
12398
12399 2015-01-08  Yao Qi  <yao@codesourcery.com>
12400
12401         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12402
12403 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12404
12405         Fix testcase compilation.
12406         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12407
12408 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
12409
12410         * gdb.python/py-type.exp: Add a couple test about empty
12411         array creation, and negative-length array creation.
12412
12413 2015-01-02  Doug Evans  <xdje42@gmail.com>
12414
12415         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12416
12417 2015-01-02  Doug Evans  <dje@google.com>
12418
12419         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12420
12421 2014-12-29  Yao Qi  <yao@codesourcery.com>
12422
12423         * gdb.trace/entry-values.exp: Update comments.  Rename variable
12424         bar_call_foo to returned_from_foo.
12425
12426 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
12427
12428         PR gdb/17394
12429         * gdb.linespec/break-asm-file.c: New file.
12430         * gdb.linespec/break-asm-file.exp: New file.
12431         * gdb.linespec/break-asm-file0.s: New file.
12432         * gdb.linespec/break-asm-file1.s: New file.
12433
12434 2014-12-18  Nigel Stephens  <nigel@mips.com>
12435             Maciej W. Rozycki  <macro@codesourcery.com>
12436
12437         * gdb.base/float.exp: Handle the new output from "info float" on
12438         MIPS targets.
12439
12440 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12441
12442         Fix MinGW compilation.
12443         * gdb.compile/compile-ops.exp: Update untested message if
12444         !skip_compile_feature_tests.
12445         * gdb.compile/compile-setjmp.exp: Likewise.
12446         * gdb.compile/compile-tls.exp: Likewise.
12447         * gdb.compile/compile.exp: Likewise.
12448         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12449         supported on this host".
12450
12451 2014-12-16  Doug Evans  <xdje42@gmail.com>
12452
12453         * boards/stabs.exp: New file.
12454
12455 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12456
12457         * gdb.base/completion.exp: Adjust to format changes of "maint
12458         print user-registers".
12459
12460 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
12461
12462         PR server/17457
12463         * gdb.arch/aarch64-fp.c: New file.
12464         * gdb.arch/aarch64-fp.exp: New file.
12465
12466 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
12467
12468         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12469         r210637, r210913, r211666, r215400, r215817).
12470
12471         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
12472                 * dg-extract-results.py: New file.
12473                 * dg-extract-results.sh: Use it if the environment seems
12474                 suitable.
12475
12476         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
12477
12478                 * dg-extract-results.py (parse_run): Handle warnings that
12479                 are printed before a test harness is run.
12480
12481         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
12482
12483                 * dg-extract-results.py (Named): Remove __cmp__ method.
12484                 (output_variation): Use a key to sort variation.harnesses.
12485
12486         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
12487
12488                 * dg-extract-results.py: For Python 3, force sys.stdout to
12489                 handle surrogate escape sequences.
12490                 (safe_open): New function.
12491                 (output_segment, main): Use it.
12492
12493         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
12494
12495                 * dg-extract-results.py (Prog.result_re): Include options
12496                 in test name.
12497
12498         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
12499
12500                 * dg-extract-results.py (output_variation): Always sort if
12501                 do_sum.
12502
12503 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
12504
12505         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12506         as long as we get pagination notifications.
12507
12508 2014-12-15  Jason Merrill  <jason@redhat.com>
12509
12510         * Makefile.in (check-gdb.%): Restore.
12511         * README: Mention it.
12512
12513 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
12514
12515         * gdb.ada/str_uninit: New testcase.
12516
12517 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12518
12519         PR symtab/17642
12520         * gdb.base/vla-stub-define.c: New file.
12521         * gdb.base/vla-stub.c: New file.
12522         * gdb.base/vla-stub.exp: New file.
12523
12524 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
12525             Jan Kratochvil  <jan.kratochvil@redhat.com>
12526             Tom Tromey  <tromey@redhat.com>
12527
12528         * configure.ac: Add gdb.compile/.
12529         * configure: Regenerate.
12530         * gdb.compile/Makefile.in: New file.
12531         * gdb.compile/compile-ops.exp: New file.
12532         * gdb.compile/compile-ops.c: New file.
12533         * gdb.compile/compile-tls.c: New file.
12534         * gdb.compile/compile-tls.exp: New file.
12535         * gdb.compile/compile-constvar.S: New file.
12536         * gdb.compile/compile-constvar.c: New file.
12537         * gdb.compile/compile-mod.c: New file.
12538         * gdb.compile/compile-nodebug.c: New file.
12539         * gdb.compile/compile-setjmp-mod.c: New file.
12540         * gdb.compile/compile-setjmp.c: New file.
12541         * gdb.compile/compile-setjmp.exp: New file.
12542         * gdb.compile/compile-shlib.c: New file.
12543         * gdb.compile/compile.c: New file.
12544         * gdb.compile/compile.exp: New file.
12545         * lib/gdb.exp (skip_compile_feature_tests): New proc.
12546
12547 2014-12-12  Tom Tromey  <tromey@redhat.com>
12548
12549         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
12550         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12551
12552 2014-12-12  Doug Evans  <dje@google.com>
12553
12554         * lib/gdb-python.exp (get_python_valueof): New function.
12555         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12556
12557 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12558
12559         * gdb.base/completion.exp: Add test for completion of "info
12560         registers ".
12561
12562 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
12563
12564         * gdb.base/func-ptrs.c: New file.
12565         * gdb.base/func-ptrs.exp: New file.
12566
12567 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
12568
12569         PR breakpoints/17012
12570         * gdb.base/dprintf-detach.c: New file.
12571         * gdb.base/dprintf-detach.exp: New file.
12572
12573 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
12574
12575         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12576         * lib/gdb.exp (target_is_gdbserver): New procedure.
12577
12578 2014-12-08  Doug Evans  <dje@google.com>
12579
12580         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12581
12582 2014-12-05  Yao Qi  <yao@codesourcery.com>
12583
12584         * gdb.guile/scm-error.exp: Remove the third argument to
12585         gdb_remote_download.
12586         * gdb.guile/scm-frame-args.exp: Likewise.
12587         * gdb.guile/scm-section-script.exp: Likewise.
12588
12589 2014-12-05  Yao Qi  <yao@codesourcery.com>
12590
12591         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12592
12593 2014-12-04  Doug Evans  <dje@google.com>
12594
12595         * gdb.python/py-objfile.exp: Add tests for
12596         objfile.add_separate_debug_file.
12597
12598 2014-12-04  Doug Evans  <dje@google.com>
12599
12600         * lib/gdb.exp (get_build_id): New function.
12601         (build_id_debug_filename_get): Rewrite to use it.
12602         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12603
12604 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
12605
12606         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12607         `method(long)', not just 0x0.
12608         * gdb.cp/nsalias.exp: Align code labels to 4.
12609         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12610         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12611         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12612         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12613         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12614         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12615
12616 2014-12-02  Doug Evans  <dje@google.com>
12617
12618         PR symtab/17602
12619         * gdb.cp/anon-ns.cc: Move guts of this file to ...
12620         * gdb.cp/anon-ns2.cc: ... here.  New file.
12621         * gdb.cp/anon-ns.exp: Update.
12622
12623 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
12624
12625         * gdb.python/py-events.py (inferior_call_handler): New.
12626         (register_changed_handler, memory_changed_handler): New.
12627         (test_events.invoke): Register new handlers.
12628         * gdb.python/py-events.exp: Add tests for inferior call,
12629         memory_changed and register_changed events.
12630
12631 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12632
12633         * gdb.base/execl-update-breakpoints.exp: Specify the link address
12634         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
12635         if the linker doesn't understand this.
12636
12637 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
12638
12639         * gdb.python/python.exp: Change expected reply to help().
12640
12641 2014-12-01  Yao Qi  <yao@codesourcery.com>
12642
12643         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
12644         AC_CONFIG_SUBDIRS(gdb.gdbtk).
12645         * configure: Re-generated.
12646
12647 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
12648
12649         * gdb.cp/chained-calls.cc: New file.
12650         * gdb.cp/chained-calls.exp: New file.
12651         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12652
12653 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
12654
12655         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12656         * gdb.dwarf2/symtab-producer.exp: Same.
12657         * gdb.gdb/python-interrupts.exp: Same.
12658         * gdb.gdb/python-selftest.exp: Same.
12659         * gdb.python/py-linetable.exp: Same.
12660         * gdb.python/py-type.exp: Same.
12661         * gdb.python/py-value-cc.exp: Same.
12662         * gdb.python/py-value.exp: Same.
12663
12664 2014-11-28  Yao Qi  <yao@codesourcery.com>
12665
12666         * gdb.base/break-probes.exp: Match library name prefixed with
12667         sysroot.
12668
12669 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
12670
12671         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12672         test expected output.  Add parentheses for the call to print.
12673         Remove L suffix from integers.
12674
12675 2014-11-26  Doug Evans  <dje@google.com>
12676
12677         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12678
12679 2014-11-22  Yao Qi  <yao@codesourcery.com>
12680
12681         * gdb.trace/entry-values.c: Remove asms.
12682         (foo): Add foo_label.
12683         (bar): Add bar_label.
12684         * gdb.trace/entry-values.exp: Remove code computing  foo's
12685         length and bar's length.
12686         (Dwarf::assemble): Invoke function_range for bar and use
12687         MACRO_AT_func for foo.
12688
12689 2014-11-22  Yao Qi  <yao@codesourcery.com>
12690
12691         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12692         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12693         Use .Lgcc43_procstart instead of gcc43.
12694
12695 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12696
12697         * gdb.ada/n_arr_bound: New testcase.
12698
12699 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12700
12701         PR breakpoints/10737
12702         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12703         test_catch_syscall_multi_arch.
12704         (test_catch_syscall_multi_arch): New function.
12705
12706 2014-11-20  Doug Evans  <xdje42@gmail.com>
12707
12708         * gdb.base/maint.exp: Update expected output.
12709
12710 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12711
12712         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12713         4-byte instruction on S390.
12714
12715 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12716
12717         * gdb.ada/arr_arr: New testcase.
12718
12719 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12720
12721         * gdb.ada/pkd_arr_elem: New Testcase.
12722
12723 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12724
12725         * gdb.reverse/break-precsave: Expect completion message for
12726         core file reads.
12727         * gdb.reverse/consecutive-precsave.exp: Likewise.
12728         * gdb.reverse/finish-precsave.exp: Likewise.
12729         * gdb.reverse/i386-precsave.exp: Likewise.
12730         * gdb.reverse/machinestate-precsave.exp: Likewise.
12731         * gdb.reverse/sigall-precsave.exp: Likewise.
12732         * gdb.reverse/solib-precsave.exp: Likewise.
12733         * gdb.reverse/step-precsave.exp: Likewise.
12734         * gdb.reverse/until-precsave.exp: Likewise.
12735         * gdb.reverse/watch-precsave.exp: Likewise.
12736
12737 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12738
12739         * gdb.base/bp-permanent.c: Include unistd.h.
12740         * gdb.python/py-framefilter-mi.c (main): Add return type.
12741         * gdb.python/py-framefilter.c (main): Likewise.
12742         * gdb.trace/actions-changed.c (main): Likewise.
12743
12744 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12745
12746         * gdb.mi/until.c: Add eye-catchers.
12747         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12748         line numbers.
12749
12750 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12751
12752         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12753         function header variants in break1.c.
12754         * gdb.base/ena-dis-br.exp: Likewise.
12755         * gdb.base/hbreak2.exp: Likewise.
12756         * gdb.reverse/until-precsave.exp: Drop references to removed
12757         non-prototype function header variants in ur1.c.
12758         * gdb.reverse/until-reverse.exp: Likewise.
12759
12760 2014-11-17  Petr Machata  <pmachata@redhat.com>
12761
12762         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12763         ${_cu_offset_size} bytes abbrev offset.
12764
12765 2014-11-15  Doug Evans  <xdje42@gmail.com>
12766
12767         PR symtab/17559
12768         * gdb.base/line-symtabs.exp: New file.
12769         * gdb.base/line-symtabs.c: New file.
12770         * gdb.base/line-symtabs.h: New file.
12771
12772 2014-11-14  Yao Qi  <yao@codesourcery.com>
12773
12774         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12775         (func): Add label func_label.
12776         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12777         Replace low_pc and high_pc with MACRO_AT_range.
12778         Replace name, low_pc and high_pc with MACRO_AT_func.
12779
12780 2014-11-14  Yao Qi  <yao@codesourcery.com>
12781
12782         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12783         Replace name, low_pc and high_pc with MACRO_AT_func.
12784
12785 2014-11-14  Yao Qi  <yao@codesourcery.com>
12786
12787         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12788         produce debug information.
12789         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12790
12791 2014-11-14  Yao Qi  <yao@codesourcery.com>
12792
12793         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12794         object and get function length.
12795         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12796         with MACRO_AT_func.
12797         (top-level): Replace gdb_compile and clean_restart with
12798         prepare_for_testing.
12799         * gdb.dwarf2/main.c (main): Add label main_label.
12800
12801 2014-11-14  Yao Qi  <yao@codesourcery.com>
12802
12803         * lib/dwarf.exp (function_range): New procedure.
12804         (Dwarf::_handle_macro_at_func): New procedure.
12805         (Dwarf::_handle_macro_at_range): New procedure.
12806         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12807
12808 2014-11-14  Yao Qi  <yao@codesourcery.com>
12809
12810         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12811         (_handle_attribute): New procedure.
12812
12813 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12814
12815         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12816         * gdb.base/call-sc.c (zed): Likewise.
12817         * gdb.base/checkpoint.c (main): Likewise.
12818         * gdb.base/dump.c (main): Likewise.
12819         * gdb.base/gcore.c (main): Likewise.
12820         * gdb.base/huge.c (main): Likewise.
12821         * gdb.base/multi-forks.c (main): Likewise.
12822         * gdb.base/pr10179-a.c (main): Likewise.
12823         * gdb.base/savedregs.c (main): Likewise.
12824         * gdb.base/sigaltstack.c (main): Likewise.
12825         * gdb.base/siginfo.c (main): Likewise.
12826         * gdb.base/structs.c (zed): Likewise.
12827         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12828         * gdb.mi/mi-syn-frame.c (main): Likewise.
12829         * gdb.mi/until.c (foo, main): Likewise.
12830         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12831         * gdb.base/solib-weak.c (foo): Declare.
12832         * gdb.base/attach-twice.c: Include stdio.h.
12833         * gdb.base/weaklib1.c: Likewise.
12834         * gdb.base/weaklib2.c: Likewise.
12835         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12836         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12837         unistd.h.
12838         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12839         * gdb.mi/mi-exit-code.c: Likewise.
12840         * gdb.base/break-interp-lib.c: Include string.h.
12841         * gdb.base/coremaker.c: Likewise.
12842         * gdb.base/testenv.c: Likewise.
12843         * gdb.python/py-finish-breakpoint.c: Likewise.
12844         * gdb.base/inferior-died.c: Include sys/wait.h.
12845         * gdb.base/fileio.c: Include time.h.
12846         * gdb.base/async-shell.c: Include unistd.h.
12847         * gdb.base/dprintf-non-stop.c: Likewise.
12848         * gdb.base/info-os.c: Likewise.
12849         * gdb.mi/mi-console.c: Likewise.
12850         * gdb.mi/watch-nonstop.c: Likewise.
12851         * gdb.python/py-events.c: Likewise.
12852         * gdb.base/async.c (baz): Move up before its invocation.
12853         * gdb.base/code_elim2.c (my_global_func): Likewise.
12854         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12855         * gdb.base/advance.c (func2): Likewise.
12856
12857 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12858
12859         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12860         variant.
12861         * gdb.base/annota3.c: Likewise.
12862         * gdb.base/async.c: Likewise.
12863         * gdb.base/average.c: Likewise.
12864         * gdb.base/call-ar-st.c: Likewise.
12865         * gdb.base/call-rt-st.c: Likewise.
12866         * gdb.base/call-sc.c: Likewise.
12867         * gdb.base/call-strs.c: Likewise.
12868         * gdb.base/ending-run.c: Likewise.
12869         * gdb.base/execd-prog.c: Likewise.
12870         * gdb.base/exprs.c: Likewise.
12871         * gdb.base/foll-exec.c: Likewise.
12872         * gdb.base/foll-fork.c: Likewise.
12873         * gdb.base/foll-vfork.c: Likewise.
12874         * gdb.base/funcargs.c: Likewise.
12875         * gdb.base/gcore.c: Likewise.
12876         * gdb.base/jump.c: Likewise.
12877         * gdb.base/langs0.c: Likewise.
12878         * gdb.base/langs1.c: Likewise.
12879         * gdb.base/langs2.c: Likewise.
12880         * gdb.base/mips_pro.c: Likewise.
12881         * gdb.base/nodebug.c: Likewise.
12882         * gdb.base/opaque0.c: Likewise.
12883         * gdb.base/opaque1.c: Likewise.
12884         * gdb.base/recurse.c: Likewise.
12885         * gdb.base/run.c: Likewise.
12886         * gdb.base/scope0.c: Likewise.
12887         * gdb.base/scope1.c: Likewise.
12888         * gdb.base/setshow.c: Likewise.
12889         * gdb.base/setvar.c: Likewise.
12890         * gdb.base/shmain.c: Likewise.
12891         * gdb.base/shr1.c: Likewise.
12892         * gdb.base/shr2.c: Likewise.
12893         * gdb.base/sigall.c: Likewise.
12894         * gdb.base/signals.c: Likewise.
12895         * gdb.base/so-indr-cl.c: Likewise.
12896         * gdb.base/solib2.c: Likewise.
12897         * gdb.base/structs.c: Likewise.
12898         * gdb.base/sum.c: Likewise.
12899         * gdb.base/vforked-prog.c: Likewise.
12900         * gdb.base/watchpoint.c: Likewise.
12901         * gdb.reverse/shr2.c: Likewise.
12902         * gdb.reverse/until-reverse.c: Likewise.
12903         * gdb.reverse/ur1.c: Likewise.
12904         * gdb.reverse/watch-reverse.c: Likewise.
12905
12906 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12907
12908         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12909         variant.
12910         * gdb.base/sepdebug.exp: Drop references to removed code.
12911
12912 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12913
12914         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12915         variant.  Preserve original line numbering.
12916         * gdb.base/list1.c: Likewise.
12917
12918 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12919
12920         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12921         variant.
12922         * gdb.base/break1.c: Likewise.
12923         * gdb.base/break.exp: Drop references to removed code.
12924
12925 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12926
12927         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12928         variant.
12929
12930 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12931
12932         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12933
12934 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12935
12936         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12937         logic into perform_all_tests() and invoke it with and without
12938         function header prototypes.
12939         (do_function_calls): Remove conditional XFAIL for PR 5318.
12940         (rerun_and_prepare): Remove duplicate code.
12941         (perform_all_tests): New.  Main logic moved here.
12942
12943 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12944
12945         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12946         code guarded by #ifdef NO_PROTOTYPES.
12947         (t_double_many_args): Likewise.
12948         (DEF_FUNC_MANY_ARGS_1): Likewise.
12949         (DEF_FUNC_VALUES_1): Likewise.
12950         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12951         guarded by #ifdef PROTOTYPES.
12952
12953 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12954
12955         * gdb.mi/mi-console.c: Add eye-catcher.
12956         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12957         instead of literal line number.
12958
12959 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12960
12961         * gdb.base/shr2.c: Add eye-catcher.
12962         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12963         line number.
12964
12965 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12966
12967         * gdb.base/jump.c: Add eye-catchers.
12968         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12969         numbers.
12970
12971 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12972
12973         * gdb.base/execd-prog.c: Add eye-catchers.
12974         * gdb.base/foll-exec.c: Likewise.
12975         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12976         line numbers.
12977
12978 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12979
12980         * gdb.base/ending-run.c: Add eye-catchers.
12981         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12982         literal line numbers.
12983
12984 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12985
12986         * gdb.base/call-rt-st.c: Add eye-catchers.
12987         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12988         literal line numbers.
12989
12990 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12991
12992         * gdb.base/call-ar-st.c: Add eye-catchers.
12993         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12994         literal line numbers.
12995
12996 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12997
12998         * gdb.base/average.c: Add eye-catchers.
12999         * gdb.base/sum.c: Likewise.
13000         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13001         regexps dynamically.
13002
13003 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13004
13005         * gdb.base/solib1.c: Add eye-catchers.
13006         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13007         literal line numbers.
13008
13009 2014-11-12  Pedro Alves  <palves@redhat.com>
13010
13011         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13012         leader has exited.
13013
13014 2014-11-12  Pedro Alves  <palves@redhat.com>
13015
13016         * gdb.arch/i386-bp_permanent.c: New file.
13017         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13018         (srcfile): Set to i386-bp_permanent.c.
13019         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
13020         that stepi does not execute the 'leave' instruction, instead of
13021         testing it does execute.
13022         * gdb.base/bp-permanent.c: New file.
13023         * gdb.base/bp-permanent.exp: New file.
13024
13025 2014-11-10  Doug Evans  <xdje42@gmail.com>
13026
13027         PR symtab/17564
13028         * gdb.base/symtab-search-order.exp: New file.
13029         * gdb.base/symtab-search-order.c: New file.
13030         * gdb.base/symtab-search-order-1.c: New file.
13031         * gdb.base/symtab-search-order-shlib-1.c: New file.
13032
13033 2014-11-07  Pedro Alves  <palves@redhat.com>
13034
13035         PR gdb/17511
13036         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13037         i?86-*-linux*.
13038
13039 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
13040
13041         PR c++/17494
13042         * gdb.cp/pr17494.cc: New file.
13043         * gdb.cp/pr17494.exp: New file.
13044
13045 2014-11-02  Yao Qi  <yao@codesourcery.com>
13046
13047         * gdb.python/python.exp: Get working directory and match the
13048         output of "set extended-prompt \\w " with it.
13049
13050 2014-10-30  Doug Evans  <dje@google.com>
13051
13052         * gdb.python/py-objfile.exp: Add tests for setting random attributes
13053         in objfiles.
13054         * gdb.python/py-progspace.exp: Add tests for setting random attributes
13055         in progspaces.
13056
13057 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
13058
13059         * gdb.base/fullpath-expand.exp: Skip for a remote host.
13060         * gdb.base/realname-expand.exp: Likewise.
13061         * gdb.linespec/macro-relative.exp: Likewise.
13062
13063 2014-10-29  Pedro Alves  <palves@redhat.com>
13064
13065         PR gdb/17408
13066         * gdb.threads/schedlock.c (some_function): New function.
13067         (call_function): New global.
13068         (MAYBE_CALL_SOME_FUNCTION): New macro.
13069         (thread_function): Call it.
13070         * gdb.threads/schedlock.exp (get_args): Add description parameter,
13071         and use it instead of a global counter.  Adjust all callers.
13072         (get_current_thread): Use "find current thread" for test message
13073         here rather than having all callers pass down the same string.
13074         (goto_loop): New procedure, factored out from ...
13075         (my_continue): ... this.
13076         (step_ten_loops): Change parameter from test message to command to
13077         use.  Adjust.
13078         (list_count): Delete global.
13079         (check_result): New procedure, factored out from duplicate top
13080         level code.
13081         (continue tests): Wrap in with_test_prefix.
13082         (test_step): New procedure, factored out from duplicate top level
13083         code.
13084         (top level): Test "step" in combination with all scheduler-locking
13085         modes.  Test "next" in combination with all scheduler-locking
13086         modes, and in combination with stepping over a function call or
13087         not.
13088         * gdb.threads/next-bp-other-thread.c: New file.
13089         * gdb.threads/next-bp-other-thread.exp: New file.
13090
13091 2014-10-29  Pedro Alves  <palves@redhat.com>
13092
13093         PR python/17372
13094         * gdb.python/python.exp: Test a multi-line command that spawns
13095         interactive Python.
13096         * gdb.base/multi-line-starts-subshell.exp: New file.
13097
13098 2014-10-29  Yao Qi  <yao@codesourcery.com>
13099
13100         * gdb.base/fileio.exp: Make directories on host.
13101
13102 2014-10-29  Yao Qi  <yao@codesourcery.com>
13103
13104         * gdb.base/fileio.c (test_write): Close the file.
13105
13106 2014-10-28  Pedro Alves  <palves@redhat.com>
13107
13108         PR gdb/12623
13109         * gdb.base/sigstep.c (no_handler): New global.
13110         (main): If 'no_handler is true, set the signal handlers to
13111         SIG_IGN.
13112         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13113         with_sw_watch and no_handler parameters.  Handle them.
13114         (top level) <stepping over handler when stopped at a breakpoint
13115         test>: Add a test axis for testing with a software watchpoint, and
13116         another for testing with the signal handler set to SIG_IGN.
13117         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13118         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13119
13120 2014-10-28  Pedro Alves  <palves@redhat.com>
13121
13122         PR gdb/17511
13123         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13124         * gdb.base/sigstep.exp (other_handler_location): New global.
13125         (advance): Support stepping into the signal handler, and running
13126         commands while in the handler.
13127         (in_handler_map): New global.
13128         (top level): In the advance test, add combinations for getting
13129         into the handler with stepping commands, and for running commands
13130         in the handler.  Add comment descripting the advancei tests.
13131
13132 2014-10-28  Pedro Alves  <palves@redhat.com>
13133
13134         * gdb.base/sigstep.exp: Use build_executable instead of
13135         prepare_for_testing.
13136         (top level): Move code that starts GDB, runs to main and creates a
13137         display to ...
13138         (restart): ... this new procedure.
13139         (top level): Move backtrace from signal handler test to ...
13140         (validate_backtrace): ... this new procedure.
13141         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
13142         with_test_prefix.  Always restart GDB.
13143         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
13144         with_test_prefix.  Always restart GDB.  No need to delete
13145         breakpoints after the test.
13146         (test_skip_handler): Remove prefix parameter.
13147         (skip_over_handler, breakpoint_to_handler)
13148         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13149         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
13150         restart GDB.  No need to delete breakpoints after the test.
13151         (top level): Use foreach to call the test procedures with
13152         different commands.
13153
13154 2014-10-28  Pedro Alves  <palves@redhat.com>
13155
13156         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13157         instead of GNATS numbers.
13158         * gdb.base/sigbpt.exp: Likewise.
13159         * gdb.base/siginfo.exp: Likewise.
13160         * gdb.base/sigstep.exp: Likewise.
13161
13162 2014-10-27  Pedro Alves  <palves@redhat.com>
13163
13164         * gdb.base/sigstep.c (dummy): New global.
13165         (main): Issue a couple writes to the new global.
13166         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13167         procedures.
13168         (skip_over_handler): Use test_skip_handler.
13169         (top level): Call skip_over_handler for stepi and nexti too.
13170         (breakpoint_over_handler): Use test_skip_handler.
13171         (top level): Call breakpoint_over_handler for stepi and nexti too.
13172
13173 2014-10-27  Yao Qi  <yao@codesourcery.com>
13174
13175         * gdb.trace/tfile.c (adjust_function_address)
13176         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13177         function descriptor.
13178
13179 2014-10-24  Don Breazeal  <donb@codesourcery.com>
13180
13181         * gdb.base/foll-fork.exp (test_follow_fork,
13182         catch_fork_child_follow): Check for updated fork messages emitted
13183         from infrun.c.
13184         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13185         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13186         vfork_and_exec_child_follow_through_step): Check for updated vfork
13187         messages emitted from infrun.c.
13188
13189 2014-10-24  Pedro Alves  <palves@redhat.com>
13190
13191         * gdb.base/corefile.exp: Remove references to ultrix.
13192         * gdb.base/interrupt.exp: Likewise.
13193         * gdb.base/whatis.exp: Likewise.
13194         * gdb.gdb/selftest.exp: Likewise.
13195         * gdb.threads/manythreads.exp: Likewise.
13196         * gdb.threads/print-threads.exp: Likewise.
13197         * gdb.threads/pthreads.exp:: Likewise.
13198         * gdb.threads/schedlock.exp: Likewise.
13199
13200 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
13201
13202         * gdb.cp/non-trivial-retval.cc: Add a test case.
13203         * gdb.cp/non-trivial-retval.exp: Add a test.
13204
13205 2014-10-20  Yao Qi  <yao@codesourcery.com>
13206
13207         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13208         * gdb.python/py-objfile-script-gdb.py: New file.
13209         * gdb.python/py-objfile-script.exp: Update reference to
13210         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
13211         of remote_download.  Remove the dest file.
13212
13213 2014-10-20  Yao Qi  <yao@codesourcery.com>
13214
13215         * gdb.base/checkpoint.exp: Don't remove file copied on host.
13216         * gdb.base/step-line.exp: Likewise.
13217         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13218         * gdb.dwarf2/dw2-basic.exp: Likewise.
13219         * gdb.dwarf2/dw2-compressed.exp: Likewise.
13220         * gdb.dwarf2/dw2-filename.exp: Likewise.
13221         * gdb.dwarf2/dw2-intercu.exp: Likewise.
13222         * gdb.dwarf2/dw2-intermix.exp: Likewise.
13223         * gdb.dwarf2/dw2-producer.exp: Likewise.
13224         * gdb.dwarf2/mac-fileno.exp: Likewise.
13225         * gdb.python/py-frame-args.exp: Likewise.
13226         * gdb.python/py-framefilter.exp: Likewise.
13227         * gdb.python/py-mi.exp: Likewise.
13228         * gdb.python/py-objfile-script.exp: Likewise
13229         * gdb.python/py-pp-integral.exp: Likewise.
13230         * gdb.python/py-pp-re-notag.exp: Likewise.
13231         * gdb.python/py-prettyprint.exp: Likewise.
13232         * gdb.python/py-section-script.exp: Likewise.
13233         * gdb.python/py-typeprint.exp: Likewise.
13234         * gdb.python/py-xmethods.exp: Likewise.
13235         * gdb.stabs/weird.exp: Likewise.
13236         * gdb.xml/tdesc-regs.exp: Likewise.
13237
13238 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
13239
13240         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13241         (out_cu): Use addr_len for the size of addresses.
13242         (out_line): Likewise.  Size DW_LNE_set_address instruction
13243         according to addr_len.
13244         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13245         (FUNC): Add START_INSNS to definition.
13246
13247 2014-10-18  Yao Qi  <yao@codesourcery.com>
13248
13249         * gdb.base/argv0-symlink.exp: Check argv[0] value if
13250         gdb_has_argv0 return true.
13251         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13252         check [target_info exists noargs], check [gdb_has_argv0]
13253         instead.
13254         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13255         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13256         procedures.
13257
13258 2014-10-17  Doug Evans  <dje@google.com>
13259
13260         * gdb.python/py-events.exp: Update expected output for clear_objfiles
13261         event.
13262         * gdb.python/py-events.py: Add clear_objfiles event.
13263
13264 2014-10-17  Doug Evans  <dje@google.com>
13265
13266         * gdb.python/py-objfile.exp: Test progspace attribute.
13267
13268 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
13269
13270         * gdb.guile/scm-breakpoint.exp: Do not assume any
13271         directory separators when matching source file paths.
13272         * gdb.python/py-breakpoint.exp: Likewise.
13273         * gdb.reverse/break-precsave.exp: Likewise.
13274         * gdb.reverse/break-reverse.exp: Likewise.
13275         * gdb.reverse/consecutive-precsave.exp: Likewise.
13276         * gdb.reverse/finish-precsave.exp: Likewise.
13277         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13278         * gdb.reverse/finish-reverse.exp: Likewise.
13279         * gdb.reverse/i386-precsave.exp: Likewise.
13280         * gdb.reverse/i387-env-reverse.exp: Likewise.
13281         * gdb.reverse/i387-stack-reverse.exp: Likewise.
13282         * gdb.reverse/machinestate-precsave.exp: Likewise.
13283         * gdb.reverse/machinestate.exp: Likewise.
13284         * gdb.reverse/sigall-precsave.exp: Likewise.
13285         * gdb.reverse/solib-precsave.exp: Likewise.
13286         * gdb.reverse/step-precsave.exp: Likewise.
13287         * gdb.reverse/until-precsave.exp: Likewise.
13288         * gdb.reverse/watch-precsave.exp: Likewise.
13289         * gdb.reverse/watch-reverse.exp: Likewise.
13290
13291 2014-10-17  Yao Qi  <yao@codesourcery.com>
13292
13293         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13294         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13295
13296 2014-10-17  Pedro Alves  <palves@redhat.com>
13297
13298         PR gdb/17471
13299         * gdb.base/bg-execution-repeat.c: New file.
13300         * gdb.base/bg-execution-repeat.exp: New file.
13301
13302 2014-10-17  Pedro Alves  <palves@redhat.com>
13303
13304         PR gdb/17300
13305         * gdb.base/continue-all-already-running.c: New file.
13306         * gdb.base/continue-all-already-running.exp: New file.
13307
13308 2014-10-17  Pedro Alves  <palves@redhat.com>
13309
13310         PR gdb/17472
13311         * gdb.base/annota-input-while-running.c: New file.
13312         * gdb.base/annota-input-while-running.exp: New file.
13313
13314 2014-10-17  Pedro Alves  <palves@redhat.com>
13315
13316         * gdb.base/callfuncs.exp: emove references to osf.
13317         * gdb.base/sigall.exp: Likewise.
13318         * gdb.gdb/selftest.exp: Likewise.
13319         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13320         * gdb.mi/non-stop.c: Likewise.
13321         * gdb.mi/pthreads.c: Likewise.
13322         * gdb.reverse/sigall-precsave.exp: Likewise.
13323         * gdb.reverse/sigall-reverse.exp: Likewise.
13324         * gdb.threads/pthreads.c: Likewise.
13325         * gdb.threads/pthreads.exp: Likewise.
13326
13327 2014-10-17  Yao Qi  <yao@codesourcery.com>
13328
13329         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13330         check 'target_info exists noargs'.
13331         (test_command_prompt_position): Likewise.
13332         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13333         Remove "set args".
13334         (progvar_simple_while_test): Likewise.
13335         (progvar_complex_if_while_test): Likewise.
13336         (if_while_breakpoint_command_test): Likewise.
13337         (infrun_breakpoint_command_test): Likewise.
13338         (breakpoint_command_test): Likewise.
13339         (watchpoint_command_test): Likewise.
13340         (bp_deleted_in_command_test): Likewise.
13341         (temporary_breakpoint_commands): Likewise.
13342
13343 2014-10-16  Yao Qi  <yao@codesourcery.com>
13344
13345         * gdb.base/remotetimeout.exp: Remove noargs checking.
13346
13347 2014-10-15  Pedro Alves  <palves@redhat.com>
13348
13349         PR breakpoints/9649
13350         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13351         * gdb.base/breakpoint-in-ro-region.exp
13352         (probe_target_hardware_step): New procedure.
13353         (top level): Probe hardware stepping and hardware breakpoint
13354         support.  Test stepping through a read-only region, with both
13355         "breakpoint auto-hw" on and off and both "always-inserted" on and
13356         off.
13357
13358 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
13359
13360         * gdb.dlang/demangle.exp: Update for demangling changes.
13361
13362 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
13363
13364         * gdb.cp/non-trivial-retval.cc: Add new test cases.
13365         * gdb.cp/non-trivial-retval.exp: Add new tests.
13366
13367 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
13368
13369         PR c++/13403
13370         PR c++/15154
13371         * gdb.cp/non-trivial-retval.cc: New file.
13372         * gdb.cp/non-trivial-retval.exp: New file.
13373
13374 2014-10-15  Yao Qi  <yao@codesourcery.com>
13375
13376         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13377         remote host.
13378
13379 2014-10-15  Yao Qi  <yao@codesourcery.com>
13380
13381         * gdb.python/py-symbol.exp: Match file base name if host is
13382         remote, otherwise match file name with dir name.
13383         * gdb.python/py-symtab.exp: Likewise.
13384         * gdb.python/python.exp: Likewise.
13385
13386 2014-10-15  Yao Qi  <yao@codesourcery.com>
13387
13388         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13389         pattern.
13390         * gdb.python/py-symtab.exp: Likewise.
13391         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
13392         locationn.
13393
13394 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
13395
13396         * gdb.ada/addr_arith: New testcase.
13397
13398 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
13399
13400         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13401         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13402         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13403         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13404
13405 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
13406
13407         * gdb.arch/stap-eval-lang-ada.S: Likewise.
13408         * gdb.arch/stap-eval-lang-ada.c: Likewise.
13409         * gdb.arch/stap-eval-lang-ada.exp: New file.
13410
13411 2014-10-14  Yao Qi  <yao@codesourcery.com>
13412
13413         * gdb.mi/mi-var-child.c (nothing1): New function.
13414         (nothing2): New function.
13415         (do_children_tests): Set function pointers by nothing1 and
13416         nothing2.
13417         * gdb.mi/mi-var-child.exp: Step over new added statements.
13418         Update test to match the new output.
13419         * gdb.mi/var-cmd.c (nothing1): New function.
13420         (nothing2): New function.
13421         (do_children_tests): Set function pointers by  nothing1 and
13422         nothing2.
13423         * gdb.mi/mi-var-display.exp: Update test to match output.
13424         Step to the line specified by $line_dct_nothing.
13425         Increase the number of lines to step.
13426
13427 2014-10-14  Yao Qi  <yao@codesourcery.com>
13428
13429         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13430         tests.
13431         * gdb.mi/mi2-var-child.exp: Likewise.
13432
13433 2014-10-13  Doug Evans  <dje@google.com>
13434
13435         * gdb.python/py-objfile.exp: Change name of file name test.
13436
13437 2014-10-13  Doug Evans  <dje@google.com>
13438
13439         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13440         from the start of the CU.
13441
13442 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13443             Yao Qi  <yao@codesourcery.com>
13444
13445         Fix "save breakpoints" for "catch" command.
13446         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13447         Remove -nonewline.  Match also the added "main" line.
13448
13449 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13450
13451         Fix "save breakpoints" for "disable $bpnum" command.
13452         * gdb.base/save-bp.c (main): Add label.
13453         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
13454
13455 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13456
13457         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13458
13459 2014-10-11  Yao Qi  <yao@codesourcery.com>
13460
13461         * gdb.server/server-kill.exp: Execute command
13462         "set remote trace-status-packet on" before "tstatus".
13463
13464 2014-10-11  Yao Qi  <yao@codesourcery.com>
13465
13466         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13467         (main): Call getppid.
13468         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13469         and continue to it.  Read variable "server_pid".
13470
13471 2014-10-11  Yao Qi  <yao@codesourcery.com>
13472
13473         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13474
13475 2014-10-11  Yao Qi  <yao@codesourcery.com>
13476
13477         * gdb.threads/thread-find.exp: Don't execute command
13478         "info threads".
13479         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13480         * gdb.threads/linux-dp.exp: Don't check the condition
13481         $threads_created equals to zero.
13482
13483 2014-10-10  Pedro Alves  <palves@redhat.com>
13484
13485         * gdb.base/bigcore.exp: Remove references to IRIX.
13486         * gdb.base/funcargs.exp: Likewise.
13487         * gdb.base/interrupt.exp: Likewise.
13488         * gdb.base/mips_pro.exp: Likewise.
13489         * gdb.base/nodebug.exp: Likewise.
13490         * gdb.base/setvar.exp: Likewise.
13491         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13492
13493 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
13494             Pedro Alves  <palves@redhat.com>
13495
13496         PR symtab/14466
13497         * gdb.base/vdso-warning.c: New file.
13498         * gdb.base/vdso-warning.exp: New file.
13499
13500 2014-10-02  Doug Evans  <dje@google.com>
13501
13502         * gdb.base/structs.c (main): Don't run forever.
13503
13504 2014-10-02  Pedro Alves  <palves@redhat.com>
13505
13506         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13507         (top level) <stop threads 1, stop threads 2>: Use it.
13508
13509 2014-10-02  Pedro Alves  <palves@redhat.com>
13510
13511         * gdb.threads/break-while-running.exp (test): Add new
13512         'update_thread_list' argument.  Skip "info threads" if false.
13513         (top level): Add new 'update_thread_list' axis.
13514
13515 2014-10-02  Pedro Alves  <palves@redhat.com>
13516
13517         PR breakpoints/17431
13518         * gdb.base/execl-update-breakpoints.c: New file.
13519         * gdb.base/execl-update-breakpoints.exp: New file.
13520
13521 2014-10-01  Pedro Alves  <palves@redhat.com>
13522
13523         * gdb.base/breakpoint-in-ro-region.c: New file.
13524         * gdb.base/breakpoint-in-ro-region.exp: New file.
13525
13526 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
13527
13528         * gdb.mi/mi-exit-code.exp: New file.
13529         * gdb.mi/mi-exit-code.c: New file.
13530
13531 2014-09-30  Yao Qi  <yao@codesourcery.com>
13532
13533         * lib/prelink-support.exp (build_executable_own_libs): Error if
13534         the target isn't native.
13535
13536 2014-09-30  Yao Qi  <yao@codesourcery.com>
13537
13538         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13539         false.
13540
13541 2014-09-22  Pedro Alves  <palves@redhat.com>
13542
13543         * gdb.threads/break-while-running.exp: New file.
13544         * gdb.threads/break-while-running.c: New file.
13545
13546 2014-09-19  Yao Qi  <yao@codesourcery.com>
13547
13548         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13549         Invoke test.  Restart GDB with --readnow and invoke test again.
13550
13551 2014-09-19  Yao Qi  <yao@codesourcery.com>
13552
13553         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13554         proc set_breakpoint_on_gcd_function.  Invoke
13555         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
13556         invoke set_breakpoint_on_gcd_function again.
13557
13558 2014-09-18  Doug Evans  <dje@google.com>
13559
13560         * gdb.dwarf2/symtab-producer.exp: New file.
13561
13562 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
13563
13564         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13565         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13566         * gdb.base/global-var-nested-by-dso.c: Likewise.
13567         * gdb.base/global-var-nested-by-dso.exp: Likewise.
13568
13569 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
13570             Pedro Alves  <palves@redhat.com>
13571
13572         * gdb.base/watch-bitfields.exp: Pass string other than test file
13573         name to prepare_for_testing.
13574         (watch): New procedure.
13575         (expect_watchpoint): Use with_test_prefix.
13576         (top level): Factor out tests to ...
13577         (test_watch_location, test_regular_watch): ... these new
13578         procedures, and use with_test_prefix and gdb_continue_to_end.
13579
13580 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
13581
13582         PR breakpoints/12526
13583         * gdb.base/watch-bitfields.exp: New file.
13584         * gdb.base/watch-bitfields.c: New file.
13585
13586 2014-09-16  Pedro Alves  <palves@redhat.com>
13587
13588         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13589         software and hardware addresses, not software address against
13590         itself.
13591
13592 2014-09-16  Pedro Alves  <palves@redhat.com>
13593
13594         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13595         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13596
13597 2014-09-16  Pedro Alves  <palves@redhat.com>
13598
13599         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13600         files.
13601         * gdb.base/a2-run.exp: Remove all code guarded by istarget
13602         "*-*-vxworks*" throughout.
13603         * gdb.base/break.exp: Likewise.
13604         * gdb.base/default.exp: Likewise.
13605         * gdb.base/scope.exp: Likewise.
13606         * gdb.base/sepdebug.exp: Likewise.
13607         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13608         throughout.
13609         * gdb.base/run.c: Likewise.
13610         * gdb.base/sepdebug.c: Likewise.
13611         * gdb.hp/gdb.aCC/run.c: Likewise.
13612         * gdb.reverse/until-reverse.c: Likewise.
13613         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13614
13615 2014-09-16  Yao Qi  <yao@codesourcery.com>
13616
13617         * boards/local-remote-host-native.exp: New file.
13618
13619 2014-09-14  Doug Evans  <xdje42@gmail.com>
13620
13621         * gdb.threads/queue-signal.c (thread_count): New variable.
13622         (thread_count_mutex, thread_count_condvar): New variables.
13623         (incr_thread_count, wait_all_threads_running): New functions.
13624         (main): Wait for all threads to be in their thread functions.
13625
13626 2014-09-13  Doug Evans  <xdje42@gmail.com>
13627
13628         * gdb.threads/queue-signal.c: New file.
13629         * gdb.threads/queue-signal.exp: New file.
13630
13631 2014-09-13  Doug Evans  <xdje42@gmail.com>
13632
13633         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13634         be consistent with what default_gdb_init uses.
13635         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13636         the plain text of the prompt.  Add some logging printfs.
13637         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13638
13639 2014-09-12  Pedro Alves  <palves@redhat.com>
13640
13641         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13642         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13643         * gdb.arch/i386-size-overlap.exp: Likewise.
13644         * gdb.arch/i386-size.exp: Likewise.
13645         * gdb.arch/i386-unwind.exp: Likewise.
13646         * gdb.base/a2-run.exp: Likewise.
13647         * gdb.base/break.exp: Likewise.
13648         * gdb.base/charset.exp: Likewise.
13649         * gdb.base/chng-syms.exp: Likewise.
13650         * gdb.base/commands.exp: Likewise.
13651         * gdb.base/dbx.exp: Likewise.
13652         * gdb.base/find.exp: Likewise.
13653         * gdb.base/funcargs.exp: Likewise.
13654         * gdb.base/jit-simple.exp: Likewise.
13655         * gdb.base/reread.exp: Likewise.
13656         * gdb.base/sepdebug.exp: Likewise.
13657         * gdb.base/step-bt.exp: Likewise.
13658         * gdb.cp/mb-inline.exp: Likewise.
13659         * gdb.cp/mb-templates.exp: Likewise.
13660         * gdb.objc/basicclass.exp: Likewise.
13661         * gdb.threads/killed.exp: Likewise.
13662
13663 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13664
13665         PR tdep/17379
13666         * gdb.arch/powerpc-stackless.S: New file.
13667         * gdb.arch/powerpc-stackless.exp: New file.
13668
13669 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13670
13671         * gdb.base/attach.c: Include unistd.h.
13672         (main): Call alarm.  Add label postloop.
13673         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13674         gdb_breakpoint, gdb_continue_to_breakpoint.
13675         (test_command_line_attach_run): Kill ${testpid} in one exit path.
13676
13677 2014-09-11  Pedro Alves  <palves@redhat.com>
13678
13679         PR gdb/17347
13680         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13681         * gdb.base/attach.exp (test_command_line_attach_run): New
13682         procedure.
13683         (top level): Call it.
13684
13685 2014-09-11  Pedro Alves  <palves@redhat.com>
13686
13687         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13688         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13689         (do_command_attach_tests): Use spawn_wait_for_attach.
13690         * gdb.base/solib-overlap.exp: Likewise.
13691         * gdb.multi/multi-attach.exp: Likewise.
13692         * gdb.python/py-prompt.exp: Likewise.
13693         * gdb.python/py-sync-interp.exp: Likewise.
13694         * gdb.server/ext-attach.exp: Likewise.
13695
13696 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13697
13698         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13699         command in testcase.  Simplify testcase.
13700
13701 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13702
13703         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13704
13705 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13706
13707         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13708
13709 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13710
13711         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13712
13713 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13714
13715         * gdb.dwarf2/dynarr-ptr.c: New file.
13716         * gdb.dwarf2/dynarr-ptr.exp: New file.
13717
13718 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13719
13720         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13721         of 30 rather than hardcoding 120 for a slow test case.  Take the
13722         `gdb,timeout' target setting into account for this calculation.
13723         Don't extend the timeout for the test cases that don't need it.
13724
13725 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13726
13727         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13728         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13729         target setting into account for this calculation.
13730         * gdb.reverse/until-precsave.exp: Increase the timeout by
13731         a factor of 15 and 3 respectively rather than adding 120
13732         for a pair of slow test cases.  Take the `gdb,timeout'
13733         target setting into account for this calculation.
13734
13735 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13736
13737         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13738         timeout, don't pass one down to gdb_expect.
13739         (gdb_expect): Rework timeout selection.
13740
13741 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13742
13743         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13744         exception on timeout.
13745         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13746         (gdbserver_start_extended): Catch any `gdbserver_start' error
13747         exceptions.
13748         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13749         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13750         `gdbserver_gdb_load' error exceptions.
13751
13752 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13753
13754         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13755         120 on waiting for the TCP socket to open.
13756
13757 2014-09-09  Doug Evans  <xdje42@gmail.com>
13758
13759         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13760         _caller_matches, _any_caller_is, _any_caller_matches.
13761
13762 2014-09-09  Doug Evans  <xdje42@gmail.com>
13763
13764         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13765
13766 2014-09-09  Yao Qi  <yao@codesourcery.com>
13767
13768         * gdb.mi/mi-var-display.exp: Set print symbol off.
13769
13770 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13771
13772         PR gdb/17035
13773         * gdb.base/commands.exp: Add tests to verify user-defined
13774         commands with empty bodies.
13775         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13776         python commands in `show user command`.
13777         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13778         scheme commands in `show user command`.
13779
13780 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13781
13782         PR python/17355
13783         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13784         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13785         * gdb.python/py-framefilter-invalidarg.exp: New file.
13786         * gdb.python/py-framefilter-invalidarg.py: New file.
13787
13788 2014-09-06  Doug Evans  <xdje42@gmail.com>
13789
13790         PR 15276
13791         * gdb.python/py-caller-is.c: New file.
13792         * gdb.python/py-caller-is.exp: New file.
13793
13794 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13795
13796         PR gdb/17235
13797         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13798         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13799
13800 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13801
13802         PR fortran/17237
13803         * gdb.fortran/print-formatted.exp: New file.
13804         * gdb.fortran/print-formatted.f90: Likewise.
13805
13806 2014-09-03  Sasha Smundak  <asmundak@google.com>
13807
13808         * gdb.python/py-frame.exp: Test Frame.read_register.
13809
13810 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13811
13812         PR python/16699
13813         * gdb.python/py-completion.exp: New file.
13814         * gdb.python/py-completion.py: Likewise.
13815
13816 2014-08-28  Doug Evans  <dje@google.com>
13817
13818         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13819         eax,etc. are live with values set by gdb and thus the compiler can't
13820         use them.
13821         * gdb.arch/i386-pseudo.c (main): Ditto.
13822
13823 2014-08-27  Doug Evans  <dje@google.com>
13824
13825         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13826
13827 2014-08-25  Doug Evans  <dje@google.com>
13828
13829         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13830         (main): Ditto.
13831
13832 2014-08-25  Doug Evans  <dje@google.com>
13833
13834         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13835
13836 2014-08-24  Yao Qi  <yao@codesourcery.com>
13837
13838         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13839         symbol off.
13840         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13841
13842 2014-08-22  Doug Evans  <dje@google.com>
13843
13844         PR 17276
13845         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13846         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13847         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13848
13849 2014-08-22  Yao Qi  <yao@codesourcery.com>
13850
13851         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13852         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13853         * gdb.python/python.exp: Likewise.  Use .py file on the host
13854         instead of the build.
13855
13856 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13857
13858         * gdb.threads/gcore-stale-thread.c: New file.
13859         * gdb.threads/gcore-stale-thread.exp: New file.
13860
13861 2014-08-21  Pedro Alves  <palves@redhat.com>
13862
13863         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13864         * gdb.base/gcore-relro-pie.exp: Likewise.
13865         * gdb.base/gcore-relro.exp: Likewise.
13866         * gdb.base/gcore.exp: Likewise.
13867         * gdb.base/print-symbol-loading.exp: Likewise.
13868         * gdb.threads/gcore-thread.exp: Likewise.
13869         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13870
13871 2014-08-20  Pedro Alves  <palves@redhat.com>
13872             Jan Kratochvil  <jan.kratochvil@redhat.com>
13873
13874         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13875         configure.
13876         (EXPECT): Handle READ1 being set.
13877         (all): Depend on EXTRA_RULES.
13878         (check-read1, expect-read1, read1.so, read1): New rules.
13879         * README (Testsuite Parameters): Document the READ1 make variable.
13880         (Race detection): New section.
13881         * configure: Regenerate.
13882         * configure.ac: If build==host==target, and running under a
13883         GNU/glibc system, add read1 to the extra Makefile rules.
13884         (EXTRA_RULES): AC_SUBST it.
13885         * lib/read1.c: New file.
13886
13887 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13888
13889         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13890         the handling of variables declared as a typedef to an array
13891         which a DW_AT_data_location attribute.
13892
13893 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13894             Pedro Alves  <palves@redhat.com>
13895
13896         PR symtab/14604
13897         PR symtab/14605
13898         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13899         gdb_test.
13900
13901 2014-08-19  Pedro Alves  <palves@redhat.com>
13902
13903         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13904
13905 2014-08-19  Yao Qi  <yao@codesourcery.com>
13906
13907         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13908         right line.
13909
13910 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13911
13912         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13913
13914 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13915
13916         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13917         attribute in array range.
13918
13919 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13920
13921         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13922
13923 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13924
13925         PR c++/17132
13926         * gdb.cp/pr17132.cc: New file.
13927         * gdb.cp/pr17132.exp: New file.
13928
13929 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13930
13931         * gdb.python/py-xmethods.py (A_getarrayind)
13932         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13933         Use 'print' with function call syntax.
13934         (E_method_matcher.match): Fix tab vs space indentation mixup.
13935
13936 2014-08-15  Yao Qi  <yao@codesourcery.com>
13937
13938         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13939         false.
13940
13941 2014-08-15  Yao Qi  <yao@codesourcery.com>
13942
13943         * gdb.cp/casts.exp: Set print symbol off.
13944         * gdb.cp/class2.exp: Likewise.
13945         * gdb.cp/overload.exp: Likewise.
13946         * gdb.cp/templates.exp: Likewise.
13947
13948 2014-08-11  Doug Evans  <dje@google.com>
13949
13950         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13951         (test_load_shlib): Update.
13952
13953 2014-08-09  Yao Qi  <yao@codesourcery.com>
13954
13955         * gdb.base/display.exp: Invoke is_address_zero_readable.
13956         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13957         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13958         * gdb.base/hbreak-unmapped.exp: Return if
13959         is_address_zero_readable returns true.
13960         * gdb.base/signest.exp: Likewise.
13961         * gdb.base/signull.exp: Likewise.
13962         * gdb.base/sigbpt.exp: Likewise.
13963         * gdb.guile/scm-disasm.exp: Do the test if
13964         is_address_zero_readable returns false.
13965         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13966         * gdb.python/py-arch.exp: Likewise.
13967         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13968         * lib/gdb.exp (is_address_zero_readable): New proc.
13969
13970 2014-08-09  Yao Qi  <yao@codesourcery.com>
13971
13972         PR testsuite/13443
13973         * gdb.mi/mi-var-display.exp: Make test messages unique.
13974
13975 2014-08-04  Tom Tromey  <tromey@redhat.com>
13976
13977         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13978         target 0".
13979
13980 2014-08-04  Tom Tromey  <tromey@redhat.com>
13981
13982         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13983         "target_resume".
13984
13985 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13986
13987         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13988         inner_vla_struct_object_size.
13989         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13990         as xfail.
13991
13992 2014-07-30  Pedro Alves  <palves@redhat.com>
13993
13994         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13995         comment.
13996
13997 2014-07-29  Yao Qi  <yao@codesourcery.com>
13998
13999         PR gdb/17206
14000         * gdb.base/until-nodebug.exp: New.
14001
14002 2014-07-28  Doug Evans  <xdje42@gmail.com>
14003
14004         PR guile/17203
14005         * gdb.guile/scm-parameter.exp: Add tests for trying to create
14006         previously existing parameter, and previously ambiguously spelled
14007         parameter.
14008
14009 2014-07-28  Will Newton  <will.newton@linaro.org>
14010
14011         * gdb.base/varargs.exp: Remove KFAILs for ARM.
14012
14013 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
14014             Doug Evans  <xdje42@gmail.com>
14015
14016         PR guile/17146
14017         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14018
14019 2014-07-25  Pedro Alves  <palves@redhat.com>
14020
14021         * gdb.threads/signal-command-handle-nopass.c: New file.
14022         * gdb.threads/signal-command-handle-nopass.exp: New file.
14023         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14024         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14025         * gdb.threads/signal-delivered-right-thread.c: New file.
14026         * gdb.threads/signal-delivered-right-thread.exp: New file.
14027
14028 2014-07-25  Pedro Alves  <palves@redhat.com>
14029
14030         * gdb.base/double-prompt-target-event-error.exp
14031         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14032         match.
14033         (cancel_pagination_in_target_event): Rework double prompt
14034         detection.
14035         * gdb.base/paginate-after-ctrl-c-running.exp
14036         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14037         <return>' match.
14038         * gdb.base/paginate-bg-execution.exp
14039         (test_bg_execution_pagination_return)
14040         (test_bg_execution_pagination_cancel): Remove '-notransfer
14041         <return>' matches.
14042         * gdb.base/paginate-execution-startup.exp
14043         (test_fg_execution_pagination_return)
14044         (test_fg_execution_pagination_cancel): Remove '-notransfer
14045         <return>' matches.
14046         * gdb.base/paginate-inferior-exit.exp
14047         (test_paginate_inferior_exited): Remove '-notransfer <return>'
14048         match.
14049         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14050         * lib/gdb.exp (pagination_prompt): Run text through
14051         string_to_regexp.
14052         (gdb_test_multiple): Match $pagination_prompt instead of
14053         "<return>".
14054         (string_to_regexp): Move to lib/gdb-utils.exp.
14055
14056 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14057
14058         * gdb.arch/amd64-entry-value-paramref.S: New file.
14059         * gdb.arch/amd64-entry-value-paramref.cc: New file.
14060         * gdb.arch/amd64-entry-value-paramref.exp: New file.
14061         * gdb.arch/amd64-optimout-repeat.S: New file.
14062         * gdb.arch/amd64-optimout-repeat.c: New file.
14063         * gdb.arch/amd64-optimout-repeat.exp: New file.
14064
14065 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
14066
14067         PR gdb/17170
14068         * gdb.base/statistics.exp: New file.
14069
14070 2014-07-17  Doug Evans  <dje@google.com>
14071
14072         PR gdb/17170
14073         * gdb.base/maint.exp: Update testing of per-command stats.
14074
14075 2014-07-16  Pedro Alves  <palves@redhat.com>
14076
14077         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14078         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14079         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14080         (tfile_write_buf): New functions.
14081         (add_memory_block): Rewrite using the above.
14082         (adjust_function_address): New function.
14083         (FUNCTION_ADDRESS): New macro.
14084         (write_basic_trace_file): Remove short_x local, and use
14085         tfile_write_16. Change type of func_addr local to unsigned long
14086         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
14087         here.  Cast argument of add_memory_block to char pointer.
14088         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
14089         (main): Remove parameters.
14090         * gdb.trace/tfile.exp: Remove nowarnings.
14091
14092 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
14093
14094         * gdb.base/debug-expr.exp: Test string evaluation with
14095         "debug expression" on.
14096
14097 2014-07-15  Pedro Alves  <palves@redhat.com>
14098
14099         * gdb.base/reread.exp: Use clean_restart.
14100
14101 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
14102
14103         * gdb.arch/avr-flash-qualifer.c: New.
14104         * gdb.arch/avr-flash-qualifer.exp: New.
14105
14106 2014-07-14  Pedro Alves  <palves@redhat.com>
14107
14108         * gdb.base/paginate-after-ctrl-c-running.c: New file.
14109         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14110
14111 2014-07-14  Pedro Alves  <palves@redhat.com>
14112
14113         * gdb.base/double-prompt-target-event-error.c: New file.
14114         * gdb.base/double-prompt-target-event-error.exp: New file.
14115
14116 2014-07-14  Pedro Alves  <palves@redhat.com>
14117
14118         PR gdb/17072
14119         * gdb.base/paginate-inferior-exit.c: New file.
14120         * gdb.base/paginate-inferior-exit.exp: New file.
14121
14122 2014-07-14  Pedro Alves  <palves@redhat.com>
14123
14124         PR gdb/17072
14125         * gdb.base/paginate-bg-execution.c: New file.
14126         * gdb.base/paginate-bg-execution.exp: New file.
14127
14128 2014-07-14  Pedro Alves  <palves@redhat.com>
14129
14130         PR gdb/17072
14131         * gdb.base/paginate-execution-startup.c: New file.
14132         * gdb.base/paginate-execution-startup.exp: New file.
14133         * lib/gdb.exp (pagination_prompt): New global.
14134         (default_gdb_spawn): New procedure, factored out from
14135         default_gdb_spawn.
14136         (default_gdb_start): Adjust to call default_gdb_spawn.
14137         (gdb_spawn): New procedure.
14138
14139 2014-07-14  Pedro Alves  <palves@redhat.com>
14140
14141         * lib/gdb.exp (gdb_assert): New procedure.
14142         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14143
14144 2014-07-14  Pedro Alves  <palves@redhat.com>
14145
14146         * gdb.base/execution-termios.c: New file.
14147         * gdb.base/execution-termios.exp: New file.
14148
14149 2014-07-14  Tom Tromey  <tromey@redhat.com>
14150
14151         * gdb.cp/vla-cxx.cc: New file.
14152         * gdb.cp/vla-cxx.exp: New file.
14153
14154 2014-07-14  Tom Tromey  <tromey@redhat.com>
14155
14156         * gdb.reverse/rerun-prec.c: New file.
14157         * gdb.reverse/rerun-prec.exp: New file.
14158
14159 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
14160             Maciej W. Rozycki  <macro@codesourcery.com>
14161
14162         * lib/gdb-utils.exp: New file.
14163         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14164         inline `gdb_init_command' processing.
14165         (gdb_start_cmd): Likewise.
14166         * lib/mi-support.exp (mi_run_cmd): Likewise.
14167         * README: Document `gdb_init_command' and `gdb_init_commands'.
14168
14169 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14170
14171         Fix false FAIL running under a very long directory name.
14172         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14173         and "set print elements 10000".  Twice.
14174
14175 2014-07-11  Yao Qi  <yao@codesourcery.com>
14176
14177         * gdb.base/exprs.exp: "set print symbol off".
14178
14179 2014-07-11  Pedro Alves  <palves@redhat.com>
14180
14181         * gdb.threads/kill.c: New file.
14182         * gdb.threads/kill.exp: New file.
14183
14184 2014-07-10  Yao Qi  <yao@codesourcery.com>
14185
14186         * gdb.trace/tfile.c (write_basic_trace_file)
14187         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14188         address written to trace file.
14189
14190 2014-07-09  Pedro Alves  <palves@redhat.com>
14191
14192         * gdb.base/attach-wait-input.exp: New file.
14193         * gdb.base/attach-wait-input.c: New file.
14194
14195 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
14196
14197         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14198         setting up test structures.
14199         (main): Call new test function.
14200         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14201         test function, continue into test function and walk test
14202         structures.
14203
14204 2014-07-02  Yao Qi  <yao@codesourcery.com>
14205
14206         * gdb.trace/entry-values.c: Define labels 'foo_start' and
14207         'bar_start' at the beginning of functions 'foo' and 'bar'
14208         respectively.
14209         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14210         instead of 'foo' and 'bar'.
14211
14212 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
14213
14214         * gdb.btrace/segv.exp: New.
14215         * gdb.btrace/segv.c: New.
14216
14217 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
14218
14219         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14220         instruction.
14221
14222 2014-06-30  Mark Wielaard  <mjw@redhat.com>
14223
14224         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14225         vulture, vilify, villar): New volatile array constants.
14226         (vindictive, vegetation): New const volatile array constants.
14227         * gdb.base/volatile.exp: Test volatile and const volatile array
14228         types.
14229
14230 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14231
14232         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14233         target lacks support for awatch, rwatch, or hbreak.
14234
14235 2014-06-27  Yao Qi  <yao@codesourcery.com>
14236
14237         * gdb.multi/dummy-frame-restore.exp: New.
14238         * gdb.multi/dummy-frame-restore.c: New.
14239
14240 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
14241
14242         * gdb.btrace/gcore.exp: New.
14243
14244 2014-06-23  Pedro Alves  <palves@redhat.com>
14245
14246         * gdb.base/watchpoint-reuse-slot.c: New file.
14247         * gdb.base/watchpoint-reuse-slot.exp: New file.
14248
14249 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
14250
14251         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14252         progspace's filename in 'info', 'enable' and 'disable' command
14253         tests.
14254
14255 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14256
14257         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14258         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14259         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14260
14261 2014-06-20  Gary Benson  <gbenson@redhat.com>
14262
14263         * gdb.arch/i386-avx.exp: Fix include file location.
14264         * gdb.arch/i386-sse.exp: Likewise.
14265
14266 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
14267
14268         * gdb.dlang/expression.exp: New file.
14269
14270 2014-06-19  Pedro Alves  <palves@redhat.com>
14271
14272         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14273         out from ...
14274         (top level): ... here.  Iterate running tests under different
14275         scheduler-locking settings.
14276
14277 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
14278
14279         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14280         to DW_FORM_addr and use non-zero addresses.
14281
14282 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
14283
14284         PR gdb/17017
14285         * gdb.python/py-xmethods.cc: Add global function call counters and
14286         increment them in their respective functions.  Remove "cout"
14287         statements.
14288         * gdb.python/py-xmethods.exp: Make tests check the global function
14289         call counters instead of depending on inferior IO.
14290
14291 2014-06-18  Don Breazeal  <donb@codesourcery.com>
14292
14293         * gdb.base/foll-fork.exp (default_fork_parent_follow):
14294         Deleted procedure.
14295         (explicit_fork_parent_follow): Deleted procedure.
14296         (explicit_fork_child_follow): Deleted procedure.
14297         (test_follow_fork): New procedure.
14298         (do_fork_tests): Replace calls to deleted procedures with
14299         calls to test_follow_fork and reset GDB for subsequent
14300         procedure calls.
14301
14302 2014-06-17  Yao Qi  <yao@codesourcery.com>
14303
14304         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14305         CP1252.
14306
14307 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
14308
14309         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14310         Initialize ptr and S explicitly.
14311         (skip_type_update_when_not_use_rtti_test): Likewise.
14312
14313 2014-06-16  Keith Seitz  <keiths@redhat.com>
14314
14315         PR mi/15863
14316         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14317         the inferior is started.
14318
14319 2014-06-16  Pedro Alves  <palves@redhat.com>
14320
14321         * gdb.base/break-main-file-remove-fail.c: New file.
14322         * gdb.base/break-main-file-remove-fail.exp: New file.
14323         * gdb.base/break-unload-file.exp: Use build_executable instead of
14324         prepare_for_testing.
14325         (test_break): New parameter "initial_load".  Handle it.
14326         (top level): Add initial_load cmdline/file axis.
14327
14328 2014-06-12  Tom Tromey  <tromey@redhat.com>
14329
14330         * gdb.base/completion.exp: Don't use directory name in test.
14331
14332 2014-06-09  Gary Benson  <gbenson@redhat.com>
14333
14334         * gdb.base/sigall.c [Functions to send signals]: Reorder to
14335         separate the always-available ANSI-standard signals from the
14336         signals that require checking.
14337         (main): Likewise.
14338         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14339         Likewise.
14340         (main): Likewise.
14341
14342 2014-06-07  Keith Seitz  <keiths@redhat.com>
14343
14344         Revert:
14345         PR c++/16253
14346         * gdb.cp/var-tag.cc: New file.
14347         * gdb.cp/var-tag.exp: New file.
14348         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14349         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14350         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14351         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14352
14353 2014-06-06  Doug Evans  <xdje42@gmail.com>
14354
14355         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14356
14357 2014-06-06  Pedro Alves  <palves@redhat.com>
14358
14359         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14360         in target debug output instead of looking at RSP packets,
14361         disabling the test on any target that uses hardware stepping.
14362         Update comments.
14363
14364 2014-06-06  Pedro Alves  <palves@redhat.com>
14365
14366         * gdb.base/break-unload-file.exp: Fix typo.
14367
14368 2014-06-06  Yao Qi  <yao@codesourcery.com>
14369
14370         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14371         from "jit_function" to "^jit_function".
14372
14373 2014-06-06  Yao Qi  <yao@codesourcery.com>
14374
14375         * gdb.base/async.c (foo): Add one statement.
14376         * gdb.base/async.exp: Get the next instruction address and
14377         match the output of "nexti" by instruction address.  Match
14378         the hex address in the output of "finish".
14379
14380 2014-06-06  Gary Benson  <gbenson@redhat.com>
14381
14382         * gdb.base/call-signals.c: Remove preprocessor conditionals
14383         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14384         SIGSEGV and SIGTERM.
14385         * gdb.base/sigall.c: Likewise.
14386         * gdb.base/unwindonsignal.c: Likewise.
14387         * gdb.reverse/sigall-reverse.c: Likewise.
14388
14389 2014-06-06  Yao Qi  <yao@codesourcery.com>
14390
14391         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
14392         readable, skip the test.
14393
14394 2014-06-06  Yao Qi  <yao@codesourcery.com>
14395
14396         * gdb.threads/staticthreads.c (thread_function): Move the line
14397         setting breakpoint on forward.
14398         * gdb.threads/staticthreads.exp: Update comments.
14399
14400 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
14401
14402         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14403         "history-append! type error".
14404
14405 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
14406
14407         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14408         erroneous dprintf expected input.
14409
14410 2014-06-04  Doug Evans  <xdje42@gmail.com>
14411
14412         * gdb.guile/scm-generics.exp: Delete.
14413
14414 2014-06-04  Doug Evans  <xdje42@gmail.com>
14415
14416         * gdb.guile/scm-breakpoint.exp: Update.
14417         Add tests for breakpoint registration.
14418
14419 2014-06-04  Tom Tromey  <tromey@redhat.com>
14420
14421         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14422         VLA-in-union.
14423         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14424         inner_vla_struct, vla_union types.  Initialize objects of those
14425         types and compute their sizes.
14426
14427 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
14428             Hui Zhu  <hui@codesourcery.com>
14429
14430         * gdb.base/fileio.exp: Add test for shell not available as well as
14431         available.
14432         * gdb.base/fileio.c (test_system): Check for shell twice.
14433
14434 2014-06-04  Yao Qi  <yao@codesourcery.com>
14435
14436         * gdb.base/auto-connect-native-target.exp: Remove redundant
14437         space from the regexp pattern.
14438
14439 2014-06-04  Yao Qi  <yao@codesourcery.com>
14440
14441         * gdb.base/default.exp: Replace "child" with "native" in
14442         regexp pattern.
14443
14444 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
14445
14446         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14447         * gdb.python/py-xmethods.exp: New tests to test xmethods.
14448         * gdb.python/py-xmethods.py: Python script supporting the
14449         new testcase and tests.
14450
14451 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
14452             Pedro Alves  <palves@redhat.com>
14453
14454         PR breakpoints/17000
14455         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14456         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14457
14458 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
14459
14460         * gdb.base/subst.exp: Add tests to verify partial path matching
14461         output.
14462
14463 2014-06-03  Pedro Alves  <palves@redhat.com>
14464
14465         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14466         target that doesn't use software single-stepping.
14467
14468 2014-06-03  Pedro Alves  <palves@redhat.com>
14469
14470         PR breakpoints/17000
14471         * gdb.base/sss-bp-on-user-bp-2.c: New file.
14472         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14473
14474 2014-06-02  Doug Evans  <xdje42@gmail.com>
14475
14476         * gdb.guile/scm-parameter.exp: New file.
14477
14478 2014-06-02  Doug Evans  <xdje42@gmail.com>
14479
14480         * gdb.guile/scm-cmd.c: New file.
14481         * gdb.guile/scm-cmd.exp: New file.
14482
14483 2014-06-02  Doug Evans  <xdje42@gmail.com>
14484
14485         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14486         pretty-printer lookup.
14487         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14488         (make-pp_s-printer): Call it.
14489         (make-pretty-printer-from-dict): New function.
14490         (lookup-pretty-printer-maker-from-dict): New function.
14491         (*pretty-printer*): Simplify.
14492         (make-objfile-pp_s-printer): New function.
14493         (install-objfile-pretty-printers!): New function.
14494         (make-progspace-pp_s-printer): New function.
14495         (install-progspace-pretty-printers!): New function.
14496         * gdb.guile/scm-progspace.c: New file.
14497         * gdb.guile/scm-progspace.exp: New file.
14498
14499 2014-06-02  Pedro Alves  <palves@redhat.com>
14500
14501         * gdb.base/dprintf-bp-same-addr.c: New file.
14502         * gdb.base/dprintf-bp-same-addr.exp: New file.
14503
14504 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14505
14506         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14507         * gdb.arch/powerpc-power.s: Likewise.
14508
14509 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
14510
14511         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14512
14513 2014-06-01  Yao Qi  <yao@codesourcery.com>
14514
14515         * gdb.base/watchpoint.exp (test_watch_location): Check null
14516         pointer can be dereferenced.  If not, do the test, otherwise
14517         skip it.
14518
14519 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
14520
14521         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14522         results.
14523         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14524
14525 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
14526
14527         * gdb.arch/amd64-invalid-stack-middle.S: New file.
14528         * gdb.arch/amd64-invalid-stack-middle.c: New file.
14529         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14530         * gdb.arch/amd64-invalid-stack-top.c: New file.
14531         * gdb.arch/amd64-invalid-stack-top.exp: New file.
14532
14533 2014-05-30  Pedro Alves  <palves@redhat.com>
14534
14535         PR breakpoints/17000
14536         * gdb.base/sss-bp-on-user-bp.c: New file.
14537         * gdb.base/sss-bp-on-user-bp.exp: New file.
14538
14539 2014-05-30  David Blaikie  <dblaikie@gmail.com>
14540
14541         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14542         gnu_inline semantics via attribute.
14543         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14544         source explicitly specifies the required semantics.
14545
14546 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
14547
14548         * gdb.reverse/sigall-reverse.exp: Fix a typo.
14549
14550 2014-05-29  Pedro Alves  <palves@redhat.com>
14551             Tom Tromey  <tromey@redhat.com>
14552
14553         * gdb.base/async-shell.exp: Don't enable target-async.
14554         * gdb.base/async.exp
14555         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14556         parameter.  Adjust.
14557         (top level): Don't test with "target-async".
14558         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14559         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14560         * gdb.base/inferior-died.exp: Don't enable target-async.
14561         * gdb.base/interrupt-noterm.exp: Likewise.
14562         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14563         * gdb.mi/mi-nonstop-exit.exp: Likewise.
14564         * gdb.mi/mi-nonstop.exp: Likewise.
14565         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14566         * gdb.mi/mi-nsintrall.exp: Likewise.
14567         * gdb.mi/mi-nsmoribund.exp: Likewise.
14568         * gdb.mi/mi-nsthrexec.exp: Likewise.
14569         * gdb.mi/mi-watch-nonstop.exp: Likewise.
14570         * gdb.multi/watchpoint-multi.exp: Adjust comment.
14571         * gdb.python/py-evsignal.exp: Don't enable target-async.
14572         * gdb.python/py-evthreads.exp: Likewise.
14573         * gdb.python/py-prompt.exp: Likewise.
14574         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14575         * gdb.server/solib-list.exp: Don't enable target-async.
14576         * gdb.threads/thread-specific-bp.exp: Likewise.
14577         * lib/mi-support.exp: Adjust to use mi-async.
14578
14579 2014-05-29  Pedro Alves  <palves@redhat.com>
14580
14581         PR gdb/13860
14582         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14583         reason, even in sync mode.
14584
14585 2014-05-29  Pedro Alves  <palves@redhat.com>
14586             Hui Zhu  <hui@codesourcery.com>
14587
14588         PR PR15693
14589         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14590         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14591         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14592         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14593
14594 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
14595
14596         * config/monitor.exp (gdb_target_monitor): Replace use of
14597         "set remotebaud" by "set serial baud".
14598
14599 2014-05-26  Andy Wingo  <wingo@igalia.com>
14600
14601         * gdb.guile/scm-breakpoint.exp:
14602         * gdb.guile/scm-gsmob.exp: Update to use plain old object
14603         properties instead of gdb-object-properties.
14604
14605 2014-05-26  Yao Qi  <yao@codesourcery.com>
14606
14607         * gdb.server/no-thread-db.exp: Specify source file name
14608         explicitly when setting a breakpoint.
14609
14610 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14611
14612         * gdb.btrace/vdso.c: New.
14613         * gdb.btrace/vdso.exp: New.
14614
14615 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14616
14617         * gdb.base/gcore.exp (capture_command_output): Move ...
14618         * lib/gdb.exp (capture_command_output): ... here.
14619
14620 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14621
14622         * gdb.btrace/data.exp: Test memory access during btrace replay.
14623
14624 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
14625
14626         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14627
14628 2014-05-21  Pedro Alves  <palves@redhat.com>
14629
14630         PR gdb/13860
14631         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14632         (top level): Test that output related to execution commands is
14633         sent to the console with CLI commands, but not with MI commands.
14634         Test that breakpoint events are always mirrored to the console.
14635         Also expect the new source line to be output after a "next" in
14636         async mode too.  Make it a pass/fail test.
14637         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14638         output.
14639         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14640
14641 2014-05-21  Pedro Alves  <palves@redhat.com>
14642
14643         * gdb.base/list.exp (build_pattern, test_list): New procedures.
14644         Use them to test variations of "list" after reaching a breakpoint.
14645         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14646         Test "list" with listsize 10 after reaching a breakpoint.
14647         * gdb.python/python.exp (decode_line current location line
14648         number): Adjust expected line number.
14649
14650 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
14651
14652         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14653         behavior for $args, pass it directly to "run".
14654
14655 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
14656
14657         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14658         30000 to 65536.
14659
14660 2014-05-21  Pedro Alves  <palves@redhat.com>
14661
14662         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14663         auto-connect-native-target off".
14664         * gdb.base/auto-connect-native-target.c: New file.
14665         * gdb.base/auto-connect-native-target.exp: New file.
14666
14667 2014-05-21  Pedro Alves  <palves@redhat.com>
14668
14669         * gdb.base/default.exp: Test "target native" instead of "target
14670         child".
14671
14672 2014-05-21  Mark Wielaard  <mjw@redhat.com>
14673
14674         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14675
14676 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14677
14678         Fix TLS access for -static -pthread.
14679         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14680         <HAVE_TLS> (thread_function, main): Initialize it.
14681         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14682         Add clean_restart.
14683         <$have_tls != "">: Check TLSVAR.
14684
14685 2014-05-21  Pedro Alves  <palves@redhat.com>
14686
14687         * gdb.base/dcache-line-read-error.c: New.
14688         * gdb.base/dcache-line-read-error.exp: New.
14689
14690 2014-05-20  Pedro Alves  <palves@redhat.com>
14691
14692         * gdb.base/compare-sections.c: New file.
14693         * gdb.base/compare-sections.exp: New file.
14694
14695 2014-05-20  Pedro Alves  <palves@redhat.com>
14696
14697         * gdb.base/break-idempotent.c: New file.
14698         * gdb.base/break-idempotent.exp: New file.
14699
14700 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14701
14702         * gdb.btrace/nohist.exp: New.
14703
14704 2014-05-20  Yao Qi  <yao@codesourcery.com>
14705
14706         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14707         gdb.reverse directory and gdb_reverse_timeout exists in board
14708         setting.
14709         * README: Document gdb_reverse_timeout.
14710
14711 2014-05-20  Yao Qi  <yao@codesourcery.com>
14712
14713         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14714         'test_file_name'.  Treat args as a string instead of a list.
14715         (gdb_init): Rename argument 'args' by 'test_file_name'.
14716
14717 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14718
14719         * gdb.arch/powerpc-power.exp: New file.
14720         * gdb.arch/powerpc-power.s: New file.
14721
14722 2014-05-16  Doug Evans  <dje@google.com>
14723
14724         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14725         * gdb.base/completion.exp: Check that all expected files exist
14726         before doing file completion.
14727
14728 2014-05-16  Doug Evans  <dje@google.com>
14729
14730         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14731         Update.
14732         (do_syscall_tests_without_xml): Update.
14733
14734 2014-05-16  Pedro Alves  <palves@redhat.com>
14735
14736         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14737         instead of "unknown output after running".
14738
14739 2014-05-16  Yao Qi  <yao@codesourcery.com>
14740
14741         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14742         file1.txt from host at the end.
14743         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14744
14745 2014-05-15  Doug Evans  <dje@google.com>
14746
14747         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14748         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14749         loading file.  Add test for TU lookup.
14750
14751 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14752
14753         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14754         calling "-exec-arguments" or "set args" before running the
14755         inferior.
14756
14757 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14758
14759         * lib/mi-support.exp (mi_expect_stop): Expect message for
14760         inferiors that exit with non-zero exit code.
14761
14762 2014-05-14  Yao Qi  <yao@codesourcery.com>
14763
14764         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14765         match absolute path on remote host.
14766         (test_file_list_exec_source_files): Remove "/" from the
14767         pattern.
14768
14769 2014-05-14  Yao Qi  <yao@codesourcery.com>
14770
14771         * boards/local-remote-host-notty.exp (${board}_file): New
14772         proc.
14773
14774 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14775
14776         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14777         * gdb.arch/aarch64-atomic-inst.c: New file.
14778         * gdb.arch/aarch64-atomic-inst.exp: New file.
14779
14780 2014-05-07  Yao Qi  <yao@codesourcery.com>
14781
14782         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14783         in current context" too.
14784
14785 2014-05-05  Keith Seitz  <keiths@redhat.com>
14786
14787         * gdb.linespec/ls-dollar.exp: Add test for linespec
14788         file:convenience_variable.
14789
14790 2014-05-05  Yao Qi  <yao@codesourcery.com>
14791
14792         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14793         traceframes into tfile and ctf trace files.  Read data from
14794         trace file and test collected data.
14795         (gdb_collect_locals_test): Likewise.
14796         (gdb_unavailable_registers_test): Likewise.
14797         (gdb_unavailable_floats): Likewise.
14798         (gdb_collect_globals_test): Likewise.
14799         (top-level): Append "ctf" to trace_file_targets if GDB
14800         supports.
14801
14802 2014-05-05  Yao Qi  <yao@codesourcery.com>
14803
14804         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14805         code to ...
14806         (gdb_collect_args_test_1): ... it.  New proc.
14807         (gdb_collect_locals_test): Move some code to ...
14808         (gdb_collect_locals_test_1): ... it.  New proc.
14809         (gdb_unavailable_registers_test): Move some code to ...
14810         (gdb_unavailable_registers_test_1): ... it.  New proc.
14811         (gdb_unavailable_floats): Move some code to ...
14812         (gdb_unavailable_floats_1): ... it.  New proc.
14813
14814 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14815
14816         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14817         probes to test for bitness recognition.
14818         * gdb.arch/amd64-stap-optional-prefix.exp
14819         (test_probe_value_without_reg): New procedure.
14820         Add code to test for different kinds of bitness.
14821
14822 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14823
14824         PR breakpoints/16889
14825         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14826         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14827
14828 2014-05-01  Pedro Alves  <palves@redhat.com>
14829
14830         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14831         gdb_file_cmd if no file is specified.
14832         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14833         last_loaded_file to set the remote exec-file.
14834
14835 2014-05-01  Pedro Alves  <palves@redhat.com>
14836
14837         * boards/local-remote-host.exp: New file.
14838
14839 2014-05-01  Pedro Alves  <palves@redhat.com>
14840
14841         * boards/local-remote-host.exp: Rename to ...
14842         * boards/local-remote-host-notty.exp: ... this.
14843
14844 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14845
14846         * gdb.ada/dyn_arrayidx: New testcase.
14847
14848 2014-04-26  Yao Qi  <yao@codesourcery.com>
14849
14850         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14851         and compute the length of function main.  Save it in
14852         $main_length.
14853         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14854         (top-level): Use gdb_compile to compile objects into
14855         executable and restart GDB.  Remove invocation to
14856         prepare_for_testing.
14857
14858 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14859             Pedro Alves  <palves@redhat.com>
14860
14861         PR server/16255
14862         * gdb.multi/multi-attach.c: New file.
14863         * gdb.multi/multi-attach.exp: New file.
14864
14865 2014-04-25  Pedro Alves  <palves@redhat.com>
14866
14867         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14868         user.
14869         (top level): Test that "set remote conditional-breakpoints-packet
14870         off" works as intended.
14871         * gdb.base/dprintf.exp: Test that "set remote
14872         breakpoint-commands-packet off" works as intended.
14873         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14874         New function.
14875         (top level): Call it.
14876         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14877         remote fast-tracepoints-packet off" works as intended.
14878         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14879         * lib/gdb.exp (gdb_is_target_remote): ... here.
14880
14881 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14882
14883         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14884         ensure clang would not discard them.
14885         * gdb.base/gdbvars.c: Ditto.
14886         * gdb.base/memattr.c: Ditto.
14887         * gdb.base/whatis.c: Ditto.
14888         * gdb.python/py-prettyprint.c: Ditto.
14889         * gdb.trace/actions.c: Ditto.
14890         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14891         ensure clang would not discard it.
14892
14893 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14894
14895         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14896         clang to emit the full definition of type required by the test
14897         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14898
14899 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14900
14901         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14902         coax Clang into emitting the definition of the type.
14903         * gdb.cp/pr10728-x.h (y): Ditto.
14904         * gdb.cp/pr10728-y.cc (y): Ditto.
14905
14906 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14907
14908         * gdb.base/label.exp: XFAIL label related tests under Clang.
14909         * gdb.cp/cplabel.exp: Ditto.
14910         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14911         under Clang those using labels.
14912
14913 2014-04-25  Yao Qi  <yao@codesourcery.com>
14914
14915         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14916         double_label.
14917         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14918         partial_label and double_label.
14919
14920 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14921
14922         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14923
14924 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14925
14926         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14927         of the function to work across GCC and Clang.
14928         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14929         pointer types (const void ** const V void **).
14930
14931 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14932             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14933
14934         * Makefile.in (EXECUTABLES): Added i386-avx512.
14935         * gdb.arch/i386-avx512.c: New file.
14936         * gdb.arch/i386-avx512.exp: Likewise.
14937
14938 2014-04-23  Keith Seitz  <keiths@redhat.com>
14939
14940         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14941         (mi_make_breakpoint_table): New procedure.
14942         (mi_create_breakpoint): Use mi_make_breakpoint
14943         and return the result.
14944         (mi_make_breakpoint): New procedure.
14945         (mi_build_kv_pairs): New procedure.
14946
14947         * gdb.mi/mi-break.exp: Remove unused globals,
14948         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14949         All callers updated.
14950         * gdb.mi/mi-dprintf.exp: Use variable to track command
14951         number.
14952         Update all callers of mi_create_breakpoint and use
14953         mi_make_breakpoint_table.
14954         Remove any unused global variables.
14955         * gdb.mi/mi-nonstop.exp: Likewise.
14956         * gdb.mi/mi-nsintrall.exp: Likewise.
14957         * gdb.mi/mi-nsmoribund.exp: Likewise.
14958         * gdb.mi/mi-nsthrexec.exp: Likewise.
14959         * gdb.mi/mi-reverse.exp: Likewise.
14960         * gdb.mi/mi-simplerun.exp: Likewise.
14961         * gdb.mi/mi-stepn.exp: Likewise.
14962         * gdb.mi/mi-syn-frame.exp: Likewise.
14963         * gdb.mi/mi-until.exp: Likewise.
14964         * gdb.mi/mi-var-cp.exp: Likewise.
14965         * gdb.mi/mi-var-display.exp: Likewise.
14966         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14967         * gdb.mi/mi2-var-child.exp: Likewise.
14968         * gdb.mi/mi-vla-c99.exp: Likewise.
14969         * lib/mi-support.exp: Likewise.
14970
14971         From Ian Lance Taylor  <iant@cygnus.com>:
14972         * lib/gdb.exp (parse_args): New procedure.
14973
14974 2014-04-23  Pedro Alves  <palves@redhat.com>
14975
14976         * gdb.base/break-unload-file.c: New file.
14977         * gdb.base/break-unload-file.exp: New file.
14978         * gdb.base/sym-file-lib.c (baz): New function.
14979         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14980         field.
14981         (load): Store the segment's mapped size.
14982         (unload): New function.
14983         (unload_shlib): New function.
14984         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14985         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14986         set a breakpoint at baz, and call it.
14987         * gdb.base/sym-file.exp: New tests for stale breakpoint
14988         instructions.
14989
14990 2014-04-23  Pedro Alves  <palves@redhat.com>
14991
14992         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14993         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14994         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14995         * gdb.base/hbreak-unmapped.c: New file.
14996         * gdb.base/hbreak-unmapped.exp: New file.
14997         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14998         * lib/gdb.exp (gdb_is_target_remote): ... here.
14999
15000 2014-04-22  Pedro Alves  <palves@redhat.com>
15001
15002         * gdb.base/consecutive-step-over.c: New file.
15003         * gdb.base/consecutive-step-over.exp: New file.
15004
15005 2014-04-22  Pedro Alves  <palves@redhat.com>
15006
15007         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15008         instead of send_gdb/gdb_expect.
15009
15010 2014-04-22  Yao Qi  <yao@codesourcery.com>
15011
15012         * lib/trace-support.exp (generate_tracefile): New procedure.
15013         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15014         return 0.
15015         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15016         if generate_tracefile returns 1.
15017
15018 2014-04-18  Tom Tromey  <palves@redhat.com>
15019             Pedro alves  <tromey@redhat.com>
15020
15021         PR backtrace/15558
15022         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15023         with a backtrace limit.
15024         * gdb.python/py-frame-inline.exp: Test running to an inline
15025         function with a backtrace limit, and printing the newest frame.
15026         * gdb.python/py-frame-inline.c (main): Call f.
15027
15028 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15029
15030         * gdb.java/jnpe.exp: Drop srcdir from untested path.
15031
15032 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15033
15034         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15035         Drop prefix from unsupported source file path.
15036
15037 2014-04-17  Yao Qi  <yao@codesourcery.com>
15038
15039         * lib/gdb.exp (with_target_charset): New proc.
15040         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15041         with_target_charset.
15042         (test_print_strings): Likewise.
15043         (test_repeat_bytes): Likewise.
15044         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15045         for some tests.
15046
15047 2014-04-16  Keith Seitz  <keiths@redhat.com>
15048
15049         PR gdb/15827
15050         * gdb.dwarf2/corrupt.c: New file.
15051         * gdb.dwarf2/corrupt.exp: New file.
15052
15053 2014-04-16  Keith Seitz  <keiths@redhat.com>
15054
15055         PR c++/16597
15056         * gdb.cp/namelessclass.cc: New file.
15057         * gdb.cp/namelessclass.exp: New file.
15058         * gdb.cp/namelessclass.S: New file.
15059
15060 2014-04-16  Doug Evans  <dje@google.com>
15061
15062         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15063         Add comment.
15064         (gdbserver_default_get_comm_port): New function.
15065         (gdbserver_start): Check if board file provided
15066         "gdbserver,get_comm_port" and use it if so.
15067         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15068         (gdb,socketport): Set to "stdio".
15069         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15070         (stdio_gdbserver_template): Delete.
15071         (${board}_get_remote_address): Update.
15072         (${board}_build_remote_cmd): Delete.
15073         (${board}_get_comm_port): New function.
15074         (${board}_spawn): Update.
15075         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15076         Delete.
15077         (${board}_get_remote_address): Update.
15078         (${board}_get_comm_port): New function.
15079
15080 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
15081
15082         * gdb.base/memattr.exp: Improve regexps to handle memory regions
15083         appearing in any order.
15084
15085 2014-04-15  Doug Evans  <dje@google.com>
15086
15087         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15088         uninitialized value of "description".
15089
15090 2014-04-15  Keith Seitz  <keiths@redhat.com>
15091
15092         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15093         Remove unused globals.
15094         (test_running_the_program): Likewise.
15095         (test_controlled_execution): Likewise.
15096         (test_controlling_breakpoints): Likewise.
15097         (test_program_termination): Likewise.
15098
15099 2014-04-15  Keith Seitz  <keiths@redhat.com>
15100
15101         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15102         unused globals.
15103         (test_rbreak_creation_and_listing): Likewise.
15104         (test_ignore_count): Likewise.
15105         (test_error): Likewise.
15106
15107 2014-04-15  Pedro Alves  <palves@redhat.com>
15108
15109         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15110         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15111         sym-file-loader.c.
15112         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15113         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15114         to sym-file-loader.c.
15115         (struct library): Forward declare.
15116         (load_shlib, lookup_function): Change prototypes.
15117         (find_shstrtab, find_strtab, find_shdr, find_symtab)
15118         (translate_offset): Remove declarations.
15119         (get_text_addr): New declaration.
15120         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15121         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15122         sym-file-loader.h.
15123         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15124         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15125         here from sym-file-loader.h.
15126         (struct library): New structure.
15127         (load_shlib, lookup_function): Change prototypes and adjust to
15128         work with a struct library.
15129         (find_shstrtab, find_strtab, find_shdr, find_symtab)
15130         (translate_offset): Make static.
15131         (get_text_addr): New function.
15132         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15133
15134 2014-04-15  Pedro Alves  <palves@redhat.com>
15135
15136         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
15137
15138 2014-04-15  Pedro Alves  <palves@redhat.com>
15139
15140         * gdb.base/sym-file-loader.c: Include <limits.h>.
15141         (SELF_LINK): New define.
15142         (get_origin): New function.
15143         (load_shlib): Use it.
15144         * gdb.base/sym-file.exp: Don't early return if the target is
15145         remote.  Use runto_main, and issue fail is that fails.  Use
15146         gdb_load_shlibs.
15147         (shlib_name): Delete.
15148         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
15149
15150 2014-04-15  Pedro Alves <palves@redhat.com>
15151
15152         * gdb.base/sym-file.exp: Remove regex characters from test
15153         message.  Don't refer to breakpoint numbers in test messages.
15154
15155 2014-04-14  Keith Seitz  <keiths@redhat.com>
15156
15157         PR c++/16253
15158         * gdb.cp/var-tag.cc: New file.
15159         * gdb.cp/var-tag.exp: New file.
15160         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15161         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15162         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15163         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15164
15165 2014-04-14  Tom Tromey  <tromey@redhat.com>
15166
15167         * gdb.cp/classes.exp (test_enums): Handle underlying type.
15168         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15169         type.
15170         * gdb.cp/enum-class.exp: New file.
15171         * gdb.cp/enum-class.cc: New file.
15172
15173 2014-04-14  Tom Tromey  <tromey@redhat.com>
15174
15175         * gdb.dwarf2/enum-type.exp: New file.
15176
15177 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15178
15179         * gdb.mi/mi-vla-c99.exp: New file.
15180         * gdb.mi/vla.c: New file.
15181
15182 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15183
15184         * gdb.base/vla-datatypes.c: New file.
15185         * gdb.base/vla-datatypes.exp: New file.
15186
15187 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15188
15189         * gdb.base/vla-ptr.c: New file.
15190         * gdb.base/vla-ptr.exp: New file.
15191
15192 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15193
15194         * gdb.dwarf2/count.exp: New file.
15195
15196 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
15197
15198         * gdb.base/vla-sideeffect.c: New file.
15199         * gdb.base/vla-sideeffect.exp: New file.
15200
15201 2014-04-14  David Blaikie <dblaikie@gmail.com>
15202
15203         * gdb.mi/non-stop.c: Add return value for non-void function return
15204         statement.
15205         * gdb.threads/staticthreads.c: Ditto.
15206
15207 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
15208             Doug Evans  <xdje42@gmail.com>
15209
15210         * gdb.guile/scm-value.c: Improve test case.
15211         * gdb.guile/scm-value.exp: Add new test.
15212
15213 2014-04-11  David Blaikie  <dblaikie@gmail.com>
15214
15215         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15216         override Clang's default.
15217
15218 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
15219
15220         Revert the following changes (regressions):
15221
15222         * gdb.base/vla-sideeffect.c: New file.
15223         * gdb.base/vla-sideeffect.exp: New file.
15224
15225         * gdb.dwarf2/count.exp: New file.
15226
15227         * gdb.base/vla-multi.c: New file.
15228         * gdb.base/vla-multi.exp: New file.
15229
15230         * gdb.base/vla-ptr.c: New file.
15231         * gdb.base/vla-ptr.exp: New file.
15232
15233         * gdb.base/vla-datatypes.c: New file.
15234         * gdb.base/vla-datatypes.exp: New file.
15235
15236         * gdb.mi/mi-vla-c99.exp: New file.
15237         * gdb.mi/vla.c: New file.
15238
15239 2014-04-11  Keith Seitz  <keiths@redhat.com>
15240
15241         PR c++/16675
15242         * gdb.cp/cpsizeof.exp: New file.
15243         * gdb.cp/cpsizeof.cc: New file.
15244
15245 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15246
15247         * gdb.mi/mi-vla-c99.exp: New file.
15248         * gdb.mi/vla.c: New file.
15249
15250 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15251
15252         * gdb.base/vla-datatypes.c: New file.
15253         * gdb.base/vla-datatypes.exp: New file.
15254
15255 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15256
15257         * gdb.base/vla-ptr.c: New file.
15258         * gdb.base/vla-ptr.exp: New file.
15259
15260 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15261
15262         * gdb.base/vla-multi.c: New file.
15263         * gdb.base/vla-multi.exp: New file.
15264
15265 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15266
15267         * gdb.dwarf2/count.exp: New file.
15268
15269 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
15270
15271         * gdb.base/vla-sideeffect.c: New file.
15272         * gdb.base/vla-sideeffect.exp: New file.
15273
15274 2014-04-11  Yao Qi  <yao@codesourcery.com>
15275
15276         * gdb.base/completion.exp: Check file exists before running tests
15277         on file completion.
15278
15279 2014-04-10  Pedro Alves  <palves@redhat.com>
15280
15281         * gdb.base/cond-eval-mode.c: New file.
15282         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
15283         prepare_for_testing to build the new file.  Check result of
15284         runto_main.
15285         (test_break, test_watch): New procedures.
15286         (top level): Use them.
15287
15288 2014-04-08  Pierre Muller  <muller@sourceware.org>
15289
15290         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15291         Ctrl-V use for mingw hosts.
15292
15293 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
15294
15295         * gdb.python/py-value.c: Improve test case.
15296         * gdb.python/py-value.exp: Add new test.
15297
15298 2014-04-07  David Blaikie  <dblaikie@gmail.com>
15299
15300         * lib/compiler.c: Identify the clang compiler.
15301         * lib/compiler.cc: Ditto.
15302
15303 2014-04-03  Yao Qi  <yao@codesourcery.com>
15304
15305         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15306
15307 2014-04-01  Anton Blanchard  <anton@samba.org>
15308
15309         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
15310         messages unique.
15311
15312 2014-04-01  Anton Blanchard  <anton@samba.org>
15313
15314         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15315         prepare_for_testing.
15316
15317 2014-04-01  Anton Blanchard  <anton@samba.org>
15318
15319         * gdb.arch/ppc64-atomic-inst.c: Remove.
15320         * gdb.arch/ppc64-atomic-inst.S: New file.
15321         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15322
15323 2014-03-31  Doug Evans  <dje@google.com>
15324
15325         * gdb.base/print-symbol-loading-lib.c: New file.
15326         * gdb.base/print-symbol-loading-main.c: New file.
15327         * gdb.base/print-symbol-loading.exp: New file.
15328
15329 2014-03-31  Yao Qi  <yao@codesourcery.com>
15330
15331         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15332
15333 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
15334
15335         * gdb.ada/mi_dyn_arr: New testcase.
15336
15337 2014-03-27  Doug Evans  <dje@google.com>
15338
15339         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15340
15341 2014-03-27  Yao Qi  <yao@codesourcery.com>
15342
15343         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15344         if target is nios2-*-*.
15345
15346 2014-03-26  Yao Qi  <yao@codesourcery.com>
15347
15348         * lib/gdb.exp (readline_is_used): New proc.
15349         * gdb.base/completion.exp: Move tests on command complete up.
15350         Skip the rest of tests if readline is not used.
15351         * gdb.ada/complete.exp: Skp the test if readline is not
15352         used.
15353         * gdb.base/filesym.exp: Likewise.
15354         * gdb.base/macscp.exp: Likewise.
15355         * gdb.base/readline-ask.exp: Likewise.
15356         * gdb.base/readline.exp: Likewise.
15357         * gdb.python/py-cmd.exp: Likewise.
15358         * gdb.trace/tfile.exp: Likewise.
15359
15360 2014-03-26  Yao Qi  <yao@codesourcery.com>
15361
15362         * gdb.base/macscp.exp: Fix code format issues.
15363
15364 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
15365
15366         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15367         * gdb.asm/powerpc64le.inc: New file.
15368
15369 2014-03-25  Pedro Alves  <palves@redhat.com>
15370             Doug Evans  <dje@google.com>
15371
15372         * gdb.base/source-execution.c: New file.
15373         * gdb.base/source-execution.exp: New file.
15374         * gdb.base/source-execution.gdb: New file.
15375
15376 2014-03-24  Doug Evans  <dje@google.com>
15377
15378         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15379         using fission.
15380
15381 2014-03-24  Hui Zhu  <hui@codesourcery.com>
15382             Pedro Alves  <palves@redhat.com>
15383
15384         PR breakpoints/16101
15385         * gdb.base/dprintf.exp: Use unsupported rather than changing the
15386         test pass/fail messages.  Detect missing support for dprintf when
15387         breakpoints are actually inserted.
15388         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15389         breakpoints are actually inserted.
15390         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15391         fails.
15392
15393 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
15394
15395         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15396
15397 2014-03-22  Doug Evans  <xdje42@gmail.com>
15398
15399         * gdb.python/python.exp (python not supported): Verify multi-line
15400         python command issues an error.
15401         * gdb.guile/guile.exp (guile not supported): Verify multi-line
15402         guile command issues an error.
15403
15404 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
15405
15406         * gdb.threads/thread-specific.exp: Handle the lack of usable
15407         $this_breakpoint and $this_thread.
15408
15409 2014-03-21  Hui Zhu  <hui@codesourcery.com>
15410
15411         * gdb.base/attach.exp (do_command_attach_tests): New.
15412
15413 2014-03-20  Tom Tromey  <tromey@redhat.com>
15414             Pedro Alves  <palves@redhat.com>
15415
15416         PR cli/15718
15417         * gdb.base/condbreak-call-false.c: New file.
15418         * gdb.base/condbreak-call-false.exp: New file.
15419
15420 2014-03-20  Pedro Alves  <palves@redhat.com>
15421
15422         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15423         Delete.
15424         (block_signals, unblock_signals): Delete.
15425         (child_function_2, main): Remove references to deleted variable
15426         and functions.
15427
15428 2014-03-20  Pedro Alves  <palves@redhat.com>
15429
15430         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15431         Use pthread_kill to signal thread 2.
15432         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15433         Adjust to make the test send itself a signal rather than using the
15434         host's "kill" command.
15435
15436 2014-03-20  Pedro Alves  <palves@redhat.com>
15437
15438         * gdb.threads/multiple-step-overs.c: New file.
15439         * gdb.threads/multiple-step-overs.exp: New file.
15440         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15441         Adjust expected infrun debug output.
15442
15443 2014-03-20  Pedro Alves  <palves@redhat.com>
15444
15445         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15446         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15447
15448 2014-03-20  Pedro Alves  <palves@redhat.com>
15449
15450         PR breakpoints/7143
15451         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15452         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
15453         of gdb_test_multiple.
15454         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15455         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15456
15457 2014-03-20  Pedro Alves  <palves@redhat.com>
15458
15459         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15460         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15461
15462 2014-03-19  Pedro Alves  <palves@redhat.com>
15463
15464         * gdb.base/async.exp: Remove early return.
15465
15466 2014-03-19  Pedro Alves  <palves@redhat.com>
15467
15468         * gdb.base/async.exp (step& tests): Pass explicit test messages.
15469
15470 2014-03-19  Pedro Alves  <palves@redhat.com>
15471
15472         * gdb.base/async.exp (test_background): Expect \r\n after
15473         "completed." in the fail pattern.
15474
15475 2014-03-19  Pedro Alves  <palves@redhat.com>
15476
15477         * gdb.base/async.exp (test_background): New procedure.
15478         Use it for all background execution command tests.
15479
15480 2014-03-19  Pedro Alves  <palves@redhat.com>
15481
15482         * gdb.base/async.exp: Use prepare_for_testing.
15483
15484 2014-03-19  Pedro Alves  <palves@redhat.com>
15485
15486         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
15487         the same line.
15488
15489 2014-03-19  Pedro Alves  <palves@redhat.com>
15490
15491         * gdb.base/async.c (main): Add "jump here" and "until here" line
15492         marker comments.
15493         * gdb.base/async.exp (jump_here): New global.
15494         (jump& test): Use it.
15495         (until_here): New global.
15496         (until& test): Use it.
15497
15498 2014-03-19  Pedro Alves  <palves@redhat.com>
15499
15500         * gdb.base/async.exp: Don't frob gdb_protocol.
15501
15502 2014-03-18  Doug Evans  <xdje42@gmail.com>
15503
15504         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
15505         Fix spelling of exec-done-display.
15506
15507 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
15508
15509         PR gdb/15358
15510         * gdb.base/gdb-sigterm.c: New file.
15511         * gdb.base/gdb-sigterm.exp: New file.
15512
15513 2014-03-18  Pedro Alves  <palves@redhat.com>
15514
15515         PR gdb/13860
15516         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15517         * lib/mi-support.exp (mi_expect_stop): Add special handling for
15518         solib-event.
15519
15520 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
15521
15522         * gdb.ada/pckd_arr_ren: New testcase.
15523
15524 2014-03-13  Doug Evans  <xdje42@gmail.com>
15525
15526         PR guile/16612
15527         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15528         collect after discarding symbols.
15529
15530 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
15531             Doug Evans  <xdje42@gmail.com>
15532
15533         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15534         to history survives a gc.
15535
15536 2014-03-13  Pedro Alves  <palves@redhat.com>
15537
15538         * gdb.base/default.exp: Don't test "target procfs".
15539
15540 2014-03-13  Pedro Alves  <palves@redhat.com>
15541
15542         * gdb.base/default.exp: Update "target child" and "target procfs"
15543         tests to not expect "Unix".
15544
15545 2014-03-12  Tom Tromey  <tromey@redhat.com>
15546
15547         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15548         New procs.  Add target-async tests.
15549         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15550         Add target-async tests.
15551
15552 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15553
15554         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15555         'func_start' and 'func_end' for the beginning and end of the
15556         function code, respectively.
15557         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15558         'func_end' instead of 'func' and 'main'.
15559
15560 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15561
15562         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15563         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15564         generate the debug info assembler source.
15565
15566 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15567
15568         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15569         * gdb.dwarf2/arr-subrange.exp: Likewise.
15570         * gdb.dwarf2/dwz.exp: Likewise.
15571         * gdb.dwarf2/method-ptr.exp: Likewise.
15572         * gdb.dwarf2/missing-sig-type.exp: Likewise.
15573         * gdb.dwarf2/subrange.exp: Likewise.
15574         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15575         * gdb.dwarf2/implptrpiece.exp: Likewise.
15576         * gdb.dwarf2/nostaticblock.exp: Likewise.
15577
15578 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15579
15580         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15581         directory to absolute path name arguments.
15582
15583 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
15584
15585         * gdb.ada/tagged_access: New testcase.
15586
15587 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
15588
15589         * gdb.btrace/data.exp: Update expected output.
15590
15591 2014-03-06  Yao Qi  <yao@codesourcery.com>
15592
15593         * gdb.trace/pr16508.exp: New file.
15594
15595 2014-03-05  Pedro Alves  <palves@redhat.com>
15596
15597         PR gdb/16575
15598         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15599         procedure.
15600         (top level): Adjust to use it.  Add tests that exercise breakpoint
15601         interaction with the code-cache.
15602
15603 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
15604
15605         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15606         test for 'history-append!'.
15607
15608 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15609
15610         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15611         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15612         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15613         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15614         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15615         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15616
15617 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15618
15619         * testsuite/gdb.python/py-pp-re-notag.c: New file.
15620         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15621         * testsuite/gdb.python/py-pp-re-notag.p: New file.
15622
15623 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15624
15625         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15626
15627 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15628
15629         * gdb.dwarf2/arr-stride.c: New file.
15630         * gdb.dwarf2/arr-stride.exp: New file.
15631
15632 2014-02-26  Pedro Alves  <palves@redhat.com>
15633
15634         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15635         that won't ever trigger.  Make sure that GDB reports the correct
15636         breakpoint that caused the stop.
15637
15638 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15639
15640         PR gdb/16626
15641         * gdb.base/auto-load-script: New file.
15642         * gdb.base/auto-load.c: New file.
15643         * gdb.base/auto-load.exp: New file.
15644
15645         PR gdb/16626
15646         * gdb.base/auto-load.exp: Fix out-of-srctree run.
15647
15648 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15649
15650         Fix dw2-icycle.exp -fsanitize=address GDB crash.
15651         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15652
15653 2014-02-24  Doug Evans  <dje@google.com>
15654
15655         * lib/gdb.exp (run_on_host): Log error output if program fails.
15656
15657 2014-02-21  Pedro Alves  <palves@redhat.com>
15658
15659         * gdb.threads/step-after-sr-lock.c: Rename to ...
15660         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15661         * gdb.threads/step-after-sr-lock.exp: Rename to ...
15662         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15663         ... this.
15664
15665 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
15666
15667         PR tdep/16397
15668         * gdb.arch/amd64-stap-special-operands.exp: New file.
15669         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15670         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15671         * gdb.arch/amd64-stap-triplet.S: Likewise.
15672         * gdb.arch/amd64-stap-triplet.c: Likewise.
15673
15674 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
15675
15676         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15677         in .section pseudo-op.
15678
15679 2014-02-20  lin zuojian  <manjian2006@gmail.com>
15680             Joel Brobecker  <brobecker@adacore.com>
15681             Doug Evans  <xdje42@gmail.com>
15682
15683         PR symtab/16581
15684         * gdb.dwarf2/dw2-icycle.S: New file.
15685         * gdb.dwarf2/dw2-icycle.c: New file.
15686         * gdb.dwarf2/dw2-icycle.exp: New file.
15687
15688 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
15689
15690         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15691         operations on gdb.Value objects.
15692         * gdb.python/py-value-cc.exp: Add new test to test operations on
15693         gdb.Value objects.
15694
15695 2014-02-18  Doug Evans  <dje@google.com>
15696
15697         * Makefile.in (TESTS): New variable.
15698         (expanded_tests, expanded_tests_or_none): New variables
15699         (check-single): Pass $(expanded_tests_or_none) to runtest.
15700         (check-parallel): Only run tests in $(TESTS) if non-empty.
15701         (check/no-matching-tests-found): New rule.
15702         * README: Document TESTS makefile variable.
15703
15704 2014-02-18  Doug Evans  <dje@google.com>
15705
15706         * Makefile.in (check-parallel): rm -rf outputs temp.
15707
15708 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15709
15710         Fix "ERROR: no fileid for" in the testsuite.
15711         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15712
15713 2014-02-12  Doug Evans  <dje@google.com>
15714
15715         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15716         (MISCELLANEOUS): New variable.
15717         (clean): rm -rf $(MISCELLANEOUS).
15718         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15719         dwp live in the same directory as symlinks, with each symlink pointed
15720         to a differently named file in a different directory.
15721
15722 2014-02-11  Doug Evans  <dje@google.com>
15723
15724         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15725         of Tcl file commands.
15726
15727 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15728
15729         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15730         "kill -SIGUSR1 -1".
15731
15732 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15733
15734         * gdb.ada/tick_length_array_enum_idx: New testcase.
15735
15736 2014-02-10  Doug Evans  <xdje42@gmail.com>
15737
15738         * configure.ac (AC_OUTPUT): Add gdb.guile.
15739         * configure: Regenerate.
15740         * lib/gdb-guile.exp: New file.
15741         * lib/gdb.exp (get_target_charset): New function.
15742         * gdb.base/help.exp: Update expected output from "apropos apropos".
15743         * gdb.guile/Makefile.in: New file.
15744         * gdb.guile/guile.exp: New file.
15745         * gdb.guile/scm-arch.c: New file.
15746         * gdb.guile/scm-arch.exp: New file.
15747         * gdb.guile/scm-block.c: New file.
15748         * gdb.guile/scm-block.exp: New file.
15749         * gdb.guile/scm-breakpoint.c: New file.
15750         * gdb.guile/scm-breakpoint.exp: New file.
15751         * gdb.guile/scm-disasm.c: New file.
15752         * gdb.guile/scm-disasm.exp: New file.
15753         * gdb.guile/scm-equal.c: New file.
15754         * gdb.guile/scm-equal.exp: New file.
15755         * gdb.guile/scm-error.exp: New file.
15756         * gdb.guile/scm-error.scm: New file.
15757         * gdb.guile/scm-frame-args.c: New file.
15758         * gdb.guile/scm-frame-args.exp: New file.
15759         * gdb.guile/scm-frame-args.scm: New file.
15760         * gdb.guile/scm-frame-inline.c: New file.
15761         * gdb.guile/scm-frame-inline.exp: New file.
15762         * gdb.guile/scm-frame.c: New file.
15763         * gdb.guile/scm-frame.exp: New file.
15764         * gdb.guile/scm-generics.exp: New file.
15765         * gdb.guile/scm-gsmob.exp: New file.
15766         * gdb.guile/scm-iterator.c: New file.
15767         * gdb.guile/scm-iterator.exp: New file.
15768         * gdb.guile/scm-math.c: New file.
15769         * gdb.guile/scm-math.exp: New file.
15770         * gdb.guile/scm-objfile-script-gdb.in: New file.
15771         * gdb.guile/scm-objfile-script.c: New file.
15772         * gdb.guile/scm-objfile-script.exp: New file.
15773         * gdb.guile/scm-objfile.c: New file.
15774         * gdb.guile/scm-objfile.exp: New file.
15775         * gdb.guile/scm-ports.exp: New file.
15776         * gdb.guile/scm-pretty-print.c: New file.
15777         * gdb.guile/scm-pretty-print.exp: New file.
15778         * gdb.guile/scm-pretty-print.scm: New file.
15779         * gdb.guile/scm-section-script.c: New file.
15780         * gdb.guile/scm-section-script.exp: New file.
15781         * gdb.guile/scm-section-script.scm: New file.
15782         * gdb.guile/scm-symbol.c: New file.
15783         * gdb.guile/scm-symbol.exp: New file.
15784         * gdb.guile/scm-symtab-2.c: New file.
15785         * gdb.guile/scm-symtab.c: New file.
15786         * gdb.guile/scm-symtab.exp: New file.
15787         * gdb.guile/scm-type.c: New file.
15788         * gdb.guile/scm-type.exp: New file.
15789         * gdb.guile/scm-value-cc.cc: New file.
15790         * gdb.guile/scm-value-cc.exp: New file.
15791         * gdb.guile/scm-value.c: New file.
15792         * gdb.guile/scm-value.exp: New file.
15793         * gdb.guile/source2.scm: New file.
15794         * gdb.guile/types-module.cc: New file.
15795         * gdb.guile/types-module.exp: New file.
15796
15797 2014-02-10  Yao Qi  <yao@codesourcery.com>
15798
15799         PR testsuite/16543
15800         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15801         * configure: Regenerated.
15802         * Makefile.in: New file.
15803
15804 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15805
15806         * gdb.python/py-framefilter.exp: Fix typo.
15807
15808 2014-02-08  Yao Qi  <yao@codesourcery.com>
15809
15810         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15811         that no =breakpoint-modified is emitted when breakpoints are
15812         modified through MI commands.
15813
15814 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15815             Pedro Alves  <palves@redhat.com>
15816
15817         * gdb.threads/step-after-sr-lock.c: New file.
15818         * gdb.threads/step-after-sr-lock.exp: New file.
15819
15820 2014-02-07  Pedro Alves  <palves@redhat.com>
15821
15822         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15823
15824 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15825
15826         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15827         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15828
15829 2014-02-06  Doug Evans  <xdje42@gmail.com>
15830
15831         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15832         output.
15833
15834         * gdb.gdb/python-interrupts.exp: New file.
15835
15836 2014-02-05  Yao Qi  <yao@codesourcery.com>
15837
15838         * gdb.trace/report.exp (use_collected_data): Test the output
15839         of "info threads" and "info inferiors".
15840
15841 2014-02-05  Yao Qi  <yao@codesourcery.com>
15842
15843         Revert this patch:
15844
15845         2013-05-24  Yao Qi  <yao@codesourcery.com>
15846
15847         * gdb.trace/tfile.exp: Test inferior and thread.
15848
15849 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15850
15851         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15852         on a function.
15853         * gdb.base/step-bt.c: Call hello via function pointer to make
15854         sure its first instruction is executed on powerpc64le-linux.
15855
15856 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15857
15858         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15859
15860 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15861
15862         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15863         of the test patterns for use on little-endian systems.
15864
15865 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15866
15867         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15868         (decimal_vector): Fix for little-endian.
15869
15870 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15871
15872         * gdb.arch/sparc-sysstep.exp: New file.
15873         * gdb.arch/sparc-sysstep.c: Likewise.
15874
15875         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15876
15877 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15878
15879         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15880
15881 2014-01-23  Tom Tromey  <tromey@redhat.com>
15882
15883         * gdb.ada/array_char_idx: New testcase.
15884
15885 2014-01-23  Tom Tromey  <tromey@redhat.com>
15886
15887         PR python/16487:
15888         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15889         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15890         classes.
15891
15892 2014-01-23  Tom Tromey  <tromey@redhat.com>
15893
15894         PR python/16491:
15895         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15896         string from an inferior frame.
15897         * gdb.python/py-framefilter-mi.exp: Update.
15898
15899 2014-01-22  Doug Evans  <dje@google.com>
15900
15901         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15902
15903 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15904
15905         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15906
15907 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15908
15909         * gdb.trace/entry-values.exp: Remove excess space character from
15910         regex patterns.  Handle s390 call instruction.
15911
15912 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15913
15914         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15915         define "*_start" label.  Make "name" static.
15916         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15917         ${name} by references to ${name}_start.
15918
15919 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15920
15921         * gdb.base/info-macros.exp: Remove "debug" from the compile
15922         options.
15923
15924 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15925
15926         * gdb.dlang/demangle.exp: New file.
15927
15928 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15929
15930         * gdb.dlang/primitive-types.exp: New file.
15931
15932 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15933
15934         * configure.ac: Create gdb.dlang/Makefile.
15935         * configure: Regenerate.
15936         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15937         * gdb.dlang/Makefile.in: New file.
15938         * lib/d-support.exp: New file.
15939         * lib/gdb.exp (skip_d_tests): New proc.
15940
15941 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15942
15943         * gdb.btrace/delta.exp: Check reverse stepi.
15944         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15945         * gdb.btrace/finish.exp: New.
15946         * gdb.btrace/next.exp: New.
15947         * gdb.btrace/nexti.exp: New.
15948         * gdb.btrace/record_goto.c: Add comments.
15949         * gdb.btrace/step.exp: New.
15950         * gdb.btrace/stepi.exp: New.
15951         * gdb.btrace/multi-thread-step.c: New.
15952         * gdb.btrace/multi-thread-step.exp: New.
15953         * gdb.btrace/rn-dl-bind.c: New.
15954         * gdb.btrace/rn-dl-bind.exp: New.
15955         * gdb.btrace/data.c: New.
15956         * gdb.btrace/data.exp: New.
15957         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15958
15959 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15960
15961         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15962         * gdb.btrace/exception.exp: Update.
15963         * gdb.btrace/instruction_history.exp: Update.
15964         * gdb.btrace/record_goto.exp: Update.
15965         * gdb.btrace/tailcall.exp: Update.
15966         * gdb.btrace/unknown_functions.exp: Update.
15967         * gdb.btrace/delta.exp: New.
15968
15969 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15970
15971         * gdb.btrace/record_goto.exp: Add backtrace test.
15972         * gdb.btrace/tailcall.exp: Add backtrace test.
15973
15974 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15975
15976         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15977         * gdb.btrace/record_goto.c: New.
15978         * gdb.btrace/record_goto.exp: New.
15979         * gdb.btrace/x86-record_goto.S: New.
15980
15981 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15982
15983         * gdb.btrace/function_call_history.exp: Update tests.
15984         * gdb.btrace/instruction_history.exp: Update tests.
15985
15986 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15987
15988         * gdb.btrace/function_call_history.exp: Fix expected field
15989         order for "record function-call-history".
15990         Add new tests for "record function-call-history /c".
15991         * gdb.btrace/exception.cc: New.
15992         * gdb.btrace/exception.exp: New.
15993         * gdb.btrace/tailcall.exp: New.
15994         * gdb.btrace/x86-tailcall.S: New.
15995         * gdb.btrace/x86-tailcall.c: New.
15996         * gdb.btrace/unknown_functions.c: New.
15997         * gdb.btrace/unknown_functions.exp: New.
15998         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15999
16000 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16001
16002         * gdb.btrace/instruction_history.exp: Update.
16003         * gdb.btrace/function_call_history.exp: Update.
16004
16005 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16006
16007         * gdb.btrace/function_call_history.exp: Fix expected function
16008         trace.
16009         * gdb.btrace/instruction_history.exp: Initialize traced.
16010         Remove traced_functions.
16011
16012 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16013
16014         * gdb.btrace/function_call_history.exp: Update
16015         * gdb.btrace/instruction_history.exp: Update.
16016
16017 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
16018
16019         * gdb.btrace/enable.exp: Update expected text.
16020
16021 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
16022
16023         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16024         bytes.
16025
16026 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
16027
16028         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16029
16030 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
16031
16032         * lib/gdb.exp (supports_process_record): Return true for
16033         arm*-linux*.  (supports_reverse): Likewise.
16034
16035 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
16036
16037         PR python/15464
16038         PR python/16113
16039         * gdb.python/py-type.c: Enhance test case.
16040         * gdb.python/py-value-cc.cc: Likewise
16041         * gdb.python/py-type.exp: Add new tests.
16042         * gdb.python/py-value-cc.exp: Likewise
16043
16044 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16045             Pedro Alves <palves@redhat.com>
16046
16047         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16048         Make "name" extern.
16049         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16050         references to ${name}_start by references to ${name}.
16051
16052 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
16053
16054         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16055
16056 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
16057
16058         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16059
16060 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
16061             Pedro Alves  <palves@redhat.com>
16062
16063         * gdb.mi/mi-info-os.exp: Connect to the target with
16064         mi_gdb_target_load.
16065
16066 2014-01-08  Pedro Alves  <palves@redhat.com>
16067
16068         * gdb.threads/reconnect-signal.c: New file.
16069         * gdb.threads/reconnect-signal.exp: New file.
16070
16071 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
16072
16073         * gdb.base/source-dir.exp: New file.
16074
16075 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
16076
16077         * gdb.ada/mi_interface: New testcase.
16078
16079 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
16080
16081         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16082         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16083         gdb.ada/pp-rec-component/pck.ads: New files.
16084
16085 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
16086
16087         * gdb.python/py-pp-integral.c: New file.
16088         * gdb.python/py-pp-integral.py: New file.
16089         * gdb.python/py-pp-integral.exp: New file.
16090
16091 For older changes see ChangeLog-1993-2013.
16092 \f
16093 ;; Local Variables:
16094 ;; mode: change-log
16095 ;; left-margin: 8
16096 ;; fill-column: 74
16097 ;; version-control: never
16098 ;; End:
16099
16100     Copyright 2014-2019 Free Software Foundation, Inc.
16101   Copying and distribution of this file, with or without modification,
16102   are permitted provided the copyright notice and this notice are preserved.