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