c389d7ddc09082a9a1a7f6d0b7ddba04c97db827
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2014-12-05  Yao Qi  <yao@codesourcery.com>
2
3         * gdb.guile/scm-error.exp: Remove the third argument to
4         gdb_remote_download.
5         * gdb.guile/scm-frame-args.exp: Likewise.
6         * gdb.guile/scm-section-script.exp: Likewise.
7
8 2014-12-05  Yao Qi  <yao@codesourcery.com>
9
10         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11
12 2014-12-04  Doug Evans  <dje@google.com>
13
14         * gdb.python/py-objfile.exp: Add tests for
15         objfile.add_separate_debug_file.
16
17 2014-12-04  Doug Evans  <dje@google.com>
18
19         * lib/gdb.exp (get_build_id): New function.
20         (build_id_debug_filename_get): Rewrite to use it.
21         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
22
23 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
24
25         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
26         `method(long)', not just 0x0.
27         * gdb.cp/nsalias.exp: Align code labels to 4.
28         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
29         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
30         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
31         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
32         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
33         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
34
35 2014-12-02  Doug Evans  <dje@google.com>
36
37         PR symtab/17602
38         * gdb.cp/anon-ns.cc: Move guts of this file to ...
39         * gdb.cp/anon-ns-2.cc: ... here.  New file.
40         * gdb.cp/anon-ns.exp: Update.
41
42 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
43
44         * gdb.python/py-events.py (inferior_call_handler): New.
45         (register_changed_handler, memory_changed_handler): New.
46         (test_events.invoke): Register new handlers.
47         * gdb.python/py-events.exp: Add tests for inferior call,
48         memory_changed and register_changed events.
49
50 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51
52         * gdb.base/execl-update-breakpoints.exp: Specify the link address
53         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
54         if the linker doesn't understand this.
55
56 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
57
58         * gdb.python/python.exp: Change expected reply to help().
59
60 2014-12-01  Yao Qi  <yao@codesourcery.com>
61
62         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
63         AC_CONFIG_SUBDIRS(gdb.gdbtk).
64         * configure: Re-generated.
65
66 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
67
68         * gdb.cp/chained-calls.cc: New file.
69         * gdb.cp/chained-calls.exp: New file.
70         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
71
72 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
73
74         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
75         * gdb.dwarf2/symtab-producer.exp: Same.
76         * gdb.gdb/python-interrupts.exp: Same.
77         * gdb.gdb/python-selftest.exp: Same.
78         * gdb.python/py-linetable.exp: Same.
79         * gdb.python/py-type.exp: Same.
80         * gdb.python/py-value-cc.exp: Same.
81         * gdb.python/py-value.exp: Same.
82
83 2014-11-28  Yao Qi  <yao@codesourcery.com>
84
85         * gdb.base/break-probes.exp: Match library name prefixed with
86         sysroot.
87
88 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
89
90         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
91         test expected output.  Add parentheses for the call to print.
92         Remove L suffix from integers.
93
94 2014-11-26  Doug Evans  <dje@google.com>
95
96         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
97
98 2014-11-22  Yao Qi  <yao@codesourcery.com>
99
100         * gdb.trace/entry-values.c: Remove asms.
101         (foo): Add foo_label.
102         (bar): Add bar_label.
103         * gdb.trace/entry-values.exp: Remove code computing  foo's
104         length and bar's length.
105         (Dwarf::assemble): Invoke function_range for bar and use
106         MACRO_AT_func for foo.
107
108 2014-11-22  Yao Qi  <yao@codesourcery.com>
109
110         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
111         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
112         Use .Lgcc43_procstart instead of gcc43.
113
114 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
115
116         * gdb.ada/n_arr_bound: New testcase.
117
118 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
119
120         PR breakpoints/10737
121         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
122         test_catch_syscall_multi_arch.
123         (test_catch_syscall_multi_arch): New function.
124
125 2014-11-20  Doug Evans  <xdje42@gmail.com>
126
127         * gdb.base/maint.exp: Update expected output.
128
129 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
130
131         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
132         4-byte instruction on S390.
133
134 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
135
136         * gdb.ada/arr_arr: New testcase.
137
138 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
139
140         * gdb.ada/pkd_arr_elem: New Testcase.
141
142 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
143
144         * gdb.reverse/break-precsave: Expect completion message for
145         core file reads.
146         * gdb.reverse/consecutive-precsave.exp: Likewise.
147         * gdb.reverse/finish-precsave.exp: Likewise.
148         * gdb.reverse/i386-precsave.exp: Likewise.
149         * gdb.reverse/machinestate-precsave.exp: Likewise.
150         * gdb.reverse/sigall-precsave.exp: Likewise.
151         * gdb.reverse/solib-precsave.exp: Likewise.
152         * gdb.reverse/step-precsave.exp: Likewise.
153         * gdb.reverse/until-precsave.exp: Likewise.
154         * gdb.reverse/watch-precsave.exp: Likewise.
155
156 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
157
158         * gdb.base/bp-permanent.c: Include unistd.h.
159         * gdb.python/py-framefilter-mi.c (main): Add return type.
160         * gdb.python/py-framefilter.c (main): Likewise.
161         * gdb.trace/actions-changed.c (main): Likewise.
162
163 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
164
165         * gdb.mi/until.c: Add eye-catchers.
166         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
167         line numbers.
168
169 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
170
171         * gdb.base/condbreak.exp: Drop references to removed non-prototype
172         function header variants in break1.c.
173         * gdb.base/ena-dis-br.exp: Likewise.
174         * gdb.base/hbreak2.exp: Likewise.
175         * gdb.reverse/until-precsave.exp: Drop references to removed
176         non-prototype function header variants in ur1.c.
177         * gdb.reverse/until-reverse.exp: Likewise.
178
179 2014-11-17  Petr Machata  <pmachata@redhat.com>
180
181         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
182         ${_cu_offset_size} bytes abbrev offset.
183
184 2014-11-15  Doug Evans  <xdje42@gmail.com>
185
186         PR symtab/17559
187         * gdb.base/line-symtabs.exp: New file.
188         * gdb.base/line-symtabs.c: New file.
189         * gdb.base/line-symtabs.h: New file.
190
191 2014-11-14  Yao Qi  <yao@codesourcery.com>
192
193         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
194         (func): Add label func_label.
195         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
196         Replace low_pc and high_pc with MACRO_AT_range.
197         Replace name, low_pc and high_pc with MACRO_AT_func.
198
199 2014-11-14  Yao Qi  <yao@codesourcery.com>
200
201         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
202         Replace name, low_pc and high_pc with MACRO_AT_func.
203
204 2014-11-14  Yao Qi  <yao@codesourcery.com>
205
206         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
207         produce debug information.
208         * gdb.dwarf2/implptr-optimized-out.S: Removed.
209
210 2014-11-14  Yao Qi  <yao@codesourcery.com>
211
212         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
213         object and get function length.
214         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
215         with MACRO_AT_func.
216         (top-level): Replace gdb_compile and clean_restart with
217         prepare_for_testing.
218         * gdb.dwarf2/main.c (main): Add label main_label.
219
220 2014-11-14  Yao Qi  <yao@codesourcery.com>
221
222         * lib/dwarf.exp (function_range): New procedure.
223         (Dwarf::_handle_macro_at_func): New procedure.
224         (Dwarf::_handle_macro_at_range): New procedure.
225         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
226
227 2014-11-14  Yao Qi  <yao@codesourcery.com>
228
229         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
230         (_handle_attribute): New procedure.
231
232 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
233
234         * gdb.ada/cond_lang/foo.c (callme): Add return type.
235         * gdb.base/call-sc.c (zed): Likewise.
236         * gdb.base/checkpoint.c (main): Likewise.
237         * gdb.base/dump.c (main): Likewise.
238         * gdb.base/gcore.c (main): Likewise.
239         * gdb.base/huge.c (main): Likewise.
240         * gdb.base/multi-forks.c (main): Likewise.
241         * gdb.base/pr10179-a.c (main): Likewise.
242         * gdb.base/savedregs.c (main): Likewise.
243         * gdb.base/sigaltstack.c (main): Likewise.
244         * gdb.base/siginfo.c (main): Likewise.
245         * gdb.base/structs.c (zed): Likewise.
246         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
247         * gdb.mi/mi-syn-frame.c (main): Likewise.
248         * gdb.mi/until.c (foo, main): Likewise.
249         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
250         * gdb.base/solib-weak.c (foo): Declare.
251         * gdb.base/attach-twice.c: Include stdio.h.
252         * gdb.base/weaklib1.c: Likewise.
253         * gdb.base/weaklib2.c: Likewise.
254         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
255         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
256         unistd.h.
257         * gdb.base/attach-pie-misread.c: Include stdlib.h.
258         * gdb.mi/mi-exit-code.c: Likewise.
259         * gdb.base/break-interp-lib.c: Include string.h.
260         * gdb.base/coremaker.c: Likewise.
261         * gdb.base/testenv.c: Likewise.
262         * gdb.python/py-finish-breakpoint.c: Likewise.
263         * gdb.base/inferior-died.c: Include sys/wait.h.
264         * gdb.base/fileio.c: Include time.h.
265         * gdb.base/async-shell.c: Include unistd.h.
266         * gdb.base/dprintf-non-stop.c: Likewise.
267         * gdb.base/info-os.c: Likewise.
268         * gdb.mi/mi-console.c: Likewise.
269         * gdb.mi/watch-nonstop.c: Likewise.
270         * gdb.python/py-events.c: Likewise.
271         * gdb.base/async.c (baz): Move up before its invocation.
272         * gdb.base/code_elim2.c (my_global_func): Likewise.
273         * gdb.base/skip-solib-lib.c (multiply): Likewise.
274         * gdb.base/advance.c (func2): Likewise.
275
276 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
277
278         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
279         variant.
280         * gdb.base/annota3.c: Likewise.
281         * gdb.base/async.c: Likewise.
282         * gdb.base/average.c: Likewise.
283         * gdb.base/call-ar-st.c: Likewise.
284         * gdb.base/call-rt-st.c: Likewise.
285         * gdb.base/call-sc.c: Likewise.
286         * gdb.base/call-strs.c: Likewise.
287         * gdb.base/ending-run.c: Likewise.
288         * gdb.base/execd-prog.c: Likewise.
289         * gdb.base/exprs.c: Likewise.
290         * gdb.base/foll-exec.c: Likewise.
291         * gdb.base/foll-fork.c: Likewise.
292         * gdb.base/foll-vfork.c: Likewise.
293         * gdb.base/funcargs.c: Likewise.
294         * gdb.base/gcore.c: Likewise.
295         * gdb.base/jump.c: Likewise.
296         * gdb.base/langs0.c: Likewise.
297         * gdb.base/langs1.c: Likewise.
298         * gdb.base/langs2.c: Likewise.
299         * gdb.base/mips_pro.c: Likewise.
300         * gdb.base/nodebug.c: Likewise.
301         * gdb.base/opaque0.c: Likewise.
302         * gdb.base/opaque1.c: Likewise.
303         * gdb.base/recurse.c: Likewise.
304         * gdb.base/run.c: Likewise.
305         * gdb.base/scope0.c: Likewise.
306         * gdb.base/scope1.c: Likewise.
307         * gdb.base/setshow.c: Likewise.
308         * gdb.base/setvar.c: Likewise.
309         * gdb.base/shmain.c: Likewise.
310         * gdb.base/shr1.c: Likewise.
311         * gdb.base/shr2.c: Likewise.
312         * gdb.base/sigall.c: Likewise.
313         * gdb.base/signals.c: Likewise.
314         * gdb.base/so-indr-cl.c: Likewise.
315         * gdb.base/solib2.c: Likewise.
316         * gdb.base/structs.c: Likewise.
317         * gdb.base/sum.c: Likewise.
318         * gdb.base/vforked-prog.c: Likewise.
319         * gdb.base/watchpoint.c: Likewise.
320         * gdb.reverse/shr2.c: Likewise.
321         * gdb.reverse/until-reverse.c: Likewise.
322         * gdb.reverse/ur1.c: Likewise.
323         * gdb.reverse/watch-reverse.c: Likewise.
324
325 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
326
327         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
328         variant.
329         * gdb.base/sepdebug.exp: Drop references to removed code.
330
331 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
332
333         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
334         variant.  Preserve original line numbering.
335         * gdb.base/list1.c: Likewise.
336
337 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
338
339         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
340         variant.
341         * gdb.base/break1.c: Likewise.
342         * gdb.base/break.exp: Drop references to removed code.
343
344 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
345
346         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
347         variant.
348
349 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
350
351         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
352
353 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
354
355         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
356         logic into perform_all_tests() and invoke it with and without
357         function header prototypes.
358         (do_function_calls): Remove conditional XFAIL for PR 5318.
359         (rerun_and_prepare): Remove duplicate code.
360         (perform_all_tests): New.  Main logic moved here.
361
362 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
363
364         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
365         code guarded by #ifdef NO_PROTOTYPES.
366         (t_double_many_args): Likewise.
367         (DEF_FUNC_MANY_ARGS_1): Likewise.
368         (DEF_FUNC_VALUES_1): Likewise.
369         (t_structs_ldc): Renamed from t_structs_fc in conditional code
370         guarded by #ifdef PROTOTYPES.
371
372 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
373
374         * gdb.mi/mi-console.c: Add eye-catcher.
375         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
376         instead of literal line number.
377
378 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
379
380         * gdb.base/shr2.c: Add eye-catcher.
381         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
382         line number.
383
384 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
385
386         * gdb.base/jump.c: Add eye-catchers.
387         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
388         numbers.
389
390 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
391
392         * gdb.base/execd-prog.c: Add eye-catchers.
393         * gdb.base/foll-exec.c: Likewise.
394         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
395         line numbers.
396
397 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
398
399         * gdb.base/ending-run.c: Add eye-catchers.
400         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
401         literal line numbers.
402
403 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
404
405         * gdb.base/call-rt-st.c: Add eye-catchers.
406         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
407         literal line numbers.
408
409 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
410
411         * gdb.base/call-ar-st.c: Add eye-catchers.
412         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
413         literal line numbers.
414
415 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
416
417         * gdb.base/average.c: Add eye-catchers.
418         * gdb.base/sum.c: Likewise.
419         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
420         regexps dynamically.
421
422 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
423
424         * gdb.base/solib1.c: Add eye-catchers.
425         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
426         literal line numbers.
427
428 2014-11-12  Pedro Alves  <palves@redhat.com>
429
430         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
431         leader has exited.
432
433 2014-11-12  Pedro Alves  <palves@redhat.com>
434
435         * gdb.arch/i386-bp_permanent.c: New file.
436         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
437         (srcfile): Set to i386-bp_permanent.c.
438         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
439         that stepi does not execute the 'leave' instruction, instead of
440         testing it does execute.
441         * gdb.base/bp-permanent.c: New file.
442         * gdb.base/bp-permanent.exp: New file.
443
444 2014-11-10  Doug Evans  <xdje42@gmail.com>
445
446         PR symtab/17564
447         * gdb.base/symtab-search-order.exp: New file.
448         * gdb.base/symtab-search-order.c: New file.
449         * gdb.base/symtab-search-order-1.c: New file.
450         * gdb.base/symtab-search-order-shlib-1.c: New file.
451
452 2014-11-07  Pedro Alves  <palves@redhat.com>
453
454         PR gdb/17511
455         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
456         i?86-*-linux*.
457
458 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
459
460         PR c++/17494
461         * gdb.cp/pr17494.cc: New file.
462         * gdb.cp/pr17494.exp: New file.
463
464 2014-11-02  Yao Qi  <yao@codesourcery.com>
465
466         * gdb.python/python.exp: Get working directory and match the
467         output of "set extended-prompt \\w " with it.
468
469 2014-10-30  Doug Evans  <dje@google.com>
470
471         * gdb.python/py-objfile.exp: Add tests for setting random attributes
472         in objfiles.
473         * gdb.python/py-progspace.exp: Add tests for setting random attributes
474         in progspaces.
475
476 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
477
478         * gdb.base/fullpath-expand.exp: Skip for a remote host.
479         * gdb.base/realname-expand.exp: Likewise.
480         * gdb.linespec/macro-relative.exp: Likewise.
481
482 2014-10-29  Pedro Alves  <palves@redhat.com>
483
484         PR gdb/17408
485         * gdb.threads/schedlock.c (some_function): New function.
486         (call_function): New global.
487         (MAYBE_CALL_SOME_FUNCTION): New macro.
488         (thread_function): Call it.
489         * gdb.threads/schedlock.exp (get_args): Add description parameter,
490         and use it instead of a global counter.  Adjust all callers.
491         (get_current_thread): Use "find current thread" for test message
492         here rather than having all callers pass down the same string.
493         (goto_loop): New procedure, factored out from ...
494         (my_continue): ... this.
495         (step_ten_loops): Change parameter from test message to command to
496         use.  Adjust.
497         (list_count): Delete global.
498         (check_result): New procedure, factored out from duplicate top
499         level code.
500         (continue tests): Wrap in with_test_prefix.
501         (test_step): New procedure, factored out from duplicate top level
502         code.
503         (top level): Test "step" in combination with all scheduler-locking
504         modes.  Test "next" in combination with all scheduler-locking
505         modes, and in combination with stepping over a function call or
506         not.
507         * gdb.threads/next-bp-other-thread.c: New file.
508         * gdb.threads/next-bp-other-thread.exp: New file.
509
510 2014-10-29  Pedro Alves  <palves@redhat.com>
511
512         PR python/17372
513         * gdb.python/python.exp: Test a multi-line command that spawns
514         interactive Python.
515         * gdb.base/multi-line-starts-subshell.exp: New file.
516
517 2014-10-29  Yao Qi  <yao@codesourcery.com>
518
519         * gdb.base/fileio.exp: Make directories on host.
520
521 2014-10-29  Yao Qi  <yao@codesourcery.com>
522
523         * gdb.base/fileio.c (test_write): Close the file.
524
525 2014-10-28  Pedro Alves  <palves@redhat.com>
526
527         PR gdb/12623
528         * gdb.base/sigstep.c (no_handler): New global.
529         (main): If 'no_handler is true, set the signal handlers to
530         SIG_IGN.
531         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
532         with_sw_watch and no_handler parameters.  Handle them.
533         (top level) <stepping over handler when stopped at a breakpoint
534         test>: Add a test axis for testing with a software watchpoint, and
535         another for testing with the signal handler set to SIG_IGN.
536         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
537         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
538
539 2014-10-28  Pedro Alves  <palves@redhat.com>
540
541         PR gdb/17511
542         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
543         * gdb.base/sigstep.exp (other_handler_location): New global.
544         (advance): Support stepping into the signal handler, and running
545         commands while in the handler.
546         (in_handler_map): New global.
547         (top level): In the advance test, add combinations for getting
548         into the handler with stepping commands, and for running commands
549         in the handler.  Add comment descripting the advancei tests.
550
551 2014-10-28  Pedro Alves  <palves@redhat.com>
552
553         * gdb.base/sigstep.exp: Use build_executable instead of
554         prepare_for_testing.
555         (top level): Move code that starts GDB, runs to main and creates a
556         display to ...
557         (restart): ... this new procedure.
558         (top level): Move backtrace from signal handler test to ...
559         (validate_backtrace): ... this new procedure.
560         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
561         with_test_prefix.  Always restart GDB.
562         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
563         with_test_prefix.  Always restart GDB.  No need to delete
564         breakpoints after the test.
565         (test_skip_handler): Remove prefix parameter.
566         (skip_over_handler, breakpoint_to_handler)
567         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
568         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
569         restart GDB.  No need to delete breakpoints after the test.
570         (top level): Use foreach to call the test procedures with
571         different commands.
572
573 2014-10-28  Pedro Alves  <palves@redhat.com>
574
575         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
576         instead of GNATS numbers.
577         * gdb.base/sigbpt.exp: Likewise.
578         * gdb.base/siginfo.exp: Likewise.
579         * gdb.base/sigstep.exp: Likewise.
580
581 2014-10-27  Pedro Alves  <palves@redhat.com>
582
583         * gdb.base/sigstep.c (dummy): New global.
584         (main): Issue a couple writes to the new global.
585         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
586         procedures.
587         (skip_over_handler): Use test_skip_handler.
588         (top level): Call skip_over_handler for stepi and nexti too.
589         (breakpoint_over_handler): Use test_skip_handler.
590         (top level): Call breakpoint_over_handler for stepi and nexti too.
591
592 2014-10-27  Yao Qi  <yao@codesourcery.com>
593
594         * gdb.trace/tfile.c (adjust_function_address)
595         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
596         function descriptor.
597
598 2014-10-24  Don Breazeal  <donb@codesourcery.com>
599
600         * gdb.base/foll-fork.exp (test_follow_fork,
601         catch_fork_child_follow): Check for updated fork messages emitted
602         from infrun.c.
603         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
604         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
605         vfork_and_exec_child_follow_through_step): Check for updated vfork
606         messages emitted from infrun.c.
607
608 2014-10-24  Pedro Alves  <palves@redhat.com>
609
610         * gdb.base/corefile.exp: Remove references to ultrix.
611         * gdb.base/interrupt.exp: Likewise.
612         * gdb.base/whatis.exp: Likewise.
613         * gdb.gdb/selftest.exp: Likewise.
614         * gdb.threads/manythreads.exp: Likewise.
615         * gdb.threads/print-threads.exp: Likewise.
616         * gdb.threads/pthreads.exp:: Likewise.
617         * gdb.threads/schedlock.exp: Likewise.
618
619 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
620
621         * gdb.cp/non-trivial-retval.cc: Add a test case.
622         * gdb.cp/non-trivial-retval.exp: Add a test.
623
624 2014-10-20  Yao Qi  <yao@codesourcery.com>
625
626         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
627         * gdb.python/py-objfile-script-gdb.py: New file.
628         * gdb.python/py-objfile-script.exp: Update reference to
629         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
630         of remote_download.  Remove the dest file.
631
632 2014-10-20  Yao Qi  <yao@codesourcery.com>
633
634         * gdb.base/checkpoint.exp: Don't remove file copied on host.
635         * gdb.base/step-line.exp: Likewise.
636         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
637         * gdb.dwarf2/dw2-basic.exp: Likewise.
638         * gdb.dwarf2/dw2-compressed.exp: Likewise.
639         * gdb.dwarf2/dw2-filename.exp: Likewise.
640         * gdb.dwarf2/dw2-intercu.exp: Likewise.
641         * gdb.dwarf2/dw2-intermix.exp: Likewise.
642         * gdb.dwarf2/dw2-producer.exp: Likewise.
643         * gdb.dwarf2/mac-fileno.exp: Likewise.
644         * gdb.python/py-frame-args.exp: Likewise.
645         * gdb.python/py-framefilter.exp: Likewise.
646         * gdb.python/py-mi.exp: Likewise.
647         * gdb.python/py-objfile-script.exp: Likewise
648         * gdb.python/py-pp-integral.exp: Likewise.
649         * gdb.python/py-pp-re-notag.exp: Likewise.
650         * gdb.python/py-prettyprint.exp: Likewise.
651         * gdb.python/py-section-script.exp: Likewise.
652         * gdb.python/py-typeprint.exp: Likewise.
653         * gdb.python/py-xmethods.exp: Likewise.
654         * gdb.stabs/weird.exp: Likewise.
655         * gdb.xml/tdesc-regs.exp: Likewise.
656
657 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
658
659         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
660         (out_cu): Use addr_len for the size of addresses.
661         (out_line): Likewise.  Size DW_LNE_set_address instruction
662         according to addr_len.
663         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
664         (FUNC): Add START_INSNS to definition.
665
666 2014-10-18  Yao Qi  <yao@codesourcery.com>
667
668         * gdb.base/argv0-symlink.exp: Check argv[0] value if
669         gdb_has_argv0 return true.
670         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
671         check [target_info exists noargs], check [gdb_has_argv0]
672         instead.
673         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
674         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
675         procedures.
676
677 2014-10-17  Doug Evans  <dje@google.com>
678
679         * gdb.python/py-events.exp: Update expected output for clear_objfiles
680         event.
681         * gdb.python/py-events.py: Add clear_objfiles event.
682
683 2014-10-17  Doug Evans  <dje@google.com>
684
685         * gdb.python/py-objfile.exp: Test progspace attribute.
686
687 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
688
689         * gdb.guile/scm-breakpoint.exp: Do not assume any
690         directory separators when matching source file paths.
691         * gdb.python/py-breakpoint.exp: Likewise.
692         * gdb.reverse/break-precsave.exp: Likewise.
693         * gdb.reverse/break-reverse.exp: Likewise.
694         * gdb.reverse/consecutive-precsave.exp: Likewise.
695         * gdb.reverse/finish-precsave.exp: Likewise.
696         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
697         * gdb.reverse/finish-reverse.exp: Likewise.
698         * gdb.reverse/i386-precsave.exp: Likewise.
699         * gdb.reverse/i387-env-reverse.exp: Likewise.
700         * gdb.reverse/i387-stack-reverse.exp: Likewise.
701         * gdb.reverse/machinestate-precsave.exp: Likewise.
702         * gdb.reverse/machinestate.exp: Likewise.
703         * gdb.reverse/sigall-precsave.exp: Likewise.
704         * gdb.reverse/solib-precsave.exp: Likewise.
705         * gdb.reverse/step-precsave.exp: Likewise.
706         * gdb.reverse/until-precsave.exp: Likewise.
707         * gdb.reverse/watch-precsave.exp: Likewise.
708         * gdb.reverse/watch-reverse.exp: Likewise.
709
710 2014-10-17  Yao Qi  <yao@codesourcery.com>
711
712         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
713         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
714
715 2014-10-17  Pedro Alves  <palves@redhat.com>
716
717         PR gdb/17471
718         * gdb.base/bg-execution-repeat.c: New file.
719         * gdb.base/bg-execution-repeat.exp: New file.
720
721 2014-10-17  Pedro Alves  <palves@redhat.com>
722
723         PR gdb/17300
724         * gdb.base/continue-all-already-running.c: New file.
725         * gdb.base/continue-all-already-running.exp: New file.
726
727 2014-10-17  Pedro Alves  <palves@redhat.com>
728
729         PR gdb/17472
730         * gdb.base/annota-input-while-running.c: New file.
731         * gdb.base/annota-input-while-running.exp: New file.
732
733 2014-10-17  Pedro Alves  <palves@redhat.com>
734
735         * gdb.base/callfuncs.exp: emove references to osf.
736         * gdb.base/sigall.exp: Likewise.
737         * gdb.gdb/selftest.exp: Likewise.
738         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
739         * gdb.mi/non-stop.c: Likewise.
740         * gdb.mi/pthreads.c: Likewise.
741         * gdb.reverse/sigall-precsave.exp: Likewise.
742         * gdb.reverse/sigall-reverse.exp: Likewise.
743         * gdb.threads/pthreads.c: Likewise.
744         * gdb.threads/pthreads.exp: Likewise.
745
746 2014-10-17  Yao Qi  <yao@codesourcery.com>
747
748         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
749         check 'target_info exists noargs'.
750         (test_command_prompt_position): Likewise.
751         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
752         Remove "set args".
753         (progvar_simple_while_test): Likewise.
754         (progvar_complex_if_while_test): Likewise.
755         (if_while_breakpoint_command_test): Likewise.
756         (infrun_breakpoint_command_test): Likewise.
757         (breakpoint_command_test): Likewise.
758         (watchpoint_command_test): Likewise.
759         (bp_deleted_in_command_test): Likewise.
760         (temporary_breakpoint_commands): Likewise.
761
762 2014-10-16  Yao Qi  <yao@codesourcery.com>
763
764         * gdb.base/remotetimeout.exp: Remove noargs checking.
765
766 2014-10-15  Pedro Alves  <palves@redhat.com>
767
768         PR breakpoints/9649
769         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
770         * gdb.base/breakpoint-in-ro-region.exp
771         (probe_target_hardware_step): New procedure.
772         (top level): Probe hardware stepping and hardware breakpoint
773         support.  Test stepping through a read-only region, with both
774         "breakpoint auto-hw" on and off and both "always-inserted" on and
775         off.
776
777 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
778
779         * gdb.dlang/demangle.exp: Update for demangling changes.
780
781 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
782
783         * gdb.cp/non-trivial-retval.cc: Add new test cases.
784         * gdb.cp/non-trivial-retval.exp: Add new tests.
785
786 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
787
788         PR c++/13403
789         PR c++/15154
790         * gdb.cp/non-trivial-retval.cc: New file.
791         * gdb.cp/non-trivial-retval.exp: New file.
792
793 2014-10-15  Yao Qi  <yao@codesourcery.com>
794
795         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
796         remote host.
797
798 2014-10-15  Yao Qi  <yao@codesourcery.com>
799
800         * gdb.python/py-symbol.exp: Match file base name if host is
801         remote, otherwise match file name with dir name.
802         * gdb.python/py-symtab.exp: Likewise.
803         * gdb.python/python.exp: Likewise.
804
805 2014-10-15  Yao Qi  <yao@codesourcery.com>
806
807         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
808         pattern.
809         * gdb.python/py-symtab.exp: Likewise.
810         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
811         locationn.
812
813 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
814
815         * gdb.ada/addr_arith: New testcase.
816
817 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
818
819         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
820         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
821         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
822         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
823
824 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
825
826         * gdb.arch/stap-eval-lang-ada.S: Likewise.
827         * gdb.arch/stap-eval-lang-ada.c: Likewise.
828         * gdb.arch/stap-eval-lang-ada.exp: New file.
829
830 2014-10-14  Yao Qi  <yao@codesourcery.com>
831
832         * gdb.mi/mi-var-child.c (nothing1): New function.
833         (nothing2): New function.
834         (do_children_tests): Set function pointers by nothing1 and
835         nothing2.
836         * gdb.mi/mi-var-child.exp: Step over new added statements.
837         Update test to match the new output.
838         * gdb.mi/var-cmd.c (nothing1): New function.
839         (nothing2): New function.
840         (do_children_tests): Set function pointers by  nothing1 and
841         nothing2.
842         * gdb.mi/mi-var-display.exp: Update test to match output.
843         Step to the line specified by $line_dct_nothing.
844         Increase the number of lines to step.
845
846 2014-10-14  Yao Qi  <yao@codesourcery.com>
847
848         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
849         tests.
850         * gdb.mi/mi2-var-child.exp: Likewise.
851
852 2014-10-13  Doug Evans  <dje@google.com>
853
854         * gdb.python/py-objfile.exp: Change name of file name test.
855
856 2014-10-13  Doug Evans  <dje@google.com>
857
858         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
859         from the start of the CU.
860
861 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
862             Yao Qi  <yao@codesourcery.com>
863
864         Fix "save breakpoints" for "catch" command.
865         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
866         Remove -nonewline.  Match also the added "main" line.
867
868 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
869
870         Fix "save breakpoints" for "disable $bpnum" command.
871         * gdb.base/save-bp.c (main): Add label.
872         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
873
874 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
875
876         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
877
878 2014-10-11  Yao Qi  <yao@codesourcery.com>
879
880         * gdb.server/server-kill.exp: Execute command
881         "set remote trace-status-packet on" before "tstatus".
882
883 2014-10-11  Yao Qi  <yao@codesourcery.com>
884
885         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
886         (main): Call getppid.
887         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
888         and continue to it.  Read variable "server_pid".
889
890 2014-10-11  Yao Qi  <yao@codesourcery.com>
891
892         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
893
894 2014-10-11  Yao Qi  <yao@codesourcery.com>
895
896         * gdb.threads/thread-find.exp: Don't execute command
897         "info threads".
898         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
899         * gdb.threads/linux-dp.exp: Don't check the condition
900         $threads_created equals to zero.
901
902 2014-10-10  Pedro Alves  <palves@redhat.com>
903
904         * gdb.base/bigcore.exp: Remove references to IRIX.
905         * gdb.base/funcargs.exp: Likewise.
906         * gdb.base/interrupt.exp: Likewise.
907         * gdb.base/mips_pro.exp: Likewise.
908         * gdb.base/nodebug.exp: Likewise.
909         * gdb.base/setvar.exp: Likewise.
910         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
911
912 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
913             Pedro Alves  <palves@redhat.com>
914
915         PR symtab/14466
916         * gdb.base/vdso-warning.c: New file.
917         * gdb.base/vdso-warning.exp: New file.
918
919 2014-10-02  Doug Evans  <dje@google.com>
920
921         * gdb.base/structs.c (main): Don't run forever.
922
923 2014-10-02  Pedro Alves  <palves@redhat.com>
924
925         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
926         (top level) <stop threads 1, stop threads 2>: Use it.
927
928 2014-10-02  Pedro Alves  <palves@redhat.com>
929
930         * gdb.threads/break-while-running.exp (test): Add new
931         'update_thread_list' argument.  Skip "info threads" if false.
932         (top level): Add new 'update_thread_list' axis.
933
934 2014-10-02  Pedro Alves  <palves@redhat.com>
935
936         PR breakpoints/17431
937         * gdb.base/execl-update-breakpoints.c: New file.
938         * gdb.base/execl-update-breakpoints.exp: New file.
939
940 2014-10-01  Pedro Alves  <palves@redhat.com>
941
942         * gdb.base/breakpoint-in-ro-region.c: New file.
943         * gdb.base/breakpoint-in-ro-region.exp: New file.
944
945 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
946
947         * gdb.mi/mi-exit-code.exp: New file.
948         * gdb.mi/mi-exit-code.c: New file.
949
950 2014-09-30  Yao Qi  <yao@codesourcery.com>
951
952         * lib/prelink-support.exp (build_executable_own_libs): Error if
953         the target isn't native.
954
955 2014-09-30  Yao Qi  <yao@codesourcery.com>
956
957         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
958         false.
959
960 2014-09-22  Pedro Alves  <palves@redhat.com>
961
962         * gdb.threads/break-while-running.exp: New file.
963         * gdb.threads/break-while-running.c: New file.
964
965 2014-09-19  Yao Qi  <yao@codesourcery.com>
966
967         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
968         Invoke test.  Restart GDB with --readnow and invoke test again.
969
970 2014-09-19  Yao Qi  <yao@codesourcery.com>
971
972         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
973         proc set_breakpoint_on_gcd_function.  Invoke
974         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
975         invoke set_breakpoint_on_gcd_function again.
976
977 2014-09-18  Doug Evans  <dje@google.com>
978
979         * gdb.dwarf2/symtab-producer.exp: New file.
980
981 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
982
983         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
984         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
985         * gdb.base/global-var-nested-by-dso.c: Likewise.
986         * gdb.base/global-var-nested-by-dso.exp: Likewise.
987
988 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
989             Pedro Alves  <palves@redhat.com>
990
991         * gdb.base/watch-bitfields.exp: Pass string other than test file
992         name to prepare_for_testing.
993         (watch): New procedure.
994         (expect_watchpoint): Use with_test_prefix.
995         (top level): Factor out tests to ...
996         (test_watch_location, test_regular_watch): ... these new
997         procedures, and use with_test_prefix and gdb_continue_to_end.
998
999 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
1000
1001         PR breakpoints/12526
1002         * gdb.base/watch-bitfields.exp: New file.
1003         * gdb.base/watch-bitfields.c: New file.
1004
1005 2014-09-16  Pedro Alves  <palves@redhat.com>
1006
1007         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1008         software and hardware addresses, not software address against
1009         itself.
1010
1011 2014-09-16  Pedro Alves  <palves@redhat.com>
1012
1013         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1014         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1015
1016 2014-09-16  Pedro Alves  <palves@redhat.com>
1017
1018         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1019         files.
1020         * gdb.base/a2-run.exp: Remove all code guarded by istarget
1021         "*-*-vxworks*" throughout.
1022         * gdb.base/break.exp: Likewise.
1023         * gdb.base/default.exp: Likewise.
1024         * gdb.base/scope.exp: Likewise.
1025         * gdb.base/sepdebug.exp: Likewise.
1026         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1027         throughout.
1028         * gdb.base/run.c: Likewise.
1029         * gdb.base/sepdebug.c: Likewise.
1030         * gdb.hp/gdb.aCC/run.c: Likewise.
1031         * gdb.reverse/until-reverse.c: Likewise.
1032         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1033
1034 2014-09-16  Yao Qi  <yao@codesourcery.com>
1035
1036         * boards/local-remote-host-native.exp: New file.
1037
1038 2014-09-14  Doug Evans  <xdje42@gmail.com>
1039
1040         * gdb.threads/queue-signal.c (thread_count): New variable.
1041         (thread_count_mutex, thread_count_condvar): New variables.
1042         (incr_thread_count, wait_all_threads_running): New functions.
1043         (main): Wait for all threads to be in their thread functions.
1044
1045 2014-09-13  Doug Evans  <xdje42@gmail.com>
1046
1047         * gdb.threads/queue-signal.c: New file.
1048         * gdb.threads/queue-signal.exp: New file.
1049
1050 2014-09-13  Doug Evans  <xdje42@gmail.com>
1051
1052         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1053         be consistent with what default_gdb_init uses.
1054         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1055         the plain text of the prompt.  Add some logging printfs.
1056         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1057
1058 2014-09-12  Pedro Alves  <palves@redhat.com>
1059
1060         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1061         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1062         * gdb.arch/i386-size-overlap.exp: Likewise.
1063         * gdb.arch/i386-size.exp: Likewise.
1064         * gdb.arch/i386-unwind.exp: Likewise.
1065         * gdb.base/a2-run.exp: Likewise.
1066         * gdb.base/break.exp: Likewise.
1067         * gdb.base/charset.exp: Likewise.
1068         * gdb.base/chng-syms.exp: Likewise.
1069         * gdb.base/commands.exp: Likewise.
1070         * gdb.base/dbx.exp: Likewise.
1071         * gdb.base/find.exp: Likewise.
1072         * gdb.base/funcargs.exp: Likewise.
1073         * gdb.base/jit-simple.exp: Likewise.
1074         * gdb.base/reread.exp: Likewise.
1075         * gdb.base/sepdebug.exp: Likewise.
1076         * gdb.base/step-bt.exp: Likewise.
1077         * gdb.cp/mb-inline.exp: Likewise.
1078         * gdb.cp/mb-templates.exp: Likewise.
1079         * gdb.objc/basicclass.exp: Likewise.
1080         * gdb.threads/killed.exp: Likewise.
1081
1082 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1083
1084         PR tdep/17379
1085         * gdb.arch/powerpc-stackless.S: New file.
1086         * gdb.arch/powerpc-stackless.exp: New file.
1087
1088 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1089
1090         * gdb.base/attach.c: Include unistd.h.
1091         (main): Call alarm.  Add label postloop.
1092         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1093         gdb_breakpoint, gdb_continue_to_breakpoint.
1094         (test_command_line_attach_run): Kill ${testpid} in one exit path.
1095
1096 2014-09-11  Pedro Alves  <palves@redhat.com>
1097
1098         PR gdb/17347
1099         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1100         * gdb.base/attach.exp (test_command_line_attach_run): New
1101         procedure.
1102         (top level): Call it.
1103
1104 2014-09-11  Pedro Alves  <palves@redhat.com>
1105
1106         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1107         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1108         (do_command_attach_tests): Use spawn_wait_for_attach.
1109         * gdb.base/solib-overlap.exp: Likewise.
1110         * gdb.multi/multi-attach.exp: Likewise.
1111         * gdb.python/py-prompt.exp: Likewise.
1112         * gdb.python/py-sync-interp.exp: Likewise.
1113         * gdb.server/ext-attach.exp: Likewise.
1114
1115 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
1116
1117         * gdb.fortran/array-element.exp: Remove unexpected "continue"
1118         command in testcase.  Simplify testcase.
1119
1120 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
1121
1122         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1123
1124 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
1125
1126         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1127
1128 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
1129
1130         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1131
1132 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
1133
1134         * gdb.dwarf2/dynarr-ptr.c: New file.
1135         * gdb.dwarf2/dynarr-ptr.exp: New file.
1136
1137 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1138
1139         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1140         of 30 rather than hardcoding 120 for a slow test case.  Take the
1141         `gdb,timeout' target setting into account for this calculation.
1142         Don't extend the timeout for the test cases that don't need it.
1143
1144 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1145
1146         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1147         a factor of 2 for a slow test case.  Take the `gdb,timeout'
1148         target setting into account for this calculation.
1149         * gdb.reverse/until-precsave.exp: Increase the timeout by
1150         a factor of 15 and 3 respectively rather than adding 120
1151         for a pair of slow test cases.  Take the `gdb,timeout'
1152         target setting into account for this calculation.
1153
1154 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1155
1156         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1157         timeout, don't pass one down to gdb_expect.
1158         (gdb_expect): Rework timeout selection.
1159
1160 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1161
1162         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1163         exception on timeout.
1164         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1165         (gdbserver_start_extended): Catch any `gdbserver_start' error
1166         exceptions.
1167         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1168         * lib/mi-support.exp (mi_gdb_target_load): Catch any
1169         `gdbserver_gdb_load' error exceptions.
1170
1171 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1172
1173         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1174         120 on waiting for the TCP socket to open.
1175
1176 2014-09-09  Doug Evans  <xdje42@gmail.com>
1177
1178         * gdb.base/default.exp (show_conv_list): Add _caller_is,
1179         _caller_matches, _any_caller_is, _any_caller_matches.
1180
1181 2014-09-09  Doug Evans  <xdje42@gmail.com>
1182
1183         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1184
1185 2014-09-09  Yao Qi  <yao@codesourcery.com>
1186
1187         * gdb.mi/mi-var-display.exp: Set print symbol off.
1188
1189 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
1190
1191         PR gdb/17035
1192         * gdb.base/commands.exp: Add tests to verify user-defined
1193         commands with empty bodies.
1194         * gdb.python/py-cmd.exp: Test that we don't show user-defined
1195         python commands in `show user command`.
1196         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1197         scheme commands in `show user command`.
1198
1199 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1200
1201         PR python/17355
1202         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1203         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1204         * gdb.python/py-framefilter-invalidarg.exp: New file.
1205         * gdb.python/py-framefilter-invalidarg.py: New file.
1206
1207 2014-09-06  Doug Evans  <xdje42@gmail.com>
1208
1209         PR 15276
1210         * gdb.python/py-caller-is.c: New file.
1211         * gdb.python/py-caller-is.exp: New file.
1212
1213 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
1214
1215         PR gdb/17235
1216         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1217         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1218
1219 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
1220
1221         PR fortran/17237
1222         * gdb.fortran/print-formatted.exp: New file.
1223         * gdb.fortran/print-formatted.f90: Likewise.
1224
1225 2014-09-03  Sasha Smundak  <asmundak@google.com>
1226
1227         * gdb.python/py-frame.exp: Test Frame.read_register.
1228
1229 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
1230
1231         PR python/16699
1232         * gdb.python/py-completion.exp: New file.
1233         * gdb.python/py-completion.py: Likewise.
1234
1235 2014-08-28  Doug Evans  <dje@google.com>
1236
1237         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1238         eax,etc. are live with values set by gdb and thus the compiler can't
1239         use them.
1240         * gdb.arch/i386-pseudo.c (main): Ditto.
1241
1242 2014-08-27  Doug Evans  <dje@google.com>
1243
1244         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1245
1246 2014-08-25  Doug Evans  <dje@google.com>
1247
1248         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1249         (main): Ditto.
1250
1251 2014-08-25  Doug Evans  <dje@google.com>
1252
1253         * gdb.threads/thread-execl.exp: #include <stdio.h>.
1254
1255 2014-08-24  Yao Qi  <yao@codesourcery.com>
1256
1257         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1258         symbol off.
1259         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1260
1261 2014-08-22  Doug Evans  <dje@google.com>
1262
1263         PR 17276
1264         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1265         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1266         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1267
1268 2014-08-22  Yao Qi  <yao@codesourcery.com>
1269
1270         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1271         * gdb.python/py-finish-breakpoint2.exp: Likewise.
1272         * gdb.python/python.exp: Likewise.  Use .py file on the host
1273         instead of the build.
1274
1275 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
1276
1277         * gdb.threads/gcore-stale-thread.c: New file.
1278         * gdb.threads/gcore-stale-thread.exp: New file.
1279
1280 2014-08-21  Pedro Alves  <palves@redhat.com>
1281
1282         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1283         * gdb.base/gcore-relro-pie.exp: Likewise.
1284         * gdb.base/gcore-relro.exp: Likewise.
1285         * gdb.base/gcore.exp: Likewise.
1286         * gdb.base/print-symbol-loading.exp: Likewise.
1287         * gdb.threads/gcore-thread.exp: Likewise.
1288         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1289
1290 2014-08-20  Pedro Alves  <palves@redhat.com>
1291             Jan Kratochvil  <jan.kratochvil@redhat.com>
1292
1293         * Makefile.in (EXTRA_RULES, CC): New variables, get from
1294         configure.
1295         (EXPECT): Handle READ1 being set.
1296         (all): Depend on EXTRA_RULES.
1297         (check-read1, expect-read1, read1.so, read1): New rules.
1298         * README (Testsuite Parameters): Document the READ1 make variable.
1299         (Race detection): New section.
1300         * configure: Regenerate.
1301         * configure.ac: If build==host==target, and running under a
1302         GNU/glibc system, add read1 to the extra Makefile rules.
1303         (EXTRA_RULES): AC_SUBST it.
1304         * lib/read1.c: New file.
1305
1306 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
1307
1308         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1309         the handling of variables declared as a typedef to an array
1310         which a DW_AT_data_location attribute.
1311
1312 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
1313             Pedro Alves  <palves@redhat.com>
1314
1315         PR symtab/14604
1316         PR symtab/14605
1317         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1318         gdb_test.
1319
1320 2014-08-19  Pedro Alves  <palves@redhat.com>
1321
1322         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1323
1324 2014-08-19  Yao Qi  <yao@codesourcery.com>
1325
1326         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1327         right line.
1328
1329 2014-08-18  David Blaikie  <dblaikie@gmail.com>
1330
1331         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1332
1333 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
1334
1335         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1336         attribute in array range.
1337
1338 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
1339
1340         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1341
1342 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
1343
1344         PR c++/17132
1345         * gdb.cp/pr17132.cc: New file.
1346         * gdb.cp/pr17132.exp: New file.
1347
1348 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
1349
1350         * gdb.python/py-xmethods.py (A_getarrayind)
1351         (E_method_char_worker.__call__, E_method_int_worker.__call__):
1352         Use 'print' with function call syntax.
1353         (E_method_matcher.match): Fix tab vs space indentation mixup.
1354
1355 2014-08-15  Yao Qi  <yao@codesourcery.com>
1356
1357         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1358         false.
1359
1360 2014-08-15  Yao Qi  <yao@codesourcery.com>
1361
1362         * gdb.cp/casts.exp: Set print symbol off.
1363         * gdb.cp/class2.exp: Likewise.
1364         * gdb.cp/overload.exp: Likewise.
1365         * gdb.cp/templates.exp: Likewise.
1366
1367 2014-08-11  Doug Evans  <dje@google.com>
1368
1369         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1370         (test_load_shlib): Update.
1371
1372 2014-08-09  Yao Qi  <yao@codesourcery.com>
1373
1374         * gdb.base/display.exp: Invoke is_address_zero_readable.
1375         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1376         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1377         * gdb.base/hbreak-unmapped.exp: Return if
1378         is_address_zero_readable returns true.
1379         * gdb.base/signest.exp: Likewise.
1380         * gdb.base/signull.exp: Likewise.
1381         * gdb.base/sigbpt.exp: Likewise.
1382         * gdb.guile/scm-disasm.exp: Do the test if
1383         is_address_zero_readable returns false.
1384         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1385         * gdb.python/py-arch.exp: Likewise.
1386         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1387         * lib/gdb.exp (is_address_zero_readable): New proc.
1388
1389 2014-08-09  Yao Qi  <yao@codesourcery.com>
1390
1391         PR testsuite/13443
1392         * gdb.mi/mi-var-display.exp: Make test messages unique.
1393
1394 2014-08-04  Tom Tromey  <tromey@redhat.com>
1395
1396         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1397         target 0".
1398
1399 2014-08-04  Tom Tromey  <tromey@redhat.com>
1400
1401         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1402         "target_resume".
1403
1404 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
1405
1406         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1407         inner_vla_struct_object_size.
1408         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1409         as xfail.
1410
1411 2014-07-30  Pedro Alves  <palves@redhat.com>
1412
1413         * gdb.threads/signal-command-handle-nopass.exp (test): Add
1414         comment.
1415
1416 2014-07-29  Yao Qi  <yao@codesourcery.com>
1417
1418         PR gdb/17206
1419         * gdb.base/until-nodebug.exp: New.
1420
1421 2014-07-28  Doug Evans  <xdje42@gmail.com>
1422
1423         PR guile/17203
1424         * gdb.guile/scm-parameter.exp: Add tests for trying to create
1425         previously existing parameter, and previously ambiguously spelled
1426         parameter.
1427
1428 2014-07-28  Will Newton  <will.newton@linaro.org>
1429
1430         * gdb.base/varargs.exp: Remove KFAILs for ARM.
1431
1432 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
1433             Doug Evans  <xdje42@gmail.com>
1434
1435         PR guile/17146
1436         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1437
1438 2014-07-25  Pedro Alves  <palves@redhat.com>
1439
1440         * gdb.threads/signal-command-handle-nopass.c: New file.
1441         * gdb.threads/signal-command-handle-nopass.exp: New file.
1442         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1443         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1444         * gdb.threads/signal-delivered-right-thread.c: New file.
1445         * gdb.threads/signal-delivered-right-thread.exp: New file.
1446
1447 2014-07-25  Pedro Alves  <palves@redhat.com>
1448
1449         * gdb.base/double-prompt-target-event-error.exp
1450         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1451         match.
1452         (cancel_pagination_in_target_event): Rework double prompt
1453         detection.
1454         * gdb.base/paginate-after-ctrl-c-running.exp
1455         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1456         <return>' match.
1457         * gdb.base/paginate-bg-execution.exp
1458         (test_bg_execution_pagination_return)
1459         (test_bg_execution_pagination_cancel): Remove '-notransfer
1460         <return>' matches.
1461         * gdb.base/paginate-execution-startup.exp
1462         (test_fg_execution_pagination_return)
1463         (test_fg_execution_pagination_cancel): Remove '-notransfer
1464         <return>' matches.
1465         * gdb.base/paginate-inferior-exit.exp
1466         (test_paginate_inferior_exited): Remove '-notransfer <return>'
1467         match.
1468         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1469         * lib/gdb.exp (pagination_prompt): Run text through
1470         string_to_regexp.
1471         (gdb_test_multiple): Match $pagination_prompt instead of
1472         "<return>".
1473         (string_to_regexp): Move to lib/gdb-utils.exp.
1474
1475 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1476
1477         * gdb.arch/amd64-entry-value-paramref.S: New file.
1478         * gdb.arch/amd64-entry-value-paramref.cc: New file.
1479         * gdb.arch/amd64-entry-value-paramref.exp: New file.
1480         * gdb.arch/amd64-optimout-repeat.S: New file.
1481         * gdb.arch/amd64-optimout-repeat.c: New file.
1482         * gdb.arch/amd64-optimout-repeat.exp: New file.
1483
1484 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1485
1486         PR gdb/17170
1487         * gdb.base/statistics.exp: New file.
1488
1489 2014-07-17  Doug Evans  <dje@google.com>
1490
1491         PR gdb/17170
1492         * gdb.base/maint.exp: Update testing of per-command stats.
1493
1494 2014-07-16  Pedro Alves  <palves@redhat.com>
1495
1496         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1497         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1498         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1499         (tfile_write_buf): New functions.
1500         (add_memory_block): Rewrite using the above.
1501         (adjust_function_address): New function.
1502         (FUNCTION_ADDRESS): New macro.
1503         (write_basic_trace_file): Remove short_x local, and use
1504         tfile_write_16. Change type of func_addr local to unsigned long
1505         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
1506         here.  Cast argument of add_memory_block to char pointer.
1507         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
1508         (main): Remove parameters.
1509         * gdb.trace/tfile.exp: Remove nowarnings.
1510
1511 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
1512
1513         * gdb.base/debug-expr.exp: Test string evaluation with
1514         "debug expression" on.
1515
1516 2014-07-15  Pedro Alves  <palves@redhat.com>
1517
1518         * gdb.base/reread.exp: Use clean_restart.
1519
1520 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
1521
1522         * gdb.arch/avr-flash-qualifer.c: New.
1523         * gdb.arch/avr-flash-qualifer.exp: New.
1524
1525 2014-07-14  Pedro Alves  <palves@redhat.com>
1526
1527         * gdb.base/paginate-after-ctrl-c-running.c: New file.
1528         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1529
1530 2014-07-14  Pedro Alves  <palves@redhat.com>
1531
1532         * gdb.base/double-prompt-target-event-error.c: New file.
1533         * gdb.base/double-prompt-target-event-error.exp: New file.
1534
1535 2014-07-14  Pedro Alves  <palves@redhat.com>
1536
1537         PR gdb/17072
1538         * gdb.base/paginate-inferior-exit.c: New file.
1539         * gdb.base/paginate-inferior-exit.exp: New file.
1540
1541 2014-07-14  Pedro Alves  <palves@redhat.com>
1542
1543         PR gdb/17072
1544         * gdb.base/paginate-bg-execution.c: New file.
1545         * gdb.base/paginate-bg-execution.exp: New file.
1546
1547 2014-07-14  Pedro Alves  <palves@redhat.com>
1548
1549         PR gdb/17072
1550         * gdb.base/paginate-execution-startup.c: New file.
1551         * gdb.base/paginate-execution-startup.exp: New file.
1552         * lib/gdb.exp (pagination_prompt): New global.
1553         (default_gdb_spawn): New procedure, factored out from
1554         default_gdb_spawn.
1555         (default_gdb_start): Adjust to call default_gdb_spawn.
1556         (gdb_spawn): New procedure.
1557
1558 2014-07-14  Pedro Alves  <palves@redhat.com>
1559
1560         * lib/gdb.exp (gdb_assert): New procedure.
1561         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1562
1563 2014-07-14  Pedro Alves  <palves@redhat.com>
1564
1565         * gdb.base/execution-termios.c: New file.
1566         * gdb.base/execution-termios.exp: New file.
1567
1568 2014-07-14  Tom Tromey  <tromey@redhat.com>
1569
1570         * gdb.cp/vla-cxx.cc: New file.
1571         * gdb.cp/vla-cxx.exp: New file.
1572
1573 2014-07-14  Tom Tromey  <tromey@redhat.com>
1574
1575         * gdb.reverse/rerun-prec.c: New file.
1576         * gdb.reverse/rerun-prec.exp: New file.
1577
1578 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
1579             Maciej W. Rozycki  <macro@codesourcery.com>
1580
1581         * lib/gdb-utils.exp: New file.
1582         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1583         inline `gdb_init_command' processing.
1584         (gdb_start_cmd): Likewise.
1585         * lib/mi-support.exp (mi_run_cmd): Likewise.
1586         * README: Document `gdb_init_command' and `gdb_init_commands'.
1587
1588 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1589
1590         Fix false FAIL running under a very long directory name.
1591         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1592         and "set print elements 10000".  Twice.
1593
1594 2014-07-11  Yao Qi  <yao@codesourcery.com>
1595
1596         * gdb.base/exprs.exp: "set print symbol off".
1597
1598 2014-07-11  Pedro Alves  <palves@redhat.com>
1599
1600         * gdb.threads/kill.c: New file.
1601         * gdb.threads/kill.exp: New file.
1602
1603 2014-07-10  Yao Qi  <yao@codesourcery.com>
1604
1605         * gdb.trace/tfile.c (write_basic_trace_file)
1606         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1607         address written to trace file.
1608
1609 2014-07-09  Pedro Alves  <palves@redhat.com>
1610
1611         * gdb.base/attach-wait-input.exp: New file.
1612         * gdb.base/attach-wait-input.c: New file.
1613
1614 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1615
1616         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1617         setting up test structures.
1618         (main): Call new test function.
1619         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1620         test function, continue into test function and walk test
1621         structures.
1622
1623 2014-07-02  Yao Qi  <yao@codesourcery.com>
1624
1625         * gdb.trace/entry-values.c: Define labels 'foo_start' and
1626         'bar_start' at the beginning of functions 'foo' and 'bar'
1627         respectively.
1628         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1629         instead of 'foo' and 'bar'.
1630
1631 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
1632
1633         * gdb.btrace/segv.exp: New.
1634         * gdb.btrace/segv.c: New.
1635
1636 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
1637
1638         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1639         instruction.
1640
1641 2014-06-30  Mark Wielaard  <mjw@redhat.com>
1642
1643         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1644         vulture, vilify, villar): New volatile array constants.
1645         (vindictive, vegetation): New const volatile array constants.
1646         * gdb.base/volatile.exp: Test volatile and const volatile array
1647         types.
1648
1649 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1650
1651         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1652         target lacks support for awatch, rwatch, or hbreak.
1653
1654 2014-06-27  Yao Qi  <yao@codesourcery.com>
1655
1656         * gdb.multi/dummy-frame-restore.exp: New.
1657         * gdb.multi/dummy-frame-restore.c: New.
1658
1659 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
1660
1661         * gdb.btrace/gcore.exp: New.
1662
1663 2014-06-23  Pedro Alves  <palves@redhat.com>
1664
1665         * gdb.base/watchpoint-reuse-slot.c: New file.
1666         * gdb.base/watchpoint-reuse-slot.exp: New file.
1667
1668 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
1669
1670         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1671         progspace's filename in 'info', 'enable' and 'disable' command
1672         tests.
1673
1674 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
1675
1676         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1677         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1678         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1679
1680 2014-06-20  Gary Benson  <gbenson@redhat.com>
1681
1682         * gdb.arch/i386-avx.exp: Fix include file location.
1683         * gdb.arch/i386-sse.exp: Likewise.
1684
1685 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1686
1687         * gdb.dlang/expression.exp: New file.
1688
1689 2014-06-19  Pedro Alves  <palves@redhat.com>
1690
1691         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1692         out from ...
1693         (top level): ... here.  Iterate running tests under different
1694         scheduler-locking settings.
1695
1696 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
1697
1698         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1699         to DW_FORM_addr and use non-zero addresses.
1700
1701 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
1702
1703         PR gdb/17017
1704         * gdb.python/py-xmethods.cc: Add global function call counters and
1705         increment them in their respective functions.  Remove "cout"
1706         statements.
1707         * gdb.python/py-xmethods.exp: Make tests check the global function
1708         call counters instead of depending on inferior IO.
1709
1710 2014-06-18  Don Breazeal  <donb@codesourcery.com>
1711
1712         * gdb.base/foll-fork.exp (default_fork_parent_follow):
1713         Deleted procedure.
1714         (explicit_fork_parent_follow): Deleted procedure.
1715         (explicit_fork_child_follow): Deleted procedure.
1716         (test_follow_fork): New procedure.
1717         (do_fork_tests): Replace calls to deleted procedures with
1718         calls to test_follow_fork and reset GDB for subsequent 
1719         procedure calls.
1720
1721 2014-06-17  Yao Qi  <yao@codesourcery.com>
1722
1723         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1724         CP1252.
1725
1726 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
1727
1728         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1729         Initialize ptr and S explicitly.
1730         (skip_type_update_when_not_use_rtti_test): Likewise.
1731
1732 2014-06-16  Keith Seitz  <keiths@redhat.com>
1733
1734         PR mi/15863
1735         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1736         the inferior is started.
1737
1738 2014-06-16  Pedro Alves  <palves@redhat.com>
1739
1740         * gdb.base/break-main-file-remove-fail.c: New file.
1741         * gdb.base/break-main-file-remove-fail.exp: New file.
1742         * gdb.base/break-unload-file.exp: Use build_executable instead of
1743         prepare_for_testing.
1744         (test_break): New parameter "initial_load".  Handle it.
1745         (top level): Add initial_load cmdline/file axis.
1746
1747 2014-06-12  Tom Tromey  <tromey@redhat.com>
1748
1749         * gdb.base/completion.exp: Don't use directory name in test.
1750
1751 2014-06-09  Gary Benson  <gbenson@redhat.com>
1752
1753         * gdb.base/sigall.c [Functions to send signals]: Reorder to
1754         separate the always-available ANSI-standard signals from the
1755         signals that require checking.
1756         (main): Likewise.
1757         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1758         Likewise.
1759         (main): Likewise.
1760
1761 2014-06-07  Keith Seitz  <keiths@redhat.com>
1762
1763         Revert:
1764         PR c++/16253
1765         * gdb.cp/var-tag.cc: New file.
1766         * gdb.cp/var-tag.exp: New file.
1767         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1768         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1769         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1770         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1771
1772 2014-06-06  Doug Evans  <xdje42@gmail.com>
1773
1774         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1775
1776 2014-06-06  Pedro Alves  <palves@redhat.com>
1777
1778         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1779         in target debug output instead of looking at RSP packets,
1780         disabling the test on any target that uses hardware stepping.
1781         Update comments.
1782
1783 2014-06-06  Pedro Alves  <palves@redhat.com>
1784
1785         * gdb.base/break-unload-file.exp: Fix typo.
1786
1787 2014-06-06  Yao Qi  <yao@codesourcery.com>
1788
1789         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1790         from "jit_function" to "^jit_function".
1791
1792 2014-06-06  Yao Qi  <yao@codesourcery.com>
1793
1794         * gdb.base/async.c (foo): Add one statement.
1795         * gdb.base/async.exp: Get the next instruction address and
1796         match the output of "nexti" by instruction address.  Match
1797         the hex address in the output of "finish".
1798
1799 2014-06-06  Gary Benson  <gbenson@redhat.com>
1800
1801         * gdb.base/call-signals.c: Remove preprocessor conditionals
1802         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1803         SIGSEGV and SIGTERM.
1804         * gdb.base/sigall.c: Likewise.
1805         * gdb.base/unwindonsignal.c: Likewise.
1806         * gdb.reverse/sigall-reverse.c: Likewise.
1807
1808 2014-06-06  Yao Qi  <yao@codesourcery.com>
1809
1810         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
1811         readable, skip the test.
1812
1813 2014-06-06  Yao Qi  <yao@codesourcery.com>
1814
1815         * gdb.threads/staticthreads.c (thread_function): Move the line
1816         setting breakpoint on forward.
1817         * gdb.threads/staticthreads.exp: Update comments.
1818
1819 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
1820
1821         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1822         "history-append! type error".
1823
1824 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
1825
1826         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1827         erroneous dprintf expected input.
1828
1829 2014-06-04  Doug Evans  <xdje42@gmail.com>
1830
1831         * gdb.guile/scm-generics.exp: Delete.
1832
1833 2014-06-04  Doug Evans  <xdje42@gmail.com>
1834
1835         * gdb.guile/scm-breakpoint.exp: Update.
1836         Add tests for breakpoint registration.
1837
1838 2014-06-04  Tom Tromey  <tromey@redhat.com>
1839
1840         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1841         VLA-in-union.
1842         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1843         inner_vla_struct, vla_union types.  Initialize objects of those
1844         types and compute their sizes.
1845
1846 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
1847             Hui Zhu  <hui@codesourcery.com>
1848
1849         * gdb.base/fileio.exp: Add test for shell not available as well as
1850         available.
1851         * gdb.base/fileio.c (test_system): Check for shell twice.
1852
1853 2014-06-04  Yao Qi  <yao@codesourcery.com>
1854
1855         * gdb.base/auto-connect-native-target.exp: Remove redundant
1856         space from the regexp pattern.
1857
1858 2014-06-04  Yao Qi  <yao@codesourcery.com>
1859
1860         * gdb.base/default.exp: Replace "child" with "native" in
1861         regexp pattern.
1862
1863 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
1864
1865         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1866         * gdb.python/py-xmethods.exp: New tests to test xmethods.
1867         * gdb.python/py-xmethods.py: Python script supporting the
1868         new testcase and tests.
1869
1870 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
1871             Pedro Alves  <palves@redhat.com>
1872
1873         PR breakpoints/17000
1874         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1875         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1876
1877 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
1878
1879         * gdb.base/subst.exp: Add tests to verify partial path matching
1880         output.
1881
1882 2014-06-03  Pedro Alves  <palves@redhat.com>
1883
1884         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1885         target that doesn't use software single-stepping.
1886
1887 2014-06-03  Pedro Alves  <palves@redhat.com>
1888
1889         PR breakpoints/17000
1890         * gdb.base/sss-bp-on-user-bp-2.c: New file.
1891         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1892
1893 2014-06-02  Doug Evans  <xdje42@gmail.com>
1894
1895         * gdb.guile/scm-parameter.exp: New file.
1896
1897 2014-06-02  Doug Evans  <xdje42@gmail.com>
1898
1899         * gdb.guile/scm-cmd.c: New file.
1900         * gdb.guile/scm-cmd.exp: New file.
1901
1902 2014-06-02  Doug Evans  <xdje42@gmail.com>
1903
1904         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1905         pretty-printer lookup.
1906         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1907         (make-pp_s-printer): Call it.
1908         (make-pretty-printer-from-dict): New function.
1909         (lookup-pretty-printer-maker-from-dict): New function.
1910         (*pretty-printer*): Simplify.
1911         (make-objfile-pp_s-printer): New function.
1912         (install-objfile-pretty-printers!): New function.
1913         (make-progspace-pp_s-printer): New function.
1914         (install-progspace-pretty-printers!): New function.
1915         * gdb.guile/scm-progspace.c: New file.
1916         * gdb.guile/scm-progspace.exp: New file.
1917
1918 2014-06-02  Pedro Alves  <palves@redhat.com>
1919
1920         * gdb.base/dprintf-bp-same-addr.c: New file.
1921         * gdb.base/dprintf-bp-same-addr.exp: New file.
1922
1923 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1924
1925         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1926         * gdb.arch/powerpc-power.s: Likewise.
1927
1928 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
1929
1930         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1931
1932 2014-06-01  Yao Qi  <yao@codesourcery.com>
1933
1934         * gdb.base/watchpoint.exp (test_watch_location): Check null
1935         pointer can be dereferenced.  If not, do the test, otherwise
1936         skip it.
1937
1938 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
1939
1940         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1941         results.
1942         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1943
1944 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
1945
1946         * gdb.arch/amd64-invalid-stack-middle.S: New file.
1947         * gdb.arch/amd64-invalid-stack-middle.c: New file.
1948         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1949         * gdb.arch/amd64-invalid-stack-top.c: New file.
1950         * gdb.arch/amd64-invalid-stack-top.exp: New file.
1951
1952 2014-05-30  Pedro Alves  <palves@redhat.com>
1953
1954         PR breakpoints/17000
1955         * gdb.base/sss-bp-on-user-bp.c: New file.
1956         * gdb.base/sss-bp-on-user-bp.exp: New file.
1957
1958 2014-05-30  David Blaikie  <dblaikie@gmail.com>
1959
1960         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1961         gnu_inline semantics via attribute.
1962         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1963         source explicitly specifies the required semantics.
1964
1965 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
1966
1967         * gdb.reverse/sigall-reverse.exp: Fix a typo.
1968
1969 2014-05-29  Pedro Alves  <palves@redhat.com>
1970             Tom Tromey  <tromey@redhat.com>
1971
1972         * gdb.base/async-shell.exp: Don't enable target-async.
1973         * gdb.base/async.exp
1974         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1975         parameter.  Adjust.
1976         (top level): Don't test with "target-async".
1977         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1978         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1979         * gdb.base/inferior-died.exp: Don't enable target-async.
1980         * gdb.base/interrupt-noterm.exp: Likewise.
1981         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1982         * gdb.mi/mi-nonstop-exit.exp: Likewise.
1983         * gdb.mi/mi-nonstop.exp: Likewise.
1984         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1985         * gdb.mi/mi-nsintrall.exp: Likewise.
1986         * gdb.mi/mi-nsmoribund.exp: Likewise.
1987         * gdb.mi/mi-nsthrexec.exp: Likewise.
1988         * gdb.mi/mi-watch-nonstop.exp: Likewise.
1989         * gdb.multi/watchpoint-multi.exp: Adjust comment.
1990         * gdb.python/py-evsignal.exp: Don't enable target-async.
1991         * gdb.python/py-evthreads.exp: Likewise.
1992         * gdb.python/py-prompt.exp: Likewise.
1993         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1994         * gdb.server/solib-list.exp: Don't enable target-async.
1995         * gdb.threads/thread-specific-bp.exp: Likewise.
1996         * lib/mi-support.exp: Adjust to use mi-async.
1997
1998 2014-05-29  Pedro Alves  <palves@redhat.com>
1999
2000         PR gdb/13860
2001         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2002         reason, even in sync mode.
2003
2004 2014-05-29  Pedro Alves  <palves@redhat.com>
2005             Hui Zhu  <hui@codesourcery.com>
2006
2007         PR PR15693
2008         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2009         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2010         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2011         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2012
2013 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
2014
2015         * config/monitor.exp (gdb_target_monitor): Replace use of
2016         "set remotebaud" by "set serial baud".
2017
2018 2014-05-26  Andy Wingo  <wingo@igalia.com>
2019
2020         * gdb.guile/scm-breakpoint.exp:
2021         * gdb.guile/scm-gsmob.exp: Update to use plain old object
2022         properties instead of gdb-object-properties.
2023
2024 2014-05-26  Yao Qi  <yao@codesourcery.com>
2025
2026         * gdb.server/no-thread-db.exp: Specify source file name
2027         explicitly when setting a breakpoint.
2028
2029 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
2030
2031         * gdb.btrace/vdso.c: New.
2032         * gdb.btrace/vdso.exp: New.
2033
2034 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
2035
2036         * gdb.base/gcore.exp (capture_command_output): Move ...
2037         * lib/gdb.exp (capture_command_output): ... here.
2038
2039 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
2040
2041         * gdb.btrace/data.exp: Test memory access during btrace replay.
2042
2043 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
2044
2045         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2046
2047 2014-05-21  Pedro Alves  <palves@redhat.com>
2048
2049         PR gdb/13860
2050         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2051         (top level): Test that output related to execution commands is
2052         sent to the console with CLI commands, but not with MI commands.
2053         Test that breakpoint events are always mirrored to the console.
2054         Also expect the new source line to be output after a "next" in
2055         async mode too.  Make it a pass/fail test.
2056         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2057         output.
2058         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2059
2060 2014-05-21  Pedro Alves  <palves@redhat.com>
2061
2062         * gdb.base/list.exp (build_pattern, test_list): New procedures.
2063         Use them to test variations of "list" after reaching a breakpoint.
2064         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2065         Test "list" with listsize 10 after reaching a breakpoint.
2066         * gdb.python/python.exp (decode_line current location line
2067         number): Adjust expected line number.
2068
2069 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
2070
2071         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2072         behavior for $args, pass it directly to "run".
2073
2074 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2075
2076         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2077         30000 to 65536.
2078
2079 2014-05-21  Pedro Alves  <palves@redhat.com>
2080
2081         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2082         auto-connect-native-target off".
2083         * gdb.base/auto-connect-native-target.c: New file.
2084         * gdb.base/auto-connect-native-target.exp: New file.
2085
2086 2014-05-21  Pedro Alves  <palves@redhat.com>
2087
2088         * gdb.base/default.exp: Test "target native" instead of "target
2089         child".
2090
2091 2014-05-21  Mark Wielaard  <mjw@redhat.com>
2092
2093         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2094
2095 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2096
2097         Fix TLS access for -static -pthread.
2098         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2099         <HAVE_TLS> (thread_function, main): Initialize it.
2100         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2101         Add clean_restart.
2102         <$have_tls != "">: Check TLSVAR.
2103
2104 2014-05-21  Pedro Alves  <palves@redhat.com>
2105
2106         * gdb.base/dcache-line-read-error.c: New.
2107         * gdb.base/dcache-line-read-error.exp: New.
2108
2109 2014-05-20  Pedro Alves  <palves@redhat.com>
2110
2111         * gdb.base/compare-sections.c: New file.
2112         * gdb.base/compare-sections.exp: New file.
2113
2114 2014-05-20  Pedro Alves  <palves@redhat.com>
2115
2116         * gdb.base/break-idempotent.c: New file.
2117         * gdb.base/break-idempotent.exp: New file.
2118
2119 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
2120
2121         * gdb.btrace/nohist.exp: New.
2122
2123 2014-05-20  Yao Qi  <yao@codesourcery.com>
2124
2125         * lib/gdb.exp (gdb_init): Set timeout if test file is under
2126         gdb.reverse directory and gdb_reverse_timeout exists in board
2127         setting.
2128         * README: Document gdb_reverse_timeout.
2129
2130 2014-05-20  Yao Qi  <yao@codesourcery.com>
2131
2132         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2133         'test_file_name'.  Treat args as a string instead of a list.
2134         (gdb_init): Rename argument 'args' by 'test_file_name'.
2135
2136 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
2137
2138         * gdb.arch/powerpc-power.exp: New file.
2139         * gdb.arch/powerpc-power.s: New file.
2140
2141 2014-05-16  Doug Evans  <dje@google.com>
2142
2143         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2144         * gdb.base/completion.exp: Check that all expected files exist
2145         before doing file completion.
2146
2147 2014-05-16  Doug Evans  <dje@google.com>
2148
2149         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2150         Update.
2151         (do_syscall_tests_without_xml): Update.
2152
2153 2014-05-16  Pedro Alves  <palves@redhat.com>
2154
2155         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2156         instead of "unknown output after running".
2157
2158 2014-05-16  Yao Qi  <yao@codesourcery.com>
2159
2160         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
2161         file1.txt from host at the end.
2162         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2163
2164 2014-05-15  Doug Evans  <dje@google.com>
2165
2166         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2167         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2168         loading file.  Add test for TU lookup.
2169
2170 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
2171
2172         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2173         calling "-exec-arguments" or "set args" before running the
2174         inferior.
2175
2176 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
2177
2178         * lib/mi-support.exp (mi_expect_stop): Expect message for
2179         inferiors that exit with non-zero exit code.
2180
2181 2014-05-14  Yao Qi  <yao@codesourcery.com>
2182
2183         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2184         match absolute path on remote host.
2185         (test_file_list_exec_source_files): Remove "/" from the
2186         pattern.
2187
2188 2014-05-14  Yao Qi  <yao@codesourcery.com>
2189
2190         * boards/local-remote-host-notty.exp (${board}_file): New
2191         proc.
2192
2193 2014-05-07  Kyle McMartin  <kyle@redhat.com>
2194
2195         Pushed by Joel Brobecker  <brobecker@adacore.com>.
2196         * gdb.arch/aarch64-atomic-inst.c: New file.
2197         * gdb.arch/aarch64-atomic-inst.exp: New file.
2198
2199 2014-05-07  Yao Qi  <yao@codesourcery.com>
2200
2201         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2202         in current context" too.
2203
2204 2014-05-05  Keith Seitz  <keiths@redhat.com>
2205
2206         * gdb.linespec/ls-dollar.exp: Add test for linespec
2207         file:convenience_variable.
2208
2209 2014-05-05  Yao Qi  <yao@codesourcery.com>
2210
2211         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2212         traceframes into tfile and ctf trace files.  Read data from
2213         trace file and test collected data.
2214         (gdb_collect_locals_test): Likewise.
2215         (gdb_unavailable_registers_test): Likewise.
2216         (gdb_unavailable_floats): Likewise.
2217         (gdb_collect_globals_test): Likewise.
2218         (top-level): Append "ctf" to trace_file_targets if GDB
2219         supports.
2220
2221 2014-05-05  Yao Qi  <yao@codesourcery.com>
2222
2223         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2224         code to ...
2225         (gdb_collect_args_test_1): ... it.  New proc.
2226         (gdb_collect_locals_test): Move some code to ...
2227         (gdb_collect_locals_test_1): ... it.  New proc.
2228         (gdb_unavailable_registers_test): Move some code to ...
2229         (gdb_unavailable_registers_test_1): ... it.  New proc.
2230         (gdb_unavailable_floats): Move some code to ...
2231         (gdb_unavailable_floats_1): ... it.  New proc.
2232
2233 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
2234
2235         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2236         probes to test for bitness recognition.
2237         * gdb.arch/amd64-stap-optional-prefix.exp
2238         (test_probe_value_without_reg): New procedure.
2239         Add code to test for different kinds of bitness.
2240
2241 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
2242
2243         PR breakpoints/16889
2244         * gdb.arch/amd64-stap-optional-prefix.S: New file.
2245         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2246
2247 2014-05-01  Pedro Alves  <palves@redhat.com>
2248
2249         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
2250         gdb_file_cmd if no file is specified.
2251         * boards/native-extended-gdbserver.exp (gdb_load): Use the
2252         last_loaded_file to set the remote exec-file.
2253
2254 2014-05-01  Pedro Alves  <palves@redhat.com>
2255
2256         * boards/local-remote-host.exp: New file.
2257
2258 2014-05-01  Pedro Alves  <palves@redhat.com>
2259
2260         * boards/local-remote-host.exp: Rename to ...
2261         * boards/local-remote-host-notty.exp: ... this.
2262
2263 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
2264
2265         * gdb.ada/dyn_arrayidx: New testcase.
2266
2267 2014-04-26  Yao Qi  <yao@codesourcery.com>
2268
2269         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
2270         and compute the length of function main.  Save it in
2271         $main_length.
2272         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2273         (top-level): Use gdb_compile to compile objects into
2274         executable and restart GDB.  Remove invocation to
2275         prepare_for_testing.
2276
2277 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
2278             Pedro Alves  <palves@redhat.com>
2279
2280         PR server/16255
2281         * gdb.multi/multi-attach.c: New file.
2282         * gdb.multi/multi-attach.exp: New file.
2283
2284 2014-04-25  Pedro Alves  <palves@redhat.com>
2285
2286         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2287         user.
2288         (top level): Test that "set remote conditional-breakpoints-packet
2289         off" works as intended.
2290         * gdb.base/dprintf.exp: Test that "set remote
2291         breakpoint-commands-packet off" works as intended.
2292         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2293         New function.
2294         (top level): Call it.
2295         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2296         remote fast-tracepoints-packet off" works as intended.
2297         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2298         * lib/gdb.exp (gdb_is_target_remote): ... here.
2299
2300 2014-04-24  David Blaikie  <dblaikie@gmail.com>
2301
2302         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2303         ensure clang would not discard them.
2304         * gdb.base/gdbvars.c: Ditto.
2305         * gdb.base/memattr.c: Ditto.
2306         * gdb.base/whatis.c: Ditto.
2307         * gdb.python/py-prettyprint.c: Ditto.
2308         * gdb.trace/actions.c: Ditto.
2309         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2310         ensure clang would not discard it.
2311
2312 2014-04-24  David Blaikie  <dblaikie@gmail.com>
2313
2314         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2315         clang to emit the full definition of type required by the test
2316         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2317
2318 2014-04-24  David Blaikie  <dblaikie@gmail.com>
2319
2320         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2321         coax Clang into emitting the definition of the type.
2322         * gdb.cp/pr10728-x.h (y): Ditto.
2323         * gdb.cp/pr10728-y.cc (y): Ditto.
2324
2325 2014-04-24  David Blaikie  <dblaikie@gmail.com>
2326
2327         * gdb.base/label.exp: XFAIL label related tests under Clang.
2328         * gdb.cp/cplabel.exp: Ditto.
2329         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2330         under Clang those using labels.
2331
2332 2014-04-25  Yao Qi  <yao@codesourcery.com>
2333
2334         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2335         double_label.
2336         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2337         partial_label and double_label.
2338
2339 2014-04-24  David Blaikie  <dblaikie@gmail.com>
2340
2341         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2342
2343 2014-04-24  David Blaikie  <dblaikie@gmail.com>
2344
2345         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2346         of the function to work across GCC and Clang.
2347         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2348         pointer types (const void ** const V void **).
2349
2350 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
2351             Walfred Tedeschi  <walfred.tedeschi@intel.com>
2352
2353         * Makefile.in (EXECUTABLES): Added i386-avx512.
2354         * gdb.arch/i386-avx512.c: New file.
2355         * gdb.arch/i386-avx512.exp: Likewise.
2356
2357 2014-04-23  Keith Seitz  <keiths@redhat.com>
2358
2359         * lib/mi-support.exp (mi_list_breakpoints): Delete.
2360         (mi_make_breakpoint_table): New procedure.
2361         (mi_create_breakpoint): Use mi_make_breakpoint
2362         and return the result.
2363         (mi_make_breakpoint): New procedure.
2364         (mi_build_kv_pairs): New procedure.
2365
2366         * gdb.mi/mi-break.exp: Remove unused globals,
2367         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2368         All callers updated.
2369         * gdb.mi/mi-dprintf.exp: Use variable to track command
2370         number.
2371         Update all callers of mi_create_breakpoint and use
2372         mi_make_breakpoint_table.
2373         Remove any unused global variables.
2374         * gdb.mi/mi-nonstop.exp: Likewise.
2375         * gdb.mi/mi-nsintrall.exp: Likewise.
2376         * gdb.mi/mi-nsmoribund.exp: Likewise.
2377         * gdb.mi/mi-nsthrexec.exp: Likewise.
2378         * gdb.mi/mi-reverse.exp: Likewise.
2379         * gdb.mi/mi-simplerun.exp: Likewise.
2380         * gdb.mi/mi-stepn.exp: Likewise.
2381         * gdb.mi/mi-syn-frame.exp: Likewise.
2382         * gdb.mi/mi-until.exp: Likewise.
2383         * gdb.mi/mi-var-cp.exp: Likewise.
2384         * gdb.mi/mi-var-display.exp: Likewise.
2385         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2386         * gdb.mi/mi2-var-child.exp: Likewise.
2387         * gdb.mi/mi-vla-c99.exp: Likewise.
2388         * lib/mi-support.exp: Likewise.
2389
2390         From Ian Lance Taylor  <iant@cygnus.com>:
2391         * lib/gdb.exp (parse_args): New procedure.
2392
2393 2014-04-23  Pedro Alves  <palves@redhat.com>
2394
2395         * gdb.base/break-unload-file.c: New file.
2396         * gdb.base/break-unload-file.exp: New file.
2397         * gdb.base/sym-file-lib.c (baz): New function.
2398         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2399         field.
2400         (load): Store the segment's mapped size.
2401         (unload): New function.
2402         (unload_shlib): New function.
2403         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2404         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2405         set a breakpoint at baz, and call it.
2406         * gdb.base/sym-file.exp: New tests for stale breakpoint
2407         instructions.
2408
2409 2014-04-23  Pedro Alves  <palves@redhat.com>
2410
2411         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2412         * gdb.base/hbreak-in-shr-unsupported.c: New file.
2413         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2414         * gdb.base/hbreak-unmapped.c: New file.
2415         * gdb.base/hbreak-unmapped.exp: New file.
2416         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2417         * lib/gdb.exp (gdb_is_target_remote): ... here.
2418
2419 2014-04-22  Pedro Alves  <palves@redhat.com>
2420
2421         * gdb.base/consecutive-step-over.c: New file.
2422         * gdb.base/consecutive-step-over.exp: New file.
2423
2424 2014-04-22  Pedro Alves  <palves@redhat.com>
2425
2426         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2427         instead of send_gdb/gdb_expect.
2428
2429 2014-04-22  Yao Qi  <yao@codesourcery.com>
2430
2431         * lib/trace-support.exp (generate_tracefile): New procedure.
2432         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2433         return 0.
2434         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2435         if generate_tracefile returns 1.
2436
2437 2014-04-18  Tom Tromey  <palves@redhat.com>
2438             Pedro alves  <tromey@redhat.com>
2439
2440         PR backtrace/15558
2441         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2442         with a backtrace limit.
2443         * gdb.python/py-frame-inline.exp: Test running to an inline
2444         function with a backtrace limit, and printing the newest frame.
2445         * gdb.python/py-frame-inline.c (main): Call f.
2446
2447 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2448
2449         * gdb.java/jnpe.exp: Drop srcdir from untested path.
2450
2451 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2452
2453         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2454         Drop prefix from unsupported source file path.
2455
2456 2014-04-17  Yao Qi  <yao@codesourcery.com>
2457
2458         * lib/gdb.exp (with_target_charset): New proc.
2459         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2460         with_target_charset.
2461         (test_print_strings): Likewise.
2462         (test_repeat_bytes): Likewise.
2463         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2464         for some tests.
2465
2466 2014-04-16  Keith Seitz  <keiths@redhat.com>
2467
2468         PR gdb/15827
2469         * gdb.dwarf2/corrupt.c: New file.
2470         * gdb.dwarf2/corrupt.exp: New file.
2471
2472 2014-04-16  Keith Seitz  <keiths@redhat.com>
2473
2474         PR c++/16597
2475         * gdb.cp/namelessclass.cc: New file.
2476         * gdb.cp/namelessclass.exp: New file.
2477         * gdb.cp/namelessclass.S: New file.
2478
2479 2014-04-16  Doug Evans  <dje@google.com>
2480
2481         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2482         Add comment.
2483         (gdbserver_default_get_comm_port): New function.
2484         (gdbserver_start): Check if board file provided
2485         "gdbserver,get_comm_port" and use it if so.
2486         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2487         (gdb,socketport): Set to "stdio".
2488         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2489         (stdio_gdbserver_template): Delete.
2490         (${board}_get_remote_address): Update.
2491         (${board}_build_remote_cmd): Delete.
2492         (${board}_get_comm_port): New function.
2493         (${board}_spawn): Update.
2494         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2495         Delete.
2496         (${board}_get_remote_address): Update.
2497         (${board}_get_comm_port): New function.
2498
2499 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
2500
2501         * gdb.base/memattr.exp: Improve regexps to handle memory regions
2502         appearing in any order.
2503
2504 2014-04-15  Doug Evans  <dje@google.com>
2505
2506         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2507         uninitialized value of "description".
2508
2509 2014-04-15  Keith Seitz  <keiths@redhat.com>
2510
2511         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2512         Remove unused globals.
2513         (test_running_the_program): Likewise.
2514         (test_controlled_execution): Likewise.
2515         (test_controlling_breakpoints): Likewise.
2516         (test_program_termination): Likewise.
2517
2518 2014-04-15  Keith Seitz  <keiths@redhat.com>
2519
2520         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2521         unused globals.
2522         (test_rbreak_creation_and_listing): Likewise.
2523         (test_ignore_count): Likewise.
2524         (test_error): Likewise.
2525
2526 2014-04-15  Pedro Alves  <palves@redhat.com>
2527
2528         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2529         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2530         sym-file-loader.c.
2531         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2532         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2533         to sym-file-loader.c.
2534         (struct library): Forward declare.
2535         (load_shlib, lookup_function): Change prototypes.
2536         (find_shstrtab, find_strtab, find_shdr, find_symtab)
2537         (translate_offset): Remove declarations.
2538         (get_text_addr): New declaration.
2539         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2540         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2541         sym-file-loader.h.
2542         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2543         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2544         here from sym-file-loader.h.
2545         (struct library): New structure.
2546         (load_shlib, lookup_function): Change prototypes and adjust to
2547         work with a struct library.
2548         (find_shstrtab, find_strtab, find_shdr, find_symtab)
2549         (translate_offset): Make static.
2550         (get_text_addr): New function.
2551         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2552
2553 2014-04-15  Pedro Alves  <palves@redhat.com>
2554
2555         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
2556
2557 2014-04-15  Pedro Alves  <palves@redhat.com>
2558
2559         * gdb.base/sym-file-loader.c: Include <limits.h>.
2560         (SELF_LINK): New define.
2561         (get_origin): New function.
2562         (load_shlib): Use it.
2563         * gdb.base/sym-file.exp: Don't early return if the target is
2564         remote.  Use runto_main, and issue fail is that fails.  Use
2565         gdb_load_shlibs.
2566         (shlib_name): Delete.
2567         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
2568
2569 2014-04-15  Pedro Alves <palves@redhat.com>
2570
2571         * gdb.base/sym-file.exp: Remove regex characters from test
2572         message.  Don't refer to breakpoint numbers in test messages.
2573
2574 2014-04-14  Keith Seitz  <keiths@redhat.com>
2575
2576         PR c++/16253
2577         * gdb.cp/var-tag.cc: New file.
2578         * gdb.cp/var-tag.exp: New file.
2579         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2580         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2581         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2582         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2583
2584 2014-04-14  Tom Tromey  <tromey@redhat.com>
2585
2586         * gdb.cp/classes.exp (test_enums): Handle underlying type.
2587         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2588         type.
2589         * gdb.cp/enum-class.exp: New file.
2590         * gdb.cp/enum-class.cc: New file.
2591
2592 2014-04-14  Tom Tromey  <tromey@redhat.com>
2593
2594         * gdb.dwarf2/enum-type.exp: New file.
2595
2596 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
2597
2598         * gdb.mi/mi-vla-c99.exp: New file.
2599         * gdb.mi/vla.c: New file.
2600
2601 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
2602
2603         * gdb.base/vla-datatypes.c: New file.
2604         * gdb.base/vla-datatypes.exp: New file.
2605
2606 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
2607
2608         * gdb.base/vla-ptr.c: New file.
2609         * gdb.base/vla-ptr.exp: New file.
2610
2611 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
2612
2613         * gdb.dwarf2/count.exp: New file.
2614
2615 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
2616
2617         * gdb.base/vla-sideeffect.c: New file.
2618         * gdb.base/vla-sideeffect.exp: New file.
2619
2620 2014-04-14  David Blaikie <dblaikie@gmail.com>
2621
2622         * gdb.mi/non-stop.c: Add return value for non-void function return
2623         statement.
2624         * gdb.threads/staticthreads.c: Ditto.
2625
2626 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
2627             Doug Evans  <xdje42@gmail.com>
2628
2629         * gdb.guile/scm-value.c: Improve test case.
2630         * gdb.guile/scm-value.exp: Add new test.
2631
2632 2014-04-11  David Blaikie  <dblaikie@gmail.com>
2633
2634         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2635         override Clang's default.
2636
2637 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
2638
2639         Revert the following changes (regressions):
2640
2641         * gdb.base/vla-sideeffect.c: New file.
2642         * gdb.base/vla-sideeffect.exp: New file.
2643
2644         * gdb.dwarf2/count.exp: New file.
2645
2646         * gdb.base/vla-multi.c: New file.
2647         * gdb.base/vla-multi.exp: New file.
2648
2649         * gdb.base/vla-ptr.c: New file.
2650         * gdb.base/vla-ptr.exp: New file.
2651
2652         * gdb.base/vla-datatypes.c: New file.
2653         * gdb.base/vla-datatypes.exp: New file.
2654
2655         * gdb.mi/mi-vla-c99.exp: New file.
2656         * gdb.mi/vla.c: New file.
2657
2658 2014-04-11  Keith Seitz  <keiths@redhat.com>
2659
2660         PR c++/16675
2661         * gdb.cp/cpsizeof.exp: New file.
2662         * gdb.cp/cpsizeof.cc: New file.
2663
2664 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
2665
2666         * gdb.mi/mi-vla-c99.exp: New file.
2667         * gdb.mi/vla.c: New file.
2668
2669 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
2670
2671         * gdb.base/vla-datatypes.c: New file.
2672         * gdb.base/vla-datatypes.exp: New file.
2673
2674 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
2675
2676         * gdb.base/vla-ptr.c: New file.
2677         * gdb.base/vla-ptr.exp: New file.
2678
2679 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
2680
2681         * gdb.base/vla-multi.c: New file.
2682         * gdb.base/vla-multi.exp: New file.
2683
2684 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
2685
2686         * gdb.dwarf2/count.exp: New file.
2687
2688 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
2689
2690         * gdb.base/vla-sideeffect.c: New file.
2691         * gdb.base/vla-sideeffect.exp: New file.
2692
2693 2014-04-11  Yao Qi  <yao@codesourcery.com>
2694
2695         * gdb.base/completion.exp: Check file exists before running tests
2696         on file completion.
2697
2698 2014-04-10  Pedro Alves  <palves@redhat.com>
2699
2700         * gdb.base/cond-eval-mode.c: New file.
2701         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
2702         prepare_for_testing to build the new file.  Check result of
2703         runto_main.
2704         (test_break, test_watch): New procedures.
2705         (top level): Use them.
2706
2707 2014-04-08  Pierre Muller  <muller@sourceware.org>
2708
2709         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2710         Ctrl-V use for mingw hosts.
2711
2712 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
2713
2714         * gdb.python/py-value.c: Improve test case.
2715         * gdb.python/py-value.exp: Add new test.
2716
2717 2014-04-07  David Blaikie  <dblaikie@gmail.com>
2718
2719         * lib/compiler.c: Identify the clang compiler.
2720         * lib/compiler.cc: Ditto.
2721
2722 2014-04-03  Yao Qi  <yao@codesourcery.com>
2723
2724         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2725
2726 2014-04-01  Anton Blanchard  <anton@samba.org>
2727
2728         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
2729         messages unique.
2730
2731 2014-04-01  Anton Blanchard  <anton@samba.org>
2732
2733         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2734         prepare_for_testing.
2735
2736 2014-04-01  Anton Blanchard  <anton@samba.org>
2737
2738         * gdb.arch/ppc64-atomic-inst.c: Remove.
2739         * gdb.arch/ppc64-atomic-inst.S: New file.
2740         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2741
2742 2014-03-31  Doug Evans  <dje@google.com>
2743
2744         * gdb.base/print-symbol-loading-lib.c: New file.
2745         * gdb.base/print-symbol-loading-main.c: New file.
2746         * gdb.base/print-symbol-loading.exp: New file.
2747
2748 2014-03-31  Yao Qi  <yao@codesourcery.com>
2749
2750         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2751
2752 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
2753
2754         * gdb.ada/mi_dyn_arr: New testcase.
2755
2756 2014-03-27  Doug Evans  <dje@google.com>
2757
2758         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2759
2760 2014-03-27  Yao Qi  <yao@codesourcery.com>
2761
2762         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2763         if target is nios2-*-*.
2764
2765 2014-03-26  Yao Qi  <yao@codesourcery.com>
2766
2767         * lib/gdb.exp (readline_is_used): New proc.
2768         * gdb.base/completion.exp: Move tests on command complete up.
2769         Skip the rest of tests if readline is not used.
2770         * gdb.ada/complete.exp: Skp the test if readline is not
2771         used.
2772         * gdb.base/filesym.exp: Likewise.
2773         * gdb.base/macscp.exp: Likewise.
2774         * gdb.base/readline-ask.exp: Likewise.
2775         * gdb.base/readline.exp: Likewise.
2776         * gdb.python/py-cmd.exp: Likewise.
2777         * gdb.trace/tfile.exp: Likewise.
2778
2779 2014-03-26  Yao Qi  <yao@codesourcery.com>
2780
2781         * gdb.base/macscp.exp: Fix code format issues.
2782
2783 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
2784
2785         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2786         * gdb.asm/powerpc64le.inc: New file.
2787
2788 2014-03-25  Pedro Alves  <palves@redhat.com>
2789             Doug Evans  <dje@google.com>
2790
2791         * gdb.base/source-execution.c: New file.
2792         * gdb.base/source-execution.exp: New file.
2793         * gdb.base/source-execution.gdb: New file.
2794
2795 2014-03-24  Doug Evans  <dje@google.com>
2796
2797         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2798         using fission.
2799
2800 2014-03-24  Hui Zhu  <hui@codesourcery.com>
2801             Pedro Alves  <palves@redhat.com>
2802
2803         PR breakpoints/16101
2804         * gdb.base/dprintf.exp: Use unsupported rather than changing the
2805         test pass/fail messages.  Detect missing support for dprintf when
2806         breakpoints are actually inserted.
2807         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2808         breakpoints are actually inserted.
2809         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2810         fails.
2811
2812 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2813
2814         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2815
2816 2014-03-22  Doug Evans  <xdje42@gmail.com>
2817
2818         * gdb.python/python.exp (python not supported): Verify multi-line
2819         python command issues an error.
2820         * gdb.guile/guile.exp (guile not supported): Verify multi-line
2821         guile command issues an error.
2822
2823 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
2824
2825         * gdb.threads/thread-specific.exp: Handle the lack of usable
2826         $this_breakpoint and $this_thread.
2827
2828 2014-03-21  Hui Zhu  <hui@codesourcery.com>
2829
2830         * gdb.base/attach.exp (do_command_attach_tests): New.
2831
2832 2014-03-20  Tom Tromey  <tromey@redhat.com>
2833             Pedro Alves  <palves@redhat.com>
2834
2835         PR cli/15718
2836         * gdb.base/condbreak-call-false.c: New file.
2837         * gdb.base/condbreak-call-false.exp: New file.
2838
2839 2014-03-20  Pedro Alves  <palves@redhat.com>
2840
2841         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2842         Delete.
2843         (block_signals, unblock_signals): Delete.
2844         (child_function_2, main): Remove references to deleted variable
2845         and functions.
2846
2847 2014-03-20  Pedro Alves  <palves@redhat.com>
2848
2849         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2850         Use pthread_kill to signal thread 2.
2851         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2852         Adjust to make the test send itself a signal rather than using the
2853         host's "kill" command.
2854
2855 2014-03-20  Pedro Alves  <palves@redhat.com>
2856
2857         * gdb.threads/multiple-step-overs.c: New file.
2858         * gdb.threads/multiple-step-overs.exp: New file.
2859         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2860         Adjust expected infrun debug output.
2861
2862 2014-03-20  Pedro Alves  <palves@redhat.com>
2863
2864         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2865         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2866
2867 2014-03-20  Pedro Alves  <palves@redhat.com>
2868
2869         PR breakpoints/7143
2870         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2871         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
2872         of gdb_test_multiple.
2873         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2874         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2875
2876 2014-03-20  Pedro Alves  <palves@redhat.com>
2877
2878         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2879         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2880
2881 2014-03-19  Pedro Alves  <palves@redhat.com>
2882
2883         * gdb.base/async.exp: Remove early return.
2884
2885 2014-03-19  Pedro Alves  <palves@redhat.com>
2886
2887         * gdb.base/async.exp (step& tests): Pass explicit test messages.
2888
2889 2014-03-19  Pedro Alves  <palves@redhat.com>
2890
2891         * gdb.base/async.exp (test_background): Expect \r\n after
2892         "completed." in the fail pattern.
2893
2894 2014-03-19  Pedro Alves  <palves@redhat.com>
2895
2896         * gdb.base/async.exp (test_background): New procedure.
2897         Use it for all background execution command tests.
2898
2899 2014-03-19  Pedro Alves  <palves@redhat.com>
2900
2901         * gdb.base/async.exp: Use prepare_for_testing.
2902
2903 2014-03-19  Pedro Alves  <palves@redhat.com>
2904
2905         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
2906         the same line.
2907
2908 2014-03-19  Pedro Alves  <palves@redhat.com>
2909
2910         * gdb.base/async.c (main): Add "jump here" and "until here" line
2911         marker comments.
2912         * gdb.base/async.exp (jump_here): New global.
2913         (jump& test): Use it.
2914         (until_here): New global.
2915         (until& test): Use it.
2916
2917 2014-03-19  Pedro Alves  <palves@redhat.com>
2918
2919         * gdb.base/async.exp: Don't frob gdb_protocol.
2920
2921 2014-03-18  Doug Evans  <xdje42@gmail.com>
2922
2923         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
2924         Fix spelling of exec-done-display.
2925
2926 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2927
2928         PR gdb/15358
2929         * gdb.base/gdb-sigterm.c: New file.
2930         * gdb.base/gdb-sigterm.exp: New file.
2931
2932 2014-03-18  Pedro Alves  <palves@redhat.com>
2933
2934         PR gdb/13860
2935         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2936         * lib/mi-support.exp (mi_expect_stop): Add special handling for
2937         solib-event.
2938
2939 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
2940
2941         * gdb.ada/pckd_arr_ren: New testcase.
2942
2943 2014-03-13  Doug Evans  <xdje42@gmail.com>
2944
2945         PR guile/16612
2946         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2947         collect after discarding symbols.
2948
2949 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
2950             Doug Evans  <xdje42@gmail.com>
2951
2952         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2953         to history survives a gc.
2954
2955 2014-03-13  Pedro Alves  <palves@redhat.com>
2956
2957         * gdb.base/default.exp: Don't test "target procfs".
2958
2959 2014-03-13  Pedro Alves  <palves@redhat.com>
2960
2961         * gdb.base/default.exp: Update "target child" and "target procfs"
2962         tests to not expect "Unix".
2963
2964 2014-03-12  Tom Tromey  <tromey@redhat.com>
2965
2966         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2967         New procs.  Add target-async tests.
2968         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2969         Add target-async tests.
2970
2971 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2972
2973         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2974         'func_start' and 'func_end' for the beginning and end of the
2975         function code, respectively.
2976         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2977         'func_end' instead of 'func' and 'main'.
2978
2979 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2980
2981         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2982         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2983         generate the debug info assembler source.
2984
2985 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2986
2987         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2988         * gdb.dwarf2/arr-subrange.exp: Likewise.
2989         * gdb.dwarf2/dwz.exp: Likewise.
2990         * gdb.dwarf2/method-ptr.exp: Likewise.
2991         * gdb.dwarf2/missing-sig-type.exp: Likewise.
2992         * gdb.dwarf2/subrange.exp: Likewise.
2993         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2994         * gdb.dwarf2/implptrpiece.exp: Likewise.
2995         * gdb.dwarf2/nostaticblock.exp: Likewise.
2996
2997 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2998
2999         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3000         directory to absolute path name arguments.
3001
3002 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
3003
3004         * gdb.ada/tagged_access: New testcase.
3005
3006 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
3007
3008         * gdb.btrace/data.exp: Update expected output.
3009
3010 2014-03-06  Yao Qi  <yao@codesourcery.com>
3011
3012         * gdb.trace/pr16508.exp: New file.
3013
3014 2014-03-05  Pedro Alves  <palves@redhat.com>
3015
3016         PR gdb/16575
3017         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3018         procedure.
3019         (top level): Adjust to use it.  Add tests that exercise breakpoint
3020         interaction with the code-cache.
3021
3022 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
3023
3024         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3025         test for 'history-append!'.
3026
3027 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
3028
3029         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3030         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3031         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3032         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3033         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3034         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3035
3036 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
3037
3038         * testsuite/gdb.python/py-pp-re-notag.c: New file.
3039         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3040         * testsuite/gdb.python/py-pp-re-notag.p: New file.
3041
3042 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
3043
3044         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3045
3046 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
3047
3048         * gdb.dwarf2/arr-stride.c: New file.
3049         * gdb.dwarf2/arr-stride.exp: New file.
3050
3051 2014-02-26  Pedro Alves  <palves@redhat.com>
3052
3053         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3054         that won't ever trigger.  Make sure that GDB reports the correct
3055         breakpoint that caused the stop.
3056
3057 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3058
3059         PR gdb/16626
3060         * gdb.base/auto-load-script: New file.
3061         * gdb.base/auto-load.c: New file.
3062         * gdb.base/auto-load.exp: New file.
3063
3064         PR gdb/16626
3065         * gdb.base/auto-load.exp: Fix out-of-srctree run.
3066
3067 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3068
3069         Fix dw2-icycle.exp -fsanitize=address GDB crash.
3070         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3071
3072 2014-02-24  Doug Evans  <dje@google.com>
3073
3074         * lib/gdb.exp (run_on_host): Log error output if program fails.
3075
3076 2014-02-21  Pedro Alves  <palves@redhat.com>
3077
3078         * gdb.threads/step-after-sr-lock.c: Rename to ...
3079         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3080         * gdb.threads/step-after-sr-lock.exp: Rename to ...
3081         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3082         ... this.
3083
3084 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
3085
3086         PR tdep/16397
3087         * gdb.arch/amd64-stap-special-operands.exp: New file.
3088         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3089         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3090         * gdb.arch/amd64-stap-triplet.S: Likewise.
3091         * gdb.arch/amd64-stap-triplet.c: Likewise.
3092
3093 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
3094
3095         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3096         in .section pseudo-op.
3097
3098 2014-02-20  lin zuojian  <manjian2006@gmail.com>
3099             Joel Brobecker  <brobecker@adacore.com>
3100             Doug Evans  <xdje42@gmail.com>
3101
3102         PR symtab/16581
3103         * gdb.dwarf2/dw2-icycle.S: New file.
3104         * gdb.dwarf2/dw2-icycle.c: New file.
3105         * gdb.dwarf2/dw2-icycle.exp: New file.
3106
3107 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
3108
3109         * gdb.python/py-value-cc.cc: Improve test case to enable testing
3110         operations on gdb.Value objects.
3111         * gdb.python/py-value-cc.exp: Add new test to test operations on
3112         gdb.Value objects.
3113
3114 2014-02-18  Doug Evans  <dje@google.com>
3115
3116         * Makefile.in (TESTS): New variable.
3117         (expanded_tests, expanded_tests_or_none): New variables
3118         (check-single): Pass $(expanded_tests_or_none) to runtest.
3119         (check-parallel): Only run tests in $(TESTS) if non-empty.
3120         (check/no-matching-tests-found): New rule.
3121         * README: Document TESTS makefile variable.
3122
3123 2014-02-18  Doug Evans  <dje@google.com>
3124
3125         * Makefile.in (check-parallel): rm -rf outputs temp.
3126
3127 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3128
3129         Fix "ERROR: no fileid for" in the testsuite.
3130         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3131
3132 2014-02-12  Doug Evans  <dje@google.com>
3133
3134         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3135         (MISCELLANEOUS): New variable.
3136         (clean): rm -rf $(MISCELLANEOUS).
3137         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3138         dwp live in the same directory as symlinks, with each symlink pointed
3139         to a differently named file in a different directory.
3140
3141 2014-02-11  Doug Evans  <dje@google.com>
3142
3143         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3144         of Tcl file commands.
3145
3146 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
3147
3148         * gdb.threads/step-after-sr-lock.exp: Avoid executing
3149         "kill -SIGUSR1 -1".
3150
3151 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3152
3153         * gdb.ada/tick_length_array_enum_idx: New testcase.
3154
3155 2014-02-10  Doug Evans  <xdje42@gmail.com>
3156
3157         * configure.ac (AC_OUTPUT): Add gdb.guile.
3158         * configure: Regenerate.
3159         * lib/gdb-guile.exp: New file.
3160         * lib/gdb.exp (get_target_charset): New function.
3161         * gdb.base/help.exp: Update expected output from "apropos apropos".
3162         * gdb.guile/Makefile.in: New file.
3163         * gdb.guile/guile.exp: New file.
3164         * gdb.guile/scm-arch.c: New file.
3165         * gdb.guile/scm-arch.exp: New file.
3166         * gdb.guile/scm-block.c: New file.
3167         * gdb.guile/scm-block.exp: New file.
3168         * gdb.guile/scm-breakpoint.c: New file.
3169         * gdb.guile/scm-breakpoint.exp: New file.
3170         * gdb.guile/scm-disasm.c: New file.
3171         * gdb.guile/scm-disasm.exp: New file.
3172         * gdb.guile/scm-equal.c: New file.
3173         * gdb.guile/scm-equal.exp: New file.
3174         * gdb.guile/scm-error.exp: New file.
3175         * gdb.guile/scm-error.scm: New file.
3176         * gdb.guile/scm-frame-args.c: New file.
3177         * gdb.guile/scm-frame-args.exp: New file.
3178         * gdb.guile/scm-frame-args.scm: New file.
3179         * gdb.guile/scm-frame-inline.c: New file.
3180         * gdb.guile/scm-frame-inline.exp: New file.
3181         * gdb.guile/scm-frame.c: New file.
3182         * gdb.guile/scm-frame.exp: New file.
3183         * gdb.guile/scm-generics.exp: New file.
3184         * gdb.guile/scm-gsmob.exp: New file.
3185         * gdb.guile/scm-iterator.c: New file.
3186         * gdb.guile/scm-iterator.exp: New file.
3187         * gdb.guile/scm-math.c: New file.
3188         * gdb.guile/scm-math.exp: New file.
3189         * gdb.guile/scm-objfile-script-gdb.in: New file.
3190         * gdb.guile/scm-objfile-script.c: New file.
3191         * gdb.guile/scm-objfile-script.exp: New file.
3192         * gdb.guile/scm-objfile.c: New file.
3193         * gdb.guile/scm-objfile.exp: New file.
3194         * gdb.guile/scm-ports.exp: New file.
3195         * gdb.guile/scm-pretty-print.c: New file.
3196         * gdb.guile/scm-pretty-print.exp: New file.
3197         * gdb.guile/scm-pretty-print.scm: New file.
3198         * gdb.guile/scm-section-script.c: New file.
3199         * gdb.guile/scm-section-script.exp: New file.
3200         * gdb.guile/scm-section-script.scm: New file.
3201         * gdb.guile/scm-symbol.c: New file.
3202         * gdb.guile/scm-symbol.exp: New file.
3203         * gdb.guile/scm-symtab-2.c: New file.
3204         * gdb.guile/scm-symtab.c: New file.
3205         * gdb.guile/scm-symtab.exp: New file.
3206         * gdb.guile/scm-type.c: New file.
3207         * gdb.guile/scm-type.exp: New file.
3208         * gdb.guile/scm-value-cc.cc: New file.
3209         * gdb.guile/scm-value-cc.exp: New file.
3210         * gdb.guile/scm-value.c: New file.
3211         * gdb.guile/scm-value.exp: New file.
3212         * gdb.guile/source2.scm: New file.
3213         * gdb.guile/types-module.cc: New file.
3214         * gdb.guile/types-module.exp: New file.
3215
3216 2014-02-10  Yao Qi  <yao@codesourcery.com>
3217
3218         PR testsuite/16543
3219         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3220         * configure: Regenerated.
3221         * Makefile.in: New file.
3222
3223 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3224
3225         * gdb.python/py-framefilter.exp: Fix typo.
3226
3227 2014-02-08  Yao Qi  <yao@codesourcery.com>
3228
3229         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3230         that no =breakpoint-modified is emitted when breakpoints are
3231         modified through MI commands.
3232
3233 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
3234             Pedro Alves  <palves@redhat.com>
3235
3236         * gdb.threads/step-after-sr-lock.c: New file.
3237         * gdb.threads/step-after-sr-lock.exp: New file.
3238
3239 2014-02-07  Pedro Alves  <palves@redhat.com>
3240
3241         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3242
3243 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3244
3245         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3246         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3247
3248 2014-02-06  Doug Evans  <xdje42@gmail.com>
3249
3250         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3251         output.
3252
3253         * gdb.gdb/python-interrupts.exp: New file.
3254
3255 2014-02-05  Yao Qi  <yao@codesourcery.com>
3256
3257         * gdb.trace/report.exp (use_collected_data): Test the output
3258         of "info threads" and "info inferiors".
3259
3260 2014-02-05  Yao Qi  <yao@codesourcery.com>
3261
3262         Revert this patch:
3263
3264         2013-05-24  Yao Qi  <yao@codesourcery.com>
3265
3266         * gdb.trace/tfile.exp: Test inferior and thread.
3267
3268 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
3269
3270         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3271         on a function.
3272         * gdb.base/step-bt.c: Call hello via function pointer to make
3273         sure its first instruction is executed on powerpc64le-linux.
3274
3275 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
3276
3277         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3278
3279 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
3280
3281         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
3282         of the test patterns for use on little-endian systems.
3283
3284 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
3285
3286         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3287         (decimal_vector): Fix for little-endian.
3288
3289 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
3290
3291         * gdb.arch/sparc-sysstep.exp: New file.
3292         * gdb.arch/sparc-sysstep.c: Likewise.
3293
3294         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3295
3296 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3297
3298         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3299
3300 2014-01-23  Tom Tromey  <tromey@redhat.com>
3301
3302         * gdb.ada/array_char_idx: New testcase.
3303
3304 2014-01-23  Tom Tromey  <tromey@redhat.com>
3305
3306         PR python/16487:
3307         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3308         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3309         classes.
3310
3311 2014-01-23  Tom Tromey  <tromey@redhat.com>
3312
3313         PR python/16491:
3314         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3315         string from an inferior frame.
3316         * gdb.python/py-framefilter-mi.exp: Update.
3317
3318 2014-01-22  Doug Evans  <dje@google.com>
3319
3320         * gdb.server/server-mon.exp: Add tests for "set debug-format".
3321
3322 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
3323
3324         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3325
3326 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
3327
3328         * gdb.trace/entry-values.exp: Remove excess space character from
3329         regex patterns.  Handle s390 call instruction.
3330
3331 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
3332
3333         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3334         define "*_start" label.  Make "name" static.
3335         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3336         ${name} by references to ${name}_start.
3337
3338 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
3339
3340         * gdb.base/info-macros.exp: Remove "debug" from the compile
3341         options.
3342
3343 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
3344
3345         * gdb.dlang/demangle.exp: New file.
3346
3347 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
3348
3349         * gdb.dlang/primitive-types.exp: New file.
3350
3351 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
3352
3353         * configure.ac: Create gdb.dlang/Makefile.
3354         * configure: Regenerate.
3355         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3356         * gdb.dlang/Makefile.in: New file.
3357         * lib/d-support.exp: New file.
3358         * lib/gdb.exp (skip_d_tests): New proc.
3359
3360 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3361
3362         * gdb.btrace/delta.exp: Check reverse stepi.
3363         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
3364         * gdb.btrace/finish.exp: New.
3365         * gdb.btrace/next.exp: New.
3366         * gdb.btrace/nexti.exp: New.
3367         * gdb.btrace/record_goto.c: Add comments.
3368         * gdb.btrace/step.exp: New.
3369         * gdb.btrace/stepi.exp: New.
3370         * gdb.btrace/multi-thread-step.c: New.
3371         * gdb.btrace/multi-thread-step.exp: New.
3372         * gdb.btrace/rn-dl-bind.c: New.
3373         * gdb.btrace/rn-dl-bind.exp: New.
3374         * gdb.btrace/data.c: New.
3375         * gdb.btrace/data.exp: New.
3376         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3377
3378 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3379
3380         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3381         * gdb.btrace/exception.exp: Update.
3382         * gdb.btrace/instruction_history.exp: Update.
3383         * gdb.btrace/record_goto.exp: Update.
3384         * gdb.btrace/tailcall.exp: Update.
3385         * gdb.btrace/unknown_functions.exp: Update.
3386         * gdb.btrace/delta.exp: New.
3387
3388 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3389
3390         * gdb.btrace/record_goto.exp: Add backtrace test.
3391         * gdb.btrace/tailcall.exp: Add backtrace test.
3392
3393 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3394
3395         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3396         * gdb.btrace/record_goto.c: New.
3397         * gdb.btrace/record_goto.exp: New.
3398         * gdb.btrace/x86-record_goto.S: New.
3399
3400 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3401
3402         * gdb.btrace/function_call_history.exp: Update tests.
3403         * gdb.btrace/instruction_history.exp: Update tests.
3404
3405 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3406
3407         * gdb.btrace/function_call_history.exp: Fix expected field
3408         order for "record function-call-history".
3409         Add new tests for "record function-call-history /c".
3410         * gdb.btrace/exception.cc: New.
3411         * gdb.btrace/exception.exp: New.
3412         * gdb.btrace/tailcall.exp: New.
3413         * gdb.btrace/x86-tailcall.S: New.
3414         * gdb.btrace/x86-tailcall.c: New.
3415         * gdb.btrace/unknown_functions.c: New.
3416         * gdb.btrace/unknown_functions.exp: New.
3417         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3418
3419 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3420
3421         * gdb.btrace/instruction_history.exp: Update.
3422         * gdb.btrace/function_call_history.exp: Update.
3423
3424 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3425
3426         * gdb.btrace/function_call_history.exp: Fix expected function
3427         trace.
3428         * gdb.btrace/instruction_history.exp: Initialize traced.
3429         Remove traced_functions.
3430
3431 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3432
3433         * gdb.btrace/function_call_history.exp: Update
3434         * gdb.btrace/instruction_history.exp: Update.
3435
3436 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
3437
3438         * gdb.btrace/enable.exp: Update expected text.
3439
3440 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
3441
3442         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3443         bytes.
3444
3445 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
3446
3447         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3448
3449 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
3450
3451         * lib/gdb.exp (supports_process_record): Return true for
3452         arm*-linux*.  (supports_reverse): Likewise.
3453
3454 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
3455
3456         PR python/15464
3457         PR python/16113
3458         * gdb.python/py-type.c: Enhance test case.
3459         * gdb.python/py-value-cc.cc: Likewise
3460         * gdb.python/py-type.exp: Add new tests.
3461         * gdb.python/py-value-cc.exp: Likewise
3462
3463 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3464             Pedro Alves <palves@redhat.com>
3465
3466         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3467         Make "name" extern.
3468         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3469         references to ${name}_start by references to ${name}.
3470
3471 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
3472
3473         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3474
3475 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
3476
3477         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3478
3479 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
3480             Pedro Alves  <palves@redhat.com>
3481
3482         * gdb.mi/mi-info-os.exp: Connect to the target with
3483         mi_gdb_target_load.
3484
3485 2014-01-08  Pedro Alves  <palves@redhat.com>
3486
3487         * gdb.threads/reconnect-signal.c: New file.
3488         * gdb.threads/reconnect-signal.exp: New file.
3489
3490 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3491
3492         * gdb.base/source-dir.exp: New file.
3493
3494 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
3495
3496         * gdb.ada/mi_interface: New testcase.
3497
3498 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
3499
3500         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3501         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3502         gdb.ada/pp-rec-component/pck.ads: New files.
3503
3504 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
3505
3506         * gdb.python/py-pp-integral.c: New file.
3507         * gdb.python/py-pp-integral.py: New file.
3508         * gdb.python/py-pp-integral.exp: New file.
3509
3510 For older changes see ChangeLog-1993-2013.
3511 \f
3512 ;; Local Variables:
3513 ;; mode: change-log
3514 ;; left-margin: 8
3515 ;; fill-column: 74
3516 ;; version-control: never
3517 ;; End:
3518
3519     Copyright 2014 Free Software Foundation, Inc.
3520   Copying and distribution of this file, with or without modification,
3521   are permitted provided the copyright notice and this notice are preserved.