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