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