Fix gdb segv when objfile can't be opened
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2017-10-30  Mike Gulick  <mgulick@mathworks.com>
2
3         PR gdb/16577
4         * gdb.base/solib-vanish.exp: New.
5         * gdb.base/solib-vanish-main.c: New.
6         * gdb.base/solib-vanish-lib1.c: New.
7         * gdb.base/solib-vanish-lib2.c: New.
8
9 2018-01-17  Yao Qi  <yao.qi@linaro.org>
10
11         * gdb.compile/compile.exp: Match the address printed for
12         frame in the output of command "bt".
13
14 2018-01-15  Tom Tromey  <tom@tromey.com>
15
16         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
17         compute sp_reg.
18
19 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
20
21         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
22         to prepare.
23         (prepare): Return 0 on error, 1 on success.
24
25 2018-01-12  Pedro Alves  <palves@redhat.com>
26
27         * gdb.base/continue-after-aborted-step-over.c: New.
28         * gdb.base/continue-after-aborted-step-over.exp: New.
29
30 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
31
32         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
33         options when not creating an executable.
34
35 2018-01-11  Pedro Alves  <palves@redhat.com>
36
37         PR remote/22597
38         * gdb.server/stop-reply-no-thread.c: New file.
39         * gdb.server/stop-reply-no-thread.exp: New file.
40
41 2018-01-10  Pedro Alves  <palves@redhat.com>
42
43         PR gdb/22670
44         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
45         functions too.  Test setting breakpoints and printing C functions
46         with no debug info too.
47         * gdb.ada/bp_c_mixed_case/qux.c: New file.
48
49 2018-01-10  Pedro Alves  <palves@redhat.com>
50
51         PR gdb/22670
52         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
53         a fail.
54
55 2018-01-10  Pedro Alves  <palves@redhat.com>
56
57         PR gdb/22670
58         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
59
60 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
61
62         * gdb.server/unittest.exp: Match the output in non-development
63         mode.
64
65 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
66
67         * gdb.gdb/unittest.exp: Match output in non-development mode.
68
69 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
70
71         * gdb.ada/access_tagged_param.exp: Relax expected output
72         for value of "ObjL" in "continue" to pck.inspect breakpoint
73         test.
74
75 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
76
77         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
78         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
79
80 2018-01-05  Pedro Alves  <palves@redhat.com>
81
82         PR gdb/18653
83         * gdb.base/libsegfault.exp: New.
84
85 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
86
87         PR gdb/22670
88         * gdb.ada/access_tagged_param.exp: New file.
89         * gdb.ada/access_tagged_param/foo.adb: New file.
90
91 2018-01-05  Pedro Alves  <palves@redhat.com>
92
93         PR gdb/22670
94         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
95         exercise lower case too, and to exercise both full matching and
96         wild matching.
97
98 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
99
100         * gdb.ada/rename_subscript_param: New testcase.
101
102 2018-01-05  Jerome Guitton  <guitton@adacore.com>
103
104         * gdb.ada/arr_acc_idx_w_gap: New testcase.
105
106 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
107
108         * gdb.ada/convvar_comp: New testcase.
109
110 2018-01-05  Xavier Roirand  <roirand@adacore.com>
111
112         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
113         (My_Table): New global variable.
114         * testsuite/gdb.ada/array_char_idx.exp: Add test.
115
116 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
117
118         PR gdb/22670
119         * gdb.ada/maint_with_ada: New testcase.
120
121 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
122
123         PR gdb/22670
124         * gdb.ada/bp_c_mixed_case: New testcase.
125
126 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
127
128         PR gdb/22670
129         * gdb.ada/complete.exp: Add "complete break ada" test.
130
131 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
132
133         PR gdb/22670
134         * gdb.ada/info_addr_mixed_case: New testcase.
135
136 2018-01-03  Xavier Roirand  <roirand@adacore.com>
137
138         * gdb.ada/excep_handle.exp: New testcase.
139         * gdb.ada/excep_handle/foo.adb: New file.
140         * gdb.ada/excep_handle/pck.ads: New file.
141
142 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
143
144         * gdb.base/step-line.c: Add extra empty line in copyright header.
145         * gdb.base/step-line.inp: Likewise.
146
147 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
148
149         * gdb.ada/dyn_stride.exp: Add slice test.
150
151 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
152
153         * gdb.ada/dyn_stride: New testcase.
154
155 2017-12-27  Stafford Horne  <shorne@gmail.com>
156
157         * gdb.xml/extra-regs.xml: Add example foo reggroup.
158         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
159
160 2017-12-27  Stafford Horne  <shorne@gmail.com>
161
162         * gdb.base/reggroups.c: New file.
163         * gdb.base/reggroups.exp: New file.
164
165 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
166
167         * gdb.dwarf2/ada-valprint-error.c: New file.
168         * gdb.dwarf2/ada-valprint-error.exp: New file.
169
170 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
171
172         * gdb.ada/assign_arr: New testcase.
173
174 2017-12-18  Xavier Roirand  <roirand@adacore.com>
175
176         * gdb.ada/funcall_ptr: New testcase.
177
178 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
179
180         PR cli/16224
181         * gdb.base/ptype-offsets.cc: New file.
182         * gdb.base/ptype-offsets.exp: New file.
183
184 2017-12-15  Yao Qi  <yao.qi@linaro.org>
185
186         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
187         if XML is disabled.
188
189 2017-12-15  Xavier Roirand  <roirand@adacore.com>
190
191         * gdb.ada/same_component_name: New testcase.
192
193 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
194
195         * gdb.ada/str_binop_equal: New testcase.
196
197 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
198
199         * gdb.ada/task_switch_in_core: New testcase.
200
201 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
202
203         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
204         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
205         call test_bkpt_qualified.
206         (test_bkpt_qualified): New proc.
207
208 2017-12-13  Pedro Alves  <palves@redhat.com>
209
210         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
211         Tighten regexp by matching with an anchor.
212
213 2017-12-13  Pedro Alves  <palves@redhat.com>
214
215         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
216         ("expression with namespace"): New set of tests.
217         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
218         (Nested::Test_NS::qux): New.
219         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
220         defaults to 'start_quote_char' and 'end_quote_char' parameters.
221
222 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
223
224         * gdb.base/server-del-break.c: New file.
225         * gdb.base/server-del-break.exp: New file.
226
227 2017-12-12  Stafford Horne  <shorne@gmail.com>
228
229         * gdb.xml/tdesc-regs.exp: Add or1k support.
230
231 2017-12-12  Stafford Horne  <shorne@gmail.com>
232
233         * gdb.base/bp-permanent.c: Define nop of or1k.
234
235 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
236
237         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
238         output with components being reordered.
239
240 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
241
242         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
243         output with components being reordered.
244
245 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
246             Pedro Alves  <palves@redhat.com>
247
248         * gdb.base/maint.exp (check for .gdb_index): Check also for
249         .debug_names.
250         * gdb.dlang/watch-loc.c (.debug_aranges): New.
251         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
252         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
253         (.gdb_index used after symbol reloading): Support also .debug_names.
254         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
255
256 2017-12-08  Yao Qi  <yao.qi@linaro.org>
257
258         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
259         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
260
261 2017-12-08  Yao Qi  <yao.qi@linaro.org>
262
263         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
264         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
265
266 2017-12-08  Yao Qi  <yao.qi@linaro.org>
267
268         * gdb.arch/aarch64-tagged-pointer.c: New file.
269         * gdb.arch/aarch64-tagged-pointer.exp: New file.
270
271 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
272
273         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
274         "int".
275
276 2017-12-07  Keith Seitz  <keiths@redhat.com>
277
278         PR breakpoints/22569
279         * gdb.linespec/ls-errs.exp: Change expected result of "break
280         -source this file has spaces.c -line 3".
281         Check that an explicit source file followed by whitespace is
282         identified as an invalid explicit location.
283
284 2017-12-07  Keith Seitz  <keiths@redhat.com>
285
286         * gdb.cp/nested-types.cc: New file.
287         * gdb.cp/nested-types.exp: New file.
288         * lib/cp-support.exp: Load data-structures.exp library.
289         (debug_cp_test_ptype_class): New global.
290         (cp_ptype_class_verbose, next_line): New procedures.
291         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
292         Add and document new return value.
293         Switch the list of lines to a queue.
294         Add support for new `type' key for nested type definitions.
295         Add debugging/troubleshooting messages.
296         * lib/data-structures.exp: New file.
297
298 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
299
300         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
301         with proc_with_prefix, don't use with_test_prefix.
302
303 2017-12-07  Tom Tromey  <tom@tromey.com>
304
305         * gdb.base/break.exp: Add test for empty "commands".
306
307 2017-12-07  Yao Qi  <yao.qi@linaro.org>
308
309         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
310         malloc and catch syscall.
311
312 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
313
314        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
315         tests for explicit locations.
316
317 2017-12-06  Pedro Alves  <palves@redhat.com>
318
319         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
320         force-disabling XML descriptions.
321
322 2017-12-04  Pedro Alves  <palves@redhat.com>
323
324         PR gdb/22499
325         * gdb.arch/amd64-disp-step-avx.S: New file.
326         * gdb.arch/amd64-disp-step-avx.exp: New file.
327
328 2017-12-03  Pedro Alves  <palves@redhat.com>
329
330         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
331         and <string.h>.
332         (parent_function): Print distinct messages when waitpid fails, or
333         the child exits with a signal, or the child exits for an unhandled
334         reason.
335         * gdb.threads/process-dies-while-detaching.exp
336         (detach_and_expect_exit): New 'inf_output_re' parameter and use
337         it.  Wait for both inferior output and GDB's prompt.  Use an
338         indirect spawn id list.
339         (do_detach): New parameter 'child_exit'.  Use it to compute
340         expected inferior output.
341         (test_detach, test_detach_watch, test_detach_killed_outside):
342         Adjust to pass down the expected child exit kind.
343
344 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
345             Sergio Durigan Junior  <sergiodj@redhat.com>
346             Pedro Alves  <palves@redhat.com>
347
348         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
349
350 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
351
352         * gdb.base/relocate.exp: Add tests to guarantee that arguments
353         to 'symbol-file' and 'add-symbol-file' can be
354         position-independent.
355
356 2017-12-01  Yao Qi  <yao.qi@linaro.org>
357
358         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
359         the URL in copyright header.
360         * gdb.arch/aarch64-fp.exp: Likewise.
361         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
362         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
363         * gdb.base/expand-psymtabs.exp: Likewise.
364         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
365         * gdb.fortran/common-block.exp: Likewise.
366         * gdb.fortran/common-block.f90: Likewise.
367         * gdb.fortran/logical.exp: Likewise.
368         * gdb.fortran/vla-datatypes.f90: Likewise.
369         * gdb.fortran/vla-sub.f90: Likewise.
370
371 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
372
373         * gdb.ada/repeat_dyn: New testcase.
374
375 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
376
377         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
378         Update for changed thread numbering.
379         * gdb.cell/bt.exp: Update for changed GDB output.
380
381 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
382
383         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
384         setting isremote by hand.
385         * boards/dwarf4-gdb-index.exp: Likewise.
386         * boards/fission.exp: Likewise.
387         * boards/stabs.exp: Likewise.
388
389 2017-11-30  Pedro Alves  <palves@redhat.com>
390
391         * gdb.linespec/cpls-ops.exp
392         (check_explicit_skips_function_argument): Extract the underlying
393         type of size_t instead of hardcoding it.
394
395 2017-11-29  Pedro Alves  <palves@redhat.com>
396
397         PR c++/19436
398         * gdb.linespec/cpls-abi-tag.cc: New file.
399         * gdb.linespec/cpls-abi-tag.exp: New file.
400
401 2017-11-29  Pedro Alves  <palves@redhat.com>
402
403         * gdb.base/langs.exp: Use -qualified.
404         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
405         it.
406         * gdb.cp/namespace.exp: Use -qualified.
407         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
408         (overload-3, template-overload, template-ret-type, const-overload)
409         (const-overload-quoted, anon-ns, ambiguous-prefix): New
410         procedures.
411         (test_driver): Call them.
412         * gdb.cp/save-bp-qualified.cc: New.
413         * gdb.cp/save-bp-qualified.exp: New.
414         * gdb.linespec/explicit.exp: Test -qualified.
415         * lib/completion-support.exp (completion::explicit_opts_list): Add
416         "-qualified".
417         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
418
419 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
420
421         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
422
423 2017-11-29  Tom Tromey  <tom@tromey.com>
424
425         * gdb.base/relocate.exp: Update invalid argument test.
426         Add new tests for invalid arguments.
427
428 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
429
430         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
431         Return 0 as a long.
432         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
433
434 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
435
436         * gdb.cp/breakpoint.cc (bar): Set return type to void.
437         * gdb.cp/psymtab-parameter.cc (func): Likewise.
438         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
439         func ().
440         * gdb.cp/shadow.cc (B.func): Return 0.
441
442 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
443
444         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
445         expected output in gdb_expect call to allow the exception
446         message to be present as well.  Fix syntax confusion to avoid
447         TCL thinking that exception_name is an array.
448
449 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
450
451         * gdb.arch/spu-info.c: Include <unistd.h>.
452         (do_signal_test): Fix broken calls to write.
453         * gdb.arch/spu-info.exp: Use prepare_for_testing.
454         Fix checks for empty mailboxes.  Update signal tests for corrected
455         do_signal_test routine.  Allow nonzero event status.
456         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
457         * gdb.cell/arch.exp: Use standard_output_file.
458         * gdb.cell/break.exp: Likewise.
459         * gdb.cell/bt.exp: Likewise.
460         * gdb.cell/core.exp: Likewise.
461         * gdb.cell/dwarfaddr.exp: Likewise.
462         * gdb.cell/ea-cache.exp: Likewise.
463         * gdb.cell/ea-standalone.exp: Likewise.
464         * gdb.cell/f-regs.exp: Likewise.
465         * gdb.cell/fork.exp: Likewise.
466         * gdb.cell/gcore.exp: Likewise.
467         * gdb.cell/mem-access.exp: Likewise.
468         * gdb.cell/ptype.exp: Likewise.
469         * gdb.cell/registers.exp: Likewise.
470         * gdb.cell/sizeof.exp: Likewise.
471         * gdb.cell/solib-symbol.exp: Likewise.
472         * gdb.cell/solib.exp: Likewise.
473
474 2017-11-25   Pedro Alves  <palves@redhat.com>
475
476         * gdb.base/complete-empty.exp: New file.
477         * gdb.base/completion.exp: Adjust.
478
479 2017-11-25  Pedro Alves  <palves@redhat.com>
480
481         * gdb.linespec/cpls-ops.cc: New file.
482         * gdb.linespec/cpls-ops.exp: New file.
483         * lib/completion-support.exp (test_complete_prefix_range_re): New,
484         factored out from ...
485         (test_complete_prefix_range): ... this.
486
487 2017-11-24  Pedro Alves  <palves@redhat.com>
488
489         * gdb.linespec/cpcompletion.exp: New file.
490         * gdb.linespec/cpls-hyphen.cc: New file.
491         * gdb.linespec/cpls.cc: New file.
492         * gdb.linespec/cpls2.cc: New file.
493         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
494         test to use test_gdb_complete_unique.  Add label completion,
495         keyword completion and explicit location completion tests.
496         * lib/completion-support.exp: New file.
497
498 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
499
500         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
501         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
502         when hitting an exception catchpoint.
503
504 2017-11-22  Yao Qi  <yao.qi@linaro.org>
505
506         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
507
508 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
509
510         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
511         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
512         * gdb.dwarf2/info-locals-optimized-out.c: New file.
513
514 2017-11-22  Yao Qi  <yao.qi@linaro.org>
515
516         * gdb.base/info-os.exp: Pass pthreads.
517         * gdb.multi/multi-attach.exp: Likewise.
518
519 2017-11-22  Yao Qi  <yao.qi@linaro.org>
520
521         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
522         compiler.
523
524 2017-11-22  Yao Qi  <yao.qi@linaro.org>
525
526         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
527         * gdb.base/break-interp.exp: Likewise.
528         * gdb.base/jit-attach-pie.exp: Likewise.
529
530 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
531
532         * gdb.base/float128.c (large128): New variable.
533         * gdb.base/float128.exp: Add test to print largest __float128 value.
534
535 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
536
537         * gdb.arch/vsx-regs.exp: Update register content checks.
538
539 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
540
541         * gdb.arch/ppc-longdouble.exp: New file.
542         * gdb.arch/ppc-longdouble.c: Likewise.
543
544 2017-11-21  Pedro Alves  <palves@redhat.com>
545
546         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
547
548 2017-11-20  Pedro Alves  <palves@redhat.com>
549
550         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
551         (long_double_typedef): New typedefs.
552         Use DEF on double and long double.
553         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
554         cases.
555         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
556         and 'long_double_ptr_same_size' locals.  Use them to decide
557         whether cast from array/function to float is valid/invalid.
558
559 2017-11-17  Tom Tromey  <tom@tromey.com>
560
561         * gdb.rust/traits.rs: New file.
562         * gdb.rust/traits.exp: New file.
563
564 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
565
566         * gdb.ada/minsyms: New testcase.
567
568 2017-11-16  Pedro Alves  <palves@redhat.com>
569
570         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
571         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
572
573 2017-11-16  Pedro Alves  <palves@redhat.com>
574
575         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
576         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
577
578 2017-11-16  Pedro Alves  <palves@redhat.com>
579
580         * gdb.server/reconnect-ctrl-c.c: New file.
581         * gdb.server/reconnect-ctrl-c.exp: New file.
582
583 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
584
585         * gdb.python/py-rbreak.exp: New file.
586         * gdb.python/py-rbreak.c: New file.
587         * gdb.python/py-rbreak-func2.c: New file.
588
589 2017-11-16  Pedro Alves  <palves@redhat.com>
590
591         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
592         pattern.
593         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
594         GDB.
595
596 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
597
598         * gdb.tui/completionn.exp (test_tab_completion): Add space in
599         regex.
600
601 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
602
603         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
604         test names.
605
606 2017-11-09  Pedro Alves  <palves@redhat.com>
607
608         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
609         factored out from ...
610         (top level): ... here, and adjusted to avoid expecting beyond the
611         prompt in a single gdb_test_multiple.
612
613 2017-11-09  Pedro Alves  <palves@redhat.com>
614
615         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
616         output.
617         * gdb.server/ext-attach.exp ("kill" test): Likewise.
618         * gdb.server/ext-restart.exp ("kill" test): Likewise.
619         * gdb.server/ext-run.exp ("kill" test): Likewise.
620         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
621
622 2017-11-09  Pedro Alves  <palves@redhat.com>
623
624         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
625         match till end of line.
626
627 2017-11-09  Pedro Alves  <palves@redhat.com>
628
629         * gdb.base/memattr.exp: Tighten regexes to match the end line.
630
631 2017-11-09  Pedro Alves  <palves@redhat.com>
632
633         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
634         New procedures, factored out from ...
635         (top level): ... here, and adjusted to avoid expecting beyond the
636         prompt in one go.
637
638 2017-11-09  Pedro Alves  <palves@redhat.com>
639
640         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
641         output.  Fix '?' match.
642
643 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
644
645         * gdb.ada/scoped_watch: New testcase.
646         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
647         which is actually correct.
648         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
649         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
650
651 2017-11-08  Pedro Alves  <palves@redhat.com>
652
653         * gdb.gdb/complaints.exp (test_initial_complaints)
654         (test_serial_complaints, test_short_complaints): Call
655         complaint_internal instead of complaint.
656
657 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
658
659         * gdb.threads/tls-core.c: New file.
660         * gdb.threads/tls-core.exp: Likewise.
661
662 2017-11-08   Pedro Alves  <palves@redhat.com>
663
664         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
665         (p Exported_Capitalized): New test.
666         (p exported_capitalized): New test.
667
668 2017-11-07  Pedro Alves  <palves@redhat.com>
669
670         * gdb.cp/ena-dis-br-range.exp: Add more tests.
671
672 2017-11-07  Pedro Alves  <palves@redhat.com>
673
674         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
675         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
676         (disable_invalid, disable_inverted, disable_negative): New
677         procedures.
678         ("bad numbers"): New set of tests.
679
680 2017-11-07  Pedro Alves  <palves@redhat.com>
681
682         * gdb.cp/ena-dis-br-range.exp: Add tests.
683
684 2017-11-07  Pedro Alves  <palves@redhat.com>
685
686         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
687
688 2017-11-07  Xavier Roirand  <roirand@adacore.com>
689             Pedro Alves  <palves@redhat.com>
690
691         * gdb.base/ena-dis-br.exp: Add reference to
692         gdb.cp/ena-dis-br-range.exp.
693         * gdb.cp/ena-dis-br-range.exp: New file.
694         * gdb.cp/ena-dis-br-range.cc: New file.
695
696 2017-11-06  Pedro Alves  <palves@redhat.com>
697
698         * gdb.base/attach-non-pgrp-leader.c: New.
699         * gdb.base/attach-non-pgrp-leader.exp: New.
700
701 2017-11-06  Pedro Alves  <palves@redhat.com>
702
703         * configure.ac: No longer check for termio.h and sgtty.h.
704         * configure: Regenerate.
705         * remote-utils.c: Include termios.h instead of gdb_termios.h.
706         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
707         Remove termio and sgtty code.
708
709 2017-11-03  Yao Qi  <yao.qi@linaro.org>
710
711         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
712         in GDB is disabled.
713
714 2017-11-03  Yao Qi  <yao.qi@linaro.org>
715
716         * gdb.python/py-thrhandle.exp: Skip it if python is not
717         enabled.
718
719 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
720
721         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
722         as a breakpoint command.
723
724 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
725
726         PR python/21213
727         * gdb.python/py-infthread.exp: Test calling
728         InferiorThread.inferior () multiple times in a row.
729
730 2017-10-27  Keith Seitz  <keiths@redhat.com>
731
732         * gdb.opt/inline-break.exp (break_info_1): New procedure.
733         Test "info break" for every inlined function breakpoint.
734
735 2017-10-27  Yao Qi  <yao.qi@linaro.org>
736
737         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
738
739 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
740
741         * gdb.cp/classes.exp (test_static_members): Test printing
742         Outer::instance.
743         * gdb.cp/classes.c (struct Inner, struct Outer): New.
744         (Inner::instance, Outer::instance): New.
745
746 2017-10-24  Pedro Alves  <palves@redhat.com>
747
748         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
749         extra console" test in two stages.
750
751 2017-10-24  Pedro Alves  <palves@redhat.com>
752
753         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
754
755 2017-10-24  Pedro Alves  <palves@redhat.com>
756
757         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
758         loop.
759
760 2017-10-24  Pedro Alves  <palves@redhat.com>
761
762         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
763         $attempt" and "stoppedtry $stoppedtry" test prefixes.
764
765 2017-10-24  Pedro Alves  <palves@redhat.com>
766
767         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
768         parameter and handle it.  Don't output read value in test name.
769
770 2017-10-24  Pedro Alves  <palves@redhat.com>
771
772         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
773         custom test name.
774
775 2017-10-24  Pedro Alves  <palves@redhat.com>
776
777         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
778         include the unstable output directory name in the test's name.
779         (initial_setup_simple) <'set args'>: Use custom test name.
780
781 2017-10-24  Pedro Alves  <palves@redhat.com>
782
783         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
784         with explicit test name.
785
786 2017-10-20  Pedro Alves  <palves@redhat.com>
787
788         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
789         'wait -i'.  Use gdb_assert and remote_close.
790
791 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
792
793         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
794         number from variable rather than hard-coded.
795
796 2017-10-19  Pedro Alves  <palves@redhat.com>
797
798         * gdb.base/long-inferior-output.c: New file.
799         * gdb.base/long-inferior-output.exp: New file.
800
801 2017-11-18  Keith Seitz  <keiths@redhat.com>
802
803         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
804         method.
805         (main): Call it.
806         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
807         Add additional user-defined conversion operator tests.
808
809 2017-10-17  Pedro Alves  <palves@redhat.com>
810
811         * boards/native-stdio-gdbserver.exp: Load "local-board".
812
813 2017-10-17  Pedro Alves  <palves@redhat.com>
814
815         * gdb.base/quit-live.c: New file.
816         * gdb.base/quit-live.exp: New file.
817
818 2017-10-16  Keith Seitz  <keiths@redhat.com>
819
820         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
821         (class_with_protected_typedef, class_with_private_typedef)
822         (struct_with_public_typedef, struct_with_protected_typedef)
823         (struct_with_private_typedef): New classes/structs.
824         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
825         typedefs and access specifiers.
826
827 2017-10-16  Pedro Alves  <palves@redhat.com>
828             Simon Marchi  <simon.marchi@polymtl.ca>
829
830         * README (Local vs Remote vs Native): New section.
831         * boards/local-board.exp: New file, with bits factored out from
832         ...
833         * boards/native-extended-gdbserver.exp: ... here.  Load
834         "local-board".
835         * boards/native-gdbserver.exp: Load "local-board".
836         (${board}_spawn, ${board}_exec): Delete.
837         * boards/native-stdio-gdbserver.exp: Most contents factored out to
838         ...
839         * boards/stdio-gdbserver-base.exp: ... this new file.
840         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
841         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
842         procedure.
843         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
844         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
845         stdio_gdbserver_command.
846         (${board}_get_remote_address, ${board}_get_comm_port)
847         (${board}_download, ${board}_upload): Delete.
848         (get_target_remote_pipe_cmd): New.
849
850 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
851
852         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
853         test_bkpt_deletion, test_bkpt_cond_and_cmds,
854         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
855         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
856         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
857         remove with_test_prefix.
858
859 2017-10-13  Pedro Alves  <palves@redhat.com>
860
861         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
862         * gdb.base/annota1.exp: Use it instead of is_remote.
863         * gdb.base/annota3.exp: Use it instead of is_remote.
864         * gdb.cp/annota2.exp: Use it instead of is_remote.
865         * gdb.cp/annota3.exp: Use it instead of is_remote.
866         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
867
868 2017-10-13  Pedro Alves  <palves@redhat.com>
869
870         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
871         (test_num_test_vars, run_and_count_vars, find_env)
872         (test_set_unset_env, test_inherit_env_var): New procedures.
873         (top level): Use them.
874
875 2017-10-13  Pedro Alves  <palves@redhat.com>
876
877         * lib/selftest-support.exp (selftest_setup): Extend comments, and
878         also skip on stub-like targets.
879
880 2017-10-13  Pedro Alves  <palves@redhat.com>
881
882         PR gdb/22293
883         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
884         (top level): Move some tests to ...
885         (test_not_found): ... this new procedure.
886         (top level): Call it.
887
888 2017-10-13  Pedro Alves  <palves@redhat.com>
889
890         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
891         expect different "info terminal" output if testing with a
892         non-native target.
893
894 2017-10-13  Pedro Alves  <palves@redhat.com>
895             Simon Marchi  <simon.marchi@polymtl.ca>
896
897         PR python/12966
898         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
899
900 2017-10-13  Pedro Alves  <palves@redhat.com>
901
902         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
903         already.
904
905 2017-10-13  Pedro Alves  <palves@redhat.com>
906
907         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
908         is_remote.
909
910 2017-10-13  Pedro Alves  <palves@redhat.com>
911
912         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
913         is_remote.
914
915 2017-10-13  Pedro Alves  <palves@redhat.com>
916
917         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
918         is set.
919         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
920         instead of is_remote.
921
922 2017-10-13  Pedro Alves  <palves@redhat.com>
923
924         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
925         (top level): Add comment.
926
927 2017-10-13  Pedro Alves  <palves@redhat.com>
928
929         * gdb.base/remote.exp (top level): Fix comment typo and add
930         missing return.
931
932 2017-10-13  Pedro Alves  <palves@redhat.com>
933             Simon Marchi  <simon.marchi@polymtl.ca>
934
935         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
936         calls and add comments.  Skip test if use_gdb_stub is set.
937         (top level): Use "set cwd" command instead of "cd" command.
938
939 2017-10-13  Pedro Alves  <palves@redhat.com>
940
941         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
942         is_remote target check.
943
944 2017-10-13  Pedro Alves  <palves@redhat.com>
945
946         * gdb.base/scope.exp: Use build_executable + clean_restart +
947         gdb_file_cmd instead of prepare_for_testing and no longer skip
948         "before run" tests on is_remote target boards.  Update comments.
949         * boards/native-extended-gdbserver.exp
950         (extended_gdbserver_load_last_file): New, factored out from ...
951         (gdb_load): ... this.  Move further below and add comment.
952         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
953
954 2017-10-12  Pedro Alves  <palves@redhat.com>
955
956         * gdb.base/attach.exp: Remove references to gdb64.
957         * gdb.base/dbx.exp: Remove references to gdb64.
958
959 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
960             Pedro Alves  <palves@redhat.com>
961
962         * gdb.base/label.exp: Remove is_remote target check.
963
964 2017-10-12  Pedro Alves  <palves@redhat.com>
965
966         * gdb.base/auvx.exp (coredir): Update comment.
967         (top level) <core_works>: Use "set cwd" command instead of "cd"
968         command.
969
970 2017-10-12  Pedro Alves  <palves@redhat.com>
971             Simon Marchi  <simon.marchi@polymtl.ca>
972
973         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
974         target boards.
975
976 2017-10-12  Pedro Alves  <palves@redhat.com>
977             Simon Marchi  <simon.marchi@polymtl.ca>
978
979         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
980         Instead skip if there's any gdb_protocol set.
981
982 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
983             Pedro Alves  <palves@redhat.com>
984
985         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
986
987 2017-10-12  Pedro Alves  <palves@redhat.com>
988             Simon Marchi  <simon.marchi@polymtl.ca>
989
990         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
991         instead of on dejagnu remote boards.
992
993 2017-10-12  Pedro Alves  <palves@redhat.com>
994             Simon Marchi  <simon.marchi@polymtl.ca>
995
996         * gdb.base/inferior-died.exp: Remove is_remote and isnative
997         checks.  Use build_executable + clean_restart instead of
998         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
999         of enabling non-stop after starting gdb.
1000
1001 2017-10-12  Pedro Alves  <palves@redhat.com>
1002
1003         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1004         * gdb.threads/non-ldr-exc-2.exp: Ditto.
1005         * gdb.threads/non-ldr-exc-3.exp: Ditto.
1006         * gdb.threads/non-ldr-exc-4.exp: Ditto.
1007
1008 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
1009
1010         * gdb.arch/arc-tdesc-cpu.exp: New file.
1011         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1012
1013 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
1014
1015         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1016
1017 2017-10-10  Pedro Alves <palves@redhat.com>
1018
1019         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1020         expect CLI output.
1021
1022 2017-10-10  Pedro Alves  <palves@redhat.com>
1023
1024         * lib/selftest-support.exp (selftest_setup): Update for
1025         captured_command_loop's prototype change.
1026
1027 2017-10-09  Pedro Alves  <palves@redhat.com>
1028
1029         Test both arch1=>arch2 and arch2=>arch1.
1030
1031         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1032         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
1033         factored out to...
1034         (append_arch1_options, append_arch2_options, append_arch_options)
1035         (build_executables): New procedures.
1036         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
1037         local.
1038         (top level): Add new 'first_arch' testing axis.
1039
1040 2017-10-09  Pedro Alves  <palves@redhat.com>
1041
1042         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1043         (barrier): New.
1044         (thread_start, all_started): New functions.
1045         (main): Spawn new thread and wait until it is scheduled.
1046         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1047         option.
1048         (do_test): Add 'selected_thread' parameter.  Run to all_started
1049         instead of main.  Explicitly set the breakpoint at main.  Switch
1050         to the SELECTED_THREAD thread.
1051         (top level): Test handling the exec event with either the main
1052         thread or the second thread selected.
1053
1054 2017-10-09  Pedro Alves  <palves@redhat.com>
1055
1056         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1057         logic.  Move STOP marker after the value checks.
1058         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1059         regexp.
1060
1061 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
1062
1063         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1064
1065 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
1066
1067         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1068         integer-to-dfp conversion.
1069         * gdb.base/dfp-test.exp: Likewise.
1070
1071 2017-10-04  Pedro Alves  <palves@redhat.com>
1072
1073         * gdb.multi/hangout.c: Include <unistd.h>.
1074         (hangout_loop): New function.
1075         (main): Call alarm.  Call hangout_loop in a loop.
1076         * gdb.multi/hello.c: Include <unistd.h>.
1077         (hello_loop): New function.
1078         (main): Call alarm.  Call hangout_loop in a loop.
1079         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1080         inferior with the other selected.
1081
1082 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
1083
1084         * gdb.mi/list-thread-groups-available.exp: New file.
1085         * gdb.mi/list-thread-groups-available.c: New file.
1086
1087 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
1088
1089         * gdb.base/set-cwd.exp: Make it available on
1090         native-extended-gdbserver.
1091
1092 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
1093
1094         * gdb.base/set-cwd.c: New file.
1095         * gdb.base/set-cwd.exp: Likewise.
1096
1097 2017-10-02  Tom Tromey  <tom@tromey.com>
1098
1099         PR rust/22236:
1100         * gdb.rust/simple.rs (main): New variable "fslice".
1101         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
1102
1103 2017-10-02  Tom Tromey  <tom@tromey.com>
1104
1105         * gdb.rust/simple.exp: Test ptype of a slice.
1106
1107 2017-10-02  Tom Tromey  <tom@tromey.com>
1108
1109         * gdb.rust/simple.exp: Test index of slice.
1110
1111 2017-09-27  Tom Tromey  <tom@tromey.com>
1112
1113         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1114
1115 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1116             Pedro Alves  <palves@redhat.com>
1117
1118         * gdb.base/compare-sections.exp (get value of read-only section): Read
1119         as unsigned value.
1120         (corrupt read-only section): Likewise and don't set written if patching
1121         failed.
1122
1123 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
1124
1125         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1126         files.
1127
1128 2017-09-20  Pedro Alves  <palves@redhat.com>
1129
1130         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1131         symbol names in gdb's output.
1132         * gdb.cp/overload.exp ("list all overloads"): Likewise.
1133
1134 2017-09-20  Pedro Alves  <palves@redhat.com>
1135
1136         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1137         Rename to ...
1138         (test_list_ambiguous_symbol): ... this and add a symbol name
1139         parameter.  Adjust.
1140         (test_list_ambiguous_function): Reimplement on top of
1141         test_list_ambiguous_symbol and also test listing ambiguous
1142         variables.
1143         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1144         (ambiguous_fun): ... this.
1145         (ambiguous_var): New.
1146         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1147         (ambiguous_fun): ... this.
1148         (ambiguous_var): New.
1149
1150 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
1151
1152         * gdb.base/starti.c: New file.
1153         * gdb.base/starti.exp: New file.
1154         * lib/gdb.exp (gdb_starti_cmd): New procedure.
1155
1156 2017-09-14  Pedro Alves  <palves@redhat.com>
1157
1158         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1159         (top level): Use it instead of runto.
1160
1161 2017-09-11  Tom Tromey  <tom@tromey.com>
1162
1163         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1164
1165 2017-09-11  Tom Tromey  <tom@tromey.com>
1166
1167         * gdb.python/py-infthread.exp: Add tests for new_thread event.
1168         * gdb.python/py-inferior.exp: Add tests for new inferior events.
1169
1170 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
1171
1172         * gdb.fortran/printing-types.exp: New file.
1173         * gdb.fortran/printing-types.exp: New file.
1174
1175 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
1176
1177         * gdb.fortran/vla-ptype.exp: Fix typos.
1178         * gdb.fortran/vla-value.exp: Same.
1179
1180 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
1181
1182         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1183         * gdb.mi/mi-var-child-f.exp: Likewise.
1184         * gdb.mi/mi-vla-fortran.exp: Likewise.
1185
1186 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
1187             Christoph Weinmann  <christoph.t.weinmann@intel.com>
1188             Bernhard Heckel  <bernhard.heckel@intel.com>
1189
1190         * gdb.fortran/ptr-indentation.f90: New file.
1191         * gdb.fortran/ptr-indentation.exp: New file.
1192
1193 2017-09-05  Tom Tromey  <tom@tromey.com>
1194
1195         PR gdb/22010:
1196         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1197
1198 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1199
1200         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1201
1202 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1203
1204         * gdb.threads/tls-nodebug-pie.c: New file.
1205         * gdb.threads/tls-nodebug-pie.exp: New file.
1206
1207 2017-09-05  Tom Tromey  <tom@tromey.com>
1208
1209         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1210         for rust.
1211
1212 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
1213
1214         * gdb.multi/multi-arch-exec.exp: Test with different
1215         "follow-exec-mode" settings.
1216         (do_test): New procedure.
1217
1218 2017-09-04  Pedro Alves  <palves@redhat.com>
1219
1220         * gdb.base/func-static.c (S::method const, S::method volatile)
1221         (S::method volatile const): New methods.
1222         (c_s, v_s, cv_s): New instances.
1223         (main): Call method() on them.
1224         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1225         (cannot_resolve): New procedure.
1226         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
1227         print-quote-unquoted columns.
1228         (do_test): Test printing each scope too.
1229
1230 2017-09-04  Pedro Alves  <palves@redhat.com>
1231
1232         * gdb.base/local-static.exp: Also test with
1233         class::method::variable wholly quoted.
1234         * gdb.cp/m-static.exp (class::method::variable): Remove test.
1235
1236 2017-09-04  Pedro Alves  <palves@redhat.com>
1237
1238         * gdb.base/local-static.c: New.
1239         * gdb.base/local-static.cc: New.
1240         * gdb.base/local-static.exp:  New.
1241
1242 2017-09-04  Pedro Alves  <palves@redhat.com>
1243
1244         * gdb.asm/asm-source.exp: Add casts to int.
1245         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1246         (dataglobal64_1, dataglobal64_2): New globals.
1247         * gdb.base/nodebug.exp: Test different expressions involving the
1248         new globals, with print, whatis and ptype.  Add casts to int.
1249         * gdb.base/solib-display.exp: Add casts to int.
1250         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
1251         * gdb.cp/m-static.exp: Add cast to int.
1252         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1253         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1254         tls variable with no debug info without a cast.  Test with a cast
1255         to int too.
1256         * gdb.trace/entry-values.exp: Add casts.
1257
1258 2017-09-04  Pedro Alves  <palves@redhat.com>
1259
1260         * gdb.base/nodebug.exp: Test that ptype's error about functions
1261         with unknown return type includes the function name too.
1262
1263 2017-09-04  Pedro Alves  <palves@redhat.com>
1264
1265         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1266         return type of munmap in infcall.
1267         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1268         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
1269         type of ftell in infcall.
1270         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1271         type of getpid in infcall.
1272         * gdb.base/infcall-exec.exp: Cast return type of execlp in
1273         infcall.
1274         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1275         Bail on failure to extract the pid.
1276         * gdb.base/nodebug.c: #include <stdint.h>.
1277         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1278         New functions.
1279         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1280         Change expected output of print/whatis/ptype with functions with
1281         no debug info.  Test all supported languages.  Call
1282         test_call_promotion.
1283         * gdb.compile/compile.exp: Adjust expected output to expect
1284         warning.
1285         * gdb.threads/siginfo-threads.exp: Likewise.
1286
1287 2017-09-04  Pedro Alves  <palves@redhat.com>
1288
1289         * gdb.base/callfuncs.exp (do_function_calls): New parameter
1290         "prototypes".  Test calling float functions via prototyped and
1291         unprototyped function pointers.
1292         (perform_all_tests): New parameter "prototypes".  Pass it down.
1293         (top level): Pass down "prototypes" parameter to
1294         perform_all_tests.
1295
1296 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
1297
1298         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1299         Test with nested loops.
1300
1301 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
1302
1303         * gdb.base/commands.exp: Call the new procedures.
1304         (loop_break_test, loop_continue_test): New procedures.
1305
1306 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
1307
1308         * gdb.base/commands.exp: Call new procedure.
1309         (define_if_without_arg_test): New procedure.
1310
1311 2017-09-04  Pedro Alves  <palves@redhat.com>
1312
1313         * gdb.base/list-ambiguous.exp: New file.
1314         * gdb.base/list-ambiguous0.c: New file.
1315         * gdb.base/list-ambiguous1.c: New file.
1316         * gdb.base/list.exp (test_list_range): Adjust expected output.
1317
1318 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
1319
1320         * gdb.base/share-env-with-gdbserver.c: New file.
1321         * gdb.base/share-env-with-gdbserver.exp: Likewise.
1322
1323 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
1324
1325         * gdb.base/commands.exp (gdbvar_simple_if_test,
1326         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1327         progvar_simple_if_test, progvar_simple_while_test,
1328         progvar_complex_if_while_test, user_defined_command_test,
1329         user_defined_command_args_eval,
1330         user_defined_command_args_stack_test,
1331         user_defined_command_manyargs_test, bp_deleted_in_command_test,
1332         temporary_breakpoint_commands,
1333         gdb_test_no_prompt, redefine_hook_test,
1334         redefine_backtrace_test): Remove "global gdb_prompt".
1335
1336 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
1337
1338         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1339         New proc, call it from toplevel.
1340
1341 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
1342
1343         PR remote/21852
1344         * gdb.server/normal.c: New file, copied from gdb.base.
1345         * gdb.server/run-without-local-binary.exp: New file.
1346
1347 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
1348
1349         * gdb.arch/sparc64-adi.exp: New file.
1350         * gdb.arch/sparc64-adi.c: New file.
1351
1352 2017-08-22  Pedro Alves  <palves@redhat.com>
1353
1354         * gdb.cp/overload.exp (line_range_pattern): New procedure.
1355         (top level): Add "list all overloads" tests.
1356
1357 2017-08-22  Tom Tromey  <tom@tromey.com>
1358
1359         * gdb.gdb/xfullpath.exp: Remove.
1360
1361 2017-08-21  Pedro Alves  <palves@redhat.com>
1362
1363         PR gdb/19487
1364         * gdb.base/symbol-alias.c: New.
1365         * gdb.base/symbol-alias2.c: New.
1366         * gdb.base/symbol-alias.exp: New.
1367
1368 2017-08-21  Pedro Alves  <palves@redhat.com>
1369
1370         * gdb.base/dfp-test.c
1371         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1372         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1373         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1374         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1375         * gdb.base/whatis-ptype-typedefs.c: New.
1376         * gdb.base/whatis-ptype-typedefs.exp: New.
1377         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1378         (an_int, an_int_type, an_int_type2): New globals.
1379         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1380         involving typedefs and cast expressions.
1381         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1382         (lookup_typedefs_function): New.
1383         (typedefs_pretty_printers_dict): New.
1384         (top level): Register lookup_typedefs_function in
1385         gdb.pretty_printers.
1386
1387 2017-08-18  Yao Qi  <yao.qi@linaro.org>
1388
1389         * gdb.server/unittest.exp: New.
1390
1391 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1392
1393         PR gdb/21954
1394         * gdb.base/environ.exp: Add test to check if 'unset environment'
1395         works.
1396
1397 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1398
1399         * lib/gdb.exp (universal_compile_options): New caching proc.
1400         (gdb_compile): Suppress GCC's coloring of messages.
1401
1402 2017-08-14  Tom Tromey  <tom@tromey.com>
1403
1404         PR gdb/21675:
1405         * gdb.base/printcmds.exp (test_radices): New function.
1406         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1407         * gdb.base/sizeof.exp (check_valueof): Use p/d.
1408         * lib/gdb.exp (get_integer_valueof): Use p/d.
1409
1410 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
1411
1412         * lib/gdb.exp (get_valueof): Don't capture end-of-line
1413         characters.
1414
1415 2017-08-05  Tom Tromey  <tom@tromey.com>
1416
1417         * gdb.rust/simple.exp: Allow String to appear in a different
1418         namespace.
1419
1420 2017-07-26  Yao Qi  <yao.qi@linaro.org>
1421
1422         * gdb.gdb/unittest.exp: Invoke command
1423         "maintenance check xml-descriptions".
1424
1425 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1426
1427         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1428         calling context.
1429         (hex128): Drop erroneous calculation of parameters.
1430
1431 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
1432
1433         * gdb.python/py-unwind.exp: Disable stack protection when
1434         building test file.
1435
1436 2017-07-20  Pedro Alves  <palves@redhat.com>
1437
1438         * gdb.base/default.exp (set language): Adjust expected output.
1439
1440 2017-07-20  Pedro Alves  <palves@redhat.com>
1441
1442         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1443         (test_minsym): ... this, and make static.
1444         (get_pck__foo__bar__minsym): Rename to ...
1445         (get_test_minsym): ... this.
1446         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
1447         symbol names and comments.
1448         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1449         (get_test_minsym): ... this.
1450         (pck__foo__bar__minsym__2): Rename to ...
1451         (test_minsym): ... this.
1452         (main): Adjust.
1453
1454 2017-07-17  Pedro Alves  <palves@redhat.com>
1455
1456         * gdb.base/completion.exp: Adjust expected output.
1457         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1458         the completer works.
1459
1460 2017-07-17  Pedro Alves  <palves@redhat.com>
1461
1462         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1463
1464 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
1465
1466         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1467
1468 2017-07-14  Tom Tromey  <tom@tromey.com>
1469
1470         PR rust/21764:
1471         * gdb.rust/simple.exp: Add tests.
1472
1473 2017-07-14  Tom Tromey  <tom@tromey.com>
1474
1475         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1476
1477 2017-07-14  Pedro Alves  <palves@redhat.com>
1478
1479         * gdb.linespec/base/one/thefile.cc (z1): New function.
1480         * gdb.linespec/base/two/thefile.cc (z2): New function.
1481         * gdb.linespec/linespec.exp: Add tests.
1482
1483 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
1484
1485         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1486         to mi_create_breakpoint.
1487
1488 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
1489
1490         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1491         mi_create_breakpoint.
1492
1493 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
1494
1495         * gdb.dlang/demangle.exp: Update for demangling changes.
1496
1497 2017-07-09  Tom Tromey  <tom@tromey.com>
1498
1499         * gdb.dwarf2/shortpiece.exp: New file.
1500
1501 2017-07-06  David Blaikie  <dblaikie@gmail.com>
1502
1503         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1504         built from fissiont-multi-cu{1,2}.c.
1505         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1506         except putting 'main' and 'func' in separate CUs in the same DWO file.
1507         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1508         test.
1509         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1510         test.
1511
1512 2017-07-06  Pedro Alves  <palves@redhat.com>
1513
1514         * gdb.python/py-unwind.exp: Test flushregs.
1515
1516 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1517
1518         PR cli/21688
1519         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1520         tests for alias commands and trailing whitespace.
1521
1522 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1523
1524         PR cli/21688
1525         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1526         procedure.  Call it.
1527
1528 2017-06-29  Pedro Alves  <palves@redhat.com>
1529
1530         * gdb.base/printcmds.exp: Add tests.
1531
1532 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
1533
1534         PR gdb/21337
1535         * gdb.base/reread-readsym.exp: New file.
1536         * gdb.base/reread-readsym.c: New file.
1537
1538 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
1539
1540         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1541         subpattern.
1542
1543 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
1544
1545         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1546         extended mnemonic.
1547         * gdb.arch/powerpc-power9.s: Likewise.
1548
1549 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1550
1551         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1552         on 32-bit x86 targets.  Exploit is_*_target macros where
1553         appropriate.
1554
1555 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1556
1557         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1558         register pieces.
1559
1560 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1561
1562         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1563         located in one or more DWARF pieces.
1564
1565 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1566
1567         * lib/gdb.exp (get_endianness): New proc.
1568         * gdb.arch/aarch64-fp.exp: Use it.
1569         * gdb.arch/altivec-regs.exp: Likewise.
1570         * gdb.arch/e500-regs.exp: Likewise.
1571         * gdb.arch/vsx-regs.exp: Likewise.
1572         * gdb.base/dump.exp: Likewise.
1573         * gdb.base/funcargs.exp: Likewise.
1574         * gdb.base/gnu_vector.exp: Likewise.
1575         * gdb.dwarf2/formdata16.exp: Likewise.
1576         * gdb.dwarf2/implptrpiece.exp: Likewise.
1577         * gdb.dwarf2/nonvar-access.exp: Likewise.
1578         * gdb.python/py-inferior.exp: Likewise.
1579         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1580
1581 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1582
1583         PR gdb/21226
1584         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1585         stack value pieces are taken from the LSB end.
1586
1587 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1588
1589         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1590         variable at nonzero offset.
1591
1592 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1593
1594         * gdb.dwarf2/var-access.c: New file.
1595         * gdb.dwarf2/var-access.exp: New test.
1596         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1597
1598 2017-06-12  Tom Tromey  <tom@tromey.com>
1599
1600         * gdb.dwarf2/formdata16.exp: Add tests.
1601
1602 2017-06-12  Tom Tromey  <tom@tromey.com>
1603
1604         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1605
1606 2017-06-12  Tom Tromey  <tom@tromey.com>
1607
1608         PR exp/16225:
1609         * gdb.reverse/i386-sse-reverse.exp: Update tests.
1610         * gdb.arch/vsx-regs.exp: Update tests.
1611         * gdb.arch/s390-vregs.exp (hex128): New proc.
1612         Update test.
1613         * gdb.arch/altivec-regs.exp: Update tests.
1614
1615 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
1616
1617         * gdb.base/startup-with-shell.c: New file.
1618         * gdb.base/startup-with-shell.exp: Likewise.
1619
1620 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
1621
1622         * gdb.server/non-existing-program.exp: Update regex in order to
1623         reflect the fact that gdbserver is now using fork_inferior (with a
1624         shell) to startup the inferior.
1625
1626 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
1627
1628         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1629         support function calls from GDB.
1630
1631 2017-05-21  Tom Tromey  <tom@tromey.com>
1632
1633         PR rust/21466:
1634         * gdb.rust/unsized.exp: New file.
1635         * gdb.rust/unsized.rs: New file.
1636
1637 2017-05-19  Tom Tromey  <tom@tromey.com>
1638
1639         PR rust/21484:
1640         * gdb.rust/watch.exp: New file.
1641         * gdb.rust/watch.rs: New file.
1642
1643 2017-05-18  Tom Tromey  <tom@tromey.com>
1644
1645         * gdb.rust/simple.exp: Allow Box to be qualified.
1646
1647 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1648
1649         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1650
1651 2017-05-18  Pedro Alves  <palves@redhat.com>
1652
1653         * gdb.base/fileio.c (test_write, test_read, test_close)
1654         (test_fstat): Don't print 'ret' in the fail path.
1655
1656 2017-05-18  Pedro Alves  <palves@redhat.com>
1657
1658         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1659         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1660         (test_system, test_rename, test_unlink, test_time): Change
1661         prototypes.
1662         * gdb.base/fileio.exp (stop_msg): Adjust.
1663
1664 2017-05-18  Pedro Alves  <palves@redhat.com>
1665
1666         * gdb.base/fileio.c (null_str): New global.
1667         (test_stat): Use it.
1668         * gdb.base/fileio.exp: Remove nowarnings.
1669
1670 2017-05-17  Yao Qi  <yao.qi@linaro.org>
1671
1672         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1673
1674 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
1675
1676         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1677         argument command.
1678         (top-level): Invoke test_set_inferior_tty.
1679
1680 2017-05-04  Pedro Alves  <palves@redhat.com>
1681
1682         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1683         Add parens to print call for Python 3.
1684
1685 2017-05-03  Keith Seitz  <keiths@redhat.com>
1686
1687         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1688         (main): Call it.
1689
1690 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1691
1692         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1693         to prev and next.
1694
1695 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1696
1697         * gdb.python/py-record-btrace.exp: Remove test for
1698         gdb.BtraceInstruction.error.
1699
1700 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1701
1702         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1703
1704 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1705
1706         * gdb.python/py-record-btrace-threads.c: New file.
1707         * gdb.python/py-record-btrace-threads.exp: New file.
1708
1709 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1710
1711         PR testsuite/8595
1712         * gdb.base/environ.exp: Make test available in all architectures.
1713         Move bits related to "info program" testing to
1714         gdb.base/info-program.exp.  Rewrite tests to use the two new
1715         procedures mentione below.
1716         (test_set_show_env_var) New procedure.
1717         (test_set_show_env_var_equal): Likewise.
1718         * gdb.base/info-program.exp: New file.
1719
1720 2017-04-27  Keith Seitz  <keiths@redhat.com>
1721
1722         * gdb.cp/oranking.cc (test15): New function.
1723         (main): Call test15 and declare additional variables for testing.
1724         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1725         "p foo101('abc')" tests.
1726         Add tests for cv qualifier overloads.
1727         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1728         "lvalue reference overload" test.
1729         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1730         "print value of f1 on Child&& in f2" test.
1731
1732 2017-04-19  Pedro Alves  <palves@redhat.com>
1733
1734         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1735         procedure.
1736         (top level): Call it.
1737         * lib/gdb.exp (gdb_define_cmd): New procedure.
1738
1739 2017-04-12  Pedro Alves  <palves@redhat.com>
1740
1741         PR gdb/21323
1742         * gdb.cp/wide_char_types.c: Include <wchar.h>.
1743         (wchar): New global.
1744         * gdb.cp/wide_char_types.exp (wide_char_types_program)
1745         (do_test_wide_char, wide_char_types_no_program, top level): Add
1746         wchar_t testing.
1747
1748 2017-04-12  Pedro Alves  <palves@redhat.com>
1749
1750         PR c++/21323
1751         * gdb.cp/wide_char_types.c: New file.
1752         * gdb.cp/wide_char_types.exp: New file.
1753
1754 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
1755
1756         PR gdb/21352
1757         * gdb.trace/tsv.exp: Add test for "tsave -r".
1758
1759 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
1760
1761         * gdb.dlang/watch-loc.c: New file.
1762         * gdb.dlang/watch-loc.exp: New file.
1763
1764 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1765
1766         * gdb.python/py-section-script.exp (sepdebug): New testcases.
1767
1768 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
1769
1770         * gdb.arch/arc-analyze-prologue.S: New file.
1771         * gdb.arch/arc-analyze-prologue.exp: Likewise.
1772
1773 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
1774
1775         * gdb.arch/arc-decode-insn.S: New file.
1776         * gdb.arch/arc-decode-insn.exp: Likewise.
1777
1778 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
1779
1780         PR tdep/20928
1781         * gdb.arch/sparc64-regs.exp: New file.
1782         * gdb.arch/sparc64-regs.S: Likewise.
1783
1784 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
1785
1786         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1787         and memory view on Python 3.
1788
1789 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
1790             Keith Seitz  <keiths@redhat.com>
1791
1792         PR gdb/14441
1793         * gdb.cp/demangle.exp: Add rvalue reference tests.
1794         * gdb.cp/rvalue-ref-casts.cc: New file.
1795         * gdb.cp/rvalue-ref-casts.exp: New file.
1796         * gdb.cp/rvalue-ref-overload.cc: New file.
1797         * gdb.cp/rvalue-ref-overload.exp: New file.
1798         * gdb.cp/rvalue-ref-params.cc: New file.
1799         * gdb.cp/rvalue-ref-params.exp: New file.
1800         * gdb.cp/rvalue-ref-sizeof.cc: New file.
1801         * gdb.cp/rvalue-ref-sizeof.exp: New file.
1802         * gdb.cp/rvalue-ref-types.cc: New file.
1803         * gdb.cp/rvalue-ref-types.exp: New file.
1804         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1805         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1806
1807 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
1808
1809         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1810         New procedure.
1811
1812 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
1813
1814         * lib/mi-support.exp (mi_gdb_test): Add additional message
1815         for unexpected output.
1816
1817 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1818
1819         * gdb.base/examine-backward.c (Barrier): New character array
1820         constant, to ensure that TestStrings is preceded by a string
1821         terminator.
1822
1823 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1824
1825         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1826         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1827         and implicit pointer into such a location.
1828
1829 2017-03-16  Doug Evans  <dje@google.com>
1830
1831         * gdb.python/py-lazy-string (pointer): Really add new typedef.
1832
1833 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1834
1835         * gdb.cp/m-static.exp: Fix expectation for prototype of
1836         test5.single_constructor and single_constructor::single_constructor.
1837
1838 2017-03-16  Doug Evans  <dje@google.com>
1839
1840         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1841         * gdb.guile/scm-lazy-string.c: New file.
1842         * gdb.guile/scm-value.exp: Move lazy string tests to ...
1843         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
1844         for pointer, array, typedef lazy strings.
1845
1846 2017-03-16  Doug Evans  <dje@google.com>
1847
1848         PR python/17728, python/18439, python/18779
1849         * gdb.python/py-value.c (main) Delete locals sptr, sn.
1850         * gdb.python/py-lazy-string.c (pointer): New typedef.
1851         (main): New locals ptr, array, typedef_ptr.
1852         * gdb.python/py-value.exp: Move lazy string tests to ...
1853         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
1854         array, typedef lazy strings.
1855
1856 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
1857
1858         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1859           Add optional 'test' parameter.
1860
1861 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
1862
1863         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1864         Skip for versions of DejaGnu < 1.5.
1865
1866 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
1867
1868         * lib/gdb.exp (dejagnu_version): New proc.
1869         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1870         Use dejagnu_version.
1871
1872 2017-03-10  Keith Seitz  <keiths@redhat.com>
1873
1874         PR c++/8128
1875         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1876         type from destructor regexps.
1877         Add a branch which actually passes the test.
1878         Adjust "ptype t5i" test names.
1879
1880 2017-03-08  Pedro Alves  <palves@redhat.com>
1881
1882         * gdb.base/step-over-exit.exp: Add explicit test message.
1883
1884 2017-03-08  Pedro Alves  <palves@redhat.com>
1885
1886         PR gdb/18360
1887         * gdb.threads/interrupt-while-step-over.c: New file.
1888         * gdb.threads/interrupt-while-step-over.exp: New file.
1889
1890 2017-03-08  Pedro Alves  <palves@redhat.com>
1891
1892         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1893         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1894
1895 2017-03-08  Pedro Alves  <palves@redhat.com>
1896
1897         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1898         PKRU as not supported as a PASS.
1899
1900 2017-03-08  Pedro Alves  <palves@redhat.com>
1901
1902         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1903         prefix instead of $binfile1/$binfile2.
1904         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1905         in test message.
1906         * gdb.python/py-completion.exp: Use "load python file" as test
1907         messages instead of unstable path names.
1908
1909 2017-03-08  Pedro Alves  <palves@redhat.com>
1910             Jan Kratochvil  <jan.kratochvil@redhat.com>
1911
1912         PR cli/21218
1913         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1914         New proc.
1915         (top level): Call it.
1916
1917 2017-03-08  Pedro Alves  <palves@redhat.com>
1918
1919         PR tui/21216
1920         * gdb.tui/tui-nl-filtered-output.exp: New file.
1921
1922 2017-03-08  Pedro Alves  <palves@redhat.com>
1923
1924         * gdb.base/completion.exp: Move TUI completion tests to ...
1925         * gdb.tui/completion.exp: ... this new file.
1926
1927 2017-03-08  Pedro Alves  <palves@redhat.com>
1928
1929         * gdb.base/tui-disasm-long-lines.c,
1930         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1931         gdb.base/tui-layout.exp: Move to ...
1932         * gdb.tui/: ... this new directory.
1933
1934 2017-03-07  Pedro Alves  <palves@redhat.com>
1935
1936         * gdb.base/tui-layout.c: New file.
1937         * gdb.base/tui-layout.exp: New file.
1938
1939 2017-03-07  Pedro Alves  <palves@redhat.com>
1940
1941         * gdb.base/tui-layout.c: Rename to ...
1942         * gdb.base/tui-disasm-long-lines.c: ... this.
1943         * gdb.base/tui-layout.exp: Rename to ...
1944         * gdb.base/tui-disasm-long-lines.exp: ... this.
1945
1946 2017-03-07  Pedro Alves  <palves@redhat.com>
1947
1948         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1949
1950 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1951
1952         * i386-mpx-call.c: New file.
1953         * i386-mpx-call.exp: New file.
1954
1955 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
1956
1957         * gdb.arch/powerpc-power.exp: Delete test.
1958         * gdb.arch/powerpc-power.s: Likewise.
1959         * gdb.disasm/disassembler-options.exp: New test.
1960         * gdb.arch/powerpc-altivec.exp: Likewise.
1961         * gdb.arch/powerpc-altivec.s: Likewise.
1962         * gdb.arch/powerpc-altivec2.exp: Likewise.
1963         * gdb.arch/powerpc-altivec2.s: Likewise.
1964         * gdb.arch/powerpc-altivec3.exp: Likewise.
1965         * gdb.arch/powerpc-altivec3.s: Likewise.
1966         * gdb.arch/powerpc-power7.exp: Likewise.
1967         * gdb.arch/powerpc-power7.s: Likewise.
1968         * gdb.arch/powerpc-power8.exp: Likewise.
1969         * gdb.arch/powerpc-power8.s: Likewise.
1970         * gdb.arch/powerpc-power9.exp: Likewise.
1971         * gdb.arch/powerpc-power9.s: Likewise.
1972         * gdb.arch/powerpc-vsx.exp: Likewise.
1973         * gdb.arch/powerpc-vsx.s: Likewise.
1974         * gdb.arch/powerpc-vsx2.exp: Likewise.
1975         * gdb.arch/powerpc-vsx2.s: Likewise.
1976         * gdb.arch/powerpc-vsx3.exp: Likewise.
1977         * gdb.arch/powerpc-vsx3.s: Likewise.
1978         * gdb.arch/arm-disassembler-options.exp: Likewise.
1979         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1980         * gdb.arch/s390-disassembler-options.exp: Likewise.
1981
1982 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
1983
1984         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
1985         (check_supported_features): ... this. Changed return type to void.
1986         (supports_rdseed): New static global.
1987         (rdseed): Check supports_rdseed.
1988         (initialize): Call check_supported_features.
1989
1990 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1991
1992         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1993         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
1994         and lqarx/stqcx.
1995         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1996         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1997
1998 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1999
2000         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2001         uppercase.
2002
2003 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2004
2005         * gdb.dwarf2/formdata16.c: New file.
2006         * gdb.dwarf2/formdata16.exp: New file.
2007         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2008
2009 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2010
2011         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2012         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2013         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2014         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2015         DW_AT_GNU_*.
2016
2017 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2018
2019         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2020
2021 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2022
2023         PR gdb/21164
2024         * gdb.base/maint.exp: Add testcases for when the commands do
2025         not have arguments.
2026
2027 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2028
2029         * gdb.cp/chained-calls.exp: Use p instead of P.
2030
2031 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
2032
2033         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2034         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2035
2036 2017-02-14  Tom Tromey  <tom@tromey.com>
2037
2038         PR python/13598:
2039         * gdb.python/py-events.exp: Add before_prompt event tests.
2040
2041 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2042
2043         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2044
2045 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
2046
2047         * gdb.linespec/explicit.c (my_unique_function_name): New function.
2048         (main): Call my_unique_function_name.
2049         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2050         completion of patterns with a single match.
2051         Add missing -re switches to gdb_test_multiple calls.
2052
2053 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
2054
2055         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2056         return if core file is not recognized.
2057
2058 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
2059
2060         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2061         and extra UIs.
2062
2063 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
2064
2065         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2066         proc_with_prefix.
2067
2068 2017-02-10  Tom Tromey  <tom@tromey.com>
2069
2070         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2071
2072 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
2073
2074         PR gdb/21122
2075         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2076
2077 2017-02-08  Jerome Guitton  <guitton@adacore.com>
2078
2079         * gdb.base/define.exp: Add test for command abbreviations
2080         in define.
2081
2082 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
2083
2084         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2085         * gdb.reverse/insn-reverse-x86.c: New file.
2086
2087 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
2088
2089         PR tdep/20936
2090         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2091
2092 2017-02-03  Tom Tromey  <tom@tromey.com>
2093
2094         PR rust/21097:
2095         * gdb.rust/simple.exp: Add new tests.
2096
2097 2017-02-02  Pedro Alves  <palves@redhat.com>
2098
2099         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2100         tests.
2101
2102 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2103
2104         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2105         taking a 2-byte value out of a 4-byte DWARF implicit value on
2106         big-endian targets.
2107         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2108         logic.  Add test cases for DW_OP_implicit.
2109
2110 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
2111
2112         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2113
2114 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
2115
2116         * gdb.btrace/enable.exp: Call gdb_exit before
2117         skip_gdbserver_tests.
2118
2119 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
2120
2121         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2122         GDBFLAGS.
2123
2124 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
2125
2126         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2127         the test is skipped.
2128         * gdb.btrace/data.exp: Likewise.
2129         * gdb.btrace/delta.exp: Likewise.
2130         * gdb.btrace/dlopen.exp: Likewise.
2131         * gdb.btrace/enable-running.exp: Likewise.
2132         * gdb.btrace/enable.exp: Likewise.
2133         * gdb.btrace/exception.exp: Likewise.
2134         * gdb.btrace/function_call_history.exp: Likewise.
2135         * gdb.btrace/gcore.exp: Likewise.
2136         * gdb.btrace/instruction_history.exp: Likewise.
2137         * gdb.btrace/multi-thread-step.exp: Likewise.
2138         * gdb.btrace/nohist.exp: Likewise.
2139         * gdb.btrace/non-stop.exp: Likewise.
2140         * gdb.btrace/reconnect.exp: Likewise.
2141         * gdb.btrace/record_goto-step.exp: Likewise.
2142         * gdb.btrace/record_goto.exp: Likewise.
2143         * gdb.btrace/rn-dl-bind.exp: Likewise.
2144         * gdb.btrace/segv.exp: Likewise.
2145         * gdb.btrace/step.exp: Likewise.
2146         * gdb.btrace/stepi.exp: Likewise.
2147         * gdb.btrace/tailcall-only.exp: Likewise.
2148         * gdb.btrace/tailcall.exp: Likewise.
2149         * gdb.btrace/tsx.exp: Likewise.
2150         * gdb.btrace/unknown_functions.exp: Likewise.
2151         * gdb.btrace/vdso.exp: Likewise.
2152
2153 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
2154
2155         * gdb.btrace/enable-running.c: New.
2156         * gdb.btrace/enable-running.exp: New.
2157
2158 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
2159
2160         * gdb.arch/amd64-gs_base.c: New file.
2161         * gdb.arch/amd64-gs_base.exp: New file.
2162
2163 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
2164
2165         * lib/memory.exp: Remove spurious empty newlines.
2166
2167 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
2168
2169         * gdb.python/py-bad-printers.exp: Load python file using "source".
2170         * gdb.python/py-events.exp: Likewise.
2171         * gdb.python/py-evsignal.exp: Likewise.
2172         * gdb.python/py-evthreads.exp: Likewise.
2173         * gdb.python/py-frame-args.exp: Likewise.
2174         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2175         * gdb.python/py-framefilter-mi.exp: Likewise.
2176         * gdb.python/py-framefilter.exp: Likewise.
2177         * gdb.python/py-mi.exp: Likewise.
2178         * gdb.python/py-pp-maint.exp: Likewise.
2179         * gdb.python/py-pp-registration.exp: Likewise.
2180         * gdb.python/py-prettyprint.exp: Likewise.
2181         (run_lang_tests): Likewise.
2182         * gdb.python/py-typeprint.exp: Likewise.
2183
2184 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
2185
2186         * lib/memory.exp: New file.
2187         * lib/gdb.exp: Load memory.exp.
2188         * gdb.base/memattr.exp (delete_memory): Move proc to
2189         lib/memory.exp and rename to delete_memory_regions.
2190         Replace delete_memory with delete_memory_regions.
2191         Cleanup memory regions before tests.
2192         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2193         before tests.
2194
2195 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
2196
2197         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2198         files.
2199         (initialize): New function conditionally defined.
2200         (testcases): Move within conditional block.
2201         (main): Call initialize.
2202         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2203         of gdb.reverse/insn-reverse.c.
2204         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2205         gdb.reverse/insn-reverse.c.
2206
2207 2017-01-26  Yao Qi  <yao.qi@linaro.org>
2208
2209         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2210         disassemble on address 0.
2211
2212 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2213             Yao Qi  <yao.qi@linaro.org>
2214
2215         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2216         * gdb.dwarf2/implptr-64bit.S: Remove.
2217         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
2218         variables in caller's context.  Add DW_OP_implicit_value.
2219
2220 2017-01-25  Yao Qi  <yao.qi@linaro.org>
2221
2222         * lib/dwarf.exp (Dwarf::_location): Handle
2223         DW_OP_GNU_implicit_pointer with proper size.
2224
2225 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
2226
2227         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2228         and add untested calls.
2229
2230 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
2231
2232         * gdb.python/python.exp: Check line number against what GDB thinks
2233         the line number is for func1.
2234
2235 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
2236
2237         * gdb.dlang/debug-expr.exp: New file.
2238
2239 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
2240
2241         Fix test names for the following files:
2242
2243         * gdb.ada/exec_changed.exp
2244         * gdb.ada/info_types.exp
2245         * gdb.arch/aarch64-atomic-inst.exp
2246         * gdb.arch/aarch64-fp.exp
2247         * gdb.arch/altivec-abi.exp
2248         * gdb.arch/altivec-regs.exp
2249         * gdb.arch/amd64-byte.exp
2250         * gdb.arch/amd64-disp-step.exp
2251         * gdb.arch/amd64-dword.exp
2252         * gdb.arch/amd64-entry-value-inline.exp
2253         * gdb.arch/amd64-entry-value-param.exp
2254         * gdb.arch/amd64-entry-value-paramref.exp
2255         * gdb.arch/amd64-entry-value.exp
2256         * gdb.arch/amd64-i386-address.exp
2257         * gdb.arch/amd64-invalid-stack-middle.exp
2258         * gdb.arch/amd64-invalid-stack-top.exp
2259         * gdb.arch/amd64-optimout-repeat.exp
2260         * gdb.arch/amd64-prologue-skip.exp
2261         * gdb.arch/amd64-prologue-xmm.exp
2262         * gdb.arch/amd64-stap-special-operands.exp
2263         * gdb.arch/amd64-stap-wrong-subexp.exp
2264         * gdb.arch/amd64-tailcall-cxx.exp
2265         * gdb.arch/amd64-tailcall-noret.exp
2266         * gdb.arch/amd64-tailcall-ret.exp
2267         * gdb.arch/amd64-tailcall-self.exp
2268         * gdb.arch/amd64-word.exp
2269         * gdb.arch/arm-bl-branch-dest.exp
2270         * gdb.arch/arm-disp-step.exp
2271         * gdb.arch/arm-neon.exp
2272         * gdb.arch/arm-single-step-kernel-helper.exp
2273         * gdb.arch/avr-flash-qualifier.exp
2274         * gdb.arch/disp-step-insn-reloc.exp
2275         * gdb.arch/e500-abi.exp
2276         * gdb.arch/e500-regs.exp
2277         * gdb.arch/ftrace-insn-reloc.exp
2278         * gdb.arch/i386-avx512.exp
2279         * gdb.arch/i386-bp_permanent.exp
2280         * gdb.arch/i386-byte.exp
2281         * gdb.arch/i386-cfi-notcurrent.exp
2282         * gdb.arch/i386-disp-step.exp
2283         * gdb.arch/i386-dr3-watch.exp
2284         * gdb.arch/i386-float.exp
2285         * gdb.arch/i386-gnu-cfi.exp
2286         * gdb.arch/i386-mpx-map.exp
2287         * gdb.arch/i386-mpx-sigsegv.exp
2288         * gdb.arch/i386-mpx-simple_segv.exp
2289         * gdb.arch/i386-mpx.exp
2290         * gdb.arch/i386-permbkpt.exp
2291         * gdb.arch/i386-prologue.exp
2292         * gdb.arch/i386-signal.exp
2293         * gdb.arch/i386-size-overlap.exp
2294         * gdb.arch/i386-unwind.exp
2295         * gdb.arch/i386-word.exp
2296         * gdb.arch/mips-fcr.exp
2297         * gdb.arch/powerpc-d128-regs.exp
2298         * gdb.arch/powerpc-stackless.exp
2299         * gdb.arch/ppc64-atomic-inst.exp
2300         * gdb.arch/s390-stackless.exp
2301         * gdb.arch/s390-tdbregs.exp
2302         * gdb.arch/s390-vregs.exp
2303         * gdb.arch/sparc-sysstep.exp
2304         * gdb.arch/thumb-bx-pc.exp
2305         * gdb.arch/thumb-singlestep.exp
2306         * gdb.arch/thumb2-it.exp
2307         * gdb.arch/vsx-regs.exp
2308         * gdb.asm/asm-source.exp
2309         * gdb.base/a2-run.exp
2310         * gdb.base/advance.exp
2311         * gdb.base/all-bin.exp
2312         * gdb.base/anon.exp
2313         * gdb.base/args.exp
2314         * gdb.base/arithmet.exp
2315         * gdb.base/async-shell.exp
2316         * gdb.base/async.exp
2317         * gdb.base/attach-pie-noexec.exp
2318         * gdb.base/attach-twice.exp
2319         * gdb.base/auto-load.exp
2320         * gdb.base/bang.exp
2321         * gdb.base/bitfields.exp
2322         * gdb.base/break-always.exp
2323         * gdb.base/break-caller-line.exp
2324         * gdb.base/break-entry.exp
2325         * gdb.base/break-inline.exp
2326         * gdb.base/break-on-linker-gcd-function.exp
2327         * gdb.base/break-probes.exp
2328         * gdb.base/break.exp
2329         * gdb.base/breakpoint-shadow.exp
2330         * gdb.base/call-ar-st.exp
2331         * gdb.base/call-sc.exp
2332         * gdb.base/call-signal-resume.exp
2333         * gdb.base/call-strs.exp
2334         * gdb.base/callfuncs.exp
2335         * gdb.base/catch-fork-static.exp
2336         * gdb.base/catch-gdb-caused-signals.exp
2337         * gdb.base/catch-load.exp
2338         * gdb.base/catch-signal-fork.exp
2339         * gdb.base/catch-signal.exp
2340         * gdb.base/catch-syscall.exp
2341         * gdb.base/charset.exp
2342         * gdb.base/checkpoint.exp
2343         * gdb.base/chng-syms.exp
2344         * gdb.base/code-expr.exp
2345         * gdb.base/code_elim.exp
2346         * gdb.base/commands.exp
2347         * gdb.base/completion.exp
2348         * gdb.base/complex.exp
2349         * gdb.base/cond-expr.exp
2350         * gdb.base/condbreak.exp
2351         * gdb.base/consecutive.exp
2352         * gdb.base/continue-all-already-running.exp
2353         * gdb.base/coredump-filter.exp
2354         * gdb.base/corefile.exp
2355         * gdb.base/dbx.exp
2356         * gdb.base/debug-expr.exp
2357         * gdb.base/define.exp
2358         * gdb.base/del.exp
2359         * gdb.base/disabled-location.exp
2360         * gdb.base/disasm-end-cu.exp
2361         * gdb.base/disasm-optim.exp
2362         * gdb.base/display.exp
2363         * gdb.base/duplicate-bp.exp
2364         * gdb.base/ena-dis-br.exp
2365         * gdb.base/ending-run.exp
2366         * gdb.base/enumval.exp
2367         * gdb.base/environ.exp
2368         * gdb.base/eu-strip-infcall.exp
2369         * gdb.base/eval-avoid-side-effects.exp
2370         * gdb.base/eval-skip.exp
2371         * gdb.base/exitsignal.exp
2372         * gdb.base/expand-psymtabs.exp
2373         * gdb.base/filesym.exp
2374         * gdb.base/find-unmapped.exp
2375         * gdb.base/finish.exp
2376         * gdb.base/float.exp
2377         * gdb.base/foll-exec-mode.exp
2378         * gdb.base/foll-exec.exp
2379         * gdb.base/foll-fork.exp
2380         * gdb.base/fortran-sym-case.exp
2381         * gdb.base/freebpcmd.exp
2382         * gdb.base/func-ptr.exp
2383         * gdb.base/func-ptrs.exp
2384         * gdb.base/funcargs.exp
2385         * gdb.base/gcore-buffer-overflow.exp
2386         * gdb.base/gcore-relro-pie.exp
2387         * gdb.base/gcore-relro.exp
2388         * gdb.base/gcore.exp
2389         * gdb.base/gdb1090.exp
2390         * gdb.base/gdb11530.exp
2391         * gdb.base/gdb11531.exp
2392         * gdb.base/gdb1821.exp
2393         * gdb.base/gdbindex-stabs.exp
2394         * gdb.base/gdbvars.exp
2395         * gdb.base/hbreak.exp
2396         * gdb.base/hbreak2.exp
2397         * gdb.base/included.exp
2398         * gdb.base/infcall-input.exp
2399         * gdb.base/inferior-died.exp
2400         * gdb.base/infnan.exp
2401         * gdb.base/info-macros.exp
2402         * gdb.base/info-os.exp
2403         * gdb.base/info-proc.exp
2404         * gdb.base/info-shared.exp
2405         * gdb.base/info-target.exp
2406         * gdb.base/infoline.exp
2407         * gdb.base/interp.exp
2408         * gdb.base/interrupt.exp
2409         * gdb.base/jit-reader.exp
2410         * gdb.base/jit-simple.exp
2411         * gdb.base/kill-after-signal.exp
2412         * gdb.base/kill-detach-inferiors-cmd.exp
2413         * gdb.base/label.exp
2414         * gdb.base/langs.exp
2415         * gdb.base/ldbl_e308.exp
2416         * gdb.base/line-symtabs.exp
2417         * gdb.base/linespecs.exp
2418         * gdb.base/list.exp
2419         * gdb.base/long_long.exp
2420         * gdb.base/longest-types.exp
2421         * gdb.base/maint.exp
2422         * gdb.base/max-value-size.exp
2423         * gdb.base/memattr.exp
2424         * gdb.base/mips_pro.exp
2425         * gdb.base/morestack.exp
2426         * gdb.base/moribund-step.exp
2427         * gdb.base/multi-forks.exp
2428         * gdb.base/nested-addr.exp
2429         * gdb.base/nextoverexit.exp
2430         * gdb.base/noreturn-finish.exp
2431         * gdb.base/noreturn-return.exp
2432         * gdb.base/nostdlib.exp
2433         * gdb.base/offsets.exp
2434         * gdb.base/opaque.exp
2435         * gdb.base/pc-fp.exp
2436         * gdb.base/permissions.exp
2437         * gdb.base/print-symbol-loading.exp
2438         * gdb.base/prologue-include.exp
2439         * gdb.base/psymtab.exp
2440         * gdb.base/ptype.exp
2441         * gdb.base/random-signal.exp
2442         * gdb.base/randomize.exp
2443         * gdb.base/range-stepping.exp
2444         * gdb.base/readline-ask.exp
2445         * gdb.base/recpar.exp
2446         * gdb.base/recurse.exp
2447         * gdb.base/relational.exp
2448         * gdb.base/restore.exp
2449         * gdb.base/return-nodebug.exp
2450         * gdb.base/return.exp
2451         * gdb.base/run-after-attach.exp
2452         * gdb.base/save-bp.exp
2453         * gdb.base/scope.exp
2454         * gdb.base/sect-cmd.exp
2455         * gdb.base/set-lang-auto.exp
2456         * gdb.base/set-noassign.exp
2457         * gdb.base/setvar.exp
2458         * gdb.base/sigall.exp
2459         * gdb.base/sigbpt.exp
2460         * gdb.base/siginfo-addr.exp
2461         * gdb.base/siginfo-infcall.exp
2462         * gdb.base/siginfo-obj.exp
2463         * gdb.base/siginfo.exp
2464         * gdb.base/signals-state-child.exp
2465         * gdb.base/signest.exp
2466         * gdb.base/sigstep.exp
2467         * gdb.base/sizeof.exp
2468         * gdb.base/skip.exp
2469         * gdb.base/solib-corrupted.exp
2470         * gdb.base/solib-nodir.exp
2471         * gdb.base/solib-search.exp
2472         * gdb.base/stack-checking.exp
2473         * gdb.base/stale-infcall.exp
2474         * gdb.base/stap-probe.exp
2475         * gdb.base/start.exp
2476         * gdb.base/step-break.exp
2477         * gdb.base/step-bt.exp
2478         * gdb.base/step-line.exp
2479         * gdb.base/step-over-exit.exp
2480         * gdb.base/step-over-syscall.exp
2481         * gdb.base/step-resume-infcall.exp
2482         * gdb.base/step-test.exp
2483         * gdb.base/store.exp
2484         * gdb.base/structs3.exp
2485         * gdb.base/sym-file.exp
2486         * gdb.base/symbol-without-target_section.exp
2487         * gdb.base/term.exp
2488         * gdb.base/testenv.exp
2489         * gdb.base/ui-redirect.exp
2490         * gdb.base/until.exp
2491         * gdb.base/unwindonsignal.exp
2492         * gdb.base/value-double-free.exp
2493         * gdb.base/vla-datatypes.exp
2494         * gdb.base/vla-ptr.exp
2495         * gdb.base/vla-sideeffect.exp
2496         * gdb.base/volatile.exp
2497         * gdb.base/watch-cond-infcall.exp
2498         * gdb.base/watch-cond.exp
2499         * gdb.base/watch-non-mem.exp
2500         * gdb.base/watch-read.exp
2501         * gdb.base/watch-vfork.exp
2502         * gdb.base/watchpoint-cond-gone.exp
2503         * gdb.base/watchpoint-delete.exp
2504         * gdb.base/watchpoint-hw-hit-once.exp
2505         * gdb.base/watchpoint-hw.exp
2506         * gdb.base/watchpoint-stops-at-right-insn.exp
2507         * gdb.base/watchpoints.exp
2508         * gdb.base/wchar.exp
2509         * gdb.base/whatis-exp.exp
2510         * gdb.btrace/buffer-size.exp
2511         * gdb.btrace/data.exp
2512         * gdb.btrace/delta.exp
2513         * gdb.btrace/dlopen.exp
2514         * gdb.btrace/enable.exp
2515         * gdb.btrace/exception.exp
2516         * gdb.btrace/function_call_history.exp
2517         * gdb.btrace/gcore.exp
2518         * gdb.btrace/instruction_history.exp
2519         * gdb.btrace/nohist.exp
2520         * gdb.btrace/reconnect.exp
2521         * gdb.btrace/record_goto-step.exp
2522         * gdb.btrace/record_goto.exp
2523         * gdb.btrace/rn-dl-bind.exp
2524         * gdb.btrace/segv.exp
2525         * gdb.btrace/step.exp
2526         * gdb.btrace/stepi.exp
2527         * gdb.btrace/tailcall-only.exp
2528         * gdb.btrace/tailcall.exp
2529         * gdb.btrace/tsx.exp
2530         * gdb.btrace/unknown_functions.exp
2531         * gdb.btrace/vdso.exp
2532         * gdb.compile/compile-ifunc.exp
2533         * gdb.compile/compile-ops.exp
2534         * gdb.compile/compile-print.exp
2535         * gdb.compile/compile-setjmp.exp
2536         * gdb.cp/abstract-origin.exp
2537         * gdb.cp/ambiguous.exp
2538         * gdb.cp/annota2.exp
2539         * gdb.cp/annota3.exp
2540         * gdb.cp/anon-ns.exp
2541         * gdb.cp/anon-struct.exp
2542         * gdb.cp/anon-union.exp
2543         * gdb.cp/arg-reference.exp
2544         * gdb.cp/baseenum.exp
2545         * gdb.cp/bool.exp
2546         * gdb.cp/breakpoint.exp
2547         * gdb.cp/bs15503.exp
2548         * gdb.cp/call-c.exp
2549         * gdb.cp/casts.exp
2550         * gdb.cp/chained-calls.exp
2551         * gdb.cp/class2.exp
2552         * gdb.cp/classes.exp
2553         * gdb.cp/cmpd-minsyms.exp
2554         * gdb.cp/converts.exp
2555         * gdb.cp/cp-relocate.exp
2556         * gdb.cp/cpcompletion.exp
2557         * gdb.cp/cpexprs.exp
2558         * gdb.cp/cplabel.exp
2559         * gdb.cp/cplusfuncs.exp
2560         * gdb.cp/cpsizeof.exp
2561         * gdb.cp/ctti.exp
2562         * gdb.cp/derivation.exp
2563         * gdb.cp/destrprint.exp
2564         * gdb.cp/dispcxx.exp
2565         * gdb.cp/enum-class.exp
2566         * gdb.cp/exception.exp
2567         * gdb.cp/exceptprint.exp
2568         * gdb.cp/expand-psymtabs-cxx.exp
2569         * gdb.cp/expand-sals.exp
2570         * gdb.cp/extern-c.exp
2571         * gdb.cp/filename.exp
2572         * gdb.cp/formatted-ref.exp
2573         * gdb.cp/fpointer.exp
2574         * gdb.cp/gdb1355.exp
2575         * gdb.cp/gdb2495.exp
2576         * gdb.cp/hang.exp
2577         * gdb.cp/impl-this.exp
2578         * gdb.cp/infcall-dlopen.exp
2579         * gdb.cp/inherit.exp
2580         * gdb.cp/iostream.exp
2581         * gdb.cp/koenig.exp
2582         * gdb.cp/local.exp
2583         * gdb.cp/m-data.exp
2584         * gdb.cp/m-static.exp
2585         * gdb.cp/mb-ctor.exp
2586         * gdb.cp/mb-inline.exp
2587         * gdb.cp/mb-templates.exp
2588         * gdb.cp/member-name.exp
2589         * gdb.cp/member-ptr.exp
2590         * gdb.cp/meth-typedefs.exp
2591         * gdb.cp/method.exp
2592         * gdb.cp/method2.exp
2593         * gdb.cp/minsym-fallback.exp
2594         * gdb.cp/misc.exp
2595         * gdb.cp/namelessclass.exp
2596         * gdb.cp/namespace-enum.exp
2597         * gdb.cp/namespace-nested-import.exp
2598         * gdb.cp/namespace.exp
2599         * gdb.cp/nextoverthrow.exp
2600         * gdb.cp/no-dmgl-verbose.exp
2601         * gdb.cp/non-trivial-retval.exp
2602         * gdb.cp/noparam.exp
2603         * gdb.cp/nsdecl.exp
2604         * gdb.cp/nsimport.exp
2605         * gdb.cp/nsnested.exp
2606         * gdb.cp/nsnoimports.exp
2607         * gdb.cp/nsrecurs.exp
2608         * gdb.cp/nsstress.exp
2609         * gdb.cp/nsusing.exp
2610         * gdb.cp/operator.exp
2611         * gdb.cp/oranking.exp
2612         * gdb.cp/overload-const.exp
2613         * gdb.cp/overload.exp
2614         * gdb.cp/ovldbreak.exp
2615         * gdb.cp/ovsrch.exp
2616         * gdb.cp/paren-type.exp
2617         * gdb.cp/parse-lang.exp
2618         * gdb.cp/pass-by-ref.exp
2619         * gdb.cp/pr-1023.exp
2620         * gdb.cp/pr-1210.exp
2621         * gdb.cp/pr-574.exp
2622         * gdb.cp/pr10687.exp
2623         * gdb.cp/pr12028.exp
2624         * gdb.cp/pr17132.exp
2625         * gdb.cp/pr17494.exp
2626         * gdb.cp/pr9067.exp
2627         * gdb.cp/pr9167.exp
2628         * gdb.cp/pr9631.exp
2629         * gdb.cp/printmethod.exp
2630         * gdb.cp/psmang.exp
2631         * gdb.cp/psymtab-parameter.exp
2632         * gdb.cp/ptype-cv-cp.exp
2633         * gdb.cp/ptype-flags.exp
2634         * gdb.cp/re-set-overloaded.exp
2635         * gdb.cp/ref-types.exp
2636         * gdb.cp/rtti.exp
2637         * gdb.cp/scope-err.exp
2638         * gdb.cp/shadow.exp
2639         * gdb.cp/smartp.exp
2640         * gdb.cp/static-method.exp
2641         * gdb.cp/static-print-quit.exp
2642         * gdb.cp/temargs.exp
2643         * gdb.cp/templates.exp
2644         * gdb.cp/try_catch.exp
2645         * gdb.cp/typedef-operator.exp
2646         * gdb.cp/typeid.exp
2647         * gdb.cp/userdef.exp
2648         * gdb.cp/using-crash.exp
2649         * gdb.cp/var-tag.exp
2650         * gdb.cp/virtbase.exp
2651         * gdb.cp/virtfunc.exp
2652         * gdb.cp/virtfunc2.exp
2653         * gdb.cp/vla-cxx.exp
2654         * gdb.disasm/t01_mov.exp
2655         * gdb.disasm/t02_mova.exp
2656         * gdb.disasm/t03_add.exp
2657         * gdb.disasm/t04_sub.exp
2658         * gdb.disasm/t05_cmp.exp
2659         * gdb.disasm/t06_ari2.exp
2660         * gdb.disasm/t07_ari3.exp
2661         * gdb.disasm/t08_or.exp
2662         * gdb.disasm/t09_xor.exp
2663         * gdb.disasm/t10_and.exp
2664         * gdb.disasm/t11_logs.exp
2665         * gdb.disasm/t12_bit.exp
2666         * gdb.disasm/t13_otr.exp
2667         * gdb.dlang/circular.exp
2668         * gdb.dwarf2/arr-stride.exp
2669         * gdb.dwarf2/arr-subrange.exp
2670         * gdb.dwarf2/atomic-type.exp
2671         * gdb.dwarf2/bad-regnum.exp
2672         * gdb.dwarf2/bitfield-parent-optimized-out.exp
2673         * gdb.dwarf2/callframecfa.exp
2674         * gdb.dwarf2/clztest.exp
2675         * gdb.dwarf2/corrupt.exp
2676         * gdb.dwarf2/data-loc.exp
2677         * gdb.dwarf2/dup-psym.exp
2678         * gdb.dwarf2/dw2-anon-mptr.exp
2679         * gdb.dwarf2/dw2-anonymous-func.exp
2680         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2681         * gdb.dwarf2/dw2-bad-unresolved.exp
2682         * gdb.dwarf2/dw2-basic.exp
2683         * gdb.dwarf2/dw2-canonicalize-type.exp
2684         * gdb.dwarf2/dw2-case-insensitive.exp
2685         * gdb.dwarf2/dw2-common-block.exp
2686         * gdb.dwarf2/dw2-compdir-oldgcc.exp
2687         * gdb.dwarf2/dw2-compressed.exp
2688         * gdb.dwarf2/dw2-const.exp
2689         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2690         * gdb.dwarf2/dw2-cu-size.exp
2691         * gdb.dwarf2/dw2-dup-frame.exp
2692         * gdb.dwarf2/dw2-entry-value.exp
2693         * gdb.dwarf2/dw2-icycle.exp
2694         * gdb.dwarf2/dw2-ifort-parameter.exp
2695         * gdb.dwarf2/dw2-inline-break.exp
2696         * gdb.dwarf2/dw2-inline-param.exp
2697         * gdb.dwarf2/dw2-intercu.exp
2698         * gdb.dwarf2/dw2-intermix.exp
2699         * gdb.dwarf2/dw2-lexical-block-bare.exp
2700         * gdb.dwarf2/dw2-linkage-name-trust.exp
2701         * gdb.dwarf2/dw2-minsym-in-cu.exp
2702         * gdb.dwarf2/dw2-noloc.exp
2703         * gdb.dwarf2/dw2-op-call.exp
2704         * gdb.dwarf2/dw2-op-out-param.exp
2705         * gdb.dwarf2/dw2-opt-structptr.exp
2706         * gdb.dwarf2/dw2-param-error.exp
2707         * gdb.dwarf2/dw2-producer.exp
2708         * gdb.dwarf2/dw2-ranges-base.exp
2709         * gdb.dwarf2/dw2-ref-missing-frame.exp
2710         * gdb.dwarf2/dw2-reg-undefined.exp
2711         * gdb.dwarf2/dw2-regno-invalid.exp
2712         * gdb.dwarf2/dw2-restore.exp
2713         * gdb.dwarf2/dw2-restrict.exp
2714         * gdb.dwarf2/dw2-single-line-discriminators.exp
2715         * gdb.dwarf2/dw2-strp.exp
2716         * gdb.dwarf2/dw2-undefined-ret-addr.exp
2717         * gdb.dwarf2/dw2-unresolved.exp
2718         * gdb.dwarf2/dw2-var-zero-addr.exp
2719         * gdb.dwarf2/dw4-sig-types.exp
2720         * gdb.dwarf2/dwz.exp
2721         * gdb.dwarf2/dynarr-ptr.exp
2722         * gdb.dwarf2/enum-type.exp
2723         * gdb.dwarf2/gdb-index.exp
2724         * gdb.dwarf2/implptr-64bit.exp
2725         * gdb.dwarf2/implptr-optimized-out.exp
2726         * gdb.dwarf2/implptr.exp
2727         * gdb.dwarf2/implref-array.exp
2728         * gdb.dwarf2/implref-const.exp
2729         * gdb.dwarf2/implref-global.exp
2730         * gdb.dwarf2/implref-struct.exp
2731         * gdb.dwarf2/mac-fileno.exp
2732         * gdb.dwarf2/main-subprogram.exp
2733         * gdb.dwarf2/member-ptr-forwardref.exp
2734         * gdb.dwarf2/method-ptr.exp
2735         * gdb.dwarf2/missing-sig-type.exp
2736         * gdb.dwarf2/nonvar-access.exp
2737         * gdb.dwarf2/opaque-type-lookup.exp
2738         * gdb.dwarf2/pieces-optimized-out.exp
2739         * gdb.dwarf2/pieces.exp
2740         * gdb.dwarf2/pr10770.exp
2741         * gdb.dwarf2/pr13961.exp
2742         * gdb.dwarf2/staticvirtual.exp
2743         * gdb.dwarf2/subrange.exp
2744         * gdb.dwarf2/symtab-producer.exp
2745         * gdb.dwarf2/trace-crash.exp
2746         * gdb.dwarf2/typeddwarf.exp
2747         * gdb.dwarf2/valop.exp
2748         * gdb.dwarf2/watch-notconst.exp
2749         * gdb.fortran/array-element.exp
2750         * gdb.fortran/charset.exp
2751         * gdb.fortran/common-block.exp
2752         * gdb.fortran/complex.exp
2753         * gdb.fortran/derived-type-function.exp
2754         * gdb.fortran/derived-type.exp
2755         * gdb.fortran/logical.exp
2756         * gdb.fortran/module.exp
2757         * gdb.fortran/multi-dim.exp
2758         * gdb.fortran/nested-funcs.exp
2759         * gdb.fortran/print-formatted.exp
2760         * gdb.fortran/subarray.exp
2761         * gdb.fortran/vla-alloc-assoc.exp
2762         * gdb.fortran/vla-datatypes.exp
2763         * gdb.fortran/vla-history.exp
2764         * gdb.fortran/vla-ptr-info.exp
2765         * gdb.fortran/vla-ptype-sub.exp
2766         * gdb.fortran/vla-ptype.exp
2767         * gdb.fortran/vla-sizeof.exp
2768         * gdb.fortran/vla-type.exp
2769         * gdb.fortran/vla-value-sub-arbitrary.exp
2770         * gdb.fortran/vla-value-sub-finish.exp
2771         * gdb.fortran/vla-value-sub.exp
2772         * gdb.fortran/vla-value.exp
2773         * gdb.fortran/whatis_type.exp
2774         * gdb.go/chan.exp
2775         * gdb.go/handcall.exp
2776         * gdb.go/hello.exp
2777         * gdb.go/integers.exp
2778         * gdb.go/methods.exp
2779         * gdb.go/package.exp
2780         * gdb.go/strings.exp
2781         * gdb.go/types.exp
2782         * gdb.go/unsafe.exp
2783         * gdb.guile/scm-arch.exp
2784         * gdb.guile/scm-block.exp
2785         * gdb.guile/scm-breakpoint.exp
2786         * gdb.guile/scm-cmd.exp
2787         * gdb.guile/scm-disasm.exp
2788         * gdb.guile/scm-equal.exp
2789         * gdb.guile/scm-frame-args.exp
2790         * gdb.guile/scm-frame-inline.exp
2791         * gdb.guile/scm-frame.exp
2792         * gdb.guile/scm-iterator.exp
2793         * gdb.guile/scm-math.exp
2794         * gdb.guile/scm-objfile.exp
2795         * gdb.guile/scm-ports.exp
2796         * gdb.guile/scm-symbol.exp
2797         * gdb.guile/scm-symtab.exp
2798         * gdb.guile/scm-value-cc.exp
2799         * gdb.guile/types-module.exp
2800         * gdb.linespec/break-ask.exp
2801         * gdb.linespec/cpexplicit.exp
2802         * gdb.linespec/explicit.exp
2803         * gdb.linespec/keywords.exp
2804         * gdb.linespec/linespec.exp
2805         * gdb.linespec/ls-dollar.exp
2806         * gdb.linespec/ls-errs.exp
2807         * gdb.linespec/skip-two.exp
2808         * gdb.linespec/thread.exp
2809         * gdb.mi/mi-async.exp
2810         * gdb.mi/mi-basics.exp
2811         * gdb.mi/mi-break.exp
2812         * gdb.mi/mi-catch-load.exp
2813         * gdb.mi/mi-cli.exp
2814         * gdb.mi/mi-cmd-param-changed.exp
2815         * gdb.mi/mi-console.exp
2816         * gdb.mi/mi-detach.exp
2817         * gdb.mi/mi-disassemble.exp
2818         * gdb.mi/mi-eval.exp
2819         * gdb.mi/mi-file-transfer.exp
2820         * gdb.mi/mi-file.exp
2821         * gdb.mi/mi-fill-memory.exp
2822         * gdb.mi/mi-inheritance-syntax-error.exp
2823         * gdb.mi/mi-linespec-err-cp.exp
2824         * gdb.mi/mi-logging.exp
2825         * gdb.mi/mi-memory-changed.exp
2826         * gdb.mi/mi-read-memory.exp
2827         * gdb.mi/mi-record-changed.exp
2828         * gdb.mi/mi-reg-undefined.exp
2829         * gdb.mi/mi-regs.exp
2830         * gdb.mi/mi-return.exp
2831         * gdb.mi/mi-reverse.exp
2832         * gdb.mi/mi-simplerun.exp
2833         * gdb.mi/mi-solib.exp
2834         * gdb.mi/mi-stack.exp
2835         * gdb.mi/mi-stepi.exp
2836         * gdb.mi/mi-syn-frame.exp
2837         * gdb.mi/mi-until.exp
2838         * gdb.mi/mi-var-block.exp
2839         * gdb.mi/mi-var-child.exp
2840         * gdb.mi/mi-var-cmd.exp
2841         * gdb.mi/mi-var-cp.exp
2842         * gdb.mi/mi-var-display.exp
2843         * gdb.mi/mi-var-invalidate.exp
2844         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2845         * gdb.mi/mi-vla-fortran.exp
2846         * gdb.mi/mi-watch.exp
2847         * gdb.mi/mi2-var-child.exp
2848         * gdb.mi/user-selected-context-sync.exp
2849         * gdb.modula2/unbounded-array.exp
2850         * gdb.multi/dummy-frame-restore.exp
2851         * gdb.multi/multi-arch-exec.exp
2852         * gdb.multi/multi-arch.exp
2853         * gdb.multi/tids.exp
2854         * gdb.multi/watchpoint-multi.exp
2855         * gdb.opencl/callfuncs.exp
2856         * gdb.opencl/convs_casts.exp
2857         * gdb.opencl/datatypes.exp
2858         * gdb.opencl/operators.exp
2859         * gdb.opencl/vec_comps.exp
2860         * gdb.opt/clobbered-registers-O2.exp
2861         * gdb.opt/inline-break.exp
2862         * gdb.opt/inline-bt.exp
2863         * gdb.opt/inline-cmds.exp
2864         * gdb.opt/inline-locals.exp
2865         * gdb.pascal/case-insensitive-symbols.exp
2866         * gdb.pascal/floats.exp
2867         * gdb.pascal/gdb11492.exp
2868         * gdb.python/lib-types.exp
2869         * gdb.python/py-arch.exp
2870         * gdb.python/py-as-string.exp
2871         * gdb.python/py-bad-printers.exp
2872         * gdb.python/py-block.exp
2873         * gdb.python/py-breakpoint-create-fail.exp
2874         * gdb.python/py-breakpoint.exp
2875         * gdb.python/py-caller-is.exp
2876         * gdb.python/py-cmd.exp
2877         * gdb.python/py-explore-cc.exp
2878         * gdb.python/py-explore.exp
2879         * gdb.python/py-finish-breakpoint.exp
2880         * gdb.python/py-finish-breakpoint2.exp
2881         * gdb.python/py-frame-args.exp
2882         * gdb.python/py-frame-inline.exp
2883         * gdb.python/py-frame.exp
2884         * gdb.python/py-framefilter-mi.exp
2885         * gdb.python/py-infthread.exp
2886         * gdb.python/py-lazy-string.exp
2887         * gdb.python/py-linetable.exp
2888         * gdb.python/py-mi-events.exp
2889         * gdb.python/py-mi-objfile.exp
2890         * gdb.python/py-mi.exp
2891         * gdb.python/py-objfile.exp
2892         * gdb.python/py-pp-integral.exp
2893         * gdb.python/py-pp-maint.exp
2894         * gdb.python/py-pp-re-notag.exp
2895         * gdb.python/py-pp-registration.exp
2896         * gdb.python/py-recurse-unwind.exp
2897         * gdb.python/py-strfns.exp
2898         * gdb.python/py-symbol.exp
2899         * gdb.python/py-symtab.exp
2900         * gdb.python/py-sync-interp.exp
2901         * gdb.python/py-typeprint.exp
2902         * gdb.python/py-unwind-maint.exp
2903         * gdb.python/py-unwind.exp
2904         * gdb.python/py-value-cc.exp
2905         * gdb.python/py-xmethods.exp
2906         * gdb.reverse/amd64-tailcall-reverse.exp
2907         * gdb.reverse/break-precsave.exp
2908         * gdb.reverse/break-reverse.exp
2909         * gdb.reverse/consecutive-precsave.exp
2910         * gdb.reverse/consecutive-reverse.exp
2911         * gdb.reverse/finish-precsave.exp
2912         * gdb.reverse/finish-reverse-bkpt.exp
2913         * gdb.reverse/finish-reverse.exp
2914         * gdb.reverse/fstatat-reverse.exp
2915         * gdb.reverse/getresuid-reverse.exp
2916         * gdb.reverse/i386-precsave.exp
2917         * gdb.reverse/i386-reverse.exp
2918         * gdb.reverse/i386-sse-reverse.exp
2919         * gdb.reverse/i387-env-reverse.exp
2920         * gdb.reverse/i387-stack-reverse.exp
2921         * gdb.reverse/insn-reverse.exp
2922         * gdb.reverse/machinestate-precsave.exp
2923         * gdb.reverse/machinestate.exp
2924         * gdb.reverse/next-reverse-bkpt-over-sr.exp
2925         * gdb.reverse/pipe-reverse.exp
2926         * gdb.reverse/readv-reverse.exp
2927         * gdb.reverse/recvmsg-reverse.exp
2928         * gdb.reverse/rerun-prec.exp
2929         * gdb.reverse/s390-mvcle.exp
2930         * gdb.reverse/step-precsave.exp
2931         * gdb.reverse/step-reverse.exp
2932         * gdb.reverse/time-reverse.exp
2933         * gdb.reverse/until-precsave.exp
2934         * gdb.reverse/until-reverse.exp
2935         * gdb.reverse/waitpid-reverse.exp
2936         * gdb.reverse/watch-precsave.exp
2937         * gdb.reverse/watch-reverse.exp
2938         * gdb.rust/generics.exp
2939         * gdb.rust/methods.exp
2940         * gdb.rust/modules.exp
2941         * gdb.rust/simple.exp
2942         * gdb.server/connect-with-no-symbol-file.exp
2943         * gdb.server/ext-attach.exp
2944         * gdb.server/ext-restart.exp
2945         * gdb.server/ext-wrapper.exp
2946         * gdb.server/file-transfer.exp
2947         * gdb.server/server-exec-info.exp
2948         * gdb.server/server-kill.exp
2949         * gdb.server/server-mon.exp
2950         * gdb.server/wrapper.exp
2951         * gdb.stabs/exclfwd.exp
2952         * gdb.stabs/gdb11479.exp
2953         * gdb.threads/clone-new-thread-event.exp
2954         * gdb.threads/corethreads.exp
2955         * gdb.threads/current-lwp-dead.exp
2956         * gdb.threads/dlopen-libpthread.exp
2957         * gdb.threads/gcore-thread.exp
2958         * gdb.threads/sigstep-threads.exp
2959         * gdb.threads/watchpoint-fork.exp
2960         * gdb.trace/actions-changed.exp
2961         * gdb.trace/backtrace.exp
2962         * gdb.trace/change-loc.exp
2963         * gdb.trace/circ.exp
2964         * gdb.trace/collection.exp
2965         * gdb.trace/disconnected-tracing.exp
2966         * gdb.trace/ftrace.exp
2967         * gdb.trace/mi-trace-frame-collected.exp
2968         * gdb.trace/mi-trace-unavailable.exp
2969         * gdb.trace/mi-traceframe-changed.exp
2970         * gdb.trace/mi-tsv-changed.exp
2971         * gdb.trace/no-attach-trace.exp
2972         * gdb.trace/passc-dyn.exp
2973         * gdb.trace/qtro.exp
2974         * gdb.trace/range-stepping.exp
2975         * gdb.trace/read-memory.exp
2976         * gdb.trace/save-trace.exp
2977         * gdb.trace/signal.exp
2978         * gdb.trace/status-stop.exp
2979         * gdb.trace/tfile.exp
2980         * gdb.trace/trace-break.exp
2981         * gdb.trace/trace-buffer-size.exp
2982         * gdb.trace/trace-condition.exp
2983         * gdb.trace/tracefile-pseudo-reg.exp
2984         * gdb.trace/tstatus.exp
2985         * gdb.trace/unavailable.exp
2986         * gdb.trace/while-dyn.exp
2987         * gdb.trace/while-stepping.exp
2988
2989 2016-12-22  Doug Evans  <xdje42@gmail.com>
2990
2991         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2992         and msymbols.
2993
2994 2016-12-19  Yao Qi  <yao.qi@linaro.org>
2995
2996         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2997         (test_with_self): Don't call do_steps_and_nexts, and remove
2998         code about stepping into xmalloc.
2999
3000 2016-12-09  Yao Qi  <yao.qi@linaro.org>
3001
3002         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3003
3004 2016-12-09  Yao Qi  <yao.qi@linaro.org>
3005
3006         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3007
3008 2016-12-09  Pedro Alves  <palves@redhat.com>
3009
3010         * gdb.base/all-architectures-0.exp: New file.
3011         * gdb.base/all-architectures-1.exp: New file.
3012         * gdb.base/all-architectures-2.exp: New file.
3013         * gdb.base/all-architectures-3.exp: New file.
3014         * gdb.base/all-architectures-4.exp: New file.
3015         * gdb.base/all-architectures-5.exp: New file.
3016         * gdb.base/all-architectures-6.exp: New file.
3017         * gdb.base/all-architectures-7.exp: New file.
3018         * gdb.base/all-architectures.exp.in: New file.
3019
3020 2016-12-09  Yao Qi  <yao.qi@linaro.org>
3021
3022         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3023
3024 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
3025
3026         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3027         possible.
3028         Remove useless pattern-matching code.
3029
3030 2016-12-02  Pedro Alves  <palves@redhat.com>
3031
3032         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3033         procedure.
3034         (top level): Call it.
3035
3036 2016-12-02  Pedro Alves  <palves@redhat.com>
3037
3038         * gdb.base/commands.exp (user_defined_command_args_stack_test):
3039         New procedure.
3040         (top level): Call it.
3041
3042 2016-12-02  Pedro Alves  <palves@redhat.com>
3043
3044         PR cli/20559
3045         * gdb.base/commands.exp (user_defined_command_args_eval): New
3046         procedure.
3047         (top level): Call it.
3048
3049 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
3050
3051         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3052         timeout handling.
3053
3054 2016-12-02  Tom Tromey  <tom@tromey.com>
3055
3056         * gdb.dwarf2/main-subprogram.c: New file.
3057         * gdb.dwarf2/main-subprogram.exp: New file.
3058
3059 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3060
3061         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3062         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3063         gdb_test_no_output for a couple of cases.
3064         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3065
3066 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3067
3068         Fix test names and standardize compilation error messages throughout
3069         the following files:
3070
3071         * gdb.ada/start.exp
3072         * gdb.arch/alpha-step.exp
3073         * gdb.arch/e500-prologue.exp
3074         * gdb.arch/ftrace-insn-reloc.exp
3075         * gdb.arch/gdb1291.exp
3076         * gdb.arch/gdb1431.exp
3077         * gdb.arch/gdb1558.exp
3078         * gdb.arch/i386-dr3-watch.exp
3079         * gdb.arch/i386-sse-stack-align.exp
3080         * gdb.arch/ia64-breakpoint-shadow.exp
3081         * gdb.arch/pa-nullify.exp
3082         * gdb.arch/powerpc-aix-prologue.exp
3083         * gdb.arch/thumb-bx-pc.exp
3084         * gdb.base/annota1.exp
3085         * gdb.base/annota3.exp
3086         * gdb.base/arrayidx.exp
3087         * gdb.base/assign.exp
3088         * gdb.base/attach.exp
3089         * gdb.base/auxv.exp
3090         * gdb.base/bang.exp
3091         * gdb.base/bfp-test.exp
3092         * gdb.base/bigcore.exp
3093         * gdb.base/bitfields2.exp
3094         * gdb.base/break-fun-addr.exp
3095         * gdb.base/break-probes.exp
3096         * gdb.base/call-rt-st.exp
3097         * gdb.base/callexit.exp
3098         * gdb.base/catch-fork-kill.exp
3099         * gdb.base/charset.exp
3100         * gdb.base/checkpoint.exp
3101         * gdb.base/comprdebug.exp
3102         * gdb.base/constvars.exp
3103         * gdb.base/coredump-filter.exp
3104         * gdb.base/cursal.exp
3105         * gdb.base/cvexpr.exp
3106         * gdb.base/detach.exp
3107         * gdb.base/display.exp
3108         * gdb.base/dmsym.exp
3109         * gdb.base/dprintf-pending.exp
3110         * gdb.base/dso2dso.exp
3111         * gdb.base/dtrace-probe.exp
3112         * gdb.base/dump.exp
3113         * gdb.base/enum_cond.exp
3114         * gdb.base/exe-lock.exp
3115         * gdb.base/exec-invalid-sysroot.exp
3116         * gdb.base/execl-update-breakpoints.exp
3117         * gdb.base/exprs.exp
3118         * gdb.base/fileio.exp
3119         * gdb.base/find.exp
3120         * gdb.base/finish.exp
3121         * gdb.base/fixsection.exp
3122         * gdb.base/foll-vfork.exp
3123         * gdb.base/frame-args.exp
3124         * gdb.base/gcore.exp
3125         * gdb.base/gdb1250.exp
3126         * gdb.base/global-var-nested-by-dso.exp
3127         * gdb.base/gnu-ifunc.exp
3128         * gdb.base/hashline1.exp
3129         * gdb.base/hashline2.exp
3130         * gdb.base/hashline3.exp
3131         * gdb.base/hbreak-in-shr-unsupported.exp
3132         * gdb.base/huge.exp
3133         * gdb.base/infcall-input.exp
3134         * gdb.base/info-fun.exp
3135         * gdb.base/info-shared.exp
3136         * gdb.base/jit-simple.exp
3137         * gdb.base/jit-so.exp
3138         * gdb.base/jit.exp
3139         * gdb.base/jump.exp
3140         * gdb.base/label.exp
3141         * gdb.base/lineinc.exp
3142         * gdb.base/logical.exp
3143         * gdb.base/longjmp.exp
3144         * gdb.base/macscp.exp
3145         * gdb.base/miscexprs.exp
3146         * gdb.base/new-ui-echo.exp
3147         * gdb.base/new-ui-pending-input.exp
3148         * gdb.base/new-ui.exp
3149         * gdb.base/nodebug.exp
3150         * gdb.base/nofield.exp
3151         * gdb.base/offsets.exp
3152         * gdb.base/overlays.exp
3153         * gdb.base/pending.exp
3154         * gdb.base/pointers.exp
3155         * gdb.base/pr11022.exp
3156         * gdb.base/printcmds.exp
3157         * gdb.base/prologue.exp
3158         * gdb.base/ptr-typedef.exp
3159         * gdb.base/realname-expand.exp
3160         * gdb.base/relativedebug.exp
3161         * gdb.base/relocate.exp
3162         * gdb.base/remote.exp
3163         * gdb.base/reread.exp
3164         * gdb.base/return2.exp
3165         * gdb.base/savedregs.exp
3166         * gdb.base/sep.exp
3167         * gdb.base/sepdebug.exp
3168         * gdb.base/sepsymtab.exp
3169         * gdb.base/set-inferior-tty.exp
3170         * gdb.base/setshow.exp
3171         * gdb.base/shlib-call.exp
3172         * gdb.base/sigaltstack.exp
3173         * gdb.base/siginfo-addr.exp
3174         * gdb.base/signals.exp
3175         * gdb.base/signull.exp
3176         * gdb.base/sigrepeat.exp
3177         * gdb.base/so-impl-ld.exp
3178         * gdb.base/solib-display.exp
3179         * gdb.base/solib-overlap.exp
3180         * gdb.base/solib-search.exp
3181         * gdb.base/solib-symbol.exp
3182         * gdb.base/structs.exp
3183         * gdb.base/structs2.exp
3184         * gdb.base/symtab-search-order.exp
3185         * gdb.base/twice.exp
3186         * gdb.base/unload.exp
3187         * gdb.base/varargs.exp
3188         * gdb.base/watchpoint-solib.exp
3189         * gdb.base/watchpoint.exp
3190         * gdb.base/whatis.exp
3191         * gdb.base/wrong_frame_bt_full.exp
3192         * gdb.btrace/dlopen.exp
3193         * gdb.cell/ea-standalone.exp
3194         * gdb.cell/ea-test.exp
3195         * gdb.cp/dispcxx.exp
3196         * gdb.cp/gdb2384.exp
3197         * gdb.cp/method2.exp
3198         * gdb.cp/nextoverthrow.exp
3199         * gdb.cp/pr10728.exp
3200         * gdb.disasm/am33.exp
3201         * gdb.disasm/h8300s.exp
3202         * gdb.disasm/mn10300.exp
3203         * gdb.disasm/sh3.exp
3204         * gdb.dwarf2/dw2-dir-file-name.exp
3205         * gdb.fortran/complex.exp
3206         * gdb.fortran/library-module.exp
3207         * gdb.guile/scm-pretty-print.exp
3208         * gdb.guile/scm-symbol.exp
3209         * gdb.guile/scm-type.exp
3210         * gdb.guile/scm-value.exp
3211         * gdb.linespec/linespec.exp
3212         * gdb.mi/gdb701.exp
3213         * gdb.mi/gdb792.exp
3214         * gdb.mi/mi-breakpoint-changed.exp
3215         * gdb.mi/mi-dprintf-pending.exp
3216         * gdb.mi/mi-dprintf.exp
3217         * gdb.mi/mi-exit-code.exp
3218         * gdb.mi/mi-pending.exp
3219         * gdb.mi/mi-solib.exp
3220         * gdb.mi/new-ui-mi-sync.exp
3221         * gdb.mi/pr11022.exp
3222         * gdb.mi/user-selected-context-sync.exp
3223         * gdb.opt/solib-intra-step.exp
3224         * gdb.python/py-events.exp
3225         * gdb.python/py-finish-breakpoint.exp
3226         * gdb.python/py-mi.exp
3227         * gdb.python/py-prettyprint.exp
3228         * gdb.python/py-shared.exp
3229         * gdb.python/py-symbol.exp
3230         * gdb.python/py-template.exp
3231         * gdb.python/py-type.exp
3232         * gdb.python/py-value.exp
3233         * gdb.reverse/solib-precsave.exp
3234         * gdb.reverse/solib-reverse.exp
3235         * gdb.server/solib-list.exp
3236         * gdb.stabs/weird.exp
3237         * gdb.threads/reconnect-signal.exp
3238         * gdb.threads/stepi-random-signal.exp
3239         * gdb.trace/actions.exp
3240         * gdb.trace/ax.exp
3241         * gdb.trace/backtrace.exp
3242         * gdb.trace/change-loc.exp
3243         * gdb.trace/deltrace.exp
3244         * gdb.trace/ftrace-lock.exp
3245         * gdb.trace/ftrace.exp
3246         * gdb.trace/infotrace.exp
3247         * gdb.trace/mi-tracepoint-changed.exp
3248         * gdb.trace/packetlen.exp
3249         * gdb.trace/passcount.exp
3250         * gdb.trace/pending.exp
3251         * gdb.trace/range-stepping.exp
3252         * gdb.trace/report.exp
3253         * gdb.trace/stap-trace.exp
3254         * gdb.trace/tfind.exp
3255         * gdb.trace/trace-break.exp
3256         * gdb.trace/trace-condition.exp
3257         * gdb.trace/trace-enable-disable.exp
3258         * gdb.trace/trace-mt.exp
3259         * gdb.trace/tracecmd.exp
3260         * gdb.trace/tspeed.exp
3261         * gdb.trace/tsv.exp
3262         * lib/perftest.exp
3263
3264 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3265
3266         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3267         with gdb_test_no_output.
3268         Use command as test name.
3269
3270 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3271
3272         Fix test names starting with uppercase throughout the files.
3273
3274         * gdb.ada/assign_1.exp
3275         * gdb.ada/boolean_expr.exp
3276         * gdb.base/arrayidx.exp
3277         * gdb.base/del.exp
3278         * gdb.base/gcore-buffer-overflow.exp
3279         * gdb.base/testenv.exp
3280         * gdb.compile/compile.exp
3281         * gdb.python/py-framefilter-invalidarg.exp
3282         * gdb.python/py-framefilter.exp
3283
3284 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3285
3286         Fix test names starting with uppercase throughout the files.
3287
3288         * gdb.ada/array_return.exp
3289         * gdb.ada/expr_delims.exp
3290         * gdb.ada/mi_dyn_arr.exp
3291         * gdb.ada/mi_interface.exp
3292         * gdb.ada/mi_var_array.exp
3293         * gdb.ada/watch_arg.exp
3294         * gdb.arch/alpha-step.exp
3295         * gdb.arch/altivec-regs.exp
3296         * gdb.arch/e500-regs.exp
3297         * gdb.arch/powerpc-d128-regs.exp
3298         * gdb.base/arrayidx.exp
3299         * gdb.base/break.exp
3300         * gdb.base/checkpoint.exp
3301         * gdb.base/debug-expr.exp
3302         * gdb.base/dmsym.exp
3303         * gdb.base/radix.exp
3304         * gdb.base/sepdebug.exp
3305         * gdb.base/testenv.exp
3306         * gdb.base/watch_thread_num.exp
3307         * gdb.base/watchpoint-cond-gone.exp
3308         * gdb.cell/break.exp
3309         * gdb.cell/ea-cache.exp
3310         * gdb.compile/compile.exp
3311         * gdb.cp/gdb2495.exp
3312         * gdb.gdb/selftest.exp
3313         * gdb.gdb/xfullpath.exp
3314         * gdb.go/hello.exp
3315         * gdb.go/integers.exp
3316         * gdb.objc/basicclass.exp
3317         * gdb.pascal/hello.exp
3318         * gdb.pascal/integers.exp
3319         * gdb.python/py-breakpoint.exp
3320         * gdb.python/py-cmd.exp
3321         * gdb.python/py-linetable.exp
3322         * gdb.python/py-xmethods.exp
3323         * gdb.python/python.exp
3324         * gdb.reverse/consecutive-precsave.exp
3325         * gdb.reverse/finish-precsave.exp
3326         * gdb.reverse/i386-precsave.exp
3327         * gdb.reverse/machinestate-precsave.exp
3328         * gdb.reverse/sigall-precsave.exp
3329         * gdb.reverse/solib-precsave.exp
3330         * gdb.reverse/step-precsave.exp
3331         * gdb.reverse/until-precsave.exp
3332         * gdb.reverse/watch-precsave.exp
3333         * gdb.threads/leader-exit.exp
3334         * gdb.threads/pthreads.exp
3335         * gdb.threads/wp-replication.exp
3336         * gdb.trace/actions.exp
3337         * gdb.trace/mi-tsv-changed.exp
3338         * gdb.trace/tsv.exp
3339
3340 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3341
3342         Fix test names starting with uppercase throughout the files.
3343
3344         * gdb.arch/i386-bp_permanent.exp
3345         * gdb.arch/i386-gnu-cfi.exp
3346         * gdb.base/disasm-end-cu.exp
3347         * gdb.base/macscp.exp
3348         * gdb.base/pending.exp
3349         * gdb.base/watch_thread_num.exp
3350         * gdb.cp/exception.exp
3351         * gdb.cp/gdb2495.exp
3352         * gdb.cp/local.exp
3353         * gdb.python/py-evsignal.exp
3354         * gdb.python/python.exp
3355         * gdb.trace/tracecmd.exp
3356
3357 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3358
3359         Fix test names starting with uppercase throughout the files.
3360
3361         * gdb.base/charset.exp
3362         * gdb.base/eval.exp
3363         * gdb.base/multi-forks.exp
3364         * gdb.guile/scm-progspace.exp
3365         * gdb.opencl/datatypes.exp
3366         * gdb.python/py-block.exp
3367         * gdb.python/py-function.exp
3368         * gdb.python/py-symbol.exp
3369         * gdb.python/py-symtab.exp
3370         * gdb.python/py-xmethods.exp
3371         * gdb.reverse/break-precsave.exp
3372         * gdb.reverse/break-reverse.exp
3373         * gdb.reverse/consecutive-precsave.exp
3374         * gdb.reverse/consecutive-reverse.exp
3375         * gdb.reverse/finish-precsave.exp
3376         * gdb.reverse/finish-reverse-bkpt.exp
3377         * gdb.reverse/finish-reverse.exp
3378         * gdb.reverse/fstatat-reverse.exp
3379         * gdb.reverse/getresuid-reverse.exp
3380         * gdb.reverse/i386-precsave.exp
3381         * gdb.reverse/i386-reverse.exp
3382         * gdb.reverse/i386-sse-reverse.exp
3383         * gdb.reverse/i387-stack-reverse.exp
3384         * gdb.reverse/insn-reverse.exp
3385         * gdb.reverse/machinestate-precsave.exp
3386         * gdb.reverse/machinestate.exp
3387         * gdb.reverse/next-reverse-bkpt-over-sr.exp
3388         * gdb.reverse/pipe-reverse.exp
3389         * gdb.reverse/readv-reverse.exp
3390         * gdb.reverse/recvmsg-reverse.exp
3391         * gdb.reverse/rerun-prec.exp
3392         * gdb.reverse/s390-mvcle.exp
3393         * gdb.reverse/sigall-precsave.exp
3394         * gdb.reverse/sigall-reverse.exp
3395         * gdb.reverse/solib-precsave.exp
3396         * gdb.reverse/solib-reverse.exp
3397         * gdb.reverse/step-precsave.exp
3398         * gdb.reverse/step-reverse.exp
3399         * gdb.reverse/time-reverse.exp
3400         * gdb.reverse/until-precsave.exp
3401         * gdb.reverse/until-reverse.exp
3402         * gdb.reverse/waitpid-reverse.exp
3403         * gdb.reverse/watch-precsave.exp
3404         * gdb.reverse/watch-reverse.exp
3405
3406 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3407
3408         Fix test names starting with uppercase throughout the files.
3409
3410         * gdb.arch/i386-mpx-simple_segv.exp
3411         * gdb.arch/i386-mpx.exp
3412         * gdb.arch/i386-permbkpt.exp
3413         * gdb.arch/pa-nullify.exp
3414         * gdb.arch/powerpc-d128-regs.exp
3415         * gdb.arch/vsx-regs.exp
3416         * gdb.base/bfp-test.exp
3417         * gdb.base/break.exp
3418         * gdb.base/breakpoint-shadow.exp
3419         * gdb.base/callfuncs.exp
3420         * gdb.base/charset.exp
3421         * gdb.base/commands.exp
3422         * gdb.base/completion.exp
3423         * gdb.base/dfp-test.exp
3424         * gdb.base/echo.exp
3425         * gdb.base/ending-run.exp
3426         * gdb.base/eval.exp
3427         * gdb.base/expand-psymtabs.exp
3428         * gdb.base/float128.exp
3429         * gdb.base/floatn.exp
3430         * gdb.base/foll-exec-mode.exp
3431         * gdb.base/gdb1056.exp
3432         * gdb.base/gdb11531.exp
3433         * gdb.base/kill-after-signal.exp
3434         * gdb.base/multi-forks.exp
3435         * gdb.base/overlays.exp
3436         * gdb.base/pending.exp
3437         * gdb.base/sepdebug.exp
3438         * gdb.base/testenv.exp
3439         * gdb.base/valgrind-db-attach.exp
3440         * gdb.base/watch_thread_num.exp
3441         * gdb.base/watchpoint-cond-gone.exp
3442         * gdb.base/watchpoint.exp
3443         * gdb.base/watchpoints.exp
3444         * gdb.cp/arg-reference.exp
3445         * gdb.cp/baseenum.exp
3446         * gdb.cp/operator.exp
3447         * gdb.cp/shadow.exp
3448         * gdb.dwarf2/dw2-op-out-param.exp
3449         * gdb.dwarf2/dw2-reg-undefined.exp
3450         * gdb.go/chan.exp
3451         * gdb.go/hello.exp
3452         * gdb.go/integers.exp
3453         * gdb.go/methods.exp
3454         * gdb.go/package.exp
3455         * gdb.guile/scm-parameter.exp
3456         * gdb.guile/scm-progspace.exp
3457         * gdb.guile/scm-value.exp
3458         * gdb.mi/mi-pending.exp
3459         * gdb.mi/user-selected-context-sync.exp
3460         * gdb.multi/multi-attach.exp
3461         * gdb.multi/tids.exp
3462         * gdb.opt/clobbered-registers-O2.exp
3463         * gdb.pascal/floats.exp
3464         * gdb.pascal/integers.exp
3465         * gdb.python/py-block.exp
3466         * gdb.python/py-events.exp
3467         * gdb.python/py-parameter.exp
3468         * gdb.python/py-symbol.exp
3469         * gdb.python/py-symtab.exp
3470         * gdb.python/py-type.exp
3471         * gdb.python/py-value.exp
3472         * gdb.python/py-xmethods.exp
3473         * gdb.python/python.exp
3474         * gdb.reverse/break-precsave.exp
3475         * gdb.reverse/consecutive-precsave.exp
3476         * gdb.reverse/finish-precsave.exp
3477         * gdb.reverse/i386-precsave.exp
3478         * gdb.reverse/machinestate-precsave.exp
3479         * gdb.reverse/sigall-precsave.exp
3480         * gdb.reverse/solib-precsave.exp
3481         * gdb.reverse/step-precsave.exp
3482         * gdb.reverse/until-precsave.exp
3483         * gdb.reverse/watch-precsave.exp
3484         * gdb.server/ext-attach.exp
3485         * gdb.server/ext-restart.exp
3486         * gdb.server/ext-run.exp
3487         * gdb.server/ext-wrapper.exp
3488         * gdb.stabs/gdb11479.exp
3489         * gdb.stabs/weird.exp
3490         * gdb.threads/attach-many-short-lived-threads.exp
3491         * gdb.threads/kill.exp
3492         * gdb.threads/watchpoint-fork.exp
3493
3494 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3495
3496         Fix test names starting with uppercase throughout all the files below.
3497
3498         * gdb.ada/array_return.exp
3499         * gdb.ada/catch_ex.exp
3500         * gdb.ada/info_exc.exp
3501         * gdb.ada/mi_catch_ex.exp
3502         * gdb.ada/mi_dyn_arr.exp
3503         * gdb.ada/mi_ex_cond.exp
3504         * gdb.ada/mi_exc_info.exp
3505         * gdb.ada/mi_interface.exp
3506         * gdb.ada/mi_task_arg.exp
3507         * gdb.ada/mi_task_info.exp
3508         * gdb.ada/mi_var_array.exp
3509         * gdb.arch/alpha-step.exp
3510         * gdb.arch/amd64-disp-step.exp
3511         * gdb.arch/arm-disp-step.exp
3512         * gdb.arch/disp-step-insn-reloc.exp
3513         * gdb.arch/e500-prologue.exp
3514         * gdb.arch/ftrace-insn-reloc.exp
3515         * gdb.arch/gdb1558.exp
3516         * gdb.arch/i386-bp_permanent.exp
3517         * gdb.arch/i386-disp-step.exp
3518         * gdb.arch/i386-float.exp
3519         * gdb.arch/i386-gnu-cfi.exp
3520         * gdb.arch/ia64-breakpoint-shadow.exp
3521         * gdb.arch/mips16-thunks.exp
3522         * gdb.arch/pa-nullify.exp
3523         * gdb.arch/powerpc-aix-prologue.exp
3524         * gdb.arch/powerpc-power.exp
3525         * gdb.arch/ppc-dfp.exp
3526         * gdb.arch/s390-tdbregs.exp
3527         * gdb.arch/spu-info.exp
3528         * gdb.arch/spu-ls.exp
3529         * gdb.arch/thumb-bx-pc.exp
3530         * gdb.base/advance.exp
3531         * gdb.base/annota-input-while-running.exp
3532         * gdb.base/arrayidx.exp
3533         * gdb.base/asmlabel.exp
3534         * gdb.base/async.exp
3535         * gdb.base/attach-wait-input.exp
3536         * gdb.base/auto-connect-native-target.exp
3537         * gdb.base/batch-preserve-term-settings.exp
3538         * gdb.base/bfp-test.exp
3539         * gdb.base/bigcore.exp
3540         * gdb.base/bp-permanent.exp
3541         * gdb.base/break-always.exp
3542         * gdb.base/break-fun-addr.exp
3543         * gdb.base/break-idempotent.exp
3544         * gdb.base/break-main-file-remove-fail.exp
3545         * gdb.base/break-probes.exp
3546         * gdb.base/break-unload-file.exp
3547         * gdb.base/break.exp
3548         * gdb.base/call-ar-st.exp
3549         * gdb.base/call-rt-st.exp
3550         * gdb.base/call-sc.exp
3551         * gdb.base/call-signal-resume.exp
3552         * gdb.base/call-strs.exp
3553         * gdb.base/callexit.exp
3554         * gdb.base/callfuncs.exp
3555         * gdb.base/catch-gdb-caused-signals.exp
3556         * gdb.base/catch-signal-siginfo-cond.exp
3557         * gdb.base/catch-syscall.exp
3558         * gdb.base/compare-sections.exp
3559         * gdb.base/cond-eval-mode.exp
3560         * gdb.base/condbreak-call-false.exp
3561         * gdb.base/consecutive-step-over.exp
3562         * gdb.base/cursal.exp
3563         * gdb.base/disabled-location.exp
3564         * gdb.base/disasm-end-cu.exp
3565         * gdb.base/display.exp
3566         * gdb.base/double-prompt-target-event-error.exp
3567         * gdb.base/dprintf-bp-same-addr.exp
3568         * gdb.base/dprintf-detach.exp
3569         * gdb.base/dprintf-next.exp
3570         * gdb.base/dprintf-non-stop.exp
3571         * gdb.base/dprintf-pending.exp
3572         * gdb.base/dso2dso.exp
3573         * gdb.base/ending-run.exp
3574         * gdb.base/enum_cond.exp
3575         * gdb.base/examine-backward.exp
3576         * gdb.base/exe-lock.exp
3577         * gdb.base/exec-invalid-sysroot.exp
3578         * gdb.base/execl-update-breakpoints.exp
3579         * gdb.base/execution-termios.exp
3580         * gdb.base/fileio.exp
3581         * gdb.base/fixsection.exp
3582         * gdb.base/foll-exec-mode.exp
3583         * gdb.base/foll-exec.exp
3584         * gdb.base/fork-running-state.exp
3585         * gdb.base/frame-args.exp
3586         * gdb.base/fullpath-expand.exp
3587         * gdb.base/func-ptr.exp
3588         * gdb.base/gcore-relro-pie.exp
3589         * gdb.base/gdb1090.exp
3590         * gdb.base/gdb1555.exp
3591         * gdb.base/global-var-nested-by-dso.exp
3592         * gdb.base/gnu-ifunc.exp
3593         * gdb.base/hbreak-in-shr-unsupported.exp
3594         * gdb.base/hbreak-unmapped.exp
3595         * gdb.base/hook-stop.exp
3596         * gdb.base/infcall-input.exp
3597         * gdb.base/info-fun.exp
3598         * gdb.base/info-shared.exp
3599         * gdb.base/interrupt-noterm.exp
3600         * gdb.base/jit-so.exp
3601         * gdb.base/jit.exp
3602         * gdb.base/line-symtabs.exp
3603         * gdb.base/list.exp
3604         * gdb.base/longjmp.exp
3605         * gdb.base/macscp.exp
3606         * gdb.base/max-value-size.exp
3607         * gdb.base/nodebug.exp
3608         * gdb.base/nofield.exp
3609         * gdb.base/overlays.exp
3610         * gdb.base/paginate-after-ctrl-c-running.exp
3611         * gdb.base/paginate-bg-execution.exp
3612         * gdb.base/paginate-inferior-exit.exp
3613         * gdb.base/pending.exp
3614         * gdb.base/pr11022.exp
3615         * gdb.base/printcmds.exp
3616         * gdb.base/ptr-typedef.exp
3617         * gdb.base/ptype.exp
3618         * gdb.base/randomize.exp
3619         * gdb.base/range-stepping.exp
3620         * gdb.base/realname-expand.exp
3621         * gdb.base/relativedebug.exp
3622         * gdb.base/remote.exp
3623         * gdb.base/savedregs.exp
3624         * gdb.base/sepdebug.exp
3625         * gdb.base/set-noassign.exp
3626         * gdb.base/shlib-call.exp
3627         * gdb.base/shreloc.exp
3628         * gdb.base/sigaltstack.exp
3629         * gdb.base/sigbpt.exp
3630         * gdb.base/siginfo-addr.exp
3631         * gdb.base/siginfo-obj.exp
3632         * gdb.base/siginfo-thread.exp
3633         * gdb.base/signest.exp
3634         * gdb.base/signull.exp
3635         * gdb.base/sigrepeat.exp
3636         * gdb.base/skip.exp
3637         * gdb.base/so-impl-ld.exp
3638         * gdb.base/solib-corrupted.exp
3639         * gdb.base/solib-disc.exp
3640         * gdb.base/solib-display.exp
3641         * gdb.base/solib-overlap.exp
3642         * gdb.base/solib-search.exp
3643         * gdb.base/solib-symbol.exp
3644         * gdb.base/source-execution.exp
3645         * gdb.base/sss-bp-on-user-bp-2.exp
3646         * gdb.base/sss-bp-on-user-bp.exp
3647         * gdb.base/stack-checking.exp
3648         * gdb.base/stale-infcall.exp
3649         * gdb.base/step-break.exp
3650         * gdb.base/step-line.exp
3651         * gdb.base/step-over-exit.exp
3652         * gdb.base/step-test.exp
3653         * gdb.base/structs.exp
3654         * gdb.base/sym-file.exp
3655         * gdb.base/symtab-search-order.exp
3656         * gdb.base/term.exp
3657         * gdb.base/type-opaque.exp
3658         * gdb.base/unload.exp
3659         * gdb.base/until-nodebug.exp
3660         * gdb.base/until.exp
3661         * gdb.base/unwindonsignal.exp
3662         * gdb.base/watch-cond.exp
3663         * gdb.base/watch-non-mem.exp
3664         * gdb.base/watch_thread_num.exp
3665         * gdb.base/watchpoint-reuse-slot.exp
3666         * gdb.base/watchpoint-solib.exp
3667         * gdb.base/watchpoint.exp
3668         * gdb.btrace/dlopen.exp
3669         * gdb.cell/arch.exp
3670         * gdb.cell/break.exp
3671         * gdb.cell/bt.exp
3672         * gdb.cell/core.exp
3673         * gdb.cell/data.exp
3674         * gdb.cell/dwarfaddr.exp
3675         * gdb.cell/ea-cache.exp
3676         * gdb.cell/ea-standalone.exp
3677         * gdb.cell/ea-test.exp
3678         * gdb.cell/f-regs.exp
3679         * gdb.cell/fork.exp
3680         * gdb.cell/gcore.exp
3681         * gdb.cell/mem-access.exp
3682         * gdb.cell/ptype.exp
3683         * gdb.cell/registers.exp
3684         * gdb.cell/sizeof.exp
3685         * gdb.cell/solib-symbol.exp
3686         * gdb.cell/solib.exp
3687         * gdb.compile/compile-tls.exp
3688         * gdb.cp/exception.exp
3689         * gdb.cp/gdb2495.exp
3690         * gdb.cp/local.exp
3691         * gdb.cp/mb-inline.exp
3692         * gdb.cp/mb-templates.exp
3693         * gdb.cp/pr10687.exp
3694         * gdb.cp/pr9167.exp
3695         * gdb.cp/scope-err.exp
3696         * gdb.cp/templates.exp
3697         * gdb.cp/virtfunc.exp
3698         * gdb.dwarf2/dw2-dir-file-name.exp
3699         * gdb.dwarf2/dw2-single-line-discriminators.exp
3700         * gdb.fortran/complex.exp
3701         * gdb.fortran/library-module.exp
3702         * gdb.guile/guile.exp
3703         * gdb.guile/scm-cmd.exp
3704         * gdb.guile/scm-frame-inline.exp
3705         * gdb.guile/scm-objfile.exp
3706         * gdb.guile/scm-pretty-print.exp
3707         * gdb.guile/scm-symbol.exp
3708         * gdb.guile/scm-type.exp
3709         * gdb.guile/scm-value.exp
3710         * gdb.linespec/keywords.exp
3711         * gdb.linespec/ls-errs.exp
3712         * gdb.linespec/macro-relative.exp
3713         * gdb.linespec/thread.exp
3714         * gdb.mi/mi-breakpoint-changed.exp
3715         * gdb.mi/mi-dprintf-pending.exp
3716         * gdb.mi/mi-fullname-deleted.exp
3717         * gdb.mi/mi-logging.exp
3718         * gdb.mi/mi-pending.exp
3719         * gdb.mi/mi-solib.exp
3720         * gdb.mi/new-ui-mi-sync.exp
3721         * gdb.mi/user-selected-context-sync.exp
3722         * gdb.multi/dummy-frame-restore.exp
3723         * gdb.multi/multi-arch-exec.exp
3724         * gdb.multi/remove-inferiors.exp
3725         * gdb.multi/watchpoint-multi-exit.exp
3726         * gdb.opt/solib-intra-step.exp
3727         * gdb.perf/backtrace.exp
3728         * gdb.perf/single-step.exp
3729         * gdb.perf/skip-command.exp
3730         * gdb.perf/skip-prologue.exp
3731         * gdb.perf/solib.exp
3732         * gdb.python/lib-types.exp
3733         * gdb.python/py-as-string.exp
3734         * gdb.python/py-bad-printers.exp
3735         * gdb.python/py-block.exp
3736         * gdb.python/py-breakpoint.exp
3737         * gdb.python/py-cmd.exp
3738         * gdb.python/py-events.exp
3739         * gdb.python/py-evthreads.exp
3740         * gdb.python/py-finish-breakpoint.exp
3741         * gdb.python/py-finish-breakpoint2.exp
3742         * gdb.python/py-frame-inline.exp
3743         * gdb.python/py-frame.exp
3744         * gdb.python/py-inferior.exp
3745         * gdb.python/py-infthread.exp
3746         * gdb.python/py-mi.exp
3747         * gdb.python/py-objfile.exp
3748         * gdb.python/py-pp-maint.exp
3749         * gdb.python/py-pp-registration.exp
3750         * gdb.python/py-prettyprint.exp
3751         * gdb.python/py-recurse-unwind.exp
3752         * gdb.python/py-shared.exp
3753         * gdb.python/py-symbol.exp
3754         * gdb.python/py-symtab.exp
3755         * gdb.python/py-template.exp
3756         * gdb.python/py-type.exp
3757         * gdb.python/py-unwind-maint.exp
3758         * gdb.python/py-unwind.exp
3759         * gdb.python/py-value.exp
3760         * gdb.python/python.exp
3761         * gdb.reverse/finish-reverse-bkpt.exp
3762         * gdb.reverse/insn-reverse.exp
3763         * gdb.reverse/next-reverse-bkpt-over-sr.exp
3764         * gdb.reverse/solib-precsave.exp
3765         * gdb.reverse/solib-reverse.exp
3766         * gdb.stabs/gdb11479.exp
3767         * gdb.stabs/weird.exp
3768         * gdb.threads/fork-child-threads.exp
3769         * gdb.threads/fork-plus-threads.exp
3770         * gdb.threads/fork-thread-pending.exp
3771         * gdb.threads/forking-threads-plus-breakpoint.exp
3772         * gdb.threads/hand-call-in-threads.exp
3773         * gdb.threads/interrupted-hand-call.exp
3774         * gdb.threads/linux-dp.exp
3775         * gdb.threads/local-watch-wrong-thread.exp
3776         * gdb.threads/next-while-other-thread-longjmps.exp
3777         * gdb.threads/non-ldr-exit.exp
3778         * gdb.threads/pending-step.exp
3779         * gdb.threads/print-threads.exp
3780         * gdb.threads/process-dies-while-detaching.exp
3781         * gdb.threads/process-dies-while-handling-bp.exp
3782         * gdb.threads/pthreads.exp
3783         * gdb.threads/queue-signal.exp
3784         * gdb.threads/reconnect-signal.exp
3785         * gdb.threads/signal-command-handle-nopass.exp
3786         * gdb.threads/signal-command-multiple-signals-pending.exp
3787         * gdb.threads/signal-delivered-right-thread.exp
3788         * gdb.threads/signal-sigtrap.exp
3789         * gdb.threads/sigthread.exp
3790         * gdb.threads/staticthreads.exp
3791         * gdb.threads/stepi-random-signal.exp
3792         * gdb.threads/thread-unwindonsignal.exp
3793         * gdb.threads/thread_check.exp
3794         * gdb.threads/thread_events.exp
3795         * gdb.threads/tid-reuse.exp
3796         * gdb.threads/tls-nodebug.exp
3797         * gdb.threads/tls-shared.exp
3798         * gdb.threads/tls-so_extern.exp
3799         * gdb.threads/tls.exp
3800         * gdb.threads/wp-replication.exp
3801         * gdb.trace/actions-changed.exp
3802         * gdb.trace/actions.exp
3803         * gdb.trace/backtrace.exp
3804         * gdb.trace/change-loc.exp
3805         * gdb.trace/collection.exp
3806         * gdb.trace/deltrace.exp
3807         * gdb.trace/disconnected-tracing.exp
3808         * gdb.trace/entry-values.exp
3809         * gdb.trace/ftrace-lock.exp
3810         * gdb.trace/ftrace.exp
3811         * gdb.trace/infotrace.exp
3812         * gdb.trace/mi-trace-frame-collected.exp
3813         * gdb.trace/mi-trace-unavailable.exp
3814         * gdb.trace/mi-traceframe-changed.exp
3815         * gdb.trace/mi-tracepoint-changed.exp
3816         * gdb.trace/mi-tsv-changed.exp
3817         * gdb.trace/no-attach-trace.exp
3818         * gdb.trace/packetlen.exp
3819         * gdb.trace/passc-dyn.exp
3820         * gdb.trace/passcount.exp
3821         * gdb.trace/pending.exp
3822         * gdb.trace/pr16508.exp
3823         * gdb.trace/qtro.exp
3824         * gdb.trace/range-stepping.exp
3825         * gdb.trace/read-memory.exp
3826         * gdb.trace/report.exp
3827         * gdb.trace/save-trace.exp
3828         * gdb.trace/signal.exp
3829         * gdb.trace/stap-trace.exp
3830         * gdb.trace/status-stop.exp
3831         * gdb.trace/strace.exp
3832         * gdb.trace/tfile.exp
3833         * gdb.trace/tfind.exp
3834         * gdb.trace/trace-break.exp
3835         * gdb.trace/trace-condition.exp
3836         * gdb.trace/trace-enable-disable.exp
3837         * gdb.trace/trace-mt.exp
3838         * gdb.trace/tracecmd.exp
3839         * gdb.trace/tracefile-pseudo-reg.exp
3840         * gdb.trace/tspeed.exp
3841         * gdb.trace/tstatus.exp
3842         * gdb.trace/tsv.exp
3843         * gdb.trace/unavailable.exp
3844         * gdb.trace/while-dyn.exp
3845         * gdb.trace/while-stepping.exp
3846         * lib/gdb-guile.exp
3847         * lib/gdb.exp
3848         * lib/mi-support.exp
3849         * lib/pascal.exp
3850         * lib/perftest.exp
3851         * lib/prelink-support.exp
3852         * lib/selftest-support.exp
3853
3854 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
3855
3856         * Makefile.in: Include disable-implicit-rules.mk.
3857
3858 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3859
3860         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3861         non-byte-aligned bit fields.
3862
3863 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3864
3865         PR gdb/12616
3866         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
3867         respects the DW_AT_data_bit_offset attribute.
3868
3869 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
3870
3871         * gdb.base/default.exp: Fix output of "set language".
3872
3873 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
3874
3875         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3876         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
3877         make.
3878         * configure.ac: Remove checks for the make program.
3879         * configure: Re-generate.
3880
3881 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
3882
3883         * gdb.python/py-recurse-unwind.c (main): Add loop.
3884         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3885         to read_register() and gdb.parse_and_eval().  Make each code
3886         call a separate case that can be individually tested.
3887         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3888         proc. Call cont_and_backtrace for each of the code paths that
3889         we want to test in the unwinder.
3890
3891 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3892
3893         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3894         the definition of struct S.
3895
3896 2016-11-11  Catherine Moore  <clm@codesourcery.com>
3897
3898         * gdb.base/dump.exp: Identify verilog format dump tests as such.
3899
3900 2016-11-09  Pedro Alves  <palves@redhat.com>
3901
3902         * gdb.base/commands.exp (runto_or_return): New procedure.
3903         (gdbvar_simple_if_test, gdbvar_simple_while_test)
3904         (gdbvar_complex_if_while_test, progvar_simple_if_test)
3905         (progvar_simple_while_test, progvar_complex_if_while_test)
3906         (if_while_breakpoint_command_test)
3907         (infrun_breakpoint_command_test, breakpoint_command_test)
3908         (user_defined_command_test, watchpoint_command_test)
3909         (test_command_prompt_position, redefine_hook_test)
3910         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3911         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3912         multi_line_input and multi_line.  Remove gdb_expect and
3913         gdb_stop_suppressing_tests uses.
3914         * lib/gdb.exp (valnum_re): New global.
3915         (multi_line_input): New procedure.
3916
3917 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
3918
3919         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3920         Remove.
3921         (test_setup): Define with proc_with_prefix.
3922         (test_cli_inferior): Likewise.
3923         (test_cli_thread): Likewise.
3924         (test_cli_frame): Likewise.
3925         (test_cli_select_frame): Likewise.
3926         (test_cli_up_down): Likewise.
3927         (test_mi_thread_select): Likewise.
3928         (test_mi_stack_select_frame): Likewise.
3929         (test_cli_in_mi_inferior): Likewise.
3930         (test_cli_in_mi_thread): Likewise.
3931         (test_cli_in_mi_frame): Likewise.
3932         (top level): Do not use with_test_prefix_procname.
3933
3934 2016-11-09  Pedro Alves  <palves@redhat.com>
3935
3936         * gdb.base/commands.exp (gdbvar_simple_if_test)
3937         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3938         (progvar_simple_if_test, progvar_simple_while_test)
3939         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3940         (infrun_breakpoint_command_test, breakpoint_command_test)
3941         (user_defined_command_test, watchpoint_command_test)
3942         (test_command_prompt_position, deprecated_command_test)
3943         (bp_deleted_in_command, temporary_breakpoint_commands)
3944         (stray_arg0_test, source_file_with_indented_comment)
3945         (recursive_source_test, if_commands_test)
3946         (error_clears_commands_left, redefine_hook_test)
3947         (redefine_backtrace_test): Use proc_with_prefix.
3948         * lib/gdb.exp (proc_with_prefix): New proc.
3949
3950 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3951
3952         * gdb.base/tui-layout.c: New file.
3953         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3954         disassembly window contains very long lines.
3955
3956 2016-11-08  Tom Tromey  <tom@tromey.com>
3957
3958         * gdb.python/py-value.exp (test_value_creation): Make "long" test
3959         depend on Python 2.
3960
3961 2016-11-08  Tom Tromey  <tom@tromey.com>
3962
3963         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3964         New method.
3965
3966 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
3967
3968         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
3969
3970 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
3971
3972         * gdb.rust/simple.rs: Add test for univariant enums without
3973         discriminants and for encoded struct-like enums.
3974
3975 2016-10-28  Pedro Alves  <palves@redhat.com>
3976
3977         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
3978         gdb_test_multiple, tighten regexps and match symtabs and line
3979         tables incrementally.
3980
3981 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
3982
3983         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
3984         general.
3985
3986 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
3987
3988         * gdb.base/exec-invalid-sysroot.exp: New file.
3989
3990 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3991
3992         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3993
3994 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3995
3996         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3997
3998 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
3999
4000         * gdb.base/killed-outside.exp: Remove $options from a call to
4001         `prepare_for_testing'.
4002
4003 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
4004
4005         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4006         Change test message.
4007
4008 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
4009
4010         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4011         Update comment.
4012
4013 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
4014
4015         * gdb.trace/mi-trace-save.exp: New file.
4016
4017 2016-10-13  Yao Qi  <yao.qi@linaro.org>
4018
4019         * gdb.base/code_elim.exp (get_var_address): Remove.
4020         * gdb.base/relocate.exp: Likewise.
4021         * gdb.base/shreloc.exp: Likewise.
4022         * lib/gdb.exp (get_var_address): New.
4023
4024 2016-10-13  Yao Qi  <yao.qi@linaro.org>
4025
4026         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4027         floating point tests if $skip_float_test is false.
4028
4029 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
4030
4031         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4032         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4033         argc values.
4034         Add 1 to argc so we guarantee distinct initial/modified argc values.
4035
4036 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4037
4038         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4039
4040 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4041
4042         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4043         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4044         * gdb.arch/vsx-regs.exp: Likewise.
4045
4046 2016-10-07  Yao Qi  <yao.qi@linaro.org>
4047
4048         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4049
4050 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
4051
4052         * gdb.python/python.exp: Test decode_line("*0").
4053
4054 2016-10-06  Doug Evans  <dje@google.com>
4055
4056         * gdb.python/py-value.exp (test_value_creation): Add test for large
4057         unsigned 64-bit value.
4058
4059 2016-10-06  Tom Tromey  <tom@tromey.com>
4060
4061         * gdb.compile/compile.exp: Change java tests to rust.
4062         * gdb.base/setshow.exp: Change java tests to rust.
4063         * gdb.base/default.exp: Remove java from language list.
4064         * README (Examples): Update language example.
4065         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4066         test.
4067         * lib/gdb.exp (skip_java_tests): Remove.
4068         * lib/java.exp: Remove.
4069         * gdb.java: Remove.
4070
4071 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
4072
4073         * gdb.arch/mips-fcr.exp: New test.
4074         * gdb.arch/mips-fcr.c: Source for the new test.
4075
4076 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
4077
4078         * gdb.base/solib-disc.exp: Use `standard_output_file'
4079         throughout.
4080
4081 2016-10-06  Pedro Alves  <palves@redhat.com>
4082
4083         * gdb.base/jit-simple-dl.c: New file.
4084         * gdb.base/jit-simple-jit.c: New file, factored out from ...
4085         * gdb.base/jit-simple.c: ... this.
4086         * gdb.base/jit-simple.exp (jit_run): Delete.
4087         (build_jit): New proc.
4088         (jit_test_reread): Recompile either the main program or the shared
4089         library, depending on what is being tested.  Skip changing address
4090         if caller wants to.  Compare before/after addresses.  If testing
4091         standalone, explicitly load the binary.  Test "maint info
4092         breakpoints".
4093         (top level): Add "standalone vs shared lib" and "change address"
4094         vs "same address" axes.
4095
4096 2016-10-06  Pedro Alves  <palves@redhat.com>
4097
4098         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4099         call.
4100         (jit_run): Delete.
4101         (jit_test_reread): Use with_test_prefix.  Reload the main binary
4102         explicitly.  Compare the before/after addresses of the JIT
4103         descriptor.
4104
4105 2016-08-15  Doug Evans  <dje@google.com>
4106
4107         * gdb.xml/extra-regs.xml: Update, end field now required, default type
4108         for single bitfields is bool.
4109         * gdb.xml/tdesc-regs.exp: Ditto.
4110
4111 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4112
4113         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4114
4115 2016-10-05  Yao Qi  <yao.qi@linaro.org>
4116
4117         * lib/gdb.exp (support_complex_tests): Return zero if
4118         gdb_skip_float_test return true.
4119
4120 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4121             Simon Marchi  <simon.marchi@ericsson.com>
4122
4123         PR gdb/20487
4124         * gdb.mi/user-selected-context-sync.exp: New file.
4125         * gdb.mi/user-selected-context-sync.c: New file.
4126
4127 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4128             Simon Marchi  <simon.marchi@ericsson.com>
4129
4130         PR gdb/20487
4131         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4132         =thread-select-event check.
4133
4134 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
4135
4136         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4137         the compulsory L operand changes.
4138         * gdb.arch/powerpc-power.s: Likewise.
4139
4140 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4141
4142         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4143         * gdb.base/jit-attach-pie.c: New file.
4144         * gdb.base/jit-attach-pie.exp: New file.
4145
4146 2016-09-28  Pedro Alves  <palves@redhat.com>
4147
4148         * gdb.base/infcall-input.c: New file.
4149         * gdb.base/infcall-input.exp: New file.
4150
4151 2016-09-22  Yao Qi  <yao.qi@linaro.org>
4152
4153         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4154         (gdb_exit): Rename it to ...
4155         (gdbserver_gdb_exit): ...  Close GDBserver.
4156         (gdb_exit): New proc, call gdbserver_gdb_exit.
4157         (mi_gdb_exit): Likewise.
4158
4159 2016-09-22  Yao Qi  <yao.qi@linaro.org>
4160
4161         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4162         path.
4163         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4164         Remove duplication.
4165
4166 2016-09-22  Yao Qi  <yao.qi@linaro.org>
4167
4168         * lib/gdbserver-support.exp: Check the existence of
4169         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4170
4171 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
4172
4173         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4174
4175 2016-09-21  Tom Tromey  <tom@tromey.com>
4176
4177         PR gdb/20604:
4178         * gdb.base/quit.exp: New file.
4179
4180 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
4181
4182         * .gitignore: New file.
4183
4184 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
4185
4186         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4187         throughout.
4188
4189 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4190
4191         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4192
4193 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4194
4195         * gdb.cp/casts.cc (decltype): Move it ...
4196         (main): ... with its call to ...
4197         * gdb.cp/casts03.cc: ... a new file.
4198         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4199
4200 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4201
4202         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4203
4204 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
4205
4206         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4207         and sync up the test with tests in gas/testsuite/gas/ppc.
4208         * gdb.arch/powerpc-power.exp: Likewise.
4209
4210 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4211
4212         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4213
4214 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
4215             Jan Kratochvil  <jan.kratochvil@redhat.com>
4216
4217         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4218         make m1's definition to be different from m2's.  Use 'dummy' as an
4219         argument for probe 'two'.
4220
4221 2016-09-10  Jon Beniston  <jon@beniston.com>
4222
4223         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4224         for sim target.
4225
4226 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4227
4228         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4229         variable declaration.
4230         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
4231         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4232         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4233         received HWCAP as its argument.
4234
4235 2016-09-06  Pedro Alves  <palves@redhat.com>
4236
4237         * gdb.base/new-ui-pending-input.c: New file.
4238         * gdb.base/new-ui-pending-input.exp: New file.
4239         * gdb.exp (clear_gdb_spawn_id): New procedure.
4240         (with_spawn_id): Check whether gdb_spawn_id exists before
4241         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
4242         on exit.
4243
4244 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
4245
4246         * gdb.base/float128.c: New file.
4247         * gdb.base/float128.exp: Likewise.
4248         * gdb.base/floatn.c: Likewise.
4249         * gdb.base/floatn.exp: Likewise.
4250
4251 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
4252
4253         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4254
4255 2016-09-05  Pedro Alves  <palves@redhat.com>
4256
4257         PR backtrace/19927
4258         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4259         unwinders are immediately called as side effect of "source" or
4260         "disable unwinder" commands.
4261         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4262
4263 2016-09-02  Yao Qi  <yao.qi@linaro.org>
4264
4265         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4266         is true and $type is "float" or "double".
4267
4268 2016-09-02  Yao Qi  <yao.qi@linaro.org>
4269
4270         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4271         true.
4272         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4273         * gdb.base/call-rt-st.exp: Likewise.
4274         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4275         return value instead of gdb,skip_float_test.
4276         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4277         (do_function_calls): Use its return value instead of
4278         gdb,skip_float_test.
4279         * gdb.base/finish.exp: Likewise.
4280         * gdb.base/funcargs.exp: Likewise.
4281         * gdb.base/return.exp: Likewise.
4282         * gdb.base/return2.exp: Likewise.
4283         * gdb.base/varargs.exp: Likewise.
4284         * lib/gdb.exp (gdb_skip_float_test): Change it to
4285         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
4286
4287 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4288
4289         * gdb.multi/tids.exp: Test "thread apply all".
4290
4291 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4292
4293         * gdb.base/default.exp (tty): Remove.
4294
4295 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
4296
4297         * gdb.python/py-recurse-unwind.c: New file.
4298         * gdb.python/py-recurse-unwind.py: New file.
4299         * gdb.python/py-recurse-unwind.exp: New file.
4300
4301 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
4302
4303         * gdb.base/set-inferior-tty.exp: New file.
4304         * gdb.base/set-inferior-tty.c: New file.
4305
4306 2016-08-23  Pedro Alves  <palves@redhat.com>
4307
4308         PR gdb/20494
4309         * gdb.base/new-ui-echo.c: New file.
4310         * gdb.base/new-ui-echo.exp: New file.
4311
4312 2016-08-23  Yao Qi  <yao.qi@linaro.org>
4313
4314         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4315         gdbserver_spawn.
4316         * gdb.server/connect-without-multi-process.exp (do_test):
4317         Likewise.
4318
4319 2016-08-23  Yao Qi  <yao.qi@linaro.org>
4320
4321         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4322         standalone_txt.  Delete gdb_txt and standalone_txt on host
4323         and target.  Spawn the binary on target.  Copy files from
4324         target to host.
4325
4326 2016-08-22  Pedro Alves  <palves@redhat.com>
4327
4328         PR gdb/20505
4329         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
4330         with_test_prefix.  Factor out bits to ...
4331         (test_no_vdso): ... this new procedure.
4332
4333 2016-08-19  Carl Love  <cel@us.ibm.com>
4334
4335         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4336         maintaining separate logic for constructing the output path.
4337         * gdb.arch/powerpc-d128-regs.exp: Likewise.
4338         * gdb.arch/ppc-dfp.exp: Likewise.
4339         * gdb.arch/ppc-fp.exp: Likewise.
4340         * gdb.arch/vsx-regs.exp: Likewise.
4341         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4342         binprefix for generating the additional binary files.
4343
4344 2016-08-19  Pedro Alves  <palves@redhat.com>
4345
4346         * gdb.trace/mi-trace-frame-collected.exp
4347         (test_trace_frame_collected): On x32, expect two registers.
4348
4349 2016-08-18  Carl Love  <cel@us.ibm.com>
4350
4351         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4352         and sync up the test with tests in gas/testsuite/gas/ppc.
4353         * gdb.arch/powerpc-power.exp: Likewise.
4354
4355 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
4356
4357         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4358         expected error message.
4359
4360 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
4361
4362         * gdb.multi/remove-inferiors.exp: New file.
4363         * gdb.multi/remove-inferiors.c: New file.
4364
4365 2016-08-12  Yao Qi  <yao.qi@linaro.org>
4366
4367         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4368         argument list.
4369
4370 2016-08-10  Pedro Alves  <palves@redhat.com>
4371
4372         PR gdb/19187
4373         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4374         setup_kfails.
4375
4376 2016-08-09  Pedro Alves  <palves@redhat.com>
4377             Simon Marchi  <simon.marchi@ericsson.com>
4378
4379         PR gdb/20418
4380         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4381         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4382
4383 2016-08-09  Pedro Alves  <palves@redhat.com>
4384
4385         PR mi/20431
4386         * gdb.mi/mi-cmd-error.exp: New file.
4387
4388 2016-08-09  Pedro Alves  <palves@redhat.com>
4389
4390         PR gdb/18653
4391         * gdb.base/signals-state-child.c: New file.
4392         * gdb.base/signals-state-child.exp: New file.
4393         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4394
4395 2016-08-09  Pedro Alves  <palves@redhat.com>
4396
4397         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4398
4399 2016-08-03  Tom Tromey  <tom@tromey.com>
4400
4401         PR python/18565:
4402         * gdb.python/py-frame-inline.exp: Add Frame.function test.
4403
4404 2016-08-01  Yao Qi  <yao.qi@linaro.org>
4405
4406         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4407         variable mode to "multi-process" if $multi_process is 1, otherwise
4408         set it to "single-process".
4409
4410 2016-08-01  Yao Qi  <yao.qi@linaro.org>
4411
4412         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4413         * gdb.cp/cpexprs.exp: Likewise.
4414         * gdb.cp/m-static.exp: Likewise.
4415
4416 2016-07-26  Tom Tromey  <tom@tromey.com>
4417
4418         PR python/20190:
4419         * gdb.threads/tls.exp (check_thread_local): Add python symbol
4420         test.
4421
4422 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
4423
4424         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4425         selecting assembly source files.
4426         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4427         assembly source files.
4428         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4429         assembly source files.
4430         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4431         selecting assembly source files.
4432
4433 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
4434
4435         * gdb.base/new-ui.exp (do_test_invalid_args): New
4436         procedure.
4437
4438 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
4439
4440         * gdb.btrace/reconnect.c: New file.
4441         * gdb.btrace/reconnect.exp: New file.
4442
4443 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
4444
4445         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4446         to test_catch_syscall_group.
4447         (test_catch_syscall_group): New.
4448
4449 2016-07-21  Tom Tromey  <tom@tromey.com>
4450
4451         * gdb.rust/simple.rs (main): Use empty struct expression.
4452         * gdb.rust/simple.exp: Add tests for empty struct expression.
4453
4454 2016-07-21  Yao Qi  <yao.qi@linaro.org>
4455
4456         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4457         if gdb_skip_xml_test is true on some targets.
4458
4459 2016-07-21  Yao Qi  <yao.qi@linaro.org>
4460
4461         * gdb.server/solib-list.exp: Unset last_loaded_file.
4462
4463 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4464
4465         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4466         "step into captured_main (args)".
4467
4468 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4469
4470         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4471
4472 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4473
4474         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4475
4476 2016-07-19  Pedro Alves  <palves@redhat.com>
4477
4478         * gdb.opt/inline-break.exp: Remove optimize=-O2.
4479         * gdb.opt/inline-bt.exp: Likewise.
4480         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4481         additional_flags=-Winline.
4482         * gdb.opt/inline-locals.exp: Likewise.
4483         * gdb.opt/inline-markers.c (ATTR): Define.
4484         (inlined_fn): Use it.
4485
4486 2016-07-19  Yao Qi  <yao.qi@linaro.org>
4487
4488         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4489         (test_with_self): Remove some code.  Remove argument executable.
4490         (top-level): Use do_self_tests.
4491
4492 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
4493             Don Breazeal <donb@codesourcery.com>
4494
4495         * gdb.base/maint.exp: Escape paths used in regular expressions.
4496         * gdb.stabs/weird.exp: Likewise.
4497
4498 2016-07-13  Tom Tromey  <tom@tromey.com>
4499
4500         PR python/15620, PR python/18620:
4501         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4502         (test_bkpt_events): New procs.
4503
4504 2016-07-13  Tom Tromey  <tom@tromey.com>
4505
4506         PR python/17698:
4507         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4508         test.
4509         (test_watchpoints): Likewise.
4510         (test_bkpt_pending): New proc.
4511
4512 2016-07-13  Tom Tromey  <tom@tromey.com>
4513
4514         PR cli/18053:
4515         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4516         completion test.
4517
4518 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4519
4520         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4521         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4522         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4523         f_label.
4524         (g): Rename g_end_lbl to g_label.
4525         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4526         low_pc and high_pc.
4527         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4528
4529 2016-07-12  Tom Tromey  <tom@tromey.com>
4530
4531         PR python/19293:
4532         * gdb.python/py-unwind-maint.exp: Update tests.
4533
4534 2016-07-12  Yao Qi  <yao.qi@linaro.org>
4535
4536         * lib/selftest-support.exp (selftest_setup): Match the output
4537         when captured_main is inlined.
4538
4539 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4540
4541         * gdb.fortran/derived-types.exp (result_line, result_line_2):
4542         New variables.
4543         (print this%a, print this%b, print this): New tests.
4544         * gdb.fortran/derived-types.f90 (this): New object and
4545         initialization.
4546
4547 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
4548
4549         * gdb.ada/arraydim.exp: Remove extra directory level in build
4550         directory.
4551
4552 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
4553
4554         * lib/ada.exp: Remove extra directory level in build directory.
4555         * gdb.ada/cond_lang.exp: Likewise.
4556         * gdb.ada/exec_changed.exp: Likewise.
4557         * gdb.ada/lang_switch.exp: Likewise.
4558
4559 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
4560
4561         * simple.rs: Add test for raw pointer subscripting.
4562         * simple.exp: Add test expectations.
4563
4564 2016-07-05  Yao Qi  <yao.qi@linaro.org>
4565
4566         * gdb.mi/mi-reverse.exp: Match =record-started output.
4567
4568 2016-07-01  Pedro Alves  <palves@redhat.com>
4569
4570         * gdb.base/jit-reader.exp (info_registers_current_frame): New
4571         procedure.
4572         (jit_reader_test): Test the jit reader's unwinder.
4573         * gdb.base/jithost.c (jit_function_00_code): New global.
4574         (main): Use memcpy to fill in the mmapped code, instead of poking
4575         bytes manually here.
4576         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4577         value.
4578         (read_debug_info): Save the function's range.
4579         (read_sp): New function.
4580         (unwind_frame): Use it.  Also unwind RBP.
4581         (get_frame_id): Use read_sp.
4582         (gdb_init_reader): Use calloc instead of malloc.
4583         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4584         parameter.  Use gdb_test_multiple.
4585
4586 2016-07-01  Pedro Alves  <palves@redhat.com>
4587             Antoine Tremblay  <antoine.tremblay@ericsson.com>
4588
4589         * gdb.threads/process-dies-while-detaching.c: New file.
4590         * gdb.threads/process-dies-while-detaching.exp: New file.
4591
4592 2016-07-01  Pedro Alves  <palves@redhat.com>
4593
4594         * gdb.multi/watchpoint-multi-exit.c: New file.
4595         * gdb.multi/watchpoint-multi-exit.exp: New file.
4596
4597 2016-06-30  Pedro Alves  <palves@redhat.com>
4598
4599         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4600         unset inferior_spawn_id.
4601
4602 2016-06-30  Pedro Alves  <palves@redhat.com>
4603
4604         * lib/mi-support.exp (default_mi_gdb_start): Declare global
4605         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4606
4607 2016-06-29  Yao Qi  <yao.qi@linaro.org>
4608
4609         * gdb.base/return.c: Add copyright header.
4610
4611 2016-06-29  Tom Tromey  <tom@tromey.com>
4612
4613         PR python/20129:
4614         * gdb.python/py-framefilter.exp: Add tests for setting priority
4615         and disabling of non-existent frame filter.
4616
4617 2016-06-29  Yao Qi  <yao.qi@linaro.org>
4618
4619         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4620         0x0f07ff.
4621
4622 2016-06-28  Yao Qi  <yao.qi@linaro.org>
4623
4624         * gdb.base/catch-syscall.exp: Remove check on isnative and target
4625         triplets.  Start gdb, execute catch syscall, and continue.  Check
4626         gdb's output to determine catch syscall is supported.
4627
4628 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
4629
4630         * gdb.rust/simple.rs: Add test for returning unit in a function.
4631         * gdb.rust/simple.exp: Add expectation for functions returning
4632         unit.
4633
4634 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
4635
4636         * gdb.python/py-breakpoint-create-fail.c,
4637         gdb.python/py-breakpoint-create-fail.exp,
4638         gdb.python/py-breakpoint-create-fail.py: New testcase.
4639
4640 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
4641
4642         PR gdb/20239
4643         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4644         * gdb.rust/simple.exp: Add test expectations for new NonZero
4645         tests.
4646
4647 2016-06-24  David Taylor  <dtaylor@emc.com>
4648
4649         * gdb.base/offsets.exp: New file.
4650         * gdb.base/offsets.c: New file.
4651
4652 2016-06-23  Tom Tromey  <tom@tromey.com>
4653
4654         PR gdb/16483:
4655         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4656         before any filters are loaded.
4657
4658 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4659
4660         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4661         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4662         structs.
4663         * gdb.fortran/derived-type-function.exp: New file.
4664         * gdb.fortran/derived-type-function.f90: New file.
4665
4666
4667 2016-06-21  Pedro Alves  <palves@redhat.com>
4668
4669         * gdb.base/new-ui.exp: New file.
4670         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4671         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4672         (with_spawn_id): New procedure.
4673
4674 2016-06-21  Pedro Alves  <palves@redhat.com>
4675
4676         * gdb.mi/mi-exec-run.exp: New file.
4677
4678 2016-06-21  Pedro Alves  <palves@redhat.com>
4679
4680         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4681         breakpoint command's output on the main UI.
4682         (test_break): New procedure, factored out from calls in the top
4683         level.
4684         (top level): Use foreach_with_prefix to test MI as main UI and as
4685         separate UI.
4686
4687 2016-06-21  Pedro Alves  <palves@redhat.com>
4688
4689         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4690         (test_awatch_creation_and_listing)
4691         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4692         Remove 'type' parameter.
4693         (test_watchpoint_all): New parameter mi_mode.  Remove
4694         with_test_prefix.
4695         (top level): Use foreach_with_prefix, and add main/separate UI MI
4696         testing axis.
4697
4698 2016-06-21  Pedro Alves  <palves@redhat.com>
4699
4700         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4701         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4702         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4703         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4704         (gdb_main_spawn_id, mi_spawn_id): Declare and
4705         comment.
4706         (mi_create_inferior_pty): New procedure,
4707         factored out from default_mi_gdb_start.
4708         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4709         procedures.
4710         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4711         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4712         Use mi_create_inferior_pty.
4713         (mi_gdb_start): Use eval to pass down args list.
4714
4715 2016-06-21  Pedro Alves  <palves@redhat.com>
4716
4717         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4718         * gdb.opt/inline-cmds.exp: Add MI tests.
4719
4720 2016-06-21  Pedro Alves  <palves@redhat.com>
4721
4722         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4723
4724 2016-06-21  Pedro Alves  <palves@redhat.com>
4725
4726         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4727         (top level): Use it instead of mi_execute_to.
4728
4729 2016-06-21  Pedro Alves  <palves@redhat.com>
4730
4731         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4732         (cont_handler_str): New.
4733         (signal_stop_handler): Set stop_handler_str instead of printing to
4734         stdout.
4735         (continue_handler): Set cont_handler_str instead of printing to
4736         stdout.
4737         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4738         mi_send_resuming_command.  Print stop_handler_str and
4739         cont_handler_str instead of expecting the python events print
4740         directly.
4741
4742 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
4743
4744         * gdb.base/jit-reader.exp: New file.
4745         * gdb.base/jithost.c: New file.
4746         * gdb.base/jithost.h: New file.
4747         * gdb.base/jitreader.c : New file.
4748         * gdb.base/jit-protocol.h: New file.
4749
4750 2016-06-17  Yao Qi  <yao.qi@linaro.org>
4751
4752         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4753         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
4754         and detach-on-fork.  Adjust tests.
4755         (top level): Invoke break_cond_on_syscall with combinations of
4756         syscall, follow-fork-mode and detach-on-fork.
4757
4758 2016-06-17  Yao Qi  <yao.qi@linaro.org>
4759
4760         * gdb.base/step-over-exit.c: New.
4761         * gdb.base/step-over-exit.exp: New.
4762
4763 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
4764
4765         * gdb.base/float.exp: Add target check for nds32*-*-*.
4766         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4767
4768 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
4769
4770         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4771         for unsupported target features.
4772         * gdb.base/call-rt-st.exp: Likewise.
4773         * gdb.base/call-sc.exp: Likewise.
4774         * gdb.base/call-signal-resume.exp: Likewise.
4775         * gdb.base/call-strs.exp: Likewise.
4776         * gdb.base/callexit.exp: Likewise.
4777         * gdb.base/callfuncs.exp: Likewise.
4778         * gdb.base/nodebug.exp: Likewise.
4779         * gdb.base/printcmds.exp: Likewise.
4780         * gdb.base/ptype.exp: Likewise.
4781         * gdb.base/structs.exp: Likewise.
4782         * gdb.base/unwindonsignal.exp: Likewise.
4783         * gdb.cp/gdb2495.exp: Likewise.
4784         * gdb.cp/templates.exp: Likewise.
4785         * gdb.cp/virtfunc.exp: Likewise.
4786         * gdb.threads/hand-call-in-threads.exp: Likewise.
4787         * gdb.threads/interrupted-hand-call.exp: Likewise.
4788         * gdb.threads/thread-unwindonsignal.exp: Likewise.
4789
4790 2016-06-10  Tom Tromey  <tom@tromey.com>
4791
4792         PR rust/20110:
4793         * gdb.rust/expr.exp: Add test for integer constant larger than
4794         i32.
4795
4796 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
4797
4798         * gdb.fortran/nested-funcs.exp: New.
4799         * gdb.fortran/nested-funcs.f90: New.
4800
4801 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
4802
4803         * gdb.base/examine-backward.c: New file.
4804         * gdb.base/examine-backward.exp: New file.
4805
4806 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
4807
4808         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4809         matching.
4810
4811 2016-06-02  Tom Tromey  <tom@tromey.com>
4812
4813         PR python/18984:
4814         * gdb.python/py-shared.exp: Add solib_name test.
4815
4816 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
4817
4818         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4819
4820 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
4821
4822         PR c++/19893
4823         * gdb.dwarf2/implref.exp: Rename to...
4824         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
4825         * gdb.dwarf2/implref-array.c: New file.
4826         * gdb.dwarf2/implref-array.exp: Likewise.
4827         * gdb.dwarf2/implref-global.c: Likewise.
4828         * gdb.dwarf2/implref-global.exp: Likewise.
4829         * gdb.dwarf2/implref-struct.c: Likewise.
4830         * gdb.dwarf2/implref-struct.exp: Likewise.
4831
4832 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4833
4834         * gdb.trace/trace-condition.exp: Add 64bit tests.
4835
4836 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4837
4838         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4839         bits types.
4840         (main): Adapt to 8 to 64 bits types.
4841         * gdb.trace/trace-condition.exp: Add new tests.
4842
4843 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4844
4845         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4846
4847 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4848
4849         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4850         Move condition tests...
4851         * gdb.trace/trace-condition.exp: Here.
4852
4853 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4854
4855         * gdb.trace/trace-condition.exp: Add counter-case tests.
4856
4857 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4858
4859         PR c++/15231
4860         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4861         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4862
4863 2016-05-27  Pedro Alves  <palves@redhat.com>
4864
4865         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4866         New procedure.
4867         (top level): Call it, and bail out of DejaGnu is known to be bad.
4868
4869 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
4870
4871         * gdb.base/whatis.c: Extend the test case.
4872         * gdb.base/whatis.exp: Add additional tests.
4873
4874 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4875
4876 * gdb.fortran/type.f90: Add pointer variable.
4877 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4878
4879 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4880
4881         * gdb.fortran/vla-type.exp: Fix testcase name.
4882
4883 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4884
4885         * gdb.fortran/vla-type.exp: Access elements in nested structs.
4886
4887 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4888
4889         * gdb.fortran/type.f90: Add nested structures.
4890         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4891         * gdb.fortran/derived-type.exp: Adapt expected output.
4892         * gdb.fortran/vla-type.exp: Adapt expected output.
4893
4894 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4895
4896         * gdb.fortran/whatis_type.exp: Adapt expected output.
4897
4898 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4899
4900         * gdb.fortran/print_type.exp: Fix expected output.
4901         * gdb.fortran/whatis_type.exp: Fix expected output.
4902
4903 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4904
4905         * gdb.fortran/whatis_type.exp: Use multi_line.
4906
4907 2016-05-24  Tom Tromey  <tom@tromey.com>
4908
4909         PR python/17386:
4910         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4911         use value as an index.
4912
4913 2016-05-23  Tom Tromey  <tom@tromey.com>
4914
4915         PR python/17981:
4916         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4917         no-breakpoint case.
4918
4919 2016-05-24  Pedro Alves  <palves@redhat.com>
4920
4921         PR gdb/19828
4922         * gdb.threads/clone-attach-detach.c: New file.
4923         * gdb.threads/clone-attach-detach.exp: New file.
4924
4925 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
4926
4927         * gdb.base/annota-input-while-running.exp: Fix syntax error.
4928
4929 2016-05-23  Tom Tromey  <tom@tromey.com>
4930
4931         PR python/19438, PR python/18393:
4932         * gdb.python/py-progspace.exp: Add "dir" test.
4933         * gdb.python/py-objfile.exp: Add "dir" test.
4934
4935 2016-05-23  Yao Qi  <yao.qi@linaro.org>
4936
4937         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4938         * gdb.arch/thumb2-it.exp: Likewise.
4939
4940 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
4941
4942         * gdb.mi/mi-threads-interrupt.c: New file.
4943         * gdb.mi/mi-threads-interrupt.exp: New file.
4944
4945 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
4946
4947         PR gdb/18077
4948         * gdb.mi/mi-async-run.exp: New file.
4949         * gdb.mi/mi-async-run.c: New file.
4950
4951 2016-05-17  Tom Tromey  <tom@tromey.com>
4952             Manish Goregaokar <manishsmail@gmail.com>
4953
4954         * lib/rust-support.exp: New file.
4955         * lib/gdb.exp (skip_rust_tests): New proc.
4956         (build_executable_from_specs): Handle rust.
4957         * lib/future.exp (gdb_find_rustc): New proc.
4958         (gdb_default_target_compile): Handle rust.
4959         * gdb.rust/expr.exp: New file.
4960         * gdb.rust/generics.exp: New file.
4961         * gdb.rust/generics.rs: New file.
4962         * gdb.rust/methods.exp: New file.
4963         * gdb.rust/methods.rs: New file.
4964         * gdb.rust/modules.exp: New file.
4965         * gdb.rust/modules.rs: New file.
4966         * gdb.rust/simple.exp: New file.
4967         * gdb.rust/simple.rs: New file.
4968
4969 2016-05-17  Tom Tromey  <tom@tromey.com>
4970
4971         * gdb.base/default.exp (set language): Add rust.
4972
4973 2016-05-17  Tom Tromey  <tom@tromey.com>
4974
4975         * gdb.gdb/unittest.exp: New file.
4976
4977 2016-05-16  Yao Qi  <yao.qi@linaro.org>
4978
4979         * gdb.base/batch-preserve-term-settings.exp: Remove variable
4980         shell_prompt.  Update shell_prompt_re.
4981
4982 2016-05-12  Doug Evans  <dje@google.com>
4983
4984         PR symtab/19999
4985         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
4986         $options when building executable.
4987         * gdb.dwarf2/fission-loclists-pie.S: New file.
4988         * gdb.dwarf2/fission-loclists-pie.exp: New file.
4989
4990 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
4991
4992         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
4993         of [is_remote target],
4994
4995 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
4996
4997         * lib/gdb.exp (use_gdb_stub): New procedure.
4998
4999 2016-05-03  Yunlian Jiang <yunlian@google.com>
5000             Doug Evans  <dje@google.com>
5001
5002         PR symtab/19914
5003         * gdb.dwarf2/dwp-sepdebug.c: New file.
5004         * gdb.dwarf2/dwp-sepdebug.exp: New file.
5005
5006 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
5007
5008         * gdb.base/detach.exp: Remove is_remote check.
5009
5010 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
5011
5012         * gdb.base/annota-input-while-running.exp: Don't check for
5013         [is_remote target].  Enable annotations after running to main.
5014         Remove unused "set test..." line.
5015
5016 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
5017
5018         * gdb.trace/trace-enable-disable.exp: New file.
5019         * gdb.trace/trace-enable-disable.c: New file.
5020
5021 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
5022
5023         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5024         use it in info sharedlibrary test.
5025         * gdb.trace/ftrace-lock.exp: Likewise.
5026         * gdb.trace/ftrace.exp: Likewise.
5027         * gdb.trace/range-stepping.exp: Likewise.
5028         * gdb.trace/trace-break.exp: Likewise.
5029         * gdb.trace/trace-condition.exp: Likewise.
5030         * gdb.trace/trace-mt.exp: Likewise.
5031
5032 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
5033
5034         * lib/gdb.exp (gdb_load_shlibs): Rename to...
5035         (gdb_load_shlib): ... this.
5036         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5037         gdb_load_shlib.
5038         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5039         * gdb.base/ctxobj.exp: Likewise.
5040         * gdb.base/dprintf-pending.exp: Likewise.
5041         * gdb.base/dso2dso.exp: Likewise.
5042         * gdb.base/fixsection.exp: Likewise.
5043         * gdb.base/gcore-relro.exp: Likewise.
5044         * gdb.base/gdb1555.exp: Likewise.
5045         * gdb.base/global-var-nested-by-dso.exp: Likewise.
5046         * gdb.base/gnu-ifunc.exp: Likewise.
5047         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5048         * gdb.base/jit-so.exp (one_jit_test): Likewise.
5049         * gdb.base/pending.exp: Likewise.
5050         * gdb.base/print-file-var.exp: Likewise.
5051         * gdb.base/print-symbol-loading.exp: Likewise.
5052         * gdb.base/shlib-call.exp: Likewise.
5053         * gdb.base/shreloc.exp: Likewise.
5054         * gdb.base/so-impl-ld.exp: Likewise.
5055         * gdb.base/solib-disc.exp: Likewise.
5056         * gdb.base/solib-nodir.exp: Likewise.
5057         * gdb.base/solib-overlap.exp: Likewise.
5058         * gdb.base/solib-symbol.exp: Likewise.
5059         * gdb.base/solib-weak.exp (do_test): Likewise.
5060         * gdb.base/sym-file.exp: Likewise.
5061         * gdb.base/symtab-search-order.exp: Likewise.
5062         * gdb.base/type-opaque.exp: Likewise.
5063         * gdb.base/unload.exp: Likewise.
5064         * gdb.base/watchpoint-solib.exp: Likewise.
5065         * gdb.compile/compile.exp: Likewise.
5066         * gdb.cp/gdb2384.exp: Likewise.
5067         * gdb.cp/infcall-dlopen.exp: Likewise.
5068         * gdb.cp/re-set-overloaded.exp: Likewise.
5069         * gdb.fortran/library-module.exp: Likewise.
5070         * gdb.opt/solib-intra-step.exp: Likewise.
5071         * gdb.python/py-finish-breakpoint.exp: Likewise.
5072         * gdb.python/py-shared.exp: Likewise.
5073         * gdb.reverse/solib-precsave.exp: Likewise.
5074         * gdb.reverse/solib-reverse.exp: Likewise.
5075         * gdb.server/solib-list.exp: Likewise.
5076         * gdb.threads/dlopen-libpthread.exp: Likewise.
5077         * gdb.threads/tls-shared.exp: Likewise.
5078         * gdb.threads/tls-so_extern.exp: Likewise.
5079         * gdb.trace/change-loc.exp: Likewise.
5080         * gdb.trace/ftrace-lock.exp: Likewise.
5081         * gdb.trace/ftrace.exp: Likewise.
5082         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5083         * gdb.trace/pending.exp: Likewise.
5084         * gdb.trace/range-stepping.exp: Likewise.
5085         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5086         (strace_info_marker): Likewise.
5087         (strace_probe_marker): Likewise.
5088         (strace_trace_on_same_addr): Likewise.
5089         (strace_trace_on_diff_addr): Likewise.
5090         * gdb.trace/trace-break.exp: Likewise.
5091         * gdb.trace/trace-condition.exp: Likewise.
5092         * gdb.trace/trace-mt.exp: Likewise.
5093
5094 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
5095
5096         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
5097         result of gdb_remote_download.
5098         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5099         * gdb.base/dso2dso.exp: Likewise.
5100         * gdb.base/global-var-nested-by-dso.exp: Likewise.
5101         * gdb.base/print-file-var.exp: Likewise.
5102         * gdb.base/shlib-call.exp: Likewise.
5103         * gdb.base/shreloc.exp: Likewise.
5104         * gdb.base/solib-overlap.exp: Likewise.
5105         * gdb.base/solib-weak.exp (do_test): Likewise.
5106         * gdb.base/unload.exp: Likewise.
5107
5108 2016-04-27  Yao Qi  <yao.qi@linaro.org>
5109
5110         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5111         exists.
5112
5113 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
5114
5115         * vla-type.exp: Print structure from toplevel.
5116
5117 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
5118
5119         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5120         of dynamic types.
5121         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5122         of dynamic types.
5123
5124 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
5125
5126         * gdb.fortran/vla-type.f90: New file.
5127         * gdb.fortran/vla-type.exp: New file.
5128
5129 2016-04-25  Yao Qi  <yao.qi@linaro.org>
5130
5131         * gdb.base/branch-to-self.c: New file.
5132         * gdb.base/branch-to-self.exp: New file.
5133
5134 2016-04-22  Yao Qi  <yao.qi@linaro.org>
5135
5136         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5137         more after $hex.
5138
5139 2016-04-22  Yao Qi  <yao.qi@linaro.org>
5140
5141         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5142         * gdb.base/annota3.exp: Likewise.
5143
5144 2016-04-22  Yao Qi  <yao.qi@linaro.org>
5145
5146         * gdb.reverse/step-precsave.exp: Do one step and test program
5147         stops in "callee" and do multiple steps until program goes out
5148         of "callee".
5149         * gdb.reverse/step-reverse.exp: Likewise.
5150
5151 2016-04-22  Yao Qi  <yao.qi@linaro.org>
5152
5153         * gdb.trace/signal.exp: Also pass if
5154         $tracepoint_hits($i) > $iterations.
5155
5156 2016-04-22  Yao Qi  <yao.qi@linaro.org>
5157
5158         * gdb.trace/signal.c: New file.
5159         * gdb.trace/signal.exp: New file.
5160
5161 2016-04-19  Doug Evans  <xdje42@gmail.com>
5162
5163         * gdb.base/bad-file.exp: New file.
5164
5165 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
5166
5167         * gdb.dwarf2/implref.exp: New file.
5168
5169 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
5170
5171         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5172         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5173         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5174         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5175         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5176         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5177         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5178         * lib/fortran.exp (fortran_int4): New procedure.
5179         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5180         (fortran_logical4): Likewise.
5181
5182 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
5183
5184         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5185
5186 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
5187
5188         * lib/compiler.c: Add Intel specific preprocessor macros.
5189         * lib/compiler.cc: Likewise.
5190
5191 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
5192
5193         * gdb.server/connect-with-no-symbol-file.c: New file.
5194         * gdb.server/connect-with-no-symbol-file.exp: New file.
5195
5196 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
5197
5198         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5199
5200 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
5201
5202         * boards/gdbserver-base.exp (${board}_download): Copy source file to
5203         standard output directory.
5204
5205 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5206
5207         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5208
5209 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
5210
5211         * gdb.btrace/instruction_history.c (loop): Add declaration.
5212
5213 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5214
5215         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5216
5217 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
5218
5219         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5220         parentheses to print.
5221         (continue_handler): Likewise.
5222
5223 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
5224
5225         * gdb.server/solib-list.exp: Remove is_remote check.
5226         Pass shlib= to gdb_compile.  Don't link shared library with
5227         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
5228         Run binary filename through "readlink -f" on the target.
5229
5230 2016-04-08  Pedro Alves  <palves@redhat.com>
5231
5232         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
5233         interpreter filename as argument to gdbserver_spawn.
5234         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5235         Return empty if $last_loaded_file does not exist.
5236
5237 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5238
5239         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5240         * gdb.base/jit-main.c: Use exit after usage.
5241
5242 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5243
5244         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5245         GDBHISTSIZE prior to the tests.
5246         * gdb.base/gdbinit-history.exp: Likewise.
5247
5248 2016-04-07  Pedro Alves  <palves@redhat.com>
5249
5250         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5251         instead of build_executable.  Use gdb_load_shlibs.
5252
5253 2016-04-07  Yao Qi  <yao.qi@linaro.org>
5254
5255         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5256         Execute "si" command.
5257
5258 2016-04-07  Yao Qi  <yao.qi@linaro.org>
5259
5260         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5261         number instead of the comments on some line.
5262
5263 2016-04-06  Don Breazeal  <donb@codesourcery.com>
5264
5265         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5266         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5267
5268 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
5269
5270         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5271         standard_output_file.  Remove unused binfile variable.
5272
5273 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
5274
5275         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5276         * gdb.python/py-mi-objfile.exp: Match "list main" output
5277         in console format.
5278
5279 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
5280
5281         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5282         absolute.
5283
5284 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
5285
5286         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5287         absolute.
5288         * gdb.trace/ftrace.exp: Likewise.
5289         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5290         targets as well.
5291         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5292         (gdb_load_shlibs): Copy libraries to test directory when testing
5293         natively.  Only set solib-search-path if testing remotely.
5294         * lib/mi-support.exp (mi_load_shlibs): Likewise.
5295
5296 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
5297
5298         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5299         gdb_download.  Use it even if the target is not remote.
5300         * gdb.base/jit.exp (compile_jit_test): Likewise.
5301         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5302         output directory if the destination board is local, otherwise use
5303         the standard remote_download from DejaGnu.
5304         (gdb_download): Remove.
5305         (gdb_load_shlibs): Use gdb_remote_download instead of
5306         gdb_download.
5307         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5308         Use gdb_remote_download instead of gdb_download.  Use it even if
5309         the target is not remote.
5310         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5311         instead of gdb_download.
5312
5313 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
5314
5315         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5316         (test_insert_delete_modify): Call mi_load_shlibs before trying to
5317         run.
5318
5319 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
5320
5321         PR gdb/19820
5322         * gdb.base/printcmds.exp: Add artificial arrays tests.
5323
5324 2016-03-31  Pedro Alves  <palves@redhat.com>
5325
5326         PR gdb/19858
5327         * gdb.base/jit-main.c: Include unistd.h.
5328         (ATTACH): Define to 0 if not already defined.
5329         (wait_for_gdb, mypid): New globals.
5330         (WAIT_FOR_GDB): New macro.
5331         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
5332         some breakpoint locations.
5333         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5334         New procedures.
5335         (one_jit_test): Add REATTACH parameter, and handle it.  Use
5336         continue_to_test_location.
5337         (top level): Test attach, and adjusts calls to one_jit_test.
5338
5339 2016-03-31  Pedro Alves  <palves@redhat.com>
5340
5341         PR gdb/19858
5342         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
5343         BINSUFFIX parameter, and handle it.
5344         (top level): Adjust calls compile_jit_test.
5345
5346 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
5347
5348         PR python/19743
5349         * gdb.python/py-mi-events-gdb.py: New file.
5350         * gdb.python/py-mi-events.c: New file.
5351         * gdb.python/py-mi-events.exp: New file.
5352
5353 2016-03-30  Yao Qi  <yao.qi@linaro.org>
5354
5355         * gdb.reverse/until-precsave.exp: Match function name only.
5356         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5357         Move malloc to a condition block.
5358         * gdb.reverse/until-reverse.exp: Match function name only.
5359
5360 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5361
5362         * gdb.trace/ftrace.exp: Set arg0exp for s390.
5363         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5364         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5365         variable for GPR 0 instead of assuming it is register 0.
5366         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5367         * lib/trace-support.exp: Add s390 registers.
5368
5369 2016-03-29  Yao Qi  <yao.qi@linaro.org>
5370
5371         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5372
5373 2016-03-24  Yao Qi  <yao.qi@linaro.org>
5374
5375         * gdb.reverse/break-reverse.exp: Add quotation mark in the
5376         test message.
5377
5378 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5379
5380         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5381         maintaining separate logic for constructing the output path.
5382
5383 2016-03-16  Don Breazeal  <donb@codesourcery.com>
5384
5385         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5386         Retry fork and waitpid on interrupted system call errors.
5387         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5388         Use with_timeout_factor to increase timeout by factor of 10.
5389
5390 2016-03-15  Don Breazeal  <donb@codesourcery.com>
5391
5392         * gdb.cp/scope-err.cc: New test program.
5393         * gdb.cp/scope-err.exp: New test script.
5394         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5395         lines and "set breakpoint here" comment.
5396         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5397         Fixed some whitespace and format issues.
5398         * gdb.mi/mi-linespec-err-cp.cc: New test program.
5399         * gdb.mi/mi-linespec-err-cp.exp: New test script.
5400
5401 2016-03-15  Doug Evans  <dje@google.com>
5402
5403         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5404         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5405         All callers updated.  Add tests for enums, mixed flags register.
5406
5407 2016-03-15  Doug Evans  <dje@google.com>
5408
5409         * gdb.base/skip.c (main): Call test_skip_file_and_function.
5410         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5411
5412 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
5413
5414         * gdb.base/default.exp: Add $_as_string to the list of expected
5415         convenience functions.
5416
5417 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
5418
5419         * gdb.base/maint.exp: New tests for 'maint info line-table'.
5420
5421 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
5422
5423         * gdb.python/py-as-string.exp: New file.
5424         * gdb.python/py-as-string.c: New file.
5425
5426 2016-03-09  Pedro Alves  <palves@redhat.com>
5427
5428         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5429         signal" -> "Thread NN received signal" output change.
5430         * gdb.threads/ia64-sigill.exp: Likewise.
5431         * gdb.threads/linux-dp.exp: Likewise.
5432         * gdb.threads/manythreads.exp: Likewise.
5433         * gdb.threads/pending-step.exp: Likewise.
5434         * gdb.threads/print-threads.exp: Likewise.
5435         * gdb.threads/sigstep-threads.exp: Likewise.
5436         * gdb.threads/staticthreads.exp: Likewise.
5437         * gdb.threads/tls.exp: Likewise.
5438
5439 2016-03-09  Pedro Alves  <palves@redhat.com>
5440
5441         * gdb.base/command-line-input.exp: New file.
5442
5443 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5444
5445         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5446         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5447         * gdb.trace/pending.exp: Accept leading dot before function name.
5448         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5449         * lib/trace-support.exp: Set registers for ppc.
5450
5451 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5452
5453         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5454         use it for disassembly; accept .main in addition to main in backtrace.
5455
5456 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
5457             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5458
5459         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5460         (gdb_recursion_test_ptr): New global variable.
5461         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5462         gdb_recursion_test.
5463         (gdb_c_test): Ditto.
5464
5465 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5466
5467         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5468         ordering.
5469
5470 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5471
5472         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5473         (bar): Add bar_start_lbl label.
5474         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5475         of foo/bar for emitting DWARF and tracing.
5476
5477 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
5478
5479         * analyze-racy-logs.py: Set executable bit.
5480
5481 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
5482
5483         * Makefile.in (DEFAULT_RACY_ITER): New variable.
5484         (CHECK_TARGET_TMP): Likewise.
5485         (check-single-racy): New rule.
5486         (check-parallel-racy): Likewise.
5487         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5488         (do-check-parallel-racy): New rule.
5489         (check-racy/%.exp): Likewise.
5490         * README (Racy testcases): New section.
5491         * analyze-racy-logs.py: New file.
5492
5493 2016-03-03  Doug Evans  <dje@google.com>
5494
5495         * gdb.base/skip.exp: Use with_test_prefix.
5496
5497 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5498
5499         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5500         Invoke step_over_syscall "clone" and break_cond_on_syscall
5501         "clone".
5502         * gdb.base/step-over-clone.c: New file.
5503
5504 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5505
5506         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5507         code format.
5508
5509 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5510
5511         * gdb.base/disp-step-fork.c: Rename to ...
5512         * gdb.base/step-over-fork.c: ... it.  New file.
5513         * gdb.base/disp-step-vfork.c: Rename to ...
5514         * gdb.base/step-over-vfork.c: ... it.  New file.
5515         * gdb.base/disp-step-syscall.exp: Rename to ...
5516         * gdb.base/step-over-syscall.exp: ... it.  New file.
5517         (disp_step_cross_syscall): Rename to ...
5518         (step_over_syscall): ... it.
5519
5520 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5521
5522         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5523         If target supports condition evaluation on target, invoke
5524         break_cond_on_syscall for fork and vfork.
5525
5526 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5527
5528         * gdb.base/disp-step-syscall.exp: Don't invoke
5529         support_displaced_stepping.
5530         (disp_step_cross_syscall): Test with displaced stepping off and
5531         on if supported.
5532
5533 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5534
5535         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5536         proc.
5537         (setup): New proc.
5538         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5539         and setup.
5540
5541 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5542
5543         * gdb.fortran/vla-history.exp: Remove breakpoint.
5544
5545 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5546
5547         * gdb.fortran/vla-history.exp: Lookup array elements and printing
5548         exceeds timeout.
5549
5550 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5551
5552         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5553         breakpoint.
5554
5555 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5556
5557         * gdb.mi/vla.f90: Nullify pointer after declaration.
5558
5559 2016-03-01  Pedro Alves  <palves@redhat.com>
5560
5561         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5562
5563 2016-03-01  Pedro Alves  <palves@redhat.com>
5564
5565         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5566         before anything else.
5567         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
5568         _GNU_SOURCE here.
5569         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5570         before anything else.
5571         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5572
5573 2016-03-01  Pedro Alves  <palves@redhat.com>
5574
5575         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5576
5577 2016-03-01  Yao Qi  <yao.qi@linaro.org>
5578
5579         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5580         prepare_for_testing.
5581
5582 2016-03-01  Yao Qi  <yao.qi@linaro.org>
5583
5584         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5585
5586 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5587
5588         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5589         manually constructing the output path.
5590
5591 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5592
5593         * gdb.arch/s390-stackless.S: New.
5594         * gdb.arch/s390-stackless.exp: New.
5595
5596 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
5597
5598         * gdb.dlang/circular.c: New file.
5599         * gdb.dlang/circular.exp: New file.
5600
5601 2016-02-26  Yao Qi  <yao.qi@linaro.org>
5602
5603         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5604         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5605         (testcases): Update.
5606
5607 2016-02-26  Yao Qi  <yao.qi@linaro.org>
5608
5609         * gdb.reverse/aarch64.c: Rename to ...
5610         * gdb.reverse/insn-reverse.c: ... it.
5611         * gdb.reverse/aarch64.exp: Rename to ...
5612         * gdb.reverse/insn-reverse.exp: ... it.
5613
5614 2016-02-26  Yao Qi  <yao.qi@linaro.org>
5615
5616         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5617         (testcase_ftype): New.
5618         (testcases): New array.
5619         (n_testcases): New.
5620         (main): Call each element in testcases.
5621         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5622         (read_testcase): New.
5623         Do the tests in a loop.
5624
5625 2016-02-25  Yao Qi  <yao.qi@linaro.org>
5626
5627         * gdb.base/branches.c: Remove.
5628
5629 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5630
5631         PR gdb/13808
5632         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5633
5634 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5635
5636         * gdb.trace/ftrace.exp: Remove unnecessary target check.
5637
5638 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5639
5640         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5641         change x86_64 call_insn to 'callq'.
5642
5643 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5644
5645         * gdb.trace/tfile-avx.c: Move to...
5646         * gdb.trace/tracefile-pseudo-reg.c: Here.
5647         * gdb.trace/tfile-avx.exp: Move to...
5648         * gdb.trace/tracefile-pseudo-reg.exp: Here.
5649
5650 2016-02-24  Gary Benson <gbenson@redhat.com>
5651
5652         * gdb.base/attach-pie-noexec.exp: Do not expect an error
5653         message on attach.
5654
5655 2016-02-23  Doug Evans  <dje@google.com>
5656
5657         * gdb.base/skip.c (test_skip): New function.
5658         (end_test_skip_file_and_function): New function.
5659         (test_skip_file_and_function): New function.
5660         * gdb.base/skip1.c (test_skip): New function.
5661         (skip1_test_skip_file_and_function): New function.
5662         * gdb.base/skip.exp: Add tests for new skip options.
5663         * gdb.base/skip-solib.exp: Update expected output.
5664         * gdb.perf/skip-command.cc: New file.
5665         * gdb.perf/skip-command.exp: New file.
5666         * gdb.perf/skip-command.py: New file.
5667
5668 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5669
5670         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5671         info registers pattern.
5672
5673 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
5674
5675         * lib/future.exp: Add D support.
5676         (gdb_find_gdc): New proc.
5677         (gdb_default_target_compile): Add D support.
5678
5679 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
5680
5681         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5682         user+system time.
5683         (trace_speed_test): Determine the iteration count for a time
5684         between 15..30 seconds.
5685
5686 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
5687
5688         * gdb.arch/i386-mpx-sigsegv.c: New file.
5689         * gdb.arch/i386-mpx-sigsegv.exp: New file.
5690         * gdb.arch/i386-mpx-simple_segv.c: New file.
5691         * gdb.arch/i386-mpx-simple_segv.exp: New file.
5692
5693 2016-02-18  Yao Qi  <yao.qi@linaro.org>
5694
5695         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5696         Don't call setup_kfail.
5697
5698 2016-02-18  Yao Qi  <yao.qi@linaro.org>
5699
5700         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5701         Set "set breakpoint condition-evaluation" per $cond_bp_target.
5702
5703 2016-02-16  Doug Evans  <dje@google.com>
5704
5705         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
5706         * gdb.base/skip1.c: Ditto.
5707         * gdb.base/skip.exp: Whitespace cleanup.
5708
5709 2016-02-16  Don Breazeal  <donb@codesourcery.com>
5710
5711         PR remote/19496
5712         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5713         Remove kfail for PR remote/19496.
5714
5715 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
5716
5717         * lib/gdb.exp (standard_temp_file): Return a path specific to
5718         the runtest invocation.
5719
5720 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
5721
5722         * gdb.trace/save-trace.exp: Change relative path to be in the
5723         standard output directory.
5724
5725 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5726
5727         * gdb.arch/i386-prologue.c: Add missing prototypes.
5728
5729 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5730
5731         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5732         * gdb.arch/i386-prologue.exp: Likewise.
5733         * gdb.arch/i386-size.exp: Likewise.
5734
5735 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
5736
5737         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5738         define object file path.
5739         * gdb.btrace/gcore.exp: Use standard_output_file to define core
5740         file path.
5741         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5742         standard_output_file to define binfile.
5743
5744 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5745
5746         Fix compatibility with recent gfortran-5.3.1.
5747         * gdb.fortran/vla-history.exp (print vla1 allocated)
5748         (print vla2 allocated, print $2, print $3): Remove
5749         (print $4): Rename to ...
5750         (print $2): ... here.
5751         (print $9): Rename to ...
5752         (print $5): ... here.
5753         (print $10): Rename to ...
5754         (print $6): ... here.
5755         * gdb.fortran/vla.f90: Add pvla initialization.
5756
5757 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5758
5759         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5760         New test.
5761         * gdb.fortran/vla-value-sub.exp: Likewise.
5762
5763 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5764
5765         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5766
5767 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
5768
5769         * i386-biarch-core.exp: Define corefile using
5770         standard_output_file.
5771
5772 2016-02-12  Yao Qi  <yao.qi@linaro.org>
5773
5774         * gdb.arch/arm-single-step-kernel-helper.c: New.
5775         * gdb.arch/arm-single-step-kernel-helper.exp: New.
5776
5777 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
5778
5779         * gdb.btrace/tailcall-only.exp: New.
5780         * gdb.btrace/tailcall-only.c: New.
5781         * gdb.btrace/x86_64-tailcall-only.S: New.
5782         * gdb.btrace/i686-tailcall-only.S: New.
5783
5784 2016-02-11  Pedro Alves  <palves@redhat.com>
5785
5786         * README (Parallel testing): Add missing double quotes.
5787
5788 2016-02-11  Pedro Alves  <palves@redhat.com>
5789
5790         * README (Parallel testing): New section.
5791         (GDB_PARALLEL): Rewrite.
5792         (FORCE_PARALLEL): Document.
5793
5794 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5795
5796         * gdb.trace/tfile-avx.c: New test.
5797         * gdb.trace/tfile-avx.exp: New test.
5798
5799 2016-02-09  Keith Seitz  <keiths@redhat.com>
5800
5801         PR breakpoints/19546
5802         * gdb.base/infcall-exec.c: New file.
5803         * gdb.base/infcall-exec2.c: New file.
5804         * gdb.base/infcall-exec.exp: New file.
5805
5806 2016-02-09  Keith Seitz  <keiths@redhat.com>
5807
5808         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5809         (toplevel): Call test_bkpt_address.
5810
5811 2016-02-09  Keith Seitz  <keiths@redhat.com>
5812
5813         PR python/19506
5814         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5815         (toplevel): Call test_bkpt_address.
5816
5817 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
5818
5819         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5820         to AC_OUTPUT.
5821         * configure: Regenerate.
5822
5823 2016-02-09  Pedro Alves  <palves@redhat.com>
5824
5825         PR breakpoints/19548
5826         * gdb.base/execl-update-breakpoints.c (some_function): New
5827         function.
5828         (main): Call it.
5829         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5830         Tighten expected GDB output.
5831
5832 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
5833
5834         * Makefile.in (ALL_SUBDIRS): Remove.
5835         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5836         (distclean maintainer-clean realclean): Likewise.
5837         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5838         * configure: Regenerate.
5839         * gdb.ada/Makefile.in: Delete.
5840         * gdb.arch/Makefile.in: Likewise.
5841         * gdb.asm/Makefile.in: Likewise.
5842         * gdb.base/Makefile.in: Likewise.
5843         * gdb.btrace/Makefile.in: Likewise.
5844         * gdb.cell/Makefile.in: Likewise.
5845         * gdb.compile/Makefile.in: Likewise.
5846         * gdb.cp/Makefile.in: Likewise.
5847         * gdb.disasm/Makefile.in: Likewise.
5848         * gdb.dlang/Makefile.in: Likewise.
5849         * gdb.dwarf2/Makefile.in: Likewise.
5850         * gdb.fortran/Makefile.in: Likewise.
5851         * gdb.gdb/Makefile.in: Likewise.
5852         * gdb.go/Makefile.in: Likewise.
5853         * gdb.guile/Makefile.in: Likewise.
5854         * gdb.java/Makefile.in: Likewise.
5855         * gdb.linespec/Makefile.in: Likewise.
5856         * gdb.mi/Makefile.in: Likewise.
5857         * gdb.modula2/Makefile.in: Likewise.
5858         * gdb.multi/Makefile.in: Likewise.
5859         * gdb.objc/Makefile.in: Likewise.
5860         * gdb.opencl/Makefile.in: Likewise.
5861         * gdb.opt/Makefile.in: Likewise.
5862         * gdb.pascal/Makefile.in: Likewise.
5863         * gdb.perf/Makefile.in: Likewise.
5864         * gdb.python/Makefile.in: Likewise.
5865         * gdb.reverse/Makefile.in: Likewise.
5866         * gdb.server/Makefile.in: Likewise.
5867         * gdb.stabs/Makefile.in: Likewise.
5868         * gdb.threads/Makefile.in: Likewise.
5869         * gdb.trace/Makefile.in: Likewise.
5870         * gdb.xml/Makefile.in: Likewise.
5871         * lib/gdb.exp (make_gdb_parallel_path): Add check for
5872         GDB_PARALLEL.
5873         (standard_output_file): Remove check for GDB_PARALLEL, always
5874         return path in outputs/$subdir/$testname.
5875
5876 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
5877
5878         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5879         (site.exp): Assign abs_srcdir to tcl's srcdir.
5880
5881 2016-02-04  Yao Qi  <yao.qi@linaro.org>
5882
5883         * gdb.base/foll-exec-mode.c: Include limits.h.
5884         (main): Add parameters argc and argv.  Get directory from
5885         argv[0].
5886         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5887         compilation.
5888         * gdb.base/foll-exec.c: Include limits.h.
5889         (main): Add parameters argc and argv.
5890         Get directory from argv[0].
5891         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5892         Adjust tests on the number of lines as source code changed.
5893         * gdb.base/foll-vfork-exit.c: Include limits.h.
5894         (main): Add one line of statement before vfork.
5895         * gdb.base/foll-vfork.c: Include limits.h and string.h.
5896         (main): Add parameters argc and argv.  Get directory from
5897         argv[0].
5898         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5899         (setup_gdb): Set tbreak to skip some source lines.
5900         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5901         (main): Add parameters argc and argv.  Get directory from
5902         argv[0].
5903         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5904         compilation.
5905         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5906         (main): Add parameters argc and argv.  Get directory from
5907         argv[0].
5908         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5909         compilation.
5910
5911 2016-02-01  Doug Evans  <dje@google.com>
5912
5913         * gdb.base/skip.exp: Clean up multiple references to same test name.
5914
5915 2016-02-01  Pedro Alves  <palves@redhat.com>
5916
5917         PR remote/19496
5918         * gdb.threads/forking-threads-plus-breakpoint.exp
5919         (displaced_stepping_supported): New global.
5920         (probe_displaced_stepping_support): New procedure.
5921         (do_test): Add 'displaced' parameter, and use it.
5922         (top level): Check for displaced stepping support.  Add displaced
5923         stepping on/off testing axis.
5924
5925 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
5926
5927         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5928         pointer.  Don't perform further tests on the unassociated pointer
5929         if the first test fails.
5930
5931 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
5932
5933         * gdb.base/max-value-size.c: New file.
5934         * gdb.base/max-value-size.exp: New file.
5935         * gdb.base/huge.exp: Disable max-value-size for this test.
5936
5937 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
5938
5939         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5940
5941 2016-01-28  Yao Qi  <yao.qi@linaro.org>
5942
5943         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5944
5945 2016-01-25  Pedro Alves  <palves@redhat.com>
5946
5947         PR threads/19461
5948         * gdb.base/fork-running-state.c: New file.
5949         * gdb.base/fork-running-state.exp: New file.
5950
5951 2016-01-25  Pedro Alves  <palves@redhat.com>
5952
5953         PR gdb/19494
5954         * gdb.base/catch-fork-kill.c: New file.
5955         * gdb.base/catch-fork-kill.exp: New file.
5956
5957 2016-01-25  Pedro Alves  <palves@redhat.com>
5958
5959         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5960         Delete, moved to lib/gdb.exp.
5961         * gdb.threads/forking-threads-plus-breakpoint.exp
5962         (foreach_with_prefix): Likewise.
5963         * gdb.threads/process-dies-while-handling-bp.exp
5964         (foreach_with_prefix): Likewise.
5965         * lib/gdb.exp (foreach_with_prefix): New procedure.
5966
5967 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5968
5969         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5970         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5971
5972 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5973
5974         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5975         endian targets.
5976
5977 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5978             Pedro Alves  <palves@redhat.com>
5979
5980         Fix testsuite compatibility with Guile.
5981         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
5982         number.
5983
5984 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5985
5986         Fix testsuite compatibility with Guile.
5987         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
5988         (thread 1): New test for backtrace through signal handler.
5989
5990 2016-01-22  Yao Qi  <yao.qi@linaro.org>
5991
5992         PR testsuite/19491
5993         * gdb.base/multi-forks.c: Include
5994         ../lib/unbuffer_output.c
5995         (main): Call gdb_unbuffer_output.
5996
5997 2016-01-21  Doug Evans  <dje@google.com>
5998
5999         * lib/ada.exp (gdb_compile_ada): Fix typo.
6000
6001 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
6002
6003         * gdb.base/break-fun-addr.exp: New file.
6004         * gdb.base/break-fun-addr1.c: New file.
6005         * gdb.base/break-fun-addr2.c: New file.
6006
6007 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
6008
6009         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6010         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6011         enum flag values.
6012
6013 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6014
6015         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6016         when GDB can not set the vector return value.  Add more comments
6017         for clarification.
6018
6019 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6020
6021         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
6022         command.
6023
6024 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
6025
6026         * Makefile.in (DO_RUNTEST): Add --status and update usages.
6027
6028 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
6029
6030         * Makefile.in (check-single): Pass --status to runtest.
6031         (check/%.exp): Likewise.
6032
6033 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
6034
6035         * Makefile.in (check-parallel): Propagate return code from make
6036         do-check-parallel.
6037
6038 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6039
6040         * gdb.trace/ftrace.exp: Fix expected message on continue.
6041         * gdb.trace/pending.exp: Fix expected message on continue.
6042         * gdb.trace/trace-break.exp: Fix expected message on continue.
6043
6044 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
6045
6046         * lib/gdb.exp (gdb_test): Remove unused global references.
6047
6048 2016-01-18  Pedro Alves  <palves@redhat.com>
6049
6050         * gdb.base/async-shell.exp: Adjust expected output.
6051         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6052         * gdb.base/siginfo-thread.exp: Adjust expected output.
6053         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6054         * gdb.java/jnpe.exp: Adjust expected output.
6055         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6056         * gdb.threads/continue-pending-status.exp: Adjust expected output.
6057         * gdb.threads/leader-exit.exp: Adjust expected output.
6058         * gdb.threads/manythreads.exp: Adjust expected output.
6059         * gdb.threads/pthreads.exp: Adjust expected output.
6060         * gdb.threads/schedlock.exp: Adjust expected output.
6061         * gdb.threads/siginfo-threads.exp: Adjust expected output.
6062         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6063         expected output.
6064         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6065         output.
6066         * gdb.threads/sigthread.exp: Adjust expected output.
6067         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6068
6069 2016-01-18  Yao Qi  <yao.qi@linaro.org>
6070
6071         * gdb.guile/scm-section-script.c: Replace @progbits with
6072         %progbits.
6073         * gdb.python/py-section-script.c: Likewise.
6074
6075 2016-01-15  Pedro Alves  <palves@redhat.com>
6076
6077         * gdb.multi/tids.exp: Test star wildcard ranges.
6078
6079 2016-01-15  Pedro Alves  <palves@redhat.com>
6080
6081         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6082         command from "thread apply" invocation.
6083         (thr_apply_info_thr_invalid): Default the expected output to the
6084         input tid list.
6085         (top level): Add tests that use convenience variables.  Add tests
6086         for "thread apply" with a valid TID list, but missing the command.
6087
6088 2016-01-13  Pedro Alves  <palves@redhat.com>
6089
6090         * gdb.base/default.exp: Expect $_gthread as well.
6091         * gdb.multi/tids.exp: Test $_gthread.
6092         * gdb.threads/thread-specific.exp: Test $_gthread.
6093
6094 2016-01-13  Pedro Alves  <palves@redhat.com>
6095
6096         * gdb.multi/tids.exp: Test "info threads -gid".
6097
6098 2016-01-13  Pedro Alves  <palves@redhat.com>
6099
6100         * gdb.multi/tids.exp: Test InferiorThread.global_num and
6101         Breakpoint.thread.
6102         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6103
6104 2016-01-07  Pedro Alves  <palves@redhat.com>
6105
6106         * gdb.base/break.exp: Adjust to output changes.
6107         * gdb.base/hbreak2.exp: Likewise.
6108         * gdb.base/sepdebug.exp: Likewise.
6109         * gdb.base/watch_thread_num.exp: Likewise.
6110         * gdb.linespec/keywords.exp: Likewise.
6111         * gdb.multi/info-threads.exp: Likewise.
6112         * gdb.threads/thread-find.exp: Likewise.
6113         * gdb.multi/tids.c: New file.
6114         * gdb.multi/tids.exp: New file.
6115
6116 2016-01-13  Pedro Alves  <palves@redhat.com>
6117
6118         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6119
6120 2016-01-13  Pedro Alves  <palves@redhat.com>
6121
6122         * gdb.base/default.exp: Expect $_inferior as well.
6123         * gdb.multi/base.exp: Test $_inferior.
6124
6125 2016-01-13  Pedro Alves  <palves@redhat.com>
6126
6127         PR breakpoints/19388
6128         * gdb.base/catch-signal-siginfo-cond.c: New file.
6129         * gdb.base/catch-signal-siginfo-cond.exp: New file.
6130
6131 2016-01-12  Josh Stone  <jistone@redhat.com>
6132             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
6133
6134         * gdb.base/catch-syscall.c (do_execve): New variable.
6135         (main): Conditionally trigger an execve.
6136         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6137         (test_catch_syscall_execve): New, check entry/return across execve.
6138         (do_syscall_tests): Call test_catch_syscall_execve.
6139
6140 2016-01-12  Pedro Alves  <palves@redhat.com>
6141
6142         * gdb.base/random-signal.exp (do_test): New procedure, with body
6143         of testcase moved in.
6144
6145 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6146             Pedro Alves  <palves@redhat.com>
6147
6148         * gdb.base/funcargs.exp (finish from indirectly called function):
6149         Reintroduce the case for 'First'.
6150
6151 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6152             Pedro Alves  <palves@redhat.com>
6153
6154         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6155         (tcatch_vfork_then_child_follow_exec)
6156         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6157         identification.
6158
6159 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6160
6161         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6162         and repeats to unlimited.
6163         * gdb.python/py-value.exp: Likewise.
6164         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6165         and repeats to unlimited.
6166
6167 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6168
6169         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6170         and reordering the functions.
6171         * gdb.multi/hangout.c: Likewise.
6172         * gdb.multi/hello.c: Likewise.
6173
6174 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
6175
6176         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6177         absolute.
6178         (SingleStatisticTestResult.report): Use dict.keys instead of
6179         dict.iterkeys.
6180
6181 2016-01-06  Pedro Alves  <palves@redhat.com>
6182
6183         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
6184
6185 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
6186
6187         * gdb.btrace/dlopen.exp: New.
6188         * gdb.btrace/dlopen.c: New.
6189         * gdb.btrace/dlopen-dso.c: New.
6190
6191 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
6192
6193         * lib/gdb.exp (gdb_test): Update comments to clarify that the
6194         PATTERN argument is optional.
6195
6196 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
6197
6198         * lib/ada.exp (target_compile_ada_from_dir): New function.
6199         (gdb_compile_ada): Reimplement avoiding the use of project files.
6200         * gdb.ada/gnat_ada.gpr: Delete.
6201         * gdb.ada/cond_lang.exp: Adjust test to make path before
6202         filename optional.
6203         * gdb.ada/small_reg_param.exp: Likewise.
6204
6205 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
6206
6207         * gdb.base/foll-vork.exp: Remove HP-UX special case.
6208
6209 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
6210
6211         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6212         case.
6213
6214 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
6215
6216         * gdb.base/break.exp: Remove dead code.
6217         * gdb.base/sepdebug.exp: Likewise.
6218
6219 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
6220
6221         * gdb.asm/asm-source.exp: Remove HP-UX references.
6222         * gdb.base/annota1.exp: Likewise.
6223         * gdb.base/annota3.exp: Likewise.
6224         * gdb.base/attach.exp: Likewise.
6225         * gdb.base/bigcore.exp: Likewise.
6226         * gdb.base/break.exp: Likewise.
6227         * gdb.base/call-ar-st.exp: Likewise.
6228         * gdb.base/callfuncs.exp: Likewise.
6229         * gdb.base/catch-fork-static.exp: Likewise.
6230         * gdb.base/display.exp: Likewise.
6231         * gdb.base/foll-exec-mode.exp: Likewise.
6232         * gdb.base/foll-exec.exp: Likewise.
6233         * gdb.base/foll-fork.exp: Likewise.
6234         * gdb.base/foll-vfork.exp: Likewise.
6235         * gdb.base/funcargs.exp: Likewise.
6236         * gdb.base/hbreak2.exp: Likewise.
6237         * gdb.base/inferior-died.exp: Likewise.
6238         * gdb.base/interrupt.exp: Likewise.
6239         * gdb.base/multi-forks.exp: Likewise.
6240         * gdb.base/nodebug.exp: Likewise.
6241         * gdb.base/sepdebug.exp: Likewise.
6242         * gdb.base/solib1.c: Likewise.
6243         * gdb.base/step-test.exp: Likewise.
6244         * gdb.mi/non-stop.c: Likewise.
6245         * gdb.mi/pthreads.c: Likewise.
6246         * gdb.multi/bkpt-multi-exec.ex: Likewise.
6247         * gdb.threads/pthreads.c: Likewise.
6248         * gdb.threads/staticthreads.exp: Likewise.
6249         * lib/future.exp: Likewise.
6250         * lib/gdb.exp: Likewise.
6251         * gdb.base/so-indr-cl.c: Remove.
6252         * gdb.base/so-indr-cl.exp: Likewise.
6253         * gdb.base/solib.c: Likewise.
6254         * gdb.base/solib.exp: Likewise.
6255         * gdb.base/solib2.c: Likewise.
6256
6257 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
6258
6259         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6260         * gdb.base/call-ar-st.exp: Likewise.
6261         * gdb.base/callfuncs.exp: Likewise.
6262         * gdb.base/condbreak.exp: Likewise.
6263         * gdb.base/constvars.exp: Likewise.
6264         * gdb.base/hbreak2.exp: Likewise.
6265         * gdb.base/langs.exp: Likewise.
6266         * gdb.base/list.exp: Likewise.
6267         * gdb.base/long_long.exp: Likewise.
6268         * gdb.base/ptype.exp: Likewise.
6269         * gdb.base/scope.exp: Likewise.
6270         * gdb.base/signals.exp: Likewise.
6271         * gdb.base/so-impl-ld.exp: Likewise.
6272         * gdb.base/varargs.exp: Likewise.
6273         * gdb.base/volatile.exp: Likewise.
6274         * gdb.base/whatis.exp: Likewise.
6275         * gdb.cp/cplusfuncs.exp: Likewise.
6276         * gdb.cp/inherit.exp: Likewise.
6277         * gdb.cp/local.exp: Likewise.
6278         * gdb.cp/member-ptr.exp: Likewise.
6279         * gdb.cp/method.exp: Likewise.
6280         * gdb.cp/overload.exp: Likewise.
6281         * gdb.cp/templates.exp: Likewise.
6282         * gdb.stabs/weird.exp: Likewise.
6283         * lib/compiler.c: Likewise.
6284         * lib/compiler.cc: Likewise.
6285         * lib/cp-support.exp: Likewise.
6286         * lib/gdb.exp: Likewise.
6287
6288 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
6289
6290         * configure.ac: Remove HP-UX case.
6291         * configure: Regenerate.
6292
6293 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
6294
6295         * lib/gdb.exp (gdb_compile): Add function doc.
6296
6297 2015-12-17  Pedro Alves  <palves@redhat.com>
6298
6299         PR threads/19354
6300         * gdb.multi/info-threads.exp: New file.
6301
6302 2015-12-15  Yao Qi  <yao.qi@linaro.org>
6303
6304         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6305         is aarch64*-*-*.
6306
6307 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
6308
6309         * gdb.base/history-duplicates.exp: Skip if no readline support.
6310
6311 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
6312
6313         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6314
6315 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
6316
6317         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6318
6319 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
6320
6321         * gdb.base/completion.exp: Skip tests that interrupt GDB with
6322         ctrl-C if nointerrupts target property is set.
6323         * gdb.base/double-prompt-target-event-error.exp: Likewise.
6324         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6325         * gdb.base/paginate-bg-execution.exp: Likewise.
6326         * gdb.base/paginate-execution-startup.exp: Likewise.
6327         * gdb.base/random-signal.exp: Likewise.
6328         * gdb.base/range-stepping.exp: Likewise.
6329         * gdb.cp/annota2.exp: Likewise.
6330         * gdb.cp/annota3.exp: Likewise.
6331         * gdb.gdb/selftest.exp: Likewise.
6332         * gdb.threads/continue-pending-status.exp: Likewise.
6333         * gdb.threads/leader-exit.exp: Likewise.
6334         * gdb.threads/manythreads.exp: Likewise.
6335         * gdb.threads/pthreads.exp: Likewise.
6336         * gdb.threads/schedlock.exp: Likewise.
6337         * gdb.threads/sigthread.exp: Likewise.
6338
6339 2015-12-11  Don Breazeal  <donb@codesourcery.com>
6340
6341         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6342         remote.
6343         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6344         * gdb.base/foll-exec.exp (main): Enable for target remote.
6345         * gdb.base/foll-fork.exp (main): Likewise.
6346         * gdb.base/foll-vfork.exp (main): Likewise.
6347         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6348         (proc continue_to_exit_bp_loc): Use clean_restart.
6349         * gdb.base/pie-execl.exp (main): Disable for target remote.
6350         * gdb.base/watch-vfork.exp (main): Enable for target remote.
6351         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6352         * gdb.threads/execl.exp (main): Likewise.
6353         * gdb.threads/fork-child-threads.exp (main): Likewise.
6354         * gdb.threads/fork-plus-threads.exp (main): Disable for target
6355         remote.
6356         * gdb.threads/fork-thread-pending.exp (main): Enable for target
6357         remote.
6358         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6359         pid.tid style ptids, instead of just tid.
6360         * gdb.threads/thread-execl.exp (main): Enable for target remote.
6361         * gdb.threads/watchpoint-fork.exp (main): Likewise.
6362         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6363         ptids, instead of just tid.
6364
6365 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
6366
6367         * gdb.base/list.exp (test_list_forward): Add end of file error
6368         test.
6369         (test_repeat_list_command): Add end of file error test.
6370         (test_list_backwards): Add beginning of file error test.
6371
6372 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
6373
6374         * gdb.base/list.exp (test_list_invalid_args): New function,
6375         defined, and called.
6376
6377 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
6378
6379         * gdb.base/list.exp (test_list): Make test names unique.
6380
6381 2015-12-11  Yao Qi  <yao.qi@linaro.org>
6382
6383         * gdb.base/coremaker2.c: Remove.
6384
6385 2015-12-10  Pedro Alves  <palves@redhat.com>
6386
6387         * gdb.multi/base.exp: Remove stale "spaces" references.
6388
6389 2015-12-10  Pedro Alves  <palves@redhat.com>
6390
6391         * gdb.multi/base.exp: Don't use nowarnings.
6392         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6393         * gdb.multi/hangout.c: Include stdio.h.
6394         * gdb.multi/hello.c: Include stdlib.h.
6395         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6396         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6397         * gdb.multi/multi-arch.exp: Don't use nowarnings.
6398
6399 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
6400
6401         * gdb.dwarf2/dw2-ranges-base.c: New file.
6402         * gdb.dwarf2/dw2-ranges-base.exp: New file.
6403         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6404         support additional line table, and debug ranges generation.
6405         (Dwarf::ranges): New function, generate .debug_ranges.
6406         (Dwarf::lines): Support generating simple line table programs.
6407         (Dwarf::assemble): Initialise new namespace variables.
6408
6409 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
6410
6411         * gdb.base/async.exp (proc test_background): Add case for
6412         asynchronous execution not supported.
6413
6414 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
6415
6416         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6417           format and change test names to make them unique.
6418
6419 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
6420             Pedro Alves  <pedro@redhat.com>
6421
6422         PR gdb/18702
6423         Add checking of floatformats setup on x86_64 hosts.
6424         * gdb.arch/i386-float.S (main): Load bigval and smallval.
6425         (smallval, bigval): New labels/constants.
6426         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6427         float" after loading bigval and smallval.
6428
6429 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
6430
6431         * gdb.ada/fun_overload_menu.exp: New testcase.
6432         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6433
6434 2015-12-04  Josh Stone  <jistone@redhat.com>
6435
6436         * gdb.base/catch-fork-static.exp: New.
6437
6438 2015-12-03  Yao Qi  <yao.qi@linaro.org>
6439
6440         * gdb.base/sizeof.c: Don't include stdio.h and
6441         ../lib/unbuffer_output.c.
6442         (main): New variable 'size' and 'value'.  Remove printf and
6443         gdb_unbuffer_output.  Assign return value to size and value.
6444         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6445         at the beginning.
6446         (check_sizeof): Check the result by printing variable 'size'.
6447         (check_valueof): Check the result by printing variable 'value'.
6448
6449 2015-12-01  Yao Qi  <yao.qi@linaro.org>
6450
6451         * gdb.base/disp-step-syscall.exp: Define syscall instruction
6452         for aarch64*-*-linux* target.
6453
6454 2015-11-30  Pedro Alves  <palves@redhat.com>
6455
6456         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6457
6458 2015-11-30  Pedro Alves  <palves@redhat.com>
6459
6460         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6461         Handle non-stop mode vCont replies.
6462
6463 2015-11-30  Pedro Alves  <palves@redhat.com>
6464
6465         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6466         prepare_for_testing.  Start gdb with "set non-stop on" appended to
6467         GDBFLAGS.  Lax expected stop output.
6468
6469 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6470
6471         * gdb.arch/arm-neon.exp: New.
6472         * gdb.arch/arm-neon.c: New.
6473
6474 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6475
6476         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6477
6478 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6479
6480         * gdb.cp/annota2.exp: Allow multiple occurrences of the
6481         frames-invalid annotation.
6482
6483 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6484
6485         * gdb.cp/annota2.exp: Use ${frames_invalid}.
6486
6487 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
6488
6489         * gdb.threads/names.exp: New file.
6490         * gdb.threads/names.c: New file.
6491         * README: Mention gdb,no_thread_names.
6492
6493 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
6494
6495         PR 19297
6496         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6497         support" error.
6498
6499 2015-11-24  Pedro Alves  <palves@redhat.com>
6500
6501         PR 17539
6502         * gdb.base/display.exp: Expect displays to be sorted in ascending
6503         order.  Use multi_line.
6504         * gdb.base/solib-display.exp: Likewise.
6505
6506 2015-11-24  Pedro Alves  <palves@redhat.com>
6507
6508         PR 17539
6509         * gdb.base/display.exp: Expect displays to be sorted in ascending
6510         order.  Use multi_line.
6511         * gdb.base/solib-display.exp: Likewise.
6512
6513 2015-11-24  Pedro Alves  <palves@redhat.com>
6514
6515         PR 17539
6516         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6517         threads in ascending order.
6518         * gdb.base/foll-fork.exp: Likewise.
6519         * gdb.base/foll-vfork.exp: Likewise.
6520         * gdb.base/multi-forks.exp: Likewise.
6521         * gdb.mi/mi-nonstop.exp: Likewise.
6522         * gdb.mi/mi-nsintrall.exp: Likewise.
6523         * gdb.multi/base.exp: Likewise.
6524         * gdb.multi/multi-arch.exp: Likewise.
6525         * gdb.python/py-inferior.exp: Likewise.
6526         * gdb.threads/break-while-running.exp: Likewise.
6527         * gdb.threads/execl.exp: Likewise.
6528         * gdb.threads/gcore-thread.exp: Likewise.
6529         * gdb.threads/info-threads-cur-sal.exp: Likewise.
6530         * gdb.threads/kill.exp: Likewise.
6531         * gdb.threads/linux-dp.exp: Likewise.
6532         * gdb.threads/multiple-step-overs.exp: Likewise.
6533         * gdb.threads/next-bp-other-thread.exp: Likewise.
6534         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6535         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6536         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6537         * gdb.threads/thread-find.exp: Likewise.
6538         * gdb.threads/tls.exp: Likewise.
6539         * lib/mi-support.exp (mi_reverse_list): Delete.
6540         (mi_check_thread_states): No longer reverse list.
6541
6542 2015-11-24  Pedro Alves  <palves@redhat.com>
6543
6544         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
6545         use lowercase.
6546
6547 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
6548
6549         * gdb.trace/actions.c: Include trace-common.h.
6550         (main): Add a location for a fast tracepoint.
6551         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6552         the normal tracepoints.
6553         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6554
6555 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
6556
6557         * save-trace.exp: Factor out code to these...
6558         (gdb_save_tracepoints): New.
6559         (gdb_load_tracepoints): New.
6560         (do_save_load_test): New.
6561
6562 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
6563
6564         * gdb.base/asmlabel.exp: New test.
6565         * gdb.base/asmlabel.c: New test case.
6566
6567 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
6568
6569         * gdb.base/wrong_frame_bt_full-main.c: New file.
6570         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6571         * gdb.base/wrong_frame_bt_full.exp: New file.
6572
6573 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
6574
6575         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6576
6577 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
6578
6579         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6580         pstate register when comparing registers values in
6581         sparc64-*-linux-gnu targets to avoid spurious differences.
6582
6583 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
6584
6585         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6586
6587 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
6588
6589         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6590         as type argument to gdb_compile.
6591         * gdb.base/nested-subp2.exp: Likewise.
6592         * gdb.base/nested-subp3.exp: Likewise.
6593
6594 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6595
6596         * lib/dwarf.exp (_note): Fix left shift of negative value.
6597         * gdb.trace/trace-condition.exp: Likewise.
6598
6599 2015-11-13  Yao Qi  <yao.qi@linaro.org>
6600
6601         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6602         comments about d10v.
6603         (test_scalar_returns): Likewise.
6604         * gdb.base/d10v.ld: Remove.
6605         * gdb.base/overlays.exp: Remove the target triplet checking for
6606         d10v-*-*.
6607         * gdb.base/structs.exp (test_struct_returns): Remove the
6608         comments about d10v.
6609         (test_struct_calls): Likewise.
6610
6611 2015-11-13  Yao Qi  <yao.qi@linaro.org>
6612
6613         * gdb.base/gnu_vector.exp: Check the return value by "p res".
6614         * gdb.base/gnu_vector.c: Don't include stdio.h.
6615         (main): Don't print res and call add_some_intvecs.
6616
6617 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6618
6619         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6620         macro.
6621         (func5): Removed.
6622         (func4): Use FAST_TRACEPOINT_LABEL.
6623         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6624         macro.
6625         (func): Removed.
6626         (thread_function): Use FAST_TRACEPOINT_LABEL.
6627         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6628         (func): Remove.
6629         (marker): Use FAST_TRACEPOINT_LABEL.
6630         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6631         (pendfunc1): Remove.
6632         (pendfunc): Use FAST_TRACEPOINT_LABEL.
6633         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6634         (foo): Remove.
6635         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6636         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6637         macro.
6638         (func): Remove.
6639         (marker): Use FAST_TRACEPOINT_LABEL.
6640         * gdb.trace/trace-common.h: New header.
6641         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6642         macro.
6643         (func): Remove.
6644         (marker): Use FAST_TRACEPOINT_LABEL.
6645         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6646         (func): Remove.
6647         (thread_function): Use FAST_TRACEPOINT_LABEL.
6648
6649 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6650
6651         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6652         in front.
6653         * gdb.trace/change-loc.exp: Use global pcreg definition.
6654         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6655         * gdb.trace/entry-values.exp: Use global spreg definition, add $
6656         in front.
6657         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6658         * gdb.trace/pending.exp: Likewise.
6659         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6660         * gdb.trace/trace-break.exp: Likewise.
6661         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6662         in front.
6663         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6664         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6665         in front.
6666         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6667
6668 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
6669
6670         * gdb.ada/fin_fun_out: New testcase.
6671
6672 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
6673
6674         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6675         value associated with DW_AT_byte_size.
6676         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6677         constants for DW_AT_byte_size, DW_AT_lower_bound, and
6678         DW_AT_upper_bound.
6679
6680 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
6681
6682         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6683         (gdb_target_symbol_prefix_flags): Define in terms of _asm
6684         version.
6685         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6686         gdb.dwarf2/dw2-canonicalize-type.exp,
6687         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6688         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6689         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6690         provided by gdb_target_symbol_prefix_flags_asm.
6691         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6692         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6693         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6694         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6695         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6696         macros where needed).  Use this macro for symbols which require
6697         the prefix provided by SYMBOL_PREFIX.
6698
6699 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
6700
6701         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6702         New procs.
6703         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6704         representing expressions, of more than one list element.
6705         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6706         to prepend linker symbol prefix to f.
6707         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6708         table_1 and table_2.
6709         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6710         Likewise, for f and g.
6711         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6712         for ptr.
6713         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6714         for main.
6715         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6716         table_1_ptr and table_2_ptr.
6717
6718 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6719             Joel Brobecker  <brobecker@adacore.com>
6720
6721         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6722
6723 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6724
6725         * gdb.reverse/s390-mvcle.c: New test.
6726         * gdb.reverse/s390-mvcle.exp: New file.
6727         * lib/gdb.exp: Enable reverse tests on s390*-linux.
6728
6729 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6730
6731         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6732
6733 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6734
6735         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6736         reaching marker2.
6737         * gdb.reverse/getresuid-reverse.exp: Likewise.
6738         * gdb.reverse/pipe-reverse.exp: Likewise.
6739         * gdb.reverse/readv-reverse.exp: Likewise.
6740         * gdb.reverse/recvmsg-reverse.exp: Likewise.
6741         * gdb.reverse/time-reverse.exp: Likewise.
6742         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6743
6744 2015-10-30  Yao Qi  <yao.qi@linaro.org>
6745
6746         * gdb.threads/wp-replication.c (watch_count_done): Remove.
6747         (empty_cycle): Remove.
6748         (main): Don't call empty_cycle.  Don't use watch_count_done.
6749         * gdb.threads/wp-replication.exp: Don't set breakpoint on
6750         empty_cycle.  Rewrite the code counting HW watchpoints.
6751
6752 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6753
6754         * gdb.reverse/fstatat-reverse.c: New test.
6755         * gdb.reverse/fstatat-reverse.exp: New file.
6756         * gdb.reverse/getresuid-reverse.c: New test.
6757         * gdb.reverse/getresuid-reverse.exp: New file.
6758         * gdb.reverse/pipe-reverse.c: New test.
6759         * gdb.reverse/pipe-reverse.exp: New file.
6760         * gdb.reverse/readv-reverse.c: New test.
6761         * gdb.reverse/readv-reverse.exp: New file.
6762         * gdb.reverse/recvmsg-reverse.c: New test.
6763         * gdb.reverse/recvmsg-reverse.exp: New file.
6764         * gdb.reverse/time-reverse.c: New test.
6765         * gdb.reverse/time-reverse.exp: New file.
6766         * gdb.reverse/waitpid-reverse.c: New test.
6767         * gdb.reverse/waitpid-reverse.exp: New file.
6768
6769 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6770
6771         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6772
6773 2015-10-26  Doug Evans  <dje@google.com>
6774
6775         PR symtab/17391
6776         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6777         * gdb.dwarf2/bad-regnum.c: New file.
6778         * gdb.dwarf2/bad-regnum.exp: New file.
6779
6780 2015-10-26  Doug Evans  <dje@google.com>
6781
6782         PR python/18938
6783         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6784         file.
6785
6786 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6787
6788         * gdb.compile/compile.exp (compile code globalvar): Update expectation
6789         for a change by "Mention language in compile error message".
6790
6791 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
6792
6793         PR python/18073
6794         * gdb.python/py-type.c (C::a_method): New.
6795         (C::a_const_method): New.
6796         (C::a_static_method): New.
6797         (a_function): New.
6798         * gdb.python/py-type.exp (test_fields): Test getting fields
6799         from function and method.
6800
6801 2015-10-21  Keven Boell  <keven.boell@intel.com>
6802
6803         * gdb.fortran/vla-alloc-assoc.exp: New file.
6804         * gdb.fortran/vla-datatypes.exp: New file.
6805         * gdb.fortran/vla-datatypes.f90: New file.
6806         * gdb.fortran/vla-history.exp: New file.
6807         * gdb.fortran/vla-ptype-sub.exp: New file.
6808         * gdb.fortran/vla-ptype.exp: New file.
6809         * gdb.fortran/vla-sizeof.exp: New file.
6810         * gdb.fortran/vla-sub.f90: New file.
6811         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6812         * gdb.fortran/vla-value-sub-finish.exp: New file.
6813         * gdb.fortran/vla-value-sub.exp: New file.
6814         * gdb.fortran/vla-value.exp: New file.
6815         * gdb.fortran/vla-ptr-info.exp: New file.
6816         * gdb.mi/mi-vla-fortran.exp: New file.
6817         * gdb.mi/vla.f90: New file.
6818
6819 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
6820
6821         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6822         of hardwired timeout value.
6823
6824 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6825             Pedro Alves  <palves@redhat.com>
6826
6827         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6828         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6829
6830 2015-10-19  Josh Stone  <jistone@redhat.com>
6831
6832         * gdb.base/catch-syscall.c: Include <sched.h>.
6833         (unknown_syscall): New variable.
6834         (main): Trigger a vfork and an unknown syscall.
6835         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6836         (unknown_syscall_number): Likewise.
6837         (check_call_to_syscall): Accept an optional syscall pattern.
6838         (check_return_from_syscall): Likewise.
6839         (check_continue): Likewise.
6840         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6841         (test_catch_syscall_skipping_return): New test toggling off 'catch
6842         syscall' to step over the syscall return, then toggling back on.
6843         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6844         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6845         (do_syscall_tests): Call test_catch_syscall_without_args and
6846         test_catch_syscall_mid_vfork.
6847         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6848         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6849
6850 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
6851
6852         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6853         print g_vE): Add new pass patterns.
6854         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6855         print various symbol names for vptr fields.
6856
6857 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
6858
6859         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6860         results.
6861
6862 2015-10-12  Yao Qi  <yao.qi@linaro.org>
6863
6864         * gdb.arch/disp-step-insn-reloc.exp: New test case.
6865
6866 2015-10-12  Yao Qi  <yao.qi@linaro.org>
6867
6868         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6869         is aarch64*-*-linux*.
6870
6871 2015-10-12  Yao Qi  <yao.qi@linaro.org>
6872
6873         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6874         (can_relocate_bcond_true): ... it.
6875         (can_relocate_bcond_false): New function.
6876         (foo): Likewise.
6877         (can_relocate_bl): Likewise.
6878         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6879         can_relocate_bl.
6880
6881 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
6882
6883         * gdb.base/nested-addr.c: New file.
6884         * gdb.base/nested-addr.exp: New testcase.
6885
6886 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
6887
6888         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6889         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6890         its output.  Ignore the output of "record goto begin" and instead
6891         check that GDB is replaying.
6892
6893 2015-10-09  Pedro Alves  <palves@redhat.com>
6894
6895         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6896         (top level): Use it in the run with no args test.
6897
6898 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
6899
6900         * gdb.dlang/properties.exp: New file.
6901
6902 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
6903
6904         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6905         whether or not address 0x1000 is mapped on the target.
6906
6907 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
6908
6909         * gdb.python/py-type.exp: Do not run tests if binaries fail to
6910         build.
6911
6912 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
6913
6914         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6915         instruction-history test.
6916
6917 2015-09-28  Doug Evans  <dje@google.com>
6918
6919         * gdb.base/gcore.c (array_func): Add reference to static_array.
6920
6921 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
6922
6923         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6924         source line.
6925
6926 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6927
6928         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6929         short or char as base type.
6930
6931 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6932
6933         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6934         to allow any size enum.
6935
6936 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
6937
6938         * gdb.ada/array_ptr_renaming.exp: New testcase.
6939         * gdb.ada/array_ptr_renaming/foo.adb: New file.
6940         * gdb.ada/array_ptr_renaming/pack.ads: New file.
6941
6942 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
6943
6944         * gdb.trace/ftrace-lock.c: New file.
6945         * gdb.trace/ftrace-lock.exp: New file.
6946
6947 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
6948
6949         * gdb.arch/insn-reloc.c: New file.
6950         * gdb.arch/ftrace-insn-reloc.exp: New file.
6951
6952 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
6953
6954         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6955         instruction.
6956         * gdb.trace/pendshr1.c (pendfunc): Likewise.
6957         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6958         * gdb.trace/range-stepping.c: Likewise.
6959         * gdb.trace/trace-break.c: Likewise.
6960         * gdb.trace/trace-mt.c (thread_function): Likewise.
6961         * gdb.trace/ftrace.c (marker): Likewise.
6962         * gdb.trace/trace-condition.c (marker): Likewise.
6963         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6964         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6965         is_aarch64_target.
6966
6967 2015-09-18  Doug Evans  <xdje42@gmail.com>
6968
6969         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6970         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6971
6972 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6973
6974         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6975         the breakpoint.
6976
6977 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6978
6979         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
6980         the pending breakpoint.  Remove timeout override for "Run till
6981         MI pending breakpoint on pendfunc3 on thread 2" test.
6982
6983 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6984
6985         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
6986         filename pattern.
6987
6988 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6989
6990         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
6991         in breakpoint filename pattern.
6992
6993 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6994
6995         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6996
6997 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6998
6999         * gdb.linespec/explicit.exp: Check for readline support for
7000         tab-completion tests.  Fix obvious typo.
7001
7002 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
7003
7004         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7005         and replay.
7006
7007 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
7008
7009         * gdb.btrace/non-stop.c: New.
7010         * gdb.btrace/non-stop.exp: New.
7011
7012 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
7013             Yao Qi  <yao.qi@linaro.org>
7014
7015         * gdb.trace/trace-condition.c: New file.
7016         * gdb.trace/trace-condition.exp: New file.
7017
7018 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
7019
7020         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7021         for testing bytecode compilation.
7022
7023 2015-09-16  Pedro Alves  <palves@redhat.com>
7024             Sandra Loosemore <sandra@codesourcery.com>
7025
7026         * gdb.threads/non-stop-fair-events.c (timeout): New global.
7027         (SECONDS): Redefine.
7028         (main): Call pthread_kill and alarm early.
7029         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7030         support.
7031         (test): If the target can't hardware step and doesn't support
7032         displaced stepping, increase the timeout.
7033
7034 2015-09-16  Pedro Alves  <palves@redhat.com>
7035
7036         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7037         (enable_debug): New procedures.
7038         (test): Use them.  Bail out if waiting for threads fails.
7039         (top level): Bail out if a test fails.
7040
7041 2015-09-16  Yao Qi  <yao.qi@linaro.org>
7042
7043         * gdb.asm/asm-source.exp: Set asm-arch for
7044         aarch64*-*-* target.
7045         * gdb.asm/aarch64.inc: New file.
7046
7047 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
7048
7049         * gdb.ada/array_of_variable_length.exp: New testcase.
7050         * gdb.ada/array_of_variable_length/foo.adb: New file.
7051         * gdb.ada/array_of_variable_length/pck.adb: New file.
7052         * gdb.ada/array_of_variable_length/pck.ads: New file.
7053
7054 2015-09-15  Doug Evans  <dje@google.com>
7055
7056         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7057         of function static local variable.
7058
7059 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7060
7061         * gdb.threads/tls-so_extern.exp: New test file.
7062         * gdb.threads/tls-so_extern.c: New test file.
7063         * gdb.threads/tls-so_extern_main.c: New test file.
7064
7065 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7066
7067         * gdb.opt/solib-intra-step-lib.c: New file.
7068         * gdb.opt/solib-intra-step-main.c: New file.
7069         * gdb.opt/solib-intra-step.exp: New file.
7070
7071 2015-09-15  Pedro Alves  <palves@redhat.com>
7072
7073         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7074         gdb_continue_to_breakpoint instead of gdb_test_multiple.
7075
7076 2015-09-14  Pedro Alves  <palves@redhat.com>
7077
7078         * gdb.base/hook-stop-continue.c: Delete.
7079         * gdb.base/hook-stop-continue.exp: Delete.
7080         * gdb.base/hook-stop-frame.c: Delete.
7081         * gdb.base/hook-stop-frame.exp: Delete.
7082         * gdb.base/hook-stop.c: New file.
7083         * gdb.base/hook-stop.exp: New file.
7084
7085 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
7086
7087         * gdb.ada/access_to_packed_array.exp: New testcase.
7088         * gdb.ada/access_to_packed_array/foo.adb: New file.
7089         * gdb.ada/access_to_packed_array/pack.adb: New file.
7090         * gdb.ada/access_to_packed_array/pack.ads: New file.
7091
7092 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
7093
7094         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7095         buffer size test.
7096
7097 2015-09-11  Don Breazeal  <donb@codesourcery.com>
7098
7099         * gdb.base/foll-exec.c: Add copyright header.  Fix
7100         formatting issues.
7101         * gdb.base/foll-exec.exp (zap_session): Delete proc.
7102         (do_exec_tests): Use clean_restart in place of zap_session,
7103         and for test initialization.  Fix formatting issues.  Use
7104         fail in place of perror.
7105         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7106         an expect statement to match an expression with output from
7107         the program under debug.
7108         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7109         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7110         * gdb.threads/non-ldr-exc-2.exp: Likewise.
7111         * gdb.threads/non-ldr-exc-3.exp: Likewise.
7112         * gdb.threads/non-ldr-exc-4.exp: Likewise.
7113
7114 2015-09-09  Doug Evans  <dje@google.com>
7115
7116         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7117
7118 2015-09-09  Doug Evans  <dje@google.com>
7119
7120         * gdb.base/pie-execl.exp: Fix result test of build_executable.
7121
7122 2015-09-09  Doug Evans  <dje@google.com>
7123
7124         * gdb.base/savedregs.exp: Fix typo.
7125
7126 2015-09-09  Pedro Alves  <palves@redhat.com>
7127
7128         * gdb.mi/mi-cli.exp: Add CLI finish tests.
7129
7130 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
7131
7132         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7133         command actually switches threads.  Give up on remaining
7134         tests if target fails to stop at breakpoint.
7135
7136 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
7137
7138         * gdb.ada/funcall_char.exp: New testcase.
7139         * gdb.ada/funcall_char/foo.adb: New file.
7140
7141 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
7142
7143         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7144         expected outputs.  Add two testcases for completing ambiguous
7145         functions.
7146         * gdb.ada/complete/aux_pck.adb: New file.
7147         * gdb.ada/complete/aux_pck.ads: New file.
7148         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7149         Ambiguous_Func functions.
7150         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7151         * gdb.ada/complete/pck.adb: Likewise.
7152
7153 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
7154
7155         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7156         failures to run the test program under GDB.
7157
7158 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
7159
7160         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7161         to C.
7162
7163 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
7164
7165         * gdb.base/run-after-attach.exp: New test file.
7166         * gdb.base/run-after-attach.c: New test file.
7167
7168 2015-08-26  Don Breazeal  <donb@codesourcery.com>
7169
7170         * gdb.base/foll-exec-2.c: New test program.
7171         * gdb.base/foll-exec-2.exp: New test.
7172
7173 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
7174
7175         * gdb.base/nested-subp1.exp: New file.
7176         * gdb.base/nested-subp1.c: New file.
7177         * gdb.base/nested-subp2.exp: New file.
7178         * gdb.base/nested-subp2.c: New file.
7179         * gdb.base/nested-subp3.exp: New file.
7180         * gdb.base/nested-subp3.c: New file.
7181
7182 2015-08-24  Pedro Alves  <palves@redhat.com>
7183
7184         * gdb.server/connect-without-multi-process.c: New file.
7185         * gdb.server/connect-without-multi-process.exp: New file.
7186
7187 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
7188
7189         * gdb.opt/inline-markers.c: Make z int.
7190
7191 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
7192
7193         * gdb.opt/inline-markers.c: Make z volatile.
7194
7195 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
7196
7197         * gdb.opt/inline-bt.c: New volatile global z.
7198         * gdb.opt/inline-cmds.c: Likewise.
7199         * gdb.opt/inline-locals.c: Likewise.
7200         * gdb.opt/inline-markers.c: New extern global z.
7201         (marker): Use z.
7202         (inline_fn): Likewise.
7203
7204 2015-08-24  Pedro Alves  <palves@redhat.com>
7205
7206         * config/m32r-stub.exp: Remove file.
7207         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7208         * gdb.base/call-rt-st.exp: Likewise.
7209         * gdb.base/call-strs.exp: Likewise.
7210         * gdb.base/default.exp: Remove references to h8300-*-hms and
7211         *-*-udi*.
7212         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7213
7214 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7215
7216         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7217         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
7218         and "return" use KFAIL when GDB can not read/write the vector
7219         return value.
7220
7221 2015-08-21  Gary Benson <gbenson@redhat.com>
7222
7223         * gdb.trace/pending.exp: Cope with remote transfer warnings.
7224
7225 2015-08-20  Pedro Alves  <palves@redhat.com>
7226
7227         * gdb.server/solib-list.exp: No longer expect an interior stop in
7228         non-stop mode.
7229
7230 2015-08-20  Pedro Alves  <palves@redhat.com>
7231
7232         * gdb.server/connect-stopped-target.c: New file.
7233         * gdb.server/connect-stopped-target.exp: New file.
7234
7235 2015-08-20  Pedro Alves  <palves@redhat.com>
7236
7237         * gdb.dwarf2/comp-unit-lang.exp: New file.
7238         * gdb.dwarf2/comp-unit-lang.c: New file.
7239
7240 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
7241
7242         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7243         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7244
7245 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
7246
7247         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7248         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7249
7250 2015-08-18  Doug Evans  <dje@google.com>
7251             Adrian Sendroiu <adrian.sendroiu@freescale.com>
7252
7253         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7254         skip_python_tests.  New arg prompt_regexp.
7255         (skip_python_tests): New function.
7256         * lib/mi-support.exp (mi_skip_python_tests): New function.
7257         * gdb.python/py-mi-objfile-gdb.py: New file.
7258         * gdb.python/py-mi-objfile.c: New file.
7259         * gdb.python/py-mi-objfile.exp: New file.
7260
7261 2015-08-17  Keith Seitz  <keiths@redhat.com>
7262
7263         * gdb.linespec/explicit.exp: Move strace test from here ...
7264         * gdb.trace/strace.exp: ... to here.
7265
7266 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
7267
7268         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7269         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7270
7271 2015-08-14  Doug Evans  <xdje42@gmail.com>
7272
7273         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7274         inferior before selecting a new file.
7275
7276 2015-08-14  Doug Evans  <xdje42@gmail.com>
7277
7278         * gdb.mi/mi-disassemble.exp: Update.
7279         * gdb.base/disasm-optim.S: New file.
7280         * gdb.base/disasm-optim.c: New file.
7281         * gdb.base/disasm-optim.h: New file.
7282         * gdb.base/disasm-optim.exp: New file.
7283
7284 2015-08-14  Keith Seitz  <keiths@redhat.com>
7285
7286         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7287         "evaluated-by".
7288
7289 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
7290
7291         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7292
7293 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
7294
7295         * gdb.ada/fun_renaming.exp: New testcase.
7296         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7297         * gdb.ada/fun_renaming/pack.adb: New file.
7298         * gdb.ada/fun_renaming/pack.ads: New file.
7299
7300 2015-08-12  Keith Seitz  <keiths@redhat.com>
7301
7302         * gdb.base/dso2dso.exp: Pass basename of source file in call to
7303         gdb_get_line_number.
7304
7305 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
7306
7307         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7308         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7309         gdb.base/dso2dso.exp: New files.
7310
7311 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
7312             Pedro Alves  <palves@redhat.com>
7313             Keith Seitz  <keiths@redhat.com>
7314
7315         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7316         GDBFLAGS.
7317
7318 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
7319
7320         * gdb.base/gdbhistsize-history.exp
7321         (test_histsize_history_setting): Use save_vars.
7322         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7323         Use save_vars.
7324         (test_no_truncation_of_unlimited_history_file): Use save_vars.
7325         * gdb.base/readline.exp: Use save_vars.
7326
7327 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
7328
7329         * lib/gdb.exp (save_vars): New proc.
7330
7331 2015-08-11  Keith Seitz  <keiths@redhat.com>
7332
7333         * gdb.base/help.exp: Update help_breakpoint_text.
7334
7335 2015-08-11  Keith Seitz  <keiths@redhat.com>
7336
7337         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7338         (at toplevel): Call test_explicit_breakpoints.
7339         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7340         breakpoints.
7341         * lib/mi-support.exp (mi_make_breakpoint): Add support for
7342         breakpoint conditions, "-cond".
7343
7344 2015-08-11  Keith Seitz  <keiths@redhat.com>
7345
7346         * gdb.linespec/3explicit.c: New file.
7347         * gdb.linespec/cpexplicit.cc: New file.
7348         * gdb.linespec/cpexplicit.exp: New file.
7349         * gdb.linespec/explicit.c: New file.
7350         * gdb.linespec/explicit.exp: New file.
7351         * gdb.linespec/explicit2.c: New file.
7352         * gdb.linespec/ls-errs.exp: Add explicit location tests.
7353         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7354         before using in the matching pattern.
7355         Clarify that `prefix' is a regular expression.
7356
7357 2015-08-11  Keith Seitz  <keiths@redhat.com>
7358
7359         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7360         test.
7361         Add tests for missing ",FMT" and ",".
7362
7363 2015-08-10  Doug Evans  <dje@google.com>
7364             Keith Seitz  <keiths@redhat.com>
7365
7366         PR gdb/17960
7367         * gdb.base/completion.exp: Add location completer tests.
7368
7369 2015-08-07  Pedro Alves  <palves@redhat.com>
7370
7371         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7372         tests here.
7373         (top level): Run do_test with and without displaced stepping.
7374
7375 2015-08-07  Pedro Alves  <palves@redhat.com>
7376
7377         * gdb.base/valgrind-disp-step.c: New file.
7378         * gdb.base/valgrind-disp-step.exp: New file.
7379
7380 2015-08-07  Pedro Alves  <palves@redhat.com>
7381
7382         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7383         Delete function.
7384         (main): Add alarm.  Run an infinite loop instead of calling
7385         wait_threads.
7386         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7387         comment.
7388         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7389         Delete function.
7390         (main): Add alarm.  Run an infinite loop instead of calling
7391         wait_threads.
7392         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7393         comment.
7394
7395 2015-08-07  Pedro Alves  <palves@redhat.com>
7396
7397         * gdb.base/checkpoint-ns.exp: New file.
7398         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7399         standard_testfile.
7400
7401 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
7402
7403         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7404         * gdb.btrace/instruction_history.exp: Update.
7405         * gdb.btrace/tsx.exp: New.
7406         * gdb.btrace/tsx.c: New.
7407
7408 2015-08-06  Pedro Alves <palves@redhat.com>
7409
7410         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7411         increase timeout.
7412         * gdb.reverse/until-precsave.exp: Bump timeouts.
7413
7414 2015-08-06  Pedro Alves  <palves@redhat.com>
7415
7416         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7417
7418 2015-08-06  Pedro Alves  <palves@redhat.com>
7419
7420         PR gdb/18749
7421         * gdb.threads/process-dies-while-handling-bp.c: New file.
7422         * gdb.threads/process-dies-while-handling-bp.exp: New file.
7423
7424 2015-08-06  Pedro Alves  <palves@redhat.com>
7425
7426         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7427         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7428
7429 2015-08-05  Pedro Alves  <palves@redhat.com>
7430
7431         * gdb.threads/next-while-other-thread-longjmps.c: New file.
7432         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7433
7434 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
7435
7436         * gdb.base/bp-permanent.exp: Report test as unsupported if
7437         the target cannot stop at the permanent breakpoint.
7438
7439 2015-08-03  Doug Evans  <dje@google.com>
7440
7441         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7442         10000.
7443
7444 2015-08-03  Doug Evans  <dje@google.com>
7445
7446         * Makefile.in (workers/%.worker, build-perf): New rule.
7447         (GDB_PERFTEST_MODE): New variable.
7448         (check-perf): Use it.
7449         (clean): Clean up gdb.perf parallel build subdirs.
7450         * lib/build-piece.exp: New file.
7451         * lib/gdb.exp (make_gdb_parallel_path): New function
7452         (standard_output_file, standard_temp_file): Call it.
7453         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7454         of $GDB_PARALLEL.
7455         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7456
7457 2015-08-03  Doug Evans  <dje@google.com>
7458
7459         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7460         (LOG_FILE_NAME): New global.
7461         (TextReporter.__init__): Initialize self.txt_sum.
7462         (TextReporter.report): Add support for multiple data-points.
7463         Move report to perftest.sum, put raw data in perftest.log.
7464         (TextReporter.start): Open sum and log files.
7465         (TextReporter.end): Close sum and log files.
7466         * gdb.perf/lib/perftest/testresult.py
7467         (SingleStatisticTestResult.record): Handle multiple data-points.
7468
7469 2015-07-31  Pedro Alves  <palves@redhat.com>
7470
7471         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7472         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
7473         kill_wait_spawned_process instead of explicit "kill -9".
7474         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7475         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
7476         kill_wait_spawned_process.
7477         * gdb.base/attach-twice.exp: Likewise.
7478         * gdb.base/attach.exp: Likewise.
7479         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7480         gdb_test_multiple.
7481         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7482         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
7483         kill_wait_spawned_process.
7484         * gdb.base/valgrind-infcall.exp: Likewise.
7485         * gdb.multi/multi-attach.exp: Likewise.
7486         * gdb.python/py-prompt.exp: Likewise.
7487         * gdb.python/py-sync-interp.exp: Likewise.
7488         * gdb.server/ext-attach.exp: Likewise.
7489         * gdb.threads/attach-into-signal.exp (corefunc): Use
7490         spawn_wait_for_attach, spawn_id_get_pid and
7491         kill_wait_spawned_process.
7492         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7493         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
7494         spawn_id_get_pid and kill_wait_spawned_process.
7495         * gdb.threads/attach-stopped.exp (corefunc): Use
7496         spawn_wait_for_attach, spawn_id_get_pid and
7497         kill_wait_spawned_process.
7498         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7499         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
7500         kill_wait_spawned_process instead of explicit "kill -9".
7501         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7502         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7503         (spawn_wait_for_attach): Use spawn instead of exec to spawn
7504         processes.  Don't map cygwin/windows pids here.  Now returns a
7505         spawn id list.
7506
7507 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
7508
7509         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7510         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7511         correct patch.
7512
7513 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
7514
7515         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7516
7517 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
7518
7519         Reapply:
7520         2014-05-21  Mark Wielaard  <mjw@redhat.com>
7521
7522         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7523
7524 2015-07-30  Pedro Alves  <palves@redhat.com>
7525
7526         * linux-low.c (handle_extended_wait): Set the child's last
7527         reported status to TARGET_WAITKIND_STOPPED.
7528
7529 2015-07-30  Pedro Alves  <palves@redhat.com>
7530
7531         PR threads/18600
7532         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7533         only shows inferior 1.
7534
7535 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
7536             Pedro Alves  <palves@redhat.com>
7537
7538         PR threads/18600
7539         * gdb.threads/fork-plus-threads.c: New file.
7540         * gdb.threads/fork-plus-threads.exp: New file.
7541
7542 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7543
7544         * gdb.base/batch-preserve-term-settings.exp
7545         (test_terminal_settings_preserved_after_cli_exit): Use
7546         send_quit_command.
7547
7548 2015-07-29  Pedro Alves  <palves@redhat.com>
7549             Don Breazeal  <donb@codesourcery.com>
7550
7551         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7552         output from both inferior_spawn_id and gdb_spawn_id.
7553
7554 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
7555
7556         * gdb.threads/attach-into-signal.exp (corefunc): Use
7557         with_test_prefix on nested loops, uniquefying the test messages.
7558
7559 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
7560
7561         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7562         commit.
7563
7564 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7565
7566         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7567         New proc.
7568         (test_terminal_settings_preserved_after_sigterm): New test.
7569
7570 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7571
7572         * gdb.base/batch-preserve-term-settings.exp
7573         (test_terminal_settings_preserved_after_cli_exit): New test.
7574
7575 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7576
7577         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7578         manipulation of saved_gdbflags.
7579         (test_terminal_settings_preserved): Remove global declaration of
7580         the unused variable pagination_prompt.  Remove manipulation of
7581         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
7582         GDBFLAGS.
7583
7584 2015-07-29  Pedro Alves  <palves@redhat.com>
7585
7586         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7587
7588 2015-07-29  Pedro Alves  <palves@redhat.com>
7589
7590         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7591         at the top.
7592
7593 2015-07-29  Pedro Alves  <palves@redhat.com>
7594
7595         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7596         (main): Call gdb_unbuffer_output.
7597         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7598         (main): Call gdb_unbuffer_output.
7599         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7600         (main): Call gdb_unbuffer_output.
7601         * gdb.base/call-strs.exp: Adjust to step over the
7602         gdb_unbuffer_output call.
7603         * gdb.base/catch-gdb-caused-signals.c: Include
7604         "../lib/unbuffer_output.c".
7605         (main): Call gdb_unbuffer_output.
7606         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7607         (main): Call gdb_unbuffer_output.
7608         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7609         (main): Call gdb_unbuffer_output.
7610         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7611         (main): Call gdb_unbuffer_output.
7612         * gdb.base/shlib-call.exp: Adjust to step over the
7613         gdb_unbuffer_output call.
7614         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7615         (main): Call gdb_unbuffer_output.
7616         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7617         (main): Call gdb_unbuffer_output.
7618         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7619         (main): Rename to ...
7620         (test): ... this.
7621         (main): Reimplement.
7622         * gdb.base/varargs.exp: Run to test instead of to main.
7623         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7624         (main): Call gdb_unbuffer_output.
7625
7626 2015-07-29  Pedro Alves  <palves@redhat.com>
7627
7628         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7629         factore out from mi_continue_dprintf.  For call-style dprintfs,
7630         expect dprintf output out of $inferior_spawn_id.
7631         (mi_continue_dprintf): Use mi_expect_dprintf.
7632         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7633         (main): Call gdb_unbuffer_output.
7634
7635 2015-07-29  Pedro Alves  <palves@redhat.com>
7636
7637         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7638         (default_mi_gdb_start): Set inferior_spawn_id instead of
7639         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
7640         gdb_spawn_id.
7641         (mi_gdb_test): Always expect inferior output from both
7642         $inferior_spawn_id and $gdb_spawn_id.
7643
7644 2015-07-29  Pedro Alves  <palves@redhat.com>
7645
7646         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
7647         send_inferior and $inferior_spawn_id.
7648
7649 2015-07-29  Pedro Alves  <palves@redhat.com>
7650
7651         * gdb.gdb/complaints.exp (test_initial_complaints)
7652         (test_serial_complaints, test_short_complaints): Use
7653         gdb_test_stdio.
7654         (test_empty_complaint): Handle $inferior_spawn_id !=
7655         $gdb_spawn_id.
7656
7657 2015-07-29  Pedro Alves  <palves@redhat.com>
7658
7659         * gdb.base/varargs.exp: Use gdb_test_stdio.
7660
7661 2015-07-29  Pedro Alves  <palves@redhat.com>
7662
7663         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7664
7665 2015-07-29  Pedro Alves  <palves@redhat.com>
7666
7667         * gdb.base/ending-run.exp: Use gdb_test_stdio.
7668
7669 2015-07-29  Pedro Alves  <palves@redhat.com>
7670
7671         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7672         parameter into two new parameters, "inf_result" and "gdb_result".
7673         Expect inferior output and gdb output from $inferior_spawn_id and
7674         $gdb_spawn_id, respectively.  Adjust all callers.
7675
7676 2015-07-29  Pedro Alves  <palves@redhat.com>
7677
7678         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7679         of gdb_test_sequence.
7680
7681 2015-07-29  Pedro Alves  <palves@redhat.com>
7682
7683         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7684         (saw_spurious_output): Expect inferior output from
7685         $inferior_spawn_id.  Use gdb_test_stdio.
7686
7687 2015-07-29  Pedro Alves  <palves@redhat.com>
7688
7689         * gdb.base/dprintf.exp: Use standard_testfile.  Change
7690         prepare_for_testing call.
7691         (srcfile): Don't set.
7692         (restart): New procedure.
7693         (test_dprintf): New procecure, use to continue over dprintfs.
7694         (test_call, test_agent): New procedures, tests moved here.
7695         Restart gdb and recreate dprintfs.  Adjust expected output.
7696
7697 2015-07-29  Pedro Alves  <palves@redhat.com>
7698
7699         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7700
7701 2015-07-29  Pedro Alves  <palves@redhat.com>
7702
7703         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7704
7705 2015-07-29  Pedro Alves  <palves@redhat.com>
7706
7707         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7708         gdb_test_stdio.
7709
7710 2015-07-29  Pedro Alves  <palves@redhat.com>
7711
7712         * lib/gdb.exp (gdb_test_stdio): New procedure.
7713
7714 2015-07-29  Pedro Alves  <palves@redhat.com>
7715
7716         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7717
7718 2015-07-29  Pedro Alves  <palves@redhat.com>
7719
7720         * gdb.base/call-signal-resume.exp: Remove check for
7721         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
7722         * gdb.base/unwindonsignal.exp: Likewise.
7723         * gdb.base/call-signals.c (gen_signal): Remove printf call.
7724         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7725
7726 2015-07-29  Pedro Alves  <palves@redhat.com>
7727
7728         * gdb.base/siginfo-addr.c (pass): New function.
7729         (handler): Call it iff si_addr is correct.
7730         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7731         Set a breakpoint at "pass" and continue to it.
7732
7733 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
7734
7735         * gdb.python/py-objfile.exp: Make some tests have unique names.
7736         * gdb.python/py-pp-registration.exp: Likewise.
7737
7738 2015-07-28  Pedro Alves  <palves@redhat.com>
7739
7740         * gdb.server/server-exec-info.exp: Issue a "disconnect".
7741
7742 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
7743
7744         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7745
7746 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
7747
7748         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7749
7750 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
7751
7752         * gdb.base/gdb-sigterm-2.exp: New test.
7753
7754 2015-07-25  Doug Evans  <xdje42@gmail.com>
7755
7756         Revert:
7757         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7758         (workers/%.worker, build-perf): New rule.
7759         (GDB_PERFTEST_MODE): New variable.
7760         (check-perf): Use it.
7761         (clean): Clean up gdb.perf parallel build subdirs.
7762         * lib/build-piece.exp: New file.
7763         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7764         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7765         name.
7766         (standard_temp_file): Ditto.
7767         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7768         of $GDB_PARALLEL.
7769
7770 2015-07-24  Doug Evans  <dje@google.com>
7771
7772         * gdb.perf/lib/perftest/utils.py: New file.
7773         * gdb.perf/gm-hello.cc: New file.
7774         * gdb.perf/gm-pervasive-typedef.cc: New file.
7775         * gdb.perf/gm-pervasive-typedef.h: New file.
7776         * gdb.perf/gm-std.cc: New file.
7777         * gdb.perf/gm-std.h: New file.
7778         * gdb.perf/gm-use-cerr.cc: New file.
7779         * gdb.perf/gm-utils.h: New file.
7780         * gdb.perf/gmonster-null-lookup.py: New file.
7781         * gdb.perf/gmonster-pervasive-typedef.py: New file.
7782         * gdb.perf/gmonster-print-cerr.py: New file.
7783         * gdb.perf/gmonster-ptype-string.py: New file.
7784         * gdb.perf/gmonster-runto-main.py: New file.
7785         * gdb.perf/gmonster-select-file.py: New file.
7786         * gdb.perf/gmonster1-null-lookup.exp: New file.
7787         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7788         * gdb.perf/gmonster1-print-cerr.exp: New file.
7789         * gdb.perf/gmonster1-ptype-string.exp: New file.
7790         * gdb.perf/gmonster1-runto-main.exp: New file.
7791         * gdb.perf/gmonster1-select-file.exp: New file.
7792         * gdb.perf/gmonster1.cc: New file.
7793         * gdb.perf/gmonster1.exp: New file.
7794         * gdb.perf/gmonster2-null-lookup.exp: New file.
7795         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7796         * gdb.perf/gmonster2-print-cerr.exp: New file.
7797         * gdb.perf/gmonster2-ptype-string.exp: New file.
7798         * gdb.perf/gmonster2-runto-main.exp: New file.
7799         * gdb.perf/gmonster2-select-file.exp: New file.
7800         * gdb.perf/gmonster2.cc: New file.
7801         * gdb.perf/gmonster2.exp: New file.
7802
7803 2015-07-24  Doug Evans  <dje@google.com>
7804
7805         * gdb.perf/README: New file.
7806         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7807         * lib/gen-perf-test.exp: New file.
7808
7809 2015-07-24  Doug Evans  <dje@google.com>
7810
7811         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7812         (PerfTest::startup): New function.
7813         (PerfTest::run): Return result of calling body.
7814         (PerfTest::assemble): Rewrite.
7815         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7816         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7817         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7818         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7819         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7820
7821 2015-07-24  Doug Evans  <dje@google.com>
7822
7823         * lib/gdb.exp (clean_restart): Make executable optional.
7824
7825 2015-07-24  Doug Evans  <dje@google.com>
7826
7827         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7828         compiler_info references.
7829         * gdb.cp/temargs.exp: Ditto.
7830         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7831         (get_compiler_info): Early exit if already computed.  Set compiler_info
7832         to "unknown" if there was a problem.
7833         (test_compiler_info): Add function comment.  Call get_compiler_info.
7834
7835 2015-07-24  Doug Evans  <dje@google.com>
7836
7837         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7838         (workers/%.worker, build-perf): New rule.
7839         (GDB_PERFTEST_MODE): New variable.
7840         (check-perf): Use it.
7841         (clean): Clean up gdb.perf parallel build subdirs.
7842         * lib/build-piece.exp: New file.
7843         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7844         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7845         name.
7846         (standard_temp_file): Ditto.
7847         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7848         of $GDB_PARALLEL.
7849
7850 2015-07-24  Doug Evans  <dje@google.com>
7851
7852         * lib/future.exp (gdb_default_target_compile): New option
7853         "early_flags".
7854         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7855         --as-needed.
7856
7857 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
7858
7859         * gdb.base/catch-syscall.exp: Call gdb_exit before
7860         gdb_skip_xml_test.
7861
7862 2015-07-24  Pedro Alves  <palves@redhat.com>
7863
7864         * gdb.python/py-events.exp: Accept output between the stop event
7865         and the prompt.
7866         * gdb.python/py-evsignal.exp: Likewise.
7867         * gdb.python/py-evthreads.exp: Likewise.
7868
7869 2015-07-24  Pedro Alves  <palves@redhat.com>
7870
7871         PR gdb/18717
7872         * gdb.threads/non-ldr-exit.c: New file.
7873         * gdb.threads/non-ldr-exit.exp: New file.
7874
7875 2015-07-24  Yao Qi  <yao.qi@linaro.org>
7876
7877         * gdb.server/ext-wrapper.exp: Test --wrapper option when
7878         restarting process.
7879
7880 2015-07-24  Yao Qi  <yao.qi@linaro.org>
7881
7882         * gdb.server/ext-restart.exp: New file.
7883
7884 2015-07-24  Yao Qi  <yao.qi@linaro.org>
7885
7886         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7887         argument options.
7888         * gdb.server/ext-wrapper.exp: New file.
7889
7890 2015-07-23  Doug Evans  <dje@google.com>
7891
7892         * gdb.dwarf2/dw2-dummy-cu.S: New file.
7893         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7894
7895 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
7896
7897         * gdb.ada/var_arr_typedef.exp: New testcase.
7898         * gdb.ada/var_arr_typedef/pack.adb: New file.
7899         * gdb.ada/var_arr_typedef/pack.ads: New file.
7900         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7901
7902 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
7903
7904         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7905
7906 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7907
7908         * gdb.arch/i386-biarch-core.exp: Replace istarget
7909         by "complete set gnutarget". Remove expectation for the "core-file"
7910         command.
7911
7912 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7913
7914         Revert the previous commit:
7915         Tests for validate symbol file using build-id.
7916
7917 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
7918
7919         Tests for validate symbol file using build-id.
7920         * gdb.base/solib-mismatch-lib.c: New file.
7921         * gdb.base/solib-mismatch-libmod.c: New file.
7922         * gdb.base/solib-mismatch.c: New file.
7923         * gdb.base/solib-mismatch.exp: New file.
7924
7925 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
7926
7927         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7928         nios2-*-linux*.
7929         * gdb.base/sigbpt.exp (stepi_out): Likewise.
7930         * gdb.base/siginfo.exp: Likewise.
7931         * gdb.base/sigstep.exp (advance, advancei): Likewise.
7932
7933 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
7934
7935         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7936         Move it to ...
7937         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7938         ... here.
7939         * gdb.trace/range-stepping.exp: Check that the target supports
7940         range stepping.
7941
7942 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7943
7944         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7945
7946 2015-07-14  Pedro Alves  <palves@redhat.com>
7947
7948         * gdb.base/killed-outside.exp: New file.
7949         * gdb.base/killed-outside.c: New file.
7950
7951 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
7952
7953         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7954         (n at main): New.
7955         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7956
7957 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7958
7959         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7960         infcall tests instead of setting up for KFAIL.
7961
7962 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
7963
7964         * gdb.btrace/record_goto-step.exp: New.
7965
7966 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7967
7968         PR compile/18484
7969         * gdb.compile/compile.c (struct struct_type): Add volatile to
7970         selffield's type.
7971         * gdb.compile/compile.exp
7972         (compile code struct_object.selffield = &struct_object): Skip further
7973         struct_object tests if this one xfails.
7974
7975 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
7976
7977         PR exp/18617
7978         * gdb.trace/ax.exp: Add test.
7979
7980 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7981
7982         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
7983         instead of istarget "aarch64*-*-*".
7984         * gdb.arch/aarch64-fp.exp: Likewise.
7985         * gdb.base/float.exp: Likewise.
7986         * gdb.reverse/aarch64.exp: Likewise.
7987         * lib/gdb.exp (is_aarch64_target): New proc.
7988
7989 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7990
7991         * lib/gdb.exp (is_aarch32_target): New proc.
7992         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7993         instead of "istarget "arm*-*-*"".
7994         * gdb.arch/arm-disp-step.exp: Likewise.
7995         * gdb.arch/thumb-bx-pc.exp: Likewise.
7996         * gdb.arch/thumb-prologue.exp: Likewise.
7997         * gdb.arch/thumb-singlestep.exp: Likewise.
7998         * gdb.base/disp-step-syscall.exp: Likewise.
7999         * gdb.base/float.exp: Likewise.
8000
8001 2015-07-07  Yao Qi  <yao.qi@linaro.org>
8002
8003         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8004         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8005
8006 2015-07-07  Yao Qi  <yao.qi@linaro.org>
8007
8008         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8009         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8010         if it exists.
8011         * gdb.multi/multi-arch.exp: Likewise.
8012
8013 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
8014
8015         * gdb.python/py-lazy-string.exp: Add missing parentheses to
8016         print.
8017
8018 2015-07-07  Yao Qi  <yao.qi@linaro.org>
8019
8020         * gdb.arch/thumb-singlestep.exp: Do one more single step.
8021
8022 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
8023
8024         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8025         '[' and ']' characters.
8026
8027 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
8028
8029         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8030
8031 2015-06-29  Pedro Alves  <palves@redhat.com>
8032
8033         PR threads/18127
8034         * gdb.threads/hand-call-new-thread.c: New file.
8035         * gdb.threads/hand-call-new-thread.c: New file.
8036
8037 2015-06-26  Keith Seitz  <keiths@redhat.com>
8038             Doug Evans  <dje@google.com>
8039
8040         PR 16253
8041         * gdb.cp/var-tag-2.cc: New file.
8042         * gdb.cp/var-tag-3.cc: New file.
8043         * gdb.cp/var-tag-4.cc: New file.
8044         * gdb.cp/var-tag.cc: New file.
8045         * gdb.cp/var-tag.exp: New file.
8046
8047 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
8048
8049         * gdb.base/history-duplicates.exp: New test.
8050
8051 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
8052
8053         * gdb.base/completion.exp: Test the completion of the "focus"
8054         command.
8055
8056 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8057
8058         * gdb.arch/amd64-prologue-skip.S: New file.
8059         * gdb.arch/amd64-prologue-skip.exp: New file.
8060
8061 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
8062
8063         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8064         is_address_zero_readable check.
8065
8066 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
8067
8068         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8069         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8070
8071 2015-06-24  Yao Qi  <yao.qi@linaro.org>
8072
8073         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8074         linux targets.
8075
8076 2015-06-24  Yao Qi  <yao.qi@linaro.org>
8077
8078         * lib/gdb.exp (supports_get_siginfo_type): New proc.
8079         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8080         * gdb.base/siginfo-thread.exp: Likewise.
8081
8082 2015-06-22  Yao Qi  <yao.qi@linaro.org>
8083
8084         * boards/remote-gdbserver-on-localhost.exp: Add comments.
8085
8086 2015-06-22  Yao Qi  <yao.qi@linaro.org>
8087
8088         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8089         aarch64*-*-*.
8090         (skip_hw_watchpoint_tests): Likewise.
8091
8092 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
8093
8094         * gdb.base/gdbinit-history.exp: Test the interaction between
8095         setting GDBHISTSIZE and setting the history size via .gdbinit.
8096
8097 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
8098
8099         PR gdb/16999
8100         * gdb.base/gdbhistsize-history.exp: New test.
8101
8102 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
8103
8104         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8105         with GDBHISTSIZE.
8106         * gdb.base/readline.exp: Likewise.
8107
8108 2015-06-17  Yao Qi  <yao.qi@linaro.org>
8109
8110         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8111         line.
8112
8113 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
8114
8115         * gdb.base/gdbinit-history.exp: Add test case to check that
8116         an unlimited history file does not get truncated on exit.
8117
8118 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8119
8120         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8121         (VECTOR): New macro.  Use it...
8122         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8123         ...for these typedefs.
8124         (int8, char1, int1, double1): New typedefs.
8125         (struct just_int2, struct two_int2): New structures.
8126         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8127         (add_structvecs, add_singlevecs): New functions.
8128         (main): Call add_some_intvecs twice.
8129         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8130         the compile and exit upon failure.  Try compiling for the "native"
8131         architecture.  Test inferior function calls with vector arguments
8132         and vector return value handling with "finish" and "return".
8133
8134 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
8135
8136         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8137         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8138         PE file.
8139         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8140
8141 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8142
8143         PR breakpoints/16465
8144         * gdb.mi/mi-dprintf-pending.c: New file.
8145         * gdb.mi/mi-dprintf-pending.exp: New test.
8146         * gdb.mi/mi-dprintf-pendshr.c: New file.
8147
8148 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8149             Mircea Gherzan  <mircea.gherzan@intel.com>
8150
8151         * gdb.arch/i386-mpx-map.c: New file.
8152         * gdb.arch/i386-mpx-map.exp: New File.
8153
8154 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8155
8156         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8157         * gdb.arch/i386-mpx.exp: Indentation fixed.
8158
8159 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8160
8161         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8162         function and improved indentation.
8163         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8164         gdb_test_multiple. Added additional tests to skip the test.
8165
8166 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
8167
8168         * gdb.arch/i386-avx512.c: Change path in include file.
8169         * gdb.arch/i386-avx512.exp: Change include dir path
8170         compilation flag.
8171         * gdb.arch/i386-mpx.c: Change path in include file.
8172         * gdb.arch/i386-mpx.exp: Change include dir path compilation
8173         flag.
8174
8175 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
8176
8177         * gdb.compile/compile-print.exp (compile print *vararray@3)
8178         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8179
8180 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8181
8182         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8183         (do not keep jit in memory): ... this.
8184         (expect 5): Change it to ...
8185         (expect no 5): ... this.
8186
8187 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
8188
8189         PR gdb/15564
8190         * gdb.mi/mi-detach.exp: New file.
8191
8192 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
8193
8194         PR symtab/18392
8195         * gdb.arch/amd64-tailcall-self.S: New file.
8196         * gdb.arch/amd64-tailcall-self.c: New file.
8197         * gdb.arch/amd64-tailcall-self.exp: New file.
8198
8199 2015-05-28  Don Breazeal  <donb@codesourcery.com>
8200
8201         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8202         tests for remote targets by checking is_target_gdbserver.
8203
8204 2015-05-27  Doug Evans  <dje@google.com>
8205
8206         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8207         * gdb.dwarf2/opaque-type-lookup.c: New file.
8208         * gdb.dwarf2/opaque-type-lookup.exp: New file.
8209
8210 2015-05-26  Doug Evans  <dje@google.com>
8211
8212         * gdb.cp/iostream.cc: New file.
8213         * gdb.cp/iostream.exp: New file.
8214
8215 2015-05-26  Doug Evans  <dje@google.com>
8216
8217         * gdb.dwarf2/dw2-op-call.exp: Update.
8218         * gdb.dwarf2/dw4-sig-types.exp: Update.
8219         * gdb.dwarf2/implptr.exp: Update.
8220         * gdb.mi/mi-cmd-param-changed.exp: Update.
8221
8222 2015-05-26  Doug Evans  <dje@google.com>
8223
8224         * gdb.python/py-lazy-string.c: New file.
8225         * gdb.python/py-lazy-string.exp: New file.
8226         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8227         (main): Update.  Add estring3.
8228         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8229         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8230
8231 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
8232             Yao Qi  <yao.qi@linaro.org>
8233
8234         * gdb.reverse/aarch64.c: New.
8235         * gdb.reverse/aarch64.exp: New.
8236
8237 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
8238
8239         * lib/gdb.exp (supports_process_record): Return true for
8240         aarch64*-linux*.
8241         (supports_reverse): Likewise.
8242
8243 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
8244
8245         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8246         Use with_test_prefix.
8247
8248 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
8249
8250         * gdb.base/completion.exp: Add test for completion of layout
8251         names.
8252
8253 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
8254
8255         * lib/gdb.exp (skip_tui_tests): New proc.
8256         * gdb.base/tui-layout.exp: Check skip_tui_tests.
8257
8258 2015-05-19  Pedro Alves  <palves@redhat.com>
8259
8260         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8261         Save the whole env array instead of just HOME.  Unset HISTSIZE in
8262         the environment while testing.  Restore whole environment
8263         afterwards.
8264
8265 2015-05-16  Doug Evans  <xdje42@gmail.com>
8266
8267         * gdb.guile/scm-ports.c: New file.
8268         * gdb.guile/scm-ports.exp: Add memory port tests.
8269
8270 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8271
8272         * gdb.compile/compile-print.c: New file.
8273         * gdb.compile/compile-print.exp: New file.
8274
8275 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8276
8277         * gdb.compile/compile-ops.exp: Cast param to void.
8278         * gdb.compile/compile.exp: Complete type for _gdb_expr.
8279         (compile code struct_object.selffield = &struct_object): Add xfail.
8280
8281 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
8282
8283         * gdb.ada/arr_enum_with_gap: New testcase.
8284
8285 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
8286
8287         * gdb.ada/byte_packed_arr: New testcase.
8288
8289 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
8290
8291         * gdb.ada/pckd_neg: New testcase.
8292
8293 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
8294
8295         PR gdb/17820
8296         * gdb.base/gdbinit-history.exp: New test.
8297         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8298         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8299
8300 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
8301
8302         * gdb.python/py-xmethods.cc: Enhance test case.
8303         * gdb.python/py-xmethods.exp: New tests.
8304         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8305         function.
8306         (B_indexoper): Likewise.
8307         (global_dm_list) : Add new xmethod worker functions.
8308
8309 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
8310
8311         * gdb.base/coredump-filter.exp: Correctly unset
8312         "coredump_var_addr" array.
8313
8314 2015-05-08  Pedro Alves  <palves@redhat.com>
8315
8316         * gdb.server/non-existing-program.exp: Unset spawn_id.
8317
8318 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
8319
8320         PR python/18291
8321         * gdb.python/py-xmethods.exp: Add tests.
8322
8323 2015-05-08  Yao Qi  <yao.qi@linaro.org>
8324
8325         PR gdb/18208
8326         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8327         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8328         function set_coredump_filter, and remove remote_exec call.
8329         Remove argument ipid.  Callers update.
8330         (top level): Don't get inferior's PID.
8331
8332 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8333
8334         * gdb.base/watch_thread_num.exp: Skip test on targets without
8335         access watchpoints.
8336
8337 2015-05-06  Pedro Alves  <palves@redhat.com>
8338
8339         PR server/18081
8340         * gdb.server/non-existing-program.exp: New file.
8341
8342 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
8343
8344         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8345
8346 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
8347
8348         * gdb.ada/out_of_line_in_inlined: New testcase.
8349
8350 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
8351
8352         * gdb.ada/var_rec_arr: New testcase.
8353
8354 2015-04-30  Yao Qi  <yao.qi@linaro.org>
8355
8356         * gdb.base/break-idempotent.exp: If
8357         skip_hw_watchpoint_multi_tests returns true, skip the tests
8358         on "rwatch" and "awatch".
8359
8360 2015-04-30  Yao Qi  <yao.qi@linaro.org>
8361
8362         * gdb.base/relativedebug.exp: Invoke gdb command
8363         "info sharedlibrary", and if libc.so doesn't have debug info,
8364         skip the test.
8365
8366 2015-04-29  Doug Evans  <dje@google.com>
8367
8368         * gdb.python/py-xmethods.exp: Add ptype tests.
8369         * gdb.python/py-xmethods.py (E_method_char_worker): Add
8370         get_result_type method.
8371
8372 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
8373
8374         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8375         the target does not support hardware watchpoints.
8376
8377 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
8378
8379         * gdb.base/break-always.exp: Abort testing if writing to memory
8380         causes an error.
8381
8382 2015-04-28  Doug Evans  <dje@google.com>
8383
8384         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8385         * gdb.python/py-pp-registration.exp: ... here.  New file.
8386         * gdb.python/py-pp-registration.c: New file.
8387         * gdb.python/py-pp-registration.py: New file.
8388
8389 2015-04-28  Doug Evans  <dje@google.com>
8390
8391         * gdb.python/py-bad-printers.c: New file.
8392         * gdb.python/py-bad-printers.py: New file.
8393         * gdb.python/py-bad-printers.exp: New file.
8394
8395 2015-04-28  Sasha Smundak  <asmundak@google.com>
8396
8397         * gdb.python/py-type.exp: New test.
8398
8399 2015-04-28  Andy Wingo  <wingo@igalia.com>
8400
8401         * gdb.python/py-parameter.exp:
8402         * gdb.guile/scm-parameter.exp: Escape the path that we are
8403         matching against, as it might contain characters that are special
8404         to regular expressions.
8405
8406 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
8407
8408         * gdb.ada/rec_comp: New testcase.
8409
8410 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
8411
8412         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8413         before using it.
8414
8415 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
8416
8417         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
8418         new tests for verilog output.
8419
8420 2015-04-24  Yao Qi  <yao.qi@linaro.org>
8421
8422         * boards/remote-gdbserver-on-localhost.exp: New file.
8423
8424 2015-04-23  Pedro Alves  <palves@redhat.com>
8425
8426         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8427         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
8428         "end of file", remove $inferior_spawn_id from the indirect list.
8429
8430 2015-04-23  Pedro Alves  <palves@redhat.com>
8431
8432         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8433
8434 2015-04-23  Pedro Alves  <palves@redhat.com>
8435
8436         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8437         on $any_spawn_id instead of only on $gdb_spawn_id.
8438
8439 2015-04-21  Pierre Muller  <muller@sourceware.org>
8440
8441         PR pascal/17815
8442         * lib/pascal.exp (gpc_compile): Add new option "class".
8443         (fpc_compile): Likewise.
8444         * gdb.pascal/case-insensitive-symbols.pas: New file.
8445         * gdb.pascal/case-insensitive-symbols.exp: New file.
8446
8447 2015-04-20  Gary Benson <gbenson@redhat.com>
8448
8449         * gdb.base/attach.exp: Fix three extended remote failures.
8450
8451 2015-04-17  Gary Benson <gbenson@redhat.com>
8452
8453         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8454         the main executable over the remote protocol.
8455
8456 2015-04-16  Pedro Alves  <palves@redhat.com>
8457
8458         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8459         a new gdbserver if gdbserver_reconnect_p is set.
8460
8461 2015-04-16  Pedro Alves  <palves@redhat.com>
8462
8463         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8464         is set, don't exit gdbserver.
8465
8466 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8467
8468         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8469         appropriate .insn, such that an older assembler can be used.
8470         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8471         the z/Architecture instruction set on 31-bit targets as well.
8472
8473 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8474
8475         * gdb.go/handcall.exp: Remove all logic related to the first
8476         breakpoint and rely on go_runto_main instead.
8477         * gdb.go/strings.exp: Likewise.
8478         * gdb.go/unsafe.exp: Likewise.
8479         * gdb.go/hello.exp: Likewise.  Also rename the remaining
8480         breakpoint marker to "breakpoint 1".
8481         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8482         * gdb.go/strings.go: Likewise.
8483         * gdb.go/unsafe.go: Likewise.
8484         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
8485         "set breakpoint 2 here" and rename the remaining breakpoint marker
8486         to "breakpoint 1".
8487
8488 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
8489
8490         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8491         if itertools.imap is not present.
8492         * gdb.python/py-objfile.exp: Add parentheses.
8493         * gdb.python/py-type.exp: Same.
8494         * gdb.python/py-unwind-maint.py: Same.
8495
8496 2015-04-15  Yao Qi  <yao.qi@linaro.org>
8497
8498         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8499         of ":$ptr_size" and set its form explicitly.
8500
8501 2015-04-15  Pedro Alves  <palves@redhat.com>
8502             Yao Qi  <yao.qi@linaro.org>
8503
8504         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8505         timeout by factor of 4.
8506         (test_regular_watch): Likewise.
8507         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8508         * gdb.reverse/sigall-reverse.exp: Likewise.
8509         * gdb.reverse/until-precsave.exp: Likewise.
8510         * lib/gdb.exp (with_timeout_factor): New proc.
8511         (gdb_expect): Move some code to ...
8512         (get_largest_timeout): ... here.  New procedure.
8513
8514 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
8515
8516         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8517
8518 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
8519
8520         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8521         to write to the .text section.
8522
8523 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
8524
8525         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8526         Handle the case of targets that do not provide PID information.
8527
8528 2015-04-13  Yao Qi  <yao.qi@linaro.org>
8529
8530         * lib/gdbserver-support.exp (gdb_exit): Catch exception
8531         and use expect instead of gdb_expect.
8532
8533 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
8534
8535         * gdb.base/coredump-filter.exp: Rename variable "addr" to
8536         "coredump_var_addr" to avoid naming conflict with other testcases.
8537
8538 2015-04-10  Pedro Alves  <palves@redhat.com>
8539
8540         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8541         gdb_test_sequence and gdb_assert.
8542
8543 2015-04-10  Pedro Alves  <palves@redhat.com>
8544
8545         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8546         test messages that don't include the breakpoint address.
8547
8548 2015-04-10  Yao Qi  <yao.qi@linaro.org>
8549
8550         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8551         false for some offset and width combinations which aren't
8552         supported by linux kernel.
8553
8554 2015-04-10  Pedro Alves  <palves@redhat.com>
8555
8556         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8557         procedure, factored out from ...
8558         (top level): ... here.  Add "set displaced-stepping" testing axis.
8559         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8560         parameter "displaced".  Use it.
8561         (top level): Use foreach and add "set displaced-stepping" testing
8562         axis.
8563
8564 2015-04-10  Pedro Alves  <palves@redhat.com>
8565
8566         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8567         Remove comment.
8568         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8569         both the address of the instruction that triggers the watchpoint
8570         and the address of the instruction immediately after, and use
8571         those addresses for the test.  Fix comment.
8572
8573 2015-04-10  Pedro Alves  <palves@redhat.com>
8574
8575         * gdb.base/sigstep.exp (breakpoint_to_handler)
8576         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
8577         Test "backtrace" in handler.
8578         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
8579         (top level): Add new "displaced" test axis to
8580         breakpoint_to_handler, breakpoint_to_handler_entry and
8581         breakpoint_over_handler.
8582
8583 2015-04-10  Pedro Alves  <palves@redhat.com>
8584
8585         PR gdb/18216
8586         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8587
8588 2015-04-10  Yao Qi  <yao.qi@linaro.org>
8589
8590         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8591         (test_add_rn_pc): New function.
8592         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8593         (top level): Invoke test_add_rn_pc.
8594
8595 2015-04-10  Pedro Alves  <palves@redhat.com>
8596
8597         PR gdb/13858
8598         * gdb.base/step-over-no-symbols.exp: New file.
8599
8600 2015-04-09  Andy Wingo  <wingo@igalia.com>
8601
8602         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8603         after the Python tests.
8604
8605 2015-04-08  Keith Seitz  <keiths@redhat.com>
8606
8607         PR python/16699
8608         * gdb.python/py-completion.exp: New tests for completion.
8609         * gdb.python/py-completion.py (CompleteLimit1): New class.
8610         (CompleteLimit2): Likewise.
8611         (CompleteLimit3): Likewise.
8612         (CompleteLimit4): Likewise.
8613         (CompleteLimit5): Likewise.
8614         (CompleteLimit6): Likewise.
8615         (CompleteLimit7): Likewise.
8616
8617 2015-04-08  Pedro Alves  <palves@redhat.com>
8618
8619         PR gdb/18214
8620         PR gdb/18216
8621         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8622         function.
8623         (main): Install it as SIGUSR1 handler.
8624         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8625         parameter.  Always use "setup" as prefix.  Toggle "set
8626         displaced-stepping" off/on depending on global.  Don't switch to
8627         thread 1 here.
8628         (top level): Add displaced stepping "off/on" test axis.  Update
8629         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
8630         continuing with a queued signal in each thread.
8631
8632 2015-04-08  Pedro Alves  <palves@redhat.com>
8633
8634         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8635         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
8636         gdb_breakpoint instead of gdb_test that doesn't expect anything.
8637         Return early if running to main fails.
8638         * gdb.trace/while-stepping.exp: Likewise.
8639
8640 2015-04-07  Pedro Alves  <palves@redhat.com>
8641
8642         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8643         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
8644         interact with inferior program.
8645
8646 2015-04-07  Pedro Alves  <palves@redhat.com>
8647
8648         * lib/gdb.exp (inferior_spawn_id): New global.
8649         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
8650         spawn id after processing the user code.
8651         (default_gdb_start): Set inferior_spawn_id.
8652         (send_inferior): New procedure.
8653         * lib/gdbserver-support.exp (gdbserver_start): Set
8654         inferior_spawn_id.
8655         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8656
8657 2015-04-07  Pedro Alves  <palves@redhat.com>
8658
8659         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8660         * lib/gdbserver-support.exp (gdbserver_start): Make
8661         $server_spawn_id global.
8662         (gdbserver_start): Don't wait for gdbserver's spawn id with
8663         expect_background.
8664         (close_gdbserver): New procedure.
8665         (gdb_exit): Rename the default version and reimplement.
8666
8667 2015-04-07  Pedro Alves  <palves@redhat.com>
8668
8669         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8670         append the substituted item, not the original item.
8671
8672 2015-04-07  Pedro Alves  <palves@redhat.com>
8673
8674         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8675         gdb_expect.
8676
8677 2015-04-07  Pedro Alves  <palves@redhat.com>
8678
8679         * gdb.base/interrupt.exp: Don't handle the case of the inferior
8680         output appearing once only.
8681
8682 2015-04-07  Pedro Alves  <palves@redhat.com>
8683
8684         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8685         that doesn't expect anything.  Return early if running to main
8686         fails.
8687
8688 2015-04-07  Yao Qi  <yao.qi@linaro.org>
8689
8690         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8691         (child_function): Call alarm.
8692         (main): Move call to alarm into the loop.
8693         * gdb.threads/non-stop-fair-events.exp: Build program with
8694         -DTIMEOUT=$timeout.
8695
8696 2015-04-06  Doug Evans  <xdje42@gmail.com>
8697
8698         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8699         Fix dest parameter to board_info.
8700         (fpc_compile): Ditto.
8701         (gdb_compile_pascal): Rename dest arg to destfile.
8702
8703 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
8704
8705         * gdb.ada/funcall_ref.exp: New file.
8706         * gdb.ada/funcall_ref/foo.adb: New file.
8707
8708 2015-04-02  Yao Qi  <yao.qi@linaro.org>
8709
8710         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8711         is remote.
8712
8713 2015-04-02  Gary Benson <gbenson@redhat.com>
8714
8715         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8716
8717 2015-04-01  Sasha Smundak  <asmundak@google.com>
8718
8719         * gdb.python/py-unwind-maint.c: New file.
8720         * gdb.python/py-unwind-maint.exp: New test.
8721         * gdb.python/py-unwind-maint.py: New file.
8722         * gdb.python/py-unwind.c: New file.
8723         * gdb.python/py-unwind.exp: New test.
8724         * gdb.python/py-unwind.py: New test.
8725
8726 2015-04-01  Pedro Alves  <palves@redhat.com>
8727
8728         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8729         to fail instead of non-existent $test.
8730
8731 2015-04-01  Pedro Alves  <palves@redhat.com>
8732
8733         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8734         GDBFLAGS if not empty.
8735
8736 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
8737
8738         * gdb.ada/complete.exp: Remove "multi_line".
8739         * gdb.ada/info_exc.exp: Remove "multi_line".
8740         * gdb.ada/packed_tagged.exp: Remove "multi_line".
8741         * gdb.ada/ptype_field.exp: Remove "multi_line".
8742         * gdb.ada/sym_print_name.exp: Remove "multi_line".
8743         * gdb.ada/tagged.exp: Remove "multi_line".
8744         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8745         [multi_line ...]
8746         * gdb.btrace/delta.exp: Likewise.
8747         * gdb.btrace/exception.exp: Likewise.
8748         * gdb.btrace/function_call_history.exp: Likewise.
8749         * gdb.btrace/instruction_history.exp: Likewise.
8750         * gdb.btrace/nohist.exp: Likewise.
8751         * gdb.btrace/record_goto.exp: Likewise.
8752         * gdb.btrace/segv.exp: Likewise.
8753         * gdb.btrace/stepi.exp: Likewise.
8754         * gdb.btrace/tailcall.exp: Likewise.
8755         * gdb.btrace/unknown_functions.exp: Likewise.
8756         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8757         * lib/gdb.exp: Add the "multi_line" helper.
8758
8759 2015-04-01  Pedro Alves  <palves@redhat.com>
8760
8761         * gdb.threads/tid-reuse.c: New file.
8762         * gdb.threads/tid-reuse.exp: New file.
8763
8764 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
8765
8766         PR corefiles/16092
8767         * gdb.base/coredump-filter.c: New file.
8768         * gdb.base/coredump-filter.exp: Likewise.
8769
8770 2015-03-27  Petr Machata  <pmachata@redhat.com>
8771
8772         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8773         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8774         (Dwarf::assemble): Initialize them.
8775         (Dwarf::lines): New function.
8776
8777 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
8778
8779         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8780         SYMBOL_PREFIX for x86_64-*-cygwin.
8781
8782 2015-03-26  Andy Wingo  <wingo@igalia.com>
8783
8784         PR symtab/18148
8785         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8786         const_value but not a location.
8787         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8788         location defined in non-main CUs are visible.
8789
8790 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8791
8792         PR testsuite/18139
8793         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8794         Add a line number entry for the same line.
8795         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8796         Add a line number entry for the same line.
8797
8798 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8799
8800         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8801         .int 0.
8802         (func): Likewise.  Add .Lfunc_1 label.
8803         Use .Lfunc_1 label.
8804         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8805         .int 0.
8806         (func): Likewise.
8807         Use .Lfunc_1 label.
8808
8809 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8810
8811         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8812         Call gdb_compile instead to compile each .s files without debug
8813         information.
8814
8815 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8816
8817         * gdb.base/savedregs.exp (process_saved_regs): Make
8818         "Saved registers:" optional in the pattern.
8819
8820 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
8821
8822         * gdb.btrace/next.exp: Merged into step.exp.
8823         * gdb.btrace/finish.exp: Merged into step.exp.
8824         * gdb.btrace/nexti.exp: Merged into stepi.exp.
8825         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
8826         "record goto" and checking the exact replay position.
8827         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
8828         check for "Recording format" in "info record" output.
8829         * gdb.btrace/record_goto.exp: Choose test file based on target.
8830         * gdb.btrace/x86-record_goto.S: Renamed into ...
8831         * gdb.btrace/x86_64-record_goto.S: ... this.
8832         * gdb.btrace/i686-record_goto.S: New.
8833         * gdb.btrace/x86-tailcall.S: Renamed into ...
8834         * gdb.btrace/x86_64-tailcall.S: ... this.
8835         * gdb.btrace/i686-tailcall.S: New.
8836         * gdb.btrace/x86-tailcall.c: Renamed into ...
8837         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
8838         separate statements.  Update test.
8839         * gdb.btrace/delta.exp: Use record_goto.c as test file.
8840         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8841         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8842         * gdb.btrace/tailcall.exp: Choose test file based on target.
8843         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8844
8845 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
8846
8847         * gdb.btrace/exception.exp: Increase BTS buffer size.
8848
8849 2015-03-24  Pedro Alves  <palves@redhat.com>
8850
8851         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8852
8853 2015-03-24  Pedro Alves  <palves@redhat.com>
8854
8855         * gdb.threads/schedlock.exp (test_step): No longer expect that
8856         "set scheduler-locking step" with "next" over a function call runs
8857         threads unlocked.
8858
8859 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8860
8861         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8862
8863 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8864
8865         PR breakpoints/16466
8866         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8867         * gdb.mi/mi-pending.c (thread_func): New function.
8868         (int main): Add threading support required.
8869         * gdb.mi/mi-pending.exp: Add tests for this issue.
8870         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8871         (pendfunc2): Remove stdio dependency.
8872         * gdb.mi/mi-pendshr2.c: New file.
8873
8874 2015-03-23  Keith Seitz  <keiths@redhat.com>
8875
8876         * gdb.linespec/keywords.c: New file.
8877         * gdb.linespec/keywords.exp: New file.
8878
8879 2015-03-23  Keith Seitz  <keiths@redhat.com>
8880
8881         PR gdb/18021
8882         * gdb.dwarf2/staticvirtual.exp: New test.
8883
8884 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8885
8886         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8887         * README: Remove HP-UX and gdb.hp.
8888         (configuration):
8889         * configure: Regenerate.
8890         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8891         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8892         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8893         gdb.hp/gdb.defects/Makefile.
8894         * gdb.hp/Makefile.in: File deleted.
8895         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8896         * gdb.hp/gdb.aCC/optimize.c: File deleted.
8897         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8898         * gdb.hp/gdb.aCC/run.c: File deleted.
8899         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8900         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8901         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8902         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8903         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8904         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8905         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8906         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8907         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8908         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8909         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8910         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8911         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8912         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8913         * gdb.hp/gdb.base-hp/reg.s: File deleted.
8914         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8915         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8916         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8917         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8918         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8919         * gdb.hp/gdb.compat/Makefile.in: File deleted.
8920         * gdb.hp/gdb.compat/average.c: File deleted.
8921         * gdb.hp/gdb.compat/sum.c: File deleted.
8922         * gdb.hp/gdb.compat/xdb.c: File deleted.
8923         * gdb.hp/gdb.compat/xdb0.c: File deleted.
8924         * gdb.hp/gdb.compat/xdb0.h: File deleted.
8925         * gdb.hp/gdb.compat/xdb1.c: File deleted.
8926         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8927         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8928         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8929         * gdb.hp/gdb.defects/Makefile.in: File deleted.
8930         * gdb.hp/gdb.defects/bs14602.c: File deleted.
8931         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8932         * gdb.hp/gdb.defects/solib-d.c: File deleted.
8933         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8934         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8935         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8936         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8937         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8938         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8939         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8940         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8941         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8942         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8943         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8944         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8945         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8946         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8947         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8948         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8949         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8950         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8951         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8952         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8953         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8954         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8955         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8956         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8957         * gdb.hp/tools/odump: File deleted.
8958
8959 2015-03-19  Pedro Alves  <palves@redhat.com>
8960
8961         * gdb.threads/continue-pending-status.exp (saw_thread_2)
8962         (saw_thread_3): New globals.
8963         (top level): Increment them when an event for the corresponding
8964         thread is seen.
8965         (no thread starvation): New test.
8966
8967 2015-03-19  Pedro Alves  <palves@redhat.com>
8968
8969         * gdb.threads/continue-pending-status.c: New file.
8970         * gdb.threads/continue-pending-status.exp: New file.
8971
8972 2015-03-18  Pedro Alves  <palves@redhat.com>
8973
8974         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8975         Use gdb_is_target_remote instead of is_remote.  Use
8976         gdb_test_multiple instead of gdb_expect.  Exit early if
8977         gdb_test_multiple hits its internal matches.  Tighten stepi tests
8978         expected output.  Fail on exit with any signal, instead of just
8979         SIGILL.
8980
8981 2015-03-18  Yao Qi  <yao.qi@linaro.org>
8982
8983         PR tdep/18107
8984         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
8985         variable.
8986         * gdb.base/catch-syscall.exp: Don't skip it on
8987         aarch64*-*-linux* target.  Remove elements in all_syscalls.
8988         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
8989         target.
8990         (setup_all_syscalls): New proc.
8991
8992 2015-03-16  Yao Qi  <yao.qi@linaro.org>
8993
8994         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8995         (top level): Skip tests if valid_addr_p returns false for
8996         $cmd1 or $cmd2.
8997
8998 2015-03-11  Andy Wingo  <wingo@igalia.com>
8999
9000         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9001
9002 2015-03-11  Yao Qi  <yao.qi@linaro.org>
9003
9004         * gdb.base/catch-syscall.exp: Fix typo in comments.
9005
9006 2015-03-11  Yao Qi  <yao.qi@linaro.org>
9007
9008         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9009
9010 2015-03-09  Pedro Alves  <palves@redhat.com>
9011
9012         * dg-extract-results.py: Delete.
9013
9014 2015-03-09  Pedro Alves  <palves@redhat.com>
9015
9016         Merge dg-extract-results.sh from GCC upstream (r218843).
9017
9018         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
9019                 * dg-extract-results.sh: Use --text with grep to avoid issues with
9020                 binary files.  Fall back to cat -v, if that doesn't work.
9021
9022 2015-03-05  Pedro Alves  <palves@redhat.com>
9023
9024         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9025
9026 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
9027
9028         * lib/mi-support.exp (mi_expect_interrupt): Accept
9029         alternative event for when in all-stop mode.
9030
9031 2015-03-04  Pedro Alves  <palves@redhat.com>
9032
9033         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9034
9035 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
9036
9037         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9038
9039 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9040
9041         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9042         regexps for GDB's current line display, accept a hex address
9043         preceding the line number.
9044
9045 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9046
9047         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9048         the 'arch1' variable for "s390*-linux*" targets.
9049
9050 2015-03-04  Pedro Alves  <palves@redhat.com>
9051
9052         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9053         (main): Pass missing retval argument to pthread_join call.
9054
9055 2015-03-02  Pedro Alves  <palves@redhat.com>
9056
9057         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9058         (top level): Call do_test with non-stop as well.
9059
9060 2015-03-02  Pedro Alves  <palves@redhat.com>
9061
9062         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9063         -1.
9064
9065 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9066
9067         * gdb.arch/s390-vregs.exp: New test.
9068         * gdb.arch/s390-vregs.S: New file.
9069
9070 2015-02-27  Pedro Alves  <palves@redhat.com>
9071
9072         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9073         call to catch_command_errors.
9074         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9075         catch_command_errors.
9076
9077 2015-02-27  Pedro Alves  <palves@redhat.com>
9078
9079         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9080         "true" for boolean result.
9081         * gdb.gdb/selftest.exp (test_with_self): Also accept full
9082         prototype of main.
9083
9084 2015-02-27  Pedro Alves  <palves@redhat.com>
9085
9086         * lib/unbuffer_output.c: New file.
9087         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9088         (main): Call gdb_unbuffer_output.
9089
9090 2015-02-27  Yao Qi  <yao.qi@linaro.org>
9091
9092         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9093         target.
9094
9095 2015-02-26  Doug Evans  <dje@google.com>
9096
9097         * gdb.cp/class2.cc (Dbase, D): New classes.
9098         (main): New local delta.
9099         * gdb.cp/class2.exp: Test printing delta.
9100         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9101         (dynbar): New global.
9102         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9103
9104 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9105
9106         * gdb.compile/compile-ifunc.c: New file.
9107         * gdb.compile/compile-ifunc.exp: New file.
9108
9109 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9110
9111         * gdb.base/structs.exp: Check for correct struct on finish.
9112
9113 2015-02-26  Yao Qi  <yao.qi@linaro.org>
9114
9115         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9116         is zero.
9117
9118 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9119
9120         * gdb.arch/cordic.ko.bz2: New file.
9121         * gdb.arch/cordic.ko.debug.bz2: New file.
9122         * gdb.arch/ppc64-symtab-cordic.exp: New file.
9123
9124 2015-02-25  Yao Qi  <yao.qi@linaro.org>
9125
9126         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9127         aarch64*-*-* target.
9128
9129 2015-02-23  Pedro Alves  <palves@redhat.com>
9130
9131         * lib/gdb.exp (delete_breakpoints): Rewrite using
9132         gdb_test_multiple.
9133
9134 2015-02-23  Pedro Alves  <palves@redhat.com>
9135
9136         * gdb.base/info-os.c: Include stdlib.h.
9137
9138 2015-02-22  Doug Evans  <xdje42@gmail.com>
9139
9140         PR symtab/17855
9141         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9142         is read after symbols have been re-read.
9143         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9144         * gdb.ada/exec_changed/second.adb (Second): Ditto.
9145
9146 2015-02-21  Doug Evans  <dje@google.com>
9147
9148         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9149
9150 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
9151
9152         PR corefiles/17808
9153         * gdb.arch/i386-biarch-core.core.bz2: New file.
9154         * gdb.arch/i386-biarch-core.exp: New file.
9155
9156 2015-02-21  Pedro Alves  <palves@redhat.com>
9157
9158         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9159         runto_main fails.
9160
9161 2015-02-20  Pedro Alves  <palves@redhat.com>
9162
9163         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9164         info probes.
9165
9166 2015-02-20  Pedro Alves  <palves@redhat.com>
9167
9168         * gdb.threads/multi-create-ns-info-thr.exp: New file.
9169
9170 2015-02-20  Pedro Alves  <palves@redhat.com>
9171
9172         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
9173         clean_restart before gdb_target_supports_trace.
9174
9175 2015-02-20  Pedro Alves  <palves@redhat.com>
9176
9177         PR threads/18006
9178         * gdb.threads/clone-thread_db.c: New file.
9179         * gdb.threads/clone-thread_db.exp: New file.
9180
9181 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9182
9183         PR breakpoints/16812
9184         * gdb.base/catch-gdb-caused-signals.c: New file.
9185         * gdb.base/catch-gdb-caused-signals.exp: New file.
9186
9187 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
9188
9189         * configure: Regenerated.
9190         * configure.ac: Use GDB_AC_TRANSFORM.
9191         * aclocal.m4: sinclude ../transform.m4.
9192
9193 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9194
9195         * lib/dtrace.exp: New file.
9196         * gdb.base/dtrace-probe.exp: Likewise.
9197         * gdb.base/dtrace-probe.d: Likewise.
9198         * gdb.base/dtrace-probe.c: Likewise.
9199         * lib/pdtrace.in: Likewise.
9200         * configure.ac: Output variables with the transformed names of
9201         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
9202         * configure: Regenerated.
9203
9204 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9205
9206         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9207         expected message when trying to access $_probe_* convenience
9208         variables while not on a probe.
9209
9210 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9211
9212         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9213
9214 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
9215
9216         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9217         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9218
9219 2015-02-10  Doug Evans  <xdje42@gmail.com>
9220
9221         * lib/gdb.exp (gdb_load): Always return a result.
9222
9223 2015-02-10  Pedro Alves  <palves@redhat.com>
9224
9225         * gdb.threads/signal-sigtrap.c: New file.
9226         * gdb.threads/signal-sigtrap.exp: New file.
9227
9228 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
9229
9230         * gdb.trace/no-attach-trace.c: New file.
9231         * gdb.trace/no-attach-trace.exp: New file.
9232
9233 2015-02-09  Mark Wielaard  <mjw@redhat.com>
9234
9235         * gdb.dwarf2/atomic.c: New file.
9236         * gdb.dwarf2/atomic-type.exp: Likewise.
9237
9238 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
9239
9240         * gdb.btrace/buffer-size.exp: Update "info record" output.
9241         * gdb.btrace/delta.exp: Update "info record" output.
9242         * gdb.btrace/enable.exp: Update "info record" output.
9243         * gdb.btrace/finish.exp: Update "info record" output.
9244         * gdb.btrace/instruction_history.exp: Update "info record" output.
9245         * gdb.btrace/next.exp: Update "info record" output.
9246         * gdb.btrace/nexti.exp: Update "info record" output.
9247         * gdb.btrace/step.exp: Update "info record" output.
9248         * gdb.btrace/stepi.exp: Update "info record" output.
9249         * gdb.btrace/nohist.exp: Update "info record" output.
9250
9251 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
9252
9253         * gdb.btrace/buffer-size: New.
9254
9255 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
9256
9257         * gdb.btrace/delta.exp: Update "info record" output.
9258         * gdb.btrace/enable.exp: Update "info record" output.
9259         * gdb.btrace/finish.exp: Update "info record" output.
9260         * gdb.btrace/instruction_history.exp: Update "info record" output.
9261         * gdb.btrace/next.exp: Update "info record" output.
9262         * gdb.btrace/nexti.exp: Update "info record" output.
9263         * gdb.btrace/step.exp: Update "info record" output.
9264         * gdb.btrace/stepi.exp: Update "info record" output.
9265         * gdb.btrace/nohist.exp: Update "info record" output.
9266
9267 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
9268
9269         PR gdb/15678
9270         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9271
9272 2015-02-06  Pedro Alves  <palves@redhat.com>
9273
9274         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9275         macro.
9276         (seconds_left, again): New globals.
9277         (main): Wait seconds_left in a 1-second sleep loop instead of
9278         sleeping 180 seconds.  If 'again' is set, reset the seconds
9279         counter.
9280         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9281         'again' in the inferior before detaching.  Print the seconds left.
9282         (options): New global.
9283         (top level): Build program with -DTIMEOUT=$timeout.
9284
9285 2015-02-06  Pedro Alves  <palves@redhat.com>
9286
9287         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9288         determine how many seconds to pass to 'alarm'.
9289         * gdb.base/gdb-sigterm.exp (top level): Build program with
9290         -DTIMEOUT=$timeout.
9291         (do_test): Return success/failure indication.  Add more verbose
9292         logging.  Don't fail if 200 single steps are seen.  Instead, fail
9293         when the test times out.
9294         (passes): New global.
9295         (top level): Break the testing loop if testing fails on any
9296         iteration.  Use gdb_assert.
9297
9298 2015-02-04  Don Breazeal  <donb@codesourcery.com>
9299
9300         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9301         and initialize them.
9302         (ipc_cleanup): New function.
9303         (main): Don't declare shmid, semid, and msqid.  Add a call to
9304         atexit so that we call ipc_cleanup on exit.
9305
9306 2015-02-04  Pedro Alves  <palves@redhat.com>
9307
9308         * boards/native-extended-gdbserver.exp: Remove any target variant
9309         specifications from the board name before clearing the isremote
9310         flag from board_info.
9311
9312 2015-01-31  Doug Evans  <xdje42@gmail.com>
9313
9314         * gdb.base/maint.exp <maint print type argc>: Update expected output.
9315
9316 2015-01-31  Gary Benson <gbenson@redhat.com>
9317
9318         * gdb.base/completion.exp: Disable completion limiting for
9319         existing tests.  Add new tests to check completion limiting.
9320         * gdb.linespec/ls-errs.exp: Disable completion limiting.
9321
9322 2015-01-31  Doug Evans  <xdje42@gmail.com>
9323
9324         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9325
9326 2015-01-31  Doug Evans  <xdje42@gmail.com>
9327
9328         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9329         entries.  Duplicate file section script entries.
9330         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9331         inlined entries.  Add test for safe-path rejection.
9332         * gdb.python/py-section-script.c: Add duplicate inlined section script
9333         entries.  Duplicate file section script entries.
9334         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9335         inlined entries.  Add test for safe-path rejection.
9336
9337 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
9338
9339         * gdb.ada/disc_arr_bound: New testcase.
9340
9341 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
9342
9343         * gdb.ada/mi_var_array: New testcase.
9344
9345 2015-01-27  Doug Evans  <dje@google.com>
9346
9347         * gdb.python/py-objfile.exp: Add tests for objfile.username.
9348         Add test for objfile.filename, objfile.username after objfile
9349         has been unloaded.
9350
9351 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
9352
9353         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9354         the second test to print the name attribute of value
9355         returned by the call to gdb.lookup_type, and adjust
9356         the expected output accordingly.
9357
9358 2015-01-25  Mark Wielaard  <mjw@redhat.com>
9359
9360         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9361         * gdb.base/disp-step-fork.c: Include unistd.h.
9362         * gdb.base/siginfo-obj.c: Include stdio.h.
9363         * gdb.base/siginfo-thread.c: Likewise.
9364         * gdb.mi/non-stop.c: Include unistd.h.
9365         * gdb.mi/nsthrexec.c: Include stdio.h.
9366         * gdb.mi/pthreads.c: Include unistd.h.
9367         * gdb.modula2/unbounded1.c (main): Declare returns int.
9368         * gdb.reverse/consecutive-reverse.c: Likewise.
9369         * gdb.threads/create-fail.c: Include unistd.h.
9370         * gdb.threads/killed.c: Likewise.
9371         * gdb.threads/linux-dp.c: Likewise.
9372         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9373         * gdb.threads/non-ldr-exc-2.c: Likewise.
9374         * gdb.threads/non-ldr-exc-3.c: Likewise.
9375         * gdb.threads/non-ldr-exc-4.c: Likewise.
9376         * gdb.threads/pthreads.c: Include unistd.h.
9377         (main): Declare returns int.
9378         * gdb.threads/tls-main.c (foo): New declaration.
9379         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9380
9381 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
9382
9383         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9384         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9385
9386 2015-01-15  Mark Wielaard  <mjw@redhat.com>
9387
9388         * gdb.base/noreturn-return.c: New file.
9389         * gdb.base/noreturn-return.exp: New file.
9390         * gdb.base/noreturn-finish.c: New file.
9391         * gdb.base/noreturn-finish.exp: New file.
9392
9393 2015-01-23  Pedro Alves  <palves@redhat.com>
9394
9395         * gdb.threads/continue-pending-after-query.c: New file.
9396         * gdb.threads/continue-pending-after-query.exp: New file.
9397
9398 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
9399             Simon Marchi  <simon.marchi@ericsson.com>
9400
9401         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9402         * gdb.base/valgrind-db-attach.exp: Same.
9403         * gdb.base/valgrind-infcall.exp: Same.
9404         * lib/mi-support.exp (default_mi_gdb_start): Same.
9405         * lib/prompt.exp (default_prompt_gdb_start): Same.
9406         * lib/gdb.exp (default_gdb_spawn): Same.
9407         (gdb_interact): New.
9408
9409
9410 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9411
9412         * gdb.compile/compile.exp (pointer to jit function): New test.
9413
9414 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
9415
9416         * lib/gdb.exp (supports_process_record): Return true for
9417         powerpc*-*-linux*.
9418         (supports_reverse): Likewise.
9419
9420 2015-01-15  Don Breazeal  <donb@codesourcery.com>
9421
9422         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9423         instead of checking whether the target board is remote and
9424         use spawn_wait_for_attach instead of exec/sleep.
9425         * gdb.base/attach-twice.exp: Likewise.
9426
9427 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
9428
9429         * gdb.ada/var_arr_attrs: New testcase.
9430
9431 2015-01-14  Pedro Alves  <palves@redhat.com>
9432             Joel Brobecker  <brobecker@adacore.com>
9433
9434         PR gdb/17525
9435         * gdb.base/bp-cmds-execution-x-script.c: New file.
9436         * gdb.base/bp-cmds-execution-x-script.exp: New file.
9437         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9438
9439 2015-01-14  Pedro Alves  <palves@redhat.com>
9440
9441         PR cli/17828
9442         * gdb.base/batch-preserve-term-settings.c: New file.
9443         * gdb.base/batch-preserve-term-settings.exp: New file.
9444
9445 2015-01-13  Doug Evans  <dje@google.com>
9446
9447         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9448         binary.
9449
9450 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
9451
9452         * Makefile.in (clean mostlyclean): Do not delete *.py.
9453
9454 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
9455
9456         * gdb.python/py-lookup-type.exp: New file.
9457
9458 2015-01-12  Pedro Alves  <palves@redhat.com>
9459
9460         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9461         restore GDBFLAGS before returning.
9462
9463 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9464
9465         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9466         is_amd64_regs_target and is_x86_like_target.
9467
9468 2015-01-11  Doug Evans  <xdje42@gmail.com>
9469
9470         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9471         is given without an explicit form.
9472         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9473         attributes.
9474         * gdb.dwarf/corrupt.exp: Ditto.
9475         * gdb.dwarf2/enum-type.exp: Ditto.
9476         * gdb.trace/entry-values.exp: Ditto.
9477         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9478
9479 2015-01-11  Doug Evans  <xdje42@gmail.com>
9480
9481         PR gdb/15830
9482         * gdb.base/maint.exp: Remove references to "maint demangle".
9483         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
9484         Add tests for explicitly specifying language to demangle.
9485         * gdb.dlang/demangle.exp: Ditto.
9486
9487 2015-01-09  Pedro Alves  <palves@redhat.com>
9488
9489         * gdb.threads/non-stop-fair-events.c: New file.
9490         * gdb.threads/non-stop-fair-events.exp: New file.
9491
9492 2015-01-09  Pedro Alves  <palves@redhat.com>
9493
9494         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9495         the global scope.  Set a breakpoint after all threads are started
9496         rather than stepping over two source lines.  Expect the prompt.
9497         * gdb.base/watch_thread_num.c (threads_started_barrier): New
9498         global.
9499         (NUM): Now 15.
9500         (main): Use threads_started_barrier to wait for all threads to
9501         start.  Main thread no longer calls thread_function.  Exit after
9502         180 seconds.
9503         (loop): New function.
9504         (thread_function): Wait on threads_started_barrier barrier.  Call
9505         'loop' at each iteration.
9506         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9507         threads have started, instead of hardcoding number of "next"
9508         steps.  Use an access watchpoint instead of a write watchpoint.
9509
9510 2015-01-09  Pedro Alves  <palves@redhat.com>
9511
9512         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9513         (thread_func): Wait on barrier.
9514         (main): Wait for all threads to start before stopping GDB.
9515         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9516         global.
9517         (thread1_func, thread2_func): Wait on barrier.
9518         (main): Wait for all threads to start before stopping GDB.
9519         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9520         New global.
9521         (thread1_func, thread2_func): Wait on barrier.
9522         (main): Wait for all threads to start before stopping GDB.
9523
9524 2015-01-09  Pedro Alves  <palves@redhat.com>
9525
9526         * gdb.threads/attach-many-short-lived-threads.c: New file.
9527         * gdb.threads/attach-many-short-lived-threads.exp: New file.
9528
9529 2014-01-09  Pedro Alves  <palves@redhat.com>
9530
9531         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9532         instead of to thread 2.
9533         * gdb.threads/signal-command-multiple-signals-pending.c (main):
9534         Add barrier around each pthread_create call instead of around all
9535         calls.
9536         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9537         Set a break on thread_function and have the child threads hit it
9538         one at at a time.
9539
9540 2015-01-09  Pedro Alves  <palves@redhat.com>
9541
9542         * lib/gdb.exp (can_spawn_for_attach): New procedure.
9543         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9544         false.
9545         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9546         checking whether the target board is remote.
9547         * gdb.multi/multi-attach.exp: Likewise.
9548         * gdb.python/py-sync-interp.exp: Likewise.
9549         * gdb.server/ext-attach.exp: Likewise.
9550         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9551         tests that need to attach, instead of checking whether the target
9552         board is remote at the top of the file.
9553
9554 2015-01-08  Yao Qi  <yao@codesourcery.com>
9555
9556         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9557
9558 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9559
9560         Fix testcase compilation.
9561         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9562
9563 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
9564
9565         * gdb.python/py-type.exp: Add a couple test about empty
9566         array creation, and negative-length array creation.
9567
9568 2015-01-02  Doug Evans  <xdje42@gmail.com>
9569
9570         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9571
9572 2015-01-02  Doug Evans  <dje@google.com>
9573
9574         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9575
9576 2014-12-29  Yao Qi  <yao@codesourcery.com>
9577
9578         * gdb.trace/entry-values.exp: Update comments.  Rename variable
9579         bar_call_foo to returned_from_foo.
9580
9581 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
9582
9583         PR gdb/17394
9584         * gdb.linespec/break-asm-file.c: New file.
9585         * gdb.linespec/break-asm-file.exp: New file.
9586         * gdb.linespec/break-asm-file0.s: New file.
9587         * gdb.linespec/break-asm-file1.s: New file.
9588
9589 2014-12-18  Nigel Stephens  <nigel@mips.com>
9590             Maciej W. Rozycki  <macro@codesourcery.com>
9591
9592         * gdb.base/float.exp: Handle the new output from "info float" on
9593         MIPS targets.
9594
9595 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9596
9597         Fix MinGW compilation.
9598         * gdb.compile/compile-ops.exp: Update untested message if
9599         !skip_compile_feature_tests.
9600         * gdb.compile/compile-setjmp.exp: Likewise.
9601         * gdb.compile/compile-tls.exp: Likewise.
9602         * gdb.compile/compile.exp: Likewise.
9603         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9604         supported on this host".
9605
9606 2014-12-16  Doug Evans  <xdje42@gmail.com>
9607
9608         * boards/stabs.exp: New file.
9609
9610 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
9611
9612         * gdb.base/completion.exp: Adjust to format changes of "maint
9613         print user-registers".
9614
9615 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
9616
9617         PR server/17457
9618         * gdb.arch/aarch64-fp.c: New file.
9619         * gdb.arch/aarch64-fp.exp: New file.
9620
9621 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
9622
9623         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9624         r210637, r210913, r211666, r215400, r215817).
9625
9626         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
9627                 * dg-extract-results.py: New file.
9628                 * dg-extract-results.sh: Use it if the environment seems
9629                 suitable.
9630
9631         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
9632
9633                 * dg-extract-results.py (parse_run): Handle warnings that
9634                 are printed before a test harness is run.
9635
9636         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
9637
9638                 * dg-extract-results.py (Named): Remove __cmp__ method.
9639                 (output_variation): Use a key to sort variation.harnesses.
9640
9641         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
9642
9643                 * dg-extract-results.py: For Python 3, force sys.stdout to
9644                 handle surrogate escape sequences.
9645                 (safe_open): New function.
9646                 (output_segment, main): Use it.
9647
9648         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
9649
9650                 * dg-extract-results.py (Prog.result_re): Include options
9651                 in test name.
9652
9653         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
9654
9655                 * dg-extract-results.py (output_variation): Always sort if
9656                 do_sum.
9657
9658 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
9659
9660         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9661         as long as we get pagination notifications.
9662
9663 2014-12-15  Jason Merrill  <jason@redhat.com>
9664
9665         * Makefile.in (check-gdb.%): Restore.
9666         * README: Mention it.
9667
9668 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
9669
9670         * gdb.ada/str_uninit: New testcase.
9671
9672 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9673
9674         PR symtab/17642
9675         * gdb.base/vla-stub-define.c: New file.
9676         * gdb.base/vla-stub.c: New file.
9677         * gdb.base/vla-stub.exp: New file.
9678
9679 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
9680             Jan Kratochvil  <jan.kratochvil@redhat.com>
9681             Tom Tromey  <tromey@redhat.com>
9682
9683         * configure.ac: Add gdb.compile/.
9684         * configure: Regenerate.
9685         * gdb.compile/Makefile.in: New file.
9686         * gdb.compile/compile-ops.exp: New file.
9687         * gdb.compile/compile-ops.c: New file.
9688         * gdb.compile/compile-tls.c: New file.
9689         * gdb.compile/compile-tls.exp: New file.
9690         * gdb.compile/compile-constvar.S: New file.
9691         * gdb.compile/compile-constvar.c: New file.
9692         * gdb.compile/compile-mod.c: New file.
9693         * gdb.compile/compile-nodebug.c: New file.
9694         * gdb.compile/compile-setjmp-mod.c: New file.
9695         * gdb.compile/compile-setjmp.c: New file.
9696         * gdb.compile/compile-setjmp.exp: New file.
9697         * gdb.compile/compile-shlib.c: New file.
9698         * gdb.compile/compile.c: New file.
9699         * gdb.compile/compile.exp: New file.
9700         * lib/gdb.exp (skip_compile_feature_tests): New proc.
9701
9702 2014-12-12  Tom Tromey  <tromey@redhat.com>
9703
9704         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
9705         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9706
9707 2014-12-12  Doug Evans  <dje@google.com>
9708
9709         * lib/gdb-python.exp (get_python_valueof): New function.
9710         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9711
9712 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9713
9714         * gdb.base/completion.exp: Add test for completion of "info
9715         registers ".
9716
9717 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
9718
9719         * gdb.base/func-ptrs.c: New file.
9720         * gdb.base/func-ptrs.exp: New file.
9721
9722 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
9723
9724         PR breakpoints/17012
9725         * gdb.base/dprintf-detach.c: New file.
9726         * gdb.base/dprintf-detach.exp: New file.
9727
9728 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
9729
9730         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9731         * lib/gdb.exp (target_is_gdbserver): New procedure.
9732
9733 2014-12-08  Doug Evans  <dje@google.com>
9734
9735         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9736
9737 2014-12-05  Yao Qi  <yao@codesourcery.com>
9738
9739         * gdb.guile/scm-error.exp: Remove the third argument to
9740         gdb_remote_download.
9741         * gdb.guile/scm-frame-args.exp: Likewise.
9742         * gdb.guile/scm-section-script.exp: Likewise.
9743
9744 2014-12-05  Yao Qi  <yao@codesourcery.com>
9745
9746         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9747
9748 2014-12-04  Doug Evans  <dje@google.com>
9749
9750         * gdb.python/py-objfile.exp: Add tests for
9751         objfile.add_separate_debug_file.
9752
9753 2014-12-04  Doug Evans  <dje@google.com>
9754
9755         * lib/gdb.exp (get_build_id): New function.
9756         (build_id_debug_filename_get): Rewrite to use it.
9757         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9758
9759 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
9760
9761         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9762         `method(long)', not just 0x0.
9763         * gdb.cp/nsalias.exp: Align code labels to 4.
9764         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9765         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9766         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9767         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9768         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9769         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9770
9771 2014-12-02  Doug Evans  <dje@google.com>
9772
9773         PR symtab/17602
9774         * gdb.cp/anon-ns.cc: Move guts of this file to ...
9775         * gdb.cp/anon-ns2.cc: ... here.  New file.
9776         * gdb.cp/anon-ns.exp: Update.
9777
9778 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
9779
9780         * gdb.python/py-events.py (inferior_call_handler): New.
9781         (register_changed_handler, memory_changed_handler): New.
9782         (test_events.invoke): Register new handlers.
9783         * gdb.python/py-events.exp: Add tests for inferior call,
9784         memory_changed and register_changed events.
9785
9786 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9787
9788         * gdb.base/execl-update-breakpoints.exp: Specify the link address
9789         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
9790         if the linker doesn't understand this.
9791
9792 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
9793
9794         * gdb.python/python.exp: Change expected reply to help().
9795
9796 2014-12-01  Yao Qi  <yao@codesourcery.com>
9797
9798         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
9799         AC_CONFIG_SUBDIRS(gdb.gdbtk).
9800         * configure: Re-generated.
9801
9802 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
9803
9804         * gdb.cp/chained-calls.cc: New file.
9805         * gdb.cp/chained-calls.exp: New file.
9806         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9807
9808 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
9809
9810         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9811         * gdb.dwarf2/symtab-producer.exp: Same.
9812         * gdb.gdb/python-interrupts.exp: Same.
9813         * gdb.gdb/python-selftest.exp: Same.
9814         * gdb.python/py-linetable.exp: Same.
9815         * gdb.python/py-type.exp: Same.
9816         * gdb.python/py-value-cc.exp: Same.
9817         * gdb.python/py-value.exp: Same.
9818
9819 2014-11-28  Yao Qi  <yao@codesourcery.com>
9820
9821         * gdb.base/break-probes.exp: Match library name prefixed with
9822         sysroot.
9823
9824 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
9825
9826         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9827         test expected output.  Add parentheses for the call to print.
9828         Remove L suffix from integers.
9829
9830 2014-11-26  Doug Evans  <dje@google.com>
9831
9832         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9833
9834 2014-11-22  Yao Qi  <yao@codesourcery.com>
9835
9836         * gdb.trace/entry-values.c: Remove asms.
9837         (foo): Add foo_label.
9838         (bar): Add bar_label.
9839         * gdb.trace/entry-values.exp: Remove code computing  foo's
9840         length and bar's length.
9841         (Dwarf::assemble): Invoke function_range for bar and use
9842         MACRO_AT_func for foo.
9843
9844 2014-11-22  Yao Qi  <yao@codesourcery.com>
9845
9846         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9847         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
9848         Use .Lgcc43_procstart instead of gcc43.
9849
9850 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
9851
9852         * gdb.ada/n_arr_bound: New testcase.
9853
9854 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9855
9856         PR breakpoints/10737
9857         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9858         test_catch_syscall_multi_arch.
9859         (test_catch_syscall_multi_arch): New function.
9860
9861 2014-11-20  Doug Evans  <xdje42@gmail.com>
9862
9863         * gdb.base/maint.exp: Update expected output.
9864
9865 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9866
9867         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9868         4-byte instruction on S390.
9869
9870 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
9871
9872         * gdb.ada/arr_arr: New testcase.
9873
9874 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
9875
9876         * gdb.ada/pkd_arr_elem: New Testcase.
9877
9878 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
9879
9880         * gdb.reverse/break-precsave: Expect completion message for
9881         core file reads.
9882         * gdb.reverse/consecutive-precsave.exp: Likewise.
9883         * gdb.reverse/finish-precsave.exp: Likewise.
9884         * gdb.reverse/i386-precsave.exp: Likewise.
9885         * gdb.reverse/machinestate-precsave.exp: Likewise.
9886         * gdb.reverse/sigall-precsave.exp: Likewise.
9887         * gdb.reverse/solib-precsave.exp: Likewise.
9888         * gdb.reverse/step-precsave.exp: Likewise.
9889         * gdb.reverse/until-precsave.exp: Likewise.
9890         * gdb.reverse/watch-precsave.exp: Likewise.
9891
9892 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9893
9894         * gdb.base/bp-permanent.c: Include unistd.h.
9895         * gdb.python/py-framefilter-mi.c (main): Add return type.
9896         * gdb.python/py-framefilter.c (main): Likewise.
9897         * gdb.trace/actions-changed.c (main): Likewise.
9898
9899 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9900
9901         * gdb.mi/until.c: Add eye-catchers.
9902         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9903         line numbers.
9904
9905 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9906
9907         * gdb.base/condbreak.exp: Drop references to removed non-prototype
9908         function header variants in break1.c.
9909         * gdb.base/ena-dis-br.exp: Likewise.
9910         * gdb.base/hbreak2.exp: Likewise.
9911         * gdb.reverse/until-precsave.exp: Drop references to removed
9912         non-prototype function header variants in ur1.c.
9913         * gdb.reverse/until-reverse.exp: Likewise.
9914
9915 2014-11-17  Petr Machata  <pmachata@redhat.com>
9916
9917         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
9918         ${_cu_offset_size} bytes abbrev offset.
9919
9920 2014-11-15  Doug Evans  <xdje42@gmail.com>
9921
9922         PR symtab/17559
9923         * gdb.base/line-symtabs.exp: New file.
9924         * gdb.base/line-symtabs.c: New file.
9925         * gdb.base/line-symtabs.h: New file.
9926
9927 2014-11-14  Yao Qi  <yao@codesourcery.com>
9928
9929         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9930         (func): Add label func_label.
9931         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9932         Replace low_pc and high_pc with MACRO_AT_range.
9933         Replace name, low_pc and high_pc with MACRO_AT_func.
9934
9935 2014-11-14  Yao Qi  <yao@codesourcery.com>
9936
9937         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9938         Replace name, low_pc and high_pc with MACRO_AT_func.
9939
9940 2014-11-14  Yao Qi  <yao@codesourcery.com>
9941
9942         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9943         produce debug information.
9944         * gdb.dwarf2/implptr-optimized-out.S: Removed.
9945
9946 2014-11-14  Yao Qi  <yao@codesourcery.com>
9947
9948         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9949         object and get function length.
9950         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9951         with MACRO_AT_func.
9952         (top-level): Replace gdb_compile and clean_restart with
9953         prepare_for_testing.
9954         * gdb.dwarf2/main.c (main): Add label main_label.
9955
9956 2014-11-14  Yao Qi  <yao@codesourcery.com>
9957
9958         * lib/dwarf.exp (function_range): New procedure.
9959         (Dwarf::_handle_macro_at_func): New procedure.
9960         (Dwarf::_handle_macro_at_range): New procedure.
9961         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9962
9963 2014-11-14  Yao Qi  <yao@codesourcery.com>
9964
9965         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9966         (_handle_attribute): New procedure.
9967
9968 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9969
9970         * gdb.ada/cond_lang/foo.c (callme): Add return type.
9971         * gdb.base/call-sc.c (zed): Likewise.
9972         * gdb.base/checkpoint.c (main): Likewise.
9973         * gdb.base/dump.c (main): Likewise.
9974         * gdb.base/gcore.c (main): Likewise.
9975         * gdb.base/huge.c (main): Likewise.
9976         * gdb.base/multi-forks.c (main): Likewise.
9977         * gdb.base/pr10179-a.c (main): Likewise.
9978         * gdb.base/savedregs.c (main): Likewise.
9979         * gdb.base/sigaltstack.c (main): Likewise.
9980         * gdb.base/siginfo.c (main): Likewise.
9981         * gdb.base/structs.c (zed): Likewise.
9982         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
9983         * gdb.mi/mi-syn-frame.c (main): Likewise.
9984         * gdb.mi/until.c (foo, main): Likewise.
9985         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
9986         * gdb.base/solib-weak.c (foo): Declare.
9987         * gdb.base/attach-twice.c: Include stdio.h.
9988         * gdb.base/weaklib1.c: Likewise.
9989         * gdb.base/weaklib2.c: Likewise.
9990         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
9991         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9992         unistd.h.
9993         * gdb.base/attach-pie-misread.c: Include stdlib.h.
9994         * gdb.mi/mi-exit-code.c: Likewise.
9995         * gdb.base/break-interp-lib.c: Include string.h.
9996         * gdb.base/coremaker.c: Likewise.
9997         * gdb.base/testenv.c: Likewise.
9998         * gdb.python/py-finish-breakpoint.c: Likewise.
9999         * gdb.base/inferior-died.c: Include sys/wait.h.
10000         * gdb.base/fileio.c: Include time.h.
10001         * gdb.base/async-shell.c: Include unistd.h.
10002         * gdb.base/dprintf-non-stop.c: Likewise.
10003         * gdb.base/info-os.c: Likewise.
10004         * gdb.mi/mi-console.c: Likewise.
10005         * gdb.mi/watch-nonstop.c: Likewise.
10006         * gdb.python/py-events.c: Likewise.
10007         * gdb.base/async.c (baz): Move up before its invocation.
10008         * gdb.base/code_elim2.c (my_global_func): Likewise.
10009         * gdb.base/skip-solib-lib.c (multiply): Likewise.
10010         * gdb.base/advance.c (func2): Likewise.
10011
10012 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10013
10014         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10015         variant.
10016         * gdb.base/annota3.c: Likewise.
10017         * gdb.base/async.c: Likewise.
10018         * gdb.base/average.c: Likewise.
10019         * gdb.base/call-ar-st.c: Likewise.
10020         * gdb.base/call-rt-st.c: Likewise.
10021         * gdb.base/call-sc.c: Likewise.
10022         * gdb.base/call-strs.c: Likewise.
10023         * gdb.base/ending-run.c: Likewise.
10024         * gdb.base/execd-prog.c: Likewise.
10025         * gdb.base/exprs.c: Likewise.
10026         * gdb.base/foll-exec.c: Likewise.
10027         * gdb.base/foll-fork.c: Likewise.
10028         * gdb.base/foll-vfork.c: Likewise.
10029         * gdb.base/funcargs.c: Likewise.
10030         * gdb.base/gcore.c: Likewise.
10031         * gdb.base/jump.c: Likewise.
10032         * gdb.base/langs0.c: Likewise.
10033         * gdb.base/langs1.c: Likewise.
10034         * gdb.base/langs2.c: Likewise.
10035         * gdb.base/mips_pro.c: Likewise.
10036         * gdb.base/nodebug.c: Likewise.
10037         * gdb.base/opaque0.c: Likewise.
10038         * gdb.base/opaque1.c: Likewise.
10039         * gdb.base/recurse.c: Likewise.
10040         * gdb.base/run.c: Likewise.
10041         * gdb.base/scope0.c: Likewise.
10042         * gdb.base/scope1.c: Likewise.
10043         * gdb.base/setshow.c: Likewise.
10044         * gdb.base/setvar.c: Likewise.
10045         * gdb.base/shmain.c: Likewise.
10046         * gdb.base/shr1.c: Likewise.
10047         * gdb.base/shr2.c: Likewise.
10048         * gdb.base/sigall.c: Likewise.
10049         * gdb.base/signals.c: Likewise.
10050         * gdb.base/so-indr-cl.c: Likewise.
10051         * gdb.base/solib2.c: Likewise.
10052         * gdb.base/structs.c: Likewise.
10053         * gdb.base/sum.c: Likewise.
10054         * gdb.base/vforked-prog.c: Likewise.
10055         * gdb.base/watchpoint.c: Likewise.
10056         * gdb.reverse/shr2.c: Likewise.
10057         * gdb.reverse/until-reverse.c: Likewise.
10058         * gdb.reverse/ur1.c: Likewise.
10059         * gdb.reverse/watch-reverse.c: Likewise.
10060
10061 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10062
10063         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10064         variant.
10065         * gdb.base/sepdebug.exp: Drop references to removed code.
10066
10067 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10068
10069         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10070         variant.  Preserve original line numbering.
10071         * gdb.base/list1.c: Likewise.
10072
10073 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10074
10075         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10076         variant.
10077         * gdb.base/break1.c: Likewise.
10078         * gdb.base/break.exp: Drop references to removed code.
10079
10080 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10081
10082         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10083         variant.
10084
10085 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10086
10087         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10088
10089 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10090
10091         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
10092         logic into perform_all_tests() and invoke it with and without
10093         function header prototypes.
10094         (do_function_calls): Remove conditional XFAIL for PR 5318.
10095         (rerun_and_prepare): Remove duplicate code.
10096         (perform_all_tests): New.  Main logic moved here.
10097
10098 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10099
10100         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10101         code guarded by #ifdef NO_PROTOTYPES.
10102         (t_double_many_args): Likewise.
10103         (DEF_FUNC_MANY_ARGS_1): Likewise.
10104         (DEF_FUNC_VALUES_1): Likewise.
10105         (t_structs_ldc): Renamed from t_structs_fc in conditional code
10106         guarded by #ifdef PROTOTYPES.
10107
10108 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10109
10110         * gdb.mi/mi-console.c: Add eye-catcher.
10111         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10112         instead of literal line number.
10113
10114 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10115
10116         * gdb.base/shr2.c: Add eye-catcher.
10117         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10118         line number.
10119
10120 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10121
10122         * gdb.base/jump.c: Add eye-catchers.
10123         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10124         numbers.
10125
10126 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10127
10128         * gdb.base/execd-prog.c: Add eye-catchers.
10129         * gdb.base/foll-exec.c: Likewise.
10130         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10131         line numbers.
10132
10133 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10134
10135         * gdb.base/ending-run.c: Add eye-catchers.
10136         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10137         literal line numbers.
10138
10139 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10140
10141         * gdb.base/call-rt-st.c: Add eye-catchers.
10142         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10143         literal line numbers.
10144
10145 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10146
10147         * gdb.base/call-ar-st.c: Add eye-catchers.
10148         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10149         literal line numbers.
10150
10151 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10152
10153         * gdb.base/average.c: Add eye-catchers.
10154         * gdb.base/sum.c: Likewise.
10155         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10156         regexps dynamically.
10157
10158 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10159
10160         * gdb.base/solib1.c: Add eye-catchers.
10161         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10162         literal line numbers.
10163
10164 2014-11-12  Pedro Alves  <palves@redhat.com>
10165
10166         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10167         leader has exited.
10168
10169 2014-11-12  Pedro Alves  <palves@redhat.com>
10170
10171         * gdb.arch/i386-bp_permanent.c: New file.
10172         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10173         (srcfile): Set to i386-bp_permanent.c.
10174         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
10175         that stepi does not execute the 'leave' instruction, instead of
10176         testing it does execute.
10177         * gdb.base/bp-permanent.c: New file.
10178         * gdb.base/bp-permanent.exp: New file.
10179
10180 2014-11-10  Doug Evans  <xdje42@gmail.com>
10181
10182         PR symtab/17564
10183         * gdb.base/symtab-search-order.exp: New file.
10184         * gdb.base/symtab-search-order.c: New file.
10185         * gdb.base/symtab-search-order-1.c: New file.
10186         * gdb.base/symtab-search-order-shlib-1.c: New file.
10187
10188 2014-11-07  Pedro Alves  <palves@redhat.com>
10189
10190         PR gdb/17511
10191         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10192         i?86-*-linux*.
10193
10194 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
10195
10196         PR c++/17494
10197         * gdb.cp/pr17494.cc: New file.
10198         * gdb.cp/pr17494.exp: New file.
10199
10200 2014-11-02  Yao Qi  <yao@codesourcery.com>
10201
10202         * gdb.python/python.exp: Get working directory and match the
10203         output of "set extended-prompt \\w " with it.
10204
10205 2014-10-30  Doug Evans  <dje@google.com>
10206
10207         * gdb.python/py-objfile.exp: Add tests for setting random attributes
10208         in objfiles.
10209         * gdb.python/py-progspace.exp: Add tests for setting random attributes
10210         in progspaces.
10211
10212 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
10213
10214         * gdb.base/fullpath-expand.exp: Skip for a remote host.
10215         * gdb.base/realname-expand.exp: Likewise.
10216         * gdb.linespec/macro-relative.exp: Likewise.
10217
10218 2014-10-29  Pedro Alves  <palves@redhat.com>
10219
10220         PR gdb/17408
10221         * gdb.threads/schedlock.c (some_function): New function.
10222         (call_function): New global.
10223         (MAYBE_CALL_SOME_FUNCTION): New macro.
10224         (thread_function): Call it.
10225         * gdb.threads/schedlock.exp (get_args): Add description parameter,
10226         and use it instead of a global counter.  Adjust all callers.
10227         (get_current_thread): Use "find current thread" for test message
10228         here rather than having all callers pass down the same string.
10229         (goto_loop): New procedure, factored out from ...
10230         (my_continue): ... this.
10231         (step_ten_loops): Change parameter from test message to command to
10232         use.  Adjust.
10233         (list_count): Delete global.
10234         (check_result): New procedure, factored out from duplicate top
10235         level code.
10236         (continue tests): Wrap in with_test_prefix.
10237         (test_step): New procedure, factored out from duplicate top level
10238         code.
10239         (top level): Test "step" in combination with all scheduler-locking
10240         modes.  Test "next" in combination with all scheduler-locking
10241         modes, and in combination with stepping over a function call or
10242         not.
10243         * gdb.threads/next-bp-other-thread.c: New file.
10244         * gdb.threads/next-bp-other-thread.exp: New file.
10245
10246 2014-10-29  Pedro Alves  <palves@redhat.com>
10247
10248         PR python/17372
10249         * gdb.python/python.exp: Test a multi-line command that spawns
10250         interactive Python.
10251         * gdb.base/multi-line-starts-subshell.exp: New file.
10252
10253 2014-10-29  Yao Qi  <yao@codesourcery.com>
10254
10255         * gdb.base/fileio.exp: Make directories on host.
10256
10257 2014-10-29  Yao Qi  <yao@codesourcery.com>
10258
10259         * gdb.base/fileio.c (test_write): Close the file.
10260
10261 2014-10-28  Pedro Alves  <palves@redhat.com>
10262
10263         PR gdb/12623
10264         * gdb.base/sigstep.c (no_handler): New global.
10265         (main): If 'no_handler is true, set the signal handlers to
10266         SIG_IGN.
10267         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10268         with_sw_watch and no_handler parameters.  Handle them.
10269         (top level) <stepping over handler when stopped at a breakpoint
10270         test>: Add a test axis for testing with a software watchpoint, and
10271         another for testing with the signal handler set to SIG_IGN.
10272         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10273         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10274
10275 2014-10-28  Pedro Alves  <palves@redhat.com>
10276
10277         PR gdb/17511
10278         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10279         * gdb.base/sigstep.exp (other_handler_location): New global.
10280         (advance): Support stepping into the signal handler, and running
10281         commands while in the handler.
10282         (in_handler_map): New global.
10283         (top level): In the advance test, add combinations for getting
10284         into the handler with stepping commands, and for running commands
10285         in the handler.  Add comment descripting the advancei tests.
10286
10287 2014-10-28  Pedro Alves  <palves@redhat.com>
10288
10289         * gdb.base/sigstep.exp: Use build_executable instead of
10290         prepare_for_testing.
10291         (top level): Move code that starts GDB, runs to main and creates a
10292         display to ...
10293         (restart): ... this new procedure.
10294         (top level): Move backtrace from signal handler test to ...
10295         (validate_backtrace): ... this new procedure.
10296         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
10297         with_test_prefix.  Always restart GDB.
10298         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
10299         with_test_prefix.  Always restart GDB.  No need to delete
10300         breakpoints after the test.
10301         (test_skip_handler): Remove prefix parameter.
10302         (skip_over_handler, breakpoint_to_handler)
10303         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10304         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
10305         restart GDB.  No need to delete breakpoints after the test.
10306         (top level): Use foreach to call the test procedures with
10307         different commands.
10308
10309 2014-10-28  Pedro Alves  <palves@redhat.com>
10310
10311         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10312         instead of GNATS numbers.
10313         * gdb.base/sigbpt.exp: Likewise.
10314         * gdb.base/siginfo.exp: Likewise.
10315         * gdb.base/sigstep.exp: Likewise.
10316
10317 2014-10-27  Pedro Alves  <palves@redhat.com>
10318
10319         * gdb.base/sigstep.c (dummy): New global.
10320         (main): Issue a couple writes to the new global.
10321         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10322         procedures.
10323         (skip_over_handler): Use test_skip_handler.
10324         (top level): Call skip_over_handler for stepi and nexti too.
10325         (breakpoint_over_handler): Use test_skip_handler.
10326         (top level): Call breakpoint_over_handler for stepi and nexti too.
10327
10328 2014-10-27  Yao Qi  <yao@codesourcery.com>
10329
10330         * gdb.trace/tfile.c (adjust_function_address)
10331         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10332         function descriptor.
10333
10334 2014-10-24  Don Breazeal  <donb@codesourcery.com>
10335
10336         * gdb.base/foll-fork.exp (test_follow_fork,
10337         catch_fork_child_follow): Check for updated fork messages emitted
10338         from infrun.c.
10339         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10340         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10341         vfork_and_exec_child_follow_through_step): Check for updated vfork
10342         messages emitted from infrun.c.
10343
10344 2014-10-24  Pedro Alves  <palves@redhat.com>
10345
10346         * gdb.base/corefile.exp: Remove references to ultrix.
10347         * gdb.base/interrupt.exp: Likewise.
10348         * gdb.base/whatis.exp: Likewise.
10349         * gdb.gdb/selftest.exp: Likewise.
10350         * gdb.threads/manythreads.exp: Likewise.
10351         * gdb.threads/print-threads.exp: Likewise.
10352         * gdb.threads/pthreads.exp:: Likewise.
10353         * gdb.threads/schedlock.exp: Likewise.
10354
10355 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
10356
10357         * gdb.cp/non-trivial-retval.cc: Add a test case.
10358         * gdb.cp/non-trivial-retval.exp: Add a test.
10359
10360 2014-10-20  Yao Qi  <yao@codesourcery.com>
10361
10362         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10363         * gdb.python/py-objfile-script-gdb.py: New file.
10364         * gdb.python/py-objfile-script.exp: Update reference to
10365         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
10366         of remote_download.  Remove the dest file.
10367
10368 2014-10-20  Yao Qi  <yao@codesourcery.com>
10369
10370         * gdb.base/checkpoint.exp: Don't remove file copied on host.
10371         * gdb.base/step-line.exp: Likewise.
10372         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10373         * gdb.dwarf2/dw2-basic.exp: Likewise.
10374         * gdb.dwarf2/dw2-compressed.exp: Likewise.
10375         * gdb.dwarf2/dw2-filename.exp: Likewise.
10376         * gdb.dwarf2/dw2-intercu.exp: Likewise.
10377         * gdb.dwarf2/dw2-intermix.exp: Likewise.
10378         * gdb.dwarf2/dw2-producer.exp: Likewise.
10379         * gdb.dwarf2/mac-fileno.exp: Likewise.
10380         * gdb.python/py-frame-args.exp: Likewise.
10381         * gdb.python/py-framefilter.exp: Likewise.
10382         * gdb.python/py-mi.exp: Likewise.
10383         * gdb.python/py-objfile-script.exp: Likewise
10384         * gdb.python/py-pp-integral.exp: Likewise.
10385         * gdb.python/py-pp-re-notag.exp: Likewise.
10386         * gdb.python/py-prettyprint.exp: Likewise.
10387         * gdb.python/py-section-script.exp: Likewise.
10388         * gdb.python/py-typeprint.exp: Likewise.
10389         * gdb.python/py-xmethods.exp: Likewise.
10390         * gdb.stabs/weird.exp: Likewise.
10391         * gdb.xml/tdesc-regs.exp: Likewise.
10392
10393 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
10394
10395         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10396         (out_cu): Use addr_len for the size of addresses.
10397         (out_line): Likewise.  Size DW_LNE_set_address instruction
10398         according to addr_len.
10399         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10400         (FUNC): Add START_INSNS to definition.
10401
10402 2014-10-18  Yao Qi  <yao@codesourcery.com>
10403
10404         * gdb.base/argv0-symlink.exp: Check argv[0] value if
10405         gdb_has_argv0 return true.
10406         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10407         check [target_info exists noargs], check [gdb_has_argv0]
10408         instead.
10409         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10410         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10411         procedures.
10412
10413 2014-10-17  Doug Evans  <dje@google.com>
10414
10415         * gdb.python/py-events.exp: Update expected output for clear_objfiles
10416         event.
10417         * gdb.python/py-events.py: Add clear_objfiles event.
10418
10419 2014-10-17  Doug Evans  <dje@google.com>
10420
10421         * gdb.python/py-objfile.exp: Test progspace attribute.
10422
10423 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
10424
10425         * gdb.guile/scm-breakpoint.exp: Do not assume any
10426         directory separators when matching source file paths.
10427         * gdb.python/py-breakpoint.exp: Likewise.
10428         * gdb.reverse/break-precsave.exp: Likewise.
10429         * gdb.reverse/break-reverse.exp: Likewise.
10430         * gdb.reverse/consecutive-precsave.exp: Likewise.
10431         * gdb.reverse/finish-precsave.exp: Likewise.
10432         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10433         * gdb.reverse/finish-reverse.exp: Likewise.
10434         * gdb.reverse/i386-precsave.exp: Likewise.
10435         * gdb.reverse/i387-env-reverse.exp: Likewise.
10436         * gdb.reverse/i387-stack-reverse.exp: Likewise.
10437         * gdb.reverse/machinestate-precsave.exp: Likewise.
10438         * gdb.reverse/machinestate.exp: Likewise.
10439         * gdb.reverse/sigall-precsave.exp: Likewise.
10440         * gdb.reverse/solib-precsave.exp: Likewise.
10441         * gdb.reverse/step-precsave.exp: Likewise.
10442         * gdb.reverse/until-precsave.exp: Likewise.
10443         * gdb.reverse/watch-precsave.exp: Likewise.
10444         * gdb.reverse/watch-reverse.exp: Likewise.
10445
10446 2014-10-17  Yao Qi  <yao@codesourcery.com>
10447
10448         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10449         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10450
10451 2014-10-17  Pedro Alves  <palves@redhat.com>
10452
10453         PR gdb/17471
10454         * gdb.base/bg-execution-repeat.c: New file.
10455         * gdb.base/bg-execution-repeat.exp: New file.
10456
10457 2014-10-17  Pedro Alves  <palves@redhat.com>
10458
10459         PR gdb/17300
10460         * gdb.base/continue-all-already-running.c: New file.
10461         * gdb.base/continue-all-already-running.exp: New file.
10462
10463 2014-10-17  Pedro Alves  <palves@redhat.com>
10464
10465         PR gdb/17472
10466         * gdb.base/annota-input-while-running.c: New file.
10467         * gdb.base/annota-input-while-running.exp: New file.
10468
10469 2014-10-17  Pedro Alves  <palves@redhat.com>
10470
10471         * gdb.base/callfuncs.exp: emove references to osf.
10472         * gdb.base/sigall.exp: Likewise.
10473         * gdb.gdb/selftest.exp: Likewise.
10474         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10475         * gdb.mi/non-stop.c: Likewise.
10476         * gdb.mi/pthreads.c: Likewise.
10477         * gdb.reverse/sigall-precsave.exp: Likewise.
10478         * gdb.reverse/sigall-reverse.exp: Likewise.
10479         * gdb.threads/pthreads.c: Likewise.
10480         * gdb.threads/pthreads.exp: Likewise.
10481
10482 2014-10-17  Yao Qi  <yao@codesourcery.com>
10483
10484         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10485         check 'target_info exists noargs'.
10486         (test_command_prompt_position): Likewise.
10487         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10488         Remove "set args".
10489         (progvar_simple_while_test): Likewise.
10490         (progvar_complex_if_while_test): Likewise.
10491         (if_while_breakpoint_command_test): Likewise.
10492         (infrun_breakpoint_command_test): Likewise.
10493         (breakpoint_command_test): Likewise.
10494         (watchpoint_command_test): Likewise.
10495         (bp_deleted_in_command_test): Likewise.
10496         (temporary_breakpoint_commands): Likewise.
10497
10498 2014-10-16  Yao Qi  <yao@codesourcery.com>
10499
10500         * gdb.base/remotetimeout.exp: Remove noargs checking.
10501
10502 2014-10-15  Pedro Alves  <palves@redhat.com>
10503
10504         PR breakpoints/9649
10505         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10506         * gdb.base/breakpoint-in-ro-region.exp
10507         (probe_target_hardware_step): New procedure.
10508         (top level): Probe hardware stepping and hardware breakpoint
10509         support.  Test stepping through a read-only region, with both
10510         "breakpoint auto-hw" on and off and both "always-inserted" on and
10511         off.
10512
10513 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
10514
10515         * gdb.dlang/demangle.exp: Update for demangling changes.
10516
10517 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
10518
10519         * gdb.cp/non-trivial-retval.cc: Add new test cases.
10520         * gdb.cp/non-trivial-retval.exp: Add new tests.
10521
10522 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
10523
10524         PR c++/13403
10525         PR c++/15154
10526         * gdb.cp/non-trivial-retval.cc: New file.
10527         * gdb.cp/non-trivial-retval.exp: New file.
10528
10529 2014-10-15  Yao Qi  <yao@codesourcery.com>
10530
10531         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10532         remote host.
10533
10534 2014-10-15  Yao Qi  <yao@codesourcery.com>
10535
10536         * gdb.python/py-symbol.exp: Match file base name if host is
10537         remote, otherwise match file name with dir name.
10538         * gdb.python/py-symtab.exp: Likewise.
10539         * gdb.python/python.exp: Likewise.
10540
10541 2014-10-15  Yao Qi  <yao@codesourcery.com>
10542
10543         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10544         pattern.
10545         * gdb.python/py-symtab.exp: Likewise.
10546         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
10547         locationn.
10548
10549 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
10550
10551         * gdb.ada/addr_arith: New testcase.
10552
10553 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
10554
10555         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10556         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10557         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10558         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10559
10560 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
10561
10562         * gdb.arch/stap-eval-lang-ada.S: Likewise.
10563         * gdb.arch/stap-eval-lang-ada.c: Likewise.
10564         * gdb.arch/stap-eval-lang-ada.exp: New file.
10565
10566 2014-10-14  Yao Qi  <yao@codesourcery.com>
10567
10568         * gdb.mi/mi-var-child.c (nothing1): New function.
10569         (nothing2): New function.
10570         (do_children_tests): Set function pointers by nothing1 and
10571         nothing2.
10572         * gdb.mi/mi-var-child.exp: Step over new added statements.
10573         Update test to match the new output.
10574         * gdb.mi/var-cmd.c (nothing1): New function.
10575         (nothing2): New function.
10576         (do_children_tests): Set function pointers by  nothing1 and
10577         nothing2.
10578         * gdb.mi/mi-var-display.exp: Update test to match output.
10579         Step to the line specified by $line_dct_nothing.
10580         Increase the number of lines to step.
10581
10582 2014-10-14  Yao Qi  <yao@codesourcery.com>
10583
10584         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10585         tests.
10586         * gdb.mi/mi2-var-child.exp: Likewise.
10587
10588 2014-10-13  Doug Evans  <dje@google.com>
10589
10590         * gdb.python/py-objfile.exp: Change name of file name test.
10591
10592 2014-10-13  Doug Evans  <dje@google.com>
10593
10594         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10595         from the start of the CU.
10596
10597 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
10598             Yao Qi  <yao@codesourcery.com>
10599
10600         Fix "save breakpoints" for "catch" command.
10601         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10602         Remove -nonewline.  Match also the added "main" line.
10603
10604 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
10605
10606         Fix "save breakpoints" for "disable $bpnum" command.
10607         * gdb.base/save-bp.c (main): Add label.
10608         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
10609
10610 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
10611
10612         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10613
10614 2014-10-11  Yao Qi  <yao@codesourcery.com>
10615
10616         * gdb.server/server-kill.exp: Execute command
10617         "set remote trace-status-packet on" before "tstatus".
10618
10619 2014-10-11  Yao Qi  <yao@codesourcery.com>
10620
10621         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10622         (main): Call getppid.
10623         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10624         and continue to it.  Read variable "server_pid".
10625
10626 2014-10-11  Yao Qi  <yao@codesourcery.com>
10627
10628         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10629
10630 2014-10-11  Yao Qi  <yao@codesourcery.com>
10631
10632         * gdb.threads/thread-find.exp: Don't execute command
10633         "info threads".
10634         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10635         * gdb.threads/linux-dp.exp: Don't check the condition
10636         $threads_created equals to zero.
10637
10638 2014-10-10  Pedro Alves  <palves@redhat.com>
10639
10640         * gdb.base/bigcore.exp: Remove references to IRIX.
10641         * gdb.base/funcargs.exp: Likewise.
10642         * gdb.base/interrupt.exp: Likewise.
10643         * gdb.base/mips_pro.exp: Likewise.
10644         * gdb.base/nodebug.exp: Likewise.
10645         * gdb.base/setvar.exp: Likewise.
10646         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10647
10648 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10649             Pedro Alves  <palves@redhat.com>
10650
10651         PR symtab/14466
10652         * gdb.base/vdso-warning.c: New file.
10653         * gdb.base/vdso-warning.exp: New file.
10654
10655 2014-10-02  Doug Evans  <dje@google.com>
10656
10657         * gdb.base/structs.c (main): Don't run forever.
10658
10659 2014-10-02  Pedro Alves  <palves@redhat.com>
10660
10661         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10662         (top level) <stop threads 1, stop threads 2>: Use it.
10663
10664 2014-10-02  Pedro Alves  <palves@redhat.com>
10665
10666         * gdb.threads/break-while-running.exp (test): Add new
10667         'update_thread_list' argument.  Skip "info threads" if false.
10668         (top level): Add new 'update_thread_list' axis.
10669
10670 2014-10-02  Pedro Alves  <palves@redhat.com>
10671
10672         PR breakpoints/17431
10673         * gdb.base/execl-update-breakpoints.c: New file.
10674         * gdb.base/execl-update-breakpoints.exp: New file.
10675
10676 2014-10-01  Pedro Alves  <palves@redhat.com>
10677
10678         * gdb.base/breakpoint-in-ro-region.c: New file.
10679         * gdb.base/breakpoint-in-ro-region.exp: New file.
10680
10681 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
10682
10683         * gdb.mi/mi-exit-code.exp: New file.
10684         * gdb.mi/mi-exit-code.c: New file.
10685
10686 2014-09-30  Yao Qi  <yao@codesourcery.com>
10687
10688         * lib/prelink-support.exp (build_executable_own_libs): Error if
10689         the target isn't native.
10690
10691 2014-09-30  Yao Qi  <yao@codesourcery.com>
10692
10693         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10694         false.
10695
10696 2014-09-22  Pedro Alves  <palves@redhat.com>
10697
10698         * gdb.threads/break-while-running.exp: New file.
10699         * gdb.threads/break-while-running.c: New file.
10700
10701 2014-09-19  Yao Qi  <yao@codesourcery.com>
10702
10703         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10704         Invoke test.  Restart GDB with --readnow and invoke test again.
10705
10706 2014-09-19  Yao Qi  <yao@codesourcery.com>
10707
10708         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10709         proc set_breakpoint_on_gcd_function.  Invoke
10710         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
10711         invoke set_breakpoint_on_gcd_function again.
10712
10713 2014-09-18  Doug Evans  <dje@google.com>
10714
10715         * gdb.dwarf2/symtab-producer.exp: New file.
10716
10717 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
10718
10719         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10720         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10721         * gdb.base/global-var-nested-by-dso.c: Likewise.
10722         * gdb.base/global-var-nested-by-dso.exp: Likewise.
10723
10724 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
10725             Pedro Alves  <palves@redhat.com>
10726
10727         * gdb.base/watch-bitfields.exp: Pass string other than test file
10728         name to prepare_for_testing.
10729         (watch): New procedure.
10730         (expect_watchpoint): Use with_test_prefix.
10731         (top level): Factor out tests to ...
10732         (test_watch_location, test_regular_watch): ... these new
10733         procedures, and use with_test_prefix and gdb_continue_to_end.
10734
10735 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
10736
10737         PR breakpoints/12526
10738         * gdb.base/watch-bitfields.exp: New file.
10739         * gdb.base/watch-bitfields.c: New file.
10740
10741 2014-09-16  Pedro Alves  <palves@redhat.com>
10742
10743         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10744         software and hardware addresses, not software address against
10745         itself.
10746
10747 2014-09-16  Pedro Alves  <palves@redhat.com>
10748
10749         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10750         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10751
10752 2014-09-16  Pedro Alves  <palves@redhat.com>
10753
10754         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10755         files.
10756         * gdb.base/a2-run.exp: Remove all code guarded by istarget
10757         "*-*-vxworks*" throughout.
10758         * gdb.base/break.exp: Likewise.
10759         * gdb.base/default.exp: Likewise.
10760         * gdb.base/scope.exp: Likewise.
10761         * gdb.base/sepdebug.exp: Likewise.
10762         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10763         throughout.
10764         * gdb.base/run.c: Likewise.
10765         * gdb.base/sepdebug.c: Likewise.
10766         * gdb.hp/gdb.aCC/run.c: Likewise.
10767         * gdb.reverse/until-reverse.c: Likewise.
10768         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10769
10770 2014-09-16  Yao Qi  <yao@codesourcery.com>
10771
10772         * boards/local-remote-host-native.exp: New file.
10773
10774 2014-09-14  Doug Evans  <xdje42@gmail.com>
10775
10776         * gdb.threads/queue-signal.c (thread_count): New variable.
10777         (thread_count_mutex, thread_count_condvar): New variables.
10778         (incr_thread_count, wait_all_threads_running): New functions.
10779         (main): Wait for all threads to be in their thread functions.
10780
10781 2014-09-13  Doug Evans  <xdje42@gmail.com>
10782
10783         * gdb.threads/queue-signal.c: New file.
10784         * gdb.threads/queue-signal.exp: New file.
10785
10786 2014-09-13  Doug Evans  <xdje42@gmail.com>
10787
10788         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10789         be consistent with what default_gdb_init uses.
10790         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10791         the plain text of the prompt.  Add some logging printfs.
10792         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10793
10794 2014-09-12  Pedro Alves  <palves@redhat.com>
10795
10796         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10797         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10798         * gdb.arch/i386-size-overlap.exp: Likewise.
10799         * gdb.arch/i386-size.exp: Likewise.
10800         * gdb.arch/i386-unwind.exp: Likewise.
10801         * gdb.base/a2-run.exp: Likewise.
10802         * gdb.base/break.exp: Likewise.
10803         * gdb.base/charset.exp: Likewise.
10804         * gdb.base/chng-syms.exp: Likewise.
10805         * gdb.base/commands.exp: Likewise.
10806         * gdb.base/dbx.exp: Likewise.
10807         * gdb.base/find.exp: Likewise.
10808         * gdb.base/funcargs.exp: Likewise.
10809         * gdb.base/jit-simple.exp: Likewise.
10810         * gdb.base/reread.exp: Likewise.
10811         * gdb.base/sepdebug.exp: Likewise.
10812         * gdb.base/step-bt.exp: Likewise.
10813         * gdb.cp/mb-inline.exp: Likewise.
10814         * gdb.cp/mb-templates.exp: Likewise.
10815         * gdb.objc/basicclass.exp: Likewise.
10816         * gdb.threads/killed.exp: Likewise.
10817
10818 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
10819
10820         PR tdep/17379
10821         * gdb.arch/powerpc-stackless.S: New file.
10822         * gdb.arch/powerpc-stackless.exp: New file.
10823
10824 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
10825
10826         * gdb.base/attach.c: Include unistd.h.
10827         (main): Call alarm.  Add label postloop.
10828         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10829         gdb_breakpoint, gdb_continue_to_breakpoint.
10830         (test_command_line_attach_run): Kill ${testpid} in one exit path.
10831
10832 2014-09-11  Pedro Alves  <palves@redhat.com>
10833
10834         PR gdb/17347
10835         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10836         * gdb.base/attach.exp (test_command_line_attach_run): New
10837         procedure.
10838         (top level): Call it.
10839
10840 2014-09-11  Pedro Alves  <palves@redhat.com>
10841
10842         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10843         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10844         (do_command_attach_tests): Use spawn_wait_for_attach.
10845         * gdb.base/solib-overlap.exp: Likewise.
10846         * gdb.multi/multi-attach.exp: Likewise.
10847         * gdb.python/py-prompt.exp: Likewise.
10848         * gdb.python/py-sync-interp.exp: Likewise.
10849         * gdb.server/ext-attach.exp: Likewise.
10850
10851 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
10852
10853         * gdb.fortran/array-element.exp: Remove unexpected "continue"
10854         command in testcase.  Simplify testcase.
10855
10856 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10857
10858         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10859
10860 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10861
10862         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10863
10864 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10865
10866         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10867
10868 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10869
10870         * gdb.dwarf2/dynarr-ptr.c: New file.
10871         * gdb.dwarf2/dynarr-ptr.exp: New file.
10872
10873 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10874
10875         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10876         of 30 rather than hardcoding 120 for a slow test case.  Take the
10877         `gdb,timeout' target setting into account for this calculation.
10878         Don't extend the timeout for the test cases that don't need it.
10879
10880 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10881
10882         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10883         a factor of 2 for a slow test case.  Take the `gdb,timeout'
10884         target setting into account for this calculation.
10885         * gdb.reverse/until-precsave.exp: Increase the timeout by
10886         a factor of 15 and 3 respectively rather than adding 120
10887         for a pair of slow test cases.  Take the `gdb,timeout'
10888         target setting into account for this calculation.
10889
10890 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10891
10892         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10893         timeout, don't pass one down to gdb_expect.
10894         (gdb_expect): Rework timeout selection.
10895
10896 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10897
10898         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10899         exception on timeout.
10900         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10901         (gdbserver_start_extended): Catch any `gdbserver_start' error
10902         exceptions.
10903         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10904         * lib/mi-support.exp (mi_gdb_target_load): Catch any
10905         `gdbserver_gdb_load' error exceptions.
10906
10907 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10908
10909         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10910         120 on waiting for the TCP socket to open.
10911
10912 2014-09-09  Doug Evans  <xdje42@gmail.com>
10913
10914         * gdb.base/default.exp (show_conv_list): Add _caller_is,
10915         _caller_matches, _any_caller_is, _any_caller_matches.
10916
10917 2014-09-09  Doug Evans  <xdje42@gmail.com>
10918
10919         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10920
10921 2014-09-09  Yao Qi  <yao@codesourcery.com>
10922
10923         * gdb.mi/mi-var-display.exp: Set print symbol off.
10924
10925 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
10926
10927         PR gdb/17035
10928         * gdb.base/commands.exp: Add tests to verify user-defined
10929         commands with empty bodies.
10930         * gdb.python/py-cmd.exp: Test that we don't show user-defined
10931         python commands in `show user command`.
10932         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10933         scheme commands in `show user command`.
10934
10935 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10936
10937         PR python/17355
10938         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10939         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10940         * gdb.python/py-framefilter-invalidarg.exp: New file.
10941         * gdb.python/py-framefilter-invalidarg.py: New file.
10942
10943 2014-09-06  Doug Evans  <xdje42@gmail.com>
10944
10945         PR 15276
10946         * gdb.python/py-caller-is.c: New file.
10947         * gdb.python/py-caller-is.exp: New file.
10948
10949 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
10950
10951         PR gdb/17235
10952         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10953         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10954
10955 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
10956
10957         PR fortran/17237
10958         * gdb.fortran/print-formatted.exp: New file.
10959         * gdb.fortran/print-formatted.f90: Likewise.
10960
10961 2014-09-03  Sasha Smundak  <asmundak@google.com>
10962
10963         * gdb.python/py-frame.exp: Test Frame.read_register.
10964
10965 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
10966
10967         PR python/16699
10968         * gdb.python/py-completion.exp: New file.
10969         * gdb.python/py-completion.py: Likewise.
10970
10971 2014-08-28  Doug Evans  <dje@google.com>
10972
10973         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10974         eax,etc. are live with values set by gdb and thus the compiler can't
10975         use them.
10976         * gdb.arch/i386-pseudo.c (main): Ditto.
10977
10978 2014-08-27  Doug Evans  <dje@google.com>
10979
10980         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
10981
10982 2014-08-25  Doug Evans  <dje@google.com>
10983
10984         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
10985         (main): Ditto.
10986
10987 2014-08-25  Doug Evans  <dje@google.com>
10988
10989         * gdb.threads/thread-execl.exp: #include <stdio.h>.
10990
10991 2014-08-24  Yao Qi  <yao@codesourcery.com>
10992
10993         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10994         symbol off.
10995         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10996
10997 2014-08-22  Doug Evans  <dje@google.com>
10998
10999         PR 17276
11000         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11001         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11002         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11003
11004 2014-08-22  Yao Qi  <yao@codesourcery.com>
11005
11006         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11007         * gdb.python/py-finish-breakpoint2.exp: Likewise.
11008         * gdb.python/python.exp: Likewise.  Use .py file on the host
11009         instead of the build.
11010
11011 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11012
11013         * gdb.threads/gcore-stale-thread.c: New file.
11014         * gdb.threads/gcore-stale-thread.exp: New file.
11015
11016 2014-08-21  Pedro Alves  <palves@redhat.com>
11017
11018         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11019         * gdb.base/gcore-relro-pie.exp: Likewise.
11020         * gdb.base/gcore-relro.exp: Likewise.
11021         * gdb.base/gcore.exp: Likewise.
11022         * gdb.base/print-symbol-loading.exp: Likewise.
11023         * gdb.threads/gcore-thread.exp: Likewise.
11024         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11025
11026 2014-08-20  Pedro Alves  <palves@redhat.com>
11027             Jan Kratochvil  <jan.kratochvil@redhat.com>
11028
11029         * Makefile.in (EXTRA_RULES, CC): New variables, get from
11030         configure.
11031         (EXPECT): Handle READ1 being set.
11032         (all): Depend on EXTRA_RULES.
11033         (check-read1, expect-read1, read1.so, read1): New rules.
11034         * README (Testsuite Parameters): Document the READ1 make variable.
11035         (Race detection): New section.
11036         * configure: Regenerate.
11037         * configure.ac: If build==host==target, and running under a
11038         GNU/glibc system, add read1 to the extra Makefile rules.
11039         (EXTRA_RULES): AC_SUBST it.
11040         * lib/read1.c: New file.
11041
11042 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
11043
11044         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11045         the handling of variables declared as a typedef to an array
11046         which a DW_AT_data_location attribute.
11047
11048 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
11049             Pedro Alves  <palves@redhat.com>
11050
11051         PR symtab/14604
11052         PR symtab/14605
11053         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11054         gdb_test.
11055
11056 2014-08-19  Pedro Alves  <palves@redhat.com>
11057
11058         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11059
11060 2014-08-19  Yao Qi  <yao@codesourcery.com>
11061
11062         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11063         right line.
11064
11065 2014-08-18  David Blaikie  <dblaikie@gmail.com>
11066
11067         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11068
11069 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
11070
11071         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11072         attribute in array range.
11073
11074 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
11075
11076         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11077
11078 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
11079
11080         PR c++/17132
11081         * gdb.cp/pr17132.cc: New file.
11082         * gdb.cp/pr17132.exp: New file.
11083
11084 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
11085
11086         * gdb.python/py-xmethods.py (A_getarrayind)
11087         (E_method_char_worker.__call__, E_method_int_worker.__call__):
11088         Use 'print' with function call syntax.
11089         (E_method_matcher.match): Fix tab vs space indentation mixup.
11090
11091 2014-08-15  Yao Qi  <yao@codesourcery.com>
11092
11093         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11094         false.
11095
11096 2014-08-15  Yao Qi  <yao@codesourcery.com>
11097
11098         * gdb.cp/casts.exp: Set print symbol off.
11099         * gdb.cp/class2.exp: Likewise.
11100         * gdb.cp/overload.exp: Likewise.
11101         * gdb.cp/templates.exp: Likewise.
11102
11103 2014-08-11  Doug Evans  <dje@google.com>
11104
11105         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11106         (test_load_shlib): Update.
11107
11108 2014-08-09  Yao Qi  <yao@codesourcery.com>
11109
11110         * gdb.base/display.exp: Invoke is_address_zero_readable.
11111         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11112         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11113         * gdb.base/hbreak-unmapped.exp: Return if
11114         is_address_zero_readable returns true.
11115         * gdb.base/signest.exp: Likewise.
11116         * gdb.base/signull.exp: Likewise.
11117         * gdb.base/sigbpt.exp: Likewise.
11118         * gdb.guile/scm-disasm.exp: Do the test if
11119         is_address_zero_readable returns false.
11120         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11121         * gdb.python/py-arch.exp: Likewise.
11122         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11123         * lib/gdb.exp (is_address_zero_readable): New proc.
11124
11125 2014-08-09  Yao Qi  <yao@codesourcery.com>
11126
11127         PR testsuite/13443
11128         * gdb.mi/mi-var-display.exp: Make test messages unique.
11129
11130 2014-08-04  Tom Tromey  <tromey@redhat.com>
11131
11132         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11133         target 0".
11134
11135 2014-08-04  Tom Tromey  <tromey@redhat.com>
11136
11137         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11138         "target_resume".
11139
11140 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
11141
11142         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11143         inner_vla_struct_object_size.
11144         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11145         as xfail.
11146
11147 2014-07-30  Pedro Alves  <palves@redhat.com>
11148
11149         * gdb.threads/signal-command-handle-nopass.exp (test): Add
11150         comment.
11151
11152 2014-07-29  Yao Qi  <yao@codesourcery.com>
11153
11154         PR gdb/17206
11155         * gdb.base/until-nodebug.exp: New.
11156
11157 2014-07-28  Doug Evans  <xdje42@gmail.com>
11158
11159         PR guile/17203
11160         * gdb.guile/scm-parameter.exp: Add tests for trying to create
11161         previously existing parameter, and previously ambiguously spelled
11162         parameter.
11163
11164 2014-07-28  Will Newton  <will.newton@linaro.org>
11165
11166         * gdb.base/varargs.exp: Remove KFAILs for ARM.
11167
11168 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
11169             Doug Evans  <xdje42@gmail.com>
11170
11171         PR guile/17146
11172         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11173
11174 2014-07-25  Pedro Alves  <palves@redhat.com>
11175
11176         * gdb.threads/signal-command-handle-nopass.c: New file.
11177         * gdb.threads/signal-command-handle-nopass.exp: New file.
11178         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11179         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11180         * gdb.threads/signal-delivered-right-thread.c: New file.
11181         * gdb.threads/signal-delivered-right-thread.exp: New file.
11182
11183 2014-07-25  Pedro Alves  <palves@redhat.com>
11184
11185         * gdb.base/double-prompt-target-event-error.exp
11186         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11187         match.
11188         (cancel_pagination_in_target_event): Rework double prompt
11189         detection.
11190         * gdb.base/paginate-after-ctrl-c-running.exp
11191         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11192         <return>' match.
11193         * gdb.base/paginate-bg-execution.exp
11194         (test_bg_execution_pagination_return)
11195         (test_bg_execution_pagination_cancel): Remove '-notransfer
11196         <return>' matches.
11197         * gdb.base/paginate-execution-startup.exp
11198         (test_fg_execution_pagination_return)
11199         (test_fg_execution_pagination_cancel): Remove '-notransfer
11200         <return>' matches.
11201         * gdb.base/paginate-inferior-exit.exp
11202         (test_paginate_inferior_exited): Remove '-notransfer <return>'
11203         match.
11204         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11205         * lib/gdb.exp (pagination_prompt): Run text through
11206         string_to_regexp.
11207         (gdb_test_multiple): Match $pagination_prompt instead of
11208         "<return>".
11209         (string_to_regexp): Move to lib/gdb-utils.exp.
11210
11211 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11212
11213         * gdb.arch/amd64-entry-value-paramref.S: New file.
11214         * gdb.arch/amd64-entry-value-paramref.cc: New file.
11215         * gdb.arch/amd64-entry-value-paramref.exp: New file.
11216         * gdb.arch/amd64-optimout-repeat.S: New file.
11217         * gdb.arch/amd64-optimout-repeat.c: New file.
11218         * gdb.arch/amd64-optimout-repeat.exp: New file.
11219
11220 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11221
11222         PR gdb/17170
11223         * gdb.base/statistics.exp: New file.
11224
11225 2014-07-17  Doug Evans  <dje@google.com>
11226
11227         PR gdb/17170
11228         * gdb.base/maint.exp: Update testing of per-command stats.
11229
11230 2014-07-16  Pedro Alves  <palves@redhat.com>
11231
11232         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11233         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11234         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11235         (tfile_write_buf): New functions.
11236         (add_memory_block): Rewrite using the above.
11237         (adjust_function_address): New function.
11238         (FUNCTION_ADDRESS): New macro.
11239         (write_basic_trace_file): Remove short_x local, and use
11240         tfile_write_16. Change type of func_addr local to unsigned long
11241         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
11242         here.  Cast argument of add_memory_block to char pointer.
11243         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
11244         (main): Remove parameters.
11245         * gdb.trace/tfile.exp: Remove nowarnings.
11246
11247 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
11248
11249         * gdb.base/debug-expr.exp: Test string evaluation with
11250         "debug expression" on.
11251
11252 2014-07-15  Pedro Alves  <palves@redhat.com>
11253
11254         * gdb.base/reread.exp: Use clean_restart.
11255
11256 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
11257
11258         * gdb.arch/avr-flash-qualifer.c: New.
11259         * gdb.arch/avr-flash-qualifer.exp: New.
11260
11261 2014-07-14  Pedro Alves  <palves@redhat.com>
11262
11263         * gdb.base/paginate-after-ctrl-c-running.c: New file.
11264         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11265
11266 2014-07-14  Pedro Alves  <palves@redhat.com>
11267
11268         * gdb.base/double-prompt-target-event-error.c: New file.
11269         * gdb.base/double-prompt-target-event-error.exp: New file.
11270
11271 2014-07-14  Pedro Alves  <palves@redhat.com>
11272
11273         PR gdb/17072
11274         * gdb.base/paginate-inferior-exit.c: New file.
11275         * gdb.base/paginate-inferior-exit.exp: New file.
11276
11277 2014-07-14  Pedro Alves  <palves@redhat.com>
11278
11279         PR gdb/17072
11280         * gdb.base/paginate-bg-execution.c: New file.
11281         * gdb.base/paginate-bg-execution.exp: New file.
11282
11283 2014-07-14  Pedro Alves  <palves@redhat.com>
11284
11285         PR gdb/17072
11286         * gdb.base/paginate-execution-startup.c: New file.
11287         * gdb.base/paginate-execution-startup.exp: New file.
11288         * lib/gdb.exp (pagination_prompt): New global.
11289         (default_gdb_spawn): New procedure, factored out from
11290         default_gdb_spawn.
11291         (default_gdb_start): Adjust to call default_gdb_spawn.
11292         (gdb_spawn): New procedure.
11293
11294 2014-07-14  Pedro Alves  <palves@redhat.com>
11295
11296         * lib/gdb.exp (gdb_assert): New procedure.
11297         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11298
11299 2014-07-14  Pedro Alves  <palves@redhat.com>
11300
11301         * gdb.base/execution-termios.c: New file.
11302         * gdb.base/execution-termios.exp: New file.
11303
11304 2014-07-14  Tom Tromey  <tromey@redhat.com>
11305
11306         * gdb.cp/vla-cxx.cc: New file.
11307         * gdb.cp/vla-cxx.exp: New file.
11308
11309 2014-07-14  Tom Tromey  <tromey@redhat.com>
11310
11311         * gdb.reverse/rerun-prec.c: New file.
11312         * gdb.reverse/rerun-prec.exp: New file.
11313
11314 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
11315             Maciej W. Rozycki  <macro@codesourcery.com>
11316
11317         * lib/gdb-utils.exp: New file.
11318         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11319         inline `gdb_init_command' processing.
11320         (gdb_start_cmd): Likewise.
11321         * lib/mi-support.exp (mi_run_cmd): Likewise.
11322         * README: Document `gdb_init_command' and `gdb_init_commands'.
11323
11324 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11325
11326         Fix false FAIL running under a very long directory name.
11327         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11328         and "set print elements 10000".  Twice.
11329
11330 2014-07-11  Yao Qi  <yao@codesourcery.com>
11331
11332         * gdb.base/exprs.exp: "set print symbol off".
11333
11334 2014-07-11  Pedro Alves  <palves@redhat.com>
11335
11336         * gdb.threads/kill.c: New file.
11337         * gdb.threads/kill.exp: New file.
11338
11339 2014-07-10  Yao Qi  <yao@codesourcery.com>
11340
11341         * gdb.trace/tfile.c (write_basic_trace_file)
11342         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11343         address written to trace file.
11344
11345 2014-07-09  Pedro Alves  <palves@redhat.com>
11346
11347         * gdb.base/attach-wait-input.exp: New file.
11348         * gdb.base/attach-wait-input.c: New file.
11349
11350 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
11351
11352         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11353         setting up test structures.
11354         (main): Call new test function.
11355         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11356         test function, continue into test function and walk test
11357         structures.
11358
11359 2014-07-02  Yao Qi  <yao@codesourcery.com>
11360
11361         * gdb.trace/entry-values.c: Define labels 'foo_start' and
11362         'bar_start' at the beginning of functions 'foo' and 'bar'
11363         respectively.
11364         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11365         instead of 'foo' and 'bar'.
11366
11367 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
11368
11369         * gdb.btrace/segv.exp: New.
11370         * gdb.btrace/segv.c: New.
11371
11372 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
11373
11374         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11375         instruction.
11376
11377 2014-06-30  Mark Wielaard  <mjw@redhat.com>
11378
11379         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11380         vulture, vilify, villar): New volatile array constants.
11381         (vindictive, vegetation): New const volatile array constants.
11382         * gdb.base/volatile.exp: Test volatile and const volatile array
11383         types.
11384
11385 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11386
11387         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11388         target lacks support for awatch, rwatch, or hbreak.
11389
11390 2014-06-27  Yao Qi  <yao@codesourcery.com>
11391
11392         * gdb.multi/dummy-frame-restore.exp: New.
11393         * gdb.multi/dummy-frame-restore.c: New.
11394
11395 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
11396
11397         * gdb.btrace/gcore.exp: New.
11398
11399 2014-06-23  Pedro Alves  <palves@redhat.com>
11400
11401         * gdb.base/watchpoint-reuse-slot.c: New file.
11402         * gdb.base/watchpoint-reuse-slot.exp: New file.
11403
11404 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
11405
11406         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11407         progspace's filename in 'info', 'enable' and 'disable' command
11408         tests.
11409
11410 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
11411
11412         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11413         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11414         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11415
11416 2014-06-20  Gary Benson  <gbenson@redhat.com>
11417
11418         * gdb.arch/i386-avx.exp: Fix include file location.
11419         * gdb.arch/i386-sse.exp: Likewise.
11420
11421 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
11422
11423         * gdb.dlang/expression.exp: New file.
11424
11425 2014-06-19  Pedro Alves  <palves@redhat.com>
11426
11427         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11428         out from ...
11429         (top level): ... here.  Iterate running tests under different
11430         scheduler-locking settings.
11431
11432 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
11433
11434         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11435         to DW_FORM_addr and use non-zero addresses.
11436
11437 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
11438
11439         PR gdb/17017
11440         * gdb.python/py-xmethods.cc: Add global function call counters and
11441         increment them in their respective functions.  Remove "cout"
11442         statements.
11443         * gdb.python/py-xmethods.exp: Make tests check the global function
11444         call counters instead of depending on inferior IO.
11445
11446 2014-06-18  Don Breazeal  <donb@codesourcery.com>
11447
11448         * gdb.base/foll-fork.exp (default_fork_parent_follow):
11449         Deleted procedure.
11450         (explicit_fork_parent_follow): Deleted procedure.
11451         (explicit_fork_child_follow): Deleted procedure.
11452         (test_follow_fork): New procedure.
11453         (do_fork_tests): Replace calls to deleted procedures with
11454         calls to test_follow_fork and reset GDB for subsequent
11455         procedure calls.
11456
11457 2014-06-17  Yao Qi  <yao@codesourcery.com>
11458
11459         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11460         CP1252.
11461
11462 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
11463
11464         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11465         Initialize ptr and S explicitly.
11466         (skip_type_update_when_not_use_rtti_test): Likewise.
11467
11468 2014-06-16  Keith Seitz  <keiths@redhat.com>
11469
11470         PR mi/15863
11471         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11472         the inferior is started.
11473
11474 2014-06-16  Pedro Alves  <palves@redhat.com>
11475
11476         * gdb.base/break-main-file-remove-fail.c: New file.
11477         * gdb.base/break-main-file-remove-fail.exp: New file.
11478         * gdb.base/break-unload-file.exp: Use build_executable instead of
11479         prepare_for_testing.
11480         (test_break): New parameter "initial_load".  Handle it.
11481         (top level): Add initial_load cmdline/file axis.
11482
11483 2014-06-12  Tom Tromey  <tromey@redhat.com>
11484
11485         * gdb.base/completion.exp: Don't use directory name in test.
11486
11487 2014-06-09  Gary Benson  <gbenson@redhat.com>
11488
11489         * gdb.base/sigall.c [Functions to send signals]: Reorder to
11490         separate the always-available ANSI-standard signals from the
11491         signals that require checking.
11492         (main): Likewise.
11493         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11494         Likewise.
11495         (main): Likewise.
11496
11497 2014-06-07  Keith Seitz  <keiths@redhat.com>
11498
11499         Revert:
11500         PR c++/16253
11501         * gdb.cp/var-tag.cc: New file.
11502         * gdb.cp/var-tag.exp: New file.
11503         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11504         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11505         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11506         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11507
11508 2014-06-06  Doug Evans  <xdje42@gmail.com>
11509
11510         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11511
11512 2014-06-06  Pedro Alves  <palves@redhat.com>
11513
11514         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11515         in target debug output instead of looking at RSP packets,
11516         disabling the test on any target that uses hardware stepping.
11517         Update comments.
11518
11519 2014-06-06  Pedro Alves  <palves@redhat.com>
11520
11521         * gdb.base/break-unload-file.exp: Fix typo.
11522
11523 2014-06-06  Yao Qi  <yao@codesourcery.com>
11524
11525         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11526         from "jit_function" to "^jit_function".
11527
11528 2014-06-06  Yao Qi  <yao@codesourcery.com>
11529
11530         * gdb.base/async.c (foo): Add one statement.
11531         * gdb.base/async.exp: Get the next instruction address and
11532         match the output of "nexti" by instruction address.  Match
11533         the hex address in the output of "finish".
11534
11535 2014-06-06  Gary Benson  <gbenson@redhat.com>
11536
11537         * gdb.base/call-signals.c: Remove preprocessor conditionals
11538         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11539         SIGSEGV and SIGTERM.
11540         * gdb.base/sigall.c: Likewise.
11541         * gdb.base/unwindonsignal.c: Likewise.
11542         * gdb.reverse/sigall-reverse.c: Likewise.
11543
11544 2014-06-06  Yao Qi  <yao@codesourcery.com>
11545
11546         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
11547         readable, skip the test.
11548
11549 2014-06-06  Yao Qi  <yao@codesourcery.com>
11550
11551         * gdb.threads/staticthreads.c (thread_function): Move the line
11552         setting breakpoint on forward.
11553         * gdb.threads/staticthreads.exp: Update comments.
11554
11555 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
11556
11557         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11558         "history-append! type error".
11559
11560 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
11561
11562         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11563         erroneous dprintf expected input.
11564
11565 2014-06-04  Doug Evans  <xdje42@gmail.com>
11566
11567         * gdb.guile/scm-generics.exp: Delete.
11568
11569 2014-06-04  Doug Evans  <xdje42@gmail.com>
11570
11571         * gdb.guile/scm-breakpoint.exp: Update.
11572         Add tests for breakpoint registration.
11573
11574 2014-06-04  Tom Tromey  <tromey@redhat.com>
11575
11576         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11577         VLA-in-union.
11578         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11579         inner_vla_struct, vla_union types.  Initialize objects of those
11580         types and compute their sizes.
11581
11582 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
11583             Hui Zhu  <hui@codesourcery.com>
11584
11585         * gdb.base/fileio.exp: Add test for shell not available as well as
11586         available.
11587         * gdb.base/fileio.c (test_system): Check for shell twice.
11588
11589 2014-06-04  Yao Qi  <yao@codesourcery.com>
11590
11591         * gdb.base/auto-connect-native-target.exp: Remove redundant
11592         space from the regexp pattern.
11593
11594 2014-06-04  Yao Qi  <yao@codesourcery.com>
11595
11596         * gdb.base/default.exp: Replace "child" with "native" in
11597         regexp pattern.
11598
11599 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
11600
11601         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11602         * gdb.python/py-xmethods.exp: New tests to test xmethods.
11603         * gdb.python/py-xmethods.py: Python script supporting the
11604         new testcase and tests.
11605
11606 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
11607             Pedro Alves  <palves@redhat.com>
11608
11609         PR breakpoints/17000
11610         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11611         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11612
11613 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
11614
11615         * gdb.base/subst.exp: Add tests to verify partial path matching
11616         output.
11617
11618 2014-06-03  Pedro Alves  <palves@redhat.com>
11619
11620         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11621         target that doesn't use software single-stepping.
11622
11623 2014-06-03  Pedro Alves  <palves@redhat.com>
11624
11625         PR breakpoints/17000
11626         * gdb.base/sss-bp-on-user-bp-2.c: New file.
11627         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11628
11629 2014-06-02  Doug Evans  <xdje42@gmail.com>
11630
11631         * gdb.guile/scm-parameter.exp: New file.
11632
11633 2014-06-02  Doug Evans  <xdje42@gmail.com>
11634
11635         * gdb.guile/scm-cmd.c: New file.
11636         * gdb.guile/scm-cmd.exp: New file.
11637
11638 2014-06-02  Doug Evans  <xdje42@gmail.com>
11639
11640         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11641         pretty-printer lookup.
11642         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11643         (make-pp_s-printer): Call it.
11644         (make-pretty-printer-from-dict): New function.
11645         (lookup-pretty-printer-maker-from-dict): New function.
11646         (*pretty-printer*): Simplify.
11647         (make-objfile-pp_s-printer): New function.
11648         (install-objfile-pretty-printers!): New function.
11649         (make-progspace-pp_s-printer): New function.
11650         (install-progspace-pretty-printers!): New function.
11651         * gdb.guile/scm-progspace.c: New file.
11652         * gdb.guile/scm-progspace.exp: New file.
11653
11654 2014-06-02  Pedro Alves  <palves@redhat.com>
11655
11656         * gdb.base/dprintf-bp-same-addr.c: New file.
11657         * gdb.base/dprintf-bp-same-addr.exp: New file.
11658
11659 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11660
11661         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11662         * gdb.arch/powerpc-power.s: Likewise.
11663
11664 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
11665
11666         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11667
11668 2014-06-01  Yao Qi  <yao@codesourcery.com>
11669
11670         * gdb.base/watchpoint.exp (test_watch_location): Check null
11671         pointer can be dereferenced.  If not, do the test, otherwise
11672         skip it.
11673
11674 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
11675
11676         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11677         results.
11678         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11679
11680 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
11681
11682         * gdb.arch/amd64-invalid-stack-middle.S: New file.
11683         * gdb.arch/amd64-invalid-stack-middle.c: New file.
11684         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11685         * gdb.arch/amd64-invalid-stack-top.c: New file.
11686         * gdb.arch/amd64-invalid-stack-top.exp: New file.
11687
11688 2014-05-30  Pedro Alves  <palves@redhat.com>
11689
11690         PR breakpoints/17000
11691         * gdb.base/sss-bp-on-user-bp.c: New file.
11692         * gdb.base/sss-bp-on-user-bp.exp: New file.
11693
11694 2014-05-30  David Blaikie  <dblaikie@gmail.com>
11695
11696         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11697         gnu_inline semantics via attribute.
11698         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11699         source explicitly specifies the required semantics.
11700
11701 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
11702
11703         * gdb.reverse/sigall-reverse.exp: Fix a typo.
11704
11705 2014-05-29  Pedro Alves  <palves@redhat.com>
11706             Tom Tromey  <tromey@redhat.com>
11707
11708         * gdb.base/async-shell.exp: Don't enable target-async.
11709         * gdb.base/async.exp
11710         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11711         parameter.  Adjust.
11712         (top level): Don't test with "target-async".
11713         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11714         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11715         * gdb.base/inferior-died.exp: Don't enable target-async.
11716         * gdb.base/interrupt-noterm.exp: Likewise.
11717         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11718         * gdb.mi/mi-nonstop-exit.exp: Likewise.
11719         * gdb.mi/mi-nonstop.exp: Likewise.
11720         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11721         * gdb.mi/mi-nsintrall.exp: Likewise.
11722         * gdb.mi/mi-nsmoribund.exp: Likewise.
11723         * gdb.mi/mi-nsthrexec.exp: Likewise.
11724         * gdb.mi/mi-watch-nonstop.exp: Likewise.
11725         * gdb.multi/watchpoint-multi.exp: Adjust comment.
11726         * gdb.python/py-evsignal.exp: Don't enable target-async.
11727         * gdb.python/py-evthreads.exp: Likewise.
11728         * gdb.python/py-prompt.exp: Likewise.
11729         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11730         * gdb.server/solib-list.exp: Don't enable target-async.
11731         * gdb.threads/thread-specific-bp.exp: Likewise.
11732         * lib/mi-support.exp: Adjust to use mi-async.
11733
11734 2014-05-29  Pedro Alves  <palves@redhat.com>
11735
11736         PR gdb/13860
11737         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11738         reason, even in sync mode.
11739
11740 2014-05-29  Pedro Alves  <palves@redhat.com>
11741             Hui Zhu  <hui@codesourcery.com>
11742
11743         PR PR15693
11744         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11745         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11746         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11747         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11748
11749 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
11750
11751         * config/monitor.exp (gdb_target_monitor): Replace use of
11752         "set remotebaud" by "set serial baud".
11753
11754 2014-05-26  Andy Wingo  <wingo@igalia.com>
11755
11756         * gdb.guile/scm-breakpoint.exp:
11757         * gdb.guile/scm-gsmob.exp: Update to use plain old object
11758         properties instead of gdb-object-properties.
11759
11760 2014-05-26  Yao Qi  <yao@codesourcery.com>
11761
11762         * gdb.server/no-thread-db.exp: Specify source file name
11763         explicitly when setting a breakpoint.
11764
11765 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
11766
11767         * gdb.btrace/vdso.c: New.
11768         * gdb.btrace/vdso.exp: New.
11769
11770 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
11771
11772         * gdb.base/gcore.exp (capture_command_output): Move ...
11773         * lib/gdb.exp (capture_command_output): ... here.
11774
11775 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
11776
11777         * gdb.btrace/data.exp: Test memory access during btrace replay.
11778
11779 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
11780
11781         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11782
11783 2014-05-21  Pedro Alves  <palves@redhat.com>
11784
11785         PR gdb/13860
11786         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11787         (top level): Test that output related to execution commands is
11788         sent to the console with CLI commands, but not with MI commands.
11789         Test that breakpoint events are always mirrored to the console.
11790         Also expect the new source line to be output after a "next" in
11791         async mode too.  Make it a pass/fail test.
11792         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11793         output.
11794         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11795
11796 2014-05-21  Pedro Alves  <palves@redhat.com>
11797
11798         * gdb.base/list.exp (build_pattern, test_list): New procedures.
11799         Use them to test variations of "list" after reaching a breakpoint.
11800         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11801         Test "list" with listsize 10 after reaching a breakpoint.
11802         * gdb.python/python.exp (decode_line current location line
11803         number): Adjust expected line number.
11804
11805 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
11806
11807         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11808         behavior for $args, pass it directly to "run".
11809
11810 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
11811
11812         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11813         30000 to 65536.
11814
11815 2014-05-21  Pedro Alves  <palves@redhat.com>
11816
11817         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11818         auto-connect-native-target off".
11819         * gdb.base/auto-connect-native-target.c: New file.
11820         * gdb.base/auto-connect-native-target.exp: New file.
11821
11822 2014-05-21  Pedro Alves  <palves@redhat.com>
11823
11824         * gdb.base/default.exp: Test "target native" instead of "target
11825         child".
11826
11827 2014-05-21  Mark Wielaard  <mjw@redhat.com>
11828
11829         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11830
11831 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11832
11833         Fix TLS access for -static -pthread.
11834         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11835         <HAVE_TLS> (thread_function, main): Initialize it.
11836         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11837         Add clean_restart.
11838         <$have_tls != "">: Check TLSVAR.
11839
11840 2014-05-21  Pedro Alves  <palves@redhat.com>
11841
11842         * gdb.base/dcache-line-read-error.c: New.
11843         * gdb.base/dcache-line-read-error.exp: New.
11844
11845 2014-05-20  Pedro Alves  <palves@redhat.com>
11846
11847         * gdb.base/compare-sections.c: New file.
11848         * gdb.base/compare-sections.exp: New file.
11849
11850 2014-05-20  Pedro Alves  <palves@redhat.com>
11851
11852         * gdb.base/break-idempotent.c: New file.
11853         * gdb.base/break-idempotent.exp: New file.
11854
11855 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
11856
11857         * gdb.btrace/nohist.exp: New.
11858
11859 2014-05-20  Yao Qi  <yao@codesourcery.com>
11860
11861         * lib/gdb.exp (gdb_init): Set timeout if test file is under
11862         gdb.reverse directory and gdb_reverse_timeout exists in board
11863         setting.
11864         * README: Document gdb_reverse_timeout.
11865
11866 2014-05-20  Yao Qi  <yao@codesourcery.com>
11867
11868         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11869         'test_file_name'.  Treat args as a string instead of a list.
11870         (gdb_init): Rename argument 'args' by 'test_file_name'.
11871
11872 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11873
11874         * gdb.arch/powerpc-power.exp: New file.
11875         * gdb.arch/powerpc-power.s: New file.
11876
11877 2014-05-16  Doug Evans  <dje@google.com>
11878
11879         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
11880         * gdb.base/completion.exp: Check that all expected files exist
11881         before doing file completion.
11882
11883 2014-05-16  Doug Evans  <dje@google.com>
11884
11885         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11886         Update.
11887         (do_syscall_tests_without_xml): Update.
11888
11889 2014-05-16  Pedro Alves  <palves@redhat.com>
11890
11891         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11892         instead of "unknown output after running".
11893
11894 2014-05-16  Yao Qi  <yao@codesourcery.com>
11895
11896         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
11897         file1.txt from host at the end.
11898         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11899
11900 2014-05-15  Doug Evans  <dje@google.com>
11901
11902         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11903         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11904         loading file.  Add test for TU lookup.
11905
11906 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
11907
11908         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11909         calling "-exec-arguments" or "set args" before running the
11910         inferior.
11911
11912 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
11913
11914         * lib/mi-support.exp (mi_expect_stop): Expect message for
11915         inferiors that exit with non-zero exit code.
11916
11917 2014-05-14  Yao Qi  <yao@codesourcery.com>
11918
11919         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11920         match absolute path on remote host.
11921         (test_file_list_exec_source_files): Remove "/" from the
11922         pattern.
11923
11924 2014-05-14  Yao Qi  <yao@codesourcery.com>
11925
11926         * boards/local-remote-host-notty.exp (${board}_file): New
11927         proc.
11928
11929 2014-05-07  Kyle McMartin  <kyle@redhat.com>
11930
11931         Pushed by Joel Brobecker  <brobecker@adacore.com>.
11932         * gdb.arch/aarch64-atomic-inst.c: New file.
11933         * gdb.arch/aarch64-atomic-inst.exp: New file.
11934
11935 2014-05-07  Yao Qi  <yao@codesourcery.com>
11936
11937         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11938         in current context" too.
11939
11940 2014-05-05  Keith Seitz  <keiths@redhat.com>
11941
11942         * gdb.linespec/ls-dollar.exp: Add test for linespec
11943         file:convenience_variable.
11944
11945 2014-05-05  Yao Qi  <yao@codesourcery.com>
11946
11947         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11948         traceframes into tfile and ctf trace files.  Read data from
11949         trace file and test collected data.
11950         (gdb_collect_locals_test): Likewise.
11951         (gdb_unavailable_registers_test): Likewise.
11952         (gdb_unavailable_floats): Likewise.
11953         (gdb_collect_globals_test): Likewise.
11954         (top-level): Append "ctf" to trace_file_targets if GDB
11955         supports.
11956
11957 2014-05-05  Yao Qi  <yao@codesourcery.com>
11958
11959         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11960         code to ...
11961         (gdb_collect_args_test_1): ... it.  New proc.
11962         (gdb_collect_locals_test): Move some code to ...
11963         (gdb_collect_locals_test_1): ... it.  New proc.
11964         (gdb_unavailable_registers_test): Move some code to ...
11965         (gdb_unavailable_registers_test_1): ... it.  New proc.
11966         (gdb_unavailable_floats): Move some code to ...
11967         (gdb_unavailable_floats_1): ... it.  New proc.
11968
11969 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
11970
11971         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11972         probes to test for bitness recognition.
11973         * gdb.arch/amd64-stap-optional-prefix.exp
11974         (test_probe_value_without_reg): New procedure.
11975         Add code to test for different kinds of bitness.
11976
11977 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
11978
11979         PR breakpoints/16889
11980         * gdb.arch/amd64-stap-optional-prefix.S: New file.
11981         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11982
11983 2014-05-01  Pedro Alves  <palves@redhat.com>
11984
11985         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
11986         gdb_file_cmd if no file is specified.
11987         * boards/native-extended-gdbserver.exp (gdb_load): Use the
11988         last_loaded_file to set the remote exec-file.
11989
11990 2014-05-01  Pedro Alves  <palves@redhat.com>
11991
11992         * boards/local-remote-host.exp: New file.
11993
11994 2014-05-01  Pedro Alves  <palves@redhat.com>
11995
11996         * boards/local-remote-host.exp: Rename to ...
11997         * boards/local-remote-host-notty.exp: ... this.
11998
11999 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
12000
12001         * gdb.ada/dyn_arrayidx: New testcase.
12002
12003 2014-04-26  Yao Qi  <yao@codesourcery.com>
12004
12005         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
12006         and compute the length of function main.  Save it in
12007         $main_length.
12008         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12009         (top-level): Use gdb_compile to compile objects into
12010         executable and restart GDB.  Remove invocation to
12011         prepare_for_testing.
12012
12013 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
12014             Pedro Alves  <palves@redhat.com>
12015
12016         PR server/16255
12017         * gdb.multi/multi-attach.c: New file.
12018         * gdb.multi/multi-attach.exp: New file.
12019
12020 2014-04-25  Pedro Alves  <palves@redhat.com>
12021
12022         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12023         user.
12024         (top level): Test that "set remote conditional-breakpoints-packet
12025         off" works as intended.
12026         * gdb.base/dprintf.exp: Test that "set remote
12027         breakpoint-commands-packet off" works as intended.
12028         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12029         New function.
12030         (top level): Call it.
12031         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12032         remote fast-tracepoints-packet off" works as intended.
12033         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12034         * lib/gdb.exp (gdb_is_target_remote): ... here.
12035
12036 2014-04-24  David Blaikie  <dblaikie@gmail.com>
12037
12038         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12039         ensure clang would not discard them.
12040         * gdb.base/gdbvars.c: Ditto.
12041         * gdb.base/memattr.c: Ditto.
12042         * gdb.base/whatis.c: Ditto.
12043         * gdb.python/py-prettyprint.c: Ditto.
12044         * gdb.trace/actions.c: Ditto.
12045         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12046         ensure clang would not discard it.
12047
12048 2014-04-24  David Blaikie  <dblaikie@gmail.com>
12049
12050         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12051         clang to emit the full definition of type required by the test
12052         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12053
12054 2014-04-24  David Blaikie  <dblaikie@gmail.com>
12055
12056         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12057         coax Clang into emitting the definition of the type.
12058         * gdb.cp/pr10728-x.h (y): Ditto.
12059         * gdb.cp/pr10728-y.cc (y): Ditto.
12060
12061 2014-04-24  David Blaikie  <dblaikie@gmail.com>
12062
12063         * gdb.base/label.exp: XFAIL label related tests under Clang.
12064         * gdb.cp/cplabel.exp: Ditto.
12065         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12066         under Clang those using labels.
12067
12068 2014-04-25  Yao Qi  <yao@codesourcery.com>
12069
12070         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12071         double_label.
12072         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12073         partial_label and double_label.
12074
12075 2014-04-24  David Blaikie  <dblaikie@gmail.com>
12076
12077         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12078
12079 2014-04-24  David Blaikie  <dblaikie@gmail.com>
12080
12081         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12082         of the function to work across GCC and Clang.
12083         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12084         pointer types (const void ** const V void **).
12085
12086 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
12087             Walfred Tedeschi  <walfred.tedeschi@intel.com>
12088
12089         * Makefile.in (EXECUTABLES): Added i386-avx512.
12090         * gdb.arch/i386-avx512.c: New file.
12091         * gdb.arch/i386-avx512.exp: Likewise.
12092
12093 2014-04-23  Keith Seitz  <keiths@redhat.com>
12094
12095         * lib/mi-support.exp (mi_list_breakpoints): Delete.
12096         (mi_make_breakpoint_table): New procedure.
12097         (mi_create_breakpoint): Use mi_make_breakpoint
12098         and return the result.
12099         (mi_make_breakpoint): New procedure.
12100         (mi_build_kv_pairs): New procedure.
12101
12102         * gdb.mi/mi-break.exp: Remove unused globals,
12103         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12104         All callers updated.
12105         * gdb.mi/mi-dprintf.exp: Use variable to track command
12106         number.
12107         Update all callers of mi_create_breakpoint and use
12108         mi_make_breakpoint_table.
12109         Remove any unused global variables.
12110         * gdb.mi/mi-nonstop.exp: Likewise.
12111         * gdb.mi/mi-nsintrall.exp: Likewise.
12112         * gdb.mi/mi-nsmoribund.exp: Likewise.
12113         * gdb.mi/mi-nsthrexec.exp: Likewise.
12114         * gdb.mi/mi-reverse.exp: Likewise.
12115         * gdb.mi/mi-simplerun.exp: Likewise.
12116         * gdb.mi/mi-stepn.exp: Likewise.
12117         * gdb.mi/mi-syn-frame.exp: Likewise.
12118         * gdb.mi/mi-until.exp: Likewise.
12119         * gdb.mi/mi-var-cp.exp: Likewise.
12120         * gdb.mi/mi-var-display.exp: Likewise.
12121         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12122         * gdb.mi/mi2-var-child.exp: Likewise.
12123         * gdb.mi/mi-vla-c99.exp: Likewise.
12124         * lib/mi-support.exp: Likewise.
12125
12126         From Ian Lance Taylor  <iant@cygnus.com>:
12127         * lib/gdb.exp (parse_args): New procedure.
12128
12129 2014-04-23  Pedro Alves  <palves@redhat.com>
12130
12131         * gdb.base/break-unload-file.c: New file.
12132         * gdb.base/break-unload-file.exp: New file.
12133         * gdb.base/sym-file-lib.c (baz): New function.
12134         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12135         field.
12136         (load): Store the segment's mapped size.
12137         (unload): New function.
12138         (unload_shlib): New function.
12139         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12140         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12141         set a breakpoint at baz, and call it.
12142         * gdb.base/sym-file.exp: New tests for stale breakpoint
12143         instructions.
12144
12145 2014-04-23  Pedro Alves  <palves@redhat.com>
12146
12147         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12148         * gdb.base/hbreak-in-shr-unsupported.c: New file.
12149         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12150         * gdb.base/hbreak-unmapped.c: New file.
12151         * gdb.base/hbreak-unmapped.exp: New file.
12152         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12153         * lib/gdb.exp (gdb_is_target_remote): ... here.
12154
12155 2014-04-22  Pedro Alves  <palves@redhat.com>
12156
12157         * gdb.base/consecutive-step-over.c: New file.
12158         * gdb.base/consecutive-step-over.exp: New file.
12159
12160 2014-04-22  Pedro Alves  <palves@redhat.com>
12161
12162         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12163         instead of send_gdb/gdb_expect.
12164
12165 2014-04-22  Yao Qi  <yao@codesourcery.com>
12166
12167         * lib/trace-support.exp (generate_tracefile): New procedure.
12168         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12169         return 0.
12170         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12171         if generate_tracefile returns 1.
12172
12173 2014-04-18  Tom Tromey  <palves@redhat.com>
12174             Pedro alves  <tromey@redhat.com>
12175
12176         PR backtrace/15558
12177         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12178         with a backtrace limit.
12179         * gdb.python/py-frame-inline.exp: Test running to an inline
12180         function with a backtrace limit, and printing the newest frame.
12181         * gdb.python/py-frame-inline.c (main): Call f.
12182
12183 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12184
12185         * gdb.java/jnpe.exp: Drop srcdir from untested path.
12186
12187 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12188
12189         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12190         Drop prefix from unsupported source file path.
12191
12192 2014-04-17  Yao Qi  <yao@codesourcery.com>
12193
12194         * lib/gdb.exp (with_target_charset): New proc.
12195         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12196         with_target_charset.
12197         (test_print_strings): Likewise.
12198         (test_repeat_bytes): Likewise.
12199         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12200         for some tests.
12201
12202 2014-04-16  Keith Seitz  <keiths@redhat.com>
12203
12204         PR gdb/15827
12205         * gdb.dwarf2/corrupt.c: New file.
12206         * gdb.dwarf2/corrupt.exp: New file.
12207
12208 2014-04-16  Keith Seitz  <keiths@redhat.com>
12209
12210         PR c++/16597
12211         * gdb.cp/namelessclass.cc: New file.
12212         * gdb.cp/namelessclass.exp: New file.
12213         * gdb.cp/namelessclass.S: New file.
12214
12215 2014-04-16  Doug Evans  <dje@google.com>
12216
12217         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12218         Add comment.
12219         (gdbserver_default_get_comm_port): New function.
12220         (gdbserver_start): Check if board file provided
12221         "gdbserver,get_comm_port" and use it if so.
12222         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12223         (gdb,socketport): Set to "stdio".
12224         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12225         (stdio_gdbserver_template): Delete.
12226         (${board}_get_remote_address): Update.
12227         (${board}_build_remote_cmd): Delete.
12228         (${board}_get_comm_port): New function.
12229         (${board}_spawn): Update.
12230         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12231         Delete.
12232         (${board}_get_remote_address): Update.
12233         (${board}_get_comm_port): New function.
12234
12235 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
12236
12237         * gdb.base/memattr.exp: Improve regexps to handle memory regions
12238         appearing in any order.
12239
12240 2014-04-15  Doug Evans  <dje@google.com>
12241
12242         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12243         uninitialized value of "description".
12244
12245 2014-04-15  Keith Seitz  <keiths@redhat.com>
12246
12247         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12248         Remove unused globals.
12249         (test_running_the_program): Likewise.
12250         (test_controlled_execution): Likewise.
12251         (test_controlling_breakpoints): Likewise.
12252         (test_program_termination): Likewise.
12253
12254 2014-04-15  Keith Seitz  <keiths@redhat.com>
12255
12256         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12257         unused globals.
12258         (test_rbreak_creation_and_listing): Likewise.
12259         (test_ignore_count): Likewise.
12260         (test_error): Likewise.
12261
12262 2014-04-15  Pedro Alves  <palves@redhat.com>
12263
12264         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12265         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12266         sym-file-loader.c.
12267         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12268         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12269         to sym-file-loader.c.
12270         (struct library): Forward declare.
12271         (load_shlib, lookup_function): Change prototypes.
12272         (find_shstrtab, find_strtab, find_shdr, find_symtab)
12273         (translate_offset): Remove declarations.
12274         (get_text_addr): New declaration.
12275         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12276         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12277         sym-file-loader.h.
12278         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12279         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12280         here from sym-file-loader.h.
12281         (struct library): New structure.
12282         (load_shlib, lookup_function): Change prototypes and adjust to
12283         work with a struct library.
12284         (find_shstrtab, find_strtab, find_shdr, find_symtab)
12285         (translate_offset): Make static.
12286         (get_text_addr): New function.
12287         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12288
12289 2014-04-15  Pedro Alves  <palves@redhat.com>
12290
12291         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
12292
12293 2014-04-15  Pedro Alves  <palves@redhat.com>
12294
12295         * gdb.base/sym-file-loader.c: Include <limits.h>.
12296         (SELF_LINK): New define.
12297         (get_origin): New function.
12298         (load_shlib): Use it.
12299         * gdb.base/sym-file.exp: Don't early return if the target is
12300         remote.  Use runto_main, and issue fail is that fails.  Use
12301         gdb_load_shlibs.
12302         (shlib_name): Delete.
12303         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
12304
12305 2014-04-15  Pedro Alves <palves@redhat.com>
12306
12307         * gdb.base/sym-file.exp: Remove regex characters from test
12308         message.  Don't refer to breakpoint numbers in test messages.
12309
12310 2014-04-14  Keith Seitz  <keiths@redhat.com>
12311
12312         PR c++/16253
12313         * gdb.cp/var-tag.cc: New file.
12314         * gdb.cp/var-tag.exp: New file.
12315         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12316         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12317         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12318         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12319
12320 2014-04-14  Tom Tromey  <tromey@redhat.com>
12321
12322         * gdb.cp/classes.exp (test_enums): Handle underlying type.
12323         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12324         type.
12325         * gdb.cp/enum-class.exp: New file.
12326         * gdb.cp/enum-class.cc: New file.
12327
12328 2014-04-14  Tom Tromey  <tromey@redhat.com>
12329
12330         * gdb.dwarf2/enum-type.exp: New file.
12331
12332 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12333
12334         * gdb.mi/mi-vla-c99.exp: New file.
12335         * gdb.mi/vla.c: New file.
12336
12337 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12338
12339         * gdb.base/vla-datatypes.c: New file.
12340         * gdb.base/vla-datatypes.exp: New file.
12341
12342 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12343
12344         * gdb.base/vla-ptr.c: New file.
12345         * gdb.base/vla-ptr.exp: New file.
12346
12347 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12348
12349         * gdb.dwarf2/count.exp: New file.
12350
12351 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12352
12353         * gdb.base/vla-sideeffect.c: New file.
12354         * gdb.base/vla-sideeffect.exp: New file.
12355
12356 2014-04-14  David Blaikie <dblaikie@gmail.com>
12357
12358         * gdb.mi/non-stop.c: Add return value for non-void function return
12359         statement.
12360         * gdb.threads/staticthreads.c: Ditto.
12361
12362 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
12363             Doug Evans  <xdje42@gmail.com>
12364
12365         * gdb.guile/scm-value.c: Improve test case.
12366         * gdb.guile/scm-value.exp: Add new test.
12367
12368 2014-04-11  David Blaikie  <dblaikie@gmail.com>
12369
12370         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12371         override Clang's default.
12372
12373 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
12374
12375         Revert the following changes (regressions):
12376
12377         * gdb.base/vla-sideeffect.c: New file.
12378         * gdb.base/vla-sideeffect.exp: New file.
12379
12380         * gdb.dwarf2/count.exp: New file.
12381
12382         * gdb.base/vla-multi.c: New file.
12383         * gdb.base/vla-multi.exp: New file.
12384
12385         * gdb.base/vla-ptr.c: New file.
12386         * gdb.base/vla-ptr.exp: New file.
12387
12388         * gdb.base/vla-datatypes.c: New file.
12389         * gdb.base/vla-datatypes.exp: New file.
12390
12391         * gdb.mi/mi-vla-c99.exp: New file.
12392         * gdb.mi/vla.c: New file.
12393
12394 2014-04-11  Keith Seitz  <keiths@redhat.com>
12395
12396         PR c++/16675
12397         * gdb.cp/cpsizeof.exp: New file.
12398         * gdb.cp/cpsizeof.cc: New file.
12399
12400 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12401
12402         * gdb.mi/mi-vla-c99.exp: New file.
12403         * gdb.mi/vla.c: New file.
12404
12405 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12406
12407         * gdb.base/vla-datatypes.c: New file.
12408         * gdb.base/vla-datatypes.exp: New file.
12409
12410 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12411
12412         * gdb.base/vla-ptr.c: New file.
12413         * gdb.base/vla-ptr.exp: New file.
12414
12415 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12416
12417         * gdb.base/vla-multi.c: New file.
12418         * gdb.base/vla-multi.exp: New file.
12419
12420 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12421
12422         * gdb.dwarf2/count.exp: New file.
12423
12424 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12425
12426         * gdb.base/vla-sideeffect.c: New file.
12427         * gdb.base/vla-sideeffect.exp: New file.
12428
12429 2014-04-11  Yao Qi  <yao@codesourcery.com>
12430
12431         * gdb.base/completion.exp: Check file exists before running tests
12432         on file completion.
12433
12434 2014-04-10  Pedro Alves  <palves@redhat.com>
12435
12436         * gdb.base/cond-eval-mode.c: New file.
12437         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
12438         prepare_for_testing to build the new file.  Check result of
12439         runto_main.
12440         (test_break, test_watch): New procedures.
12441         (top level): Use them.
12442
12443 2014-04-08  Pierre Muller  <muller@sourceware.org>
12444
12445         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12446         Ctrl-V use for mingw hosts.
12447
12448 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
12449
12450         * gdb.python/py-value.c: Improve test case.
12451         * gdb.python/py-value.exp: Add new test.
12452
12453 2014-04-07  David Blaikie  <dblaikie@gmail.com>
12454
12455         * lib/compiler.c: Identify the clang compiler.
12456         * lib/compiler.cc: Ditto.
12457
12458 2014-04-03  Yao Qi  <yao@codesourcery.com>
12459
12460         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12461
12462 2014-04-01  Anton Blanchard  <anton@samba.org>
12463
12464         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
12465         messages unique.
12466
12467 2014-04-01  Anton Blanchard  <anton@samba.org>
12468
12469         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12470         prepare_for_testing.
12471
12472 2014-04-01  Anton Blanchard  <anton@samba.org>
12473
12474         * gdb.arch/ppc64-atomic-inst.c: Remove.
12475         * gdb.arch/ppc64-atomic-inst.S: New file.
12476         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12477
12478 2014-03-31  Doug Evans  <dje@google.com>
12479
12480         * gdb.base/print-symbol-loading-lib.c: New file.
12481         * gdb.base/print-symbol-loading-main.c: New file.
12482         * gdb.base/print-symbol-loading.exp: New file.
12483
12484 2014-03-31  Yao Qi  <yao@codesourcery.com>
12485
12486         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12487
12488 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
12489
12490         * gdb.ada/mi_dyn_arr: New testcase.
12491
12492 2014-03-27  Doug Evans  <dje@google.com>
12493
12494         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12495
12496 2014-03-27  Yao Qi  <yao@codesourcery.com>
12497
12498         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12499         if target is nios2-*-*.
12500
12501 2014-03-26  Yao Qi  <yao@codesourcery.com>
12502
12503         * lib/gdb.exp (readline_is_used): New proc.
12504         * gdb.base/completion.exp: Move tests on command complete up.
12505         Skip the rest of tests if readline is not used.
12506         * gdb.ada/complete.exp: Skp the test if readline is not
12507         used.
12508         * gdb.base/filesym.exp: Likewise.
12509         * gdb.base/macscp.exp: Likewise.
12510         * gdb.base/readline-ask.exp: Likewise.
12511         * gdb.base/readline.exp: Likewise.
12512         * gdb.python/py-cmd.exp: Likewise.
12513         * gdb.trace/tfile.exp: Likewise.
12514
12515 2014-03-26  Yao Qi  <yao@codesourcery.com>
12516
12517         * gdb.base/macscp.exp: Fix code format issues.
12518
12519 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
12520
12521         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12522         * gdb.asm/powerpc64le.inc: New file.
12523
12524 2014-03-25  Pedro Alves  <palves@redhat.com>
12525             Doug Evans  <dje@google.com>
12526
12527         * gdb.base/source-execution.c: New file.
12528         * gdb.base/source-execution.exp: New file.
12529         * gdb.base/source-execution.gdb: New file.
12530
12531 2014-03-24  Doug Evans  <dje@google.com>
12532
12533         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12534         using fission.
12535
12536 2014-03-24  Hui Zhu  <hui@codesourcery.com>
12537             Pedro Alves  <palves@redhat.com>
12538
12539         PR breakpoints/16101
12540         * gdb.base/dprintf.exp: Use unsupported rather than changing the
12541         test pass/fail messages.  Detect missing support for dprintf when
12542         breakpoints are actually inserted.
12543         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12544         breakpoints are actually inserted.
12545         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12546         fails.
12547
12548 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12549
12550         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12551
12552 2014-03-22  Doug Evans  <xdje42@gmail.com>
12553
12554         * gdb.python/python.exp (python not supported): Verify multi-line
12555         python command issues an error.
12556         * gdb.guile/guile.exp (guile not supported): Verify multi-line
12557         guile command issues an error.
12558
12559 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
12560
12561         * gdb.threads/thread-specific.exp: Handle the lack of usable
12562         $this_breakpoint and $this_thread.
12563
12564 2014-03-21  Hui Zhu  <hui@codesourcery.com>
12565
12566         * gdb.base/attach.exp (do_command_attach_tests): New.
12567
12568 2014-03-20  Tom Tromey  <tromey@redhat.com>
12569             Pedro Alves  <palves@redhat.com>
12570
12571         PR cli/15718
12572         * gdb.base/condbreak-call-false.c: New file.
12573         * gdb.base/condbreak-call-false.exp: New file.
12574
12575 2014-03-20  Pedro Alves  <palves@redhat.com>
12576
12577         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12578         Delete.
12579         (block_signals, unblock_signals): Delete.
12580         (child_function_2, main): Remove references to deleted variable
12581         and functions.
12582
12583 2014-03-20  Pedro Alves  <palves@redhat.com>
12584
12585         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12586         Use pthread_kill to signal thread 2.
12587         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12588         Adjust to make the test send itself a signal rather than using the
12589         host's "kill" command.
12590
12591 2014-03-20  Pedro Alves  <palves@redhat.com>
12592
12593         * gdb.threads/multiple-step-overs.c: New file.
12594         * gdb.threads/multiple-step-overs.exp: New file.
12595         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12596         Adjust expected infrun debug output.
12597
12598 2014-03-20  Pedro Alves  <palves@redhat.com>
12599
12600         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12601         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12602
12603 2014-03-20  Pedro Alves  <palves@redhat.com>
12604
12605         PR breakpoints/7143
12606         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12607         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
12608         of gdb_test_multiple.
12609         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12610         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12611
12612 2014-03-20  Pedro Alves  <palves@redhat.com>
12613
12614         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12615         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12616
12617 2014-03-19  Pedro Alves  <palves@redhat.com>
12618
12619         * gdb.base/async.exp: Remove early return.
12620
12621 2014-03-19  Pedro Alves  <palves@redhat.com>
12622
12623         * gdb.base/async.exp (step& tests): Pass explicit test messages.
12624
12625 2014-03-19  Pedro Alves  <palves@redhat.com>
12626
12627         * gdb.base/async.exp (test_background): Expect \r\n after
12628         "completed." in the fail pattern.
12629
12630 2014-03-19  Pedro Alves  <palves@redhat.com>
12631
12632         * gdb.base/async.exp (test_background): New procedure.
12633         Use it for all background execution command tests.
12634
12635 2014-03-19  Pedro Alves  <palves@redhat.com>
12636
12637         * gdb.base/async.exp: Use prepare_for_testing.
12638
12639 2014-03-19  Pedro Alves  <palves@redhat.com>
12640
12641         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
12642         the same line.
12643
12644 2014-03-19  Pedro Alves  <palves@redhat.com>
12645
12646         * gdb.base/async.c (main): Add "jump here" and "until here" line
12647         marker comments.
12648         * gdb.base/async.exp (jump_here): New global.
12649         (jump& test): Use it.
12650         (until_here): New global.
12651         (until& test): Use it.
12652
12653 2014-03-19  Pedro Alves  <palves@redhat.com>
12654
12655         * gdb.base/async.exp: Don't frob gdb_protocol.
12656
12657 2014-03-18  Doug Evans  <xdje42@gmail.com>
12658
12659         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
12660         Fix spelling of exec-done-display.
12661
12662 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
12663
12664         PR gdb/15358
12665         * gdb.base/gdb-sigterm.c: New file.
12666         * gdb.base/gdb-sigterm.exp: New file.
12667
12668 2014-03-18  Pedro Alves  <palves@redhat.com>
12669
12670         PR gdb/13860
12671         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12672         * lib/mi-support.exp (mi_expect_stop): Add special handling for
12673         solib-event.
12674
12675 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
12676
12677         * gdb.ada/pckd_arr_ren: New testcase.
12678
12679 2014-03-13  Doug Evans  <xdje42@gmail.com>
12680
12681         PR guile/16612
12682         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12683         collect after discarding symbols.
12684
12685 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
12686             Doug Evans  <xdje42@gmail.com>
12687
12688         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12689         to history survives a gc.
12690
12691 2014-03-13  Pedro Alves  <palves@redhat.com>
12692
12693         * gdb.base/default.exp: Don't test "target procfs".
12694
12695 2014-03-13  Pedro Alves  <palves@redhat.com>
12696
12697         * gdb.base/default.exp: Update "target child" and "target procfs"
12698         tests to not expect "Unix".
12699
12700 2014-03-12  Tom Tromey  <tromey@redhat.com>
12701
12702         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12703         New procs.  Add target-async tests.
12704         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12705         Add target-async tests.
12706
12707 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12708
12709         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12710         'func_start' and 'func_end' for the beginning and end of the
12711         function code, respectively.
12712         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12713         'func_end' instead of 'func' and 'main'.
12714
12715 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12716
12717         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12718         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12719         generate the debug info assembler source.
12720
12721 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12722
12723         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12724         * gdb.dwarf2/arr-subrange.exp: Likewise.
12725         * gdb.dwarf2/dwz.exp: Likewise.
12726         * gdb.dwarf2/method-ptr.exp: Likewise.
12727         * gdb.dwarf2/missing-sig-type.exp: Likewise.
12728         * gdb.dwarf2/subrange.exp: Likewise.
12729         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12730         * gdb.dwarf2/implptrpiece.exp: Likewise.
12731         * gdb.dwarf2/nostaticblock.exp: Likewise.
12732
12733 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12734
12735         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12736         directory to absolute path name arguments.
12737
12738 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
12739
12740         * gdb.ada/tagged_access: New testcase.
12741
12742 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
12743
12744         * gdb.btrace/data.exp: Update expected output.
12745
12746 2014-03-06  Yao Qi  <yao@codesourcery.com>
12747
12748         * gdb.trace/pr16508.exp: New file.
12749
12750 2014-03-05  Pedro Alves  <palves@redhat.com>
12751
12752         PR gdb/16575
12753         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12754         procedure.
12755         (top level): Adjust to use it.  Add tests that exercise breakpoint
12756         interaction with the code-cache.
12757
12758 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
12759
12760         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12761         test for 'history-append!'.
12762
12763 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12764
12765         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12766         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12767         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12768         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12769         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12770         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12771
12772 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12773
12774         * testsuite/gdb.python/py-pp-re-notag.c: New file.
12775         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12776         * testsuite/gdb.python/py-pp-re-notag.p: New file.
12777
12778 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12779
12780         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12781
12782 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12783
12784         * gdb.dwarf2/arr-stride.c: New file.
12785         * gdb.dwarf2/arr-stride.exp: New file.
12786
12787 2014-02-26  Pedro Alves  <palves@redhat.com>
12788
12789         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12790         that won't ever trigger.  Make sure that GDB reports the correct
12791         breakpoint that caused the stop.
12792
12793 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
12794
12795         PR gdb/16626
12796         * gdb.base/auto-load-script: New file.
12797         * gdb.base/auto-load.c: New file.
12798         * gdb.base/auto-load.exp: New file.
12799
12800         PR gdb/16626
12801         * gdb.base/auto-load.exp: Fix out-of-srctree run.
12802
12803 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
12804
12805         Fix dw2-icycle.exp -fsanitize=address GDB crash.
12806         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12807
12808 2014-02-24  Doug Evans  <dje@google.com>
12809
12810         * lib/gdb.exp (run_on_host): Log error output if program fails.
12811
12812 2014-02-21  Pedro Alves  <palves@redhat.com>
12813
12814         * gdb.threads/step-after-sr-lock.c: Rename to ...
12815         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12816         * gdb.threads/step-after-sr-lock.exp: Rename to ...
12817         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12818         ... this.
12819
12820 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12821
12822         PR tdep/16397
12823         * gdb.arch/amd64-stap-special-operands.exp: New file.
12824         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12825         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12826         * gdb.arch/amd64-stap-triplet.S: Likewise.
12827         * gdb.arch/amd64-stap-triplet.c: Likewise.
12828
12829 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
12830
12831         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12832         in .section pseudo-op.
12833
12834 2014-02-20  lin zuojian  <manjian2006@gmail.com>
12835             Joel Brobecker  <brobecker@adacore.com>
12836             Doug Evans  <xdje42@gmail.com>
12837
12838         PR symtab/16581
12839         * gdb.dwarf2/dw2-icycle.S: New file.
12840         * gdb.dwarf2/dw2-icycle.c: New file.
12841         * gdb.dwarf2/dw2-icycle.exp: New file.
12842
12843 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
12844
12845         * gdb.python/py-value-cc.cc: Improve test case to enable testing
12846         operations on gdb.Value objects.
12847         * gdb.python/py-value-cc.exp: Add new test to test operations on
12848         gdb.Value objects.
12849
12850 2014-02-18  Doug Evans  <dje@google.com>
12851
12852         * Makefile.in (TESTS): New variable.
12853         (expanded_tests, expanded_tests_or_none): New variables
12854         (check-single): Pass $(expanded_tests_or_none) to runtest.
12855         (check-parallel): Only run tests in $(TESTS) if non-empty.
12856         (check/no-matching-tests-found): New rule.
12857         * README: Document TESTS makefile variable.
12858
12859 2014-02-18  Doug Evans  <dje@google.com>
12860
12861         * Makefile.in (check-parallel): rm -rf outputs temp.
12862
12863 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
12864
12865         Fix "ERROR: no fileid for" in the testsuite.
12866         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12867
12868 2014-02-12  Doug Evans  <dje@google.com>
12869
12870         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12871         (MISCELLANEOUS): New variable.
12872         (clean): rm -rf $(MISCELLANEOUS).
12873         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12874         dwp live in the same directory as symlinks, with each symlink pointed
12875         to a differently named file in a different directory.
12876
12877 2014-02-11  Doug Evans  <dje@google.com>
12878
12879         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12880         of Tcl file commands.
12881
12882 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
12883
12884         * gdb.threads/step-after-sr-lock.exp: Avoid executing
12885         "kill -SIGUSR1 -1".
12886
12887 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
12888
12889         * gdb.ada/tick_length_array_enum_idx: New testcase.
12890
12891 2014-02-10  Doug Evans  <xdje42@gmail.com>
12892
12893         * configure.ac (AC_OUTPUT): Add gdb.guile.
12894         * configure: Regenerate.
12895         * lib/gdb-guile.exp: New file.
12896         * lib/gdb.exp (get_target_charset): New function.
12897         * gdb.base/help.exp: Update expected output from "apropos apropos".
12898         * gdb.guile/Makefile.in: New file.
12899         * gdb.guile/guile.exp: New file.
12900         * gdb.guile/scm-arch.c: New file.
12901         * gdb.guile/scm-arch.exp: New file.
12902         * gdb.guile/scm-block.c: New file.
12903         * gdb.guile/scm-block.exp: New file.
12904         * gdb.guile/scm-breakpoint.c: New file.
12905         * gdb.guile/scm-breakpoint.exp: New file.
12906         * gdb.guile/scm-disasm.c: New file.
12907         * gdb.guile/scm-disasm.exp: New file.
12908         * gdb.guile/scm-equal.c: New file.
12909         * gdb.guile/scm-equal.exp: New file.
12910         * gdb.guile/scm-error.exp: New file.
12911         * gdb.guile/scm-error.scm: New file.
12912         * gdb.guile/scm-frame-args.c: New file.
12913         * gdb.guile/scm-frame-args.exp: New file.
12914         * gdb.guile/scm-frame-args.scm: New file.
12915         * gdb.guile/scm-frame-inline.c: New file.
12916         * gdb.guile/scm-frame-inline.exp: New file.
12917         * gdb.guile/scm-frame.c: New file.
12918         * gdb.guile/scm-frame.exp: New file.
12919         * gdb.guile/scm-generics.exp: New file.
12920         * gdb.guile/scm-gsmob.exp: New file.
12921         * gdb.guile/scm-iterator.c: New file.
12922         * gdb.guile/scm-iterator.exp: New file.
12923         * gdb.guile/scm-math.c: New file.
12924         * gdb.guile/scm-math.exp: New file.
12925         * gdb.guile/scm-objfile-script-gdb.in: New file.
12926         * gdb.guile/scm-objfile-script.c: New file.
12927         * gdb.guile/scm-objfile-script.exp: New file.
12928         * gdb.guile/scm-objfile.c: New file.
12929         * gdb.guile/scm-objfile.exp: New file.
12930         * gdb.guile/scm-ports.exp: New file.
12931         * gdb.guile/scm-pretty-print.c: New file.
12932         * gdb.guile/scm-pretty-print.exp: New file.
12933         * gdb.guile/scm-pretty-print.scm: New file.
12934         * gdb.guile/scm-section-script.c: New file.
12935         * gdb.guile/scm-section-script.exp: New file.
12936         * gdb.guile/scm-section-script.scm: New file.
12937         * gdb.guile/scm-symbol.c: New file.
12938         * gdb.guile/scm-symbol.exp: New file.
12939         * gdb.guile/scm-symtab-2.c: New file.
12940         * gdb.guile/scm-symtab.c: New file.
12941         * gdb.guile/scm-symtab.exp: New file.
12942         * gdb.guile/scm-type.c: New file.
12943         * gdb.guile/scm-type.exp: New file.
12944         * gdb.guile/scm-value-cc.cc: New file.
12945         * gdb.guile/scm-value-cc.exp: New file.
12946         * gdb.guile/scm-value.c: New file.
12947         * gdb.guile/scm-value.exp: New file.
12948         * gdb.guile/source2.scm: New file.
12949         * gdb.guile/types-module.cc: New file.
12950         * gdb.guile/types-module.exp: New file.
12951
12952 2014-02-10  Yao Qi  <yao@codesourcery.com>
12953
12954         PR testsuite/16543
12955         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12956         * configure: Regenerated.
12957         * Makefile.in: New file.
12958
12959 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
12960
12961         * gdb.python/py-framefilter.exp: Fix typo.
12962
12963 2014-02-08  Yao Qi  <yao@codesourcery.com>
12964
12965         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12966         that no =breakpoint-modified is emitted when breakpoints are
12967         modified through MI commands.
12968
12969 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
12970             Pedro Alves  <palves@redhat.com>
12971
12972         * gdb.threads/step-after-sr-lock.c: New file.
12973         * gdb.threads/step-after-sr-lock.exp: New file.
12974
12975 2014-02-07  Pedro Alves  <palves@redhat.com>
12976
12977         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
12978
12979 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
12980
12981         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
12982         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
12983
12984 2014-02-06  Doug Evans  <xdje42@gmail.com>
12985
12986         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
12987         output.
12988
12989         * gdb.gdb/python-interrupts.exp: New file.
12990
12991 2014-02-05  Yao Qi  <yao@codesourcery.com>
12992
12993         * gdb.trace/report.exp (use_collected_data): Test the output
12994         of "info threads" and "info inferiors".
12995
12996 2014-02-05  Yao Qi  <yao@codesourcery.com>
12997
12998         Revert this patch:
12999
13000         2013-05-24  Yao Qi  <yao@codesourcery.com>
13001
13002         * gdb.trace/tfile.exp: Test inferior and thread.
13003
13004 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
13005
13006         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13007         on a function.
13008         * gdb.base/step-bt.c: Call hello via function pointer to make
13009         sure its first instruction is executed on powerpc64le-linux.
13010
13011 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
13012
13013         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13014
13015 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
13016
13017         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
13018         of the test patterns for use on little-endian systems.
13019
13020 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
13021
13022         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13023         (decimal_vector): Fix for little-endian.
13024
13025 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
13026
13027         * gdb.arch/sparc-sysstep.exp: New file.
13028         * gdb.arch/sparc-sysstep.c: Likewise.
13029
13030         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13031
13032 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13033
13034         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13035
13036 2014-01-23  Tom Tromey  <tromey@redhat.com>
13037
13038         * gdb.ada/array_char_idx: New testcase.
13039
13040 2014-01-23  Tom Tromey  <tromey@redhat.com>
13041
13042         PR python/16487:
13043         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13044         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13045         classes.
13046
13047 2014-01-23  Tom Tromey  <tromey@redhat.com>
13048
13049         PR python/16491:
13050         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13051         string from an inferior frame.
13052         * gdb.python/py-framefilter-mi.exp: Update.
13053
13054 2014-01-22  Doug Evans  <dje@google.com>
13055
13056         * gdb.server/server-mon.exp: Add tests for "set debug-format".
13057
13058 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
13059
13060         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13061
13062 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
13063
13064         * gdb.trace/entry-values.exp: Remove excess space character from
13065         regex patterns.  Handle s390 call instruction.
13066
13067 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
13068
13069         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13070         define "*_start" label.  Make "name" static.
13071         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13072         ${name} by references to ${name}_start.
13073
13074 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
13075
13076         * gdb.base/info-macros.exp: Remove "debug" from the compile
13077         options.
13078
13079 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
13080
13081         * gdb.dlang/demangle.exp: New file.
13082
13083 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
13084
13085         * gdb.dlang/primitive-types.exp: New file.
13086
13087 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
13088
13089         * configure.ac: Create gdb.dlang/Makefile.
13090         * configure: Regenerate.
13091         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13092         * gdb.dlang/Makefile.in: New file.
13093         * lib/d-support.exp: New file.
13094         * lib/gdb.exp (skip_d_tests): New proc.
13095
13096 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13097
13098         * gdb.btrace/delta.exp: Check reverse stepi.
13099         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
13100         * gdb.btrace/finish.exp: New.
13101         * gdb.btrace/next.exp: New.
13102         * gdb.btrace/nexti.exp: New.
13103         * gdb.btrace/record_goto.c: Add comments.
13104         * gdb.btrace/step.exp: New.
13105         * gdb.btrace/stepi.exp: New.
13106         * gdb.btrace/multi-thread-step.c: New.
13107         * gdb.btrace/multi-thread-step.exp: New.
13108         * gdb.btrace/rn-dl-bind.c: New.
13109         * gdb.btrace/rn-dl-bind.exp: New.
13110         * gdb.btrace/data.c: New.
13111         * gdb.btrace/data.exp: New.
13112         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13113
13114 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13115
13116         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13117         * gdb.btrace/exception.exp: Update.
13118         * gdb.btrace/instruction_history.exp: Update.
13119         * gdb.btrace/record_goto.exp: Update.
13120         * gdb.btrace/tailcall.exp: Update.
13121         * gdb.btrace/unknown_functions.exp: Update.
13122         * gdb.btrace/delta.exp: New.
13123
13124 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13125
13126         * gdb.btrace/record_goto.exp: Add backtrace test.
13127         * gdb.btrace/tailcall.exp: Add backtrace test.
13128
13129 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13130
13131         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13132         * gdb.btrace/record_goto.c: New.
13133         * gdb.btrace/record_goto.exp: New.
13134         * gdb.btrace/x86-record_goto.S: New.
13135
13136 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13137
13138         * gdb.btrace/function_call_history.exp: Update tests.
13139         * gdb.btrace/instruction_history.exp: Update tests.
13140
13141 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13142
13143         * gdb.btrace/function_call_history.exp: Fix expected field
13144         order for "record function-call-history".
13145         Add new tests for "record function-call-history /c".
13146         * gdb.btrace/exception.cc: New.
13147         * gdb.btrace/exception.exp: New.
13148         * gdb.btrace/tailcall.exp: New.
13149         * gdb.btrace/x86-tailcall.S: New.
13150         * gdb.btrace/x86-tailcall.c: New.
13151         * gdb.btrace/unknown_functions.c: New.
13152         * gdb.btrace/unknown_functions.exp: New.
13153         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13154
13155 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13156
13157         * gdb.btrace/instruction_history.exp: Update.
13158         * gdb.btrace/function_call_history.exp: Update.
13159
13160 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13161
13162         * gdb.btrace/function_call_history.exp: Fix expected function
13163         trace.
13164         * gdb.btrace/instruction_history.exp: Initialize traced.
13165         Remove traced_functions.
13166
13167 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13168
13169         * gdb.btrace/function_call_history.exp: Update
13170         * gdb.btrace/instruction_history.exp: Update.
13171
13172 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
13173
13174         * gdb.btrace/enable.exp: Update expected text.
13175
13176 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
13177
13178         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13179         bytes.
13180
13181 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
13182
13183         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13184
13185 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
13186
13187         * lib/gdb.exp (supports_process_record): Return true for
13188         arm*-linux*.  (supports_reverse): Likewise.
13189
13190 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
13191
13192         PR python/15464
13193         PR python/16113
13194         * gdb.python/py-type.c: Enhance test case.
13195         * gdb.python/py-value-cc.cc: Likewise
13196         * gdb.python/py-type.exp: Add new tests.
13197         * gdb.python/py-value-cc.exp: Likewise
13198
13199 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13200             Pedro Alves <palves@redhat.com>
13201
13202         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13203         Make "name" extern.
13204         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13205         references to ${name}_start by references to ${name}.
13206
13207 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
13208
13209         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13210
13211 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
13212
13213         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13214
13215 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
13216             Pedro Alves  <palves@redhat.com>
13217
13218         * gdb.mi/mi-info-os.exp: Connect to the target with
13219         mi_gdb_target_load.
13220
13221 2014-01-08  Pedro Alves  <palves@redhat.com>
13222
13223         * gdb.threads/reconnect-signal.c: New file.
13224         * gdb.threads/reconnect-signal.exp: New file.
13225
13226 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13227
13228         * gdb.base/source-dir.exp: New file.
13229
13230 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
13231
13232         * gdb.ada/mi_interface: New testcase.
13233
13234 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
13235
13236         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13237         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13238         gdb.ada/pp-rec-component/pck.ads: New files.
13239
13240 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
13241
13242         * gdb.python/py-pp-integral.c: New file.
13243         * gdb.python/py-pp-integral.py: New file.
13244         * gdb.python/py-pp-integral.exp: New file.
13245
13246 For older changes see ChangeLog-1993-2013.
13247 \f
13248 ;; Local Variables:
13249 ;; mode: change-log
13250 ;; left-margin: 8
13251 ;; fill-column: 74
13252 ;; version-control: never
13253 ;; End:
13254
13255     Copyright 2014-2018 Free Software Foundation, Inc.
13256   Copying and distribution of this file, with or without modification,
13257   are permitted provided the copyright notice and this notice are preserved.