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