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