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