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