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