]> Git Repo - binutils.git/blob - gdb/testsuite/ChangeLog
Fix compile.exp error message expectation
[binutils.git] / gdb / testsuite / ChangeLog
1 2015-10-25  Jan Kratochvil  <[email protected]>
2
3         * gdb.compile/compile.exp (compile code globalvar): Update expectation
4         for a change by "Mention language in compile error message".
5
6 2015-10-21  Simon Marchi  <[email protected]>
7
8         PR python/18073
9         * gdb.python/py-type.c (C::a_method): New.
10         (C::a_const_method): New.
11         (C::a_static_method): New.
12         (a_function): New.
13         * gdb.python/py-type.exp (test_fields): Test getting fields
14         from function and method.
15
16 2015-10-21  Keven Boell  <[email protected]>
17
18         * gdb.fortran/vla-alloc-assoc.exp: New file.
19         * gdb.fortran/vla-datatypes.exp: New file.
20         * gdb.fortran/vla-datatypes.f90: New file.
21         * gdb.fortran/vla-history.exp: New file.
22         * gdb.fortran/vla-ptype-sub.exp: New file.
23         * gdb.fortran/vla-ptype.exp: New file.
24         * gdb.fortran/vla-sizeof.exp: New file.
25         * gdb.fortran/vla-sub.f90: New file.
26         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
27         * gdb.fortran/vla-value-sub-finish.exp: New file.
28         * gdb.fortran/vla-value-sub.exp: New file.
29         * gdb.fortran/vla-value.exp: New file.
30         * gdb.fortran/vla-ptr-info.exp: New file.
31         * gdb.mi/mi-vla-fortran.exp: New file.
32         * gdb.mi/vla.f90: New file.
33
34 2015-10-21  Sandra Loosemore  <[email protected]>
35
36         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
37         of hardwired timeout value.
38
39 2015-10-20  Jan Kratochvil  <[email protected]>
40             Pedro Alves  <[email protected]>
41
42         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
43         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
44
45 2015-10-19  Josh Stone  <[email protected]>
46
47         * gdb.base/catch-syscall.c: Include <sched.h>.
48         (unknown_syscall): New variable.
49         (main): Trigger a vfork and an unknown syscall.
50         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
51         (unknown_syscall_number): Likewise.
52         (check_call_to_syscall): Accept an optional syscall pattern.
53         (check_return_from_syscall): Likewise.
54         (check_continue): Likewise.
55         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
56         (test_catch_syscall_skipping_return): New test toggling off 'catch
57         syscall' to step over the syscall return, then toggling back on.
58         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
59         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
60         (do_syscall_tests): Call test_catch_syscall_without_args and
61         test_catch_syscall_mid_vfork.
62         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
63         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
64
65 2015-10-19  Andrew Stubbs  <[email protected]>
66
67         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
68         print g_vE): Add new pass patterns.
69         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
70         print various symbol names for vptr fields.
71
72 2015-10-12  Andrew Burgess  <[email protected]>
73
74         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
75         results.
76
77 2015-10-12  Yao Qi  <[email protected]>
78
79         * gdb.arch/disp-step-insn-reloc.exp: New test case.
80
81 2015-10-12  Yao Qi  <[email protected]>
82
83         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
84         is aarch64*-*-linux*.
85
86 2015-10-12  Yao Qi  <[email protected]>
87
88         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
89         (can_relocate_bcond_true): ... it.
90         (can_relocate_bcond_false): New function.
91         (foo): Likewise.
92         (can_relocate_bl): Likewise.
93         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
94         can_relocate_bl.
95
96 2015-10-12  Pierre-Marie de Rodat  <[email protected]>
97
98         * gdb.base/nested-addr.c: New file.
99         * gdb.base/nested-addr.exp: New testcase.
100
101 2015-10-09  Markus Metzger  <[email protected]>
102
103         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
104         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
105         its output.  Ignore the output of "record goto begin" and instead
106         check that GDB is replaying.
107
108 2015-10-09  Pedro Alves  <[email protected]>
109
110         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
111         (top level): Use it in the run with no args test.
112
113 2015-10-08  Iain Buclaw  <[email protected]>
114
115         * gdb.dlang/properties.exp: New file.
116
117 2015-10-02  Sandra Loosemore  <[email protected]>
118
119         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
120         whether or not address 0x1000 is mapped on the target.
121
122 2015-09-30  Simon Marchi  <[email protected]>
123
124         * gdb.python/py-type.exp: Do not run tests if binaries fail to
125         build.
126
127 2015-09-30  Markus Metzger  <[email protected]>
128
129         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
130         instruction-history test.
131
132 2015-09-28  Doug Evans  <[email protected]>
133
134         * gdb.base/gcore.c (array_func): Add reference to static_array.
135
136 2015-09-25  Simon Marchi  <[email protected]>
137
138         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
139         source line.
140
141 2015-09-24 Sandra Loosemore <[email protected]>
142
143         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
144         short or char as base type.
145
146 2015-09-23 Sandra Loosemore <[email protected]>
147
148         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
149         to allow any size enum.
150
151 2015-09-23  Pierre-Marie de Rodat  <[email protected]>
152
153         * gdb.ada/array_ptr_renaming.exp: New testcase.
154         * gdb.ada/array_ptr_renaming/foo.adb: New file.
155         * gdb.ada/array_ptr_renaming/pack.ads: New file.
156
157 2015-09-21  Pierre Langlois  <[email protected]>
158
159         * gdb.trace/ftrace-lock.c: New file.
160         * gdb.trace/ftrace-lock.exp: New file.
161
162 2015-09-21  Pierre Langlois  <[email protected]>
163
164         * gdb.arch/insn-reloc.c: New file.
165         * gdb.arch/ftrace-insn-reloc.exp: New file.
166
167 2015-09-21  Pierre Langlois  <[email protected]>
168
169         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
170         instruction.
171         * gdb.trace/pendshr1.c (pendfunc): Likewise.
172         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
173         * gdb.trace/range-stepping.c: Likewise.
174         * gdb.trace/trace-break.c: Likewise.
175         * gdb.trace/trace-mt.c (thread_function): Likewise.
176         * gdb.trace/ftrace.c (marker): Likewise.
177         * gdb.trace/trace-condition.c (marker): Likewise.
178         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
179         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
180         is_aarch64_target.
181
182 2015-09-18  Doug Evans  <[email protected]>
183
184         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
185         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
186
187 2015-09-18  Sandra Loosemore  <[email protected]>
188
189         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
190         the breakpoint.
191
192 2015-09-18  Sandra Loosemore  <[email protected]>
193
194         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
195         the pending breakpoint.  Remove timeout override for "Run till
196         MI pending breakpoint on pendfunc3 on thread 2" test.
197
198 2015-09-18  Sandra Loosemore  <[email protected]>
199
200         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
201         filename pattern.
202
203 2015-09-18  Sandra Loosemore  <[email protected]>
204
205         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
206         in breakpoint filename pattern.
207
208 2015-09-18  Sandra Loosemore  <[email protected]>
209
210         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
211
212 2015-09-18  Sandra Loosemore  <[email protected]>
213
214         * gdb.linespec/explicit.exp: Check for readline support for
215         tab-completion tests.  Fix obvious typo.
216
217 2015-09-18  Markus Metzger  <[email protected]>
218
219         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
220         and replay.
221
222 2015-09-18  Markus Metzger  <[email protected]>
223
224         * gdb.btrace/non-stop.c: New.
225         * gdb.btrace/non-stop.exp: New.
226
227 2015-09-17  Pierre Langlois  <[email protected]>
228             Yao Qi  <[email protected]>
229
230         * gdb.trace/trace-condition.c: New file.
231         * gdb.trace/trace-condition.exp: New file.
232
233 2015-09-16  Wei-cheng Wang  <[email protected]>
234
235         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
236         for testing bytecode compilation.
237
238 2015-09-16  Pedro Alves  <[email protected]>
239             Sandra Loosemore <[email protected]>
240
241         * gdb.threads/non-stop-fair-events.c (timeout): New global.
242         (SECONDS): Redefine.
243         (main): Call pthread_kill and alarm early.
244         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
245         support.
246         (test): If the target can't hardware step and doesn't support
247         displaced stepping, increase the timeout.
248
249 2015-09-16  Pedro Alves  <[email protected]>
250
251         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
252         (enable_debug): New procedures.
253         (test): Use them.  Bail out if waiting for threads fails.
254         (top level): Bail out if a test fails.
255
256 2015-09-16  Yao Qi  <[email protected]>
257
258         * gdb.asm/asm-source.exp: Set asm-arch for
259         aarch64*-*-* target.
260         * gdb.asm/aarch64.inc: New file.
261
262 2015-09-15  Pierre-Marie de Rodat  <[email protected]>
263
264         * gdb.ada/array_of_variable_length.exp: New testcase.
265         * gdb.ada/array_of_variable_length/foo.adb: New file.
266         * gdb.ada/array_of_variable_length/pck.adb: New file.
267         * gdb.ada/array_of_variable_length/pck.ads: New file.
268
269 2015-09-15  Doug Evans  <[email protected]>
270
271         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
272         of function static local variable.
273
274 2015-09-15  Philippe Waroquiers  <[email protected]>
275
276         * gdb.threads/tls-so_extern.exp: New test file.
277         * gdb.threads/tls-so_extern.c: New test file.
278         * gdb.threads/tls-so_extern_main.c: New test file.
279
280 2015-09-15  Jan Kratochvil  <[email protected]>
281
282         * gdb.opt/solib-intra-step-lib.c: New file.
283         * gdb.opt/solib-intra-step-main.c: New file.
284         * gdb.opt/solib-intra-step.exp: New file.
285
286 2015-09-15  Pedro Alves  <[email protected]>
287
288         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
289         gdb_continue_to_breakpoint instead of gdb_test_multiple.
290
291 2015-09-14  Pedro Alves  <[email protected]>
292
293         * gdb.base/hook-stop-continue.c: Delete.
294         * gdb.base/hook-stop-continue.exp: Delete.
295         * gdb.base/hook-stop-frame.c: Delete.
296         * gdb.base/hook-stop-frame.exp: Delete.
297         * gdb.base/hook-stop.c: New file.
298         * gdb.base/hook-stop.exp: New file.
299
300 2015-09-14  Pierre-Marie de Rodat  <[email protected]>
301
302         * gdb.ada/access_to_packed_array.exp: New testcase.
303         * gdb.ada/access_to_packed_array/foo.adb: New file.
304         * gdb.ada/access_to_packed_array/pack.adb: New file.
305         * gdb.ada/access_to_packed_array/pack.ads: New file.
306
307 2015-09-14  Markus Metzger  <[email protected]>
308
309         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
310         buffer size test.
311
312 2015-09-11  Don Breazeal  <[email protected]>
313
314         * gdb.base/foll-exec.c: Add copyright header.  Fix
315         formatting issues.
316         * gdb.base/foll-exec.exp (zap_session): Delete proc.
317         (do_exec_tests): Use clean_restart in place of zap_session,
318         and for test initialization.  Fix formatting issues.  Use
319         fail in place of perror.
320         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
321         an expect statement to match an expression with output from
322         the program under debug.
323         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
324         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
325         * gdb.threads/non-ldr-exc-2.exp: Likewise.
326         * gdb.threads/non-ldr-exc-3.exp: Likewise.
327         * gdb.threads/non-ldr-exc-4.exp: Likewise.
328
329 2015-09-09  Doug Evans  <[email protected]>
330
331         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
332
333 2015-09-09  Doug Evans  <[email protected]>
334
335         * gdb.base/pie-execl.exp: Fix result test of build_executable.
336
337 2015-09-09  Doug Evans  <[email protected]>
338
339         * gdb.base/savedregs.exp: Fix typo.
340
341 2015-09-09  Pedro Alves  <[email protected]>
342
343         * gdb.mi/mi-cli.exp: Add CLI finish tests.
344
345 2015-09-08  Sandra Loosemore  <[email protected]>
346
347         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
348         command actually switches threads.  Give up on remaining
349         tests if target fails to stop at breakpoint.
350
351 2015-09-03  Pierre-Marie de Rodat  <[email protected]>
352
353         * gdb.ada/funcall_char.exp: New testcase.
354         * gdb.ada/funcall_char/foo.adb: New file.
355
356 2015-09-01  Pierre-Marie de Rodat  <[email protected]>
357
358         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
359         expected outputs.  Add two testcases for completing ambiguous
360         functions.
361         * gdb.ada/complete/aux_pck.adb: New file.
362         * gdb.ada/complete/aux_pck.ads: New file.
363         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
364         Ambiguous_Func functions.
365         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
366         * gdb.ada/complete/pck.adb: Likewise.
367
368 2015-08-27  Ulrich Weigand  <[email protected]>
369
370         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
371         failures to run the test program under GDB.
372
373 2015-08-26  Luis Machado  <[email protected]>
374
375         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
376         to C.
377
378 2015-08-26  Patrick Palka  <[email protected]>
379
380         * gdb.base/run-after-attach.exp: New test file.
381         * gdb.base/run-after-attach.c: New test file.
382
383 2015-08-26  Don Breazeal  <[email protected]>
384
385         * gdb.base/foll-exec-2.c: New test program.
386         * gdb.base/foll-exec-2.exp: New test.
387
388 2015-08-25  Pierre-Marie de Rodat  <[email protected]>
389
390         * gdb.base/nested-subp1.exp: New file.
391         * gdb.base/nested-subp1.c: New file.
392         * gdb.base/nested-subp2.exp: New file.
393         * gdb.base/nested-subp2.c: New file.
394         * gdb.base/nested-subp3.exp: New file.
395         * gdb.base/nested-subp3.c: New file.
396
397 2015-08-24  Pedro Alves  <[email protected]>
398
399         * gdb.server/connect-without-multi-process.c: New file.
400         * gdb.server/connect-without-multi-process.exp: New file.
401
402 2015-08-24  Luis Machado  <[email protected]>
403
404         * gdb.opt/inline-markers.c: Make z int.
405
406 2015-08-24  Luis Machado  <[email protected]>
407
408         * gdb.opt/inline-markers.c: Make z volatile.
409
410 2015-08-24  Luis Machado  <[email protected]>
411
412         * gdb.opt/inline-bt.c: New volatile global z.
413         * gdb.opt/inline-cmds.c: Likewise.
414         * gdb.opt/inline-locals.c: Likewise.
415         * gdb.opt/inline-markers.c: New extern global z.
416         (marker): Use z.
417         (inline_fn): Likewise.
418
419 2015-08-24  Pedro Alves  <[email protected]>
420
421         * config/m32r-stub.exp: Remove file.
422         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
423         * gdb.base/call-rt-st.exp: Likewise.
424         * gdb.base/call-strs.exp: Likewise.
425         * gdb.base/default.exp: Remove references to h8300-*-hms and
426         *-*-udi*.
427         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
428
429 2015-08-24  Andreas Arnez  <[email protected]>
430
431         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
432         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
433         and "return" use KFAIL when GDB can not read/write the vector
434         return value.
435
436 2015-08-21  Gary Benson <[email protected]>
437
438         * gdb.trace/pending.exp: Cope with remote transfer warnings.
439
440 2015-08-20  Pedro Alves  <[email protected]>
441
442         * gdb.server/solib-list.exp: No longer expect an interior stop in
443         non-stop mode.
444
445 2015-08-20  Pedro Alves  <[email protected]>
446
447         * gdb.server/connect-stopped-target.c: New file.
448         * gdb.server/connect-stopped-target.exp: New file.
449
450 2015-08-20  Pedro Alves  <[email protected]>
451
452         * gdb.dwarf2/comp-unit-lang.exp: New file.
453         * gdb.dwarf2/comp-unit-lang.c: New file.
454
455 2015-08-20  Pierre-Marie de Rodat  <[email protected]>
456
457         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
458         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
459
460 2015-08-19  Kevin Buettner  <[email protected]>
461     
462         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
463         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
464
465 2015-08-18  Doug Evans  <[email protected]>
466             Adrian Sendroiu <[email protected]>
467
468         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
469         skip_python_tests.  New arg prompt_regexp.
470         (skip_python_tests): New function.
471         * lib/mi-support.exp (mi_skip_python_tests): New function.
472         * gdb.python/py-mi-objfile-gdb.py: New file.
473         * gdb.python/py-mi-objfile.c: New file.
474         * gdb.python/py-mi-objfile.exp: New file.
475
476 2015-08-17  Keith Seitz  <[email protected]>
477
478         * gdb.linespec/explicit.exp: Move strace test from here ...
479         * gdb.trace/strace.exp: ... to here.
480
481 2015-08-15  Patrick Palka  <[email protected]>
482
483         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
484         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
485
486 2015-08-14  Doug Evans  <[email protected]>
487
488         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
489         inferior before selecting a new file.
490
491 2015-08-14  Doug Evans  <[email protected]>
492
493         * gdb.mi/mi-disassemble.exp: Update.
494         * gdb.base/disasm-optim.S: New file.
495         * gdb.base/disasm-optim.c: New file.
496         * gdb.base/disasm-optim.h: New file.
497         * gdb.base/disasm-optim.exp: New file.
498
499 2015-08-14  Keith Seitz  <[email protected]>
500
501         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
502         "evaluated-by".
503
504 2015-08-13  Joel Brobecker  <[email protected]>
505
506         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
507
508 2015-08-13  Pierre-Marie de Rodat  <[email protected]>
509
510         * gdb.ada/fun_renaming.exp: New testcase.
511         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
512         * gdb.ada/fun_renaming/pack.adb: New file.
513         * gdb.ada/fun_renaming/pack.ads: New file.
514
515 2015-08-12  Keith Seitz  <[email protected]>
516
517         * gdb.base/dso2dso.exp: Pass basename of source file in call to
518         gdb_get_line_number.
519
520 2015-08-12  Joel Brobecker  <[email protected]>
521
522         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
523         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
524         gdb.base/dso2dso.exp: New files.
525
526 2015-08-12  Sergio Durigan Junior  <[email protected]>
527             Pedro Alves  <[email protected]>
528             Keith Seitz  <[email protected]>
529
530         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
531         GDBFLAGS.
532
533 2015-08-12  Patrick Palka  <[email protected]>
534
535         * gdb.base/gdbhistsize-history.exp
536         (test_histsize_history_setting): Use save_vars.
537         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
538         Use save_vars.
539         (test_no_truncation_of_unlimited_history_file): Use save_vars.
540         * gdb.base/readline.exp: Use save_vars.
541
542 2015-08-12  Patrick Palka  <[email protected]>
543
544         * lib/gdb.exp (save_vars): New proc.
545
546 2015-08-11  Keith Seitz  <[email protected]>
547
548         * gdb.base/help.exp: Update help_breakpoint_text.
549
550 2015-08-11  Keith Seitz  <[email protected]>
551
552         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
553         (at toplevel): Call test_explicit_breakpoints.
554         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
555         breakpoints.
556         * lib/mi-support.exp (mi_make_breakpoint): Add support for
557         breakpoint conditions, "-cond".
558
559 2015-08-11  Keith Seitz  <[email protected]>
560
561         * gdb.linespec/3explicit.c: New file.
562         * gdb.linespec/cpexplicit.cc: New file.
563         * gdb.linespec/cpexplicit.exp: New file.
564         * gdb.linespec/explicit.c: New file.
565         * gdb.linespec/explicit.exp: New file.
566         * gdb.linespec/explicit2.c: New file.
567         * gdb.linespec/ls-errs.exp: Add explicit location tests.
568         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
569         before using in the matching pattern.
570         Clarify that `prefix' is a regular expression.
571
572 2015-08-11  Keith Seitz  <[email protected]>
573
574         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
575         test.
576         Add tests for missing ",FMT" and ",".
577
578 2015-08-10  Doug Evans  <[email protected]>
579             Keith Seitz  <[email protected]>
580
581         PR gdb/17960
582         * gdb.base/completion.exp: Add location completer tests.
583
584 2015-08-07  Pedro Alves  <[email protected]>
585
586         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
587         tests here.
588         (top level): Run do_test with and without displaced stepping.
589
590 2015-08-07  Pedro Alves  <[email protected]>
591
592         * gdb.base/valgrind-disp-step.c: New file.
593         * gdb.base/valgrind-disp-step.exp: New file.
594
595 2015-08-07  Pedro Alves  <[email protected]>
596
597         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
598         Delete function.
599         (main): Add alarm.  Run an infinite loop instead of calling
600         wait_threads.
601         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
602         comment.
603         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
604         Delete function.
605         (main): Add alarm.  Run an infinite loop instead of calling
606         wait_threads.
607         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
608         comment.
609
610 2015-08-07  Pedro Alves  <[email protected]>
611
612         * gdb.base/checkpoint-ns.exp: New file.
613         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
614         standard_testfile.
615
616 2015-08-07  Markus Metzger  <[email protected]>
617
618         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
619         * gdb.btrace/instruction_history.exp: Update.
620         * gdb.btrace/tsx.exp: New.
621         * gdb.btrace/tsx.c: New.
622
623 2015-08-06  Pedro Alves <[email protected]>
624
625         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
626         increase timeout.
627         * gdb.reverse/until-precsave.exp: Bump timeouts.
628
629 2015-08-06  Pedro Alves  <[email protected]>
630
631         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
632
633 2015-08-06  Pedro Alves  <[email protected]>
634
635         PR gdb/18749
636         * gdb.threads/process-dies-while-handling-bp.c: New file.
637         * gdb.threads/process-dies-while-handling-bp.exp: New file.
638
639 2015-08-06  Pedro Alves  <[email protected]>
640
641         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
642         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
643
644 2015-08-05  Pedro Alves  <[email protected]>
645
646         * gdb.threads/next-while-other-thread-longjmps.c: New file.
647         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
648
649 2015-08-03  Sandra Loosemore  <[email protected]>
650
651         * gdb.base/bp-permanent.exp: Report test as unsupported if
652         the target cannot stop at the permanent breakpoint.
653
654 2015-08-03  Doug Evans  <[email protected]>
655
656         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
657         10000.
658
659 2015-08-03  Doug Evans  <[email protected]>
660
661         * Makefile.in (workers/%.worker, build-perf): New rule.
662         (GDB_PERFTEST_MODE): New variable.
663         (check-perf): Use it.
664         (clean): Clean up gdb.perf parallel build subdirs.
665         * lib/build-piece.exp: New file.
666         * lib/gdb.exp (make_gdb_parallel_path): New function
667         (standard_output_file, standard_temp_file): Call it.
668         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
669         of $GDB_PARALLEL.
670         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
671
672 2015-08-03  Doug Evans  <[email protected]>
673
674         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
675         (LOG_FILE_NAME): New global.
676         (TextReporter.__init__): Initialize self.txt_sum.
677         (TextReporter.report): Add support for multiple data-points.
678         Move report to perftest.sum, put raw data in perftest.log.
679         (TextReporter.start): Open sum and log files.
680         (TextReporter.end): Close sum and log files.
681         * gdb.perf/lib/perftest/testresult.py
682         (SingleStatisticTestResult.record): Handle multiple data-points.
683
684 2015-07-31  Pedro Alves  <[email protected]>
685
686         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
687         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
688         kill_wait_spawned_process instead of explicit "kill -9".
689         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
690         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
691         kill_wait_spawned_process.
692         * gdb.base/attach-twice.exp: Likewise.
693         * gdb.base/attach.exp: Likewise.
694         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
695         gdb_test_multiple.
696         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
697         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
698         kill_wait_spawned_process.
699         * gdb.base/valgrind-infcall.exp: Likewise.
700         * gdb.multi/multi-attach.exp: Likewise.
701         * gdb.python/py-prompt.exp: Likewise.
702         * gdb.python/py-sync-interp.exp: Likewise.
703         * gdb.server/ext-attach.exp: Likewise.
704         * gdb.threads/attach-into-signal.exp (corefunc): Use
705         spawn_wait_for_attach, spawn_id_get_pid and
706         kill_wait_spawned_process.
707         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
708         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
709         spawn_id_get_pid and kill_wait_spawned_process.
710         * gdb.threads/attach-stopped.exp (corefunc): Use
711         spawn_wait_for_attach, spawn_id_get_pid and
712         kill_wait_spawned_process.
713         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
714         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
715         kill_wait_spawned_process instead of explicit "kill -9".
716         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
717         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
718         (spawn_wait_for_attach): Use spawn instead of exec to spawn
719         processes.  Don't map cygwin/windows pids here.  Now returns a
720         spawn id list.
721
722 2015-07-30  Sandra Loosemore  <[email protected]>
723
724         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
725         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
726         correct patch.
727
728 2015-07-30  Sandra Loosemore  <[email protected]>
729
730         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
731
732 2015-07-30  Sandra Loosemore  <[email protected]>
733
734         Reapply:
735         2014-05-21  Mark Wielaard  <[email protected]>
736
737         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
738
739 2015-07-30  Pedro Alves  <[email protected]>
740
741         * linux-low.c (handle_extended_wait): Set the child's last
742         reported status to TARGET_WAITKIND_STOPPED.
743
744 2015-07-30  Pedro Alves  <[email protected]>
745
746         PR threads/18600
747         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
748         only shows inferior 1.
749
750 2015-07-30  Simon Marchi  <[email protected]>
751             Pedro Alves  <[email protected]>
752
753         PR threads/18600
754         * gdb.threads/fork-plus-threads.c: New file.
755         * gdb.threads/fork-plus-threads.exp: New file.
756
757 2015-07-29  Patrick Palka  <[email protected]>
758
759         * gdb.base/batch-preserve-term-settings.exp
760         (test_terminal_settings_preserved_after_cli_exit): Use
761         send_quit_command.
762
763 2015-07-29  Pedro Alves  <[email protected]>
764             Don Breazeal  <[email protected]>
765
766         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
767         output from both inferior_spawn_id and gdb_spawn_id.
768
769 2015-07-29  Sergio Durigan Junior  <[email protected]>
770
771         * gdb.threads/attach-into-signal.exp (corefunc): Use
772         with_test_prefix on nested loops, uniquefying the test messages.
773
774 2015-07-29  Sergio Durigan Junior  <[email protected]>
775
776         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
777         commit.
778
779 2015-07-29  Patrick Palka  <[email protected]>
780
781         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
782         New proc.
783         (test_terminal_settings_preserved_after_sigterm): New test.
784
785 2015-07-29  Patrick Palka  <[email protected]>
786
787         * gdb.base/batch-preserve-term-settings.exp
788         (test_terminal_settings_preserved_after_cli_exit): New test.
789
790 2015-07-29  Patrick Palka  <[email protected]>
791
792         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
793         manipulation of saved_gdbflags.
794         (test_terminal_settings_preserved): Remove global declaration of
795         the unused variable pagination_prompt.  Remove manipulation of
796         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
797         GDBFLAGS.
798
799 2015-07-29  Pedro Alves  <[email protected]>
800
801         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
802
803 2015-07-29  Pedro Alves  <[email protected]>
804
805         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
806         at the top.
807
808 2015-07-29  Pedro Alves  <[email protected]>
809
810         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
811         (main): Call gdb_unbuffer_output.
812         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
813         (main): Call gdb_unbuffer_output.
814         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
815         (main): Call gdb_unbuffer_output.
816         * gdb.base/call-strs.exp: Adjust to step over the
817         gdb_unbuffer_output call.
818         * gdb.base/catch-gdb-caused-signals.c: Include
819         "../lib/unbuffer_output.c".
820         (main): Call gdb_unbuffer_output.
821         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
822         (main): Call gdb_unbuffer_output.
823         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
824         (main): Call gdb_unbuffer_output.
825         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
826         (main): Call gdb_unbuffer_output.
827         * gdb.base/shlib-call.exp: Adjust to step over the
828         gdb_unbuffer_output call.
829         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
830         (main): Call gdb_unbuffer_output.
831         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
832         (main): Call gdb_unbuffer_output.
833         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
834         (main): Rename to ...
835         (test): ... this.
836         (main): Reimplement.
837         * gdb.base/varargs.exp: Run to test instead of to main.
838         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
839         (main): Call gdb_unbuffer_output.
840
841 2015-07-29  Pedro Alves  <[email protected]>
842
843         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
844         factore out from mi_continue_dprintf.  For call-style dprintfs,
845         expect dprintf output out of $inferior_spawn_id.
846         (mi_continue_dprintf): Use mi_expect_dprintf.
847         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
848         (main): Call gdb_unbuffer_output.
849
850 2015-07-29  Pedro Alves  <[email protected]>
851
852         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
853         (default_mi_gdb_start): Set inferior_spawn_id instead of
854         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
855         gdb_spawn_id.
856         (mi_gdb_test): Always expect inferior output from both
857         $inferior_spawn_id and $gdb_spawn_id.
858
859 2015-07-29  Pedro Alves  <[email protected]>
860
861         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
862         send_inferior and $inferior_spawn_id.
863
864 2015-07-29  Pedro Alves  <[email protected]>
865
866         * gdb.gdb/complaints.exp (test_initial_complaints)
867         (test_serial_complaints, test_short_complaints): Use
868         gdb_test_stdio.
869         (test_empty_complaint): Handle $inferior_spawn_id !=
870         $gdb_spawn_id.
871
872 2015-07-29  Pedro Alves  <[email protected]>
873
874         * gdb.base/varargs.exp: Use gdb_test_stdio.
875
876 2015-07-29  Pedro Alves  <[email protected]>
877
878         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
879
880 2015-07-29  Pedro Alves  <[email protected]>
881
882         * gdb.base/ending-run.exp: Use gdb_test_stdio.
883
884 2015-07-29  Pedro Alves  <[email protected]>
885
886         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
887         parameter into two new parameters, "inf_result" and "gdb_result".
888         Expect inferior output and gdb output from $inferior_spawn_id and
889         $gdb_spawn_id, respectively.  Adjust all callers.
890
891 2015-07-29  Pedro Alves  <[email protected]>
892
893         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
894         of gdb_test_sequence.
895
896 2015-07-29  Pedro Alves  <[email protected]>
897
898         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
899         (saw_spurious_output): Expect inferior output from
900         $inferior_spawn_id.  Use gdb_test_stdio.
901
902 2015-07-29  Pedro Alves  <[email protected]>
903
904         * gdb.base/dprintf.exp: Use standard_testfile.  Change
905         prepare_for_testing call.
906         (srcfile): Don't set.
907         (restart): New procedure.
908         (test_dprintf): New procecure, use to continue over dprintfs.
909         (test_call, test_agent): New procedures, tests moved here.
910         Restart gdb and recreate dprintfs.  Adjust expected output.
911
912 2015-07-29  Pedro Alves  <[email protected]>
913
914         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
915
916 2015-07-29  Pedro Alves  <[email protected]>
917
918         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
919
920 2015-07-29  Pedro Alves  <[email protected]>
921
922         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
923         gdb_test_stdio.
924
925 2015-07-29  Pedro Alves  <[email protected]>
926
927         * lib/gdb.exp (gdb_test_stdio): New procedure.
928
929 2015-07-29  Pedro Alves  <[email protected]>
930
931         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
932
933 2015-07-29  Pedro Alves  <[email protected]>
934
935         * gdb.base/call-signal-resume.exp: Remove check for
936         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
937         * gdb.base/unwindonsignal.exp: Likewise.
938         * gdb.base/call-signals.c (gen_signal): Remove printf call.
939         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
940
941 2015-07-29  Pedro Alves  <[email protected]>
942
943         * gdb.base/siginfo-addr.c (pass): New function.
944         (handler): Call it iff si_addr is correct.
945         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
946         Set a breakpoint at "pass" and continue to it.
947
948 2015-07-28  Sergio Durigan Junior  <[email protected]>
949
950         * gdb.python/py-objfile.exp: Make some tests have unique names.
951         * gdb.python/py-pp-registration.exp: Likewise.
952
953 2015-07-28  Pedro Alves  <[email protected]>
954
955         * gdb.server/server-exec-info.exp: Issue a "disconnect".
956
957 2015-07-27  Simon Marchi  <[email protected]>
958
959         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
960
961 2015-07-27  Simon Marchi  <[email protected]>
962
963         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
964
965 2015-07-27  Patrick Palka  <[email protected]>
966
967         * gdb.base/gdb-sigterm-2.exp: New test.
968
969 2015-07-25  Doug Evans  <[email protected]>
970
971         Revert:
972         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
973         (workers/%.worker, build-perf): New rule.
974         (GDB_PERFTEST_MODE): New variable.
975         (check-perf): Use it.
976         (clean): Clean up gdb.perf parallel build subdirs.
977         * lib/build-piece.exp: New file.
978         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
979         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
980         name.
981         (standard_temp_file): Ditto.
982         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
983         of $GDB_PARALLEL.
984
985 2015-07-24  Doug Evans  <[email protected]>
986
987         * gdb.perf/lib/perftest/utils.py: New file.
988         * gdb.perf/gm-hello.cc: New file.
989         * gdb.perf/gm-pervasive-typedef.cc: New file.
990         * gdb.perf/gm-pervasive-typedef.h: New file.
991         * gdb.perf/gm-std.cc: New file.
992         * gdb.perf/gm-std.h: New file.
993         * gdb.perf/gm-use-cerr.cc: New file.
994         * gdb.perf/gm-utils.h: New file.
995         * gdb.perf/gmonster-null-lookup.py: New file.
996         * gdb.perf/gmonster-pervasive-typedef.py: New file.
997         * gdb.perf/gmonster-print-cerr.py: New file.
998         * gdb.perf/gmonster-ptype-string.py: New file.
999         * gdb.perf/gmonster-runto-main.py: New file.
1000         * gdb.perf/gmonster-select-file.py: New file.
1001         * gdb.perf/gmonster1-null-lookup.exp: New file.
1002         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1003         * gdb.perf/gmonster1-print-cerr.exp: New file.
1004         * gdb.perf/gmonster1-ptype-string.exp: New file.
1005         * gdb.perf/gmonster1-runto-main.exp: New file.
1006         * gdb.perf/gmonster1-select-file.exp: New file.
1007         * gdb.perf/gmonster1.cc: New file.
1008         * gdb.perf/gmonster1.exp: New file.
1009         * gdb.perf/gmonster2-null-lookup.exp: New file.
1010         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1011         * gdb.perf/gmonster2-print-cerr.exp: New file.
1012         * gdb.perf/gmonster2-ptype-string.exp: New file.
1013         * gdb.perf/gmonster2-runto-main.exp: New file.
1014         * gdb.perf/gmonster2-select-file.exp: New file.
1015         * gdb.perf/gmonster2.cc: New file.
1016         * gdb.perf/gmonster2.exp: New file.
1017
1018 2015-07-24  Doug Evans  <[email protected]>
1019
1020         * gdb.perf/README: New file.
1021         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1022         * lib/gen-perf-test.exp: New file.
1023
1024 2015-07-24  Doug Evans  <[email protected]>
1025
1026         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1027         (PerfTest::startup): New function.
1028         (PerfTest::run): Return result of calling body.
1029         (PerfTest::assemble): Rewrite.
1030         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1031         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1032         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1033         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1034         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1035
1036 2015-07-24  Doug Evans  <[email protected]>
1037
1038         * lib/gdb.exp (clean_restart): Make executable optional.
1039
1040 2015-07-24  Doug Evans  <[email protected]>
1041
1042         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1043         compiler_info references.
1044         * gdb.cp/temargs.exp: Ditto.
1045         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1046         (get_compiler_info): Early exit if already computed.  Set compiler_info
1047         to "unknown" if there was a problem.
1048         (test_compiler_info): Add function comment.  Call get_compiler_info.
1049
1050 2015-07-24  Doug Evans  <[email protected]>
1051
1052         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1053         (workers/%.worker, build-perf): New rule.
1054         (GDB_PERFTEST_MODE): New variable.
1055         (check-perf): Use it.
1056         (clean): Clean up gdb.perf parallel build subdirs.
1057         * lib/build-piece.exp: New file.
1058         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1059         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1060         name.
1061         (standard_temp_file): Ditto.
1062         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1063         of $GDB_PARALLEL.
1064
1065 2015-07-24  Doug Evans  <[email protected]>
1066
1067         * lib/future.exp (gdb_default_target_compile): New option
1068         "early_flags".
1069         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1070         --as-needed.
1071
1072 2015-07-24  Sergio Durigan Junior  <[email protected]>
1073
1074         * gdb.base/catch-syscall.exp: Call gdb_exit before
1075         gdb_skip_xml_test.
1076
1077 2015-07-24  Pedro Alves  <[email protected]>
1078
1079         * gdb.python/py-events.exp: Accept output between the stop event
1080         and the prompt.
1081         * gdb.python/py-evsignal.exp: Likewise.
1082         * gdb.python/py-evthreads.exp: Likewise.
1083
1084 2015-07-24  Pedro Alves  <[email protected]>
1085
1086         PR gdb/18717
1087         * gdb.threads/non-ldr-exit.c: New file.
1088         * gdb.threads/non-ldr-exit.exp: New file.
1089
1090 2015-07-24  Yao Qi  <[email protected]>
1091
1092         * gdb.server/ext-wrapper.exp: Test --wrapper option when
1093         restarting process.
1094
1095 2015-07-24  Yao Qi  <[email protected]>
1096
1097         * gdb.server/ext-restart.exp: New file.
1098
1099 2015-07-24  Yao Qi  <[email protected]>
1100
1101         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1102         argument options.
1103         * gdb.server/ext-wrapper.exp: New file.
1104
1105 2015-07-23  Doug Evans  <[email protected]>
1106
1107         * gdb.dwarf2/dw2-dummy-cu.S: New file.
1108         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1109
1110 2015-07-23  Pierre-Marie de Rodat  <[email protected]>
1111
1112         * gdb.ada/var_arr_typedef.exp: New testcase.
1113         * gdb.ada/var_arr_typedef/pack.adb: New file.
1114         * gdb.ada/var_arr_typedef/pack.ads: New file.
1115         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1116
1117 2015-07-20  Joel Brobecker  <[email protected]>
1118
1119         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1120
1121 2015-07-16  Jan Kratochvil  <[email protected]>
1122
1123         * gdb.arch/i386-biarch-core.exp: Replace istarget
1124         by "complete set gnutarget". Remove expectation for the "core-file"
1125         command.
1126
1127 2015-07-15  Jan Kratochvil  <[email protected]>
1128
1129         Revert the previous commit:
1130         Tests for validate symbol file using build-id.
1131
1132 2015-07-15  Aleksandar Ristovski  <[email protected]
1133
1134         Tests for validate symbol file using build-id.
1135         * gdb.base/solib-mismatch-lib.c: New file.
1136         * gdb.base/solib-mismatch-libmod.c: New file.
1137         * gdb.base/solib-mismatch.c: New file.
1138         * gdb.base/solib-mismatch.exp: New file.
1139
1140 2015-07-15  Sandra Loosemore  <[email protected]>
1141
1142         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1143         nios2-*-linux*.
1144         * gdb.base/sigbpt.exp (stepi_out): Likewise.
1145         * gdb.base/siginfo.exp: Likewise.
1146         * gdb.base/sigstep.exp (advance, advancei): Likewise.
1147
1148 2015-07-15  Pierre Langlois  <[email protected]>
1149
1150         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1151         Move it to ...
1152         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1153         ... here.
1154         * gdb.trace/range-stepping.exp: Check that the target supports
1155         range stepping.
1156
1157 2015-07-14  Jan Kratochvil  <[email protected]>
1158
1159         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1160
1161 2015-07-14  Pedro Alves  <[email protected]>
1162
1163         * gdb.base/killed-outside.exp: New file.
1164         * gdb.base/killed-outside.c: New file.
1165
1166 2015-07-10  Jan Kratochvil  <[email protected]>
1167
1168         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1169         (n at main): New.
1170         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1171
1172 2015-07-10  Andreas Arnez  <[email protected]>
1173
1174         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1175         infcall tests instead of setting up for KFAIL.
1176
1177 2015-07-10  Markus Metzger  <[email protected]>
1178
1179         * gdb.btrace/record_goto-step.exp: New.
1180
1181 2015-07-08  Jan Kratochvil  <[email protected]>
1182
1183         PR compile/18484
1184         * gdb.compile/compile.c (struct struct_type): Add volatile to
1185         selffield's type.
1186         * gdb.compile/compile.exp
1187         (compile code struct_object.selffield = &struct_object): Skip further
1188         struct_object tests if this one xfails.
1189
1190 2015-07-08  Robert O'Callahan  <[email protected]>
1191
1192         PR exp/18617
1193         * gdb.trace/ax.exp: Add test.
1194
1195 2015-07-07  Yao Qi  <[email protected]>
1196
1197         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1198         instead of istarget "aarch64*-*-*".
1199         * gdb.arch/aarch64-fp.exp: Likewise.
1200         * gdb.base/float.exp: Likewise.
1201         * gdb.reverse/aarch64.exp: Likewise.
1202         * lib/gdb.exp (is_aarch64_target): New proc.
1203
1204 2015-07-07  Yao Qi  <[email protected]>
1205
1206         * lib/gdb.exp (is_aarch32_target): New proc.
1207         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1208         instead of "istarget "arm*-*-*"".
1209         * gdb.arch/arm-disp-step.exp: Likewise.
1210         * gdb.arch/thumb-bx-pc.exp: Likewise.
1211         * gdb.arch/thumb-prologue.exp: Likewise.
1212         * gdb.arch/thumb-singlestep.exp: Likewise.
1213         * gdb.base/disp-step-syscall.exp: Likewise.
1214         * gdb.base/float.exp: Likewise.
1215
1216 2015-07-07  Yao Qi  <[email protected]>
1217
1218         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1219         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1220
1221 2015-07-07  Yao Qi  <[email protected]>
1222
1223         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1224         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1225         if it exists.
1226         * gdb.multi/multi-arch.exp: Likewise.
1227
1228 2015-07-07  Simon Marchi  <[email protected]>
1229
1230         * gdb.python/py-lazy-string.exp: Add missing parentheses to
1231         print.
1232
1233 2015-07-07  Yao Qi  <[email protected]>
1234
1235         * gdb.arch/thumb-singlestep.exp: Do one more single step.
1236
1237 2015-06-30  Martin Galvan  <[email protected]>
1238
1239         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1240         '[' and ']' characters.
1241
1242 2015-06-30  Iain Buclaw  <[email protected]>
1243
1244         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1245
1246 2015-06-29  Pedro Alves  <[email protected]>
1247
1248         PR threads/18127
1249         * gdb.threads/hand-call-new-thread.c: New file.
1250         * gdb.threads/hand-call-new-thread.c: New file.
1251
1252 2015-06-26  Keith Seitz  <[email protected]>
1253             Doug Evans  <[email protected]>
1254
1255         PR 16253
1256         * gdb.cp/var-tag-2.cc: New file.
1257         * gdb.cp/var-tag-3.cc: New file.
1258         * gdb.cp/var-tag-4.cc: New file.
1259         * gdb.cp/var-tag.cc: New file.
1260         * gdb.cp/var-tag.exp: New file.
1261
1262 2015-06-26  Patrick Palka  <[email protected]>
1263
1264         * gdb.base/history-duplicates.exp: New test.
1265
1266 2015-06-26  Patrick Palka  <[email protected]>
1267
1268         * gdb.base/completion.exp: Test the completion of the "focus"
1269         command.
1270
1271 2015-06-26  Jan Kratochvil  <[email protected]>
1272
1273         * gdb.arch/amd64-prologue-skip.S: New file.
1274         * gdb.arch/amd64-prologue-skip.exp: New file.
1275
1276 2015-06-25  Simon Marchi  <[email protected]>
1277
1278         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1279         is_address_zero_readable check.
1280
1281 2015-06-24  Peter Bergner  <[email protected]>
1282
1283         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1284         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1285
1286 2015-06-24  Yao Qi  <[email protected]>
1287
1288         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1289         linux targets.
1290
1291 2015-06-24  Yao Qi  <[email protected]>
1292
1293         * lib/gdb.exp (supports_get_siginfo_type): New proc.
1294         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1295         * gdb.base/siginfo-thread.exp: Likewise.
1296
1297 2015-06-22  Yao Qi  <[email protected]>
1298
1299         * boards/remote-gdbserver-on-localhost.exp: Add comments.
1300
1301 2015-06-22  Yao Qi  <[email protected]>
1302
1303         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1304         aarch64*-*-*.
1305         (skip_hw_watchpoint_tests): Likewise.
1306
1307 2015-06-18  Patrick Palka  <[email protected]>
1308
1309         * gdb.base/gdbinit-history.exp: Test the interaction between
1310         setting GDBHISTSIZE and setting the history size via .gdbinit.
1311
1312 2015-06-17  Patrick Palka  <[email protected]>
1313
1314         PR gdb/16999
1315         * gdb.base/gdbhistsize-history.exp: New test.
1316
1317 2015-06-17  Patrick Palka  <[email protected]>
1318
1319         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1320         with GDBHISTSIZE.
1321         * gdb.base/readline.exp: Likewise.
1322
1323 2015-06-17  Yao Qi  <[email protected]>
1324
1325         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1326         line.
1327
1328 2015-06-17  Patrick Palka  <[email protected]>
1329
1330         * gdb.base/gdbinit-history.exp: Add test case to check that
1331         an unlimited history file does not get truncated on exit.
1332
1333 2015-06-17  Andreas Arnez  <[email protected]>
1334
1335         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1336         (VECTOR): New macro.  Use it...
1337         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1338         ...for these typedefs.
1339         (int8, char1, int1, double1): New typedefs.
1340         (struct just_int2, struct two_int2): New structures.
1341         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1342         (add_structvecs, add_singlevecs): New functions.
1343         (main): Call add_some_intvecs twice.
1344         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1345         the compile and exit upon failure.  Try compiling for the "native"
1346         architecture.  Test inferior function calls with vector arguments
1347         and vector return value handling with "finish" and "return".
1348
1349 2015-06-10  Jon Turney  <[email protected]>
1350
1351         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1352         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1353         PE file.
1354         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1355
1356 2015-06-12  Antoine Tremblay  <[email protected]>
1357
1358         PR breakpoints/16465
1359         * gdb.mi/mi-dprintf-pending.c: New file.
1360         * gdb.mi/mi-dprintf-pending.exp: New test.
1361         * gdb.mi/mi-dprintf-pendshr.c: New file.
1362
1363 2015-06-10  Walfred Tedeschi  <[email protected]>
1364             Mircea Gherzan  <[email protected]>
1365
1366         * gdb.arch/i386-mpx-map.c: New file.
1367         * gdb.arch/i386-mpx-map.exp: New File.
1368
1369 2015-06-10  Walfred Tedeschi  <[email protected]>
1370
1371         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1372         * gdb.arch/i386-mpx.exp: Indentation fixed.
1373
1374 2015-06-10  Walfred Tedeschi  <[email protected]>
1375
1376         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1377         function and improved indentation.
1378         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1379         gdb_test_multiple. Added additional tests to skip the test.
1380
1381 2015-06-10  Walfred Tedeschi  <[email protected]>
1382
1383         * gdb.arch/i386-avx512.c: Change path in include file.
1384         * gdb.arch/i386-avx512.exp: Change include dir path
1385         compilation flag.
1386         * gdb.arch/i386-mpx.c: Change path in include file.
1387         * gdb.arch/i386-mpx.exp: Change include dir path compilation
1388         flag.
1389
1390 2015-06-04  Jan Kratochvil  <[email protected]>
1391
1392         * gdb.compile/compile-print.exp (compile print *vararray@3)
1393         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1394
1395 2015-06-03  Jan Kratochvil  <[email protected]>
1396
1397         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1398         (do not keep jit in memory): ... this.
1399         (expect 5): Change it to ...
1400         (expect no 5): ... this.
1401
1402 2015-06-02  Simon Marchi  <[email protected]>
1403
1404         PR gdb/15564
1405         * gdb.mi/mi-detach.exp: New file.
1406
1407 2015-06-01  Jan Kratochvil  <[email protected]>
1408
1409         PR symtab/18392
1410         * gdb.arch/amd64-tailcall-self.S: New file.
1411         * gdb.arch/amd64-tailcall-self.c: New file.
1412         * gdb.arch/amd64-tailcall-self.exp: New file.
1413
1414 2015-05-28  Don Breazeal  <[email protected]>
1415
1416         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1417         tests for remote targets by checking is_target_gdbserver.
1418
1419 2015-05-27  Doug Evans  <[email protected]>
1420
1421         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1422         * gdb.dwarf2/opaque-type-lookup.c: New file.
1423         * gdb.dwarf2/opaque-type-lookup.exp: New file.
1424
1425 2015-05-26  Doug Evans  <[email protected]>
1426
1427         * gdb.cp/iostream.cc: New file.
1428         * gdb.cp/iostream.exp: New file.
1429
1430 2015-05-26  Doug Evans  <[email protected]>
1431
1432         * gdb.dwarf2/dw2-op-call.exp: Update.
1433         * gdb.dwarf2/dw4-sig-types.exp: Update.
1434         * gdb.dwarf2/implptr.exp: Update.
1435         * gdb.mi/mi-cmd-param-changed.exp: Update.
1436
1437 2015-05-26  Doug Evans  <[email protected]>
1438
1439         * gdb.python/py-lazy-string.c: New file.
1440         * gdb.python/py-lazy-string.exp: New file.
1441         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1442         (main): Update.  Add estring3.
1443         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1444         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1445
1446 2015-05-26  Omair Javaid  <[email protected]>
1447             Yao Qi  <[email protected]>
1448
1449         * gdb.reverse/aarch64.c: New.
1450         * gdb.reverse/aarch64.exp: New.
1451
1452 2015-05-26  Omair Javaid  <[email protected]>
1453
1454         * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1455         (supports_reverse): Likewise.
1456
1457 2015-05-22  Patrick Palka  <[email protected]>
1458
1459         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1460         Use with_test_prefix.
1461
1462 2015-05-21  Andrew Burgess  <[email protected]>
1463
1464         * gdb.base/completion.exp: Add test for completion of layout
1465         names.
1466
1467 2015-05-20  Andrew Burgess  <[email protected]>
1468
1469         * lib/gdb.exp (skip_tui_tests): New proc.
1470         * gdb.base/tui-layout.exp: Check skip_tui_tests.
1471
1472 2015-05-19  Pedro Alves  <[email protected]>
1473
1474         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1475         Save the whole env array instead of just HOME.  Unset HISTSIZE in
1476         the environment while testing.  Restore whole environment
1477         afterwards.
1478
1479 2015-05-16  Doug Evans  <[email protected]>
1480
1481         * gdb.guile/scm-ports.c: New file.
1482         * gdb.guile/scm-ports.exp: Add memory port tests.
1483
1484 2015-05-16  Jan Kratochvil  <[email protected]>
1485
1486         * gdb.compile/compile-print.c: New file.
1487         * gdb.compile/compile-print.exp: New file.
1488
1489 2015-05-16  Jan Kratochvil  <[email protected]>
1490
1491         * gdb.compile/compile-ops.exp: Cast param to void.
1492         * gdb.compile/compile.exp: Complete type for _gdb_expr.
1493         (compile code struct_object.selffield = &struct_object): Add xfail.
1494
1495 2015-05-15  Joel Brobecker  <[email protected]>
1496
1497         * gdb.ada/arr_enum_with_gap: New testcase.
1498
1499 2015-05-15  Joel Brobecker  <[email protected]>
1500
1501         * gdb.ada/byte_packed_arr: New testcase.
1502
1503 2015-05-15  Joel Brobecker  <[email protected]>
1504
1505         * gdb.ada/pckd_neg: New testcase.
1506
1507 2015-05-13  Patrick Palka  <[email protected]>
1508
1509         PR gdb/17820
1510         * gdb.base/gdbinit-history.exp: New test.
1511         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1512         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1513
1514 2015-05-09  Siva Chandra Reddy  <[email protected]>
1515
1516         * gdb.python/py-xmethods.cc: Enhance test case.
1517         * gdb.python/py-xmethods.exp: New tests.
1518         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1519         function.
1520         (B_indexoper): Likewise.
1521         (global_dm_list) : Add new xmethod worker functions.
1522
1523 2015-05-08  Sergio Durigan Junior  <[email protected]>
1524
1525         * gdb.base/coredump-filter.exp: Correctly unset
1526         "coredump_var_addr" array.
1527
1528 2015-05-08  Pedro Alves  <[email protected]>
1529
1530         * gdb.server/non-existing-program.exp: Unset spawn_id.
1531
1532 2015-05-08  Siva Chandra Reddy  <[email protected]>
1533
1534         PR python/18291
1535         * gdb.python/py-xmethods.exp: Add tests.
1536
1537 2015-05-08  Yao Qi  <[email protected]>
1538
1539         PR gdb/18208
1540         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1541         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1542         function set_coredump_filter, and remove remote_exec call.
1543         Remove argument ipid.  Callers update.
1544         (top level): Don't get inferior's PID.
1545
1546 2015-05-08  Andreas Arnez  <[email protected]>
1547
1548         * gdb.base/watch_thread_num.exp: Skip test on targets without
1549         access watchpoints.
1550
1551 2015-05-06  Pedro Alves  <[email protected]>
1552
1553         PR server/18081
1554         * gdb.server/non-existing-program.exp: New file.
1555
1556 2015-05-05  Joel Brobecker  <[email protected]>
1557
1558         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1559
1560 2015-05-05  Joel Brobecker  <[email protected]>
1561
1562         * gdb.ada/out_of_line_in_inlined: New testcase.
1563
1564 2015-05-05  Joel Brobecker  <[email protected]>
1565
1566         * gdb.ada/var_rec_arr: New testcase.
1567
1568 2015-04-30  Yao Qi  <[email protected]>
1569
1570         * gdb.base/break-idempotent.exp: If
1571         skip_hw_watchpoint_multi_tests returns true, skip the tests
1572         on "rwatch" and "awatch".
1573
1574 2015-04-30  Yao Qi  <[email protected]>
1575
1576         * gdb.base/relativedebug.exp: Invoke gdb command
1577         "info sharedlibrary", and if libc.so doesn't have debug info,
1578         skip the test.
1579
1580 2015-04-29  Doug Evans  <[email protected]>
1581
1582         * gdb.python/py-xmethods.exp: Add ptype tests.
1583         * gdb.python/py-xmethods.py (E_method_char_worker): Add
1584         get_result_type method.
1585
1586 2015-04-29  Luis Machado  <[email protected]>
1587
1588         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1589         the target does not support hardware watchpoints.
1590
1591 2015-04-29  Luis Machado  <[email protected]>
1592
1593         * gdb.base/break-always.exp: Abort testing if writing to memory
1594         causes an error.
1595
1596 2015-04-28  Doug Evans  <[email protected]>
1597
1598         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1599         * gdb.python/py-pp-registration.exp: ... here.  New file.
1600         * gdb.python/py-pp-registration.c: New file.
1601         * gdb.python/py-pp-registration.py: New file.
1602
1603 2015-04-28  Doug Evans  <[email protected]>
1604
1605         * gdb.python/py-bad-printers.c: New file.
1606         * gdb.python/py-bad-printers.py: New file.
1607         * gdb.python/py-bad-printers.exp: New file.
1608
1609 2015-04-28  Sasha Smundak  <[email protected]>
1610
1611         * gdb.python/py-type.exp: New test.
1612
1613 2015-04-28  Andy Wingo  <[email protected]>
1614
1615         * gdb.python/py-parameter.exp:
1616         * gdb.guile/scm-parameter.exp: Escape the path that we are
1617         matching against, as it might contain characters that are special
1618         to regular expressions.
1619
1620 2015-04-27  Joel Brobecker  <[email protected]>
1621
1622         * gdb.ada/rec_comp: New testcase.
1623
1624 2015-04-26  Sergio Durigan Junior  <[email protected]>
1625
1626         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1627         before using it.
1628
1629 2015-04-24  Andrew Burgess  <[email protected]>
1630
1631         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
1632         new tests for verilog output.
1633
1634 2015-04-24  Yao Qi  <[email protected]>
1635
1636         * boards/remote-gdbserver-on-localhost.exp: New file.
1637
1638 2015-04-23  Pedro Alves  <[email protected]>
1639
1640         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1641         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
1642         "end of file", remove $inferior_spawn_id from the indirect list.
1643
1644 2015-04-23  Pedro Alves  <[email protected]>
1645
1646         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1647
1648 2015-04-23  Pedro Alves  <[email protected]>
1649
1650         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1651         on $any_spawn_id instead of only on $gdb_spawn_id.
1652
1653 2015-04-21  Pierre Muller  <[email protected]>
1654
1655         PR pascal/17815
1656         * lib/pascal.exp (gpc_compile): Add new option "class".
1657         (fpc_compile): Likewise.
1658         * gdb.pascal/case-insensitive-symbols.pas: New file.
1659         * gdb.pascal/case-insensitive-symbols.exp: New file.
1660
1661 2015-04-20  Gary Benson <[email protected]>
1662
1663         * gdb.base/attach.exp: Fix three extended remote failures.
1664
1665 2015-04-17  Gary Benson <[email protected]>
1666
1667         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1668         the main executable over the remote protocol.
1669
1670 2015-04-16  Pedro Alves  <[email protected]>
1671
1672         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1673         a new gdbserver if gdbserver_reconnect_p is set.
1674
1675 2015-04-16  Pedro Alves  <[email protected]>
1676
1677         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1678         is set, don't exit gdbserver.
1679
1680 2015-04-16  Andreas Arnez  <[email protected]>
1681
1682         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1683         appropriate .insn, such that an older assembler can be used.
1684         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1685         the z/Architecture instruction set on 31-bit targets as well.
1686
1687 2015-04-16  Andreas Arnez  <[email protected]>
1688
1689         * gdb.go/handcall.exp: Remove all logic related to the first
1690         breakpoint and rely on go_runto_main instead.
1691         * gdb.go/strings.exp: Likewise.
1692         * gdb.go/unsafe.exp: Likewise.
1693         * gdb.go/hello.exp: Likewise.  Also rename the remaining
1694         breakpoint marker to "breakpoint 1".
1695         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1696         * gdb.go/strings.go: Likewise.
1697         * gdb.go/unsafe.go: Likewise.
1698         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
1699         "set breakpoint 2 here" and rename the remaining breakpoint marker
1700         to "breakpoint 1".
1701
1702 2015-04-15  Simon Marchi  <[email protected]>
1703
1704         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1705         if itertools.imap is not present.
1706         * gdb.python/py-objfile.exp: Add parentheses.
1707         * gdb.python/py-type.exp: Same.
1708         * gdb.python/py-unwind-maint.py: Same.
1709
1710 2015-04-15  Yao Qi  <[email protected]>
1711
1712         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1713         of ":$ptr_size" and set its form explicitly.
1714
1715 2015-04-15  Pedro Alves  <[email protected]>
1716             Yao Qi  <[email protected]>
1717
1718         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1719         timeout by factor of 4.
1720         (test_regular_watch): Likewise.
1721         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1722         * gdb.reverse/sigall-reverse.exp: Likewise.
1723         * gdb.reverse/until-precsave.exp: Likewise.
1724         * lib/gdb.exp (with_timeout_factor): New proc.
1725         (gdb_expect): Move some code to ...
1726         (get_largest_timeout): ... here.  New procedure.
1727
1728 2015-04-14  Luis Machado  <[email protected]>
1729
1730         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1731
1732 2015-04-13  Luis Machado  <[email protected]>
1733
1734         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1735         to write to the .text section.
1736
1737 2015-04-13  Luis Machado  <[email protected]>
1738
1739         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1740         Handle the case of targets that do not provide PID information.
1741
1742 2015-04-13  Yao Qi  <[email protected]>
1743
1744         * lib/gdbserver-support.exp (gdb_exit): Catch exception
1745         and use expect instead of gdb_expect.
1746
1747 2015-04-13  Sergio Durigan Junior  <[email protected]>
1748
1749         * gdb.base/coredump-filter.exp: Rename variable "addr" to
1750         "coredump_var_addr" to avoid naming conflict with other testcases.
1751
1752 2015-04-10  Pedro Alves  <[email protected]>
1753
1754         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1755         gdb_test_sequence and gdb_assert.
1756
1757 2015-04-10  Pedro Alves  <[email protected]>
1758
1759         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1760         test messages that don't include the breakpoint address.
1761
1762 2015-04-10  Yao Qi  <[email protected]>
1763
1764         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1765         false for some offset and width combinations which aren't
1766         supported by linux kernel.
1767
1768 2015-04-10  Pedro Alves  <[email protected]>
1769
1770         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1771         procedure, factored out from ...
1772         (top level): ... here.  Add "set displaced-stepping" testing axis.
1773         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1774         parameter "displaced".  Use it.
1775         (top level): Use foreach and add "set displaced-stepping" testing
1776         axis.
1777
1778 2015-04-10  Pedro Alves  <[email protected]>
1779
1780         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1781         Remove comment.
1782         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1783         both the address of the instruction that triggers the watchpoint
1784         and the address of the instruction immediately after, and use
1785         those addresses for the test.  Fix comment.
1786
1787 2015-04-10  Pedro Alves  <[email protected]>
1788
1789         * gdb.base/sigstep.exp (breakpoint_to_handler)
1790         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
1791         Test "backtrace" in handler.
1792         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
1793         (top level): Add new "displaced" test axis to
1794         breakpoint_to_handler, breakpoint_to_handler_entry and
1795         breakpoint_over_handler.
1796
1797 2015-04-10  Pedro Alves  <[email protected]>
1798
1799         PR gdb/18216
1800         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1801
1802 2015-04-10  Yao Qi  <[email protected]>
1803
1804         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1805         (test_add_rn_pc): New function.
1806         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1807         (top level): Invoke test_add_rn_pc.
1808
1809 2015-04-10  Pedro Alves  <[email protected]>
1810
1811         PR gdb/13858
1812         * gdb.base/step-over-no-symbols.exp: New file.
1813
1814 2015-04-09  Andy Wingo  <[email protected]>
1815
1816         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1817         after the Python tests.
1818
1819 2015-04-08  Keith Seitz  <[email protected]>
1820
1821         PR python/16699
1822         * gdb.python/py-completion.exp: New tests for completion.
1823         * gdb.python/py-completion.py (CompleteLimit1): New class.
1824         (CompleteLimit2): Likewise.
1825         (CompleteLimit3): Likewise.
1826         (CompleteLimit4): Likewise.
1827         (CompleteLimit5): Likewise.
1828         (CompleteLimit6): Likewise.
1829         (CompleteLimit7): Likewise.
1830
1831 2015-04-08  Pedro Alves  <[email protected]>
1832
1833         PR gdb/18214
1834         PR gdb/18216
1835         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1836         function.
1837         (main): Install it as SIGUSR1 handler.
1838         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1839         parameter.  Always use "setup" as prefix.  Toggle "set
1840         displaced-stepping" off/on depending on global.  Don't switch to
1841         thread 1 here.
1842         (top level): Add displaced stepping "off/on" test axis.  Update
1843         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
1844         continuing with a queued signal in each thread.
1845
1846 2015-04-08  Pedro Alves  <[email protected]>
1847
1848         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1849         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
1850         gdb_breakpoint instead of gdb_test that doesn't expect anything.
1851         Return early if running to main fails.
1852         * gdb.trace/while-stepping.exp: Likewise.
1853
1854 2015-04-07  Pedro Alves  <[email protected]>
1855
1856         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1857         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
1858         interact with inferior program.
1859
1860 2015-04-07  Pedro Alves  <[email protected]>
1861
1862         * lib/gdb.exp (inferior_spawn_id): New global.
1863         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
1864         spawn id after processing the user code.
1865         (default_gdb_start): Set inferior_spawn_id.
1866         (send_inferior): New procedure.
1867         * lib/gdbserver-support.exp (gdbserver_start): Set
1868         inferior_spawn_id.
1869         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1870
1871 2015-04-07  Pedro Alves  <[email protected]>
1872
1873         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1874         * lib/gdbserver-support.exp (gdbserver_start): Make
1875         $server_spawn_id global.
1876         (gdbserver_start): Don't wait for gdbserver's spawn id with
1877         expect_background.
1878         (close_gdbserver): New procedure.
1879         (gdb_exit): Rename the default version and reimplement.
1880
1881 2015-04-07  Pedro Alves  <[email protected]>
1882
1883         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1884         append the substituted item, not the original item.
1885
1886 2015-04-07  Pedro Alves  <[email protected]>
1887
1888         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1889         gdb_expect.
1890
1891 2015-04-07  Pedro Alves  <[email protected]>
1892
1893         * gdb.base/interrupt.exp: Don't handle the case of the inferior
1894         output appearing once only.
1895
1896 2015-04-07  Pedro Alves  <[email protected]>
1897
1898         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1899         that doesn't expect anything.  Return early if running to main
1900         fails.
1901
1902 2015-04-07  Yao Qi  <[email protected]>
1903
1904         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1905         (child_function): Call alarm.
1906         (main): Move call to alarm into the loop.
1907         * gdb.threads/non-stop-fair-events.exp: Build program with
1908         -DTIMEOUT=$timeout.
1909
1910 2015-04-06  Doug Evans  <[email protected]>
1911
1912         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1913         Fix dest parameter to board_info.
1914         (fpc_compile): Ditto.
1915         (gdb_compile_pascal): Rename dest arg to destfile.
1916
1917 2015-04-03  Pierre-Marie de Rodat  <[email protected]>
1918
1919         * gdb.ada/funcall_ref.exp: New file.
1920         * gdb.ada/funcall_ref/foo.adb: New file.
1921
1922 2015-04-02  Yao Qi  <[email protected]>
1923
1924         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1925         is remote.
1926
1927 2015-04-02  Gary Benson <[email protected]>
1928
1929         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1930
1931 2015-04-01  Sasha Smundak  <[email protected]>
1932
1933         * gdb.python/py-unwind-maint.c: New file.
1934         * gdb.python/py-unwind-maint.exp: New test.
1935         * gdb.python/py-unwind-maint.py: New file.
1936         * gdb.python/py-unwind.c: New file.
1937         * gdb.python/py-unwind.exp: New test.
1938         * gdb.python/py-unwind.py: New test.
1939
1940 2015-04-01  Pedro Alves  <[email protected]>
1941
1942         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1943         to fail instead of non-existent $test.
1944
1945 2015-04-01  Pedro Alves  <[email protected]>
1946
1947         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1948         GDBFLAGS if not empty.
1949
1950 2015-04-01  Pierre-Marie de Rodat  <[email protected]>
1951
1952         * gdb.ada/complete.exp: Remove "multi_line".
1953         * gdb.ada/info_exc.exp: Remove "multi_line".
1954         * gdb.ada/packed_tagged.exp: Remove "multi_line".
1955         * gdb.ada/ptype_field.exp: Remove "multi_line".
1956         * gdb.ada/sym_print_name.exp: Remove "multi_line".
1957         * gdb.ada/tagged.exp: Remove "multi_line".
1958         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1959         [multi_line ...]
1960         * gdb.btrace/delta.exp: Likewise.
1961         * gdb.btrace/exception.exp: Likewise.
1962         * gdb.btrace/function_call_history.exp: Likewise.
1963         * gdb.btrace/instruction_history.exp: Likewise.
1964         * gdb.btrace/nohist.exp: Likewise.
1965         * gdb.btrace/record_goto.exp: Likewise.
1966         * gdb.btrace/segv.exp: Likewise.
1967         * gdb.btrace/stepi.exp: Likewise.
1968         * gdb.btrace/tailcall.exp: Likewise.
1969         * gdb.btrace/unknown_functions.exp: Likewise.
1970         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1971         * lib/gdb.exp: Add the "multi_line" helper.
1972
1973 2015-04-01  Pedro Alves  <[email protected]>
1974
1975         * gdb.threads/tid-reuse.c: New file.
1976         * gdb.threads/tid-reuse.exp: New file.
1977
1978 2015-03-31  Sergio Durigan Junior  <[email protected]>
1979
1980         PR corefiles/16092
1981         * gdb.base/coredump-filter.c: New file.
1982         * gdb.base/coredump-filter.exp: Likewise.
1983
1984 2015-03-27  Petr Machata  <[email protected]>
1985
1986         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1987         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1988         (Dwarf::assemble): Initialize them.
1989         (Dwarf::lines): New function.
1990
1991 2015-03-26  Jon Turney  <[email protected]>
1992
1993         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1994         SYMBOL_PREFIX for x86_64-*-cygwin.
1995
1996 2015-03-26  Andy Wingo  <[email protected]>
1997
1998         PR symtab/18148
1999         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2000         const_value but not a location.
2001         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2002         location defined in non-main CUs are visible.
2003
2004 2015-03-26  Yao Qi  <[email protected]>
2005
2006         PR testsuite/18139
2007         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2008         Add a line number entry for the same line.
2009         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2010         Add a line number entry for the same line.
2011
2012 2015-03-26  Yao Qi  <[email protected]>
2013
2014         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2015         .int 0.
2016         (func): Likewise.  Add .Lfunc_1 label.
2017         Use .Lfunc_1 label.
2018         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2019         .int 0.
2020         (func): Likewise.
2021         Use .Lfunc_1 label.
2022
2023 2015-03-26  Yao Qi  <[email protected]>
2024
2025         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2026         Call gdb_compile instead to compile each .s files without debug
2027         information.
2028
2029 2015-03-26  Yao Qi  <[email protected]>
2030
2031         * gdb.base/savedregs.exp (process_saved_regs): Make
2032         "Saved registers:" optional in the pattern.
2033
2034 2015-03-25  Markus Metzger  <[email protected]>
2035
2036         * gdb.btrace/next.exp: Merged into step.exp.
2037         * gdb.btrace/finish.exp: Merged into step.exp.
2038         * gdb.btrace/nexti.exp: Merged into stepi.exp.
2039         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
2040         "record goto" and checking the exact replay position.
2041         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
2042         check for "Recording format" in "info record" output.
2043         * gdb.btrace/record_goto.exp: Choose test file based on target.
2044         * gdb.btrace/x86-record_goto.S: Renamed into ...
2045         * gdb.btrace/x86_64-record_goto.S: ... this.
2046         * gdb.btrace/i686-record_goto.S: New.
2047         * gdb.btrace/x86-tailcall.S: Renamed into ...
2048         * gdb.btrace/x86_64-tailcall.S: ... this.
2049         * gdb.btrace/i686-tailcall.S: New.
2050         * gdb.btrace/x86-tailcall.c: Renamed into ...
2051         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
2052         separate statements.  Update test.
2053         * gdb.btrace/delta.exp: Use record_goto.c as test file.
2054         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2055         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2056         * gdb.btrace/tailcall.exp: Choose test file based on target.
2057         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2058
2059 2015-03-25  Markus Metzger  <[email protected]>
2060
2061         * gdb.btrace/exception.exp: Increase BTS buffer size.
2062
2063 2015-03-24  Pedro Alves  <[email protected]>
2064
2065         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2066
2067 2015-03-24  Pedro Alves  <[email protected]>
2068
2069         * gdb.threads/schedlock.exp (test_step): No longer expect that
2070         "set scheduler-locking step" with "next" over a function call runs
2071         threads unlocked.
2072
2073 2015-03-24  Antoine Tremblay  <[email protected]>
2074
2075         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2076
2077 2015-03-24  Antoine Tremblay  <[email protected]>
2078
2079         PR breakpoints/16466
2080         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2081         * gdb.mi/mi-pending.c (thread_func): New function.
2082         (int main): Add threading support required.
2083         * gdb.mi/mi-pending.exp: Add tests for this issue.
2084         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2085         (pendfunc2): Remove stdio dependency.
2086         * gdb.mi/mi-pendshr2.c: New file.
2087
2088 2015-03-23  Keith Seitz  <[email protected]>
2089
2090         * gdb.linespec/keywords.c: New file.
2091         * gdb.linespec/keywords.exp: New file.
2092
2093 2015-03-23  Keith Seitz  <[email protected]>
2094
2095         PR gdb/18021
2096         * gdb.dwarf2/staticvirtual.exp: New test.
2097
2098 2015-03-20  Jan Kratochvil  <[email protected]>
2099
2100         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2101         * README: Remove HP-UX and gdb.hp.
2102         (configuration):
2103         * configure: Regenerate.
2104         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2105         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2106         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2107         gdb.hp/gdb.defects/Makefile.
2108         * gdb.hp/Makefile.in: File deleted.
2109         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2110         * gdb.hp/gdb.aCC/optimize.c: File deleted.
2111         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2112         * gdb.hp/gdb.aCC/run.c: File deleted.
2113         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2114         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2115         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2116         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2117         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2118         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2119         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2120         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2121         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2122         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2123         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2124         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2125         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2126         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2127         * gdb.hp/gdb.base-hp/reg.s: File deleted.
2128         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2129         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2130         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2131         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2132         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2133         * gdb.hp/gdb.compat/Makefile.in: File deleted.
2134         * gdb.hp/gdb.compat/average.c: File deleted.
2135         * gdb.hp/gdb.compat/sum.c: File deleted.
2136         * gdb.hp/gdb.compat/xdb.c: File deleted.
2137         * gdb.hp/gdb.compat/xdb0.c: File deleted.
2138         * gdb.hp/gdb.compat/xdb0.h: File deleted.
2139         * gdb.hp/gdb.compat/xdb1.c: File deleted.
2140         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2141         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2142         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2143         * gdb.hp/gdb.defects/Makefile.in: File deleted.
2144         * gdb.hp/gdb.defects/bs14602.c: File deleted.
2145         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2146         * gdb.hp/gdb.defects/solib-d.c: File deleted.
2147         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2148         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2149         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2150         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2151         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2152         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2153         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2154         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2155         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2156         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2157         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2158         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2159         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2160         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2161         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2162         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2163         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2164         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2165         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2166         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2167         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2168         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2169         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2170         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2171         * gdb.hp/tools/odump: File deleted.
2172
2173 2015-03-19  Pedro Alves  <[email protected]>
2174
2175         * gdb.threads/continue-pending-status.exp (saw_thread_2)
2176         (saw_thread_3): New globals.
2177         (top level): Increment them when an event for the corresponding
2178         thread is seen.
2179         (no thread starvation): New test.
2180
2181 2015-03-19  Pedro Alves  <[email protected]>
2182
2183         * gdb.threads/continue-pending-status.c: New file.
2184         * gdb.threads/continue-pending-status.exp: New file.
2185
2186 2015-03-18  Pedro Alves  <[email protected]>
2187
2188         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2189         Use gdb_is_target_remote instead of is_remote.  Use
2190         gdb_test_multiple instead of gdb_expect.  Exit early if
2191         gdb_test_multiple hits its internal matches.  Tighten stepi tests
2192         expected output.  Fail on exit with any signal, instead of just
2193         SIGILL.
2194
2195 2015-03-18  Yao Qi  <[email protected]>
2196
2197         PR tdep/18107
2198         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2199         variable.
2200         * gdb.base/catch-syscall.exp: Don't skip it on
2201         aarch64*-*-linux* target.  Remove elements in all_syscalls.
2202         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2203         target.
2204         (setup_all_syscalls): New proc.
2205
2206 2015-03-16  Yao Qi  <[email protected]>
2207
2208         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2209         (top level): Skip tests if valid_addr_p returns false for
2210         $cmd1 or $cmd2.
2211
2212 2015-03-11  Andy Wingo  <[email protected]>
2213
2214         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2215
2216 2015-03-11  Yao Qi  <[email protected]>
2217
2218         * gdb.base/catch-syscall.exp: Fix typo in comments.
2219
2220 2015-03-11  Yao Qi  <[email protected]>
2221
2222         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2223
2224 2015-03-09  Pedro Alves  <[email protected]>
2225
2226         * dg-extract-results.py: Delete.
2227
2228 2015-03-09  Pedro Alves  <[email protected]>
2229
2230         Merge dg-extract-results.sh from GCC upstream (r218843).
2231
2232         2014-12-17  Sergio Durigan Junior  <[email protected]>
2233                 * dg-extract-results.sh: Use --text with grep to avoid issues with
2234                 binary files.  Fall back to cat -v, if that doesn't work.
2235
2236 2015-03-05  Pedro Alves  <[email protected]>
2237
2238         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2239
2240 2015-03-04  Simon Marchi  <[email protected]>
2241
2242         * lib/mi-support.exp (mi_expect_interrupt): Accept
2243         alternative event for when in all-stop mode.
2244
2245 2015-03-04  Pedro Alves  <[email protected]>
2246
2247         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2248
2249 2015-03-04  Mark Kettenis  <[email protected]>
2250
2251         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2252
2253 2015-03-04  Andreas Arnez  <[email protected]>
2254
2255         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2256         regexps for GDB's current line display, accept a hex address
2257         preceding the line number.
2258
2259 2015-03-04  Andreas Arnez  <[email protected]>
2260
2261         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2262         the 'arch1' variable for "s390*-linux*" targets.
2263
2264 2015-03-04  Pedro Alves  <[email protected]>
2265
2266         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2267         (main): Pass missing retval argument to pthread_join call.
2268
2269 2015-03-02  Pedro Alves  <[email protected]>
2270
2271         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2272         (top level): Call do_test with non-stop as well.
2273
2274 2015-03-02  Pedro Alves  <[email protected]>
2275
2276         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2277         -1.
2278
2279 2015-03-02  Andreas Arnez  <[email protected]>
2280
2281         * gdb.arch/s390-vregs.exp: New test.
2282         * gdb.arch/s390-vregs.S: New file.
2283
2284 2015-02-27  Pedro Alves  <[email protected]>
2285
2286         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2287         call to catch_command_errors.
2288         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2289         catch_command_errors.
2290
2291 2015-02-27  Pedro Alves  <[email protected]>
2292
2293         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2294         "true" for boolean result.
2295         * gdb.gdb/selftest.exp (test_with_self): Also accept full
2296         prototype of main.
2297
2298 2015-02-27  Pedro Alves  <[email protected]>
2299
2300         * lib/unbuffer_output.c: New file.
2301         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2302         (main): Call gdb_unbuffer_output.
2303
2304 2015-02-27  Yao Qi  <[email protected]>
2305
2306         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2307         target.
2308
2309 2015-02-26  Doug Evans  <[email protected]>
2310
2311         * gdb.cp/class2.cc (Dbase, D): New classes.
2312         (main): New local delta.
2313         * gdb.cp/class2.exp: Test printing delta.
2314         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2315         (dynbar): New global.
2316         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2317
2318 2015-02-26  Jan Kratochvil  <[email protected]>
2319
2320         * gdb.compile/compile-ifunc.c: New file.
2321         * gdb.compile/compile-ifunc.exp: New file.
2322
2323 2015-02-26  Antoine Tremblay  <[email protected]>
2324
2325         * gdb.base/structs.exp: Check for correct struct on finish.
2326
2327 2015-02-26  Yao Qi  <[email protected]>
2328
2329         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2330         is zero.
2331
2332 2015-02-26  Jan Kratochvil  <[email protected]>
2333
2334         * gdb.arch/cordic.ko.bz2: New file.
2335         * gdb.arch/cordic.ko.debug.bz2: New file.
2336         * gdb.arch/ppc64-symtab-cordic.exp: New file.
2337
2338 2015-02-25  Yao Qi  <[email protected]>
2339
2340         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2341         aarch64*-*-* target.
2342
2343 2015-02-23  Pedro Alves  <[email protected]>
2344
2345         * lib/gdb.exp (delete_breakpoints): Rewrite using
2346         gdb_test_multiple.
2347
2348 2015-02-23  Pedro Alves  <[email protected]>
2349
2350         * gdb.base/info-os.c: Include stdlib.h.
2351
2352 2015-02-22  Doug Evans  <[email protected]>
2353
2354         PR symtab/17855
2355         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2356         is read after symbols have been re-read.
2357         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2358         * gdb.ada/exec_changed/second.adb (Second): Ditto.
2359
2360 2015-02-21  Doug Evans  <[email protected]>
2361
2362         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2363
2364 2015-02-21  Jan Kratochvil  <[email protected]>
2365
2366         PR corefiles/17808
2367         * gdb.arch/i386-biarch-core.core.bz2: New file.
2368         * gdb.arch/i386-biarch-core.exp: New file.
2369
2370 2015-02-21  Pedro Alves  <[email protected]>
2371
2372         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2373         runto_main fails.
2374
2375 2015-02-20  Pedro Alves  <[email protected]>
2376
2377         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2378         info probes.
2379
2380 2015-02-20  Pedro Alves  <[email protected]>
2381
2382         * gdb.threads/multi-create-ns-info-thr.exp: New file.
2383
2384 2015-02-20  Pedro Alves  <[email protected]>
2385
2386         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
2387         clean_restart before gdb_target_supports_trace.
2388
2389 2015-02-20  Pedro Alves  <[email protected]>
2390
2391         PR threads/18006
2392         * gdb.threads/clone-thread_db.c: New file.
2393         * gdb.threads/clone-thread_db.exp: New file.
2394
2395 2015-02-19  Antoine Tremblay  <[email protected]>
2396
2397         PR breakpoints/16812
2398         * gdb.base/catch-gdb-caused-signals.c: New file.
2399         * gdb.base/catch-gdb-caused-signals.exp: New file.
2400
2401 2015-02-18  Jose E. Marchesi  <[email protected]>
2402
2403         * configure: Regenerated.
2404         * configure.ac: Use GDB_AC_TRANSFORM.
2405         * aclocal.m4: sinclude ../transform.m4.
2406
2407 2015-02-17  Jose E. Marchesi  <[email protected]>
2408
2409         * lib/dtrace.exp: New file.
2410         * gdb.base/dtrace-probe.exp: Likewise.
2411         * gdb.base/dtrace-probe.d: Likewise.
2412         * gdb.base/dtrace-probe.c: Likewise.
2413         * lib/pdtrace.in: Likewise.
2414         * configure.ac: Output variables with the transformed names of
2415         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
2416         * configure: Regenerated.
2417
2418 2015-02-17  Jose E. Marchesi  <[email protected]>
2419
2420         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2421         expected message when trying to access $_probe_* convenience
2422         variables while not on a probe.
2423
2424 2015-02-11  Jan Kratochvil  <[email protected]>
2425
2426         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2427
2428 2015-02-11  Pedro Alves  <[email protected]>
2429
2430         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2431         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2432
2433 2015-02-10  Doug Evans  <[email protected]>
2434
2435         * lib/gdb.exp (gdb_load): Always return a result.
2436
2437 2015-02-10  Pedro Alves  <[email protected]>
2438
2439         * gdb.threads/signal-sigtrap.c: New file.
2440         * gdb.threads/signal-sigtrap.exp: New file.
2441
2442 2015-02-10  Antoine Tremblay <[email protected]>
2443
2444         * gdb.trace/no-attach-trace.c: New file.
2445         * gdb.trace/no-attach-trace.exp: New file.
2446
2447 2015-02-09  Mark Wielaard  <[email protected]>
2448
2449         * gdb.dwarf2/atomic.c: New file.
2450         * gdb.dwarf2/atomic-type.exp: Likewise.
2451
2452 2015-02-09  Markus Metzger  <[email protected]>
2453
2454         * gdb.btrace/buffer-size.exp: Update "info record" output.
2455         * gdb.btrace/delta.exp: Update "info record" output.
2456         * gdb.btrace/enable.exp: Update "info record" output.
2457         * gdb.btrace/finish.exp: Update "info record" output.
2458         * gdb.btrace/instruction_history.exp: Update "info record" output.
2459         * gdb.btrace/next.exp: Update "info record" output.
2460         * gdb.btrace/nexti.exp: Update "info record" output.
2461         * gdb.btrace/step.exp: Update "info record" output.
2462         * gdb.btrace/stepi.exp: Update "info record" output.
2463         * gdb.btrace/nohist.exp: Update "info record" output.
2464
2465 2015-02-09  Markus Metzger  <[email protected]>
2466
2467         * gdb.btrace/buffer-size: New.
2468
2469 2015-02-09  Markus Metzger  <[email protected]>
2470
2471         * gdb.btrace/delta.exp: Update "info record" output.
2472         * gdb.btrace/enable.exp: Update "info record" output.
2473         * gdb.btrace/finish.exp: Update "info record" output.
2474         * gdb.btrace/instruction_history.exp: Update "info record" output.
2475         * gdb.btrace/next.exp: Update "info record" output.
2476         * gdb.btrace/nexti.exp: Update "info record" output.
2477         * gdb.btrace/step.exp: Update "info record" output.
2478         * gdb.btrace/stepi.exp: Update "info record" output.
2479         * gdb.btrace/nohist.exp: Update "info record" output.
2480
2481 2015-02-06  Simon Marchi  <[email protected]>
2482
2483         PR gdb/15678
2484         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2485
2486 2015-02-06  Pedro Alves  <[email protected]>
2487
2488         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2489         macro.
2490         (seconds_left, again): New globals.
2491         (main): Wait seconds_left in a 1-second sleep loop instead of
2492         sleeping 180 seconds.  If 'again' is set, reset the seconds
2493         counter.
2494         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2495         'again' in the inferior before detaching.  Print the seconds left.
2496         (options): New global.
2497         (top level): Build program with -DTIMEOUT=$timeout.
2498
2499 2015-02-06  Pedro Alves  <[email protected]>
2500
2501         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2502         determine how many seconds to pass to 'alarm'.
2503         * gdb.base/gdb-sigterm.exp (top level): Build program with
2504         -DTIMEOUT=$timeout.
2505         (do_test): Return success/failure indication.  Add more verbose
2506         logging.  Don't fail if 200 single steps are seen.  Instead, fail
2507         when the test times out.
2508         (passes): New global.
2509         (top level): Break the testing loop if testing fails on any
2510         iteration.  Use gdb_assert.
2511
2512 2015-02-04  Don Breazeal  <[email protected]>
2513
2514         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2515         and initialize them.
2516         (ipc_cleanup): New function.
2517         (main): Don't declare shmid, semid, and msqid.  Add a call to
2518         atexit so that we call ipc_cleanup on exit.
2519
2520 2015-02-04  Pedro Alves  <[email protected]>
2521
2522         * boards/native-extended-gdbserver.exp: Remove any target variant
2523         specifications from the board name before clearing the isremote
2524         flag from board_info.
2525
2526 2015-01-31  Doug Evans  <[email protected]>
2527
2528         * gdb.base/maint.exp <maint print type argc>: Update expected output.
2529
2530 2015-01-31  Gary Benson <[email protected]>
2531
2532         * gdb.base/completion.exp: Disable completion limiting for
2533         existing tests.  Add new tests to check completion limiting.
2534         * gdb.linespec/ls-errs.exp: Disable completion limiting.
2535
2536 2015-01-31  Doug Evans  <[email protected]>
2537
2538         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2539
2540 2015-01-31  Doug Evans  <[email protected]>
2541
2542         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2543         entries.  Duplicate file section script entries.
2544         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2545         inlined entries.  Add test for safe-path rejection.
2546         * gdb.python/py-section-script.c: Add duplicate inlined section script
2547         entries.  Duplicate file section script entries.
2548         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2549         inlined entries.  Add test for safe-path rejection.
2550
2551 2015-01-29  Joel Brobecker  <[email protected]>
2552
2553         * gdb.ada/disc_arr_bound: New testcase.
2554
2555 2015-01-29  Joel Brobecker  <[email protected]>
2556
2557         * gdb.ada/mi_var_array: New testcase.
2558
2559 2015-01-27  Doug Evans  <[email protected]>
2560
2561         * gdb.python/py-objfile.exp: Add tests for objfile.username.
2562         Add test for objfile.filename, objfile.username after objfile
2563         has been unloaded.
2564
2565 2015-01-26  Joel Brobecker  <[email protected]>
2566
2567         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2568         the second test to print the name attribute of value
2569         returned by the call to gdb.lookup_type, and adjust
2570         the expected output accordingly.
2571
2572 2015-01-25  Mark Wielaard  <[email protected]>
2573
2574         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2575         * gdb.base/disp-step-fork.c: Include unistd.h.
2576         * gdb.base/siginfo-obj.c: Include stdio.h.
2577         * gdb.base/siginfo-thread.c: Likewise.
2578         * gdb.mi/non-stop.c: Include unistd.h.
2579         * gdb.mi/nsthrexec.c: Include stdio.h.
2580         * gdb.mi/pthreads.c: Include unistd.h.
2581         * gdb.modula2/unbounded1.c (main): Declare returns int.
2582         * gdb.reverse/consecutive-reverse.c: Likewise.
2583         * gdb.threads/create-fail.c: Include unistd.h.
2584         * gdb.threads/killed.c: Likewise.
2585         * gdb.threads/linux-dp.c: Likewise.
2586         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2587         * gdb.threads/non-ldr-exc-2.c: Likewise.
2588         * gdb.threads/non-ldr-exc-3.c: Likewise.
2589         * gdb.threads/non-ldr-exc-4.c: Likewise.
2590         * gdb.threads/pthreads.c: Include unistd.h.
2591         (main): Declare returns int.
2592         * gdb.threads/tls-main.c (foo): New declaration.
2593         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2594
2595 2015-01-23  Simon Marchi  <[email protected]>
2596
2597         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2598         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2599
2600 2015-01-15  Mark Wielaard  <[email protected]>
2601
2602         * gdb.base/noreturn-return.c: New file.
2603         * gdb.base/noreturn-return.exp: New file.
2604         * gdb.base/noreturn-finish.c: New file.
2605         * gdb.base/noreturn-finish.exp: New file.
2606
2607 2015-01-23  Pedro Alves  <[email protected]>
2608
2609         * gdb.threads/continue-pending-after-query.c: New file.
2610         * gdb.threads/continue-pending-after-query.exp: New file.
2611
2612 2015-01-22  Anders Granlund  <[email protected]>
2613             Simon Marchi  <[email protected]>
2614
2615         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2616         * gdb.base/valgrind-db-attach.exp: Same.
2617         * gdb.base/valgrind-infcall.exp: Same.
2618         * lib/mi-support.exp (default_mi_gdb_start): Same.
2619         * lib/prompt.exp (default_prompt_gdb_start): Same.
2620         * lib/gdb.exp (default_gdb_spawn): Same.
2621         (gdb_interact): New.
2622
2623
2624 2015-01-22  Jan Kratochvil  <[email protected]>
2625
2626         * gdb.compile/compile.exp (pointer to jit function): New test.
2627
2628 2015-01-17  Wei-cheng Wang  <[email protected]>
2629
2630         * lib/gdb.exp (supports_process_record): Return true for
2631         powerpc*-*-linux*.
2632         (supports_reverse): Likewise.
2633
2634 2015-01-15  Don Breazeal  <[email protected]>
2635
2636         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2637         instead of checking whether the target board is remote and
2638         use spawn_wait_for_attach instead of exec/sleep.
2639         * gdb.base/attach-twice.exp: Likewise.
2640
2641 2015-01-15  Joel Brobecker  <[email protected]>
2642
2643         * gdb.ada/var_arr_attrs: New testcase.
2644
2645 2015-01-14  Pedro Alves  <[email protected]>
2646             Joel Brobecker  <[email protected]>
2647
2648         PR gdb/17525
2649         * gdb.base/bp-cmds-execution-x-script.c: New file.
2650         * gdb.base/bp-cmds-execution-x-script.exp: New file.
2651         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2652
2653 2015-01-14  Pedro Alves  <[email protected]>
2654
2655         PR cli/17828
2656         * gdb.base/batch-preserve-term-settings.c: New file.
2657         * gdb.base/batch-preserve-term-settings.exp: New file.
2658
2659 2015-01-13  Doug Evans  <[email protected]>
2660
2661         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2662         binary.
2663
2664 2015-01-13  Joel Brobecker  <[email protected]>
2665
2666         * Makefile.in (clean mostlyclean): Do not delete *.py.
2667
2668 2015-01-13  Joel Brobecker  <[email protected]>
2669
2670         * gdb.python/py-lookup-type.exp: New file.
2671
2672 2015-01-12  Pedro Alves  <[email protected]>
2673
2674         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2675         restore GDBFLAGS before returning.
2676
2677 2015-01-12  Jan Kratochvil  <[email protected]>
2678
2679         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2680         is_amd64_regs_target and is_x86_like_target.
2681
2682 2015-01-11  Doug Evans  <[email protected]>
2683
2684         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2685         is given without an explicit form.
2686         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2687         attributes.
2688         * gdb.dwarf/corrupt.exp: Ditto.
2689         * gdb.dwarf2/enum-type.exp: Ditto.
2690         * gdb.trace/entry-values.exp: Ditto.
2691         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2692
2693 2015-01-11  Doug Evans  <[email protected]>
2694
2695         PR gdb/15830
2696         * gdb.base/maint.exp: Remove references to "maint demangle".
2697         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
2698         Add tests for explicitly specifying language to demangle.
2699         * gdb.dlang/demangle.exp: Ditto.
2700
2701 2015-01-09  Pedro Alves  <[email protected]>
2702
2703         * gdb.threads/non-stop-fair-events.c: New file.
2704         * gdb.threads/non-stop-fair-events.exp: New file.
2705
2706 2015-01-09  Pedro Alves  <[email protected]>
2707
2708         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2709         the global scope.  Set a breakpoint after all threads are started
2710         rather than stepping over two source lines.  Expect the prompt.
2711         * gdb.base/watch_thread_num.c (threads_started_barrier): New
2712         global.
2713         (NUM): Now 15.
2714         (main): Use threads_started_barrier to wait for all threads to
2715         start.  Main thread no longer calls thread_function.  Exit after
2716         180 seconds.
2717         (loop): New function.
2718         (thread_function): Wait on threads_started_barrier barrier.  Call
2719         'loop' at each iteration.
2720         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2721         threads have started, instead of hardcoding number of "next"
2722         steps.  Use an access watchpoint instead of a write watchpoint.
2723
2724 2015-01-09  Pedro Alves  <[email protected]>
2725
2726         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2727         (thread_func): Wait on barrier.
2728         (main): Wait for all threads to start before stopping GDB.
2729         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2730         global.
2731         (thread1_func, thread2_func): Wait on barrier.
2732         (main): Wait for all threads to start before stopping GDB.
2733         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2734         New global.
2735         (thread1_func, thread2_func): Wait on barrier.
2736         (main): Wait for all threads to start before stopping GDB.
2737
2738 2015-01-09  Pedro Alves  <[email protected]>
2739
2740         * gdb.threads/attach-many-short-lived-threads.c: New file.
2741         * gdb.threads/attach-many-short-lived-threads.exp: New file.
2742
2743 2014-01-09  Pedro Alves  <[email protected]>
2744
2745         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2746         instead of to thread 2.
2747         * gdb.threads/signal-command-multiple-signals-pending.c (main):
2748         Add barrier around each pthread_create call instead of around all
2749         calls.
2750         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2751         Set a break on thread_function and have the child threads hit it
2752         one at at a time.
2753
2754 2015-01-09  Pedro Alves  <[email protected]>
2755
2756         * lib/gdb.exp (can_spawn_for_attach): New procedure.
2757         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2758         false.
2759         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2760         checking whether the target board is remote.
2761         * gdb.multi/multi-attach.exp: Likewise.
2762         * gdb.python/py-sync-interp.exp: Likewise.
2763         * gdb.server/ext-attach.exp: Likewise.
2764         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2765         tests that need to attach, instead of checking whether the target
2766         board is remote at the top of the file.
2767
2768 2015-01-08  Yao Qi  <[email protected]>
2769
2770         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2771
2772 2015-01-07  Jan Kratochvil  <[email protected]>
2773
2774         Fix testcase compilation.
2775         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2776
2777 2015-01-06  Joel Brobecker  <[email protected]>
2778
2779         * gdb.python/py-type.exp: Add a couple test about empty
2780         array creation, and negative-length array creation.
2781
2782 2015-01-02  Doug Evans  <[email protected]>
2783
2784         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2785
2786 2015-01-02  Doug Evans  <[email protected]>
2787
2788         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2789
2790 2014-12-29  Yao Qi  <[email protected]>
2791
2792         * gdb.trace/entry-values.exp: Update comments.  Rename variable
2793         bar_call_foo to returned_from_foo.
2794
2795 2014-12-20  Mihail-Marian Nistor  <[email protected]>
2796
2797         PR gdb/17394
2798         * gdb.linespec/break-asm-file.c: New file.
2799         * gdb.linespec/break-asm-file.exp: New file.
2800         * gdb.linespec/break-asm-file0.s: New file.
2801         * gdb.linespec/break-asm-file1.s: New file.
2802
2803 2014-12-18  Nigel Stephens  <[email protected]>
2804             Maciej W. Rozycki  <[email protected]>
2805
2806         * gdb.base/float.exp: Handle the new output from "info float" on
2807         MIPS targets.
2808
2809 2014-12-17  Jan Kratochvil  <[email protected]>
2810
2811         Fix MinGW compilation.
2812         * gdb.compile/compile-ops.exp: Update untested message if
2813         !skip_compile_feature_tests.
2814         * gdb.compile/compile-setjmp.exp: Likewise.
2815         * gdb.compile/compile-tls.exp: Likewise.
2816         * gdb.compile/compile.exp: Likewise.
2817         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2818         supported on this host".
2819
2820 2014-12-16  Doug Evans  <[email protected]>
2821
2822         * boards/stabs.exp: New file.
2823
2824 2014-12-16  Andreas Arnez  <[email protected]>
2825
2826         * gdb.base/completion.exp: Adjust to format changes of "maint
2827         print user-registers".
2828
2829 2014-12-16  Catalin Udma  <[email protected]>
2830
2831         PR server/17457
2832         * gdb.arch/aarch64-fp.c: New file.
2833         * gdb.arch/aarch64-fp.exp: New file.
2834
2835 2014-12-15  Sergio Durigan Junior  <[email protected]>
2836
2837         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2838         r210637, r210913, r211666, r215400, r215817).
2839
2840         2014-05-08  Richard Sandiford  <[email protected]>
2841                 * dg-extract-results.py: New file.
2842                 * dg-extract-results.sh: Use it if the environment seems
2843                 suitable.
2844
2845         2014-05-20  Richard Sandiford  <[email protected]>
2846
2847                 * dg-extract-results.py (parse_run): Handle warnings that
2848                 are printed before a test harness is run.
2849
2850         2014-05-25  Richard Sandiford  <[email protected]>
2851
2852                 * dg-extract-results.py (Named): Remove __cmp__ method.
2853                 (output_variation): Use a key to sort variation.harnesses.
2854
2855         2014-06-14  Richard Sandiford  <[email protected]>
2856
2857                 * dg-extract-results.py: For Python 3, force sys.stdout to
2858                 handle surrogate escape sequences.
2859                 (safe_open): New function.
2860                 (output_segment, main): Use it.
2861
2862         2014-09-19  Segher Boessenkool  <[email protected]>
2863
2864                 * dg-extract-results.py (Prog.result_re): Include options
2865                 in test name.
2866
2867         2014-10-02  Segher Boessenkool  <[email protected]>
2868
2869                 * dg-extract-results.py (output_variation): Always sort if
2870                 do_sum.
2871
2872 2014-12-15  Simon Marchi  <[email protected]>
2873
2874         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2875         as long as we get pagination notifications.
2876
2877 2014-12-15  Jason Merrill  <[email protected]>
2878
2879         * Makefile.in (check-gdb.%): Restore.
2880         * README: Mention it.
2881
2882 2014-12-13  Joel Brobecker  <[email protected]>
2883
2884         * gdb.ada/str_uninit: New testcase.
2885
2886 2014-12-13  Jan Kratochvil  <[email protected]>
2887
2888         PR symtab/17642
2889         * gdb.base/vla-stub-define.c: New file.
2890         * gdb.base/vla-stub.c: New file.
2891         * gdb.base/vla-stub.exp: New file.
2892
2893 2014-12-12  Phil Muldoon  <[email protected]>
2894             Jan Kratochvil  <[email protected]>
2895             Tom Tromey  <[email protected]>
2896
2897         * configure.ac: Add gdb.compile/.
2898         * configure: Regenerate.
2899         * gdb.compile/Makefile.in: New file.
2900         * gdb.compile/compile-ops.exp: New file.
2901         * gdb.compile/compile-ops.c: New file.
2902         * gdb.compile/compile-tls.c: New file.
2903         * gdb.compile/compile-tls.exp: New file.
2904         * gdb.compile/compile-constvar.S: New file.
2905         * gdb.compile/compile-constvar.c: New file.
2906         * gdb.compile/compile-mod.c: New file.
2907         * gdb.compile/compile-nodebug.c: New file.
2908         * gdb.compile/compile-setjmp-mod.c: New file.
2909         * gdb.compile/compile-setjmp.c: New file.
2910         * gdb.compile/compile-setjmp.exp: New file.
2911         * gdb.compile/compile-shlib.c: New file.
2912         * gdb.compile/compile.c: New file.
2913         * gdb.compile/compile.exp: New file.
2914         * lib/gdb.exp (skip_compile_feature_tests): New proc.
2915
2916 2014-12-12  Tom Tromey  <[email protected]>
2917
2918         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
2919         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2920
2921 2014-12-12  Doug Evans  <[email protected]>
2922
2923         * lib/gdb-python.exp (get_python_valueof): New function.
2924         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2925
2926 2014-12-12  Andreas Arnez  <[email protected]>
2927
2928         * gdb.base/completion.exp: Add test for completion of "info
2929         registers ".
2930
2931 2014-12-12  Maciej W. Rozycki  <[email protected]>
2932
2933         * gdb.base/func-ptrs.c: New file.
2934         * gdb.base/func-ptrs.exp: New file.
2935
2936 2014-12-10  Simon Marchi  <[email protected]>
2937
2938         PR breakpoints/17012
2939         * gdb.base/dprintf-detach.c: New file.
2940         * gdb.base/dprintf-detach.exp: New file.
2941
2942 2014-12-10  Simon Marchi  <[email protected]>
2943
2944         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2945         * lib/gdb.exp (target_is_gdbserver): New procedure.
2946
2947 2014-12-08  Doug Evans  <[email protected]>
2948
2949         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2950
2951 2014-12-05  Yao Qi  <[email protected]>
2952
2953         * gdb.guile/scm-error.exp: Remove the third argument to
2954         gdb_remote_download.
2955         * gdb.guile/scm-frame-args.exp: Likewise.
2956         * gdb.guile/scm-section-script.exp: Likewise.
2957
2958 2014-12-05  Yao Qi  <[email protected]>
2959
2960         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2961
2962 2014-12-04  Doug Evans  <[email protected]>
2963
2964         * gdb.python/py-objfile.exp: Add tests for
2965         objfile.add_separate_debug_file.
2966
2967 2014-12-04  Doug Evans  <[email protected]>
2968
2969         * lib/gdb.exp (get_build_id): New function.
2970         (build_id_debug_filename_get): Rewrite to use it.
2971         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2972
2973 2014-12-04  Maciej W. Rozycki  <[email protected]>
2974
2975         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2976         `method(long)', not just 0x0.
2977         * gdb.cp/nsalias.exp: Align code labels to 4.
2978         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2979         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2980         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2981         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2982         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2983         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2984
2985 2014-12-02  Doug Evans  <[email protected]>
2986
2987         PR symtab/17602
2988         * gdb.cp/anon-ns.cc: Move guts of this file to ...
2989         * gdb.cp/anon-ns2.cc: ... here.  New file.
2990         * gdb.cp/anon-ns.exp: Update.
2991
2992 2014-12-02  Nick Bull  <[email protected]>
2993
2994         * gdb.python/py-events.py (inferior_call_handler): New.
2995         (register_changed_handler, memory_changed_handler): New.
2996         (test_events.invoke): Register new handlers.
2997         * gdb.python/py-events.exp: Add tests for inferior call,
2998         memory_changed and register_changed events.
2999
3000 2014-12-02  Andreas Arnez  <[email protected]>
3001
3002         * gdb.base/execl-update-breakpoints.exp: Specify the link address
3003         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
3004         if the linker doesn't understand this.
3005
3006 2014-12-01  Simon Marchi  <[email protected]>
3007
3008         * gdb.python/python.exp: Change expected reply to help().
3009
3010 2014-12-01  Yao Qi  <[email protected]>
3011
3012         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
3013         AC_CONFIG_SUBDIRS(gdb.gdbtk).
3014         * configure: Re-generated.
3015
3016 2014-11-28  Siva Chandra Reddy  <[email protected]>
3017
3018         * gdb.cp/chained-calls.cc: New file.
3019         * gdb.cp/chained-calls.exp: New file.
3020         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3021
3022 2014-11-28  Simon Marchi  <[email protected]>
3023
3024         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3025         * gdb.dwarf2/symtab-producer.exp: Same.
3026         * gdb.gdb/python-interrupts.exp: Same.
3027         * gdb.gdb/python-selftest.exp: Same.
3028         * gdb.python/py-linetable.exp: Same.
3029         * gdb.python/py-type.exp: Same.
3030         * gdb.python/py-value-cc.exp: Same.
3031         * gdb.python/py-value.exp: Same.
3032
3033 2014-11-28  Yao Qi  <[email protected]>
3034
3035         * gdb.base/break-probes.exp: Match library name prefixed with
3036         sysroot.
3037
3038 2014-11-27  Simon Marchi  <[email protected]>
3039
3040         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3041         test expected output.  Add parentheses for the call to print.
3042         Remove L suffix from integers.
3043
3044 2014-11-26  Doug Evans  <[email protected]>
3045
3046         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3047
3048 2014-11-22  Yao Qi  <[email protected]>
3049
3050         * gdb.trace/entry-values.c: Remove asms.
3051         (foo): Add foo_label.
3052         (bar): Add bar_label.
3053         * gdb.trace/entry-values.exp: Remove code computing  foo's
3054         length and bar's length.
3055         (Dwarf::assemble): Invoke function_range for bar and use
3056         MACRO_AT_func for foo.
3057
3058 2014-11-22  Yao Qi  <[email protected]>
3059
3060         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3061         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
3062         Use .Lgcc43_procstart instead of gcc43.
3063
3064 2014-11-21  Joel Brobecker  <[email protected]>
3065
3066         * gdb.ada/n_arr_bound: New testcase.
3067
3068 2014-11-20  Sergio Durigan Junior  <[email protected]>
3069
3070         PR breakpoints/10737
3071         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3072         test_catch_syscall_multi_arch.
3073         (test_catch_syscall_multi_arch): New function.
3074
3075 2014-11-20  Doug Evans  <[email protected]>
3076
3077         * gdb.base/maint.exp: Update expected output.
3078
3079 2014-11-19  Andreas Arnez  <[email protected]>
3080
3081         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3082         4-byte instruction on S390.
3083
3084 2014-11-19  Joel Brobecker  <[email protected]>
3085
3086         * gdb.ada/arr_arr: New testcase.
3087
3088 2014-11-19  Joel Brobecker  <[email protected]>
3089
3090         * gdb.ada/pkd_arr_elem: New Testcase.
3091
3092 2014-11-18  Luis Machado  <[email protected]>
3093
3094         * gdb.reverse/break-precsave: Expect completion message for
3095         core file reads.
3096         * gdb.reverse/consecutive-precsave.exp: Likewise.
3097         * gdb.reverse/finish-precsave.exp: Likewise.
3098         * gdb.reverse/i386-precsave.exp: Likewise.
3099         * gdb.reverse/machinestate-precsave.exp: Likewise.
3100         * gdb.reverse/sigall-precsave.exp: Likewise.
3101         * gdb.reverse/solib-precsave.exp: Likewise.
3102         * gdb.reverse/step-precsave.exp: Likewise.
3103         * gdb.reverse/until-precsave.exp: Likewise.
3104         * gdb.reverse/watch-precsave.exp: Likewise.
3105
3106 2014-11-17  Andreas Arnez  <[email protected]>
3107
3108         * gdb.base/bp-permanent.c: Include unistd.h.
3109         * gdb.python/py-framefilter-mi.c (main): Add return type.
3110         * gdb.python/py-framefilter.c (main): Likewise.
3111         * gdb.trace/actions-changed.c (main): Likewise.
3112
3113 2014-11-17  Andreas Arnez  <[email protected]>
3114
3115         * gdb.mi/until.c: Add eye-catchers.
3116         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3117         line numbers.
3118
3119 2014-11-17  Andreas Arnez  <[email protected]>
3120
3121         * gdb.base/condbreak.exp: Drop references to removed non-prototype
3122         function header variants in break1.c.
3123         * gdb.base/ena-dis-br.exp: Likewise.
3124         * gdb.base/hbreak2.exp: Likewise.
3125         * gdb.reverse/until-precsave.exp: Drop references to removed
3126         non-prototype function header variants in ur1.c.
3127         * gdb.reverse/until-reverse.exp: Likewise.
3128
3129 2014-11-17  Petr Machata  <[email protected]>
3130
3131         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
3132         ${_cu_offset_size} bytes abbrev offset.
3133
3134 2014-11-15  Doug Evans  <[email protected]>
3135
3136         PR symtab/17559
3137         * gdb.base/line-symtabs.exp: New file.
3138         * gdb.base/line-symtabs.c: New file.
3139         * gdb.base/line-symtabs.h: New file.
3140
3141 2014-11-14  Yao Qi  <[email protected]>
3142
3143         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3144         (func): Add label func_label.
3145         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3146         Replace low_pc and high_pc with MACRO_AT_range.
3147         Replace name, low_pc and high_pc with MACRO_AT_func.
3148
3149 2014-11-14  Yao Qi  <[email protected]>
3150
3151         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3152         Replace name, low_pc and high_pc with MACRO_AT_func.
3153
3154 2014-11-14  Yao Qi  <[email protected]>
3155
3156         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3157         produce debug information.
3158         * gdb.dwarf2/implptr-optimized-out.S: Removed.
3159
3160 2014-11-14  Yao Qi  <[email protected]>
3161
3162         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3163         object and get function length.
3164         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3165         with MACRO_AT_func.
3166         (top-level): Replace gdb_compile and clean_restart with
3167         prepare_for_testing.
3168         * gdb.dwarf2/main.c (main): Add label main_label.
3169
3170 2014-11-14  Yao Qi  <[email protected]>
3171
3172         * lib/dwarf.exp (function_range): New procedure.
3173         (Dwarf::_handle_macro_at_func): New procedure.
3174         (Dwarf::_handle_macro_at_range): New procedure.
3175         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3176
3177 2014-11-14  Yao Qi  <[email protected]>
3178
3179         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3180         (_handle_attribute): New procedure.
3181
3182 2014-11-13  Andreas Arnez  <[email protected]>
3183
3184         * gdb.ada/cond_lang/foo.c (callme): Add return type.
3185         * gdb.base/call-sc.c (zed): Likewise.
3186         * gdb.base/checkpoint.c (main): Likewise.
3187         * gdb.base/dump.c (main): Likewise.
3188         * gdb.base/gcore.c (main): Likewise.
3189         * gdb.base/huge.c (main): Likewise.
3190         * gdb.base/multi-forks.c (main): Likewise.
3191         * gdb.base/pr10179-a.c (main): Likewise.
3192         * gdb.base/savedregs.c (main): Likewise.
3193         * gdb.base/sigaltstack.c (main): Likewise.
3194         * gdb.base/siginfo.c (main): Likewise.
3195         * gdb.base/structs.c (zed): Likewise.
3196         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3197         * gdb.mi/mi-syn-frame.c (main): Likewise.
3198         * gdb.mi/until.c (foo, main): Likewise.
3199         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3200         * gdb.base/solib-weak.c (foo): Declare.
3201         * gdb.base/attach-twice.c: Include stdio.h.
3202         * gdb.base/weaklib1.c: Likewise.
3203         * gdb.base/weaklib2.c: Likewise.
3204         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3205         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3206         unistd.h.
3207         * gdb.base/attach-pie-misread.c: Include stdlib.h.
3208         * gdb.mi/mi-exit-code.c: Likewise.
3209         * gdb.base/break-interp-lib.c: Include string.h.
3210         * gdb.base/coremaker.c: Likewise.
3211         * gdb.base/testenv.c: Likewise.
3212         * gdb.python/py-finish-breakpoint.c: Likewise.
3213         * gdb.base/inferior-died.c: Include sys/wait.h.
3214         * gdb.base/fileio.c: Include time.h.
3215         * gdb.base/async-shell.c: Include unistd.h.
3216         * gdb.base/dprintf-non-stop.c: Likewise.
3217         * gdb.base/info-os.c: Likewise.
3218         * gdb.mi/mi-console.c: Likewise.
3219         * gdb.mi/watch-nonstop.c: Likewise.
3220         * gdb.python/py-events.c: Likewise.
3221         * gdb.base/async.c (baz): Move up before its invocation.
3222         * gdb.base/code_elim2.c (my_global_func): Likewise.
3223         * gdb.base/skip-solib-lib.c (multiply): Likewise.
3224         * gdb.base/advance.c (func2): Likewise.
3225
3226 2014-11-13  Andreas Arnez  <[email protected]>
3227
3228         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3229         variant.
3230         * gdb.base/annota3.c: Likewise.
3231         * gdb.base/async.c: Likewise.
3232         * gdb.base/average.c: Likewise.
3233         * gdb.base/call-ar-st.c: Likewise.
3234         * gdb.base/call-rt-st.c: Likewise.
3235         * gdb.base/call-sc.c: Likewise.
3236         * gdb.base/call-strs.c: Likewise.
3237         * gdb.base/ending-run.c: Likewise.
3238         * gdb.base/execd-prog.c: Likewise.
3239         * gdb.base/exprs.c: Likewise.
3240         * gdb.base/foll-exec.c: Likewise.
3241         * gdb.base/foll-fork.c: Likewise.
3242         * gdb.base/foll-vfork.c: Likewise.
3243         * gdb.base/funcargs.c: Likewise.
3244         * gdb.base/gcore.c: Likewise.
3245         * gdb.base/jump.c: Likewise.
3246         * gdb.base/langs0.c: Likewise.
3247         * gdb.base/langs1.c: Likewise.
3248         * gdb.base/langs2.c: Likewise.
3249         * gdb.base/mips_pro.c: Likewise.
3250         * gdb.base/nodebug.c: Likewise.
3251         * gdb.base/opaque0.c: Likewise.
3252         * gdb.base/opaque1.c: Likewise.
3253         * gdb.base/recurse.c: Likewise.
3254         * gdb.base/run.c: Likewise.
3255         * gdb.base/scope0.c: Likewise.
3256         * gdb.base/scope1.c: Likewise.
3257         * gdb.base/setshow.c: Likewise.
3258         * gdb.base/setvar.c: Likewise.
3259         * gdb.base/shmain.c: Likewise.
3260         * gdb.base/shr1.c: Likewise.
3261         * gdb.base/shr2.c: Likewise.
3262         * gdb.base/sigall.c: Likewise.
3263         * gdb.base/signals.c: Likewise.
3264         * gdb.base/so-indr-cl.c: Likewise.
3265         * gdb.base/solib2.c: Likewise.
3266         * gdb.base/structs.c: Likewise.
3267         * gdb.base/sum.c: Likewise.
3268         * gdb.base/vforked-prog.c: Likewise.
3269         * gdb.base/watchpoint.c: Likewise.
3270         * gdb.reverse/shr2.c: Likewise.
3271         * gdb.reverse/until-reverse.c: Likewise.
3272         * gdb.reverse/ur1.c: Likewise.
3273         * gdb.reverse/watch-reverse.c: Likewise.
3274
3275 2014-11-13  Andreas Arnez  <[email protected]>
3276
3277         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3278         variant.
3279         * gdb.base/sepdebug.exp: Drop references to removed code.
3280
3281 2014-11-13  Andreas Arnez  <[email protected]>
3282
3283         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3284         variant.  Preserve original line numbering.
3285         * gdb.base/list1.c: Likewise.
3286
3287 2014-11-13  Andreas Arnez  <[email protected]>
3288
3289         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3290         variant.
3291         * gdb.base/break1.c: Likewise.
3292         * gdb.base/break.exp: Drop references to removed code.
3293
3294 2014-11-13  Andreas Arnez  <[email protected]>
3295
3296         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3297         variant.
3298
3299 2014-11-13  Andreas Arnez  <[email protected]>
3300
3301         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3302
3303 2014-11-13  Andreas Arnez  <[email protected]>
3304
3305         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
3306         logic into perform_all_tests() and invoke it with and without
3307         function header prototypes.
3308         (do_function_calls): Remove conditional XFAIL for PR 5318.
3309         (rerun_and_prepare): Remove duplicate code.
3310         (perform_all_tests): New.  Main logic moved here.
3311
3312 2014-11-13  Andreas Arnez  <[email protected]>
3313
3314         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3315         code guarded by #ifdef NO_PROTOTYPES.
3316         (t_double_many_args): Likewise.
3317         (DEF_FUNC_MANY_ARGS_1): Likewise.
3318         (DEF_FUNC_VALUES_1): Likewise.
3319         (t_structs_ldc): Renamed from t_structs_fc in conditional code
3320         guarded by #ifdef PROTOTYPES.
3321
3322 2014-11-13  Andreas Arnez  <[email protected]>
3323
3324         * gdb.mi/mi-console.c: Add eye-catcher.
3325         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3326         instead of literal line number.
3327
3328 2014-11-13  Andreas Arnez  <[email protected]>
3329
3330         * gdb.base/shr2.c: Add eye-catcher.
3331         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3332         line number.
3333
3334 2014-11-13  Andreas Arnez  <[email protected]>
3335
3336         * gdb.base/jump.c: Add eye-catchers.
3337         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3338         numbers.
3339
3340 2014-11-13  Andreas Arnez  <[email protected]>
3341
3342         * gdb.base/execd-prog.c: Add eye-catchers.
3343         * gdb.base/foll-exec.c: Likewise.
3344         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3345         line numbers.
3346
3347 2014-11-13  Andreas Arnez  <[email protected]>
3348
3349         * gdb.base/ending-run.c: Add eye-catchers.
3350         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3351         literal line numbers.
3352
3353 2014-11-13  Andreas Arnez  <[email protected]>
3354
3355         * gdb.base/call-rt-st.c: Add eye-catchers.
3356         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3357         literal line numbers.
3358
3359 2014-11-13  Andreas Arnez  <[email protected]>
3360
3361         * gdb.base/call-ar-st.c: Add eye-catchers.
3362         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3363         literal line numbers.
3364
3365 2014-11-13  Andreas Arnez  <[email protected]>
3366
3367         * gdb.base/average.c: Add eye-catchers.
3368         * gdb.base/sum.c: Likewise.
3369         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3370         regexps dynamically.
3371
3372 2014-11-13  Andreas Arnez  <[email protected]>
3373
3374         * gdb.base/solib1.c: Add eye-catchers.
3375         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3376         literal line numbers.
3377
3378 2014-11-12  Pedro Alves  <[email protected]>
3379
3380         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3381         leader has exited.
3382
3383 2014-11-12  Pedro Alves  <[email protected]>
3384
3385         * gdb.arch/i386-bp_permanent.c: New file.
3386         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3387         (srcfile): Set to i386-bp_permanent.c.
3388         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
3389         that stepi does not execute the 'leave' instruction, instead of
3390         testing it does execute.
3391         * gdb.base/bp-permanent.c: New file.
3392         * gdb.base/bp-permanent.exp: New file.
3393
3394 2014-11-10  Doug Evans  <[email protected]>
3395
3396         PR symtab/17564
3397         * gdb.base/symtab-search-order.exp: New file.
3398         * gdb.base/symtab-search-order.c: New file.
3399         * gdb.base/symtab-search-order-1.c: New file.
3400         * gdb.base/symtab-search-order-shlib-1.c: New file.
3401
3402 2014-11-07  Pedro Alves  <[email protected]>
3403
3404         PR gdb/17511
3405         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3406         i?86-*-linux*.
3407
3408 2014-11-03  Siva Chandra Reddy  <[email protected]>
3409
3410         PR c++/17494
3411         * gdb.cp/pr17494.cc: New file.
3412         * gdb.cp/pr17494.exp: New file.
3413
3414 2014-11-02  Yao Qi  <[email protected]>
3415
3416         * gdb.python/python.exp: Get working directory and match the
3417         output of "set extended-prompt \\w " with it.
3418
3419 2014-10-30  Doug Evans  <[email protected]>
3420
3421         * gdb.python/py-objfile.exp: Add tests for setting random attributes
3422         in objfiles.
3423         * gdb.python/py-progspace.exp: Add tests for setting random attributes
3424         in progspaces.
3425
3426 2014-10-30  Janis Johnson  <[email protected]>
3427
3428         * gdb.base/fullpath-expand.exp: Skip for a remote host.
3429         * gdb.base/realname-expand.exp: Likewise.
3430         * gdb.linespec/macro-relative.exp: Likewise.
3431
3432 2014-10-29  Pedro Alves  <[email protected]>
3433
3434         PR gdb/17408
3435         * gdb.threads/schedlock.c (some_function): New function.
3436         (call_function): New global.
3437         (MAYBE_CALL_SOME_FUNCTION): New macro.
3438         (thread_function): Call it.
3439         * gdb.threads/schedlock.exp (get_args): Add description parameter,
3440         and use it instead of a global counter.  Adjust all callers.
3441         (get_current_thread): Use "find current thread" for test message
3442         here rather than having all callers pass down the same string.
3443         (goto_loop): New procedure, factored out from ...
3444         (my_continue): ... this.
3445         (step_ten_loops): Change parameter from test message to command to
3446         use.  Adjust.
3447         (list_count): Delete global.
3448         (check_result): New procedure, factored out from duplicate top
3449         level code.
3450         (continue tests): Wrap in with_test_prefix.
3451         (test_step): New procedure, factored out from duplicate top level
3452         code.
3453         (top level): Test "step" in combination with all scheduler-locking
3454         modes.  Test "next" in combination with all scheduler-locking
3455         modes, and in combination with stepping over a function call or
3456         not.
3457         * gdb.threads/next-bp-other-thread.c: New file.
3458         * gdb.threads/next-bp-other-thread.exp: New file.
3459
3460 2014-10-29  Pedro Alves  <[email protected]>
3461
3462         PR python/17372
3463         * gdb.python/python.exp: Test a multi-line command that spawns
3464         interactive Python.
3465         * gdb.base/multi-line-starts-subshell.exp: New file.
3466
3467 2014-10-29  Yao Qi  <[email protected]>
3468
3469         * gdb.base/fileio.exp: Make directories on host.
3470
3471 2014-10-29  Yao Qi  <[email protected]>
3472
3473         * gdb.base/fileio.c (test_write): Close the file.
3474
3475 2014-10-28  Pedro Alves  <[email protected]>
3476
3477         PR gdb/12623
3478         * gdb.base/sigstep.c (no_handler): New global.
3479         (main): If 'no_handler is true, set the signal handlers to
3480         SIG_IGN.
3481         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3482         with_sw_watch and no_handler parameters.  Handle them.
3483         (top level) <stepping over handler when stopped at a breakpoint
3484         test>: Add a test axis for testing with a software watchpoint, and
3485         another for testing with the signal handler set to SIG_IGN.
3486         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3487         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3488
3489 2014-10-28  Pedro Alves  <[email protected]>
3490
3491         PR gdb/17511
3492         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3493         * gdb.base/sigstep.exp (other_handler_location): New global.
3494         (advance): Support stepping into the signal handler, and running
3495         commands while in the handler.
3496         (in_handler_map): New global.
3497         (top level): In the advance test, add combinations for getting
3498         into the handler with stepping commands, and for running commands
3499         in the handler.  Add comment descripting the advancei tests.
3500
3501 2014-10-28  Pedro Alves  <[email protected]>
3502
3503         * gdb.base/sigstep.exp: Use build_executable instead of
3504         prepare_for_testing.
3505         (top level): Move code that starts GDB, runs to main and creates a
3506         display to ...
3507         (restart): ... this new procedure.
3508         (top level): Move backtrace from signal handler test to ...
3509         (validate_backtrace): ... this new procedure.
3510         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
3511         with_test_prefix.  Always restart GDB.
3512         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
3513         with_test_prefix.  Always restart GDB.  No need to delete
3514         breakpoints after the test.
3515         (test_skip_handler): Remove prefix parameter.
3516         (skip_over_handler, breakpoint_to_handler)
3517         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3518         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
3519         restart GDB.  No need to delete breakpoints after the test.
3520         (top level): Use foreach to call the test procedures with
3521         different commands.
3522
3523 2014-10-28  Pedro Alves  <[email protected]>
3524
3525         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3526         instead of GNATS numbers.
3527         * gdb.base/sigbpt.exp: Likewise.
3528         * gdb.base/siginfo.exp: Likewise.
3529         * gdb.base/sigstep.exp: Likewise.
3530
3531 2014-10-27  Pedro Alves  <[email protected]>
3532
3533         * gdb.base/sigstep.c (dummy): New global.
3534         (main): Issue a couple writes to the new global.
3535         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3536         procedures.
3537         (skip_over_handler): Use test_skip_handler.
3538         (top level): Call skip_over_handler for stepi and nexti too.
3539         (breakpoint_over_handler): Use test_skip_handler.
3540         (top level): Call breakpoint_over_handler for stepi and nexti too.
3541
3542 2014-10-27  Yao Qi  <[email protected]>
3543
3544         * gdb.trace/tfile.c (adjust_function_address)
3545         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3546         function descriptor.
3547
3548 2014-10-24  Don Breazeal  <[email protected]>
3549
3550         * gdb.base/foll-fork.exp (test_follow_fork,
3551         catch_fork_child_follow): Check for updated fork messages emitted
3552         from infrun.c.
3553         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3554         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3555         vfork_and_exec_child_follow_through_step): Check for updated vfork
3556         messages emitted from infrun.c.
3557
3558 2014-10-24  Pedro Alves  <[email protected]>
3559
3560         * gdb.base/corefile.exp: Remove references to ultrix.
3561         * gdb.base/interrupt.exp: Likewise.
3562         * gdb.base/whatis.exp: Likewise.
3563         * gdb.gdb/selftest.exp: Likewise.
3564         * gdb.threads/manythreads.exp: Likewise.
3565         * gdb.threads/print-threads.exp: Likewise.
3566         * gdb.threads/pthreads.exp:: Likewise.
3567         * gdb.threads/schedlock.exp: Likewise.
3568
3569 2014-10-24  Siva Chandra Reddy  <[email protected]>
3570
3571         * gdb.cp/non-trivial-retval.cc: Add a test case.
3572         * gdb.cp/non-trivial-retval.exp: Add a test.
3573
3574 2014-10-20  Yao Qi  <[email protected]>
3575
3576         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3577         * gdb.python/py-objfile-script-gdb.py: New file.
3578         * gdb.python/py-objfile-script.exp: Update reference to
3579         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
3580         of remote_download.  Remove the dest file.
3581
3582 2014-10-20  Yao Qi  <[email protected]>
3583
3584         * gdb.base/checkpoint.exp: Don't remove file copied on host.
3585         * gdb.base/step-line.exp: Likewise.
3586         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3587         * gdb.dwarf2/dw2-basic.exp: Likewise.
3588         * gdb.dwarf2/dw2-compressed.exp: Likewise.
3589         * gdb.dwarf2/dw2-filename.exp: Likewise.
3590         * gdb.dwarf2/dw2-intercu.exp: Likewise.
3591         * gdb.dwarf2/dw2-intermix.exp: Likewise.
3592         * gdb.dwarf2/dw2-producer.exp: Likewise.
3593         * gdb.dwarf2/mac-fileno.exp: Likewise.
3594         * gdb.python/py-frame-args.exp: Likewise.
3595         * gdb.python/py-framefilter.exp: Likewise.
3596         * gdb.python/py-mi.exp: Likewise.
3597         * gdb.python/py-objfile-script.exp: Likewise
3598         * gdb.python/py-pp-integral.exp: Likewise.
3599         * gdb.python/py-pp-re-notag.exp: Likewise.
3600         * gdb.python/py-prettyprint.exp: Likewise.
3601         * gdb.python/py-section-script.exp: Likewise.
3602         * gdb.python/py-typeprint.exp: Likewise.
3603         * gdb.python/py-xmethods.exp: Likewise.
3604         * gdb.stabs/weird.exp: Likewise.
3605         * gdb.xml/tdesc-regs.exp: Likewise.
3606
3607 2014-10-18  Kwok Cheung Yeung  <[email protected]>
3608
3609         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3610         (out_cu): Use addr_len for the size of addresses.
3611         (out_line): Likewise.  Size DW_LNE_set_address instruction
3612         according to addr_len.
3613         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3614         (FUNC): Add START_INSNS to definition.
3615
3616 2014-10-18  Yao Qi  <[email protected]>
3617
3618         * gdb.base/argv0-symlink.exp: Check argv[0] value if
3619         gdb_has_argv0 return true.
3620         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3621         check [target_info exists noargs], check [gdb_has_argv0]
3622         instead.
3623         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3624         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3625         procedures.
3626
3627 2014-10-17  Doug Evans  <[email protected]>
3628
3629         * gdb.python/py-events.exp: Update expected output for clear_objfiles
3630         event.
3631         * gdb.python/py-events.py: Add clear_objfiles event.
3632
3633 2014-10-17  Doug Evans  <[email protected]>
3634
3635         * gdb.python/py-objfile.exp: Test progspace attribute.
3636
3637 2014-10-17  Luis Machado  <[email protected]>
3638
3639         * gdb.guile/scm-breakpoint.exp: Do not assume any
3640         directory separators when matching source file paths.
3641         * gdb.python/py-breakpoint.exp: Likewise.
3642         * gdb.reverse/break-precsave.exp: Likewise.
3643         * gdb.reverse/break-reverse.exp: Likewise.
3644         * gdb.reverse/consecutive-precsave.exp: Likewise.
3645         * gdb.reverse/finish-precsave.exp: Likewise.
3646         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3647         * gdb.reverse/finish-reverse.exp: Likewise.
3648         * gdb.reverse/i386-precsave.exp: Likewise.
3649         * gdb.reverse/i387-env-reverse.exp: Likewise.
3650         * gdb.reverse/i387-stack-reverse.exp: Likewise.
3651         * gdb.reverse/machinestate-precsave.exp: Likewise.
3652         * gdb.reverse/machinestate.exp: Likewise.
3653         * gdb.reverse/sigall-precsave.exp: Likewise.
3654         * gdb.reverse/solib-precsave.exp: Likewise.
3655         * gdb.reverse/step-precsave.exp: Likewise.
3656         * gdb.reverse/until-precsave.exp: Likewise.
3657         * gdb.reverse/watch-precsave.exp: Likewise.
3658         * gdb.reverse/watch-reverse.exp: Likewise.
3659
3660 2014-10-17  Yao Qi  <[email protected]>
3661
3662         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3663         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3664
3665 2014-10-17  Pedro Alves  <[email protected]>
3666
3667         PR gdb/17471
3668         * gdb.base/bg-execution-repeat.c: New file.
3669         * gdb.base/bg-execution-repeat.exp: New file.
3670
3671 2014-10-17  Pedro Alves  <[email protected]>
3672
3673         PR gdb/17300
3674         * gdb.base/continue-all-already-running.c: New file.
3675         * gdb.base/continue-all-already-running.exp: New file.
3676
3677 2014-10-17  Pedro Alves  <[email protected]>
3678
3679         PR gdb/17472
3680         * gdb.base/annota-input-while-running.c: New file.
3681         * gdb.base/annota-input-while-running.exp: New file.
3682
3683 2014-10-17  Pedro Alves  <[email protected]>
3684
3685         * gdb.base/callfuncs.exp: emove references to osf.
3686         * gdb.base/sigall.exp: Likewise.
3687         * gdb.gdb/selftest.exp: Likewise.
3688         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3689         * gdb.mi/non-stop.c: Likewise.
3690         * gdb.mi/pthreads.c: Likewise.
3691         * gdb.reverse/sigall-precsave.exp: Likewise.
3692         * gdb.reverse/sigall-reverse.exp: Likewise.
3693         * gdb.threads/pthreads.c: Likewise.
3694         * gdb.threads/pthreads.exp: Likewise.
3695
3696 2014-10-17  Yao Qi  <[email protected]>
3697
3698         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3699         check 'target_info exists noargs'.
3700         (test_command_prompt_position): Likewise.
3701         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3702         Remove "set args".
3703         (progvar_simple_while_test): Likewise.
3704         (progvar_complex_if_while_test): Likewise.
3705         (if_while_breakpoint_command_test): Likewise.
3706         (infrun_breakpoint_command_test): Likewise.
3707         (breakpoint_command_test): Likewise.
3708         (watchpoint_command_test): Likewise.
3709         (bp_deleted_in_command_test): Likewise.
3710         (temporary_breakpoint_commands): Likewise.
3711
3712 2014-10-16  Yao Qi  <[email protected]>
3713
3714         * gdb.base/remotetimeout.exp: Remove noargs checking.
3715
3716 2014-10-15  Pedro Alves  <[email protected]>
3717
3718         PR breakpoints/9649
3719         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3720         * gdb.base/breakpoint-in-ro-region.exp
3721         (probe_target_hardware_step): New procedure.
3722         (top level): Probe hardware stepping and hardware breakpoint
3723         support.  Test stepping through a read-only region, with both
3724         "breakpoint auto-hw" on and off and both "always-inserted" on and
3725         off.
3726
3727 2014-10-15  Iain Buclaw  <[email protected]>
3728
3729         * gdb.dlang/demangle.exp: Update for demangling changes.
3730
3731 2014-10-15  Siva Chandra Reddy  <[email protected]>
3732
3733         * gdb.cp/non-trivial-retval.cc: Add new test cases.
3734         * gdb.cp/non-trivial-retval.exp: Add new tests.
3735
3736 2014-10-15  Siva Chandra Reddy  <[email protected]>
3737
3738         PR c++/13403
3739         PR c++/15154
3740         * gdb.cp/non-trivial-retval.cc: New file.
3741         * gdb.cp/non-trivial-retval.exp: New file.
3742
3743 2014-10-15  Yao Qi  <[email protected]>
3744
3745         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3746         remote host.
3747
3748 2014-10-15  Yao Qi  <[email protected]>
3749
3750         * gdb.python/py-symbol.exp: Match file base name if host is
3751         remote, otherwise match file name with dir name.
3752         * gdb.python/py-symtab.exp: Likewise.
3753         * gdb.python/python.exp: Likewise.
3754
3755 2014-10-15  Yao Qi  <[email protected]>
3756
3757         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3758         pattern.
3759         * gdb.python/py-symtab.exp: Likewise.
3760         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
3761         locationn.
3762
3763 2014-10-14  Joel Brobecker  <[email protected]>
3764
3765         * gdb.ada/addr_arith: New testcase.
3766
3767 2014-10-14  Maciej W. Rozycki  <[email protected]>
3768
3769         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3770         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3771         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3772         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3773
3774 2014-10-14  Sergio Durigan Junior  <[email protected]>
3775
3776         * gdb.arch/stap-eval-lang-ada.S: Likewise.
3777         * gdb.arch/stap-eval-lang-ada.c: Likewise.
3778         * gdb.arch/stap-eval-lang-ada.exp: New file.
3779
3780 2014-10-14  Yao Qi  <[email protected]>
3781
3782         * gdb.mi/mi-var-child.c (nothing1): New function.
3783         (nothing2): New function.
3784         (do_children_tests): Set function pointers by nothing1 and
3785         nothing2.
3786         * gdb.mi/mi-var-child.exp: Step over new added statements.
3787         Update test to match the new output.
3788         * gdb.mi/var-cmd.c (nothing1): New function.
3789         (nothing2): New function.
3790         (do_children_tests): Set function pointers by  nothing1 and
3791         nothing2.
3792         * gdb.mi/mi-var-display.exp: Update test to match output.
3793         Step to the line specified by $line_dct_nothing.
3794         Increase the number of lines to step.
3795
3796 2014-10-14  Yao Qi  <[email protected]>
3797
3798         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3799         tests.
3800         * gdb.mi/mi2-var-child.exp: Likewise.
3801
3802 2014-10-13  Doug Evans  <[email protected]>
3803
3804         * gdb.python/py-objfile.exp: Change name of file name test.
3805
3806 2014-10-13  Doug Evans  <[email protected]>
3807
3808         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3809         from the start of the CU.
3810
3811 2014-10-13  Jan Kratochvil  <[email protected]>
3812             Yao Qi  <[email protected]>
3813
3814         Fix "save breakpoints" for "catch" command.
3815         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3816         Remove -nonewline.  Match also the added "main" line.
3817
3818 2014-10-12  Jan Kratochvil  <[email protected]>
3819
3820         Fix "save breakpoints" for "disable $bpnum" command.
3821         * gdb.base/save-bp.c (main): Add label.
3822         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
3823
3824 2014-10-12  Jan Kratochvil  <[email protected]>
3825
3826         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3827
3828 2014-10-11  Yao Qi  <[email protected]>
3829
3830         * gdb.server/server-kill.exp: Execute command
3831         "set remote trace-status-packet on" before "tstatus".
3832
3833 2014-10-11  Yao Qi  <[email protected]>
3834
3835         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3836         (main): Call getppid.
3837         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3838         and continue to it.  Read variable "server_pid".
3839
3840 2014-10-11  Yao Qi  <[email protected]>
3841
3842         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3843
3844 2014-10-11  Yao Qi  <[email protected]>
3845
3846         * gdb.threads/thread-find.exp: Don't execute command
3847         "info threads".
3848         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3849         * gdb.threads/linux-dp.exp: Don't check the condition
3850         $threads_created equals to zero.
3851
3852 2014-10-10  Pedro Alves  <[email protected]>
3853
3854         * gdb.base/bigcore.exp: Remove references to IRIX.
3855         * gdb.base/funcargs.exp: Likewise.
3856         * gdb.base/interrupt.exp: Likewise.
3857         * gdb.base/mips_pro.exp: Likewise.
3858         * gdb.base/nodebug.exp: Likewise.
3859         * gdb.base/setvar.exp: Likewise.
3860         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3861
3862 2014-10-10  Jan Kratochvil  <[email protected]>
3863             Pedro Alves  <[email protected]>
3864
3865         PR symtab/14466
3866         * gdb.base/vdso-warning.c: New file.
3867         * gdb.base/vdso-warning.exp: New file.
3868
3869 2014-10-02  Doug Evans  <[email protected]>
3870
3871         * gdb.base/structs.c (main): Don't run forever.
3872
3873 2014-10-02  Pedro Alves  <[email protected]>
3874
3875         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3876         (top level) <stop threads 1, stop threads 2>: Use it.
3877
3878 2014-10-02  Pedro Alves  <[email protected]>
3879
3880         * gdb.threads/break-while-running.exp (test): Add new
3881         'update_thread_list' argument.  Skip "info threads" if false.
3882         (top level): Add new 'update_thread_list' axis.
3883
3884 2014-10-02  Pedro Alves  <[email protected]>
3885
3886         PR breakpoints/17431
3887         * gdb.base/execl-update-breakpoints.c: New file.
3888         * gdb.base/execl-update-breakpoints.exp: New file.
3889
3890 2014-10-01  Pedro Alves  <[email protected]>
3891
3892         * gdb.base/breakpoint-in-ro-region.c: New file.
3893         * gdb.base/breakpoint-in-ro-region.exp: New file.
3894
3895 2014-10-01  Simon Marchi  <[email protected]>
3896
3897         * gdb.mi/mi-exit-code.exp: New file.
3898         * gdb.mi/mi-exit-code.c: New file.
3899
3900 2014-09-30  Yao Qi  <[email protected]>
3901
3902         * lib/prelink-support.exp (build_executable_own_libs): Error if
3903         the target isn't native.
3904
3905 2014-09-30  Yao Qi  <[email protected]>
3906
3907         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3908         false.
3909
3910 2014-09-22  Pedro Alves  <[email protected]>
3911
3912         * gdb.threads/break-while-running.exp: New file.
3913         * gdb.threads/break-while-running.c: New file.
3914
3915 2014-09-19  Yao Qi  <[email protected]>
3916
3917         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3918         Invoke test.  Restart GDB with --readnow and invoke test again.
3919
3920 2014-09-19  Yao Qi  <[email protected]>
3921
3922         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3923         proc set_breakpoint_on_gcd_function.  Invoke
3924         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
3925         invoke set_breakpoint_on_gcd_function again.
3926
3927 2014-09-18  Doug Evans  <[email protected]>
3928
3929         * gdb.dwarf2/symtab-producer.exp: New file.
3930
3931 2014-09-16  Sergio Durigan Junior  <[email protected]>
3932
3933         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3934         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3935         * gdb.base/global-var-nested-by-dso.c: Likewise.
3936         * gdb.base/global-var-nested-by-dso.exp: Likewise.
3937
3938 2014-09-16  Sergio Durigan Junior  <[email protected]>
3939             Pedro Alves  <[email protected]>
3940
3941         * gdb.base/watch-bitfields.exp: Pass string other than test file
3942         name to prepare_for_testing.
3943         (watch): New procedure.
3944         (expect_watchpoint): Use with_test_prefix.
3945         (top level): Factor out tests to ...
3946         (test_watch_location, test_regular_watch): ... these new
3947         procedures, and use with_test_prefix and gdb_continue_to_end.
3948
3949 2014-09-16  Patrick Palka  <[email protected]>
3950
3951         PR breakpoints/12526
3952         * gdb.base/watch-bitfields.exp: New file.
3953         * gdb.base/watch-bitfields.c: New file.
3954
3955 2014-09-16  Pedro Alves  <[email protected]>
3956
3957         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3958         software and hardware addresses, not software address against
3959         itself.
3960
3961 2014-09-16  Pedro Alves  <[email protected]>
3962
3963         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3964         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3965
3966 2014-09-16  Pedro Alves  <[email protected]>
3967
3968         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3969         files.
3970         * gdb.base/a2-run.exp: Remove all code guarded by istarget
3971         "*-*-vxworks*" throughout.
3972         * gdb.base/break.exp: Likewise.
3973         * gdb.base/default.exp: Likewise.
3974         * gdb.base/scope.exp: Likewise.
3975         * gdb.base/sepdebug.exp: Likewise.
3976         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3977         throughout.
3978         * gdb.base/run.c: Likewise.
3979         * gdb.base/sepdebug.c: Likewise.
3980         * gdb.hp/gdb.aCC/run.c: Likewise.
3981         * gdb.reverse/until-reverse.c: Likewise.
3982         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3983
3984 2014-09-16  Yao Qi  <[email protected]>
3985
3986         * boards/local-remote-host-native.exp: New file.
3987
3988 2014-09-14  Doug Evans  <[email protected]>
3989
3990         * gdb.threads/queue-signal.c (thread_count): New variable.
3991         (thread_count_mutex, thread_count_condvar): New variables.
3992         (incr_thread_count, wait_all_threads_running): New functions.
3993         (main): Wait for all threads to be in their thread functions.
3994
3995 2014-09-13  Doug Evans  <[email protected]>
3996
3997         * gdb.threads/queue-signal.c: New file.
3998         * gdb.threads/queue-signal.exp: New file.
3999
4000 2014-09-13  Doug Evans  <[email protected]>
4001
4002         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4003         be consistent with what default_gdb_init uses.
4004         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4005         the plain text of the prompt.  Add some logging printfs.
4006         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4007
4008 2014-09-12  Pedro Alves  <[email protected]>
4009
4010         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4011         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4012         * gdb.arch/i386-size-overlap.exp: Likewise.
4013         * gdb.arch/i386-size.exp: Likewise.
4014         * gdb.arch/i386-unwind.exp: Likewise.
4015         * gdb.base/a2-run.exp: Likewise.
4016         * gdb.base/break.exp: Likewise.
4017         * gdb.base/charset.exp: Likewise.
4018         * gdb.base/chng-syms.exp: Likewise.
4019         * gdb.base/commands.exp: Likewise.
4020         * gdb.base/dbx.exp: Likewise.
4021         * gdb.base/find.exp: Likewise.
4022         * gdb.base/funcargs.exp: Likewise.
4023         * gdb.base/jit-simple.exp: Likewise.
4024         * gdb.base/reread.exp: Likewise.
4025         * gdb.base/sepdebug.exp: Likewise.
4026         * gdb.base/step-bt.exp: Likewise.
4027         * gdb.cp/mb-inline.exp: Likewise.
4028         * gdb.cp/mb-templates.exp: Likewise.
4029         * gdb.objc/basicclass.exp: Likewise.
4030         * gdb.threads/killed.exp: Likewise.
4031
4032 2014-09-12  Edjunior Barbosa Machado  <[email protected]>
4033
4034         PR tdep/17379
4035         * gdb.arch/powerpc-stackless.S: New file.
4036         * gdb.arch/powerpc-stackless.exp: New file.
4037
4038 2014-09-12  Jan Kratochvil  <[email protected]>
4039
4040         * gdb.base/attach.c: Include unistd.h.
4041         (main): Call alarm.  Add label postloop.
4042         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4043         gdb_breakpoint, gdb_continue_to_breakpoint.
4044         (test_command_line_attach_run): Kill ${testpid} in one exit path.
4045
4046 2014-09-11  Pedro Alves  <[email protected]>
4047
4048         PR gdb/17347
4049         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4050         * gdb.base/attach.exp (test_command_line_attach_run): New
4051         procedure.
4052         (top level): Call it.
4053
4054 2014-09-11  Pedro Alves  <[email protected]>
4055
4056         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4057         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4058         (do_command_attach_tests): Use spawn_wait_for_attach.
4059         * gdb.base/solib-overlap.exp: Likewise.
4060         * gdb.multi/multi-attach.exp: Likewise.
4061         * gdb.python/py-prompt.exp: Likewise.
4062         * gdb.python/py-sync-interp.exp: Likewise.
4063         * gdb.server/ext-attach.exp: Likewise.
4064
4065 2014-09-11  Gabriel Krisman Bertazi  <[email protected]>
4066
4067         * gdb.fortran/array-element.exp: Remove unexpected "continue"
4068         command in testcase.  Simplify testcase.
4069
4070 2014-09-10  Joel Brobecker  <[email protected]>
4071
4072         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4073
4074 2014-09-10  Joel Brobecker  <[email protected]>
4075
4076         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4077
4078 2014-09-10  Joel Brobecker  <[email protected]>
4079
4080         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4081
4082 2014-09-10  Joel Brobecker  <[email protected]>
4083
4084         * gdb.dwarf2/dynarr-ptr.c: New file.
4085         * gdb.dwarf2/dynarr-ptr.exp: New file.
4086
4087 2014-09-09  Maciej W. Rozycki  <[email protected]>
4088
4089         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4090         of 30 rather than hardcoding 120 for a slow test case.  Take the
4091         `gdb,timeout' target setting into account for this calculation.
4092         Don't extend the timeout for the test cases that don't need it.
4093
4094 2014-09-09  Maciej W. Rozycki  <[email protected]>
4095
4096         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4097         a factor of 2 for a slow test case.  Take the `gdb,timeout'
4098         target setting into account for this calculation.
4099         * gdb.reverse/until-precsave.exp: Increase the timeout by
4100         a factor of 15 and 3 respectively rather than adding 120
4101         for a pair of slow test cases.  Take the `gdb,timeout'
4102         target setting into account for this calculation.
4103
4104 2014-09-09  Maciej W. Rozycki  <[email protected]>
4105
4106         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4107         timeout, don't pass one down to gdb_expect.
4108         (gdb_expect): Rework timeout selection.
4109
4110 2014-09-09  Maciej W. Rozycki  <[email protected]>
4111
4112         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4113         exception on timeout.
4114         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4115         (gdbserver_start_extended): Catch any `gdbserver_start' error
4116         exceptions.
4117         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4118         * lib/mi-support.exp (mi_gdb_target_load): Catch any
4119         `gdbserver_gdb_load' error exceptions.
4120
4121 2014-09-09  Maciej W. Rozycki  <[email protected]>
4122
4123         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4124         120 on waiting for the TCP socket to open.
4125
4126 2014-09-09  Doug Evans  <[email protected]>
4127
4128         * gdb.base/default.exp (show_conv_list): Add _caller_is,
4129         _caller_matches, _any_caller_is, _any_caller_matches.
4130
4131 2014-09-09  Doug Evans  <[email protected]>
4132
4133         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4134
4135 2014-09-09  Yao Qi  <[email protected]>
4136
4137         * gdb.mi/mi-var-display.exp: Set print symbol off.
4138
4139 2014-09-07  Gabriel Krisman Bertazi  <[email protected]>
4140
4141         PR gdb/17035
4142         * gdb.base/commands.exp: Add tests to verify user-defined
4143         commands with empty bodies.
4144         * gdb.python/py-cmd.exp: Test that we don't show user-defined
4145         python commands in `show user command`.
4146         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4147         scheme commands in `show user command`.
4148
4149 2014-09-07  Jan Kratochvil  <[email protected]>
4150
4151         PR python/17355
4152         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4153         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4154         * gdb.python/py-framefilter-invalidarg.exp: New file.
4155         * gdb.python/py-framefilter-invalidarg.py: New file.
4156
4157 2014-09-06  Doug Evans  <[email protected]>
4158
4159         PR 15276
4160         * gdb.python/py-caller-is.c: New file.
4161         * gdb.python/py-caller-is.exp: New file.
4162
4163 2014-09-05  Sergio Durigan Junior  <[email protected]>
4164
4165         PR gdb/17235
4166         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4167         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4168
4169 2014-09-04  Sergio Durigan Junior  <[email protected]>
4170
4171         PR fortran/17237
4172         * gdb.fortran/print-formatted.exp: New file.
4173         * gdb.fortran/print-formatted.f90: Likewise.
4174
4175 2014-09-03  Sasha Smundak  <[email protected]>
4176
4177         * gdb.python/py-frame.exp: Test Frame.read_register.
4178
4179 2014-09-03  Sergio Durigan Junior  <[email protected]>
4180
4181         PR python/16699
4182         * gdb.python/py-completion.exp: New file.
4183         * gdb.python/py-completion.py: Likewise.
4184
4185 2014-08-28  Doug Evans  <[email protected]>
4186
4187         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4188         eax,etc. are live with values set by gdb and thus the compiler can't
4189         use them.
4190         * gdb.arch/i386-pseudo.c (main): Ditto.
4191
4192 2014-08-27  Doug Evans  <[email protected]>
4193
4194         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4195
4196 2014-08-25  Doug Evans  <[email protected]>
4197
4198         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4199         (main): Ditto.
4200
4201 2014-08-25  Doug Evans  <[email protected]>
4202
4203         * gdb.threads/thread-execl.exp: #include <stdio.h>.
4204
4205 2014-08-24  Yao Qi  <[email protected]>
4206
4207         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4208         symbol off.
4209         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4210
4211 2014-08-22  Doug Evans  <[email protected]>
4212
4213         PR 17276
4214         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4215         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4216         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4217
4218 2014-08-22  Yao Qi  <[email protected]>
4219
4220         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4221         * gdb.python/py-finish-breakpoint2.exp: Likewise.
4222         * gdb.python/python.exp: Likewise.  Use .py file on the host
4223         instead of the build.
4224
4225 2014-08-21  Jan Kratochvil  <[email protected]>
4226
4227         * gdb.threads/gcore-stale-thread.c: New file.
4228         * gdb.threads/gcore-stale-thread.exp: New file.
4229
4230 2014-08-21  Pedro Alves  <[email protected]>
4231
4232         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4233         * gdb.base/gcore-relro-pie.exp: Likewise.
4234         * gdb.base/gcore-relro.exp: Likewise.
4235         * gdb.base/gcore.exp: Likewise.
4236         * gdb.base/print-symbol-loading.exp: Likewise.
4237         * gdb.threads/gcore-thread.exp: Likewise.
4238         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4239
4240 2014-08-20  Pedro Alves  <[email protected]>
4241             Jan Kratochvil  <[email protected]>
4242
4243         * Makefile.in (EXTRA_RULES, CC): New variables, get from
4244         configure.
4245         (EXPECT): Handle READ1 being set.
4246         (all): Depend on EXTRA_RULES.
4247         (check-read1, expect-read1, read1.so, read1): New rules.
4248         * README (Testsuite Parameters): Document the READ1 make variable.
4249         (Race detection): New section.
4250         * configure: Regenerate.
4251         * configure.ac: If build==host==target, and running under a
4252         GNU/glibc system, add read1 to the extra Makefile rules.
4253         (EXTRA_RULES): AC_SUBST it.
4254         * lib/read1.c: New file.
4255
4256 2014-08-20  Joel Brobecker  <[email protected]>
4257
4258         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4259         the handling of variables declared as a typedef to an array
4260         which a DW_AT_data_location attribute.
4261
4262 2014-08-19  Andrew Burgess  <[email protected]>
4263             Pedro Alves  <[email protected]>
4264
4265         PR symtab/14604
4266         PR symtab/14605
4267         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4268         gdb_test.
4269
4270 2014-08-19  Pedro Alves  <[email protected]>
4271
4272         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4273
4274 2014-08-19  Yao Qi  <[email protected]>
4275
4276         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4277         right line.
4278
4279 2014-08-18  David Blaikie  <[email protected]>
4280
4281         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4282
4283 2014-08-18  Joel Brobecker  <[email protected]>
4284
4285         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4286         attribute in array range.
4287
4288 2014-08-18  Joel Brobecker  <[email protected]>
4289
4290         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4291
4292 2014-08-15  Siva Chandra Reddy  <[email protected]>
4293
4294         PR c++/17132
4295         * gdb.cp/pr17132.cc: New file.
4296         * gdb.cp/pr17132.exp: New file.
4297
4298 2014-08-15  Siva Chandra Reddy  <[email protected]>
4299
4300         * gdb.python/py-xmethods.py (A_getarrayind)
4301         (E_method_char_worker.__call__, E_method_int_worker.__call__):
4302         Use 'print' with function call syntax.
4303         (E_method_matcher.match): Fix tab vs space indentation mixup.
4304
4305 2014-08-15  Yao Qi  <[email protected]>
4306
4307         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4308         false.
4309
4310 2014-08-15  Yao Qi  <[email protected]>
4311
4312         * gdb.cp/casts.exp: Set print symbol off.
4313         * gdb.cp/class2.exp: Likewise.
4314         * gdb.cp/overload.exp: Likewise.
4315         * gdb.cp/templates.exp: Likewise.
4316
4317 2014-08-11  Doug Evans  <[email protected]>
4318
4319         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4320         (test_load_shlib): Update.
4321
4322 2014-08-09  Yao Qi  <[email protected]>
4323
4324         * gdb.base/display.exp: Invoke is_address_zero_readable.
4325         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4326         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4327         * gdb.base/hbreak-unmapped.exp: Return if
4328         is_address_zero_readable returns true.
4329         * gdb.base/signest.exp: Likewise.
4330         * gdb.base/signull.exp: Likewise.
4331         * gdb.base/sigbpt.exp: Likewise.
4332         * gdb.guile/scm-disasm.exp: Do the test if
4333         is_address_zero_readable returns false.
4334         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4335         * gdb.python/py-arch.exp: Likewise.
4336         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4337         * lib/gdb.exp (is_address_zero_readable): New proc.
4338
4339 2014-08-09  Yao Qi  <[email protected]>
4340
4341         PR testsuite/13443
4342         * gdb.mi/mi-var-display.exp: Make test messages unique.
4343
4344 2014-08-04  Tom Tromey  <[email protected]>
4345
4346         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4347         target 0".
4348
4349 2014-08-04  Tom Tromey  <[email protected]>
4350
4351         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4352         "target_resume".
4353
4354 2014-08-01  Joel Brobecker  <[email protected]>
4355
4356         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4357         inner_vla_struct_object_size.
4358         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4359         as xfail.
4360
4361 2014-07-30  Pedro Alves  <[email protected]>
4362
4363         * gdb.threads/signal-command-handle-nopass.exp (test): Add
4364         comment.
4365
4366 2014-07-29  Yao Qi  <[email protected]>
4367
4368         PR gdb/17206
4369         * gdb.base/until-nodebug.exp: New.
4370
4371 2014-07-28  Doug Evans  <[email protected]>
4372
4373         PR guile/17203
4374         * gdb.guile/scm-parameter.exp: Add tests for trying to create
4375         previously existing parameter, and previously ambiguously spelled
4376         parameter.
4377
4378 2014-07-28  Will Newton  <[email protected]>
4379
4380         * gdb.base/varargs.exp: Remove KFAILs for ARM.
4381
4382 2014-07-26  Ludovic Courtès  <[email protected]>
4383             Doug Evans  <[email protected]>
4384
4385         PR guile/17146
4386         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4387
4388 2014-07-25  Pedro Alves  <[email protected]>
4389
4390         * gdb.threads/signal-command-handle-nopass.c: New file.
4391         * gdb.threads/signal-command-handle-nopass.exp: New file.
4392         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4393         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4394         * gdb.threads/signal-delivered-right-thread.c: New file.
4395         * gdb.threads/signal-delivered-right-thread.exp: New file.
4396
4397 2014-07-25  Pedro Alves  <[email protected]>
4398
4399         * gdb.base/double-prompt-target-event-error.exp
4400         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4401         match.
4402         (cancel_pagination_in_target_event): Rework double prompt
4403         detection.
4404         * gdb.base/paginate-after-ctrl-c-running.exp
4405         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4406         <return>' match.
4407         * gdb.base/paginate-bg-execution.exp
4408         (test_bg_execution_pagination_return)
4409         (test_bg_execution_pagination_cancel): Remove '-notransfer
4410         <return>' matches.
4411         * gdb.base/paginate-execution-startup.exp
4412         (test_fg_execution_pagination_return)
4413         (test_fg_execution_pagination_cancel): Remove '-notransfer
4414         <return>' matches.
4415         * gdb.base/paginate-inferior-exit.exp
4416         (test_paginate_inferior_exited): Remove '-notransfer <return>'
4417         match.
4418         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4419         * lib/gdb.exp (pagination_prompt): Run text through
4420         string_to_regexp.
4421         (gdb_test_multiple): Match $pagination_prompt instead of
4422         "<return>".
4423         (string_to_regexp): Move to lib/gdb-utils.exp.
4424
4425 2014-07-22  Jan Kratochvil  <[email protected]>
4426
4427         * gdb.arch/amd64-entry-value-paramref.S: New file.
4428         * gdb.arch/amd64-entry-value-paramref.cc: New file.
4429         * gdb.arch/amd64-entry-value-paramref.exp: New file.
4430         * gdb.arch/amd64-optimout-repeat.S: New file.
4431         * gdb.arch/amd64-optimout-repeat.c: New file.
4432         * gdb.arch/amd64-optimout-repeat.exp: New file.
4433
4434 2014-07-17  Jan Kratochvil  <[email protected]>
4435
4436         PR gdb/17170
4437         * gdb.base/statistics.exp: New file.
4438
4439 2014-07-17  Doug Evans  <[email protected]>
4440
4441         PR gdb/17170
4442         * gdb.base/maint.exp: Update testing of per-command stats.
4443
4444 2014-07-16  Pedro Alves  <[email protected]>
4445
4446         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4447         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4448         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4449         (tfile_write_buf): New functions.
4450         (add_memory_block): Rewrite using the above.
4451         (adjust_function_address): New function.
4452         (FUNCTION_ADDRESS): New macro.
4453         (write_basic_trace_file): Remove short_x local, and use
4454         tfile_write_16. Change type of func_addr local to unsigned long
4455         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
4456         here.  Cast argument of add_memory_block to char pointer.
4457         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
4458         (main): Remove parameters.
4459         * gdb.trace/tfile.exp: Remove nowarnings.
4460
4461 2014-07-15  Simon Marchi  <[email protected]>
4462
4463         * gdb.base/debug-expr.exp: Test string evaluation with
4464         "debug expression" on.
4465
4466 2014-07-15  Pedro Alves  <[email protected]>
4467
4468         * gdb.base/reread.exp: Use clean_restart.
4469
4470 2014-07-15  Pierre Langlois  <[email protected]>
4471
4472         * gdb.arch/avr-flash-qualifer.c: New.
4473         * gdb.arch/avr-flash-qualifer.exp: New.
4474
4475 2014-07-14  Pedro Alves  <[email protected]>
4476
4477         * gdb.base/paginate-after-ctrl-c-running.c: New file.
4478         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4479
4480 2014-07-14  Pedro Alves  <[email protected]>
4481
4482         * gdb.base/double-prompt-target-event-error.c: New file.
4483         * gdb.base/double-prompt-target-event-error.exp: New file.
4484
4485 2014-07-14  Pedro Alves  <[email protected]>
4486
4487         PR gdb/17072
4488         * gdb.base/paginate-inferior-exit.c: New file.
4489         * gdb.base/paginate-inferior-exit.exp: New file.
4490
4491 2014-07-14  Pedro Alves  <[email protected]>
4492
4493         PR gdb/17072
4494         * gdb.base/paginate-bg-execution.c: New file.
4495         * gdb.base/paginate-bg-execution.exp: New file.
4496
4497 2014-07-14  Pedro Alves  <[email protected]>
4498
4499         PR gdb/17072
4500         * gdb.base/paginate-execution-startup.c: New file.
4501         * gdb.base/paginate-execution-startup.exp: New file.
4502         * lib/gdb.exp (pagination_prompt): New global.
4503         (default_gdb_spawn): New procedure, factored out from
4504         default_gdb_spawn.
4505         (default_gdb_start): Adjust to call default_gdb_spawn.
4506         (gdb_spawn): New procedure.
4507
4508 2014-07-14  Pedro Alves  <[email protected]>
4509
4510         * lib/gdb.exp (gdb_assert): New procedure.
4511         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4512
4513 2014-07-14  Pedro Alves  <[email protected]>
4514
4515         * gdb.base/execution-termios.c: New file.
4516         * gdb.base/execution-termios.exp: New file.
4517
4518 2014-07-14  Tom Tromey  <[email protected]>
4519
4520         * gdb.cp/vla-cxx.cc: New file.
4521         * gdb.cp/vla-cxx.exp: New file.
4522
4523 2014-07-14  Tom Tromey  <[email protected]>
4524
4525         * gdb.reverse/rerun-prec.c: New file.
4526         * gdb.reverse/rerun-prec.exp: New file.
4527
4528 2014-07-12  Maciej W. Rozycki  <[email protected]>
4529             Maciej W. Rozycki  <[email protected]>
4530
4531         * lib/gdb-utils.exp: New file.
4532         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4533         inline `gdb_init_command' processing.
4534         (gdb_start_cmd): Likewise.
4535         * lib/mi-support.exp (mi_run_cmd): Likewise.
4536         * README: Document `gdb_init_command' and `gdb_init_commands'.
4537
4538 2014-07-11  Jan Kratochvil  <[email protected]>
4539
4540         Fix false FAIL running under a very long directory name.
4541         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4542         and "set print elements 10000".  Twice.
4543
4544 2014-07-11  Yao Qi  <[email protected]>
4545
4546         * gdb.base/exprs.exp: "set print symbol off".
4547
4548 2014-07-11  Pedro Alves  <[email protected]>
4549
4550         * gdb.threads/kill.c: New file.
4551         * gdb.threads/kill.exp: New file.
4552
4553 2014-07-10  Yao Qi  <[email protected]>
4554
4555         * gdb.trace/tfile.c (write_basic_trace_file)
4556         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4557         address written to trace file.
4558
4559 2014-07-09  Pedro Alves  <[email protected]>
4560
4561         * gdb.base/attach-wait-input.exp: New file.
4562         * gdb.base/attach-wait-input.c: New file.
4563
4564 2014-07-09  Andrew Burgess  <[email protected]>
4565
4566         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4567         setting up test structures.
4568         (main): Call new test function.
4569         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4570         test function, continue into test function and walk test
4571         structures.
4572
4573 2014-07-02  Yao Qi  <[email protected]>
4574
4575         * gdb.trace/entry-values.c: Define labels 'foo_start' and
4576         'bar_start' at the beginning of functions 'foo' and 'bar'
4577         respectively.
4578         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4579         instead of 'foo' and 'bar'.
4580
4581 2014-07-08  Markus Metzger  <[email protected]>
4582
4583         * gdb.btrace/segv.exp: New.
4584         * gdb.btrace/segv.c: New.
4585
4586 2014-07-02  Luis Machado  <[email protected]>
4587
4588         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4589         instruction.
4590
4591 2014-06-30  Mark Wielaard  <[email protected]>
4592
4593         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4594         vulture, vilify, villar): New volatile array constants.
4595         (vindictive, vegetation): New const volatile array constants.
4596         * gdb.base/volatile.exp: Test volatile and const volatile array
4597         types.
4598
4599 2014-06-30  Andreas Arnez  <[email protected]>
4600
4601         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4602         target lacks support for awatch, rwatch, or hbreak.
4603
4604 2014-06-27  Yao Qi  <[email protected]>
4605
4606         * gdb.multi/dummy-frame-restore.exp: New.
4607         * gdb.multi/dummy-frame-restore.c: New.
4608
4609 2014-06-25  Markus Metzger  <[email protected]>
4610
4611         * gdb.btrace/gcore.exp: New.
4612
4613 2014-06-23  Pedro Alves  <[email protected]>
4614
4615         * gdb.base/watchpoint-reuse-slot.c: New file.
4616         * gdb.base/watchpoint-reuse-slot.exp: New file.
4617
4618 2014-06-23  Siva Chandra Reddy  <[email protected]>
4619
4620         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4621         progspace's filename in 'info', 'enable' and 'disable' command
4622         tests.
4623
4624 2014-06-23  Jan Kratochvil  <[email protected]>
4625
4626         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4627         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4628         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4629
4630 2014-06-20  Gary Benson  <[email protected]>
4631
4632         * gdb.arch/i386-avx.exp: Fix include file location.
4633         * gdb.arch/i386-sse.exp: Likewise.
4634
4635 2014-06-19  Iain Buclaw  <[email protected]>
4636
4637         * gdb.dlang/expression.exp: New file.
4638
4639 2014-06-19  Pedro Alves  <[email protected]>
4640
4641         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4642         out from ...
4643         (top level): ... here.  Iterate running tests under different
4644         scheduler-locking settings.
4645
4646 2014-06-18  Luis Machado  <[email protected]>
4647
4648         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4649         to DW_FORM_addr and use non-zero addresses.
4650
4651 2014-06-18  Siva Chandra Reddy  <[email protected]>
4652
4653         PR gdb/17017
4654         * gdb.python/py-xmethods.cc: Add global function call counters and
4655         increment them in their respective functions.  Remove "cout"
4656         statements.
4657         * gdb.python/py-xmethods.exp: Make tests check the global function
4658         call counters instead of depending on inferior IO.
4659
4660 2014-06-18  Don Breazeal  <[email protected]>
4661
4662         * gdb.base/foll-fork.exp (default_fork_parent_follow):
4663         Deleted procedure.
4664         (explicit_fork_parent_follow): Deleted procedure.
4665         (explicit_fork_child_follow): Deleted procedure.
4666         (test_follow_fork): New procedure.
4667         (do_fork_tests): Replace calls to deleted procedures with
4668         calls to test_follow_fork and reset GDB for subsequent
4669         procedure calls.
4670
4671 2014-06-17  Yao Qi  <[email protected]>
4672
4673         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4674         CP1252.
4675
4676 2014-06-17  Luis Machado  <[email protected]>
4677
4678         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4679         Initialize ptr and S explicitly.
4680         (skip_type_update_when_not_use_rtti_test): Likewise.
4681
4682 2014-06-16  Keith Seitz  <[email protected]>
4683
4684         PR mi/15863
4685         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4686         the inferior is started.
4687
4688 2014-06-16  Pedro Alves  <[email protected]>
4689
4690         * gdb.base/break-main-file-remove-fail.c: New file.
4691         * gdb.base/break-main-file-remove-fail.exp: New file.
4692         * gdb.base/break-unload-file.exp: Use build_executable instead of
4693         prepare_for_testing.
4694         (test_break): New parameter "initial_load".  Handle it.
4695         (top level): Add initial_load cmdline/file axis.
4696
4697 2014-06-12  Tom Tromey  <[email protected]>
4698
4699         * gdb.base/completion.exp: Don't use directory name in test.
4700
4701 2014-06-09  Gary Benson  <[email protected]>
4702
4703         * gdb.base/sigall.c [Functions to send signals]: Reorder to
4704         separate the always-available ANSI-standard signals from the
4705         signals that require checking.
4706         (main): Likewise.
4707         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4708         Likewise.
4709         (main): Likewise.
4710
4711 2014-06-07  Keith Seitz  <[email protected]>
4712
4713         Revert:
4714         PR c++/16253
4715         * gdb.cp/var-tag.cc: New file.
4716         * gdb.cp/var-tag.exp: New file.
4717         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4718         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4719         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4720         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4721
4722 2014-06-06  Doug Evans  <[email protected]>
4723
4724         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4725
4726 2014-06-06  Pedro Alves  <[email protected]>
4727
4728         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4729         in target debug output instead of looking at RSP packets,
4730         disabling the test on any target that uses hardware stepping.
4731         Update comments.
4732
4733 2014-06-06  Pedro Alves  <[email protected]>
4734
4735         * gdb.base/break-unload-file.exp: Fix typo.
4736
4737 2014-06-06  Yao Qi  <[email protected]>
4738
4739         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4740         from "jit_function" to "^jit_function".
4741
4742 2014-06-06  Yao Qi  <[email protected]>
4743
4744         * gdb.base/async.c (foo): Add one statement.
4745         * gdb.base/async.exp: Get the next instruction address and
4746         match the output of "nexti" by instruction address.  Match
4747         the hex address in the output of "finish".
4748
4749 2014-06-06  Gary Benson  <[email protected]>
4750
4751         * gdb.base/call-signals.c: Remove preprocessor conditionals
4752         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4753         SIGSEGV and SIGTERM.
4754         * gdb.base/sigall.c: Likewise.
4755         * gdb.base/unwindonsignal.c: Likewise.
4756         * gdb.reverse/sigall-reverse.c: Likewise.
4757
4758 2014-06-06  Yao Qi  <[email protected]>
4759
4760         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
4761         readable, skip the test.
4762
4763 2014-06-06  Yao Qi  <[email protected]>
4764
4765         * gdb.threads/staticthreads.c (thread_function): Move the line
4766         setting breakpoint on forward.
4767         * gdb.threads/staticthreads.exp: Update comments.
4768
4769 2014-06-05  Ludovic Courtès  <[email protected]>
4770
4771         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4772         "history-append! type error".
4773
4774 2014-06-05  Simon Marchi  <[email protected]>
4775
4776         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4777         erroneous dprintf expected input.
4778
4779 2014-06-04  Doug Evans  <[email protected]>
4780
4781         * gdb.guile/scm-generics.exp: Delete.
4782
4783 2014-06-04  Doug Evans  <[email protected]>
4784
4785         * gdb.guile/scm-breakpoint.exp: Update.
4786         Add tests for breakpoint registration.
4787
4788 2014-06-04  Tom Tromey  <[email protected]>
4789
4790         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4791         VLA-in-union.
4792         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4793         inner_vla_struct, vla_union types.  Initialize objects of those
4794         types and compute their sizes.
4795
4796 2014-06-04  Nathan Sidwell  <[email protected]>
4797             Hui Zhu  <[email protected]>
4798
4799         * gdb.base/fileio.exp: Add test for shell not available as well as
4800         available.
4801         * gdb.base/fileio.c (test_system): Check for shell twice.
4802
4803 2014-06-04  Yao Qi  <[email protected]>
4804
4805         * gdb.base/auto-connect-native-target.exp: Remove redundant
4806         space from the regexp pattern.
4807
4808 2014-06-04  Yao Qi  <[email protected]>
4809
4810         * gdb.base/default.exp: Replace "child" with "native" in
4811         regexp pattern.
4812
4813 2014-06-03  Siva Chandra Reddy  <[email protected]>
4814
4815         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4816         * gdb.python/py-xmethods.exp: New tests to test xmethods.
4817         * gdb.python/py-xmethods.py: Python script supporting the
4818         new testcase and tests.
4819
4820 2014-06-03  Joel Brobecker  <[email protected]>
4821             Pedro Alves  <[email protected]>
4822
4823         PR breakpoints/17000
4824         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4825         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4826
4827 2014-06-03  Brad Mouring  <[email protected]>  (tiny patch)
4828
4829         * gdb.base/subst.exp: Add tests to verify partial path matching
4830         output.
4831
4832 2014-06-03  Pedro Alves  <[email protected]>
4833
4834         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4835         target that doesn't use software single-stepping.
4836
4837 2014-06-03  Pedro Alves  <[email protected]>
4838
4839         PR breakpoints/17000
4840         * gdb.base/sss-bp-on-user-bp-2.c: New file.
4841         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4842
4843 2014-06-02  Doug Evans  <[email protected]>
4844
4845         * gdb.guile/scm-parameter.exp: New file.
4846
4847 2014-06-02  Doug Evans  <[email protected]>
4848
4849         * gdb.guile/scm-cmd.c: New file.
4850         * gdb.guile/scm-cmd.exp: New file.
4851
4852 2014-06-02  Doug Evans  <[email protected]>
4853
4854         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4855         pretty-printer lookup.
4856         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4857         (make-pp_s-printer): Call it.
4858         (make-pretty-printer-from-dict): New function.
4859         (lookup-pretty-printer-maker-from-dict): New function.
4860         (*pretty-printer*): Simplify.
4861         (make-objfile-pp_s-printer): New function.
4862         (install-objfile-pretty-printers!): New function.
4863         (make-progspace-pp_s-printer): New function.
4864         (install-progspace-pretty-printers!): New function.
4865         * gdb.guile/scm-progspace.c: New file.
4866         * gdb.guile/scm-progspace.exp: New file.
4867
4868 2014-06-02  Pedro Alves  <[email protected]>
4869
4870         * gdb.base/dprintf-bp-same-addr.c: New file.
4871         * gdb.base/dprintf-bp-same-addr.exp: New file.
4872
4873 2014-06-02  Edjunior Barbosa Machado  <[email protected]>
4874
4875         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4876         * gdb.arch/powerpc-power.s: Likewise.
4877
4878 2014-06-02  Joel Brobecker  <[email protected]>
4879
4880         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4881
4882 2014-06-01  Yao Qi  <[email protected]>
4883
4884         * gdb.base/watchpoint.exp (test_watch_location): Check null
4885         pointer can be dereferenced.  If not, do the test, otherwise
4886         skip it.
4887
4888 2014-05-30  Andrew Burgess  <[email protected]>
4889
4890         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4891         results.
4892         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4893
4894 2014-05-30  Andrew Burgess  <[email protected]>
4895
4896         * gdb.arch/amd64-invalid-stack-middle.S: New file.
4897         * gdb.arch/amd64-invalid-stack-middle.c: New file.
4898         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4899         * gdb.arch/amd64-invalid-stack-top.c: New file.
4900         * gdb.arch/amd64-invalid-stack-top.exp: New file.
4901
4902 2014-05-30  Pedro Alves  <[email protected]>
4903
4904         PR breakpoints/17000
4905         * gdb.base/sss-bp-on-user-bp.c: New file.
4906         * gdb.base/sss-bp-on-user-bp.exp: New file.
4907
4908 2014-05-30  David Blaikie  <[email protected]>
4909
4910         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4911         gnu_inline semantics via attribute.
4912         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4913         source explicitly specifies the required semantics.
4914
4915 2014-05-30  Maciej W. Rozycki  <[email protected]>
4916
4917         * gdb.reverse/sigall-reverse.exp: Fix a typo.
4918
4919 2014-05-29  Pedro Alves  <[email protected]>
4920             Tom Tromey  <[email protected]>
4921
4922         * gdb.base/async-shell.exp: Don't enable target-async.
4923         * gdb.base/async.exp
4924         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4925         parameter.  Adjust.
4926         (top level): Don't test with "target-async".
4927         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4928         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4929         * gdb.base/inferior-died.exp: Don't enable target-async.
4930         * gdb.base/interrupt-noterm.exp: Likewise.
4931         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4932         * gdb.mi/mi-nonstop-exit.exp: Likewise.
4933         * gdb.mi/mi-nonstop.exp: Likewise.
4934         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4935         * gdb.mi/mi-nsintrall.exp: Likewise.
4936         * gdb.mi/mi-nsmoribund.exp: Likewise.
4937         * gdb.mi/mi-nsthrexec.exp: Likewise.
4938         * gdb.mi/mi-watch-nonstop.exp: Likewise.
4939         * gdb.multi/watchpoint-multi.exp: Adjust comment.
4940         * gdb.python/py-evsignal.exp: Don't enable target-async.
4941         * gdb.python/py-evthreads.exp: Likewise.
4942         * gdb.python/py-prompt.exp: Likewise.
4943         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4944         * gdb.server/solib-list.exp: Don't enable target-async.
4945         * gdb.threads/thread-specific-bp.exp: Likewise.
4946         * lib/mi-support.exp: Adjust to use mi-async.
4947
4948 2014-05-29  Pedro Alves  <[email protected]>
4949
4950         PR gdb/13860
4951         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4952         reason, even in sync mode.
4953
4954 2014-05-29  Pedro Alves  <[email protected]>
4955             Hui Zhu  <[email protected]>
4956
4957         PR PR15693
4958         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4959         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4960         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4961         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4962
4963 2014-05-28  Joel Brobecker  <[email protected]>
4964
4965         * config/monitor.exp (gdb_target_monitor): Replace use of
4966         "set remotebaud" by "set serial baud".
4967
4968 2014-05-26  Andy Wingo  <[email protected]>
4969
4970         * gdb.guile/scm-breakpoint.exp:
4971         * gdb.guile/scm-gsmob.exp: Update to use plain old object
4972         properties instead of gdb-object-properties.
4973
4974 2014-05-26  Yao Qi  <[email protected]>
4975
4976         * gdb.server/no-thread-db.exp: Specify source file name
4977         explicitly when setting a breakpoint.
4978
4979 2014-05-23  Markus Metzger  <[email protected]>
4980
4981         * gdb.btrace/vdso.c: New.
4982         * gdb.btrace/vdso.exp: New.
4983
4984 2014-05-23  Markus Metzger  <[email protected]>
4985
4986         * gdb.base/gcore.exp (capture_command_output): Move ...
4987         * lib/gdb.exp (capture_command_output): ... here.
4988
4989 2014-05-23  Markus Metzger  <[email protected]>
4990
4991         * gdb.btrace/data.exp: Test memory access during btrace replay.
4992
4993 2014-05-22  Simon Marchi  <[email protected]>
4994
4995         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4996
4997 2014-05-21  Pedro Alves  <[email protected]>
4998
4999         PR gdb/13860
5000         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5001         (top level): Test that output related to execution commands is
5002         sent to the console with CLI commands, but not with MI commands.
5003         Test that breakpoint events are always mirrored to the console.
5004         Also expect the new source line to be output after a "next" in
5005         async mode too.  Make it a pass/fail test.
5006         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5007         output.
5008         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5009
5010 2014-05-21  Pedro Alves  <[email protected]>
5011
5012         * gdb.base/list.exp (build_pattern, test_list): New procedures.
5013         Use them to test variations of "list" after reaching a breakpoint.
5014         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5015         Test "list" with listsize 10 after reaching a breakpoint.
5016         * gdb.python/python.exp (decode_line current location line
5017         number): Adjust expected line number.
5018
5019 2014-05-21  Simon Marchi  <[email protected]>
5020
5021         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5022         behavior for $args, pass it directly to "run".
5023
5024 2014-05-21  Maciej W. Rozycki  <[email protected]>
5025
5026         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5027         30000 to 65536.
5028
5029 2014-05-21  Pedro Alves  <[email protected]>
5030
5031         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5032         auto-connect-native-target off".
5033         * gdb.base/auto-connect-native-target.c: New file.
5034         * gdb.base/auto-connect-native-target.exp: New file.
5035
5036 2014-05-21  Pedro Alves  <[email protected]>
5037
5038         * gdb.base/default.exp: Test "target native" instead of "target
5039         child".
5040
5041 2014-05-21  Mark Wielaard  <[email protected]>
5042
5043         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5044
5045 2014-05-21  Jan Kratochvil  <[email protected]>
5046
5047         Fix TLS access for -static -pthread.
5048         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5049         <HAVE_TLS> (thread_function, main): Initialize it.
5050         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5051         Add clean_restart.
5052         <$have_tls != "">: Check TLSVAR.
5053
5054 2014-05-21  Pedro Alves  <[email protected]>
5055
5056         * gdb.base/dcache-line-read-error.c: New.
5057         * gdb.base/dcache-line-read-error.exp: New.
5058
5059 2014-05-20  Pedro Alves  <[email protected]>
5060
5061         * gdb.base/compare-sections.c: New file.
5062         * gdb.base/compare-sections.exp: New file.
5063
5064 2014-05-20  Pedro Alves  <[email protected]>
5065
5066         * gdb.base/break-idempotent.c: New file.
5067         * gdb.base/break-idempotent.exp: New file.
5068
5069 2014-05-20  Markus Metzger  <[email protected]>
5070
5071         * gdb.btrace/nohist.exp: New.
5072
5073 2014-05-20  Yao Qi  <[email protected]>
5074
5075         * lib/gdb.exp (gdb_init): Set timeout if test file is under
5076         gdb.reverse directory and gdb_reverse_timeout exists in board
5077         setting.
5078         * README: Document gdb_reverse_timeout.
5079
5080 2014-05-20  Yao Qi  <[email protected]>
5081
5082         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5083         'test_file_name'.  Treat args as a string instead of a list.
5084         (gdb_init): Rename argument 'args' by 'test_file_name'.
5085
5086 2014-05-19  Jan Kratochvil  <[email protected]>
5087
5088         * gdb.arch/powerpc-power.exp: New file.
5089         * gdb.arch/powerpc-power.s: New file.
5090
5091 2014-05-16  Doug Evans  <[email protected]>
5092
5093         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
5094         * gdb.base/completion.exp: Check that all expected files exist
5095         before doing file completion.
5096
5097 2014-05-16  Doug Evans  <[email protected]>
5098
5099         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5100         Update.
5101         (do_syscall_tests_without_xml): Update.
5102
5103 2014-05-16  Pedro Alves  <[email protected]>
5104
5105         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5106         instead of "unknown output after running".
5107
5108 2014-05-16  Yao Qi  <[email protected]>
5109
5110         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
5111         file1.txt from host at the end.
5112         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5113
5114 2014-05-15  Doug Evans  <[email protected]>
5115
5116         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5117         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5118         loading file.  Add test for TU lookup.
5119
5120 2014-05-15  Simon Marchi  <[email protected]>
5121
5122         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5123         calling "-exec-arguments" or "set args" before running the
5124         inferior.
5125
5126 2014-05-15  Simon Marchi  <[email protected]>
5127
5128         * lib/mi-support.exp (mi_expect_stop): Expect message for
5129         inferiors that exit with non-zero exit code.
5130
5131 2014-05-14  Yao Qi  <[email protected]>
5132
5133         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5134         match absolute path on remote host.
5135         (test_file_list_exec_source_files): Remove "/" from the
5136         pattern.
5137
5138 2014-05-14  Yao Qi  <[email protected]>
5139
5140         * boards/local-remote-host-notty.exp (${board}_file): New
5141         proc.
5142
5143 2014-05-07  Kyle McMartin  <[email protected]>
5144
5145         Pushed by Joel Brobecker  <[email protected]>.
5146         * gdb.arch/aarch64-atomic-inst.c: New file.
5147         * gdb.arch/aarch64-atomic-inst.exp: New file.
5148
5149 2014-05-07  Yao Qi  <[email protected]>
5150
5151         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5152         in current context" too.
5153
5154 2014-05-05  Keith Seitz  <[email protected]>
5155
5156         * gdb.linespec/ls-dollar.exp: Add test for linespec
5157         file:convenience_variable.
5158
5159 2014-05-05  Yao Qi  <[email protected]>
5160
5161         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5162         traceframes into tfile and ctf trace files.  Read data from
5163         trace file and test collected data.
5164         (gdb_collect_locals_test): Likewise.
5165         (gdb_unavailable_registers_test): Likewise.
5166         (gdb_unavailable_floats): Likewise.
5167         (gdb_collect_globals_test): Likewise.
5168         (top-level): Append "ctf" to trace_file_targets if GDB
5169         supports.
5170
5171 2014-05-05  Yao Qi  <[email protected]>
5172
5173         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5174         code to ...
5175         (gdb_collect_args_test_1): ... it.  New proc.
5176         (gdb_collect_locals_test): Move some code to ...
5177         (gdb_collect_locals_test_1): ... it.  New proc.
5178         (gdb_unavailable_registers_test): Move some code to ...
5179         (gdb_unavailable_registers_test_1): ... it.  New proc.
5180         (gdb_unavailable_floats): Move some code to ...
5181         (gdb_unavailable_floats_1): ... it.  New proc.
5182
5183 2014-05-02  Sergio Durigan Junior  <[email protected]>
5184
5185         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5186         probes to test for bitness recognition.
5187         * gdb.arch/amd64-stap-optional-prefix.exp
5188         (test_probe_value_without_reg): New procedure.
5189         Add code to test for different kinds of bitness.
5190
5191 2014-05-02  Sergio Durigan Junior  <[email protected]>
5192
5193         PR breakpoints/16889
5194         * gdb.arch/amd64-stap-optional-prefix.S: New file.
5195         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5196
5197 2014-05-01  Pedro Alves  <[email protected]>
5198
5199         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
5200         gdb_file_cmd if no file is specified.
5201         * boards/native-extended-gdbserver.exp (gdb_load): Use the
5202         last_loaded_file to set the remote exec-file.
5203
5204 2014-05-01  Pedro Alves  <[email protected]>
5205
5206         * boards/local-remote-host.exp: New file.
5207
5208 2014-05-01  Pedro Alves  <[email protected]>
5209
5210         * boards/local-remote-host.exp: Rename to ...
5211         * boards/local-remote-host-notty.exp: ... this.
5212
5213 2014-04-28  Joel Brobecker  <[email protected]>
5214
5215         * gdb.ada/dyn_arrayidx: New testcase.
5216
5217 2014-04-26  Yao Qi  <[email protected]>
5218
5219         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
5220         and compute the length of function main.  Save it in
5221         $main_length.
5222         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5223         (top-level): Use gdb_compile to compile objects into
5224         executable and restart GDB.  Remove invocation to
5225         prepare_for_testing.
5226
5227 2014-04-25  Simon Marchi  <[email protected]>
5228             Pedro Alves  <[email protected]>
5229
5230         PR server/16255
5231         * gdb.multi/multi-attach.c: New file.
5232         * gdb.multi/multi-attach.exp: New file.
5233
5234 2014-04-25  Pedro Alves  <[email protected]>
5235
5236         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5237         user.
5238         (top level): Test that "set remote conditional-breakpoints-packet
5239         off" works as intended.
5240         * gdb.base/dprintf.exp: Test that "set remote
5241         breakpoint-commands-packet off" works as intended.
5242         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5243         New function.
5244         (top level): Call it.
5245         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5246         remote fast-tracepoints-packet off" works as intended.
5247         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5248         * lib/gdb.exp (gdb_is_target_remote): ... here.
5249
5250 2014-04-24  David Blaikie  <[email protected]>
5251
5252         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5253         ensure clang would not discard them.
5254         * gdb.base/gdbvars.c: Ditto.
5255         * gdb.base/memattr.c: Ditto.
5256         * gdb.base/whatis.c: Ditto.
5257         * gdb.python/py-prettyprint.c: Ditto.
5258         * gdb.trace/actions.c: Ditto.
5259         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5260         ensure clang would not discard it.
5261
5262 2014-04-24  David Blaikie  <[email protected]>
5263
5264         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5265         clang to emit the full definition of type required by the test
5266         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5267
5268 2014-04-24  David Blaikie  <[email protected]>
5269
5270         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5271         coax Clang into emitting the definition of the type.
5272         * gdb.cp/pr10728-x.h (y): Ditto.
5273         * gdb.cp/pr10728-y.cc (y): Ditto.
5274
5275 2014-04-24  David Blaikie  <[email protected]>
5276
5277         * gdb.base/label.exp: XFAIL label related tests under Clang.
5278         * gdb.cp/cplabel.exp: Ditto.
5279         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5280         under Clang those using labels.
5281
5282 2014-04-25  Yao Qi  <[email protected]>
5283
5284         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5285         double_label.
5286         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5287         partial_label and double_label.
5288
5289 2014-04-24  David Blaikie  <[email protected]>
5290
5291         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5292
5293 2014-04-24  David Blaikie  <[email protected]>
5294
5295         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5296         of the function to work across GCC and Clang.
5297         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5298         pointer types (const void ** const V void **).
5299
5300 2014-04-24  Michael Sturm  <[email protected]>
5301             Walfred Tedeschi  <[email protected]>
5302
5303         * Makefile.in (EXECUTABLES): Added i386-avx512.
5304         * gdb.arch/i386-avx512.c: New file.
5305         * gdb.arch/i386-avx512.exp: Likewise.
5306
5307 2014-04-23  Keith Seitz  <[email protected]>
5308
5309         * lib/mi-support.exp (mi_list_breakpoints): Delete.
5310         (mi_make_breakpoint_table): New procedure.
5311         (mi_create_breakpoint): Use mi_make_breakpoint
5312         and return the result.
5313         (mi_make_breakpoint): New procedure.
5314         (mi_build_kv_pairs): New procedure.
5315
5316         * gdb.mi/mi-break.exp: Remove unused globals,
5317         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5318         All callers updated.
5319         * gdb.mi/mi-dprintf.exp: Use variable to track command
5320         number.
5321         Update all callers of mi_create_breakpoint and use
5322         mi_make_breakpoint_table.
5323         Remove any unused global variables.
5324         * gdb.mi/mi-nonstop.exp: Likewise.
5325         * gdb.mi/mi-nsintrall.exp: Likewise.
5326         * gdb.mi/mi-nsmoribund.exp: Likewise.
5327         * gdb.mi/mi-nsthrexec.exp: Likewise.
5328         * gdb.mi/mi-reverse.exp: Likewise.
5329         * gdb.mi/mi-simplerun.exp: Likewise.
5330         * gdb.mi/mi-stepn.exp: Likewise.
5331         * gdb.mi/mi-syn-frame.exp: Likewise.
5332         * gdb.mi/mi-until.exp: Likewise.
5333         * gdb.mi/mi-var-cp.exp: Likewise.
5334         * gdb.mi/mi-var-display.exp: Likewise.
5335         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5336         * gdb.mi/mi2-var-child.exp: Likewise.
5337         * gdb.mi/mi-vla-c99.exp: Likewise.
5338         * lib/mi-support.exp: Likewise.
5339
5340         From Ian Lance Taylor  <[email protected]>:
5341         * lib/gdb.exp (parse_args): New procedure.
5342
5343 2014-04-23  Pedro Alves  <[email protected]>
5344
5345         * gdb.base/break-unload-file.c: New file.
5346         * gdb.base/break-unload-file.exp: New file.
5347         * gdb.base/sym-file-lib.c (baz): New function.
5348         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5349         field.
5350         (load): Store the segment's mapped size.
5351         (unload): New function.
5352         (unload_shlib): New function.
5353         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5354         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5355         set a breakpoint at baz, and call it.
5356         * gdb.base/sym-file.exp: New tests for stale breakpoint
5357         instructions.
5358
5359 2014-04-23  Pedro Alves  <[email protected]>
5360
5361         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5362         * gdb.base/hbreak-in-shr-unsupported.c: New file.
5363         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5364         * gdb.base/hbreak-unmapped.c: New file.
5365         * gdb.base/hbreak-unmapped.exp: New file.
5366         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5367         * lib/gdb.exp (gdb_is_target_remote): ... here.
5368
5369 2014-04-22  Pedro Alves  <[email protected]>
5370
5371         * gdb.base/consecutive-step-over.c: New file.
5372         * gdb.base/consecutive-step-over.exp: New file.
5373
5374 2014-04-22  Pedro Alves  <[email protected]>
5375
5376         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5377         instead of send_gdb/gdb_expect.
5378
5379 2014-04-22  Yao Qi  <[email protected]>
5380
5381         * lib/trace-support.exp (generate_tracefile): New procedure.
5382         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5383         return 0.
5384         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5385         if generate_tracefile returns 1.
5386
5387 2014-04-18  Tom Tromey  <[email protected]>
5388             Pedro alves  <[email protected]>
5389
5390         PR backtrace/15558
5391         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5392         with a backtrace limit.
5393         * gdb.python/py-frame-inline.exp: Test running to an inline
5394         function with a backtrace limit, and printing the newest frame.
5395         * gdb.python/py-frame-inline.c (main): Call f.
5396
5397 2014-04-17  Marcus Shawcroft  <[email protected]>
5398
5399         * gdb.java/jnpe.exp: Drop srcdir from untested path.
5400
5401 2014-04-17  Marcus Shawcroft  <[email protected]>
5402
5403         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5404         Drop prefix from unsupported source file path.
5405
5406 2014-04-17  Yao Qi  <[email protected]>
5407
5408         * lib/gdb.exp (with_target_charset): New proc.
5409         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5410         with_target_charset.
5411         (test_print_strings): Likewise.
5412         (test_repeat_bytes): Likewise.
5413         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5414         for some tests.
5415
5416 2014-04-16  Keith Seitz  <[email protected]>
5417
5418         PR gdb/15827
5419         * gdb.dwarf2/corrupt.c: New file.
5420         * gdb.dwarf2/corrupt.exp: New file.
5421
5422 2014-04-16  Keith Seitz  <[email protected]>
5423
5424         PR c++/16597
5425         * gdb.cp/namelessclass.cc: New file.
5426         * gdb.cp/namelessclass.exp: New file.
5427         * gdb.cp/namelessclass.S: New file.
5428
5429 2014-04-16  Doug Evans  <[email protected]>
5430
5431         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5432         Add comment.
5433         (gdbserver_default_get_comm_port): New function.
5434         (gdbserver_start): Check if board file provided
5435         "gdbserver,get_comm_port" and use it if so.
5436         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5437         (gdb,socketport): Set to "stdio".
5438         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5439         (stdio_gdbserver_template): Delete.
5440         (${board}_get_remote_address): Update.
5441         (${board}_build_remote_cmd): Delete.
5442         (${board}_get_comm_port): New function.
5443         (${board}_spawn): Update.
5444         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5445         Delete.
5446         (${board}_get_remote_address): Update.
5447         (${board}_get_comm_port): New function.
5448
5449 2014-04-16  Andrew Burgess  <[email protected]>
5450
5451         * gdb.base/memattr.exp: Improve regexps to handle memory regions
5452         appearing in any order.
5453
5454 2014-04-15  Doug Evans  <[email protected]>
5455
5456         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5457         uninitialized value of "description".
5458
5459 2014-04-15  Keith Seitz  <[email protected]>
5460
5461         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5462         Remove unused globals.
5463         (test_running_the_program): Likewise.
5464         (test_controlled_execution): Likewise.
5465         (test_controlling_breakpoints): Likewise.
5466         (test_program_termination): Likewise.
5467
5468 2014-04-15  Keith Seitz  <[email protected]>
5469
5470         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5471         unused globals.
5472         (test_rbreak_creation_and_listing): Likewise.
5473         (test_ignore_count): Likewise.
5474         (test_error): Likewise.
5475
5476 2014-04-15  Pedro Alves  <[email protected]>
5477
5478         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5479         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5480         sym-file-loader.c.
5481         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5482         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5483         to sym-file-loader.c.
5484         (struct library): Forward declare.
5485         (load_shlib, lookup_function): Change prototypes.
5486         (find_shstrtab, find_strtab, find_shdr, find_symtab)
5487         (translate_offset): Remove declarations.
5488         (get_text_addr): New declaration.
5489         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5490         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5491         sym-file-loader.h.
5492         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5493         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5494         here from sym-file-loader.h.
5495         (struct library): New structure.
5496         (load_shlib, lookup_function): Change prototypes and adjust to
5497         work with a struct library.
5498         (find_shstrtab, find_strtab, find_shdr, find_symtab)
5499         (translate_offset): Make static.
5500         (get_text_addr): New function.
5501         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5502
5503 2014-04-15  Pedro Alves  <[email protected]>
5504
5505         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
5506
5507 2014-04-15  Pedro Alves  <[email protected]>
5508
5509         * gdb.base/sym-file-loader.c: Include <limits.h>.
5510         (SELF_LINK): New define.
5511         (get_origin): New function.
5512         (load_shlib): Use it.
5513         * gdb.base/sym-file.exp: Don't early return if the target is
5514         remote.  Use runto_main, and issue fail is that fails.  Use
5515         gdb_load_shlibs.
5516         (shlib_name): Delete.
5517         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
5518
5519 2014-04-15  Pedro Alves <[email protected]>
5520
5521         * gdb.base/sym-file.exp: Remove regex characters from test
5522         message.  Don't refer to breakpoint numbers in test messages.
5523
5524 2014-04-14  Keith Seitz  <[email protected]>
5525
5526         PR c++/16253
5527         * gdb.cp/var-tag.cc: New file.
5528         * gdb.cp/var-tag.exp: New file.
5529         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5530         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5531         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5532         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5533
5534 2014-04-14  Tom Tromey  <[email protected]>
5535
5536         * gdb.cp/classes.exp (test_enums): Handle underlying type.
5537         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5538         type.
5539         * gdb.cp/enum-class.exp: New file.
5540         * gdb.cp/enum-class.cc: New file.
5541
5542 2014-04-14  Tom Tromey  <[email protected]>
5543
5544         * gdb.dwarf2/enum-type.exp: New file.
5545
5546 2014-04-14  Sanimir Agovic  <[email protected]>
5547
5548         * gdb.mi/mi-vla-c99.exp: New file.
5549         * gdb.mi/vla.c: New file.
5550
5551 2014-04-14  Sanimir Agovic  <[email protected]>
5552
5553         * gdb.base/vla-datatypes.c: New file.
5554         * gdb.base/vla-datatypes.exp: New file.
5555
5556 2014-04-14  Sanimir Agovic  <[email protected]>
5557
5558         * gdb.base/vla-ptr.c: New file.
5559         * gdb.base/vla-ptr.exp: New file.
5560
5561 2014-04-14  Sanimir Agovic  <[email protected]>
5562
5563         * gdb.dwarf2/count.exp: New file.
5564
5565 2014-04-14  Sanimir Agovic  <[email protected]>
5566
5567         * gdb.base/vla-sideeffect.c: New file.
5568         * gdb.base/vla-sideeffect.exp: New file.
5569
5570 2014-04-14  David Blaikie <[email protected]>
5571
5572         * gdb.mi/non-stop.c: Add return value for non-void function return
5573         statement.
5574         * gdb.threads/staticthreads.c: Ditto.
5575
5576 2014-04-12  Siva Chandra Reddy  <[email protected]>
5577             Doug Evans  <[email protected]>
5578
5579         * gdb.guile/scm-value.c: Improve test case.
5580         * gdb.guile/scm-value.exp: Add new test.
5581
5582 2014-04-11  David Blaikie  <[email protected]>
5583
5584         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5585         override Clang's default.
5586
5587 2014-04-11  Joel Brobecker  <[email protected]>
5588
5589         Revert the following changes (regressions):
5590
5591         * gdb.base/vla-sideeffect.c: New file.
5592         * gdb.base/vla-sideeffect.exp: New file.
5593
5594         * gdb.dwarf2/count.exp: New file.
5595
5596         * gdb.base/vla-multi.c: New file.
5597         * gdb.base/vla-multi.exp: New file.
5598
5599         * gdb.base/vla-ptr.c: New file.
5600         * gdb.base/vla-ptr.exp: New file.
5601
5602         * gdb.base/vla-datatypes.c: New file.
5603         * gdb.base/vla-datatypes.exp: New file.
5604
5605         * gdb.mi/mi-vla-c99.exp: New file.
5606         * gdb.mi/vla.c: New file.
5607
5608 2014-04-11  Keith Seitz  <[email protected]>
5609
5610         PR c++/16675
5611         * gdb.cp/cpsizeof.exp: New file.
5612         * gdb.cp/cpsizeof.cc: New file.
5613
5614 2014-04-11  Sanimir Agovic  <[email protected]>
5615
5616         * gdb.mi/mi-vla-c99.exp: New file.
5617         * gdb.mi/vla.c: New file.
5618
5619 2014-04-11  Sanimir Agovic  <[email protected]>
5620
5621         * gdb.base/vla-datatypes.c: New file.
5622         * gdb.base/vla-datatypes.exp: New file.
5623
5624 2014-04-11  Sanimir Agovic  <[email protected]>
5625
5626         * gdb.base/vla-ptr.c: New file.
5627         * gdb.base/vla-ptr.exp: New file.
5628
5629 2014-04-11  Sanimir Agovic  <[email protected]>
5630
5631         * gdb.base/vla-multi.c: New file.
5632         * gdb.base/vla-multi.exp: New file.
5633
5634 2014-04-11  Sanimir Agovic  <[email protected]>
5635
5636         * gdb.dwarf2/count.exp: New file.
5637
5638 2014-04-11  Sanimir Agovic  <[email protected]>
5639
5640         * gdb.base/vla-sideeffect.c: New file.
5641         * gdb.base/vla-sideeffect.exp: New file.
5642
5643 2014-04-11  Yao Qi  <[email protected]>
5644
5645         * gdb.base/completion.exp: Check file exists before running tests
5646         on file completion.
5647
5648 2014-04-10  Pedro Alves  <[email protected]>
5649
5650         * gdb.base/cond-eval-mode.c: New file.
5651         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
5652         prepare_for_testing to build the new file.  Check result of
5653         runto_main.
5654         (test_break, test_watch): New procedures.
5655         (top level): Use them.
5656
5657 2014-04-08  Pierre Muller  <[email protected]>
5658
5659         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5660         Ctrl-V use for mingw hosts.
5661
5662 2014-04-07  Siva Chandra Reddy  <[email protected]>
5663
5664         * gdb.python/py-value.c: Improve test case.
5665         * gdb.python/py-value.exp: Add new test.
5666
5667 2014-04-07  David Blaikie  <[email protected]>
5668
5669         * lib/compiler.c: Identify the clang compiler.
5670         * lib/compiler.cc: Ditto.
5671
5672 2014-04-03  Yao Qi  <[email protected]>
5673
5674         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5675
5676 2014-04-01  Anton Blanchard  <[email protected]>
5677
5678         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
5679         messages unique.
5680
5681 2014-04-01  Anton Blanchard  <[email protected]>
5682
5683         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5684         prepare_for_testing.
5685
5686 2014-04-01  Anton Blanchard  <[email protected]>
5687
5688         * gdb.arch/ppc64-atomic-inst.c: Remove.
5689         * gdb.arch/ppc64-atomic-inst.S: New file.
5690         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5691
5692 2014-03-31  Doug Evans  <[email protected]>
5693
5694         * gdb.base/print-symbol-loading-lib.c: New file.
5695         * gdb.base/print-symbol-loading-main.c: New file.
5696         * gdb.base/print-symbol-loading.exp: New file.
5697
5698 2014-03-31  Yao Qi  <[email protected]>
5699
5700         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5701
5702 2014-03-28  Joel Brobecker  <[email protected]>
5703
5704         * gdb.ada/mi_dyn_arr: New testcase.
5705
5706 2014-03-27  Doug Evans  <[email protected]>
5707
5708         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5709
5710 2014-03-27  Yao Qi  <[email protected]>
5711
5712         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5713         if target is nios2-*-*.
5714
5715 2014-03-26  Yao Qi  <[email protected]>
5716
5717         * lib/gdb.exp (readline_is_used): New proc.
5718         * gdb.base/completion.exp: Move tests on command complete up.
5719         Skip the rest of tests if readline is not used.
5720         * gdb.ada/complete.exp: Skp the test if readline is not
5721         used.
5722         * gdb.base/filesym.exp: Likewise.
5723         * gdb.base/macscp.exp: Likewise.
5724         * gdb.base/readline-ask.exp: Likewise.
5725         * gdb.base/readline.exp: Likewise.
5726         * gdb.python/py-cmd.exp: Likewise.
5727         * gdb.trace/tfile.exp: Likewise.
5728
5729 2014-03-26  Yao Qi  <[email protected]>
5730
5731         * gdb.base/macscp.exp: Fix code format issues.
5732
5733 2014-03-25  Ulrich Weigand  <[email protected]>
5734
5735         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5736         * gdb.asm/powerpc64le.inc: New file.
5737
5738 2014-03-25  Pedro Alves  <[email protected]>
5739             Doug Evans  <[email protected]>
5740
5741         * gdb.base/source-execution.c: New file.
5742         * gdb.base/source-execution.exp: New file.
5743         * gdb.base/source-execution.gdb: New file.
5744
5745 2014-03-24  Doug Evans  <[email protected]>
5746
5747         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5748         using fission.
5749
5750 2014-03-24  Hui Zhu  <[email protected]>
5751             Pedro Alves  <[email protected]>
5752
5753         PR breakpoints/16101
5754         * gdb.base/dprintf.exp: Use unsupported rather than changing the
5755         test pass/fail messages.  Detect missing support for dprintf when
5756         breakpoints are actually inserted.
5757         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5758         breakpoints are actually inserted.
5759         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5760         fails.
5761
5762 2014-03-24  Jan Kratochvil  <[email protected]>
5763
5764         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5765
5766 2014-03-22  Doug Evans  <[email protected]>
5767
5768         * gdb.python/python.exp (python not supported): Verify multi-line
5769         python command issues an error.
5770         * gdb.guile/guile.exp (guile not supported): Verify multi-line
5771         guile command issues an error.
5772
5773 2014-03-21  Maciej W. Rozycki  <[email protected]>
5774
5775         * gdb.threads/thread-specific.exp: Handle the lack of usable
5776         $this_breakpoint and $this_thread.
5777
5778 2014-03-21  Hui Zhu  <[email protected]>
5779
5780         * gdb.base/attach.exp (do_command_attach_tests): New.
5781
5782 2014-03-20  Tom Tromey  <[email protected]>
5783             Pedro Alves  <[email protected]>
5784
5785         PR cli/15718
5786         * gdb.base/condbreak-call-false.c: New file.
5787         * gdb.base/condbreak-call-false.exp: New file.
5788
5789 2014-03-20  Pedro Alves  <[email protected]>
5790
5791         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5792         Delete.
5793         (block_signals, unblock_signals): Delete.
5794         (child_function_2, main): Remove references to deleted variable
5795         and functions.
5796
5797 2014-03-20  Pedro Alves  <[email protected]>
5798
5799         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5800         Use pthread_kill to signal thread 2.
5801         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5802         Adjust to make the test send itself a signal rather than using the
5803         host's "kill" command.
5804
5805 2014-03-20  Pedro Alves  <[email protected]>
5806
5807         * gdb.threads/multiple-step-overs.c: New file.
5808         * gdb.threads/multiple-step-overs.exp: New file.
5809         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5810         Adjust expected infrun debug output.
5811
5812 2014-03-20  Pedro Alves  <[email protected]>
5813
5814         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5815         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5816
5817 2014-03-20  Pedro Alves  <[email protected]>
5818
5819         PR breakpoints/7143
5820         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5821         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
5822         of gdb_test_multiple.
5823         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5824         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5825
5826 2014-03-20  Pedro Alves  <[email protected]>
5827
5828         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5829         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5830
5831 2014-03-19  Pedro Alves  <[email protected]>
5832
5833         * gdb.base/async.exp: Remove early return.
5834
5835 2014-03-19  Pedro Alves  <[email protected]>
5836
5837         * gdb.base/async.exp (step& tests): Pass explicit test messages.
5838
5839 2014-03-19  Pedro Alves  <[email protected]>
5840
5841         * gdb.base/async.exp (test_background): Expect \r\n after
5842         "completed." in the fail pattern.
5843
5844 2014-03-19  Pedro Alves  <[email protected]>
5845
5846         * gdb.base/async.exp (test_background): New procedure.
5847         Use it for all background execution command tests.
5848
5849 2014-03-19  Pedro Alves  <[email protected]>
5850
5851         * gdb.base/async.exp: Use prepare_for_testing.
5852
5853 2014-03-19  Pedro Alves  <[email protected]>
5854
5855         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
5856         the same line.
5857
5858 2014-03-19  Pedro Alves  <[email protected]>
5859
5860         * gdb.base/async.c (main): Add "jump here" and "until here" line
5861         marker comments.
5862         * gdb.base/async.exp (jump_here): New global.
5863         (jump& test): Use it.
5864         (until_here): New global.
5865         (until& test): Use it.
5866
5867 2014-03-19  Pedro Alves  <[email protected]>
5868
5869         * gdb.base/async.exp: Don't frob gdb_protocol.
5870
5871 2014-03-18  Doug Evans  <[email protected]>
5872
5873         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
5874         Fix spelling of exec-done-display.
5875
5876 2014-03-18  Jan Kratochvil  <[email protected]>
5877
5878         PR gdb/15358
5879         * gdb.base/gdb-sigterm.c: New file.
5880         * gdb.base/gdb-sigterm.exp: New file.
5881
5882 2014-03-18  Pedro Alves  <[email protected]>
5883
5884         PR gdb/13860
5885         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5886         * lib/mi-support.exp (mi_expect_stop): Add special handling for
5887         solib-event.
5888
5889 2014-03-17  Joel Brobecker  <[email protected]>
5890
5891         * gdb.ada/pckd_arr_ren: New testcase.
5892
5893 2014-03-13  Doug Evans  <[email protected]>
5894
5895         PR guile/16612
5896         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5897         collect after discarding symbols.
5898
5899 2014-03-13  Ludovic Courtès  <[email protected]>
5900             Doug Evans  <[email protected]>
5901
5902         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5903         to history survives a gc.
5904
5905 2014-03-13  Pedro Alves  <[email protected]>
5906
5907         * gdb.base/default.exp: Don't test "target procfs".
5908
5909 2014-03-13  Pedro Alves  <[email protected]>
5910
5911         * gdb.base/default.exp: Update "target child" and "target procfs"
5912         tests to not expect "Unix".
5913
5914 2014-03-12  Tom Tromey  <[email protected]>
5915
5916         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5917         New procs.  Add target-async tests.
5918         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5919         Add target-async tests.
5920
5921 2014-03-12  Andreas Arnez  <[email protected]>
5922
5923         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5924         'func_start' and 'func_end' for the beginning and end of the
5925         function code, respectively.
5926         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5927         'func_end' instead of 'func' and 'main'.
5928
5929 2014-03-12  Andreas Arnez  <[email protected]>
5930
5931         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5932         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5933         generate the debug info assembler source.
5934
5935 2014-03-12  Andreas Arnez  <[email protected]>
5936
5937         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5938         * gdb.dwarf2/arr-subrange.exp: Likewise.
5939         * gdb.dwarf2/dwz.exp: Likewise.
5940         * gdb.dwarf2/method-ptr.exp: Likewise.
5941         * gdb.dwarf2/missing-sig-type.exp: Likewise.
5942         * gdb.dwarf2/subrange.exp: Likewise.
5943         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5944         * gdb.dwarf2/implptrpiece.exp: Likewise.
5945         * gdb.dwarf2/nostaticblock.exp: Likewise.
5946
5947 2014-03-12  Andreas Arnez  <[email protected]>
5948
5949         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5950         directory to absolute path name arguments.
5951
5952 2014-03-10  Joel Brobecker  <[email protected]>
5953
5954         * gdb.ada/tagged_access: New testcase.
5955
5956 2014-03-07  Markus Metzger  <[email protected]>
5957
5958         * gdb.btrace/data.exp: Update expected output.
5959
5960 2014-03-06  Yao Qi  <[email protected]>
5961
5962         * gdb.trace/pr16508.exp: New file.
5963
5964 2014-03-05  Pedro Alves  <[email protected]>
5965
5966         PR gdb/16575
5967         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5968         procedure.
5969         (top level): Adjust to use it.  Add tests that exercise breakpoint
5970         interaction with the code-cache.
5971
5972 2014-02-26  Ludovic Courtès  <[email protected]>
5973
5974         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5975         test for 'history-append!'.
5976
5977 2014-02-26  Joel Brobecker  <[email protected]>
5978
5979         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5980         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5981         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5982         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5983         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5984         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5985
5986 2014-02-26  Joel Brobecker  <[email protected]>
5987
5988         * testsuite/gdb.python/py-pp-re-notag.c: New file.
5989         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5990         * testsuite/gdb.python/py-pp-re-notag.p: New file.
5991
5992 2014-02-26  Joel Brobecker  <[email protected]>
5993
5994         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5995
5996 2014-02-26  Joel Brobecker  <[email protected]>
5997
5998         * gdb.dwarf2/arr-stride.c: New file.
5999         * gdb.dwarf2/arr-stride.exp: New file.
6000
6001 2014-02-26  Pedro Alves  <[email protected]>
6002
6003         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6004         that won't ever trigger.  Make sure that GDB reports the correct
6005         breakpoint that caused the stop.
6006
6007 2014-02-25  Jan Kratochvil  <[email protected]>
6008
6009         PR gdb/16626
6010         * gdb.base/auto-load-script: New file.
6011         * gdb.base/auto-load.c: New file.
6012         * gdb.base/auto-load.exp: New file.
6013
6014         PR gdb/16626
6015         * gdb.base/auto-load.exp: Fix out-of-srctree run.
6016
6017 2014-02-25  Jan Kratochvil  <[email protected]>
6018
6019         Fix dw2-icycle.exp -fsanitize=address GDB crash.
6020         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6021
6022 2014-02-24  Doug Evans  <[email protected]>
6023
6024         * lib/gdb.exp (run_on_host): Log error output if program fails.
6025
6026 2014-02-21  Pedro Alves  <[email protected]>
6027
6028         * gdb.threads/step-after-sr-lock.c: Rename to ...
6029         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6030         * gdb.threads/step-after-sr-lock.exp: Rename to ...
6031         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6032         ... this.
6033
6034 2014-02-20  Sergio Durigan Junior  <[email protected]>
6035
6036         PR tdep/16397
6037         * gdb.arch/amd64-stap-special-operands.exp: New file.
6038         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6039         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6040         * gdb.arch/amd64-stap-triplet.S: Likewise.
6041         * gdb.arch/amd64-stap-triplet.c: Likewise.
6042
6043 2014-02-20  Joel Brobecker  <[email protected]>
6044
6045         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6046         in .section pseudo-op.
6047
6048 2014-02-20  lin zuojian  <[email protected]>
6049             Joel Brobecker  <[email protected]>
6050             Doug Evans  <[email protected]>
6051
6052         PR symtab/16581
6053         * gdb.dwarf2/dw2-icycle.S: New file.
6054         * gdb.dwarf2/dw2-icycle.c: New file.
6055         * gdb.dwarf2/dw2-icycle.exp: New file.
6056
6057 2014-02-19  Siva Chandra Reddy  <[email protected]>
6058
6059         * gdb.python/py-value-cc.cc: Improve test case to enable testing
6060         operations on gdb.Value objects.
6061         * gdb.python/py-value-cc.exp: Add new test to test operations on
6062         gdb.Value objects.
6063
6064 2014-02-18  Doug Evans  <[email protected]>
6065
6066         * Makefile.in (TESTS): New variable.
6067         (expanded_tests, expanded_tests_or_none): New variables
6068         (check-single): Pass $(expanded_tests_or_none) to runtest.
6069         (check-parallel): Only run tests in $(TESTS) if non-empty.
6070         (check/no-matching-tests-found): New rule.
6071         * README: Document TESTS makefile variable.
6072
6073 2014-02-18  Doug Evans  <[email protected]>
6074
6075         * Makefile.in (check-parallel): rm -rf outputs temp.
6076
6077 2014-02-16  Jan Kratochvil  <[email protected]>
6078
6079         Fix "ERROR: no fileid for" in the testsuite.
6080         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6081
6082 2014-02-12  Doug Evans  <[email protected]>
6083
6084         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6085         (MISCELLANEOUS): New variable.
6086         (clean): rm -rf $(MISCELLANEOUS).
6087         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6088         dwp live in the same directory as symlinks, with each symlink pointed
6089         to a differently named file in a different directory.
6090
6091 2014-02-11  Doug Evans  <[email protected]>
6092
6093         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6094         of Tcl file commands.
6095
6096 2014-02-10  Mark Kettenis  <[email protected]>
6097
6098         * gdb.threads/step-after-sr-lock.exp: Avoid executing
6099         "kill -SIGUSR1 -1".
6100
6101 2014-02-10  Joel Brobecker  <[email protected]>
6102
6103         * gdb.ada/tick_length_array_enum_idx: New testcase.
6104
6105 2014-02-10  Doug Evans  <[email protected]>
6106
6107         * configure.ac (AC_OUTPUT): Add gdb.guile.
6108         * configure: Regenerate.
6109         * lib/gdb-guile.exp: New file.
6110         * lib/gdb.exp (get_target_charset): New function.
6111         * gdb.base/help.exp: Update expected output from "apropos apropos".
6112         * gdb.guile/Makefile.in: New file.
6113         * gdb.guile/guile.exp: New file.
6114         * gdb.guile/scm-arch.c: New file.
6115         * gdb.guile/scm-arch.exp: New file.
6116         * gdb.guile/scm-block.c: New file.
6117         * gdb.guile/scm-block.exp: New file.
6118         * gdb.guile/scm-breakpoint.c: New file.
6119         * gdb.guile/scm-breakpoint.exp: New file.
6120         * gdb.guile/scm-disasm.c: New file.
6121         * gdb.guile/scm-disasm.exp: New file.
6122         * gdb.guile/scm-equal.c: New file.
6123         * gdb.guile/scm-equal.exp: New file.
6124         * gdb.guile/scm-error.exp: New file.
6125         * gdb.guile/scm-error.scm: New file.
6126         * gdb.guile/scm-frame-args.c: New file.
6127         * gdb.guile/scm-frame-args.exp: New file.
6128         * gdb.guile/scm-frame-args.scm: New file.
6129         * gdb.guile/scm-frame-inline.c: New file.
6130         * gdb.guile/scm-frame-inline.exp: New file.
6131         * gdb.guile/scm-frame.c: New file.
6132         * gdb.guile/scm-frame.exp: New file.
6133         * gdb.guile/scm-generics.exp: New file.
6134         * gdb.guile/scm-gsmob.exp: New file.
6135         * gdb.guile/scm-iterator.c: New file.
6136         * gdb.guile/scm-iterator.exp: New file.
6137         * gdb.guile/scm-math.c: New file.
6138         * gdb.guile/scm-math.exp: New file.
6139         * gdb.guile/scm-objfile-script-gdb.in: New file.
6140         * gdb.guile/scm-objfile-script.c: New file.
6141         * gdb.guile/scm-objfile-script.exp: New file.
6142         * gdb.guile/scm-objfile.c: New file.
6143         * gdb.guile/scm-objfile.exp: New file.
6144         * gdb.guile/scm-ports.exp: New file.
6145         * gdb.guile/scm-pretty-print.c: New file.
6146         * gdb.guile/scm-pretty-print.exp: New file.
6147         * gdb.guile/scm-pretty-print.scm: New file.
6148         * gdb.guile/scm-section-script.c: New file.
6149         * gdb.guile/scm-section-script.exp: New file.
6150         * gdb.guile/scm-section-script.scm: New file.
6151         * gdb.guile/scm-symbol.c: New file.
6152         * gdb.guile/scm-symbol.exp: New file.
6153         * gdb.guile/scm-symtab-2.c: New file.
6154         * gdb.guile/scm-symtab.c: New file.
6155         * gdb.guile/scm-symtab.exp: New file.
6156         * gdb.guile/scm-type.c: New file.
6157         * gdb.guile/scm-type.exp: New file.
6158         * gdb.guile/scm-value-cc.cc: New file.
6159         * gdb.guile/scm-value-cc.exp: New file.
6160         * gdb.guile/scm-value.c: New file.
6161         * gdb.guile/scm-value.exp: New file.
6162         * gdb.guile/source2.scm: New file.
6163         * gdb.guile/types-module.cc: New file.
6164         * gdb.guile/types-module.exp: New file.
6165
6166 2014-02-10  Yao Qi  <[email protected]>
6167
6168         PR testsuite/16543
6169         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6170         * configure: Regenerated.
6171         * Makefile.in: New file.
6172
6173 2014-02-08  Andreas Schwab  <[email protected]>
6174
6175         * gdb.python/py-framefilter.exp: Fix typo.
6176
6177 2014-02-08  Yao Qi  <[email protected]>
6178
6179         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6180         that no =breakpoint-modified is emitted when breakpoints are
6181         modified through MI commands.
6182
6183 2014-02-07  Pedro Alves  <[email protected]>
6184             Pedro Alves  <[email protected]>
6185
6186         * gdb.threads/step-after-sr-lock.c: New file.
6187         * gdb.threads/step-after-sr-lock.exp: New file.
6188
6189 2014-02-07  Pedro Alves  <[email protected]>
6190
6191         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6192
6193 2014-02-06  Jan Kratochvil  <[email protected]>
6194
6195         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6196         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6197
6198 2014-02-06  Doug Evans  <[email protected]>
6199
6200         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6201         output.
6202
6203         * gdb.gdb/python-interrupts.exp: New file.
6204
6205 2014-02-05  Yao Qi  <[email protected]>
6206
6207         * gdb.trace/report.exp (use_collected_data): Test the output
6208         of "info threads" and "info inferiors".
6209
6210 2014-02-05  Yao Qi  <[email protected]>
6211
6212         Revert this patch:
6213
6214         2013-05-24  Yao Qi  <[email protected]>
6215
6216         * gdb.trace/tfile.exp: Test inferior and thread.
6217
6218 2014-02-04  Ulrich Weigand  <[email protected]>
6219
6220         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6221         on a function.
6222         * gdb.base/step-bt.c: Call hello via function pointer to make
6223         sure its first instruction is executed on powerpc64le-linux.
6224
6225 2014-02-04  Ulrich Weigand  <[email protected]>
6226
6227         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6228
6229 2014-02-04  Ulrich Weigand  <[email protected]>
6230
6231         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
6232         of the test patterns for use on little-endian systems.
6233
6234 2014-02-04  Ulrich Weigand  <[email protected]>
6235
6236         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6237         (decimal_vector): Fix for little-endian.
6238
6239 2014-01-29  Jose E. Marchesi  <[email protected]>
6240
6241         * gdb.arch/sparc-sysstep.exp: New file.
6242         * gdb.arch/sparc-sysstep.c: Likewise.
6243
6244         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6245
6246 2014-01-28  Edjunior Barbosa Machado  <[email protected]>
6247
6248         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6249
6250 2014-01-23  Tom Tromey  <[email protected]>
6251
6252         * gdb.ada/array_char_idx: New testcase.
6253
6254 2014-01-23  Tom Tromey  <[email protected]>
6255
6256         PR python/16487:
6257         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6258         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6259         classes.
6260
6261 2014-01-23  Tom Tromey  <[email protected]>
6262
6263         PR python/16491:
6264         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6265         string from an inferior frame.
6266         * gdb.python/py-framefilter-mi.exp: Update.
6267
6268 2014-01-22  Doug Evans  <[email protected]>
6269
6270         * gdb.server/server-mon.exp: Add tests for "set debug-format".
6271
6272 2014-01-22  Andreas Arnez  <[email protected]>
6273
6274         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6275
6276 2014-01-22  Andreas Arnez  <[email protected]>
6277
6278         * gdb.trace/entry-values.exp: Remove excess space character from
6279         regex patterns.  Handle s390 call instruction.
6280
6281 2014-01-22  Andreas Arnez  <[email protected]>
6282
6283         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6284         define "*_start" label.  Make "name" static.
6285         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6286         ${name} by references to ${name}_start.
6287
6288 2014-01-22  Andreas Arnez  <[email protected]>
6289
6290         * gdb.base/info-macros.exp: Remove "debug" from the compile
6291         options.
6292
6293 2014-01-17  Iain Buclaw  <[email protected]>
6294
6295         * gdb.dlang/demangle.exp: New file.
6296
6297 2014-01-17  Iain Buclaw  <[email protected]>
6298
6299         * gdb.dlang/primitive-types.exp: New file.
6300
6301 2014-01-17  Iain Buclaw  <[email protected]>
6302
6303         * configure.ac: Create gdb.dlang/Makefile.
6304         * configure: Regenerate.
6305         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6306         * gdb.dlang/Makefile.in: New file.
6307         * lib/d-support.exp: New file.
6308         * lib/gdb.exp (skip_d_tests): New proc.
6309
6310 2014-01-16  Markus Metzger  <[email protected]>
6311
6312         * gdb.btrace/delta.exp: Check reverse stepi.
6313         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
6314         * gdb.btrace/finish.exp: New.
6315         * gdb.btrace/next.exp: New.
6316         * gdb.btrace/nexti.exp: New.
6317         * gdb.btrace/record_goto.c: Add comments.
6318         * gdb.btrace/step.exp: New.
6319         * gdb.btrace/stepi.exp: New.
6320         * gdb.btrace/multi-thread-step.c: New.
6321         * gdb.btrace/multi-thread-step.exp: New.
6322         * gdb.btrace/rn-dl-bind.c: New.
6323         * gdb.btrace/rn-dl-bind.exp: New.
6324         * gdb.btrace/data.c: New.
6325         * gdb.btrace/data.exp: New.
6326         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6327
6328 2014-01-16  Markus Metzger  <[email protected]>
6329
6330         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6331         * gdb.btrace/exception.exp: Update.
6332         * gdb.btrace/instruction_history.exp: Update.
6333         * gdb.btrace/record_goto.exp: Update.
6334         * gdb.btrace/tailcall.exp: Update.
6335         * gdb.btrace/unknown_functions.exp: Update.
6336         * gdb.btrace/delta.exp: New.
6337
6338 2014-01-16  Markus Metzger  <[email protected]>
6339
6340         * gdb.btrace/record_goto.exp: Add backtrace test.
6341         * gdb.btrace/tailcall.exp: Add backtrace test.
6342
6343 2014-01-16  Markus Metzger  <[email protected]>
6344
6345         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6346         * gdb.btrace/record_goto.c: New.
6347         * gdb.btrace/record_goto.exp: New.
6348         * gdb.btrace/x86-record_goto.S: New.
6349
6350 2014-01-16  Markus Metzger  <[email protected]>
6351
6352         * gdb.btrace/function_call_history.exp: Update tests.
6353         * gdb.btrace/instruction_history.exp: Update tests.
6354
6355 2014-01-16  Markus Metzger  <[email protected]>
6356
6357         * gdb.btrace/function_call_history.exp: Fix expected field
6358         order for "record function-call-history".
6359         Add new tests for "record function-call-history /c".
6360         * gdb.btrace/exception.cc: New.
6361         * gdb.btrace/exception.exp: New.
6362         * gdb.btrace/tailcall.exp: New.
6363         * gdb.btrace/x86-tailcall.S: New.
6364         * gdb.btrace/x86-tailcall.c: New.
6365         * gdb.btrace/unknown_functions.c: New.
6366         * gdb.btrace/unknown_functions.exp: New.
6367         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6368
6369 2014-01-16  Markus Metzger  <[email protected]>
6370
6371         * gdb.btrace/instruction_history.exp: Update.
6372         * gdb.btrace/function_call_history.exp: Update.
6373
6374 2014-01-16  Markus Metzger  <[email protected]>
6375
6376         * gdb.btrace/function_call_history.exp: Fix expected function
6377         trace.
6378         * gdb.btrace/instruction_history.exp: Initialize traced.
6379         Remove traced_functions.
6380
6381 2014-01-16  Markus Metzger  <[email protected]>
6382
6383         * gdb.btrace/function_call_history.exp: Update
6384         * gdb.btrace/instruction_history.exp: Update.
6385
6386 2014-01-16  Markus Metzger  <[email protected]>
6387
6388         * gdb.btrace/enable.exp: Update expected text.
6389
6390 2014-01-16  Omair Javaid  <[email protected]>
6391
6392         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6393         bytes.
6394
6395 2014-01-15  Maciej W. Rozycki  <[email protected]>
6396
6397         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6398
6399 2014-01-15  Omair Javaid  <[email protected]>
6400
6401         * lib/gdb.exp (supports_process_record): Return true for
6402         arm*-linux*.  (supports_reverse): Likewise.
6403
6404 2014-01-13  Siva Chandra Reddy  <[email protected]>
6405
6406         PR python/15464
6407         PR python/16113
6408         * gdb.python/py-type.c: Enhance test case.
6409         * gdb.python/py-value-cc.cc: Likewise
6410         * gdb.python/py-type.exp: Add new tests.
6411         * gdb.python/py-value-cc.exp: Likewise
6412
6413 2014-01-10  Andreas Arnez  <[email protected]>
6414             Pedro Alves <[email protected]>
6415
6416         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6417         Make "name" extern.
6418         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6419         references to ${name}_start by references to ${name}.
6420
6421 2014-01-10  Joel Brobecker  <[email protected]>
6422
6423         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6424
6425 2014-01-10  Joel Brobecker  <[email protected]>
6426
6427         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6428
6429 2014-01-09  Maciej W. Rozycki  <[email protected]>
6430             Pedro Alves  <[email protected]>
6431
6432         * gdb.mi/mi-info-os.exp: Connect to the target with
6433         mi_gdb_target_load.
6434
6435 2014-01-08  Pedro Alves  <[email protected]>
6436
6437         * gdb.threads/reconnect-signal.c: New file.
6438         * gdb.threads/reconnect-signal.exp: New file.
6439
6440 2014-01-07  Jan Kratochvil  <[email protected]>
6441
6442         * gdb.base/source-dir.exp: New file.
6443
6444 2014-01-07  Joel Brobecker  <[email protected]>
6445
6446         * gdb.ada/mi_interface: New testcase.
6447
6448 2014-01-07  Joel Brobecker  <[email protected]>
6449
6450         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6451         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6452         gdb.ada/pp-rec-component/pck.ads: New files.
6453
6454 2014-01-07  Joel Brobecker  <[email protected]>
6455
6456         * gdb.python/py-pp-integral.c: New file.
6457         * gdb.python/py-pp-integral.py: New file.
6458         * gdb.python/py-pp-integral.exp: New file.
6459
6460 For older changes see ChangeLog-1993-2013.
6461 \f
6462 ;; Local Variables:
6463 ;; mode: change-log
6464 ;; left-margin: 8
6465 ;; fill-column: 74
6466 ;; version-control: never
6467 ;; End:
6468
6469     Copyright 2014-2015 Free Software Foundation, Inc.
6470   Copying and distribution of this file, with or without modification,
6471   are permitted provided the copyright notice and this notice are preserved.
This page took 0.430418 seconds and 4 git commands to generate.