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