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