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