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