[gdb/testsuite] Fix gdb.btrace/reconnect.exp with native-gdbserver
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-04-23  Tom de Vries  <tdevries@suse.de>
2
3         PR gdb/24433
4         * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5
6 2019-04-23  Alan Hayward  <alan.hayward@arm.com>
7
8         * gdb.trace/backtrace.exp: Use nopie flag.
9         * gdb.trace/circ.exp: Likewise.
10         * gdb.trace/collection.exp: Likewise.
11         * gdb.trace/ftrace.exp: Likewise.
12         * gdb.trace/mi-trace-unavailable.exp: Likewise.
13         * gdb.trace/mi-traceframe-changed.exp: Likewise.
14         * gdb.trace/qtro.exp: Likewise.
15         * gdb.trace/read-memory.exp: Likewise.
16         * gdb.trace/report.exp: Likewise.
17         * gdb.trace/tfile.exp: Likewise.
18         * gdb.trace/tfind.exp: Likewise.
19         * gdb.trace/unavailable.exp: Likewise.
20
21 2019-04-22  Pedro Alves  <palves@redhat.com>
22
23         * gdb.base/solib-probes-nosharedlibrary.c,
24         gdb.base/solib-probes-nosharedlibrary.exp: New files.
25
26 2019-04-19  Tom Tromey  <tromey@adacore.com>
27
28         * gdb.ada/ptype_union.c: New file.
29         * gdb.ada/ptype_union.exp: New file.
30
31 2019-04-19  Tom Tromey  <tromey@adacore.com>
32
33         PR symtab/24423:
34         * gdb.base/list0.h (foo): Add a control-l character.
35
36 2019-04-18  Tom de Vries  <tdevries@suse.de>
37
38         PR gdb/24433
39         * boards/local-board.exp: Set sysroot to "".
40
41 2019-04-18  Tom de Vries  <tdevries@suse.de>
42             Pedro Alves  <palves@redhat.com>
43
44         PR gdb/24454
45         * gdb.threads/vfork-follow-child-exec.c: New file.
46         * gdb.threads/vfork-follow-child-exec.exp: New file.
47         * gdb.threads/vfork-follow-child-exit.c: New file.
48         * gdb.threads/vfork-follow-child-exit.exp: New file.
49
50 2019-04-15  Leszek Swirski  <leszeks@google.com>
51
52         * gdb.arch/amd64-eval.cc: New file.
53         * gdb.arch/amd64-eval.exp: New file.
54
55 2019-04-11  Alan Hayward  <alan.hayward@arm.com>
56
57         * gdb.server/sysroot.c: New test.
58         * gdb.server/sysroot.exp: New file.
59         * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
60         matching param.
61
62 2019-04-11  Andrew Burgess  <andrew.burgess@embecosm.com>
63
64         * gdb.base/align.exp: Extend test to cover structures containing
65         only static fields.
66
67 2019-04-11  Tom de Vries  <tdevries@suse.de>
68
69         * boards/cc-with-dwz-m.exp: New file.
70         * boards/cc-with-dwz.exp: New file.
71         * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
72
73 2019-04-09  Simon Marchi  <simon.marchi@efficios.com>
74
75         * gdb.base/start-cpp.exp: New file.
76         * gdb.base/start-cpp.cc: New file.
77
78 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
79
80         * gdb.python/py-thrhandle.exp: Adjust tests to call
81         thread_from_handle instead of thread_from_thread_handle.
82
83 2019-04-08  Kevin Buettner  <kevinb@redhat.com>
84
85         * gdb.python/py-thrhandle.exp: Add tests for
86         gdb.InferiorThread.handle.
87
88 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
89
90         * gdb.python/py-function.exp: Check calling helper function from
91         all languages.
92         * lib/gdb.exp (gdb_supported_languages): New proc.
93
94 2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
95
96         * gdb.base/complex-parts.c: New file.
97         * gdb.base/complex-parts.exp: New file.
98
99 2019-04-01  Tom Tromey  <tromey@adacore.com>
100
101         PR symtab/23331:
102         * gdb.dwarf2/dw2-ranges-main.c: New file.
103         * gdb.dwarf2/dw2-ranges-psym.c: New file.
104         * gdb.dwarf2/dw2-ranges-psym.exp: New file.
105
106 2019-03-30  Simon Marchi <simark@simark.ca>
107
108         * gdb.base/default.exp: Add values for $_gdb_major and
109         $_gdb_minor.
110
111 2019-03-29  Tom Tromey  <tromey@adacore.com>
112
113         * gdb.base/help.exp: Tighten apropos regexp.
114
115 2019-03-29  Keith Seitz  <keiths@redhat.com>
116
117         * gdb.fortran/array-bounds.exp: New file.
118         * gdb.fortran/array-bounds.f90: New file.
119
120 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
121
122         * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
123
124 2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
125
126         * gdb.multi/hello.c (main): Increase alarm timer.
127
128 2019-03-28  Sandra Loosemore  <sandra@codesourcery.com>
129
130         * gdb.threads/watchpoint-fork.exp (test): Use large timeout
131         factor when no hardware watchpoint support.
132
133 2019-03-28  Alan Hayward  <alan.hayward@arm.com>
134             Pedro Alves  <palves@redhat.com>
135
136         * boards/local-board.exp: set sysroot to /.
137
138 2019-03-27  Alan Hayward  <alan.hayward@arm.com>
139
140         * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
141         in child.
142
143 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
144
145         * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
146         field.
147         (make_container): Initialise new field.
148         * gdb.python/py-prettyprint.exp: Add new tests.
149         * gdb.python/py-prettyprint.py (class ContainerPrinter)
150         <display_hint>: New method.
151
152 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
153
154         * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
155         gdb_continue_to_breakpoint more throughout this test.
156         (run_lang_tests) Supply unique test names, and use
157         gdb_test_no_output.
158
159 2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
160
161         * gdb.base/finish-pretty.exp: Update expected results.
162         * gdb.base/pretty-print.c: New file.
163         * gdb.base/pretty-print.exp: New file.
164
165 2019-03-25  Pedro Alves  <palves@redhat.com>
166
167         * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
168         move comments outside list.  Append '-i "" eof' section.
169
170 2019-03-22  Alan Hayward  <alan.hayward@arm.com>
171
172         * README: Add pie options.
173         * gdb.base/break-interp.exp: Ensure pie is disabled.
174         * gdb.base/dump.exp: Likewise.
175         * lib/gdb.exp (gdb_compile): Add pie option.
176
177 2019-03-19  Tom Tromey  <tromey@adacore.com>
178
179         * gdb.mi/mi2-cli-display.c: New file.
180         * gdb.mi/mi2-cli-display.exp: New file.
181
182 2019-03-18  Joel Brobecker  <brobecker@adacore.com>
183             Tom Tromey  <tromey@adacore.com>
184
185         * gdb.ada/ptype_array/pck.adb: New file.
186         * gdb.ada/ptype_array/pck.ads: New file.
187         * gdb.ada/ptype_array/foo.adb: New file.
188         * gdb.ada/ptype_array.exp: New file.
189
190 2019-03-14  Tom Tromey  <tromey@adacore.com>
191
192         * gdb.base/style.exp: Add "set style sources" test.
193
194 2019-03-13  Simon Marchi  <simon.marchi@ericsson.com>
195
196         * mi-breakpoint-location-ena-dis.exp: Rename to ...
197         * mi-breakpoint-multiple-locations.exp: ... this.
198         (make_breakpoints_pattern): New proc.
199         (do_test): Add mi_version parameter, test -break-insert,
200         -break-info and =breakpoint-created.
201
202 2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
203
204         * config/default.exp: Remove 'load_lib gdb.exp'.
205         * config/monitor.exp: Likewise.
206         * config/sid.exp: Likewise.
207         * config/sim.exp: Likewise.
208         * config/slite.exp: Likewise.
209         * config/unix.exp: Likewise.
210         * gdb.base/default.exp: Remove unhelpful comment.
211
212 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
213
214         * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
215
216 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
217
218         * gdb.fortran/intrinsics.exp: Extend to cover ABS.
219
220 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
221
222         * gdb.fortran/type-kinds.exp: Update expected results.
223
224 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
225
226         * gdb.fortran/type-kinds.exp: Test new integer type kind.
227
228 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
229
230         * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
231         function.
232         (test_basic_parsing_of_type_kinds): Expand types tested.
233         (test_parsing_invalid_type_kinds): New function.
234
235 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
236
237         * gdb.fortran/intrinsics.exp: New file.
238         * gdb.fortran/intrinsics.f90: New file.
239         * gdb.fortran/type-kinds.exp: New file.
240
241 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
242
243         * gdb.fortran/dot-ops.exp: New file.
244
245 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
246
247         * gdb.fortran/types.exp (test_logical_literal_types_accepted):
248         Check upper and lower case logical literals.
249
250 2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
251
252         * gdb.fortran/types.exp (test_float_literal_types_accepted):
253         Remove duplicate tests.
254
255 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
256
257         * lib/gdb.exp (builtin_cd): rename of cd.
258         (cd): Override builtin.
259
260 2019-03-06  Richard Bunt  <richard.bunt@arm.com>
261
262         * gdb.fortran/function-calls.exp: New file.
263         * gdb.fortran/function-calls.f90: New test.
264
265 2019-03-04  Richard Bunt  <richard.bunt@arm.com>
266
267         * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
268         on user program standard output.
269         * gdb.fortran/short-circuit-argument-list.f90: Record function
270         calls.
271
272 2019-02-28  Alan Hayward  <alan.hayward@arm.com>
273
274         * lib/gdbserver-support.exp (gdbserver_start): Check for listen
275         failure.
276
277 2019-02-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
278
279         PR gdb/8527
280         * gdb.base/interrupt-daemon-attach.c,
281         gdb.base/interrupt-daemon-attach.exp: New test.
282
283 2019-02-27  Pedro Alves  <palves@redhat.com>
284
285         * gdb.base/page.exp: Add tests for "set width/height -1".
286
287 2019-02-27  Pedro Alves  <palves@redhat.com>
288
289         * gdb.base/page.exp: Add tests for "set/show width/height" with
290         "infinite" values.
291
292 2019-02-27  Tom Tromey  <tromey@adacore.com>
293
294         * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
295         2.4.
296         * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
297         workaround.
298
299 2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
300
301         * gdb.base/align.exp: Extend to compile in both C and C++, and add
302         tests for structs with static members.
303
304 2019-02-26  Tom Tromey  <tromey@adacore.com>
305
306         * gdb.python/py-value.exp (test_value_from_buffer): Check for
307         ValueError, not TypeError.
308
309 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
310
311         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
312         call from main program.
313
314 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
315
316         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
317         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
318         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
319         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
320         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
321
322 2019-02-22  Keith Seitz  <keiths@redhat.com>
323
324         PR symtab/23853
325         * gdb.base/symlink-sourcefile.c: New file.
326         * gdb.base/symlink-sourcefile.exp: New file.
327
328 2019-02-20  Tom Tromey  <tom@tromey.com>
329
330         * gdb.base/info_qt.exp: Update.
331
332 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
333
334         * gdb.base/source.exp: Move "error in sourced script" code to
335         the end.
336         * gdb.base/source-error.gdb: Move contents to
337         source-error-1.gdb.  Add new code to source source-error-1.gdb.
338         * gdb.base/source-error-1.gdb: New file, from previous
339         source-error.gdb.
340
341 2019-02-17  Tom Tromey  <tom@tromey.com>
342
343         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
344         for macro styling.
345         * gdb.base/style.c (SOME_MACRO): New macro.
346
347 2019-02-17  Tom Tromey  <tom@tromey.com>
348
349         * gdb.base/style.exp: Add line-wrapping tests.
350         * gdb.base/page.exp: Add test for quitting during pagination.
351
352 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
353
354         * gdb.ada/big_packed_array: New testcase.
355         * gdb.ada/homonym.exp: Fix incorrect expected output for
356         "break <homonym__get_value>" test.
357
358 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
359
360         PR breakpoints/21870
361         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
362         and prepare_for_testing.  Add comment.
363         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
364         redundant cleanup call.  Clean up comment.
365
366 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
367
368         PR breakpoints/21870
369         * gdb.arch/aarch64-dbreg-contents.exp: New file.
370         * gdb.arch/aarch64-dbreg-contents.c: New file.
371
372 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
373
374         * gdb.ada/mi_ref_changeable: New testcase.
375
376 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
377
378         * gdb.base/attach.exp: Add double attach test.
379
380 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
381
382         * lib/gdb.exp (default_gdb_start): Don't match pagination
383         prompt.
384         (gdb_init): Set stty_init.
385
386 2019-01-27  Tom Tromey  <tom@tromey.com>
387
388         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
389         skip_python_tests.
390
391 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
392
393         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
394         New structure.
395         (struct struct_static_02_02): Likewise.
396         (struct struct_static_02_03): Likewise.
397         (struct struct_static_02_04): Likewise.
398         (struct struct_static_04_01): Likewise.
399         (struct struct_static_04_02): Likewise.
400         (struct struct_static_04_03): Likewise.
401         (struct struct_static_04_04): Likewise.
402         (struct struct_static_06_01): Likewise.
403         (struct struct_static_06_02): Likewise.
404         (struct struct_static_06_03): Likewise.
405         (struct struct_static_06_04): Likewise.
406         (cmp_struct_static_02_01): Likewise.
407         (cmp_struct_static_02_02): Likewise.
408         (cmp_struct_static_02_03): Likewise.
409         (cmp_struct_static_02_04): Likewise.
410         (cmp_struct_static_04_01): Likewise.
411         (cmp_struct_static_04_02): Likewise.
412         (cmp_struct_static_04_03): Likewise.
413         (cmp_struct_static_04_04): Likewise.
414         (cmp_struct_static_06_01): Likewise.
415         (cmp_struct_static_06_02): Likewise.
416         (cmp_struct_static_06_03): Likewise.
417         (cmp_struct_static_06_04): Likewise.
418         (call_all): Test new structs.
419         * gdb.base/infcall-nested-structs.exp: Likewise.
420
421 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
422         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
423
424 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
425         * gdb.base/stack-protector.c: New test.
426         * gdb.base/stack-protector.exp: New file.
427         * gdb.cp/ovldbreak.exp: Only allow a single break line.
428         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
429         option.
430         (gdb_compile): Remove stack protector for GCC and prevent
431         recursion.
432
433 2019-01-16  Keith Seitz  <keiths@redhat.com>
434
435         PR gdb/23773
436         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
437
438 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
439
440         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
441         aliases.
442         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
443         tests.
444         * gdb.arch/powerpc-vector-regs.c: New file.
445         * gdb.arch/powerpc-vector-regs.exp: New file.
446
447 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
448
449         * gdb.arch/altivec-regs.exp: Fix the list passed to
450         gdb_expect_list when testing "info vector".
451
452 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
453
454         * gdb.base/style.exp: Don't include path in testname.
455
456 2019-01-10  Keith Seitz  <keiths@redhat.com>
457
458         PR gdb/23712
459         PR symtab/23010
460         * gdb.dwarf2/multidictionary.exp: New file.
461
462 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
463
464         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
465         (test_gnuv3_style_demangling): ... this.
466         (test_lucid_style_demangling): Remove.
467         (test_arm_style_demangling): Remove.
468         (test_hp_style_demangling): Remove.
469         (do_tests): Remove calls to the above.
470
471 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
472
473         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
474         case.
475
476 2019-01-06  Tom Tromey  <tom@tromey.com>
477
478         PR gdb/28155:
479         * gdb.dwarf2/typedef-void-finish.exp: New file.
480
481 2018-12-28  Tom Tromey  <tom@tromey.com>
482             Simon Marchi <simark@simark.ca>
483
484         * gdb.base/jit-exec.exp: New file.
485         * gdb.base/jit-exec.c: New file.
486         * gdb.base/jit-execd.c: New file.
487
488 2018-12-28  Tom Tromey  <tom@tromey.com>
489
490         * gdb.base/style.exp: Update test to check for address styling.
491
492 2018-12-28  Tom Tromey  <tom@tromey.com>
493
494         * gdb.base/style.exp: Add test for styling of "Reading symbols"
495         message.
496
497 2018-12-28  Tom Tromey  <tom@tromey.com>
498
499         * gdb.base/style.exp: Add test for version number styling.
500
501 2018-12-28  Tom Tromey  <tom@tromey.com>
502
503         * gdb.base/style.exp: Add test for print_address_symbolic.
504
505 2018-12-28  Tom Tromey  <tom@tromey.com>
506
507         * gdb.base/style.exp: Add test for breakpoint setting.
508
509 2018-12-28  Tom Tromey  <tom@tromey.com>
510
511         * gdb.base/style.exp: Add test for variable names.
512
513 2018-12-28  Tom Tromey  <tom@tromey.com>
514
515         * gdb.base/style.exp: New file.
516         * gdb.base/style.c: New file.
517
518 2018-12-28  Tom Tromey  <tom@tromey.com>
519
520         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
521         "dumb".
522         * gdb.base/readline.exp (operate_and_get_next): Save and restore
523         the TERM environment variable.
524
525 2018-12-27  Tom Tromey  <tom@tromey.com>
526
527         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
528         pagination test.
529
530 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
531
532         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
533         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
534
535 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
536
537         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
538         Filename a.adb changed to bp_fun_addr.adb.
539         gdb.ada/bp_fun_addr.exp: Update test accordingly.
540
541 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
542
543         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
544         non-PIE executables.
545         * README: Mention the gdb,nopie_flag board setting.
546         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
547         non-PIE executable.
548         * gdb.arch/amd64-entry-value.exp: Likewise.
549         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
550         * gdb.arch/i386-float.exp: Likewise.
551         * gdb.arch/i386-signal.exp: Likewise.
552         * gdb.mi/mi-reg-undefined.exp: Likewise.
553
554 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
555
556         PR gdb/23974
557         * gdb.base/info-os.exp: Check return for unknown "info os" type.
558
559 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
560
561         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
562         Update order of results accordingly.
563
564 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
565
566         * gdb.base/annota1.exp: Update a test regexp.
567
568 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
569
570         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
571
572 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
573
574         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
575         (reuse_time): Initialize to REUSE_TIME_CAP.
576         (check_rc): New function.
577         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
578         Check pthread_create rc.
579         (spawner_thread_func): Check pthread_create and pthread_join rc.
580
581 2018-12-08  Pedro Alves  <palves@redhat.com>
582
583         * gdb.base/list.exp (test_forward_search): Rename to ...
584         (test_forward_reverse_search): ... this.  Also test reverse-search
585         and the forward-search alias.
586
587 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
588
589         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
590         local timeout variable before return, and remove all local timeout
591         variable entirely.
592         (gdb_load): Likewise.
593
594 2018-12-01  Tom de Vries  <tdevries@suse.de>
595
596         * gdb.base/gdb-caching-proc.exp: New file.
597
598 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
599
600         * Makefile.in (TIMESTAMP): New variable.
601         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
602         command.
603         (check-single-racy): Likewise.
604         (check/%.exp): Likewise.
605         (check-racy/%.exp): Likewise.
606         (workers/%.worker): Likewise.
607         (build-perf): Likewise.
608         (check-perf): Likewise.
609         * README: Describe new "TS" and "TS_FORMAT" variables.
610         * print-ts.py: New file.
611
612 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
613
614         PR python/23714
615         * gdb.python/python.exp: Test command repetition after
616         gdb.execute.
617
618 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
619
620         * gdb.opt/inline-break.exp: Add test that info breakpoint output
621         is correctly aligned.
622
623 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
624
625         * gdb.ada/info_auto_lang.exp: New testcase.
626         * gdb.ada/info_auto_lang/global_pack.ads: New file.
627         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
628         * gdb.ada/info_auto_lang/some_c.c: New file.
629
630 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
631
632         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
633         FUNC_lang language syntax.
634
635 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
636
637         * gdb.base/info_minsym.c: New file.
638         * gdb.base/info_minsym.exp: New file.
639
640 2018-11-19  Tom Tromey  <tom@tromey.com>
641
642         PR rust/23625:
643         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
644         * gdb.rust/expr.exp: Update expected output.  Change one test.
645
646 2018-11-19  Tom Tromey  <tom@tromey.com>
647
648         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
649
650 2018-11-19  Pedro Alves  <palves@redhat.com>
651
652         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
653         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
654         see the expected warning.
655
656 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
657
658         PR gdb/22736:
659         * gdb.cp/infcall-nodebug-lib.c: New test.
660         * gdb.cp/infcall-nodebug-main.c: New test.
661         * gdb.cp/infcall-nodebug.exp: New file.
662
663 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
664
665         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
666         completer tests.
667
668 2018-11-09  Tom de Vries  <tdevries@suse.de>
669
670         * gdb.base/msym-lang.c: New test.
671         * gdb.base/msym-lang.exp: New file.
672         * gdb.base/msym-lang-main.c: New test.
673
674 2018-11-08  Tom Tromey  <tom@tromey.com>
675
676         PR gdb/23555:
677         PR gdb/23838:
678         * gdb.base/warning.exp: New file.
679
680 2018-11-08  Jan Beulich  <jbeulich@suse.com>
681
682         * testsuite/gdb.arch/i386-avx512.c,
683         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
684
685 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
686
687         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
688         point hardware.
689
690 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
691
692         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
693         * gdb.dwarf2/missing-type-name.exp: New file.
694
695 2018-11-06  Tom de Vries  <tdevries@suse.de>
696
697         * gdb.base/many-headers.c: New test.
698         * gdb.base/many-headers.exp: New file.
699
700 2018-11-06  Jim Wilson  <jimw@sifive.com>
701
702         * gdb.base/code_elim.exp: For riscv, set additional_flags
703         to include -msmall-data-limit=0.
704
705 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
706
707         * gdb.ada/watch_minus_l: New testcase.
708
709 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
710
711         * gdb.arch/aix-sighandle.c: New file.
712         * gdb.arch/aix-sighandle.exp: New file.
713
714 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
715
716         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
717         registers being unions.
718
719 2018-10-31  Tom de Vries  <tdevries@suse.de>
720
721         * lib/valgrind.exp: New file.
722          (vgdb_start, vgdb_stop): New procs, factored out of ...
723         * gdb.base/valgrind-bt.exp: ... here, ...
724         * gdb.base/valgrind-disp-step.exp: ... here and ...
725         * gdb.base/valgrind-infcall.exp: ... here.
726
727 2018-10-31  Tom de Vries  <tdevries@suse.de>
728
729         * lib/gdb.exp (get_valueof): Don't output read value in test name.
730
731 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
732
733         * gdb.dwarf2/void-type.c: New file.
734         * gdb.dwarf2/void-type.exp: New file.
735
736 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
737
738         * gdb.base/info_qt.c: New file.
739         * gdb.base/info_qt.exp: New file.
740
741 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
742
743         * gdb.arch/powerpc-htm-regs.c: New file.
744         * gdb.arch/powerpc-htm-regs.exp: New file.
745
746 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
747
748         * gdb.arch/powerpc-tar.c: New file.
749         * gdb.arch/powerpc-tar.exp: New file.
750
751 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
752
753         * gdb.arch/powerpc-ppr-dscr.c: New file.
754         * gdb.arch/powerpc-ppr-dscr.exp: New file.
755
756 2018-10-25  Tom de Vries  <tdevries@suse.de>
757
758         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
759
760 2018-10-24  Tom de Vries  <tdevries@suse.de>
761
762         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
763         longer exists error.
764
765 2018-10-24  Tom de Vries  <tdevries@suse.de>
766
767         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
768
769 2018-10-24  Tom de Vries  <tdevries@suse.de>
770
771         * gdb.base/valgrind-db-attach.exp: Handle removed support for
772         --db-attach in valgrind.
773
774 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
775
776         * gdb.arch/riscv-reg-aliases.c: New file.
777         * gdb.arch/riscv-reg-aliases.exp: New file.
778
779 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
780
781         * gdb.python/py-cmd.exp: Check for gdb_prompt.
782
783 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
784
785         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
786
787 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
788
789         * gdb.cp/ovldbreak.exp: Fix regexps.
790
791 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
792
793         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
794
795 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
796
797         PR cli/23785
798         * gdb.base/restore.exp: New test to check if "restore" with an
799         invalid file doesn't segfault.
800
801 2018-10-18  Tom de Vries  <tdevries@suse.de>
802
803         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
804         * gdb.ada/excep_handle.exp: Same.
805         * gdb.ada/mi_string_access.exp: Same.
806         * gdb.ada/mi_var_union.exp: Same.
807         * gdb.arch/arc-analyze-prologue.exp: Same.
808         * gdb.arch/arc-decode-insn.exp: Same.
809         * gdb.base/readnever.exp: Same.
810         * gdb.fortran/printing-types.exp: Same.
811         * gdb.guile/scm-lazy-string.exp: Same.
812
813 2018-10-16  Tom de Vries  <tdevries@suse.de>
814
815         PR gdb/23730
816         * gdb.base/catch-follow-exec.c: Add copyright notice.
817         * gdb.base/catch-follow-exec.exp: Rewrite to use
818         gdb_spawn_with_cmdline_opts.  Require gdb-native.
819
820 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
821
822         * gdb.trace/actions-changed.exp: Check for arch support.
823         * gdb.trace/actions.exp: Likewise.
824         * gdb.trace/ax.exp: Likewise.
825         * gdb.trace/backtrace.exp: Likewise.
826         * gdb.trace/change-loc.exp: Likewise.
827         * gdb.trace/deltrace.exp: Likewise.
828         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
829         * gdb.trace/ftrace.exp: Likewise.
830         * gdb.trace/infotrace.exp: Check for arch support.
831         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
832         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
833         * gdb.trace/mi-tsv-changed.exp: Likewise.
834         * gdb.trace/packetlen.exp: Likewise.
835         * gdb.trace/passc-dyn.exp: Likewise.
836         * gdb.trace/passcount.exp: Likewise.
837         * gdb.trace/pending.exp: Likewise.
838         * gdb.trace/range-stepping.exp: Check for shlib support.
839         * gdb.trace/report.exp: Check for arch support.
840         * gdb.trace/save-trace.exp: Likewise.
841         * gdb.trace/signal.exp: Check for signal support.
842         * gdb.trace/tfind.exp: Check for arch support.
843         * gdb.trace/trace-break.exp: Check for arch and shlib support.
844         * gdb.trace/trace-common.h: Add comment.
845         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
846         * gdb.trace/trace-enable-disable.exp: Likewise.
847         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
848         * gdb.trace/tracecmd.exp: Check for arch support.
849         * gdb.trace/tspeed.exp: Check for shlib and target support.
850         * gdb.trace/tstatus.exp: Check for arch support.
851         * gdb.trace/tsv.exp: Likewise.
852         * gdb.trace/while-dyn.exp: Likewise.
853         * gdb.trace/while-stepping.exp: Likewise.
854         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
855
856 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
857
858         * gdb.trace/tspeed.exp: Remove nowarnings.
859         (prepare_for_trace_test): Declare "global ipalib".
860         * gdb.trace/tspeed.c: Include unistd.h.
861         (main): Remove superfluous printf argument.
862
863 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
864
865         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
866         directory prefix on the filename.
867
868 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
869
870         * gdb.gdb/unittest.exp: Update expected message informing that
871         selftests have been disabled.
872         * gdb.server/unittest.exp: Likewise.
873
874 2018-10-09  Tom de Vries  <tdevries@suse.de>
875
876         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
877         with runto_main.
878
879 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
880
881         PR c++/16841
882         * gdb.cp/virtbase2.cc: New file.
883         * gdb.cp/virtbase2.exp: New file.
884
885 2018-10-06  Tom Tromey  <tom@tromey.com>
886
887         PR python/19399:
888         * gdb.python/py-inferior.exp: Add architecture test.
889
890 2018-10-06  Tom Tromey  <tom@tromey.com>
891
892         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
893         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
894
895 2018-10-06  Tom Tromey  <tom@tromey.com>
896
897         * gdb.python/py-breakpoint.exp (check_last_event): Check location
898         of a "throw" catchpoint.
899
900 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
901
902         * gdb.base/info-proc.exp: Update string expected from "help info
903         proc".
904
905 2018-10-04  Tom Tromey  <tom@tromey.com>
906
907         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
908         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
909         (test_initial_complaints, test_empty_complaints): Update.
910         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
911
912 2018-10-04  Tom Tromey  <tom@tromey.com>
913
914         PR cli/19551:
915         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
916         * lib/gdb.exp (gdb_file_cmd): Update.
917         * gdb.stabs/weird.exp (print_weird_var): Update.
918         * gdb.server/solib-list.exp: Update.
919         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
920         * gdb.mi/mi-cli.exp: Update.
921         * gdb.linespec/linespec.exp: Update.
922         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
923         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
924         * gdb.cp/cp-relocate.exp: Update.
925         * gdb.base/sym-file.exp: Update.
926         * gdb.base/relocate.exp: Update.
927         * gdb.base/readnever.exp: Update.
928         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
929         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
930         * gdb.base/dbx.exp (gdb_file_cmd): Update.
931         * gdb.base/code_elim.exp: Update.
932         * gdb.base/break-unload-file.exp (test_break): Update.
933         * gdb.base/break-interp.exp (test_attach_gdb): Update.
934         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
935         Update.
936         * gdb.base/attach.exp (do_attach_tests): Update.
937         * gdb.base/sepdebug.exp: Update.
938         * gdb.python/py-section-script.exp: Update.
939
940 2018-10-04  Tom Tromey  <tom@tromey.com>
941
942         PR cli/22234:
943         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
944         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
945         output.
946
947 2018-10-04  Tom Tromey  <tom@tromey.com>
948
949         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
950         set width and height to 0.
951         (test_command_line_attach_run): Use -quiet.
952
953 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
954
955         * lib/gdb.exp (skip_ifunc_tests): New.
956         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
957         other compile failures.
958         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
959
960 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
961
962         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
963         is_amd64_regs_target.
964
965 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
966
967         * gdb.arch/aarch64-sighandler-regs.c: New test.
968         * gdb.arch/aarch64-sighandler-regs.exp: New file.
969         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
970
971 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
972
973         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
974         assembly.
975
976 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
977
978         * gdb.base/frame-selection.exp: New file.
979         * gdb.base/frame-selection.c: New file.
980
981 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
982
983         * gdb.threads/check-libthread-db.c (thread_routine): Use a
984         pthread barrier.
985         (main): Likewise.
986
987 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
988
989         * gdb.base/large-frame-1.c: New file.
990         * gdb.base/large-frame-2.c: New file.
991         * gdb.base/large-frame.exp: New file.
992         * gdb.base/large-frame.h: New file.
993
994 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
995
996         PR gdb/20948
997         * gdb.base/write_mem.exp: New test.
998         * gdb.base/write_mem.c: Likewise.
999
1000 2018-09-23  Tom Tromey  <tom@tromey.com>
1001
1002         PR python/18852:
1003         * gdb.python/py-parameter.exp: Add test for parameter that throws
1004         on "set".
1005
1006 2018-09-23  Tom Tromey  <tom@tromey.com>
1007
1008         PR python/17284:
1009         * gdb.python/py-template.exp (test_template_arg): Add test for
1010         negative template argument number.
1011
1012 2018-09-23  Tom Tromey  <tom@tromey.com>
1013
1014         PR python/14062:
1015         * gdb.python/python.exp: Add test for post_event error.
1016
1017 2018-09-23  Tom Tromey  <tom@tromey.com>
1018
1019         PR python/18170:
1020         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1021         convert pointers to int and long.
1022
1023 2018-09-23  Tom Tromey  <tom@tromey.com>
1024
1025         PR python/20126:
1026         * gdb.python/py-value.exp (test_value_numeric_ops): Add
1027         signed-ness conversion tests.
1028
1029 2018-09-23  Tom Tromey  <tom@tromey.com>
1030
1031         PR python/18352;
1032         * gdb.python/py-value.exp (test_float_conversion): New proc.
1033         Use it.
1034
1035 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1036
1037         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1038
1039 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1040
1041         * gdb.base/complete-empty.exp: Skip tab-completion tests if
1042         no readline.
1043         * gdb.base/utf8-identifiers.exp: Likewise.
1044         * gdb.cp/cpcompletion.exp: Likewise.
1045         * gdb.linespec/cpcompletion.exp: Likewise.
1046         * gdb.linespec/cpls-abi-tag.exp: Likewise.
1047         * gdb.linespec/cpls-ops.exp: Likewise.
1048
1049 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
1050             Chris January  <chris.january@arm.com>
1051
1052         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1053         * gdb.fortran/short-circuit-argument-list.exp: New file.
1054         * gdb.fortran/short-circuit-argument-list.f90: New test.
1055
1056 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1057
1058         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1059         "arch=" keyword when executing "-stack-list-frames".
1060
1061 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1062
1063         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1064         "arch=" keyword when executing "-stack-list-frames".
1065
1066 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
1067
1068         * gdb.ada/complete.exp: Expect for "@" when doing "complete
1069         break ada".
1070
1071 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
1072
1073         PR python/23669
1074         * gdb.python/python.exp: Test gdb.execute("show commands").
1075
1076 2018-09-16  Tom Tromey  <tom@tromey.com>
1077
1078         * gdb.base/new-ui.exp (do_execution_tests): Update.
1079         * gdb.base/dbx.exp (test_breakpoints): Update.
1080
1081 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
1082
1083         * lib/gdb.exp (gdb_simple_compile): Add proc.
1084         (is_elf_target): Use gdb_simple_compile.
1085         (skip_altivec_tests): Likewise.
1086         (skip_vsx_tests): Likewise.
1087         (skip_tsx_tests): Likewise.
1088         (skip_btrace_tests): Likewise.
1089         (skip_btrace_pt_tests): Likewise.
1090         (gdb_can_simple_compile): Likewise.
1091         (gdb_has_argv0): Likewise.
1092         (gdb_target_symbol_prefix): Likewise.
1093         (target_supports_scheduler_locking): Likewise.
1094
1095 2018-09-13  Tom Tromey  <tom@tromey.com>
1096
1097         * Makefile.in (TAGS): Recognize proc_with_prefix and
1098         gdb_caching_proc.
1099
1100 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1101
1102         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1103         method.
1104
1105 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1106
1107         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1108         and a few other Inferior properties when the Inferior is no
1109         longer valid.
1110
1111 2018-09-13  Tom Tromey  <tom@tromey.com>
1112
1113         PR rust/23650:
1114         * gdb.rust/simple.exp: Add test for enum field access error.
1115
1116 2018-09-13  Tom Tromey  <tom@tromey.com>
1117
1118         PR rust/23626:
1119         * gdb.rust/simple.rs (EmptyEnum): New type.
1120         (main): Use it.
1121         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1122
1123 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
1124
1125         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1126         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1127         * gdb.python/py-symtab.exp: Update test printing an objfile.
1128
1129 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
1130
1131         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1132         object.
1133
1134 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
1135
1136         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1137         (support_complex_tests): Use gdb_can_simple_compile.
1138         (is_ilp32_target): Likewise.
1139         (is_lp64_target): Likewise.
1140         (is_64_target): Likewise.
1141         (is_amd64_regs_target): Likewise.
1142         (is_aarch32_target): Likewise.
1143         (gdb_int128_helper): Likewise.
1144
1145 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1146
1147         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1148
1149 2018-09-10  Jerome Guitton  <guitton@adacore.com>
1150
1151         * gdb.ada/same_component_name: Add test for case of tagged record
1152         with variable-length fields.
1153
1154 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1155
1156         * gdb.ada/access_to_unbounded_array.exp: New testcase.
1157         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1158         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1159         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1160
1161 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1162
1163         * gdb.ada/mi_string_access.exp: New testcase.
1164         * gdb.ada/mi_string_access/bar.adb: New file.
1165         * gdb.ada/mi_string_access/pck.adb: New file.
1166         * gdb.ada/mi_string_access/pck.asd: New file.
1167
1168 2018-09-10  Xavier Roirand  <roirand@adacore.com>
1169
1170         * gdb.ada/mi_var_union.exp: New testcase.
1171         * gdb.ada/mi_var_union/bar.adb: New file.
1172         * gdb.ada/mi_var_union/pck.adb: New file.
1173         * gdb.ada/mi_var_union/pck.asd: New file.
1174
1175 2018-09-08  Tom Tromey  <tom@tromey.com>
1176
1177         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1178
1179 2018-09-08  Tom Tromey  <tom@tromey.com>
1180
1181         PR python/16047:
1182         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1183         (register_pretty_printers): Register new printer.
1184         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1185         test.
1186         * gdb.python/py-prettyprint.c (int_type3): New typedef.
1187         (an_int_type3): New global.
1188
1189 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
1190
1191         * gdb.ada/expr_with_funcall: New testcase.
1192
1193 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
1194
1195         * gdb.ada/packed_array_assign: New testcase.
1196
1197 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1198
1199         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1200         names, and add test prefixes to make test names unique.
1201
1202 2018-09-05  Tom de Vries  <tdevries@suse.de>
1203
1204         * gdb.dwarf2/varval.exp: Add test.
1205
1206 2018-09-04  Gary Benson <gbenson@redhat.com>
1207
1208         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1209         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
1210
1211 2018-08-31  Tom Tromey  <tom@tromey.com>
1212
1213         * gdb.rust/simple.rs: Rename second variable "v".
1214
1215 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
1216
1217         * gdb.base/funcargs.c (use_a): New function.
1218         (recurse): Call use_a.
1219
1220 2018-08-29  Keith Seitz  <keiths@redhat.com>
1221
1222         * gdb.compile/compile-cplus-anonymous.cc: New file.
1223         * gdb.compile/compile-cplus-anonymous.exp: New file.
1224         * gdb.compile/compile-cplus-array-decay.cc: New file.
1225         * gdb.compile/compile-cplus-array-decay.exp: New file.
1226         * gdb.compile/compile-cplus-inherit.cc: New file.
1227         * gdb.compile/compile-cplus-inherit.exp: New file.
1228         * gdb.compile/compile-cplus-member.cc: New file.
1229         * gdb.compile/compile-cplus-member.exp: New file.
1230         * gdb.compile/compile-cplus-method.cc: New file.
1231         * gdb.compile/compile-cplus-method.exp: New file.
1232         * gdb.compile/compile-cplus-mod.c: "New" file.
1233         * gdb.compile/compile-cplus-namespace.cc: New file.
1234         * gdb.compile/compile-cplus-namespace.exp: New file.
1235         * gdb.compile/compile-cplus-nested.cc: New file.
1236         * gdb.compile/compile-cplus-nested.exp: New file.
1237         * gdb.compile/compile-cplus-print.c: "New" file.
1238         * gdb.compile/compile-cplus-print.exp: "New" file.
1239         * gdb.compile/compile-cplus-virtual.cc: New file.
1240         * gdb.compile/compile-cplus-virtual.exp: New file.
1241         * gdb.compile/compile-cplus.c: "New" file.
1242         * gdb.compile/compile-cplus.exp: "New" file.
1243         * lib/compile-support.exp: New file.
1244
1245 2018-08-16  Gary Benson <gbenson@redhat.com>
1246
1247         PR gdb/13000:
1248         * gdb.base/batch-exit-status.exp: New file.
1249         * gdb.base/batch-exit-status.good-commands: Likewise.
1250         * gdb.base/batch-exit-status.bad-commands: Likewise.
1251
1252 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
1253
1254         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1255         (struct struct02): Likewise.
1256         (struct struct03): Likewise.
1257         (struct struct04): Likewise.
1258         (struct struct_01_01): New struct.
1259         (struct struct_01_02): Likewise.
1260         (struct struct_01_03): Likewise.
1261         (struct struct_01_04): Likewise.
1262         (struct struct_02_01): Likewise.
1263         (struct struct_02_02): Likewise.
1264         (struct struct_02_03): Likewise.
1265         (struct struct_02_04): Likewise.
1266         (struct struct_04_01): Likewise.
1267         (struct struct_04_02): Likewise.
1268         (struct struct_04_03): Likewise.
1269         (struct struct_04_04): Likewise.
1270         (struct struct_05_01): Likewise.
1271         (struct struct_05_02): Likewise.
1272         (struct struct_05_03): Likewise.
1273         (struct struct_05_04): Likewise.
1274         (cmp_struct01): Remove function.
1275         (cmp_struct02): Likewise.
1276         (cmp_struct03): Likewise.
1277         (cmp_struct04): Likewise.
1278         (cmp_struct_01_01): Add Function.
1279         (cmp_struct_01_02): Likewise.
1280         (cmp_struct_01_03): Likewise.
1281         (cmp_struct_01_04): Likewise.
1282         (cmp_struct_02_01): Likewise.
1283         (cmp_struct_02_02): Likewise.
1284         (cmp_struct_02_03): Likewise.
1285         (cmp_struct_02_04): Likewise.
1286         (cmp_struct_04_01): Likewise.
1287         (cmp_struct_04_02): Likewise.
1288         (cmp_struct_04_03): Likewise.
1289         (cmp_struct_04_04): Likewise.
1290         (cmp_struct_05_01): Likewise.
1291         (cmp_struct_05_02): Likewise.
1292         (cmp_struct_05_03): Likewise.
1293         (cmp_struct_05_04): Likewise.
1294         (call_all): Add new structs.
1295         * gdb.base/infcall-nested-structs.exp: Likewise.
1296
1297 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1298
1299         * gdb.python/py-framefilter-mi.exp: Update regexp to
1300         check for "arch" field in frame output.
1301
1302 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1303
1304         * gdb.dwarf2/dw2-ranges-func.c: New file.
1305         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1306
1307 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1308
1309         * gdb.base/term.exp: Compare terminal settings with values from
1310         the inferior.
1311         * gdb.base/term.c: Get and set terminal settings.
1312
1313 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1314
1315         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1316         accommodate new "arch" field in frame output.
1317         * gdb.mi/mi-return.exp: Likewise.
1318         * gdb.mi/mi-stack.exp: Likewise.
1319         * gdb.mi/mi-syn-frame.exp: Likewise.
1320         * gdb.mi/user-selected-context-sync.exp: Likewise.
1321
1322 2018-08-19  Michael Spang  <spang@google.com>
1323
1324         PR gdb/11786
1325         * gdb.base/gcore-tls-pie.c: New file.
1326         * gdb.base/gcore-tls-pie.exp: New file.
1327
1328 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1329
1330         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1331         * gdb.dwarf2/varval.c: New file.
1332         * gdb.dwarf2/varval.exp: New file.
1333
1334 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1335
1336         PR gdb/18931
1337         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1338
1339 2018-08-16  Keith Seitz  <keiths@redhat.com>
1340
1341         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1342         tests expected to pass.
1343
1344 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1345
1346         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1347         -data-disassemble -a.
1348         (test_disassembly_bogus_args): Likewise.
1349
1350 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1351
1352         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1353
1354 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1355
1356         * gdb.base/vla-optimized-out.exp: Add new test.
1357
1358 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1359
1360         * gdb.base/vla-optimized-out-o3.exp: Delete.
1361         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1362         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1363         deleted tests.
1364
1365 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1366
1367         PR gdb/18050:
1368         * gdb.server/extended-remote-restart.c: New file.
1369         * gdb.server/extended-remote-restart.exp: New file.
1370
1371 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1372
1373         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1374         "set variable index = 42".
1375
1376 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1377
1378         * boards/index-cache-gdb.exp: New file.
1379         * gdb.dwarf2/index-cache.exp: New file.
1380         * gdb.dwarf2/index-cache.c: New file.
1381         * gdb.base/maint.exp: Check if we are using the index cache.
1382
1383 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1384
1385         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1386         MAKEFLAGS.
1387
1388 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1389
1390         * dg-extract-results.sh: Move to toplevel contrib.
1391         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1392         * Makefile.in (check-parallel-racy): Likewise.
1393
1394 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1395
1396         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1397         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1398         tests if the target supports scheduler locking.
1399
1400 2018-08-04  Tom de Vries  <tdevries@suse.de>
1401
1402         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1403
1404 2018-08-02  Tom Tromey  <tom@tromey.com>
1405
1406         PR symtab/16842.
1407         * gdb.cp/temargs.exp: Test "info address" of a template
1408         parameter.
1409
1410 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1411
1412         * gdb.python/py-mi-var-info-path-expression.c: New file.
1413         * gdb.python/py-mi-var-info-path-expression.py: New file.
1414         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1415
1416 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1417
1418         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1419         error after "cannot resolve name" string.
1420
1421 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1422
1423         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1424         started.
1425         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1426
1427 2018-07-28  Tom de Vries  <tdevries@suse.de>
1428
1429         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1430
1431 2018-07-26  Tom de Vries  <tdevries@suse.de>
1432
1433         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1434
1435 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1436
1437         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1438         is visible.
1439
1440 2018-07-26  Tom de Vries  <tdevries@suse.de>
1441
1442         PR breakpoints/23366
1443         * gdb.base/catch-follow-exec.c: New test.
1444         * gdb.base/catch-follow-exec.exp: New file.
1445
1446 2018-07-25  Tom de Vries  <tdevries@suse.de>
1447
1448         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1449         vla-optimized-out.c.
1450
1451 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1452
1453         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1454         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1455
1456 2018-07-20  Tom de Vries  <tdevries@suse.de>
1457
1458         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1459         NOCLONE macro.
1460         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1461
1462 2018-07-19  Tom de Vries  <tdevries@suse.de>
1463
1464         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1465         regular expression.
1466
1467 2018-07-18  Tom de Vries  <tdevries@suse.de>
1468
1469         * gdb.base/vla-optimized-out.c: New test.
1470         * gdb.base/vla-optimized-out.exp: New file.
1471
1472 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1473
1474         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1475         message "No address associated with hostname" when gdbserver
1476         cannot resolve the hostname.
1477
1478 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1479
1480         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1481         Add some test prefixes to make tests unique.
1482
1483 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1484
1485         * gdb.base/frameapply.c: New file.
1486         * gdb.base/frameapply.exp: New file.
1487
1488 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1489
1490         * gdb.base/skip.exp: Update expected error message.
1491
1492 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1493             Jan Kratochvil  <jan.kratochvil@redhat.com>
1494             Paul Fertser  <fercerpav@gmail.com>
1495             Tsutomu Seki  <sekiriki@gmail.com>
1496
1497         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1498         parameter.
1499         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1500         by default.
1501         * boards/native-gdbserver.exp: Likewise.
1502         * gdb.server/run-without-local-binary.exp: Improve regexp used
1503         for detecting when a remote debugging connection succeeds.
1504         * gdb.server/server-connect.exp: New file.
1505         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1506         Do not prefix the port number with ":".
1507         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1508         support for detecting and using it.  Add '$debughost_gdbserver'
1509         to the list of arguments used to start gdbserver.  Handle case
1510         when gdbserver cannot resolve a network name.
1511
1512 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1513
1514         PR c++/23373
1515         * gdb.base/ptype-offsets.cc (struct static_member): New
1516         struct.
1517         (main) <stmember>: New variable.
1518         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1519         with a static member in it.
1520
1521 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1522
1523         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1524         watchpoints enabled and disabled.
1525
1526 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1527
1528         * gdb.base/examine-backward.exp: Still run tests around address
1529         0x0, even if address 0x0 is not readable.  Update the pattern for
1530         matching address 0x0 in expected output.
1531
1532 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1533
1534         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1535         malloc/free.
1536
1537 2018-07-04  Tom de Vries  <tdevries@suse.de>
1538
1539         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1540
1541 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1542
1543         PR tdep/8282
1544         * gdb.arch/mips-disassembler-options.exp: New test.
1545         * gdb.arch/mips-disassembler-options.s: New test source.
1546
1547 2018-06-29  Pedro Alves  <palves@redhat.com>
1548
1549         * gdb.threads/names.exp: Adjust expected "info threads" output.
1550
1551 2018-06-29  Pedro Alves  <palves@redhat.com>
1552
1553         * gdb.opt/inline-break.exp (line number, address): Add "info
1554         break" tests.
1555
1556 2018-06-29  Pedro Alves  <palves@redhat.com>
1557
1558         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1559         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1560         number and address and running to them.
1561
1562 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1563
1564         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1565
1566 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1567
1568         * lib/compiler.c: Remove executable permission flag.
1569
1570 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1571
1572         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1573         code.
1574         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1575
1576 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1577
1578         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1579
1580 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1581
1582         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1583         address argument is omitted.
1584
1585 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1586
1587         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1588
1589 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1590
1591         PR gdb/21695
1592         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1593         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1594
1595 2018-06-26  Tom Tromey  <tom@tromey.com>
1596
1597         PR rust/22574:
1598         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1599         * gdb.rust/simple.rs (struct SimpleLayout): New.
1600
1601 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1602
1603         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1604         "info registers" output.
1605
1606 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1607
1608         * gdb.base/watchpoint-hw-attach.c: New test.
1609         * gdb.base/watchpoint-hw-attach.exp: New file.
1610
1611 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1612
1613         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1614         through /bin/sh.
1615         * boards/dwarf4-gdb-index.exp: Likewise.
1616         * boards/fission-dwp.exp: Likewise.
1617
1618 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1619
1620         * gdb.base/float128.exp: Add comment and improved fail message
1621         to the failure case of "print large128" test.
1622
1623 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1624
1625         * configure.ac: Remove AC_PREREQ.
1626         * configure: Re-generate.
1627
1628 2018-06-19  Pedro Alves  <palves@redhat.com>
1629
1630         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1631         (func_extern_caller): New.
1632         (main): Call func_extern_caller.
1633         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1634         logic change.
1635
1636 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1637
1638         PR gdb/16841
1639         * gdb.cp/typedef-base.cc: New file.
1640         * gdb.cp/typedef-base.exp: New file.
1641
1642 2018-06-18  Tom de Vries  <tdevries@suse.de>
1643
1644         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1645
1646 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1647             Richard Bunt <Richard.Bunt@arm.com>
1648
1649         * gdb.threads/attach-slow-waitpid.c: New file.
1650         * gdb.threads/attach-slow-waitpid.exp: New file.
1651         * gdb.threads/slow-waitpid.c: New file.
1652
1653 2018-06-14  Pedro Alves  <palves@redhat.com>
1654
1655         * gdb.base/fork-running-state.c: Include <errno.h>.
1656         (exit_if_relative_exits): New.
1657         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1658         exits.
1659         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1660         child exits.
1661
1662 2018-06-14  Tom de Vries  <tdevries@suse.de>
1663
1664         PR cli/22573
1665         * gdb.base/finish-pretty.c: New test.
1666         * gdb.base/finish-pretty.exp: New file.
1667
1668 2018-06-14  Pedro Alves  <palves@redhat.com>
1669
1670         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1671         gdb's expected startup output.
1672
1673 2018-06-14  Pedro Alves  <palves@redhat.com>
1674
1675         * lib/selftest-support.exp (selftest_setup): Remove inlined
1676         function handling.
1677
1678 2018-06-14  Tom de Vries  <tdevries@suse.de>
1679
1680         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1681         matching of breakpoint printing.
1682
1683 2018-06-13  Tom de Vries  <tdevries@suse.de>
1684
1685         PR testsuite/23269
1686         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1687         (fork_child): ... here, and ...
1688         (fork_parent): ... here.
1689
1690 2018-06-12  Tom de Vries  <tdevries@suse.de>
1691
1692         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1693
1694 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1695             Stephen Roberts  <stephen.roberts@arm.com>
1696
1697         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1698         rewrite test to describe action performed, rather than possible
1699         failure.
1700
1701 2018-06-08  Gary Benson <gbenson@redhat.com>
1702
1703         * gdb.threads/check-libthread-db.exp: New file.
1704         * gdb.threads/check-libthread-db.c: Likewise.
1705
1706 2018-06-05  Tom Tromey  <tom@tromey.com>
1707
1708         * gdb.base/default.exp: Update expected "show version" output.
1709
1710 2018-06-05  Tom Tromey  <tom@tromey.com>
1711
1712         PR cli/12326:
1713         * gdb.cp/static-print-quit.exp: Update.
1714         * lib/gdb.exp (pagination_prompt): Update.
1715         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1716         * gdb.python/python.exp: Update.
1717
1718 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1719
1720         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1721
1722 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1723
1724         * gdb.ada/bp_fun_addr: New testcase.
1725
1726 2018-06-01  Tom Tromey  <tom@tromey.com>
1727
1728         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1729         results.
1730         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1731         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1732         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1733         * gdb.base/maint.exp (maint_pass_if): Update.
1734
1735 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1736
1737         * gdb.base/endian.exp: New test.
1738         * gdb.base/endian.c: New test source.
1739
1740 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1741
1742         PR gdb/23203
1743         * gdb.base/bt-selected-frame.c: New file.
1744         * gdb.base/bt-selected-frame.exp: New file.
1745         * lib/gdb.exp (get_current_frame_number): New function.
1746
1747 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1748             Pedro Alves  <palves@redhat.com>
1749
1750         * gdb.threads/tls-core.c: Include <stdlib.h>
1751         (thread_proc): Call `abort'.
1752         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1753         (tls_core_test): New procedure, bits factored out from ...
1754         (top level): ... here.  Test both native cores and gcore cores.
1755
1756 2018-05-23  Tom Tromey  <tom@tromey.com>
1757
1758         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1759
1760 2018-05-23  Tom Tromey  <tom@tromey.com>
1761
1762         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1763         symfile_complaints.
1764         (test_short_complaints): Likewise.
1765         (test_empty_complaints): Likewise.
1766         (test_initial_complaints): Update.
1767
1768 2018-05-23  Tom Tromey  <tom@tromey.com>
1769
1770         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1771
1772 2018-05-23  Tom Tromey  <tom@tromey.com>
1773
1774         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1775         (test_short_complaints): Update.
1776
1777 2018-05-22  Pedro Alves  <palves@redhat.com>
1778
1779         * gdb.base/remote.exp: Only gdb_start after compiling the
1780         testcase.  Issue "disconnect" before testing "set remote" command
1781         defaults.  Issue clean_restart before running to main.
1782
1783 2018-05-22  Pedro Alves  <palves@redhat.com>
1784
1785         * gdb.base/remote.exp: Adjust expected output of "show remote
1786         memory-write-packet-size".  Add tests for "set remote
1787         memory-write-packet-size 0" and "set remote
1788         memory-write-packet-size fixed/limit".
1789
1790 2018-05-22  Pedro Alves  <palves@redhat.com>
1791
1792         PR gdb/22973
1793         * gdb.base/utf8-identifiers.c: New file.
1794         * gdb.base/utf8-identifiers.exp: New file.
1795
1796 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1797
1798         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1799
1800 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1801
1802         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1803
1804 2018-05-18  Tom Tromey  <tom@tromey.com>
1805
1806         * gdb.base/ptype-offsets.exp: Update.
1807
1808 2018-05-17  Keith Seitz  <keiths@redhat.com>
1809
1810         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1811         in expected breakpoint stop locations.
1812         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1813         move to proper scope to test variable values.
1814         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1815         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1816         New functions.
1817         (main): Call not_inline_func3.
1818         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1819         inline_func1, inline_func2, and inline_func3.  Test that when each
1820         breakpoint is hit, GDB properly reports both the stop location
1821         and the backtrace. Repeat tests for temporary breakpoints.
1822
1823 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1824
1825         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1826         rather then trying to access it in determining whether the PID
1827         of `gdbserver' could have been retrieved.
1828
1829 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1830
1831         * gdb.arch/amd64-init-x87-values.S: New file.
1832         * gdb.arch/amd64-init-x87-values.exp: New file.
1833
1834 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1835
1836         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1837
1838 2018-05-04  Tom Tromey  <tom@tromey.com>
1839
1840         PR python/22730:
1841         * gdb.python/python.exp: Test multi-line execute.
1842
1843 2018-05-04  Tom Tromey  <tom@tromey.com>
1844
1845         PR python/22731:
1846         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1847
1848 2018-05-04  Tom Tromey  <tom@tromey.com>
1849
1850         PR gdb/11750:
1851         * gdb.base/define.exp: Test defining a user command inside a user
1852         command.
1853         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1854
1855 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1856             Pedro Alves <palves@redhat.com>
1857
1858         PR breakpoints/19806 and support for PR external/20207.
1859         * gdb.base/watchpoint-unaligned.c: New file.
1860         * gdb.base/watchpoint-unaligned.exp: New file.
1861
1862 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1863
1864         * gdb.base/maint.exp: Make test names unique, use
1865         test_prefix_command_help to test 'help maint info', and remove
1866         repeated test of 'help maint'.
1867
1868 2018-05-04  Tom Tromey  <tom@tromey.com>
1869
1870         PR gdb/22619:
1871         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1872         behavior.
1873
1874 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1875
1876         * gdb.base/maint.exp: Process output from 'maint print registers'
1877         line at a time.
1878
1879 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1880
1881         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1882         timeout.
1883
1884 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1885
1886         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1887         filter pattern.
1888
1889 2018-05-02  Pedro Alves  <palves@redhat.com>
1890
1891         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1892         to_log_command renames.
1893         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1894
1895 2018-05-02  Tom Tromey  <tom@tromey.com>
1896
1897         * gdb.python/py-parameter.exp: Set test message.
1898
1899 2018-05-02  Tom Tromey  <tom@tromey.com>
1900
1901         PR python/20084:
1902         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1903         PARAM_ZUINTEGER_UNLIMITED tests.
1904
1905 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1906
1907         PR rust/23124
1908         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1909         when casting.
1910
1911 2018-04-30  Tom Tromey  <tom@tromey.com>
1912
1913         * gdb.python/py-type.exp: Check align attribute.
1914         * gdb.python/py-type.c: New "aligncheck" global.
1915
1916 2018-04-30  Tom Tromey  <tom@tromey.com>
1917
1918         PR exp/17095:
1919         * gdb.dwarf2/dw2-align.exp: New file.
1920         * gdb.cp/align.exp: New file.
1921         * gdb.base/align.exp: New file.
1922         * lib/gdb.exp (gdb_int128_helper): New proc.
1923         (has_int128_c, has_int128_cxx): New caching procs.
1924
1925 2018-04-27  Tom Tromey  <tom@tromey.com>
1926
1927         PR rust/22545:
1928         * gdb.rust/simple.exp: Add inclusive range tests.
1929
1930 2018-04-26  Pedro Alves  <palves@redhat.com>
1931
1932         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1933         ifunc breakpoint locations correctly of ifunc breakpoints set
1934         while the program resolves the ifunc.
1935
1936 2018-04-26  Pedro Alves  <palves@redhat.com>
1937
1938         * gdb.base/gnu-ifunc-final.c: New file.
1939         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1940         * gdb.base/gnu-ifunc.exp (executable): Delete.
1941         (staticexecutable): Adjust.
1942         (lib_opts, exec_opts): Delete.
1943         (make_binsuffix, build, set-break): New procedures.
1944         (misc_tests): New, with tests factored out from the top level.
1945         (top level): Test different combinations of ifunc resolver name,
1946         resolver with and with debug info, and ifunc target with and
1947         without debug info.  Wrap static tests with with_target_prefix.
1948
1949 2018-04-26  Pedro Alves  <palves@redhat.com>
1950
1951         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1952         return type" warnings.
1953
1954 2018-04-25  Pedro Alves  <palves@redhat.com>
1955
1956         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1957         killed".
1958         * gdb.base/kill-after-signal.exp: Likewise.
1959         * gdb.threads/kill.exp: Likewise.
1960
1961 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1962             Sergio Durigan Junior  <sergiodj@redhat.com>
1963             Pedro Alves  <palves@redhat.com>
1964
1965         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1966         regexps to expect for '[Inferior ... detached]' as well.
1967         * gdb.base/attach.exp: Likewise.
1968         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1969         "gdb_continue_to_end".
1970         (test_catch_syscall_with_wrong_args): Likewise.
1971         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1972         ']'.  Don't set 'verbose' on.
1973         * gdb.base/foll-vfork.exp: Likewise.
1974         * gdb.base/fork-print-inferior-events.c: New file.
1975         * gdb.base/fork-print-inferior-events.exp: New file.
1976         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1977         '[Inferior ... has been killed]' message.
1978         * gdb.base/kill-after-signal.exp: Likewise.
1979         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1980         detach message.
1981         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1982         message.
1983         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1984         regexps to expect for '[Inferior ... detached]' as well.
1985         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1986
1987 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1988
1989         PR gdb/23104
1990         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1991
1992 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1993
1994         * gdb.threads/multiple-successive-infcall.c: New test.
1995         * gdb.threads/multiple-successive-infcall.exp: New file.
1996
1997 2018-04-17  Tom Tromey  <tom@tromey.com>
1998
1999         * gdb.rust/simple.rs (Union): New type.
2000         (main): New local "u".
2001         * gdb.rust/simple.exp (test_one_slice): Add new test case.
2002
2003 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2004
2005         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2006         number information in output of "whereis" command.
2007         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2008
2009 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2010
2011         * gdb.ada/info_types.exp: Adjust expected output to the line
2012         numbers now printed by "info var/func/type".
2013         * gdb.base/completion.exp: Likewise.
2014         * gdb.base/included.exp: Likewise.
2015         * gdb.cp/cp-relocate.exp: Likewise.
2016         * gdb.cp/cplusfuncs.exp: Likewise.
2017         * gdb.cp/namespace.exp: Likewise.
2018         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2019
2020 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
2021
2022         * gdb.btrace/cpu.exp: New.
2023
2024 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
2025
2026         * gdb.base/step-indirect-call-thunk.exp: New.
2027         * gdb.base/step-indirect-call-thunk.c: New.
2028         * gdb.reverse/step-indirect-call-thunk.exp: New.
2029         * gdb.reverse/step-indirect-call-thunk.c: New.
2030
2031 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
2032
2033         * gdb.base/pie-fork.c: New file.
2034         * gdb.base/pie-fork.exp: New file.
2035
2036 2018-04-11  Tom Tromey  <tom@tromey.com>
2037
2038         * gdb.rust/simple.exp: Add test for ".." struct initializer.
2039
2040 2018-04-10  Pedro Alves  <palves@redhat.com>
2041
2042         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2043         exits.  Instead loop running forever.
2044         (fork_parent): Run forever too.
2045
2046 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
2047
2048         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2049         mi_continue_to_line.
2050         * gdb.mi/mi-stack.c (callee4): Add comment.
2051
2052 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
2053
2054         * gdb.mi/mi-stack.exp: Fix indentation.
2055
2056 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
2057
2058         PR gdb/22979
2059         * gdb.arch/amd64-osabi.exp: New file.
2060
2061 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
2062
2063         PR gdb/22980
2064         * gdb.base/osabi.exp: New file.
2065
2066 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
2067
2068         * gdb.cp/static-typedef-print.exp: New file.
2069         * gdb.cp/static-typedef-print.cc: New file.
2070
2071 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
2072
2073         * gdb.ada/varsize_limit: New testcase.
2074
2075 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
2076
2077         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2078
2079         * gdb.ada/notcplusplus: New testcase.
2080
2081         * gdb.base/c-linkage-name.c: New file.
2082         * gdb.base/c-linkage-name.exp: New testcase.
2083
2084 2018-03-26  Tom Tromey  <tom@tromey.com>
2085
2086         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2087         * gdb.python/py-framefilter.py (name_error): New global.
2088         (ErrorInName.function): Use name_error.
2089
2090 2018-03-26  Tom Tromey  <tom@tromey.com>
2091
2092         PR backtrace/15582:
2093         * gdb.python/py-framefilter.exp: Add "bt hide" test.
2094
2095 2018-03-23  Keith Seitz  <keiths@redhat.com>
2096
2097         PR c++/22968
2098         * gdb.cp/subtypes.exp: New file.
2099         * gdb.cp/subtypes.h: New file.
2100         * gdb.cp/subtypes.cc: New file.
2101         * gdb.cp/subtypes-2.cc: New file.
2102
2103 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
2104
2105         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2106         (done): Call '_exit' not 'exit' to avoid atexit handlers.
2107         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2108         -nostartfiles when compiling the test.  Confirm that all registers
2109         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2110
2111 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
2112
2113         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2114         option, syntax was wrong anyway.
2115         * gdb.arch/arm-disp-step.exp: Likewise.
2116         * gdb.arch/sparc64-regs.exp: Likewise.
2117         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2118         option, syntax was wrong anyway, switch to use
2119         prepare_for_testing.
2120         * gdb.arch/i386-disp-step.exp: Likewise.
2121
2122 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2123
2124         * gdb.ada/exec_changed.exp: Replace "target_info exists
2125         use_gdb_stub" by "use_gdb_stub".
2126         * gdb.ada/start.exp: Likewise.
2127         * gdb.base/async-shell.exp: Likewise.
2128         * gdb.base/attach-pie-misread.exp: Likewise.
2129         * gdb.base/attach-wait-input.exp: Likewise.
2130         * gdb.base/break-entry.exp: Likewise.
2131         * gdb.base/break-interp.exp: Likewise.
2132         * gdb.base/dprintf-detach.exp: Likewise.
2133         * gdb.base/nostdlib.exp: Likewise.
2134         * gdb.base/solib-nodir.exp: Likewise.
2135         * gdb.base/statistics.exp: Likewise.
2136         * gdb.base/testenv.exp: Likewise.
2137         * gdb.mi/mi-exec-run.exp: Likewise.
2138         * gdb.mi/mi-start.exp: Likewise.
2139         * gdb.multi/dummy-frame-restore.exp: Likewise.
2140         * gdb.multi/multi-arch-exec.exp: Likewise.
2141         * gdb.multi/multi-arch.exp: Likewise.
2142         * gdb.multi/tids.exp: Likewise.
2143         * gdb.multi/watchpoint-multi.exp: Likewise.
2144         * gdb.python/py-events.exp: Likewise.
2145         * gdb.threads/attach-into-signal.exp: Likewise.
2146         * gdb.threads/attach-stopped.exp: Likewise.
2147         * gdb.threads/threadapply.exp: Likewise.
2148         * lib/selftest-support.exp: Likewise.
2149
2150 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2151
2152         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2153
2154 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
2155
2156         * gdb.perf/template-breakpoints.cc: New file.
2157         * gdb.perf/template-breakpoints.exp: New file.
2158         * gdb.perf/template-breakpoints.py: New file.
2159
2160 2018-03-19  Tom Tromey  <tom@tromey.com>
2161
2162         * gdb.rust/simple.rs (main): Add local variables field1, field2,
2163         y0.
2164         * gdb.rust/simple.exp: Test bare identifier form of struct
2165         initializer.
2166
2167 2018-03-19  Tom Tromey  <tom@tromey.com>
2168
2169         * gdb.gdb/observer.exp: Remove.
2170
2171 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2172
2173         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2174         "qualified" option when setting breakpoints.
2175         * gdb.trace/backtrace.exp: Likewise.
2176         * gdb.trace/circ.exp: Likewise.
2177         * gdb.trace/collection.exp: Likewise.
2178         * gdb.trace/disconnected-tracing.exp: Likewise.
2179         * gdb.trace/ftrace-lock.exp: Likewise.
2180         * gdb.trace/ftrace.exp: Likewise.
2181         * gdb.trace/infotrace.exp: Likewise.
2182         * gdb.trace/packetlen.exp: Likewise.
2183         * gdb.trace/passc-dyn.exp: Likewise.
2184         * gdb.trace/qtro.exp: Likewise.
2185         * gdb.trace/read-memory.exp: Likewise.
2186         * gdb.trace/report.exp: Likewise.
2187         * gdb.trace/signal.exp: Likewise.
2188         * gdb.trace/status-stop.exp: Likewise.
2189         * gdb.trace/strace.exp: Likewise.
2190         * gdb.trace/tfind.exp: Likewise.
2191         * gdb.trace/trace-break.exp: Likewise.
2192         * gdb.trace/trace-condition.exp: Likewise.
2193         * gdb.trace/trace-mt.exp: Likewise.
2194         * gdb.trace/tstatus.exp: Likewise.
2195         * gdb.trace/tsv.exp: Likewise.
2196         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2197         * gdb.trace/unavailable.exp: Likewise.
2198         * gdb.trace/while-dyn.exp: Likewise.
2199
2200 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2201
2202         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2203         that libinproctrace is copied to the target.
2204
2205 2018-03-14  Tom Tromey  <tom@tromey.com>
2206
2207         PR cli/14977:
2208         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2209         a null pointer.
2210         * gdb.base/wchar.exp: Likewise.
2211
2212 2018-03-14  Tom Tromey  <tom@tromey.com>
2213
2214         PR cli/19918:
2215         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2216         flag.
2217
2218 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
2219
2220         PR gdb/22841
2221         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2222         "target" to remote_exec.
2223
2224 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
2225
2226         PR gdb/22841
2227         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2228         ${board}_upload): Remove.
2229
2230 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2231
2232         * gdb.cp/watch-cp.cc: New test.
2233         * gdb.cp/watch-cp.exp: New file.
2234
2235 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2236
2237         * gdb.base/infcall-nested-structs.exp: New file.
2238         * gdb.base/infcall-nested-structs.c: New file.
2239         * gdb.base/float.exp: Add riscv support.
2240
2241 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2242
2243         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2244         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2245
2246 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
2247
2248         * gdb.server/abspath.exp: New file.
2249         * lib/gdb.exp (with_cwd): New procedure.
2250
2251 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
2252
2253         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2254         use it.
2255         (gdb_is_target_remote_prompt): New proc.
2256         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2257         (gdb_is_target_native): Pass prompt parameter to
2258         gdb_is_target_1.
2259
2260 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
2261
2262         * gdb.base/load-command.c: New file.
2263         * gdb.base/load-command.exp: New file.
2264         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2265         (gdb_is_target_1): ...this, and generalize for other targets
2266         than just remote.
2267         (gdb_is_target_remote): Use gdb_is_target_1.
2268         (gdb_is_target_native): use gdb_is_target_1.
2269
2270 2018-02-26  Tom Tromey  <tom@tromey.com>
2271
2272         PR python/16497:
2273         * gdb.python/py-framefilter.exp: Update test.
2274
2275 2018-02-26  Tom Tromey  <tom@tromey.com>
2276
2277         * gdb.dwarf2/variant.c: New file.
2278         * gdb.dwarf2/variant.exp: New file.
2279
2280 2018-02-26  Tom Tromey  <tom@tromey.com>
2281
2282         * gdb.rust/simple.exp: Accept more possible results in enum test.
2283
2284 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
2285
2286         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2287         parentheses.
2288
2289 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
2290
2291         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2292         name of a variable: $actual_linejj -> $actual_line.
2293
2294 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2295
2296         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2297
2298 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2299
2300         * gdb.btrace/buffer-size.exp: Do not force BTS.
2301
2302 2018-02-14  Pedro Alves  <palves@redhat.com>
2303
2304         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2305         getting a "Quit".
2306
2307 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2308
2309         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2310         Fix test name.
2311
2312 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2313
2314         * gdb.cp/m-static.exp: Check type of optimized out static
2315         member.
2316
2317 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2318
2319         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2320         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2321
2322 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2323             Leszek Swirski  <leszeks@google.com>
2324
2325         * gdb.python/py-prettyprint.c
2326         (struct to_string_returns_value_inner,
2327         struct to_string_returns_value_wrapper): New.
2328         (main): Add tsrvw variable.
2329         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2330         ToStringReturnsValueWrapper): New classes.
2331         (register_pretty_printers): Register new pretty-printers.
2332         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2333         recursive pretty printer.
2334         * gdb.python/py-mi.exp: Likewise.
2335
2336 2018-02-01  Leszek Swirski  <leszeks@google.com>
2337
2338         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2339         functions with the same name as an include file are parsed
2340         correctly.
2341
2342 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2343
2344         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2345         "\[^\r\n\]*".
2346
2347 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2348
2349         * gdb.arch/powerpc-prologue-frame.s: New file.
2350         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2351         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2352
2353 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2354
2355         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2356
2357 2018-01-30  Pedro Alves  <palves@redhat.com>
2358
2359         PR gdb/13211
2360         * gdb.base/interrupt-daemon.c: New.
2361         * gdb.base/interrupt-daemon.exp: New.
2362         * gdb.multi/multi-term-settings.c: New.
2363         * gdb.multi/multi-term-settings.exp: New.
2364
2365 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2366
2367         * gdb.base/break.exp: Save the location where the breakpoint
2368         on break.c:47 was actually inserted when debugging the version
2369         compiled at -O2 and use it in the expected output of the "info
2370         break" test performed soon after.
2371
2372 2018-01-22  Pedro Alves  <palves@redhat.com>
2373             Sergio Durigan Junior  <sergiodj@redhat.com>
2374
2375         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2376         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2377
2378 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2379
2380         * gdb.base/break-include.c, gdb.base/break-include.inc,
2381         gdb.base/break-include.exp: New files.
2382         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2383         line number now being the actual line number where the breakpoint
2384         was inserted.
2385         * gdb.mi/mi-break.exp: Likewise.
2386         * gdb.mi/mi-reverse.exp: Likewise.
2387         * gdb.mi/mi-simplerun.exp: Ditto.
2388
2389 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2390
2391         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2392         varobj.
2393         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2394
2395 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2396             Andrew Burgess  <andrew.burgess@embecosm.com>
2397
2398         * gdb.mi/basics.c: Add new global.
2399         * gdb.mi/mi-frame-regs.exp: New file.
2400         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2401         case.
2402
2403 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2404
2405         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2406         non-parameter, and on an unknown symbol.
2407
2408 2018-01-19  Tom Tromey  <tom@tromey.com>
2409
2410         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2411         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2412
2413 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2414
2415         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2416         setrlimit and chdir to int.
2417
2418 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2419
2420         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2421         function.
2422         (my_tend): Likewise.
2423         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2424         rationale of avoiding FP- and vector instructions.
2425
2426 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2427
2428         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2429         "info reg" with "\[ \t\]*".
2430         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2431         "\[ \t\]+".
2432         * gdb.arch/s390-multiarch.exp: Ditto.
2433         * gdb.base/pc-fp.exp: Ditto.
2434         * gdb.reverse/i386-precsave.exp: Ditto.
2435         * gdb.reverse/i386-reverse.exp: Ditto.
2436         * gdb.reverse/i387-env-reverse.exp: Ditto.
2437         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2438
2439 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2440
2441         * lib/gdb.exp (gdb_compile): Re-enable use of
2442         universal_compile_options for languages other than Rust.
2443
2444 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2445
2446         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2447
2448 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2449
2450         PR gdb/16577
2451         * gdb.base/solib-vanish.exp: New.
2452         * gdb.base/solib-vanish-main.c: New.
2453         * gdb.base/solib-vanish-lib1.c: New.
2454         * gdb.base/solib-vanish-lib2.c: New.
2455
2456 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2457
2458         * gdb.compile/compile.exp: Match the address printed for
2459         frame in the output of command "bt".
2460
2461 2018-01-15  Tom Tromey  <tom@tromey.com>
2462
2463         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2464         compute sp_reg.
2465
2466 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2467
2468         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2469         to prepare.
2470         (prepare): Return 0 on error, 1 on success.
2471
2472 2018-01-12  Pedro Alves  <palves@redhat.com>
2473
2474         * gdb.base/continue-after-aborted-step-over.c: New.
2475         * gdb.base/continue-after-aborted-step-over.exp: New.
2476
2477 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2478
2479         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2480         options when not creating an executable.
2481
2482 2018-01-11  Pedro Alves  <palves@redhat.com>
2483
2484         PR remote/22597
2485         * gdb.server/stop-reply-no-thread.c: New file.
2486         * gdb.server/stop-reply-no-thread.exp: New file.
2487
2488 2018-01-10  Pedro Alves  <palves@redhat.com>
2489
2490         PR gdb/22670
2491         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2492         functions too.  Test setting breakpoints and printing C functions
2493         with no debug info too.
2494         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2495
2496 2018-01-10  Pedro Alves  <palves@redhat.com>
2497
2498         PR gdb/22670
2499         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2500         a fail.
2501
2502 2018-01-10  Pedro Alves  <palves@redhat.com>
2503
2504         PR gdb/22670
2505         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2506
2507 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2508
2509         * gdb.server/unittest.exp: Match the output in non-development
2510         mode.
2511
2512 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2513
2514         * gdb.gdb/unittest.exp: Match output in non-development mode.
2515
2516 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2517
2518         * gdb.ada/access_tagged_param.exp: Relax expected output
2519         for value of "ObjL" in "continue" to pck.inspect breakpoint
2520         test.
2521
2522 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2523
2524         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2525         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2526
2527 2018-01-05  Pedro Alves  <palves@redhat.com>
2528
2529         PR gdb/18653
2530         * gdb.base/libsegfault.exp: New.
2531
2532 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2533
2534         PR gdb/22670
2535         * gdb.ada/access_tagged_param.exp: New file.
2536         * gdb.ada/access_tagged_param/foo.adb: New file.
2537
2538 2018-01-05  Pedro Alves  <palves@redhat.com>
2539
2540         PR gdb/22670
2541         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2542         exercise lower case too, and to exercise both full matching and
2543         wild matching.
2544
2545 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2546
2547         * gdb.ada/rename_subscript_param: New testcase.
2548
2549 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2550
2551         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2552
2553 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2554
2555         * gdb.ada/convvar_comp: New testcase.
2556
2557 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2558
2559         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2560         (My_Table): New global variable.
2561         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2562
2563 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2564
2565         PR gdb/22670
2566         * gdb.ada/maint_with_ada: New testcase.
2567
2568 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2569
2570         PR gdb/22670
2571         * gdb.ada/bp_c_mixed_case: New testcase.
2572
2573 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2574
2575         PR gdb/22670
2576         * gdb.ada/complete.exp: Add "complete break ada" test.
2577
2578 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2579
2580         PR gdb/22670
2581         * gdb.ada/info_addr_mixed_case: New testcase.
2582
2583 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2584
2585         * gdb.ada/excep_handle.exp: New testcase.
2586         * gdb.ada/excep_handle/foo.adb: New file.
2587         * gdb.ada/excep_handle/pck.ads: New file.
2588
2589 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2590
2591         * gdb.base/step-line.c: Add extra empty line in copyright header.
2592         * gdb.base/step-line.inp: Likewise.
2593
2594 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2595
2596         * gdb.ada/dyn_stride.exp: Add slice test.
2597
2598 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2599
2600         * gdb.ada/dyn_stride: New testcase.
2601
2602 2017-12-27  Stafford Horne  <shorne@gmail.com>
2603
2604         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2605         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2606
2607 2017-12-27  Stafford Horne  <shorne@gmail.com>
2608
2609         * gdb.base/reggroups.c: New file.
2610         * gdb.base/reggroups.exp: New file.
2611
2612 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2613
2614         * gdb.dwarf2/ada-valprint-error.c: New file.
2615         * gdb.dwarf2/ada-valprint-error.exp: New file.
2616
2617 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2618
2619         * gdb.ada/assign_arr: New testcase.
2620
2621 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2622
2623         * gdb.ada/funcall_ptr: New testcase.
2624
2625 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2626
2627         PR cli/16224
2628         * gdb.base/ptype-offsets.cc: New file.
2629         * gdb.base/ptype-offsets.exp: New file.
2630
2631 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2632
2633         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2634         if XML is disabled.
2635
2636 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2637
2638         * gdb.ada/same_component_name: New testcase.
2639
2640 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2641
2642         * gdb.ada/str_binop_equal: New testcase.
2643
2644 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2645
2646         * gdb.ada/task_switch_in_core: New testcase.
2647
2648 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2649
2650         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2651         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2652         call test_bkpt_qualified.
2653         (test_bkpt_qualified): New proc.
2654
2655 2017-12-13  Pedro Alves  <palves@redhat.com>
2656
2657         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2658         Tighten regexp by matching with an anchor.
2659
2660 2017-12-13  Pedro Alves  <palves@redhat.com>
2661
2662         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2663         ("expression with namespace"): New set of tests.
2664         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2665         (Nested::Test_NS::qux): New.
2666         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2667         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2668
2669 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2670
2671         * gdb.base/server-del-break.c: New file.
2672         * gdb.base/server-del-break.exp: New file.
2673
2674 2017-12-12  Stafford Horne  <shorne@gmail.com>
2675
2676         * gdb.xml/tdesc-regs.exp: Add or1k support.
2677
2678 2017-12-12  Stafford Horne  <shorne@gmail.com>
2679
2680         * gdb.base/bp-permanent.c: Define nop of or1k.
2681
2682 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2683
2684         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2685         output with components being reordered.
2686
2687 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2688
2689         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2690         output with components being reordered.
2691
2692 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2693             Pedro Alves  <palves@redhat.com>
2694
2695         * gdb.base/maint.exp (check for .gdb_index): Check also for
2696         .debug_names.
2697         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2698         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2699         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2700         (.gdb_index used after symbol reloading): Support also .debug_names.
2701         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2702
2703 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2704
2705         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2706         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2707
2708 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2709
2710         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2711         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2712
2713 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2714
2715         * gdb.arch/aarch64-tagged-pointer.c: New file.
2716         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2717
2718 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2719
2720         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2721         "int".
2722
2723 2017-12-07  Keith Seitz  <keiths@redhat.com>
2724
2725         PR breakpoints/22569
2726         * gdb.linespec/ls-errs.exp: Change expected result of "break
2727         -source this file has spaces.c -line 3".
2728         Check that an explicit source file followed by whitespace is
2729         identified as an invalid explicit location.
2730
2731 2017-12-07  Keith Seitz  <keiths@redhat.com>
2732
2733         * gdb.cp/nested-types.cc: New file.
2734         * gdb.cp/nested-types.exp: New file.
2735         * lib/cp-support.exp: Load data-structures.exp library.
2736         (debug_cp_test_ptype_class): New global.
2737         (cp_ptype_class_verbose, next_line): New procedures.
2738         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2739         Add and document new return value.
2740         Switch the list of lines to a queue.
2741         Add support for new `type' key for nested type definitions.
2742         Add debugging/troubleshooting messages.
2743         * lib/data-structures.exp: New file.
2744
2745 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2746
2747         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2748         with proc_with_prefix, don't use with_test_prefix.
2749
2750 2017-12-07  Tom Tromey  <tom@tromey.com>
2751
2752         * gdb.base/break.exp: Add test for empty "commands".
2753
2754 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2755
2756         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2757         malloc and catch syscall.
2758
2759 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2760
2761        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2762         tests for explicit locations.
2763
2764 2017-12-06  Pedro Alves  <palves@redhat.com>
2765
2766         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2767         force-disabling XML descriptions.
2768
2769 2017-12-04  Pedro Alves  <palves@redhat.com>
2770
2771         PR gdb/22499
2772         * gdb.arch/amd64-disp-step-avx.S: New file.
2773         * gdb.arch/amd64-disp-step-avx.exp: New file.
2774
2775 2017-12-03  Pedro Alves  <palves@redhat.com>
2776
2777         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2778         and <string.h>.
2779         (parent_function): Print distinct messages when waitpid fails, or
2780         the child exits with a signal, or the child exits for an unhandled
2781         reason.
2782         * gdb.threads/process-dies-while-detaching.exp
2783         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2784         it.  Wait for both inferior output and GDB's prompt.  Use an
2785         indirect spawn id list.
2786         (do_detach): New parameter 'child_exit'.  Use it to compute
2787         expected inferior output.
2788         (test_detach, test_detach_watch, test_detach_killed_outside):
2789         Adjust to pass down the expected child exit kind.
2790
2791 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2792             Sergio Durigan Junior  <sergiodj@redhat.com>
2793             Pedro Alves  <palves@redhat.com>
2794
2795         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2796
2797 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2798
2799         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2800         to 'symbol-file' and 'add-symbol-file' can be
2801         position-independent.
2802
2803 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2804
2805         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2806         the URL in copyright header.
2807         * gdb.arch/aarch64-fp.exp: Likewise.
2808         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2809         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2810         * gdb.base/expand-psymtabs.exp: Likewise.
2811         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2812         * gdb.fortran/common-block.exp: Likewise.
2813         * gdb.fortran/common-block.f90: Likewise.
2814         * gdb.fortran/logical.exp: Likewise.
2815         * gdb.fortran/vla-datatypes.f90: Likewise.
2816         * gdb.fortran/vla-sub.f90: Likewise.
2817
2818 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2819
2820         * gdb.ada/repeat_dyn: New testcase.
2821
2822 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2823
2824         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2825         Update for changed thread numbering.
2826         * gdb.cell/bt.exp: Update for changed GDB output.
2827
2828 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2829
2830         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2831         setting isremote by hand.
2832         * boards/dwarf4-gdb-index.exp: Likewise.
2833         * boards/fission.exp: Likewise.
2834         * boards/stabs.exp: Likewise.
2835
2836 2017-11-30  Pedro Alves  <palves@redhat.com>
2837
2838         * gdb.linespec/cpls-ops.exp
2839         (check_explicit_skips_function_argument): Extract the underlying
2840         type of size_t instead of hardcoding it.
2841
2842 2017-11-29  Pedro Alves  <palves@redhat.com>
2843
2844         PR c++/19436
2845         * gdb.linespec/cpls-abi-tag.cc: New file.
2846         * gdb.linespec/cpls-abi-tag.exp: New file.
2847
2848 2017-11-29  Pedro Alves  <palves@redhat.com>
2849
2850         * gdb.base/langs.exp: Use -qualified.
2851         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2852         it.
2853         * gdb.cp/namespace.exp: Use -qualified.
2854         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2855         (overload-3, template-overload, template-ret-type, const-overload)
2856         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2857         procedures.
2858         (test_driver): Call them.
2859         * gdb.cp/save-bp-qualified.cc: New.
2860         * gdb.cp/save-bp-qualified.exp: New.
2861         * gdb.linespec/explicit.exp: Test -qualified.
2862         * lib/completion-support.exp (completion::explicit_opts_list): Add
2863         "-qualified".
2864         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2865
2866 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2867
2868         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2869
2870 2017-11-29  Tom Tromey  <tom@tromey.com>
2871
2872         * gdb.base/relocate.exp: Update invalid argument test.
2873         Add new tests for invalid arguments.
2874
2875 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2876
2877         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2878         Return 0 as a long.
2879         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2880
2881 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2882
2883         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2884         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2885         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2886         func ().
2887         * gdb.cp/shadow.cc (B.func): Return 0.
2888
2889 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2890
2891         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2892         expected output in gdb_expect call to allow the exception
2893         message to be present as well.  Fix syntax confusion to avoid
2894         TCL thinking that exception_name is an array.
2895
2896 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2897
2898         * gdb.arch/spu-info.c: Include <unistd.h>.
2899         (do_signal_test): Fix broken calls to write.
2900         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2901         Fix checks for empty mailboxes.  Update signal tests for corrected
2902         do_signal_test routine.  Allow nonzero event status.
2903         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2904         * gdb.cell/arch.exp: Use standard_output_file.
2905         * gdb.cell/break.exp: Likewise.
2906         * gdb.cell/bt.exp: Likewise.
2907         * gdb.cell/core.exp: Likewise.
2908         * gdb.cell/dwarfaddr.exp: Likewise.
2909         * gdb.cell/ea-cache.exp: Likewise.
2910         * gdb.cell/ea-standalone.exp: Likewise.
2911         * gdb.cell/f-regs.exp: Likewise.
2912         * gdb.cell/fork.exp: Likewise.
2913         * gdb.cell/gcore.exp: Likewise.
2914         * gdb.cell/mem-access.exp: Likewise.
2915         * gdb.cell/ptype.exp: Likewise.
2916         * gdb.cell/registers.exp: Likewise.
2917         * gdb.cell/sizeof.exp: Likewise.
2918         * gdb.cell/solib-symbol.exp: Likewise.
2919         * gdb.cell/solib.exp: Likewise.
2920
2921 2017-11-25   Pedro Alves  <palves@redhat.com>
2922
2923         * gdb.base/complete-empty.exp: New file.
2924         * gdb.base/completion.exp: Adjust.
2925
2926 2017-11-25  Pedro Alves  <palves@redhat.com>
2927
2928         * gdb.linespec/cpls-ops.cc: New file.
2929         * gdb.linespec/cpls-ops.exp: New file.
2930         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2931         factored out from ...
2932         (test_complete_prefix_range): ... this.
2933
2934 2017-11-24  Pedro Alves  <palves@redhat.com>
2935
2936         * gdb.linespec/cpcompletion.exp: New file.
2937         * gdb.linespec/cpls-hyphen.cc: New file.
2938         * gdb.linespec/cpls.cc: New file.
2939         * gdb.linespec/cpls2.cc: New file.
2940         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2941         test to use test_gdb_complete_unique.  Add label completion,
2942         keyword completion and explicit location completion tests.
2943         * lib/completion-support.exp: New file.
2944
2945 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2946
2947         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2948         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2949         when hitting an exception catchpoint.
2950
2951 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2952
2953         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2954
2955 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2956
2957         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2958         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2959         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2960
2961 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2962
2963         * gdb.base/info-os.exp: Pass pthreads.
2964         * gdb.multi/multi-attach.exp: Likewise.
2965
2966 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2967
2968         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2969         compiler.
2970
2971 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2972
2973         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2974         * gdb.base/break-interp.exp: Likewise.
2975         * gdb.base/jit-attach-pie.exp: Likewise.
2976
2977 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2978
2979         * gdb.base/float128.c (large128): New variable.
2980         * gdb.base/float128.exp: Add test to print largest __float128 value.
2981
2982 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2983
2984         * gdb.arch/vsx-regs.exp: Update register content checks.
2985
2986 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2987
2988         * gdb.arch/ppc-longdouble.exp: New file.
2989         * gdb.arch/ppc-longdouble.c: Likewise.
2990
2991 2017-11-21  Pedro Alves  <palves@redhat.com>
2992
2993         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2994
2995 2017-11-20  Pedro Alves  <palves@redhat.com>
2996
2997         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2998         (long_double_typedef): New typedefs.
2999         Use DEF on double and long double.
3000         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3001         cases.
3002         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3003         and 'long_double_ptr_same_size' locals.  Use them to decide
3004         whether cast from array/function to float is valid/invalid.
3005
3006 2017-11-17  Tom Tromey  <tom@tromey.com>
3007
3008         * gdb.rust/traits.rs: New file.
3009         * gdb.rust/traits.exp: New file.
3010
3011 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
3012
3013         * gdb.ada/minsyms: New testcase.
3014
3015 2017-11-16  Pedro Alves  <palves@redhat.com>
3016
3017         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3018         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3019
3020 2017-11-16  Pedro Alves  <palves@redhat.com>
3021
3022         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3023         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3024
3025 2017-11-16  Pedro Alves  <palves@redhat.com>
3026
3027         * gdb.server/reconnect-ctrl-c.c: New file.
3028         * gdb.server/reconnect-ctrl-c.exp: New file.
3029
3030 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
3031
3032         * gdb.python/py-rbreak.exp: New file.
3033         * gdb.python/py-rbreak.c: New file.
3034         * gdb.python/py-rbreak-func2.c: New file.
3035
3036 2017-11-16  Pedro Alves  <palves@redhat.com>
3037
3038         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3039         pattern.
3040         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3041         GDB.
3042
3043 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
3044
3045         * gdb.tui/completionn.exp (test_tab_completion): Add space in
3046         regex.
3047
3048 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
3049
3050         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3051         test names.
3052
3053 2017-11-09  Pedro Alves  <palves@redhat.com>
3054
3055         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3056         factored out from ...
3057         (top level): ... here, and adjusted to avoid expecting beyond the
3058         prompt in a single gdb_test_multiple.
3059
3060 2017-11-09  Pedro Alves  <palves@redhat.com>
3061
3062         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3063         output.
3064         * gdb.server/ext-attach.exp ("kill" test): Likewise.
3065         * gdb.server/ext-restart.exp ("kill" test): Likewise.
3066         * gdb.server/ext-run.exp ("kill" test): Likewise.
3067         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3068
3069 2017-11-09  Pedro Alves  <palves@redhat.com>
3070
3071         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3072         match till end of line.
3073
3074 2017-11-09  Pedro Alves  <palves@redhat.com>
3075
3076         * gdb.base/memattr.exp: Tighten regexes to match the end line.
3077
3078 2017-11-09  Pedro Alves  <palves@redhat.com>
3079
3080         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3081         New procedures, factored out from ...
3082         (top level): ... here, and adjusted to avoid expecting beyond the
3083         prompt in one go.
3084
3085 2017-11-09  Pedro Alves  <palves@redhat.com>
3086
3087         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3088         output.  Fix '?' match.
3089
3090 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
3091
3092         * gdb.ada/scoped_watch: New testcase.
3093         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3094         which is actually correct.
3095         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3096         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3097
3098 2017-11-08  Pedro Alves  <palves@redhat.com>
3099
3100         * gdb.gdb/complaints.exp (test_initial_complaints)
3101         (test_serial_complaints, test_short_complaints): Call
3102         complaint_internal instead of complaint.
3103
3104 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
3105
3106         * gdb.threads/tls-core.c: New file.
3107         * gdb.threads/tls-core.exp: Likewise.
3108
3109 2017-11-08   Pedro Alves  <palves@redhat.com>
3110
3111         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3112         (p Exported_Capitalized): New test.
3113         (p exported_capitalized): New test.
3114
3115 2017-11-07  Pedro Alves  <palves@redhat.com>
3116
3117         * gdb.cp/ena-dis-br-range.exp: Add more tests.
3118
3119 2017-11-07  Pedro Alves  <palves@redhat.com>
3120
3121         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3122         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3123         (disable_invalid, disable_inverted, disable_negative): New
3124         procedures.
3125         ("bad numbers"): New set of tests.
3126
3127 2017-11-07  Pedro Alves  <palves@redhat.com>
3128
3129         * gdb.cp/ena-dis-br-range.exp: Add tests.
3130
3131 2017-11-07  Pedro Alves  <palves@redhat.com>
3132
3133         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3134
3135 2017-11-07  Xavier Roirand  <roirand@adacore.com>
3136             Pedro Alves  <palves@redhat.com>
3137
3138         * gdb.base/ena-dis-br.exp: Add reference to
3139         gdb.cp/ena-dis-br-range.exp.
3140         * gdb.cp/ena-dis-br-range.exp: New file.
3141         * gdb.cp/ena-dis-br-range.cc: New file.
3142
3143 2017-11-06  Pedro Alves  <palves@redhat.com>
3144
3145         * gdb.base/attach-non-pgrp-leader.c: New.
3146         * gdb.base/attach-non-pgrp-leader.exp: New.
3147
3148 2017-11-06  Pedro Alves  <palves@redhat.com>
3149
3150         * configure.ac: No longer check for termio.h and sgtty.h.
3151         * configure: Regenerate.
3152         * remote-utils.c: Include termios.h instead of gdb_termios.h.
3153         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3154         Remove termio and sgtty code.
3155
3156 2017-11-03  Yao Qi  <yao.qi@linaro.org>
3157
3158         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3159         in GDB is disabled.
3160
3161 2017-11-03  Yao Qi  <yao.qi@linaro.org>
3162
3163         * gdb.python/py-thrhandle.exp: Skip it if python is not
3164         enabled.
3165
3166 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
3167
3168         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3169         as a breakpoint command.
3170
3171 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
3172
3173         PR python/21213
3174         * gdb.python/py-infthread.exp: Test calling
3175         InferiorThread.inferior () multiple times in a row.
3176
3177 2017-10-27  Keith Seitz  <keiths@redhat.com>
3178
3179         * gdb.opt/inline-break.exp (break_info_1): New procedure.
3180         Test "info break" for every inlined function breakpoint.
3181
3182 2017-10-27  Yao Qi  <yao.qi@linaro.org>
3183
3184         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3185
3186 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
3187
3188         * gdb.cp/classes.exp (test_static_members): Test printing
3189         Outer::instance.
3190         * gdb.cp/classes.c (struct Inner, struct Outer): New.
3191         (Inner::instance, Outer::instance): New.
3192
3193 2017-10-24  Pedro Alves  <palves@redhat.com>
3194
3195         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3196         extra console" test in two stages.
3197
3198 2017-10-24  Pedro Alves  <palves@redhat.com>
3199
3200         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3201
3202 2017-10-24  Pedro Alves  <palves@redhat.com>
3203
3204         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3205         loop.
3206
3207 2017-10-24  Pedro Alves  <palves@redhat.com>
3208
3209         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3210         $attempt" and "stoppedtry $stoppedtry" test prefixes.
3211
3212 2017-10-24  Pedro Alves  <palves@redhat.com>
3213
3214         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3215         parameter and handle it.  Don't output read value in test name.
3216
3217 2017-10-24  Pedro Alves  <palves@redhat.com>
3218
3219         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3220         custom test name.
3221
3222 2017-10-24  Pedro Alves  <palves@redhat.com>
3223
3224         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3225         include the unstable output directory name in the test's name.
3226         (initial_setup_simple) <'set args'>: Use custom test name.
3227
3228 2017-10-24  Pedro Alves  <palves@redhat.com>
3229
3230         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3231         with explicit test name.
3232
3233 2017-10-20  Pedro Alves  <palves@redhat.com>
3234
3235         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3236         'wait -i'.  Use gdb_assert and remote_close.
3237
3238 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
3239
3240         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3241         number from variable rather than hard-coded.
3242
3243 2017-10-19  Pedro Alves  <palves@redhat.com>
3244
3245         * gdb.base/long-inferior-output.c: New file.
3246         * gdb.base/long-inferior-output.exp: New file.
3247
3248 2017-11-18  Keith Seitz  <keiths@redhat.com>
3249
3250         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3251         method.
3252         (main): Call it.
3253         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3254         Add additional user-defined conversion operator tests.
3255
3256 2017-10-17  Pedro Alves  <palves@redhat.com>
3257
3258         * boards/native-stdio-gdbserver.exp: Load "local-board".
3259
3260 2017-10-17  Pedro Alves  <palves@redhat.com>
3261
3262         * gdb.base/quit-live.c: New file.
3263         * gdb.base/quit-live.exp: New file.
3264
3265 2017-10-16  Keith Seitz  <keiths@redhat.com>
3266
3267         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3268         (class_with_protected_typedef, class_with_private_typedef)
3269         (struct_with_public_typedef, struct_with_protected_typedef)
3270         (struct_with_private_typedef): New classes/structs.
3271         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3272         typedefs and access specifiers.
3273
3274 2017-10-16  Pedro Alves  <palves@redhat.com>
3275             Simon Marchi  <simon.marchi@polymtl.ca>
3276
3277         * README (Local vs Remote vs Native): New section.
3278         * boards/local-board.exp: New file, with bits factored out from
3279         ...
3280         * boards/native-extended-gdbserver.exp: ... here.  Load
3281         "local-board".
3282         * boards/native-gdbserver.exp: Load "local-board".
3283         (${board}_spawn, ${board}_exec): Delete.
3284         * boards/native-stdio-gdbserver.exp: Most contents factored out to
3285         ...
3286         * boards/stdio-gdbserver-base.exp: ... this new file.
3287         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3288         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3289         procedure.
3290         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3291         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3292         stdio_gdbserver_command.
3293         (${board}_get_remote_address, ${board}_get_comm_port)
3294         (${board}_download, ${board}_upload): Delete.
3295         (get_target_remote_pipe_cmd): New.
3296
3297 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3298
3299         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3300         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3301         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3302         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3303         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3304         remove with_test_prefix.
3305
3306 2017-10-13  Pedro Alves  <palves@redhat.com>
3307
3308         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3309         * gdb.base/annota1.exp: Use it instead of is_remote.
3310         * gdb.base/annota3.exp: Use it instead of is_remote.
3311         * gdb.cp/annota2.exp: Use it instead of is_remote.
3312         * gdb.cp/annota3.exp: Use it instead of is_remote.
3313         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3314
3315 2017-10-13  Pedro Alves  <palves@redhat.com>
3316
3317         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3318         (test_num_test_vars, run_and_count_vars, find_env)
3319         (test_set_unset_env, test_inherit_env_var): New procedures.
3320         (top level): Use them.
3321
3322 2017-10-13  Pedro Alves  <palves@redhat.com>
3323
3324         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3325         also skip on stub-like targets.
3326
3327 2017-10-13  Pedro Alves  <palves@redhat.com>
3328
3329         PR gdb/22293
3330         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3331         (top level): Move some tests to ...
3332         (test_not_found): ... this new procedure.
3333         (top level): Call it.
3334
3335 2017-10-13  Pedro Alves  <palves@redhat.com>
3336
3337         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3338         expect different "info terminal" output if testing with a
3339         non-native target.
3340
3341 2017-10-13  Pedro Alves  <palves@redhat.com>
3342             Simon Marchi  <simon.marchi@polymtl.ca>
3343
3344         PR python/12966
3345         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3346
3347 2017-10-13  Pedro Alves  <palves@redhat.com>
3348
3349         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3350         already.
3351
3352 2017-10-13  Pedro Alves  <palves@redhat.com>
3353
3354         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3355         is_remote.
3356
3357 2017-10-13  Pedro Alves  <palves@redhat.com>
3358
3359         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3360         is_remote.
3361
3362 2017-10-13  Pedro Alves  <palves@redhat.com>
3363
3364         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3365         is set.
3366         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3367         instead of is_remote.
3368
3369 2017-10-13  Pedro Alves  <palves@redhat.com>
3370
3371         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3372         (top level): Add comment.
3373
3374 2017-10-13  Pedro Alves  <palves@redhat.com>
3375
3376         * gdb.base/remote.exp (top level): Fix comment typo and add
3377         missing return.
3378
3379 2017-10-13  Pedro Alves  <palves@redhat.com>
3380             Simon Marchi  <simon.marchi@polymtl.ca>
3381
3382         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3383         calls and add comments.  Skip test if use_gdb_stub is set.
3384         (top level): Use "set cwd" command instead of "cd" command.
3385
3386 2017-10-13  Pedro Alves  <palves@redhat.com>
3387
3388         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3389         is_remote target check.
3390
3391 2017-10-13  Pedro Alves  <palves@redhat.com>
3392
3393         * gdb.base/scope.exp: Use build_executable + clean_restart +
3394         gdb_file_cmd instead of prepare_for_testing and no longer skip
3395         "before run" tests on is_remote target boards.  Update comments.
3396         * boards/native-extended-gdbserver.exp
3397         (extended_gdbserver_load_last_file): New, factored out from ...
3398         (gdb_load): ... this.  Move further below and add comment.
3399         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3400
3401 2017-10-12  Pedro Alves  <palves@redhat.com>
3402
3403         * gdb.base/attach.exp: Remove references to gdb64.
3404         * gdb.base/dbx.exp: Remove references to gdb64.
3405
3406 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3407             Pedro Alves  <palves@redhat.com>
3408
3409         * gdb.base/label.exp: Remove is_remote target check.
3410
3411 2017-10-12  Pedro Alves  <palves@redhat.com>
3412
3413         * gdb.base/auvx.exp (coredir): Update comment.
3414         (top level) <core_works>: Use "set cwd" command instead of "cd"
3415         command.
3416
3417 2017-10-12  Pedro Alves  <palves@redhat.com>
3418             Simon Marchi  <simon.marchi@polymtl.ca>
3419
3420         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3421         target boards.
3422
3423 2017-10-12  Pedro Alves  <palves@redhat.com>
3424             Simon Marchi  <simon.marchi@polymtl.ca>
3425
3426         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3427         Instead skip if there's any gdb_protocol set.
3428
3429 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3430             Pedro Alves  <palves@redhat.com>
3431
3432         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3433
3434 2017-10-12  Pedro Alves  <palves@redhat.com>
3435             Simon Marchi  <simon.marchi@polymtl.ca>
3436
3437         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3438         instead of on dejagnu remote boards.
3439
3440 2017-10-12  Pedro Alves  <palves@redhat.com>
3441             Simon Marchi  <simon.marchi@polymtl.ca>
3442
3443         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3444         checks.  Use build_executable + clean_restart instead of
3445         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3446         of enabling non-stop after starting gdb.
3447
3448 2017-10-12  Pedro Alves  <palves@redhat.com>
3449
3450         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3451         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3452         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3453         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3454
3455 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3456
3457         * gdb.arch/arc-tdesc-cpu.exp: New file.
3458         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3459
3460 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3461
3462         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3463
3464 2017-10-10  Pedro Alves <palves@redhat.com>
3465
3466         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3467         expect CLI output.
3468
3469 2017-10-10  Pedro Alves  <palves@redhat.com>
3470
3471         * lib/selftest-support.exp (selftest_setup): Update for
3472         captured_command_loop's prototype change.
3473
3474 2017-10-09  Pedro Alves  <palves@redhat.com>
3475
3476         Test both arch1=>arch2 and arch2=>arch1.
3477
3478         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3479         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3480         factored out to...
3481         (append_arch1_options, append_arch2_options, append_arch_options)
3482         (build_executables): New procedures.
3483         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3484         local.
3485         (top level): Add new 'first_arch' testing axis.
3486
3487 2017-10-09  Pedro Alves  <palves@redhat.com>
3488
3489         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3490         (barrier): New.
3491         (thread_start, all_started): New functions.
3492         (main): Spawn new thread and wait until it is scheduled.
3493         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3494         option.
3495         (do_test): Add 'selected_thread' parameter.  Run to all_started
3496         instead of main.  Explicitly set the breakpoint at main.  Switch
3497         to the SELECTED_THREAD thread.
3498         (top level): Test handling the exec event with either the main
3499         thread or the second thread selected.
3500
3501 2017-10-09  Pedro Alves  <palves@redhat.com>
3502
3503         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3504         logic.  Move STOP marker after the value checks.
3505         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3506         regexp.
3507
3508 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3509
3510         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3511
3512 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3513
3514         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3515         integer-to-dfp conversion.
3516         * gdb.base/dfp-test.exp: Likewise.
3517
3518 2017-10-04  Pedro Alves  <palves@redhat.com>
3519
3520         * gdb.multi/hangout.c: Include <unistd.h>.
3521         (hangout_loop): New function.
3522         (main): Call alarm.  Call hangout_loop in a loop.
3523         * gdb.multi/hello.c: Include <unistd.h>.
3524         (hello_loop): New function.
3525         (main): Call alarm.  Call hangout_loop in a loop.
3526         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3527         inferior with the other selected.
3528
3529 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3530
3531         * gdb.mi/list-thread-groups-available.exp: New file.
3532         * gdb.mi/list-thread-groups-available.c: New file.
3533
3534 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3535
3536         * gdb.base/set-cwd.exp: Make it available on
3537         native-extended-gdbserver.
3538
3539 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3540
3541         * gdb.base/set-cwd.c: New file.
3542         * gdb.base/set-cwd.exp: Likewise.
3543
3544 2017-10-02  Tom Tromey  <tom@tromey.com>
3545
3546         PR rust/22236:
3547         * gdb.rust/simple.rs (main): New variable "fslice".
3548         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3549
3550 2017-10-02  Tom Tromey  <tom@tromey.com>
3551
3552         * gdb.rust/simple.exp: Test ptype of a slice.
3553
3554 2017-10-02  Tom Tromey  <tom@tromey.com>
3555
3556         * gdb.rust/simple.exp: Test index of slice.
3557
3558 2017-09-27  Tom Tromey  <tom@tromey.com>
3559
3560         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3561
3562 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3563             Pedro Alves  <palves@redhat.com>
3564
3565         * gdb.base/compare-sections.exp (get value of read-only section): Read
3566         as unsigned value.
3567         (corrupt read-only section): Likewise and don't set written if patching
3568         failed.
3569
3570 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3571
3572         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3573         files.
3574
3575 2017-09-20  Pedro Alves  <palves@redhat.com>
3576
3577         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3578         symbol names in gdb's output.
3579         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3580
3581 2017-09-20  Pedro Alves  <palves@redhat.com>
3582
3583         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3584         Rename to ...
3585         (test_list_ambiguous_symbol): ... this and add a symbol name
3586         parameter.  Adjust.
3587         (test_list_ambiguous_function): Reimplement on top of
3588         test_list_ambiguous_symbol and also test listing ambiguous
3589         variables.
3590         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3591         (ambiguous_fun): ... this.
3592         (ambiguous_var): New.
3593         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3594         (ambiguous_fun): ... this.
3595         (ambiguous_var): New.
3596
3597 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3598
3599         * gdb.base/starti.c: New file.
3600         * gdb.base/starti.exp: New file.
3601         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3602
3603 2017-09-14  Pedro Alves  <palves@redhat.com>
3604
3605         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3606         (top level): Use it instead of runto.
3607
3608 2017-09-11  Tom Tromey  <tom@tromey.com>
3609
3610         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3611
3612 2017-09-11  Tom Tromey  <tom@tromey.com>
3613
3614         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3615         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3616
3617 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3618
3619         * gdb.fortran/printing-types.exp: New file.
3620         * gdb.fortran/printing-types.exp: New file.
3621
3622 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3623
3624         * gdb.fortran/vla-ptype.exp: Fix typos.
3625         * gdb.fortran/vla-value.exp: Same.
3626
3627 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3628
3629         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3630         * gdb.mi/mi-var-child-f.exp: Likewise.
3631         * gdb.mi/mi-vla-fortran.exp: Likewise.
3632
3633 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3634             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3635             Bernhard Heckel  <bernhard.heckel@intel.com>
3636
3637         * gdb.fortran/ptr-indentation.f90: New file.
3638         * gdb.fortran/ptr-indentation.exp: New file.
3639
3640 2017-09-05  Tom Tromey  <tom@tromey.com>
3641
3642         PR gdb/22010:
3643         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3644
3645 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3646
3647         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3648
3649 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3650
3651         * gdb.threads/tls-nodebug-pie.c: New file.
3652         * gdb.threads/tls-nodebug-pie.exp: New file.
3653
3654 2017-09-05  Tom Tromey  <tom@tromey.com>
3655
3656         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3657         for rust.
3658
3659 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3660
3661         * gdb.multi/multi-arch-exec.exp: Test with different
3662         "follow-exec-mode" settings.
3663         (do_test): New procedure.
3664
3665 2017-09-04  Pedro Alves  <palves@redhat.com>
3666
3667         * gdb.base/func-static.c (S::method const, S::method volatile)
3668         (S::method volatile const): New methods.
3669         (c_s, v_s, cv_s): New instances.
3670         (main): Call method() on them.
3671         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3672         (cannot_resolve): New procedure.
3673         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3674         print-quote-unquoted columns.
3675         (do_test): Test printing each scope too.
3676
3677 2017-09-04  Pedro Alves  <palves@redhat.com>
3678
3679         * gdb.base/local-static.exp: Also test with
3680         class::method::variable wholly quoted.
3681         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3682
3683 2017-09-04  Pedro Alves  <palves@redhat.com>
3684
3685         * gdb.base/local-static.c: New.
3686         * gdb.base/local-static.cc: New.
3687         * gdb.base/local-static.exp:  New.
3688
3689 2017-09-04  Pedro Alves  <palves@redhat.com>
3690
3691         * gdb.asm/asm-source.exp: Add casts to int.
3692         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3693         (dataglobal64_1, dataglobal64_2): New globals.
3694         * gdb.base/nodebug.exp: Test different expressions involving the
3695         new globals, with print, whatis and ptype.  Add casts to int.
3696         * gdb.base/solib-display.exp: Add casts to int.
3697         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3698         * gdb.cp/m-static.exp: Add cast to int.
3699         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3700         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3701         tls variable with no debug info without a cast.  Test with a cast
3702         to int too.
3703         * gdb.trace/entry-values.exp: Add casts.
3704
3705 2017-09-04  Pedro Alves  <palves@redhat.com>
3706
3707         * gdb.base/nodebug.exp: Test that ptype's error about functions
3708         with unknown return type includes the function name too.
3709
3710 2017-09-04  Pedro Alves  <palves@redhat.com>
3711
3712         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3713         return type of munmap in infcall.
3714         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3715         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3716         type of ftell in infcall.
3717         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3718         type of getpid in infcall.
3719         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3720         infcall.
3721         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3722         Bail on failure to extract the pid.
3723         * gdb.base/nodebug.c: #include <stdint.h>.
3724         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3725         New functions.
3726         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3727         Change expected output of print/whatis/ptype with functions with
3728         no debug info.  Test all supported languages.  Call
3729         test_call_promotion.
3730         * gdb.compile/compile.exp: Adjust expected output to expect
3731         warning.
3732         * gdb.threads/siginfo-threads.exp: Likewise.
3733
3734 2017-09-04  Pedro Alves  <palves@redhat.com>
3735
3736         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3737         "prototypes".  Test calling float functions via prototyped and
3738         unprototyped function pointers.
3739         (perform_all_tests): New parameter "prototypes".  Pass it down.
3740         (top level): Pass down "prototypes" parameter to
3741         perform_all_tests.
3742
3743 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3744
3745         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3746         Test with nested loops.
3747
3748 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3749
3750         * gdb.base/commands.exp: Call the new procedures.
3751         (loop_break_test, loop_continue_test): New procedures.
3752
3753 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3754
3755         * gdb.base/commands.exp: Call new procedure.
3756         (define_if_without_arg_test): New procedure.
3757
3758 2017-09-04  Pedro Alves  <palves@redhat.com>
3759
3760         * gdb.base/list-ambiguous.exp: New file.
3761         * gdb.base/list-ambiguous0.c: New file.
3762         * gdb.base/list-ambiguous1.c: New file.
3763         * gdb.base/list.exp (test_list_range): Adjust expected output.
3764
3765 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3766
3767         * gdb.base/share-env-with-gdbserver.c: New file.
3768         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3769
3770 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3771
3772         * gdb.base/commands.exp (gdbvar_simple_if_test,
3773         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3774         progvar_simple_if_test, progvar_simple_while_test,
3775         progvar_complex_if_while_test, user_defined_command_test,
3776         user_defined_command_args_eval,
3777         user_defined_command_args_stack_test,
3778         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3779         temporary_breakpoint_commands,
3780         gdb_test_no_prompt, redefine_hook_test,
3781         redefine_backtrace_test): Remove "global gdb_prompt".
3782
3783 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3784
3785         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3786         New proc, call it from toplevel.
3787
3788 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3789
3790         PR remote/21852
3791         * gdb.server/normal.c: New file, copied from gdb.base.
3792         * gdb.server/run-without-local-binary.exp: New file.
3793
3794 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3795
3796         * gdb.arch/sparc64-adi.exp: New file.
3797         * gdb.arch/sparc64-adi.c: New file.
3798
3799 2017-08-22  Pedro Alves  <palves@redhat.com>
3800
3801         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3802         (top level): Add "list all overloads" tests.
3803
3804 2017-08-22  Tom Tromey  <tom@tromey.com>
3805
3806         * gdb.gdb/xfullpath.exp: Remove.
3807
3808 2017-08-21  Pedro Alves  <palves@redhat.com>
3809
3810         PR gdb/19487
3811         * gdb.base/symbol-alias.c: New.
3812         * gdb.base/symbol-alias2.c: New.
3813         * gdb.base/symbol-alias.exp: New.
3814
3815 2017-08-21  Pedro Alves  <palves@redhat.com>
3816
3817         * gdb.base/dfp-test.c
3818         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3819         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3820         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3821         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3822         * gdb.base/whatis-ptype-typedefs.c: New.
3823         * gdb.base/whatis-ptype-typedefs.exp: New.
3824         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3825         (an_int, an_int_type, an_int_type2): New globals.
3826         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3827         involving typedefs and cast expressions.
3828         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3829         (lookup_typedefs_function): New.
3830         (typedefs_pretty_printers_dict): New.
3831         (top level): Register lookup_typedefs_function in
3832         gdb.pretty_printers.
3833
3834 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3835
3836         * gdb.server/unittest.exp: New.
3837
3838 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3839
3840         PR gdb/21954
3841         * gdb.base/environ.exp: Add test to check if 'unset environment'
3842         works.
3843
3844 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3845
3846         * lib/gdb.exp (universal_compile_options): New caching proc.
3847         (gdb_compile): Suppress GCC's coloring of messages.
3848
3849 2017-08-14  Tom Tromey  <tom@tromey.com>
3850
3851         PR gdb/21675:
3852         * gdb.base/printcmds.exp (test_radices): New function.
3853         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3854         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3855         * lib/gdb.exp (get_integer_valueof): Use p/d.
3856
3857 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3858
3859         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3860         characters.
3861
3862 2017-08-05  Tom Tromey  <tom@tromey.com>
3863
3864         * gdb.rust/simple.exp: Allow String to appear in a different
3865         namespace.
3866
3867 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3868
3869         * gdb.gdb/unittest.exp: Invoke command
3870         "maintenance check xml-descriptions".
3871
3872 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3873
3874         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3875         calling context.
3876         (hex128): Drop erroneous calculation of parameters.
3877
3878 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3879
3880         * gdb.python/py-unwind.exp: Disable stack protection when
3881         building test file.
3882
3883 2017-07-20  Pedro Alves  <palves@redhat.com>
3884
3885         * gdb.base/default.exp (set language): Adjust expected output.
3886
3887 2017-07-20  Pedro Alves  <palves@redhat.com>
3888
3889         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3890         (test_minsym): ... this, and make static.
3891         (get_pck__foo__bar__minsym): Rename to ...
3892         (get_test_minsym): ... this.
3893         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3894         symbol names and comments.
3895         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3896         (get_test_minsym): ... this.
3897         (pck__foo__bar__minsym__2): Rename to ...
3898         (test_minsym): ... this.
3899         (main): Adjust.
3900
3901 2017-07-17  Pedro Alves  <palves@redhat.com>
3902
3903         * gdb.base/completion.exp: Adjust expected output.
3904         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3905         the completer works.
3906
3907 2017-07-17  Pedro Alves  <palves@redhat.com>
3908
3909         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3910
3911 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3912
3913         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3914
3915 2017-07-14  Tom Tromey  <tom@tromey.com>
3916
3917         PR rust/21764:
3918         * gdb.rust/simple.exp: Add tests.
3919
3920 2017-07-14  Tom Tromey  <tom@tromey.com>
3921
3922         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3923
3924 2017-07-14  Pedro Alves  <palves@redhat.com>
3925
3926         * gdb.linespec/base/one/thefile.cc (z1): New function.
3927         * gdb.linespec/base/two/thefile.cc (z2): New function.
3928         * gdb.linespec/linespec.exp: Add tests.
3929
3930 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3931
3932         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3933         to mi_create_breakpoint.
3934
3935 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3936
3937         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3938         mi_create_breakpoint.
3939
3940 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3941
3942         * gdb.dlang/demangle.exp: Update for demangling changes.
3943
3944 2017-07-09  Tom Tromey  <tom@tromey.com>
3945
3946         * gdb.dwarf2/shortpiece.exp: New file.
3947
3948 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3949
3950         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3951         built from fissiont-multi-cu{1,2}.c.
3952         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3953         except putting 'main' and 'func' in separate CUs in the same DWO file.
3954         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3955         test.
3956         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3957         test.
3958
3959 2017-07-06  Pedro Alves  <palves@redhat.com>
3960
3961         * gdb.python/py-unwind.exp: Test flushregs.
3962
3963 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3964
3965         PR cli/21688
3966         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3967         tests for alias commands and trailing whitespace.
3968
3969 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3970
3971         PR cli/21688
3972         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3973         procedure.  Call it.
3974
3975 2017-06-29  Pedro Alves  <palves@redhat.com>
3976
3977         * gdb.base/printcmds.exp: Add tests.
3978
3979 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3980
3981         PR gdb/21337
3982         * gdb.base/reread-readsym.exp: New file.
3983         * gdb.base/reread-readsym.c: New file.
3984
3985 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3986
3987         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3988         subpattern.
3989
3990 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3991
3992         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3993         extended mnemonic.
3994         * gdb.arch/powerpc-power9.s: Likewise.
3995
3996 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3997
3998         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3999         on 32-bit x86 targets.  Exploit is_*_target macros where
4000         appropriate.
4001
4002 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4003
4004         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4005         register pieces.
4006
4007 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4008
4009         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4010         located in one or more DWARF pieces.
4011
4012 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4013
4014         * lib/gdb.exp (get_endianness): New proc.
4015         * gdb.arch/aarch64-fp.exp: Use it.
4016         * gdb.arch/altivec-regs.exp: Likewise.
4017         * gdb.arch/e500-regs.exp: Likewise.
4018         * gdb.arch/vsx-regs.exp: Likewise.
4019         * gdb.base/dump.exp: Likewise.
4020         * gdb.base/funcargs.exp: Likewise.
4021         * gdb.base/gnu_vector.exp: Likewise.
4022         * gdb.dwarf2/formdata16.exp: Likewise.
4023         * gdb.dwarf2/implptrpiece.exp: Likewise.
4024         * gdb.dwarf2/nonvar-access.exp: Likewise.
4025         * gdb.python/py-inferior.exp: Likewise.
4026         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4027
4028 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4029
4030         PR gdb/21226
4031         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4032         stack value pieces are taken from the LSB end.
4033
4034 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4035
4036         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4037         variable at nonzero offset.
4038
4039 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4040
4041         * gdb.dwarf2/var-access.c: New file.
4042         * gdb.dwarf2/var-access.exp: New test.
4043         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4044
4045 2017-06-12  Tom Tromey  <tom@tromey.com>
4046
4047         * gdb.dwarf2/formdata16.exp: Add tests.
4048
4049 2017-06-12  Tom Tromey  <tom@tromey.com>
4050
4051         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4052
4053 2017-06-12  Tom Tromey  <tom@tromey.com>
4054
4055         PR exp/16225:
4056         * gdb.reverse/i386-sse-reverse.exp: Update tests.
4057         * gdb.arch/vsx-regs.exp: Update tests.
4058         * gdb.arch/s390-vregs.exp (hex128): New proc.
4059         Update test.
4060         * gdb.arch/altivec-regs.exp: Update tests.
4061
4062 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
4063
4064         * gdb.base/startup-with-shell.c: New file.
4065         * gdb.base/startup-with-shell.exp: Likewise.
4066
4067 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
4068
4069         * gdb.server/non-existing-program.exp: Update regex in order to
4070         reflect the fact that gdbserver is now using fork_inferior (with a
4071         shell) to startup the inferior.
4072
4073 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
4074
4075         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4076         support function calls from GDB.
4077
4078 2017-05-21  Tom Tromey  <tom@tromey.com>
4079
4080         PR rust/21466:
4081         * gdb.rust/unsized.exp: New file.
4082         * gdb.rust/unsized.rs: New file.
4083
4084 2017-05-19  Tom Tromey  <tom@tromey.com>
4085
4086         PR rust/21484:
4087         * gdb.rust/watch.exp: New file.
4088         * gdb.rust/watch.rs: New file.
4089
4090 2017-05-18  Tom Tromey  <tom@tromey.com>
4091
4092         * gdb.rust/simple.exp: Allow Box to be qualified.
4093
4094 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4095
4096         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4097
4098 2017-05-18  Pedro Alves  <palves@redhat.com>
4099
4100         * gdb.base/fileio.c (test_write, test_read, test_close)
4101         (test_fstat): Don't print 'ret' in the fail path.
4102
4103 2017-05-18  Pedro Alves  <palves@redhat.com>
4104
4105         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4106         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4107         (test_system, test_rename, test_unlink, test_time): Change
4108         prototypes.
4109         * gdb.base/fileio.exp (stop_msg): Adjust.
4110
4111 2017-05-18  Pedro Alves  <palves@redhat.com>
4112
4113         * gdb.base/fileio.c (null_str): New global.
4114         (test_stat): Use it.
4115         * gdb.base/fileio.exp: Remove nowarnings.
4116
4117 2017-05-17  Yao Qi  <yao.qi@linaro.org>
4118
4119         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4120
4121 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
4122
4123         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4124         argument command.
4125         (top-level): Invoke test_set_inferior_tty.
4126
4127 2017-05-04  Pedro Alves  <palves@redhat.com>
4128
4129         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4130         Add parens to print call for Python 3.
4131
4132 2017-05-03  Keith Seitz  <keiths@redhat.com>
4133
4134         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4135         (main): Call it.
4136
4137 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4138
4139         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4140         to prev and next.
4141
4142 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4143
4144         * gdb.python/py-record-btrace.exp: Remove test for
4145         gdb.BtraceInstruction.error.
4146
4147 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4148
4149         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4150
4151 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
4152
4153         * gdb.python/py-record-btrace-threads.c: New file.
4154         * gdb.python/py-record-btrace-threads.exp: New file.
4155
4156 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
4157
4158         PR testsuite/8595
4159         * gdb.base/environ.exp: Make test available in all architectures.
4160         Move bits related to "info program" testing to
4161         gdb.base/info-program.exp.  Rewrite tests to use the two new
4162         procedures mentione below.
4163         (test_set_show_env_var) New procedure.
4164         (test_set_show_env_var_equal): Likewise.
4165         * gdb.base/info-program.exp: New file.
4166
4167 2017-04-27  Keith Seitz  <keiths@redhat.com>
4168
4169         * gdb.cp/oranking.cc (test15): New function.
4170         (main): Call test15 and declare additional variables for testing.
4171         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4172         "p foo101('abc')" tests.
4173         Add tests for cv qualifier overloads.
4174         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4175         "lvalue reference overload" test.
4176         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4177         "print value of f1 on Child&& in f2" test.
4178
4179 2017-04-19  Pedro Alves  <palves@redhat.com>
4180
4181         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4182         procedure.
4183         (top level): Call it.
4184         * lib/gdb.exp (gdb_define_cmd): New procedure.
4185
4186 2017-04-12  Pedro Alves  <palves@redhat.com>
4187
4188         PR gdb/21323
4189         * gdb.cp/wide_char_types.c: Include <wchar.h>.
4190         (wchar): New global.
4191         * gdb.cp/wide_char_types.exp (wide_char_types_program)
4192         (do_test_wide_char, wide_char_types_no_program, top level): Add
4193         wchar_t testing.
4194
4195 2017-04-12  Pedro Alves  <palves@redhat.com>
4196
4197         PR c++/21323
4198         * gdb.cp/wide_char_types.c: New file.
4199         * gdb.cp/wide_char_types.exp: New file.
4200
4201 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
4202
4203         PR gdb/21352
4204         * gdb.trace/tsv.exp: Add test for "tsave -r".
4205
4206 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
4207
4208         * gdb.dlang/watch-loc.c: New file.
4209         * gdb.dlang/watch-loc.exp: New file.
4210
4211 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4212
4213         * gdb.python/py-section-script.exp (sepdebug): New testcases.
4214
4215 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
4216
4217         * gdb.arch/arc-analyze-prologue.S: New file.
4218         * gdb.arch/arc-analyze-prologue.exp: Likewise.
4219
4220 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
4221
4222         * gdb.arch/arc-decode-insn.S: New file.
4223         * gdb.arch/arc-decode-insn.exp: Likewise.
4224
4225 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
4226
4227         PR tdep/20928
4228         * gdb.arch/sparc64-regs.exp: New file.
4229         * gdb.arch/sparc64-regs.S: Likewise.
4230
4231 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
4232
4233         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4234         and memory view on Python 3.
4235
4236 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
4237             Keith Seitz  <keiths@redhat.com>
4238
4239         PR gdb/14441
4240         * gdb.cp/demangle.exp: Add rvalue reference tests.
4241         * gdb.cp/rvalue-ref-casts.cc: New file.
4242         * gdb.cp/rvalue-ref-casts.exp: New file.
4243         * gdb.cp/rvalue-ref-overload.cc: New file.
4244         * gdb.cp/rvalue-ref-overload.exp: New file.
4245         * gdb.cp/rvalue-ref-params.cc: New file.
4246         * gdb.cp/rvalue-ref-params.exp: New file.
4247         * gdb.cp/rvalue-ref-sizeof.cc: New file.
4248         * gdb.cp/rvalue-ref-sizeof.exp: New file.
4249         * gdb.cp/rvalue-ref-types.cc: New file.
4250         * gdb.cp/rvalue-ref-types.exp: New file.
4251         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4252         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4253
4254 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4255
4256         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4257         New procedure.
4258
4259 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
4260
4261         * lib/mi-support.exp (mi_gdb_test): Add additional message
4262         for unexpected output.
4263
4264 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4265
4266         * gdb.base/examine-backward.c (Barrier): New character array
4267         constant, to ensure that TestStrings is preceded by a string
4268         terminator.
4269
4270 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4271
4272         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4273         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4274         and implicit pointer into such a location.
4275
4276 2017-03-16  Doug Evans  <dje@google.com>
4277
4278         * gdb.python/py-lazy-string (pointer): Really add new typedef.
4279
4280 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4281
4282         * gdb.cp/m-static.exp: Fix expectation for prototype of
4283         test5.single_constructor and single_constructor::single_constructor.
4284
4285 2017-03-16  Doug Evans  <dje@google.com>
4286
4287         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4288         * gdb.guile/scm-lazy-string.c: New file.
4289         * gdb.guile/scm-value.exp: Move lazy string tests to ...
4290         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
4291         for pointer, array, typedef lazy strings.
4292
4293 2017-03-16  Doug Evans  <dje@google.com>
4294
4295         PR python/17728, python/18439, python/18779
4296         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4297         * gdb.python/py-lazy-string.c (pointer): New typedef.
4298         (main): New locals ptr, array, typedef_ptr.
4299         * gdb.python/py-value.exp: Move lazy string tests to ...
4300         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4301         array, typedef lazy strings.
4302
4303 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4304
4305         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4306           Add optional 'test' parameter.
4307
4308 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4309
4310         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4311         Skip for versions of DejaGnu < 1.5.
4312
4313 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4314
4315         * lib/gdb.exp (dejagnu_version): New proc.
4316         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4317         Use dejagnu_version.
4318
4319 2017-03-10  Keith Seitz  <keiths@redhat.com>
4320
4321         PR c++/8128
4322         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4323         type from destructor regexps.
4324         Add a branch which actually passes the test.
4325         Adjust "ptype t5i" test names.
4326
4327 2017-03-08  Pedro Alves  <palves@redhat.com>
4328
4329         * gdb.base/step-over-exit.exp: Add explicit test message.
4330
4331 2017-03-08  Pedro Alves  <palves@redhat.com>
4332
4333         PR gdb/18360
4334         * gdb.threads/interrupt-while-step-over.c: New file.
4335         * gdb.threads/interrupt-while-step-over.exp: New file.
4336
4337 2017-03-08  Pedro Alves  <palves@redhat.com>
4338
4339         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4340         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4341
4342 2017-03-08  Pedro Alves  <palves@redhat.com>
4343
4344         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4345         PKRU as not supported as a PASS.
4346
4347 2017-03-08  Pedro Alves  <palves@redhat.com>
4348
4349         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4350         prefix instead of $binfile1/$binfile2.
4351         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4352         in test message.
4353         * gdb.python/py-completion.exp: Use "load python file" as test
4354         messages instead of unstable path names.
4355
4356 2017-03-08  Pedro Alves  <palves@redhat.com>
4357             Jan Kratochvil  <jan.kratochvil@redhat.com>
4358
4359         PR cli/21218
4360         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4361         New proc.
4362         (top level): Call it.
4363
4364 2017-03-08  Pedro Alves  <palves@redhat.com>
4365
4366         PR tui/21216
4367         * gdb.tui/tui-nl-filtered-output.exp: New file.
4368
4369 2017-03-08  Pedro Alves  <palves@redhat.com>
4370
4371         * gdb.base/completion.exp: Move TUI completion tests to ...
4372         * gdb.tui/completion.exp: ... this new file.
4373
4374 2017-03-08  Pedro Alves  <palves@redhat.com>
4375
4376         * gdb.base/tui-disasm-long-lines.c,
4377         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4378         gdb.base/tui-layout.exp: Move to ...
4379         * gdb.tui/: ... this new directory.
4380
4381 2017-03-07  Pedro Alves  <palves@redhat.com>
4382
4383         * gdb.base/tui-layout.c: New file.
4384         * gdb.base/tui-layout.exp: New file.
4385
4386 2017-03-07  Pedro Alves  <palves@redhat.com>
4387
4388         * gdb.base/tui-layout.c: Rename to ...
4389         * gdb.base/tui-disasm-long-lines.c: ... this.
4390         * gdb.base/tui-layout.exp: Rename to ...
4391         * gdb.base/tui-disasm-long-lines.exp: ... this.
4392
4393 2017-03-07  Pedro Alves  <palves@redhat.com>
4394
4395         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4396
4397 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4398
4399         * i386-mpx-call.c: New file.
4400         * i386-mpx-call.exp: New file.
4401
4402 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4403
4404         * gdb.arch/powerpc-power.exp: Delete test.
4405         * gdb.arch/powerpc-power.s: Likewise.
4406         * gdb.disasm/disassembler-options.exp: New test.
4407         * gdb.arch/powerpc-altivec.exp: Likewise.
4408         * gdb.arch/powerpc-altivec.s: Likewise.
4409         * gdb.arch/powerpc-altivec2.exp: Likewise.
4410         * gdb.arch/powerpc-altivec2.s: Likewise.
4411         * gdb.arch/powerpc-altivec3.exp: Likewise.
4412         * gdb.arch/powerpc-altivec3.s: Likewise.
4413         * gdb.arch/powerpc-power7.exp: Likewise.
4414         * gdb.arch/powerpc-power7.s: Likewise.
4415         * gdb.arch/powerpc-power8.exp: Likewise.
4416         * gdb.arch/powerpc-power8.s: Likewise.
4417         * gdb.arch/powerpc-power9.exp: Likewise.
4418         * gdb.arch/powerpc-power9.s: Likewise.
4419         * gdb.arch/powerpc-vsx.exp: Likewise.
4420         * gdb.arch/powerpc-vsx.s: Likewise.
4421         * gdb.arch/powerpc-vsx2.exp: Likewise.
4422         * gdb.arch/powerpc-vsx2.s: Likewise.
4423         * gdb.arch/powerpc-vsx3.exp: Likewise.
4424         * gdb.arch/powerpc-vsx3.s: Likewise.
4425         * gdb.arch/arm-disassembler-options.exp: Likewise.
4426         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4427         * gdb.arch/s390-disassembler-options.exp: Likewise.
4428
4429 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4430
4431         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4432         (check_supported_features): ... this. Changed return type to void.
4433         (supports_rdseed): New static global.
4434         (rdseed): Check supports_rdseed.
4435         (initialize): Call check_supported_features.
4436
4437 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4438
4439         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4440         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4441         and lqarx/stqcx.
4442         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4443         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4444
4445 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4446
4447         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4448         uppercase.
4449
4450 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4451
4452         * gdb.dwarf2/formdata16.c: New file.
4453         * gdb.dwarf2/formdata16.exp: New file.
4454         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4455
4456 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4457
4458         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4459         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4460         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4461         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4462         DW_AT_GNU_*.
4463
4464 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4465
4466         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4467
4468 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4469
4470         PR gdb/21164
4471         * gdb.base/maint.exp: Add testcases for when the commands do
4472         not have arguments.
4473
4474 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4475
4476         * gdb.cp/chained-calls.exp: Use p instead of P.
4477
4478 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4479
4480         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4481         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4482
4483 2017-02-14  Tom Tromey  <tom@tromey.com>
4484
4485         PR python/13598:
4486         * gdb.python/py-events.exp: Add before_prompt event tests.
4487
4488 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4489
4490         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4491
4492 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4493
4494         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4495         (main): Call my_unique_function_name.
4496         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4497         completion of patterns with a single match.
4498         Add missing -re switches to gdb_test_multiple calls.
4499
4500 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4501
4502         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4503         return if core file is not recognized.
4504
4505 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4506
4507         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4508         and extra UIs.
4509
4510 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4511
4512         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4513         proc_with_prefix.
4514
4515 2017-02-10  Tom Tromey  <tom@tromey.com>
4516
4517         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4518
4519 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4520
4521         PR gdb/21122
4522         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4523
4524 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4525
4526         * gdb.base/define.exp: Add test for command abbreviations
4527         in define.
4528
4529 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4530
4531         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4532         * gdb.reverse/insn-reverse-x86.c: New file.
4533
4534 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4535
4536         PR tdep/20936
4537         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4538
4539 2017-02-03  Tom Tromey  <tom@tromey.com>
4540
4541         PR rust/21097:
4542         * gdb.rust/simple.exp: Add new tests.
4543
4544 2017-02-02  Pedro Alves  <palves@redhat.com>
4545
4546         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4547         tests.
4548
4549 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4550
4551         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4552         taking a 2-byte value out of a 4-byte DWARF implicit value on
4553         big-endian targets.
4554         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4555         logic.  Add test cases for DW_OP_implicit.
4556
4557 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4558
4559         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4560
4561 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4562
4563         * gdb.btrace/enable.exp: Call gdb_exit before
4564         skip_gdbserver_tests.
4565
4566 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4567
4568         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4569         GDBFLAGS.
4570
4571 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4572
4573         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4574         the test is skipped.
4575         * gdb.btrace/data.exp: Likewise.
4576         * gdb.btrace/delta.exp: Likewise.
4577         * gdb.btrace/dlopen.exp: Likewise.
4578         * gdb.btrace/enable-running.exp: Likewise.
4579         * gdb.btrace/enable.exp: Likewise.
4580         * gdb.btrace/exception.exp: Likewise.
4581         * gdb.btrace/function_call_history.exp: Likewise.
4582         * gdb.btrace/gcore.exp: Likewise.
4583         * gdb.btrace/instruction_history.exp: Likewise.
4584         * gdb.btrace/multi-thread-step.exp: Likewise.
4585         * gdb.btrace/nohist.exp: Likewise.
4586         * gdb.btrace/non-stop.exp: Likewise.
4587         * gdb.btrace/reconnect.exp: Likewise.
4588         * gdb.btrace/record_goto-step.exp: Likewise.
4589         * gdb.btrace/record_goto.exp: Likewise.
4590         * gdb.btrace/rn-dl-bind.exp: Likewise.
4591         * gdb.btrace/segv.exp: Likewise.
4592         * gdb.btrace/step.exp: Likewise.
4593         * gdb.btrace/stepi.exp: Likewise.
4594         * gdb.btrace/tailcall-only.exp: Likewise.
4595         * gdb.btrace/tailcall.exp: Likewise.
4596         * gdb.btrace/tsx.exp: Likewise.
4597         * gdb.btrace/unknown_functions.exp: Likewise.
4598         * gdb.btrace/vdso.exp: Likewise.
4599
4600 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4601
4602         * gdb.btrace/enable-running.c: New.
4603         * gdb.btrace/enable-running.exp: New.
4604
4605 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4606
4607         * gdb.arch/amd64-gs_base.c: New file.
4608         * gdb.arch/amd64-gs_base.exp: New file.
4609
4610 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4611
4612         * lib/memory.exp: Remove spurious empty newlines.
4613
4614 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4615
4616         * gdb.python/py-bad-printers.exp: Load python file using "source".
4617         * gdb.python/py-events.exp: Likewise.
4618         * gdb.python/py-evsignal.exp: Likewise.
4619         * gdb.python/py-evthreads.exp: Likewise.
4620         * gdb.python/py-frame-args.exp: Likewise.
4621         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4622         * gdb.python/py-framefilter-mi.exp: Likewise.
4623         * gdb.python/py-framefilter.exp: Likewise.
4624         * gdb.python/py-mi.exp: Likewise.
4625         * gdb.python/py-pp-maint.exp: Likewise.
4626         * gdb.python/py-pp-registration.exp: Likewise.
4627         * gdb.python/py-prettyprint.exp: Likewise.
4628         (run_lang_tests): Likewise.
4629         * gdb.python/py-typeprint.exp: Likewise.
4630
4631 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4632
4633         * lib/memory.exp: New file.
4634         * lib/gdb.exp: Load memory.exp.
4635         * gdb.base/memattr.exp (delete_memory): Move proc to
4636         lib/memory.exp and rename to delete_memory_regions.
4637         Replace delete_memory with delete_memory_regions.
4638         Cleanup memory regions before tests.
4639         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4640         before tests.
4641
4642 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4643
4644         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4645         files.
4646         (initialize): New function conditionally defined.
4647         (testcases): Move within conditional block.
4648         (main): Call initialize.
4649         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4650         of gdb.reverse/insn-reverse.c.
4651         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4652         gdb.reverse/insn-reverse.c.
4653
4654 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4655
4656         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4657         disassemble on address 0.
4658
4659 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4660             Yao Qi  <yao.qi@linaro.org>
4661
4662         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4663         * gdb.dwarf2/implptr-64bit.S: Remove.
4664         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4665         variables in caller's context.  Add DW_OP_implicit_value.
4666
4667 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4668
4669         * lib/dwarf.exp (Dwarf::_location): Handle
4670         DW_OP_GNU_implicit_pointer with proper size.
4671
4672 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4673
4674         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4675         and add untested calls.
4676
4677 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4678
4679         * gdb.python/python.exp: Check line number against what GDB thinks
4680         the line number is for func1.
4681
4682 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4683
4684         * gdb.dlang/debug-expr.exp: New file.
4685
4686 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4687
4688         Fix test names for the following files:
4689
4690         * gdb.ada/exec_changed.exp
4691         * gdb.ada/info_types.exp
4692         * gdb.arch/aarch64-atomic-inst.exp
4693         * gdb.arch/aarch64-fp.exp
4694         * gdb.arch/altivec-abi.exp
4695         * gdb.arch/altivec-regs.exp
4696         * gdb.arch/amd64-byte.exp
4697         * gdb.arch/amd64-disp-step.exp
4698         * gdb.arch/amd64-dword.exp
4699         * gdb.arch/amd64-entry-value-inline.exp
4700         * gdb.arch/amd64-entry-value-param.exp
4701         * gdb.arch/amd64-entry-value-paramref.exp
4702         * gdb.arch/amd64-entry-value.exp
4703         * gdb.arch/amd64-i386-address.exp
4704         * gdb.arch/amd64-invalid-stack-middle.exp
4705         * gdb.arch/amd64-invalid-stack-top.exp
4706         * gdb.arch/amd64-optimout-repeat.exp
4707         * gdb.arch/amd64-prologue-skip.exp
4708         * gdb.arch/amd64-prologue-xmm.exp
4709         * gdb.arch/amd64-stap-special-operands.exp
4710         * gdb.arch/amd64-stap-wrong-subexp.exp
4711         * gdb.arch/amd64-tailcall-cxx.exp
4712         * gdb.arch/amd64-tailcall-noret.exp
4713         * gdb.arch/amd64-tailcall-ret.exp
4714         * gdb.arch/amd64-tailcall-self.exp
4715         * gdb.arch/amd64-word.exp
4716         * gdb.arch/arm-bl-branch-dest.exp
4717         * gdb.arch/arm-disp-step.exp
4718         * gdb.arch/arm-neon.exp
4719         * gdb.arch/arm-single-step-kernel-helper.exp
4720         * gdb.arch/avr-flash-qualifier.exp
4721         * gdb.arch/disp-step-insn-reloc.exp
4722         * gdb.arch/e500-abi.exp
4723         * gdb.arch/e500-regs.exp
4724         * gdb.arch/ftrace-insn-reloc.exp
4725         * gdb.arch/i386-avx512.exp
4726         * gdb.arch/i386-bp_permanent.exp
4727         * gdb.arch/i386-byte.exp
4728         * gdb.arch/i386-cfi-notcurrent.exp
4729         * gdb.arch/i386-disp-step.exp
4730         * gdb.arch/i386-dr3-watch.exp
4731         * gdb.arch/i386-float.exp
4732         * gdb.arch/i386-gnu-cfi.exp
4733         * gdb.arch/i386-mpx-map.exp
4734         * gdb.arch/i386-mpx-sigsegv.exp
4735         * gdb.arch/i386-mpx-simple_segv.exp
4736         * gdb.arch/i386-mpx.exp
4737         * gdb.arch/i386-permbkpt.exp
4738         * gdb.arch/i386-prologue.exp
4739         * gdb.arch/i386-signal.exp
4740         * gdb.arch/i386-size-overlap.exp
4741         * gdb.arch/i386-unwind.exp
4742         * gdb.arch/i386-word.exp
4743         * gdb.arch/mips-fcr.exp
4744         * gdb.arch/powerpc-d128-regs.exp
4745         * gdb.arch/powerpc-stackless.exp
4746         * gdb.arch/ppc64-atomic-inst.exp
4747         * gdb.arch/s390-stackless.exp
4748         * gdb.arch/s390-tdbregs.exp
4749         * gdb.arch/s390-vregs.exp
4750         * gdb.arch/sparc-sysstep.exp
4751         * gdb.arch/thumb-bx-pc.exp
4752         * gdb.arch/thumb-singlestep.exp
4753         * gdb.arch/thumb2-it.exp
4754         * gdb.arch/vsx-regs.exp
4755         * gdb.asm/asm-source.exp
4756         * gdb.base/a2-run.exp
4757         * gdb.base/advance.exp
4758         * gdb.base/all-bin.exp
4759         * gdb.base/anon.exp
4760         * gdb.base/args.exp
4761         * gdb.base/arithmet.exp
4762         * gdb.base/async-shell.exp
4763         * gdb.base/async.exp
4764         * gdb.base/attach-pie-noexec.exp
4765         * gdb.base/attach-twice.exp
4766         * gdb.base/auto-load.exp
4767         * gdb.base/bang.exp
4768         * gdb.base/bitfields.exp
4769         * gdb.base/break-always.exp
4770         * gdb.base/break-caller-line.exp
4771         * gdb.base/break-entry.exp
4772         * gdb.base/break-inline.exp
4773         * gdb.base/break-on-linker-gcd-function.exp
4774         * gdb.base/break-probes.exp
4775         * gdb.base/break.exp
4776         * gdb.base/breakpoint-shadow.exp
4777         * gdb.base/call-ar-st.exp
4778         * gdb.base/call-sc.exp
4779         * gdb.base/call-signal-resume.exp
4780         * gdb.base/call-strs.exp
4781         * gdb.base/callfuncs.exp
4782         * gdb.base/catch-fork-static.exp
4783         * gdb.base/catch-gdb-caused-signals.exp
4784         * gdb.base/catch-load.exp
4785         * gdb.base/catch-signal-fork.exp
4786         * gdb.base/catch-signal.exp
4787         * gdb.base/catch-syscall.exp
4788         * gdb.base/charset.exp
4789         * gdb.base/checkpoint.exp
4790         * gdb.base/chng-syms.exp
4791         * gdb.base/code-expr.exp
4792         * gdb.base/code_elim.exp
4793         * gdb.base/commands.exp
4794         * gdb.base/completion.exp
4795         * gdb.base/complex.exp
4796         * gdb.base/cond-expr.exp
4797         * gdb.base/condbreak.exp
4798         * gdb.base/consecutive.exp
4799         * gdb.base/continue-all-already-running.exp
4800         * gdb.base/coredump-filter.exp
4801         * gdb.base/corefile.exp
4802         * gdb.base/dbx.exp
4803         * gdb.base/debug-expr.exp
4804         * gdb.base/define.exp
4805         * gdb.base/del.exp
4806         * gdb.base/disabled-location.exp
4807         * gdb.base/disasm-end-cu.exp
4808         * gdb.base/disasm-optim.exp
4809         * gdb.base/display.exp
4810         * gdb.base/duplicate-bp.exp
4811         * gdb.base/ena-dis-br.exp
4812         * gdb.base/ending-run.exp
4813         * gdb.base/enumval.exp
4814         * gdb.base/environ.exp
4815         * gdb.base/eu-strip-infcall.exp
4816         * gdb.base/eval-avoid-side-effects.exp
4817         * gdb.base/eval-skip.exp
4818         * gdb.base/exitsignal.exp
4819         * gdb.base/expand-psymtabs.exp
4820         * gdb.base/filesym.exp
4821         * gdb.base/find-unmapped.exp
4822         * gdb.base/finish.exp
4823         * gdb.base/float.exp
4824         * gdb.base/foll-exec-mode.exp
4825         * gdb.base/foll-exec.exp
4826         * gdb.base/foll-fork.exp
4827         * gdb.base/fortran-sym-case.exp
4828         * gdb.base/freebpcmd.exp
4829         * gdb.base/func-ptr.exp
4830         * gdb.base/func-ptrs.exp
4831         * gdb.base/funcargs.exp
4832         * gdb.base/gcore-buffer-overflow.exp
4833         * gdb.base/gcore-relro-pie.exp
4834         * gdb.base/gcore-relro.exp
4835         * gdb.base/gcore.exp
4836         * gdb.base/gdb1090.exp
4837         * gdb.base/gdb11530.exp
4838         * gdb.base/gdb11531.exp
4839         * gdb.base/gdb1821.exp
4840         * gdb.base/gdbindex-stabs.exp
4841         * gdb.base/gdbvars.exp
4842         * gdb.base/hbreak.exp
4843         * gdb.base/hbreak2.exp
4844         * gdb.base/included.exp
4845         * gdb.base/infcall-input.exp
4846         * gdb.base/inferior-died.exp
4847         * gdb.base/infnan.exp
4848         * gdb.base/info-macros.exp
4849         * gdb.base/info-os.exp
4850         * gdb.base/info-proc.exp
4851         * gdb.base/info-shared.exp
4852         * gdb.base/info-target.exp
4853         * gdb.base/infoline.exp
4854         * gdb.base/interp.exp
4855         * gdb.base/interrupt.exp
4856         * gdb.base/jit-reader.exp
4857         * gdb.base/jit-simple.exp
4858         * gdb.base/kill-after-signal.exp
4859         * gdb.base/kill-detach-inferiors-cmd.exp
4860         * gdb.base/label.exp
4861         * gdb.base/langs.exp
4862         * gdb.base/ldbl_e308.exp
4863         * gdb.base/line-symtabs.exp
4864         * gdb.base/linespecs.exp
4865         * gdb.base/list.exp
4866         * gdb.base/long_long.exp
4867         * gdb.base/longest-types.exp
4868         * gdb.base/maint.exp
4869         * gdb.base/max-value-size.exp
4870         * gdb.base/memattr.exp
4871         * gdb.base/mips_pro.exp
4872         * gdb.base/morestack.exp
4873         * gdb.base/moribund-step.exp
4874         * gdb.base/multi-forks.exp
4875         * gdb.base/nested-addr.exp
4876         * gdb.base/nextoverexit.exp
4877         * gdb.base/noreturn-finish.exp
4878         * gdb.base/noreturn-return.exp
4879         * gdb.base/nostdlib.exp
4880         * gdb.base/offsets.exp
4881         * gdb.base/opaque.exp
4882         * gdb.base/pc-fp.exp
4883         * gdb.base/permissions.exp
4884         * gdb.base/print-symbol-loading.exp
4885         * gdb.base/prologue-include.exp
4886         * gdb.base/psymtab.exp
4887         * gdb.base/ptype.exp
4888         * gdb.base/random-signal.exp
4889         * gdb.base/randomize.exp
4890         * gdb.base/range-stepping.exp
4891         * gdb.base/readline-ask.exp
4892         * gdb.base/recpar.exp
4893         * gdb.base/recurse.exp
4894         * gdb.base/relational.exp
4895         * gdb.base/restore.exp
4896         * gdb.base/return-nodebug.exp
4897         * gdb.base/return.exp
4898         * gdb.base/run-after-attach.exp
4899         * gdb.base/save-bp.exp
4900         * gdb.base/scope.exp
4901         * gdb.base/sect-cmd.exp
4902         * gdb.base/set-lang-auto.exp
4903         * gdb.base/set-noassign.exp
4904         * gdb.base/setvar.exp
4905         * gdb.base/sigall.exp
4906         * gdb.base/sigbpt.exp
4907         * gdb.base/siginfo-addr.exp
4908         * gdb.base/siginfo-infcall.exp
4909         * gdb.base/siginfo-obj.exp
4910         * gdb.base/siginfo.exp
4911         * gdb.base/signals-state-child.exp
4912         * gdb.base/signest.exp
4913         * gdb.base/sigstep.exp
4914         * gdb.base/sizeof.exp
4915         * gdb.base/skip.exp
4916         * gdb.base/solib-corrupted.exp
4917         * gdb.base/solib-nodir.exp
4918         * gdb.base/solib-search.exp
4919         * gdb.base/stack-checking.exp
4920         * gdb.base/stale-infcall.exp
4921         * gdb.base/stap-probe.exp
4922         * gdb.base/start.exp
4923         * gdb.base/step-break.exp
4924         * gdb.base/step-bt.exp
4925         * gdb.base/step-line.exp
4926         * gdb.base/step-over-exit.exp
4927         * gdb.base/step-over-syscall.exp
4928         * gdb.base/step-resume-infcall.exp
4929         * gdb.base/step-test.exp
4930         * gdb.base/store.exp
4931         * gdb.base/structs3.exp
4932         * gdb.base/sym-file.exp
4933         * gdb.base/symbol-without-target_section.exp
4934         * gdb.base/term.exp
4935         * gdb.base/testenv.exp
4936         * gdb.base/ui-redirect.exp
4937         * gdb.base/until.exp
4938         * gdb.base/unwindonsignal.exp
4939         * gdb.base/value-double-free.exp
4940         * gdb.base/vla-datatypes.exp
4941         * gdb.base/vla-ptr.exp
4942         * gdb.base/vla-sideeffect.exp
4943         * gdb.base/volatile.exp
4944         * gdb.base/watch-cond-infcall.exp
4945         * gdb.base/watch-cond.exp
4946         * gdb.base/watch-non-mem.exp
4947         * gdb.base/watch-read.exp
4948         * gdb.base/watch-vfork.exp
4949         * gdb.base/watchpoint-cond-gone.exp
4950         * gdb.base/watchpoint-delete.exp
4951         * gdb.base/watchpoint-hw-hit-once.exp
4952         * gdb.base/watchpoint-hw.exp
4953         * gdb.base/watchpoint-stops-at-right-insn.exp
4954         * gdb.base/watchpoints.exp
4955         * gdb.base/wchar.exp
4956         * gdb.base/whatis-exp.exp
4957         * gdb.btrace/buffer-size.exp
4958         * gdb.btrace/data.exp
4959         * gdb.btrace/delta.exp
4960         * gdb.btrace/dlopen.exp
4961         * gdb.btrace/enable.exp
4962         * gdb.btrace/exception.exp
4963         * gdb.btrace/function_call_history.exp
4964         * gdb.btrace/gcore.exp
4965         * gdb.btrace/instruction_history.exp
4966         * gdb.btrace/nohist.exp
4967         * gdb.btrace/reconnect.exp
4968         * gdb.btrace/record_goto-step.exp
4969         * gdb.btrace/record_goto.exp
4970         * gdb.btrace/rn-dl-bind.exp
4971         * gdb.btrace/segv.exp
4972         * gdb.btrace/step.exp
4973         * gdb.btrace/stepi.exp
4974         * gdb.btrace/tailcall-only.exp
4975         * gdb.btrace/tailcall.exp
4976         * gdb.btrace/tsx.exp
4977         * gdb.btrace/unknown_functions.exp
4978         * gdb.btrace/vdso.exp
4979         * gdb.compile/compile-ifunc.exp
4980         * gdb.compile/compile-ops.exp
4981         * gdb.compile/compile-print.exp
4982         * gdb.compile/compile-setjmp.exp
4983         * gdb.cp/abstract-origin.exp
4984         * gdb.cp/ambiguous.exp
4985         * gdb.cp/annota2.exp
4986         * gdb.cp/annota3.exp
4987         * gdb.cp/anon-ns.exp
4988         * gdb.cp/anon-struct.exp
4989         * gdb.cp/anon-union.exp
4990         * gdb.cp/arg-reference.exp
4991         * gdb.cp/baseenum.exp
4992         * gdb.cp/bool.exp
4993         * gdb.cp/breakpoint.exp
4994         * gdb.cp/bs15503.exp
4995         * gdb.cp/call-c.exp
4996         * gdb.cp/casts.exp
4997         * gdb.cp/chained-calls.exp
4998         * gdb.cp/class2.exp
4999         * gdb.cp/classes.exp
5000         * gdb.cp/cmpd-minsyms.exp
5001         * gdb.cp/converts.exp
5002         * gdb.cp/cp-relocate.exp
5003         * gdb.cp/cpcompletion.exp
5004         * gdb.cp/cpexprs.exp
5005         * gdb.cp/cplabel.exp
5006         * gdb.cp/cplusfuncs.exp
5007         * gdb.cp/cpsizeof.exp
5008         * gdb.cp/ctti.exp
5009         * gdb.cp/derivation.exp
5010         * gdb.cp/destrprint.exp
5011         * gdb.cp/dispcxx.exp
5012         * gdb.cp/enum-class.exp
5013         * gdb.cp/exception.exp
5014         * gdb.cp/exceptprint.exp
5015         * gdb.cp/expand-psymtabs-cxx.exp
5016         * gdb.cp/expand-sals.exp
5017         * gdb.cp/extern-c.exp
5018         * gdb.cp/filename.exp
5019         * gdb.cp/formatted-ref.exp
5020         * gdb.cp/fpointer.exp
5021         * gdb.cp/gdb1355.exp
5022         * gdb.cp/gdb2495.exp
5023         * gdb.cp/hang.exp
5024         * gdb.cp/impl-this.exp
5025         * gdb.cp/infcall-dlopen.exp
5026         * gdb.cp/inherit.exp
5027         * gdb.cp/iostream.exp
5028         * gdb.cp/koenig.exp
5029         * gdb.cp/local.exp
5030         * gdb.cp/m-data.exp
5031         * gdb.cp/m-static.exp
5032         * gdb.cp/mb-ctor.exp
5033         * gdb.cp/mb-inline.exp
5034         * gdb.cp/mb-templates.exp
5035         * gdb.cp/member-name.exp
5036         * gdb.cp/member-ptr.exp
5037         * gdb.cp/meth-typedefs.exp
5038         * gdb.cp/method.exp
5039         * gdb.cp/method2.exp
5040         * gdb.cp/minsym-fallback.exp
5041         * gdb.cp/misc.exp
5042         * gdb.cp/namelessclass.exp
5043         * gdb.cp/namespace-enum.exp
5044         * gdb.cp/namespace-nested-import.exp
5045         * gdb.cp/namespace.exp
5046         * gdb.cp/nextoverthrow.exp
5047         * gdb.cp/no-dmgl-verbose.exp
5048         * gdb.cp/non-trivial-retval.exp
5049         * gdb.cp/noparam.exp
5050         * gdb.cp/nsdecl.exp
5051         * gdb.cp/nsimport.exp
5052         * gdb.cp/nsnested.exp
5053         * gdb.cp/nsnoimports.exp
5054         * gdb.cp/nsrecurs.exp
5055         * gdb.cp/nsstress.exp
5056         * gdb.cp/nsusing.exp
5057         * gdb.cp/operator.exp
5058         * gdb.cp/oranking.exp
5059         * gdb.cp/overload-const.exp
5060         * gdb.cp/overload.exp
5061         * gdb.cp/ovldbreak.exp
5062         * gdb.cp/ovsrch.exp
5063         * gdb.cp/paren-type.exp
5064         * gdb.cp/parse-lang.exp
5065         * gdb.cp/pass-by-ref.exp
5066         * gdb.cp/pr-1023.exp
5067         * gdb.cp/pr-1210.exp
5068         * gdb.cp/pr-574.exp
5069         * gdb.cp/pr10687.exp
5070         * gdb.cp/pr12028.exp
5071         * gdb.cp/pr17132.exp
5072         * gdb.cp/pr17494.exp
5073         * gdb.cp/pr9067.exp
5074         * gdb.cp/pr9167.exp
5075         * gdb.cp/pr9631.exp
5076         * gdb.cp/printmethod.exp
5077         * gdb.cp/psmang.exp
5078         * gdb.cp/psymtab-parameter.exp
5079         * gdb.cp/ptype-cv-cp.exp
5080         * gdb.cp/ptype-flags.exp
5081         * gdb.cp/re-set-overloaded.exp
5082         * gdb.cp/ref-types.exp
5083         * gdb.cp/rtti.exp
5084         * gdb.cp/scope-err.exp
5085         * gdb.cp/shadow.exp
5086         * gdb.cp/smartp.exp
5087         * gdb.cp/static-method.exp
5088         * gdb.cp/static-print-quit.exp
5089         * gdb.cp/temargs.exp
5090         * gdb.cp/templates.exp
5091         * gdb.cp/try_catch.exp
5092         * gdb.cp/typedef-operator.exp
5093         * gdb.cp/typeid.exp
5094         * gdb.cp/userdef.exp
5095         * gdb.cp/using-crash.exp
5096         * gdb.cp/var-tag.exp
5097         * gdb.cp/virtbase.exp
5098         * gdb.cp/virtfunc.exp
5099         * gdb.cp/virtfunc2.exp
5100         * gdb.cp/vla-cxx.exp
5101         * gdb.disasm/t01_mov.exp
5102         * gdb.disasm/t02_mova.exp
5103         * gdb.disasm/t03_add.exp
5104         * gdb.disasm/t04_sub.exp
5105         * gdb.disasm/t05_cmp.exp
5106         * gdb.disasm/t06_ari2.exp
5107         * gdb.disasm/t07_ari3.exp
5108         * gdb.disasm/t08_or.exp
5109         * gdb.disasm/t09_xor.exp
5110         * gdb.disasm/t10_and.exp
5111         * gdb.disasm/t11_logs.exp
5112         * gdb.disasm/t12_bit.exp
5113         * gdb.disasm/t13_otr.exp
5114         * gdb.dlang/circular.exp
5115         * gdb.dwarf2/arr-stride.exp
5116         * gdb.dwarf2/arr-subrange.exp
5117         * gdb.dwarf2/atomic-type.exp
5118         * gdb.dwarf2/bad-regnum.exp
5119         * gdb.dwarf2/bitfield-parent-optimized-out.exp
5120         * gdb.dwarf2/callframecfa.exp
5121         * gdb.dwarf2/clztest.exp
5122         * gdb.dwarf2/corrupt.exp
5123         * gdb.dwarf2/data-loc.exp
5124         * gdb.dwarf2/dup-psym.exp
5125         * gdb.dwarf2/dw2-anon-mptr.exp
5126         * gdb.dwarf2/dw2-anonymous-func.exp
5127         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5128         * gdb.dwarf2/dw2-bad-unresolved.exp
5129         * gdb.dwarf2/dw2-basic.exp
5130         * gdb.dwarf2/dw2-canonicalize-type.exp
5131         * gdb.dwarf2/dw2-case-insensitive.exp
5132         * gdb.dwarf2/dw2-common-block.exp
5133         * gdb.dwarf2/dw2-compdir-oldgcc.exp
5134         * gdb.dwarf2/dw2-compressed.exp
5135         * gdb.dwarf2/dw2-const.exp
5136         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5137         * gdb.dwarf2/dw2-cu-size.exp
5138         * gdb.dwarf2/dw2-dup-frame.exp
5139         * gdb.dwarf2/dw2-entry-value.exp
5140         * gdb.dwarf2/dw2-icycle.exp
5141         * gdb.dwarf2/dw2-ifort-parameter.exp
5142         * gdb.dwarf2/dw2-inline-break.exp
5143         * gdb.dwarf2/dw2-inline-param.exp
5144         * gdb.dwarf2/dw2-intercu.exp
5145         * gdb.dwarf2/dw2-intermix.exp
5146         * gdb.dwarf2/dw2-lexical-block-bare.exp
5147         * gdb.dwarf2/dw2-linkage-name-trust.exp
5148         * gdb.dwarf2/dw2-minsym-in-cu.exp
5149         * gdb.dwarf2/dw2-noloc.exp
5150         * gdb.dwarf2/dw2-op-call.exp
5151         * gdb.dwarf2/dw2-op-out-param.exp
5152         * gdb.dwarf2/dw2-opt-structptr.exp
5153         * gdb.dwarf2/dw2-param-error.exp
5154         * gdb.dwarf2/dw2-producer.exp
5155         * gdb.dwarf2/dw2-ranges-base.exp
5156         * gdb.dwarf2/dw2-ref-missing-frame.exp
5157         * gdb.dwarf2/dw2-reg-undefined.exp
5158         * gdb.dwarf2/dw2-regno-invalid.exp
5159         * gdb.dwarf2/dw2-restore.exp
5160         * gdb.dwarf2/dw2-restrict.exp
5161         * gdb.dwarf2/dw2-single-line-discriminators.exp
5162         * gdb.dwarf2/dw2-strp.exp
5163         * gdb.dwarf2/dw2-undefined-ret-addr.exp
5164         * gdb.dwarf2/dw2-unresolved.exp
5165         * gdb.dwarf2/dw2-var-zero-addr.exp
5166         * gdb.dwarf2/dw4-sig-types.exp
5167         * gdb.dwarf2/dwz.exp
5168         * gdb.dwarf2/dynarr-ptr.exp
5169         * gdb.dwarf2/enum-type.exp
5170         * gdb.dwarf2/gdb-index.exp
5171         * gdb.dwarf2/implptr-64bit.exp
5172         * gdb.dwarf2/implptr-optimized-out.exp
5173         * gdb.dwarf2/implptr.exp
5174         * gdb.dwarf2/implref-array.exp
5175         * gdb.dwarf2/implref-const.exp
5176         * gdb.dwarf2/implref-global.exp
5177         * gdb.dwarf2/implref-struct.exp
5178         * gdb.dwarf2/mac-fileno.exp
5179         * gdb.dwarf2/main-subprogram.exp
5180         * gdb.dwarf2/member-ptr-forwardref.exp
5181         * gdb.dwarf2/method-ptr.exp
5182         * gdb.dwarf2/missing-sig-type.exp
5183         * gdb.dwarf2/nonvar-access.exp
5184         * gdb.dwarf2/opaque-type-lookup.exp
5185         * gdb.dwarf2/pieces-optimized-out.exp
5186         * gdb.dwarf2/pieces.exp
5187         * gdb.dwarf2/pr10770.exp
5188         * gdb.dwarf2/pr13961.exp
5189         * gdb.dwarf2/staticvirtual.exp
5190         * gdb.dwarf2/subrange.exp
5191         * gdb.dwarf2/symtab-producer.exp
5192         * gdb.dwarf2/trace-crash.exp
5193         * gdb.dwarf2/typeddwarf.exp
5194         * gdb.dwarf2/valop.exp
5195         * gdb.dwarf2/watch-notconst.exp
5196         * gdb.fortran/array-element.exp
5197         * gdb.fortran/charset.exp
5198         * gdb.fortran/common-block.exp
5199         * gdb.fortran/complex.exp
5200         * gdb.fortran/derived-type-function.exp
5201         * gdb.fortran/derived-type.exp
5202         * gdb.fortran/logical.exp
5203         * gdb.fortran/module.exp
5204         * gdb.fortran/multi-dim.exp
5205         * gdb.fortran/nested-funcs.exp
5206         * gdb.fortran/print-formatted.exp
5207         * gdb.fortran/subarray.exp
5208         * gdb.fortran/vla-alloc-assoc.exp
5209         * gdb.fortran/vla-datatypes.exp
5210         * gdb.fortran/vla-history.exp
5211         * gdb.fortran/vla-ptr-info.exp
5212         * gdb.fortran/vla-ptype-sub.exp
5213         * gdb.fortran/vla-ptype.exp
5214         * gdb.fortran/vla-sizeof.exp
5215         * gdb.fortran/vla-type.exp
5216         * gdb.fortran/vla-value-sub-arbitrary.exp
5217         * gdb.fortran/vla-value-sub-finish.exp
5218         * gdb.fortran/vla-value-sub.exp
5219         * gdb.fortran/vla-value.exp
5220         * gdb.fortran/whatis_type.exp
5221         * gdb.go/chan.exp
5222         * gdb.go/handcall.exp
5223         * gdb.go/hello.exp
5224         * gdb.go/integers.exp
5225         * gdb.go/methods.exp
5226         * gdb.go/package.exp
5227         * gdb.go/strings.exp
5228         * gdb.go/types.exp
5229         * gdb.go/unsafe.exp
5230         * gdb.guile/scm-arch.exp
5231         * gdb.guile/scm-block.exp
5232         * gdb.guile/scm-breakpoint.exp
5233         * gdb.guile/scm-cmd.exp
5234         * gdb.guile/scm-disasm.exp
5235         * gdb.guile/scm-equal.exp
5236         * gdb.guile/scm-frame-args.exp
5237         * gdb.guile/scm-frame-inline.exp
5238         * gdb.guile/scm-frame.exp
5239         * gdb.guile/scm-iterator.exp
5240         * gdb.guile/scm-math.exp
5241         * gdb.guile/scm-objfile.exp
5242         * gdb.guile/scm-ports.exp
5243         * gdb.guile/scm-symbol.exp
5244         * gdb.guile/scm-symtab.exp
5245         * gdb.guile/scm-value-cc.exp
5246         * gdb.guile/types-module.exp
5247         * gdb.linespec/break-ask.exp
5248         * gdb.linespec/cpexplicit.exp
5249         * gdb.linespec/explicit.exp
5250         * gdb.linespec/keywords.exp
5251         * gdb.linespec/linespec.exp
5252         * gdb.linespec/ls-dollar.exp
5253         * gdb.linespec/ls-errs.exp
5254         * gdb.linespec/skip-two.exp
5255         * gdb.linespec/thread.exp
5256         * gdb.mi/mi-async.exp
5257         * gdb.mi/mi-basics.exp
5258         * gdb.mi/mi-break.exp
5259         * gdb.mi/mi-catch-load.exp
5260         * gdb.mi/mi-cli.exp
5261         * gdb.mi/mi-cmd-param-changed.exp
5262         * gdb.mi/mi-console.exp
5263         * gdb.mi/mi-detach.exp
5264         * gdb.mi/mi-disassemble.exp
5265         * gdb.mi/mi-eval.exp
5266         * gdb.mi/mi-file-transfer.exp
5267         * gdb.mi/mi-file.exp
5268         * gdb.mi/mi-fill-memory.exp
5269         * gdb.mi/mi-inheritance-syntax-error.exp
5270         * gdb.mi/mi-linespec-err-cp.exp
5271         * gdb.mi/mi-logging.exp
5272         * gdb.mi/mi-memory-changed.exp
5273         * gdb.mi/mi-read-memory.exp
5274         * gdb.mi/mi-record-changed.exp
5275         * gdb.mi/mi-reg-undefined.exp
5276         * gdb.mi/mi-regs.exp
5277         * gdb.mi/mi-return.exp
5278         * gdb.mi/mi-reverse.exp
5279         * gdb.mi/mi-simplerun.exp
5280         * gdb.mi/mi-solib.exp
5281         * gdb.mi/mi-stack.exp
5282         * gdb.mi/mi-stepi.exp
5283         * gdb.mi/mi-syn-frame.exp
5284         * gdb.mi/mi-until.exp
5285         * gdb.mi/mi-var-block.exp
5286         * gdb.mi/mi-var-child.exp
5287         * gdb.mi/mi-var-cmd.exp
5288         * gdb.mi/mi-var-cp.exp
5289         * gdb.mi/mi-var-display.exp
5290         * gdb.mi/mi-var-invalidate.exp
5291         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5292         * gdb.mi/mi-vla-fortran.exp
5293         * gdb.mi/mi-watch.exp
5294         * gdb.mi/mi2-var-child.exp
5295         * gdb.mi/user-selected-context-sync.exp
5296         * gdb.modula2/unbounded-array.exp
5297         * gdb.multi/dummy-frame-restore.exp
5298         * gdb.multi/multi-arch-exec.exp
5299         * gdb.multi/multi-arch.exp
5300         * gdb.multi/tids.exp
5301         * gdb.multi/watchpoint-multi.exp
5302         * gdb.opencl/callfuncs.exp
5303         * gdb.opencl/convs_casts.exp
5304         * gdb.opencl/datatypes.exp
5305         * gdb.opencl/operators.exp
5306         * gdb.opencl/vec_comps.exp
5307         * gdb.opt/clobbered-registers-O2.exp
5308         * gdb.opt/inline-break.exp
5309         * gdb.opt/inline-bt.exp
5310         * gdb.opt/inline-cmds.exp
5311         * gdb.opt/inline-locals.exp
5312         * gdb.pascal/case-insensitive-symbols.exp
5313         * gdb.pascal/floats.exp
5314         * gdb.pascal/gdb11492.exp
5315         * gdb.python/lib-types.exp
5316         * gdb.python/py-arch.exp
5317         * gdb.python/py-as-string.exp
5318         * gdb.python/py-bad-printers.exp
5319         * gdb.python/py-block.exp
5320         * gdb.python/py-breakpoint-create-fail.exp
5321         * gdb.python/py-breakpoint.exp
5322         * gdb.python/py-caller-is.exp
5323         * gdb.python/py-cmd.exp
5324         * gdb.python/py-explore-cc.exp
5325         * gdb.python/py-explore.exp
5326         * gdb.python/py-finish-breakpoint.exp
5327         * gdb.python/py-finish-breakpoint2.exp
5328         * gdb.python/py-frame-args.exp
5329         * gdb.python/py-frame-inline.exp
5330         * gdb.python/py-frame.exp
5331         * gdb.python/py-framefilter-mi.exp
5332         * gdb.python/py-infthread.exp
5333         * gdb.python/py-lazy-string.exp
5334         * gdb.python/py-linetable.exp
5335         * gdb.python/py-mi-events.exp
5336         * gdb.python/py-mi-objfile.exp
5337         * gdb.python/py-mi.exp
5338         * gdb.python/py-objfile.exp
5339         * gdb.python/py-pp-integral.exp
5340         * gdb.python/py-pp-maint.exp
5341         * gdb.python/py-pp-re-notag.exp
5342         * gdb.python/py-pp-registration.exp
5343         * gdb.python/py-recurse-unwind.exp
5344         * gdb.python/py-strfns.exp
5345         * gdb.python/py-symbol.exp
5346         * gdb.python/py-symtab.exp
5347         * gdb.python/py-sync-interp.exp
5348         * gdb.python/py-typeprint.exp
5349         * gdb.python/py-unwind-maint.exp
5350         * gdb.python/py-unwind.exp
5351         * gdb.python/py-value-cc.exp
5352         * gdb.python/py-xmethods.exp
5353         * gdb.reverse/amd64-tailcall-reverse.exp
5354         * gdb.reverse/break-precsave.exp
5355         * gdb.reverse/break-reverse.exp
5356         * gdb.reverse/consecutive-precsave.exp
5357         * gdb.reverse/consecutive-reverse.exp
5358         * gdb.reverse/finish-precsave.exp
5359         * gdb.reverse/finish-reverse-bkpt.exp
5360         * gdb.reverse/finish-reverse.exp
5361         * gdb.reverse/fstatat-reverse.exp
5362         * gdb.reverse/getresuid-reverse.exp
5363         * gdb.reverse/i386-precsave.exp
5364         * gdb.reverse/i386-reverse.exp
5365         * gdb.reverse/i386-sse-reverse.exp
5366         * gdb.reverse/i387-env-reverse.exp
5367         * gdb.reverse/i387-stack-reverse.exp
5368         * gdb.reverse/insn-reverse.exp
5369         * gdb.reverse/machinestate-precsave.exp
5370         * gdb.reverse/machinestate.exp
5371         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5372         * gdb.reverse/pipe-reverse.exp
5373         * gdb.reverse/readv-reverse.exp
5374         * gdb.reverse/recvmsg-reverse.exp
5375         * gdb.reverse/rerun-prec.exp
5376         * gdb.reverse/s390-mvcle.exp
5377         * gdb.reverse/step-precsave.exp
5378         * gdb.reverse/step-reverse.exp
5379         * gdb.reverse/time-reverse.exp
5380         * gdb.reverse/until-precsave.exp
5381         * gdb.reverse/until-reverse.exp
5382         * gdb.reverse/waitpid-reverse.exp
5383         * gdb.reverse/watch-precsave.exp
5384         * gdb.reverse/watch-reverse.exp
5385         * gdb.rust/generics.exp
5386         * gdb.rust/methods.exp
5387         * gdb.rust/modules.exp
5388         * gdb.rust/simple.exp
5389         * gdb.server/connect-with-no-symbol-file.exp
5390         * gdb.server/ext-attach.exp
5391         * gdb.server/ext-restart.exp
5392         * gdb.server/ext-wrapper.exp
5393         * gdb.server/file-transfer.exp
5394         * gdb.server/server-exec-info.exp
5395         * gdb.server/server-kill.exp
5396         * gdb.server/server-mon.exp
5397         * gdb.server/wrapper.exp
5398         * gdb.stabs/exclfwd.exp
5399         * gdb.stabs/gdb11479.exp
5400         * gdb.threads/clone-new-thread-event.exp
5401         * gdb.threads/corethreads.exp
5402         * gdb.threads/current-lwp-dead.exp
5403         * gdb.threads/dlopen-libpthread.exp
5404         * gdb.threads/gcore-thread.exp
5405         * gdb.threads/sigstep-threads.exp
5406         * gdb.threads/watchpoint-fork.exp
5407         * gdb.trace/actions-changed.exp
5408         * gdb.trace/backtrace.exp
5409         * gdb.trace/change-loc.exp
5410         * gdb.trace/circ.exp
5411         * gdb.trace/collection.exp
5412         * gdb.trace/disconnected-tracing.exp
5413         * gdb.trace/ftrace.exp
5414         * gdb.trace/mi-trace-frame-collected.exp
5415         * gdb.trace/mi-trace-unavailable.exp
5416         * gdb.trace/mi-traceframe-changed.exp
5417         * gdb.trace/mi-tsv-changed.exp
5418         * gdb.trace/no-attach-trace.exp
5419         * gdb.trace/passc-dyn.exp
5420         * gdb.trace/qtro.exp
5421         * gdb.trace/range-stepping.exp
5422         * gdb.trace/read-memory.exp
5423         * gdb.trace/save-trace.exp
5424         * gdb.trace/signal.exp
5425         * gdb.trace/status-stop.exp
5426         * gdb.trace/tfile.exp
5427         * gdb.trace/trace-break.exp
5428         * gdb.trace/trace-buffer-size.exp
5429         * gdb.trace/trace-condition.exp
5430         * gdb.trace/tracefile-pseudo-reg.exp
5431         * gdb.trace/tstatus.exp
5432         * gdb.trace/unavailable.exp
5433         * gdb.trace/while-dyn.exp
5434         * gdb.trace/while-stepping.exp
5435
5436 2016-12-22  Doug Evans  <xdje42@gmail.com>
5437
5438         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5439         and msymbols.
5440
5441 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5442
5443         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5444         (test_with_self): Don't call do_steps_and_nexts, and remove
5445         code about stepping into xmalloc.
5446
5447 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5448
5449         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5450
5451 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5452
5453         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5454
5455 2016-12-09  Pedro Alves  <palves@redhat.com>
5456
5457         * gdb.base/all-architectures-0.exp: New file.
5458         * gdb.base/all-architectures-1.exp: New file.
5459         * gdb.base/all-architectures-2.exp: New file.
5460         * gdb.base/all-architectures-3.exp: New file.
5461         * gdb.base/all-architectures-4.exp: New file.
5462         * gdb.base/all-architectures-5.exp: New file.
5463         * gdb.base/all-architectures-6.exp: New file.
5464         * gdb.base/all-architectures-7.exp: New file.
5465         * gdb.base/all-architectures.exp.in: New file.
5466
5467 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5468
5469         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5470
5471 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5472
5473         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5474         possible.
5475         Remove useless pattern-matching code.
5476
5477 2016-12-02  Pedro Alves  <palves@redhat.com>
5478
5479         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5480         procedure.
5481         (top level): Call it.
5482
5483 2016-12-02  Pedro Alves  <palves@redhat.com>
5484
5485         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5486         New procedure.
5487         (top level): Call it.
5488
5489 2016-12-02  Pedro Alves  <palves@redhat.com>
5490
5491         PR cli/20559
5492         * gdb.base/commands.exp (user_defined_command_args_eval): New
5493         procedure.
5494         (top level): Call it.
5495
5496 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5497
5498         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5499         timeout handling.
5500
5501 2016-12-02  Tom Tromey  <tom@tromey.com>
5502
5503         * gdb.dwarf2/main-subprogram.c: New file.
5504         * gdb.dwarf2/main-subprogram.exp: New file.
5505
5506 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5507
5508         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5509         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5510         gdb_test_no_output for a couple of cases.
5511         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5512
5513 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5514
5515         Fix test names and standardize compilation error messages throughout
5516         the following files:
5517
5518         * gdb.ada/start.exp
5519         * gdb.arch/alpha-step.exp
5520         * gdb.arch/e500-prologue.exp
5521         * gdb.arch/ftrace-insn-reloc.exp
5522         * gdb.arch/gdb1291.exp
5523         * gdb.arch/gdb1431.exp
5524         * gdb.arch/gdb1558.exp
5525         * gdb.arch/i386-dr3-watch.exp
5526         * gdb.arch/i386-sse-stack-align.exp
5527         * gdb.arch/ia64-breakpoint-shadow.exp
5528         * gdb.arch/pa-nullify.exp
5529         * gdb.arch/powerpc-aix-prologue.exp
5530         * gdb.arch/thumb-bx-pc.exp
5531         * gdb.base/annota1.exp
5532         * gdb.base/annota3.exp
5533         * gdb.base/arrayidx.exp
5534         * gdb.base/assign.exp
5535         * gdb.base/attach.exp
5536         * gdb.base/auxv.exp
5537         * gdb.base/bang.exp
5538         * gdb.base/bfp-test.exp
5539         * gdb.base/bigcore.exp
5540         * gdb.base/bitfields2.exp
5541         * gdb.base/break-fun-addr.exp
5542         * gdb.base/break-probes.exp
5543         * gdb.base/call-rt-st.exp
5544         * gdb.base/callexit.exp
5545         * gdb.base/catch-fork-kill.exp
5546         * gdb.base/charset.exp
5547         * gdb.base/checkpoint.exp
5548         * gdb.base/comprdebug.exp
5549         * gdb.base/constvars.exp
5550         * gdb.base/coredump-filter.exp
5551         * gdb.base/cursal.exp
5552         * gdb.base/cvexpr.exp
5553         * gdb.base/detach.exp
5554         * gdb.base/display.exp
5555         * gdb.base/dmsym.exp
5556         * gdb.base/dprintf-pending.exp
5557         * gdb.base/dso2dso.exp
5558         * gdb.base/dtrace-probe.exp
5559         * gdb.base/dump.exp
5560         * gdb.base/enum_cond.exp
5561         * gdb.base/exe-lock.exp
5562         * gdb.base/exec-invalid-sysroot.exp
5563         * gdb.base/execl-update-breakpoints.exp
5564         * gdb.base/exprs.exp
5565         * gdb.base/fileio.exp
5566         * gdb.base/find.exp
5567         * gdb.base/finish.exp
5568         * gdb.base/fixsection.exp
5569         * gdb.base/foll-vfork.exp
5570         * gdb.base/frame-args.exp
5571         * gdb.base/gcore.exp
5572         * gdb.base/gdb1250.exp
5573         * gdb.base/global-var-nested-by-dso.exp
5574         * gdb.base/gnu-ifunc.exp
5575         * gdb.base/hashline1.exp
5576         * gdb.base/hashline2.exp
5577         * gdb.base/hashline3.exp
5578         * gdb.base/hbreak-in-shr-unsupported.exp
5579         * gdb.base/huge.exp
5580         * gdb.base/infcall-input.exp
5581         * gdb.base/info-fun.exp
5582         * gdb.base/info-shared.exp
5583         * gdb.base/jit-simple.exp
5584         * gdb.base/jit-so.exp
5585         * gdb.base/jit.exp
5586         * gdb.base/jump.exp
5587         * gdb.base/label.exp
5588         * gdb.base/lineinc.exp
5589         * gdb.base/logical.exp
5590         * gdb.base/longjmp.exp
5591         * gdb.base/macscp.exp
5592         * gdb.base/miscexprs.exp
5593         * gdb.base/new-ui-echo.exp
5594         * gdb.base/new-ui-pending-input.exp
5595         * gdb.base/new-ui.exp
5596         * gdb.base/nodebug.exp
5597         * gdb.base/nofield.exp
5598         * gdb.base/offsets.exp
5599         * gdb.base/overlays.exp
5600         * gdb.base/pending.exp
5601         * gdb.base/pointers.exp
5602         * gdb.base/pr11022.exp
5603         * gdb.base/printcmds.exp
5604         * gdb.base/prologue.exp
5605         * gdb.base/ptr-typedef.exp
5606         * gdb.base/realname-expand.exp
5607         * gdb.base/relativedebug.exp
5608         * gdb.base/relocate.exp
5609         * gdb.base/remote.exp
5610         * gdb.base/reread.exp
5611         * gdb.base/return2.exp
5612         * gdb.base/savedregs.exp
5613         * gdb.base/sep.exp
5614         * gdb.base/sepdebug.exp
5615         * gdb.base/sepsymtab.exp
5616         * gdb.base/set-inferior-tty.exp
5617         * gdb.base/setshow.exp
5618         * gdb.base/shlib-call.exp
5619         * gdb.base/sigaltstack.exp
5620         * gdb.base/siginfo-addr.exp
5621         * gdb.base/signals.exp
5622         * gdb.base/signull.exp
5623         * gdb.base/sigrepeat.exp
5624         * gdb.base/so-impl-ld.exp
5625         * gdb.base/solib-display.exp
5626         * gdb.base/solib-overlap.exp
5627         * gdb.base/solib-search.exp
5628         * gdb.base/solib-symbol.exp
5629         * gdb.base/structs.exp
5630         * gdb.base/structs2.exp
5631         * gdb.base/symtab-search-order.exp
5632         * gdb.base/twice.exp
5633         * gdb.base/unload.exp
5634         * gdb.base/varargs.exp
5635         * gdb.base/watchpoint-solib.exp
5636         * gdb.base/watchpoint.exp
5637         * gdb.base/whatis.exp
5638         * gdb.base/wrong_frame_bt_full.exp
5639         * gdb.btrace/dlopen.exp
5640         * gdb.cell/ea-standalone.exp
5641         * gdb.cell/ea-test.exp
5642         * gdb.cp/dispcxx.exp
5643         * gdb.cp/gdb2384.exp
5644         * gdb.cp/method2.exp
5645         * gdb.cp/nextoverthrow.exp
5646         * gdb.cp/pr10728.exp
5647         * gdb.disasm/am33.exp
5648         * gdb.disasm/h8300s.exp
5649         * gdb.disasm/mn10300.exp
5650         * gdb.disasm/sh3.exp
5651         * gdb.dwarf2/dw2-dir-file-name.exp
5652         * gdb.fortran/complex.exp
5653         * gdb.fortran/library-module.exp
5654         * gdb.guile/scm-pretty-print.exp
5655         * gdb.guile/scm-symbol.exp
5656         * gdb.guile/scm-type.exp
5657         * gdb.guile/scm-value.exp
5658         * gdb.linespec/linespec.exp
5659         * gdb.mi/gdb701.exp
5660         * gdb.mi/gdb792.exp
5661         * gdb.mi/mi-breakpoint-changed.exp
5662         * gdb.mi/mi-dprintf-pending.exp
5663         * gdb.mi/mi-dprintf.exp
5664         * gdb.mi/mi-exit-code.exp
5665         * gdb.mi/mi-pending.exp
5666         * gdb.mi/mi-solib.exp
5667         * gdb.mi/new-ui-mi-sync.exp
5668         * gdb.mi/pr11022.exp
5669         * gdb.mi/user-selected-context-sync.exp
5670         * gdb.opt/solib-intra-step.exp
5671         * gdb.python/py-events.exp
5672         * gdb.python/py-finish-breakpoint.exp
5673         * gdb.python/py-mi.exp
5674         * gdb.python/py-prettyprint.exp
5675         * gdb.python/py-shared.exp
5676         * gdb.python/py-symbol.exp
5677         * gdb.python/py-template.exp
5678         * gdb.python/py-type.exp
5679         * gdb.python/py-value.exp
5680         * gdb.reverse/solib-precsave.exp
5681         * gdb.reverse/solib-reverse.exp
5682         * gdb.server/solib-list.exp
5683         * gdb.stabs/weird.exp
5684         * gdb.threads/reconnect-signal.exp
5685         * gdb.threads/stepi-random-signal.exp
5686         * gdb.trace/actions.exp
5687         * gdb.trace/ax.exp
5688         * gdb.trace/backtrace.exp
5689         * gdb.trace/change-loc.exp
5690         * gdb.trace/deltrace.exp
5691         * gdb.trace/ftrace-lock.exp
5692         * gdb.trace/ftrace.exp
5693         * gdb.trace/infotrace.exp
5694         * gdb.trace/mi-tracepoint-changed.exp
5695         * gdb.trace/packetlen.exp
5696         * gdb.trace/passcount.exp
5697         * gdb.trace/pending.exp
5698         * gdb.trace/range-stepping.exp
5699         * gdb.trace/report.exp
5700         * gdb.trace/stap-trace.exp
5701         * gdb.trace/tfind.exp
5702         * gdb.trace/trace-break.exp
5703         * gdb.trace/trace-condition.exp
5704         * gdb.trace/trace-enable-disable.exp
5705         * gdb.trace/trace-mt.exp
5706         * gdb.trace/tracecmd.exp
5707         * gdb.trace/tspeed.exp
5708         * gdb.trace/tsv.exp
5709         * lib/perftest.exp
5710
5711 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5712
5713         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5714         with gdb_test_no_output.
5715         Use command as test name.
5716
5717 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5718
5719         Fix test names starting with uppercase throughout the files.
5720
5721         * gdb.ada/assign_1.exp
5722         * gdb.ada/boolean_expr.exp
5723         * gdb.base/arrayidx.exp
5724         * gdb.base/del.exp
5725         * gdb.base/gcore-buffer-overflow.exp
5726         * gdb.base/testenv.exp
5727         * gdb.compile/compile.exp
5728         * gdb.python/py-framefilter-invalidarg.exp
5729         * gdb.python/py-framefilter.exp
5730
5731 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5732
5733         Fix test names starting with uppercase throughout the files.
5734
5735         * gdb.ada/array_return.exp
5736         * gdb.ada/expr_delims.exp
5737         * gdb.ada/mi_dyn_arr.exp
5738         * gdb.ada/mi_interface.exp
5739         * gdb.ada/mi_var_array.exp
5740         * gdb.ada/watch_arg.exp
5741         * gdb.arch/alpha-step.exp
5742         * gdb.arch/altivec-regs.exp
5743         * gdb.arch/e500-regs.exp
5744         * gdb.arch/powerpc-d128-regs.exp
5745         * gdb.base/arrayidx.exp
5746         * gdb.base/break.exp
5747         * gdb.base/checkpoint.exp
5748         * gdb.base/debug-expr.exp
5749         * gdb.base/dmsym.exp
5750         * gdb.base/radix.exp
5751         * gdb.base/sepdebug.exp
5752         * gdb.base/testenv.exp
5753         * gdb.base/watch_thread_num.exp
5754         * gdb.base/watchpoint-cond-gone.exp
5755         * gdb.cell/break.exp
5756         * gdb.cell/ea-cache.exp
5757         * gdb.compile/compile.exp
5758         * gdb.cp/gdb2495.exp
5759         * gdb.gdb/selftest.exp
5760         * gdb.gdb/xfullpath.exp
5761         * gdb.go/hello.exp
5762         * gdb.go/integers.exp
5763         * gdb.objc/basicclass.exp
5764         * gdb.pascal/hello.exp
5765         * gdb.pascal/integers.exp
5766         * gdb.python/py-breakpoint.exp
5767         * gdb.python/py-cmd.exp
5768         * gdb.python/py-linetable.exp
5769         * gdb.python/py-xmethods.exp
5770         * gdb.python/python.exp
5771         * gdb.reverse/consecutive-precsave.exp
5772         * gdb.reverse/finish-precsave.exp
5773         * gdb.reverse/i386-precsave.exp
5774         * gdb.reverse/machinestate-precsave.exp
5775         * gdb.reverse/sigall-precsave.exp
5776         * gdb.reverse/solib-precsave.exp
5777         * gdb.reverse/step-precsave.exp
5778         * gdb.reverse/until-precsave.exp
5779         * gdb.reverse/watch-precsave.exp
5780         * gdb.threads/leader-exit.exp
5781         * gdb.threads/pthreads.exp
5782         * gdb.threads/wp-replication.exp
5783         * gdb.trace/actions.exp
5784         * gdb.trace/mi-tsv-changed.exp
5785         * gdb.trace/tsv.exp
5786
5787 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5788
5789         Fix test names starting with uppercase throughout the files.
5790
5791         * gdb.arch/i386-bp_permanent.exp
5792         * gdb.arch/i386-gnu-cfi.exp
5793         * gdb.base/disasm-end-cu.exp
5794         * gdb.base/macscp.exp
5795         * gdb.base/pending.exp
5796         * gdb.base/watch_thread_num.exp
5797         * gdb.cp/exception.exp
5798         * gdb.cp/gdb2495.exp
5799         * gdb.cp/local.exp
5800         * gdb.python/py-evsignal.exp
5801         * gdb.python/python.exp
5802         * gdb.trace/tracecmd.exp
5803
5804 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5805
5806         Fix test names starting with uppercase throughout the files.
5807
5808         * gdb.base/charset.exp
5809         * gdb.base/eval.exp
5810         * gdb.base/multi-forks.exp
5811         * gdb.guile/scm-progspace.exp
5812         * gdb.opencl/datatypes.exp
5813         * gdb.python/py-block.exp
5814         * gdb.python/py-function.exp
5815         * gdb.python/py-symbol.exp
5816         * gdb.python/py-symtab.exp
5817         * gdb.python/py-xmethods.exp
5818         * gdb.reverse/break-precsave.exp
5819         * gdb.reverse/break-reverse.exp
5820         * gdb.reverse/consecutive-precsave.exp
5821         * gdb.reverse/consecutive-reverse.exp
5822         * gdb.reverse/finish-precsave.exp
5823         * gdb.reverse/finish-reverse-bkpt.exp
5824         * gdb.reverse/finish-reverse.exp
5825         * gdb.reverse/fstatat-reverse.exp
5826         * gdb.reverse/getresuid-reverse.exp
5827         * gdb.reverse/i386-precsave.exp
5828         * gdb.reverse/i386-reverse.exp
5829         * gdb.reverse/i386-sse-reverse.exp
5830         * gdb.reverse/i387-stack-reverse.exp
5831         * gdb.reverse/insn-reverse.exp
5832         * gdb.reverse/machinestate-precsave.exp
5833         * gdb.reverse/machinestate.exp
5834         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5835         * gdb.reverse/pipe-reverse.exp
5836         * gdb.reverse/readv-reverse.exp
5837         * gdb.reverse/recvmsg-reverse.exp
5838         * gdb.reverse/rerun-prec.exp
5839         * gdb.reverse/s390-mvcle.exp
5840         * gdb.reverse/sigall-precsave.exp
5841         * gdb.reverse/sigall-reverse.exp
5842         * gdb.reverse/solib-precsave.exp
5843         * gdb.reverse/solib-reverse.exp
5844         * gdb.reverse/step-precsave.exp
5845         * gdb.reverse/step-reverse.exp
5846         * gdb.reverse/time-reverse.exp
5847         * gdb.reverse/until-precsave.exp
5848         * gdb.reverse/until-reverse.exp
5849         * gdb.reverse/waitpid-reverse.exp
5850         * gdb.reverse/watch-precsave.exp
5851         * gdb.reverse/watch-reverse.exp
5852
5853 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5854
5855         Fix test names starting with uppercase throughout the files.
5856
5857         * gdb.arch/i386-mpx-simple_segv.exp
5858         * gdb.arch/i386-mpx.exp
5859         * gdb.arch/i386-permbkpt.exp
5860         * gdb.arch/pa-nullify.exp
5861         * gdb.arch/powerpc-d128-regs.exp
5862         * gdb.arch/vsx-regs.exp
5863         * gdb.base/bfp-test.exp
5864         * gdb.base/break.exp
5865         * gdb.base/breakpoint-shadow.exp
5866         * gdb.base/callfuncs.exp
5867         * gdb.base/charset.exp
5868         * gdb.base/commands.exp
5869         * gdb.base/completion.exp
5870         * gdb.base/dfp-test.exp
5871         * gdb.base/echo.exp
5872         * gdb.base/ending-run.exp
5873         * gdb.base/eval.exp
5874         * gdb.base/expand-psymtabs.exp
5875         * gdb.base/float128.exp
5876         * gdb.base/floatn.exp
5877         * gdb.base/foll-exec-mode.exp
5878         * gdb.base/gdb1056.exp
5879         * gdb.base/gdb11531.exp
5880         * gdb.base/kill-after-signal.exp
5881         * gdb.base/multi-forks.exp
5882         * gdb.base/overlays.exp
5883         * gdb.base/pending.exp
5884         * gdb.base/sepdebug.exp
5885         * gdb.base/testenv.exp
5886         * gdb.base/valgrind-db-attach.exp
5887         * gdb.base/watch_thread_num.exp
5888         * gdb.base/watchpoint-cond-gone.exp
5889         * gdb.base/watchpoint.exp
5890         * gdb.base/watchpoints.exp
5891         * gdb.cp/arg-reference.exp
5892         * gdb.cp/baseenum.exp
5893         * gdb.cp/operator.exp
5894         * gdb.cp/shadow.exp
5895         * gdb.dwarf2/dw2-op-out-param.exp
5896         * gdb.dwarf2/dw2-reg-undefined.exp
5897         * gdb.go/chan.exp
5898         * gdb.go/hello.exp
5899         * gdb.go/integers.exp
5900         * gdb.go/methods.exp
5901         * gdb.go/package.exp
5902         * gdb.guile/scm-parameter.exp
5903         * gdb.guile/scm-progspace.exp
5904         * gdb.guile/scm-value.exp
5905         * gdb.mi/mi-pending.exp
5906         * gdb.mi/user-selected-context-sync.exp
5907         * gdb.multi/multi-attach.exp
5908         * gdb.multi/tids.exp
5909         * gdb.opt/clobbered-registers-O2.exp
5910         * gdb.pascal/floats.exp
5911         * gdb.pascal/integers.exp
5912         * gdb.python/py-block.exp
5913         * gdb.python/py-events.exp
5914         * gdb.python/py-parameter.exp
5915         * gdb.python/py-symbol.exp
5916         * gdb.python/py-symtab.exp
5917         * gdb.python/py-type.exp
5918         * gdb.python/py-value.exp
5919         * gdb.python/py-xmethods.exp
5920         * gdb.python/python.exp
5921         * gdb.reverse/break-precsave.exp
5922         * gdb.reverse/consecutive-precsave.exp
5923         * gdb.reverse/finish-precsave.exp
5924         * gdb.reverse/i386-precsave.exp
5925         * gdb.reverse/machinestate-precsave.exp
5926         * gdb.reverse/sigall-precsave.exp
5927         * gdb.reverse/solib-precsave.exp
5928         * gdb.reverse/step-precsave.exp
5929         * gdb.reverse/until-precsave.exp
5930         * gdb.reverse/watch-precsave.exp
5931         * gdb.server/ext-attach.exp
5932         * gdb.server/ext-restart.exp
5933         * gdb.server/ext-run.exp
5934         * gdb.server/ext-wrapper.exp
5935         * gdb.stabs/gdb11479.exp
5936         * gdb.stabs/weird.exp
5937         * gdb.threads/attach-many-short-lived-threads.exp
5938         * gdb.threads/kill.exp
5939         * gdb.threads/watchpoint-fork.exp
5940
5941 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5942
5943         Fix test names starting with uppercase throughout all the files below.
5944
5945         * gdb.ada/array_return.exp
5946         * gdb.ada/catch_ex.exp
5947         * gdb.ada/info_exc.exp
5948         * gdb.ada/mi_catch_ex.exp
5949         * gdb.ada/mi_dyn_arr.exp
5950         * gdb.ada/mi_ex_cond.exp
5951         * gdb.ada/mi_exc_info.exp
5952         * gdb.ada/mi_interface.exp
5953         * gdb.ada/mi_task_arg.exp
5954         * gdb.ada/mi_task_info.exp
5955         * gdb.ada/mi_var_array.exp
5956         * gdb.arch/alpha-step.exp
5957         * gdb.arch/amd64-disp-step.exp
5958         * gdb.arch/arm-disp-step.exp
5959         * gdb.arch/disp-step-insn-reloc.exp
5960         * gdb.arch/e500-prologue.exp
5961         * gdb.arch/ftrace-insn-reloc.exp
5962         * gdb.arch/gdb1558.exp
5963         * gdb.arch/i386-bp_permanent.exp
5964         * gdb.arch/i386-disp-step.exp
5965         * gdb.arch/i386-float.exp
5966         * gdb.arch/i386-gnu-cfi.exp
5967         * gdb.arch/ia64-breakpoint-shadow.exp
5968         * gdb.arch/mips16-thunks.exp
5969         * gdb.arch/pa-nullify.exp
5970         * gdb.arch/powerpc-aix-prologue.exp
5971         * gdb.arch/powerpc-power.exp
5972         * gdb.arch/ppc-dfp.exp
5973         * gdb.arch/s390-tdbregs.exp
5974         * gdb.arch/spu-info.exp
5975         * gdb.arch/spu-ls.exp
5976         * gdb.arch/thumb-bx-pc.exp
5977         * gdb.base/advance.exp
5978         * gdb.base/annota-input-while-running.exp
5979         * gdb.base/arrayidx.exp
5980         * gdb.base/asmlabel.exp
5981         * gdb.base/async.exp
5982         * gdb.base/attach-wait-input.exp
5983         * gdb.base/auto-connect-native-target.exp
5984         * gdb.base/batch-preserve-term-settings.exp
5985         * gdb.base/bfp-test.exp
5986         * gdb.base/bigcore.exp
5987         * gdb.base/bp-permanent.exp
5988         * gdb.base/break-always.exp
5989         * gdb.base/break-fun-addr.exp
5990         * gdb.base/break-idempotent.exp
5991         * gdb.base/break-main-file-remove-fail.exp
5992         * gdb.base/break-probes.exp
5993         * gdb.base/break-unload-file.exp
5994         * gdb.base/break.exp
5995         * gdb.base/call-ar-st.exp
5996         * gdb.base/call-rt-st.exp
5997         * gdb.base/call-sc.exp
5998         * gdb.base/call-signal-resume.exp
5999         * gdb.base/call-strs.exp
6000         * gdb.base/callexit.exp
6001         * gdb.base/callfuncs.exp
6002         * gdb.base/catch-gdb-caused-signals.exp
6003         * gdb.base/catch-signal-siginfo-cond.exp
6004         * gdb.base/catch-syscall.exp
6005         * gdb.base/compare-sections.exp
6006         * gdb.base/cond-eval-mode.exp
6007         * gdb.base/condbreak-call-false.exp
6008         * gdb.base/consecutive-step-over.exp
6009         * gdb.base/cursal.exp
6010         * gdb.base/disabled-location.exp
6011         * gdb.base/disasm-end-cu.exp
6012         * gdb.base/display.exp
6013         * gdb.base/double-prompt-target-event-error.exp
6014         * gdb.base/dprintf-bp-same-addr.exp
6015         * gdb.base/dprintf-detach.exp
6016         * gdb.base/dprintf-next.exp
6017         * gdb.base/dprintf-non-stop.exp
6018         * gdb.base/dprintf-pending.exp
6019         * gdb.base/dso2dso.exp
6020         * gdb.base/ending-run.exp
6021         * gdb.base/enum_cond.exp
6022         * gdb.base/examine-backward.exp
6023         * gdb.base/exe-lock.exp
6024         * gdb.base/exec-invalid-sysroot.exp
6025         * gdb.base/execl-update-breakpoints.exp
6026         * gdb.base/execution-termios.exp
6027         * gdb.base/fileio.exp
6028         * gdb.base/fixsection.exp
6029         * gdb.base/foll-exec-mode.exp
6030         * gdb.base/foll-exec.exp
6031         * gdb.base/fork-running-state.exp
6032         * gdb.base/frame-args.exp
6033         * gdb.base/fullpath-expand.exp
6034         * gdb.base/func-ptr.exp
6035         * gdb.base/gcore-relro-pie.exp
6036         * gdb.base/gdb1090.exp
6037         * gdb.base/gdb1555.exp
6038         * gdb.base/global-var-nested-by-dso.exp
6039         * gdb.base/gnu-ifunc.exp
6040         * gdb.base/hbreak-in-shr-unsupported.exp
6041         * gdb.base/hbreak-unmapped.exp
6042         * gdb.base/hook-stop.exp
6043         * gdb.base/infcall-input.exp
6044         * gdb.base/info-fun.exp
6045         * gdb.base/info-shared.exp
6046         * gdb.base/interrupt-noterm.exp
6047         * gdb.base/jit-so.exp
6048         * gdb.base/jit.exp
6049         * gdb.base/line-symtabs.exp
6050         * gdb.base/list.exp
6051         * gdb.base/longjmp.exp
6052         * gdb.base/macscp.exp
6053         * gdb.base/max-value-size.exp
6054         * gdb.base/nodebug.exp
6055         * gdb.base/nofield.exp
6056         * gdb.base/overlays.exp
6057         * gdb.base/paginate-after-ctrl-c-running.exp
6058         * gdb.base/paginate-bg-execution.exp
6059         * gdb.base/paginate-inferior-exit.exp
6060         * gdb.base/pending.exp
6061         * gdb.base/pr11022.exp
6062         * gdb.base/printcmds.exp
6063         * gdb.base/ptr-typedef.exp
6064         * gdb.base/ptype.exp
6065         * gdb.base/randomize.exp
6066         * gdb.base/range-stepping.exp
6067         * gdb.base/realname-expand.exp
6068         * gdb.base/relativedebug.exp
6069         * gdb.base/remote.exp
6070         * gdb.base/savedregs.exp
6071         * gdb.base/sepdebug.exp
6072         * gdb.base/set-noassign.exp
6073         * gdb.base/shlib-call.exp
6074         * gdb.base/shreloc.exp
6075         * gdb.base/sigaltstack.exp
6076         * gdb.base/sigbpt.exp
6077         * gdb.base/siginfo-addr.exp
6078         * gdb.base/siginfo-obj.exp
6079         * gdb.base/siginfo-thread.exp
6080         * gdb.base/signest.exp
6081         * gdb.base/signull.exp
6082         * gdb.base/sigrepeat.exp
6083         * gdb.base/skip.exp
6084         * gdb.base/so-impl-ld.exp
6085         * gdb.base/solib-corrupted.exp
6086         * gdb.base/solib-disc.exp
6087         * gdb.base/solib-display.exp
6088         * gdb.base/solib-overlap.exp
6089         * gdb.base/solib-search.exp
6090         * gdb.base/solib-symbol.exp
6091         * gdb.base/source-execution.exp
6092         * gdb.base/sss-bp-on-user-bp-2.exp
6093         * gdb.base/sss-bp-on-user-bp.exp
6094         * gdb.base/stack-checking.exp
6095         * gdb.base/stale-infcall.exp
6096         * gdb.base/step-break.exp
6097         * gdb.base/step-line.exp
6098         * gdb.base/step-over-exit.exp
6099         * gdb.base/step-test.exp
6100         * gdb.base/structs.exp
6101         * gdb.base/sym-file.exp
6102         * gdb.base/symtab-search-order.exp
6103         * gdb.base/term.exp
6104         * gdb.base/type-opaque.exp
6105         * gdb.base/unload.exp
6106         * gdb.base/until-nodebug.exp
6107         * gdb.base/until.exp
6108         * gdb.base/unwindonsignal.exp
6109         * gdb.base/watch-cond.exp
6110         * gdb.base/watch-non-mem.exp
6111         * gdb.base/watch_thread_num.exp
6112         * gdb.base/watchpoint-reuse-slot.exp
6113         * gdb.base/watchpoint-solib.exp
6114         * gdb.base/watchpoint.exp
6115         * gdb.btrace/dlopen.exp
6116         * gdb.cell/arch.exp
6117         * gdb.cell/break.exp
6118         * gdb.cell/bt.exp
6119         * gdb.cell/core.exp
6120         * gdb.cell/data.exp
6121         * gdb.cell/dwarfaddr.exp
6122         * gdb.cell/ea-cache.exp
6123         * gdb.cell/ea-standalone.exp
6124         * gdb.cell/ea-test.exp
6125         * gdb.cell/f-regs.exp
6126         * gdb.cell/fork.exp
6127         * gdb.cell/gcore.exp
6128         * gdb.cell/mem-access.exp
6129         * gdb.cell/ptype.exp
6130         * gdb.cell/registers.exp
6131         * gdb.cell/sizeof.exp
6132         * gdb.cell/solib-symbol.exp
6133         * gdb.cell/solib.exp
6134         * gdb.compile/compile-tls.exp
6135         * gdb.cp/exception.exp
6136         * gdb.cp/gdb2495.exp
6137         * gdb.cp/local.exp
6138         * gdb.cp/mb-inline.exp
6139         * gdb.cp/mb-templates.exp
6140         * gdb.cp/pr10687.exp
6141         * gdb.cp/pr9167.exp
6142         * gdb.cp/scope-err.exp
6143         * gdb.cp/templates.exp
6144         * gdb.cp/virtfunc.exp
6145         * gdb.dwarf2/dw2-dir-file-name.exp
6146         * gdb.dwarf2/dw2-single-line-discriminators.exp
6147         * gdb.fortran/complex.exp
6148         * gdb.fortran/library-module.exp
6149         * gdb.guile/guile.exp
6150         * gdb.guile/scm-cmd.exp
6151         * gdb.guile/scm-frame-inline.exp
6152         * gdb.guile/scm-objfile.exp
6153         * gdb.guile/scm-pretty-print.exp
6154         * gdb.guile/scm-symbol.exp
6155         * gdb.guile/scm-type.exp
6156         * gdb.guile/scm-value.exp
6157         * gdb.linespec/keywords.exp
6158         * gdb.linespec/ls-errs.exp
6159         * gdb.linespec/macro-relative.exp
6160         * gdb.linespec/thread.exp
6161         * gdb.mi/mi-breakpoint-changed.exp
6162         * gdb.mi/mi-dprintf-pending.exp
6163         * gdb.mi/mi-fullname-deleted.exp
6164         * gdb.mi/mi-logging.exp
6165         * gdb.mi/mi-pending.exp
6166         * gdb.mi/mi-solib.exp
6167         * gdb.mi/new-ui-mi-sync.exp
6168         * gdb.mi/user-selected-context-sync.exp
6169         * gdb.multi/dummy-frame-restore.exp
6170         * gdb.multi/multi-arch-exec.exp
6171         * gdb.multi/remove-inferiors.exp
6172         * gdb.multi/watchpoint-multi-exit.exp
6173         * gdb.opt/solib-intra-step.exp
6174         * gdb.perf/backtrace.exp
6175         * gdb.perf/single-step.exp
6176         * gdb.perf/skip-command.exp
6177         * gdb.perf/skip-prologue.exp
6178         * gdb.perf/solib.exp
6179         * gdb.python/lib-types.exp
6180         * gdb.python/py-as-string.exp
6181         * gdb.python/py-bad-printers.exp
6182         * gdb.python/py-block.exp
6183         * gdb.python/py-breakpoint.exp
6184         * gdb.python/py-cmd.exp
6185         * gdb.python/py-events.exp
6186         * gdb.python/py-evthreads.exp
6187         * gdb.python/py-finish-breakpoint.exp
6188         * gdb.python/py-finish-breakpoint2.exp
6189         * gdb.python/py-frame-inline.exp
6190         * gdb.python/py-frame.exp
6191         * gdb.python/py-inferior.exp
6192         * gdb.python/py-infthread.exp
6193         * gdb.python/py-mi.exp
6194         * gdb.python/py-objfile.exp
6195         * gdb.python/py-pp-maint.exp
6196         * gdb.python/py-pp-registration.exp
6197         * gdb.python/py-prettyprint.exp
6198         * gdb.python/py-recurse-unwind.exp
6199         * gdb.python/py-shared.exp
6200         * gdb.python/py-symbol.exp
6201         * gdb.python/py-symtab.exp
6202         * gdb.python/py-template.exp
6203         * gdb.python/py-type.exp
6204         * gdb.python/py-unwind-maint.exp
6205         * gdb.python/py-unwind.exp
6206         * gdb.python/py-value.exp
6207         * gdb.python/python.exp
6208         * gdb.reverse/finish-reverse-bkpt.exp
6209         * gdb.reverse/insn-reverse.exp
6210         * gdb.reverse/next-reverse-bkpt-over-sr.exp
6211         * gdb.reverse/solib-precsave.exp
6212         * gdb.reverse/solib-reverse.exp
6213         * gdb.stabs/gdb11479.exp
6214         * gdb.stabs/weird.exp
6215         * gdb.threads/fork-child-threads.exp
6216         * gdb.threads/fork-plus-threads.exp
6217         * gdb.threads/fork-thread-pending.exp
6218         * gdb.threads/forking-threads-plus-breakpoint.exp
6219         * gdb.threads/hand-call-in-threads.exp
6220         * gdb.threads/interrupted-hand-call.exp
6221         * gdb.threads/linux-dp.exp
6222         * gdb.threads/local-watch-wrong-thread.exp
6223         * gdb.threads/next-while-other-thread-longjmps.exp
6224         * gdb.threads/non-ldr-exit.exp
6225         * gdb.threads/pending-step.exp
6226         * gdb.threads/print-threads.exp
6227         * gdb.threads/process-dies-while-detaching.exp
6228         * gdb.threads/process-dies-while-handling-bp.exp
6229         * gdb.threads/pthreads.exp
6230         * gdb.threads/queue-signal.exp
6231         * gdb.threads/reconnect-signal.exp
6232         * gdb.threads/signal-command-handle-nopass.exp
6233         * gdb.threads/signal-command-multiple-signals-pending.exp
6234         * gdb.threads/signal-delivered-right-thread.exp
6235         * gdb.threads/signal-sigtrap.exp
6236         * gdb.threads/sigthread.exp
6237         * gdb.threads/staticthreads.exp
6238         * gdb.threads/stepi-random-signal.exp
6239         * gdb.threads/thread-unwindonsignal.exp
6240         * gdb.threads/thread_check.exp
6241         * gdb.threads/thread_events.exp
6242         * gdb.threads/tid-reuse.exp
6243         * gdb.threads/tls-nodebug.exp
6244         * gdb.threads/tls-shared.exp
6245         * gdb.threads/tls-so_extern.exp
6246         * gdb.threads/tls.exp
6247         * gdb.threads/wp-replication.exp
6248         * gdb.trace/actions-changed.exp
6249         * gdb.trace/actions.exp
6250         * gdb.trace/backtrace.exp
6251         * gdb.trace/change-loc.exp
6252         * gdb.trace/collection.exp
6253         * gdb.trace/deltrace.exp
6254         * gdb.trace/disconnected-tracing.exp
6255         * gdb.trace/entry-values.exp
6256         * gdb.trace/ftrace-lock.exp
6257         * gdb.trace/ftrace.exp
6258         * gdb.trace/infotrace.exp
6259         * gdb.trace/mi-trace-frame-collected.exp
6260         * gdb.trace/mi-trace-unavailable.exp
6261         * gdb.trace/mi-traceframe-changed.exp
6262         * gdb.trace/mi-tracepoint-changed.exp
6263         * gdb.trace/mi-tsv-changed.exp
6264         * gdb.trace/no-attach-trace.exp
6265         * gdb.trace/packetlen.exp
6266         * gdb.trace/passc-dyn.exp
6267         * gdb.trace/passcount.exp
6268         * gdb.trace/pending.exp
6269         * gdb.trace/pr16508.exp
6270         * gdb.trace/qtro.exp
6271         * gdb.trace/range-stepping.exp
6272         * gdb.trace/read-memory.exp
6273         * gdb.trace/report.exp
6274         * gdb.trace/save-trace.exp
6275         * gdb.trace/signal.exp
6276         * gdb.trace/stap-trace.exp
6277         * gdb.trace/status-stop.exp
6278         * gdb.trace/strace.exp
6279         * gdb.trace/tfile.exp
6280         * gdb.trace/tfind.exp
6281         * gdb.trace/trace-break.exp
6282         * gdb.trace/trace-condition.exp
6283         * gdb.trace/trace-enable-disable.exp
6284         * gdb.trace/trace-mt.exp
6285         * gdb.trace/tracecmd.exp
6286         * gdb.trace/tracefile-pseudo-reg.exp
6287         * gdb.trace/tspeed.exp
6288         * gdb.trace/tstatus.exp
6289         * gdb.trace/tsv.exp
6290         * gdb.trace/unavailable.exp
6291         * gdb.trace/while-dyn.exp
6292         * gdb.trace/while-stepping.exp
6293         * lib/gdb-guile.exp
6294         * lib/gdb.exp
6295         * lib/mi-support.exp
6296         * lib/pascal.exp
6297         * lib/perftest.exp
6298         * lib/prelink-support.exp
6299         * lib/selftest-support.exp
6300
6301 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6302
6303         * Makefile.in: Include disable-implicit-rules.mk.
6304
6305 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6306
6307         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6308         non-byte-aligned bit fields.
6309
6310 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6311
6312         PR gdb/12616
6313         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6314         respects the DW_AT_data_bit_offset attribute.
6315
6316 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6317
6318         * gdb.base/default.exp: Fix output of "set language".
6319
6320 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6321
6322         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6323         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6324         make.
6325         * configure.ac: Remove checks for the make program.
6326         * configure: Re-generate.
6327
6328 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6329
6330         * gdb.python/py-recurse-unwind.c (main): Add loop.
6331         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6332         to read_register() and gdb.parse_and_eval().  Make each code
6333         call a separate case that can be individually tested.
6334         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6335         proc. Call cont_and_backtrace for each of the code paths that
6336         we want to test in the unwinder.
6337
6338 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6339
6340         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6341         the definition of struct S.
6342
6343 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6344
6345         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6346
6347 2016-11-09  Pedro Alves  <palves@redhat.com>
6348
6349         * gdb.base/commands.exp (runto_or_return): New procedure.
6350         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6351         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6352         (progvar_simple_while_test, progvar_complex_if_while_test)
6353         (if_while_breakpoint_command_test)
6354         (infrun_breakpoint_command_test, breakpoint_command_test)
6355         (user_defined_command_test, watchpoint_command_test)
6356         (test_command_prompt_position, redefine_hook_test)
6357         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6358         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6359         multi_line_input and multi_line.  Remove gdb_expect and
6360         gdb_stop_suppressing_tests uses.
6361         * lib/gdb.exp (valnum_re): New global.
6362         (multi_line_input): New procedure.
6363
6364 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6365
6366         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6367         Remove.
6368         (test_setup): Define with proc_with_prefix.
6369         (test_cli_inferior): Likewise.
6370         (test_cli_thread): Likewise.
6371         (test_cli_frame): Likewise.
6372         (test_cli_select_frame): Likewise.
6373         (test_cli_up_down): Likewise.
6374         (test_mi_thread_select): Likewise.
6375         (test_mi_stack_select_frame): Likewise.
6376         (test_cli_in_mi_inferior): Likewise.
6377         (test_cli_in_mi_thread): Likewise.
6378         (test_cli_in_mi_frame): Likewise.
6379         (top level): Do not use with_test_prefix_procname.
6380
6381 2016-11-09  Pedro Alves  <palves@redhat.com>
6382
6383         * gdb.base/commands.exp (gdbvar_simple_if_test)
6384         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6385         (progvar_simple_if_test, progvar_simple_while_test)
6386         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6387         (infrun_breakpoint_command_test, breakpoint_command_test)
6388         (user_defined_command_test, watchpoint_command_test)
6389         (test_command_prompt_position, deprecated_command_test)
6390         (bp_deleted_in_command, temporary_breakpoint_commands)
6391         (stray_arg0_test, source_file_with_indented_comment)
6392         (recursive_source_test, if_commands_test)
6393         (error_clears_commands_left, redefine_hook_test)
6394         (redefine_backtrace_test): Use proc_with_prefix.
6395         * lib/gdb.exp (proc_with_prefix): New proc.
6396
6397 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6398
6399         * gdb.base/tui-layout.c: New file.
6400         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6401         disassembly window contains very long lines.
6402
6403 2016-11-08  Tom Tromey  <tom@tromey.com>
6404
6405         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6406         depend on Python 2.
6407
6408 2016-11-08  Tom Tromey  <tom@tromey.com>
6409
6410         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6411         New method.
6412
6413 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6414
6415         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6416
6417 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6418
6419         * gdb.rust/simple.rs: Add test for univariant enums without
6420         discriminants and for encoded struct-like enums.
6421
6422 2016-10-28  Pedro Alves  <palves@redhat.com>
6423
6424         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6425         gdb_test_multiple, tighten regexps and match symtabs and line
6426         tables incrementally.
6427
6428 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6429
6430         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6431         general.
6432
6433 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6434
6435         * gdb.base/exec-invalid-sysroot.exp: New file.
6436
6437 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6438
6439         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6440
6441 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6442
6443         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6444
6445 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6446
6447         * gdb.base/killed-outside.exp: Remove $options from a call to
6448         `prepare_for_testing'.
6449
6450 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6451
6452         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6453         Change test message.
6454
6455 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6456
6457         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6458         Update comment.
6459
6460 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6461
6462         * gdb.trace/mi-trace-save.exp: New file.
6463
6464 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6465
6466         * gdb.base/code_elim.exp (get_var_address): Remove.
6467         * gdb.base/relocate.exp: Likewise.
6468         * gdb.base/shreloc.exp: Likewise.
6469         * lib/gdb.exp (get_var_address): New.
6470
6471 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6472
6473         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6474         floating point tests if $skip_float_test is false.
6475
6476 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6477
6478         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6479         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6480         argc values.
6481         Add 1 to argc so we guarantee distinct initial/modified argc values.
6482
6483 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6484
6485         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6486
6487 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6488
6489         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6490         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6491         * gdb.arch/vsx-regs.exp: Likewise.
6492
6493 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6494
6495         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6496
6497 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6498
6499         * gdb.python/python.exp: Test decode_line("*0").
6500
6501 2016-10-06  Doug Evans  <dje@google.com>
6502
6503         * gdb.python/py-value.exp (test_value_creation): Add test for large
6504         unsigned 64-bit value.
6505
6506 2016-10-06  Tom Tromey  <tom@tromey.com>
6507
6508         * gdb.compile/compile.exp: Change java tests to rust.
6509         * gdb.base/setshow.exp: Change java tests to rust.
6510         * gdb.base/default.exp: Remove java from language list.
6511         * README (Examples): Update language example.
6512         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6513         test.
6514         * lib/gdb.exp (skip_java_tests): Remove.
6515         * lib/java.exp: Remove.
6516         * gdb.java: Remove.
6517
6518 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6519
6520         * gdb.arch/mips-fcr.exp: New test.
6521         * gdb.arch/mips-fcr.c: Source for the new test.
6522
6523 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6524
6525         * gdb.base/solib-disc.exp: Use `standard_output_file'
6526         throughout.
6527
6528 2016-10-06  Pedro Alves  <palves@redhat.com>
6529
6530         * gdb.base/jit-simple-dl.c: New file.
6531         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6532         * gdb.base/jit-simple.c: ... this.
6533         * gdb.base/jit-simple.exp (jit_run): Delete.
6534         (build_jit): New proc.
6535         (jit_test_reread): Recompile either the main program or the shared
6536         library, depending on what is being tested.  Skip changing address
6537         if caller wants to.  Compare before/after addresses.  If testing
6538         standalone, explicitly load the binary.  Test "maint info
6539         breakpoints".
6540         (top level): Add "standalone vs shared lib" and "change address"
6541         vs "same address" axes.
6542
6543 2016-10-06  Pedro Alves  <palves@redhat.com>
6544
6545         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6546         call.
6547         (jit_run): Delete.
6548         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6549         explicitly.  Compare the before/after addresses of the JIT
6550         descriptor.
6551
6552 2016-08-15  Doug Evans  <dje@google.com>
6553
6554         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6555         for single bitfields is bool.
6556         * gdb.xml/tdesc-regs.exp: Ditto.
6557
6558 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6559
6560         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6561
6562 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6563
6564         * lib/gdb.exp (support_complex_tests): Return zero if
6565         gdb_skip_float_test return true.
6566
6567 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6568             Simon Marchi  <simon.marchi@ericsson.com>
6569
6570         PR gdb/20487
6571         * gdb.mi/user-selected-context-sync.exp: New file.
6572         * gdb.mi/user-selected-context-sync.c: New file.
6573
6574 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6575             Simon Marchi  <simon.marchi@ericsson.com>
6576
6577         PR gdb/20487
6578         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6579         =thread-select-event check.
6580
6581 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6582
6583         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6584         the compulsory L operand changes.
6585         * gdb.arch/powerpc-power.s: Likewise.
6586
6587 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6588
6589         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6590         * gdb.base/jit-attach-pie.c: New file.
6591         * gdb.base/jit-attach-pie.exp: New file.
6592
6593 2016-09-28  Pedro Alves  <palves@redhat.com>
6594
6595         * gdb.base/infcall-input.c: New file.
6596         * gdb.base/infcall-input.exp: New file.
6597
6598 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6599
6600         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6601         (gdb_exit): Rename it to ...
6602         (gdbserver_gdb_exit): ...  Close GDBserver.
6603         (gdb_exit): New proc, call gdbserver_gdb_exit.
6604         (mi_gdb_exit): Likewise.
6605
6606 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6607
6608         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6609         path.
6610         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6611         Remove duplication.
6612
6613 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6614
6615         * lib/gdbserver-support.exp: Check the existence of
6616         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6617
6618 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6619
6620         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6621
6622 2016-09-21  Tom Tromey  <tom@tromey.com>
6623
6624         PR gdb/20604:
6625         * gdb.base/quit.exp: New file.
6626
6627 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6628
6629         * .gitignore: New file.
6630
6631 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6632
6633         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6634         throughout.
6635
6636 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6637
6638         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6639
6640 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6641
6642         * gdb.cp/casts.cc (decltype): Move it ...
6643         (main): ... with its call to ...
6644         * gdb.cp/casts03.cc: ... a new file.
6645         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6646
6647 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6648
6649         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6650
6651 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6652
6653         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6654         and sync up the test with tests in gas/testsuite/gas/ppc.
6655         * gdb.arch/powerpc-power.exp: Likewise.
6656
6657 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6658
6659         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6660
6661 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6662             Jan Kratochvil  <jan.kratochvil@redhat.com>
6663
6664         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6665         make m1's definition to be different from m2's.  Use 'dummy' as an
6666         argument for probe 'two'.
6667
6668 2016-09-10  Jon Beniston  <jon@beniston.com>
6669
6670         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6671         for sim target.
6672
6673 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6674
6675         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6676         variable declaration.
6677         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6678         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6679         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6680         received HWCAP as its argument.
6681
6682 2016-09-06  Pedro Alves  <palves@redhat.com>
6683
6684         * gdb.base/new-ui-pending-input.c: New file.
6685         * gdb.base/new-ui-pending-input.exp: New file.
6686         * gdb.exp (clear_gdb_spawn_id): New procedure.
6687         (with_spawn_id): Check whether gdb_spawn_id exists before
6688         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6689         on exit.
6690
6691 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6692
6693         * gdb.base/float128.c: New file.
6694         * gdb.base/float128.exp: Likewise.
6695         * gdb.base/floatn.c: Likewise.
6696         * gdb.base/floatn.exp: Likewise.
6697
6698 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6699
6700         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6701
6702 2016-09-05  Pedro Alves  <palves@redhat.com>
6703
6704         PR backtrace/19927
6705         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6706         unwinders are immediately called as side effect of "source" or
6707         "disable unwinder" commands.
6708         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6709
6710 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6711
6712         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6713         is true and $type is "float" or "double".
6714
6715 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6716
6717         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6718         true.
6719         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6720         * gdb.base/call-rt-st.exp: Likewise.
6721         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6722         return value instead of gdb,skip_float_test.
6723         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6724         (do_function_calls): Use its return value instead of
6725         gdb,skip_float_test.
6726         * gdb.base/finish.exp: Likewise.
6727         * gdb.base/funcargs.exp: Likewise.
6728         * gdb.base/return.exp: Likewise.
6729         * gdb.base/return2.exp: Likewise.
6730         * gdb.base/varargs.exp: Likewise.
6731         * lib/gdb.exp (gdb_skip_float_test): Change it to
6732         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6733
6734 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6735
6736         * gdb.multi/tids.exp: Test "thread apply all".
6737
6738 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6739
6740         * gdb.base/default.exp (tty): Remove.
6741
6742 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6743
6744         * gdb.python/py-recurse-unwind.c: New file.
6745         * gdb.python/py-recurse-unwind.py: New file.
6746         * gdb.python/py-recurse-unwind.exp: New file.
6747
6748 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6749
6750         * gdb.base/set-inferior-tty.exp: New file.
6751         * gdb.base/set-inferior-tty.c: New file.
6752
6753 2016-08-23  Pedro Alves  <palves@redhat.com>
6754
6755         PR gdb/20494
6756         * gdb.base/new-ui-echo.c: New file.
6757         * gdb.base/new-ui-echo.exp: New file.
6758
6759 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6760
6761         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6762         gdbserver_spawn.
6763         * gdb.server/connect-without-multi-process.exp (do_test):
6764         Likewise.
6765
6766 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6767
6768         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6769         standalone_txt.  Delete gdb_txt and standalone_txt on host
6770         and target.  Spawn the binary on target.  Copy files from
6771         target to host.
6772
6773 2016-08-22  Pedro Alves  <palves@redhat.com>
6774
6775         PR gdb/20505
6776         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6777         with_test_prefix.  Factor out bits to ...
6778         (test_no_vdso): ... this new procedure.
6779
6780 2016-08-19  Carl Love  <cel@us.ibm.com>
6781
6782         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6783         maintaining separate logic for constructing the output path.
6784         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6785         * gdb.arch/ppc-dfp.exp: Likewise.
6786         * gdb.arch/ppc-fp.exp: Likewise.
6787         * gdb.arch/vsx-regs.exp: Likewise.
6788         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6789         binprefix for generating the additional binary files.
6790
6791 2016-08-19  Pedro Alves  <palves@redhat.com>
6792
6793         * gdb.trace/mi-trace-frame-collected.exp
6794         (test_trace_frame_collected): On x32, expect two registers.
6795
6796 2016-08-18  Carl Love  <cel@us.ibm.com>
6797
6798         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6799         and sync up the test with tests in gas/testsuite/gas/ppc.
6800         * gdb.arch/powerpc-power.exp: Likewise.
6801
6802 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6803
6804         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6805         expected error message.
6806
6807 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6808
6809         * gdb.multi/remove-inferiors.exp: New file.
6810         * gdb.multi/remove-inferiors.c: New file.
6811
6812 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6813
6814         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6815         argument list.
6816
6817 2016-08-10  Pedro Alves  <palves@redhat.com>
6818
6819         PR gdb/19187
6820         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6821         setup_kfails.
6822
6823 2016-08-09  Pedro Alves  <palves@redhat.com>
6824             Simon Marchi  <simon.marchi@ericsson.com>
6825
6826         PR gdb/20418
6827         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6828         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6829
6830 2016-08-09  Pedro Alves  <palves@redhat.com>
6831
6832         PR mi/20431
6833         * gdb.mi/mi-cmd-error.exp: New file.
6834
6835 2016-08-09  Pedro Alves  <palves@redhat.com>
6836
6837         PR gdb/18653
6838         * gdb.base/signals-state-child.c: New file.
6839         * gdb.base/signals-state-child.exp: New file.
6840         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6841
6842 2016-08-09  Pedro Alves  <palves@redhat.com>
6843
6844         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6845
6846 2016-08-03  Tom Tromey  <tom@tromey.com>
6847
6848         PR python/18565:
6849         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6850
6851 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6852
6853         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6854         variable mode to "multi-process" if $multi_process is 1, otherwise
6855         set it to "single-process".
6856
6857 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6858
6859         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6860         * gdb.cp/cpexprs.exp: Likewise.
6861         * gdb.cp/m-static.exp: Likewise.
6862
6863 2016-07-26  Tom Tromey  <tom@tromey.com>
6864
6865         PR python/20190:
6866         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6867         test.
6868
6869 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6870
6871         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6872         selecting assembly source files.
6873         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6874         assembly source files.
6875         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6876         assembly source files.
6877         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6878         selecting assembly source files.
6879
6880 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6881
6882         * gdb.base/new-ui.exp (do_test_invalid_args): New
6883         procedure.
6884
6885 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6886
6887         * gdb.btrace/reconnect.c: New file.
6888         * gdb.btrace/reconnect.exp: New file.
6889
6890 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6891
6892         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6893         to test_catch_syscall_group.
6894         (test_catch_syscall_group): New.
6895
6896 2016-07-21  Tom Tromey  <tom@tromey.com>
6897
6898         * gdb.rust/simple.rs (main): Use empty struct expression.
6899         * gdb.rust/simple.exp: Add tests for empty struct expression.
6900
6901 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6902
6903         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6904         if gdb_skip_xml_test is true on some targets.
6905
6906 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6907
6908         * gdb.server/solib-list.exp: Unset last_loaded_file.
6909
6910 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6911
6912         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6913         "step into captured_main (args)".
6914
6915 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6916
6917         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6918
6919 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6920
6921         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6922
6923 2016-07-19  Pedro Alves  <palves@redhat.com>
6924
6925         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6926         * gdb.opt/inline-bt.exp: Likewise.
6927         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6928         additional_flags=-Winline.
6929         * gdb.opt/inline-locals.exp: Likewise.
6930         * gdb.opt/inline-markers.c (ATTR): Define.
6931         (inlined_fn): Use it.
6932
6933 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6934
6935         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6936         (test_with_self): Remove some code.  Remove argument executable.
6937         (top-level): Use do_self_tests.
6938
6939 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6940             Don Breazeal <donb@codesourcery.com>
6941
6942         * gdb.base/maint.exp: Escape paths used in regular expressions.
6943         * gdb.stabs/weird.exp: Likewise.
6944
6945 2016-07-13  Tom Tromey  <tom@tromey.com>
6946
6947         PR python/15620, PR python/18620:
6948         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6949         (test_bkpt_events): New procs.
6950
6951 2016-07-13  Tom Tromey  <tom@tromey.com>
6952
6953         PR python/17698:
6954         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6955         test.
6956         (test_watchpoints): Likewise.
6957         (test_bkpt_pending): New proc.
6958
6959 2016-07-13  Tom Tromey  <tom@tromey.com>
6960
6961         PR cli/18053:
6962         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6963         completion test.
6964
6965 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6966
6967         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6968         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6969         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6970         f_label.
6971         (g): Rename g_end_lbl to g_label.
6972         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6973         low_pc and high_pc.
6974         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6975
6976 2016-07-12  Tom Tromey  <tom@tromey.com>
6977
6978         PR python/19293:
6979         * gdb.python/py-unwind-maint.exp: Update tests.
6980
6981 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6982
6983         * lib/selftest-support.exp (selftest_setup): Match the output
6984         when captured_main is inlined.
6985
6986 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6987
6988         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6989         New variables.
6990         (print this%a, print this%b, print this): New tests.
6991         * gdb.fortran/derived-types.f90 (this): New object and
6992         initialization.
6993
6994 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6995
6996         * gdb.ada/arraydim.exp: Remove extra directory level in build
6997         directory.
6998
6999 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
7000
7001         * lib/ada.exp: Remove extra directory level in build directory.
7002         * gdb.ada/cond_lang.exp: Likewise.
7003         * gdb.ada/exec_changed.exp: Likewise.
7004         * gdb.ada/lang_switch.exp: Likewise.
7005
7006 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
7007
7008         * simple.rs: Add test for raw pointer subscripting.
7009         * simple.exp: Add test expectations.
7010
7011 2016-07-05  Yao Qi  <yao.qi@linaro.org>
7012
7013         * gdb.mi/mi-reverse.exp: Match =record-started output.
7014
7015 2016-07-01  Pedro Alves  <palves@redhat.com>
7016
7017         * gdb.base/jit-reader.exp (info_registers_current_frame): New
7018         procedure.
7019         (jit_reader_test): Test the jit reader's unwinder.
7020         * gdb.base/jithost.c (jit_function_00_code): New global.
7021         (main): Use memcpy to fill in the mmapped code, instead of poking
7022         bytes manually here.
7023         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7024         value.
7025         (read_debug_info): Save the function's range.
7026         (read_sp): New function.
7027         (unwind_frame): Use it.  Also unwind RBP.
7028         (get_frame_id): Use read_sp.
7029         (gdb_init_reader): Use calloc instead of malloc.
7030         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7031         parameter.  Use gdb_test_multiple.
7032
7033 2016-07-01  Pedro Alves  <palves@redhat.com>
7034             Antoine Tremblay  <antoine.tremblay@ericsson.com>
7035
7036         * gdb.threads/process-dies-while-detaching.c: New file.
7037         * gdb.threads/process-dies-while-detaching.exp: New file.
7038
7039 2016-07-01  Pedro Alves  <palves@redhat.com>
7040
7041         * gdb.multi/watchpoint-multi-exit.c: New file.
7042         * gdb.multi/watchpoint-multi-exit.exp: New file.
7043
7044 2016-06-30  Pedro Alves  <palves@redhat.com>
7045
7046         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7047         unset inferior_spawn_id.
7048
7049 2016-06-30  Pedro Alves  <palves@redhat.com>
7050
7051         * lib/mi-support.exp (default_mi_gdb_start): Declare global
7052         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7053
7054 2016-06-29  Yao Qi  <yao.qi@linaro.org>
7055
7056         * gdb.base/return.c: Add copyright header.
7057
7058 2016-06-29  Tom Tromey  <tom@tromey.com>
7059
7060         PR python/20129:
7061         * gdb.python/py-framefilter.exp: Add tests for setting priority
7062         and disabling of non-existent frame filter.
7063
7064 2016-06-29  Yao Qi  <yao.qi@linaro.org>
7065
7066         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7067         0x0f07ff.
7068
7069 2016-06-28  Yao Qi  <yao.qi@linaro.org>
7070
7071         * gdb.base/catch-syscall.exp: Remove check on isnative and target
7072         triplets.  Start gdb, execute catch syscall, and continue.  Check
7073         gdb's output to determine catch syscall is supported.
7074
7075 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
7076
7077         * gdb.rust/simple.rs: Add test for returning unit in a function.
7078         * gdb.rust/simple.exp: Add expectation for functions returning
7079         unit.
7080
7081 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
7082
7083         * gdb.python/py-breakpoint-create-fail.c,
7084         gdb.python/py-breakpoint-create-fail.exp,
7085         gdb.python/py-breakpoint-create-fail.py: New testcase.
7086
7087 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
7088
7089         PR gdb/20239
7090         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7091         * gdb.rust/simple.exp: Add test expectations for new NonZero
7092         tests.
7093
7094 2016-06-24  David Taylor  <dtaylor@emc.com>
7095
7096         * gdb.base/offsets.exp: New file.
7097         * gdb.base/offsets.c: New file.
7098
7099 2016-06-23  Tom Tromey  <tom@tromey.com>
7100
7101         PR gdb/16483:
7102         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7103         before any filters are loaded.
7104
7105 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7106
7107         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7108         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7109         structs.
7110         * gdb.fortran/derived-type-function.exp: New file.
7111         * gdb.fortran/derived-type-function.f90: New file.
7112
7113
7114 2016-06-21  Pedro Alves  <palves@redhat.com>
7115
7116         * gdb.base/new-ui.exp: New file.
7117         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7118         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7119         (with_spawn_id): New procedure.
7120
7121 2016-06-21  Pedro Alves  <palves@redhat.com>
7122
7123         * gdb.mi/mi-exec-run.exp: New file.
7124
7125 2016-06-21  Pedro Alves  <palves@redhat.com>
7126
7127         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7128         breakpoint command's output on the main UI.
7129         (test_break): New procedure, factored out from calls in the top
7130         level.
7131         (top level): Use foreach_with_prefix to test MI as main UI and as
7132         separate UI.
7133
7134 2016-06-21  Pedro Alves  <palves@redhat.com>
7135
7136         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7137         (test_awatch_creation_and_listing)
7138         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7139         Remove 'type' parameter.
7140         (test_watchpoint_all): New parameter mi_mode.  Remove
7141         with_test_prefix.
7142         (top level): Use foreach_with_prefix, and add main/separate UI MI
7143         testing axis.
7144
7145 2016-06-21  Pedro Alves  <palves@redhat.com>
7146
7147         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7148         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7149         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7150         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7151         (gdb_main_spawn_id, mi_spawn_id): Declare and
7152         comment.
7153         (mi_create_inferior_pty): New procedure,
7154         factored out from default_mi_gdb_start.
7155         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7156         procedures.
7157         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7158         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7159         Use mi_create_inferior_pty.
7160         (mi_gdb_start): Use eval to pass down args list.
7161
7162 2016-06-21  Pedro Alves  <palves@redhat.com>
7163
7164         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7165         * gdb.opt/inline-cmds.exp: Add MI tests.
7166
7167 2016-06-21  Pedro Alves  <palves@redhat.com>
7168
7169         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7170
7171 2016-06-21  Pedro Alves  <palves@redhat.com>
7172
7173         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7174         (top level): Use it instead of mi_execute_to.
7175
7176 2016-06-21  Pedro Alves  <palves@redhat.com>
7177
7178         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7179         (cont_handler_str): New.
7180         (signal_stop_handler): Set stop_handler_str instead of printing to
7181         stdout.
7182         (continue_handler): Set cont_handler_str instead of printing to
7183         stdout.
7184         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7185         mi_send_resuming_command.  Print stop_handler_str and
7186         cont_handler_str instead of expecting the python events print
7187         directly.
7188
7189 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
7190
7191         * gdb.base/jit-reader.exp: New file.
7192         * gdb.base/jithost.c: New file.
7193         * gdb.base/jithost.h: New file.
7194         * gdb.base/jitreader.c : New file.
7195         * gdb.base/jit-protocol.h: New file.
7196
7197 2016-06-17  Yao Qi  <yao.qi@linaro.org>
7198
7199         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7200         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
7201         and detach-on-fork.  Adjust tests.
7202         (top level): Invoke break_cond_on_syscall with combinations of
7203         syscall, follow-fork-mode and detach-on-fork.
7204
7205 2016-06-17  Yao Qi  <yao.qi@linaro.org>
7206
7207         * gdb.base/step-over-exit.c: New.
7208         * gdb.base/step-over-exit.exp: New.
7209
7210 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
7211
7212         * gdb.base/float.exp: Add target check for nds32*-*-*.
7213         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7214
7215 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
7216
7217         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7218         for unsupported target features.
7219         * gdb.base/call-rt-st.exp: Likewise.
7220         * gdb.base/call-sc.exp: Likewise.
7221         * gdb.base/call-signal-resume.exp: Likewise.
7222         * gdb.base/call-strs.exp: Likewise.
7223         * gdb.base/callexit.exp: Likewise.
7224         * gdb.base/callfuncs.exp: Likewise.
7225         * gdb.base/nodebug.exp: Likewise.
7226         * gdb.base/printcmds.exp: Likewise.
7227         * gdb.base/ptype.exp: Likewise.
7228         * gdb.base/structs.exp: Likewise.
7229         * gdb.base/unwindonsignal.exp: Likewise.
7230         * gdb.cp/gdb2495.exp: Likewise.
7231         * gdb.cp/templates.exp: Likewise.
7232         * gdb.cp/virtfunc.exp: Likewise.
7233         * gdb.threads/hand-call-in-threads.exp: Likewise.
7234         * gdb.threads/interrupted-hand-call.exp: Likewise.
7235         * gdb.threads/thread-unwindonsignal.exp: Likewise.
7236
7237 2016-06-10  Tom Tromey  <tom@tromey.com>
7238
7239         PR rust/20110:
7240         * gdb.rust/expr.exp: Add test for integer constant larger than
7241         i32.
7242
7243 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
7244
7245         * gdb.fortran/nested-funcs.exp: New.
7246         * gdb.fortran/nested-funcs.f90: New.
7247
7248 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
7249
7250         * gdb.base/examine-backward.c: New file.
7251         * gdb.base/examine-backward.exp: New file.
7252
7253 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
7254
7255         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7256         matching.
7257
7258 2016-06-02  Tom Tromey  <tom@tromey.com>
7259
7260         PR python/18984:
7261         * gdb.python/py-shared.exp: Add solib_name test.
7262
7263 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
7264
7265         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7266
7267 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
7268
7269         PR c++/19893
7270         * gdb.dwarf2/implref.exp: Rename to...
7271         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
7272         * gdb.dwarf2/implref-array.c: New file.
7273         * gdb.dwarf2/implref-array.exp: Likewise.
7274         * gdb.dwarf2/implref-global.c: Likewise.
7275         * gdb.dwarf2/implref-global.exp: Likewise.
7276         * gdb.dwarf2/implref-struct.c: Likewise.
7277         * gdb.dwarf2/implref-struct.exp: Likewise.
7278
7279 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7280
7281         * gdb.trace/trace-condition.exp: Add 64bit tests.
7282
7283 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7284
7285         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7286         bits types.
7287         (main): Adapt to 8 to 64 bits types.
7288         * gdb.trace/trace-condition.exp: Add new tests.
7289
7290 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7291
7292         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7293
7294 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7295
7296         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7297         Move condition tests...
7298         * gdb.trace/trace-condition.exp: Here.
7299
7300 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7301
7302         * gdb.trace/trace-condition.exp: Add counter-case tests.
7303
7304 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7305
7306         PR c++/15231
7307         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7308         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7309
7310 2016-05-27  Pedro Alves  <palves@redhat.com>
7311
7312         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7313         New procedure.
7314         (top level): Call it, and bail out of DejaGnu is known to be bad.
7315
7316 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7317
7318         * gdb.base/whatis.c: Extend the test case.
7319         * gdb.base/whatis.exp: Add additional tests.
7320
7321 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7322
7323 * gdb.fortran/type.f90: Add pointer variable.
7324 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7325
7326 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7327
7328         * gdb.fortran/vla-type.exp: Fix testcase name.
7329
7330 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7331
7332         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7333
7334 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7335
7336         * gdb.fortran/type.f90: Add nested structures.
7337         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7338         * gdb.fortran/derived-type.exp: Adapt expected output.
7339         * gdb.fortran/vla-type.exp: Adapt expected output.
7340
7341 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7342
7343         * gdb.fortran/whatis_type.exp: Adapt expected output.
7344
7345 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7346
7347         * gdb.fortran/print_type.exp: Fix expected output.
7348         * gdb.fortran/whatis_type.exp: Fix expected output.
7349
7350 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7351
7352         * gdb.fortran/whatis_type.exp: Use multi_line.
7353
7354 2016-05-24  Tom Tromey  <tom@tromey.com>
7355
7356         PR python/17386:
7357         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7358         use value as an index.
7359
7360 2016-05-23  Tom Tromey  <tom@tromey.com>
7361
7362         PR python/17981:
7363         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7364         no-breakpoint case.
7365
7366 2016-05-24  Pedro Alves  <palves@redhat.com>
7367
7368         PR gdb/19828
7369         * gdb.threads/clone-attach-detach.c: New file.
7370         * gdb.threads/clone-attach-detach.exp: New file.
7371
7372 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7373
7374         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7375
7376 2016-05-23  Tom Tromey  <tom@tromey.com>
7377
7378         PR python/19438, PR python/18393:
7379         * gdb.python/py-progspace.exp: Add "dir" test.
7380         * gdb.python/py-objfile.exp: Add "dir" test.
7381
7382 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7383
7384         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7385         * gdb.arch/thumb2-it.exp: Likewise.
7386
7387 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7388
7389         * gdb.mi/mi-threads-interrupt.c: New file.
7390         * gdb.mi/mi-threads-interrupt.exp: New file.
7391
7392 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7393
7394         PR gdb/18077
7395         * gdb.mi/mi-async-run.exp: New file.
7396         * gdb.mi/mi-async-run.c: New file.
7397
7398 2016-05-17  Tom Tromey  <tom@tromey.com>
7399             Manish Goregaokar <manishsmail@gmail.com>
7400
7401         * lib/rust-support.exp: New file.
7402         * lib/gdb.exp (skip_rust_tests): New proc.
7403         (build_executable_from_specs): Handle rust.
7404         * lib/future.exp (gdb_find_rustc): New proc.
7405         (gdb_default_target_compile): Handle rust.
7406         * gdb.rust/expr.exp: New file.
7407         * gdb.rust/generics.exp: New file.
7408         * gdb.rust/generics.rs: New file.
7409         * gdb.rust/methods.exp: New file.
7410         * gdb.rust/methods.rs: New file.
7411         * gdb.rust/modules.exp: New file.
7412         * gdb.rust/modules.rs: New file.
7413         * gdb.rust/simple.exp: New file.
7414         * gdb.rust/simple.rs: New file.
7415
7416 2016-05-17  Tom Tromey  <tom@tromey.com>
7417
7418         * gdb.base/default.exp (set language): Add rust.
7419
7420 2016-05-17  Tom Tromey  <tom@tromey.com>
7421
7422         * gdb.gdb/unittest.exp: New file.
7423
7424 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7425
7426         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7427         shell_prompt.  Update shell_prompt_re.
7428
7429 2016-05-12  Doug Evans  <dje@google.com>
7430
7431         PR symtab/19999
7432         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7433         $options when building executable.
7434         * gdb.dwarf2/fission-loclists-pie.S: New file.
7435         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7436
7437 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7438
7439         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7440         of [is_remote target],
7441
7442 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7443
7444         * lib/gdb.exp (use_gdb_stub): New procedure.
7445
7446 2016-05-03  Yunlian Jiang <yunlian@google.com>
7447             Doug Evans  <dje@google.com>
7448
7449         PR symtab/19914
7450         * gdb.dwarf2/dwp-sepdebug.c: New file.
7451         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7452
7453 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7454
7455         * gdb.base/detach.exp: Remove is_remote check.
7456
7457 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7458
7459         * gdb.base/annota-input-while-running.exp: Don't check for
7460         [is_remote target].  Enable annotations after running to main.
7461         Remove unused "set test..." line.
7462
7463 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7464
7465         * gdb.trace/trace-enable-disable.exp: New file.
7466         * gdb.trace/trace-enable-disable.c: New file.
7467
7468 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7469
7470         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7471         use it in info sharedlibrary test.
7472         * gdb.trace/ftrace-lock.exp: Likewise.
7473         * gdb.trace/ftrace.exp: Likewise.
7474         * gdb.trace/range-stepping.exp: Likewise.
7475         * gdb.trace/trace-break.exp: Likewise.
7476         * gdb.trace/trace-condition.exp: Likewise.
7477         * gdb.trace/trace-mt.exp: Likewise.
7478
7479 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7480
7481         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7482         (gdb_load_shlib): ... this.
7483         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7484         gdb_load_shlib.
7485         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7486         * gdb.base/ctxobj.exp: Likewise.
7487         * gdb.base/dprintf-pending.exp: Likewise.
7488         * gdb.base/dso2dso.exp: Likewise.
7489         * gdb.base/fixsection.exp: Likewise.
7490         * gdb.base/gcore-relro.exp: Likewise.
7491         * gdb.base/gdb1555.exp: Likewise.
7492         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7493         * gdb.base/gnu-ifunc.exp: Likewise.
7494         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7495         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7496         * gdb.base/pending.exp: Likewise.
7497         * gdb.base/print-file-var.exp: Likewise.
7498         * gdb.base/print-symbol-loading.exp: Likewise.
7499         * gdb.base/shlib-call.exp: Likewise.
7500         * gdb.base/shreloc.exp: Likewise.
7501         * gdb.base/so-impl-ld.exp: Likewise.
7502         * gdb.base/solib-disc.exp: Likewise.
7503         * gdb.base/solib-nodir.exp: Likewise.
7504         * gdb.base/solib-overlap.exp: Likewise.
7505         * gdb.base/solib-symbol.exp: Likewise.
7506         * gdb.base/solib-weak.exp (do_test): Likewise.
7507         * gdb.base/sym-file.exp: Likewise.
7508         * gdb.base/symtab-search-order.exp: Likewise.
7509         * gdb.base/type-opaque.exp: Likewise.
7510         * gdb.base/unload.exp: Likewise.
7511         * gdb.base/watchpoint-solib.exp: Likewise.
7512         * gdb.compile/compile.exp: Likewise.
7513         * gdb.cp/gdb2384.exp: Likewise.
7514         * gdb.cp/infcall-dlopen.exp: Likewise.
7515         * gdb.cp/re-set-overloaded.exp: Likewise.
7516         * gdb.fortran/library-module.exp: Likewise.
7517         * gdb.opt/solib-intra-step.exp: Likewise.
7518         * gdb.python/py-finish-breakpoint.exp: Likewise.
7519         * gdb.python/py-shared.exp: Likewise.
7520         * gdb.reverse/solib-precsave.exp: Likewise.
7521         * gdb.reverse/solib-reverse.exp: Likewise.
7522         * gdb.server/solib-list.exp: Likewise.
7523         * gdb.threads/dlopen-libpthread.exp: Likewise.
7524         * gdb.threads/tls-shared.exp: Likewise.
7525         * gdb.threads/tls-so_extern.exp: Likewise.
7526         * gdb.trace/change-loc.exp: Likewise.
7527         * gdb.trace/ftrace-lock.exp: Likewise.
7528         * gdb.trace/ftrace.exp: Likewise.
7529         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7530         * gdb.trace/pending.exp: Likewise.
7531         * gdb.trace/range-stepping.exp: Likewise.
7532         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7533         (strace_info_marker): Likewise.
7534         (strace_probe_marker): Likewise.
7535         (strace_trace_on_same_addr): Likewise.
7536         (strace_trace_on_diff_addr): Likewise.
7537         * gdb.trace/trace-break.exp: Likewise.
7538         * gdb.trace/trace-condition.exp: Likewise.
7539         * gdb.trace/trace-mt.exp: Likewise.
7540
7541 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7542
7543         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7544         result of gdb_remote_download.
7545         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7546         * gdb.base/dso2dso.exp: Likewise.
7547         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7548         * gdb.base/print-file-var.exp: Likewise.
7549         * gdb.base/shlib-call.exp: Likewise.
7550         * gdb.base/shreloc.exp: Likewise.
7551         * gdb.base/solib-overlap.exp: Likewise.
7552         * gdb.base/solib-weak.exp (do_test): Likewise.
7553         * gdb.base/unload.exp: Likewise.
7554
7555 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7556
7557         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7558         exists.
7559
7560 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7561
7562         * vla-type.exp: Print structure from toplevel.
7563
7564 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7565
7566         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7567         of dynamic types.
7568         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7569         of dynamic types.
7570
7571 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7572
7573         * gdb.fortran/vla-type.f90: New file.
7574         * gdb.fortran/vla-type.exp: New file.
7575
7576 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7577
7578         * gdb.base/branch-to-self.c: New file.
7579         * gdb.base/branch-to-self.exp: New file.
7580
7581 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7582
7583         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7584         more after $hex.
7585
7586 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7587
7588         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7589         * gdb.base/annota3.exp: Likewise.
7590
7591 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7592
7593         * gdb.reverse/step-precsave.exp: Do one step and test program
7594         stops in "callee" and do multiple steps until program goes out
7595         of "callee".
7596         * gdb.reverse/step-reverse.exp: Likewise.
7597
7598 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7599
7600         * gdb.trace/signal.exp: Also pass if
7601         $tracepoint_hits($i) > $iterations.
7602
7603 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7604
7605         * gdb.trace/signal.c: New file.
7606         * gdb.trace/signal.exp: New file.
7607
7608 2016-04-19  Doug Evans  <xdje42@gmail.com>
7609
7610         * gdb.base/bad-file.exp: New file.
7611
7612 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7613
7614         * gdb.dwarf2/implref.exp: New file.
7615
7616 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7617
7618         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7619         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7620         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7621         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7622         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7623         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7624         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7625         * lib/fortran.exp (fortran_int4): New procedure.
7626         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7627         (fortran_logical4): Likewise.
7628
7629 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7630
7631         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7632
7633 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7634
7635         * lib/compiler.c: Add Intel specific preprocessor macros.
7636         * lib/compiler.cc: Likewise.
7637
7638 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7639
7640         * gdb.server/connect-with-no-symbol-file.c: New file.
7641         * gdb.server/connect-with-no-symbol-file.exp: New file.
7642
7643 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7644
7645         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7646
7647 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7648
7649         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7650         standard output directory.
7651
7652 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7653
7654         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7655
7656 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7657
7658         * gdb.btrace/instruction_history.c (loop): Add declaration.
7659
7660 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7661
7662         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7663
7664 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7665
7666         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7667         parentheses to print.
7668         (continue_handler): Likewise.
7669
7670 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7671
7672         * gdb.server/solib-list.exp: Remove is_remote check.
7673         Pass shlib= to gdb_compile.  Don't link shared library with
7674         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7675         Run binary filename through "readlink -f" on the target.
7676
7677 2016-04-08  Pedro Alves  <palves@redhat.com>
7678
7679         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7680         interpreter filename as argument to gdbserver_spawn.
7681         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7682         Return empty if $last_loaded_file does not exist.
7683
7684 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7685
7686         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7687         * gdb.base/jit-main.c: Use exit after usage.
7688
7689 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7690
7691         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7692         GDBHISTSIZE prior to the tests.
7693         * gdb.base/gdbinit-history.exp: Likewise.
7694
7695 2016-04-07  Pedro Alves  <palves@redhat.com>
7696
7697         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7698         instead of build_executable.  Use gdb_load_shlibs.
7699
7700 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7701
7702         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7703         Execute "si" command.
7704
7705 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7706
7707         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7708         number instead of the comments on some line.
7709
7710 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7711
7712         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7713         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7714
7715 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7716
7717         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7718         standard_output_file.  Remove unused binfile variable.
7719
7720 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7721
7722         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7723         * gdb.python/py-mi-objfile.exp: Match "list main" output
7724         in console format.
7725
7726 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7727
7728         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7729         absolute.
7730
7731 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7732
7733         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7734         absolute.
7735         * gdb.trace/ftrace.exp: Likewise.
7736         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7737         targets as well.
7738         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7739         (gdb_load_shlibs): Copy libraries to test directory when testing
7740         natively.  Only set solib-search-path if testing remotely.
7741         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7742
7743 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7744
7745         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7746         gdb_download.  Use it even if the target is not remote.
7747         * gdb.base/jit.exp (compile_jit_test): Likewise.
7748         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7749         output directory if the destination board is local, otherwise use
7750         the standard remote_download from DejaGnu.
7751         (gdb_download): Remove.
7752         (gdb_load_shlibs): Use gdb_remote_download instead of
7753         gdb_download.
7754         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7755         Use gdb_remote_download instead of gdb_download.  Use it even if
7756         the target is not remote.
7757         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7758         instead of gdb_download.
7759
7760 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7761
7762         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7763         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7764         run.
7765
7766 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7767
7768         PR gdb/19820
7769         * gdb.base/printcmds.exp: Add artificial arrays tests.
7770
7771 2016-03-31  Pedro Alves  <palves@redhat.com>
7772
7773         PR gdb/19858
7774         * gdb.base/jit-main.c: Include unistd.h.
7775         (ATTACH): Define to 0 if not already defined.
7776         (wait_for_gdb, mypid): New globals.
7777         (WAIT_FOR_GDB): New macro.
7778         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7779         some breakpoint locations.
7780         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7781         New procedures.
7782         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7783         continue_to_test_location.
7784         (top level): Test attach, and adjusts calls to one_jit_test.
7785
7786 2016-03-31  Pedro Alves  <palves@redhat.com>
7787
7788         PR gdb/19858
7789         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7790         BINSUFFIX parameter, and handle it.
7791         (top level): Adjust calls compile_jit_test.
7792
7793 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7794
7795         PR python/19743
7796         * gdb.python/py-mi-events-gdb.py: New file.
7797         * gdb.python/py-mi-events.c: New file.
7798         * gdb.python/py-mi-events.exp: New file.
7799
7800 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7801
7802         * gdb.reverse/until-precsave.exp: Match function name only.
7803         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7804         Move malloc to a condition block.
7805         * gdb.reverse/until-reverse.exp: Match function name only.
7806
7807 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7808
7809         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7810         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7811         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7812         variable for GPR 0 instead of assuming it is register 0.
7813         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7814         * lib/trace-support.exp: Add s390 registers.
7815
7816 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7817
7818         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7819
7820 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7821
7822         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7823         test message.
7824
7825 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7826
7827         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7828         maintaining separate logic for constructing the output path.
7829
7830 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7831
7832         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7833         Retry fork and waitpid on interrupted system call errors.
7834         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7835         Use with_timeout_factor to increase timeout by factor of 10.
7836
7837 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7838
7839         * gdb.cp/scope-err.cc: New test program.
7840         * gdb.cp/scope-err.exp: New test script.
7841         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7842         lines and "set breakpoint here" comment.
7843         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7844         Fixed some whitespace and format issues.
7845         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7846         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7847
7848 2016-03-15  Doug Evans  <dje@google.com>
7849
7850         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7851         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7852         All callers updated.  Add tests for enums, mixed flags register.
7853
7854 2016-03-15  Doug Evans  <dje@google.com>
7855
7856         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7857         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7858
7859 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7860
7861         * gdb.base/default.exp: Add $_as_string to the list of expected
7862         convenience functions.
7863
7864 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7865
7866         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7867
7868 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7869
7870         * gdb.python/py-as-string.exp: New file.
7871         * gdb.python/py-as-string.c: New file.
7872
7873 2016-03-09  Pedro Alves  <palves@redhat.com>
7874
7875         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7876         signal" -> "Thread NN received signal" output change.
7877         * gdb.threads/ia64-sigill.exp: Likewise.
7878         * gdb.threads/linux-dp.exp: Likewise.
7879         * gdb.threads/manythreads.exp: Likewise.
7880         * gdb.threads/pending-step.exp: Likewise.
7881         * gdb.threads/print-threads.exp: Likewise.
7882         * gdb.threads/sigstep-threads.exp: Likewise.
7883         * gdb.threads/staticthreads.exp: Likewise.
7884         * gdb.threads/tls.exp: Likewise.
7885
7886 2016-03-09  Pedro Alves  <palves@redhat.com>
7887
7888         * gdb.base/command-line-input.exp: New file.
7889
7890 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7891
7892         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7893         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7894         * gdb.trace/pending.exp: Accept leading dot before function name.
7895         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7896         * lib/trace-support.exp: Set registers for ppc.
7897
7898 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7899
7900         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7901         use it for disassembly; accept .main in addition to main in backtrace.
7902
7903 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7904             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7905
7906         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7907         (gdb_recursion_test_ptr): New global variable.
7908         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7909         gdb_recursion_test.
7910         (gdb_c_test): Ditto.
7911
7912 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7913
7914         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7915         ordering.
7916
7917 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7918
7919         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7920         (bar): Add bar_start_lbl label.
7921         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7922         of foo/bar for emitting DWARF and tracing.
7923
7924 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7925
7926         * analyze-racy-logs.py: Set executable bit.
7927
7928 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7929
7930         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7931         (CHECK_TARGET_TMP): Likewise.
7932         (check-single-racy): New rule.
7933         (check-parallel-racy): Likewise.
7934         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7935         (do-check-parallel-racy): New rule.
7936         (check-racy/%.exp): Likewise.
7937         * README (Racy testcases): New section.
7938         * analyze-racy-logs.py: New file.
7939
7940 2016-03-03  Doug Evans  <dje@google.com>
7941
7942         * gdb.base/skip.exp: Use with_test_prefix.
7943
7944 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7945
7946         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7947         Invoke step_over_syscall "clone" and break_cond_on_syscall
7948         "clone".
7949         * gdb.base/step-over-clone.c: New file.
7950
7951 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7952
7953         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7954         code format.
7955
7956 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7957
7958         * gdb.base/disp-step-fork.c: Rename to ...
7959         * gdb.base/step-over-fork.c: ... it.  New file.
7960         * gdb.base/disp-step-vfork.c: Rename to ...
7961         * gdb.base/step-over-vfork.c: ... it.  New file.
7962         * gdb.base/disp-step-syscall.exp: Rename to ...
7963         * gdb.base/step-over-syscall.exp: ... it.  New file.
7964         (disp_step_cross_syscall): Rename to ...
7965         (step_over_syscall): ... it.
7966
7967 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7968
7969         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7970         If target supports condition evaluation on target, invoke
7971         break_cond_on_syscall for fork and vfork.
7972
7973 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7974
7975         * gdb.base/disp-step-syscall.exp: Don't invoke
7976         support_displaced_stepping.
7977         (disp_step_cross_syscall): Test with displaced stepping off and
7978         on if supported.
7979
7980 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7981
7982         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7983         proc.
7984         (setup): New proc.
7985         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7986         and setup.
7987
7988 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7989
7990         * gdb.fortran/vla-history.exp: Remove breakpoint.
7991
7992 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7993
7994         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7995         exceeds timeout.
7996
7997 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7998
7999         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8000         breakpoint.
8001
8002 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
8003
8004         * gdb.mi/vla.f90: Nullify pointer after declaration.
8005
8006 2016-03-01  Pedro Alves  <palves@redhat.com>
8007
8008         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8009
8010 2016-03-01  Pedro Alves  <palves@redhat.com>
8011
8012         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8013         before anything else.
8014         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
8015         _GNU_SOURCE here.
8016         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8017         before anything else.
8018         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8019
8020 2016-03-01  Pedro Alves  <palves@redhat.com>
8021
8022         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8023
8024 2016-03-01  Yao Qi  <yao.qi@linaro.org>
8025
8026         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8027         prepare_for_testing.
8028
8029 2016-03-01  Yao Qi  <yao.qi@linaro.org>
8030
8031         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8032
8033 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8034
8035         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8036         manually constructing the output path.
8037
8038 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8039
8040         * gdb.arch/s390-stackless.S: New.
8041         * gdb.arch/s390-stackless.exp: New.
8042
8043 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8044
8045         * gdb.dlang/circular.c: New file.
8046         * gdb.dlang/circular.exp: New file.
8047
8048 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8049
8050         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8051         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8052         (testcases): Update.
8053
8054 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8055
8056         * gdb.reverse/aarch64.c: Rename to ...
8057         * gdb.reverse/insn-reverse.c: ... it.
8058         * gdb.reverse/aarch64.exp: Rename to ...
8059         * gdb.reverse/insn-reverse.exp: ... it.
8060
8061 2016-02-26  Yao Qi  <yao.qi@linaro.org>
8062
8063         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8064         (testcase_ftype): New.
8065         (testcases): New array.
8066         (n_testcases): New.
8067         (main): Call each element in testcases.
8068         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8069         (read_testcase): New.
8070         Do the tests in a loop.
8071
8072 2016-02-25  Yao Qi  <yao.qi@linaro.org>
8073
8074         * gdb.base/branches.c: Remove.
8075
8076 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8077
8078         PR gdb/13808
8079         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8080
8081 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8082
8083         * gdb.trace/ftrace.exp: Remove unnecessary target check.
8084
8085 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8086
8087         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8088         change x86_64 call_insn to 'callq'.
8089
8090 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8091
8092         * gdb.trace/tfile-avx.c: Move to...
8093         * gdb.trace/tracefile-pseudo-reg.c: Here.
8094         * gdb.trace/tfile-avx.exp: Move to...
8095         * gdb.trace/tracefile-pseudo-reg.exp: Here.
8096
8097 2016-02-24  Gary Benson <gbenson@redhat.com>
8098
8099         * gdb.base/attach-pie-noexec.exp: Do not expect an error
8100         message on attach.
8101
8102 2016-02-23  Doug Evans  <dje@google.com>
8103
8104         * gdb.base/skip.c (test_skip): New function.
8105         (end_test_skip_file_and_function): New function.
8106         (test_skip_file_and_function): New function.
8107         * gdb.base/skip1.c (test_skip): New function.
8108         (skip1_test_skip_file_and_function): New function.
8109         * gdb.base/skip.exp: Add tests for new skip options.
8110         * gdb.base/skip-solib.exp: Update expected output.
8111         * gdb.perf/skip-command.cc: New file.
8112         * gdb.perf/skip-command.exp: New file.
8113         * gdb.perf/skip-command.py: New file.
8114
8115 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8116
8117         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8118         info registers pattern.
8119
8120 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
8121
8122         * lib/future.exp: Add D support.
8123         (gdb_find_gdc): New proc.
8124         (gdb_default_target_compile): Add D support.
8125
8126 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
8127
8128         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8129         user+system time.
8130         (trace_speed_test): Determine the iteration count for a time
8131         between 15..30 seconds.
8132
8133 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8134
8135         * gdb.arch/i386-mpx-sigsegv.c: New file.
8136         * gdb.arch/i386-mpx-sigsegv.exp: New file.
8137         * gdb.arch/i386-mpx-simple_segv.c: New file.
8138         * gdb.arch/i386-mpx-simple_segv.exp: New file.
8139
8140 2016-02-18  Yao Qi  <yao.qi@linaro.org>
8141
8142         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8143         Don't call setup_kfail.
8144
8145 2016-02-18  Yao Qi  <yao.qi@linaro.org>
8146
8147         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8148         Set "set breakpoint condition-evaluation" per $cond_bp_target.
8149
8150 2016-02-16  Doug Evans  <dje@google.com>
8151
8152         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
8153         * gdb.base/skip1.c: Ditto.
8154         * gdb.base/skip.exp: Whitespace cleanup.
8155
8156 2016-02-16  Don Breazeal  <donb@codesourcery.com>
8157
8158         PR remote/19496
8159         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8160         Remove kfail for PR remote/19496.
8161
8162 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
8163
8164         * lib/gdb.exp (standard_temp_file): Return a path specific to
8165         the runtest invocation.
8166
8167 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
8168
8169         * gdb.trace/save-trace.exp: Change relative path to be in the
8170         standard output directory.
8171
8172 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8173
8174         * gdb.arch/i386-prologue.c: Add missing prototypes.
8175
8176 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8177
8178         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8179         * gdb.arch/i386-prologue.exp: Likewise.
8180         * gdb.arch/i386-size.exp: Likewise.
8181
8182 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
8183
8184         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8185         define object file path.
8186         * gdb.btrace/gcore.exp: Use standard_output_file to define core
8187         file path.
8188         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8189         standard_output_file to define binfile.
8190
8191 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8192
8193         Fix compatibility with recent gfortran-5.3.1.
8194         * gdb.fortran/vla-history.exp (print vla1 allocated)
8195         (print vla2 allocated, print $2, print $3): Remove
8196         (print $4): Rename to ...
8197         (print $2): ... here.
8198         (print $9): Rename to ...
8199         (print $5): ... here.
8200         (print $10): Rename to ...
8201         (print $6): ... here.
8202         * gdb.fortran/vla.f90: Add pvla initialization.
8203
8204 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8205
8206         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8207         New test.
8208         * gdb.fortran/vla-value-sub.exp: Likewise.
8209
8210 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8211
8212         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8213
8214 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
8215
8216         * i386-biarch-core.exp: Define corefile using
8217         standard_output_file.
8218
8219 2016-02-12  Yao Qi  <yao.qi@linaro.org>
8220
8221         * gdb.arch/arm-single-step-kernel-helper.c: New.
8222         * gdb.arch/arm-single-step-kernel-helper.exp: New.
8223
8224 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
8225
8226         * gdb.btrace/tailcall-only.exp: New.
8227         * gdb.btrace/tailcall-only.c: New.
8228         * gdb.btrace/x86_64-tailcall-only.S: New.
8229         * gdb.btrace/i686-tailcall-only.S: New.
8230
8231 2016-02-11  Pedro Alves  <palves@redhat.com>
8232
8233         * README (Parallel testing): Add missing double quotes.
8234
8235 2016-02-11  Pedro Alves  <palves@redhat.com>
8236
8237         * README (Parallel testing): New section.
8238         (GDB_PARALLEL): Rewrite.
8239         (FORCE_PARALLEL): Document.
8240
8241 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8242
8243         * gdb.trace/tfile-avx.c: New test.
8244         * gdb.trace/tfile-avx.exp: New test.
8245
8246 2016-02-09  Keith Seitz  <keiths@redhat.com>
8247
8248         PR breakpoints/19546
8249         * gdb.base/infcall-exec.c: New file.
8250         * gdb.base/infcall-exec2.c: New file.
8251         * gdb.base/infcall-exec.exp: New file.
8252
8253 2016-02-09  Keith Seitz  <keiths@redhat.com>
8254
8255         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8256         (toplevel): Call test_bkpt_address.
8257
8258 2016-02-09  Keith Seitz  <keiths@redhat.com>
8259
8260         PR python/19506
8261         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8262         (toplevel): Call test_bkpt_address.
8263
8264 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
8265
8266         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8267         to AC_OUTPUT.
8268         * configure: Regenerate.
8269
8270 2016-02-09  Pedro Alves  <palves@redhat.com>
8271
8272         PR breakpoints/19548
8273         * gdb.base/execl-update-breakpoints.c (some_function): New
8274         function.
8275         (main): Call it.
8276         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8277         Tighten expected GDB output.
8278
8279 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8280
8281         * Makefile.in (ALL_SUBDIRS): Remove.
8282         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8283         (distclean maintainer-clean realclean): Likewise.
8284         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8285         * configure: Regenerate.
8286         * gdb.ada/Makefile.in: Delete.
8287         * gdb.arch/Makefile.in: Likewise.
8288         * gdb.asm/Makefile.in: Likewise.
8289         * gdb.base/Makefile.in: Likewise.
8290         * gdb.btrace/Makefile.in: Likewise.
8291         * gdb.cell/Makefile.in: Likewise.
8292         * gdb.compile/Makefile.in: Likewise.
8293         * gdb.cp/Makefile.in: Likewise.
8294         * gdb.disasm/Makefile.in: Likewise.
8295         * gdb.dlang/Makefile.in: Likewise.
8296         * gdb.dwarf2/Makefile.in: Likewise.
8297         * gdb.fortran/Makefile.in: Likewise.
8298         * gdb.gdb/Makefile.in: Likewise.
8299         * gdb.go/Makefile.in: Likewise.
8300         * gdb.guile/Makefile.in: Likewise.
8301         * gdb.java/Makefile.in: Likewise.
8302         * gdb.linespec/Makefile.in: Likewise.
8303         * gdb.mi/Makefile.in: Likewise.
8304         * gdb.modula2/Makefile.in: Likewise.
8305         * gdb.multi/Makefile.in: Likewise.
8306         * gdb.objc/Makefile.in: Likewise.
8307         * gdb.opencl/Makefile.in: Likewise.
8308         * gdb.opt/Makefile.in: Likewise.
8309         * gdb.pascal/Makefile.in: Likewise.
8310         * gdb.perf/Makefile.in: Likewise.
8311         * gdb.python/Makefile.in: Likewise.
8312         * gdb.reverse/Makefile.in: Likewise.
8313         * gdb.server/Makefile.in: Likewise.
8314         * gdb.stabs/Makefile.in: Likewise.
8315         * gdb.threads/Makefile.in: Likewise.
8316         * gdb.trace/Makefile.in: Likewise.
8317         * gdb.xml/Makefile.in: Likewise.
8318         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8319         GDB_PARALLEL.
8320         (standard_output_file): Remove check for GDB_PARALLEL, always
8321         return path in outputs/$subdir/$testname.
8322
8323 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8324
8325         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8326         (site.exp): Assign abs_srcdir to tcl's srcdir.
8327
8328 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8329
8330         * gdb.base/foll-exec-mode.c: Include limits.h.
8331         (main): Add parameters argc and argv.  Get directory from
8332         argv[0].
8333         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8334         compilation.
8335         * gdb.base/foll-exec.c: Include limits.h.
8336         (main): Add parameters argc and argv.
8337         Get directory from argv[0].
8338         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8339         Adjust tests on the number of lines as source code changed.
8340         * gdb.base/foll-vfork-exit.c: Include limits.h.
8341         (main): Add one line of statement before vfork.
8342         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8343         (main): Add parameters argc and argv.  Get directory from
8344         argv[0].
8345         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8346         (setup_gdb): Set tbreak to skip some source lines.
8347         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8348         (main): Add parameters argc and argv.  Get directory from
8349         argv[0].
8350         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8351         compilation.
8352         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8353         (main): Add parameters argc and argv.  Get directory from
8354         argv[0].
8355         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8356         compilation.
8357
8358 2016-02-01  Doug Evans  <dje@google.com>
8359
8360         * gdb.base/skip.exp: Clean up multiple references to same test name.
8361
8362 2016-02-01  Pedro Alves  <palves@redhat.com>
8363
8364         PR remote/19496
8365         * gdb.threads/forking-threads-plus-breakpoint.exp
8366         (displaced_stepping_supported): New global.
8367         (probe_displaced_stepping_support): New procedure.
8368         (do_test): Add 'displaced' parameter, and use it.
8369         (top level): Check for displaced stepping support.  Add displaced
8370         stepping on/off testing axis.
8371
8372 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8373
8374         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8375         pointer.  Don't perform further tests on the unassociated pointer
8376         if the first test fails.
8377
8378 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8379
8380         * gdb.base/max-value-size.c: New file.
8381         * gdb.base/max-value-size.exp: New file.
8382         * gdb.base/huge.exp: Disable max-value-size for this test.
8383
8384 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8385
8386         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8387
8388 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8389
8390         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8391
8392 2016-01-25  Pedro Alves  <palves@redhat.com>
8393
8394         PR threads/19461
8395         * gdb.base/fork-running-state.c: New file.
8396         * gdb.base/fork-running-state.exp: New file.
8397
8398 2016-01-25  Pedro Alves  <palves@redhat.com>
8399
8400         PR gdb/19494
8401         * gdb.base/catch-fork-kill.c: New file.
8402         * gdb.base/catch-fork-kill.exp: New file.
8403
8404 2016-01-25  Pedro Alves  <palves@redhat.com>
8405
8406         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8407         Delete, moved to lib/gdb.exp.
8408         * gdb.threads/forking-threads-plus-breakpoint.exp
8409         (foreach_with_prefix): Likewise.
8410         * gdb.threads/process-dies-while-handling-bp.exp
8411         (foreach_with_prefix): Likewise.
8412         * lib/gdb.exp (foreach_with_prefix): New procedure.
8413
8414 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8415
8416         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8417         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8418
8419 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8420
8421         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8422         endian targets.
8423
8424 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8425             Pedro Alves  <palves@redhat.com>
8426
8427         Fix testsuite compatibility with Guile.
8428         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8429         number.
8430
8431 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8432
8433         Fix testsuite compatibility with Guile.
8434         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8435         (thread 1): New test for backtrace through signal handler.
8436
8437 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8438
8439         PR testsuite/19491
8440         * gdb.base/multi-forks.c: Include
8441         ../lib/unbuffer_output.c
8442         (main): Call gdb_unbuffer_output.
8443
8444 2016-01-21  Doug Evans  <dje@google.com>
8445
8446         * lib/ada.exp (gdb_compile_ada): Fix typo.
8447
8448 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8449
8450         * gdb.base/break-fun-addr.exp: New file.
8451         * gdb.base/break-fun-addr1.c: New file.
8452         * gdb.base/break-fun-addr2.c: New file.
8453
8454 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8455
8456         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8457         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8458         enum flag values.
8459
8460 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8461
8462         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8463         when GDB can not set the vector return value.  Add more comments
8464         for clarification.
8465
8466 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8467
8468         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8469         command.
8470
8471 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8472
8473         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8474
8475 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8476
8477         * Makefile.in (check-single): Pass --status to runtest.
8478         (check/%.exp): Likewise.
8479
8480 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8481
8482         * Makefile.in (check-parallel): Propagate return code from make
8483         do-check-parallel.
8484
8485 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8486
8487         * gdb.trace/ftrace.exp: Fix expected message on continue.
8488         * gdb.trace/pending.exp: Fix expected message on continue.
8489         * gdb.trace/trace-break.exp: Fix expected message on continue.
8490
8491 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8492
8493         * lib/gdb.exp (gdb_test): Remove unused global references.
8494
8495 2016-01-18  Pedro Alves  <palves@redhat.com>
8496
8497         * gdb.base/async-shell.exp: Adjust expected output.
8498         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8499         * gdb.base/siginfo-thread.exp: Adjust expected output.
8500         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8501         * gdb.java/jnpe.exp: Adjust expected output.
8502         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8503         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8504         * gdb.threads/leader-exit.exp: Adjust expected output.
8505         * gdb.threads/manythreads.exp: Adjust expected output.
8506         * gdb.threads/pthreads.exp: Adjust expected output.
8507         * gdb.threads/schedlock.exp: Adjust expected output.
8508         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8509         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8510         expected output.
8511         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8512         output.
8513         * gdb.threads/sigthread.exp: Adjust expected output.
8514         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8515
8516 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8517
8518         * gdb.guile/scm-section-script.c: Replace @progbits with
8519         %progbits.
8520         * gdb.python/py-section-script.c: Likewise.
8521
8522 2016-01-15  Pedro Alves  <palves@redhat.com>
8523
8524         * gdb.multi/tids.exp: Test star wildcard ranges.
8525
8526 2016-01-15  Pedro Alves  <palves@redhat.com>
8527
8528         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8529         command from "thread apply" invocation.
8530         (thr_apply_info_thr_invalid): Default the expected output to the
8531         input tid list.
8532         (top level): Add tests that use convenience variables.  Add tests
8533         for "thread apply" with a valid TID list, but missing the command.
8534
8535 2016-01-13  Pedro Alves  <palves@redhat.com>
8536
8537         * gdb.base/default.exp: Expect $_gthread as well.
8538         * gdb.multi/tids.exp: Test $_gthread.
8539         * gdb.threads/thread-specific.exp: Test $_gthread.
8540
8541 2016-01-13  Pedro Alves  <palves@redhat.com>
8542
8543         * gdb.multi/tids.exp: Test "info threads -gid".
8544
8545 2016-01-13  Pedro Alves  <palves@redhat.com>
8546
8547         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8548         Breakpoint.thread.
8549         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8550
8551 2016-01-07  Pedro Alves  <palves@redhat.com>
8552
8553         * gdb.base/break.exp: Adjust to output changes.
8554         * gdb.base/hbreak2.exp: Likewise.
8555         * gdb.base/sepdebug.exp: Likewise.
8556         * gdb.base/watch_thread_num.exp: Likewise.
8557         * gdb.linespec/keywords.exp: Likewise.
8558         * gdb.multi/info-threads.exp: Likewise.
8559         * gdb.threads/thread-find.exp: Likewise.
8560         * gdb.multi/tids.c: New file.
8561         * gdb.multi/tids.exp: New file.
8562
8563 2016-01-13  Pedro Alves  <palves@redhat.com>
8564
8565         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8566
8567 2016-01-13  Pedro Alves  <palves@redhat.com>
8568
8569         * gdb.base/default.exp: Expect $_inferior as well.
8570         * gdb.multi/base.exp: Test $_inferior.
8571
8572 2016-01-13  Pedro Alves  <palves@redhat.com>
8573
8574         PR breakpoints/19388
8575         * gdb.base/catch-signal-siginfo-cond.c: New file.
8576         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8577
8578 2016-01-12  Josh Stone  <jistone@redhat.com>
8579             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8580
8581         * gdb.base/catch-syscall.c (do_execve): New variable.
8582         (main): Conditionally trigger an execve.
8583         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8584         (test_catch_syscall_execve): New, check entry/return across execve.
8585         (do_syscall_tests): Call test_catch_syscall_execve.
8586
8587 2016-01-12  Pedro Alves  <palves@redhat.com>
8588
8589         * gdb.base/random-signal.exp (do_test): New procedure, with body
8590         of testcase moved in.
8591
8592 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8593             Pedro Alves  <palves@redhat.com>
8594
8595         * gdb.base/funcargs.exp (finish from indirectly called function):
8596         Reintroduce the case for 'First'.
8597
8598 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8599             Pedro Alves  <palves@redhat.com>
8600
8601         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8602         (tcatch_vfork_then_child_follow_exec)
8603         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8604         identification.
8605
8606 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8607
8608         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8609         and repeats to unlimited.
8610         * gdb.python/py-value.exp: Likewise.
8611         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8612         and repeats to unlimited.
8613
8614 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8615
8616         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8617         and reordering the functions.
8618         * gdb.multi/hangout.c: Likewise.
8619         * gdb.multi/hello.c: Likewise.
8620
8621 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8622
8623         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8624         absolute.
8625         (SingleStatisticTestResult.report): Use dict.keys instead of
8626         dict.iterkeys.
8627
8628 2016-01-06  Pedro Alves  <palves@redhat.com>
8629
8630         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8631
8632 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8633
8634         * gdb.btrace/dlopen.exp: New.
8635         * gdb.btrace/dlopen.c: New.
8636         * gdb.btrace/dlopen-dso.c: New.
8637
8638 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8639
8640         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8641         PATTERN argument is optional.
8642
8643 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8644
8645         * lib/ada.exp (target_compile_ada_from_dir): New function.
8646         (gdb_compile_ada): Reimplement avoiding the use of project files.
8647         * gdb.ada/gnat_ada.gpr: Delete.
8648         * gdb.ada/cond_lang.exp: Adjust test to make path before
8649         filename optional.
8650         * gdb.ada/small_reg_param.exp: Likewise.
8651
8652 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8653
8654         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8655
8656 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8657
8658         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8659         case.
8660
8661 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8662
8663         * gdb.base/break.exp: Remove dead code.
8664         * gdb.base/sepdebug.exp: Likewise.
8665
8666 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8667
8668         * gdb.asm/asm-source.exp: Remove HP-UX references.
8669         * gdb.base/annota1.exp: Likewise.
8670         * gdb.base/annota3.exp: Likewise.
8671         * gdb.base/attach.exp: Likewise.
8672         * gdb.base/bigcore.exp: Likewise.
8673         * gdb.base/break.exp: Likewise.
8674         * gdb.base/call-ar-st.exp: Likewise.
8675         * gdb.base/callfuncs.exp: Likewise.
8676         * gdb.base/catch-fork-static.exp: Likewise.
8677         * gdb.base/display.exp: Likewise.
8678         * gdb.base/foll-exec-mode.exp: Likewise.
8679         * gdb.base/foll-exec.exp: Likewise.
8680         * gdb.base/foll-fork.exp: Likewise.
8681         * gdb.base/foll-vfork.exp: Likewise.
8682         * gdb.base/funcargs.exp: Likewise.
8683         * gdb.base/hbreak2.exp: Likewise.
8684         * gdb.base/inferior-died.exp: Likewise.
8685         * gdb.base/interrupt.exp: Likewise.
8686         * gdb.base/multi-forks.exp: Likewise.
8687         * gdb.base/nodebug.exp: Likewise.
8688         * gdb.base/sepdebug.exp: Likewise.
8689         * gdb.base/solib1.c: Likewise.
8690         * gdb.base/step-test.exp: Likewise.
8691         * gdb.mi/non-stop.c: Likewise.
8692         * gdb.mi/pthreads.c: Likewise.
8693         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8694         * gdb.threads/pthreads.c: Likewise.
8695         * gdb.threads/staticthreads.exp: Likewise.
8696         * lib/future.exp: Likewise.
8697         * lib/gdb.exp: Likewise.
8698         * gdb.base/so-indr-cl.c: Remove.
8699         * gdb.base/so-indr-cl.exp: Likewise.
8700         * gdb.base/solib.c: Likewise.
8701         * gdb.base/solib.exp: Likewise.
8702         * gdb.base/solib2.c: Likewise.
8703
8704 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8705
8706         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8707         * gdb.base/call-ar-st.exp: Likewise.
8708         * gdb.base/callfuncs.exp: Likewise.
8709         * gdb.base/condbreak.exp: Likewise.
8710         * gdb.base/constvars.exp: Likewise.
8711         * gdb.base/hbreak2.exp: Likewise.
8712         * gdb.base/langs.exp: Likewise.
8713         * gdb.base/list.exp: Likewise.
8714         * gdb.base/long_long.exp: Likewise.
8715         * gdb.base/ptype.exp: Likewise.
8716         * gdb.base/scope.exp: Likewise.
8717         * gdb.base/signals.exp: Likewise.
8718         * gdb.base/so-impl-ld.exp: Likewise.
8719         * gdb.base/varargs.exp: Likewise.
8720         * gdb.base/volatile.exp: Likewise.
8721         * gdb.base/whatis.exp: Likewise.
8722         * gdb.cp/cplusfuncs.exp: Likewise.
8723         * gdb.cp/inherit.exp: Likewise.
8724         * gdb.cp/local.exp: Likewise.
8725         * gdb.cp/member-ptr.exp: Likewise.
8726         * gdb.cp/method.exp: Likewise.
8727         * gdb.cp/overload.exp: Likewise.
8728         * gdb.cp/templates.exp: Likewise.
8729         * gdb.stabs/weird.exp: Likewise.
8730         * lib/compiler.c: Likewise.
8731         * lib/compiler.cc: Likewise.
8732         * lib/cp-support.exp: Likewise.
8733         * lib/gdb.exp: Likewise.
8734
8735 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8736
8737         * configure.ac: Remove HP-UX case.
8738         * configure: Regenerate.
8739
8740 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8741
8742         * lib/gdb.exp (gdb_compile): Add function doc.
8743
8744 2015-12-17  Pedro Alves  <palves@redhat.com>
8745
8746         PR threads/19354
8747         * gdb.multi/info-threads.exp: New file.
8748
8749 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8750
8751         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8752         is aarch64*-*-*.
8753
8754 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8755
8756         * gdb.base/history-duplicates.exp: Skip if no readline support.
8757
8758 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8759
8760         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8761
8762 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8763
8764         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8765
8766 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8767
8768         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8769         ctrl-C if nointerrupts target property is set.
8770         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8771         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8772         * gdb.base/paginate-bg-execution.exp: Likewise.
8773         * gdb.base/paginate-execution-startup.exp: Likewise.
8774         * gdb.base/random-signal.exp: Likewise.
8775         * gdb.base/range-stepping.exp: Likewise.
8776         * gdb.cp/annota2.exp: Likewise.
8777         * gdb.cp/annota3.exp: Likewise.
8778         * gdb.gdb/selftest.exp: Likewise.
8779         * gdb.threads/continue-pending-status.exp: Likewise.
8780         * gdb.threads/leader-exit.exp: Likewise.
8781         * gdb.threads/manythreads.exp: Likewise.
8782         * gdb.threads/pthreads.exp: Likewise.
8783         * gdb.threads/schedlock.exp: Likewise.
8784         * gdb.threads/sigthread.exp: Likewise.
8785
8786 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8787
8788         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8789         remote.
8790         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8791         * gdb.base/foll-exec.exp (main): Enable for target remote.
8792         * gdb.base/foll-fork.exp (main): Likewise.
8793         * gdb.base/foll-vfork.exp (main): Likewise.
8794         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8795         (proc continue_to_exit_bp_loc): Use clean_restart.
8796         * gdb.base/pie-execl.exp (main): Disable for target remote.
8797         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8798         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8799         * gdb.threads/execl.exp (main): Likewise.
8800         * gdb.threads/fork-child-threads.exp (main): Likewise.
8801         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8802         remote.
8803         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8804         remote.
8805         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8806         pid.tid style ptids, instead of just tid.
8807         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8808         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8809         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8810         ptids, instead of just tid.
8811
8812 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8813
8814         * gdb.base/list.exp (test_list_forward): Add end of file error
8815         test.
8816         (test_repeat_list_command): Add end of file error test.
8817         (test_list_backwards): Add beginning of file error test.
8818
8819 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8820
8821         * gdb.base/list.exp (test_list_invalid_args): New function,
8822         defined, and called.
8823
8824 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8825
8826         * gdb.base/list.exp (test_list): Make test names unique.
8827
8828 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8829
8830         * gdb.base/coremaker2.c: Remove.
8831
8832 2015-12-10  Pedro Alves  <palves@redhat.com>
8833
8834         * gdb.multi/base.exp: Remove stale "spaces" references.
8835
8836 2015-12-10  Pedro Alves  <palves@redhat.com>
8837
8838         * gdb.multi/base.exp: Don't use nowarnings.
8839         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8840         * gdb.multi/hangout.c: Include stdio.h.
8841         * gdb.multi/hello.c: Include stdlib.h.
8842         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8843         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8844         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8845
8846 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8847
8848         * gdb.dwarf2/dw2-ranges-base.c: New file.
8849         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8850         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8851         support additional line table, and debug ranges generation.
8852         (Dwarf::ranges): New function, generate .debug_ranges.
8853         (Dwarf::lines): Support generating simple line table programs.
8854         (Dwarf::assemble): Initialise new namespace variables.
8855
8856 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8857
8858         * gdb.base/async.exp (proc test_background): Add case for
8859         asynchronous execution not supported.
8860
8861 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8862
8863         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8864           format and change test names to make them unique.
8865
8866 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8867             Pedro Alves  <pedro@redhat.com>
8868
8869         PR gdb/18702
8870         Add checking of floatformats setup on x86_64 hosts.
8871         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8872         (smallval, bigval): New labels/constants.
8873         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8874         float" after loading bigval and smallval.
8875
8876 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8877
8878         * gdb.ada/fun_overload_menu.exp: New testcase.
8879         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8880
8881 2015-12-04  Josh Stone  <jistone@redhat.com>
8882
8883         * gdb.base/catch-fork-static.exp: New.
8884
8885 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8886
8887         * gdb.base/sizeof.c: Don't include stdio.h and
8888         ../lib/unbuffer_output.c.
8889         (main): New variable 'size' and 'value'.  Remove printf and
8890         gdb_unbuffer_output.  Assign return value to size and value.
8891         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8892         at the beginning.
8893         (check_sizeof): Check the result by printing variable 'size'.
8894         (check_valueof): Check the result by printing variable 'value'.
8895
8896 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8897
8898         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8899         for aarch64*-*-linux* target.
8900
8901 2015-11-30  Pedro Alves  <palves@redhat.com>
8902
8903         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8904
8905 2015-11-30  Pedro Alves  <palves@redhat.com>
8906
8907         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8908         Handle non-stop mode vCont replies.
8909
8910 2015-11-30  Pedro Alves  <palves@redhat.com>
8911
8912         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8913         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8914         GDBFLAGS.  Lax expected stop output.
8915
8916 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8917
8918         * gdb.arch/arm-neon.exp: New.
8919         * gdb.arch/arm-neon.c: New.
8920
8921 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8922
8923         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8924
8925 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8926
8927         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8928         frames-invalid annotation.
8929
8930 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8931
8932         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8933
8934 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8935
8936         * gdb.threads/names.exp: New file.
8937         * gdb.threads/names.c: New file.
8938         * README: Mention gdb,no_thread_names.
8939
8940 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8941
8942         PR 19297
8943         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8944         support" error.
8945
8946 2015-11-24  Pedro Alves  <palves@redhat.com>
8947
8948         PR 17539
8949         * gdb.base/display.exp: Expect displays to be sorted in ascending
8950         order.  Use multi_line.
8951         * gdb.base/solib-display.exp: Likewise.
8952
8953 2015-11-24  Pedro Alves  <palves@redhat.com>
8954
8955         PR 17539
8956         * gdb.base/display.exp: Expect displays to be sorted in ascending
8957         order.  Use multi_line.
8958         * gdb.base/solib-display.exp: Likewise.
8959
8960 2015-11-24  Pedro Alves  <palves@redhat.com>
8961
8962         PR 17539
8963         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8964         threads in ascending order.
8965         * gdb.base/foll-fork.exp: Likewise.
8966         * gdb.base/foll-vfork.exp: Likewise.
8967         * gdb.base/multi-forks.exp: Likewise.
8968         * gdb.mi/mi-nonstop.exp: Likewise.
8969         * gdb.mi/mi-nsintrall.exp: Likewise.
8970         * gdb.multi/base.exp: Likewise.
8971         * gdb.multi/multi-arch.exp: Likewise.
8972         * gdb.python/py-inferior.exp: Likewise.
8973         * gdb.threads/break-while-running.exp: Likewise.
8974         * gdb.threads/execl.exp: Likewise.
8975         * gdb.threads/gcore-thread.exp: Likewise.
8976         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8977         * gdb.threads/kill.exp: Likewise.
8978         * gdb.threads/linux-dp.exp: Likewise.
8979         * gdb.threads/multiple-step-overs.exp: Likewise.
8980         * gdb.threads/next-bp-other-thread.exp: Likewise.
8981         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8982         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8983         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8984         * gdb.threads/thread-find.exp: Likewise.
8985         * gdb.threads/tls.exp: Likewise.
8986         * lib/mi-support.exp (mi_reverse_list): Delete.
8987         (mi_check_thread_states): No longer reverse list.
8988
8989 2015-11-24  Pedro Alves  <palves@redhat.com>
8990
8991         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8992         use lowercase.
8993
8994 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8995
8996         * gdb.trace/actions.c: Include trace-common.h.
8997         (main): Add a location for a fast tracepoint.
8998         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8999         the normal tracepoints.
9000         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9001
9002 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
9003
9004         * save-trace.exp: Factor out code to these...
9005         (gdb_save_tracepoints): New.
9006         (gdb_load_tracepoints): New.
9007         (do_save_load_test): New.
9008
9009 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
9010
9011         * gdb.base/asmlabel.exp: New test.
9012         * gdb.base/asmlabel.c: New test case.
9013
9014 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
9015
9016         * gdb.base/wrong_frame_bt_full-main.c: New file.
9017         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9018         * gdb.base/wrong_frame_bt_full.exp: New file.
9019
9020 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
9021
9022         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9023
9024 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
9025
9026         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9027         pstate register when comparing registers values in
9028         sparc64-*-linux-gnu targets to avoid spurious differences.
9029
9030 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
9031
9032         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9033
9034 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
9035
9036         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9037         as type argument to gdb_compile.
9038         * gdb.base/nested-subp2.exp: Likewise.
9039         * gdb.base/nested-subp3.exp: Likewise.
9040
9041 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9042
9043         * lib/dwarf.exp (_note): Fix left shift of negative value.
9044         * gdb.trace/trace-condition.exp: Likewise.
9045
9046 2015-11-13  Yao Qi  <yao.qi@linaro.org>
9047
9048         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9049         comments about d10v.
9050         (test_scalar_returns): Likewise.
9051         * gdb.base/d10v.ld: Remove.
9052         * gdb.base/overlays.exp: Remove the target triplet checking for
9053         d10v-*-*.
9054         * gdb.base/structs.exp (test_struct_returns): Remove the
9055         comments about d10v.
9056         (test_struct_calls): Likewise.
9057
9058 2015-11-13  Yao Qi  <yao.qi@linaro.org>
9059
9060         * gdb.base/gnu_vector.exp: Check the return value by "p res".
9061         * gdb.base/gnu_vector.c: Don't include stdio.h.
9062         (main): Don't print res and call add_some_intvecs.
9063
9064 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9065
9066         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9067         macro.
9068         (func5): Removed.
9069         (func4): Use FAST_TRACEPOINT_LABEL.
9070         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9071         macro.
9072         (func): Removed.
9073         (thread_function): Use FAST_TRACEPOINT_LABEL.
9074         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9075         (func): Remove.
9076         (marker): Use FAST_TRACEPOINT_LABEL.
9077         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9078         (pendfunc1): Remove.
9079         (pendfunc): Use FAST_TRACEPOINT_LABEL.
9080         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9081         (foo): Remove.
9082         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9083         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9084         macro.
9085         (func): Remove.
9086         (marker): Use FAST_TRACEPOINT_LABEL.
9087         * gdb.trace/trace-common.h: New header.
9088         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9089         macro.
9090         (func): Remove.
9091         (marker): Use FAST_TRACEPOINT_LABEL.
9092         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9093         (func): Remove.
9094         (thread_function): Use FAST_TRACEPOINT_LABEL.
9095
9096 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9097
9098         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9099         in front.
9100         * gdb.trace/change-loc.exp: Use global pcreg definition.
9101         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9102         * gdb.trace/entry-values.exp: Use global spreg definition, add $
9103         in front.
9104         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9105         * gdb.trace/pending.exp: Likewise.
9106         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9107         * gdb.trace/trace-break.exp: Likewise.
9108         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9109         in front.
9110         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9111         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9112         in front.
9113         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9114
9115 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
9116
9117         * gdb.ada/fin_fun_out: New testcase.
9118
9119 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
9120
9121         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9122         value associated with DW_AT_byte_size.
9123         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9124         constants for DW_AT_byte_size, DW_AT_lower_bound, and
9125         DW_AT_upper_bound.
9126
9127 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
9128
9129         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9130         (gdb_target_symbol_prefix_flags): Define in terms of _asm
9131         version.
9132         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9133         gdb.dwarf2/dw2-canonicalize-type.exp,
9134         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9135         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9136         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9137         provided by gdb_target_symbol_prefix_flags_asm.
9138         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9139         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9140         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9141         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9142         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9143         macros where needed).  Use this macro for symbols which require
9144         the prefix provided by SYMBOL_PREFIX.
9145
9146 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
9147
9148         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9149         New procs.
9150         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9151         representing expressions, of more than one list element.
9152         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9153         to prepend linker symbol prefix to f.
9154         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9155         table_1 and table_2.
9156         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9157         Likewise, for f and g.
9158         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9159         for ptr.
9160         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9161         for main.
9162         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9163         table_1_ptr and table_2_ptr.
9164
9165 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9166             Joel Brobecker  <brobecker@adacore.com>
9167
9168         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9169
9170 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9171
9172         * gdb.reverse/s390-mvcle.c: New test.
9173         * gdb.reverse/s390-mvcle.exp: New file.
9174         * lib/gdb.exp: Enable reverse tests on s390*-linux.
9175
9176 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9177
9178         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9179
9180 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9181
9182         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9183         reaching marker2.
9184         * gdb.reverse/getresuid-reverse.exp: Likewise.
9185         * gdb.reverse/pipe-reverse.exp: Likewise.
9186         * gdb.reverse/readv-reverse.exp: Likewise.
9187         * gdb.reverse/recvmsg-reverse.exp: Likewise.
9188         * gdb.reverse/time-reverse.exp: Likewise.
9189         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9190
9191 2015-10-30  Yao Qi  <yao.qi@linaro.org>
9192
9193         * gdb.threads/wp-replication.c (watch_count_done): Remove.
9194         (empty_cycle): Remove.
9195         (main): Don't call empty_cycle.  Don't use watch_count_done.
9196         * gdb.threads/wp-replication.exp: Don't set breakpoint on
9197         empty_cycle.  Rewrite the code counting HW watchpoints.
9198
9199 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
9200
9201         * gdb.reverse/fstatat-reverse.c: New test.
9202         * gdb.reverse/fstatat-reverse.exp: New file.
9203         * gdb.reverse/getresuid-reverse.c: New test.
9204         * gdb.reverse/getresuid-reverse.exp: New file.
9205         * gdb.reverse/pipe-reverse.c: New test.
9206         * gdb.reverse/pipe-reverse.exp: New file.
9207         * gdb.reverse/readv-reverse.c: New test.
9208         * gdb.reverse/readv-reverse.exp: New file.
9209         * gdb.reverse/recvmsg-reverse.c: New test.
9210         * gdb.reverse/recvmsg-reverse.exp: New file.
9211         * gdb.reverse/time-reverse.c: New test.
9212         * gdb.reverse/time-reverse.exp: New file.
9213         * gdb.reverse/waitpid-reverse.c: New test.
9214         * gdb.reverse/waitpid-reverse.exp: New file.
9215
9216 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9217
9218         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9219
9220 2015-10-26  Doug Evans  <dje@google.com>
9221
9222         PR symtab/17391
9223         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9224         * gdb.dwarf2/bad-regnum.c: New file.
9225         * gdb.dwarf2/bad-regnum.exp: New file.
9226
9227 2015-10-26  Doug Evans  <dje@google.com>
9228
9229         PR python/18938
9230         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9231         file.
9232
9233 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9234
9235         * gdb.compile/compile.exp (compile code globalvar): Update expectation
9236         for a change by "Mention language in compile error message".
9237
9238 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
9239
9240         PR python/18073
9241         * gdb.python/py-type.c (C::a_method): New.
9242         (C::a_const_method): New.
9243         (C::a_static_method): New.
9244         (a_function): New.
9245         * gdb.python/py-type.exp (test_fields): Test getting fields
9246         from function and method.
9247
9248 2015-10-21  Keven Boell  <keven.boell@intel.com>
9249
9250         * gdb.fortran/vla-alloc-assoc.exp: New file.
9251         * gdb.fortran/vla-datatypes.exp: New file.
9252         * gdb.fortran/vla-datatypes.f90: New file.
9253         * gdb.fortran/vla-history.exp: New file.
9254         * gdb.fortran/vla-ptype-sub.exp: New file.
9255         * gdb.fortran/vla-ptype.exp: New file.
9256         * gdb.fortran/vla-sizeof.exp: New file.
9257         * gdb.fortran/vla-sub.f90: New file.
9258         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9259         * gdb.fortran/vla-value-sub-finish.exp: New file.
9260         * gdb.fortran/vla-value-sub.exp: New file.
9261         * gdb.fortran/vla-value.exp: New file.
9262         * gdb.fortran/vla-ptr-info.exp: New file.
9263         * gdb.mi/mi-vla-fortran.exp: New file.
9264         * gdb.mi/vla.f90: New file.
9265
9266 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
9267
9268         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9269         of hardwired timeout value.
9270
9271 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9272             Pedro Alves  <palves@redhat.com>
9273
9274         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9275         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9276
9277 2015-10-19  Josh Stone  <jistone@redhat.com>
9278
9279         * gdb.base/catch-syscall.c: Include <sched.h>.
9280         (unknown_syscall): New variable.
9281         (main): Trigger a vfork and an unknown syscall.
9282         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9283         (unknown_syscall_number): Likewise.
9284         (check_call_to_syscall): Accept an optional syscall pattern.
9285         (check_return_from_syscall): Likewise.
9286         (check_continue): Likewise.
9287         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9288         (test_catch_syscall_skipping_return): New test toggling off 'catch
9289         syscall' to step over the syscall return, then toggling back on.
9290         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9291         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9292         (do_syscall_tests): Call test_catch_syscall_without_args and
9293         test_catch_syscall_mid_vfork.
9294         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9295         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9296
9297 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9298
9299         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9300         print g_vE): Add new pass patterns.
9301         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9302         print various symbol names for vptr fields.
9303
9304 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9305
9306         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9307         results.
9308
9309 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9310
9311         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9312
9313 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9314
9315         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9316         is aarch64*-*-linux*.
9317
9318 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9319
9320         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9321         (can_relocate_bcond_true): ... it.
9322         (can_relocate_bcond_false): New function.
9323         (foo): Likewise.
9324         (can_relocate_bl): Likewise.
9325         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9326         can_relocate_bl.
9327
9328 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9329
9330         * gdb.base/nested-addr.c: New file.
9331         * gdb.base/nested-addr.exp: New testcase.
9332
9333 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9334
9335         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9336         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9337         its output.  Ignore the output of "record goto begin" and instead
9338         check that GDB is replaying.
9339
9340 2015-10-09  Pedro Alves  <palves@redhat.com>
9341
9342         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9343         (top level): Use it in the run with no args test.
9344
9345 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9346
9347         * gdb.dlang/properties.exp: New file.
9348
9349 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9350
9351         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9352         whether or not address 0x1000 is mapped on the target.
9353
9354 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9355
9356         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9357         build.
9358
9359 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9360
9361         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9362         instruction-history test.
9363
9364 2015-09-28  Doug Evans  <dje@google.com>
9365
9366         * gdb.base/gcore.c (array_func): Add reference to static_array.
9367
9368 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9369
9370         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9371         source line.
9372
9373 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9374
9375         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9376         short or char as base type.
9377
9378 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9379
9380         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9381         to allow any size enum.
9382
9383 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9384
9385         * gdb.ada/array_ptr_renaming.exp: New testcase.
9386         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9387         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9388
9389 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9390
9391         * gdb.trace/ftrace-lock.c: New file.
9392         * gdb.trace/ftrace-lock.exp: New file.
9393
9394 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9395
9396         * gdb.arch/insn-reloc.c: New file.
9397         * gdb.arch/ftrace-insn-reloc.exp: New file.
9398
9399 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9400
9401         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9402         instruction.
9403         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9404         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9405         * gdb.trace/range-stepping.c: Likewise.
9406         * gdb.trace/trace-break.c: Likewise.
9407         * gdb.trace/trace-mt.c (thread_function): Likewise.
9408         * gdb.trace/ftrace.c (marker): Likewise.
9409         * gdb.trace/trace-condition.c (marker): Likewise.
9410         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9411         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9412         is_aarch64_target.
9413
9414 2015-09-18  Doug Evans  <xdje42@gmail.com>
9415
9416         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9417         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9418
9419 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9420
9421         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9422         the breakpoint.
9423
9424 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9425
9426         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9427         the pending breakpoint.  Remove timeout override for "Run till
9428         MI pending breakpoint on pendfunc3 on thread 2" test.
9429
9430 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9431
9432         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9433         filename pattern.
9434
9435 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9436
9437         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9438         in breakpoint filename pattern.
9439
9440 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9441
9442         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9443
9444 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9445
9446         * gdb.linespec/explicit.exp: Check for readline support for
9447         tab-completion tests.  Fix obvious typo.
9448
9449 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9450
9451         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9452         and replay.
9453
9454 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9455
9456         * gdb.btrace/non-stop.c: New.
9457         * gdb.btrace/non-stop.exp: New.
9458
9459 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9460             Yao Qi  <yao.qi@linaro.org>
9461
9462         * gdb.trace/trace-condition.c: New file.
9463         * gdb.trace/trace-condition.exp: New file.
9464
9465 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9466
9467         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9468         for testing bytecode compilation.
9469
9470 2015-09-16  Pedro Alves  <palves@redhat.com>
9471             Sandra Loosemore <sandra@codesourcery.com>
9472
9473         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9474         (SECONDS): Redefine.
9475         (main): Call pthread_kill and alarm early.
9476         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9477         support.
9478         (test): If the target can't hardware step and doesn't support
9479         displaced stepping, increase the timeout.
9480
9481 2015-09-16  Pedro Alves  <palves@redhat.com>
9482
9483         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9484         (enable_debug): New procedures.
9485         (test): Use them.  Bail out if waiting for threads fails.
9486         (top level): Bail out if a test fails.
9487
9488 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9489
9490         * gdb.asm/asm-source.exp: Set asm-arch for
9491         aarch64*-*-* target.
9492         * gdb.asm/aarch64.inc: New file.
9493
9494 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9495
9496         * gdb.ada/array_of_variable_length.exp: New testcase.
9497         * gdb.ada/array_of_variable_length/foo.adb: New file.
9498         * gdb.ada/array_of_variable_length/pck.adb: New file.
9499         * gdb.ada/array_of_variable_length/pck.ads: New file.
9500
9501 2015-09-15  Doug Evans  <dje@google.com>
9502
9503         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9504         of function static local variable.
9505
9506 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9507
9508         * gdb.threads/tls-so_extern.exp: New test file.
9509         * gdb.threads/tls-so_extern.c: New test file.
9510         * gdb.threads/tls-so_extern_main.c: New test file.
9511
9512 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9513
9514         * gdb.opt/solib-intra-step-lib.c: New file.
9515         * gdb.opt/solib-intra-step-main.c: New file.
9516         * gdb.opt/solib-intra-step.exp: New file.
9517
9518 2015-09-15  Pedro Alves  <palves@redhat.com>
9519
9520         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9521         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9522
9523 2015-09-14  Pedro Alves  <palves@redhat.com>
9524
9525         * gdb.base/hook-stop-continue.c: Delete.
9526         * gdb.base/hook-stop-continue.exp: Delete.
9527         * gdb.base/hook-stop-frame.c: Delete.
9528         * gdb.base/hook-stop-frame.exp: Delete.
9529         * gdb.base/hook-stop.c: New file.
9530         * gdb.base/hook-stop.exp: New file.
9531
9532 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9533
9534         * gdb.ada/access_to_packed_array.exp: New testcase.
9535         * gdb.ada/access_to_packed_array/foo.adb: New file.
9536         * gdb.ada/access_to_packed_array/pack.adb: New file.
9537         * gdb.ada/access_to_packed_array/pack.ads: New file.
9538
9539 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9540
9541         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9542         buffer size test.
9543
9544 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9545
9546         * gdb.base/foll-exec.c: Add copyright header.  Fix
9547         formatting issues.
9548         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9549         (do_exec_tests): Use clean_restart in place of zap_session,
9550         and for test initialization.  Fix formatting issues.  Use
9551         fail in place of perror.
9552         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9553         an expect statement to match an expression with output from
9554         the program under debug.
9555         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9556         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9557         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9558         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9559         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9560
9561 2015-09-09  Doug Evans  <dje@google.com>
9562
9563         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9564
9565 2015-09-09  Doug Evans  <dje@google.com>
9566
9567         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9568
9569 2015-09-09  Doug Evans  <dje@google.com>
9570
9571         * gdb.base/savedregs.exp: Fix typo.
9572
9573 2015-09-09  Pedro Alves  <palves@redhat.com>
9574
9575         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9576
9577 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9578
9579         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9580         command actually switches threads.  Give up on remaining
9581         tests if target fails to stop at breakpoint.
9582
9583 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9584
9585         * gdb.ada/funcall_char.exp: New testcase.
9586         * gdb.ada/funcall_char/foo.adb: New file.
9587
9588 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9589
9590         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9591         expected outputs.  Add two testcases for completing ambiguous
9592         functions.
9593         * gdb.ada/complete/aux_pck.adb: New file.
9594         * gdb.ada/complete/aux_pck.ads: New file.
9595         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9596         Ambiguous_Func functions.
9597         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9598         * gdb.ada/complete/pck.adb: Likewise.
9599
9600 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9601
9602         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9603         failures to run the test program under GDB.
9604
9605 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9606
9607         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9608         to C.
9609
9610 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9611
9612         * gdb.base/run-after-attach.exp: New test file.
9613         * gdb.base/run-after-attach.c: New test file.
9614
9615 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9616
9617         * gdb.base/foll-exec-2.c: New test program.
9618         * gdb.base/foll-exec-2.exp: New test.
9619
9620 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9621
9622         * gdb.base/nested-subp1.exp: New file.
9623         * gdb.base/nested-subp1.c: New file.
9624         * gdb.base/nested-subp2.exp: New file.
9625         * gdb.base/nested-subp2.c: New file.
9626         * gdb.base/nested-subp3.exp: New file.
9627         * gdb.base/nested-subp3.c: New file.
9628
9629 2015-08-24  Pedro Alves  <palves@redhat.com>
9630
9631         * gdb.server/connect-without-multi-process.c: New file.
9632         * gdb.server/connect-without-multi-process.exp: New file.
9633
9634 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9635
9636         * gdb.opt/inline-markers.c: Make z int.
9637
9638 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9639
9640         * gdb.opt/inline-markers.c: Make z volatile.
9641
9642 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9643
9644         * gdb.opt/inline-bt.c: New volatile global z.
9645         * gdb.opt/inline-cmds.c: Likewise.
9646         * gdb.opt/inline-locals.c: Likewise.
9647         * gdb.opt/inline-markers.c: New extern global z.
9648         (marker): Use z.
9649         (inline_fn): Likewise.
9650
9651 2015-08-24  Pedro Alves  <palves@redhat.com>
9652
9653         * config/m32r-stub.exp: Remove file.
9654         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9655         * gdb.base/call-rt-st.exp: Likewise.
9656         * gdb.base/call-strs.exp: Likewise.
9657         * gdb.base/default.exp: Remove references to h8300-*-hms and
9658         *-*-udi*.
9659         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9660
9661 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9662
9663         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9664         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9665         and "return" use KFAIL when GDB can not read/write the vector
9666         return value.
9667
9668 2015-08-21  Gary Benson <gbenson@redhat.com>
9669
9670         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9671
9672 2015-08-20  Pedro Alves  <palves@redhat.com>
9673
9674         * gdb.server/solib-list.exp: No longer expect an interior stop in
9675         non-stop mode.
9676
9677 2015-08-20  Pedro Alves  <palves@redhat.com>
9678
9679         * gdb.server/connect-stopped-target.c: New file.
9680         * gdb.server/connect-stopped-target.exp: New file.
9681
9682 2015-08-20  Pedro Alves  <palves@redhat.com>
9683
9684         * gdb.dwarf2/comp-unit-lang.exp: New file.
9685         * gdb.dwarf2/comp-unit-lang.c: New file.
9686
9687 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9688
9689         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9690         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9691
9692 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9693
9694         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9695         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9696
9697 2015-08-18  Doug Evans  <dje@google.com>
9698             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9699
9700         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9701         skip_python_tests.  New arg prompt_regexp.
9702         (skip_python_tests): New function.
9703         * lib/mi-support.exp (mi_skip_python_tests): New function.
9704         * gdb.python/py-mi-objfile-gdb.py: New file.
9705         * gdb.python/py-mi-objfile.c: New file.
9706         * gdb.python/py-mi-objfile.exp: New file.
9707
9708 2015-08-17  Keith Seitz  <keiths@redhat.com>
9709
9710         * gdb.linespec/explicit.exp: Move strace test from here ...
9711         * gdb.trace/strace.exp: ... to here.
9712
9713 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9714
9715         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9716         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9717
9718 2015-08-14  Doug Evans  <xdje42@gmail.com>
9719
9720         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9721         inferior before selecting a new file.
9722
9723 2015-08-14  Doug Evans  <xdje42@gmail.com>
9724
9725         * gdb.mi/mi-disassemble.exp: Update.
9726         * gdb.base/disasm-optim.S: New file.
9727         * gdb.base/disasm-optim.c: New file.
9728         * gdb.base/disasm-optim.h: New file.
9729         * gdb.base/disasm-optim.exp: New file.
9730
9731 2015-08-14  Keith Seitz  <keiths@redhat.com>
9732
9733         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9734         "evaluated-by".
9735
9736 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9737
9738         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9739
9740 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9741
9742         * gdb.ada/fun_renaming.exp: New testcase.
9743         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9744         * gdb.ada/fun_renaming/pack.adb: New file.
9745         * gdb.ada/fun_renaming/pack.ads: New file.
9746
9747 2015-08-12  Keith Seitz  <keiths@redhat.com>
9748
9749         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9750         gdb_get_line_number.
9751
9752 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9753
9754         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9755         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9756         gdb.base/dso2dso.exp: New files.
9757
9758 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9759             Pedro Alves  <palves@redhat.com>
9760             Keith Seitz  <keiths@redhat.com>
9761
9762         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9763         GDBFLAGS.
9764
9765 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9766
9767         * gdb.base/gdbhistsize-history.exp
9768         (test_histsize_history_setting): Use save_vars.
9769         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9770         Use save_vars.
9771         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9772         * gdb.base/readline.exp: Use save_vars.
9773
9774 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9775
9776         * lib/gdb.exp (save_vars): New proc.
9777
9778 2015-08-11  Keith Seitz  <keiths@redhat.com>
9779
9780         * gdb.base/help.exp: Update help_breakpoint_text.
9781
9782 2015-08-11  Keith Seitz  <keiths@redhat.com>
9783
9784         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9785         (at toplevel): Call test_explicit_breakpoints.
9786         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9787         breakpoints.
9788         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9789         breakpoint conditions, "-cond".
9790
9791 2015-08-11  Keith Seitz  <keiths@redhat.com>
9792
9793         * gdb.linespec/3explicit.c: New file.
9794         * gdb.linespec/cpexplicit.cc: New file.
9795         * gdb.linespec/cpexplicit.exp: New file.
9796         * gdb.linespec/explicit.c: New file.
9797         * gdb.linespec/explicit.exp: New file.
9798         * gdb.linespec/explicit2.c: New file.
9799         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9800         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9801         before using in the matching pattern.
9802         Clarify that `prefix' is a regular expression.
9803
9804 2015-08-11  Keith Seitz  <keiths@redhat.com>
9805
9806         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9807         test.
9808         Add tests for missing ",FMT" and ",".
9809
9810 2015-08-10  Doug Evans  <dje@google.com>
9811             Keith Seitz  <keiths@redhat.com>
9812
9813         PR gdb/17960
9814         * gdb.base/completion.exp: Add location completer tests.
9815
9816 2015-08-07  Pedro Alves  <palves@redhat.com>
9817
9818         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9819         tests here.
9820         (top level): Run do_test with and without displaced stepping.
9821
9822 2015-08-07  Pedro Alves  <palves@redhat.com>
9823
9824         * gdb.base/valgrind-disp-step.c: New file.
9825         * gdb.base/valgrind-disp-step.exp: New file.
9826
9827 2015-08-07  Pedro Alves  <palves@redhat.com>
9828
9829         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9830         Delete function.
9831         (main): Add alarm.  Run an infinite loop instead of calling
9832         wait_threads.
9833         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9834         comment.
9835         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9836         Delete function.
9837         (main): Add alarm.  Run an infinite loop instead of calling
9838         wait_threads.
9839         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9840         comment.
9841
9842 2015-08-07  Pedro Alves  <palves@redhat.com>
9843
9844         * gdb.base/checkpoint-ns.exp: New file.
9845         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9846         standard_testfile.
9847
9848 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9849
9850         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9851         * gdb.btrace/instruction_history.exp: Update.
9852         * gdb.btrace/tsx.exp: New.
9853         * gdb.btrace/tsx.c: New.
9854
9855 2015-08-06  Pedro Alves <palves@redhat.com>
9856
9857         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9858         increase timeout.
9859         * gdb.reverse/until-precsave.exp: Bump timeouts.
9860
9861 2015-08-06  Pedro Alves  <palves@redhat.com>
9862
9863         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9864
9865 2015-08-06  Pedro Alves  <palves@redhat.com>
9866
9867         PR gdb/18749
9868         * gdb.threads/process-dies-while-handling-bp.c: New file.
9869         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9870
9871 2015-08-06  Pedro Alves  <palves@redhat.com>
9872
9873         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9874         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9875
9876 2015-08-05  Pedro Alves  <palves@redhat.com>
9877
9878         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9879         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9880
9881 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9882
9883         * gdb.base/bp-permanent.exp: Report test as unsupported if
9884         the target cannot stop at the permanent breakpoint.
9885
9886 2015-08-03  Doug Evans  <dje@google.com>
9887
9888         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9889         10000.
9890
9891 2015-08-03  Doug Evans  <dje@google.com>
9892
9893         * Makefile.in (workers/%.worker, build-perf): New rule.
9894         (GDB_PERFTEST_MODE): New variable.
9895         (check-perf): Use it.
9896         (clean): Clean up gdb.perf parallel build subdirs.
9897         * lib/build-piece.exp: New file.
9898         * lib/gdb.exp (make_gdb_parallel_path): New function
9899         (standard_output_file, standard_temp_file): Call it.
9900         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9901         of $GDB_PARALLEL.
9902         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9903
9904 2015-08-03  Doug Evans  <dje@google.com>
9905
9906         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9907         (LOG_FILE_NAME): New global.
9908         (TextReporter.__init__): Initialize self.txt_sum.
9909         (TextReporter.report): Add support for multiple data-points.
9910         Move report to perftest.sum, put raw data in perftest.log.
9911         (TextReporter.start): Open sum and log files.
9912         (TextReporter.end): Close sum and log files.
9913         * gdb.perf/lib/perftest/testresult.py
9914         (SingleStatisticTestResult.record): Handle multiple data-points.
9915
9916 2015-07-31  Pedro Alves  <palves@redhat.com>
9917
9918         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9919         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9920         kill_wait_spawned_process instead of explicit "kill -9".
9921         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9922         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9923         kill_wait_spawned_process.
9924         * gdb.base/attach-twice.exp: Likewise.
9925         * gdb.base/attach.exp: Likewise.
9926         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9927         gdb_test_multiple.
9928         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9929         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9930         kill_wait_spawned_process.
9931         * gdb.base/valgrind-infcall.exp: Likewise.
9932         * gdb.multi/multi-attach.exp: Likewise.
9933         * gdb.python/py-prompt.exp: Likewise.
9934         * gdb.python/py-sync-interp.exp: Likewise.
9935         * gdb.server/ext-attach.exp: Likewise.
9936         * gdb.threads/attach-into-signal.exp (corefunc): Use
9937         spawn_wait_for_attach, spawn_id_get_pid and
9938         kill_wait_spawned_process.
9939         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9940         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9941         spawn_id_get_pid and kill_wait_spawned_process.
9942         * gdb.threads/attach-stopped.exp (corefunc): Use
9943         spawn_wait_for_attach, spawn_id_get_pid and
9944         kill_wait_spawned_process.
9945         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9946         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9947         kill_wait_spawned_process instead of explicit "kill -9".
9948         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9949         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9950         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9951         processes.  Don't map cygwin/windows pids here.  Now returns a
9952         spawn id list.
9953
9954 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9955
9956         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9957         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9958         correct patch.
9959
9960 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9961
9962         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9963
9964 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9965
9966         Reapply:
9967         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9968
9969         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9970
9971 2015-07-30  Pedro Alves  <palves@redhat.com>
9972
9973         * linux-low.c (handle_extended_wait): Set the child's last
9974         reported status to TARGET_WAITKIND_STOPPED.
9975
9976 2015-07-30  Pedro Alves  <palves@redhat.com>
9977
9978         PR threads/18600
9979         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9980         only shows inferior 1.
9981
9982 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9983             Pedro Alves  <palves@redhat.com>
9984
9985         PR threads/18600
9986         * gdb.threads/fork-plus-threads.c: New file.
9987         * gdb.threads/fork-plus-threads.exp: New file.
9988
9989 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9990
9991         * gdb.base/batch-preserve-term-settings.exp
9992         (test_terminal_settings_preserved_after_cli_exit): Use
9993         send_quit_command.
9994
9995 2015-07-29  Pedro Alves  <palves@redhat.com>
9996             Don Breazeal  <donb@codesourcery.com>
9997
9998         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9999         output from both inferior_spawn_id and gdb_spawn_id.
10000
10001 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
10002
10003         * gdb.threads/attach-into-signal.exp (corefunc): Use
10004         with_test_prefix on nested loops, uniquefying the test messages.
10005
10006 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
10007
10008         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10009         commit.
10010
10011 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10012
10013         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10014         New proc.
10015         (test_terminal_settings_preserved_after_sigterm): New test.
10016
10017 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10018
10019         * gdb.base/batch-preserve-term-settings.exp
10020         (test_terminal_settings_preserved_after_cli_exit): New test.
10021
10022 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
10023
10024         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10025         manipulation of saved_gdbflags.
10026         (test_terminal_settings_preserved): Remove global declaration of
10027         the unused variable pagination_prompt.  Remove manipulation of
10028         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
10029         GDBFLAGS.
10030
10031 2015-07-29  Pedro Alves  <palves@redhat.com>
10032
10033         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10034
10035 2015-07-29  Pedro Alves  <palves@redhat.com>
10036
10037         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10038         at the top.
10039
10040 2015-07-29  Pedro Alves  <palves@redhat.com>
10041
10042         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10043         (main): Call gdb_unbuffer_output.
10044         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10045         (main): Call gdb_unbuffer_output.
10046         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10047         (main): Call gdb_unbuffer_output.
10048         * gdb.base/call-strs.exp: Adjust to step over the
10049         gdb_unbuffer_output call.
10050         * gdb.base/catch-gdb-caused-signals.c: Include
10051         "../lib/unbuffer_output.c".
10052         (main): Call gdb_unbuffer_output.
10053         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10054         (main): Call gdb_unbuffer_output.
10055         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10056         (main): Call gdb_unbuffer_output.
10057         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10058         (main): Call gdb_unbuffer_output.
10059         * gdb.base/shlib-call.exp: Adjust to step over the
10060         gdb_unbuffer_output call.
10061         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10062         (main): Call gdb_unbuffer_output.
10063         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10064         (main): Call gdb_unbuffer_output.
10065         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10066         (main): Rename to ...
10067         (test): ... this.
10068         (main): Reimplement.
10069         * gdb.base/varargs.exp: Run to test instead of to main.
10070         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10071         (main): Call gdb_unbuffer_output.
10072
10073 2015-07-29  Pedro Alves  <palves@redhat.com>
10074
10075         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10076         factore out from mi_continue_dprintf.  For call-style dprintfs,
10077         expect dprintf output out of $inferior_spawn_id.
10078         (mi_continue_dprintf): Use mi_expect_dprintf.
10079         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10080         (main): Call gdb_unbuffer_output.
10081
10082 2015-07-29  Pedro Alves  <palves@redhat.com>
10083
10084         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10085         (default_mi_gdb_start): Set inferior_spawn_id instead of
10086         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
10087         gdb_spawn_id.
10088         (mi_gdb_test): Always expect inferior output from both
10089         $inferior_spawn_id and $gdb_spawn_id.
10090
10091 2015-07-29  Pedro Alves  <palves@redhat.com>
10092
10093         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
10094         send_inferior and $inferior_spawn_id.
10095
10096 2015-07-29  Pedro Alves  <palves@redhat.com>
10097
10098         * gdb.gdb/complaints.exp (test_initial_complaints)
10099         (test_serial_complaints, test_short_complaints): Use
10100         gdb_test_stdio.
10101         (test_empty_complaint): Handle $inferior_spawn_id !=
10102         $gdb_spawn_id.
10103
10104 2015-07-29  Pedro Alves  <palves@redhat.com>
10105
10106         * gdb.base/varargs.exp: Use gdb_test_stdio.
10107
10108 2015-07-29  Pedro Alves  <palves@redhat.com>
10109
10110         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10111
10112 2015-07-29  Pedro Alves  <palves@redhat.com>
10113
10114         * gdb.base/ending-run.exp: Use gdb_test_stdio.
10115
10116 2015-07-29  Pedro Alves  <palves@redhat.com>
10117
10118         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10119         parameter into two new parameters, "inf_result" and "gdb_result".
10120         Expect inferior output and gdb output from $inferior_spawn_id and
10121         $gdb_spawn_id, respectively.  Adjust all callers.
10122
10123 2015-07-29  Pedro Alves  <palves@redhat.com>
10124
10125         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10126         of gdb_test_sequence.
10127
10128 2015-07-29  Pedro Alves  <palves@redhat.com>
10129
10130         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10131         (saw_spurious_output): Expect inferior output from
10132         $inferior_spawn_id.  Use gdb_test_stdio.
10133
10134 2015-07-29  Pedro Alves  <palves@redhat.com>
10135
10136         * gdb.base/dprintf.exp: Use standard_testfile.  Change
10137         prepare_for_testing call.
10138         (srcfile): Don't set.
10139         (restart): New procedure.
10140         (test_dprintf): New procecure, use to continue over dprintfs.
10141         (test_call, test_agent): New procedures, tests moved here.
10142         Restart gdb and recreate dprintfs.  Adjust expected output.
10143
10144 2015-07-29  Pedro Alves  <palves@redhat.com>
10145
10146         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10147
10148 2015-07-29  Pedro Alves  <palves@redhat.com>
10149
10150         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10151
10152 2015-07-29  Pedro Alves  <palves@redhat.com>
10153
10154         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10155         gdb_test_stdio.
10156
10157 2015-07-29  Pedro Alves  <palves@redhat.com>
10158
10159         * lib/gdb.exp (gdb_test_stdio): New procedure.
10160
10161 2015-07-29  Pedro Alves  <palves@redhat.com>
10162
10163         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10164
10165 2015-07-29  Pedro Alves  <palves@redhat.com>
10166
10167         * gdb.base/call-signal-resume.exp: Remove check for
10168         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
10169         * gdb.base/unwindonsignal.exp: Likewise.
10170         * gdb.base/call-signals.c (gen_signal): Remove printf call.
10171         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10172
10173 2015-07-29  Pedro Alves  <palves@redhat.com>
10174
10175         * gdb.base/siginfo-addr.c (pass): New function.
10176         (handler): Call it iff si_addr is correct.
10177         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10178         Set a breakpoint at "pass" and continue to it.
10179
10180 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
10181
10182         * gdb.python/py-objfile.exp: Make some tests have unique names.
10183         * gdb.python/py-pp-registration.exp: Likewise.
10184
10185 2015-07-28  Pedro Alves  <palves@redhat.com>
10186
10187         * gdb.server/server-exec-info.exp: Issue a "disconnect".
10188
10189 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
10190
10191         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10192
10193 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
10194
10195         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10196
10197 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
10198
10199         * gdb.base/gdb-sigterm-2.exp: New test.
10200
10201 2015-07-25  Doug Evans  <xdje42@gmail.com>
10202
10203         Revert:
10204         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10205         (workers/%.worker, build-perf): New rule.
10206         (GDB_PERFTEST_MODE): New variable.
10207         (check-perf): Use it.
10208         (clean): Clean up gdb.perf parallel build subdirs.
10209         * lib/build-piece.exp: New file.
10210         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10211         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10212         name.
10213         (standard_temp_file): Ditto.
10214         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10215         of $GDB_PARALLEL.
10216
10217 2015-07-24  Doug Evans  <dje@google.com>
10218
10219         * gdb.perf/lib/perftest/utils.py: New file.
10220         * gdb.perf/gm-hello.cc: New file.
10221         * gdb.perf/gm-pervasive-typedef.cc: New file.
10222         * gdb.perf/gm-pervasive-typedef.h: New file.
10223         * gdb.perf/gm-std.cc: New file.
10224         * gdb.perf/gm-std.h: New file.
10225         * gdb.perf/gm-use-cerr.cc: New file.
10226         * gdb.perf/gm-utils.h: New file.
10227         * gdb.perf/gmonster-null-lookup.py: New file.
10228         * gdb.perf/gmonster-pervasive-typedef.py: New file.
10229         * gdb.perf/gmonster-print-cerr.py: New file.
10230         * gdb.perf/gmonster-ptype-string.py: New file.
10231         * gdb.perf/gmonster-runto-main.py: New file.
10232         * gdb.perf/gmonster-select-file.py: New file.
10233         * gdb.perf/gmonster1-null-lookup.exp: New file.
10234         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10235         * gdb.perf/gmonster1-print-cerr.exp: New file.
10236         * gdb.perf/gmonster1-ptype-string.exp: New file.
10237         * gdb.perf/gmonster1-runto-main.exp: New file.
10238         * gdb.perf/gmonster1-select-file.exp: New file.
10239         * gdb.perf/gmonster1.cc: New file.
10240         * gdb.perf/gmonster1.exp: New file.
10241         * gdb.perf/gmonster2-null-lookup.exp: New file.
10242         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10243         * gdb.perf/gmonster2-print-cerr.exp: New file.
10244         * gdb.perf/gmonster2-ptype-string.exp: New file.
10245         * gdb.perf/gmonster2-runto-main.exp: New file.
10246         * gdb.perf/gmonster2-select-file.exp: New file.
10247         * gdb.perf/gmonster2.cc: New file.
10248         * gdb.perf/gmonster2.exp: New file.
10249
10250 2015-07-24  Doug Evans  <dje@google.com>
10251
10252         * gdb.perf/README: New file.
10253         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10254         * lib/gen-perf-test.exp: New file.
10255
10256 2015-07-24  Doug Evans  <dje@google.com>
10257
10258         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10259         (PerfTest::startup): New function.
10260         (PerfTest::run): Return result of calling body.
10261         (PerfTest::assemble): Rewrite.
10262         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10263         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10264         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10265         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10266         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10267
10268 2015-07-24  Doug Evans  <dje@google.com>
10269
10270         * lib/gdb.exp (clean_restart): Make executable optional.
10271
10272 2015-07-24  Doug Evans  <dje@google.com>
10273
10274         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10275         compiler_info references.
10276         * gdb.cp/temargs.exp: Ditto.
10277         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10278         (get_compiler_info): Early exit if already computed.  Set compiler_info
10279         to "unknown" if there was a problem.
10280         (test_compiler_info): Add function comment.  Call get_compiler_info.
10281
10282 2015-07-24  Doug Evans  <dje@google.com>
10283
10284         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10285         (workers/%.worker, build-perf): New rule.
10286         (GDB_PERFTEST_MODE): New variable.
10287         (check-perf): Use it.
10288         (clean): Clean up gdb.perf parallel build subdirs.
10289         * lib/build-piece.exp: New file.
10290         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10291         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10292         name.
10293         (standard_temp_file): Ditto.
10294         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10295         of $GDB_PARALLEL.
10296
10297 2015-07-24  Doug Evans  <dje@google.com>
10298
10299         * lib/future.exp (gdb_default_target_compile): New option
10300         "early_flags".
10301         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10302         --as-needed.
10303
10304 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10305
10306         * gdb.base/catch-syscall.exp: Call gdb_exit before
10307         gdb_skip_xml_test.
10308
10309 2015-07-24  Pedro Alves  <palves@redhat.com>
10310
10311         * gdb.python/py-events.exp: Accept output between the stop event
10312         and the prompt.
10313         * gdb.python/py-evsignal.exp: Likewise.
10314         * gdb.python/py-evthreads.exp: Likewise.
10315
10316 2015-07-24  Pedro Alves  <palves@redhat.com>
10317
10318         PR gdb/18717
10319         * gdb.threads/non-ldr-exit.c: New file.
10320         * gdb.threads/non-ldr-exit.exp: New file.
10321
10322 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10323
10324         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10325         restarting process.
10326
10327 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10328
10329         * gdb.server/ext-restart.exp: New file.
10330
10331 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10332
10333         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10334         argument options.
10335         * gdb.server/ext-wrapper.exp: New file.
10336
10337 2015-07-23  Doug Evans  <dje@google.com>
10338
10339         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10340         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10341
10342 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10343
10344         * gdb.ada/var_arr_typedef.exp: New testcase.
10345         * gdb.ada/var_arr_typedef/pack.adb: New file.
10346         * gdb.ada/var_arr_typedef/pack.ads: New file.
10347         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10348
10349 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10350
10351         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10352
10353 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10354
10355         * gdb.arch/i386-biarch-core.exp: Replace istarget
10356         by "complete set gnutarget". Remove expectation for the "core-file"
10357         command.
10358
10359 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10360
10361         Revert the previous commit:
10362         Tests for validate symbol file using build-id.
10363
10364 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10365
10366         Tests for validate symbol file using build-id.
10367         * gdb.base/solib-mismatch-lib.c: New file.
10368         * gdb.base/solib-mismatch-libmod.c: New file.
10369         * gdb.base/solib-mismatch.c: New file.
10370         * gdb.base/solib-mismatch.exp: New file.
10371
10372 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10373
10374         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10375         nios2-*-linux*.
10376         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10377         * gdb.base/siginfo.exp: Likewise.
10378         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10379
10380 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10381
10382         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10383         Move it to ...
10384         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10385         ... here.
10386         * gdb.trace/range-stepping.exp: Check that the target supports
10387         range stepping.
10388
10389 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10390
10391         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10392
10393 2015-07-14  Pedro Alves  <palves@redhat.com>
10394
10395         * gdb.base/killed-outside.exp: New file.
10396         * gdb.base/killed-outside.c: New file.
10397
10398 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10399
10400         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10401         (n at main): New.
10402         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10403
10404 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10405
10406         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10407         infcall tests instead of setting up for KFAIL.
10408
10409 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10410
10411         * gdb.btrace/record_goto-step.exp: New.
10412
10413 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10414
10415         PR compile/18484
10416         * gdb.compile/compile.c (struct struct_type): Add volatile to
10417         selffield's type.
10418         * gdb.compile/compile.exp
10419         (compile code struct_object.selffield = &struct_object): Skip further
10420         struct_object tests if this one xfails.
10421
10422 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10423
10424         PR exp/18617
10425         * gdb.trace/ax.exp: Add test.
10426
10427 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10428
10429         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10430         instead of istarget "aarch64*-*-*".
10431         * gdb.arch/aarch64-fp.exp: Likewise.
10432         * gdb.base/float.exp: Likewise.
10433         * gdb.reverse/aarch64.exp: Likewise.
10434         * lib/gdb.exp (is_aarch64_target): New proc.
10435
10436 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10437
10438         * lib/gdb.exp (is_aarch32_target): New proc.
10439         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10440         instead of "istarget "arm*-*-*"".
10441         * gdb.arch/arm-disp-step.exp: Likewise.
10442         * gdb.arch/thumb-bx-pc.exp: Likewise.
10443         * gdb.arch/thumb-prologue.exp: Likewise.
10444         * gdb.arch/thumb-singlestep.exp: Likewise.
10445         * gdb.base/disp-step-syscall.exp: Likewise.
10446         * gdb.base/float.exp: Likewise.
10447
10448 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10449
10450         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10451         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10452
10453 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10454
10455         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10456         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10457         if it exists.
10458         * gdb.multi/multi-arch.exp: Likewise.
10459
10460 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10461
10462         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10463         print.
10464
10465 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10466
10467         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10468
10469 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10470
10471         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10472         '[' and ']' characters.
10473
10474 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10475
10476         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10477
10478 2015-06-29  Pedro Alves  <palves@redhat.com>
10479
10480         PR threads/18127
10481         * gdb.threads/hand-call-new-thread.c: New file.
10482         * gdb.threads/hand-call-new-thread.c: New file.
10483
10484 2015-06-26  Keith Seitz  <keiths@redhat.com>
10485             Doug Evans  <dje@google.com>
10486
10487         PR 16253
10488         * gdb.cp/var-tag-2.cc: New file.
10489         * gdb.cp/var-tag-3.cc: New file.
10490         * gdb.cp/var-tag-4.cc: New file.
10491         * gdb.cp/var-tag.cc: New file.
10492         * gdb.cp/var-tag.exp: New file.
10493
10494 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10495
10496         * gdb.base/history-duplicates.exp: New test.
10497
10498 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10499
10500         * gdb.base/completion.exp: Test the completion of the "focus"
10501         command.
10502
10503 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10504
10505         * gdb.arch/amd64-prologue-skip.S: New file.
10506         * gdb.arch/amd64-prologue-skip.exp: New file.
10507
10508 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10509
10510         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10511         is_address_zero_readable check.
10512
10513 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10514
10515         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10516         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10517
10518 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10519
10520         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10521         linux targets.
10522
10523 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10524
10525         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10526         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10527         * gdb.base/siginfo-thread.exp: Likewise.
10528
10529 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10530
10531         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10532
10533 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10534
10535         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10536         aarch64*-*-*.
10537         (skip_hw_watchpoint_tests): Likewise.
10538
10539 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10540
10541         * gdb.base/gdbinit-history.exp: Test the interaction between
10542         setting GDBHISTSIZE and setting the history size via .gdbinit.
10543
10544 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10545
10546         PR gdb/16999
10547         * gdb.base/gdbhistsize-history.exp: New test.
10548
10549 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10550
10551         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10552         with GDBHISTSIZE.
10553         * gdb.base/readline.exp: Likewise.
10554
10555 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10556
10557         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10558         line.
10559
10560 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10561
10562         * gdb.base/gdbinit-history.exp: Add test case to check that
10563         an unlimited history file does not get truncated on exit.
10564
10565 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10566
10567         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10568         (VECTOR): New macro.  Use it...
10569         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10570         ...for these typedefs.
10571         (int8, char1, int1, double1): New typedefs.
10572         (struct just_int2, struct two_int2): New structures.
10573         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10574         (add_structvecs, add_singlevecs): New functions.
10575         (main): Call add_some_intvecs twice.
10576         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10577         the compile and exit upon failure.  Try compiling for the "native"
10578         architecture.  Test inferior function calls with vector arguments
10579         and vector return value handling with "finish" and "return".
10580
10581 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10582
10583         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10584         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10585         PE file.
10586         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10587
10588 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10589
10590         PR breakpoints/16465
10591         * gdb.mi/mi-dprintf-pending.c: New file.
10592         * gdb.mi/mi-dprintf-pending.exp: New test.
10593         * gdb.mi/mi-dprintf-pendshr.c: New file.
10594
10595 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10596             Mircea Gherzan  <mircea.gherzan@intel.com>
10597
10598         * gdb.arch/i386-mpx-map.c: New file.
10599         * gdb.arch/i386-mpx-map.exp: New File.
10600
10601 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10602
10603         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10604         * gdb.arch/i386-mpx.exp: Indentation fixed.
10605
10606 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10607
10608         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10609         function and improved indentation.
10610         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10611         gdb_test_multiple. Added additional tests to skip the test.
10612
10613 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10614
10615         * gdb.arch/i386-avx512.c: Change path in include file.
10616         * gdb.arch/i386-avx512.exp: Change include dir path
10617         compilation flag.
10618         * gdb.arch/i386-mpx.c: Change path in include file.
10619         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10620         flag.
10621
10622 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10623
10624         * gdb.compile/compile-print.exp (compile print *vararray@3)
10625         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10626
10627 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10628
10629         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10630         (do not keep jit in memory): ... this.
10631         (expect 5): Change it to ...
10632         (expect no 5): ... this.
10633
10634 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10635
10636         PR gdb/15564
10637         * gdb.mi/mi-detach.exp: New file.
10638
10639 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10640
10641         PR symtab/18392
10642         * gdb.arch/amd64-tailcall-self.S: New file.
10643         * gdb.arch/amd64-tailcall-self.c: New file.
10644         * gdb.arch/amd64-tailcall-self.exp: New file.
10645
10646 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10647
10648         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10649         tests for remote targets by checking is_target_gdbserver.
10650
10651 2015-05-27  Doug Evans  <dje@google.com>
10652
10653         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10654         * gdb.dwarf2/opaque-type-lookup.c: New file.
10655         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10656
10657 2015-05-26  Doug Evans  <dje@google.com>
10658
10659         * gdb.cp/iostream.cc: New file.
10660         * gdb.cp/iostream.exp: New file.
10661
10662 2015-05-26  Doug Evans  <dje@google.com>
10663
10664         * gdb.dwarf2/dw2-op-call.exp: Update.
10665         * gdb.dwarf2/dw4-sig-types.exp: Update.
10666         * gdb.dwarf2/implptr.exp: Update.
10667         * gdb.mi/mi-cmd-param-changed.exp: Update.
10668
10669 2015-05-26  Doug Evans  <dje@google.com>
10670
10671         * gdb.python/py-lazy-string.c: New file.
10672         * gdb.python/py-lazy-string.exp: New file.
10673         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10674         (main): Update.  Add estring3.
10675         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10676         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10677
10678 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10679             Yao Qi  <yao.qi@linaro.org>
10680
10681         * gdb.reverse/aarch64.c: New.
10682         * gdb.reverse/aarch64.exp: New.
10683
10684 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10685
10686         * lib/gdb.exp (supports_process_record): Return true for
10687         aarch64*-linux*.
10688         (supports_reverse): Likewise.
10689
10690 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10691
10692         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10693         Use with_test_prefix.
10694
10695 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10696
10697         * gdb.base/completion.exp: Add test for completion of layout
10698         names.
10699
10700 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10701
10702         * lib/gdb.exp (skip_tui_tests): New proc.
10703         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10704
10705 2015-05-19  Pedro Alves  <palves@redhat.com>
10706
10707         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10708         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10709         the environment while testing.  Restore whole environment
10710         afterwards.
10711
10712 2015-05-16  Doug Evans  <xdje42@gmail.com>
10713
10714         * gdb.guile/scm-ports.c: New file.
10715         * gdb.guile/scm-ports.exp: Add memory port tests.
10716
10717 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10718
10719         * gdb.compile/compile-print.c: New file.
10720         * gdb.compile/compile-print.exp: New file.
10721
10722 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10723
10724         * gdb.compile/compile-ops.exp: Cast param to void.
10725         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10726         (compile code struct_object.selffield = &struct_object): Add xfail.
10727
10728 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10729
10730         * gdb.ada/arr_enum_with_gap: New testcase.
10731
10732 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10733
10734         * gdb.ada/byte_packed_arr: New testcase.
10735
10736 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10737
10738         * gdb.ada/pckd_neg: New testcase.
10739
10740 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10741
10742         PR gdb/17820
10743         * gdb.base/gdbinit-history.exp: New test.
10744         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10745         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10746
10747 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10748
10749         * gdb.python/py-xmethods.cc: Enhance test case.
10750         * gdb.python/py-xmethods.exp: New tests.
10751         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10752         function.
10753         (B_indexoper): Likewise.
10754         (global_dm_list) : Add new xmethod worker functions.
10755
10756 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10757
10758         * gdb.base/coredump-filter.exp: Correctly unset
10759         "coredump_var_addr" array.
10760
10761 2015-05-08  Pedro Alves  <palves@redhat.com>
10762
10763         * gdb.server/non-existing-program.exp: Unset spawn_id.
10764
10765 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10766
10767         PR python/18291
10768         * gdb.python/py-xmethods.exp: Add tests.
10769
10770 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10771
10772         PR gdb/18208
10773         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10774         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10775         function set_coredump_filter, and remove remote_exec call.
10776         Remove argument ipid.  Callers update.
10777         (top level): Don't get inferior's PID.
10778
10779 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10780
10781         * gdb.base/watch_thread_num.exp: Skip test on targets without
10782         access watchpoints.
10783
10784 2015-05-06  Pedro Alves  <palves@redhat.com>
10785
10786         PR server/18081
10787         * gdb.server/non-existing-program.exp: New file.
10788
10789 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10790
10791         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10792
10793 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10794
10795         * gdb.ada/out_of_line_in_inlined: New testcase.
10796
10797 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10798
10799         * gdb.ada/var_rec_arr: New testcase.
10800
10801 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10802
10803         * gdb.base/break-idempotent.exp: If
10804         skip_hw_watchpoint_multi_tests returns true, skip the tests
10805         on "rwatch" and "awatch".
10806
10807 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10808
10809         * gdb.base/relativedebug.exp: Invoke gdb command
10810         "info sharedlibrary", and if libc.so doesn't have debug info,
10811         skip the test.
10812
10813 2015-04-29  Doug Evans  <dje@google.com>
10814
10815         * gdb.python/py-xmethods.exp: Add ptype tests.
10816         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10817         get_result_type method.
10818
10819 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10820
10821         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10822         the target does not support hardware watchpoints.
10823
10824 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10825
10826         * gdb.base/break-always.exp: Abort testing if writing to memory
10827         causes an error.
10828
10829 2015-04-28  Doug Evans  <dje@google.com>
10830
10831         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10832         * gdb.python/py-pp-registration.exp: ... here.  New file.
10833         * gdb.python/py-pp-registration.c: New file.
10834         * gdb.python/py-pp-registration.py: New file.
10835
10836 2015-04-28  Doug Evans  <dje@google.com>
10837
10838         * gdb.python/py-bad-printers.c: New file.
10839         * gdb.python/py-bad-printers.py: New file.
10840         * gdb.python/py-bad-printers.exp: New file.
10841
10842 2015-04-28  Sasha Smundak  <asmundak@google.com>
10843
10844         * gdb.python/py-type.exp: New test.
10845
10846 2015-04-28  Andy Wingo  <wingo@igalia.com>
10847
10848         * gdb.python/py-parameter.exp:
10849         * gdb.guile/scm-parameter.exp: Escape the path that we are
10850         matching against, as it might contain characters that are special
10851         to regular expressions.
10852
10853 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10854
10855         * gdb.ada/rec_comp: New testcase.
10856
10857 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10858
10859         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10860         before using it.
10861
10862 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10863
10864         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10865         new tests for verilog output.
10866
10867 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10868
10869         * boards/remote-gdbserver-on-localhost.exp: New file.
10870
10871 2015-04-23  Pedro Alves  <palves@redhat.com>
10872
10873         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10874         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10875         "end of file", remove $inferior_spawn_id from the indirect list.
10876
10877 2015-04-23  Pedro Alves  <palves@redhat.com>
10878
10879         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10880
10881 2015-04-23  Pedro Alves  <palves@redhat.com>
10882
10883         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10884         on $any_spawn_id instead of only on $gdb_spawn_id.
10885
10886 2015-04-21  Pierre Muller  <muller@sourceware.org>
10887
10888         PR pascal/17815
10889         * lib/pascal.exp (gpc_compile): Add new option "class".
10890         (fpc_compile): Likewise.
10891         * gdb.pascal/case-insensitive-symbols.pas: New file.
10892         * gdb.pascal/case-insensitive-symbols.exp: New file.
10893
10894 2015-04-20  Gary Benson <gbenson@redhat.com>
10895
10896         * gdb.base/attach.exp: Fix three extended remote failures.
10897
10898 2015-04-17  Gary Benson <gbenson@redhat.com>
10899
10900         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10901         the main executable over the remote protocol.
10902
10903 2015-04-16  Pedro Alves  <palves@redhat.com>
10904
10905         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10906         a new gdbserver if gdbserver_reconnect_p is set.
10907
10908 2015-04-16  Pedro Alves  <palves@redhat.com>
10909
10910         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10911         is set, don't exit gdbserver.
10912
10913 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10914
10915         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10916         appropriate .insn, such that an older assembler can be used.
10917         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10918         the z/Architecture instruction set on 31-bit targets as well.
10919
10920 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10921
10922         * gdb.go/handcall.exp: Remove all logic related to the first
10923         breakpoint and rely on go_runto_main instead.
10924         * gdb.go/strings.exp: Likewise.
10925         * gdb.go/unsafe.exp: Likewise.
10926         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10927         breakpoint marker to "breakpoint 1".
10928         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10929         * gdb.go/strings.go: Likewise.
10930         * gdb.go/unsafe.go: Likewise.
10931         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10932         "set breakpoint 2 here" and rename the remaining breakpoint marker
10933         to "breakpoint 1".
10934
10935 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10936
10937         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10938         if itertools.imap is not present.
10939         * gdb.python/py-objfile.exp: Add parentheses.
10940         * gdb.python/py-type.exp: Same.
10941         * gdb.python/py-unwind-maint.py: Same.
10942
10943 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10944
10945         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10946         of ":$ptr_size" and set its form explicitly.
10947
10948 2015-04-15  Pedro Alves  <palves@redhat.com>
10949             Yao Qi  <yao.qi@linaro.org>
10950
10951         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10952         timeout by factor of 4.
10953         (test_regular_watch): Likewise.
10954         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10955         * gdb.reverse/sigall-reverse.exp: Likewise.
10956         * gdb.reverse/until-precsave.exp: Likewise.
10957         * lib/gdb.exp (with_timeout_factor): New proc.
10958         (gdb_expect): Move some code to ...
10959         (get_largest_timeout): ... here.  New procedure.
10960
10961 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10962
10963         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10964
10965 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10966
10967         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10968         to write to the .text section.
10969
10970 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10971
10972         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10973         Handle the case of targets that do not provide PID information.
10974
10975 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10976
10977         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10978         and use expect instead of gdb_expect.
10979
10980 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10981
10982         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10983         "coredump_var_addr" to avoid naming conflict with other testcases.
10984
10985 2015-04-10  Pedro Alves  <palves@redhat.com>
10986
10987         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10988         gdb_test_sequence and gdb_assert.
10989
10990 2015-04-10  Pedro Alves  <palves@redhat.com>
10991
10992         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10993         test messages that don't include the breakpoint address.
10994
10995 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10996
10997         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10998         false for some offset and width combinations which aren't
10999         supported by linux kernel.
11000
11001 2015-04-10  Pedro Alves  <palves@redhat.com>
11002
11003         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11004         procedure, factored out from ...
11005         (top level): ... here.  Add "set displaced-stepping" testing axis.
11006         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11007         parameter "displaced".  Use it.
11008         (top level): Use foreach and add "set displaced-stepping" testing
11009         axis.
11010
11011 2015-04-10  Pedro Alves  <palves@redhat.com>
11012
11013         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11014         Remove comment.
11015         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11016         both the address of the instruction that triggers the watchpoint
11017         and the address of the instruction immediately after, and use
11018         those addresses for the test.  Fix comment.
11019
11020 2015-04-10  Pedro Alves  <palves@redhat.com>
11021
11022         * gdb.base/sigstep.exp (breakpoint_to_handler)
11023         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
11024         Test "backtrace" in handler.
11025         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
11026         (top level): Add new "displaced" test axis to
11027         breakpoint_to_handler, breakpoint_to_handler_entry and
11028         breakpoint_over_handler.
11029
11030 2015-04-10  Pedro Alves  <palves@redhat.com>
11031
11032         PR gdb/18216
11033         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11034
11035 2015-04-10  Yao Qi  <yao.qi@linaro.org>
11036
11037         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11038         (test_add_rn_pc): New function.
11039         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11040         (top level): Invoke test_add_rn_pc.
11041
11042 2015-04-10  Pedro Alves  <palves@redhat.com>
11043
11044         PR gdb/13858
11045         * gdb.base/step-over-no-symbols.exp: New file.
11046
11047 2015-04-09  Andy Wingo  <wingo@igalia.com>
11048
11049         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11050         after the Python tests.
11051
11052 2015-04-08  Keith Seitz  <keiths@redhat.com>
11053
11054         PR python/16699
11055         * gdb.python/py-completion.exp: New tests for completion.
11056         * gdb.python/py-completion.py (CompleteLimit1): New class.
11057         (CompleteLimit2): Likewise.
11058         (CompleteLimit3): Likewise.
11059         (CompleteLimit4): Likewise.
11060         (CompleteLimit5): Likewise.
11061         (CompleteLimit6): Likewise.
11062         (CompleteLimit7): Likewise.
11063
11064 2015-04-08  Pedro Alves  <palves@redhat.com>
11065
11066         PR gdb/18214
11067         PR gdb/18216
11068         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11069         function.
11070         (main): Install it as SIGUSR1 handler.
11071         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11072         parameter.  Always use "setup" as prefix.  Toggle "set
11073         displaced-stepping" off/on depending on global.  Don't switch to
11074         thread 1 here.
11075         (top level): Add displaced stepping "off/on" test axis.  Update
11076         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
11077         continuing with a queued signal in each thread.
11078
11079 2015-04-08  Pedro Alves  <palves@redhat.com>
11080
11081         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11082         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
11083         gdb_breakpoint instead of gdb_test that doesn't expect anything.
11084         Return early if running to main fails.
11085         * gdb.trace/while-stepping.exp: Likewise.
11086
11087 2015-04-07  Pedro Alves  <palves@redhat.com>
11088
11089         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11090         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
11091         interact with inferior program.
11092
11093 2015-04-07  Pedro Alves  <palves@redhat.com>
11094
11095         * lib/gdb.exp (inferior_spawn_id): New global.
11096         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
11097         spawn id after processing the user code.
11098         (default_gdb_start): Set inferior_spawn_id.
11099         (send_inferior): New procedure.
11100         * lib/gdbserver-support.exp (gdbserver_start): Set
11101         inferior_spawn_id.
11102         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11103
11104 2015-04-07  Pedro Alves  <palves@redhat.com>
11105
11106         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11107         * lib/gdbserver-support.exp (gdbserver_start): Make
11108         $server_spawn_id global.
11109         (gdbserver_start): Don't wait for gdbserver's spawn id with
11110         expect_background.
11111         (close_gdbserver): New procedure.
11112         (gdb_exit): Rename the default version and reimplement.
11113
11114 2015-04-07  Pedro Alves  <palves@redhat.com>
11115
11116         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11117         append the substituted item, not the original item.
11118
11119 2015-04-07  Pedro Alves  <palves@redhat.com>
11120
11121         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11122         gdb_expect.
11123
11124 2015-04-07  Pedro Alves  <palves@redhat.com>
11125
11126         * gdb.base/interrupt.exp: Don't handle the case of the inferior
11127         output appearing once only.
11128
11129 2015-04-07  Pedro Alves  <palves@redhat.com>
11130
11131         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11132         that doesn't expect anything.  Return early if running to main
11133         fails.
11134
11135 2015-04-07  Yao Qi  <yao.qi@linaro.org>
11136
11137         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11138         (child_function): Call alarm.
11139         (main): Move call to alarm into the loop.
11140         * gdb.threads/non-stop-fair-events.exp: Build program with
11141         -DTIMEOUT=$timeout.
11142
11143 2015-04-06  Doug Evans  <xdje42@gmail.com>
11144
11145         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11146         Fix dest parameter to board_info.
11147         (fpc_compile): Ditto.
11148         (gdb_compile_pascal): Rename dest arg to destfile.
11149
11150 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
11151
11152         * gdb.ada/funcall_ref.exp: New file.
11153         * gdb.ada/funcall_ref/foo.adb: New file.
11154
11155 2015-04-02  Yao Qi  <yao.qi@linaro.org>
11156
11157         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11158         is remote.
11159
11160 2015-04-02  Gary Benson <gbenson@redhat.com>
11161
11162         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11163
11164 2015-04-01  Sasha Smundak  <asmundak@google.com>
11165
11166         * gdb.python/py-unwind-maint.c: New file.
11167         * gdb.python/py-unwind-maint.exp: New test.
11168         * gdb.python/py-unwind-maint.py: New file.
11169         * gdb.python/py-unwind.c: New file.
11170         * gdb.python/py-unwind.exp: New test.
11171         * gdb.python/py-unwind.py: New test.
11172
11173 2015-04-01  Pedro Alves  <palves@redhat.com>
11174
11175         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11176         to fail instead of non-existent $test.
11177
11178 2015-04-01  Pedro Alves  <palves@redhat.com>
11179
11180         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11181         GDBFLAGS if not empty.
11182
11183 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
11184
11185         * gdb.ada/complete.exp: Remove "multi_line".
11186         * gdb.ada/info_exc.exp: Remove "multi_line".
11187         * gdb.ada/packed_tagged.exp: Remove "multi_line".
11188         * gdb.ada/ptype_field.exp: Remove "multi_line".
11189         * gdb.ada/sym_print_name.exp: Remove "multi_line".
11190         * gdb.ada/tagged.exp: Remove "multi_line".
11191         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11192         [multi_line ...]
11193         * gdb.btrace/delta.exp: Likewise.
11194         * gdb.btrace/exception.exp: Likewise.
11195         * gdb.btrace/function_call_history.exp: Likewise.
11196         * gdb.btrace/instruction_history.exp: Likewise.
11197         * gdb.btrace/nohist.exp: Likewise.
11198         * gdb.btrace/record_goto.exp: Likewise.
11199         * gdb.btrace/segv.exp: Likewise.
11200         * gdb.btrace/stepi.exp: Likewise.
11201         * gdb.btrace/tailcall.exp: Likewise.
11202         * gdb.btrace/unknown_functions.exp: Likewise.
11203         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11204         * lib/gdb.exp: Add the "multi_line" helper.
11205
11206 2015-04-01  Pedro Alves  <palves@redhat.com>
11207
11208         * gdb.threads/tid-reuse.c: New file.
11209         * gdb.threads/tid-reuse.exp: New file.
11210
11211 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
11212
11213         PR corefiles/16092
11214         * gdb.base/coredump-filter.c: New file.
11215         * gdb.base/coredump-filter.exp: Likewise.
11216
11217 2015-03-27  Petr Machata  <pmachata@redhat.com>
11218
11219         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11220         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11221         (Dwarf::assemble): Initialize them.
11222         (Dwarf::lines): New function.
11223
11224 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
11225
11226         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11227         SYMBOL_PREFIX for x86_64-*-cygwin.
11228
11229 2015-03-26  Andy Wingo  <wingo@igalia.com>
11230
11231         PR symtab/18148
11232         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11233         const_value but not a location.
11234         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11235         location defined in non-main CUs are visible.
11236
11237 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11238
11239         PR testsuite/18139
11240         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11241         Add a line number entry for the same line.
11242         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11243         Add a line number entry for the same line.
11244
11245 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11246
11247         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11248         .int 0.
11249         (func): Likewise.  Add .Lfunc_1 label.
11250         Use .Lfunc_1 label.
11251         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11252         .int 0.
11253         (func): Likewise.
11254         Use .Lfunc_1 label.
11255
11256 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11257
11258         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11259         Call gdb_compile instead to compile each .s files without debug
11260         information.
11261
11262 2015-03-26  Yao Qi  <yao.qi@linaro.org>
11263
11264         * gdb.base/savedregs.exp (process_saved_regs): Make
11265         "Saved registers:" optional in the pattern.
11266
11267 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11268
11269         * gdb.btrace/next.exp: Merged into step.exp.
11270         * gdb.btrace/finish.exp: Merged into step.exp.
11271         * gdb.btrace/nexti.exp: Merged into stepi.exp.
11272         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
11273         "record goto" and checking the exact replay position.
11274         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
11275         check for "Recording format" in "info record" output.
11276         * gdb.btrace/record_goto.exp: Choose test file based on target.
11277         * gdb.btrace/x86-record_goto.S: Renamed into ...
11278         * gdb.btrace/x86_64-record_goto.S: ... this.
11279         * gdb.btrace/i686-record_goto.S: New.
11280         * gdb.btrace/x86-tailcall.S: Renamed into ...
11281         * gdb.btrace/x86_64-tailcall.S: ... this.
11282         * gdb.btrace/i686-tailcall.S: New.
11283         * gdb.btrace/x86-tailcall.c: Renamed into ...
11284         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
11285         separate statements.  Update test.
11286         * gdb.btrace/delta.exp: Use record_goto.c as test file.
11287         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11288         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11289         * gdb.btrace/tailcall.exp: Choose test file based on target.
11290         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11291
11292 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11293
11294         * gdb.btrace/exception.exp: Increase BTS buffer size.
11295
11296 2015-03-24  Pedro Alves  <palves@redhat.com>
11297
11298         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11299
11300 2015-03-24  Pedro Alves  <palves@redhat.com>
11301
11302         * gdb.threads/schedlock.exp (test_step): No longer expect that
11303         "set scheduler-locking step" with "next" over a function call runs
11304         threads unlocked.
11305
11306 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11307
11308         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11309
11310 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11311
11312         PR breakpoints/16466
11313         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11314         * gdb.mi/mi-pending.c (thread_func): New function.
11315         (int main): Add threading support required.
11316         * gdb.mi/mi-pending.exp: Add tests for this issue.
11317         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11318         (pendfunc2): Remove stdio dependency.
11319         * gdb.mi/mi-pendshr2.c: New file.
11320
11321 2015-03-23  Keith Seitz  <keiths@redhat.com>
11322
11323         * gdb.linespec/keywords.c: New file.
11324         * gdb.linespec/keywords.exp: New file.
11325
11326 2015-03-23  Keith Seitz  <keiths@redhat.com>
11327
11328         PR gdb/18021
11329         * gdb.dwarf2/staticvirtual.exp: New test.
11330
11331 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11332
11333         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11334         * README: Remove HP-UX and gdb.hp.
11335         (configuration):
11336         * configure: Regenerate.
11337         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11338         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11339         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11340         gdb.hp/gdb.defects/Makefile.
11341         * gdb.hp/Makefile.in: File deleted.
11342         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11343         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11344         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11345         * gdb.hp/gdb.aCC/run.c: File deleted.
11346         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11347         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11348         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11349         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11350         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11351         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11352         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11353         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11354         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11355         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11356         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11357         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11358         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11359         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11360         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11361         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11362         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11363         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11364         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11365         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11366         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11367         * gdb.hp/gdb.compat/average.c: File deleted.
11368         * gdb.hp/gdb.compat/sum.c: File deleted.
11369         * gdb.hp/gdb.compat/xdb.c: File deleted.
11370         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11371         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11372         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11373         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11374         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11375         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11376         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11377         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11378         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11379         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11380         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11381         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11382         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11383         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11384         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11385         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11386         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11387         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11388         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11389         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11390         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11391         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11392         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11393         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11394         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11395         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11396         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11397         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11398         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11399         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11400         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11401         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11402         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11403         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11404         * gdb.hp/tools/odump: File deleted.
11405
11406 2015-03-19  Pedro Alves  <palves@redhat.com>
11407
11408         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11409         (saw_thread_3): New globals.
11410         (top level): Increment them when an event for the corresponding
11411         thread is seen.
11412         (no thread starvation): New test.
11413
11414 2015-03-19  Pedro Alves  <palves@redhat.com>
11415
11416         * gdb.threads/continue-pending-status.c: New file.
11417         * gdb.threads/continue-pending-status.exp: New file.
11418
11419 2015-03-18  Pedro Alves  <palves@redhat.com>
11420
11421         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11422         Use gdb_is_target_remote instead of is_remote.  Use
11423         gdb_test_multiple instead of gdb_expect.  Exit early if
11424         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11425         expected output.  Fail on exit with any signal, instead of just
11426         SIGILL.
11427
11428 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11429
11430         PR tdep/18107
11431         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11432         variable.
11433         * gdb.base/catch-syscall.exp: Don't skip it on
11434         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11435         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11436         target.
11437         (setup_all_syscalls): New proc.
11438
11439 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11440
11441         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11442         (top level): Skip tests if valid_addr_p returns false for
11443         $cmd1 or $cmd2.
11444
11445 2015-03-11  Andy Wingo  <wingo@igalia.com>
11446
11447         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11448
11449 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11450
11451         * gdb.base/catch-syscall.exp: Fix typo in comments.
11452
11453 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11454
11455         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11456
11457 2015-03-09  Pedro Alves  <palves@redhat.com>
11458
11459         * dg-extract-results.py: Delete.
11460
11461 2015-03-09  Pedro Alves  <palves@redhat.com>
11462
11463         Merge dg-extract-results.sh from GCC upstream (r218843).
11464
11465         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11466                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11467                 binary files.  Fall back to cat -v, if that doesn't work.
11468
11469 2015-03-05  Pedro Alves  <palves@redhat.com>
11470
11471         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11472
11473 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11474
11475         * lib/mi-support.exp (mi_expect_interrupt): Accept
11476         alternative event for when in all-stop mode.
11477
11478 2015-03-04  Pedro Alves  <palves@redhat.com>
11479
11480         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11481
11482 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11483
11484         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11485
11486 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11487
11488         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11489         regexps for GDB's current line display, accept a hex address
11490         preceding the line number.
11491
11492 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11493
11494         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11495         the 'arch1' variable for "s390*-linux*" targets.
11496
11497 2015-03-04  Pedro Alves  <palves@redhat.com>
11498
11499         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11500         (main): Pass missing retval argument to pthread_join call.
11501
11502 2015-03-02  Pedro Alves  <palves@redhat.com>
11503
11504         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11505         (top level): Call do_test with non-stop as well.
11506
11507 2015-03-02  Pedro Alves  <palves@redhat.com>
11508
11509         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11510         -1.
11511
11512 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11513
11514         * gdb.arch/s390-vregs.exp: New test.
11515         * gdb.arch/s390-vregs.S: New file.
11516
11517 2015-02-27  Pedro Alves  <palves@redhat.com>
11518
11519         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11520         call to catch_command_errors.
11521         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11522         catch_command_errors.
11523
11524 2015-02-27  Pedro Alves  <palves@redhat.com>
11525
11526         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11527         "true" for boolean result.
11528         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11529         prototype of main.
11530
11531 2015-02-27  Pedro Alves  <palves@redhat.com>
11532
11533         * lib/unbuffer_output.c: New file.
11534         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11535         (main): Call gdb_unbuffer_output.
11536
11537 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11538
11539         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11540         target.
11541
11542 2015-02-26  Doug Evans  <dje@google.com>
11543
11544         * gdb.cp/class2.cc (Dbase, D): New classes.
11545         (main): New local delta.
11546         * gdb.cp/class2.exp: Test printing delta.
11547         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11548         (dynbar): New global.
11549         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11550
11551 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11552
11553         * gdb.compile/compile-ifunc.c: New file.
11554         * gdb.compile/compile-ifunc.exp: New file.
11555
11556 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11557
11558         * gdb.base/structs.exp: Check for correct struct on finish.
11559
11560 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11561
11562         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11563         is zero.
11564
11565 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11566
11567         * gdb.arch/cordic.ko.bz2: New file.
11568         * gdb.arch/cordic.ko.debug.bz2: New file.
11569         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11570
11571 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11572
11573         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11574         aarch64*-*-* target.
11575
11576 2015-02-23  Pedro Alves  <palves@redhat.com>
11577
11578         * lib/gdb.exp (delete_breakpoints): Rewrite using
11579         gdb_test_multiple.
11580
11581 2015-02-23  Pedro Alves  <palves@redhat.com>
11582
11583         * gdb.base/info-os.c: Include stdlib.h.
11584
11585 2015-02-22  Doug Evans  <xdje42@gmail.com>
11586
11587         PR symtab/17855
11588         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11589         is read after symbols have been re-read.
11590         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11591         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11592
11593 2015-02-21  Doug Evans  <dje@google.com>
11594
11595         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11596
11597 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11598
11599         PR corefiles/17808
11600         * gdb.arch/i386-biarch-core.core.bz2: New file.
11601         * gdb.arch/i386-biarch-core.exp: New file.
11602
11603 2015-02-21  Pedro Alves  <palves@redhat.com>
11604
11605         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11606         runto_main fails.
11607
11608 2015-02-20  Pedro Alves  <palves@redhat.com>
11609
11610         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11611         info probes.
11612
11613 2015-02-20  Pedro Alves  <palves@redhat.com>
11614
11615         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11616
11617 2015-02-20  Pedro Alves  <palves@redhat.com>
11618
11619         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11620         clean_restart before gdb_target_supports_trace.
11621
11622 2015-02-20  Pedro Alves  <palves@redhat.com>
11623
11624         PR threads/18006
11625         * gdb.threads/clone-thread_db.c: New file.
11626         * gdb.threads/clone-thread_db.exp: New file.
11627
11628 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11629
11630         PR breakpoints/16812
11631         * gdb.base/catch-gdb-caused-signals.c: New file.
11632         * gdb.base/catch-gdb-caused-signals.exp: New file.
11633
11634 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11635
11636         * configure: Regenerated.
11637         * configure.ac: Use GDB_AC_TRANSFORM.
11638         * aclocal.m4: sinclude ../transform.m4.
11639
11640 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11641
11642         * lib/dtrace.exp: New file.
11643         * gdb.base/dtrace-probe.exp: Likewise.
11644         * gdb.base/dtrace-probe.d: Likewise.
11645         * gdb.base/dtrace-probe.c: Likewise.
11646         * lib/pdtrace.in: Likewise.
11647         * configure.ac: Output variables with the transformed names of
11648         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11649         * configure: Regenerated.
11650
11651 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11652
11653         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11654         expected message when trying to access $_probe_* convenience
11655         variables while not on a probe.
11656
11657 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11658
11659         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11660
11661 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11662
11663         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11664         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11665
11666 2015-02-10  Doug Evans  <xdje42@gmail.com>
11667
11668         * lib/gdb.exp (gdb_load): Always return a result.
11669
11670 2015-02-10  Pedro Alves  <palves@redhat.com>
11671
11672         * gdb.threads/signal-sigtrap.c: New file.
11673         * gdb.threads/signal-sigtrap.exp: New file.
11674
11675 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11676
11677         * gdb.trace/no-attach-trace.c: New file.
11678         * gdb.trace/no-attach-trace.exp: New file.
11679
11680 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11681
11682         * gdb.dwarf2/atomic.c: New file.
11683         * gdb.dwarf2/atomic-type.exp: Likewise.
11684
11685 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11686
11687         * gdb.btrace/buffer-size.exp: Update "info record" output.
11688         * gdb.btrace/delta.exp: Update "info record" output.
11689         * gdb.btrace/enable.exp: Update "info record" output.
11690         * gdb.btrace/finish.exp: Update "info record" output.
11691         * gdb.btrace/instruction_history.exp: Update "info record" output.
11692         * gdb.btrace/next.exp: Update "info record" output.
11693         * gdb.btrace/nexti.exp: Update "info record" output.
11694         * gdb.btrace/step.exp: Update "info record" output.
11695         * gdb.btrace/stepi.exp: Update "info record" output.
11696         * gdb.btrace/nohist.exp: Update "info record" output.
11697
11698 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11699
11700         * gdb.btrace/buffer-size: New.
11701
11702 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11703
11704         * gdb.btrace/delta.exp: Update "info record" output.
11705         * gdb.btrace/enable.exp: Update "info record" output.
11706         * gdb.btrace/finish.exp: Update "info record" output.
11707         * gdb.btrace/instruction_history.exp: Update "info record" output.
11708         * gdb.btrace/next.exp: Update "info record" output.
11709         * gdb.btrace/nexti.exp: Update "info record" output.
11710         * gdb.btrace/step.exp: Update "info record" output.
11711         * gdb.btrace/stepi.exp: Update "info record" output.
11712         * gdb.btrace/nohist.exp: Update "info record" output.
11713
11714 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11715
11716         PR gdb/15678
11717         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11718
11719 2015-02-06  Pedro Alves  <palves@redhat.com>
11720
11721         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11722         macro.
11723         (seconds_left, again): New globals.
11724         (main): Wait seconds_left in a 1-second sleep loop instead of
11725         sleeping 180 seconds.  If 'again' is set, reset the seconds
11726         counter.
11727         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11728         'again' in the inferior before detaching.  Print the seconds left.
11729         (options): New global.
11730         (top level): Build program with -DTIMEOUT=$timeout.
11731
11732 2015-02-06  Pedro Alves  <palves@redhat.com>
11733
11734         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11735         determine how many seconds to pass to 'alarm'.
11736         * gdb.base/gdb-sigterm.exp (top level): Build program with
11737         -DTIMEOUT=$timeout.
11738         (do_test): Return success/failure indication.  Add more verbose
11739         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11740         when the test times out.
11741         (passes): New global.
11742         (top level): Break the testing loop if testing fails on any
11743         iteration.  Use gdb_assert.
11744
11745 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11746
11747         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11748         and initialize them.
11749         (ipc_cleanup): New function.
11750         (main): Don't declare shmid, semid, and msqid.  Add a call to
11751         atexit so that we call ipc_cleanup on exit.
11752
11753 2015-02-04  Pedro Alves  <palves@redhat.com>
11754
11755         * boards/native-extended-gdbserver.exp: Remove any target variant
11756         specifications from the board name before clearing the isremote
11757         flag from board_info.
11758
11759 2015-01-31  Doug Evans  <xdje42@gmail.com>
11760
11761         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11762
11763 2015-01-31  Gary Benson <gbenson@redhat.com>
11764
11765         * gdb.base/completion.exp: Disable completion limiting for
11766         existing tests.  Add new tests to check completion limiting.
11767         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11768
11769 2015-01-31  Doug Evans  <xdje42@gmail.com>
11770
11771         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11772
11773 2015-01-31  Doug Evans  <xdje42@gmail.com>
11774
11775         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11776         entries.  Duplicate file section script entries.
11777         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11778         inlined entries.  Add test for safe-path rejection.
11779         * gdb.python/py-section-script.c: Add duplicate inlined section script
11780         entries.  Duplicate file section script entries.
11781         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11782         inlined entries.  Add test for safe-path rejection.
11783
11784 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11785
11786         * gdb.ada/disc_arr_bound: New testcase.
11787
11788 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11789
11790         * gdb.ada/mi_var_array: New testcase.
11791
11792 2015-01-27  Doug Evans  <dje@google.com>
11793
11794         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11795         Add test for objfile.filename, objfile.username after objfile
11796         has been unloaded.
11797
11798 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11799
11800         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11801         the second test to print the name attribute of value
11802         returned by the call to gdb.lookup_type, and adjust
11803         the expected output accordingly.
11804
11805 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11806
11807         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11808         * gdb.base/disp-step-fork.c: Include unistd.h.
11809         * gdb.base/siginfo-obj.c: Include stdio.h.
11810         * gdb.base/siginfo-thread.c: Likewise.
11811         * gdb.mi/non-stop.c: Include unistd.h.
11812         * gdb.mi/nsthrexec.c: Include stdio.h.
11813         * gdb.mi/pthreads.c: Include unistd.h.
11814         * gdb.modula2/unbounded1.c (main): Declare returns int.
11815         * gdb.reverse/consecutive-reverse.c: Likewise.
11816         * gdb.threads/create-fail.c: Include unistd.h.
11817         * gdb.threads/killed.c: Likewise.
11818         * gdb.threads/linux-dp.c: Likewise.
11819         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11820         * gdb.threads/non-ldr-exc-2.c: Likewise.
11821         * gdb.threads/non-ldr-exc-3.c: Likewise.
11822         * gdb.threads/non-ldr-exc-4.c: Likewise.
11823         * gdb.threads/pthreads.c: Include unistd.h.
11824         (main): Declare returns int.
11825         * gdb.threads/tls-main.c (foo): New declaration.
11826         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11827
11828 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11829
11830         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11831         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11832
11833 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11834
11835         * gdb.base/noreturn-return.c: New file.
11836         * gdb.base/noreturn-return.exp: New file.
11837         * gdb.base/noreturn-finish.c: New file.
11838         * gdb.base/noreturn-finish.exp: New file.
11839
11840 2015-01-23  Pedro Alves  <palves@redhat.com>
11841
11842         * gdb.threads/continue-pending-after-query.c: New file.
11843         * gdb.threads/continue-pending-after-query.exp: New file.
11844
11845 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11846             Simon Marchi  <simon.marchi@ericsson.com>
11847
11848         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11849         * gdb.base/valgrind-db-attach.exp: Same.
11850         * gdb.base/valgrind-infcall.exp: Same.
11851         * lib/mi-support.exp (default_mi_gdb_start): Same.
11852         * lib/prompt.exp (default_prompt_gdb_start): Same.
11853         * lib/gdb.exp (default_gdb_spawn): Same.
11854         (gdb_interact): New.
11855
11856
11857 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11858
11859         * gdb.compile/compile.exp (pointer to jit function): New test.
11860
11861 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11862
11863         * lib/gdb.exp (supports_process_record): Return true for
11864         powerpc*-*-linux*.
11865         (supports_reverse): Likewise.
11866
11867 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11868
11869         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11870         instead of checking whether the target board is remote and
11871         use spawn_wait_for_attach instead of exec/sleep.
11872         * gdb.base/attach-twice.exp: Likewise.
11873
11874 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11875
11876         * gdb.ada/var_arr_attrs: New testcase.
11877
11878 2015-01-14  Pedro Alves  <palves@redhat.com>
11879             Joel Brobecker  <brobecker@adacore.com>
11880
11881         PR gdb/17525
11882         * gdb.base/bp-cmds-execution-x-script.c: New file.
11883         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11884         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11885
11886 2015-01-14  Pedro Alves  <palves@redhat.com>
11887
11888         PR cli/17828
11889         * gdb.base/batch-preserve-term-settings.c: New file.
11890         * gdb.base/batch-preserve-term-settings.exp: New file.
11891
11892 2015-01-13  Doug Evans  <dje@google.com>
11893
11894         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11895         binary.
11896
11897 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11898
11899         * Makefile.in (clean mostlyclean): Do not delete *.py.
11900
11901 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11902
11903         * gdb.python/py-lookup-type.exp: New file.
11904
11905 2015-01-12  Pedro Alves  <palves@redhat.com>
11906
11907         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11908         restore GDBFLAGS before returning.
11909
11910 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11911
11912         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11913         is_amd64_regs_target and is_x86_like_target.
11914
11915 2015-01-11  Doug Evans  <xdje42@gmail.com>
11916
11917         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11918         is given without an explicit form.
11919         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11920         attributes.
11921         * gdb.dwarf/corrupt.exp: Ditto.
11922         * gdb.dwarf2/enum-type.exp: Ditto.
11923         * gdb.trace/entry-values.exp: Ditto.
11924         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11925
11926 2015-01-11  Doug Evans  <xdje42@gmail.com>
11927
11928         PR gdb/15830
11929         * gdb.base/maint.exp: Remove references to "maint demangle".
11930         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11931         Add tests for explicitly specifying language to demangle.
11932         * gdb.dlang/demangle.exp: Ditto.
11933
11934 2015-01-09  Pedro Alves  <palves@redhat.com>
11935
11936         * gdb.threads/non-stop-fair-events.c: New file.
11937         * gdb.threads/non-stop-fair-events.exp: New file.
11938
11939 2015-01-09  Pedro Alves  <palves@redhat.com>
11940
11941         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11942         the global scope.  Set a breakpoint after all threads are started
11943         rather than stepping over two source lines.  Expect the prompt.
11944         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11945         global.
11946         (NUM): Now 15.
11947         (main): Use threads_started_barrier to wait for all threads to
11948         start.  Main thread no longer calls thread_function.  Exit after
11949         180 seconds.
11950         (loop): New function.
11951         (thread_function): Wait on threads_started_barrier barrier.  Call
11952         'loop' at each iteration.
11953         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11954         threads have started, instead of hardcoding number of "next"
11955         steps.  Use an access watchpoint instead of a write watchpoint.
11956
11957 2015-01-09  Pedro Alves  <palves@redhat.com>
11958
11959         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11960         (thread_func): Wait on barrier.
11961         (main): Wait for all threads to start before stopping GDB.
11962         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11963         global.
11964         (thread1_func, thread2_func): Wait on barrier.
11965         (main): Wait for all threads to start before stopping GDB.
11966         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11967         New global.
11968         (thread1_func, thread2_func): Wait on barrier.
11969         (main): Wait for all threads to start before stopping GDB.
11970
11971 2015-01-09  Pedro Alves  <palves@redhat.com>
11972
11973         * gdb.threads/attach-many-short-lived-threads.c: New file.
11974         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11975
11976 2014-01-09  Pedro Alves  <palves@redhat.com>
11977
11978         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11979         instead of to thread 2.
11980         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11981         Add barrier around each pthread_create call instead of around all
11982         calls.
11983         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11984         Set a break on thread_function and have the child threads hit it
11985         one at at a time.
11986
11987 2015-01-09  Pedro Alves  <palves@redhat.com>
11988
11989         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11990         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11991         false.
11992         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11993         checking whether the target board is remote.
11994         * gdb.multi/multi-attach.exp: Likewise.
11995         * gdb.python/py-sync-interp.exp: Likewise.
11996         * gdb.server/ext-attach.exp: Likewise.
11997         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11998         tests that need to attach, instead of checking whether the target
11999         board is remote at the top of the file.
12000
12001 2015-01-08  Yao Qi  <yao@codesourcery.com>
12002
12003         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12004
12005 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12006
12007         Fix testcase compilation.
12008         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12009
12010 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
12011
12012         * gdb.python/py-type.exp: Add a couple test about empty
12013         array creation, and negative-length array creation.
12014
12015 2015-01-02  Doug Evans  <xdje42@gmail.com>
12016
12017         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12018
12019 2015-01-02  Doug Evans  <dje@google.com>
12020
12021         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12022
12023 2014-12-29  Yao Qi  <yao@codesourcery.com>
12024
12025         * gdb.trace/entry-values.exp: Update comments.  Rename variable
12026         bar_call_foo to returned_from_foo.
12027
12028 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
12029
12030         PR gdb/17394
12031         * gdb.linespec/break-asm-file.c: New file.
12032         * gdb.linespec/break-asm-file.exp: New file.
12033         * gdb.linespec/break-asm-file0.s: New file.
12034         * gdb.linespec/break-asm-file1.s: New file.
12035
12036 2014-12-18  Nigel Stephens  <nigel@mips.com>
12037             Maciej W. Rozycki  <macro@codesourcery.com>
12038
12039         * gdb.base/float.exp: Handle the new output from "info float" on
12040         MIPS targets.
12041
12042 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12043
12044         Fix MinGW compilation.
12045         * gdb.compile/compile-ops.exp: Update untested message if
12046         !skip_compile_feature_tests.
12047         * gdb.compile/compile-setjmp.exp: Likewise.
12048         * gdb.compile/compile-tls.exp: Likewise.
12049         * gdb.compile/compile.exp: Likewise.
12050         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12051         supported on this host".
12052
12053 2014-12-16  Doug Evans  <xdje42@gmail.com>
12054
12055         * boards/stabs.exp: New file.
12056
12057 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12058
12059         * gdb.base/completion.exp: Adjust to format changes of "maint
12060         print user-registers".
12061
12062 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
12063
12064         PR server/17457
12065         * gdb.arch/aarch64-fp.c: New file.
12066         * gdb.arch/aarch64-fp.exp: New file.
12067
12068 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
12069
12070         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12071         r210637, r210913, r211666, r215400, r215817).
12072
12073         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
12074                 * dg-extract-results.py: New file.
12075                 * dg-extract-results.sh: Use it if the environment seems
12076                 suitable.
12077
12078         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
12079
12080                 * dg-extract-results.py (parse_run): Handle warnings that
12081                 are printed before a test harness is run.
12082
12083         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
12084
12085                 * dg-extract-results.py (Named): Remove __cmp__ method.
12086                 (output_variation): Use a key to sort variation.harnesses.
12087
12088         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
12089
12090                 * dg-extract-results.py: For Python 3, force sys.stdout to
12091                 handle surrogate escape sequences.
12092                 (safe_open): New function.
12093                 (output_segment, main): Use it.
12094
12095         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
12096
12097                 * dg-extract-results.py (Prog.result_re): Include options
12098                 in test name.
12099
12100         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
12101
12102                 * dg-extract-results.py (output_variation): Always sort if
12103                 do_sum.
12104
12105 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
12106
12107         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12108         as long as we get pagination notifications.
12109
12110 2014-12-15  Jason Merrill  <jason@redhat.com>
12111
12112         * Makefile.in (check-gdb.%): Restore.
12113         * README: Mention it.
12114
12115 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
12116
12117         * gdb.ada/str_uninit: New testcase.
12118
12119 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12120
12121         PR symtab/17642
12122         * gdb.base/vla-stub-define.c: New file.
12123         * gdb.base/vla-stub.c: New file.
12124         * gdb.base/vla-stub.exp: New file.
12125
12126 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
12127             Jan Kratochvil  <jan.kratochvil@redhat.com>
12128             Tom Tromey  <tromey@redhat.com>
12129
12130         * configure.ac: Add gdb.compile/.
12131         * configure: Regenerate.
12132         * gdb.compile/Makefile.in: New file.
12133         * gdb.compile/compile-ops.exp: New file.
12134         * gdb.compile/compile-ops.c: New file.
12135         * gdb.compile/compile-tls.c: New file.
12136         * gdb.compile/compile-tls.exp: New file.
12137         * gdb.compile/compile-constvar.S: New file.
12138         * gdb.compile/compile-constvar.c: New file.
12139         * gdb.compile/compile-mod.c: New file.
12140         * gdb.compile/compile-nodebug.c: New file.
12141         * gdb.compile/compile-setjmp-mod.c: New file.
12142         * gdb.compile/compile-setjmp.c: New file.
12143         * gdb.compile/compile-setjmp.exp: New file.
12144         * gdb.compile/compile-shlib.c: New file.
12145         * gdb.compile/compile.c: New file.
12146         * gdb.compile/compile.exp: New file.
12147         * lib/gdb.exp (skip_compile_feature_tests): New proc.
12148
12149 2014-12-12  Tom Tromey  <tromey@redhat.com>
12150
12151         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
12152         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12153
12154 2014-12-12  Doug Evans  <dje@google.com>
12155
12156         * lib/gdb-python.exp (get_python_valueof): New function.
12157         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12158
12159 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12160
12161         * gdb.base/completion.exp: Add test for completion of "info
12162         registers ".
12163
12164 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
12165
12166         * gdb.base/func-ptrs.c: New file.
12167         * gdb.base/func-ptrs.exp: New file.
12168
12169 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
12170
12171         PR breakpoints/17012
12172         * gdb.base/dprintf-detach.c: New file.
12173         * gdb.base/dprintf-detach.exp: New file.
12174
12175 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
12176
12177         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12178         * lib/gdb.exp (target_is_gdbserver): New procedure.
12179
12180 2014-12-08  Doug Evans  <dje@google.com>
12181
12182         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12183
12184 2014-12-05  Yao Qi  <yao@codesourcery.com>
12185
12186         * gdb.guile/scm-error.exp: Remove the third argument to
12187         gdb_remote_download.
12188         * gdb.guile/scm-frame-args.exp: Likewise.
12189         * gdb.guile/scm-section-script.exp: Likewise.
12190
12191 2014-12-05  Yao Qi  <yao@codesourcery.com>
12192
12193         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12194
12195 2014-12-04  Doug Evans  <dje@google.com>
12196
12197         * gdb.python/py-objfile.exp: Add tests for
12198         objfile.add_separate_debug_file.
12199
12200 2014-12-04  Doug Evans  <dje@google.com>
12201
12202         * lib/gdb.exp (get_build_id): New function.
12203         (build_id_debug_filename_get): Rewrite to use it.
12204         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12205
12206 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
12207
12208         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12209         `method(long)', not just 0x0.
12210         * gdb.cp/nsalias.exp: Align code labels to 4.
12211         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12212         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12213         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12214         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12215         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12216         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12217
12218 2014-12-02  Doug Evans  <dje@google.com>
12219
12220         PR symtab/17602
12221         * gdb.cp/anon-ns.cc: Move guts of this file to ...
12222         * gdb.cp/anon-ns2.cc: ... here.  New file.
12223         * gdb.cp/anon-ns.exp: Update.
12224
12225 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
12226
12227         * gdb.python/py-events.py (inferior_call_handler): New.
12228         (register_changed_handler, memory_changed_handler): New.
12229         (test_events.invoke): Register new handlers.
12230         * gdb.python/py-events.exp: Add tests for inferior call,
12231         memory_changed and register_changed events.
12232
12233 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12234
12235         * gdb.base/execl-update-breakpoints.exp: Specify the link address
12236         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
12237         if the linker doesn't understand this.
12238
12239 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
12240
12241         * gdb.python/python.exp: Change expected reply to help().
12242
12243 2014-12-01  Yao Qi  <yao@codesourcery.com>
12244
12245         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
12246         AC_CONFIG_SUBDIRS(gdb.gdbtk).
12247         * configure: Re-generated.
12248
12249 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
12250
12251         * gdb.cp/chained-calls.cc: New file.
12252         * gdb.cp/chained-calls.exp: New file.
12253         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12254
12255 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
12256
12257         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12258         * gdb.dwarf2/symtab-producer.exp: Same.
12259         * gdb.gdb/python-interrupts.exp: Same.
12260         * gdb.gdb/python-selftest.exp: Same.
12261         * gdb.python/py-linetable.exp: Same.
12262         * gdb.python/py-type.exp: Same.
12263         * gdb.python/py-value-cc.exp: Same.
12264         * gdb.python/py-value.exp: Same.
12265
12266 2014-11-28  Yao Qi  <yao@codesourcery.com>
12267
12268         * gdb.base/break-probes.exp: Match library name prefixed with
12269         sysroot.
12270
12271 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
12272
12273         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12274         test expected output.  Add parentheses for the call to print.
12275         Remove L suffix from integers.
12276
12277 2014-11-26  Doug Evans  <dje@google.com>
12278
12279         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12280
12281 2014-11-22  Yao Qi  <yao@codesourcery.com>
12282
12283         * gdb.trace/entry-values.c: Remove asms.
12284         (foo): Add foo_label.
12285         (bar): Add bar_label.
12286         * gdb.trace/entry-values.exp: Remove code computing  foo's
12287         length and bar's length.
12288         (Dwarf::assemble): Invoke function_range for bar and use
12289         MACRO_AT_func for foo.
12290
12291 2014-11-22  Yao Qi  <yao@codesourcery.com>
12292
12293         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12294         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12295         Use .Lgcc43_procstart instead of gcc43.
12296
12297 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12298
12299         * gdb.ada/n_arr_bound: New testcase.
12300
12301 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12302
12303         PR breakpoints/10737
12304         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12305         test_catch_syscall_multi_arch.
12306         (test_catch_syscall_multi_arch): New function.
12307
12308 2014-11-20  Doug Evans  <xdje42@gmail.com>
12309
12310         * gdb.base/maint.exp: Update expected output.
12311
12312 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12313
12314         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12315         4-byte instruction on S390.
12316
12317 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12318
12319         * gdb.ada/arr_arr: New testcase.
12320
12321 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12322
12323         * gdb.ada/pkd_arr_elem: New Testcase.
12324
12325 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12326
12327         * gdb.reverse/break-precsave: Expect completion message for
12328         core file reads.
12329         * gdb.reverse/consecutive-precsave.exp: Likewise.
12330         * gdb.reverse/finish-precsave.exp: Likewise.
12331         * gdb.reverse/i386-precsave.exp: Likewise.
12332         * gdb.reverse/machinestate-precsave.exp: Likewise.
12333         * gdb.reverse/sigall-precsave.exp: Likewise.
12334         * gdb.reverse/solib-precsave.exp: Likewise.
12335         * gdb.reverse/step-precsave.exp: Likewise.
12336         * gdb.reverse/until-precsave.exp: Likewise.
12337         * gdb.reverse/watch-precsave.exp: Likewise.
12338
12339 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12340
12341         * gdb.base/bp-permanent.c: Include unistd.h.
12342         * gdb.python/py-framefilter-mi.c (main): Add return type.
12343         * gdb.python/py-framefilter.c (main): Likewise.
12344         * gdb.trace/actions-changed.c (main): Likewise.
12345
12346 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12347
12348         * gdb.mi/until.c: Add eye-catchers.
12349         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12350         line numbers.
12351
12352 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12353
12354         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12355         function header variants in break1.c.
12356         * gdb.base/ena-dis-br.exp: Likewise.
12357         * gdb.base/hbreak2.exp: Likewise.
12358         * gdb.reverse/until-precsave.exp: Drop references to removed
12359         non-prototype function header variants in ur1.c.
12360         * gdb.reverse/until-reverse.exp: Likewise.
12361
12362 2014-11-17  Petr Machata  <pmachata@redhat.com>
12363
12364         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12365         ${_cu_offset_size} bytes abbrev offset.
12366
12367 2014-11-15  Doug Evans  <xdje42@gmail.com>
12368
12369         PR symtab/17559
12370         * gdb.base/line-symtabs.exp: New file.
12371         * gdb.base/line-symtabs.c: New file.
12372         * gdb.base/line-symtabs.h: New file.
12373
12374 2014-11-14  Yao Qi  <yao@codesourcery.com>
12375
12376         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12377         (func): Add label func_label.
12378         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12379         Replace low_pc and high_pc with MACRO_AT_range.
12380         Replace name, low_pc and high_pc with MACRO_AT_func.
12381
12382 2014-11-14  Yao Qi  <yao@codesourcery.com>
12383
12384         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12385         Replace name, low_pc and high_pc with MACRO_AT_func.
12386
12387 2014-11-14  Yao Qi  <yao@codesourcery.com>
12388
12389         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12390         produce debug information.
12391         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12392
12393 2014-11-14  Yao Qi  <yao@codesourcery.com>
12394
12395         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12396         object and get function length.
12397         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12398         with MACRO_AT_func.
12399         (top-level): Replace gdb_compile and clean_restart with
12400         prepare_for_testing.
12401         * gdb.dwarf2/main.c (main): Add label main_label.
12402
12403 2014-11-14  Yao Qi  <yao@codesourcery.com>
12404
12405         * lib/dwarf.exp (function_range): New procedure.
12406         (Dwarf::_handle_macro_at_func): New procedure.
12407         (Dwarf::_handle_macro_at_range): New procedure.
12408         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12409
12410 2014-11-14  Yao Qi  <yao@codesourcery.com>
12411
12412         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12413         (_handle_attribute): New procedure.
12414
12415 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12416
12417         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12418         * gdb.base/call-sc.c (zed): Likewise.
12419         * gdb.base/checkpoint.c (main): Likewise.
12420         * gdb.base/dump.c (main): Likewise.
12421         * gdb.base/gcore.c (main): Likewise.
12422         * gdb.base/huge.c (main): Likewise.
12423         * gdb.base/multi-forks.c (main): Likewise.
12424         * gdb.base/pr10179-a.c (main): Likewise.
12425         * gdb.base/savedregs.c (main): Likewise.
12426         * gdb.base/sigaltstack.c (main): Likewise.
12427         * gdb.base/siginfo.c (main): Likewise.
12428         * gdb.base/structs.c (zed): Likewise.
12429         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12430         * gdb.mi/mi-syn-frame.c (main): Likewise.
12431         * gdb.mi/until.c (foo, main): Likewise.
12432         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12433         * gdb.base/solib-weak.c (foo): Declare.
12434         * gdb.base/attach-twice.c: Include stdio.h.
12435         * gdb.base/weaklib1.c: Likewise.
12436         * gdb.base/weaklib2.c: Likewise.
12437         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12438         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12439         unistd.h.
12440         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12441         * gdb.mi/mi-exit-code.c: Likewise.
12442         * gdb.base/break-interp-lib.c: Include string.h.
12443         * gdb.base/coremaker.c: Likewise.
12444         * gdb.base/testenv.c: Likewise.
12445         * gdb.python/py-finish-breakpoint.c: Likewise.
12446         * gdb.base/inferior-died.c: Include sys/wait.h.
12447         * gdb.base/fileio.c: Include time.h.
12448         * gdb.base/async-shell.c: Include unistd.h.
12449         * gdb.base/dprintf-non-stop.c: Likewise.
12450         * gdb.base/info-os.c: Likewise.
12451         * gdb.mi/mi-console.c: Likewise.
12452         * gdb.mi/watch-nonstop.c: Likewise.
12453         * gdb.python/py-events.c: Likewise.
12454         * gdb.base/async.c (baz): Move up before its invocation.
12455         * gdb.base/code_elim2.c (my_global_func): Likewise.
12456         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12457         * gdb.base/advance.c (func2): Likewise.
12458
12459 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12460
12461         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12462         variant.
12463         * gdb.base/annota3.c: Likewise.
12464         * gdb.base/async.c: Likewise.
12465         * gdb.base/average.c: Likewise.
12466         * gdb.base/call-ar-st.c: Likewise.
12467         * gdb.base/call-rt-st.c: Likewise.
12468         * gdb.base/call-sc.c: Likewise.
12469         * gdb.base/call-strs.c: Likewise.
12470         * gdb.base/ending-run.c: Likewise.
12471         * gdb.base/execd-prog.c: Likewise.
12472         * gdb.base/exprs.c: Likewise.
12473         * gdb.base/foll-exec.c: Likewise.
12474         * gdb.base/foll-fork.c: Likewise.
12475         * gdb.base/foll-vfork.c: Likewise.
12476         * gdb.base/funcargs.c: Likewise.
12477         * gdb.base/gcore.c: Likewise.
12478         * gdb.base/jump.c: Likewise.
12479         * gdb.base/langs0.c: Likewise.
12480         * gdb.base/langs1.c: Likewise.
12481         * gdb.base/langs2.c: Likewise.
12482         * gdb.base/mips_pro.c: Likewise.
12483         * gdb.base/nodebug.c: Likewise.
12484         * gdb.base/opaque0.c: Likewise.
12485         * gdb.base/opaque1.c: Likewise.
12486         * gdb.base/recurse.c: Likewise.
12487         * gdb.base/run.c: Likewise.
12488         * gdb.base/scope0.c: Likewise.
12489         * gdb.base/scope1.c: Likewise.
12490         * gdb.base/setshow.c: Likewise.
12491         * gdb.base/setvar.c: Likewise.
12492         * gdb.base/shmain.c: Likewise.
12493         * gdb.base/shr1.c: Likewise.
12494         * gdb.base/shr2.c: Likewise.
12495         * gdb.base/sigall.c: Likewise.
12496         * gdb.base/signals.c: Likewise.
12497         * gdb.base/so-indr-cl.c: Likewise.
12498         * gdb.base/solib2.c: Likewise.
12499         * gdb.base/structs.c: Likewise.
12500         * gdb.base/sum.c: Likewise.
12501         * gdb.base/vforked-prog.c: Likewise.
12502         * gdb.base/watchpoint.c: Likewise.
12503         * gdb.reverse/shr2.c: Likewise.
12504         * gdb.reverse/until-reverse.c: Likewise.
12505         * gdb.reverse/ur1.c: Likewise.
12506         * gdb.reverse/watch-reverse.c: Likewise.
12507
12508 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12509
12510         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12511         variant.
12512         * gdb.base/sepdebug.exp: Drop references to removed code.
12513
12514 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12515
12516         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12517         variant.  Preserve original line numbering.
12518         * gdb.base/list1.c: Likewise.
12519
12520 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12521
12522         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12523         variant.
12524         * gdb.base/break1.c: Likewise.
12525         * gdb.base/break.exp: Drop references to removed code.
12526
12527 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12528
12529         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12530         variant.
12531
12532 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12533
12534         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12535
12536 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12537
12538         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12539         logic into perform_all_tests() and invoke it with and without
12540         function header prototypes.
12541         (do_function_calls): Remove conditional XFAIL for PR 5318.
12542         (rerun_and_prepare): Remove duplicate code.
12543         (perform_all_tests): New.  Main logic moved here.
12544
12545 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12546
12547         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12548         code guarded by #ifdef NO_PROTOTYPES.
12549         (t_double_many_args): Likewise.
12550         (DEF_FUNC_MANY_ARGS_1): Likewise.
12551         (DEF_FUNC_VALUES_1): Likewise.
12552         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12553         guarded by #ifdef PROTOTYPES.
12554
12555 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12556
12557         * gdb.mi/mi-console.c: Add eye-catcher.
12558         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12559         instead of literal line number.
12560
12561 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12562
12563         * gdb.base/shr2.c: Add eye-catcher.
12564         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12565         line number.
12566
12567 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12568
12569         * gdb.base/jump.c: Add eye-catchers.
12570         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12571         numbers.
12572
12573 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12574
12575         * gdb.base/execd-prog.c: Add eye-catchers.
12576         * gdb.base/foll-exec.c: Likewise.
12577         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12578         line numbers.
12579
12580 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12581
12582         * gdb.base/ending-run.c: Add eye-catchers.
12583         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12584         literal line numbers.
12585
12586 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12587
12588         * gdb.base/call-rt-st.c: Add eye-catchers.
12589         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12590         literal line numbers.
12591
12592 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12593
12594         * gdb.base/call-ar-st.c: Add eye-catchers.
12595         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12596         literal line numbers.
12597
12598 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12599
12600         * gdb.base/average.c: Add eye-catchers.
12601         * gdb.base/sum.c: Likewise.
12602         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12603         regexps dynamically.
12604
12605 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12606
12607         * gdb.base/solib1.c: Add eye-catchers.
12608         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12609         literal line numbers.
12610
12611 2014-11-12  Pedro Alves  <palves@redhat.com>
12612
12613         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12614         leader has exited.
12615
12616 2014-11-12  Pedro Alves  <palves@redhat.com>
12617
12618         * gdb.arch/i386-bp_permanent.c: New file.
12619         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12620         (srcfile): Set to i386-bp_permanent.c.
12621         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12622         that stepi does not execute the 'leave' instruction, instead of
12623         testing it does execute.
12624         * gdb.base/bp-permanent.c: New file.
12625         * gdb.base/bp-permanent.exp: New file.
12626
12627 2014-11-10  Doug Evans  <xdje42@gmail.com>
12628
12629         PR symtab/17564
12630         * gdb.base/symtab-search-order.exp: New file.
12631         * gdb.base/symtab-search-order.c: New file.
12632         * gdb.base/symtab-search-order-1.c: New file.
12633         * gdb.base/symtab-search-order-shlib-1.c: New file.
12634
12635 2014-11-07  Pedro Alves  <palves@redhat.com>
12636
12637         PR gdb/17511
12638         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12639         i?86-*-linux*.
12640
12641 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12642
12643         PR c++/17494
12644         * gdb.cp/pr17494.cc: New file.
12645         * gdb.cp/pr17494.exp: New file.
12646
12647 2014-11-02  Yao Qi  <yao@codesourcery.com>
12648
12649         * gdb.python/python.exp: Get working directory and match the
12650         output of "set extended-prompt \\w " with it.
12651
12652 2014-10-30  Doug Evans  <dje@google.com>
12653
12654         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12655         in objfiles.
12656         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12657         in progspaces.
12658
12659 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12660
12661         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12662         * gdb.base/realname-expand.exp: Likewise.
12663         * gdb.linespec/macro-relative.exp: Likewise.
12664
12665 2014-10-29  Pedro Alves  <palves@redhat.com>
12666
12667         PR gdb/17408
12668         * gdb.threads/schedlock.c (some_function): New function.
12669         (call_function): New global.
12670         (MAYBE_CALL_SOME_FUNCTION): New macro.
12671         (thread_function): Call it.
12672         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12673         and use it instead of a global counter.  Adjust all callers.
12674         (get_current_thread): Use "find current thread" for test message
12675         here rather than having all callers pass down the same string.
12676         (goto_loop): New procedure, factored out from ...
12677         (my_continue): ... this.
12678         (step_ten_loops): Change parameter from test message to command to
12679         use.  Adjust.
12680         (list_count): Delete global.
12681         (check_result): New procedure, factored out from duplicate top
12682         level code.
12683         (continue tests): Wrap in with_test_prefix.
12684         (test_step): New procedure, factored out from duplicate top level
12685         code.
12686         (top level): Test "step" in combination with all scheduler-locking
12687         modes.  Test "next" in combination with all scheduler-locking
12688         modes, and in combination with stepping over a function call or
12689         not.
12690         * gdb.threads/next-bp-other-thread.c: New file.
12691         * gdb.threads/next-bp-other-thread.exp: New file.
12692
12693 2014-10-29  Pedro Alves  <palves@redhat.com>
12694
12695         PR python/17372
12696         * gdb.python/python.exp: Test a multi-line command that spawns
12697         interactive Python.
12698         * gdb.base/multi-line-starts-subshell.exp: New file.
12699
12700 2014-10-29  Yao Qi  <yao@codesourcery.com>
12701
12702         * gdb.base/fileio.exp: Make directories on host.
12703
12704 2014-10-29  Yao Qi  <yao@codesourcery.com>
12705
12706         * gdb.base/fileio.c (test_write): Close the file.
12707
12708 2014-10-28  Pedro Alves  <palves@redhat.com>
12709
12710         PR gdb/12623
12711         * gdb.base/sigstep.c (no_handler): New global.
12712         (main): If 'no_handler is true, set the signal handlers to
12713         SIG_IGN.
12714         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12715         with_sw_watch and no_handler parameters.  Handle them.
12716         (top level) <stepping over handler when stopped at a breakpoint
12717         test>: Add a test axis for testing with a software watchpoint, and
12718         another for testing with the signal handler set to SIG_IGN.
12719         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12720         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12721
12722 2014-10-28  Pedro Alves  <palves@redhat.com>
12723
12724         PR gdb/17511
12725         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12726         * gdb.base/sigstep.exp (other_handler_location): New global.
12727         (advance): Support stepping into the signal handler, and running
12728         commands while in the handler.
12729         (in_handler_map): New global.
12730         (top level): In the advance test, add combinations for getting
12731         into the handler with stepping commands, and for running commands
12732         in the handler.  Add comment descripting the advancei tests.
12733
12734 2014-10-28  Pedro Alves  <palves@redhat.com>
12735
12736         * gdb.base/sigstep.exp: Use build_executable instead of
12737         prepare_for_testing.
12738         (top level): Move code that starts GDB, runs to main and creates a
12739         display to ...
12740         (restart): ... this new procedure.
12741         (top level): Move backtrace from signal handler test to ...
12742         (validate_backtrace): ... this new procedure.
12743         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12744         with_test_prefix.  Always restart GDB.
12745         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12746         with_test_prefix.  Always restart GDB.  No need to delete
12747         breakpoints after the test.
12748         (test_skip_handler): Remove prefix parameter.
12749         (skip_over_handler, breakpoint_to_handler)
12750         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12751         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12752         restart GDB.  No need to delete breakpoints after the test.
12753         (top level): Use foreach to call the test procedures with
12754         different commands.
12755
12756 2014-10-28  Pedro Alves  <palves@redhat.com>
12757
12758         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12759         instead of GNATS numbers.
12760         * gdb.base/sigbpt.exp: Likewise.
12761         * gdb.base/siginfo.exp: Likewise.
12762         * gdb.base/sigstep.exp: Likewise.
12763
12764 2014-10-27  Pedro Alves  <palves@redhat.com>
12765
12766         * gdb.base/sigstep.c (dummy): New global.
12767         (main): Issue a couple writes to the new global.
12768         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12769         procedures.
12770         (skip_over_handler): Use test_skip_handler.
12771         (top level): Call skip_over_handler for stepi and nexti too.
12772         (breakpoint_over_handler): Use test_skip_handler.
12773         (top level): Call breakpoint_over_handler for stepi and nexti too.
12774
12775 2014-10-27  Yao Qi  <yao@codesourcery.com>
12776
12777         * gdb.trace/tfile.c (adjust_function_address)
12778         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12779         function descriptor.
12780
12781 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12782
12783         * gdb.base/foll-fork.exp (test_follow_fork,
12784         catch_fork_child_follow): Check for updated fork messages emitted
12785         from infrun.c.
12786         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12787         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12788         vfork_and_exec_child_follow_through_step): Check for updated vfork
12789         messages emitted from infrun.c.
12790
12791 2014-10-24  Pedro Alves  <palves@redhat.com>
12792
12793         * gdb.base/corefile.exp: Remove references to ultrix.
12794         * gdb.base/interrupt.exp: Likewise.
12795         * gdb.base/whatis.exp: Likewise.
12796         * gdb.gdb/selftest.exp: Likewise.
12797         * gdb.threads/manythreads.exp: Likewise.
12798         * gdb.threads/print-threads.exp: Likewise.
12799         * gdb.threads/pthreads.exp:: Likewise.
12800         * gdb.threads/schedlock.exp: Likewise.
12801
12802 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12803
12804         * gdb.cp/non-trivial-retval.cc: Add a test case.
12805         * gdb.cp/non-trivial-retval.exp: Add a test.
12806
12807 2014-10-20  Yao Qi  <yao@codesourcery.com>
12808
12809         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12810         * gdb.python/py-objfile-script-gdb.py: New file.
12811         * gdb.python/py-objfile-script.exp: Update reference to
12812         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12813         of remote_download.  Remove the dest file.
12814
12815 2014-10-20  Yao Qi  <yao@codesourcery.com>
12816
12817         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12818         * gdb.base/step-line.exp: Likewise.
12819         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12820         * gdb.dwarf2/dw2-basic.exp: Likewise.
12821         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12822         * gdb.dwarf2/dw2-filename.exp: Likewise.
12823         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12824         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12825         * gdb.dwarf2/dw2-producer.exp: Likewise.
12826         * gdb.dwarf2/mac-fileno.exp: Likewise.
12827         * gdb.python/py-frame-args.exp: Likewise.
12828         * gdb.python/py-framefilter.exp: Likewise.
12829         * gdb.python/py-mi.exp: Likewise.
12830         * gdb.python/py-objfile-script.exp: Likewise
12831         * gdb.python/py-pp-integral.exp: Likewise.
12832         * gdb.python/py-pp-re-notag.exp: Likewise.
12833         * gdb.python/py-prettyprint.exp: Likewise.
12834         * gdb.python/py-section-script.exp: Likewise.
12835         * gdb.python/py-typeprint.exp: Likewise.
12836         * gdb.python/py-xmethods.exp: Likewise.
12837         * gdb.stabs/weird.exp: Likewise.
12838         * gdb.xml/tdesc-regs.exp: Likewise.
12839
12840 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12841
12842         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12843         (out_cu): Use addr_len for the size of addresses.
12844         (out_line): Likewise.  Size DW_LNE_set_address instruction
12845         according to addr_len.
12846         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12847         (FUNC): Add START_INSNS to definition.
12848
12849 2014-10-18  Yao Qi  <yao@codesourcery.com>
12850
12851         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12852         gdb_has_argv0 return true.
12853         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12854         check [target_info exists noargs], check [gdb_has_argv0]
12855         instead.
12856         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12857         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12858         procedures.
12859
12860 2014-10-17  Doug Evans  <dje@google.com>
12861
12862         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12863         event.
12864         * gdb.python/py-events.py: Add clear_objfiles event.
12865
12866 2014-10-17  Doug Evans  <dje@google.com>
12867
12868         * gdb.python/py-objfile.exp: Test progspace attribute.
12869
12870 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12871
12872         * gdb.guile/scm-breakpoint.exp: Do not assume any
12873         directory separators when matching source file paths.
12874         * gdb.python/py-breakpoint.exp: Likewise.
12875         * gdb.reverse/break-precsave.exp: Likewise.
12876         * gdb.reverse/break-reverse.exp: Likewise.
12877         * gdb.reverse/consecutive-precsave.exp: Likewise.
12878         * gdb.reverse/finish-precsave.exp: Likewise.
12879         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12880         * gdb.reverse/finish-reverse.exp: Likewise.
12881         * gdb.reverse/i386-precsave.exp: Likewise.
12882         * gdb.reverse/i387-env-reverse.exp: Likewise.
12883         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12884         * gdb.reverse/machinestate-precsave.exp: Likewise.
12885         * gdb.reverse/machinestate.exp: Likewise.
12886         * gdb.reverse/sigall-precsave.exp: Likewise.
12887         * gdb.reverse/solib-precsave.exp: Likewise.
12888         * gdb.reverse/step-precsave.exp: Likewise.
12889         * gdb.reverse/until-precsave.exp: Likewise.
12890         * gdb.reverse/watch-precsave.exp: Likewise.
12891         * gdb.reverse/watch-reverse.exp: Likewise.
12892
12893 2014-10-17  Yao Qi  <yao@codesourcery.com>
12894
12895         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12896         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12897
12898 2014-10-17  Pedro Alves  <palves@redhat.com>
12899
12900         PR gdb/17471
12901         * gdb.base/bg-execution-repeat.c: New file.
12902         * gdb.base/bg-execution-repeat.exp: New file.
12903
12904 2014-10-17  Pedro Alves  <palves@redhat.com>
12905
12906         PR gdb/17300
12907         * gdb.base/continue-all-already-running.c: New file.
12908         * gdb.base/continue-all-already-running.exp: New file.
12909
12910 2014-10-17  Pedro Alves  <palves@redhat.com>
12911
12912         PR gdb/17472
12913         * gdb.base/annota-input-while-running.c: New file.
12914         * gdb.base/annota-input-while-running.exp: New file.
12915
12916 2014-10-17  Pedro Alves  <palves@redhat.com>
12917
12918         * gdb.base/callfuncs.exp: emove references to osf.
12919         * gdb.base/sigall.exp: Likewise.
12920         * gdb.gdb/selftest.exp: Likewise.
12921         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12922         * gdb.mi/non-stop.c: Likewise.
12923         * gdb.mi/pthreads.c: Likewise.
12924         * gdb.reverse/sigall-precsave.exp: Likewise.
12925         * gdb.reverse/sigall-reverse.exp: Likewise.
12926         * gdb.threads/pthreads.c: Likewise.
12927         * gdb.threads/pthreads.exp: Likewise.
12928
12929 2014-10-17  Yao Qi  <yao@codesourcery.com>
12930
12931         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12932         check 'target_info exists noargs'.
12933         (test_command_prompt_position): Likewise.
12934         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12935         Remove "set args".
12936         (progvar_simple_while_test): Likewise.
12937         (progvar_complex_if_while_test): Likewise.
12938         (if_while_breakpoint_command_test): Likewise.
12939         (infrun_breakpoint_command_test): Likewise.
12940         (breakpoint_command_test): Likewise.
12941         (watchpoint_command_test): Likewise.
12942         (bp_deleted_in_command_test): Likewise.
12943         (temporary_breakpoint_commands): Likewise.
12944
12945 2014-10-16  Yao Qi  <yao@codesourcery.com>
12946
12947         * gdb.base/remotetimeout.exp: Remove noargs checking.
12948
12949 2014-10-15  Pedro Alves  <palves@redhat.com>
12950
12951         PR breakpoints/9649
12952         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12953         * gdb.base/breakpoint-in-ro-region.exp
12954         (probe_target_hardware_step): New procedure.
12955         (top level): Probe hardware stepping and hardware breakpoint
12956         support.  Test stepping through a read-only region, with both
12957         "breakpoint auto-hw" on and off and both "always-inserted" on and
12958         off.
12959
12960 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12961
12962         * gdb.dlang/demangle.exp: Update for demangling changes.
12963
12964 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12965
12966         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12967         * gdb.cp/non-trivial-retval.exp: Add new tests.
12968
12969 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12970
12971         PR c++/13403
12972         PR c++/15154
12973         * gdb.cp/non-trivial-retval.cc: New file.
12974         * gdb.cp/non-trivial-retval.exp: New file.
12975
12976 2014-10-15  Yao Qi  <yao@codesourcery.com>
12977
12978         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12979         remote host.
12980
12981 2014-10-15  Yao Qi  <yao@codesourcery.com>
12982
12983         * gdb.python/py-symbol.exp: Match file base name if host is
12984         remote, otherwise match file name with dir name.
12985         * gdb.python/py-symtab.exp: Likewise.
12986         * gdb.python/python.exp: Likewise.
12987
12988 2014-10-15  Yao Qi  <yao@codesourcery.com>
12989
12990         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12991         pattern.
12992         * gdb.python/py-symtab.exp: Likewise.
12993         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12994         locationn.
12995
12996 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12997
12998         * gdb.ada/addr_arith: New testcase.
12999
13000 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
13001
13002         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13003         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13004         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13005         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13006
13007 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
13008
13009         * gdb.arch/stap-eval-lang-ada.S: Likewise.
13010         * gdb.arch/stap-eval-lang-ada.c: Likewise.
13011         * gdb.arch/stap-eval-lang-ada.exp: New file.
13012
13013 2014-10-14  Yao Qi  <yao@codesourcery.com>
13014
13015         * gdb.mi/mi-var-child.c (nothing1): New function.
13016         (nothing2): New function.
13017         (do_children_tests): Set function pointers by nothing1 and
13018         nothing2.
13019         * gdb.mi/mi-var-child.exp: Step over new added statements.
13020         Update test to match the new output.
13021         * gdb.mi/var-cmd.c (nothing1): New function.
13022         (nothing2): New function.
13023         (do_children_tests): Set function pointers by  nothing1 and
13024         nothing2.
13025         * gdb.mi/mi-var-display.exp: Update test to match output.
13026         Step to the line specified by $line_dct_nothing.
13027         Increase the number of lines to step.
13028
13029 2014-10-14  Yao Qi  <yao@codesourcery.com>
13030
13031         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13032         tests.
13033         * gdb.mi/mi2-var-child.exp: Likewise.
13034
13035 2014-10-13  Doug Evans  <dje@google.com>
13036
13037         * gdb.python/py-objfile.exp: Change name of file name test.
13038
13039 2014-10-13  Doug Evans  <dje@google.com>
13040
13041         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13042         from the start of the CU.
13043
13044 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13045             Yao Qi  <yao@codesourcery.com>
13046
13047         Fix "save breakpoints" for "catch" command.
13048         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13049         Remove -nonewline.  Match also the added "main" line.
13050
13051 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13052
13053         Fix "save breakpoints" for "disable $bpnum" command.
13054         * gdb.base/save-bp.c (main): Add label.
13055         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
13056
13057 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13058
13059         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13060
13061 2014-10-11  Yao Qi  <yao@codesourcery.com>
13062
13063         * gdb.server/server-kill.exp: Execute command
13064         "set remote trace-status-packet on" before "tstatus".
13065
13066 2014-10-11  Yao Qi  <yao@codesourcery.com>
13067
13068         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13069         (main): Call getppid.
13070         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13071         and continue to it.  Read variable "server_pid".
13072
13073 2014-10-11  Yao Qi  <yao@codesourcery.com>
13074
13075         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13076
13077 2014-10-11  Yao Qi  <yao@codesourcery.com>
13078
13079         * gdb.threads/thread-find.exp: Don't execute command
13080         "info threads".
13081         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13082         * gdb.threads/linux-dp.exp: Don't check the condition
13083         $threads_created equals to zero.
13084
13085 2014-10-10  Pedro Alves  <palves@redhat.com>
13086
13087         * gdb.base/bigcore.exp: Remove references to IRIX.
13088         * gdb.base/funcargs.exp: Likewise.
13089         * gdb.base/interrupt.exp: Likewise.
13090         * gdb.base/mips_pro.exp: Likewise.
13091         * gdb.base/nodebug.exp: Likewise.
13092         * gdb.base/setvar.exp: Likewise.
13093         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13094
13095 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
13096             Pedro Alves  <palves@redhat.com>
13097
13098         PR symtab/14466
13099         * gdb.base/vdso-warning.c: New file.
13100         * gdb.base/vdso-warning.exp: New file.
13101
13102 2014-10-02  Doug Evans  <dje@google.com>
13103
13104         * gdb.base/structs.c (main): Don't run forever.
13105
13106 2014-10-02  Pedro Alves  <palves@redhat.com>
13107
13108         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13109         (top level) <stop threads 1, stop threads 2>: Use it.
13110
13111 2014-10-02  Pedro Alves  <palves@redhat.com>
13112
13113         * gdb.threads/break-while-running.exp (test): Add new
13114         'update_thread_list' argument.  Skip "info threads" if false.
13115         (top level): Add new 'update_thread_list' axis.
13116
13117 2014-10-02  Pedro Alves  <palves@redhat.com>
13118
13119         PR breakpoints/17431
13120         * gdb.base/execl-update-breakpoints.c: New file.
13121         * gdb.base/execl-update-breakpoints.exp: New file.
13122
13123 2014-10-01  Pedro Alves  <palves@redhat.com>
13124
13125         * gdb.base/breakpoint-in-ro-region.c: New file.
13126         * gdb.base/breakpoint-in-ro-region.exp: New file.
13127
13128 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
13129
13130         * gdb.mi/mi-exit-code.exp: New file.
13131         * gdb.mi/mi-exit-code.c: New file.
13132
13133 2014-09-30  Yao Qi  <yao@codesourcery.com>
13134
13135         * lib/prelink-support.exp (build_executable_own_libs): Error if
13136         the target isn't native.
13137
13138 2014-09-30  Yao Qi  <yao@codesourcery.com>
13139
13140         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13141         false.
13142
13143 2014-09-22  Pedro Alves  <palves@redhat.com>
13144
13145         * gdb.threads/break-while-running.exp: New file.
13146         * gdb.threads/break-while-running.c: New file.
13147
13148 2014-09-19  Yao Qi  <yao@codesourcery.com>
13149
13150         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13151         Invoke test.  Restart GDB with --readnow and invoke test again.
13152
13153 2014-09-19  Yao Qi  <yao@codesourcery.com>
13154
13155         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13156         proc set_breakpoint_on_gcd_function.  Invoke
13157         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
13158         invoke set_breakpoint_on_gcd_function again.
13159
13160 2014-09-18  Doug Evans  <dje@google.com>
13161
13162         * gdb.dwarf2/symtab-producer.exp: New file.
13163
13164 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
13165
13166         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13167         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13168         * gdb.base/global-var-nested-by-dso.c: Likewise.
13169         * gdb.base/global-var-nested-by-dso.exp: Likewise.
13170
13171 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
13172             Pedro Alves  <palves@redhat.com>
13173
13174         * gdb.base/watch-bitfields.exp: Pass string other than test file
13175         name to prepare_for_testing.
13176         (watch): New procedure.
13177         (expect_watchpoint): Use with_test_prefix.
13178         (top level): Factor out tests to ...
13179         (test_watch_location, test_regular_watch): ... these new
13180         procedures, and use with_test_prefix and gdb_continue_to_end.
13181
13182 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
13183
13184         PR breakpoints/12526
13185         * gdb.base/watch-bitfields.exp: New file.
13186         * gdb.base/watch-bitfields.c: New file.
13187
13188 2014-09-16  Pedro Alves  <palves@redhat.com>
13189
13190         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13191         software and hardware addresses, not software address against
13192         itself.
13193
13194 2014-09-16  Pedro Alves  <palves@redhat.com>
13195
13196         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13197         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13198
13199 2014-09-16  Pedro Alves  <palves@redhat.com>
13200
13201         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13202         files.
13203         * gdb.base/a2-run.exp: Remove all code guarded by istarget
13204         "*-*-vxworks*" throughout.
13205         * gdb.base/break.exp: Likewise.
13206         * gdb.base/default.exp: Likewise.
13207         * gdb.base/scope.exp: Likewise.
13208         * gdb.base/sepdebug.exp: Likewise.
13209         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13210         throughout.
13211         * gdb.base/run.c: Likewise.
13212         * gdb.base/sepdebug.c: Likewise.
13213         * gdb.hp/gdb.aCC/run.c: Likewise.
13214         * gdb.reverse/until-reverse.c: Likewise.
13215         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13216
13217 2014-09-16  Yao Qi  <yao@codesourcery.com>
13218
13219         * boards/local-remote-host-native.exp: New file.
13220
13221 2014-09-14  Doug Evans  <xdje42@gmail.com>
13222
13223         * gdb.threads/queue-signal.c (thread_count): New variable.
13224         (thread_count_mutex, thread_count_condvar): New variables.
13225         (incr_thread_count, wait_all_threads_running): New functions.
13226         (main): Wait for all threads to be in their thread functions.
13227
13228 2014-09-13  Doug Evans  <xdje42@gmail.com>
13229
13230         * gdb.threads/queue-signal.c: New file.
13231         * gdb.threads/queue-signal.exp: New file.
13232
13233 2014-09-13  Doug Evans  <xdje42@gmail.com>
13234
13235         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13236         be consistent with what default_gdb_init uses.
13237         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13238         the plain text of the prompt.  Add some logging printfs.
13239         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13240
13241 2014-09-12  Pedro Alves  <palves@redhat.com>
13242
13243         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13244         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13245         * gdb.arch/i386-size-overlap.exp: Likewise.
13246         * gdb.arch/i386-size.exp: Likewise.
13247         * gdb.arch/i386-unwind.exp: Likewise.
13248         * gdb.base/a2-run.exp: Likewise.
13249         * gdb.base/break.exp: Likewise.
13250         * gdb.base/charset.exp: Likewise.
13251         * gdb.base/chng-syms.exp: Likewise.
13252         * gdb.base/commands.exp: Likewise.
13253         * gdb.base/dbx.exp: Likewise.
13254         * gdb.base/find.exp: Likewise.
13255         * gdb.base/funcargs.exp: Likewise.
13256         * gdb.base/jit-simple.exp: Likewise.
13257         * gdb.base/reread.exp: Likewise.
13258         * gdb.base/sepdebug.exp: Likewise.
13259         * gdb.base/step-bt.exp: Likewise.
13260         * gdb.cp/mb-inline.exp: Likewise.
13261         * gdb.cp/mb-templates.exp: Likewise.
13262         * gdb.objc/basicclass.exp: Likewise.
13263         * gdb.threads/killed.exp: Likewise.
13264
13265 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13266
13267         PR tdep/17379
13268         * gdb.arch/powerpc-stackless.S: New file.
13269         * gdb.arch/powerpc-stackless.exp: New file.
13270
13271 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13272
13273         * gdb.base/attach.c: Include unistd.h.
13274         (main): Call alarm.  Add label postloop.
13275         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13276         gdb_breakpoint, gdb_continue_to_breakpoint.
13277         (test_command_line_attach_run): Kill ${testpid} in one exit path.
13278
13279 2014-09-11  Pedro Alves  <palves@redhat.com>
13280
13281         PR gdb/17347
13282         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13283         * gdb.base/attach.exp (test_command_line_attach_run): New
13284         procedure.
13285         (top level): Call it.
13286
13287 2014-09-11  Pedro Alves  <palves@redhat.com>
13288
13289         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13290         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13291         (do_command_attach_tests): Use spawn_wait_for_attach.
13292         * gdb.base/solib-overlap.exp: Likewise.
13293         * gdb.multi/multi-attach.exp: Likewise.
13294         * gdb.python/py-prompt.exp: Likewise.
13295         * gdb.python/py-sync-interp.exp: Likewise.
13296         * gdb.server/ext-attach.exp: Likewise.
13297
13298 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13299
13300         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13301         command in testcase.  Simplify testcase.
13302
13303 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13304
13305         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13306
13307 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13308
13309         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13310
13311 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13312
13313         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13314
13315 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13316
13317         * gdb.dwarf2/dynarr-ptr.c: New file.
13318         * gdb.dwarf2/dynarr-ptr.exp: New file.
13319
13320 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13321
13322         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13323         of 30 rather than hardcoding 120 for a slow test case.  Take the
13324         `gdb,timeout' target setting into account for this calculation.
13325         Don't extend the timeout for the test cases that don't need it.
13326
13327 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13328
13329         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13330         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13331         target setting into account for this calculation.
13332         * gdb.reverse/until-precsave.exp: Increase the timeout by
13333         a factor of 15 and 3 respectively rather than adding 120
13334         for a pair of slow test cases.  Take the `gdb,timeout'
13335         target setting into account for this calculation.
13336
13337 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13338
13339         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13340         timeout, don't pass one down to gdb_expect.
13341         (gdb_expect): Rework timeout selection.
13342
13343 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13344
13345         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13346         exception on timeout.
13347         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13348         (gdbserver_start_extended): Catch any `gdbserver_start' error
13349         exceptions.
13350         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13351         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13352         `gdbserver_gdb_load' error exceptions.
13353
13354 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13355
13356         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13357         120 on waiting for the TCP socket to open.
13358
13359 2014-09-09  Doug Evans  <xdje42@gmail.com>
13360
13361         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13362         _caller_matches, _any_caller_is, _any_caller_matches.
13363
13364 2014-09-09  Doug Evans  <xdje42@gmail.com>
13365
13366         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13367
13368 2014-09-09  Yao Qi  <yao@codesourcery.com>
13369
13370         * gdb.mi/mi-var-display.exp: Set print symbol off.
13371
13372 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13373
13374         PR gdb/17035
13375         * gdb.base/commands.exp: Add tests to verify user-defined
13376         commands with empty bodies.
13377         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13378         python commands in `show user command`.
13379         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13380         scheme commands in `show user command`.
13381
13382 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13383
13384         PR python/17355
13385         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13386         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13387         * gdb.python/py-framefilter-invalidarg.exp: New file.
13388         * gdb.python/py-framefilter-invalidarg.py: New file.
13389
13390 2014-09-06  Doug Evans  <xdje42@gmail.com>
13391
13392         PR 15276
13393         * gdb.python/py-caller-is.c: New file.
13394         * gdb.python/py-caller-is.exp: New file.
13395
13396 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13397
13398         PR gdb/17235
13399         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13400         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13401
13402 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13403
13404         PR fortran/17237
13405         * gdb.fortran/print-formatted.exp: New file.
13406         * gdb.fortran/print-formatted.f90: Likewise.
13407
13408 2014-09-03  Sasha Smundak  <asmundak@google.com>
13409
13410         * gdb.python/py-frame.exp: Test Frame.read_register.
13411
13412 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13413
13414         PR python/16699
13415         * gdb.python/py-completion.exp: New file.
13416         * gdb.python/py-completion.py: Likewise.
13417
13418 2014-08-28  Doug Evans  <dje@google.com>
13419
13420         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13421         eax,etc. are live with values set by gdb and thus the compiler can't
13422         use them.
13423         * gdb.arch/i386-pseudo.c (main): Ditto.
13424
13425 2014-08-27  Doug Evans  <dje@google.com>
13426
13427         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13428
13429 2014-08-25  Doug Evans  <dje@google.com>
13430
13431         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13432         (main): Ditto.
13433
13434 2014-08-25  Doug Evans  <dje@google.com>
13435
13436         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13437
13438 2014-08-24  Yao Qi  <yao@codesourcery.com>
13439
13440         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13441         symbol off.
13442         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13443
13444 2014-08-22  Doug Evans  <dje@google.com>
13445
13446         PR 17276
13447         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13448         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13449         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13450
13451 2014-08-22  Yao Qi  <yao@codesourcery.com>
13452
13453         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13454         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13455         * gdb.python/python.exp: Likewise.  Use .py file on the host
13456         instead of the build.
13457
13458 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13459
13460         * gdb.threads/gcore-stale-thread.c: New file.
13461         * gdb.threads/gcore-stale-thread.exp: New file.
13462
13463 2014-08-21  Pedro Alves  <palves@redhat.com>
13464
13465         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13466         * gdb.base/gcore-relro-pie.exp: Likewise.
13467         * gdb.base/gcore-relro.exp: Likewise.
13468         * gdb.base/gcore.exp: Likewise.
13469         * gdb.base/print-symbol-loading.exp: Likewise.
13470         * gdb.threads/gcore-thread.exp: Likewise.
13471         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13472
13473 2014-08-20  Pedro Alves  <palves@redhat.com>
13474             Jan Kratochvil  <jan.kratochvil@redhat.com>
13475
13476         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13477         configure.
13478         (EXPECT): Handle READ1 being set.
13479         (all): Depend on EXTRA_RULES.
13480         (check-read1, expect-read1, read1.so, read1): New rules.
13481         * README (Testsuite Parameters): Document the READ1 make variable.
13482         (Race detection): New section.
13483         * configure: Regenerate.
13484         * configure.ac: If build==host==target, and running under a
13485         GNU/glibc system, add read1 to the extra Makefile rules.
13486         (EXTRA_RULES): AC_SUBST it.
13487         * lib/read1.c: New file.
13488
13489 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13490
13491         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13492         the handling of variables declared as a typedef to an array
13493         which a DW_AT_data_location attribute.
13494
13495 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13496             Pedro Alves  <palves@redhat.com>
13497
13498         PR symtab/14604
13499         PR symtab/14605
13500         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13501         gdb_test.
13502
13503 2014-08-19  Pedro Alves  <palves@redhat.com>
13504
13505         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13506
13507 2014-08-19  Yao Qi  <yao@codesourcery.com>
13508
13509         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13510         right line.
13511
13512 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13513
13514         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13515
13516 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13517
13518         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13519         attribute in array range.
13520
13521 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13522
13523         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13524
13525 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13526
13527         PR c++/17132
13528         * gdb.cp/pr17132.cc: New file.
13529         * gdb.cp/pr17132.exp: New file.
13530
13531 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13532
13533         * gdb.python/py-xmethods.py (A_getarrayind)
13534         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13535         Use 'print' with function call syntax.
13536         (E_method_matcher.match): Fix tab vs space indentation mixup.
13537
13538 2014-08-15  Yao Qi  <yao@codesourcery.com>
13539
13540         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13541         false.
13542
13543 2014-08-15  Yao Qi  <yao@codesourcery.com>
13544
13545         * gdb.cp/casts.exp: Set print symbol off.
13546         * gdb.cp/class2.exp: Likewise.
13547         * gdb.cp/overload.exp: Likewise.
13548         * gdb.cp/templates.exp: Likewise.
13549
13550 2014-08-11  Doug Evans  <dje@google.com>
13551
13552         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13553         (test_load_shlib): Update.
13554
13555 2014-08-09  Yao Qi  <yao@codesourcery.com>
13556
13557         * gdb.base/display.exp: Invoke is_address_zero_readable.
13558         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13559         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13560         * gdb.base/hbreak-unmapped.exp: Return if
13561         is_address_zero_readable returns true.
13562         * gdb.base/signest.exp: Likewise.
13563         * gdb.base/signull.exp: Likewise.
13564         * gdb.base/sigbpt.exp: Likewise.
13565         * gdb.guile/scm-disasm.exp: Do the test if
13566         is_address_zero_readable returns false.
13567         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13568         * gdb.python/py-arch.exp: Likewise.
13569         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13570         * lib/gdb.exp (is_address_zero_readable): New proc.
13571
13572 2014-08-09  Yao Qi  <yao@codesourcery.com>
13573
13574         PR testsuite/13443
13575         * gdb.mi/mi-var-display.exp: Make test messages unique.
13576
13577 2014-08-04  Tom Tromey  <tromey@redhat.com>
13578
13579         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13580         target 0".
13581
13582 2014-08-04  Tom Tromey  <tromey@redhat.com>
13583
13584         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13585         "target_resume".
13586
13587 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13588
13589         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13590         inner_vla_struct_object_size.
13591         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13592         as xfail.
13593
13594 2014-07-30  Pedro Alves  <palves@redhat.com>
13595
13596         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13597         comment.
13598
13599 2014-07-29  Yao Qi  <yao@codesourcery.com>
13600
13601         PR gdb/17206
13602         * gdb.base/until-nodebug.exp: New.
13603
13604 2014-07-28  Doug Evans  <xdje42@gmail.com>
13605
13606         PR guile/17203
13607         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13608         previously existing parameter, and previously ambiguously spelled
13609         parameter.
13610
13611 2014-07-28  Will Newton  <will.newton@linaro.org>
13612
13613         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13614
13615 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13616             Doug Evans  <xdje42@gmail.com>
13617
13618         PR guile/17146
13619         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13620
13621 2014-07-25  Pedro Alves  <palves@redhat.com>
13622
13623         * gdb.threads/signal-command-handle-nopass.c: New file.
13624         * gdb.threads/signal-command-handle-nopass.exp: New file.
13625         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13626         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13627         * gdb.threads/signal-delivered-right-thread.c: New file.
13628         * gdb.threads/signal-delivered-right-thread.exp: New file.
13629
13630 2014-07-25  Pedro Alves  <palves@redhat.com>
13631
13632         * gdb.base/double-prompt-target-event-error.exp
13633         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13634         match.
13635         (cancel_pagination_in_target_event): Rework double prompt
13636         detection.
13637         * gdb.base/paginate-after-ctrl-c-running.exp
13638         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13639         <return>' match.
13640         * gdb.base/paginate-bg-execution.exp
13641         (test_bg_execution_pagination_return)
13642         (test_bg_execution_pagination_cancel): Remove '-notransfer
13643         <return>' matches.
13644         * gdb.base/paginate-execution-startup.exp
13645         (test_fg_execution_pagination_return)
13646         (test_fg_execution_pagination_cancel): Remove '-notransfer
13647         <return>' matches.
13648         * gdb.base/paginate-inferior-exit.exp
13649         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13650         match.
13651         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13652         * lib/gdb.exp (pagination_prompt): Run text through
13653         string_to_regexp.
13654         (gdb_test_multiple): Match $pagination_prompt instead of
13655         "<return>".
13656         (string_to_regexp): Move to lib/gdb-utils.exp.
13657
13658 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13659
13660         * gdb.arch/amd64-entry-value-paramref.S: New file.
13661         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13662         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13663         * gdb.arch/amd64-optimout-repeat.S: New file.
13664         * gdb.arch/amd64-optimout-repeat.c: New file.
13665         * gdb.arch/amd64-optimout-repeat.exp: New file.
13666
13667 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13668
13669         PR gdb/17170
13670         * gdb.base/statistics.exp: New file.
13671
13672 2014-07-17  Doug Evans  <dje@google.com>
13673
13674         PR gdb/17170
13675         * gdb.base/maint.exp: Update testing of per-command stats.
13676
13677 2014-07-16  Pedro Alves  <palves@redhat.com>
13678
13679         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13680         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13681         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13682         (tfile_write_buf): New functions.
13683         (add_memory_block): Rewrite using the above.
13684         (adjust_function_address): New function.
13685         (FUNCTION_ADDRESS): New macro.
13686         (write_basic_trace_file): Remove short_x local, and use
13687         tfile_write_16. Change type of func_addr local to unsigned long
13688         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13689         here.  Cast argument of add_memory_block to char pointer.
13690         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13691         (main): Remove parameters.
13692         * gdb.trace/tfile.exp: Remove nowarnings.
13693
13694 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13695
13696         * gdb.base/debug-expr.exp: Test string evaluation with
13697         "debug expression" on.
13698
13699 2014-07-15  Pedro Alves  <palves@redhat.com>
13700
13701         * gdb.base/reread.exp: Use clean_restart.
13702
13703 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13704
13705         * gdb.arch/avr-flash-qualifer.c: New.
13706         * gdb.arch/avr-flash-qualifer.exp: New.
13707
13708 2014-07-14  Pedro Alves  <palves@redhat.com>
13709
13710         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13711         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13712
13713 2014-07-14  Pedro Alves  <palves@redhat.com>
13714
13715         * gdb.base/double-prompt-target-event-error.c: New file.
13716         * gdb.base/double-prompt-target-event-error.exp: New file.
13717
13718 2014-07-14  Pedro Alves  <palves@redhat.com>
13719
13720         PR gdb/17072
13721         * gdb.base/paginate-inferior-exit.c: New file.
13722         * gdb.base/paginate-inferior-exit.exp: New file.
13723
13724 2014-07-14  Pedro Alves  <palves@redhat.com>
13725
13726         PR gdb/17072
13727         * gdb.base/paginate-bg-execution.c: New file.
13728         * gdb.base/paginate-bg-execution.exp: New file.
13729
13730 2014-07-14  Pedro Alves  <palves@redhat.com>
13731
13732         PR gdb/17072
13733         * gdb.base/paginate-execution-startup.c: New file.
13734         * gdb.base/paginate-execution-startup.exp: New file.
13735         * lib/gdb.exp (pagination_prompt): New global.
13736         (default_gdb_spawn): New procedure, factored out from
13737         default_gdb_spawn.
13738         (default_gdb_start): Adjust to call default_gdb_spawn.
13739         (gdb_spawn): New procedure.
13740
13741 2014-07-14  Pedro Alves  <palves@redhat.com>
13742
13743         * lib/gdb.exp (gdb_assert): New procedure.
13744         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13745
13746 2014-07-14  Pedro Alves  <palves@redhat.com>
13747
13748         * gdb.base/execution-termios.c: New file.
13749         * gdb.base/execution-termios.exp: New file.
13750
13751 2014-07-14  Tom Tromey  <tromey@redhat.com>
13752
13753         * gdb.cp/vla-cxx.cc: New file.
13754         * gdb.cp/vla-cxx.exp: New file.
13755
13756 2014-07-14  Tom Tromey  <tromey@redhat.com>
13757
13758         * gdb.reverse/rerun-prec.c: New file.
13759         * gdb.reverse/rerun-prec.exp: New file.
13760
13761 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13762             Maciej W. Rozycki  <macro@codesourcery.com>
13763
13764         * lib/gdb-utils.exp: New file.
13765         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13766         inline `gdb_init_command' processing.
13767         (gdb_start_cmd): Likewise.
13768         * lib/mi-support.exp (mi_run_cmd): Likewise.
13769         * README: Document `gdb_init_command' and `gdb_init_commands'.
13770
13771 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13772
13773         Fix false FAIL running under a very long directory name.
13774         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13775         and "set print elements 10000".  Twice.
13776
13777 2014-07-11  Yao Qi  <yao@codesourcery.com>
13778
13779         * gdb.base/exprs.exp: "set print symbol off".
13780
13781 2014-07-11  Pedro Alves  <palves@redhat.com>
13782
13783         * gdb.threads/kill.c: New file.
13784         * gdb.threads/kill.exp: New file.
13785
13786 2014-07-10  Yao Qi  <yao@codesourcery.com>
13787
13788         * gdb.trace/tfile.c (write_basic_trace_file)
13789         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13790         address written to trace file.
13791
13792 2014-07-09  Pedro Alves  <palves@redhat.com>
13793
13794         * gdb.base/attach-wait-input.exp: New file.
13795         * gdb.base/attach-wait-input.c: New file.
13796
13797 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13798
13799         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13800         setting up test structures.
13801         (main): Call new test function.
13802         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13803         test function, continue into test function and walk test
13804         structures.
13805
13806 2014-07-02  Yao Qi  <yao@codesourcery.com>
13807
13808         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13809         'bar_start' at the beginning of functions 'foo' and 'bar'
13810         respectively.
13811         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13812         instead of 'foo' and 'bar'.
13813
13814 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13815
13816         * gdb.btrace/segv.exp: New.
13817         * gdb.btrace/segv.c: New.
13818
13819 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13820
13821         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13822         instruction.
13823
13824 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13825
13826         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13827         vulture, vilify, villar): New volatile array constants.
13828         (vindictive, vegetation): New const volatile array constants.
13829         * gdb.base/volatile.exp: Test volatile and const volatile array
13830         types.
13831
13832 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13833
13834         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13835         target lacks support for awatch, rwatch, or hbreak.
13836
13837 2014-06-27  Yao Qi  <yao@codesourcery.com>
13838
13839         * gdb.multi/dummy-frame-restore.exp: New.
13840         * gdb.multi/dummy-frame-restore.c: New.
13841
13842 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13843
13844         * gdb.btrace/gcore.exp: New.
13845
13846 2014-06-23  Pedro Alves  <palves@redhat.com>
13847
13848         * gdb.base/watchpoint-reuse-slot.c: New file.
13849         * gdb.base/watchpoint-reuse-slot.exp: New file.
13850
13851 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13852
13853         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13854         progspace's filename in 'info', 'enable' and 'disable' command
13855         tests.
13856
13857 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13858
13859         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13860         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13861         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13862
13863 2014-06-20  Gary Benson  <gbenson@redhat.com>
13864
13865         * gdb.arch/i386-avx.exp: Fix include file location.
13866         * gdb.arch/i386-sse.exp: Likewise.
13867
13868 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13869
13870         * gdb.dlang/expression.exp: New file.
13871
13872 2014-06-19  Pedro Alves  <palves@redhat.com>
13873
13874         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13875         out from ...
13876         (top level): ... here.  Iterate running tests under different
13877         scheduler-locking settings.
13878
13879 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13880
13881         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13882         to DW_FORM_addr and use non-zero addresses.
13883
13884 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13885
13886         PR gdb/17017
13887         * gdb.python/py-xmethods.cc: Add global function call counters and
13888         increment them in their respective functions.  Remove "cout"
13889         statements.
13890         * gdb.python/py-xmethods.exp: Make tests check the global function
13891         call counters instead of depending on inferior IO.
13892
13893 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13894
13895         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13896         Deleted procedure.
13897         (explicit_fork_parent_follow): Deleted procedure.
13898         (explicit_fork_child_follow): Deleted procedure.
13899         (test_follow_fork): New procedure.
13900         (do_fork_tests): Replace calls to deleted procedures with
13901         calls to test_follow_fork and reset GDB for subsequent
13902         procedure calls.
13903
13904 2014-06-17  Yao Qi  <yao@codesourcery.com>
13905
13906         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13907         CP1252.
13908
13909 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13910
13911         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13912         Initialize ptr and S explicitly.
13913         (skip_type_update_when_not_use_rtti_test): Likewise.
13914
13915 2014-06-16  Keith Seitz  <keiths@redhat.com>
13916
13917         PR mi/15863
13918         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13919         the inferior is started.
13920
13921 2014-06-16  Pedro Alves  <palves@redhat.com>
13922
13923         * gdb.base/break-main-file-remove-fail.c: New file.
13924         * gdb.base/break-main-file-remove-fail.exp: New file.
13925         * gdb.base/break-unload-file.exp: Use build_executable instead of
13926         prepare_for_testing.
13927         (test_break): New parameter "initial_load".  Handle it.
13928         (top level): Add initial_load cmdline/file axis.
13929
13930 2014-06-12  Tom Tromey  <tromey@redhat.com>
13931
13932         * gdb.base/completion.exp: Don't use directory name in test.
13933
13934 2014-06-09  Gary Benson  <gbenson@redhat.com>
13935
13936         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13937         separate the always-available ANSI-standard signals from the
13938         signals that require checking.
13939         (main): Likewise.
13940         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13941         Likewise.
13942         (main): Likewise.
13943
13944 2014-06-07  Keith Seitz  <keiths@redhat.com>
13945
13946         Revert:
13947         PR c++/16253
13948         * gdb.cp/var-tag.cc: New file.
13949         * gdb.cp/var-tag.exp: New file.
13950         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13951         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13952         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13953         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13954
13955 2014-06-06  Doug Evans  <xdje42@gmail.com>
13956
13957         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13958
13959 2014-06-06  Pedro Alves  <palves@redhat.com>
13960
13961         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13962         in target debug output instead of looking at RSP packets,
13963         disabling the test on any target that uses hardware stepping.
13964         Update comments.
13965
13966 2014-06-06  Pedro Alves  <palves@redhat.com>
13967
13968         * gdb.base/break-unload-file.exp: Fix typo.
13969
13970 2014-06-06  Yao Qi  <yao@codesourcery.com>
13971
13972         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13973         from "jit_function" to "^jit_function".
13974
13975 2014-06-06  Yao Qi  <yao@codesourcery.com>
13976
13977         * gdb.base/async.c (foo): Add one statement.
13978         * gdb.base/async.exp: Get the next instruction address and
13979         match the output of "nexti" by instruction address.  Match
13980         the hex address in the output of "finish".
13981
13982 2014-06-06  Gary Benson  <gbenson@redhat.com>
13983
13984         * gdb.base/call-signals.c: Remove preprocessor conditionals
13985         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13986         SIGSEGV and SIGTERM.
13987         * gdb.base/sigall.c: Likewise.
13988         * gdb.base/unwindonsignal.c: Likewise.
13989         * gdb.reverse/sigall-reverse.c: Likewise.
13990
13991 2014-06-06  Yao Qi  <yao@codesourcery.com>
13992
13993         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13994         readable, skip the test.
13995
13996 2014-06-06  Yao Qi  <yao@codesourcery.com>
13997
13998         * gdb.threads/staticthreads.c (thread_function): Move the line
13999         setting breakpoint on forward.
14000         * gdb.threads/staticthreads.exp: Update comments.
14001
14002 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
14003
14004         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14005         "history-append! type error".
14006
14007 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
14008
14009         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14010         erroneous dprintf expected input.
14011
14012 2014-06-04  Doug Evans  <xdje42@gmail.com>
14013
14014         * gdb.guile/scm-generics.exp: Delete.
14015
14016 2014-06-04  Doug Evans  <xdje42@gmail.com>
14017
14018         * gdb.guile/scm-breakpoint.exp: Update.
14019         Add tests for breakpoint registration.
14020
14021 2014-06-04  Tom Tromey  <tromey@redhat.com>
14022
14023         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14024         VLA-in-union.
14025         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14026         inner_vla_struct, vla_union types.  Initialize objects of those
14027         types and compute their sizes.
14028
14029 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
14030             Hui Zhu  <hui@codesourcery.com>
14031
14032         * gdb.base/fileio.exp: Add test for shell not available as well as
14033         available.
14034         * gdb.base/fileio.c (test_system): Check for shell twice.
14035
14036 2014-06-04  Yao Qi  <yao@codesourcery.com>
14037
14038         * gdb.base/auto-connect-native-target.exp: Remove redundant
14039         space from the regexp pattern.
14040
14041 2014-06-04  Yao Qi  <yao@codesourcery.com>
14042
14043         * gdb.base/default.exp: Replace "child" with "native" in
14044         regexp pattern.
14045
14046 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
14047
14048         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14049         * gdb.python/py-xmethods.exp: New tests to test xmethods.
14050         * gdb.python/py-xmethods.py: Python script supporting the
14051         new testcase and tests.
14052
14053 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
14054             Pedro Alves  <palves@redhat.com>
14055
14056         PR breakpoints/17000
14057         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14058         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14059
14060 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
14061
14062         * gdb.base/subst.exp: Add tests to verify partial path matching
14063         output.
14064
14065 2014-06-03  Pedro Alves  <palves@redhat.com>
14066
14067         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14068         target that doesn't use software single-stepping.
14069
14070 2014-06-03  Pedro Alves  <palves@redhat.com>
14071
14072         PR breakpoints/17000
14073         * gdb.base/sss-bp-on-user-bp-2.c: New file.
14074         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14075
14076 2014-06-02  Doug Evans  <xdje42@gmail.com>
14077
14078         * gdb.guile/scm-parameter.exp: New file.
14079
14080 2014-06-02  Doug Evans  <xdje42@gmail.com>
14081
14082         * gdb.guile/scm-cmd.c: New file.
14083         * gdb.guile/scm-cmd.exp: New file.
14084
14085 2014-06-02  Doug Evans  <xdje42@gmail.com>
14086
14087         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14088         pretty-printer lookup.
14089         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14090         (make-pp_s-printer): Call it.
14091         (make-pretty-printer-from-dict): New function.
14092         (lookup-pretty-printer-maker-from-dict): New function.
14093         (*pretty-printer*): Simplify.
14094         (make-objfile-pp_s-printer): New function.
14095         (install-objfile-pretty-printers!): New function.
14096         (make-progspace-pp_s-printer): New function.
14097         (install-progspace-pretty-printers!): New function.
14098         * gdb.guile/scm-progspace.c: New file.
14099         * gdb.guile/scm-progspace.exp: New file.
14100
14101 2014-06-02  Pedro Alves  <palves@redhat.com>
14102
14103         * gdb.base/dprintf-bp-same-addr.c: New file.
14104         * gdb.base/dprintf-bp-same-addr.exp: New file.
14105
14106 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14107
14108         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14109         * gdb.arch/powerpc-power.s: Likewise.
14110
14111 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
14112
14113         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14114
14115 2014-06-01  Yao Qi  <yao@codesourcery.com>
14116
14117         * gdb.base/watchpoint.exp (test_watch_location): Check null
14118         pointer can be dereferenced.  If not, do the test, otherwise
14119         skip it.
14120
14121 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
14122
14123         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14124         results.
14125         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14126
14127 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
14128
14129         * gdb.arch/amd64-invalid-stack-middle.S: New file.
14130         * gdb.arch/amd64-invalid-stack-middle.c: New file.
14131         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14132         * gdb.arch/amd64-invalid-stack-top.c: New file.
14133         * gdb.arch/amd64-invalid-stack-top.exp: New file.
14134
14135 2014-05-30  Pedro Alves  <palves@redhat.com>
14136
14137         PR breakpoints/17000
14138         * gdb.base/sss-bp-on-user-bp.c: New file.
14139         * gdb.base/sss-bp-on-user-bp.exp: New file.
14140
14141 2014-05-30  David Blaikie  <dblaikie@gmail.com>
14142
14143         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14144         gnu_inline semantics via attribute.
14145         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14146         source explicitly specifies the required semantics.
14147
14148 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
14149
14150         * gdb.reverse/sigall-reverse.exp: Fix a typo.
14151
14152 2014-05-29  Pedro Alves  <palves@redhat.com>
14153             Tom Tromey  <tromey@redhat.com>
14154
14155         * gdb.base/async-shell.exp: Don't enable target-async.
14156         * gdb.base/async.exp
14157         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14158         parameter.  Adjust.
14159         (top level): Don't test with "target-async".
14160         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14161         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14162         * gdb.base/inferior-died.exp: Don't enable target-async.
14163         * gdb.base/interrupt-noterm.exp: Likewise.
14164         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14165         * gdb.mi/mi-nonstop-exit.exp: Likewise.
14166         * gdb.mi/mi-nonstop.exp: Likewise.
14167         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14168         * gdb.mi/mi-nsintrall.exp: Likewise.
14169         * gdb.mi/mi-nsmoribund.exp: Likewise.
14170         * gdb.mi/mi-nsthrexec.exp: Likewise.
14171         * gdb.mi/mi-watch-nonstop.exp: Likewise.
14172         * gdb.multi/watchpoint-multi.exp: Adjust comment.
14173         * gdb.python/py-evsignal.exp: Don't enable target-async.
14174         * gdb.python/py-evthreads.exp: Likewise.
14175         * gdb.python/py-prompt.exp: Likewise.
14176         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14177         * gdb.server/solib-list.exp: Don't enable target-async.
14178         * gdb.threads/thread-specific-bp.exp: Likewise.
14179         * lib/mi-support.exp: Adjust to use mi-async.
14180
14181 2014-05-29  Pedro Alves  <palves@redhat.com>
14182
14183         PR gdb/13860
14184         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14185         reason, even in sync mode.
14186
14187 2014-05-29  Pedro Alves  <palves@redhat.com>
14188             Hui Zhu  <hui@codesourcery.com>
14189
14190         PR PR15693
14191         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14192         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14193         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14194         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14195
14196 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
14197
14198         * config/monitor.exp (gdb_target_monitor): Replace use of
14199         "set remotebaud" by "set serial baud".
14200
14201 2014-05-26  Andy Wingo  <wingo@igalia.com>
14202
14203         * gdb.guile/scm-breakpoint.exp:
14204         * gdb.guile/scm-gsmob.exp: Update to use plain old object
14205         properties instead of gdb-object-properties.
14206
14207 2014-05-26  Yao Qi  <yao@codesourcery.com>
14208
14209         * gdb.server/no-thread-db.exp: Specify source file name
14210         explicitly when setting a breakpoint.
14211
14212 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14213
14214         * gdb.btrace/vdso.c: New.
14215         * gdb.btrace/vdso.exp: New.
14216
14217 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14218
14219         * gdb.base/gcore.exp (capture_command_output): Move ...
14220         * lib/gdb.exp (capture_command_output): ... here.
14221
14222 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
14223
14224         * gdb.btrace/data.exp: Test memory access during btrace replay.
14225
14226 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
14227
14228         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14229
14230 2014-05-21  Pedro Alves  <palves@redhat.com>
14231
14232         PR gdb/13860
14233         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14234         (top level): Test that output related to execution commands is
14235         sent to the console with CLI commands, but not with MI commands.
14236         Test that breakpoint events are always mirrored to the console.
14237         Also expect the new source line to be output after a "next" in
14238         async mode too.  Make it a pass/fail test.
14239         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14240         output.
14241         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14242
14243 2014-05-21  Pedro Alves  <palves@redhat.com>
14244
14245         * gdb.base/list.exp (build_pattern, test_list): New procedures.
14246         Use them to test variations of "list" after reaching a breakpoint.
14247         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14248         Test "list" with listsize 10 after reaching a breakpoint.
14249         * gdb.python/python.exp (decode_line current location line
14250         number): Adjust expected line number.
14251
14252 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
14253
14254         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14255         behavior for $args, pass it directly to "run".
14256
14257 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
14258
14259         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14260         30000 to 65536.
14261
14262 2014-05-21  Pedro Alves  <palves@redhat.com>
14263
14264         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14265         auto-connect-native-target off".
14266         * gdb.base/auto-connect-native-target.c: New file.
14267         * gdb.base/auto-connect-native-target.exp: New file.
14268
14269 2014-05-21  Pedro Alves  <palves@redhat.com>
14270
14271         * gdb.base/default.exp: Test "target native" instead of "target
14272         child".
14273
14274 2014-05-21  Mark Wielaard  <mjw@redhat.com>
14275
14276         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14277
14278 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14279
14280         Fix TLS access for -static -pthread.
14281         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14282         <HAVE_TLS> (thread_function, main): Initialize it.
14283         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14284         Add clean_restart.
14285         <$have_tls != "">: Check TLSVAR.
14286
14287 2014-05-21  Pedro Alves  <palves@redhat.com>
14288
14289         * gdb.base/dcache-line-read-error.c: New.
14290         * gdb.base/dcache-line-read-error.exp: New.
14291
14292 2014-05-20  Pedro Alves  <palves@redhat.com>
14293
14294         * gdb.base/compare-sections.c: New file.
14295         * gdb.base/compare-sections.exp: New file.
14296
14297 2014-05-20  Pedro Alves  <palves@redhat.com>
14298
14299         * gdb.base/break-idempotent.c: New file.
14300         * gdb.base/break-idempotent.exp: New file.
14301
14302 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14303
14304         * gdb.btrace/nohist.exp: New.
14305
14306 2014-05-20  Yao Qi  <yao@codesourcery.com>
14307
14308         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14309         gdb.reverse directory and gdb_reverse_timeout exists in board
14310         setting.
14311         * README: Document gdb_reverse_timeout.
14312
14313 2014-05-20  Yao Qi  <yao@codesourcery.com>
14314
14315         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14316         'test_file_name'.  Treat args as a string instead of a list.
14317         (gdb_init): Rename argument 'args' by 'test_file_name'.
14318
14319 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14320
14321         * gdb.arch/powerpc-power.exp: New file.
14322         * gdb.arch/powerpc-power.s: New file.
14323
14324 2014-05-16  Doug Evans  <dje@google.com>
14325
14326         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14327         * gdb.base/completion.exp: Check that all expected files exist
14328         before doing file completion.
14329
14330 2014-05-16  Doug Evans  <dje@google.com>
14331
14332         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14333         Update.
14334         (do_syscall_tests_without_xml): Update.
14335
14336 2014-05-16  Pedro Alves  <palves@redhat.com>
14337
14338         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14339         instead of "unknown output after running".
14340
14341 2014-05-16  Yao Qi  <yao@codesourcery.com>
14342
14343         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14344         file1.txt from host at the end.
14345         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14346
14347 2014-05-15  Doug Evans  <dje@google.com>
14348
14349         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14350         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14351         loading file.  Add test for TU lookup.
14352
14353 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14354
14355         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14356         calling "-exec-arguments" or "set args" before running the
14357         inferior.
14358
14359 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14360
14361         * lib/mi-support.exp (mi_expect_stop): Expect message for
14362         inferiors that exit with non-zero exit code.
14363
14364 2014-05-14  Yao Qi  <yao@codesourcery.com>
14365
14366         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14367         match absolute path on remote host.
14368         (test_file_list_exec_source_files): Remove "/" from the
14369         pattern.
14370
14371 2014-05-14  Yao Qi  <yao@codesourcery.com>
14372
14373         * boards/local-remote-host-notty.exp (${board}_file): New
14374         proc.
14375
14376 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14377
14378         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14379         * gdb.arch/aarch64-atomic-inst.c: New file.
14380         * gdb.arch/aarch64-atomic-inst.exp: New file.
14381
14382 2014-05-07  Yao Qi  <yao@codesourcery.com>
14383
14384         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14385         in current context" too.
14386
14387 2014-05-05  Keith Seitz  <keiths@redhat.com>
14388
14389         * gdb.linespec/ls-dollar.exp: Add test for linespec
14390         file:convenience_variable.
14391
14392 2014-05-05  Yao Qi  <yao@codesourcery.com>
14393
14394         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14395         traceframes into tfile and ctf trace files.  Read data from
14396         trace file and test collected data.
14397         (gdb_collect_locals_test): Likewise.
14398         (gdb_unavailable_registers_test): Likewise.
14399         (gdb_unavailable_floats): Likewise.
14400         (gdb_collect_globals_test): Likewise.
14401         (top-level): Append "ctf" to trace_file_targets if GDB
14402         supports.
14403
14404 2014-05-05  Yao Qi  <yao@codesourcery.com>
14405
14406         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14407         code to ...
14408         (gdb_collect_args_test_1): ... it.  New proc.
14409         (gdb_collect_locals_test): Move some code to ...
14410         (gdb_collect_locals_test_1): ... it.  New proc.
14411         (gdb_unavailable_registers_test): Move some code to ...
14412         (gdb_unavailable_registers_test_1): ... it.  New proc.
14413         (gdb_unavailable_floats): Move some code to ...
14414         (gdb_unavailable_floats_1): ... it.  New proc.
14415
14416 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14417
14418         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14419         probes to test for bitness recognition.
14420         * gdb.arch/amd64-stap-optional-prefix.exp
14421         (test_probe_value_without_reg): New procedure.
14422         Add code to test for different kinds of bitness.
14423
14424 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14425
14426         PR breakpoints/16889
14427         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14428         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14429
14430 2014-05-01  Pedro Alves  <palves@redhat.com>
14431
14432         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14433         gdb_file_cmd if no file is specified.
14434         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14435         last_loaded_file to set the remote exec-file.
14436
14437 2014-05-01  Pedro Alves  <palves@redhat.com>
14438
14439         * boards/local-remote-host.exp: New file.
14440
14441 2014-05-01  Pedro Alves  <palves@redhat.com>
14442
14443         * boards/local-remote-host.exp: Rename to ...
14444         * boards/local-remote-host-notty.exp: ... this.
14445
14446 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14447
14448         * gdb.ada/dyn_arrayidx: New testcase.
14449
14450 2014-04-26  Yao Qi  <yao@codesourcery.com>
14451
14452         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14453         and compute the length of function main.  Save it in
14454         $main_length.
14455         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14456         (top-level): Use gdb_compile to compile objects into
14457         executable and restart GDB.  Remove invocation to
14458         prepare_for_testing.
14459
14460 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14461             Pedro Alves  <palves@redhat.com>
14462
14463         PR server/16255
14464         * gdb.multi/multi-attach.c: New file.
14465         * gdb.multi/multi-attach.exp: New file.
14466
14467 2014-04-25  Pedro Alves  <palves@redhat.com>
14468
14469         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14470         user.
14471         (top level): Test that "set remote conditional-breakpoints-packet
14472         off" works as intended.
14473         * gdb.base/dprintf.exp: Test that "set remote
14474         breakpoint-commands-packet off" works as intended.
14475         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14476         New function.
14477         (top level): Call it.
14478         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14479         remote fast-tracepoints-packet off" works as intended.
14480         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14481         * lib/gdb.exp (gdb_is_target_remote): ... here.
14482
14483 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14484
14485         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14486         ensure clang would not discard them.
14487         * gdb.base/gdbvars.c: Ditto.
14488         * gdb.base/memattr.c: Ditto.
14489         * gdb.base/whatis.c: Ditto.
14490         * gdb.python/py-prettyprint.c: Ditto.
14491         * gdb.trace/actions.c: Ditto.
14492         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14493         ensure clang would not discard it.
14494
14495 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14496
14497         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14498         clang to emit the full definition of type required by the test
14499         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14500
14501 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14502
14503         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14504         coax Clang into emitting the definition of the type.
14505         * gdb.cp/pr10728-x.h (y): Ditto.
14506         * gdb.cp/pr10728-y.cc (y): Ditto.
14507
14508 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14509
14510         * gdb.base/label.exp: XFAIL label related tests under Clang.
14511         * gdb.cp/cplabel.exp: Ditto.
14512         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14513         under Clang those using labels.
14514
14515 2014-04-25  Yao Qi  <yao@codesourcery.com>
14516
14517         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14518         double_label.
14519         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14520         partial_label and double_label.
14521
14522 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14523
14524         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14525
14526 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14527
14528         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14529         of the function to work across GCC and Clang.
14530         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14531         pointer types (const void ** const V void **).
14532
14533 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14534             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14535
14536         * Makefile.in (EXECUTABLES): Added i386-avx512.
14537         * gdb.arch/i386-avx512.c: New file.
14538         * gdb.arch/i386-avx512.exp: Likewise.
14539
14540 2014-04-23  Keith Seitz  <keiths@redhat.com>
14541
14542         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14543         (mi_make_breakpoint_table): New procedure.
14544         (mi_create_breakpoint): Use mi_make_breakpoint
14545         and return the result.
14546         (mi_make_breakpoint): New procedure.
14547         (mi_build_kv_pairs): New procedure.
14548
14549         * gdb.mi/mi-break.exp: Remove unused globals,
14550         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14551         All callers updated.
14552         * gdb.mi/mi-dprintf.exp: Use variable to track command
14553         number.
14554         Update all callers of mi_create_breakpoint and use
14555         mi_make_breakpoint_table.
14556         Remove any unused global variables.
14557         * gdb.mi/mi-nonstop.exp: Likewise.
14558         * gdb.mi/mi-nsintrall.exp: Likewise.
14559         * gdb.mi/mi-nsmoribund.exp: Likewise.
14560         * gdb.mi/mi-nsthrexec.exp: Likewise.
14561         * gdb.mi/mi-reverse.exp: Likewise.
14562         * gdb.mi/mi-simplerun.exp: Likewise.
14563         * gdb.mi/mi-stepn.exp: Likewise.
14564         * gdb.mi/mi-syn-frame.exp: Likewise.
14565         * gdb.mi/mi-until.exp: Likewise.
14566         * gdb.mi/mi-var-cp.exp: Likewise.
14567         * gdb.mi/mi-var-display.exp: Likewise.
14568         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14569         * gdb.mi/mi2-var-child.exp: Likewise.
14570         * gdb.mi/mi-vla-c99.exp: Likewise.
14571         * lib/mi-support.exp: Likewise.
14572
14573         From Ian Lance Taylor  <iant@cygnus.com>:
14574         * lib/gdb.exp (parse_args): New procedure.
14575
14576 2014-04-23  Pedro Alves  <palves@redhat.com>
14577
14578         * gdb.base/break-unload-file.c: New file.
14579         * gdb.base/break-unload-file.exp: New file.
14580         * gdb.base/sym-file-lib.c (baz): New function.
14581         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14582         field.
14583         (load): Store the segment's mapped size.
14584         (unload): New function.
14585         (unload_shlib): New function.
14586         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14587         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14588         set a breakpoint at baz, and call it.
14589         * gdb.base/sym-file.exp: New tests for stale breakpoint
14590         instructions.
14591
14592 2014-04-23  Pedro Alves  <palves@redhat.com>
14593
14594         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14595         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14596         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14597         * gdb.base/hbreak-unmapped.c: New file.
14598         * gdb.base/hbreak-unmapped.exp: New file.
14599         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14600         * lib/gdb.exp (gdb_is_target_remote): ... here.
14601
14602 2014-04-22  Pedro Alves  <palves@redhat.com>
14603
14604         * gdb.base/consecutive-step-over.c: New file.
14605         * gdb.base/consecutive-step-over.exp: New file.
14606
14607 2014-04-22  Pedro Alves  <palves@redhat.com>
14608
14609         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14610         instead of send_gdb/gdb_expect.
14611
14612 2014-04-22  Yao Qi  <yao@codesourcery.com>
14613
14614         * lib/trace-support.exp (generate_tracefile): New procedure.
14615         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14616         return 0.
14617         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14618         if generate_tracefile returns 1.
14619
14620 2014-04-18  Tom Tromey  <palves@redhat.com>
14621             Pedro alves  <tromey@redhat.com>
14622
14623         PR backtrace/15558
14624         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14625         with a backtrace limit.
14626         * gdb.python/py-frame-inline.exp: Test running to an inline
14627         function with a backtrace limit, and printing the newest frame.
14628         * gdb.python/py-frame-inline.c (main): Call f.
14629
14630 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14631
14632         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14633
14634 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14635
14636         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14637         Drop prefix from unsupported source file path.
14638
14639 2014-04-17  Yao Qi  <yao@codesourcery.com>
14640
14641         * lib/gdb.exp (with_target_charset): New proc.
14642         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14643         with_target_charset.
14644         (test_print_strings): Likewise.
14645         (test_repeat_bytes): Likewise.
14646         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14647         for some tests.
14648
14649 2014-04-16  Keith Seitz  <keiths@redhat.com>
14650
14651         PR gdb/15827
14652         * gdb.dwarf2/corrupt.c: New file.
14653         * gdb.dwarf2/corrupt.exp: New file.
14654
14655 2014-04-16  Keith Seitz  <keiths@redhat.com>
14656
14657         PR c++/16597
14658         * gdb.cp/namelessclass.cc: New file.
14659         * gdb.cp/namelessclass.exp: New file.
14660         * gdb.cp/namelessclass.S: New file.
14661
14662 2014-04-16  Doug Evans  <dje@google.com>
14663
14664         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14665         Add comment.
14666         (gdbserver_default_get_comm_port): New function.
14667         (gdbserver_start): Check if board file provided
14668         "gdbserver,get_comm_port" and use it if so.
14669         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14670         (gdb,socketport): Set to "stdio".
14671         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14672         (stdio_gdbserver_template): Delete.
14673         (${board}_get_remote_address): Update.
14674         (${board}_build_remote_cmd): Delete.
14675         (${board}_get_comm_port): New function.
14676         (${board}_spawn): Update.
14677         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14678         Delete.
14679         (${board}_get_remote_address): Update.
14680         (${board}_get_comm_port): New function.
14681
14682 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14683
14684         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14685         appearing in any order.
14686
14687 2014-04-15  Doug Evans  <dje@google.com>
14688
14689         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14690         uninitialized value of "description".
14691
14692 2014-04-15  Keith Seitz  <keiths@redhat.com>
14693
14694         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14695         Remove unused globals.
14696         (test_running_the_program): Likewise.
14697         (test_controlled_execution): Likewise.
14698         (test_controlling_breakpoints): Likewise.
14699         (test_program_termination): Likewise.
14700
14701 2014-04-15  Keith Seitz  <keiths@redhat.com>
14702
14703         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14704         unused globals.
14705         (test_rbreak_creation_and_listing): Likewise.
14706         (test_ignore_count): Likewise.
14707         (test_error): Likewise.
14708
14709 2014-04-15  Pedro Alves  <palves@redhat.com>
14710
14711         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14712         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14713         sym-file-loader.c.
14714         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14715         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14716         to sym-file-loader.c.
14717         (struct library): Forward declare.
14718         (load_shlib, lookup_function): Change prototypes.
14719         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14720         (translate_offset): Remove declarations.
14721         (get_text_addr): New declaration.
14722         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14723         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14724         sym-file-loader.h.
14725         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14726         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14727         here from sym-file-loader.h.
14728         (struct library): New structure.
14729         (load_shlib, lookup_function): Change prototypes and adjust to
14730         work with a struct library.
14731         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14732         (translate_offset): Make static.
14733         (get_text_addr): New function.
14734         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14735
14736 2014-04-15  Pedro Alves  <palves@redhat.com>
14737
14738         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14739
14740 2014-04-15  Pedro Alves  <palves@redhat.com>
14741
14742         * gdb.base/sym-file-loader.c: Include <limits.h>.
14743         (SELF_LINK): New define.
14744         (get_origin): New function.
14745         (load_shlib): Use it.
14746         * gdb.base/sym-file.exp: Don't early return if the target is
14747         remote.  Use runto_main, and issue fail is that fails.  Use
14748         gdb_load_shlibs.
14749         (shlib_name): Delete.
14750         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14751
14752 2014-04-15  Pedro Alves <palves@redhat.com>
14753
14754         * gdb.base/sym-file.exp: Remove regex characters from test
14755         message.  Don't refer to breakpoint numbers in test messages.
14756
14757 2014-04-14  Keith Seitz  <keiths@redhat.com>
14758
14759         PR c++/16253
14760         * gdb.cp/var-tag.cc: New file.
14761         * gdb.cp/var-tag.exp: New file.
14762         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14763         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14764         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14765         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14766
14767 2014-04-14  Tom Tromey  <tromey@redhat.com>
14768
14769         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14770         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14771         type.
14772         * gdb.cp/enum-class.exp: New file.
14773         * gdb.cp/enum-class.cc: New file.
14774
14775 2014-04-14  Tom Tromey  <tromey@redhat.com>
14776
14777         * gdb.dwarf2/enum-type.exp: New file.
14778
14779 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14780
14781         * gdb.mi/mi-vla-c99.exp: New file.
14782         * gdb.mi/vla.c: New file.
14783
14784 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14785
14786         * gdb.base/vla-datatypes.c: New file.
14787         * gdb.base/vla-datatypes.exp: New file.
14788
14789 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14790
14791         * gdb.base/vla-ptr.c: New file.
14792         * gdb.base/vla-ptr.exp: New file.
14793
14794 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14795
14796         * gdb.dwarf2/count.exp: New file.
14797
14798 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14799
14800         * gdb.base/vla-sideeffect.c: New file.
14801         * gdb.base/vla-sideeffect.exp: New file.
14802
14803 2014-04-14  David Blaikie <dblaikie@gmail.com>
14804
14805         * gdb.mi/non-stop.c: Add return value for non-void function return
14806         statement.
14807         * gdb.threads/staticthreads.c: Ditto.
14808
14809 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14810             Doug Evans  <xdje42@gmail.com>
14811
14812         * gdb.guile/scm-value.c: Improve test case.
14813         * gdb.guile/scm-value.exp: Add new test.
14814
14815 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14816
14817         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14818         override Clang's default.
14819
14820 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14821
14822         Revert the following changes (regressions):
14823
14824         * gdb.base/vla-sideeffect.c: New file.
14825         * gdb.base/vla-sideeffect.exp: New file.
14826
14827         * gdb.dwarf2/count.exp: New file.
14828
14829         * gdb.base/vla-multi.c: New file.
14830         * gdb.base/vla-multi.exp: New file.
14831
14832         * gdb.base/vla-ptr.c: New file.
14833         * gdb.base/vla-ptr.exp: New file.
14834
14835         * gdb.base/vla-datatypes.c: New file.
14836         * gdb.base/vla-datatypes.exp: New file.
14837
14838         * gdb.mi/mi-vla-c99.exp: New file.
14839         * gdb.mi/vla.c: New file.
14840
14841 2014-04-11  Keith Seitz  <keiths@redhat.com>
14842
14843         PR c++/16675
14844         * gdb.cp/cpsizeof.exp: New file.
14845         * gdb.cp/cpsizeof.cc: New file.
14846
14847 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14848
14849         * gdb.mi/mi-vla-c99.exp: New file.
14850         * gdb.mi/vla.c: New file.
14851
14852 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14853
14854         * gdb.base/vla-datatypes.c: New file.
14855         * gdb.base/vla-datatypes.exp: New file.
14856
14857 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14858
14859         * gdb.base/vla-ptr.c: New file.
14860         * gdb.base/vla-ptr.exp: New file.
14861
14862 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14863
14864         * gdb.base/vla-multi.c: New file.
14865         * gdb.base/vla-multi.exp: New file.
14866
14867 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14868
14869         * gdb.dwarf2/count.exp: New file.
14870
14871 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14872
14873         * gdb.base/vla-sideeffect.c: New file.
14874         * gdb.base/vla-sideeffect.exp: New file.
14875
14876 2014-04-11  Yao Qi  <yao@codesourcery.com>
14877
14878         * gdb.base/completion.exp: Check file exists before running tests
14879         on file completion.
14880
14881 2014-04-10  Pedro Alves  <palves@redhat.com>
14882
14883         * gdb.base/cond-eval-mode.c: New file.
14884         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14885         prepare_for_testing to build the new file.  Check result of
14886         runto_main.
14887         (test_break, test_watch): New procedures.
14888         (top level): Use them.
14889
14890 2014-04-08  Pierre Muller  <muller@sourceware.org>
14891
14892         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14893         Ctrl-V use for mingw hosts.
14894
14895 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14896
14897         * gdb.python/py-value.c: Improve test case.
14898         * gdb.python/py-value.exp: Add new test.
14899
14900 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14901
14902         * lib/compiler.c: Identify the clang compiler.
14903         * lib/compiler.cc: Ditto.
14904
14905 2014-04-03  Yao Qi  <yao@codesourcery.com>
14906
14907         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14908
14909 2014-04-01  Anton Blanchard  <anton@samba.org>
14910
14911         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14912         messages unique.
14913
14914 2014-04-01  Anton Blanchard  <anton@samba.org>
14915
14916         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14917         prepare_for_testing.
14918
14919 2014-04-01  Anton Blanchard  <anton@samba.org>
14920
14921         * gdb.arch/ppc64-atomic-inst.c: Remove.
14922         * gdb.arch/ppc64-atomic-inst.S: New file.
14923         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14924
14925 2014-03-31  Doug Evans  <dje@google.com>
14926
14927         * gdb.base/print-symbol-loading-lib.c: New file.
14928         * gdb.base/print-symbol-loading-main.c: New file.
14929         * gdb.base/print-symbol-loading.exp: New file.
14930
14931 2014-03-31  Yao Qi  <yao@codesourcery.com>
14932
14933         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14934
14935 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14936
14937         * gdb.ada/mi_dyn_arr: New testcase.
14938
14939 2014-03-27  Doug Evans  <dje@google.com>
14940
14941         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14942
14943 2014-03-27  Yao Qi  <yao@codesourcery.com>
14944
14945         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14946         if target is nios2-*-*.
14947
14948 2014-03-26  Yao Qi  <yao@codesourcery.com>
14949
14950         * lib/gdb.exp (readline_is_used): New proc.
14951         * gdb.base/completion.exp: Move tests on command complete up.
14952         Skip the rest of tests if readline is not used.
14953         * gdb.ada/complete.exp: Skp the test if readline is not
14954         used.
14955         * gdb.base/filesym.exp: Likewise.
14956         * gdb.base/macscp.exp: Likewise.
14957         * gdb.base/readline-ask.exp: Likewise.
14958         * gdb.base/readline.exp: Likewise.
14959         * gdb.python/py-cmd.exp: Likewise.
14960         * gdb.trace/tfile.exp: Likewise.
14961
14962 2014-03-26  Yao Qi  <yao@codesourcery.com>
14963
14964         * gdb.base/macscp.exp: Fix code format issues.
14965
14966 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14967
14968         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14969         * gdb.asm/powerpc64le.inc: New file.
14970
14971 2014-03-25  Pedro Alves  <palves@redhat.com>
14972             Doug Evans  <dje@google.com>
14973
14974         * gdb.base/source-execution.c: New file.
14975         * gdb.base/source-execution.exp: New file.
14976         * gdb.base/source-execution.gdb: New file.
14977
14978 2014-03-24  Doug Evans  <dje@google.com>
14979
14980         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14981         using fission.
14982
14983 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14984             Pedro Alves  <palves@redhat.com>
14985
14986         PR breakpoints/16101
14987         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14988         test pass/fail messages.  Detect missing support for dprintf when
14989         breakpoints are actually inserted.
14990         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14991         breakpoints are actually inserted.
14992         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14993         fails.
14994
14995 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14996
14997         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14998
14999 2014-03-22  Doug Evans  <xdje42@gmail.com>
15000
15001         * gdb.python/python.exp (python not supported): Verify multi-line
15002         python command issues an error.
15003         * gdb.guile/guile.exp (guile not supported): Verify multi-line
15004         guile command issues an error.
15005
15006 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
15007
15008         * gdb.threads/thread-specific.exp: Handle the lack of usable
15009         $this_breakpoint and $this_thread.
15010
15011 2014-03-21  Hui Zhu  <hui@codesourcery.com>
15012
15013         * gdb.base/attach.exp (do_command_attach_tests): New.
15014
15015 2014-03-20  Tom Tromey  <tromey@redhat.com>
15016             Pedro Alves  <palves@redhat.com>
15017
15018         PR cli/15718
15019         * gdb.base/condbreak-call-false.c: New file.
15020         * gdb.base/condbreak-call-false.exp: New file.
15021
15022 2014-03-20  Pedro Alves  <palves@redhat.com>
15023
15024         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15025         Delete.
15026         (block_signals, unblock_signals): Delete.
15027         (child_function_2, main): Remove references to deleted variable
15028         and functions.
15029
15030 2014-03-20  Pedro Alves  <palves@redhat.com>
15031
15032         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15033         Use pthread_kill to signal thread 2.
15034         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15035         Adjust to make the test send itself a signal rather than using the
15036         host's "kill" command.
15037
15038 2014-03-20  Pedro Alves  <palves@redhat.com>
15039
15040         * gdb.threads/multiple-step-overs.c: New file.
15041         * gdb.threads/multiple-step-overs.exp: New file.
15042         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15043         Adjust expected infrun debug output.
15044
15045 2014-03-20  Pedro Alves  <palves@redhat.com>
15046
15047         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15048         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15049
15050 2014-03-20  Pedro Alves  <palves@redhat.com>
15051
15052         PR breakpoints/7143
15053         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15054         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
15055         of gdb_test_multiple.
15056         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15057         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15058
15059 2014-03-20  Pedro Alves  <palves@redhat.com>
15060
15061         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15062         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15063
15064 2014-03-19  Pedro Alves  <palves@redhat.com>
15065
15066         * gdb.base/async.exp: Remove early return.
15067
15068 2014-03-19  Pedro Alves  <palves@redhat.com>
15069
15070         * gdb.base/async.exp (step& tests): Pass explicit test messages.
15071
15072 2014-03-19  Pedro Alves  <palves@redhat.com>
15073
15074         * gdb.base/async.exp (test_background): Expect \r\n after
15075         "completed." in the fail pattern.
15076
15077 2014-03-19  Pedro Alves  <palves@redhat.com>
15078
15079         * gdb.base/async.exp (test_background): New procedure.
15080         Use it for all background execution command tests.
15081
15082 2014-03-19  Pedro Alves  <palves@redhat.com>
15083
15084         * gdb.base/async.exp: Use prepare_for_testing.
15085
15086 2014-03-19  Pedro Alves  <palves@redhat.com>
15087
15088         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
15089         the same line.
15090
15091 2014-03-19  Pedro Alves  <palves@redhat.com>
15092
15093         * gdb.base/async.c (main): Add "jump here" and "until here" line
15094         marker comments.
15095         * gdb.base/async.exp (jump_here): New global.
15096         (jump& test): Use it.
15097         (until_here): New global.
15098         (until& test): Use it.
15099
15100 2014-03-19  Pedro Alves  <palves@redhat.com>
15101
15102         * gdb.base/async.exp: Don't frob gdb_protocol.
15103
15104 2014-03-18  Doug Evans  <xdje42@gmail.com>
15105
15106         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
15107         Fix spelling of exec-done-display.
15108
15109 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
15110
15111         PR gdb/15358
15112         * gdb.base/gdb-sigterm.c: New file.
15113         * gdb.base/gdb-sigterm.exp: New file.
15114
15115 2014-03-18  Pedro Alves  <palves@redhat.com>
15116
15117         PR gdb/13860
15118         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15119         * lib/mi-support.exp (mi_expect_stop): Add special handling for
15120         solib-event.
15121
15122 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
15123
15124         * gdb.ada/pckd_arr_ren: New testcase.
15125
15126 2014-03-13  Doug Evans  <xdje42@gmail.com>
15127
15128         PR guile/16612
15129         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15130         collect after discarding symbols.
15131
15132 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
15133             Doug Evans  <xdje42@gmail.com>
15134
15135         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15136         to history survives a gc.
15137
15138 2014-03-13  Pedro Alves  <palves@redhat.com>
15139
15140         * gdb.base/default.exp: Don't test "target procfs".
15141
15142 2014-03-13  Pedro Alves  <palves@redhat.com>
15143
15144         * gdb.base/default.exp: Update "target child" and "target procfs"
15145         tests to not expect "Unix".
15146
15147 2014-03-12  Tom Tromey  <tromey@redhat.com>
15148
15149         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15150         New procs.  Add target-async tests.
15151         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15152         Add target-async tests.
15153
15154 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15155
15156         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15157         'func_start' and 'func_end' for the beginning and end of the
15158         function code, respectively.
15159         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15160         'func_end' instead of 'func' and 'main'.
15161
15162 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15163
15164         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15165         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15166         generate the debug info assembler source.
15167
15168 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15169
15170         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15171         * gdb.dwarf2/arr-subrange.exp: Likewise.
15172         * gdb.dwarf2/dwz.exp: Likewise.
15173         * gdb.dwarf2/method-ptr.exp: Likewise.
15174         * gdb.dwarf2/missing-sig-type.exp: Likewise.
15175         * gdb.dwarf2/subrange.exp: Likewise.
15176         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15177         * gdb.dwarf2/implptrpiece.exp: Likewise.
15178         * gdb.dwarf2/nostaticblock.exp: Likewise.
15179
15180 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15181
15182         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15183         directory to absolute path name arguments.
15184
15185 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
15186
15187         * gdb.ada/tagged_access: New testcase.
15188
15189 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
15190
15191         * gdb.btrace/data.exp: Update expected output.
15192
15193 2014-03-06  Yao Qi  <yao@codesourcery.com>
15194
15195         * gdb.trace/pr16508.exp: New file.
15196
15197 2014-03-05  Pedro Alves  <palves@redhat.com>
15198
15199         PR gdb/16575
15200         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15201         procedure.
15202         (top level): Adjust to use it.  Add tests that exercise breakpoint
15203         interaction with the code-cache.
15204
15205 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
15206
15207         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15208         test for 'history-append!'.
15209
15210 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15211
15212         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15213         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15214         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15215         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15216         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15217         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15218
15219 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15220
15221         * testsuite/gdb.python/py-pp-re-notag.c: New file.
15222         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15223         * testsuite/gdb.python/py-pp-re-notag.p: New file.
15224
15225 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15226
15227         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15228
15229 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
15230
15231         * gdb.dwarf2/arr-stride.c: New file.
15232         * gdb.dwarf2/arr-stride.exp: New file.
15233
15234 2014-02-26  Pedro Alves  <palves@redhat.com>
15235
15236         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15237         that won't ever trigger.  Make sure that GDB reports the correct
15238         breakpoint that caused the stop.
15239
15240 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15241
15242         PR gdb/16626
15243         * gdb.base/auto-load-script: New file.
15244         * gdb.base/auto-load.c: New file.
15245         * gdb.base/auto-load.exp: New file.
15246
15247         PR gdb/16626
15248         * gdb.base/auto-load.exp: Fix out-of-srctree run.
15249
15250 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15251
15252         Fix dw2-icycle.exp -fsanitize=address GDB crash.
15253         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15254
15255 2014-02-24  Doug Evans  <dje@google.com>
15256
15257         * lib/gdb.exp (run_on_host): Log error output if program fails.
15258
15259 2014-02-21  Pedro Alves  <palves@redhat.com>
15260
15261         * gdb.threads/step-after-sr-lock.c: Rename to ...
15262         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15263         * gdb.threads/step-after-sr-lock.exp: Rename to ...
15264         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15265         ... this.
15266
15267 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
15268
15269         PR tdep/16397
15270         * gdb.arch/amd64-stap-special-operands.exp: New file.
15271         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15272         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15273         * gdb.arch/amd64-stap-triplet.S: Likewise.
15274         * gdb.arch/amd64-stap-triplet.c: Likewise.
15275
15276 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
15277
15278         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15279         in .section pseudo-op.
15280
15281 2014-02-20  lin zuojian  <manjian2006@gmail.com>
15282             Joel Brobecker  <brobecker@adacore.com>
15283             Doug Evans  <xdje42@gmail.com>
15284
15285         PR symtab/16581
15286         * gdb.dwarf2/dw2-icycle.S: New file.
15287         * gdb.dwarf2/dw2-icycle.c: New file.
15288         * gdb.dwarf2/dw2-icycle.exp: New file.
15289
15290 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
15291
15292         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15293         operations on gdb.Value objects.
15294         * gdb.python/py-value-cc.exp: Add new test to test operations on
15295         gdb.Value objects.
15296
15297 2014-02-18  Doug Evans  <dje@google.com>
15298
15299         * Makefile.in (TESTS): New variable.
15300         (expanded_tests, expanded_tests_or_none): New variables
15301         (check-single): Pass $(expanded_tests_or_none) to runtest.
15302         (check-parallel): Only run tests in $(TESTS) if non-empty.
15303         (check/no-matching-tests-found): New rule.
15304         * README: Document TESTS makefile variable.
15305
15306 2014-02-18  Doug Evans  <dje@google.com>
15307
15308         * Makefile.in (check-parallel): rm -rf outputs temp.
15309
15310 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15311
15312         Fix "ERROR: no fileid for" in the testsuite.
15313         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15314
15315 2014-02-12  Doug Evans  <dje@google.com>
15316
15317         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15318         (MISCELLANEOUS): New variable.
15319         (clean): rm -rf $(MISCELLANEOUS).
15320         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15321         dwp live in the same directory as symlinks, with each symlink pointed
15322         to a differently named file in a different directory.
15323
15324 2014-02-11  Doug Evans  <dje@google.com>
15325
15326         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15327         of Tcl file commands.
15328
15329 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15330
15331         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15332         "kill -SIGUSR1 -1".
15333
15334 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15335
15336         * gdb.ada/tick_length_array_enum_idx: New testcase.
15337
15338 2014-02-10  Doug Evans  <xdje42@gmail.com>
15339
15340         * configure.ac (AC_OUTPUT): Add gdb.guile.
15341         * configure: Regenerate.
15342         * lib/gdb-guile.exp: New file.
15343         * lib/gdb.exp (get_target_charset): New function.
15344         * gdb.base/help.exp: Update expected output from "apropos apropos".
15345         * gdb.guile/Makefile.in: New file.
15346         * gdb.guile/guile.exp: New file.
15347         * gdb.guile/scm-arch.c: New file.
15348         * gdb.guile/scm-arch.exp: New file.
15349         * gdb.guile/scm-block.c: New file.
15350         * gdb.guile/scm-block.exp: New file.
15351         * gdb.guile/scm-breakpoint.c: New file.
15352         * gdb.guile/scm-breakpoint.exp: New file.
15353         * gdb.guile/scm-disasm.c: New file.
15354         * gdb.guile/scm-disasm.exp: New file.
15355         * gdb.guile/scm-equal.c: New file.
15356         * gdb.guile/scm-equal.exp: New file.
15357         * gdb.guile/scm-error.exp: New file.
15358         * gdb.guile/scm-error.scm: New file.
15359         * gdb.guile/scm-frame-args.c: New file.
15360         * gdb.guile/scm-frame-args.exp: New file.
15361         * gdb.guile/scm-frame-args.scm: New file.
15362         * gdb.guile/scm-frame-inline.c: New file.
15363         * gdb.guile/scm-frame-inline.exp: New file.
15364         * gdb.guile/scm-frame.c: New file.
15365         * gdb.guile/scm-frame.exp: New file.
15366         * gdb.guile/scm-generics.exp: New file.
15367         * gdb.guile/scm-gsmob.exp: New file.
15368         * gdb.guile/scm-iterator.c: New file.
15369         * gdb.guile/scm-iterator.exp: New file.
15370         * gdb.guile/scm-math.c: New file.
15371         * gdb.guile/scm-math.exp: New file.
15372         * gdb.guile/scm-objfile-script-gdb.in: New file.
15373         * gdb.guile/scm-objfile-script.c: New file.
15374         * gdb.guile/scm-objfile-script.exp: New file.
15375         * gdb.guile/scm-objfile.c: New file.
15376         * gdb.guile/scm-objfile.exp: New file.
15377         * gdb.guile/scm-ports.exp: New file.
15378         * gdb.guile/scm-pretty-print.c: New file.
15379         * gdb.guile/scm-pretty-print.exp: New file.
15380         * gdb.guile/scm-pretty-print.scm: New file.
15381         * gdb.guile/scm-section-script.c: New file.
15382         * gdb.guile/scm-section-script.exp: New file.
15383         * gdb.guile/scm-section-script.scm: New file.
15384         * gdb.guile/scm-symbol.c: New file.
15385         * gdb.guile/scm-symbol.exp: New file.
15386         * gdb.guile/scm-symtab-2.c: New file.
15387         * gdb.guile/scm-symtab.c: New file.
15388         * gdb.guile/scm-symtab.exp: New file.
15389         * gdb.guile/scm-type.c: New file.
15390         * gdb.guile/scm-type.exp: New file.
15391         * gdb.guile/scm-value-cc.cc: New file.
15392         * gdb.guile/scm-value-cc.exp: New file.
15393         * gdb.guile/scm-value.c: New file.
15394         * gdb.guile/scm-value.exp: New file.
15395         * gdb.guile/source2.scm: New file.
15396         * gdb.guile/types-module.cc: New file.
15397         * gdb.guile/types-module.exp: New file.
15398
15399 2014-02-10  Yao Qi  <yao@codesourcery.com>
15400
15401         PR testsuite/16543
15402         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15403         * configure: Regenerated.
15404         * Makefile.in: New file.
15405
15406 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15407
15408         * gdb.python/py-framefilter.exp: Fix typo.
15409
15410 2014-02-08  Yao Qi  <yao@codesourcery.com>
15411
15412         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15413         that no =breakpoint-modified is emitted when breakpoints are
15414         modified through MI commands.
15415
15416 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15417             Pedro Alves  <palves@redhat.com>
15418
15419         * gdb.threads/step-after-sr-lock.c: New file.
15420         * gdb.threads/step-after-sr-lock.exp: New file.
15421
15422 2014-02-07  Pedro Alves  <palves@redhat.com>
15423
15424         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15425
15426 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15427
15428         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15429         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15430
15431 2014-02-06  Doug Evans  <xdje42@gmail.com>
15432
15433         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15434         output.
15435
15436         * gdb.gdb/python-interrupts.exp: New file.
15437
15438 2014-02-05  Yao Qi  <yao@codesourcery.com>
15439
15440         * gdb.trace/report.exp (use_collected_data): Test the output
15441         of "info threads" and "info inferiors".
15442
15443 2014-02-05  Yao Qi  <yao@codesourcery.com>
15444
15445         Revert this patch:
15446
15447         2013-05-24  Yao Qi  <yao@codesourcery.com>
15448
15449         * gdb.trace/tfile.exp: Test inferior and thread.
15450
15451 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15452
15453         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15454         on a function.
15455         * gdb.base/step-bt.c: Call hello via function pointer to make
15456         sure its first instruction is executed on powerpc64le-linux.
15457
15458 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15459
15460         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15461
15462 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15463
15464         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15465         of the test patterns for use on little-endian systems.
15466
15467 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15468
15469         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15470         (decimal_vector): Fix for little-endian.
15471
15472 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15473
15474         * gdb.arch/sparc-sysstep.exp: New file.
15475         * gdb.arch/sparc-sysstep.c: Likewise.
15476
15477         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15478
15479 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15480
15481         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15482
15483 2014-01-23  Tom Tromey  <tromey@redhat.com>
15484
15485         * gdb.ada/array_char_idx: New testcase.
15486
15487 2014-01-23  Tom Tromey  <tromey@redhat.com>
15488
15489         PR python/16487:
15490         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15491         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15492         classes.
15493
15494 2014-01-23  Tom Tromey  <tromey@redhat.com>
15495
15496         PR python/16491:
15497         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15498         string from an inferior frame.
15499         * gdb.python/py-framefilter-mi.exp: Update.
15500
15501 2014-01-22  Doug Evans  <dje@google.com>
15502
15503         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15504
15505 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15506
15507         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15508
15509 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15510
15511         * gdb.trace/entry-values.exp: Remove excess space character from
15512         regex patterns.  Handle s390 call instruction.
15513
15514 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15515
15516         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15517         define "*_start" label.  Make "name" static.
15518         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15519         ${name} by references to ${name}_start.
15520
15521 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15522
15523         * gdb.base/info-macros.exp: Remove "debug" from the compile
15524         options.
15525
15526 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15527
15528         * gdb.dlang/demangle.exp: New file.
15529
15530 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15531
15532         * gdb.dlang/primitive-types.exp: New file.
15533
15534 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15535
15536         * configure.ac: Create gdb.dlang/Makefile.
15537         * configure: Regenerate.
15538         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15539         * gdb.dlang/Makefile.in: New file.
15540         * lib/d-support.exp: New file.
15541         * lib/gdb.exp (skip_d_tests): New proc.
15542
15543 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15544
15545         * gdb.btrace/delta.exp: Check reverse stepi.
15546         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15547         * gdb.btrace/finish.exp: New.
15548         * gdb.btrace/next.exp: New.
15549         * gdb.btrace/nexti.exp: New.
15550         * gdb.btrace/record_goto.c: Add comments.
15551         * gdb.btrace/step.exp: New.
15552         * gdb.btrace/stepi.exp: New.
15553         * gdb.btrace/multi-thread-step.c: New.
15554         * gdb.btrace/multi-thread-step.exp: New.
15555         * gdb.btrace/rn-dl-bind.c: New.
15556         * gdb.btrace/rn-dl-bind.exp: New.
15557         * gdb.btrace/data.c: New.
15558         * gdb.btrace/data.exp: New.
15559         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15560
15561 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15562
15563         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15564         * gdb.btrace/exception.exp: Update.
15565         * gdb.btrace/instruction_history.exp: Update.
15566         * gdb.btrace/record_goto.exp: Update.
15567         * gdb.btrace/tailcall.exp: Update.
15568         * gdb.btrace/unknown_functions.exp: Update.
15569         * gdb.btrace/delta.exp: New.
15570
15571 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15572
15573         * gdb.btrace/record_goto.exp: Add backtrace test.
15574         * gdb.btrace/tailcall.exp: Add backtrace test.
15575
15576 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15577
15578         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15579         * gdb.btrace/record_goto.c: New.
15580         * gdb.btrace/record_goto.exp: New.
15581         * gdb.btrace/x86-record_goto.S: New.
15582
15583 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15584
15585         * gdb.btrace/function_call_history.exp: Update tests.
15586         * gdb.btrace/instruction_history.exp: Update tests.
15587
15588 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15589
15590         * gdb.btrace/function_call_history.exp: Fix expected field
15591         order for "record function-call-history".
15592         Add new tests for "record function-call-history /c".
15593         * gdb.btrace/exception.cc: New.
15594         * gdb.btrace/exception.exp: New.
15595         * gdb.btrace/tailcall.exp: New.
15596         * gdb.btrace/x86-tailcall.S: New.
15597         * gdb.btrace/x86-tailcall.c: New.
15598         * gdb.btrace/unknown_functions.c: New.
15599         * gdb.btrace/unknown_functions.exp: New.
15600         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15601
15602 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15603
15604         * gdb.btrace/instruction_history.exp: Update.
15605         * gdb.btrace/function_call_history.exp: Update.
15606
15607 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15608
15609         * gdb.btrace/function_call_history.exp: Fix expected function
15610         trace.
15611         * gdb.btrace/instruction_history.exp: Initialize traced.
15612         Remove traced_functions.
15613
15614 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15615
15616         * gdb.btrace/function_call_history.exp: Update
15617         * gdb.btrace/instruction_history.exp: Update.
15618
15619 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15620
15621         * gdb.btrace/enable.exp: Update expected text.
15622
15623 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15624
15625         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15626         bytes.
15627
15628 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15629
15630         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15631
15632 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15633
15634         * lib/gdb.exp (supports_process_record): Return true for
15635         arm*-linux*.  (supports_reverse): Likewise.
15636
15637 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15638
15639         PR python/15464
15640         PR python/16113
15641         * gdb.python/py-type.c: Enhance test case.
15642         * gdb.python/py-value-cc.cc: Likewise
15643         * gdb.python/py-type.exp: Add new tests.
15644         * gdb.python/py-value-cc.exp: Likewise
15645
15646 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15647             Pedro Alves <palves@redhat.com>
15648
15649         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15650         Make "name" extern.
15651         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15652         references to ${name}_start by references to ${name}.
15653
15654 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15655
15656         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15657
15658 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15659
15660         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15661
15662 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15663             Pedro Alves  <palves@redhat.com>
15664
15665         * gdb.mi/mi-info-os.exp: Connect to the target with
15666         mi_gdb_target_load.
15667
15668 2014-01-08  Pedro Alves  <palves@redhat.com>
15669
15670         * gdb.threads/reconnect-signal.c: New file.
15671         * gdb.threads/reconnect-signal.exp: New file.
15672
15673 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15674
15675         * gdb.base/source-dir.exp: New file.
15676
15677 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15678
15679         * gdb.ada/mi_interface: New testcase.
15680
15681 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15682
15683         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15684         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15685         gdb.ada/pp-rec-component/pck.ads: New files.
15686
15687 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15688
15689         * gdb.python/py-pp-integral.c: New file.
15690         * gdb.python/py-pp-integral.py: New file.
15691         * gdb.python/py-pp-integral.exp: New file.
15692
15693 For older changes see ChangeLog-1993-2013.
15694 \f
15695 ;; Local Variables:
15696 ;; mode: change-log
15697 ;; left-margin: 8
15698 ;; fill-column: 74
15699 ;; version-control: never
15700 ;; End:
15701
15702     Copyright 2014-2019 Free Software Foundation, Inc.
15703   Copying and distribution of this file, with or without modification,
15704   are permitted provided the copyright notice and this notice are preserved.