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