Don't recursively look for a symbol in all imports of imported modules.
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
2
3         * gdb.dlang/circular.c: New file.
4         * gdb.dlang/circular.exp: New file.
5
6 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7
8         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10         (testcases): Update.
11
12 2016-02-26  Yao Qi  <yao.qi@linaro.org>
13
14         * gdb.reverse/aarch64.c: Rename to ...
15         * gdb.reverse/insn-reverse.c: ... it.
16         * gdb.reverse/aarch64.exp: Rename to ...
17         * gdb.reverse/insn-reverse.exp: ... it.
18
19 2016-02-26  Yao Qi  <yao.qi@linaro.org>
20
21         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
22         (testcase_ftype): New.
23         (testcases): New array.
24         (n_testcases): New.
25         (main): Call each element in testcases.
26         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
27         (read_testcase): New.
28         Do the tests in a loop.
29
30 2016-02-25  Yao Qi  <yao.qi@linaro.org>
31
32         * gdb.base/branches.c: Remove.
33
34 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
35
36         PR gdb/13808
37         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
38
39 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
40
41         * gdb.trace/ftrace.exp: Remove unnecessary target check.
42
43 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
44
45         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
46         change x86_64 call_insn to 'callq'.
47
48 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
49
50         * gdb.trace/tfile-avx.c: Move to...
51         * gdb.trace/tracefile-pseudo-reg.c: Here.
52         * gdb.trace/tfile-avx.exp: Move to...
53         * gdb.trace/tracefile-pseudo-reg.exp: Here.
54
55 2016-02-24  Gary Benson <gbenson@redhat.com>
56
57         * gdb.base/attach-pie-noexec.exp: Do not expect an error
58         message on attach.
59
60 2016-02-23  Doug Evans  <dje@google.com>
61
62         * gdb.base/skip.c (test_skip): New function.
63         (end_test_skip_file_and_function): New function.
64         (test_skip_file_and_function): New function.
65         * gdb.base/skip1.c (test_skip): New function.
66         (skip1_test_skip_file_and_function): New function.
67         * gdb.base/skip.exp: Add tests for new skip options.
68         * gdb.base/skip-solib.exp: Update expected output.
69         * gdb.perf/skip-command.cc: New file.
70         * gdb.perf/skip-command.exp: New file.
71         * gdb.perf/skip-command.py: New file.
72
73 2016-02-22  Marcin Kościelnicki  <koriakin@0x04.net>
74
75         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
76         info registers pattern.
77
78 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
79
80         * lib/future.exp: Add D support.
81         (gdb_find_gdc): New proc.
82         (gdb_default_target_compile): Add D support.
83
84 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
85
86         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
87         user+system time.
88         (trace_speed_test): Determine the iteration count for a time
89         between 15..30 seconds.
90
91 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
92
93         * gdb.arch/i386-mpx-sigsegv.c: New file.
94         * gdb.arch/i386-mpx-sigsegv.exp: New file.
95         * gdb.arch/i386-mpx-simple_segv.c: New file.
96         * gdb.arch/i386-mpx-simple_segv.exp: New file.
97
98 2016-02-18  Yao Qi  <yao.qi@linaro.org>
99
100         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
101         Don't call setup_kfail.
102
103 2016-02-18  Yao Qi  <yao.qi@linaro.org>
104
105         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
106         Set "set breakpoint condition-evaluation" per $cond_bp_target.
107
108 2016-02-16  Doug Evans  <dje@google.com>
109
110         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
111         * gdb.base/skip1.c: Ditto.
112         * gdb.base/skip.exp: Whitespace cleanup.
113
114 2016-02-16  Don Breazeal  <donb@codesourcery.com>
115
116         PR remote/19496
117         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
118         Remove kfail for PR remote/19496.
119
120 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
121
122         * lib/gdb.exp (standard_temp_file): Return a path specific to
123         the runtest invocation.
124
125 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
126
127         * gdb.trace/save-trace.exp: Change relative path to be in the
128         standard output directory.
129
130 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
131
132         * gdb.arch/i386-prologue.c: Add missing prototypes.
133
134 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
135
136         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
137         * gdb.arch/i386-prologue.exp: Likewise.
138         * gdb.arch/i386-size.exp: Likewise.
139
140 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
141
142         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
143         define object file path.
144         * gdb.btrace/gcore.exp: Use standard_output_file to define core
145         file path.
146         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
147         standard_output_file to define binfile.
148
149 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
150
151         Fix compatibility with recent gfortran-5.3.1.
152         * gdb.fortran/vla-history.exp (print vla1 allocated)
153         (print vla2 allocated, print $2, print $3): Remove
154         (print $4): Rename to ...
155         (print $2): ... here.
156         (print $9): Rename to ...
157         (print $5): ... here.
158         (print $10): Rename to ...
159         (print $6): ... here.
160         * gdb.fortran/vla.f90: Add pvla initialization.
161
162 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
163
164         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
165         New test.
166         * gdb.fortran/vla-value-sub.exp: Likewise.
167
168 2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
169
170         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
171
172 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
173
174         * i386-biarch-core.exp: Define corefile using
175         standard_output_file.
176
177 2016-02-12  Yao Qi  <yao.qi@linaro.org>
178
179         * gdb.arch/arm-single-step-kernel-helper.c: New.
180         * gdb.arch/arm-single-step-kernel-helper.exp: New.
181
182 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
183
184         * gdb.btrace/tailcall-only.exp: New.
185         * gdb.btrace/tailcall-only.c: New.
186         * gdb.btrace/x86_64-tailcall-only.S: New.
187         * gdb.btrace/i686-tailcall-only.S: New.
188
189 2016-02-11  Pedro Alves  <palves@redhat.com>
190
191         * README (Parallel testing): Add missing double quotes.
192
193 2016-02-11  Pedro Alves  <palves@redhat.com>
194
195         * README (Parallel testing): New section.
196         (GDB_PARALLEL): Rewrite.
197         (FORCE_PARALLEL): Document.
198
199 2016-02-11  Marcin Kościelnicki  <koriakin@0x04.net>
200
201         * gdb.trace/tfile-avx.c: New test.
202         * gdb.trace/tfile-avx.exp: New test.
203
204 2016-02-09  Keith Seitz  <keiths@redhat.com>
205
206         PR breakpoints/19546
207         * gdb.base/infcall-exec.c: New file.
208         * gdb.base/infcall-exec2.c: New file.
209         * gdb.base/infcall-exec.exp: New file.
210
211 2016-02-09  Keith Seitz  <keiths@redhat.com>
212
213         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
214         (toplevel): Call test_bkpt_address.
215
216 2016-02-09  Keith Seitz  <keiths@redhat.com>
217
218         PR python/19506
219         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
220         (toplevel): Call test_bkpt_address.
221
222 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
223
224         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
225         to AC_OUTPUT.
226         * configure: Regenerate.
227
228 2016-02-09  Pedro Alves  <palves@redhat.com>
229
230         PR breakpoints/19548
231         * gdb.base/execl-update-breakpoints.c (some_function): New
232         function.
233         (main): Call it.
234         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
235         Tighten expected GDB output.
236
237 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
238
239         * Makefile.in (ALL_SUBDIRS): Remove.
240         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
241         (distclean maintainer-clean realclean): Likewise.
242         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
243         * configure: Regenerate.
244         * gdb.ada/Makefile.in: Delete.
245         * gdb.arch/Makefile.in: Likewise.
246         * gdb.asm/Makefile.in: Likewise.
247         * gdb.base/Makefile.in: Likewise.
248         * gdb.btrace/Makefile.in: Likewise.
249         * gdb.cell/Makefile.in: Likewise.
250         * gdb.compile/Makefile.in: Likewise.
251         * gdb.cp/Makefile.in: Likewise.
252         * gdb.disasm/Makefile.in: Likewise.
253         * gdb.dlang/Makefile.in: Likewise.
254         * gdb.dwarf2/Makefile.in: Likewise.
255         * gdb.fortran/Makefile.in: Likewise.
256         * gdb.gdb/Makefile.in: Likewise.
257         * gdb.go/Makefile.in: Likewise.
258         * gdb.guile/Makefile.in: Likewise.
259         * gdb.java/Makefile.in: Likewise.
260         * gdb.linespec/Makefile.in: Likewise.
261         * gdb.mi/Makefile.in: Likewise.
262         * gdb.modula2/Makefile.in: Likewise.
263         * gdb.multi/Makefile.in: Likewise.
264         * gdb.objc/Makefile.in: Likewise.
265         * gdb.opencl/Makefile.in: Likewise.
266         * gdb.opt/Makefile.in: Likewise.
267         * gdb.pascal/Makefile.in: Likewise.
268         * gdb.perf/Makefile.in: Likewise.
269         * gdb.python/Makefile.in: Likewise.
270         * gdb.reverse/Makefile.in: Likewise.
271         * gdb.server/Makefile.in: Likewise.
272         * gdb.stabs/Makefile.in: Likewise.
273         * gdb.threads/Makefile.in: Likewise.
274         * gdb.trace/Makefile.in: Likewise.
275         * gdb.xml/Makefile.in: Likewise.
276         * lib/gdb.exp (make_gdb_parallel_path): Add check for
277         GDB_PARALLEL.
278         (standard_output_file): Remove check for GDB_PARALLEL, always
279         return path in outputs/$subdir/$testname.
280
281 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
282
283         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
284         (site.exp): Assign abs_srcdir to tcl's srcdir.
285
286 2016-02-04  Yao Qi  <yao.qi@linaro.org>
287
288         * gdb.base/foll-exec-mode.c: Include limits.h.
289         (main): Add parameters argc and argv.  Get directory from
290         argv[0].
291         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
292         compilation.
293         * gdb.base/foll-exec.c: Include limits.h.
294         (main): Add parameters argc and argv.
295         Get directory from argv[0].
296         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
297         Adjust tests on the number of lines as source code changed.
298         * gdb.base/foll-vfork-exit.c: Include limits.h.
299         (main): Add one line of statement before vfork.
300         * gdb.base/foll-vfork.c: Include limits.h and string.h.
301         (main): Add parameters argc and argv.  Get directory from
302         argv[0].
303         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
304         (setup_gdb): Set tbreak to skip some source lines.
305         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
306         (main): Add parameters argc and argv.  Get directory from
307         argv[0].
308         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
309         compilation.
310         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
311         (main): Add parameters argc and argv.  Get directory from
312         argv[0].
313         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
314         compilation.
315
316 2016-02-01  Doug Evans  <dje@google.com>
317
318         * gdb.base/skip.exp: Clean up multiple references to same test name.
319
320 2016-02-01  Pedro Alves  <palves@redhat.com>
321
322         PR remote/19496
323         * gdb.threads/forking-threads-plus-breakpoint.exp
324         (displaced_stepping_supported): New global.
325         (probe_displaced_stepping_support): New procedure.
326         (do_test): Add 'displaced' parameter, and use it.
327         (top level): Check for displaced stepping support.  Add displaced
328         stepping on/off testing axis.
329
330 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
331
332         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
333         pointer.  Don't perform further tests on the unassociated pointer
334         if the first test fails.
335
336 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
337
338         * gdb.base/max-value-size.c: New file.
339         * gdb.base/max-value-size.exp: New file.
340         * gdb.base/huge.exp: Disable max-value-size for this test.
341
342 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
343
344         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
345
346 2016-01-28  Yao Qi  <yao.qi@linaro.org>
347
348         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
349
350 2016-01-25  Pedro Alves  <palves@redhat.com>
351
352         PR threads/19461
353         * gdb.base/fork-running-state.c: New file.
354         * gdb.base/fork-running-state.exp: New file.
355
356 2016-01-25  Pedro Alves  <palves@redhat.com>
357
358         PR gdb/19494
359         * gdb.base/catch-fork-kill.c: New file.
360         * gdb.base/catch-fork-kill.exp: New file.
361
362 2016-01-25  Pedro Alves  <palves@redhat.com>
363
364         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
365         Delete, moved to lib/gdb.exp.
366         * gdb.threads/forking-threads-plus-breakpoint.exp
367         (foreach_with_prefix): Likewise.
368         * gdb.threads/process-dies-while-handling-bp.exp
369         (foreach_with_prefix): Likewise.
370         * lib/gdb.exp (foreach_with_prefix): New procedure.
371
372 2016-01-25  Marcin Kościelnicki  <koriakin@0x04.net>
373
374         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
375         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
376
377 2016-01-23  Marcin Kościelnicki  <koriakin@0x04.net>
378
379         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
380         endian targets.
381
382 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
383             Pedro Alves  <palves@redhat.com>
384
385         Fix testsuite compatibility with Guile.
386         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
387         number.
388
389 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
390
391         Fix testsuite compatibility with Guile.
392         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
393         (thread 1): New test for backtrace through signal handler.
394
395 2016-01-22  Yao Qi  <yao.qi@linaro.org>
396
397         PR testsuite/19491
398         * gdb.base/multi-forks.c: Include
399         ../lib/unbuffer_output.c
400         (main): Call gdb_unbuffer_output.
401
402 2016-01-21  Doug Evans  <dje@google.com>
403
404         * lib/ada.exp (gdb_compile_ada): Fix typo.
405
406 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
407
408         * gdb.base/break-fun-addr.exp: New file.
409         * gdb.base/break-fun-addr1.c: New file.
410         * gdb.base/break-fun-addr2.c: New file.
411
412 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
413
414         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
415         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
416         enum flag values.
417
418 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
419
420         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
421         when GDB can not set the vector return value.  Add more comments
422         for clarification.
423
424 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
425
426         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
427         command.
428
429 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
430
431         * Makefile.in (DO_RUNTEST): Add --status and update usages.
432
433 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
434
435         * Makefile.in (check-single): Pass --status to runtest.
436         (check/%.exp): Likewise.
437
438 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
439
440         * Makefile.in (check-parallel): Propagate return code from make
441         do-check-parallel.
442
443 2016-01-19  Marcin Kościelnicki  <koriakin@0x04.net>
444
445         * gdb.trace/ftrace.exp: Fix expected message on continue.
446         * gdb.trace/pending.exp: Fix expected message on continue.
447         * gdb.trace/trace-break.exp: Fix expected message on continue.
448
449 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
450
451         * lib/gdb.exp (gdb_test): Remove unused global references.
452
453 2016-01-18  Pedro Alves  <palves@redhat.com>
454
455         * gdb.base/async-shell.exp: Adjust expected output.
456         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
457         * gdb.base/siginfo-thread.exp: Adjust expected output.
458         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
459         * gdb.java/jnpe.exp: Adjust expected output.
460         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
461         * gdb.threads/continue-pending-status.exp: Adjust expected output.
462         * gdb.threads/leader-exit.exp: Adjust expected output.
463         * gdb.threads/manythreads.exp: Adjust expected output.
464         * gdb.threads/pthreads.exp: Adjust expected output.
465         * gdb.threads/schedlock.exp: Adjust expected output.
466         * gdb.threads/siginfo-threads.exp: Adjust expected output.
467         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
468         expected output.
469         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
470         output.
471         * gdb.threads/sigthread.exp: Adjust expected output.
472         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
473
474 2016-01-18  Yao Qi  <yao.qi@linaro.org>
475
476         * gdb.guile/scm-section-script.c: Replace @progbits with
477         %progbits.
478         * gdb.python/py-section-script.c: Likewise.
479
480 2016-01-15  Pedro Alves  <palves@redhat.com>
481
482         * gdb.multi/tids.exp: Test star wildcard ranges.
483
484 2016-01-15  Pedro Alves  <palves@redhat.com>
485
486         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
487         command from "thread apply" invocation.
488         (thr_apply_info_thr_invalid): Default the expected output to the
489         input tid list.
490         (top level): Add tests that use convenience variables.  Add tests
491         for "thread apply" with a valid TID list, but missing the command.
492
493 2016-01-13  Pedro Alves  <palves@redhat.com>
494
495         * gdb.base/default.exp: Expect $_gthread as well.
496         * gdb.multi/tids.exp: Test $_gthread.
497         * gdb.threads/thread-specific.exp: Test $_gthread.
498
499 2016-01-13  Pedro Alves  <palves@redhat.com>
500
501         * gdb.multi/tids.exp: Test "info threads -gid".
502
503 2016-01-13  Pedro Alves  <palves@redhat.com>
504
505         * gdb.multi/tids.exp: Test InferiorThread.global_num and
506         Breakpoint.thread.
507         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
508
509 2016-01-07  Pedro Alves  <palves@redhat.com>
510
511         * gdb.base/break.exp: Adjust to output changes.
512         * gdb.base/hbreak2.exp: Likewise.
513         * gdb.base/sepdebug.exp: Likewise.
514         * gdb.base/watch_thread_num.exp: Likewise.
515         * gdb.linespec/keywords.exp: Likewise.
516         * gdb.multi/info-threads.exp: Likewise.
517         * gdb.threads/thread-find.exp: Likewise.
518         * gdb.multi/tids.c: New file.
519         * gdb.multi/tids.exp: New file.
520
521 2016-01-13  Pedro Alves  <palves@redhat.com>
522
523         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
524
525 2016-01-13  Pedro Alves  <palves@redhat.com>
526
527         * gdb.base/default.exp: Expect $_inferior as well.
528         * gdb.multi/base.exp: Test $_inferior.
529
530 2016-01-13  Pedro Alves  <palves@redhat.com>
531
532         PR breakpoints/19388
533         * gdb.base/catch-signal-siginfo-cond.c: New file.
534         * gdb.base/catch-signal-siginfo-cond.exp: New file.
535
536 2016-01-12  Josh Stone  <jistone@redhat.com>
537             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
538
539         * gdb.base/catch-syscall.c (do_execve): New variable.
540         (main): Conditionally trigger an execve.
541         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
542         (test_catch_syscall_execve): New, check entry/return across execve.
543         (do_syscall_tests): Call test_catch_syscall_execve.
544
545 2016-01-12  Pedro Alves  <palves@redhat.com>
546
547         * gdb.base/random-signal.exp (do_test): New procedure, with body
548         of testcase moved in.
549
550 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
551             Pedro Alves  <palves@redhat.com>
552
553         * gdb.base/funcargs.exp (finish from indirectly called function):
554         Reintroduce the case for 'First'.
555
556 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
557             Pedro Alves  <palves@redhat.com>
558
559         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
560         (tcatch_vfork_then_child_follow_exec)
561         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
562         identification.
563
564 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
565
566         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
567         and repeats to unlimited.
568         * gdb.python/py-value.exp: Likewise.
569         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
570         and repeats to unlimited.
571
572 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
573
574         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
575         and reordering the functions.
576         * gdb.multi/hangout.c: Likewise.
577         * gdb.multi/hello.c: Likewise.
578
579 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
580
581         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
582         absolute.
583         (SingleStatisticTestResult.report): Use dict.keys instead of
584         dict.iterkeys.
585
586 2016-01-06  Pedro Alves  <palves@redhat.com>
587
588         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
589
590 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
591
592         * gdb.btrace/dlopen.exp: New.
593         * gdb.btrace/dlopen.c: New.
594         * gdb.btrace/dlopen-dso.c: New.
595
596 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
597
598         * lib/gdb.exp (gdb_test): Update comments to clarify that the
599         PATTERN argument is optional.
600
601 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
602
603         * lib/ada.exp (target_compile_ada_from_dir): New function.
604         (gdb_compile_ada): Reimplement avoiding the use of project files.
605         * gdb.ada/gnat_ada.gpr: Delete.
606         * gdb.ada/cond_lang.exp: Adjust test to make path before
607         filename optional.
608         * gdb.ada/small_reg_param.exp: Likewise.
609
610 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
611
612         * gdb.base/foll-vork.exp: Remove HP-UX special case.
613
614 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
615
616         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
617         case.
618
619 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
620
621         * gdb.base/break.exp: Remove dead code.
622         * gdb.base/sepdebug.exp: Likewise.
623
624 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
625
626         * gdb.asm/asm-source.exp: Remove HP-UX references.
627         * gdb.base/annota1.exp: Likewise.
628         * gdb.base/annota3.exp: Likewise.
629         * gdb.base/attach.exp: Likewise.
630         * gdb.base/bigcore.exp: Likewise.
631         * gdb.base/break.exp: Likewise.
632         * gdb.base/call-ar-st.exp: Likewise.
633         * gdb.base/callfuncs.exp: Likewise.
634         * gdb.base/catch-fork-static.exp: Likewise.
635         * gdb.base/display.exp: Likewise.
636         * gdb.base/foll-exec-mode.exp: Likewise.
637         * gdb.base/foll-exec.exp: Likewise.
638         * gdb.base/foll-fork.exp: Likewise.
639         * gdb.base/foll-vfork.exp: Likewise.
640         * gdb.base/funcargs.exp: Likewise.
641         * gdb.base/hbreak2.exp: Likewise.
642         * gdb.base/inferior-died.exp: Likewise.
643         * gdb.base/interrupt.exp: Likewise.
644         * gdb.base/multi-forks.exp: Likewise.
645         * gdb.base/nodebug.exp: Likewise.
646         * gdb.base/sepdebug.exp: Likewise.
647         * gdb.base/solib1.c: Likewise.
648         * gdb.base/step-test.exp: Likewise.
649         * gdb.mi/non-stop.c: Likewise.
650         * gdb.mi/pthreads.c: Likewise.
651         * gdb.multi/bkpt-multi-exec.ex: Likewise.
652         * gdb.threads/pthreads.c: Likewise.
653         * gdb.threads/staticthreads.exp: Likewise.
654         * lib/future.exp: Likewise.
655         * lib/gdb.exp: Likewise.
656         * gdb.base/so-indr-cl.c: Remove.
657         * gdb.base/so-indr-cl.exp: Likewise.
658         * gdb.base/solib.c: Likewise.
659         * gdb.base/solib.exp: Likewise.
660         * gdb.base/solib2.c: Likewise.
661
662 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
663
664         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
665         * gdb.base/call-ar-st.exp: Likewise.
666         * gdb.base/callfuncs.exp: Likewise.
667         * gdb.base/condbreak.exp: Likewise.
668         * gdb.base/constvars.exp: Likewise.
669         * gdb.base/hbreak2.exp: Likewise.
670         * gdb.base/langs.exp: Likewise.
671         * gdb.base/list.exp: Likewise.
672         * gdb.base/long_long.exp: Likewise.
673         * gdb.base/ptype.exp: Likewise.
674         * gdb.base/scope.exp: Likewise.
675         * gdb.base/signals.exp: Likewise.
676         * gdb.base/so-impl-ld.exp: Likewise.
677         * gdb.base/varargs.exp: Likewise.
678         * gdb.base/volatile.exp: Likewise.
679         * gdb.base/whatis.exp: Likewise.
680         * gdb.cp/cplusfuncs.exp: Likewise.
681         * gdb.cp/inherit.exp: Likewise.
682         * gdb.cp/local.exp: Likewise.
683         * gdb.cp/member-ptr.exp: Likewise.
684         * gdb.cp/method.exp: Likewise.
685         * gdb.cp/overload.exp: Likewise.
686         * gdb.cp/templates.exp: Likewise.
687         * gdb.stabs/weird.exp: Likewise.
688         * lib/compiler.c: Likewise.
689         * lib/compiler.cc: Likewise.
690         * lib/cp-support.exp: Likewise.
691         * lib/gdb.exp: Likewise.
692
693 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
694
695         * configure.ac: Remove HP-UX case.
696         * configure: Regenerate.
697
698 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
699
700         * lib/gdb.exp (gdb_compile): Add function doc.
701
702 2015-12-17  Pedro Alves  <palves@redhat.com>
703
704         PR threads/19354
705         * gdb.multi/info-threads.exp: New file.
706
707 2015-12-15  Yao Qi  <yao.qi@linaro.org>
708
709         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
710         is aarch64*-*-*.
711
712 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
713
714         * gdb.base/history-duplicates.exp: Skip if no readline support.
715
716 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
717
718         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
719
720 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
721
722         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
723
724 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
725
726         * gdb.base/completion.exp: Skip tests that interrupt GDB with
727         ctrl-C if nointerrupts target property is set.
728         * gdb.base/double-prompt-target-event-error.exp: Likewise.
729         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
730         * gdb.base/paginate-bg-execution.exp: Likewise.
731         * gdb.base/paginate-execution-startup.exp: Likewise.
732         * gdb.base/random-signal.exp: Likewise.
733         * gdb.base/range-stepping.exp: Likewise.
734         * gdb.cp/annota2.exp: Likewise.
735         * gdb.cp/annota3.exp: Likewise.
736         * gdb.gdb/selftest.exp: Likewise.
737         * gdb.threads/continue-pending-status.exp: Likewise.
738         * gdb.threads/leader-exit.exp: Likewise.
739         * gdb.threads/manythreads.exp: Likewise.
740         * gdb.threads/pthreads.exp: Likewise.
741         * gdb.threads/schedlock.exp: Likewise.
742         * gdb.threads/sigthread.exp: Likewise.
743
744 2015-12-11  Don Breazeal  <donb@codesourcery.com>
745
746         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
747         remote.
748         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
749         * gdb.base/foll-exec.exp (main): Enable for target remote.
750         * gdb.base/foll-fork.exp (main): Likewise.
751         * gdb.base/foll-vfork.exp (main): Likewise.
752         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
753         (proc continue_to_exit_bp_loc): Use clean_restart.
754         * gdb.base/pie-execl.exp (main): Disable for target remote.
755         * gdb.base/watch-vfork.exp (main): Enable for target remote.
756         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
757         * gdb.threads/execl.exp (main): Likewise.
758         * gdb.threads/fork-child-threads.exp (main): Likewise.
759         * gdb.threads/fork-plus-threads.exp (main): Disable for target
760         remote.
761         * gdb.threads/fork-thread-pending.exp (main): Enable for target
762         remote.
763         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
764         pid.tid style ptids, instead of just tid.
765         * gdb.threads/thread-execl.exp (main): Enable for target remote.
766         * gdb.threads/watchpoint-fork.exp (main): Likewise.
767         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
768         ptids, instead of just tid.
769
770 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
771
772         * gdb.base/list.exp (test_list_forward): Add end of file error
773         test.
774         (test_repeat_list_command): Add end of file error test.
775         (test_list_backwards): Add beginning of file error test.
776
777 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
778
779         * gdb.base/list.exp (test_list_invalid_args): New function,
780         defined, and called.
781
782 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
783
784         * gdb.base/list.exp (test_list): Make test names unique.
785
786 2015-12-11  Yao Qi  <yao.qi@linaro.org>
787
788         * gdb.base/coremaker2.c: Remove.
789
790 2015-12-10  Pedro Alves  <palves@redhat.com>
791
792         * gdb.multi/base.exp: Remove stale "spaces" references.
793
794 2015-12-10  Pedro Alves  <palves@redhat.com>
795
796         * gdb.multi/base.exp: Don't use nowarnings.
797         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
798         * gdb.multi/hangout.c: Include stdio.h.
799         * gdb.multi/hello.c: Include stdlib.h.
800         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
801         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
802         * gdb.multi/multi-arch.exp: Don't use nowarnings.
803
804 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
805
806         * gdb.dwarf2/dw2-ranges-base.c: New file.
807         * gdb.dwarf2/dw2-ranges-base.exp: New file.
808         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
809         support additional line table, and debug ranges generation.
810         (Dwarf::ranges): New function, generate .debug_ranges.
811         (Dwarf::lines): Support generating simple line table programs.
812         (Dwarf::assemble): Initialise new namespace variables.
813
814 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
815
816         * gdb.base/async.exp (proc test_background): Add case for
817         asynchronous execution not supported.
818
819 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
820
821         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
822           format and change test names to make them unique.
823
824 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
825             Pedro Alves  <pedro@redhat.com>
826
827         PR gdb/18702
828         Add checking of floatformats setup on x86_64 hosts.
829         * gdb.arch/i386-float.S (main): Load bigval and smallval.
830         (smallval, bigval): New labels/constants.
831         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
832         float" after loading bigval and smallval.
833
834 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
835
836         * gdb.ada/fun_overload_menu.exp: New testcase.
837         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
838
839 2015-12-04  Josh Stone  <jistone@redhat.com>
840
841         * gdb.base/catch-fork-static.exp: New.
842
843 2015-12-03  Yao Qi  <yao.qi@linaro.org>
844
845         * gdb.base/sizeof.c: Don't include stdio.h and
846         ../lib/unbuffer_output.c.
847         (main): New variable 'size' and 'value'.  Remove printf and
848         gdb_unbuffer_output.  Assign return value to size and value.
849         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
850         at the beginning.
851         (check_sizeof): Check the result by printing variable 'size'.
852         (check_valueof): Check the result by printing variable 'value'.
853
854 2015-12-01  Yao Qi  <yao.qi@linaro.org>
855
856         * gdb.base/disp-step-syscall.exp: Define syscall instruction
857         for aarch64*-*-linux* target.
858
859 2015-11-30  Pedro Alves  <palves@redhat.com>
860
861         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
862
863 2015-11-30  Pedro Alves  <palves@redhat.com>
864
865         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
866         Handle non-stop mode vCont replies.
867
868 2015-11-30  Pedro Alves  <palves@redhat.com>
869
870         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
871         prepare_for_testing.  Start gdb with "set non-stop on" appended to
872         GDBFLAGS.  Lax expected stop output.
873
874 2015-11-27  Yao Qi  <yao.qi@linaro.org>
875
876         * gdb.arch/arm-neon.exp: New.
877         * gdb.arch/arm-neon.c: New.
878
879 2015-11-27  Yao Qi  <yao.qi@linaro.org>
880
881         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
882
883 2015-11-27  Yao Qi  <yao.qi@linaro.org>
884
885         * gdb.cp/annota2.exp: Allow multiple occurrences of the
886         frames-invalid annotation.
887
888 2015-11-27  Yao Qi  <yao.qi@linaro.org>
889
890         * gdb.cp/annota2.exp: Use ${frames_invalid}.
891
892 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
893
894         * gdb.threads/names.exp: New file.
895         * gdb.threads/names.c: New file.
896         * README: Mention gdb,no_thread_names.
897
898 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
899
900         PR 19297
901         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
902         support" error.
903
904 2015-11-24  Pedro Alves  <palves@redhat.com>
905
906         PR 17539
907         * gdb.base/display.exp: Expect displays to be sorted in ascending
908         order.  Use multi_line.
909         * gdb.base/solib-display.exp: Likewise.
910
911 2015-11-24  Pedro Alves  <palves@redhat.com>
912
913         PR 17539
914         * gdb.base/display.exp: Expect displays to be sorted in ascending
915         order.  Use multi_line.
916         * gdb.base/solib-display.exp: Likewise.
917
918 2015-11-24  Pedro Alves  <palves@redhat.com>
919
920         PR 17539
921         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
922         threads in ascending order.
923         * gdb.base/foll-fork.exp: Likewise.
924         * gdb.base/foll-vfork.exp: Likewise.
925         * gdb.base/multi-forks.exp: Likewise.
926         * gdb.mi/mi-nonstop.exp: Likewise.
927         * gdb.mi/mi-nsintrall.exp: Likewise.
928         * gdb.multi/base.exp: Likewise.
929         * gdb.multi/multi-arch.exp: Likewise.
930         * gdb.python/py-inferior.exp: Likewise.
931         * gdb.threads/break-while-running.exp: Likewise.
932         * gdb.threads/execl.exp: Likewise.
933         * gdb.threads/gcore-thread.exp: Likewise.
934         * gdb.threads/info-threads-cur-sal.exp: Likewise.
935         * gdb.threads/kill.exp: Likewise.
936         * gdb.threads/linux-dp.exp: Likewise.
937         * gdb.threads/multiple-step-overs.exp: Likewise.
938         * gdb.threads/next-bp-other-thread.exp: Likewise.
939         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
940         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
941         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
942         * gdb.threads/thread-find.exp: Likewise.
943         * gdb.threads/tls.exp: Likewise.
944         * lib/mi-support.exp (mi_reverse_list): Delete.
945         (mi_check_thread_states): No longer reverse list.
946
947 2015-11-24  Pedro Alves  <palves@redhat.com>
948
949         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
950         use lowercase.
951
952 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
953
954         * gdb.trace/actions.c: Include trace-common.h.
955         (main): Add a location for a fast tracepoint.
956         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
957         the normal tracepoints.
958         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
959
960 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
961
962         * save-trace.exp: Factor out code to these...
963         (gdb_save_tracepoints): New.
964         (gdb_load_tracepoints): New.
965         (do_save_load_test): New.
966
967 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
968
969         * gdb.base/asmlabel.exp: New test.
970         * gdb.base/asmlabel.c: New test case.
971
972 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
973
974         * gdb.base/wrong_frame_bt_full-main.c: New file.
975         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
976         * gdb.base/wrong_frame_bt_full.exp: New file.
977
978 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
979
980         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
981
982 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
983
984         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
985         pstate register when comparing registers values in
986         sparc64-*-linux-gnu targets to avoid spurious differences.
987
988 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
989
990         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
991
992 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
993
994         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
995         as type argument to gdb_compile.
996         * gdb.base/nested-subp2.exp: Likewise.
997         * gdb.base/nested-subp3.exp: Likewise.
998
999 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1000
1001         * lib/dwarf.exp (_note): Fix left shift of negative value.
1002         * gdb.trace/trace-condition.exp: Likewise.
1003
1004 2015-11-13  Yao Qi  <yao.qi@linaro.org>
1005
1006         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1007         comments about d10v.
1008         (test_scalar_returns): Likewise.
1009         * gdb.base/d10v.ld: Remove.
1010         * gdb.base/overlays.exp: Remove the target triplet checking for
1011         d10v-*-*.
1012         * gdb.base/structs.exp (test_struct_returns): Remove the
1013         comments about d10v.
1014         (test_struct_calls): Likewise.
1015
1016 2015-11-13  Yao Qi  <yao.qi@linaro.org>
1017
1018         * gdb.base/gnu_vector.exp: Check the return value by "p res".
1019         * gdb.base/gnu_vector.c: Don't include stdio.h.
1020         (main): Don't print res and call add_some_intvecs.
1021
1022 2015-11-11  Marcin Kościelnicki  <koriakin@0x04.net>
1023
1024         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1025         macro.
1026         (func5): Removed.
1027         (func4): Use FAST_TRACEPOINT_LABEL.
1028         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1029         macro.
1030         (func): Removed.
1031         (thread_function): Use FAST_TRACEPOINT_LABEL.
1032         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1033         (func): Remove.
1034         (marker): Use FAST_TRACEPOINT_LABEL.
1035         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1036         (pendfunc1): Remove.
1037         (pendfunc): Use FAST_TRACEPOINT_LABEL.
1038         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1039         (foo): Remove.
1040         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1041         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1042         macro.
1043         (func): Remove.
1044         (marker): Use FAST_TRACEPOINT_LABEL.
1045         * gdb.trace/trace-common.h: New header.
1046         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1047         macro.
1048         (func): Remove.
1049         (marker): Use FAST_TRACEPOINT_LABEL.
1050         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1051         (func): Remove.
1052         (thread_function): Use FAST_TRACEPOINT_LABEL.
1053
1054 2015-11-10  Marcin Kościelnicki  <koriakin@0x04.net>
1055
1056         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1057         in front.
1058         * gdb.trace/change-loc.exp: Use global pcreg definition.
1059         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1060         * gdb.trace/entry-values.exp: Use global spreg definition, add $
1061         in front.
1062         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1063         * gdb.trace/pending.exp: Likewise.
1064         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1065         * gdb.trace/trace-break.exp: Likewise.
1066         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1067         in front.
1068         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1069         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1070         in front.
1071         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1072
1073 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
1074
1075         * gdb.ada/fin_fun_out: New testcase.
1076
1077 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
1078
1079         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1080         value associated with DW_AT_byte_size.
1081         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1082         constants for DW_AT_byte_size, DW_AT_lower_bound, and
1083         DW_AT_upper_bound.
1084
1085 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
1086
1087         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1088         (gdb_target_symbol_prefix_flags): Define in terms of _asm
1089         version.
1090         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1091         gdb.dwarf2/dw2-canonicalize-type.exp,
1092         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1093         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1094         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1095         provided by gdb_target_symbol_prefix_flags_asm.
1096         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1097         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1098         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1099         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1100         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1101         macros where needed).  Use this macro for symbols which require
1102         the prefix provided by SYMBOL_PREFIX.
1103
1104 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
1105
1106         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1107         New procs.
1108         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1109         representing expressions, of more than one list element.
1110         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1111         to prepend linker symbol prefix to f.
1112         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1113         table_1 and table_2.
1114         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1115         Likewise, for f and g.
1116         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1117         for ptr.
1118         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1119         for main.
1120         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1121         table_1_ptr and table_2_ptr.
1122
1123 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1124             Joel Brobecker  <brobecker@adacore.com>
1125
1126         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1127
1128 2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
1129
1130         * gdb.reverse/s390-mvcle.c: New test.
1131         * gdb.reverse/s390-mvcle.exp: New file.
1132         * lib/gdb.exp: Enable reverse tests on s390*-linux.
1133
1134 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
1135
1136         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1137
1138 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
1139
1140         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1141         reaching marker2.
1142         * gdb.reverse/getresuid-reverse.exp: Likewise.
1143         * gdb.reverse/pipe-reverse.exp: Likewise.
1144         * gdb.reverse/readv-reverse.exp: Likewise.
1145         * gdb.reverse/recvmsg-reverse.exp: Likewise.
1146         * gdb.reverse/time-reverse.exp: Likewise.
1147         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1148
1149 2015-10-30  Yao Qi  <yao.qi@linaro.org>
1150
1151         * gdb.threads/wp-replication.c (watch_count_done): Remove.
1152         (empty_cycle): Remove.
1153         (main): Don't call empty_cycle.  Don't use watch_count_done.
1154         * gdb.threads/wp-replication.exp: Don't set breakpoint on
1155         empty_cycle.  Rewrite the code counting HW watchpoints.
1156
1157 2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
1158
1159         * gdb.reverse/fstatat-reverse.c: New test.
1160         * gdb.reverse/fstatat-reverse.exp: New file.
1161         * gdb.reverse/getresuid-reverse.c: New test.
1162         * gdb.reverse/getresuid-reverse.exp: New file.
1163         * gdb.reverse/pipe-reverse.c: New test.
1164         * gdb.reverse/pipe-reverse.exp: New file.
1165         * gdb.reverse/readv-reverse.c: New test.
1166         * gdb.reverse/readv-reverse.exp: New file.
1167         * gdb.reverse/recvmsg-reverse.c: New test.
1168         * gdb.reverse/recvmsg-reverse.exp: New file.
1169         * gdb.reverse/time-reverse.c: New test.
1170         * gdb.reverse/time-reverse.exp: New file.
1171         * gdb.reverse/waitpid-reverse.c: New test.
1172         * gdb.reverse/waitpid-reverse.exp: New file.
1173
1174 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1175
1176         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1177
1178 2015-10-26  Doug Evans  <dje@google.com>
1179
1180         PR symtab/17391
1181         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1182         * gdb.dwarf2/bad-regnum.c: New file.
1183         * gdb.dwarf2/bad-regnum.exp: New file.
1184
1185 2015-10-26  Doug Evans  <dje@google.com>
1186
1187         PR python/18938
1188         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1189         file.
1190
1191 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1192
1193         * gdb.compile/compile.exp (compile code globalvar): Update expectation
1194         for a change by "Mention language in compile error message".
1195
1196 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
1197
1198         PR python/18073
1199         * gdb.python/py-type.c (C::a_method): New.
1200         (C::a_const_method): New.
1201         (C::a_static_method): New.
1202         (a_function): New.
1203         * gdb.python/py-type.exp (test_fields): Test getting fields
1204         from function and method.
1205
1206 2015-10-21  Keven Boell  <keven.boell@intel.com>
1207
1208         * gdb.fortran/vla-alloc-assoc.exp: New file.
1209         * gdb.fortran/vla-datatypes.exp: New file.
1210         * gdb.fortran/vla-datatypes.f90: New file.
1211         * gdb.fortran/vla-history.exp: New file.
1212         * gdb.fortran/vla-ptype-sub.exp: New file.
1213         * gdb.fortran/vla-ptype.exp: New file.
1214         * gdb.fortran/vla-sizeof.exp: New file.
1215         * gdb.fortran/vla-sub.f90: New file.
1216         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1217         * gdb.fortran/vla-value-sub-finish.exp: New file.
1218         * gdb.fortran/vla-value-sub.exp: New file.
1219         * gdb.fortran/vla-value.exp: New file.
1220         * gdb.fortran/vla-ptr-info.exp: New file.
1221         * gdb.mi/mi-vla-fortran.exp: New file.
1222         * gdb.mi/vla.f90: New file.
1223
1224 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
1225
1226         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1227         of hardwired timeout value.
1228
1229 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1230             Pedro Alves  <palves@redhat.com>
1231
1232         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1233         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1234
1235 2015-10-19  Josh Stone  <jistone@redhat.com>
1236
1237         * gdb.base/catch-syscall.c: Include <sched.h>.
1238         (unknown_syscall): New variable.
1239         (main): Trigger a vfork and an unknown syscall.
1240         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1241         (unknown_syscall_number): Likewise.
1242         (check_call_to_syscall): Accept an optional syscall pattern.
1243         (check_return_from_syscall): Likewise.
1244         (check_continue): Likewise.
1245         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1246         (test_catch_syscall_skipping_return): New test toggling off 'catch
1247         syscall' to step over the syscall return, then toggling back on.
1248         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1249         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1250         (do_syscall_tests): Call test_catch_syscall_without_args and
1251         test_catch_syscall_mid_vfork.
1252         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1253         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1254
1255 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
1256
1257         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1258         print g_vE): Add new pass patterns.
1259         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1260         print various symbol names for vptr fields.
1261
1262 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1263
1264         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1265         results.
1266
1267 2015-10-12  Yao Qi  <yao.qi@linaro.org>
1268
1269         * gdb.arch/disp-step-insn-reloc.exp: New test case.
1270
1271 2015-10-12  Yao Qi  <yao.qi@linaro.org>
1272
1273         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1274         is aarch64*-*-linux*.
1275
1276 2015-10-12  Yao Qi  <yao.qi@linaro.org>
1277
1278         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1279         (can_relocate_bcond_true): ... it.
1280         (can_relocate_bcond_false): New function.
1281         (foo): Likewise.
1282         (can_relocate_bl): Likewise.
1283         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1284         can_relocate_bl.
1285
1286 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
1287
1288         * gdb.base/nested-addr.c: New file.
1289         * gdb.base/nested-addr.exp: New testcase.
1290
1291 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
1292
1293         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1294         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1295         its output.  Ignore the output of "record goto begin" and instead
1296         check that GDB is replaying.
1297
1298 2015-10-09  Pedro Alves  <palves@redhat.com>
1299
1300         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1301         (top level): Use it in the run with no args test.
1302
1303 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1304
1305         * gdb.dlang/properties.exp: New file.
1306
1307 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
1308
1309         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1310         whether or not address 0x1000 is mapped on the target.
1311
1312 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
1313
1314         * gdb.python/py-type.exp: Do not run tests if binaries fail to
1315         build.
1316
1317 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
1318
1319         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1320         instruction-history test.
1321
1322 2015-09-28  Doug Evans  <dje@google.com>
1323
1324         * gdb.base/gcore.c (array_func): Add reference to static_array.
1325
1326 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
1327
1328         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1329         source line.
1330
1331 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1332
1333         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1334         short or char as base type.
1335
1336 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1337
1338         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1339         to allow any size enum.
1340
1341 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
1342
1343         * gdb.ada/array_ptr_renaming.exp: New testcase.
1344         * gdb.ada/array_ptr_renaming/foo.adb: New file.
1345         * gdb.ada/array_ptr_renaming/pack.ads: New file.
1346
1347 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
1348
1349         * gdb.trace/ftrace-lock.c: New file.
1350         * gdb.trace/ftrace-lock.exp: New file.
1351
1352 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
1353
1354         * gdb.arch/insn-reloc.c: New file.
1355         * gdb.arch/ftrace-insn-reloc.exp: New file.
1356
1357 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
1358
1359         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1360         instruction.
1361         * gdb.trace/pendshr1.c (pendfunc): Likewise.
1362         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1363         * gdb.trace/range-stepping.c: Likewise.
1364         * gdb.trace/trace-break.c: Likewise.
1365         * gdb.trace/trace-mt.c (thread_function): Likewise.
1366         * gdb.trace/ftrace.c (marker): Likewise.
1367         * gdb.trace/trace-condition.c (marker): Likewise.
1368         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1369         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1370         is_aarch64_target.
1371
1372 2015-09-18  Doug Evans  <xdje42@gmail.com>
1373
1374         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1375         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1376
1377 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1378
1379         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1380         the breakpoint.
1381
1382 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1383
1384         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1385         the pending breakpoint.  Remove timeout override for "Run till
1386         MI pending breakpoint on pendfunc3 on thread 2" test.
1387
1388 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1389
1390         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1391         filename pattern.
1392
1393 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1394
1395         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1396         in breakpoint filename pattern.
1397
1398 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1399
1400         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1401
1402 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
1403
1404         * gdb.linespec/explicit.exp: Check for readline support for
1405         tab-completion tests.  Fix obvious typo.
1406
1407 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
1408
1409         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1410         and replay.
1411
1412 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
1413
1414         * gdb.btrace/non-stop.c: New.
1415         * gdb.btrace/non-stop.exp: New.
1416
1417 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
1418             Yao Qi  <yao.qi@linaro.org>
1419
1420         * gdb.trace/trace-condition.c: New file.
1421         * gdb.trace/trace-condition.exp: New file.
1422
1423 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
1424
1425         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1426         for testing bytecode compilation.
1427
1428 2015-09-16  Pedro Alves  <palves@redhat.com>
1429             Sandra Loosemore <sandra@codesourcery.com>
1430
1431         * gdb.threads/non-stop-fair-events.c (timeout): New global.
1432         (SECONDS): Redefine.
1433         (main): Call pthread_kill and alarm early.
1434         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1435         support.
1436         (test): If the target can't hardware step and doesn't support
1437         displaced stepping, increase the timeout.
1438
1439 2015-09-16  Pedro Alves  <palves@redhat.com>
1440
1441         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1442         (enable_debug): New procedures.
1443         (test): Use them.  Bail out if waiting for threads fails.
1444         (top level): Bail out if a test fails.
1445
1446 2015-09-16  Yao Qi  <yao.qi@linaro.org>
1447
1448         * gdb.asm/asm-source.exp: Set asm-arch for
1449         aarch64*-*-* target.
1450         * gdb.asm/aarch64.inc: New file.
1451
1452 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
1453
1454         * gdb.ada/array_of_variable_length.exp: New testcase.
1455         * gdb.ada/array_of_variable_length/foo.adb: New file.
1456         * gdb.ada/array_of_variable_length/pck.adb: New file.
1457         * gdb.ada/array_of_variable_length/pck.ads: New file.
1458
1459 2015-09-15  Doug Evans  <dje@google.com>
1460
1461         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1462         of function static local variable.
1463
1464 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1465
1466         * gdb.threads/tls-so_extern.exp: New test file.
1467         * gdb.threads/tls-so_extern.c: New test file.
1468         * gdb.threads/tls-so_extern_main.c: New test file.
1469
1470 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1471
1472         * gdb.opt/solib-intra-step-lib.c: New file.
1473         * gdb.opt/solib-intra-step-main.c: New file.
1474         * gdb.opt/solib-intra-step.exp: New file.
1475
1476 2015-09-15  Pedro Alves  <palves@redhat.com>
1477
1478         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1479         gdb_continue_to_breakpoint instead of gdb_test_multiple.
1480
1481 2015-09-14  Pedro Alves  <palves@redhat.com>
1482
1483         * gdb.base/hook-stop-continue.c: Delete.
1484         * gdb.base/hook-stop-continue.exp: Delete.
1485         * gdb.base/hook-stop-frame.c: Delete.
1486         * gdb.base/hook-stop-frame.exp: Delete.
1487         * gdb.base/hook-stop.c: New file.
1488         * gdb.base/hook-stop.exp: New file.
1489
1490 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
1491
1492         * gdb.ada/access_to_packed_array.exp: New testcase.
1493         * gdb.ada/access_to_packed_array/foo.adb: New file.
1494         * gdb.ada/access_to_packed_array/pack.adb: New file.
1495         * gdb.ada/access_to_packed_array/pack.ads: New file.
1496
1497 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
1498
1499         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1500         buffer size test.
1501
1502 2015-09-11  Don Breazeal  <donb@codesourcery.com>
1503
1504         * gdb.base/foll-exec.c: Add copyright header.  Fix
1505         formatting issues.
1506         * gdb.base/foll-exec.exp (zap_session): Delete proc.
1507         (do_exec_tests): Use clean_restart in place of zap_session,
1508         and for test initialization.  Fix formatting issues.  Use
1509         fail in place of perror.
1510         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1511         an expect statement to match an expression with output from
1512         the program under debug.
1513         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1514         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1515         * gdb.threads/non-ldr-exc-2.exp: Likewise.
1516         * gdb.threads/non-ldr-exc-3.exp: Likewise.
1517         * gdb.threads/non-ldr-exc-4.exp: Likewise.
1518
1519 2015-09-09  Doug Evans  <dje@google.com>
1520
1521         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1522
1523 2015-09-09  Doug Evans  <dje@google.com>
1524
1525         * gdb.base/pie-execl.exp: Fix result test of build_executable.
1526
1527 2015-09-09  Doug Evans  <dje@google.com>
1528
1529         * gdb.base/savedregs.exp: Fix typo.
1530
1531 2015-09-09  Pedro Alves  <palves@redhat.com>
1532
1533         * gdb.mi/mi-cli.exp: Add CLI finish tests.
1534
1535 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
1536
1537         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1538         command actually switches threads.  Give up on remaining
1539         tests if target fails to stop at breakpoint.
1540
1541 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
1542
1543         * gdb.ada/funcall_char.exp: New testcase.
1544         * gdb.ada/funcall_char/foo.adb: New file.
1545
1546 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
1547
1548         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1549         expected outputs.  Add two testcases for completing ambiguous
1550         functions.
1551         * gdb.ada/complete/aux_pck.adb: New file.
1552         * gdb.ada/complete/aux_pck.ads: New file.
1553         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1554         Ambiguous_Func functions.
1555         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1556         * gdb.ada/complete/pck.adb: Likewise.
1557
1558 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
1559
1560         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1561         failures to run the test program under GDB.
1562
1563 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
1564
1565         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1566         to C.
1567
1568 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
1569
1570         * gdb.base/run-after-attach.exp: New test file.
1571         * gdb.base/run-after-attach.c: New test file.
1572
1573 2015-08-26  Don Breazeal  <donb@codesourcery.com>
1574
1575         * gdb.base/foll-exec-2.c: New test program.
1576         * gdb.base/foll-exec-2.exp: New test.
1577
1578 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
1579
1580         * gdb.base/nested-subp1.exp: New file.
1581         * gdb.base/nested-subp1.c: New file.
1582         * gdb.base/nested-subp2.exp: New file.
1583         * gdb.base/nested-subp2.c: New file.
1584         * gdb.base/nested-subp3.exp: New file.
1585         * gdb.base/nested-subp3.c: New file.
1586
1587 2015-08-24  Pedro Alves  <palves@redhat.com>
1588
1589         * gdb.server/connect-without-multi-process.c: New file.
1590         * gdb.server/connect-without-multi-process.exp: New file.
1591
1592 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
1593
1594         * gdb.opt/inline-markers.c: Make z int.
1595
1596 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
1597
1598         * gdb.opt/inline-markers.c: Make z volatile.
1599
1600 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
1601
1602         * gdb.opt/inline-bt.c: New volatile global z.
1603         * gdb.opt/inline-cmds.c: Likewise.
1604         * gdb.opt/inline-locals.c: Likewise.
1605         * gdb.opt/inline-markers.c: New extern global z.
1606         (marker): Use z.
1607         (inline_fn): Likewise.
1608
1609 2015-08-24  Pedro Alves  <palves@redhat.com>
1610
1611         * config/m32r-stub.exp: Remove file.
1612         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1613         * gdb.base/call-rt-st.exp: Likewise.
1614         * gdb.base/call-strs.exp: Likewise.
1615         * gdb.base/default.exp: Remove references to h8300-*-hms and
1616         *-*-udi*.
1617         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1618
1619 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1620
1621         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1622         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
1623         and "return" use KFAIL when GDB can not read/write the vector
1624         return value.
1625
1626 2015-08-21  Gary Benson <gbenson@redhat.com>
1627
1628         * gdb.trace/pending.exp: Cope with remote transfer warnings.
1629
1630 2015-08-20  Pedro Alves  <palves@redhat.com>
1631
1632         * gdb.server/solib-list.exp: No longer expect an interior stop in
1633         non-stop mode.
1634
1635 2015-08-20  Pedro Alves  <palves@redhat.com>
1636
1637         * gdb.server/connect-stopped-target.c: New file.
1638         * gdb.server/connect-stopped-target.exp: New file.
1639
1640 2015-08-20  Pedro Alves  <palves@redhat.com>
1641
1642         * gdb.dwarf2/comp-unit-lang.exp: New file.
1643         * gdb.dwarf2/comp-unit-lang.c: New file.
1644
1645 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
1646
1647         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1648         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1649
1650 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
1651
1652         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1653         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1654
1655 2015-08-18  Doug Evans  <dje@google.com>
1656             Adrian Sendroiu <adrian.sendroiu@freescale.com>
1657
1658         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1659         skip_python_tests.  New arg prompt_regexp.
1660         (skip_python_tests): New function.
1661         * lib/mi-support.exp (mi_skip_python_tests): New function.
1662         * gdb.python/py-mi-objfile-gdb.py: New file.
1663         * gdb.python/py-mi-objfile.c: New file.
1664         * gdb.python/py-mi-objfile.exp: New file.
1665
1666 2015-08-17  Keith Seitz  <keiths@redhat.com>
1667
1668         * gdb.linespec/explicit.exp: Move strace test from here ...
1669         * gdb.trace/strace.exp: ... to here.
1670
1671 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
1672
1673         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1674         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1675
1676 2015-08-14  Doug Evans  <xdje42@gmail.com>
1677
1678         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1679         inferior before selecting a new file.
1680
1681 2015-08-14  Doug Evans  <xdje42@gmail.com>
1682
1683         * gdb.mi/mi-disassemble.exp: Update.
1684         * gdb.base/disasm-optim.S: New file.
1685         * gdb.base/disasm-optim.c: New file.
1686         * gdb.base/disasm-optim.h: New file.
1687         * gdb.base/disasm-optim.exp: New file.
1688
1689 2015-08-14  Keith Seitz  <keiths@redhat.com>
1690
1691         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1692         "evaluated-by".
1693
1694 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
1695
1696         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1697
1698 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
1699
1700         * gdb.ada/fun_renaming.exp: New testcase.
1701         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1702         * gdb.ada/fun_renaming/pack.adb: New file.
1703         * gdb.ada/fun_renaming/pack.ads: New file.
1704
1705 2015-08-12  Keith Seitz  <keiths@redhat.com>
1706
1707         * gdb.base/dso2dso.exp: Pass basename of source file in call to
1708         gdb_get_line_number.
1709
1710 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
1711
1712         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1713         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1714         gdb.base/dso2dso.exp: New files.
1715
1716 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
1717             Pedro Alves  <palves@redhat.com>
1718             Keith Seitz  <keiths@redhat.com>
1719
1720         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1721         GDBFLAGS.
1722
1723 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
1724
1725         * gdb.base/gdbhistsize-history.exp
1726         (test_histsize_history_setting): Use save_vars.
1727         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1728         Use save_vars.
1729         (test_no_truncation_of_unlimited_history_file): Use save_vars.
1730         * gdb.base/readline.exp: Use save_vars.
1731
1732 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
1733
1734         * lib/gdb.exp (save_vars): New proc.
1735
1736 2015-08-11  Keith Seitz  <keiths@redhat.com>
1737
1738         * gdb.base/help.exp: Update help_breakpoint_text.
1739
1740 2015-08-11  Keith Seitz  <keiths@redhat.com>
1741
1742         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1743         (at toplevel): Call test_explicit_breakpoints.
1744         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1745         breakpoints.
1746         * lib/mi-support.exp (mi_make_breakpoint): Add support for
1747         breakpoint conditions, "-cond".
1748
1749 2015-08-11  Keith Seitz  <keiths@redhat.com>
1750
1751         * gdb.linespec/3explicit.c: New file.
1752         * gdb.linespec/cpexplicit.cc: New file.
1753         * gdb.linespec/cpexplicit.exp: New file.
1754         * gdb.linespec/explicit.c: New file.
1755         * gdb.linespec/explicit.exp: New file.
1756         * gdb.linespec/explicit2.c: New file.
1757         * gdb.linespec/ls-errs.exp: Add explicit location tests.
1758         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1759         before using in the matching pattern.
1760         Clarify that `prefix' is a regular expression.
1761
1762 2015-08-11  Keith Seitz  <keiths@redhat.com>
1763
1764         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1765         test.
1766         Add tests for missing ",FMT" and ",".
1767
1768 2015-08-10  Doug Evans  <dje@google.com>
1769             Keith Seitz  <keiths@redhat.com>
1770
1771         PR gdb/17960
1772         * gdb.base/completion.exp: Add location completer tests.
1773
1774 2015-08-07  Pedro Alves  <palves@redhat.com>
1775
1776         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1777         tests here.
1778         (top level): Run do_test with and without displaced stepping.
1779
1780 2015-08-07  Pedro Alves  <palves@redhat.com>
1781
1782         * gdb.base/valgrind-disp-step.c: New file.
1783         * gdb.base/valgrind-disp-step.exp: New file.
1784
1785 2015-08-07  Pedro Alves  <palves@redhat.com>
1786
1787         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1788         Delete function.
1789         (main): Add alarm.  Run an infinite loop instead of calling
1790         wait_threads.
1791         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1792         comment.
1793         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1794         Delete function.
1795         (main): Add alarm.  Run an infinite loop instead of calling
1796         wait_threads.
1797         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1798         comment.
1799
1800 2015-08-07  Pedro Alves  <palves@redhat.com>
1801
1802         * gdb.base/checkpoint-ns.exp: New file.
1803         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1804         standard_testfile.
1805
1806 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
1807
1808         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1809         * gdb.btrace/instruction_history.exp: Update.
1810         * gdb.btrace/tsx.exp: New.
1811         * gdb.btrace/tsx.c: New.
1812
1813 2015-08-06  Pedro Alves <palves@redhat.com>
1814
1815         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1816         increase timeout.
1817         * gdb.reverse/until-precsave.exp: Bump timeouts.
1818
1819 2015-08-06  Pedro Alves  <palves@redhat.com>
1820
1821         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1822
1823 2015-08-06  Pedro Alves  <palves@redhat.com>
1824
1825         PR gdb/18749
1826         * gdb.threads/process-dies-while-handling-bp.c: New file.
1827         * gdb.threads/process-dies-while-handling-bp.exp: New file.
1828
1829 2015-08-06  Pedro Alves  <palves@redhat.com>
1830
1831         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1832         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1833
1834 2015-08-05  Pedro Alves  <palves@redhat.com>
1835
1836         * gdb.threads/next-while-other-thread-longjmps.c: New file.
1837         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1838
1839 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
1840
1841         * gdb.base/bp-permanent.exp: Report test as unsupported if
1842         the target cannot stop at the permanent breakpoint.
1843
1844 2015-08-03  Doug Evans  <dje@google.com>
1845
1846         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1847         10000.
1848
1849 2015-08-03  Doug Evans  <dje@google.com>
1850
1851         * Makefile.in (workers/%.worker, build-perf): New rule.
1852         (GDB_PERFTEST_MODE): New variable.
1853         (check-perf): Use it.
1854         (clean): Clean up gdb.perf parallel build subdirs.
1855         * lib/build-piece.exp: New file.
1856         * lib/gdb.exp (make_gdb_parallel_path): New function
1857         (standard_output_file, standard_temp_file): Call it.
1858         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1859         of $GDB_PARALLEL.
1860         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1861
1862 2015-08-03  Doug Evans  <dje@google.com>
1863
1864         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1865         (LOG_FILE_NAME): New global.
1866         (TextReporter.__init__): Initialize self.txt_sum.
1867         (TextReporter.report): Add support for multiple data-points.
1868         Move report to perftest.sum, put raw data in perftest.log.
1869         (TextReporter.start): Open sum and log files.
1870         (TextReporter.end): Close sum and log files.
1871         * gdb.perf/lib/perftest/testresult.py
1872         (SingleStatisticTestResult.record): Handle multiple data-points.
1873
1874 2015-07-31  Pedro Alves  <palves@redhat.com>
1875
1876         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1877         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
1878         kill_wait_spawned_process instead of explicit "kill -9".
1879         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1880         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
1881         kill_wait_spawned_process.
1882         * gdb.base/attach-twice.exp: Likewise.
1883         * gdb.base/attach.exp: Likewise.
1884         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1885         gdb_test_multiple.
1886         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1887         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
1888         kill_wait_spawned_process.
1889         * gdb.base/valgrind-infcall.exp: Likewise.
1890         * gdb.multi/multi-attach.exp: Likewise.
1891         * gdb.python/py-prompt.exp: Likewise.
1892         * gdb.python/py-sync-interp.exp: Likewise.
1893         * gdb.server/ext-attach.exp: Likewise.
1894         * gdb.threads/attach-into-signal.exp (corefunc): Use
1895         spawn_wait_for_attach, spawn_id_get_pid and
1896         kill_wait_spawned_process.
1897         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1898         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
1899         spawn_id_get_pid and kill_wait_spawned_process.
1900         * gdb.threads/attach-stopped.exp (corefunc): Use
1901         spawn_wait_for_attach, spawn_id_get_pid and
1902         kill_wait_spawned_process.
1903         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1904         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
1905         kill_wait_spawned_process instead of explicit "kill -9".
1906         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1907         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1908         (spawn_wait_for_attach): Use spawn instead of exec to spawn
1909         processes.  Don't map cygwin/windows pids here.  Now returns a
1910         spawn id list.
1911
1912 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
1913
1914         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1915         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1916         correct patch.
1917
1918 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
1919
1920         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1921
1922 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
1923
1924         Reapply:
1925         2014-05-21  Mark Wielaard  <mjw@redhat.com>
1926
1927         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1928
1929 2015-07-30  Pedro Alves  <palves@redhat.com>
1930
1931         * linux-low.c (handle_extended_wait): Set the child's last
1932         reported status to TARGET_WAITKIND_STOPPED.
1933
1934 2015-07-30  Pedro Alves  <palves@redhat.com>
1935
1936         PR threads/18600
1937         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1938         only shows inferior 1.
1939
1940 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
1941             Pedro Alves  <palves@redhat.com>
1942
1943         PR threads/18600
1944         * gdb.threads/fork-plus-threads.c: New file.
1945         * gdb.threads/fork-plus-threads.exp: New file.
1946
1947 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
1948
1949         * gdb.base/batch-preserve-term-settings.exp
1950         (test_terminal_settings_preserved_after_cli_exit): Use
1951         send_quit_command.
1952
1953 2015-07-29  Pedro Alves  <palves@redhat.com>
1954             Don Breazeal  <donb@codesourcery.com>
1955
1956         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1957         output from both inferior_spawn_id and gdb_spawn_id.
1958
1959 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
1960
1961         * gdb.threads/attach-into-signal.exp (corefunc): Use
1962         with_test_prefix on nested loops, uniquefying the test messages.
1963
1964 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
1965
1966         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1967         commit.
1968
1969 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
1970
1971         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1972         New proc.
1973         (test_terminal_settings_preserved_after_sigterm): New test.
1974
1975 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
1976
1977         * gdb.base/batch-preserve-term-settings.exp
1978         (test_terminal_settings_preserved_after_cli_exit): New test.
1979
1980 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
1981
1982         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1983         manipulation of saved_gdbflags.
1984         (test_terminal_settings_preserved): Remove global declaration of
1985         the unused variable pagination_prompt.  Remove manipulation of
1986         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
1987         GDBFLAGS.
1988
1989 2015-07-29  Pedro Alves  <palves@redhat.com>
1990
1991         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1992
1993 2015-07-29  Pedro Alves  <palves@redhat.com>
1994
1995         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1996         at the top.
1997
1998 2015-07-29  Pedro Alves  <palves@redhat.com>
1999
2000         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2001         (main): Call gdb_unbuffer_output.
2002         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2003         (main): Call gdb_unbuffer_output.
2004         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2005         (main): Call gdb_unbuffer_output.
2006         * gdb.base/call-strs.exp: Adjust to step over the
2007         gdb_unbuffer_output call.
2008         * gdb.base/catch-gdb-caused-signals.c: Include
2009         "../lib/unbuffer_output.c".
2010         (main): Call gdb_unbuffer_output.
2011         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2012         (main): Call gdb_unbuffer_output.
2013         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2014         (main): Call gdb_unbuffer_output.
2015         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2016         (main): Call gdb_unbuffer_output.
2017         * gdb.base/shlib-call.exp: Adjust to step over the
2018         gdb_unbuffer_output call.
2019         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2020         (main): Call gdb_unbuffer_output.
2021         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2022         (main): Call gdb_unbuffer_output.
2023         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2024         (main): Rename to ...
2025         (test): ... this.
2026         (main): Reimplement.
2027         * gdb.base/varargs.exp: Run to test instead of to main.
2028         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2029         (main): Call gdb_unbuffer_output.
2030
2031 2015-07-29  Pedro Alves  <palves@redhat.com>
2032
2033         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2034         factore out from mi_continue_dprintf.  For call-style dprintfs,
2035         expect dprintf output out of $inferior_spawn_id.
2036         (mi_continue_dprintf): Use mi_expect_dprintf.
2037         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2038         (main): Call gdb_unbuffer_output.
2039
2040 2015-07-29  Pedro Alves  <palves@redhat.com>
2041
2042         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2043         (default_mi_gdb_start): Set inferior_spawn_id instead of
2044         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
2045         gdb_spawn_id.
2046         (mi_gdb_test): Always expect inferior output from both
2047         $inferior_spawn_id and $gdb_spawn_id.
2048
2049 2015-07-29  Pedro Alves  <palves@redhat.com>
2050
2051         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
2052         send_inferior and $inferior_spawn_id.
2053
2054 2015-07-29  Pedro Alves  <palves@redhat.com>
2055
2056         * gdb.gdb/complaints.exp (test_initial_complaints)
2057         (test_serial_complaints, test_short_complaints): Use
2058         gdb_test_stdio.
2059         (test_empty_complaint): Handle $inferior_spawn_id !=
2060         $gdb_spawn_id.
2061
2062 2015-07-29  Pedro Alves  <palves@redhat.com>
2063
2064         * gdb.base/varargs.exp: Use gdb_test_stdio.
2065
2066 2015-07-29  Pedro Alves  <palves@redhat.com>
2067
2068         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2069
2070 2015-07-29  Pedro Alves  <palves@redhat.com>
2071
2072         * gdb.base/ending-run.exp: Use gdb_test_stdio.
2073
2074 2015-07-29  Pedro Alves  <palves@redhat.com>
2075
2076         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2077         parameter into two new parameters, "inf_result" and "gdb_result".
2078         Expect inferior output and gdb output from $inferior_spawn_id and
2079         $gdb_spawn_id, respectively.  Adjust all callers.
2080
2081 2015-07-29  Pedro Alves  <palves@redhat.com>
2082
2083         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2084         of gdb_test_sequence.
2085
2086 2015-07-29  Pedro Alves  <palves@redhat.com>
2087
2088         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2089         (saw_spurious_output): Expect inferior output from
2090         $inferior_spawn_id.  Use gdb_test_stdio.
2091
2092 2015-07-29  Pedro Alves  <palves@redhat.com>
2093
2094         * gdb.base/dprintf.exp: Use standard_testfile.  Change
2095         prepare_for_testing call.
2096         (srcfile): Don't set.
2097         (restart): New procedure.
2098         (test_dprintf): New procecure, use to continue over dprintfs.
2099         (test_call, test_agent): New procedures, tests moved here.
2100         Restart gdb and recreate dprintfs.  Adjust expected output.
2101
2102 2015-07-29  Pedro Alves  <palves@redhat.com>
2103
2104         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2105
2106 2015-07-29  Pedro Alves  <palves@redhat.com>
2107
2108         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2109
2110 2015-07-29  Pedro Alves  <palves@redhat.com>
2111
2112         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2113         gdb_test_stdio.
2114
2115 2015-07-29  Pedro Alves  <palves@redhat.com>
2116
2117         * lib/gdb.exp (gdb_test_stdio): New procedure.
2118
2119 2015-07-29  Pedro Alves  <palves@redhat.com>
2120
2121         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2122
2123 2015-07-29  Pedro Alves  <palves@redhat.com>
2124
2125         * gdb.base/call-signal-resume.exp: Remove check for
2126         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
2127         * gdb.base/unwindonsignal.exp: Likewise.
2128         * gdb.base/call-signals.c (gen_signal): Remove printf call.
2129         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2130
2131 2015-07-29  Pedro Alves  <palves@redhat.com>
2132
2133         * gdb.base/siginfo-addr.c (pass): New function.
2134         (handler): Call it iff si_addr is correct.
2135         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2136         Set a breakpoint at "pass" and continue to it.
2137
2138 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
2139
2140         * gdb.python/py-objfile.exp: Make some tests have unique names.
2141         * gdb.python/py-pp-registration.exp: Likewise.
2142
2143 2015-07-28  Pedro Alves  <palves@redhat.com>
2144
2145         * gdb.server/server-exec-info.exp: Issue a "disconnect".
2146
2147 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
2148
2149         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2150
2151 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
2152
2153         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2154
2155 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
2156
2157         * gdb.base/gdb-sigterm-2.exp: New test.
2158
2159 2015-07-25  Doug Evans  <xdje42@gmail.com>
2160
2161         Revert:
2162         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2163         (workers/%.worker, build-perf): New rule.
2164         (GDB_PERFTEST_MODE): New variable.
2165         (check-perf): Use it.
2166         (clean): Clean up gdb.perf parallel build subdirs.
2167         * lib/build-piece.exp: New file.
2168         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2169         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2170         name.
2171         (standard_temp_file): Ditto.
2172         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2173         of $GDB_PARALLEL.
2174
2175 2015-07-24  Doug Evans  <dje@google.com>
2176
2177         * gdb.perf/lib/perftest/utils.py: New file.
2178         * gdb.perf/gm-hello.cc: New file.
2179         * gdb.perf/gm-pervasive-typedef.cc: New file.
2180         * gdb.perf/gm-pervasive-typedef.h: New file.
2181         * gdb.perf/gm-std.cc: New file.
2182         * gdb.perf/gm-std.h: New file.
2183         * gdb.perf/gm-use-cerr.cc: New file.
2184         * gdb.perf/gm-utils.h: New file.
2185         * gdb.perf/gmonster-null-lookup.py: New file.
2186         * gdb.perf/gmonster-pervasive-typedef.py: New file.
2187         * gdb.perf/gmonster-print-cerr.py: New file.
2188         * gdb.perf/gmonster-ptype-string.py: New file.
2189         * gdb.perf/gmonster-runto-main.py: New file.
2190         * gdb.perf/gmonster-select-file.py: New file.
2191         * gdb.perf/gmonster1-null-lookup.exp: New file.
2192         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2193         * gdb.perf/gmonster1-print-cerr.exp: New file.
2194         * gdb.perf/gmonster1-ptype-string.exp: New file.
2195         * gdb.perf/gmonster1-runto-main.exp: New file.
2196         * gdb.perf/gmonster1-select-file.exp: New file.
2197         * gdb.perf/gmonster1.cc: New file.
2198         * gdb.perf/gmonster1.exp: New file.
2199         * gdb.perf/gmonster2-null-lookup.exp: New file.
2200         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2201         * gdb.perf/gmonster2-print-cerr.exp: New file.
2202         * gdb.perf/gmonster2-ptype-string.exp: New file.
2203         * gdb.perf/gmonster2-runto-main.exp: New file.
2204         * gdb.perf/gmonster2-select-file.exp: New file.
2205         * gdb.perf/gmonster2.cc: New file.
2206         * gdb.perf/gmonster2.exp: New file.
2207
2208 2015-07-24  Doug Evans  <dje@google.com>
2209
2210         * gdb.perf/README: New file.
2211         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2212         * lib/gen-perf-test.exp: New file.
2213
2214 2015-07-24  Doug Evans  <dje@google.com>
2215
2216         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2217         (PerfTest::startup): New function.
2218         (PerfTest::run): Return result of calling body.
2219         (PerfTest::assemble): Rewrite.
2220         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2221         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2222         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2223         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2224         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2225
2226 2015-07-24  Doug Evans  <dje@google.com>
2227
2228         * lib/gdb.exp (clean_restart): Make executable optional.
2229
2230 2015-07-24  Doug Evans  <dje@google.com>
2231
2232         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2233         compiler_info references.
2234         * gdb.cp/temargs.exp: Ditto.
2235         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2236         (get_compiler_info): Early exit if already computed.  Set compiler_info
2237         to "unknown" if there was a problem.
2238         (test_compiler_info): Add function comment.  Call get_compiler_info.
2239
2240 2015-07-24  Doug Evans  <dje@google.com>
2241
2242         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2243         (workers/%.worker, build-perf): New rule.
2244         (GDB_PERFTEST_MODE): New variable.
2245         (check-perf): Use it.
2246         (clean): Clean up gdb.perf parallel build subdirs.
2247         * lib/build-piece.exp: New file.
2248         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2249         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2250         name.
2251         (standard_temp_file): Ditto.
2252         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2253         of $GDB_PARALLEL.
2254
2255 2015-07-24  Doug Evans  <dje@google.com>
2256
2257         * lib/future.exp (gdb_default_target_compile): New option
2258         "early_flags".
2259         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2260         --as-needed.
2261
2262 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
2263
2264         * gdb.base/catch-syscall.exp: Call gdb_exit before
2265         gdb_skip_xml_test.
2266
2267 2015-07-24  Pedro Alves  <palves@redhat.com>
2268
2269         * gdb.python/py-events.exp: Accept output between the stop event
2270         and the prompt.
2271         * gdb.python/py-evsignal.exp: Likewise.
2272         * gdb.python/py-evthreads.exp: Likewise.
2273
2274 2015-07-24  Pedro Alves  <palves@redhat.com>
2275
2276         PR gdb/18717
2277         * gdb.threads/non-ldr-exit.c: New file.
2278         * gdb.threads/non-ldr-exit.exp: New file.
2279
2280 2015-07-24  Yao Qi  <yao.qi@linaro.org>
2281
2282         * gdb.server/ext-wrapper.exp: Test --wrapper option when
2283         restarting process.
2284
2285 2015-07-24  Yao Qi  <yao.qi@linaro.org>
2286
2287         * gdb.server/ext-restart.exp: New file.
2288
2289 2015-07-24  Yao Qi  <yao.qi@linaro.org>
2290
2291         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2292         argument options.
2293         * gdb.server/ext-wrapper.exp: New file.
2294
2295 2015-07-23  Doug Evans  <dje@google.com>
2296
2297         * gdb.dwarf2/dw2-dummy-cu.S: New file.
2298         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2299
2300 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
2301
2302         * gdb.ada/var_arr_typedef.exp: New testcase.
2303         * gdb.ada/var_arr_typedef/pack.adb: New file.
2304         * gdb.ada/var_arr_typedef/pack.ads: New file.
2305         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2306
2307 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
2308
2309         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2310
2311 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2312
2313         * gdb.arch/i386-biarch-core.exp: Replace istarget
2314         by "complete set gnutarget". Remove expectation for the "core-file"
2315         command.
2316
2317 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2318
2319         Revert the previous commit:
2320         Tests for validate symbol file using build-id.
2321
2322 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
2323
2324         Tests for validate symbol file using build-id.
2325         * gdb.base/solib-mismatch-lib.c: New file.
2326         * gdb.base/solib-mismatch-libmod.c: New file.
2327         * gdb.base/solib-mismatch.c: New file.
2328         * gdb.base/solib-mismatch.exp: New file.
2329
2330 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
2331
2332         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2333         nios2-*-linux*.
2334         * gdb.base/sigbpt.exp (stepi_out): Likewise.
2335         * gdb.base/siginfo.exp: Likewise.
2336         * gdb.base/sigstep.exp (advance, advancei): Likewise.
2337
2338 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
2339
2340         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2341         Move it to ...
2342         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2343         ... here.
2344         * gdb.trace/range-stepping.exp: Check that the target supports
2345         range stepping.
2346
2347 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2348
2349         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2350
2351 2015-07-14  Pedro Alves  <palves@redhat.com>
2352
2353         * gdb.base/killed-outside.exp: New file.
2354         * gdb.base/killed-outside.c: New file.
2355
2356 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2357
2358         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2359         (n at main): New.
2360         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2361
2362 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2363
2364         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2365         infcall tests instead of setting up for KFAIL.
2366
2367 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
2368
2369         * gdb.btrace/record_goto-step.exp: New.
2370
2371 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2372
2373         PR compile/18484
2374         * gdb.compile/compile.c (struct struct_type): Add volatile to
2375         selffield's type.
2376         * gdb.compile/compile.exp
2377         (compile code struct_object.selffield = &struct_object): Skip further
2378         struct_object tests if this one xfails.
2379
2380 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
2381
2382         PR exp/18617
2383         * gdb.trace/ax.exp: Add test.
2384
2385 2015-07-07  Yao Qi  <yao.qi@linaro.org>
2386
2387         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2388         instead of istarget "aarch64*-*-*".
2389         * gdb.arch/aarch64-fp.exp: Likewise.
2390         * gdb.base/float.exp: Likewise.
2391         * gdb.reverse/aarch64.exp: Likewise.
2392         * lib/gdb.exp (is_aarch64_target): New proc.
2393
2394 2015-07-07  Yao Qi  <yao.qi@linaro.org>
2395
2396         * lib/gdb.exp (is_aarch32_target): New proc.
2397         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2398         instead of "istarget "arm*-*-*"".
2399         * gdb.arch/arm-disp-step.exp: Likewise.
2400         * gdb.arch/thumb-bx-pc.exp: Likewise.
2401         * gdb.arch/thumb-prologue.exp: Likewise.
2402         * gdb.arch/thumb-singlestep.exp: Likewise.
2403         * gdb.base/disp-step-syscall.exp: Likewise.
2404         * gdb.base/float.exp: Likewise.
2405
2406 2015-07-07  Yao Qi  <yao.qi@linaro.org>
2407
2408         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2409         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2410
2411 2015-07-07  Yao Qi  <yao.qi@linaro.org>
2412
2413         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2414         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2415         if it exists.
2416         * gdb.multi/multi-arch.exp: Likewise.
2417
2418 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
2419
2420         * gdb.python/py-lazy-string.exp: Add missing parentheses to
2421         print.
2422
2423 2015-07-07  Yao Qi  <yao.qi@linaro.org>
2424
2425         * gdb.arch/thumb-singlestep.exp: Do one more single step.
2426
2427 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
2428
2429         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2430         '[' and ']' characters.
2431
2432 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
2433
2434         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2435
2436 2015-06-29  Pedro Alves  <palves@redhat.com>
2437
2438         PR threads/18127
2439         * gdb.threads/hand-call-new-thread.c: New file.
2440         * gdb.threads/hand-call-new-thread.c: New file.
2441
2442 2015-06-26  Keith Seitz  <keiths@redhat.com>
2443             Doug Evans  <dje@google.com>
2444
2445         PR 16253
2446         * gdb.cp/var-tag-2.cc: New file.
2447         * gdb.cp/var-tag-3.cc: New file.
2448         * gdb.cp/var-tag-4.cc: New file.
2449         * gdb.cp/var-tag.cc: New file.
2450         * gdb.cp/var-tag.exp: New file.
2451
2452 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
2453
2454         * gdb.base/history-duplicates.exp: New test.
2455
2456 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
2457
2458         * gdb.base/completion.exp: Test the completion of the "focus"
2459         command.
2460
2461 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2462
2463         * gdb.arch/amd64-prologue-skip.S: New file.
2464         * gdb.arch/amd64-prologue-skip.exp: New file.
2465
2466 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
2467
2468         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2469         is_address_zero_readable check.
2470
2471 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
2472
2473         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2474         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2475
2476 2015-06-24  Yao Qi  <yao.qi@linaro.org>
2477
2478         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2479         linux targets.
2480
2481 2015-06-24  Yao Qi  <yao.qi@linaro.org>
2482
2483         * lib/gdb.exp (supports_get_siginfo_type): New proc.
2484         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2485         * gdb.base/siginfo-thread.exp: Likewise.
2486
2487 2015-06-22  Yao Qi  <yao.qi@linaro.org>
2488
2489         * boards/remote-gdbserver-on-localhost.exp: Add comments.
2490
2491 2015-06-22  Yao Qi  <yao.qi@linaro.org>
2492
2493         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2494         aarch64*-*-*.
2495         (skip_hw_watchpoint_tests): Likewise.
2496
2497 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
2498
2499         * gdb.base/gdbinit-history.exp: Test the interaction between
2500         setting GDBHISTSIZE and setting the history size via .gdbinit.
2501
2502 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
2503
2504         PR gdb/16999
2505         * gdb.base/gdbhistsize-history.exp: New test.
2506
2507 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
2508
2509         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2510         with GDBHISTSIZE.
2511         * gdb.base/readline.exp: Likewise.
2512
2513 2015-06-17  Yao Qi  <yao.qi@linaro.org>
2514
2515         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2516         line.
2517
2518 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
2519
2520         * gdb.base/gdbinit-history.exp: Add test case to check that
2521         an unlimited history file does not get truncated on exit.
2522
2523 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2524
2525         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2526         (VECTOR): New macro.  Use it...
2527         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2528         ...for these typedefs.
2529         (int8, char1, int1, double1): New typedefs.
2530         (struct just_int2, struct two_int2): New structures.
2531         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2532         (add_structvecs, add_singlevecs): New functions.
2533         (main): Call add_some_intvecs twice.
2534         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2535         the compile and exit upon failure.  Try compiling for the "native"
2536         architecture.  Test inferior function calls with vector arguments
2537         and vector return value handling with "finish" and "return".
2538
2539 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
2540
2541         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2542         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2543         PE file.
2544         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2545
2546 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
2547
2548         PR breakpoints/16465
2549         * gdb.mi/mi-dprintf-pending.c: New file.
2550         * gdb.mi/mi-dprintf-pending.exp: New test.
2551         * gdb.mi/mi-dprintf-pendshr.c: New file.
2552
2553 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
2554             Mircea Gherzan  <mircea.gherzan@intel.com>
2555
2556         * gdb.arch/i386-mpx-map.c: New file.
2557         * gdb.arch/i386-mpx-map.exp: New File.
2558
2559 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
2560
2561         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2562         * gdb.arch/i386-mpx.exp: Indentation fixed.
2563
2564 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
2565
2566         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2567         function and improved indentation.
2568         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2569         gdb_test_multiple. Added additional tests to skip the test.
2570
2571 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
2572
2573         * gdb.arch/i386-avx512.c: Change path in include file.
2574         * gdb.arch/i386-avx512.exp: Change include dir path
2575         compilation flag.
2576         * gdb.arch/i386-mpx.c: Change path in include file.
2577         * gdb.arch/i386-mpx.exp: Change include dir path compilation
2578         flag.
2579
2580 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2581
2582         * gdb.compile/compile-print.exp (compile print *vararray@3)
2583         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2584
2585 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
2586
2587         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2588         (do not keep jit in memory): ... this.
2589         (expect 5): Change it to ...
2590         (expect no 5): ... this.
2591
2592 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
2593
2594         PR gdb/15564
2595         * gdb.mi/mi-detach.exp: New file.
2596
2597 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2598
2599         PR symtab/18392
2600         * gdb.arch/amd64-tailcall-self.S: New file.
2601         * gdb.arch/amd64-tailcall-self.c: New file.
2602         * gdb.arch/amd64-tailcall-self.exp: New file.
2603
2604 2015-05-28  Don Breazeal  <donb@codesourcery.com>
2605
2606         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2607         tests for remote targets by checking is_target_gdbserver.
2608
2609 2015-05-27  Doug Evans  <dje@google.com>
2610
2611         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2612         * gdb.dwarf2/opaque-type-lookup.c: New file.
2613         * gdb.dwarf2/opaque-type-lookup.exp: New file.
2614
2615 2015-05-26  Doug Evans  <dje@google.com>
2616
2617         * gdb.cp/iostream.cc: New file.
2618         * gdb.cp/iostream.exp: New file.
2619
2620 2015-05-26  Doug Evans  <dje@google.com>
2621
2622         * gdb.dwarf2/dw2-op-call.exp: Update.
2623         * gdb.dwarf2/dw4-sig-types.exp: Update.
2624         * gdb.dwarf2/implptr.exp: Update.
2625         * gdb.mi/mi-cmd-param-changed.exp: Update.
2626
2627 2015-05-26  Doug Evans  <dje@google.com>
2628
2629         * gdb.python/py-lazy-string.c: New file.
2630         * gdb.python/py-lazy-string.exp: New file.
2631         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2632         (main): Update.  Add estring3.
2633         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2634         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2635
2636 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
2637             Yao Qi  <yao.qi@linaro.org>
2638
2639         * gdb.reverse/aarch64.c: New.
2640         * gdb.reverse/aarch64.exp: New.
2641
2642 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
2643
2644         * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2645         (supports_reverse): Likewise.
2646
2647 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
2648
2649         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2650         Use with_test_prefix.
2651
2652 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2653
2654         * gdb.base/completion.exp: Add test for completion of layout
2655         names.
2656
2657 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
2658
2659         * lib/gdb.exp (skip_tui_tests): New proc.
2660         * gdb.base/tui-layout.exp: Check skip_tui_tests.
2661
2662 2015-05-19  Pedro Alves  <palves@redhat.com>
2663
2664         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2665         Save the whole env array instead of just HOME.  Unset HISTSIZE in
2666         the environment while testing.  Restore whole environment
2667         afterwards.
2668
2669 2015-05-16  Doug Evans  <xdje42@gmail.com>
2670
2671         * gdb.guile/scm-ports.c: New file.
2672         * gdb.guile/scm-ports.exp: Add memory port tests.
2673
2674 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2675
2676         * gdb.compile/compile-print.c: New file.
2677         * gdb.compile/compile-print.exp: New file.
2678
2679 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2680
2681         * gdb.compile/compile-ops.exp: Cast param to void.
2682         * gdb.compile/compile.exp: Complete type for _gdb_expr.
2683         (compile code struct_object.selffield = &struct_object): Add xfail.
2684
2685 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
2686
2687         * gdb.ada/arr_enum_with_gap: New testcase.
2688
2689 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
2690
2691         * gdb.ada/byte_packed_arr: New testcase.
2692
2693 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
2694
2695         * gdb.ada/pckd_neg: New testcase.
2696
2697 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
2698
2699         PR gdb/17820
2700         * gdb.base/gdbinit-history.exp: New test.
2701         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2702         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2703
2704 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
2705
2706         * gdb.python/py-xmethods.cc: Enhance test case.
2707         * gdb.python/py-xmethods.exp: New tests.
2708         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2709         function.
2710         (B_indexoper): Likewise.
2711         (global_dm_list) : Add new xmethod worker functions.
2712
2713 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2714
2715         * gdb.base/coredump-filter.exp: Correctly unset
2716         "coredump_var_addr" array.
2717
2718 2015-05-08  Pedro Alves  <palves@redhat.com>
2719
2720         * gdb.server/non-existing-program.exp: Unset spawn_id.
2721
2722 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
2723
2724         PR python/18291
2725         * gdb.python/py-xmethods.exp: Add tests.
2726
2727 2015-05-08  Yao Qi  <yao.qi@linaro.org>
2728
2729         PR gdb/18208
2730         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2731         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2732         function set_coredump_filter, and remove remote_exec call.
2733         Remove argument ipid.  Callers update.
2734         (top level): Don't get inferior's PID.
2735
2736 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2737
2738         * gdb.base/watch_thread_num.exp: Skip test on targets without
2739         access watchpoints.
2740
2741 2015-05-06  Pedro Alves  <palves@redhat.com>
2742
2743         PR server/18081
2744         * gdb.server/non-existing-program.exp: New file.
2745
2746 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
2747
2748         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2749
2750 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
2751
2752         * gdb.ada/out_of_line_in_inlined: New testcase.
2753
2754 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
2755
2756         * gdb.ada/var_rec_arr: New testcase.
2757
2758 2015-04-30  Yao Qi  <yao.qi@linaro.org>
2759
2760         * gdb.base/break-idempotent.exp: If
2761         skip_hw_watchpoint_multi_tests returns true, skip the tests
2762         on "rwatch" and "awatch".
2763
2764 2015-04-30  Yao Qi  <yao.qi@linaro.org>
2765
2766         * gdb.base/relativedebug.exp: Invoke gdb command
2767         "info sharedlibrary", and if libc.so doesn't have debug info,
2768         skip the test.
2769
2770 2015-04-29  Doug Evans  <dje@google.com>
2771
2772         * gdb.python/py-xmethods.exp: Add ptype tests.
2773         * gdb.python/py-xmethods.py (E_method_char_worker): Add
2774         get_result_type method.
2775
2776 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
2777
2778         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2779         the target does not support hardware watchpoints.
2780
2781 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
2782
2783         * gdb.base/break-always.exp: Abort testing if writing to memory
2784         causes an error.
2785
2786 2015-04-28  Doug Evans  <dje@google.com>
2787
2788         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2789         * gdb.python/py-pp-registration.exp: ... here.  New file.
2790         * gdb.python/py-pp-registration.c: New file.
2791         * gdb.python/py-pp-registration.py: New file.
2792
2793 2015-04-28  Doug Evans  <dje@google.com>
2794
2795         * gdb.python/py-bad-printers.c: New file.
2796         * gdb.python/py-bad-printers.py: New file.
2797         * gdb.python/py-bad-printers.exp: New file.
2798
2799 2015-04-28  Sasha Smundak  <asmundak@google.com>
2800
2801         * gdb.python/py-type.exp: New test.
2802
2803 2015-04-28  Andy Wingo  <wingo@igalia.com>
2804
2805         * gdb.python/py-parameter.exp:
2806         * gdb.guile/scm-parameter.exp: Escape the path that we are
2807         matching against, as it might contain characters that are special
2808         to regular expressions.
2809
2810 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
2811
2812         * gdb.ada/rec_comp: New testcase.
2813
2814 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
2815
2816         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2817         before using it.
2818
2819 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
2820
2821         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
2822         new tests for verilog output.
2823
2824 2015-04-24  Yao Qi  <yao.qi@linaro.org>
2825
2826         * boards/remote-gdbserver-on-localhost.exp: New file.
2827
2828 2015-04-23  Pedro Alves  <palves@redhat.com>
2829
2830         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2831         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
2832         "end of file", remove $inferior_spawn_id from the indirect list.
2833
2834 2015-04-23  Pedro Alves  <palves@redhat.com>
2835
2836         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2837
2838 2015-04-23  Pedro Alves  <palves@redhat.com>
2839
2840         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2841         on $any_spawn_id instead of only on $gdb_spawn_id.
2842
2843 2015-04-21  Pierre Muller  <muller@sourceware.org>
2844
2845         PR pascal/17815
2846         * lib/pascal.exp (gpc_compile): Add new option "class".
2847         (fpc_compile): Likewise.
2848         * gdb.pascal/case-insensitive-symbols.pas: New file.
2849         * gdb.pascal/case-insensitive-symbols.exp: New file.
2850
2851 2015-04-20  Gary Benson <gbenson@redhat.com>
2852
2853         * gdb.base/attach.exp: Fix three extended remote failures.
2854
2855 2015-04-17  Gary Benson <gbenson@redhat.com>
2856
2857         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2858         the main executable over the remote protocol.
2859
2860 2015-04-16  Pedro Alves  <palves@redhat.com>
2861
2862         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2863         a new gdbserver if gdbserver_reconnect_p is set.
2864
2865 2015-04-16  Pedro Alves  <palves@redhat.com>
2866
2867         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2868         is set, don't exit gdbserver.
2869
2870 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2871
2872         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2873         appropriate .insn, such that an older assembler can be used.
2874         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2875         the z/Architecture instruction set on 31-bit targets as well.
2876
2877 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2878
2879         * gdb.go/handcall.exp: Remove all logic related to the first
2880         breakpoint and rely on go_runto_main instead.
2881         * gdb.go/strings.exp: Likewise.
2882         * gdb.go/unsafe.exp: Likewise.
2883         * gdb.go/hello.exp: Likewise.  Also rename the remaining
2884         breakpoint marker to "breakpoint 1".
2885         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2886         * gdb.go/strings.go: Likewise.
2887         * gdb.go/unsafe.go: Likewise.
2888         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
2889         "set breakpoint 2 here" and rename the remaining breakpoint marker
2890         to "breakpoint 1".
2891
2892 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
2893
2894         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2895         if itertools.imap is not present.
2896         * gdb.python/py-objfile.exp: Add parentheses.
2897         * gdb.python/py-type.exp: Same.
2898         * gdb.python/py-unwind-maint.py: Same.
2899
2900 2015-04-15  Yao Qi  <yao.qi@linaro.org>
2901
2902         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2903         of ":$ptr_size" and set its form explicitly.
2904
2905 2015-04-15  Pedro Alves  <palves@redhat.com>
2906             Yao Qi  <yao.qi@linaro.org>
2907
2908         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2909         timeout by factor of 4.
2910         (test_regular_watch): Likewise.
2911         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2912         * gdb.reverse/sigall-reverse.exp: Likewise.
2913         * gdb.reverse/until-precsave.exp: Likewise.
2914         * lib/gdb.exp (with_timeout_factor): New proc.
2915         (gdb_expect): Move some code to ...
2916         (get_largest_timeout): ... here.  New procedure.
2917
2918 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
2919
2920         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2921
2922 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
2923
2924         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2925         to write to the .text section.
2926
2927 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
2928
2929         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2930         Handle the case of targets that do not provide PID information.
2931
2932 2015-04-13  Yao Qi  <yao.qi@linaro.org>
2933
2934         * lib/gdbserver-support.exp (gdb_exit): Catch exception
2935         and use expect instead of gdb_expect.
2936
2937 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
2938
2939         * gdb.base/coredump-filter.exp: Rename variable "addr" to
2940         "coredump_var_addr" to avoid naming conflict with other testcases.
2941
2942 2015-04-10  Pedro Alves  <palves@redhat.com>
2943
2944         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2945         gdb_test_sequence and gdb_assert.
2946
2947 2015-04-10  Pedro Alves  <palves@redhat.com>
2948
2949         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2950         test messages that don't include the breakpoint address.
2951
2952 2015-04-10  Yao Qi  <yao.qi@linaro.org>
2953
2954         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2955         false for some offset and width combinations which aren't
2956         supported by linux kernel.
2957
2958 2015-04-10  Pedro Alves  <palves@redhat.com>
2959
2960         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2961         procedure, factored out from ...
2962         (top level): ... here.  Add "set displaced-stepping" testing axis.
2963         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2964         parameter "displaced".  Use it.
2965         (top level): Use foreach and add "set displaced-stepping" testing
2966         axis.
2967
2968 2015-04-10  Pedro Alves  <palves@redhat.com>
2969
2970         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2971         Remove comment.
2972         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2973         both the address of the instruction that triggers the watchpoint
2974         and the address of the instruction immediately after, and use
2975         those addresses for the test.  Fix comment.
2976
2977 2015-04-10  Pedro Alves  <palves@redhat.com>
2978
2979         * gdb.base/sigstep.exp (breakpoint_to_handler)
2980         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
2981         Test "backtrace" in handler.
2982         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
2983         (top level): Add new "displaced" test axis to
2984         breakpoint_to_handler, breakpoint_to_handler_entry and
2985         breakpoint_over_handler.
2986
2987 2015-04-10  Pedro Alves  <palves@redhat.com>
2988
2989         PR gdb/18216
2990         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2991
2992 2015-04-10  Yao Qi  <yao.qi@linaro.org>
2993
2994         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2995         (test_add_rn_pc): New function.
2996         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2997         (top level): Invoke test_add_rn_pc.
2998
2999 2015-04-10  Pedro Alves  <palves@redhat.com>
3000
3001         PR gdb/13858
3002         * gdb.base/step-over-no-symbols.exp: New file.
3003
3004 2015-04-09  Andy Wingo  <wingo@igalia.com>
3005
3006         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3007         after the Python tests.
3008
3009 2015-04-08  Keith Seitz  <keiths@redhat.com>
3010
3011         PR python/16699
3012         * gdb.python/py-completion.exp: New tests for completion.
3013         * gdb.python/py-completion.py (CompleteLimit1): New class.
3014         (CompleteLimit2): Likewise.
3015         (CompleteLimit3): Likewise.
3016         (CompleteLimit4): Likewise.
3017         (CompleteLimit5): Likewise.
3018         (CompleteLimit6): Likewise.
3019         (CompleteLimit7): Likewise.
3020
3021 2015-04-08  Pedro Alves  <palves@redhat.com>
3022
3023         PR gdb/18214
3024         PR gdb/18216
3025         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3026         function.
3027         (main): Install it as SIGUSR1 handler.
3028         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3029         parameter.  Always use "setup" as prefix.  Toggle "set
3030         displaced-stepping" off/on depending on global.  Don't switch to
3031         thread 1 here.
3032         (top level): Add displaced stepping "off/on" test axis.  Update
3033         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
3034         continuing with a queued signal in each thread.
3035
3036 2015-04-08  Pedro Alves  <palves@redhat.com>
3037
3038         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3039         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
3040         gdb_breakpoint instead of gdb_test that doesn't expect anything.
3041         Return early if running to main fails.
3042         * gdb.trace/while-stepping.exp: Likewise.
3043
3044 2015-04-07  Pedro Alves  <palves@redhat.com>
3045
3046         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3047         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
3048         interact with inferior program.
3049
3050 2015-04-07  Pedro Alves  <palves@redhat.com>
3051
3052         * lib/gdb.exp (inferior_spawn_id): New global.
3053         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
3054         spawn id after processing the user code.
3055         (default_gdb_start): Set inferior_spawn_id.
3056         (send_inferior): New procedure.
3057         * lib/gdbserver-support.exp (gdbserver_start): Set
3058         inferior_spawn_id.
3059         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3060
3061 2015-04-07  Pedro Alves  <palves@redhat.com>
3062
3063         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3064         * lib/gdbserver-support.exp (gdbserver_start): Make
3065         $server_spawn_id global.
3066         (gdbserver_start): Don't wait for gdbserver's spawn id with
3067         expect_background.
3068         (close_gdbserver): New procedure.
3069         (gdb_exit): Rename the default version and reimplement.
3070
3071 2015-04-07  Pedro Alves  <palves@redhat.com>
3072
3073         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3074         append the substituted item, not the original item.
3075
3076 2015-04-07  Pedro Alves  <palves@redhat.com>
3077
3078         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3079         gdb_expect.
3080
3081 2015-04-07  Pedro Alves  <palves@redhat.com>
3082
3083         * gdb.base/interrupt.exp: Don't handle the case of the inferior
3084         output appearing once only.
3085
3086 2015-04-07  Pedro Alves  <palves@redhat.com>
3087
3088         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3089         that doesn't expect anything.  Return early if running to main
3090         fails.
3091
3092 2015-04-07  Yao Qi  <yao.qi@linaro.org>
3093
3094         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3095         (child_function): Call alarm.
3096         (main): Move call to alarm into the loop.
3097         * gdb.threads/non-stop-fair-events.exp: Build program with
3098         -DTIMEOUT=$timeout.
3099
3100 2015-04-06  Doug Evans  <xdje42@gmail.com>
3101
3102         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3103         Fix dest parameter to board_info.
3104         (fpc_compile): Ditto.
3105         (gdb_compile_pascal): Rename dest arg to destfile.
3106
3107 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
3108
3109         * gdb.ada/funcall_ref.exp: New file.
3110         * gdb.ada/funcall_ref/foo.adb: New file.
3111
3112 2015-04-02  Yao Qi  <yao.qi@linaro.org>
3113
3114         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3115         is remote.
3116
3117 2015-04-02  Gary Benson <gbenson@redhat.com>
3118
3119         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3120
3121 2015-04-01  Sasha Smundak  <asmundak@google.com>
3122
3123         * gdb.python/py-unwind-maint.c: New file.
3124         * gdb.python/py-unwind-maint.exp: New test.
3125         * gdb.python/py-unwind-maint.py: New file.
3126         * gdb.python/py-unwind.c: New file.
3127         * gdb.python/py-unwind.exp: New test.
3128         * gdb.python/py-unwind.py: New test.
3129
3130 2015-04-01  Pedro Alves  <palves@redhat.com>
3131
3132         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3133         to fail instead of non-existent $test.
3134
3135 2015-04-01  Pedro Alves  <palves@redhat.com>
3136
3137         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3138         GDBFLAGS if not empty.
3139
3140 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
3141
3142         * gdb.ada/complete.exp: Remove "multi_line".
3143         * gdb.ada/info_exc.exp: Remove "multi_line".
3144         * gdb.ada/packed_tagged.exp: Remove "multi_line".
3145         * gdb.ada/ptype_field.exp: Remove "multi_line".
3146         * gdb.ada/sym_print_name.exp: Remove "multi_line".
3147         * gdb.ada/tagged.exp: Remove "multi_line".
3148         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3149         [multi_line ...]
3150         * gdb.btrace/delta.exp: Likewise.
3151         * gdb.btrace/exception.exp: Likewise.
3152         * gdb.btrace/function_call_history.exp: Likewise.
3153         * gdb.btrace/instruction_history.exp: Likewise.
3154         * gdb.btrace/nohist.exp: Likewise.
3155         * gdb.btrace/record_goto.exp: Likewise.
3156         * gdb.btrace/segv.exp: Likewise.
3157         * gdb.btrace/stepi.exp: Likewise.
3158         * gdb.btrace/tailcall.exp: Likewise.
3159         * gdb.btrace/unknown_functions.exp: Likewise.
3160         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3161         * lib/gdb.exp: Add the "multi_line" helper.
3162
3163 2015-04-01  Pedro Alves  <palves@redhat.com>
3164
3165         * gdb.threads/tid-reuse.c: New file.
3166         * gdb.threads/tid-reuse.exp: New file.
3167
3168 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3169
3170         PR corefiles/16092
3171         * gdb.base/coredump-filter.c: New file.
3172         * gdb.base/coredump-filter.exp: Likewise.
3173
3174 2015-03-27  Petr Machata  <pmachata@redhat.com>
3175
3176         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3177         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3178         (Dwarf::assemble): Initialize them.
3179         (Dwarf::lines): New function.
3180
3181 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
3182
3183         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3184         SYMBOL_PREFIX for x86_64-*-cygwin.
3185
3186 2015-03-26  Andy Wingo  <wingo@igalia.com>
3187
3188         PR symtab/18148
3189         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3190         const_value but not a location.
3191         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3192         location defined in non-main CUs are visible.
3193
3194 2015-03-26  Yao Qi  <yao.qi@linaro.org>
3195
3196         PR testsuite/18139
3197         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3198         Add a line number entry for the same line.
3199         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3200         Add a line number entry for the same line.
3201
3202 2015-03-26  Yao Qi  <yao.qi@linaro.org>
3203
3204         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3205         .int 0.
3206         (func): Likewise.  Add .Lfunc_1 label.
3207         Use .Lfunc_1 label.
3208         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3209         .int 0.
3210         (func): Likewise.
3211         Use .Lfunc_1 label.
3212
3213 2015-03-26  Yao Qi  <yao.qi@linaro.org>
3214
3215         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3216         Call gdb_compile instead to compile each .s files without debug
3217         information.
3218
3219 2015-03-26  Yao Qi  <yao.qi@linaro.org>
3220
3221         * gdb.base/savedregs.exp (process_saved_regs): Make
3222         "Saved registers:" optional in the pattern.
3223
3224 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
3225
3226         * gdb.btrace/next.exp: Merged into step.exp.
3227         * gdb.btrace/finish.exp: Merged into step.exp.
3228         * gdb.btrace/nexti.exp: Merged into stepi.exp.
3229         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
3230         "record goto" and checking the exact replay position.
3231         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
3232         check for "Recording format" in "info record" output.
3233         * gdb.btrace/record_goto.exp: Choose test file based on target.
3234         * gdb.btrace/x86-record_goto.S: Renamed into ...
3235         * gdb.btrace/x86_64-record_goto.S: ... this.
3236         * gdb.btrace/i686-record_goto.S: New.
3237         * gdb.btrace/x86-tailcall.S: Renamed into ...
3238         * gdb.btrace/x86_64-tailcall.S: ... this.
3239         * gdb.btrace/i686-tailcall.S: New.
3240         * gdb.btrace/x86-tailcall.c: Renamed into ...
3241         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
3242         separate statements.  Update test.
3243         * gdb.btrace/delta.exp: Use record_goto.c as test file.
3244         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3245         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3246         * gdb.btrace/tailcall.exp: Choose test file based on target.
3247         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3248
3249 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
3250
3251         * gdb.btrace/exception.exp: Increase BTS buffer size.
3252
3253 2015-03-24  Pedro Alves  <palves@redhat.com>
3254
3255         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3256
3257 2015-03-24  Pedro Alves  <palves@redhat.com>
3258
3259         * gdb.threads/schedlock.exp (test_step): No longer expect that
3260         "set scheduler-locking step" with "next" over a function call runs
3261         threads unlocked.
3262
3263 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
3264
3265         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3266
3267 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
3268
3269         PR breakpoints/16466
3270         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3271         * gdb.mi/mi-pending.c (thread_func): New function.
3272         (int main): Add threading support required.
3273         * gdb.mi/mi-pending.exp: Add tests for this issue.
3274         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3275         (pendfunc2): Remove stdio dependency.
3276         * gdb.mi/mi-pendshr2.c: New file.
3277
3278 2015-03-23  Keith Seitz  <keiths@redhat.com>
3279
3280         * gdb.linespec/keywords.c: New file.
3281         * gdb.linespec/keywords.exp: New file.
3282
3283 2015-03-23  Keith Seitz  <keiths@redhat.com>
3284
3285         PR gdb/18021
3286         * gdb.dwarf2/staticvirtual.exp: New test.
3287
3288 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3289
3290         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3291         * README: Remove HP-UX and gdb.hp.
3292         (configuration):
3293         * configure: Regenerate.
3294         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3295         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3296         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3297         gdb.hp/gdb.defects/Makefile.
3298         * gdb.hp/Makefile.in: File deleted.
3299         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3300         * gdb.hp/gdb.aCC/optimize.c: File deleted.
3301         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3302         * gdb.hp/gdb.aCC/run.c: File deleted.
3303         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3304         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3305         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3306         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3307         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3308         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3309         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3310         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3311         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3312         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3313         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3314         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3315         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3316         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3317         * gdb.hp/gdb.base-hp/reg.s: File deleted.
3318         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3319         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3320         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3321         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3322         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3323         * gdb.hp/gdb.compat/Makefile.in: File deleted.
3324         * gdb.hp/gdb.compat/average.c: File deleted.
3325         * gdb.hp/gdb.compat/sum.c: File deleted.
3326         * gdb.hp/gdb.compat/xdb.c: File deleted.
3327         * gdb.hp/gdb.compat/xdb0.c: File deleted.
3328         * gdb.hp/gdb.compat/xdb0.h: File deleted.
3329         * gdb.hp/gdb.compat/xdb1.c: File deleted.
3330         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3331         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3332         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3333         * gdb.hp/gdb.defects/Makefile.in: File deleted.
3334         * gdb.hp/gdb.defects/bs14602.c: File deleted.
3335         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3336         * gdb.hp/gdb.defects/solib-d.c: File deleted.
3337         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3338         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3339         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3340         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3341         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3342         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3343         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3344         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3345         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3346         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3347         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3348         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3349         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3350         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3351         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3352         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3353         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3354         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3355         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3356         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3357         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3358         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3359         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3360         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3361         * gdb.hp/tools/odump: File deleted.
3362
3363 2015-03-19  Pedro Alves  <palves@redhat.com>
3364
3365         * gdb.threads/continue-pending-status.exp (saw_thread_2)
3366         (saw_thread_3): New globals.
3367         (top level): Increment them when an event for the corresponding
3368         thread is seen.
3369         (no thread starvation): New test.
3370
3371 2015-03-19  Pedro Alves  <palves@redhat.com>
3372
3373         * gdb.threads/continue-pending-status.c: New file.
3374         * gdb.threads/continue-pending-status.exp: New file.
3375
3376 2015-03-18  Pedro Alves  <palves@redhat.com>
3377
3378         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3379         Use gdb_is_target_remote instead of is_remote.  Use
3380         gdb_test_multiple instead of gdb_expect.  Exit early if
3381         gdb_test_multiple hits its internal matches.  Tighten stepi tests
3382         expected output.  Fail on exit with any signal, instead of just
3383         SIGILL.
3384
3385 2015-03-18  Yao Qi  <yao.qi@linaro.org>
3386
3387         PR tdep/18107
3388         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3389         variable.
3390         * gdb.base/catch-syscall.exp: Don't skip it on
3391         aarch64*-*-linux* target.  Remove elements in all_syscalls.
3392         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3393         target.
3394         (setup_all_syscalls): New proc.
3395
3396 2015-03-16  Yao Qi  <yao.qi@linaro.org>
3397
3398         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3399         (top level): Skip tests if valid_addr_p returns false for
3400         $cmd1 or $cmd2.
3401
3402 2015-03-11  Andy Wingo  <wingo@igalia.com>
3403
3404         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3405
3406 2015-03-11  Yao Qi  <yao.qi@linaro.org>
3407
3408         * gdb.base/catch-syscall.exp: Fix typo in comments.
3409
3410 2015-03-11  Yao Qi  <yao.qi@linaro.org>
3411
3412         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3413
3414 2015-03-09  Pedro Alves  <palves@redhat.com>
3415
3416         * dg-extract-results.py: Delete.
3417
3418 2015-03-09  Pedro Alves  <palves@redhat.com>
3419
3420         Merge dg-extract-results.sh from GCC upstream (r218843).
3421
3422         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
3423                 * dg-extract-results.sh: Use --text with grep to avoid issues with
3424                 binary files.  Fall back to cat -v, if that doesn't work.
3425
3426 2015-03-05  Pedro Alves  <palves@redhat.com>
3427
3428         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3429
3430 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
3431
3432         * lib/mi-support.exp (mi_expect_interrupt): Accept
3433         alternative event for when in all-stop mode.
3434
3435 2015-03-04  Pedro Alves  <palves@redhat.com>
3436
3437         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3438
3439 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
3440
3441         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3442
3443 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3444
3445         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3446         regexps for GDB's current line display, accept a hex address
3447         preceding the line number.
3448
3449 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3450
3451         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3452         the 'arch1' variable for "s390*-linux*" targets.
3453
3454 2015-03-04  Pedro Alves  <palves@redhat.com>
3455
3456         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3457         (main): Pass missing retval argument to pthread_join call.
3458
3459 2015-03-02  Pedro Alves  <palves@redhat.com>
3460
3461         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3462         (top level): Call do_test with non-stop as well.
3463
3464 2015-03-02  Pedro Alves  <palves@redhat.com>
3465
3466         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3467         -1.
3468
3469 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3470
3471         * gdb.arch/s390-vregs.exp: New test.
3472         * gdb.arch/s390-vregs.S: New file.
3473
3474 2015-02-27  Pedro Alves  <palves@redhat.com>
3475
3476         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3477         call to catch_command_errors.
3478         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3479         catch_command_errors.
3480
3481 2015-02-27  Pedro Alves  <palves@redhat.com>
3482
3483         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3484         "true" for boolean result.
3485         * gdb.gdb/selftest.exp (test_with_self): Also accept full
3486         prototype of main.
3487
3488 2015-02-27  Pedro Alves  <palves@redhat.com>
3489
3490         * lib/unbuffer_output.c: New file.
3491         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3492         (main): Call gdb_unbuffer_output.
3493
3494 2015-02-27  Yao Qi  <yao.qi@linaro.org>
3495
3496         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3497         target.
3498
3499 2015-02-26  Doug Evans  <dje@google.com>
3500
3501         * gdb.cp/class2.cc (Dbase, D): New classes.
3502         (main): New local delta.
3503         * gdb.cp/class2.exp: Test printing delta.
3504         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3505         (dynbar): New global.
3506         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3507
3508 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
3509
3510         * gdb.compile/compile-ifunc.c: New file.
3511         * gdb.compile/compile-ifunc.exp: New file.
3512
3513 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
3514
3515         * gdb.base/structs.exp: Check for correct struct on finish.
3516
3517 2015-02-26  Yao Qi  <yao.qi@linaro.org>
3518
3519         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3520         is zero.
3521
3522 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
3523
3524         * gdb.arch/cordic.ko.bz2: New file.
3525         * gdb.arch/cordic.ko.debug.bz2: New file.
3526         * gdb.arch/ppc64-symtab-cordic.exp: New file.
3527
3528 2015-02-25  Yao Qi  <yao.qi@linaro.org>
3529
3530         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3531         aarch64*-*-* target.
3532
3533 2015-02-23  Pedro Alves  <palves@redhat.com>
3534
3535         * lib/gdb.exp (delete_breakpoints): Rewrite using
3536         gdb_test_multiple.
3537
3538 2015-02-23  Pedro Alves  <palves@redhat.com>
3539
3540         * gdb.base/info-os.c: Include stdlib.h.
3541
3542 2015-02-22  Doug Evans  <xdje42@gmail.com>
3543
3544         PR symtab/17855
3545         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3546         is read after symbols have been re-read.
3547         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3548         * gdb.ada/exec_changed/second.adb (Second): Ditto.
3549
3550 2015-02-21  Doug Evans  <dje@google.com>
3551
3552         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3553
3554 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
3555
3556         PR corefiles/17808
3557         * gdb.arch/i386-biarch-core.core.bz2: New file.
3558         * gdb.arch/i386-biarch-core.exp: New file.
3559
3560 2015-02-21  Pedro Alves  <palves@redhat.com>
3561
3562         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3563         runto_main fails.
3564
3565 2015-02-20  Pedro Alves  <palves@redhat.com>
3566
3567         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3568         info probes.
3569
3570 2015-02-20  Pedro Alves  <palves@redhat.com>
3571
3572         * gdb.threads/multi-create-ns-info-thr.exp: New file.
3573
3574 2015-02-20  Pedro Alves  <palves@redhat.com>
3575
3576         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
3577         clean_restart before gdb_target_supports_trace.
3578
3579 2015-02-20  Pedro Alves  <palves@redhat.com>
3580
3581         PR threads/18006
3582         * gdb.threads/clone-thread_db.c: New file.
3583         * gdb.threads/clone-thread_db.exp: New file.
3584
3585 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
3586
3587         PR breakpoints/16812
3588         * gdb.base/catch-gdb-caused-signals.c: New file.
3589         * gdb.base/catch-gdb-caused-signals.exp: New file.
3590
3591 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
3592
3593         * configure: Regenerated.
3594         * configure.ac: Use GDB_AC_TRANSFORM.
3595         * aclocal.m4: sinclude ../transform.m4.
3596
3597 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3598
3599         * lib/dtrace.exp: New file.
3600         * gdb.base/dtrace-probe.exp: Likewise.
3601         * gdb.base/dtrace-probe.d: Likewise.
3602         * gdb.base/dtrace-probe.c: Likewise.
3603         * lib/pdtrace.in: Likewise.
3604         * configure.ac: Output variables with the transformed names of
3605         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
3606         * configure: Regenerated.
3607
3608 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3609
3610         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3611         expected message when trying to access $_probe_* convenience
3612         variables while not on a probe.
3613
3614 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3615
3616         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3617
3618 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
3619
3620         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3621         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3622
3623 2015-02-10  Doug Evans  <xdje42@gmail.com>
3624
3625         * lib/gdb.exp (gdb_load): Always return a result.
3626
3627 2015-02-10  Pedro Alves  <palves@redhat.com>
3628
3629         * gdb.threads/signal-sigtrap.c: New file.
3630         * gdb.threads/signal-sigtrap.exp: New file.
3631
3632 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
3633
3634         * gdb.trace/no-attach-trace.c: New file.
3635         * gdb.trace/no-attach-trace.exp: New file.
3636
3637 2015-02-09  Mark Wielaard  <mjw@redhat.com>
3638
3639         * gdb.dwarf2/atomic.c: New file.
3640         * gdb.dwarf2/atomic-type.exp: Likewise.
3641
3642 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
3643
3644         * gdb.btrace/buffer-size.exp: Update "info record" output.
3645         * gdb.btrace/delta.exp: Update "info record" output.
3646         * gdb.btrace/enable.exp: Update "info record" output.
3647         * gdb.btrace/finish.exp: Update "info record" output.
3648         * gdb.btrace/instruction_history.exp: Update "info record" output.
3649         * gdb.btrace/next.exp: Update "info record" output.
3650         * gdb.btrace/nexti.exp: Update "info record" output.
3651         * gdb.btrace/step.exp: Update "info record" output.
3652         * gdb.btrace/stepi.exp: Update "info record" output.
3653         * gdb.btrace/nohist.exp: Update "info record" output.
3654
3655 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
3656
3657         * gdb.btrace/buffer-size: New.
3658
3659 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
3660
3661         * gdb.btrace/delta.exp: Update "info record" output.
3662         * gdb.btrace/enable.exp: Update "info record" output.
3663         * gdb.btrace/finish.exp: Update "info record" output.
3664         * gdb.btrace/instruction_history.exp: Update "info record" output.
3665         * gdb.btrace/next.exp: Update "info record" output.
3666         * gdb.btrace/nexti.exp: Update "info record" output.
3667         * gdb.btrace/step.exp: Update "info record" output.
3668         * gdb.btrace/stepi.exp: Update "info record" output.
3669         * gdb.btrace/nohist.exp: Update "info record" output.
3670
3671 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
3672
3673         PR gdb/15678
3674         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3675
3676 2015-02-06  Pedro Alves  <palves@redhat.com>
3677
3678         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3679         macro.
3680         (seconds_left, again): New globals.
3681         (main): Wait seconds_left in a 1-second sleep loop instead of
3682         sleeping 180 seconds.  If 'again' is set, reset the seconds
3683         counter.
3684         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3685         'again' in the inferior before detaching.  Print the seconds left.
3686         (options): New global.
3687         (top level): Build program with -DTIMEOUT=$timeout.
3688
3689 2015-02-06  Pedro Alves  <palves@redhat.com>
3690
3691         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3692         determine how many seconds to pass to 'alarm'.
3693         * gdb.base/gdb-sigterm.exp (top level): Build program with
3694         -DTIMEOUT=$timeout.
3695         (do_test): Return success/failure indication.  Add more verbose
3696         logging.  Don't fail if 200 single steps are seen.  Instead, fail
3697         when the test times out.
3698         (passes): New global.
3699         (top level): Break the testing loop if testing fails on any
3700         iteration.  Use gdb_assert.
3701
3702 2015-02-04  Don Breazeal  <donb@codesourcery.com>
3703
3704         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3705         and initialize them.
3706         (ipc_cleanup): New function.
3707         (main): Don't declare shmid, semid, and msqid.  Add a call to
3708         atexit so that we call ipc_cleanup on exit.
3709
3710 2015-02-04  Pedro Alves  <palves@redhat.com>
3711
3712         * boards/native-extended-gdbserver.exp: Remove any target variant
3713         specifications from the board name before clearing the isremote
3714         flag from board_info.
3715
3716 2015-01-31  Doug Evans  <xdje42@gmail.com>
3717
3718         * gdb.base/maint.exp <maint print type argc>: Update expected output.
3719
3720 2015-01-31  Gary Benson <gbenson@redhat.com>
3721
3722         * gdb.base/completion.exp: Disable completion limiting for
3723         existing tests.  Add new tests to check completion limiting.
3724         * gdb.linespec/ls-errs.exp: Disable completion limiting.
3725
3726 2015-01-31  Doug Evans  <xdje42@gmail.com>
3727
3728         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3729
3730 2015-01-31  Doug Evans  <xdje42@gmail.com>
3731
3732         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3733         entries.  Duplicate file section script entries.
3734         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3735         inlined entries.  Add test for safe-path rejection.
3736         * gdb.python/py-section-script.c: Add duplicate inlined section script
3737         entries.  Duplicate file section script entries.
3738         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3739         inlined entries.  Add test for safe-path rejection.
3740
3741 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
3742
3743         * gdb.ada/disc_arr_bound: New testcase.
3744
3745 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
3746
3747         * gdb.ada/mi_var_array: New testcase.
3748
3749 2015-01-27  Doug Evans  <dje@google.com>
3750
3751         * gdb.python/py-objfile.exp: Add tests for objfile.username.
3752         Add test for objfile.filename, objfile.username after objfile
3753         has been unloaded.
3754
3755 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
3756
3757         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3758         the second test to print the name attribute of value
3759         returned by the call to gdb.lookup_type, and adjust
3760         the expected output accordingly.
3761
3762 2015-01-25  Mark Wielaard  <mjw@redhat.com>
3763
3764         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3765         * gdb.base/disp-step-fork.c: Include unistd.h.
3766         * gdb.base/siginfo-obj.c: Include stdio.h.
3767         * gdb.base/siginfo-thread.c: Likewise.
3768         * gdb.mi/non-stop.c: Include unistd.h.
3769         * gdb.mi/nsthrexec.c: Include stdio.h.
3770         * gdb.mi/pthreads.c: Include unistd.h.
3771         * gdb.modula2/unbounded1.c (main): Declare returns int.
3772         * gdb.reverse/consecutive-reverse.c: Likewise.
3773         * gdb.threads/create-fail.c: Include unistd.h.
3774         * gdb.threads/killed.c: Likewise.
3775         * gdb.threads/linux-dp.c: Likewise.
3776         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3777         * gdb.threads/non-ldr-exc-2.c: Likewise.
3778         * gdb.threads/non-ldr-exc-3.c: Likewise.
3779         * gdb.threads/non-ldr-exc-4.c: Likewise.
3780         * gdb.threads/pthreads.c: Include unistd.h.
3781         (main): Declare returns int.
3782         * gdb.threads/tls-main.c (foo): New declaration.
3783         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3784
3785 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
3786
3787         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3788         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3789
3790 2015-01-15  Mark Wielaard  <mjw@redhat.com>
3791
3792         * gdb.base/noreturn-return.c: New file.
3793         * gdb.base/noreturn-return.exp: New file.
3794         * gdb.base/noreturn-finish.c: New file.
3795         * gdb.base/noreturn-finish.exp: New file.
3796
3797 2015-01-23  Pedro Alves  <palves@redhat.com>
3798
3799         * gdb.threads/continue-pending-after-query.c: New file.
3800         * gdb.threads/continue-pending-after-query.exp: New file.
3801
3802 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
3803             Simon Marchi  <simon.marchi@ericsson.com>
3804
3805         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3806         * gdb.base/valgrind-db-attach.exp: Same.
3807         * gdb.base/valgrind-infcall.exp: Same.
3808         * lib/mi-support.exp (default_mi_gdb_start): Same.
3809         * lib/prompt.exp (default_prompt_gdb_start): Same.
3810         * lib/gdb.exp (default_gdb_spawn): Same.
3811         (gdb_interact): New.
3812
3813
3814 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3815
3816         * gdb.compile/compile.exp (pointer to jit function): New test.
3817
3818 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
3819
3820         * lib/gdb.exp (supports_process_record): Return true for
3821         powerpc*-*-linux*.
3822         (supports_reverse): Likewise.
3823
3824 2015-01-15  Don Breazeal  <donb@codesourcery.com>
3825
3826         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3827         instead of checking whether the target board is remote and
3828         use spawn_wait_for_attach instead of exec/sleep.
3829         * gdb.base/attach-twice.exp: Likewise.
3830
3831 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
3832
3833         * gdb.ada/var_arr_attrs: New testcase.
3834
3835 2015-01-14  Pedro Alves  <palves@redhat.com>
3836             Joel Brobecker  <brobecker@adacore.com>
3837
3838         PR gdb/17525
3839         * gdb.base/bp-cmds-execution-x-script.c: New file.
3840         * gdb.base/bp-cmds-execution-x-script.exp: New file.
3841         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3842
3843 2015-01-14  Pedro Alves  <palves@redhat.com>
3844
3845         PR cli/17828
3846         * gdb.base/batch-preserve-term-settings.c: New file.
3847         * gdb.base/batch-preserve-term-settings.exp: New file.
3848
3849 2015-01-13  Doug Evans  <dje@google.com>
3850
3851         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3852         binary.
3853
3854 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
3855
3856         * Makefile.in (clean mostlyclean): Do not delete *.py.
3857
3858 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
3859
3860         * gdb.python/py-lookup-type.exp: New file.
3861
3862 2015-01-12  Pedro Alves  <palves@redhat.com>
3863
3864         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3865         restore GDBFLAGS before returning.
3866
3867 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3868
3869         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3870         is_amd64_regs_target and is_x86_like_target.
3871
3872 2015-01-11  Doug Evans  <xdje42@gmail.com>
3873
3874         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3875         is given without an explicit form.
3876         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3877         attributes.
3878         * gdb.dwarf/corrupt.exp: Ditto.
3879         * gdb.dwarf2/enum-type.exp: Ditto.
3880         * gdb.trace/entry-values.exp: Ditto.
3881         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3882
3883 2015-01-11  Doug Evans  <xdje42@gmail.com>
3884
3885         PR gdb/15830
3886         * gdb.base/maint.exp: Remove references to "maint demangle".
3887         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
3888         Add tests for explicitly specifying language to demangle.
3889         * gdb.dlang/demangle.exp: Ditto.
3890
3891 2015-01-09  Pedro Alves  <palves@redhat.com>
3892
3893         * gdb.threads/non-stop-fair-events.c: New file.
3894         * gdb.threads/non-stop-fair-events.exp: New file.
3895
3896 2015-01-09  Pedro Alves  <palves@redhat.com>
3897
3898         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3899         the global scope.  Set a breakpoint after all threads are started
3900         rather than stepping over two source lines.  Expect the prompt.
3901         * gdb.base/watch_thread_num.c (threads_started_barrier): New
3902         global.
3903         (NUM): Now 15.
3904         (main): Use threads_started_barrier to wait for all threads to
3905         start.  Main thread no longer calls thread_function.  Exit after
3906         180 seconds.
3907         (loop): New function.
3908         (thread_function): Wait on threads_started_barrier barrier.  Call
3909         'loop' at each iteration.
3910         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3911         threads have started, instead of hardcoding number of "next"
3912         steps.  Use an access watchpoint instead of a write watchpoint.
3913
3914 2015-01-09  Pedro Alves  <palves@redhat.com>
3915
3916         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3917         (thread_func): Wait on barrier.
3918         (main): Wait for all threads to start before stopping GDB.
3919         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3920         global.
3921         (thread1_func, thread2_func): Wait on barrier.
3922         (main): Wait for all threads to start before stopping GDB.
3923         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3924         New global.
3925         (thread1_func, thread2_func): Wait on barrier.
3926         (main): Wait for all threads to start before stopping GDB.
3927
3928 2015-01-09  Pedro Alves  <palves@redhat.com>
3929
3930         * gdb.threads/attach-many-short-lived-threads.c: New file.
3931         * gdb.threads/attach-many-short-lived-threads.exp: New file.
3932
3933 2014-01-09  Pedro Alves  <palves@redhat.com>
3934
3935         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3936         instead of to thread 2.
3937         * gdb.threads/signal-command-multiple-signals-pending.c (main):
3938         Add barrier around each pthread_create call instead of around all
3939         calls.
3940         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3941         Set a break on thread_function and have the child threads hit it
3942         one at at a time.
3943
3944 2015-01-09  Pedro Alves  <palves@redhat.com>
3945
3946         * lib/gdb.exp (can_spawn_for_attach): New procedure.
3947         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3948         false.
3949         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3950         checking whether the target board is remote.
3951         * gdb.multi/multi-attach.exp: Likewise.
3952         * gdb.python/py-sync-interp.exp: Likewise.
3953         * gdb.server/ext-attach.exp: Likewise.
3954         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3955         tests that need to attach, instead of checking whether the target
3956         board is remote at the top of the file.
3957
3958 2015-01-08  Yao Qi  <yao@codesourcery.com>
3959
3960         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3961
3962 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3963
3964         Fix testcase compilation.
3965         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3966
3967 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
3968
3969         * gdb.python/py-type.exp: Add a couple test about empty
3970         array creation, and negative-length array creation.
3971
3972 2015-01-02  Doug Evans  <xdje42@gmail.com>
3973
3974         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3975
3976 2015-01-02  Doug Evans  <dje@google.com>
3977
3978         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3979
3980 2014-12-29  Yao Qi  <yao@codesourcery.com>
3981
3982         * gdb.trace/entry-values.exp: Update comments.  Rename variable
3983         bar_call_foo to returned_from_foo.
3984
3985 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
3986
3987         PR gdb/17394
3988         * gdb.linespec/break-asm-file.c: New file.
3989         * gdb.linespec/break-asm-file.exp: New file.
3990         * gdb.linespec/break-asm-file0.s: New file.
3991         * gdb.linespec/break-asm-file1.s: New file.
3992
3993 2014-12-18  Nigel Stephens  <nigel@mips.com>
3994             Maciej W. Rozycki  <macro@codesourcery.com>
3995
3996         * gdb.base/float.exp: Handle the new output from "info float" on
3997         MIPS targets.
3998
3999 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4000
4001         Fix MinGW compilation.
4002         * gdb.compile/compile-ops.exp: Update untested message if
4003         !skip_compile_feature_tests.
4004         * gdb.compile/compile-setjmp.exp: Likewise.
4005         * gdb.compile/compile-tls.exp: Likewise.
4006         * gdb.compile/compile.exp: Likewise.
4007         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4008         supported on this host".
4009
4010 2014-12-16  Doug Evans  <xdje42@gmail.com>
4011
4012         * boards/stabs.exp: New file.
4013
4014 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
4015
4016         * gdb.base/completion.exp: Adjust to format changes of "maint
4017         print user-registers".
4018
4019 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
4020
4021         PR server/17457
4022         * gdb.arch/aarch64-fp.c: New file.
4023         * gdb.arch/aarch64-fp.exp: New file.
4024
4025 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4026
4027         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4028         r210637, r210913, r211666, r215400, r215817).
4029
4030         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
4031                 * dg-extract-results.py: New file.
4032                 * dg-extract-results.sh: Use it if the environment seems
4033                 suitable.
4034
4035         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
4036
4037                 * dg-extract-results.py (parse_run): Handle warnings that
4038                 are printed before a test harness is run.
4039
4040         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
4041
4042                 * dg-extract-results.py (Named): Remove __cmp__ method.
4043                 (output_variation): Use a key to sort variation.harnesses.
4044
4045         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
4046
4047                 * dg-extract-results.py: For Python 3, force sys.stdout to
4048                 handle surrogate escape sequences.
4049                 (safe_open): New function.
4050                 (output_segment, main): Use it.
4051
4052         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
4053
4054                 * dg-extract-results.py (Prog.result_re): Include options
4055                 in test name.
4056
4057         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
4058
4059                 * dg-extract-results.py (output_variation): Always sort if
4060                 do_sum.
4061
4062 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
4063
4064         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4065         as long as we get pagination notifications.
4066
4067 2014-12-15  Jason Merrill  <jason@redhat.com>
4068
4069         * Makefile.in (check-gdb.%): Restore.
4070         * README: Mention it.
4071
4072 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
4073
4074         * gdb.ada/str_uninit: New testcase.
4075
4076 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4077
4078         PR symtab/17642
4079         * gdb.base/vla-stub-define.c: New file.
4080         * gdb.base/vla-stub.c: New file.
4081         * gdb.base/vla-stub.exp: New file.
4082
4083 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
4084             Jan Kratochvil  <jan.kratochvil@redhat.com>
4085             Tom Tromey  <tromey@redhat.com>
4086
4087         * configure.ac: Add gdb.compile/.
4088         * configure: Regenerate.
4089         * gdb.compile/Makefile.in: New file.
4090         * gdb.compile/compile-ops.exp: New file.
4091         * gdb.compile/compile-ops.c: New file.
4092         * gdb.compile/compile-tls.c: New file.
4093         * gdb.compile/compile-tls.exp: New file.
4094         * gdb.compile/compile-constvar.S: New file.
4095         * gdb.compile/compile-constvar.c: New file.
4096         * gdb.compile/compile-mod.c: New file.
4097         * gdb.compile/compile-nodebug.c: New file.
4098         * gdb.compile/compile-setjmp-mod.c: New file.
4099         * gdb.compile/compile-setjmp.c: New file.
4100         * gdb.compile/compile-setjmp.exp: New file.
4101         * gdb.compile/compile-shlib.c: New file.
4102         * gdb.compile/compile.c: New file.
4103         * gdb.compile/compile.exp: New file.
4104         * lib/gdb.exp (skip_compile_feature_tests): New proc.
4105
4106 2014-12-12  Tom Tromey  <tromey@redhat.com>
4107
4108         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
4109         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4110
4111 2014-12-12  Doug Evans  <dje@google.com>
4112
4113         * lib/gdb-python.exp (get_python_valueof): New function.
4114         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4115
4116 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4117
4118         * gdb.base/completion.exp: Add test for completion of "info
4119         registers ".
4120
4121 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
4122
4123         * gdb.base/func-ptrs.c: New file.
4124         * gdb.base/func-ptrs.exp: New file.
4125
4126 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
4127
4128         PR breakpoints/17012
4129         * gdb.base/dprintf-detach.c: New file.
4130         * gdb.base/dprintf-detach.exp: New file.
4131
4132 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
4133
4134         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4135         * lib/gdb.exp (target_is_gdbserver): New procedure.
4136
4137 2014-12-08  Doug Evans  <dje@google.com>
4138
4139         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4140
4141 2014-12-05  Yao Qi  <yao@codesourcery.com>
4142
4143         * gdb.guile/scm-error.exp: Remove the third argument to
4144         gdb_remote_download.
4145         * gdb.guile/scm-frame-args.exp: Likewise.
4146         * gdb.guile/scm-section-script.exp: Likewise.
4147
4148 2014-12-05  Yao Qi  <yao@codesourcery.com>
4149
4150         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4151
4152 2014-12-04  Doug Evans  <dje@google.com>
4153
4154         * gdb.python/py-objfile.exp: Add tests for
4155         objfile.add_separate_debug_file.
4156
4157 2014-12-04  Doug Evans  <dje@google.com>
4158
4159         * lib/gdb.exp (get_build_id): New function.
4160         (build_id_debug_filename_get): Rewrite to use it.
4161         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4162
4163 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
4164
4165         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4166         `method(long)', not just 0x0.
4167         * gdb.cp/nsalias.exp: Align code labels to 4.
4168         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4169         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4170         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4171         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4172         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4173         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4174
4175 2014-12-02  Doug Evans  <dje@google.com>
4176
4177         PR symtab/17602
4178         * gdb.cp/anon-ns.cc: Move guts of this file to ...
4179         * gdb.cp/anon-ns2.cc: ... here.  New file.
4180         * gdb.cp/anon-ns.exp: Update.
4181
4182 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
4183
4184         * gdb.python/py-events.py (inferior_call_handler): New.
4185         (register_changed_handler, memory_changed_handler): New.
4186         (test_events.invoke): Register new handlers.
4187         * gdb.python/py-events.exp: Add tests for inferior call,
4188         memory_changed and register_changed events.
4189
4190 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4191
4192         * gdb.base/execl-update-breakpoints.exp: Specify the link address
4193         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
4194         if the linker doesn't understand this.
4195
4196 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
4197
4198         * gdb.python/python.exp: Change expected reply to help().
4199
4200 2014-12-01  Yao Qi  <yao@codesourcery.com>
4201
4202         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
4203         AC_CONFIG_SUBDIRS(gdb.gdbtk).
4204         * configure: Re-generated.
4205
4206 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
4207
4208         * gdb.cp/chained-calls.cc: New file.
4209         * gdb.cp/chained-calls.exp: New file.
4210         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4211
4212 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
4213
4214         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4215         * gdb.dwarf2/symtab-producer.exp: Same.
4216         * gdb.gdb/python-interrupts.exp: Same.
4217         * gdb.gdb/python-selftest.exp: Same.
4218         * gdb.python/py-linetable.exp: Same.
4219         * gdb.python/py-type.exp: Same.
4220         * gdb.python/py-value-cc.exp: Same.
4221         * gdb.python/py-value.exp: Same.
4222
4223 2014-11-28  Yao Qi  <yao@codesourcery.com>
4224
4225         * gdb.base/break-probes.exp: Match library name prefixed with
4226         sysroot.
4227
4228 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
4229
4230         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4231         test expected output.  Add parentheses for the call to print.
4232         Remove L suffix from integers.
4233
4234 2014-11-26  Doug Evans  <dje@google.com>
4235
4236         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4237
4238 2014-11-22  Yao Qi  <yao@codesourcery.com>
4239
4240         * gdb.trace/entry-values.c: Remove asms.
4241         (foo): Add foo_label.
4242         (bar): Add bar_label.
4243         * gdb.trace/entry-values.exp: Remove code computing  foo's
4244         length and bar's length.
4245         (Dwarf::assemble): Invoke function_range for bar and use
4246         MACRO_AT_func for foo.
4247
4248 2014-11-22  Yao Qi  <yao@codesourcery.com>
4249
4250         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4251         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
4252         Use .Lgcc43_procstart instead of gcc43.
4253
4254 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
4255
4256         * gdb.ada/n_arr_bound: New testcase.
4257
4258 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
4259
4260         PR breakpoints/10737
4261         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4262         test_catch_syscall_multi_arch.
4263         (test_catch_syscall_multi_arch): New function.
4264
4265 2014-11-20  Doug Evans  <xdje42@gmail.com>
4266
4267         * gdb.base/maint.exp: Update expected output.
4268
4269 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4270
4271         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4272         4-byte instruction on S390.
4273
4274 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
4275
4276         * gdb.ada/arr_arr: New testcase.
4277
4278 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
4279
4280         * gdb.ada/pkd_arr_elem: New Testcase.
4281
4282 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
4283
4284         * gdb.reverse/break-precsave: Expect completion message for
4285         core file reads.
4286         * gdb.reverse/consecutive-precsave.exp: Likewise.
4287         * gdb.reverse/finish-precsave.exp: Likewise.
4288         * gdb.reverse/i386-precsave.exp: Likewise.
4289         * gdb.reverse/machinestate-precsave.exp: Likewise.
4290         * gdb.reverse/sigall-precsave.exp: Likewise.
4291         * gdb.reverse/solib-precsave.exp: Likewise.
4292         * gdb.reverse/step-precsave.exp: Likewise.
4293         * gdb.reverse/until-precsave.exp: Likewise.
4294         * gdb.reverse/watch-precsave.exp: Likewise.
4295
4296 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4297
4298         * gdb.base/bp-permanent.c: Include unistd.h.
4299         * gdb.python/py-framefilter-mi.c (main): Add return type.
4300         * gdb.python/py-framefilter.c (main): Likewise.
4301         * gdb.trace/actions-changed.c (main): Likewise.
4302
4303 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4304
4305         * gdb.mi/until.c: Add eye-catchers.
4306         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4307         line numbers.
4308
4309 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4310
4311         * gdb.base/condbreak.exp: Drop references to removed non-prototype
4312         function header variants in break1.c.
4313         * gdb.base/ena-dis-br.exp: Likewise.
4314         * gdb.base/hbreak2.exp: Likewise.
4315         * gdb.reverse/until-precsave.exp: Drop references to removed
4316         non-prototype function header variants in ur1.c.
4317         * gdb.reverse/until-reverse.exp: Likewise.
4318
4319 2014-11-17  Petr Machata  <pmachata@redhat.com>
4320
4321         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
4322         ${_cu_offset_size} bytes abbrev offset.
4323
4324 2014-11-15  Doug Evans  <xdje42@gmail.com>
4325
4326         PR symtab/17559
4327         * gdb.base/line-symtabs.exp: New file.
4328         * gdb.base/line-symtabs.c: New file.
4329         * gdb.base/line-symtabs.h: New file.
4330
4331 2014-11-14  Yao Qi  <yao@codesourcery.com>
4332
4333         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4334         (func): Add label func_label.
4335         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4336         Replace low_pc and high_pc with MACRO_AT_range.
4337         Replace name, low_pc and high_pc with MACRO_AT_func.
4338
4339 2014-11-14  Yao Qi  <yao@codesourcery.com>
4340
4341         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4342         Replace name, low_pc and high_pc with MACRO_AT_func.
4343
4344 2014-11-14  Yao Qi  <yao@codesourcery.com>
4345
4346         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4347         produce debug information.
4348         * gdb.dwarf2/implptr-optimized-out.S: Removed.
4349
4350 2014-11-14  Yao Qi  <yao@codesourcery.com>
4351
4352         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4353         object and get function length.
4354         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4355         with MACRO_AT_func.
4356         (top-level): Replace gdb_compile and clean_restart with
4357         prepare_for_testing.
4358         * gdb.dwarf2/main.c (main): Add label main_label.
4359
4360 2014-11-14  Yao Qi  <yao@codesourcery.com>
4361
4362         * lib/dwarf.exp (function_range): New procedure.
4363         (Dwarf::_handle_macro_at_func): New procedure.
4364         (Dwarf::_handle_macro_at_range): New procedure.
4365         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4366
4367 2014-11-14  Yao Qi  <yao@codesourcery.com>
4368
4369         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4370         (_handle_attribute): New procedure.
4371
4372 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4373
4374         * gdb.ada/cond_lang/foo.c (callme): Add return type.
4375         * gdb.base/call-sc.c (zed): Likewise.
4376         * gdb.base/checkpoint.c (main): Likewise.
4377         * gdb.base/dump.c (main): Likewise.
4378         * gdb.base/gcore.c (main): Likewise.
4379         * gdb.base/huge.c (main): Likewise.
4380         * gdb.base/multi-forks.c (main): Likewise.
4381         * gdb.base/pr10179-a.c (main): Likewise.
4382         * gdb.base/savedregs.c (main): Likewise.
4383         * gdb.base/sigaltstack.c (main): Likewise.
4384         * gdb.base/siginfo.c (main): Likewise.
4385         * gdb.base/structs.c (zed): Likewise.
4386         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4387         * gdb.mi/mi-syn-frame.c (main): Likewise.
4388         * gdb.mi/until.c (foo, main): Likewise.
4389         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4390         * gdb.base/solib-weak.c (foo): Declare.
4391         * gdb.base/attach-twice.c: Include stdio.h.
4392         * gdb.base/weaklib1.c: Likewise.
4393         * gdb.base/weaklib2.c: Likewise.
4394         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4395         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4396         unistd.h.
4397         * gdb.base/attach-pie-misread.c: Include stdlib.h.
4398         * gdb.mi/mi-exit-code.c: Likewise.
4399         * gdb.base/break-interp-lib.c: Include string.h.
4400         * gdb.base/coremaker.c: Likewise.
4401         * gdb.base/testenv.c: Likewise.
4402         * gdb.python/py-finish-breakpoint.c: Likewise.
4403         * gdb.base/inferior-died.c: Include sys/wait.h.
4404         * gdb.base/fileio.c: Include time.h.
4405         * gdb.base/async-shell.c: Include unistd.h.
4406         * gdb.base/dprintf-non-stop.c: Likewise.
4407         * gdb.base/info-os.c: Likewise.
4408         * gdb.mi/mi-console.c: Likewise.
4409         * gdb.mi/watch-nonstop.c: Likewise.
4410         * gdb.python/py-events.c: Likewise.
4411         * gdb.base/async.c (baz): Move up before its invocation.
4412         * gdb.base/code_elim2.c (my_global_func): Likewise.
4413         * gdb.base/skip-solib-lib.c (multiply): Likewise.
4414         * gdb.base/advance.c (func2): Likewise.
4415
4416 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4417
4418         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4419         variant.
4420         * gdb.base/annota3.c: Likewise.
4421         * gdb.base/async.c: Likewise.
4422         * gdb.base/average.c: Likewise.
4423         * gdb.base/call-ar-st.c: Likewise.
4424         * gdb.base/call-rt-st.c: Likewise.
4425         * gdb.base/call-sc.c: Likewise.
4426         * gdb.base/call-strs.c: Likewise.
4427         * gdb.base/ending-run.c: Likewise.
4428         * gdb.base/execd-prog.c: Likewise.
4429         * gdb.base/exprs.c: Likewise.
4430         * gdb.base/foll-exec.c: Likewise.
4431         * gdb.base/foll-fork.c: Likewise.
4432         * gdb.base/foll-vfork.c: Likewise.
4433         * gdb.base/funcargs.c: Likewise.
4434         * gdb.base/gcore.c: Likewise.
4435         * gdb.base/jump.c: Likewise.
4436         * gdb.base/langs0.c: Likewise.
4437         * gdb.base/langs1.c: Likewise.
4438         * gdb.base/langs2.c: Likewise.
4439         * gdb.base/mips_pro.c: Likewise.
4440         * gdb.base/nodebug.c: Likewise.
4441         * gdb.base/opaque0.c: Likewise.
4442         * gdb.base/opaque1.c: Likewise.
4443         * gdb.base/recurse.c: Likewise.
4444         * gdb.base/run.c: Likewise.
4445         * gdb.base/scope0.c: Likewise.
4446         * gdb.base/scope1.c: Likewise.
4447         * gdb.base/setshow.c: Likewise.
4448         * gdb.base/setvar.c: Likewise.
4449         * gdb.base/shmain.c: Likewise.
4450         * gdb.base/shr1.c: Likewise.
4451         * gdb.base/shr2.c: Likewise.
4452         * gdb.base/sigall.c: Likewise.
4453         * gdb.base/signals.c: Likewise.
4454         * gdb.base/so-indr-cl.c: Likewise.
4455         * gdb.base/solib2.c: Likewise.
4456         * gdb.base/structs.c: Likewise.
4457         * gdb.base/sum.c: Likewise.
4458         * gdb.base/vforked-prog.c: Likewise.
4459         * gdb.base/watchpoint.c: Likewise.
4460         * gdb.reverse/shr2.c: Likewise.
4461         * gdb.reverse/until-reverse.c: Likewise.
4462         * gdb.reverse/ur1.c: Likewise.
4463         * gdb.reverse/watch-reverse.c: Likewise.
4464
4465 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4466
4467         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4468         variant.
4469         * gdb.base/sepdebug.exp: Drop references to removed code.
4470
4471 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4472
4473         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4474         variant.  Preserve original line numbering.
4475         * gdb.base/list1.c: Likewise.
4476
4477 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4478
4479         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4480         variant.
4481         * gdb.base/break1.c: Likewise.
4482         * gdb.base/break.exp: Drop references to removed code.
4483
4484 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4485
4486         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4487         variant.
4488
4489 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4490
4491         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4492
4493 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4494
4495         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
4496         logic into perform_all_tests() and invoke it with and without
4497         function header prototypes.
4498         (do_function_calls): Remove conditional XFAIL for PR 5318.
4499         (rerun_and_prepare): Remove duplicate code.
4500         (perform_all_tests): New.  Main logic moved here.
4501
4502 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4503
4504         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4505         code guarded by #ifdef NO_PROTOTYPES.
4506         (t_double_many_args): Likewise.
4507         (DEF_FUNC_MANY_ARGS_1): Likewise.
4508         (DEF_FUNC_VALUES_1): Likewise.
4509         (t_structs_ldc): Renamed from t_structs_fc in conditional code
4510         guarded by #ifdef PROTOTYPES.
4511
4512 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4513
4514         * gdb.mi/mi-console.c: Add eye-catcher.
4515         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4516         instead of literal line number.
4517
4518 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4519
4520         * gdb.base/shr2.c: Add eye-catcher.
4521         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4522         line number.
4523
4524 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4525
4526         * gdb.base/jump.c: Add eye-catchers.
4527         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4528         numbers.
4529
4530 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4531
4532         * gdb.base/execd-prog.c: Add eye-catchers.
4533         * gdb.base/foll-exec.c: Likewise.
4534         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4535         line numbers.
4536
4537 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4538
4539         * gdb.base/ending-run.c: Add eye-catchers.
4540         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4541         literal line numbers.
4542
4543 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4544
4545         * gdb.base/call-rt-st.c: Add eye-catchers.
4546         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4547         literal line numbers.
4548
4549 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4550
4551         * gdb.base/call-ar-st.c: Add eye-catchers.
4552         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4553         literal line numbers.
4554
4555 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4556
4557         * gdb.base/average.c: Add eye-catchers.
4558         * gdb.base/sum.c: Likewise.
4559         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4560         regexps dynamically.
4561
4562 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4563
4564         * gdb.base/solib1.c: Add eye-catchers.
4565         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4566         literal line numbers.
4567
4568 2014-11-12  Pedro Alves  <palves@redhat.com>
4569
4570         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4571         leader has exited.
4572
4573 2014-11-12  Pedro Alves  <palves@redhat.com>
4574
4575         * gdb.arch/i386-bp_permanent.c: New file.
4576         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4577         (srcfile): Set to i386-bp_permanent.c.
4578         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
4579         that stepi does not execute the 'leave' instruction, instead of
4580         testing it does execute.
4581         * gdb.base/bp-permanent.c: New file.
4582         * gdb.base/bp-permanent.exp: New file.
4583
4584 2014-11-10  Doug Evans  <xdje42@gmail.com>
4585
4586         PR symtab/17564
4587         * gdb.base/symtab-search-order.exp: New file.
4588         * gdb.base/symtab-search-order.c: New file.
4589         * gdb.base/symtab-search-order-1.c: New file.
4590         * gdb.base/symtab-search-order-shlib-1.c: New file.
4591
4592 2014-11-07  Pedro Alves  <palves@redhat.com>
4593
4594         PR gdb/17511
4595         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4596         i?86-*-linux*.
4597
4598 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
4599
4600         PR c++/17494
4601         * gdb.cp/pr17494.cc: New file.
4602         * gdb.cp/pr17494.exp: New file.
4603
4604 2014-11-02  Yao Qi  <yao@codesourcery.com>
4605
4606         * gdb.python/python.exp: Get working directory and match the
4607         output of "set extended-prompt \\w " with it.
4608
4609 2014-10-30  Doug Evans  <dje@google.com>
4610
4611         * gdb.python/py-objfile.exp: Add tests for setting random attributes
4612         in objfiles.
4613         * gdb.python/py-progspace.exp: Add tests for setting random attributes
4614         in progspaces.
4615
4616 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
4617
4618         * gdb.base/fullpath-expand.exp: Skip for a remote host.
4619         * gdb.base/realname-expand.exp: Likewise.
4620         * gdb.linespec/macro-relative.exp: Likewise.
4621
4622 2014-10-29  Pedro Alves  <palves@redhat.com>
4623
4624         PR gdb/17408
4625         * gdb.threads/schedlock.c (some_function): New function.
4626         (call_function): New global.
4627         (MAYBE_CALL_SOME_FUNCTION): New macro.
4628         (thread_function): Call it.
4629         * gdb.threads/schedlock.exp (get_args): Add description parameter,
4630         and use it instead of a global counter.  Adjust all callers.
4631         (get_current_thread): Use "find current thread" for test message
4632         here rather than having all callers pass down the same string.
4633         (goto_loop): New procedure, factored out from ...
4634         (my_continue): ... this.
4635         (step_ten_loops): Change parameter from test message to command to
4636         use.  Adjust.
4637         (list_count): Delete global.
4638         (check_result): New procedure, factored out from duplicate top
4639         level code.
4640         (continue tests): Wrap in with_test_prefix.
4641         (test_step): New procedure, factored out from duplicate top level
4642         code.
4643         (top level): Test "step" in combination with all scheduler-locking
4644         modes.  Test "next" in combination with all scheduler-locking
4645         modes, and in combination with stepping over a function call or
4646         not.
4647         * gdb.threads/next-bp-other-thread.c: New file.
4648         * gdb.threads/next-bp-other-thread.exp: New file.
4649
4650 2014-10-29  Pedro Alves  <palves@redhat.com>
4651
4652         PR python/17372
4653         * gdb.python/python.exp: Test a multi-line command that spawns
4654         interactive Python.
4655         * gdb.base/multi-line-starts-subshell.exp: New file.
4656
4657 2014-10-29  Yao Qi  <yao@codesourcery.com>
4658
4659         * gdb.base/fileio.exp: Make directories on host.
4660
4661 2014-10-29  Yao Qi  <yao@codesourcery.com>
4662
4663         * gdb.base/fileio.c (test_write): Close the file.
4664
4665 2014-10-28  Pedro Alves  <palves@redhat.com>
4666
4667         PR gdb/12623
4668         * gdb.base/sigstep.c (no_handler): New global.
4669         (main): If 'no_handler is true, set the signal handlers to
4670         SIG_IGN.
4671         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4672         with_sw_watch and no_handler parameters.  Handle them.
4673         (top level) <stepping over handler when stopped at a breakpoint
4674         test>: Add a test axis for testing with a software watchpoint, and
4675         another for testing with the signal handler set to SIG_IGN.
4676         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4677         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4678
4679 2014-10-28  Pedro Alves  <palves@redhat.com>
4680
4681         PR gdb/17511
4682         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4683         * gdb.base/sigstep.exp (other_handler_location): New global.
4684         (advance): Support stepping into the signal handler, and running
4685         commands while in the handler.
4686         (in_handler_map): New global.
4687         (top level): In the advance test, add combinations for getting
4688         into the handler with stepping commands, and for running commands
4689         in the handler.  Add comment descripting the advancei tests.
4690
4691 2014-10-28  Pedro Alves  <palves@redhat.com>
4692
4693         * gdb.base/sigstep.exp: Use build_executable instead of
4694         prepare_for_testing.
4695         (top level): Move code that starts GDB, runs to main and creates a
4696         display to ...
4697         (restart): ... this new procedure.
4698         (top level): Move backtrace from signal handler test to ...
4699         (validate_backtrace): ... this new procedure.
4700         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
4701         with_test_prefix.  Always restart GDB.
4702         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
4703         with_test_prefix.  Always restart GDB.  No need to delete
4704         breakpoints after the test.
4705         (test_skip_handler): Remove prefix parameter.
4706         (skip_over_handler, breakpoint_to_handler)
4707         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4708         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
4709         restart GDB.  No need to delete breakpoints after the test.
4710         (top level): Use foreach to call the test procedures with
4711         different commands.
4712
4713 2014-10-28  Pedro Alves  <palves@redhat.com>
4714
4715         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4716         instead of GNATS numbers.
4717         * gdb.base/sigbpt.exp: Likewise.
4718         * gdb.base/siginfo.exp: Likewise.
4719         * gdb.base/sigstep.exp: Likewise.
4720
4721 2014-10-27  Pedro Alves  <palves@redhat.com>
4722
4723         * gdb.base/sigstep.c (dummy): New global.
4724         (main): Issue a couple writes to the new global.
4725         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4726         procedures.
4727         (skip_over_handler): Use test_skip_handler.
4728         (top level): Call skip_over_handler for stepi and nexti too.
4729         (breakpoint_over_handler): Use test_skip_handler.
4730         (top level): Call breakpoint_over_handler for stepi and nexti too.
4731
4732 2014-10-27  Yao Qi  <yao@codesourcery.com>
4733
4734         * gdb.trace/tfile.c (adjust_function_address)
4735         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4736         function descriptor.
4737
4738 2014-10-24  Don Breazeal  <donb@codesourcery.com>
4739
4740         * gdb.base/foll-fork.exp (test_follow_fork,
4741         catch_fork_child_follow): Check for updated fork messages emitted
4742         from infrun.c.
4743         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4744         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4745         vfork_and_exec_child_follow_through_step): Check for updated vfork
4746         messages emitted from infrun.c.
4747
4748 2014-10-24  Pedro Alves  <palves@redhat.com>
4749
4750         * gdb.base/corefile.exp: Remove references to ultrix.
4751         * gdb.base/interrupt.exp: Likewise.
4752         * gdb.base/whatis.exp: Likewise.
4753         * gdb.gdb/selftest.exp: Likewise.
4754         * gdb.threads/manythreads.exp: Likewise.
4755         * gdb.threads/print-threads.exp: Likewise.
4756         * gdb.threads/pthreads.exp:: Likewise.
4757         * gdb.threads/schedlock.exp: Likewise.
4758
4759 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
4760
4761         * gdb.cp/non-trivial-retval.cc: Add a test case.
4762         * gdb.cp/non-trivial-retval.exp: Add a test.
4763
4764 2014-10-20  Yao Qi  <yao@codesourcery.com>
4765
4766         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4767         * gdb.python/py-objfile-script-gdb.py: New file.
4768         * gdb.python/py-objfile-script.exp: Update reference to
4769         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
4770         of remote_download.  Remove the dest file.
4771
4772 2014-10-20  Yao Qi  <yao@codesourcery.com>
4773
4774         * gdb.base/checkpoint.exp: Don't remove file copied on host.
4775         * gdb.base/step-line.exp: Likewise.
4776         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4777         * gdb.dwarf2/dw2-basic.exp: Likewise.
4778         * gdb.dwarf2/dw2-compressed.exp: Likewise.
4779         * gdb.dwarf2/dw2-filename.exp: Likewise.
4780         * gdb.dwarf2/dw2-intercu.exp: Likewise.
4781         * gdb.dwarf2/dw2-intermix.exp: Likewise.
4782         * gdb.dwarf2/dw2-producer.exp: Likewise.
4783         * gdb.dwarf2/mac-fileno.exp: Likewise.
4784         * gdb.python/py-frame-args.exp: Likewise.
4785         * gdb.python/py-framefilter.exp: Likewise.
4786         * gdb.python/py-mi.exp: Likewise.
4787         * gdb.python/py-objfile-script.exp: Likewise
4788         * gdb.python/py-pp-integral.exp: Likewise.
4789         * gdb.python/py-pp-re-notag.exp: Likewise.
4790         * gdb.python/py-prettyprint.exp: Likewise.
4791         * gdb.python/py-section-script.exp: Likewise.
4792         * gdb.python/py-typeprint.exp: Likewise.
4793         * gdb.python/py-xmethods.exp: Likewise.
4794         * gdb.stabs/weird.exp: Likewise.
4795         * gdb.xml/tdesc-regs.exp: Likewise.
4796
4797 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
4798
4799         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4800         (out_cu): Use addr_len for the size of addresses.
4801         (out_line): Likewise.  Size DW_LNE_set_address instruction
4802         according to addr_len.
4803         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4804         (FUNC): Add START_INSNS to definition.
4805
4806 2014-10-18  Yao Qi  <yao@codesourcery.com>
4807
4808         * gdb.base/argv0-symlink.exp: Check argv[0] value if
4809         gdb_has_argv0 return true.
4810         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4811         check [target_info exists noargs], check [gdb_has_argv0]
4812         instead.
4813         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4814         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4815         procedures.
4816
4817 2014-10-17  Doug Evans  <dje@google.com>
4818
4819         * gdb.python/py-events.exp: Update expected output for clear_objfiles
4820         event.
4821         * gdb.python/py-events.py: Add clear_objfiles event.
4822
4823 2014-10-17  Doug Evans  <dje@google.com>
4824
4825         * gdb.python/py-objfile.exp: Test progspace attribute.
4826
4827 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
4828
4829         * gdb.guile/scm-breakpoint.exp: Do not assume any
4830         directory separators when matching source file paths.
4831         * gdb.python/py-breakpoint.exp: Likewise.
4832         * gdb.reverse/break-precsave.exp: Likewise.
4833         * gdb.reverse/break-reverse.exp: Likewise.
4834         * gdb.reverse/consecutive-precsave.exp: Likewise.
4835         * gdb.reverse/finish-precsave.exp: Likewise.
4836         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4837         * gdb.reverse/finish-reverse.exp: Likewise.
4838         * gdb.reverse/i386-precsave.exp: Likewise.
4839         * gdb.reverse/i387-env-reverse.exp: Likewise.
4840         * gdb.reverse/i387-stack-reverse.exp: Likewise.
4841         * gdb.reverse/machinestate-precsave.exp: Likewise.
4842         * gdb.reverse/machinestate.exp: Likewise.
4843         * gdb.reverse/sigall-precsave.exp: Likewise.
4844         * gdb.reverse/solib-precsave.exp: Likewise.
4845         * gdb.reverse/step-precsave.exp: Likewise.
4846         * gdb.reverse/until-precsave.exp: Likewise.
4847         * gdb.reverse/watch-precsave.exp: Likewise.
4848         * gdb.reverse/watch-reverse.exp: Likewise.
4849
4850 2014-10-17  Yao Qi  <yao@codesourcery.com>
4851
4852         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4853         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4854
4855 2014-10-17  Pedro Alves  <palves@redhat.com>
4856
4857         PR gdb/17471
4858         * gdb.base/bg-execution-repeat.c: New file.
4859         * gdb.base/bg-execution-repeat.exp: New file.
4860
4861 2014-10-17  Pedro Alves  <palves@redhat.com>
4862
4863         PR gdb/17300
4864         * gdb.base/continue-all-already-running.c: New file.
4865         * gdb.base/continue-all-already-running.exp: New file.
4866
4867 2014-10-17  Pedro Alves  <palves@redhat.com>
4868
4869         PR gdb/17472
4870         * gdb.base/annota-input-while-running.c: New file.
4871         * gdb.base/annota-input-while-running.exp: New file.
4872
4873 2014-10-17  Pedro Alves  <palves@redhat.com>
4874
4875         * gdb.base/callfuncs.exp: emove references to osf.
4876         * gdb.base/sigall.exp: Likewise.
4877         * gdb.gdb/selftest.exp: Likewise.
4878         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4879         * gdb.mi/non-stop.c: Likewise.
4880         * gdb.mi/pthreads.c: Likewise.
4881         * gdb.reverse/sigall-precsave.exp: Likewise.
4882         * gdb.reverse/sigall-reverse.exp: Likewise.
4883         * gdb.threads/pthreads.c: Likewise.
4884         * gdb.threads/pthreads.exp: Likewise.
4885
4886 2014-10-17  Yao Qi  <yao@codesourcery.com>
4887
4888         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4889         check 'target_info exists noargs'.
4890         (test_command_prompt_position): Likewise.
4891         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4892         Remove "set args".
4893         (progvar_simple_while_test): Likewise.
4894         (progvar_complex_if_while_test): Likewise.
4895         (if_while_breakpoint_command_test): Likewise.
4896         (infrun_breakpoint_command_test): Likewise.
4897         (breakpoint_command_test): Likewise.
4898         (watchpoint_command_test): Likewise.
4899         (bp_deleted_in_command_test): Likewise.
4900         (temporary_breakpoint_commands): Likewise.
4901
4902 2014-10-16  Yao Qi  <yao@codesourcery.com>
4903
4904         * gdb.base/remotetimeout.exp: Remove noargs checking.
4905
4906 2014-10-15  Pedro Alves  <palves@redhat.com>
4907
4908         PR breakpoints/9649
4909         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4910         * gdb.base/breakpoint-in-ro-region.exp
4911         (probe_target_hardware_step): New procedure.
4912         (top level): Probe hardware stepping and hardware breakpoint
4913         support.  Test stepping through a read-only region, with both
4914         "breakpoint auto-hw" on and off and both "always-inserted" on and
4915         off.
4916
4917 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
4918
4919         * gdb.dlang/demangle.exp: Update for demangling changes.
4920
4921 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
4922
4923         * gdb.cp/non-trivial-retval.cc: Add new test cases.
4924         * gdb.cp/non-trivial-retval.exp: Add new tests.
4925
4926 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
4927
4928         PR c++/13403
4929         PR c++/15154
4930         * gdb.cp/non-trivial-retval.cc: New file.
4931         * gdb.cp/non-trivial-retval.exp: New file.
4932
4933 2014-10-15  Yao Qi  <yao@codesourcery.com>
4934
4935         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4936         remote host.
4937
4938 2014-10-15  Yao Qi  <yao@codesourcery.com>
4939
4940         * gdb.python/py-symbol.exp: Match file base name if host is
4941         remote, otherwise match file name with dir name.
4942         * gdb.python/py-symtab.exp: Likewise.
4943         * gdb.python/python.exp: Likewise.
4944
4945 2014-10-15  Yao Qi  <yao@codesourcery.com>
4946
4947         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4948         pattern.
4949         * gdb.python/py-symtab.exp: Likewise.
4950         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
4951         locationn.
4952
4953 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
4954
4955         * gdb.ada/addr_arith: New testcase.
4956
4957 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
4958
4959         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4960         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4961         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4962         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4963
4964 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
4965
4966         * gdb.arch/stap-eval-lang-ada.S: Likewise.
4967         * gdb.arch/stap-eval-lang-ada.c: Likewise.
4968         * gdb.arch/stap-eval-lang-ada.exp: New file.
4969
4970 2014-10-14  Yao Qi  <yao@codesourcery.com>
4971
4972         * gdb.mi/mi-var-child.c (nothing1): New function.
4973         (nothing2): New function.
4974         (do_children_tests): Set function pointers by nothing1 and
4975         nothing2.
4976         * gdb.mi/mi-var-child.exp: Step over new added statements.
4977         Update test to match the new output.
4978         * gdb.mi/var-cmd.c (nothing1): New function.
4979         (nothing2): New function.
4980         (do_children_tests): Set function pointers by  nothing1 and
4981         nothing2.
4982         * gdb.mi/mi-var-display.exp: Update test to match output.
4983         Step to the line specified by $line_dct_nothing.
4984         Increase the number of lines to step.
4985
4986 2014-10-14  Yao Qi  <yao@codesourcery.com>
4987
4988         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4989         tests.
4990         * gdb.mi/mi2-var-child.exp: Likewise.
4991
4992 2014-10-13  Doug Evans  <dje@google.com>
4993
4994         * gdb.python/py-objfile.exp: Change name of file name test.
4995
4996 2014-10-13  Doug Evans  <dje@google.com>
4997
4998         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4999         from the start of the CU.
5000
5001 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5002             Yao Qi  <yao@codesourcery.com>
5003
5004         Fix "save breakpoints" for "catch" command.
5005         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5006         Remove -nonewline.  Match also the added "main" line.
5007
5008 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5009
5010         Fix "save breakpoints" for "disable $bpnum" command.
5011         * gdb.base/save-bp.c (main): Add label.
5012         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
5013
5014 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5015
5016         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5017
5018 2014-10-11  Yao Qi  <yao@codesourcery.com>
5019
5020         * gdb.server/server-kill.exp: Execute command
5021         "set remote trace-status-packet on" before "tstatus".
5022
5023 2014-10-11  Yao Qi  <yao@codesourcery.com>
5024
5025         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5026         (main): Call getppid.
5027         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5028         and continue to it.  Read variable "server_pid".
5029
5030 2014-10-11  Yao Qi  <yao@codesourcery.com>
5031
5032         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5033
5034 2014-10-11  Yao Qi  <yao@codesourcery.com>
5035
5036         * gdb.threads/thread-find.exp: Don't execute command
5037         "info threads".
5038         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5039         * gdb.threads/linux-dp.exp: Don't check the condition
5040         $threads_created equals to zero.
5041
5042 2014-10-10  Pedro Alves  <palves@redhat.com>
5043
5044         * gdb.base/bigcore.exp: Remove references to IRIX.
5045         * gdb.base/funcargs.exp: Likewise.
5046         * gdb.base/interrupt.exp: Likewise.
5047         * gdb.base/mips_pro.exp: Likewise.
5048         * gdb.base/nodebug.exp: Likewise.
5049         * gdb.base/setvar.exp: Likewise.
5050         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5051
5052 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
5053             Pedro Alves  <palves@redhat.com>
5054
5055         PR symtab/14466
5056         * gdb.base/vdso-warning.c: New file.
5057         * gdb.base/vdso-warning.exp: New file.
5058
5059 2014-10-02  Doug Evans  <dje@google.com>
5060
5061         * gdb.base/structs.c (main): Don't run forever.
5062
5063 2014-10-02  Pedro Alves  <palves@redhat.com>
5064
5065         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5066         (top level) <stop threads 1, stop threads 2>: Use it.
5067
5068 2014-10-02  Pedro Alves  <palves@redhat.com>
5069
5070         * gdb.threads/break-while-running.exp (test): Add new
5071         'update_thread_list' argument.  Skip "info threads" if false.
5072         (top level): Add new 'update_thread_list' axis.
5073
5074 2014-10-02  Pedro Alves  <palves@redhat.com>
5075
5076         PR breakpoints/17431
5077         * gdb.base/execl-update-breakpoints.c: New file.
5078         * gdb.base/execl-update-breakpoints.exp: New file.
5079
5080 2014-10-01  Pedro Alves  <palves@redhat.com>
5081
5082         * gdb.base/breakpoint-in-ro-region.c: New file.
5083         * gdb.base/breakpoint-in-ro-region.exp: New file.
5084
5085 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
5086
5087         * gdb.mi/mi-exit-code.exp: New file.
5088         * gdb.mi/mi-exit-code.c: New file.
5089
5090 2014-09-30  Yao Qi  <yao@codesourcery.com>
5091
5092         * lib/prelink-support.exp (build_executable_own_libs): Error if
5093         the target isn't native.
5094
5095 2014-09-30  Yao Qi  <yao@codesourcery.com>
5096
5097         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5098         false.
5099
5100 2014-09-22  Pedro Alves  <palves@redhat.com>
5101
5102         * gdb.threads/break-while-running.exp: New file.
5103         * gdb.threads/break-while-running.c: New file.
5104
5105 2014-09-19  Yao Qi  <yao@codesourcery.com>
5106
5107         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5108         Invoke test.  Restart GDB with --readnow and invoke test again.
5109
5110 2014-09-19  Yao Qi  <yao@codesourcery.com>
5111
5112         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5113         proc set_breakpoint_on_gcd_function.  Invoke
5114         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
5115         invoke set_breakpoint_on_gcd_function again.
5116
5117 2014-09-18  Doug Evans  <dje@google.com>
5118
5119         * gdb.dwarf2/symtab-producer.exp: New file.
5120
5121 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
5122
5123         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5124         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5125         * gdb.base/global-var-nested-by-dso.c: Likewise.
5126         * gdb.base/global-var-nested-by-dso.exp: Likewise.
5127
5128 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
5129             Pedro Alves  <palves@redhat.com>
5130
5131         * gdb.base/watch-bitfields.exp: Pass string other than test file
5132         name to prepare_for_testing.
5133         (watch): New procedure.
5134         (expect_watchpoint): Use with_test_prefix.
5135         (top level): Factor out tests to ...
5136         (test_watch_location, test_regular_watch): ... these new
5137         procedures, and use with_test_prefix and gdb_continue_to_end.
5138
5139 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
5140
5141         PR breakpoints/12526
5142         * gdb.base/watch-bitfields.exp: New file.
5143         * gdb.base/watch-bitfields.c: New file.
5144
5145 2014-09-16  Pedro Alves  <palves@redhat.com>
5146
5147         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5148         software and hardware addresses, not software address against
5149         itself.
5150
5151 2014-09-16  Pedro Alves  <palves@redhat.com>
5152
5153         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5154         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5155
5156 2014-09-16  Pedro Alves  <palves@redhat.com>
5157
5158         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5159         files.
5160         * gdb.base/a2-run.exp: Remove all code guarded by istarget
5161         "*-*-vxworks*" throughout.
5162         * gdb.base/break.exp: Likewise.
5163         * gdb.base/default.exp: Likewise.
5164         * gdb.base/scope.exp: Likewise.
5165         * gdb.base/sepdebug.exp: Likewise.
5166         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5167         throughout.
5168         * gdb.base/run.c: Likewise.
5169         * gdb.base/sepdebug.c: Likewise.
5170         * gdb.hp/gdb.aCC/run.c: Likewise.
5171         * gdb.reverse/until-reverse.c: Likewise.
5172         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5173
5174 2014-09-16  Yao Qi  <yao@codesourcery.com>
5175
5176         * boards/local-remote-host-native.exp: New file.
5177
5178 2014-09-14  Doug Evans  <xdje42@gmail.com>
5179
5180         * gdb.threads/queue-signal.c (thread_count): New variable.
5181         (thread_count_mutex, thread_count_condvar): New variables.
5182         (incr_thread_count, wait_all_threads_running): New functions.
5183         (main): Wait for all threads to be in their thread functions.
5184
5185 2014-09-13  Doug Evans  <xdje42@gmail.com>
5186
5187         * gdb.threads/queue-signal.c: New file.
5188         * gdb.threads/queue-signal.exp: New file.
5189
5190 2014-09-13  Doug Evans  <xdje42@gmail.com>
5191
5192         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5193         be consistent with what default_gdb_init uses.
5194         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5195         the plain text of the prompt.  Add some logging printfs.
5196         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5197
5198 2014-09-12  Pedro Alves  <palves@redhat.com>
5199
5200         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5201         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5202         * gdb.arch/i386-size-overlap.exp: Likewise.
5203         * gdb.arch/i386-size.exp: Likewise.
5204         * gdb.arch/i386-unwind.exp: Likewise.
5205         * gdb.base/a2-run.exp: Likewise.
5206         * gdb.base/break.exp: Likewise.
5207         * gdb.base/charset.exp: Likewise.
5208         * gdb.base/chng-syms.exp: Likewise.
5209         * gdb.base/commands.exp: Likewise.
5210         * gdb.base/dbx.exp: Likewise.
5211         * gdb.base/find.exp: Likewise.
5212         * gdb.base/funcargs.exp: Likewise.
5213         * gdb.base/jit-simple.exp: Likewise.
5214         * gdb.base/reread.exp: Likewise.
5215         * gdb.base/sepdebug.exp: Likewise.
5216         * gdb.base/step-bt.exp: Likewise.
5217         * gdb.cp/mb-inline.exp: Likewise.
5218         * gdb.cp/mb-templates.exp: Likewise.
5219         * gdb.objc/basicclass.exp: Likewise.
5220         * gdb.threads/killed.exp: Likewise.
5221
5222 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5223
5224         PR tdep/17379
5225         * gdb.arch/powerpc-stackless.S: New file.
5226         * gdb.arch/powerpc-stackless.exp: New file.
5227
5228 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5229
5230         * gdb.base/attach.c: Include unistd.h.
5231         (main): Call alarm.  Add label postloop.
5232         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5233         gdb_breakpoint, gdb_continue_to_breakpoint.
5234         (test_command_line_attach_run): Kill ${testpid} in one exit path.
5235
5236 2014-09-11  Pedro Alves  <palves@redhat.com>
5237
5238         PR gdb/17347
5239         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5240         * gdb.base/attach.exp (test_command_line_attach_run): New
5241         procedure.
5242         (top level): Call it.
5243
5244 2014-09-11  Pedro Alves  <palves@redhat.com>
5245
5246         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5247         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5248         (do_command_attach_tests): Use spawn_wait_for_attach.
5249         * gdb.base/solib-overlap.exp: Likewise.
5250         * gdb.multi/multi-attach.exp: Likewise.
5251         * gdb.python/py-prompt.exp: Likewise.
5252         * gdb.python/py-sync-interp.exp: Likewise.
5253         * gdb.server/ext-attach.exp: Likewise.
5254
5255 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
5256
5257         * gdb.fortran/array-element.exp: Remove unexpected "continue"
5258         command in testcase.  Simplify testcase.
5259
5260 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
5261
5262         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5263
5264 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
5265
5266         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5267
5268 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
5269
5270         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5271
5272 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
5273
5274         * gdb.dwarf2/dynarr-ptr.c: New file.
5275         * gdb.dwarf2/dynarr-ptr.exp: New file.
5276
5277 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5278
5279         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5280         of 30 rather than hardcoding 120 for a slow test case.  Take the
5281         `gdb,timeout' target setting into account for this calculation.
5282         Don't extend the timeout for the test cases that don't need it.
5283
5284 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5285
5286         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5287         a factor of 2 for a slow test case.  Take the `gdb,timeout'
5288         target setting into account for this calculation.
5289         * gdb.reverse/until-precsave.exp: Increase the timeout by
5290         a factor of 15 and 3 respectively rather than adding 120
5291         for a pair of slow test cases.  Take the `gdb,timeout'
5292         target setting into account for this calculation.
5293
5294 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5295
5296         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5297         timeout, don't pass one down to gdb_expect.
5298         (gdb_expect): Rework timeout selection.
5299
5300 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5301
5302         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5303         exception on timeout.
5304         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5305         (gdbserver_start_extended): Catch any `gdbserver_start' error
5306         exceptions.
5307         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5308         * lib/mi-support.exp (mi_gdb_target_load): Catch any
5309         `gdbserver_gdb_load' error exceptions.
5310
5311 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5312
5313         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5314         120 on waiting for the TCP socket to open.
5315
5316 2014-09-09  Doug Evans  <xdje42@gmail.com>
5317
5318         * gdb.base/default.exp (show_conv_list): Add _caller_is,
5319         _caller_matches, _any_caller_is, _any_caller_matches.
5320
5321 2014-09-09  Doug Evans  <xdje42@gmail.com>
5322
5323         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5324
5325 2014-09-09  Yao Qi  <yao@codesourcery.com>
5326
5327         * gdb.mi/mi-var-display.exp: Set print symbol off.
5328
5329 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
5330
5331         PR gdb/17035
5332         * gdb.base/commands.exp: Add tests to verify user-defined
5333         commands with empty bodies.
5334         * gdb.python/py-cmd.exp: Test that we don't show user-defined
5335         python commands in `show user command`.
5336         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5337         scheme commands in `show user command`.
5338
5339 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5340
5341         PR python/17355
5342         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5343         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5344         * gdb.python/py-framefilter-invalidarg.exp: New file.
5345         * gdb.python/py-framefilter-invalidarg.py: New file.
5346
5347 2014-09-06  Doug Evans  <xdje42@gmail.com>
5348
5349         PR 15276
5350         * gdb.python/py-caller-is.c: New file.
5351         * gdb.python/py-caller-is.exp: New file.
5352
5353 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
5354
5355         PR gdb/17235
5356         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5357         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5358
5359 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
5360
5361         PR fortran/17237
5362         * gdb.fortran/print-formatted.exp: New file.
5363         * gdb.fortran/print-formatted.f90: Likewise.
5364
5365 2014-09-03  Sasha Smundak  <asmundak@google.com>
5366
5367         * gdb.python/py-frame.exp: Test Frame.read_register.
5368
5369 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
5370
5371         PR python/16699
5372         * gdb.python/py-completion.exp: New file.
5373         * gdb.python/py-completion.py: Likewise.
5374
5375 2014-08-28  Doug Evans  <dje@google.com>
5376
5377         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5378         eax,etc. are live with values set by gdb and thus the compiler can't
5379         use them.
5380         * gdb.arch/i386-pseudo.c (main): Ditto.
5381
5382 2014-08-27  Doug Evans  <dje@google.com>
5383
5384         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5385
5386 2014-08-25  Doug Evans  <dje@google.com>
5387
5388         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5389         (main): Ditto.
5390
5391 2014-08-25  Doug Evans  <dje@google.com>
5392
5393         * gdb.threads/thread-execl.exp: #include <stdio.h>.
5394
5395 2014-08-24  Yao Qi  <yao@codesourcery.com>
5396
5397         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5398         symbol off.
5399         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5400
5401 2014-08-22  Doug Evans  <dje@google.com>
5402
5403         PR 17276
5404         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5405         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5406         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5407
5408 2014-08-22  Yao Qi  <yao@codesourcery.com>
5409
5410         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5411         * gdb.python/py-finish-breakpoint2.exp: Likewise.
5412         * gdb.python/python.exp: Likewise.  Use .py file on the host
5413         instead of the build.
5414
5415 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
5416
5417         * gdb.threads/gcore-stale-thread.c: New file.
5418         * gdb.threads/gcore-stale-thread.exp: New file.
5419
5420 2014-08-21  Pedro Alves  <palves@redhat.com>
5421
5422         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5423         * gdb.base/gcore-relro-pie.exp: Likewise.
5424         * gdb.base/gcore-relro.exp: Likewise.
5425         * gdb.base/gcore.exp: Likewise.
5426         * gdb.base/print-symbol-loading.exp: Likewise.
5427         * gdb.threads/gcore-thread.exp: Likewise.
5428         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5429
5430 2014-08-20  Pedro Alves  <palves@redhat.com>
5431             Jan Kratochvil  <jan.kratochvil@redhat.com>
5432
5433         * Makefile.in (EXTRA_RULES, CC): New variables, get from
5434         configure.
5435         (EXPECT): Handle READ1 being set.
5436         (all): Depend on EXTRA_RULES.
5437         (check-read1, expect-read1, read1.so, read1): New rules.
5438         * README (Testsuite Parameters): Document the READ1 make variable.
5439         (Race detection): New section.
5440         * configure: Regenerate.
5441         * configure.ac: If build==host==target, and running under a
5442         GNU/glibc system, add read1 to the extra Makefile rules.
5443         (EXTRA_RULES): AC_SUBST it.
5444         * lib/read1.c: New file.
5445
5446 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
5447
5448         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5449         the handling of variables declared as a typedef to an array
5450         which a DW_AT_data_location attribute.
5451
5452 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
5453             Pedro Alves  <palves@redhat.com>
5454
5455         PR symtab/14604
5456         PR symtab/14605
5457         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5458         gdb_test.
5459
5460 2014-08-19  Pedro Alves  <palves@redhat.com>
5461
5462         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5463
5464 2014-08-19  Yao Qi  <yao@codesourcery.com>
5465
5466         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5467         right line.
5468
5469 2014-08-18  David Blaikie  <dblaikie@gmail.com>
5470
5471         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5472
5473 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
5474
5475         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5476         attribute in array range.
5477
5478 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
5479
5480         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5481
5482 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
5483
5484         PR c++/17132
5485         * gdb.cp/pr17132.cc: New file.
5486         * gdb.cp/pr17132.exp: New file.
5487
5488 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
5489
5490         * gdb.python/py-xmethods.py (A_getarrayind)
5491         (E_method_char_worker.__call__, E_method_int_worker.__call__):
5492         Use 'print' with function call syntax.
5493         (E_method_matcher.match): Fix tab vs space indentation mixup.
5494
5495 2014-08-15  Yao Qi  <yao@codesourcery.com>
5496
5497         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5498         false.
5499
5500 2014-08-15  Yao Qi  <yao@codesourcery.com>
5501
5502         * gdb.cp/casts.exp: Set print symbol off.
5503         * gdb.cp/class2.exp: Likewise.
5504         * gdb.cp/overload.exp: Likewise.
5505         * gdb.cp/templates.exp: Likewise.
5506
5507 2014-08-11  Doug Evans  <dje@google.com>
5508
5509         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5510         (test_load_shlib): Update.
5511
5512 2014-08-09  Yao Qi  <yao@codesourcery.com>
5513
5514         * gdb.base/display.exp: Invoke is_address_zero_readable.
5515         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5516         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5517         * gdb.base/hbreak-unmapped.exp: Return if
5518         is_address_zero_readable returns true.
5519         * gdb.base/signest.exp: Likewise.
5520         * gdb.base/signull.exp: Likewise.
5521         * gdb.base/sigbpt.exp: Likewise.
5522         * gdb.guile/scm-disasm.exp: Do the test if
5523         is_address_zero_readable returns false.
5524         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5525         * gdb.python/py-arch.exp: Likewise.
5526         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5527         * lib/gdb.exp (is_address_zero_readable): New proc.
5528
5529 2014-08-09  Yao Qi  <yao@codesourcery.com>
5530
5531         PR testsuite/13443
5532         * gdb.mi/mi-var-display.exp: Make test messages unique.
5533
5534 2014-08-04  Tom Tromey  <tromey@redhat.com>
5535
5536         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5537         target 0".
5538
5539 2014-08-04  Tom Tromey  <tromey@redhat.com>
5540
5541         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5542         "target_resume".
5543
5544 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
5545
5546         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5547         inner_vla_struct_object_size.
5548         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5549         as xfail.
5550
5551 2014-07-30  Pedro Alves  <palves@redhat.com>
5552
5553         * gdb.threads/signal-command-handle-nopass.exp (test): Add
5554         comment.
5555
5556 2014-07-29  Yao Qi  <yao@codesourcery.com>
5557
5558         PR gdb/17206
5559         * gdb.base/until-nodebug.exp: New.
5560
5561 2014-07-28  Doug Evans  <xdje42@gmail.com>
5562
5563         PR guile/17203
5564         * gdb.guile/scm-parameter.exp: Add tests for trying to create
5565         previously existing parameter, and previously ambiguously spelled
5566         parameter.
5567
5568 2014-07-28  Will Newton  <will.newton@linaro.org>
5569
5570         * gdb.base/varargs.exp: Remove KFAILs for ARM.
5571
5572 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
5573             Doug Evans  <xdje42@gmail.com>
5574
5575         PR guile/17146
5576         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5577
5578 2014-07-25  Pedro Alves  <palves@redhat.com>
5579
5580         * gdb.threads/signal-command-handle-nopass.c: New file.
5581         * gdb.threads/signal-command-handle-nopass.exp: New file.
5582         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5583         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5584         * gdb.threads/signal-delivered-right-thread.c: New file.
5585         * gdb.threads/signal-delivered-right-thread.exp: New file.
5586
5587 2014-07-25  Pedro Alves  <palves@redhat.com>
5588
5589         * gdb.base/double-prompt-target-event-error.exp
5590         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5591         match.
5592         (cancel_pagination_in_target_event): Rework double prompt
5593         detection.
5594         * gdb.base/paginate-after-ctrl-c-running.exp
5595         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5596         <return>' match.
5597         * gdb.base/paginate-bg-execution.exp
5598         (test_bg_execution_pagination_return)
5599         (test_bg_execution_pagination_cancel): Remove '-notransfer
5600         <return>' matches.
5601         * gdb.base/paginate-execution-startup.exp
5602         (test_fg_execution_pagination_return)
5603         (test_fg_execution_pagination_cancel): Remove '-notransfer
5604         <return>' matches.
5605         * gdb.base/paginate-inferior-exit.exp
5606         (test_paginate_inferior_exited): Remove '-notransfer <return>'
5607         match.
5608         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5609         * lib/gdb.exp (pagination_prompt): Run text through
5610         string_to_regexp.
5611         (gdb_test_multiple): Match $pagination_prompt instead of
5612         "<return>".
5613         (string_to_regexp): Move to lib/gdb-utils.exp.
5614
5615 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5616
5617         * gdb.arch/amd64-entry-value-paramref.S: New file.
5618         * gdb.arch/amd64-entry-value-paramref.cc: New file.
5619         * gdb.arch/amd64-entry-value-paramref.exp: New file.
5620         * gdb.arch/amd64-optimout-repeat.S: New file.
5621         * gdb.arch/amd64-optimout-repeat.c: New file.
5622         * gdb.arch/amd64-optimout-repeat.exp: New file.
5623
5624 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
5625
5626         PR gdb/17170
5627         * gdb.base/statistics.exp: New file.
5628
5629 2014-07-17  Doug Evans  <dje@google.com>
5630
5631         PR gdb/17170
5632         * gdb.base/maint.exp: Update testing of per-command stats.
5633
5634 2014-07-16  Pedro Alves  <palves@redhat.com>
5635
5636         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5637         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5638         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5639         (tfile_write_buf): New functions.
5640         (add_memory_block): Rewrite using the above.
5641         (adjust_function_address): New function.
5642         (FUNCTION_ADDRESS): New macro.
5643         (write_basic_trace_file): Remove short_x local, and use
5644         tfile_write_16. Change type of func_addr local to unsigned long
5645         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
5646         here.  Cast argument of add_memory_block to char pointer.
5647         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
5648         (main): Remove parameters.
5649         * gdb.trace/tfile.exp: Remove nowarnings.
5650
5651 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
5652
5653         * gdb.base/debug-expr.exp: Test string evaluation with
5654         "debug expression" on.
5655
5656 2014-07-15  Pedro Alves  <palves@redhat.com>
5657
5658         * gdb.base/reread.exp: Use clean_restart.
5659
5660 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
5661
5662         * gdb.arch/avr-flash-qualifer.c: New.
5663         * gdb.arch/avr-flash-qualifer.exp: New.
5664
5665 2014-07-14  Pedro Alves  <palves@redhat.com>
5666
5667         * gdb.base/paginate-after-ctrl-c-running.c: New file.
5668         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5669
5670 2014-07-14  Pedro Alves  <palves@redhat.com>
5671
5672         * gdb.base/double-prompt-target-event-error.c: New file.
5673         * gdb.base/double-prompt-target-event-error.exp: New file.
5674
5675 2014-07-14  Pedro Alves  <palves@redhat.com>
5676
5677         PR gdb/17072
5678         * gdb.base/paginate-inferior-exit.c: New file.
5679         * gdb.base/paginate-inferior-exit.exp: New file.
5680
5681 2014-07-14  Pedro Alves  <palves@redhat.com>
5682
5683         PR gdb/17072
5684         * gdb.base/paginate-bg-execution.c: New file.
5685         * gdb.base/paginate-bg-execution.exp: New file.
5686
5687 2014-07-14  Pedro Alves  <palves@redhat.com>
5688
5689         PR gdb/17072
5690         * gdb.base/paginate-execution-startup.c: New file.
5691         * gdb.base/paginate-execution-startup.exp: New file.
5692         * lib/gdb.exp (pagination_prompt): New global.
5693         (default_gdb_spawn): New procedure, factored out from
5694         default_gdb_spawn.
5695         (default_gdb_start): Adjust to call default_gdb_spawn.
5696         (gdb_spawn): New procedure.
5697
5698 2014-07-14  Pedro Alves  <palves@redhat.com>
5699
5700         * lib/gdb.exp (gdb_assert): New procedure.
5701         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5702
5703 2014-07-14  Pedro Alves  <palves@redhat.com>
5704
5705         * gdb.base/execution-termios.c: New file.
5706         * gdb.base/execution-termios.exp: New file.
5707
5708 2014-07-14  Tom Tromey  <tromey@redhat.com>
5709
5710         * gdb.cp/vla-cxx.cc: New file.
5711         * gdb.cp/vla-cxx.exp: New file.
5712
5713 2014-07-14  Tom Tromey  <tromey@redhat.com>
5714
5715         * gdb.reverse/rerun-prec.c: New file.
5716         * gdb.reverse/rerun-prec.exp: New file.
5717
5718 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
5719             Maciej W. Rozycki  <macro@codesourcery.com>
5720
5721         * lib/gdb-utils.exp: New file.
5722         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5723         inline `gdb_init_command' processing.
5724         (gdb_start_cmd): Likewise.
5725         * lib/mi-support.exp (mi_run_cmd): Likewise.
5726         * README: Document `gdb_init_command' and `gdb_init_commands'.
5727
5728 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5729
5730         Fix false FAIL running under a very long directory name.
5731         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5732         and "set print elements 10000".  Twice.
5733
5734 2014-07-11  Yao Qi  <yao@codesourcery.com>
5735
5736         * gdb.base/exprs.exp: "set print symbol off".
5737
5738 2014-07-11  Pedro Alves  <palves@redhat.com>
5739
5740         * gdb.threads/kill.c: New file.
5741         * gdb.threads/kill.exp: New file.
5742
5743 2014-07-10  Yao Qi  <yao@codesourcery.com>
5744
5745         * gdb.trace/tfile.c (write_basic_trace_file)
5746         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5747         address written to trace file.
5748
5749 2014-07-09  Pedro Alves  <palves@redhat.com>
5750
5751         * gdb.base/attach-wait-input.exp: New file.
5752         * gdb.base/attach-wait-input.c: New file.
5753
5754 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
5755
5756         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5757         setting up test structures.
5758         (main): Call new test function.
5759         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5760         test function, continue into test function and walk test
5761         structures.
5762
5763 2014-07-02  Yao Qi  <yao@codesourcery.com>
5764
5765         * gdb.trace/entry-values.c: Define labels 'foo_start' and
5766         'bar_start' at the beginning of functions 'foo' and 'bar'
5767         respectively.
5768         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5769         instead of 'foo' and 'bar'.
5770
5771 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
5772
5773         * gdb.btrace/segv.exp: New.
5774         * gdb.btrace/segv.c: New.
5775
5776 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
5777
5778         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5779         instruction.
5780
5781 2014-06-30  Mark Wielaard  <mjw@redhat.com>
5782
5783         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5784         vulture, vilify, villar): New volatile array constants.
5785         (vindictive, vegetation): New const volatile array constants.
5786         * gdb.base/volatile.exp: Test volatile and const volatile array
5787         types.
5788
5789 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5790
5791         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5792         target lacks support for awatch, rwatch, or hbreak.
5793
5794 2014-06-27  Yao Qi  <yao@codesourcery.com>
5795
5796         * gdb.multi/dummy-frame-restore.exp: New.
5797         * gdb.multi/dummy-frame-restore.c: New.
5798
5799 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
5800
5801         * gdb.btrace/gcore.exp: New.
5802
5803 2014-06-23  Pedro Alves  <palves@redhat.com>
5804
5805         * gdb.base/watchpoint-reuse-slot.c: New file.
5806         * gdb.base/watchpoint-reuse-slot.exp: New file.
5807
5808 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
5809
5810         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5811         progspace's filename in 'info', 'enable' and 'disable' command
5812         tests.
5813
5814 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5815
5816         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5817         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5818         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5819
5820 2014-06-20  Gary Benson  <gbenson@redhat.com>
5821
5822         * gdb.arch/i386-avx.exp: Fix include file location.
5823         * gdb.arch/i386-sse.exp: Likewise.
5824
5825 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
5826
5827         * gdb.dlang/expression.exp: New file.
5828
5829 2014-06-19  Pedro Alves  <palves@redhat.com>
5830
5831         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5832         out from ...
5833         (top level): ... here.  Iterate running tests under different
5834         scheduler-locking settings.
5835
5836 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
5837
5838         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5839         to DW_FORM_addr and use non-zero addresses.
5840
5841 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
5842
5843         PR gdb/17017
5844         * gdb.python/py-xmethods.cc: Add global function call counters and
5845         increment them in their respective functions.  Remove "cout"
5846         statements.
5847         * gdb.python/py-xmethods.exp: Make tests check the global function
5848         call counters instead of depending on inferior IO.
5849
5850 2014-06-18  Don Breazeal  <donb@codesourcery.com>
5851
5852         * gdb.base/foll-fork.exp (default_fork_parent_follow):
5853         Deleted procedure.
5854         (explicit_fork_parent_follow): Deleted procedure.
5855         (explicit_fork_child_follow): Deleted procedure.
5856         (test_follow_fork): New procedure.
5857         (do_fork_tests): Replace calls to deleted procedures with
5858         calls to test_follow_fork and reset GDB for subsequent
5859         procedure calls.
5860
5861 2014-06-17  Yao Qi  <yao@codesourcery.com>
5862
5863         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5864         CP1252.
5865
5866 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
5867
5868         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5869         Initialize ptr and S explicitly.
5870         (skip_type_update_when_not_use_rtti_test): Likewise.
5871
5872 2014-06-16  Keith Seitz  <keiths@redhat.com>
5873
5874         PR mi/15863
5875         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5876         the inferior is started.
5877
5878 2014-06-16  Pedro Alves  <palves@redhat.com>
5879
5880         * gdb.base/break-main-file-remove-fail.c: New file.
5881         * gdb.base/break-main-file-remove-fail.exp: New file.
5882         * gdb.base/break-unload-file.exp: Use build_executable instead of
5883         prepare_for_testing.
5884         (test_break): New parameter "initial_load".  Handle it.
5885         (top level): Add initial_load cmdline/file axis.
5886
5887 2014-06-12  Tom Tromey  <tromey@redhat.com>
5888
5889         * gdb.base/completion.exp: Don't use directory name in test.
5890
5891 2014-06-09  Gary Benson  <gbenson@redhat.com>
5892
5893         * gdb.base/sigall.c [Functions to send signals]: Reorder to
5894         separate the always-available ANSI-standard signals from the
5895         signals that require checking.
5896         (main): Likewise.
5897         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5898         Likewise.
5899         (main): Likewise.
5900
5901 2014-06-07  Keith Seitz  <keiths@redhat.com>
5902
5903         Revert:
5904         PR c++/16253
5905         * gdb.cp/var-tag.cc: New file.
5906         * gdb.cp/var-tag.exp: New file.
5907         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5908         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5909         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5910         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5911
5912 2014-06-06  Doug Evans  <xdje42@gmail.com>
5913
5914         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5915
5916 2014-06-06  Pedro Alves  <palves@redhat.com>
5917
5918         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5919         in target debug output instead of looking at RSP packets,
5920         disabling the test on any target that uses hardware stepping.
5921         Update comments.
5922
5923 2014-06-06  Pedro Alves  <palves@redhat.com>
5924
5925         * gdb.base/break-unload-file.exp: Fix typo.
5926
5927 2014-06-06  Yao Qi  <yao@codesourcery.com>
5928
5929         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5930         from "jit_function" to "^jit_function".
5931
5932 2014-06-06  Yao Qi  <yao@codesourcery.com>
5933
5934         * gdb.base/async.c (foo): Add one statement.
5935         * gdb.base/async.exp: Get the next instruction address and
5936         match the output of "nexti" by instruction address.  Match
5937         the hex address in the output of "finish".
5938
5939 2014-06-06  Gary Benson  <gbenson@redhat.com>
5940
5941         * gdb.base/call-signals.c: Remove preprocessor conditionals
5942         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5943         SIGSEGV and SIGTERM.
5944         * gdb.base/sigall.c: Likewise.
5945         * gdb.base/unwindonsignal.c: Likewise.
5946         * gdb.reverse/sigall-reverse.c: Likewise.
5947
5948 2014-06-06  Yao Qi  <yao@codesourcery.com>
5949
5950         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
5951         readable, skip the test.
5952
5953 2014-06-06  Yao Qi  <yao@codesourcery.com>
5954
5955         * gdb.threads/staticthreads.c (thread_function): Move the line
5956         setting breakpoint on forward.
5957         * gdb.threads/staticthreads.exp: Update comments.
5958
5959 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
5960
5961         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5962         "history-append! type error".
5963
5964 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
5965
5966         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5967         erroneous dprintf expected input.
5968
5969 2014-06-04  Doug Evans  <xdje42@gmail.com>
5970
5971         * gdb.guile/scm-generics.exp: Delete.
5972
5973 2014-06-04  Doug Evans  <xdje42@gmail.com>
5974
5975         * gdb.guile/scm-breakpoint.exp: Update.
5976         Add tests for breakpoint registration.
5977
5978 2014-06-04  Tom Tromey  <tromey@redhat.com>
5979
5980         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5981         VLA-in-union.
5982         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5983         inner_vla_struct, vla_union types.  Initialize objects of those
5984         types and compute their sizes.
5985
5986 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
5987             Hui Zhu  <hui@codesourcery.com>
5988
5989         * gdb.base/fileio.exp: Add test for shell not available as well as
5990         available.
5991         * gdb.base/fileio.c (test_system): Check for shell twice.
5992
5993 2014-06-04  Yao Qi  <yao@codesourcery.com>
5994
5995         * gdb.base/auto-connect-native-target.exp: Remove redundant
5996         space from the regexp pattern.
5997
5998 2014-06-04  Yao Qi  <yao@codesourcery.com>
5999
6000         * gdb.base/default.exp: Replace "child" with "native" in
6001         regexp pattern.
6002
6003 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
6004
6005         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6006         * gdb.python/py-xmethods.exp: New tests to test xmethods.
6007         * gdb.python/py-xmethods.py: Python script supporting the
6008         new testcase and tests.
6009
6010 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
6011             Pedro Alves  <palves@redhat.com>
6012
6013         PR breakpoints/17000
6014         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6015         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6016
6017 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
6018
6019         * gdb.base/subst.exp: Add tests to verify partial path matching
6020         output.
6021
6022 2014-06-03  Pedro Alves  <palves@redhat.com>
6023
6024         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6025         target that doesn't use software single-stepping.
6026
6027 2014-06-03  Pedro Alves  <palves@redhat.com>
6028
6029         PR breakpoints/17000
6030         * gdb.base/sss-bp-on-user-bp-2.c: New file.
6031         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6032
6033 2014-06-02  Doug Evans  <xdje42@gmail.com>
6034
6035         * gdb.guile/scm-parameter.exp: New file.
6036
6037 2014-06-02  Doug Evans  <xdje42@gmail.com>
6038
6039         * gdb.guile/scm-cmd.c: New file.
6040         * gdb.guile/scm-cmd.exp: New file.
6041
6042 2014-06-02  Doug Evans  <xdje42@gmail.com>
6043
6044         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6045         pretty-printer lookup.
6046         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6047         (make-pp_s-printer): Call it.
6048         (make-pretty-printer-from-dict): New function.
6049         (lookup-pretty-printer-maker-from-dict): New function.
6050         (*pretty-printer*): Simplify.
6051         (make-objfile-pp_s-printer): New function.
6052         (install-objfile-pretty-printers!): New function.
6053         (make-progspace-pp_s-printer): New function.
6054         (install-progspace-pretty-printers!): New function.
6055         * gdb.guile/scm-progspace.c: New file.
6056         * gdb.guile/scm-progspace.exp: New file.
6057
6058 2014-06-02  Pedro Alves  <palves@redhat.com>
6059
6060         * gdb.base/dprintf-bp-same-addr.c: New file.
6061         * gdb.base/dprintf-bp-same-addr.exp: New file.
6062
6063 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
6064
6065         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6066         * gdb.arch/powerpc-power.s: Likewise.
6067
6068 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
6069
6070         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6071
6072 2014-06-01  Yao Qi  <yao@codesourcery.com>
6073
6074         * gdb.base/watchpoint.exp (test_watch_location): Check null
6075         pointer can be dereferenced.  If not, do the test, otherwise
6076         skip it.
6077
6078 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
6079
6080         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6081         results.
6082         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6083
6084 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
6085
6086         * gdb.arch/amd64-invalid-stack-middle.S: New file.
6087         * gdb.arch/amd64-invalid-stack-middle.c: New file.
6088         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6089         * gdb.arch/amd64-invalid-stack-top.c: New file.
6090         * gdb.arch/amd64-invalid-stack-top.exp: New file.
6091
6092 2014-05-30  Pedro Alves  <palves@redhat.com>
6093
6094         PR breakpoints/17000
6095         * gdb.base/sss-bp-on-user-bp.c: New file.
6096         * gdb.base/sss-bp-on-user-bp.exp: New file.
6097
6098 2014-05-30  David Blaikie  <dblaikie@gmail.com>
6099
6100         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6101         gnu_inline semantics via attribute.
6102         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6103         source explicitly specifies the required semantics.
6104
6105 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
6106
6107         * gdb.reverse/sigall-reverse.exp: Fix a typo.
6108
6109 2014-05-29  Pedro Alves  <palves@redhat.com>
6110             Tom Tromey  <tromey@redhat.com>
6111
6112         * gdb.base/async-shell.exp: Don't enable target-async.
6113         * gdb.base/async.exp
6114         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6115         parameter.  Adjust.
6116         (top level): Don't test with "target-async".
6117         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6118         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6119         * gdb.base/inferior-died.exp: Don't enable target-async.
6120         * gdb.base/interrupt-noterm.exp: Likewise.
6121         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6122         * gdb.mi/mi-nonstop-exit.exp: Likewise.
6123         * gdb.mi/mi-nonstop.exp: Likewise.
6124         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6125         * gdb.mi/mi-nsintrall.exp: Likewise.
6126         * gdb.mi/mi-nsmoribund.exp: Likewise.
6127         * gdb.mi/mi-nsthrexec.exp: Likewise.
6128         * gdb.mi/mi-watch-nonstop.exp: Likewise.
6129         * gdb.multi/watchpoint-multi.exp: Adjust comment.
6130         * gdb.python/py-evsignal.exp: Don't enable target-async.
6131         * gdb.python/py-evthreads.exp: Likewise.
6132         * gdb.python/py-prompt.exp: Likewise.
6133         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6134         * gdb.server/solib-list.exp: Don't enable target-async.
6135         * gdb.threads/thread-specific-bp.exp: Likewise.
6136         * lib/mi-support.exp: Adjust to use mi-async.
6137
6138 2014-05-29  Pedro Alves  <palves@redhat.com>
6139
6140         PR gdb/13860
6141         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6142         reason, even in sync mode.
6143
6144 2014-05-29  Pedro Alves  <palves@redhat.com>
6145             Hui Zhu  <hui@codesourcery.com>
6146
6147         PR PR15693
6148         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6149         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6150         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6151         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6152
6153 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
6154
6155         * config/monitor.exp (gdb_target_monitor): Replace use of
6156         "set remotebaud" by "set serial baud".
6157
6158 2014-05-26  Andy Wingo  <wingo@igalia.com>
6159
6160         * gdb.guile/scm-breakpoint.exp:
6161         * gdb.guile/scm-gsmob.exp: Update to use plain old object
6162         properties instead of gdb-object-properties.
6163
6164 2014-05-26  Yao Qi  <yao@codesourcery.com>
6165
6166         * gdb.server/no-thread-db.exp: Specify source file name
6167         explicitly when setting a breakpoint.
6168
6169 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
6170
6171         * gdb.btrace/vdso.c: New.
6172         * gdb.btrace/vdso.exp: New.
6173
6174 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
6175
6176         * gdb.base/gcore.exp (capture_command_output): Move ...
6177         * lib/gdb.exp (capture_command_output): ... here.
6178
6179 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
6180
6181         * gdb.btrace/data.exp: Test memory access during btrace replay.
6182
6183 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
6184
6185         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6186
6187 2014-05-21  Pedro Alves  <palves@redhat.com>
6188
6189         PR gdb/13860
6190         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6191         (top level): Test that output related to execution commands is
6192         sent to the console with CLI commands, but not with MI commands.
6193         Test that breakpoint events are always mirrored to the console.
6194         Also expect the new source line to be output after a "next" in
6195         async mode too.  Make it a pass/fail test.
6196         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6197         output.
6198         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6199
6200 2014-05-21  Pedro Alves  <palves@redhat.com>
6201
6202         * gdb.base/list.exp (build_pattern, test_list): New procedures.
6203         Use them to test variations of "list" after reaching a breakpoint.
6204         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6205         Test "list" with listsize 10 after reaching a breakpoint.
6206         * gdb.python/python.exp (decode_line current location line
6207         number): Adjust expected line number.
6208
6209 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
6210
6211         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6212         behavior for $args, pass it directly to "run".
6213
6214 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6215
6216         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6217         30000 to 65536.
6218
6219 2014-05-21  Pedro Alves  <palves@redhat.com>
6220
6221         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6222         auto-connect-native-target off".
6223         * gdb.base/auto-connect-native-target.c: New file.
6224         * gdb.base/auto-connect-native-target.exp: New file.
6225
6226 2014-05-21  Pedro Alves  <palves@redhat.com>
6227
6228         * gdb.base/default.exp: Test "target native" instead of "target
6229         child".
6230
6231 2014-05-21  Mark Wielaard  <mjw@redhat.com>
6232
6233         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6234
6235 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
6236
6237         Fix TLS access for -static -pthread.
6238         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6239         <HAVE_TLS> (thread_function, main): Initialize it.
6240         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6241         Add clean_restart.
6242         <$have_tls != "">: Check TLSVAR.
6243
6244 2014-05-21  Pedro Alves  <palves@redhat.com>
6245
6246         * gdb.base/dcache-line-read-error.c: New.
6247         * gdb.base/dcache-line-read-error.exp: New.
6248
6249 2014-05-20  Pedro Alves  <palves@redhat.com>
6250
6251         * gdb.base/compare-sections.c: New file.
6252         * gdb.base/compare-sections.exp: New file.
6253
6254 2014-05-20  Pedro Alves  <palves@redhat.com>
6255
6256         * gdb.base/break-idempotent.c: New file.
6257         * gdb.base/break-idempotent.exp: New file.
6258
6259 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
6260
6261         * gdb.btrace/nohist.exp: New.
6262
6263 2014-05-20  Yao Qi  <yao@codesourcery.com>
6264
6265         * lib/gdb.exp (gdb_init): Set timeout if test file is under
6266         gdb.reverse directory and gdb_reverse_timeout exists in board
6267         setting.
6268         * README: Document gdb_reverse_timeout.
6269
6270 2014-05-20  Yao Qi  <yao@codesourcery.com>
6271
6272         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6273         'test_file_name'.  Treat args as a string instead of a list.
6274         (gdb_init): Rename argument 'args' by 'test_file_name'.
6275
6276 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6277
6278         * gdb.arch/powerpc-power.exp: New file.
6279         * gdb.arch/powerpc-power.s: New file.
6280
6281 2014-05-16  Doug Evans  <dje@google.com>
6282
6283         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6284         * gdb.base/completion.exp: Check that all expected files exist
6285         before doing file completion.
6286
6287 2014-05-16  Doug Evans  <dje@google.com>
6288
6289         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6290         Update.
6291         (do_syscall_tests_without_xml): Update.
6292
6293 2014-05-16  Pedro Alves  <palves@redhat.com>
6294
6295         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6296         instead of "unknown output after running".
6297
6298 2014-05-16  Yao Qi  <yao@codesourcery.com>
6299
6300         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
6301         file1.txt from host at the end.
6302         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6303
6304 2014-05-15  Doug Evans  <dje@google.com>
6305
6306         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6307         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6308         loading file.  Add test for TU lookup.
6309
6310 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
6311
6312         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6313         calling "-exec-arguments" or "set args" before running the
6314         inferior.
6315
6316 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
6317
6318         * lib/mi-support.exp (mi_expect_stop): Expect message for
6319         inferiors that exit with non-zero exit code.
6320
6321 2014-05-14  Yao Qi  <yao@codesourcery.com>
6322
6323         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6324         match absolute path on remote host.
6325         (test_file_list_exec_source_files): Remove "/" from the
6326         pattern.
6327
6328 2014-05-14  Yao Qi  <yao@codesourcery.com>
6329
6330         * boards/local-remote-host-notty.exp (${board}_file): New
6331         proc.
6332
6333 2014-05-07  Kyle McMartin  <kyle@redhat.com>
6334
6335         Pushed by Joel Brobecker  <brobecker@adacore.com>.
6336         * gdb.arch/aarch64-atomic-inst.c: New file.
6337         * gdb.arch/aarch64-atomic-inst.exp: New file.
6338
6339 2014-05-07  Yao Qi  <yao@codesourcery.com>
6340
6341         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6342         in current context" too.
6343
6344 2014-05-05  Keith Seitz  <keiths@redhat.com>
6345
6346         * gdb.linespec/ls-dollar.exp: Add test for linespec
6347         file:convenience_variable.
6348
6349 2014-05-05  Yao Qi  <yao@codesourcery.com>
6350
6351         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6352         traceframes into tfile and ctf trace files.  Read data from
6353         trace file and test collected data.
6354         (gdb_collect_locals_test): Likewise.
6355         (gdb_unavailable_registers_test): Likewise.
6356         (gdb_unavailable_floats): Likewise.
6357         (gdb_collect_globals_test): Likewise.
6358         (top-level): Append "ctf" to trace_file_targets if GDB
6359         supports.
6360
6361 2014-05-05  Yao Qi  <yao@codesourcery.com>
6362
6363         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6364         code to ...
6365         (gdb_collect_args_test_1): ... it.  New proc.
6366         (gdb_collect_locals_test): Move some code to ...
6367         (gdb_collect_locals_test_1): ... it.  New proc.
6368         (gdb_unavailable_registers_test): Move some code to ...
6369         (gdb_unavailable_registers_test_1): ... it.  New proc.
6370         (gdb_unavailable_floats): Move some code to ...
6371         (gdb_unavailable_floats_1): ... it.  New proc.
6372
6373 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
6374
6375         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6376         probes to test for bitness recognition.
6377         * gdb.arch/amd64-stap-optional-prefix.exp
6378         (test_probe_value_without_reg): New procedure.
6379         Add code to test for different kinds of bitness.
6380
6381 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
6382
6383         PR breakpoints/16889
6384         * gdb.arch/amd64-stap-optional-prefix.S: New file.
6385         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6386
6387 2014-05-01  Pedro Alves  <palves@redhat.com>
6388
6389         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
6390         gdb_file_cmd if no file is specified.
6391         * boards/native-extended-gdbserver.exp (gdb_load): Use the
6392         last_loaded_file to set the remote exec-file.
6393
6394 2014-05-01  Pedro Alves  <palves@redhat.com>
6395
6396         * boards/local-remote-host.exp: New file.
6397
6398 2014-05-01  Pedro Alves  <palves@redhat.com>
6399
6400         * boards/local-remote-host.exp: Rename to ...
6401         * boards/local-remote-host-notty.exp: ... this.
6402
6403 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
6404
6405         * gdb.ada/dyn_arrayidx: New testcase.
6406
6407 2014-04-26  Yao Qi  <yao@codesourcery.com>
6408
6409         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
6410         and compute the length of function main.  Save it in
6411         $main_length.
6412         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6413         (top-level): Use gdb_compile to compile objects into
6414         executable and restart GDB.  Remove invocation to
6415         prepare_for_testing.
6416
6417 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
6418             Pedro Alves  <palves@redhat.com>
6419
6420         PR server/16255
6421         * gdb.multi/multi-attach.c: New file.
6422         * gdb.multi/multi-attach.exp: New file.
6423
6424 2014-04-25  Pedro Alves  <palves@redhat.com>
6425
6426         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6427         user.
6428         (top level): Test that "set remote conditional-breakpoints-packet
6429         off" works as intended.
6430         * gdb.base/dprintf.exp: Test that "set remote
6431         breakpoint-commands-packet off" works as intended.
6432         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6433         New function.
6434         (top level): Call it.
6435         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6436         remote fast-tracepoints-packet off" works as intended.
6437         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6438         * lib/gdb.exp (gdb_is_target_remote): ... here.
6439
6440 2014-04-24  David Blaikie  <dblaikie@gmail.com>
6441
6442         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6443         ensure clang would not discard them.
6444         * gdb.base/gdbvars.c: Ditto.
6445         * gdb.base/memattr.c: Ditto.
6446         * gdb.base/whatis.c: Ditto.
6447         * gdb.python/py-prettyprint.c: Ditto.
6448         * gdb.trace/actions.c: Ditto.
6449         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6450         ensure clang would not discard it.
6451
6452 2014-04-24  David Blaikie  <dblaikie@gmail.com>
6453
6454         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6455         clang to emit the full definition of type required by the test
6456         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6457
6458 2014-04-24  David Blaikie  <dblaikie@gmail.com>
6459
6460         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6461         coax Clang into emitting the definition of the type.
6462         * gdb.cp/pr10728-x.h (y): Ditto.
6463         * gdb.cp/pr10728-y.cc (y): Ditto.
6464
6465 2014-04-24  David Blaikie  <dblaikie@gmail.com>
6466
6467         * gdb.base/label.exp: XFAIL label related tests under Clang.
6468         * gdb.cp/cplabel.exp: Ditto.
6469         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6470         under Clang those using labels.
6471
6472 2014-04-25  Yao Qi  <yao@codesourcery.com>
6473
6474         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6475         double_label.
6476         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6477         partial_label and double_label.
6478
6479 2014-04-24  David Blaikie  <dblaikie@gmail.com>
6480
6481         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6482
6483 2014-04-24  David Blaikie  <dblaikie@gmail.com>
6484
6485         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6486         of the function to work across GCC and Clang.
6487         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6488         pointer types (const void ** const V void **).
6489
6490 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
6491             Walfred Tedeschi  <walfred.tedeschi@intel.com>
6492
6493         * Makefile.in (EXECUTABLES): Added i386-avx512.
6494         * gdb.arch/i386-avx512.c: New file.
6495         * gdb.arch/i386-avx512.exp: Likewise.
6496
6497 2014-04-23  Keith Seitz  <keiths@redhat.com>
6498
6499         * lib/mi-support.exp (mi_list_breakpoints): Delete.
6500         (mi_make_breakpoint_table): New procedure.
6501         (mi_create_breakpoint): Use mi_make_breakpoint
6502         and return the result.
6503         (mi_make_breakpoint): New procedure.
6504         (mi_build_kv_pairs): New procedure.
6505
6506         * gdb.mi/mi-break.exp: Remove unused globals,
6507         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6508         All callers updated.
6509         * gdb.mi/mi-dprintf.exp: Use variable to track command
6510         number.
6511         Update all callers of mi_create_breakpoint and use
6512         mi_make_breakpoint_table.
6513         Remove any unused global variables.
6514         * gdb.mi/mi-nonstop.exp: Likewise.
6515         * gdb.mi/mi-nsintrall.exp: Likewise.
6516         * gdb.mi/mi-nsmoribund.exp: Likewise.
6517         * gdb.mi/mi-nsthrexec.exp: Likewise.
6518         * gdb.mi/mi-reverse.exp: Likewise.
6519         * gdb.mi/mi-simplerun.exp: Likewise.
6520         * gdb.mi/mi-stepn.exp: Likewise.
6521         * gdb.mi/mi-syn-frame.exp: Likewise.
6522         * gdb.mi/mi-until.exp: Likewise.
6523         * gdb.mi/mi-var-cp.exp: Likewise.
6524         * gdb.mi/mi-var-display.exp: Likewise.
6525         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6526         * gdb.mi/mi2-var-child.exp: Likewise.
6527         * gdb.mi/mi-vla-c99.exp: Likewise.
6528         * lib/mi-support.exp: Likewise.
6529
6530         From Ian Lance Taylor  <iant@cygnus.com>:
6531         * lib/gdb.exp (parse_args): New procedure.
6532
6533 2014-04-23  Pedro Alves  <palves@redhat.com>
6534
6535         * gdb.base/break-unload-file.c: New file.
6536         * gdb.base/break-unload-file.exp: New file.
6537         * gdb.base/sym-file-lib.c (baz): New function.
6538         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6539         field.
6540         (load): Store the segment's mapped size.
6541         (unload): New function.
6542         (unload_shlib): New function.
6543         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6544         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6545         set a breakpoint at baz, and call it.
6546         * gdb.base/sym-file.exp: New tests for stale breakpoint
6547         instructions.
6548
6549 2014-04-23  Pedro Alves  <palves@redhat.com>
6550
6551         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6552         * gdb.base/hbreak-in-shr-unsupported.c: New file.
6553         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6554         * gdb.base/hbreak-unmapped.c: New file.
6555         * gdb.base/hbreak-unmapped.exp: New file.
6556         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6557         * lib/gdb.exp (gdb_is_target_remote): ... here.
6558
6559 2014-04-22  Pedro Alves  <palves@redhat.com>
6560
6561         * gdb.base/consecutive-step-over.c: New file.
6562         * gdb.base/consecutive-step-over.exp: New file.
6563
6564 2014-04-22  Pedro Alves  <palves@redhat.com>
6565
6566         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6567         instead of send_gdb/gdb_expect.
6568
6569 2014-04-22  Yao Qi  <yao@codesourcery.com>
6570
6571         * lib/trace-support.exp (generate_tracefile): New procedure.
6572         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6573         return 0.
6574         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6575         if generate_tracefile returns 1.
6576
6577 2014-04-18  Tom Tromey  <palves@redhat.com>
6578             Pedro alves  <tromey@redhat.com>
6579
6580         PR backtrace/15558
6581         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6582         with a backtrace limit.
6583         * gdb.python/py-frame-inline.exp: Test running to an inline
6584         function with a backtrace limit, and printing the newest frame.
6585         * gdb.python/py-frame-inline.c (main): Call f.
6586
6587 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6588
6589         * gdb.java/jnpe.exp: Drop srcdir from untested path.
6590
6591 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6592
6593         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6594         Drop prefix from unsupported source file path.
6595
6596 2014-04-17  Yao Qi  <yao@codesourcery.com>
6597
6598         * lib/gdb.exp (with_target_charset): New proc.
6599         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6600         with_target_charset.
6601         (test_print_strings): Likewise.
6602         (test_repeat_bytes): Likewise.
6603         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6604         for some tests.
6605
6606 2014-04-16  Keith Seitz  <keiths@redhat.com>
6607
6608         PR gdb/15827
6609         * gdb.dwarf2/corrupt.c: New file.
6610         * gdb.dwarf2/corrupt.exp: New file.
6611
6612 2014-04-16  Keith Seitz  <keiths@redhat.com>
6613
6614         PR c++/16597
6615         * gdb.cp/namelessclass.cc: New file.
6616         * gdb.cp/namelessclass.exp: New file.
6617         * gdb.cp/namelessclass.S: New file.
6618
6619 2014-04-16  Doug Evans  <dje@google.com>
6620
6621         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6622         Add comment.
6623         (gdbserver_default_get_comm_port): New function.
6624         (gdbserver_start): Check if board file provided
6625         "gdbserver,get_comm_port" and use it if so.
6626         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6627         (gdb,socketport): Set to "stdio".
6628         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6629         (stdio_gdbserver_template): Delete.
6630         (${board}_get_remote_address): Update.
6631         (${board}_build_remote_cmd): Delete.
6632         (${board}_get_comm_port): New function.
6633         (${board}_spawn): Update.
6634         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6635         Delete.
6636         (${board}_get_remote_address): Update.
6637         (${board}_get_comm_port): New function.
6638
6639 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
6640
6641         * gdb.base/memattr.exp: Improve regexps to handle memory regions
6642         appearing in any order.
6643
6644 2014-04-15  Doug Evans  <dje@google.com>
6645
6646         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6647         uninitialized value of "description".
6648
6649 2014-04-15  Keith Seitz  <keiths@redhat.com>
6650
6651         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6652         Remove unused globals.
6653         (test_running_the_program): Likewise.
6654         (test_controlled_execution): Likewise.
6655         (test_controlling_breakpoints): Likewise.
6656         (test_program_termination): Likewise.
6657
6658 2014-04-15  Keith Seitz  <keiths@redhat.com>
6659
6660         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6661         unused globals.
6662         (test_rbreak_creation_and_listing): Likewise.
6663         (test_ignore_count): Likewise.
6664         (test_error): Likewise.
6665
6666 2014-04-15  Pedro Alves  <palves@redhat.com>
6667
6668         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6669         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6670         sym-file-loader.c.
6671         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6672         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6673         to sym-file-loader.c.
6674         (struct library): Forward declare.
6675         (load_shlib, lookup_function): Change prototypes.
6676         (find_shstrtab, find_strtab, find_shdr, find_symtab)
6677         (translate_offset): Remove declarations.
6678         (get_text_addr): New declaration.
6679         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6680         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6681         sym-file-loader.h.
6682         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6683         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6684         here from sym-file-loader.h.
6685         (struct library): New structure.
6686         (load_shlib, lookup_function): Change prototypes and adjust to
6687         work with a struct library.
6688         (find_shstrtab, find_strtab, find_shdr, find_symtab)
6689         (translate_offset): Make static.
6690         (get_text_addr): New function.
6691         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6692
6693 2014-04-15  Pedro Alves  <palves@redhat.com>
6694
6695         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
6696
6697 2014-04-15  Pedro Alves  <palves@redhat.com>
6698
6699         * gdb.base/sym-file-loader.c: Include <limits.h>.
6700         (SELF_LINK): New define.
6701         (get_origin): New function.
6702         (load_shlib): Use it.
6703         * gdb.base/sym-file.exp: Don't early return if the target is
6704         remote.  Use runto_main, and issue fail is that fails.  Use
6705         gdb_load_shlibs.
6706         (shlib_name): Delete.
6707         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
6708
6709 2014-04-15  Pedro Alves <palves@redhat.com>
6710
6711         * gdb.base/sym-file.exp: Remove regex characters from test
6712         message.  Don't refer to breakpoint numbers in test messages.
6713
6714 2014-04-14  Keith Seitz  <keiths@redhat.com>
6715
6716         PR c++/16253
6717         * gdb.cp/var-tag.cc: New file.
6718         * gdb.cp/var-tag.exp: New file.
6719         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6720         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6721         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6722         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6723
6724 2014-04-14  Tom Tromey  <tromey@redhat.com>
6725
6726         * gdb.cp/classes.exp (test_enums): Handle underlying type.
6727         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6728         type.
6729         * gdb.cp/enum-class.exp: New file.
6730         * gdb.cp/enum-class.cc: New file.
6731
6732 2014-04-14  Tom Tromey  <tromey@redhat.com>
6733
6734         * gdb.dwarf2/enum-type.exp: New file.
6735
6736 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
6737
6738         * gdb.mi/mi-vla-c99.exp: New file.
6739         * gdb.mi/vla.c: New file.
6740
6741 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
6742
6743         * gdb.base/vla-datatypes.c: New file.
6744         * gdb.base/vla-datatypes.exp: New file.
6745
6746 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
6747
6748         * gdb.base/vla-ptr.c: New file.
6749         * gdb.base/vla-ptr.exp: New file.
6750
6751 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
6752
6753         * gdb.dwarf2/count.exp: New file.
6754
6755 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
6756
6757         * gdb.base/vla-sideeffect.c: New file.
6758         * gdb.base/vla-sideeffect.exp: New file.
6759
6760 2014-04-14  David Blaikie <dblaikie@gmail.com>
6761
6762         * gdb.mi/non-stop.c: Add return value for non-void function return
6763         statement.
6764         * gdb.threads/staticthreads.c: Ditto.
6765
6766 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
6767             Doug Evans  <xdje42@gmail.com>
6768
6769         * gdb.guile/scm-value.c: Improve test case.
6770         * gdb.guile/scm-value.exp: Add new test.
6771
6772 2014-04-11  David Blaikie  <dblaikie@gmail.com>
6773
6774         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6775         override Clang's default.
6776
6777 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
6778
6779         Revert the following changes (regressions):
6780
6781         * gdb.base/vla-sideeffect.c: New file.
6782         * gdb.base/vla-sideeffect.exp: New file.
6783
6784         * gdb.dwarf2/count.exp: New file.
6785
6786         * gdb.base/vla-multi.c: New file.
6787         * gdb.base/vla-multi.exp: New file.
6788
6789         * gdb.base/vla-ptr.c: New file.
6790         * gdb.base/vla-ptr.exp: New file.
6791
6792         * gdb.base/vla-datatypes.c: New file.
6793         * gdb.base/vla-datatypes.exp: New file.
6794
6795         * gdb.mi/mi-vla-c99.exp: New file.
6796         * gdb.mi/vla.c: New file.
6797
6798 2014-04-11  Keith Seitz  <keiths@redhat.com>
6799
6800         PR c++/16675
6801         * gdb.cp/cpsizeof.exp: New file.
6802         * gdb.cp/cpsizeof.cc: New file.
6803
6804 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6805
6806         * gdb.mi/mi-vla-c99.exp: New file.
6807         * gdb.mi/vla.c: New file.
6808
6809 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6810
6811         * gdb.base/vla-datatypes.c: New file.
6812         * gdb.base/vla-datatypes.exp: New file.
6813
6814 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6815
6816         * gdb.base/vla-ptr.c: New file.
6817         * gdb.base/vla-ptr.exp: New file.
6818
6819 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6820
6821         * gdb.base/vla-multi.c: New file.
6822         * gdb.base/vla-multi.exp: New file.
6823
6824 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6825
6826         * gdb.dwarf2/count.exp: New file.
6827
6828 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6829
6830         * gdb.base/vla-sideeffect.c: New file.
6831         * gdb.base/vla-sideeffect.exp: New file.
6832
6833 2014-04-11  Yao Qi  <yao@codesourcery.com>
6834
6835         * gdb.base/completion.exp: Check file exists before running tests
6836         on file completion.
6837
6838 2014-04-10  Pedro Alves  <palves@redhat.com>
6839
6840         * gdb.base/cond-eval-mode.c: New file.
6841         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
6842         prepare_for_testing to build the new file.  Check result of
6843         runto_main.
6844         (test_break, test_watch): New procedures.
6845         (top level): Use them.
6846
6847 2014-04-08  Pierre Muller  <muller@sourceware.org>
6848
6849         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6850         Ctrl-V use for mingw hosts.
6851
6852 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
6853
6854         * gdb.python/py-value.c: Improve test case.
6855         * gdb.python/py-value.exp: Add new test.
6856
6857 2014-04-07  David Blaikie  <dblaikie@gmail.com>
6858
6859         * lib/compiler.c: Identify the clang compiler.
6860         * lib/compiler.cc: Ditto.
6861
6862 2014-04-03  Yao Qi  <yao@codesourcery.com>
6863
6864         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6865
6866 2014-04-01  Anton Blanchard  <anton@samba.org>
6867
6868         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
6869         messages unique.
6870
6871 2014-04-01  Anton Blanchard  <anton@samba.org>
6872
6873         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6874         prepare_for_testing.
6875
6876 2014-04-01  Anton Blanchard  <anton@samba.org>
6877
6878         * gdb.arch/ppc64-atomic-inst.c: Remove.
6879         * gdb.arch/ppc64-atomic-inst.S: New file.
6880         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6881
6882 2014-03-31  Doug Evans  <dje@google.com>
6883
6884         * gdb.base/print-symbol-loading-lib.c: New file.
6885         * gdb.base/print-symbol-loading-main.c: New file.
6886         * gdb.base/print-symbol-loading.exp: New file.
6887
6888 2014-03-31  Yao Qi  <yao@codesourcery.com>
6889
6890         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6891
6892 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
6893
6894         * gdb.ada/mi_dyn_arr: New testcase.
6895
6896 2014-03-27  Doug Evans  <dje@google.com>
6897
6898         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6899
6900 2014-03-27  Yao Qi  <yao@codesourcery.com>
6901
6902         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6903         if target is nios2-*-*.
6904
6905 2014-03-26  Yao Qi  <yao@codesourcery.com>
6906
6907         * lib/gdb.exp (readline_is_used): New proc.
6908         * gdb.base/completion.exp: Move tests on command complete up.
6909         Skip the rest of tests if readline is not used.
6910         * gdb.ada/complete.exp: Skp the test if readline is not
6911         used.
6912         * gdb.base/filesym.exp: Likewise.
6913         * gdb.base/macscp.exp: Likewise.
6914         * gdb.base/readline-ask.exp: Likewise.
6915         * gdb.base/readline.exp: Likewise.
6916         * gdb.python/py-cmd.exp: Likewise.
6917         * gdb.trace/tfile.exp: Likewise.
6918
6919 2014-03-26  Yao Qi  <yao@codesourcery.com>
6920
6921         * gdb.base/macscp.exp: Fix code format issues.
6922
6923 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
6924
6925         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6926         * gdb.asm/powerpc64le.inc: New file.
6927
6928 2014-03-25  Pedro Alves  <palves@redhat.com>
6929             Doug Evans  <dje@google.com>
6930
6931         * gdb.base/source-execution.c: New file.
6932         * gdb.base/source-execution.exp: New file.
6933         * gdb.base/source-execution.gdb: New file.
6934
6935 2014-03-24  Doug Evans  <dje@google.com>
6936
6937         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6938         using fission.
6939
6940 2014-03-24  Hui Zhu  <hui@codesourcery.com>
6941             Pedro Alves  <palves@redhat.com>
6942
6943         PR breakpoints/16101
6944         * gdb.base/dprintf.exp: Use unsupported rather than changing the
6945         test pass/fail messages.  Detect missing support for dprintf when
6946         breakpoints are actually inserted.
6947         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6948         breakpoints are actually inserted.
6949         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6950         fails.
6951
6952 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6953
6954         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6955
6956 2014-03-22  Doug Evans  <xdje42@gmail.com>
6957
6958         * gdb.python/python.exp (python not supported): Verify multi-line
6959         python command issues an error.
6960         * gdb.guile/guile.exp (guile not supported): Verify multi-line
6961         guile command issues an error.
6962
6963 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
6964
6965         * gdb.threads/thread-specific.exp: Handle the lack of usable
6966         $this_breakpoint and $this_thread.
6967
6968 2014-03-21  Hui Zhu  <hui@codesourcery.com>
6969
6970         * gdb.base/attach.exp (do_command_attach_tests): New.
6971
6972 2014-03-20  Tom Tromey  <tromey@redhat.com>
6973             Pedro Alves  <palves@redhat.com>
6974
6975         PR cli/15718
6976         * gdb.base/condbreak-call-false.c: New file.
6977         * gdb.base/condbreak-call-false.exp: New file.
6978
6979 2014-03-20  Pedro Alves  <palves@redhat.com>
6980
6981         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6982         Delete.
6983         (block_signals, unblock_signals): Delete.
6984         (child_function_2, main): Remove references to deleted variable
6985         and functions.
6986
6987 2014-03-20  Pedro Alves  <palves@redhat.com>
6988
6989         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6990         Use pthread_kill to signal thread 2.
6991         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6992         Adjust to make the test send itself a signal rather than using the
6993         host's "kill" command.
6994
6995 2014-03-20  Pedro Alves  <palves@redhat.com>
6996
6997         * gdb.threads/multiple-step-overs.c: New file.
6998         * gdb.threads/multiple-step-overs.exp: New file.
6999         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7000         Adjust expected infrun debug output.
7001
7002 2014-03-20  Pedro Alves  <palves@redhat.com>
7003
7004         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7005         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7006
7007 2014-03-20  Pedro Alves  <palves@redhat.com>
7008
7009         PR breakpoints/7143
7010         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7011         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
7012         of gdb_test_multiple.
7013         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7014         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7015
7016 2014-03-20  Pedro Alves  <palves@redhat.com>
7017
7018         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7019         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7020
7021 2014-03-19  Pedro Alves  <palves@redhat.com>
7022
7023         * gdb.base/async.exp: Remove early return.
7024
7025 2014-03-19  Pedro Alves  <palves@redhat.com>
7026
7027         * gdb.base/async.exp (step& tests): Pass explicit test messages.
7028
7029 2014-03-19  Pedro Alves  <palves@redhat.com>
7030
7031         * gdb.base/async.exp (test_background): Expect \r\n after
7032         "completed." in the fail pattern.
7033
7034 2014-03-19  Pedro Alves  <palves@redhat.com>
7035
7036         * gdb.base/async.exp (test_background): New procedure.
7037         Use it for all background execution command tests.
7038
7039 2014-03-19  Pedro Alves  <palves@redhat.com>
7040
7041         * gdb.base/async.exp: Use prepare_for_testing.
7042
7043 2014-03-19  Pedro Alves  <palves@redhat.com>
7044
7045         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
7046         the same line.
7047
7048 2014-03-19  Pedro Alves  <palves@redhat.com>
7049
7050         * gdb.base/async.c (main): Add "jump here" and "until here" line
7051         marker comments.
7052         * gdb.base/async.exp (jump_here): New global.
7053         (jump& test): Use it.
7054         (until_here): New global.
7055         (until& test): Use it.
7056
7057 2014-03-19  Pedro Alves  <palves@redhat.com>
7058
7059         * gdb.base/async.exp: Don't frob gdb_protocol.
7060
7061 2014-03-18  Doug Evans  <xdje42@gmail.com>
7062
7063         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
7064         Fix spelling of exec-done-display.
7065
7066 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
7067
7068         PR gdb/15358
7069         * gdb.base/gdb-sigterm.c: New file.
7070         * gdb.base/gdb-sigterm.exp: New file.
7071
7072 2014-03-18  Pedro Alves  <palves@redhat.com>
7073
7074         PR gdb/13860
7075         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7076         * lib/mi-support.exp (mi_expect_stop): Add special handling for
7077         solib-event.
7078
7079 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
7080
7081         * gdb.ada/pckd_arr_ren: New testcase.
7082
7083 2014-03-13  Doug Evans  <xdje42@gmail.com>
7084
7085         PR guile/16612
7086         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7087         collect after discarding symbols.
7088
7089 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
7090             Doug Evans  <xdje42@gmail.com>
7091
7092         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7093         to history survives a gc.
7094
7095 2014-03-13  Pedro Alves  <palves@redhat.com>
7096
7097         * gdb.base/default.exp: Don't test "target procfs".
7098
7099 2014-03-13  Pedro Alves  <palves@redhat.com>
7100
7101         * gdb.base/default.exp: Update "target child" and "target procfs"
7102         tests to not expect "Unix".
7103
7104 2014-03-12  Tom Tromey  <tromey@redhat.com>
7105
7106         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7107         New procs.  Add target-async tests.
7108         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7109         Add target-async tests.
7110
7111 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7112
7113         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7114         'func_start' and 'func_end' for the beginning and end of the
7115         function code, respectively.
7116         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7117         'func_end' instead of 'func' and 'main'.
7118
7119 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7120
7121         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7122         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7123         generate the debug info assembler source.
7124
7125 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7126
7127         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7128         * gdb.dwarf2/arr-subrange.exp: Likewise.
7129         * gdb.dwarf2/dwz.exp: Likewise.
7130         * gdb.dwarf2/method-ptr.exp: Likewise.
7131         * gdb.dwarf2/missing-sig-type.exp: Likewise.
7132         * gdb.dwarf2/subrange.exp: Likewise.
7133         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7134         * gdb.dwarf2/implptrpiece.exp: Likewise.
7135         * gdb.dwarf2/nostaticblock.exp: Likewise.
7136
7137 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7138
7139         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7140         directory to absolute path name arguments.
7141
7142 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
7143
7144         * gdb.ada/tagged_access: New testcase.
7145
7146 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
7147
7148         * gdb.btrace/data.exp: Update expected output.
7149
7150 2014-03-06  Yao Qi  <yao@codesourcery.com>
7151
7152         * gdb.trace/pr16508.exp: New file.
7153
7154 2014-03-05  Pedro Alves  <palves@redhat.com>
7155
7156         PR gdb/16575
7157         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7158         procedure.
7159         (top level): Adjust to use it.  Add tests that exercise breakpoint
7160         interaction with the code-cache.
7161
7162 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
7163
7164         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7165         test for 'history-append!'.
7166
7167 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
7168
7169         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7170         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7171         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7172         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7173         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7174         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7175
7176 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
7177
7178         * testsuite/gdb.python/py-pp-re-notag.c: New file.
7179         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7180         * testsuite/gdb.python/py-pp-re-notag.p: New file.
7181
7182 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
7183
7184         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7185
7186 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
7187
7188         * gdb.dwarf2/arr-stride.c: New file.
7189         * gdb.dwarf2/arr-stride.exp: New file.
7190
7191 2014-02-26  Pedro Alves  <palves@redhat.com>
7192
7193         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7194         that won't ever trigger.  Make sure that GDB reports the correct
7195         breakpoint that caused the stop.
7196
7197 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7198
7199         PR gdb/16626
7200         * gdb.base/auto-load-script: New file.
7201         * gdb.base/auto-load.c: New file.
7202         * gdb.base/auto-load.exp: New file.
7203
7204         PR gdb/16626
7205         * gdb.base/auto-load.exp: Fix out-of-srctree run.
7206
7207 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7208
7209         Fix dw2-icycle.exp -fsanitize=address GDB crash.
7210         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7211
7212 2014-02-24  Doug Evans  <dje@google.com>
7213
7214         * lib/gdb.exp (run_on_host): Log error output if program fails.
7215
7216 2014-02-21  Pedro Alves  <palves@redhat.com>
7217
7218         * gdb.threads/step-after-sr-lock.c: Rename to ...
7219         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7220         * gdb.threads/step-after-sr-lock.exp: Rename to ...
7221         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7222         ... this.
7223
7224 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7225
7226         PR tdep/16397
7227         * gdb.arch/amd64-stap-special-operands.exp: New file.
7228         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7229         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7230         * gdb.arch/amd64-stap-triplet.S: Likewise.
7231         * gdb.arch/amd64-stap-triplet.c: Likewise.
7232
7233 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7234
7235         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7236         in .section pseudo-op.
7237
7238 2014-02-20  lin zuojian  <manjian2006@gmail.com>
7239             Joel Brobecker  <brobecker@adacore.com>
7240             Doug Evans  <xdje42@gmail.com>
7241
7242         PR symtab/16581
7243         * gdb.dwarf2/dw2-icycle.S: New file.
7244         * gdb.dwarf2/dw2-icycle.c: New file.
7245         * gdb.dwarf2/dw2-icycle.exp: New file.
7246
7247 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
7248
7249         * gdb.python/py-value-cc.cc: Improve test case to enable testing
7250         operations on gdb.Value objects.
7251         * gdb.python/py-value-cc.exp: Add new test to test operations on
7252         gdb.Value objects.
7253
7254 2014-02-18  Doug Evans  <dje@google.com>
7255
7256         * Makefile.in (TESTS): New variable.
7257         (expanded_tests, expanded_tests_or_none): New variables
7258         (check-single): Pass $(expanded_tests_or_none) to runtest.
7259         (check-parallel): Only run tests in $(TESTS) if non-empty.
7260         (check/no-matching-tests-found): New rule.
7261         * README: Document TESTS makefile variable.
7262
7263 2014-02-18  Doug Evans  <dje@google.com>
7264
7265         * Makefile.in (check-parallel): rm -rf outputs temp.
7266
7267 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7268
7269         Fix "ERROR: no fileid for" in the testsuite.
7270         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7271
7272 2014-02-12  Doug Evans  <dje@google.com>
7273
7274         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7275         (MISCELLANEOUS): New variable.
7276         (clean): rm -rf $(MISCELLANEOUS).
7277         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7278         dwp live in the same directory as symlinks, with each symlink pointed
7279         to a differently named file in a different directory.
7280
7281 2014-02-11  Doug Evans  <dje@google.com>
7282
7283         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7284         of Tcl file commands.
7285
7286 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
7287
7288         * gdb.threads/step-after-sr-lock.exp: Avoid executing
7289         "kill -SIGUSR1 -1".
7290
7291 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
7292
7293         * gdb.ada/tick_length_array_enum_idx: New testcase.
7294
7295 2014-02-10  Doug Evans  <xdje42@gmail.com>
7296
7297         * configure.ac (AC_OUTPUT): Add gdb.guile.
7298         * configure: Regenerate.
7299         * lib/gdb-guile.exp: New file.
7300         * lib/gdb.exp (get_target_charset): New function.
7301         * gdb.base/help.exp: Update expected output from "apropos apropos".
7302         * gdb.guile/Makefile.in: New file.
7303         * gdb.guile/guile.exp: New file.
7304         * gdb.guile/scm-arch.c: New file.
7305         * gdb.guile/scm-arch.exp: New file.
7306         * gdb.guile/scm-block.c: New file.
7307         * gdb.guile/scm-block.exp: New file.
7308         * gdb.guile/scm-breakpoint.c: New file.
7309         * gdb.guile/scm-breakpoint.exp: New file.
7310         * gdb.guile/scm-disasm.c: New file.
7311         * gdb.guile/scm-disasm.exp: New file.
7312         * gdb.guile/scm-equal.c: New file.
7313         * gdb.guile/scm-equal.exp: New file.
7314         * gdb.guile/scm-error.exp: New file.
7315         * gdb.guile/scm-error.scm: New file.
7316         * gdb.guile/scm-frame-args.c: New file.
7317         * gdb.guile/scm-frame-args.exp: New file.
7318         * gdb.guile/scm-frame-args.scm: New file.
7319         * gdb.guile/scm-frame-inline.c: New file.
7320         * gdb.guile/scm-frame-inline.exp: New file.
7321         * gdb.guile/scm-frame.c: New file.
7322         * gdb.guile/scm-frame.exp: New file.
7323         * gdb.guile/scm-generics.exp: New file.
7324         * gdb.guile/scm-gsmob.exp: New file.
7325         * gdb.guile/scm-iterator.c: New file.
7326         * gdb.guile/scm-iterator.exp: New file.
7327         * gdb.guile/scm-math.c: New file.
7328         * gdb.guile/scm-math.exp: New file.
7329         * gdb.guile/scm-objfile-script-gdb.in: New file.
7330         * gdb.guile/scm-objfile-script.c: New file.
7331         * gdb.guile/scm-objfile-script.exp: New file.
7332         * gdb.guile/scm-objfile.c: New file.
7333         * gdb.guile/scm-objfile.exp: New file.
7334         * gdb.guile/scm-ports.exp: New file.
7335         * gdb.guile/scm-pretty-print.c: New file.
7336         * gdb.guile/scm-pretty-print.exp: New file.
7337         * gdb.guile/scm-pretty-print.scm: New file.
7338         * gdb.guile/scm-section-script.c: New file.
7339         * gdb.guile/scm-section-script.exp: New file.
7340         * gdb.guile/scm-section-script.scm: New file.
7341         * gdb.guile/scm-symbol.c: New file.
7342         * gdb.guile/scm-symbol.exp: New file.
7343         * gdb.guile/scm-symtab-2.c: New file.
7344         * gdb.guile/scm-symtab.c: New file.
7345         * gdb.guile/scm-symtab.exp: New file.
7346         * gdb.guile/scm-type.c: New file.
7347         * gdb.guile/scm-type.exp: New file.
7348         * gdb.guile/scm-value-cc.cc: New file.
7349         * gdb.guile/scm-value-cc.exp: New file.
7350         * gdb.guile/scm-value.c: New file.
7351         * gdb.guile/scm-value.exp: New file.
7352         * gdb.guile/source2.scm: New file.
7353         * gdb.guile/types-module.cc: New file.
7354         * gdb.guile/types-module.exp: New file.
7355
7356 2014-02-10  Yao Qi  <yao@codesourcery.com>
7357
7358         PR testsuite/16543
7359         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7360         * configure: Regenerated.
7361         * Makefile.in: New file.
7362
7363 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
7364
7365         * gdb.python/py-framefilter.exp: Fix typo.
7366
7367 2014-02-08  Yao Qi  <yao@codesourcery.com>
7368
7369         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7370         that no =breakpoint-modified is emitted when breakpoints are
7371         modified through MI commands.
7372
7373 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
7374             Pedro Alves  <palves@redhat.com>
7375
7376         * gdb.threads/step-after-sr-lock.c: New file.
7377         * gdb.threads/step-after-sr-lock.exp: New file.
7378
7379 2014-02-07  Pedro Alves  <palves@redhat.com>
7380
7381         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7382
7383 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7384
7385         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7386         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7387
7388 2014-02-06  Doug Evans  <xdje42@gmail.com>
7389
7390         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7391         output.
7392
7393         * gdb.gdb/python-interrupts.exp: New file.
7394
7395 2014-02-05  Yao Qi  <yao@codesourcery.com>
7396
7397         * gdb.trace/report.exp (use_collected_data): Test the output
7398         of "info threads" and "info inferiors".
7399
7400 2014-02-05  Yao Qi  <yao@codesourcery.com>
7401
7402         Revert this patch:
7403
7404         2013-05-24  Yao Qi  <yao@codesourcery.com>
7405
7406         * gdb.trace/tfile.exp: Test inferior and thread.
7407
7408 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
7409
7410         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7411         on a function.
7412         * gdb.base/step-bt.c: Call hello via function pointer to make
7413         sure its first instruction is executed on powerpc64le-linux.
7414
7415 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
7416
7417         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7418
7419 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
7420
7421         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
7422         of the test patterns for use on little-endian systems.
7423
7424 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
7425
7426         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7427         (decimal_vector): Fix for little-endian.
7428
7429 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
7430
7431         * gdb.arch/sparc-sysstep.exp: New file.
7432         * gdb.arch/sparc-sysstep.c: Likewise.
7433
7434         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7435
7436 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7437
7438         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7439
7440 2014-01-23  Tom Tromey  <tromey@redhat.com>
7441
7442         * gdb.ada/array_char_idx: New testcase.
7443
7444 2014-01-23  Tom Tromey  <tromey@redhat.com>
7445
7446         PR python/16487:
7447         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7448         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7449         classes.
7450
7451 2014-01-23  Tom Tromey  <tromey@redhat.com>
7452
7453         PR python/16491:
7454         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7455         string from an inferior frame.
7456         * gdb.python/py-framefilter-mi.exp: Update.
7457
7458 2014-01-22  Doug Evans  <dje@google.com>
7459
7460         * gdb.server/server-mon.exp: Add tests for "set debug-format".
7461
7462 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
7463
7464         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7465
7466 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
7467
7468         * gdb.trace/entry-values.exp: Remove excess space character from
7469         regex patterns.  Handle s390 call instruction.
7470
7471 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
7472
7473         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7474         define "*_start" label.  Make "name" static.
7475         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7476         ${name} by references to ${name}_start.
7477
7478 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
7479
7480         * gdb.base/info-macros.exp: Remove "debug" from the compile
7481         options.
7482
7483 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
7484
7485         * gdb.dlang/demangle.exp: New file.
7486
7487 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
7488
7489         * gdb.dlang/primitive-types.exp: New file.
7490
7491 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
7492
7493         * configure.ac: Create gdb.dlang/Makefile.
7494         * configure: Regenerate.
7495         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7496         * gdb.dlang/Makefile.in: New file.
7497         * lib/d-support.exp: New file.
7498         * lib/gdb.exp (skip_d_tests): New proc.
7499
7500 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7501
7502         * gdb.btrace/delta.exp: Check reverse stepi.
7503         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
7504         * gdb.btrace/finish.exp: New.
7505         * gdb.btrace/next.exp: New.
7506         * gdb.btrace/nexti.exp: New.
7507         * gdb.btrace/record_goto.c: Add comments.
7508         * gdb.btrace/step.exp: New.
7509         * gdb.btrace/stepi.exp: New.
7510         * gdb.btrace/multi-thread-step.c: New.
7511         * gdb.btrace/multi-thread-step.exp: New.
7512         * gdb.btrace/rn-dl-bind.c: New.
7513         * gdb.btrace/rn-dl-bind.exp: New.
7514         * gdb.btrace/data.c: New.
7515         * gdb.btrace/data.exp: New.
7516         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7517
7518 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7519
7520         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7521         * gdb.btrace/exception.exp: Update.
7522         * gdb.btrace/instruction_history.exp: Update.
7523         * gdb.btrace/record_goto.exp: Update.
7524         * gdb.btrace/tailcall.exp: Update.
7525         * gdb.btrace/unknown_functions.exp: Update.
7526         * gdb.btrace/delta.exp: New.
7527
7528 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7529
7530         * gdb.btrace/record_goto.exp: Add backtrace test.
7531         * gdb.btrace/tailcall.exp: Add backtrace test.
7532
7533 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7534
7535         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7536         * gdb.btrace/record_goto.c: New.
7537         * gdb.btrace/record_goto.exp: New.
7538         * gdb.btrace/x86-record_goto.S: New.
7539
7540 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7541
7542         * gdb.btrace/function_call_history.exp: Update tests.
7543         * gdb.btrace/instruction_history.exp: Update tests.
7544
7545 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7546
7547         * gdb.btrace/function_call_history.exp: Fix expected field
7548         order for "record function-call-history".
7549         Add new tests for "record function-call-history /c".
7550         * gdb.btrace/exception.cc: New.
7551         * gdb.btrace/exception.exp: New.
7552         * gdb.btrace/tailcall.exp: New.
7553         * gdb.btrace/x86-tailcall.S: New.
7554         * gdb.btrace/x86-tailcall.c: New.
7555         * gdb.btrace/unknown_functions.c: New.
7556         * gdb.btrace/unknown_functions.exp: New.
7557         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7558
7559 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7560
7561         * gdb.btrace/instruction_history.exp: Update.
7562         * gdb.btrace/function_call_history.exp: Update.
7563
7564 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7565
7566         * gdb.btrace/function_call_history.exp: Fix expected function
7567         trace.
7568         * gdb.btrace/instruction_history.exp: Initialize traced.
7569         Remove traced_functions.
7570
7571 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7572
7573         * gdb.btrace/function_call_history.exp: Update
7574         * gdb.btrace/instruction_history.exp: Update.
7575
7576 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
7577
7578         * gdb.btrace/enable.exp: Update expected text.
7579
7580 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
7581
7582         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7583         bytes.
7584
7585 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
7586
7587         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7588
7589 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
7590
7591         * lib/gdb.exp (supports_process_record): Return true for
7592         arm*-linux*.  (supports_reverse): Likewise.
7593
7594 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
7595
7596         PR python/15464
7597         PR python/16113
7598         * gdb.python/py-type.c: Enhance test case.
7599         * gdb.python/py-value-cc.cc: Likewise
7600         * gdb.python/py-type.exp: Add new tests.
7601         * gdb.python/py-value-cc.exp: Likewise
7602
7603 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7604             Pedro Alves <palves@redhat.com>
7605
7606         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7607         Make "name" extern.
7608         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7609         references to ${name}_start by references to ${name}.
7610
7611 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
7612
7613         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7614
7615 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
7616
7617         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7618
7619 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
7620             Pedro Alves  <palves@redhat.com>
7621
7622         * gdb.mi/mi-info-os.exp: Connect to the target with
7623         mi_gdb_target_load.
7624
7625 2014-01-08  Pedro Alves  <palves@redhat.com>
7626
7627         * gdb.threads/reconnect-signal.c: New file.
7628         * gdb.threads/reconnect-signal.exp: New file.
7629
7630 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7631
7632         * gdb.base/source-dir.exp: New file.
7633
7634 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7635
7636         * gdb.ada/mi_interface: New testcase.
7637
7638 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7639
7640         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7641         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7642         gdb.ada/pp-rec-component/pck.ads: New files.
7643
7644 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7645
7646         * gdb.python/py-pp-integral.c: New file.
7647         * gdb.python/py-pp-integral.py: New file.
7648         * gdb.python/py-pp-integral.exp: New file.
7649
7650 For older changes see ChangeLog-1993-2013.
7651 \f
7652 ;; Local Variables:
7653 ;; mode: change-log
7654 ;; left-margin: 8
7655 ;; fill-column: 74
7656 ;; version-control: never
7657 ;; End:
7658
7659     Copyright 2014-2016 Free Software Foundation, Inc.
7660   Copying and distribution of this file, with or without modification,
7661   are permitted provided the copyright notice and this notice are preserved.