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