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