Fix displaced-stepping RIP-relative VEX-encoded instructions (AVX) (PR gdb/22499)
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2017-12-04  Pedro Alves  <palves@redhat.com>
2
3         PR gdb/22499
4         * gdb.arch/amd64-disp-step-avx.S: New file.
5         * gdb.arch/amd64-disp-step-avx.exp: New file.
6
7 2017-12-03  Pedro Alves  <palves@redhat.com>
8
9         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10         and <string.h>.
11         (parent_function): Print distinct messages when waitpid fails, or
12         the child exits with a signal, or the child exits for an unhandled
13         reason.
14         * gdb.threads/process-dies-while-detaching.exp
15         (detach_and_expect_exit): New 'inf_output_re' parameter and use
16         it.  Wait for both inferior output and GDB's prompt.  Use an
17         indirect spawn id list.
18         (do_detach): New parameter 'child_exit'.  Use it to compute
19         expected inferior output.
20         (test_detach, test_detach_watch, test_detach_killed_outside):
21         Adjust to pass down the expected child exit kind.
22
23 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
24             Sergio Durigan Junior  <sergiodj@redhat.com>
25             Pedro Alves  <palves@redhat.com>
26
27         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
28
29 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
30
31         * gdb.base/relocate.exp: Add tests to guarantee that arguments
32         to 'symbol-file' and 'add-symbol-file' can be
33         position-independent.
34
35 2017-12-01  Yao Qi  <yao.qi@linaro.org>
36
37         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
38         the URL in copyright header.
39         * gdb.arch/aarch64-fp.exp: Likewise.
40         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
41         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
42         * gdb.base/expand-psymtabs.exp: Likewise.
43         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
44         * gdb.fortran/common-block.exp: Likewise.
45         * gdb.fortran/common-block.f90: Likewise.
46         * gdb.fortran/logical.exp: Likewise.
47         * gdb.fortran/vla-datatypes.f90: Likewise.
48         * gdb.fortran/vla-sub.f90: Likewise.
49
50 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
51
52         * gdb.ada/repeat_dyn: New testcase.
53
54 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
55
56         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
57         Update for changed thread numbering.
58         * gdb.cell/bt.exp: Update for changed GDB output.
59
60 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
61
62         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
63         setting isremote by hand.
64         * boards/dwarf4-gdb-index.exp: Likewise.
65         * boards/fission.exp: Likewise.
66         * boards/stabs.exp: Likewise.
67
68 2017-11-30  Pedro Alves  <palves@redhat.com>
69
70         * gdb.linespec/cpls-ops.exp
71         (check_explicit_skips_function_argument): Extract the underlying
72         type of size_t instead of hardcoding it.
73
74 2017-11-29  Pedro Alves  <palves@redhat.com>
75
76         PR c++/19436
77         * gdb.linespec/cpls-abi-tag.cc: New file.
78         * gdb.linespec/cpls-abi-tag.exp: New file.
79
80 2017-11-29  Pedro Alves  <palves@redhat.com>
81
82         * gdb.base/langs.exp: Use -qualified.
83         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
84         it.
85         * gdb.cp/namespace.exp: Use -qualified.
86         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
87         (overload-3, template-overload, template-ret-type, const-overload)
88         (const-overload-quoted, anon-ns, ambiguous-prefix): New
89         procedures.
90         (test_driver): Call them.
91         * gdb.cp/save-bp-qualified.cc: New.
92         * gdb.cp/save-bp-qualified.exp: New.
93         * gdb.linespec/explicit.exp: Test -qualified.
94         * lib/completion-support.exp (completion::explicit_opts_list): Add
95         "-qualified".
96         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
97
98 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
99
100         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
101
102 2017-11-29  Tom Tromey  <tom@tromey.com>
103
104         * gdb.base/relocate.exp: Update invalid argument test.
105         Add new tests for invalid arguments.
106
107 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
108
109         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
110         Return 0 as a long.
111         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
112
113 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
114
115         * gdb.cp/breakpoint.cc (bar): Set return type to void.
116         * gdb.cp/psymtab-parameter.cc (func): Likewise.
117         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
118         func ().
119         * gdb.cp/shadow.cc (B.func): Return 0.
120
121 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
122
123         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
124         expected output in gdb_expect call to allow the exception
125         message to be present as well.  Fix syntax confusion to avoid
126         TCL thinking that exception_name is an array.
127
128 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
129
130         * gdb.arch/spu-info.c: Include <unistd.h>.
131         (do_signal_test): Fix broken calls to write.
132         * gdb.arch/spu-info.exp: Use prepare_for_testing.
133         Fix checks for empty mailboxes.  Update signal tests for corrected
134         do_signal_test routine.  Allow nonzero event status.
135         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
136         * gdb.cell/arch.exp: Use standard_output_file.
137         * gdb.cell/break.exp: Likewise.
138         * gdb.cell/bt.exp: Likewise.
139         * gdb.cell/core.exp: Likewise.
140         * gdb.cell/dwarfaddr.exp: Likewise.
141         * gdb.cell/ea-cache.exp: Likewise.
142         * gdb.cell/ea-standalone.exp: Likewise.
143         * gdb.cell/f-regs.exp: Likewise.
144         * gdb.cell/fork.exp: Likewise.
145         * gdb.cell/gcore.exp: Likewise.
146         * gdb.cell/mem-access.exp: Likewise.
147         * gdb.cell/ptype.exp: Likewise.
148         * gdb.cell/registers.exp: Likewise.
149         * gdb.cell/sizeof.exp: Likewise.
150         * gdb.cell/solib-symbol.exp: Likewise.
151         * gdb.cell/solib.exp: Likewise.
152
153 2017-11-25   Pedro Alves  <palves@redhat.com>
154
155         * gdb.base/complete-empty.exp: New file.
156         * gdb.base/completion.exp: Adjust.
157
158 2017-11-25  Pedro Alves  <palves@redhat.com>
159
160         * gdb.linespec/cpls-ops.cc: New file.
161         * gdb.linespec/cpls-ops.exp: New file.
162         * lib/completion-support.exp (test_complete_prefix_range_re): New,
163         factored out from ...
164         (test_complete_prefix_range): ... this.
165
166 2017-11-24  Pedro Alves  <palves@redhat.com>
167
168         * gdb.linespec/cpcompletion.exp: New file.
169         * gdb.linespec/cpls-hyphen.cc: New file.
170         * gdb.linespec/cpls.cc: New file.
171         * gdb.linespec/cpls2.cc: New file.
172         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
173         test to use test_gdb_complete_unique.  Add label completion,
174         keyword completion and explicit location completion tests.
175         * lib/completion-support.exp: New file.
176
177 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
178
179         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
180         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
181         when hitting an exception catchpoint.
182
183 2017-11-22  Yao Qi  <yao.qi@linaro.org>
184
185         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
186
187 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
188
189         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
190         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
191         * gdb.dwarf2/info-locals-optimized-out.c: New file.
192
193 2017-11-22  Yao Qi  <yao.qi@linaro.org>
194
195         * gdb.base/info-os.exp: Pass pthreads.
196         * gdb.multi/multi-attach.exp: Likewise.
197
198 2017-11-22  Yao Qi  <yao.qi@linaro.org>
199
200         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
201         compiler.
202
203 2017-11-22  Yao Qi  <yao.qi@linaro.org>
204
205         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
206         * gdb.base/break-interp.exp: Likewise.
207         * gdb.base/jit-attach-pie.exp: Likewise.
208
209 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
210
211         * gdb.base/float128.c (large128): New variable.
212         * gdb.base/float128.exp: Add test to print largest __float128 value.
213
214 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
215
216         * gdb.arch/vsx-regs.exp: Update register content checks.
217
218 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
219
220         * gdb.arch/ppc-longdouble.exp: New file.
221         * gdb.arch/ppc-longdouble.c: Likewise.
222
223 2017-11-21  Pedro Alves  <palves@redhat.com>
224
225         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
226
227 2017-11-20  Pedro Alves  <palves@redhat.com>
228
229         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
230         (long_double_typedef): New typedefs.
231         Use DEF on double and long double.
232         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
233         cases.
234         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
235         and 'long_double_ptr_same_size' locals.  Use them to decide
236         whether cast from array/function to float is valid/invalid.
237
238 2017-11-17  Tom Tromey  <tom@tromey.com>
239
240         * gdb.rust/traits.rs: New file.
241         * gdb.rust/traits.exp: New file.
242
243 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
244
245         * gdb.ada/minsyms: New testcase.
246
247 2017-11-16  Pedro Alves  <palves@redhat.com>
248
249         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
250         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
251
252 2017-11-16  Pedro Alves  <palves@redhat.com>
253
254         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
255         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
256
257 2017-11-16  Pedro Alves  <palves@redhat.com>
258
259         * gdb.server/reconnect-ctrl-c.c: New file.
260         * gdb.server/reconnect-ctrl-c.exp: New file.
261
262 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
263
264         * gdb.python/py-rbreak.exp: New file.
265         * gdb.python/py-rbreak.c: New file.
266         * gdb.python/py-rbreak-func2.c: New file.
267
268 2017-11-16  Pedro Alves  <palves@redhat.com>
269
270         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
271         pattern.
272         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
273         GDB.
274
275 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
276
277         * gdb.tui/completionn.exp (test_tab_completion): Add space in
278         regex.
279
280 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
281
282         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
283         test names.
284
285 2017-11-09  Pedro Alves  <palves@redhat.com>
286
287         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
288         factored out from ...
289         (top level): ... here, and adjusted to avoid expecting beyond the
290         prompt in a single gdb_test_multiple.
291
292 2017-11-09  Pedro Alves  <palves@redhat.com>
293
294         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
295         output.
296         * gdb.server/ext-attach.exp ("kill" test): Likewise.
297         * gdb.server/ext-restart.exp ("kill" test): Likewise.
298         * gdb.server/ext-run.exp ("kill" test): Likewise.
299         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
300
301 2017-11-09  Pedro Alves  <palves@redhat.com>
302
303         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
304         match till end of line.
305
306 2017-11-09  Pedro Alves  <palves@redhat.com>
307
308         * gdb.base/memattr.exp: Tighten regexes to match the end line.
309
310 2017-11-09  Pedro Alves  <palves@redhat.com>
311
312         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
313         New procedures, factored out from ...
314         (top level): ... here, and adjusted to avoid expecting beyond the
315         prompt in one go.
316
317 2017-11-09  Pedro Alves  <palves@redhat.com>
318
319         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
320         output.  Fix '?' match.
321
322 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
323
324         * gdb.ada/scoped_watch: New testcase.
325         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
326         which is actually correct.
327         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
328         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
329
330 2017-11-08  Pedro Alves  <palves@redhat.com>
331
332         * gdb.gdb/complaints.exp (test_initial_complaints)
333         (test_serial_complaints, test_short_complaints): Call
334         complaint_internal instead of complaint.
335
336 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
337
338         * gdb.threads/tls-core.c: New file.
339         * gdb.threads/tls-core.exp: Likewise.
340
341 2017-11-08   Pedro Alves  <palves@redhat.com>
342
343         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
344         (p Exported_Capitalized): New test.
345         (p exported_capitalized): New test.
346
347 2017-11-07  Pedro Alves  <palves@redhat.com>
348
349         * gdb.cp/ena-dis-br-range.exp: Add more tests.
350
351 2017-11-07  Pedro Alves  <palves@redhat.com>
352
353         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
354         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
355         (disable_invalid, disable_inverted, disable_negative): New
356         procedures.
357         ("bad numbers"): New set of tests.
358
359 2017-11-07  Pedro Alves  <palves@redhat.com>
360
361         * gdb.cp/ena-dis-br-range.exp: Add tests.
362
363 2017-11-07  Pedro Alves  <palves@redhat.com>
364
365         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
366
367 2017-11-07  Xavier Roirand  <roirand@adacore.com>
368             Pedro Alves  <palves@redhat.com>
369
370         * gdb.base/ena-dis-br.exp: Add reference to
371         gdb.cp/ena-dis-br-range.exp.
372         * gdb.cp/ena-dis-br-range.exp: New file.
373         * gdb.cp/ena-dis-br-range.cc: New file.
374
375 2017-11-06  Pedro Alves  <palves@redhat.com>
376
377         * gdb.base/attach-non-pgrp-leader.c: New.
378         * gdb.base/attach-non-pgrp-leader.exp: New.
379
380 2017-11-06  Pedro Alves  <palves@redhat.com>
381
382         * configure.ac: No longer check for termio.h and sgtty.h.
383         * configure: Regenerate.
384         * remote-utils.c: Include termios.h instead of gdb_termios.h.
385         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
386         Remove termio and sgtty code.
387
388 2017-11-03  Yao Qi  <yao.qi@linaro.org>
389
390         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
391         in GDB is disabled.
392
393 2017-11-03  Yao Qi  <yao.qi@linaro.org>
394
395         * gdb.python/py-thrhandle.exp: Skip it if python is not
396         enabled.
397
398 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
399
400         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
401         as a breakpoint command.
402
403 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
404
405         PR python/21213
406         * gdb.python/py-infthread.exp: Test calling
407         InferiorThread.inferior () multiple times in a row.
408
409 2017-10-27  Keith Seitz  <keiths@redhat.com>
410
411         * gdb.opt/inline-break.exp (break_info_1): New procedure.
412         Test "info break" for every inlined function breakpoint.
413
414 2017-10-27  Yao Qi  <yao.qi@linaro.org>
415
416         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
417
418 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
419
420         * gdb.cp/classes.exp (test_static_members): Test printing
421         Outer::instance.
422         * gdb.cp/classes.c (struct Inner, struct Outer): New.
423         (Inner::instance, Outer::instance): New.
424
425 2017-10-24  Pedro Alves  <palves@redhat.com>
426
427         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
428         extra console" test in two stages.
429
430 2017-10-24  Pedro Alves  <palves@redhat.com>
431
432         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
433
434 2017-10-24  Pedro Alves  <palves@redhat.com>
435
436         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
437         loop.
438
439 2017-10-24  Pedro Alves  <palves@redhat.com>
440
441         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
442         $attempt" and "stoppedtry $stoppedtry" test prefixes.
443
444 2017-10-24  Pedro Alves  <palves@redhat.com>
445
446         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
447         parameter and handle it.  Don't output read value in test name.
448
449 2017-10-24  Pedro Alves  <palves@redhat.com>
450
451         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
452         custom test name.
453
454 2017-10-24  Pedro Alves  <palves@redhat.com>
455
456         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
457         include the unstable output directory name in the test's name.
458         (initial_setup_simple) <'set args'>: Use custom test name.
459
460 2017-10-24  Pedro Alves  <palves@redhat.com>
461
462         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
463         with explicit test name.
464
465 2017-10-20  Pedro Alves  <palves@redhat.com>
466
467         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
468         'wait -i'.  Use gdb_assert and remote_close.
469
470 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
471
472         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
473         number from variable rather than hard-coded.
474
475 2017-10-19  Pedro Alves  <palves@redhat.com>
476
477         * gdb.base/long-inferior-output.c: New file.
478         * gdb.base/long-inferior-output.exp: New file.
479
480 2017-11-18  Keith Seitz  <keiths@redhat.com>
481
482         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
483         method.
484         (main): Call it.
485         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
486         Add additional user-defined conversion operator tests.
487
488 2017-10-17  Pedro Alves  <palves@redhat.com>
489
490         * boards/native-stdio-gdbserver.exp: Load "local-board".
491
492 2017-10-17  Pedro Alves  <palves@redhat.com>
493
494         * gdb.base/quit-live.c: New file.
495         * gdb.base/quit-live.exp: New file.
496
497 2017-10-16  Keith Seitz  <keiths@redhat.com>
498
499         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
500         (class_with_protected_typedef, class_with_private_typedef)
501         (struct_with_public_typedef, struct_with_protected_typedef)
502         (struct_with_private_typedef): New classes/structs.
503         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
504         typedefs and access specifiers.
505
506 2017-10-16  Pedro Alves  <palves@redhat.com>
507             Simon Marchi  <simon.marchi@polymtl.ca>
508
509         * README (Local vs Remote vs Native): New section.
510         * boards/local-board.exp: New file, with bits factored out from
511         ...
512         * boards/native-extended-gdbserver.exp: ... here.  Load
513         "local-board".
514         * boards/native-gdbserver.exp: Load "local-board".
515         (${board}_spawn, ${board}_exec): Delete.
516         * boards/native-stdio-gdbserver.exp: Most contents factored out to
517         ...
518         * boards/stdio-gdbserver-base.exp: ... this new file.
519         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
520         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
521         procedure.
522         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
523         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
524         stdio_gdbserver_command.
525         (${board}_get_remote_address, ${board}_get_comm_port)
526         (${board}_download, ${board}_upload): Delete.
527         (get_target_remote_pipe_cmd): New.
528
529 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
530
531         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
532         test_bkpt_deletion, test_bkpt_cond_and_cmds,
533         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
534         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
535         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
536         remove with_test_prefix.
537
538 2017-10-13  Pedro Alves  <palves@redhat.com>
539
540         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
541         * gdb.base/annota1.exp: Use it instead of is_remote.
542         * gdb.base/annota3.exp: Use it instead of is_remote.
543         * gdb.cp/annota2.exp: Use it instead of is_remote.
544         * gdb.cp/annota3.exp: Use it instead of is_remote.
545         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
546
547 2017-10-13  Pedro Alves  <palves@redhat.com>
548
549         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
550         (test_num_test_vars, run_and_count_vars, find_env)
551         (test_set_unset_env, test_inherit_env_var): New procedures.
552         (top level): Use them.
553
554 2017-10-13  Pedro Alves  <palves@redhat.com>
555
556         * lib/selftest-support.exp (selftest_setup): Extend comments, and
557         also skip on stub-like targets.
558
559 2017-10-13  Pedro Alves  <palves@redhat.com>
560
561         PR gdb/22293
562         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
563         (top level): Move some tests to ...
564         (test_not_found): ... this new procedure.
565         (top level): Call it.
566
567 2017-10-13  Pedro Alves  <palves@redhat.com>
568
569         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
570         expect different "info terminal" output if testing with a
571         non-native target.
572
573 2017-10-13  Pedro Alves  <palves@redhat.com>
574             Simon Marchi  <simon.marchi@polymtl.ca>
575
576         PR python/12966
577         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
578
579 2017-10-13  Pedro Alves  <palves@redhat.com>
580
581         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
582         already.
583
584 2017-10-13  Pedro Alves  <palves@redhat.com>
585
586         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
587         is_remote.
588
589 2017-10-13  Pedro Alves  <palves@redhat.com>
590
591         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
592         is_remote.
593
594 2017-10-13  Pedro Alves  <palves@redhat.com>
595
596         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
597         is set.
598         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
599         instead of is_remote.
600
601 2017-10-13  Pedro Alves  <palves@redhat.com>
602
603         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
604         (top level): Add comment.
605
606 2017-10-13  Pedro Alves  <palves@redhat.com>
607
608         * gdb.base/remote.exp (top level): Fix comment typo and add
609         missing return.
610
611 2017-10-13  Pedro Alves  <palves@redhat.com>
612             Simon Marchi  <simon.marchi@polymtl.ca>
613
614         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
615         calls and add comments.  Skip test if use_gdb_stub is set.
616         (top level): Use "set cwd" command instead of "cd" command.
617
618 2017-10-13  Pedro Alves  <palves@redhat.com>
619
620         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
621         is_remote target check.
622
623 2017-10-13  Pedro Alves  <palves@redhat.com>
624
625         * gdb.base/scope.exp: Use build_executable + clean_restart +
626         gdb_file_cmd instead of prepare_for_testing and no longer skip
627         "before run" tests on is_remote target boards.  Update comments.
628         * boards/native-extended-gdbserver.exp
629         (extended_gdbserver_load_last_file): New, factored out from ...
630         (gdb_load): ... this.  Move further below and add comment.
631         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
632
633 2017-10-12  Pedro Alves  <palves@redhat.com>
634
635         * gdb.base/attach.exp: Remove references to gdb64.
636         * gdb.base/dbx.exp: Remove references to gdb64.
637
638 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
639             Pedro Alves  <palves@redhat.com>
640
641         * gdb.base/label.exp: Remove is_remote target check.
642
643 2017-10-12  Pedro Alves  <palves@redhat.com>
644
645         * gdb.base/auvx.exp (coredir): Update comment.
646         (top level) <core_works>: Use "set cwd" command instead of "cd"
647         command.
648
649 2017-10-12  Pedro Alves  <palves@redhat.com>
650             Simon Marchi  <simon.marchi@polymtl.ca>
651
652         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
653         target boards.
654
655 2017-10-12  Pedro Alves  <palves@redhat.com>
656             Simon Marchi  <simon.marchi@polymtl.ca>
657
658         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
659         Instead skip if there's any gdb_protocol set.
660
661 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
662             Pedro Alves  <palves@redhat.com>
663
664         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
665
666 2017-10-12  Pedro Alves  <palves@redhat.com>
667             Simon Marchi  <simon.marchi@polymtl.ca>
668
669         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
670         instead of on dejagnu remote boards.
671
672 2017-10-12  Pedro Alves  <palves@redhat.com>
673             Simon Marchi <simon.marchi@polymtl.ca>
674
675         * gdb.base/inferior-died.exp: Remove is_remote and isnative
676         checks.  Use build_executable + clean_restart instead of
677         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
678         of enabling non-stop after starting gdb.
679
680 2017-10-12  Pedro Alves  <palves@redhat.com>
681
682         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
683         * gdb.threads/non-ldr-exc-2.exp: Ditto.
684         * gdb.threads/non-ldr-exc-3.exp: Ditto.
685         * gdb.threads/non-ldr-exc-4.exp: Ditto.
686
687 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
688
689         * gdb.arch/arc-tdesc-cpu.exp: New file.
690         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
691
692 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
693
694         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
695
696 2017-10-10  Pedro Alves <palves@redhat.com>
697
698         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
699         expect CLI output.
700
701 2017-10-10  Pedro Alves  <palves@redhat.com>
702
703         * lib/selftest-support.exp (selftest_setup): Update for
704         captured_command_loop's prototype change.
705
706 2017-10-09  Pedro Alves  <palves@redhat.com>
707
708         Test both arch1=>arch2 and arch2=>arch1.
709
710         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
711         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
712         factored out to...
713         (append_arch1_options, append_arch2_options, append_arch_options)
714         (build_executables): New procedures.
715         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
716         local.
717         (top level): Add new 'first_arch' testing axis.
718
719 2017-10-09  Pedro Alves  <palves@redhat.com>
720
721         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
722         (barrier): New.
723         (thread_start, all_started): New functions.
724         (main): Spawn new thread and wait until it is scheduled.
725         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
726         option.
727         (do_test): Add 'selected_thread' parameter.  Run to all_started
728         instead of main.  Explicitly set the breakpoint at main.  Switch
729         to the SELECTED_THREAD thread.
730         (top level): Test handling the exec event with either the main
731         thread or the second thread selected.
732
733 2017-10-09  Pedro Alves  <palves@redhat.com>
734
735         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
736         logic.  Move STOP marker after the value checks.
737         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
738         regexp.
739
740 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
741
742         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
743
744 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
745
746         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
747         integer-to-dfp conversion.
748         * gdb.base/dfp-test.exp: Likewise.
749
750 2017-10-04  Pedro Alves  <palves@redhat.com>
751
752         * gdb.multi/hangout.c: Include <unistd.h>.
753         (hangout_loop): New function.
754         (main): Call alarm.  Call hangout_loop in a loop.
755         * gdb.multi/hello.c: Include <unistd.h>.
756         (hello_loop): New function.
757         (main): Call alarm.  Call hangout_loop in a loop.
758         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
759         inferior with the other selected.
760
761 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
762
763         * gdb.mi/list-thread-groups-available.exp: New file.
764         * gdb.mi/list-thread-groups-available.c: New file.
765
766 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
767
768         * gdb.base/set-cwd.exp: Make it available on
769         native-extended-gdbserver.
770
771 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
772
773         * gdb.base/set-cwd.c: New file.
774         * gdb.base/set-cwd.exp: Likewise.
775
776 2017-10-02  Tom Tromey  <tom@tromey.com>
777
778         PR rust/22236:
779         * gdb.rust/simple.rs (main): New variable "fslice".
780         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
781
782 2017-10-02  Tom Tromey  <tom@tromey.com>
783
784         * gdb.rust/simple.exp: Test ptype of a slice.
785
786 2017-10-02  Tom Tromey  <tom@tromey.com>
787
788         * gdb.rust/simple.exp: Test index of slice.
789
790 2017-09-27  Tom Tromey  <tom@tromey.com>
791
792         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
793
794 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
795             Pedro Alves  <palves@redhat.com>
796
797         * gdb.base/compare-sections.exp (get value of read-only section): Read
798         as unsigned value.
799         (corrupt read-only section): Likewise and don't set written if patching
800         failed.
801
802 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
803
804         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
805         files.
806
807 2017-09-20  Pedro Alves  <palves@redhat.com>
808
809         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
810         symbol names in gdb's output.
811         * gdb.cp/overload.exp ("list all overloads"): Likewise.
812
813 2017-09-20  Pedro Alves  <palves@redhat.com>
814
815         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
816         Rename to ...
817         (test_list_ambiguous_symbol): ... this and add a symbol name
818         parameter.  Adjust.
819         (test_list_ambiguous_function): Reimplement on top of
820         test_list_ambiguous_symbol and also test listing ambiguous
821         variables.
822         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
823         (ambiguous_fun): ... this.
824         (ambiguous_var): New.
825         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
826         (ambiguous_fun): ... this.
827         (ambiguous_var): New.
828
829 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
830
831         * gdb.base/starti.c: New file.
832         * gdb.base/starti.exp: New file.
833         * lib/gdb.exp (gdb_starti_cmd): New procedure.
834
835 2017-09-14  Pedro Alves  <palves@redhat.com>
836
837         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
838         (top level): Use it instead of runto.
839
840 2017-09-11  Tom Tromey  <tom@tromey.com>
841
842         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
843
844 2017-09-11  Tom Tromey  <tom@tromey.com>
845
846         * gdb.python/py-infthread.exp: Add tests for new_thread event.
847         * gdb.python/py-inferior.exp: Add tests for new inferior events.
848
849 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
850
851         * gdb.fortran/printing-types.exp: New file.
852         * gdb.fortran/printing-types.exp: New file.
853
854 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
855
856         * gdb.fortran/vla-ptype.exp: Fix typos.
857         * gdb.fortran/vla-value.exp: Same.
858
859 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
860
861         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
862         * gdb.mi/mi-var-child-f.exp: Likewise.
863         * gdb.mi/mi-vla-fortran.exp: Likewise.
864
865 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
866             Christoph Weinmann  <christoph.t.weinmann@intel.com>
867             Bernhard Heckel  <bernhard.heckel@intel.com>
868
869         * gdb.fortran/ptr-indentation.f90: New file.
870         * gdb.fortran/ptr-indentation.exp: New file.
871
872 2017-09-05  Tom Tromey  <tom@tromey.com>
873
874         PR gdb/22010:
875         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
876
877 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
878
879         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
880
881 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
882
883         * gdb.threads/tls-nodebug-pie.c: New file.
884         * gdb.threads/tls-nodebug-pie.exp: New file.
885
886 2017-09-05  Tom Tromey  <tom@tromey.com>
887
888         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
889         for rust.
890
891 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
892
893         * gdb.multi/multi-arch-exec.exp: Test with different
894         "follow-exec-mode" settings.
895         (do_test): New procedure.
896
897 2017-09-04  Pedro Alves  <palves@redhat.com>
898
899         * gdb.base/func-static.c (S::method const, S::method volatile)
900         (S::method volatile const): New methods.
901         (c_s, v_s, cv_s): New instances.
902         (main): Call method() on them.
903         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
904         (cannot_resolve): New procedure.
905         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
906         print-quote-unquoted columns.
907         (do_test): Test printing each scope too.
908
909 2017-09-04  Pedro Alves  <palves@redhat.com>
910
911         * gdb.base/local-static.exp: Also test with
912         class::method::variable wholly quoted.
913         * gdb.cp/m-static.exp (class::method::variable): Remove test.
914
915 2017-09-04  Pedro Alves  <palves@redhat.com>
916
917         * gdb.base/local-static.c: New.
918         * gdb.base/local-static.cc: New.
919         * gdb.base/local-static.exp:  New.
920
921 2017-09-04  Pedro Alves  <palves@redhat.com>
922
923         * gdb.asm/asm-source.exp: Add casts to int.
924         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
925         (dataglobal64_1, dataglobal64_2): New globals.
926         * gdb.base/nodebug.exp: Test different expressions involving the
927         new globals, with print, whatis and ptype.  Add casts to int.
928         * gdb.base/solib-display.exp: Add casts to int.
929         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
930         * gdb.cp/m-static.exp: Add cast to int.
931         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
932         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
933         tls variable with no debug info without a cast.  Test with a cast
934         to int too.
935         * gdb.trace/entry-values.exp: Add casts.
936
937 2017-09-04  Pedro Alves  <palves@redhat.com>
938
939         * gdb.base/nodebug.exp: Test that ptype's error about functions
940         with unknown return type includes the function name too.
941
942 2017-09-04  Pedro Alves  <palves@redhat.com>
943
944         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
945         return type of munmap in infcall.
946         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
947         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
948         type of ftell in infcall.
949         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
950         type of getpid in infcall.
951         * gdb.base/infcall-exec.exp: Cast return type of execlp in
952         infcall.
953         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
954         Bail on failure to extract the pid.
955         * gdb.base/nodebug.c: #include <stdint.h>.
956         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
957         New functions.
958         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
959         Change expected output of print/whatis/ptype with functions with
960         no debug info.  Test all supported languages.  Call
961         test_call_promotion.
962         * gdb.compile/compile.exp: Adjust expected output to expect
963         warning.
964         * gdb.threads/siginfo-threads.exp: Likewise.
965
966 2017-09-04  Pedro Alves  <palves@redhat.com>
967
968         * gdb.base/callfuncs.exp (do_function_calls): New parameter
969         "prototypes".  Test calling float functions via prototyped and
970         unprototyped function pointers.
971         (perform_all_tests): New parameter "prototypes".  Pass it down.
972         (top level): Pass down "prototypes" parameter to
973         perform_all_tests.
974
975 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
976
977         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
978         Test with nested loops.
979
980 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
981
982         * gdb.base/commands.exp: Call the new procedures.
983         (loop_break_test, loop_continue_test): New procedures.
984
985 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
986
987         * gdb.base/commands.exp: Call new procedure.
988         (define_if_without_arg_test): New procedure.
989
990 2017-09-04  Pedro Alves  <palves@redhat.com>
991
992         * gdb.base/list-ambiguous.exp: New file.
993         * gdb.base/list-ambiguous0.c: New file.
994         * gdb.base/list-ambiguous1.c: New file.
995         * gdb.base/list.exp (test_list_range): Adjust expected output.
996
997 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
998
999         * gdb.base/share-env-with-gdbserver.c: New file.
1000         * gdb.base/share-env-with-gdbserver.exp: Likewise.
1001
1002 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
1003
1004         * gdb.base/commands.exp (gdbvar_simple_if_test,
1005         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1006         progvar_simple_if_test, progvar_simple_while_test,
1007         progvar_complex_if_while_test, user_defined_command_test,
1008         user_defined_command_args_eval,
1009         user_defined_command_args_stack_test,
1010         user_defined_command_manyargs_test, bp_deleted_in_command_test,
1011         temporary_breakpoint_commands,
1012         gdb_test_no_prompt, redefine_hook_test,
1013         redefine_backtrace_test): Remove "global gdb_prompt".
1014
1015 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
1016
1017         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1018         New proc, call it from toplevel.
1019
1020 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
1021
1022         PR remote/21852
1023         * gdb.server/normal.c: New file, copied from gdb.base.
1024         * gdb.server/run-without-local-binary.exp: New file.
1025
1026 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
1027
1028         * gdb.arch/sparc64-adi.exp: New file.
1029         * gdb.arch/sparc64-adi.c: New file.
1030
1031 2017-08-22  Pedro Alves  <palves@redhat.com>
1032
1033         * gdb.cp/overload.exp (line_range_pattern): New procedure.
1034         (top level): Add "list all overloads" tests.
1035
1036 2017-08-22  Tom Tromey  <tom@tromey.com>
1037
1038         * gdb.gdb/xfullpath.exp: Remove.
1039
1040 2017-08-21  Pedro Alves  <palves@redhat.com>
1041
1042         PR gdb/19487
1043         * gdb.base/symbol-alias.c: New.
1044         * gdb.base/symbol-alias2.c: New.
1045         * gdb.base/symbol-alias.exp: New.
1046
1047 2017-08-21  Pedro Alves  <palves@redhat.com>
1048
1049         * gdb.base/dfp-test.c
1050         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1051         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1052         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1053         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1054         * gdb.base/whatis-ptype-typedefs.c: New.
1055         * gdb.base/whatis-ptype-typedefs.exp: New.
1056         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1057         (an_int, an_int_type, an_int_type2): New globals.
1058         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1059         involving typedefs and cast expressions.
1060         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1061         (lookup_typedefs_function): New.
1062         (typedefs_pretty_printers_dict): New.
1063         (top level): Register lookup_typedefs_function in
1064         gdb.pretty_printers.
1065
1066 2017-08-18  Yao Qi  <yao.qi@linaro.org>
1067
1068         * gdb.server/unittest.exp: New.
1069
1070 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1071
1072         PR gdb/21954
1073         * gdb.base/environ.exp: Add test to check if 'unset environment'
1074         works.
1075
1076 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1077
1078         * lib/gdb.exp (universal_compile_options): New caching proc.
1079         (gdb_compile): Suppress GCC's coloring of messages.
1080
1081 2017-08-14  Tom Tromey  <tom@tromey.com>
1082
1083         PR gdb/21675:
1084         * gdb.base/printcmds.exp (test_radices): New function.
1085         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1086         * gdb.base/sizeof.exp (check_valueof): Use p/d.
1087         * lib/gdb.exp (get_integer_valueof): Use p/d.
1088
1089 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
1090
1091         * lib/gdb.exp (get_valueof): Don't capture end-of-line
1092         characters.
1093
1094 2017-08-05  Tom Tromey  <tom@tromey.com>
1095
1096         * gdb.rust/simple.exp: Allow String to appear in a different
1097         namespace.
1098
1099 2017-07-26  Yao Qi  <yao.qi@linaro.org>
1100
1101         * gdb.gdb/unittest.exp: Invoke command
1102         "maintenance check xml-descriptions".
1103
1104 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1105
1106         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1107         calling context.
1108         (hex128): Drop erroneous calculation of parameters.
1109
1110 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
1111
1112         * gdb.python/py-unwind.exp: Disable stack protection when
1113         building test file.
1114
1115 2017-07-20  Pedro Alves  <palves@redhat.com>
1116
1117         * gdb.base/default.exp (set language): Adjust expected output.
1118
1119 2017-07-20  Pedro Alves  <palves@redhat.com>
1120
1121         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1122         (test_minsym): ... this, and make static.
1123         (get_pck__foo__bar__minsym): Rename to ...
1124         (get_test_minsym): ... this.
1125         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
1126         symbol names and comments.
1127         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1128         (get_test_minsym): ... this.
1129         (pck__foo__bar__minsym__2): Rename to ...
1130         (test_minsym): ... this.
1131         (main): Adjust.
1132
1133 2017-07-17  Pedro Alves  <palves@redhat.com>
1134
1135         * gdb.base/completion.exp: Adjust expected output.
1136         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1137         the completer works.
1138
1139 2017-07-17  Pedro Alves  <palves@redhat.com>
1140
1141         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1142
1143 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
1144
1145         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1146
1147 2017-07-14  Tom Tromey  <tom@tromey.com>
1148
1149         PR rust/21764:
1150         * gdb.rust/simple.exp: Add tests.
1151
1152 2017-07-14  Tom Tromey  <tom@tromey.com>
1153
1154         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1155
1156 2017-07-14  Pedro Alves  <palves@redhat.com>
1157
1158         * gdb.linespec/base/one/thefile.cc (z1): New function.
1159         * gdb.linespec/base/two/thefile.cc (z2): New function.
1160         * gdb.linespec/linespec.exp: Add tests.
1161
1162 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
1163
1164         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1165         to mi_create_breakpoint.
1166
1167 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
1168
1169         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1170         mi_create_breakpoint.
1171
1172 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
1173
1174         * gdb.dlang/demangle.exp: Update for demangling changes.
1175
1176 2017-07-09  Tom Tromey  <tom@tromey.com>
1177
1178         * gdb.dwarf2/shortpiece.exp: New file.
1179
1180 2017-07-06  David Blaikie  <dblaikie@gmail.com>
1181
1182         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1183         built from fissiont-multi-cu{1,2}.c.
1184         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1185         except putting 'main' and 'func' in separate CUs in the same DWO file.
1186         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1187         test.
1188         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1189         test.
1190
1191 2017-07-06  Pedro Alves  <palves@redhat.com>
1192
1193         * gdb.python/py-unwind.exp: Test flushregs.
1194
1195 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1196
1197         PR cli/21688
1198         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1199         tests for alias commands and trailing whitespace.
1200
1201 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1202
1203         PR cli/21688
1204         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1205         procedure.  Call it.
1206
1207 2017-06-29  Pedro Alves  <palves@redhat.com>
1208
1209         * gdb.base/printcmds.exp: Add tests.
1210
1211 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
1212
1213         PR gdb/21337
1214         * gdb.base/reread-readsym.exp: New file.
1215         * gdb.base/reread-readsym.c: New file.
1216
1217 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
1218
1219         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1220         subpattern.
1221
1222 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
1223
1224         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1225         extended mnemonic.
1226         * gdb.arch/powerpc-power9.s: Likewise.
1227
1228 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1229
1230         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1231         on 32-bit x86 targets.  Exploit is_*_target macros where
1232         appropriate.
1233
1234 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1235
1236         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1237         register pieces.
1238
1239 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1240
1241         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1242         located in one or more DWARF pieces.
1243
1244 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1245
1246         * lib/gdb.exp (get_endianness): New proc.
1247         * gdb.arch/aarch64-fp.exp: Use it.
1248         * gdb.arch/altivec-regs.exp: Likewise.
1249         * gdb.arch/e500-regs.exp: Likewise.
1250         * gdb.arch/vsx-regs.exp: Likewise.
1251         * gdb.base/dump.exp: Likewise.
1252         * gdb.base/funcargs.exp: Likewise.
1253         * gdb.base/gnu_vector.exp: Likewise.
1254         * gdb.dwarf2/formdata16.exp: Likewise.
1255         * gdb.dwarf2/implptrpiece.exp: Likewise.
1256         * gdb.dwarf2/nonvar-access.exp: Likewise.
1257         * gdb.python/py-inferior.exp: Likewise.
1258         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1259
1260 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1261
1262         PR gdb/21226
1263         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1264         stack value pieces are taken from the LSB end.
1265
1266 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1267
1268         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1269         variable at nonzero offset.
1270
1271 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1272
1273         * gdb.dwarf2/var-access.c: New file.
1274         * gdb.dwarf2/var-access.exp: New test.
1275         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1276
1277 2017-06-12  Tom Tromey  <tom@tromey.com>
1278
1279         * gdb.dwarf2/formdata16.exp: Add tests.
1280
1281 2017-06-12  Tom Tromey  <tom@tromey.com>
1282
1283         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1284
1285 2017-06-12  Tom Tromey  <tom@tromey.com>
1286
1287         PR exp/16225:
1288         * gdb.reverse/i386-sse-reverse.exp: Update tests.
1289         * gdb.arch/vsx-regs.exp: Update tests.
1290         * gdb.arch/s390-vregs.exp (hex128): New proc.
1291         Update test.
1292         * gdb.arch/altivec-regs.exp: Update tests.
1293
1294 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
1295
1296         * gdb.base/startup-with-shell.c: New file.
1297         * gdb.base/startup-with-shell.exp: Likewise.
1298
1299 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
1300
1301         * gdb.server/non-existing-program.exp: Update regex in order to
1302         reflect the fact that gdbserver is now using fork_inferior (with a
1303         shell) to startup the inferior.
1304
1305 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
1306
1307         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1308         support function calls from GDB.
1309
1310 2017-05-21  Tom Tromey  <tom@tromey.com>
1311
1312         PR rust/21466:
1313         * gdb.rust/unsized.exp: New file.
1314         * gdb.rust/unsized.rs: New file.
1315
1316 2017-05-19  Tom Tromey  <tom@tromey.com>
1317
1318         PR rust/21484:
1319         * gdb.rust/watch.exp: New file.
1320         * gdb.rust/watch.rs: New file.
1321
1322 2017-05-18  Tom Tromey  <tom@tromey.com>
1323
1324         * gdb.rust/simple.exp: Allow Box to be qualified.
1325
1326 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1327
1328         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1329
1330 2017-05-18  Pedro Alves  <palves@redhat.com>
1331
1332         * gdb.base/fileio.c (test_write, test_read, test_close)
1333         (test_fstat): Don't print 'ret' in the fail path.
1334
1335 2017-05-18  Pedro Alves  <palves@redhat.com>
1336
1337         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1338         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1339         (test_system, test_rename, test_unlink, test_time): Change
1340         prototypes.
1341         * gdb.base/fileio.exp (stop_msg): Adjust.
1342
1343 2017-05-18  Pedro Alves  <palves@redhat.com>
1344
1345         * gdb.base/fileio.c (null_str): New global.
1346         (test_stat): Use it.
1347         * gdb.base/fileio.exp: Remove nowarnings.
1348
1349 2017-05-17  Yao Qi  <yao.qi@linaro.org>
1350
1351         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1352
1353 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
1354
1355         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1356         argument command.
1357         (top-level): Invoke test_set_inferior_tty.
1358
1359 2017-05-04  Pedro Alves  <palves@redhat.com>
1360
1361         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1362         Add parens to print call for Python 3.
1363
1364 2017-05-03  Keith Seitz  <keiths@redhat.com>
1365
1366         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1367         (main): Call it.
1368
1369 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1370
1371         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1372         to prev and next.
1373
1374 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1375
1376         * gdb.python/py-record-btrace.exp: Remove test for
1377         gdb.BtraceInstruction.error.
1378
1379 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1380
1381         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1382
1383 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
1384
1385         * gdb.python/py-record-btrace-threads.c: New file.
1386         * gdb.python/py-record-btrace-threads.exp: New file.
1387
1388 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1389
1390         PR testsuite/8595
1391         * gdb.base/environ.exp: Make test available in all architectures.
1392         Move bits related to "info program" testing to
1393         gdb.base/info-program.exp.  Rewrite tests to use the two new
1394         procedures mentione below.
1395         (test_set_show_env_var) New procedure.
1396         (test_set_show_env_var_equal): Likewise.
1397         * gdb.base/info-program.exp: New file.
1398
1399 2017-04-27  Keith Seitz  <keiths@redhat.com>
1400
1401         * gdb.cp/oranking.cc (test15): New function.
1402         (main): Call test15 and declare additional variables for testing.
1403         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1404         "p foo101('abc')" tests.
1405         Add tests for cv qualifier overloads.
1406         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1407         "lvalue reference overload" test.
1408         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1409         "print value of f1 on Child&& in f2" test.
1410
1411 2017-04-19  Pedro Alves  <palves@redhat.com>
1412
1413         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1414         procedure.
1415         (top level): Call it.
1416         * lib/gdb.exp (gdb_define_cmd): New procedure.
1417
1418 2017-04-12  Pedro Alves  <palves@redhat.com>
1419
1420         PR gdb/21323
1421         * gdb.cp/wide_char_types.c: Include <wchar.h>.
1422         (wchar): New global.
1423         * gdb.cp/wide_char_types.exp (wide_char_types_program)
1424         (do_test_wide_char, wide_char_types_no_program, top level): Add
1425         wchar_t testing.
1426
1427 2017-04-12  Pedro Alves  <palves@redhat.com>
1428
1429         PR c++/21323
1430         * gdb.cp/wide_char_types.c: New file.
1431         * gdb.cp/wide_char_types.exp: New file.
1432
1433 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
1434
1435         PR gdb/21352
1436         * gdb.trace/tsv.exp: Add test for "tsave -r".
1437
1438 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
1439
1440         * gdb.dlang/watch-loc.c: New file.
1441         * gdb.dlang/watch-loc.exp: New file.
1442
1443 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1444
1445         * gdb.python/py-section-script.exp (sepdebug): New testcases.
1446
1447 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
1448
1449         * gdb.arch/arc-analyze-prologue.S: New file.
1450         * gdb.arch/arc-analyze-prologue.exp: Likewise.
1451
1452 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
1453
1454         * gdb.arch/arc-decode-insn.S: New file.
1455         * gdb.arch/arc-decode-insn.exp: Likewise.
1456
1457 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
1458
1459         PR tdep/20928
1460         * gdb.arch/sparc64-regs.exp: New file.
1461         * gdb.arch/sparc64-regs.S: Likewise.
1462
1463 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
1464
1465         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1466         and memory view on Python 3.
1467
1468 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
1469             Keith Seitz  <keiths@redhat.com>
1470
1471         PR gdb/14441
1472         * gdb.cp/demangle.exp: Add rvalue reference tests.
1473         * gdb.cp/rvalue-ref-casts.cc: New file.
1474         * gdb.cp/rvalue-ref-casts.exp: New file.
1475         * gdb.cp/rvalue-ref-overload.cc: New file.
1476         * gdb.cp/rvalue-ref-overload.exp: New file.
1477         * gdb.cp/rvalue-ref-params.cc: New file.
1478         * gdb.cp/rvalue-ref-params.exp: New file.
1479         * gdb.cp/rvalue-ref-sizeof.cc: New file.
1480         * gdb.cp/rvalue-ref-sizeof.exp: New file.
1481         * gdb.cp/rvalue-ref-types.cc: New file.
1482         * gdb.cp/rvalue-ref-types.exp: New file.
1483         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1484         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1485
1486 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
1487
1488         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1489         New procedure.
1490
1491 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
1492
1493         * lib/mi-support.exp (mi_gdb_test): Add additional message
1494         for unexpected output.
1495
1496 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1497
1498         * gdb.base/examine-backward.c (Barrier): New character array
1499         constant, to ensure that TestStrings is preceded by a string
1500         terminator.
1501
1502 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1503
1504         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1505         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1506         and implicit pointer into such a location.
1507
1508 2017-03-16  Doug Evans  <dje@google.com>
1509
1510         * gdb.python/py-lazy-string (pointer): Really add new typedef.
1511
1512 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1513
1514         * gdb.cp/m-static.exp: Fix expectation for prototype of
1515         test5.single_constructor and single_constructor::single_constructor.
1516
1517 2017-03-16  Doug Evans  <dje@google.com>
1518
1519         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1520         * gdb.guile/scm-lazy-string.c: New file.
1521         * gdb.guile/scm-value.exp: Move lazy string tests to ...
1522         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
1523         for pointer, array, typedef lazy strings.
1524
1525 2017-03-16  Doug Evans  <dje@google.com>
1526
1527         PR python/17728, python/18439, python/18779
1528         * gdb.python/py-value.c (main) Delete locals sptr, sn.
1529         * gdb.python/py-lazy-string.c (pointer): New typedef.
1530         (main): New locals ptr, array, typedef_ptr.
1531         * gdb.python/py-value.exp: Move lazy string tests to ...
1532         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
1533         array, typedef lazy strings.
1534
1535 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
1536
1537         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1538           Add optional 'test' parameter.
1539
1540 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
1541
1542         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1543         Skip for versions of DejaGnu < 1.5.
1544
1545 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
1546
1547         * lib/gdb.exp (dejagnu_version): New proc.
1548         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1549         Use dejagnu_version.
1550
1551 2017-03-10  Keith Seitz  <keiths@redhat.com>
1552
1553         PR c++/8128
1554         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1555         type from destructor regexps.
1556         Add a branch which actually passes the test.
1557         Adjust "ptype t5i" test names.
1558
1559 2017-03-08  Pedro Alves  <palves@redhat.com>
1560
1561         * gdb.base/step-over-exit.exp: Add explicit test message.
1562
1563 2017-03-08  Pedro Alves  <palves@redhat.com>
1564
1565         PR gdb/18360
1566         * gdb.threads/interrupt-while-step-over.c: New file.
1567         * gdb.threads/interrupt-while-step-over.exp: New file.
1568
1569 2017-03-08  Pedro Alves  <palves@redhat.com>
1570
1571         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1572         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1573
1574 2017-03-08  Pedro Alves  <palves@redhat.com>
1575
1576         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1577         PKRU as not supported as a PASS.
1578
1579 2017-03-08  Pedro Alves  <palves@redhat.com>
1580
1581         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1582         prefix instead of $binfile1/$binfile2.
1583         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1584         in test message.
1585         * gdb.python/py-completion.exp: Use "load python file" as test
1586         messages instead of unstable path names.
1587
1588 2017-03-08  Pedro Alves  <palves@redhat.com>
1589             Jan Kratochvil  <jan.kratochvil@redhat.com>
1590
1591         PR cli/21218
1592         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1593         New proc.
1594         (top level): Call it.
1595
1596 2017-03-08  Pedro Alves  <palves@redhat.com>
1597
1598         PR tui/21216
1599         * gdb.tui/tui-nl-filtered-output.exp: New file.
1600
1601 2017-03-08  Pedro Alves  <palves@redhat.com>
1602
1603         * gdb.base/completion.exp: Move TUI completion tests to ...
1604         * gdb.tui/completion.exp: ... this new file.
1605
1606 2017-03-08  Pedro Alves  <palves@redhat.com>
1607
1608         * gdb.base/tui-disasm-long-lines.c,
1609         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1610         gdb.base/tui-layout.exp: Move to ...
1611         * gdb.tui/: ... this new directory.
1612
1613 2017-03-07  Pedro Alves  <palves@redhat.com>
1614
1615         * gdb.base/tui-layout.c: New file.
1616         * gdb.base/tui-layout.exp: New file.
1617
1618 2017-03-07  Pedro Alves  <palves@redhat.com>
1619
1620         * gdb.base/tui-layout.c: Rename to ...
1621         * gdb.base/tui-disasm-long-lines.c: ... this.
1622         * gdb.base/tui-layout.exp: Rename to ...
1623         * gdb.base/tui-disasm-long-lines.exp: ... this.
1624
1625 2017-03-07  Pedro Alves  <palves@redhat.com>
1626
1627         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1628
1629 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1630
1631         * i386-mpx-call.c: New file.
1632         * i386-mpx-call.exp: New file.
1633
1634 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
1635
1636         * gdb.arch/powerpc-power.exp: Delete test.
1637         * gdb.arch/powerpc-power.s: Likewise.
1638         * gdb.disasm/disassembler-options.exp: New test.
1639         * gdb.arch/powerpc-altivec.exp: Likewise.
1640         * gdb.arch/powerpc-altivec.s: Likewise.
1641         * gdb.arch/powerpc-altivec2.exp: Likewise.
1642         * gdb.arch/powerpc-altivec2.s: Likewise.
1643         * gdb.arch/powerpc-altivec3.exp: Likewise.
1644         * gdb.arch/powerpc-altivec3.s: Likewise.
1645         * gdb.arch/powerpc-power7.exp: Likewise.
1646         * gdb.arch/powerpc-power7.s: Likewise.
1647         * gdb.arch/powerpc-power8.exp: Likewise.
1648         * gdb.arch/powerpc-power8.s: Likewise.
1649         * gdb.arch/powerpc-power9.exp: Likewise.
1650         * gdb.arch/powerpc-power9.s: Likewise.
1651         * gdb.arch/powerpc-vsx.exp: Likewise.
1652         * gdb.arch/powerpc-vsx.s: Likewise.
1653         * gdb.arch/powerpc-vsx2.exp: Likewise.
1654         * gdb.arch/powerpc-vsx2.s: Likewise.
1655         * gdb.arch/powerpc-vsx3.exp: Likewise.
1656         * gdb.arch/powerpc-vsx3.s: Likewise.
1657         * gdb.arch/arm-disassembler-options.exp: Likewise.
1658         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1659         * gdb.arch/s390-disassembler-options.exp: Likewise.
1660
1661 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
1662
1663         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
1664         (check_supported_features): ... this. Changed return type to void.
1665         (supports_rdseed): New static global.
1666         (rdseed): Check supports_rdseed.
1667         (initialize): Call check_supported_features.
1668
1669 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1670
1671         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1672         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
1673         and lqarx/stqcx.
1674         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1675         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1676
1677 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1678
1679         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
1680         uppercase.
1681
1682 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1683
1684         * gdb.dwarf2/formdata16.c: New file.
1685         * gdb.dwarf2/formdata16.exp: New file.
1686         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
1687
1688 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1689
1690         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
1691         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
1692         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
1693         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
1694         DW_AT_GNU_*.
1695
1696 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1697
1698         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1699
1700 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1701
1702         PR gdb/21164
1703         * gdb.base/maint.exp: Add testcases for when the commands do
1704         not have arguments.
1705
1706 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1707
1708         * gdb.cp/chained-calls.exp: Use p instead of P.
1709
1710 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
1711
1712         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
1713         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
1714
1715 2017-02-14  Tom Tromey  <tom@tromey.com>
1716
1717         PR python/13598:
1718         * gdb.python/py-events.exp: Add before_prompt event tests.
1719
1720 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1721
1722         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
1723
1724 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
1725
1726         * gdb.linespec/explicit.c (my_unique_function_name): New function.
1727         (main): Call my_unique_function_name.
1728         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
1729         completion of patterns with a single match.
1730         Add missing -re switches to gdb_test_multiple calls.
1731
1732 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
1733
1734         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
1735         return if core file is not recognized.
1736
1737 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
1738
1739         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
1740         and extra UIs.
1741
1742 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
1743
1744         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
1745         proc_with_prefix.
1746
1747 2017-02-10  Tom Tromey  <tom@tromey.com>
1748
1749         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
1750
1751 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
1752
1753         PR gdb/21122
1754         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
1755
1756 2017-02-08  Jerome Guitton  <guitton@adacore.com>
1757
1758         * gdb.base/define.exp: Add test for command abbreviations
1759         in define.
1760
1761 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
1762
1763         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1764         * gdb.reverse/insn-reverse-x86.c: New file.
1765
1766 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
1767
1768         PR tdep/20936
1769         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1770
1771 2017-02-03  Tom Tromey  <tom@tromey.com>
1772
1773         PR rust/21097:
1774         * gdb.rust/simple.exp: Add new tests.
1775
1776 2017-02-02  Pedro Alves  <palves@redhat.com>
1777
1778         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1779         tests.
1780
1781 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1782
1783         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1784         taking a 2-byte value out of a 4-byte DWARF implicit value on
1785         big-endian targets.
1786         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1787         logic.  Add test cases for DW_OP_implicit.
1788
1789 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
1790
1791         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1792
1793 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
1794
1795         * gdb.btrace/enable.exp: Call gdb_exit before
1796         skip_gdbserver_tests.
1797
1798 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
1799
1800         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1801         GDBFLAGS.
1802
1803 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
1804
1805         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1806         the test is skipped.
1807         * gdb.btrace/data.exp: Likewise.
1808         * gdb.btrace/delta.exp: Likewise.
1809         * gdb.btrace/dlopen.exp: Likewise.
1810         * gdb.btrace/enable-running.exp: Likewise.
1811         * gdb.btrace/enable.exp: Likewise.
1812         * gdb.btrace/exception.exp: Likewise.
1813         * gdb.btrace/function_call_history.exp: Likewise.
1814         * gdb.btrace/gcore.exp: Likewise.
1815         * gdb.btrace/instruction_history.exp: Likewise.
1816         * gdb.btrace/multi-thread-step.exp: Likewise.
1817         * gdb.btrace/nohist.exp: Likewise.
1818         * gdb.btrace/non-stop.exp: Likewise.
1819         * gdb.btrace/reconnect.exp: Likewise.
1820         * gdb.btrace/record_goto-step.exp: Likewise.
1821         * gdb.btrace/record_goto.exp: Likewise.
1822         * gdb.btrace/rn-dl-bind.exp: Likewise.
1823         * gdb.btrace/segv.exp: Likewise.
1824         * gdb.btrace/step.exp: Likewise.
1825         * gdb.btrace/stepi.exp: Likewise.
1826         * gdb.btrace/tailcall-only.exp: Likewise.
1827         * gdb.btrace/tailcall.exp: Likewise.
1828         * gdb.btrace/tsx.exp: Likewise.
1829         * gdb.btrace/unknown_functions.exp: Likewise.
1830         * gdb.btrace/vdso.exp: Likewise.
1831
1832 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
1833
1834         * gdb.btrace/enable-running.c: New.
1835         * gdb.btrace/enable-running.exp: New.
1836
1837 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1838
1839         * gdb.arch/amd64-gs_base.c: New file.
1840         * gdb.arch/amd64-gs_base.exp: New file.
1841
1842 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
1843
1844         * lib/memory.exp: Remove spurious empty newlines.
1845
1846 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
1847
1848         * gdb.python/py-bad-printers.exp: Load python file using "source".
1849         * gdb.python/py-events.exp: Likewise.
1850         * gdb.python/py-evsignal.exp: Likewise.
1851         * gdb.python/py-evthreads.exp: Likewise.
1852         * gdb.python/py-frame-args.exp: Likewise.
1853         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
1854         * gdb.python/py-framefilter-mi.exp: Likewise.
1855         * gdb.python/py-framefilter.exp: Likewise.
1856         * gdb.python/py-mi.exp: Likewise.
1857         * gdb.python/py-pp-maint.exp: Likewise.
1858         * gdb.python/py-pp-registration.exp: Likewise.
1859         * gdb.python/py-prettyprint.exp: Likewise.
1860         (run_lang_tests): Likewise.
1861         * gdb.python/py-typeprint.exp: Likewise.
1862
1863 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
1864
1865         * lib/memory.exp: New file.
1866         * lib/gdb.exp: Load memory.exp.
1867         * gdb.base/memattr.exp (delete_memory): Move proc to
1868         lib/memory.exp and rename to delete_memory_regions.
1869         Replace delete_memory with delete_memory_regions.
1870         Cleanup memory regions before tests.
1871         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
1872         before tests.
1873
1874 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
1875
1876         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
1877         files.
1878         (initialize): New function conditionally defined.
1879         (testcases): Move within conditional block.
1880         (main): Call initialize.
1881         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
1882         of gdb.reverse/insn-reverse.c.
1883         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
1884         gdb.reverse/insn-reverse.c.
1885
1886 2017-01-26  Yao Qi  <yao.qi@linaro.org>
1887
1888         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
1889         disassemble on address 0.
1890
1891 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1892             Yao Qi  <yao.qi@linaro.org>
1893
1894         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
1895         * gdb.dwarf2/implptr-64bit.S: Remove.
1896         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
1897         variables in caller's context.  Add DW_OP_implicit_value.
1898
1899 2017-01-25  Yao Qi  <yao.qi@linaro.org>
1900
1901         * lib/dwarf.exp (Dwarf::_location): Handle
1902         DW_OP_GNU_implicit_pointer with proper size.
1903
1904 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
1905
1906         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
1907         and add untested calls.
1908
1909 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
1910
1911         * gdb.python/python.exp: Check line number against what GDB thinks
1912         the line number is for func1.
1913
1914 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1915
1916         * gdb.dlang/debug-expr.exp: New file.
1917
1918 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
1919
1920         Fix test names for the following files:
1921
1922         * gdb.ada/exec_changed.exp
1923         * gdb.ada/info_types.exp
1924         * gdb.arch/aarch64-atomic-inst.exp
1925         * gdb.arch/aarch64-fp.exp
1926         * gdb.arch/altivec-abi.exp
1927         * gdb.arch/altivec-regs.exp
1928         * gdb.arch/amd64-byte.exp
1929         * gdb.arch/amd64-disp-step.exp
1930         * gdb.arch/amd64-dword.exp
1931         * gdb.arch/amd64-entry-value-inline.exp
1932         * gdb.arch/amd64-entry-value-param.exp
1933         * gdb.arch/amd64-entry-value-paramref.exp
1934         * gdb.arch/amd64-entry-value.exp
1935         * gdb.arch/amd64-i386-address.exp
1936         * gdb.arch/amd64-invalid-stack-middle.exp
1937         * gdb.arch/amd64-invalid-stack-top.exp
1938         * gdb.arch/amd64-optimout-repeat.exp
1939         * gdb.arch/amd64-prologue-skip.exp
1940         * gdb.arch/amd64-prologue-xmm.exp
1941         * gdb.arch/amd64-stap-special-operands.exp
1942         * gdb.arch/amd64-stap-wrong-subexp.exp
1943         * gdb.arch/amd64-tailcall-cxx.exp
1944         * gdb.arch/amd64-tailcall-noret.exp
1945         * gdb.arch/amd64-tailcall-ret.exp
1946         * gdb.arch/amd64-tailcall-self.exp
1947         * gdb.arch/amd64-word.exp
1948         * gdb.arch/arm-bl-branch-dest.exp
1949         * gdb.arch/arm-disp-step.exp
1950         * gdb.arch/arm-neon.exp
1951         * gdb.arch/arm-single-step-kernel-helper.exp
1952         * gdb.arch/avr-flash-qualifier.exp
1953         * gdb.arch/disp-step-insn-reloc.exp
1954         * gdb.arch/e500-abi.exp
1955         * gdb.arch/e500-regs.exp
1956         * gdb.arch/ftrace-insn-reloc.exp
1957         * gdb.arch/i386-avx512.exp
1958         * gdb.arch/i386-bp_permanent.exp
1959         * gdb.arch/i386-byte.exp
1960         * gdb.arch/i386-cfi-notcurrent.exp
1961         * gdb.arch/i386-disp-step.exp
1962         * gdb.arch/i386-dr3-watch.exp
1963         * gdb.arch/i386-float.exp
1964         * gdb.arch/i386-gnu-cfi.exp
1965         * gdb.arch/i386-mpx-map.exp
1966         * gdb.arch/i386-mpx-sigsegv.exp
1967         * gdb.arch/i386-mpx-simple_segv.exp
1968         * gdb.arch/i386-mpx.exp
1969         * gdb.arch/i386-permbkpt.exp
1970         * gdb.arch/i386-prologue.exp
1971         * gdb.arch/i386-signal.exp
1972         * gdb.arch/i386-size-overlap.exp
1973         * gdb.arch/i386-unwind.exp
1974         * gdb.arch/i386-word.exp
1975         * gdb.arch/mips-fcr.exp
1976         * gdb.arch/powerpc-d128-regs.exp
1977         * gdb.arch/powerpc-stackless.exp
1978         * gdb.arch/ppc64-atomic-inst.exp
1979         * gdb.arch/s390-stackless.exp
1980         * gdb.arch/s390-tdbregs.exp
1981         * gdb.arch/s390-vregs.exp
1982         * gdb.arch/sparc-sysstep.exp
1983         * gdb.arch/thumb-bx-pc.exp
1984         * gdb.arch/thumb-singlestep.exp
1985         * gdb.arch/thumb2-it.exp
1986         * gdb.arch/vsx-regs.exp
1987         * gdb.asm/asm-source.exp
1988         * gdb.base/a2-run.exp
1989         * gdb.base/advance.exp
1990         * gdb.base/all-bin.exp
1991         * gdb.base/anon.exp
1992         * gdb.base/args.exp
1993         * gdb.base/arithmet.exp
1994         * gdb.base/async-shell.exp
1995         * gdb.base/async.exp
1996         * gdb.base/attach-pie-noexec.exp
1997         * gdb.base/attach-twice.exp
1998         * gdb.base/auto-load.exp
1999         * gdb.base/bang.exp
2000         * gdb.base/bitfields.exp
2001         * gdb.base/break-always.exp
2002         * gdb.base/break-caller-line.exp
2003         * gdb.base/break-entry.exp
2004         * gdb.base/break-inline.exp
2005         * gdb.base/break-on-linker-gcd-function.exp
2006         * gdb.base/break-probes.exp
2007         * gdb.base/break.exp
2008         * gdb.base/breakpoint-shadow.exp
2009         * gdb.base/call-ar-st.exp
2010         * gdb.base/call-sc.exp
2011         * gdb.base/call-signal-resume.exp
2012         * gdb.base/call-strs.exp
2013         * gdb.base/callfuncs.exp
2014         * gdb.base/catch-fork-static.exp
2015         * gdb.base/catch-gdb-caused-signals.exp
2016         * gdb.base/catch-load.exp
2017         * gdb.base/catch-signal-fork.exp
2018         * gdb.base/catch-signal.exp
2019         * gdb.base/catch-syscall.exp
2020         * gdb.base/charset.exp
2021         * gdb.base/checkpoint.exp
2022         * gdb.base/chng-syms.exp
2023         * gdb.base/code-expr.exp
2024         * gdb.base/code_elim.exp
2025         * gdb.base/commands.exp
2026         * gdb.base/completion.exp
2027         * gdb.base/complex.exp
2028         * gdb.base/cond-expr.exp
2029         * gdb.base/condbreak.exp
2030         * gdb.base/consecutive.exp
2031         * gdb.base/continue-all-already-running.exp
2032         * gdb.base/coredump-filter.exp
2033         * gdb.base/corefile.exp
2034         * gdb.base/dbx.exp
2035         * gdb.base/debug-expr.exp
2036         * gdb.base/define.exp
2037         * gdb.base/del.exp
2038         * gdb.base/disabled-location.exp
2039         * gdb.base/disasm-end-cu.exp
2040         * gdb.base/disasm-optim.exp
2041         * gdb.base/display.exp
2042         * gdb.base/duplicate-bp.exp
2043         * gdb.base/ena-dis-br.exp
2044         * gdb.base/ending-run.exp
2045         * gdb.base/enumval.exp
2046         * gdb.base/environ.exp
2047         * gdb.base/eu-strip-infcall.exp
2048         * gdb.base/eval-avoid-side-effects.exp
2049         * gdb.base/eval-skip.exp
2050         * gdb.base/exitsignal.exp
2051         * gdb.base/expand-psymtabs.exp
2052         * gdb.base/filesym.exp
2053         * gdb.base/find-unmapped.exp
2054         * gdb.base/finish.exp
2055         * gdb.base/float.exp
2056         * gdb.base/foll-exec-mode.exp
2057         * gdb.base/foll-exec.exp
2058         * gdb.base/foll-fork.exp
2059         * gdb.base/fortran-sym-case.exp
2060         * gdb.base/freebpcmd.exp
2061         * gdb.base/func-ptr.exp
2062         * gdb.base/func-ptrs.exp
2063         * gdb.base/funcargs.exp
2064         * gdb.base/gcore-buffer-overflow.exp
2065         * gdb.base/gcore-relro-pie.exp
2066         * gdb.base/gcore-relro.exp
2067         * gdb.base/gcore.exp
2068         * gdb.base/gdb1090.exp
2069         * gdb.base/gdb11530.exp
2070         * gdb.base/gdb11531.exp
2071         * gdb.base/gdb1821.exp
2072         * gdb.base/gdbindex-stabs.exp
2073         * gdb.base/gdbvars.exp
2074         * gdb.base/hbreak.exp
2075         * gdb.base/hbreak2.exp
2076         * gdb.base/included.exp
2077         * gdb.base/infcall-input.exp
2078         * gdb.base/inferior-died.exp
2079         * gdb.base/infnan.exp
2080         * gdb.base/info-macros.exp
2081         * gdb.base/info-os.exp
2082         * gdb.base/info-proc.exp
2083         * gdb.base/info-shared.exp
2084         * gdb.base/info-target.exp
2085         * gdb.base/infoline.exp
2086         * gdb.base/interp.exp
2087         * gdb.base/interrupt.exp
2088         * gdb.base/jit-reader.exp
2089         * gdb.base/jit-simple.exp
2090         * gdb.base/kill-after-signal.exp
2091         * gdb.base/kill-detach-inferiors-cmd.exp
2092         * gdb.base/label.exp
2093         * gdb.base/langs.exp
2094         * gdb.base/ldbl_e308.exp
2095         * gdb.base/line-symtabs.exp
2096         * gdb.base/linespecs.exp
2097         * gdb.base/list.exp
2098         * gdb.base/long_long.exp
2099         * gdb.base/longest-types.exp
2100         * gdb.base/maint.exp
2101         * gdb.base/max-value-size.exp
2102         * gdb.base/memattr.exp
2103         * gdb.base/mips_pro.exp
2104         * gdb.base/morestack.exp
2105         * gdb.base/moribund-step.exp
2106         * gdb.base/multi-forks.exp
2107         * gdb.base/nested-addr.exp
2108         * gdb.base/nextoverexit.exp
2109         * gdb.base/noreturn-finish.exp
2110         * gdb.base/noreturn-return.exp
2111         * gdb.base/nostdlib.exp
2112         * gdb.base/offsets.exp
2113         * gdb.base/opaque.exp
2114         * gdb.base/pc-fp.exp
2115         * gdb.base/permissions.exp
2116         * gdb.base/print-symbol-loading.exp
2117         * gdb.base/prologue-include.exp
2118         * gdb.base/psymtab.exp
2119         * gdb.base/ptype.exp
2120         * gdb.base/random-signal.exp
2121         * gdb.base/randomize.exp
2122         * gdb.base/range-stepping.exp
2123         * gdb.base/readline-ask.exp
2124         * gdb.base/recpar.exp
2125         * gdb.base/recurse.exp
2126         * gdb.base/relational.exp
2127         * gdb.base/restore.exp
2128         * gdb.base/return-nodebug.exp
2129         * gdb.base/return.exp
2130         * gdb.base/run-after-attach.exp
2131         * gdb.base/save-bp.exp
2132         * gdb.base/scope.exp
2133         * gdb.base/sect-cmd.exp
2134         * gdb.base/set-lang-auto.exp
2135         * gdb.base/set-noassign.exp
2136         * gdb.base/setvar.exp
2137         * gdb.base/sigall.exp
2138         * gdb.base/sigbpt.exp
2139         * gdb.base/siginfo-addr.exp
2140         * gdb.base/siginfo-infcall.exp
2141         * gdb.base/siginfo-obj.exp
2142         * gdb.base/siginfo.exp
2143         * gdb.base/signals-state-child.exp
2144         * gdb.base/signest.exp
2145         * gdb.base/sigstep.exp
2146         * gdb.base/sizeof.exp
2147         * gdb.base/skip.exp
2148         * gdb.base/solib-corrupted.exp
2149         * gdb.base/solib-nodir.exp
2150         * gdb.base/solib-search.exp
2151         * gdb.base/stack-checking.exp
2152         * gdb.base/stale-infcall.exp
2153         * gdb.base/stap-probe.exp
2154         * gdb.base/start.exp
2155         * gdb.base/step-break.exp
2156         * gdb.base/step-bt.exp
2157         * gdb.base/step-line.exp
2158         * gdb.base/step-over-exit.exp
2159         * gdb.base/step-over-syscall.exp
2160         * gdb.base/step-resume-infcall.exp
2161         * gdb.base/step-test.exp
2162         * gdb.base/store.exp
2163         * gdb.base/structs3.exp
2164         * gdb.base/sym-file.exp
2165         * gdb.base/symbol-without-target_section.exp
2166         * gdb.base/term.exp
2167         * gdb.base/testenv.exp
2168         * gdb.base/ui-redirect.exp
2169         * gdb.base/until.exp
2170         * gdb.base/unwindonsignal.exp
2171         * gdb.base/value-double-free.exp
2172         * gdb.base/vla-datatypes.exp
2173         * gdb.base/vla-ptr.exp
2174         * gdb.base/vla-sideeffect.exp
2175         * gdb.base/volatile.exp
2176         * gdb.base/watch-cond-infcall.exp
2177         * gdb.base/watch-cond.exp
2178         * gdb.base/watch-non-mem.exp
2179         * gdb.base/watch-read.exp
2180         * gdb.base/watch-vfork.exp
2181         * gdb.base/watchpoint-cond-gone.exp
2182         * gdb.base/watchpoint-delete.exp
2183         * gdb.base/watchpoint-hw-hit-once.exp
2184         * gdb.base/watchpoint-hw.exp
2185         * gdb.base/watchpoint-stops-at-right-insn.exp
2186         * gdb.base/watchpoints.exp
2187         * gdb.base/wchar.exp
2188         * gdb.base/whatis-exp.exp
2189         * gdb.btrace/buffer-size.exp
2190         * gdb.btrace/data.exp
2191         * gdb.btrace/delta.exp
2192         * gdb.btrace/dlopen.exp
2193         * gdb.btrace/enable.exp
2194         * gdb.btrace/exception.exp
2195         * gdb.btrace/function_call_history.exp
2196         * gdb.btrace/gcore.exp
2197         * gdb.btrace/instruction_history.exp
2198         * gdb.btrace/nohist.exp
2199         * gdb.btrace/reconnect.exp
2200         * gdb.btrace/record_goto-step.exp
2201         * gdb.btrace/record_goto.exp
2202         * gdb.btrace/rn-dl-bind.exp
2203         * gdb.btrace/segv.exp
2204         * gdb.btrace/step.exp
2205         * gdb.btrace/stepi.exp
2206         * gdb.btrace/tailcall-only.exp
2207         * gdb.btrace/tailcall.exp
2208         * gdb.btrace/tsx.exp
2209         * gdb.btrace/unknown_functions.exp
2210         * gdb.btrace/vdso.exp
2211         * gdb.compile/compile-ifunc.exp
2212         * gdb.compile/compile-ops.exp
2213         * gdb.compile/compile-print.exp
2214         * gdb.compile/compile-setjmp.exp
2215         * gdb.cp/abstract-origin.exp
2216         * gdb.cp/ambiguous.exp
2217         * gdb.cp/annota2.exp
2218         * gdb.cp/annota3.exp
2219         * gdb.cp/anon-ns.exp
2220         * gdb.cp/anon-struct.exp
2221         * gdb.cp/anon-union.exp
2222         * gdb.cp/arg-reference.exp
2223         * gdb.cp/baseenum.exp
2224         * gdb.cp/bool.exp
2225         * gdb.cp/breakpoint.exp
2226         * gdb.cp/bs15503.exp
2227         * gdb.cp/call-c.exp
2228         * gdb.cp/casts.exp
2229         * gdb.cp/chained-calls.exp
2230         * gdb.cp/class2.exp
2231         * gdb.cp/classes.exp
2232         * gdb.cp/cmpd-minsyms.exp
2233         * gdb.cp/converts.exp
2234         * gdb.cp/cp-relocate.exp
2235         * gdb.cp/cpcompletion.exp
2236         * gdb.cp/cpexprs.exp
2237         * gdb.cp/cplabel.exp
2238         * gdb.cp/cplusfuncs.exp
2239         * gdb.cp/cpsizeof.exp
2240         * gdb.cp/ctti.exp
2241         * gdb.cp/derivation.exp
2242         * gdb.cp/destrprint.exp
2243         * gdb.cp/dispcxx.exp
2244         * gdb.cp/enum-class.exp
2245         * gdb.cp/exception.exp
2246         * gdb.cp/exceptprint.exp
2247         * gdb.cp/expand-psymtabs-cxx.exp
2248         * gdb.cp/expand-sals.exp
2249         * gdb.cp/extern-c.exp
2250         * gdb.cp/filename.exp
2251         * gdb.cp/formatted-ref.exp
2252         * gdb.cp/fpointer.exp
2253         * gdb.cp/gdb1355.exp
2254         * gdb.cp/gdb2495.exp
2255         * gdb.cp/hang.exp
2256         * gdb.cp/impl-this.exp
2257         * gdb.cp/infcall-dlopen.exp
2258         * gdb.cp/inherit.exp
2259         * gdb.cp/iostream.exp
2260         * gdb.cp/koenig.exp
2261         * gdb.cp/local.exp
2262         * gdb.cp/m-data.exp
2263         * gdb.cp/m-static.exp
2264         * gdb.cp/mb-ctor.exp
2265         * gdb.cp/mb-inline.exp
2266         * gdb.cp/mb-templates.exp
2267         * gdb.cp/member-name.exp
2268         * gdb.cp/member-ptr.exp
2269         * gdb.cp/meth-typedefs.exp
2270         * gdb.cp/method.exp
2271         * gdb.cp/method2.exp
2272         * gdb.cp/minsym-fallback.exp
2273         * gdb.cp/misc.exp
2274         * gdb.cp/namelessclass.exp
2275         * gdb.cp/namespace-enum.exp
2276         * gdb.cp/namespace-nested-import.exp
2277         * gdb.cp/namespace.exp
2278         * gdb.cp/nextoverthrow.exp
2279         * gdb.cp/no-dmgl-verbose.exp
2280         * gdb.cp/non-trivial-retval.exp
2281         * gdb.cp/noparam.exp
2282         * gdb.cp/nsdecl.exp
2283         * gdb.cp/nsimport.exp
2284         * gdb.cp/nsnested.exp
2285         * gdb.cp/nsnoimports.exp
2286         * gdb.cp/nsrecurs.exp
2287         * gdb.cp/nsstress.exp
2288         * gdb.cp/nsusing.exp
2289         * gdb.cp/operator.exp
2290         * gdb.cp/oranking.exp
2291         * gdb.cp/overload-const.exp
2292         * gdb.cp/overload.exp
2293         * gdb.cp/ovldbreak.exp
2294         * gdb.cp/ovsrch.exp
2295         * gdb.cp/paren-type.exp
2296         * gdb.cp/parse-lang.exp
2297         * gdb.cp/pass-by-ref.exp
2298         * gdb.cp/pr-1023.exp
2299         * gdb.cp/pr-1210.exp
2300         * gdb.cp/pr-574.exp
2301         * gdb.cp/pr10687.exp
2302         * gdb.cp/pr12028.exp
2303         * gdb.cp/pr17132.exp
2304         * gdb.cp/pr17494.exp
2305         * gdb.cp/pr9067.exp
2306         * gdb.cp/pr9167.exp
2307         * gdb.cp/pr9631.exp
2308         * gdb.cp/printmethod.exp
2309         * gdb.cp/psmang.exp
2310         * gdb.cp/psymtab-parameter.exp
2311         * gdb.cp/ptype-cv-cp.exp
2312         * gdb.cp/ptype-flags.exp
2313         * gdb.cp/re-set-overloaded.exp
2314         * gdb.cp/ref-types.exp
2315         * gdb.cp/rtti.exp
2316         * gdb.cp/scope-err.exp
2317         * gdb.cp/shadow.exp
2318         * gdb.cp/smartp.exp
2319         * gdb.cp/static-method.exp
2320         * gdb.cp/static-print-quit.exp
2321         * gdb.cp/temargs.exp
2322         * gdb.cp/templates.exp
2323         * gdb.cp/try_catch.exp
2324         * gdb.cp/typedef-operator.exp
2325         * gdb.cp/typeid.exp
2326         * gdb.cp/userdef.exp
2327         * gdb.cp/using-crash.exp
2328         * gdb.cp/var-tag.exp
2329         * gdb.cp/virtbase.exp
2330         * gdb.cp/virtfunc.exp
2331         * gdb.cp/virtfunc2.exp
2332         * gdb.cp/vla-cxx.exp
2333         * gdb.disasm/t01_mov.exp
2334         * gdb.disasm/t02_mova.exp
2335         * gdb.disasm/t03_add.exp
2336         * gdb.disasm/t04_sub.exp
2337         * gdb.disasm/t05_cmp.exp
2338         * gdb.disasm/t06_ari2.exp
2339         * gdb.disasm/t07_ari3.exp
2340         * gdb.disasm/t08_or.exp
2341         * gdb.disasm/t09_xor.exp
2342         * gdb.disasm/t10_and.exp
2343         * gdb.disasm/t11_logs.exp
2344         * gdb.disasm/t12_bit.exp
2345         * gdb.disasm/t13_otr.exp
2346         * gdb.dlang/circular.exp
2347         * gdb.dwarf2/arr-stride.exp
2348         * gdb.dwarf2/arr-subrange.exp
2349         * gdb.dwarf2/atomic-type.exp
2350         * gdb.dwarf2/bad-regnum.exp
2351         * gdb.dwarf2/bitfield-parent-optimized-out.exp
2352         * gdb.dwarf2/callframecfa.exp
2353         * gdb.dwarf2/clztest.exp
2354         * gdb.dwarf2/corrupt.exp
2355         * gdb.dwarf2/data-loc.exp
2356         * gdb.dwarf2/dup-psym.exp
2357         * gdb.dwarf2/dw2-anon-mptr.exp
2358         * gdb.dwarf2/dw2-anonymous-func.exp
2359         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2360         * gdb.dwarf2/dw2-bad-unresolved.exp
2361         * gdb.dwarf2/dw2-basic.exp
2362         * gdb.dwarf2/dw2-canonicalize-type.exp
2363         * gdb.dwarf2/dw2-case-insensitive.exp
2364         * gdb.dwarf2/dw2-common-block.exp
2365         * gdb.dwarf2/dw2-compdir-oldgcc.exp
2366         * gdb.dwarf2/dw2-compressed.exp
2367         * gdb.dwarf2/dw2-const.exp
2368         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2369         * gdb.dwarf2/dw2-cu-size.exp
2370         * gdb.dwarf2/dw2-dup-frame.exp
2371         * gdb.dwarf2/dw2-entry-value.exp
2372         * gdb.dwarf2/dw2-icycle.exp
2373         * gdb.dwarf2/dw2-ifort-parameter.exp
2374         * gdb.dwarf2/dw2-inline-break.exp
2375         * gdb.dwarf2/dw2-inline-param.exp
2376         * gdb.dwarf2/dw2-intercu.exp
2377         * gdb.dwarf2/dw2-intermix.exp
2378         * gdb.dwarf2/dw2-lexical-block-bare.exp
2379         * gdb.dwarf2/dw2-linkage-name-trust.exp
2380         * gdb.dwarf2/dw2-minsym-in-cu.exp
2381         * gdb.dwarf2/dw2-noloc.exp
2382         * gdb.dwarf2/dw2-op-call.exp
2383         * gdb.dwarf2/dw2-op-out-param.exp
2384         * gdb.dwarf2/dw2-opt-structptr.exp
2385         * gdb.dwarf2/dw2-param-error.exp
2386         * gdb.dwarf2/dw2-producer.exp
2387         * gdb.dwarf2/dw2-ranges-base.exp
2388         * gdb.dwarf2/dw2-ref-missing-frame.exp
2389         * gdb.dwarf2/dw2-reg-undefined.exp
2390         * gdb.dwarf2/dw2-regno-invalid.exp
2391         * gdb.dwarf2/dw2-restore.exp
2392         * gdb.dwarf2/dw2-restrict.exp
2393         * gdb.dwarf2/dw2-single-line-discriminators.exp
2394         * gdb.dwarf2/dw2-strp.exp
2395         * gdb.dwarf2/dw2-undefined-ret-addr.exp
2396         * gdb.dwarf2/dw2-unresolved.exp
2397         * gdb.dwarf2/dw2-var-zero-addr.exp
2398         * gdb.dwarf2/dw4-sig-types.exp
2399         * gdb.dwarf2/dwz.exp
2400         * gdb.dwarf2/dynarr-ptr.exp
2401         * gdb.dwarf2/enum-type.exp
2402         * gdb.dwarf2/gdb-index.exp
2403         * gdb.dwarf2/implptr-64bit.exp
2404         * gdb.dwarf2/implptr-optimized-out.exp
2405         * gdb.dwarf2/implptr.exp
2406         * gdb.dwarf2/implref-array.exp
2407         * gdb.dwarf2/implref-const.exp
2408         * gdb.dwarf2/implref-global.exp
2409         * gdb.dwarf2/implref-struct.exp
2410         * gdb.dwarf2/mac-fileno.exp
2411         * gdb.dwarf2/main-subprogram.exp
2412         * gdb.dwarf2/member-ptr-forwardref.exp
2413         * gdb.dwarf2/method-ptr.exp
2414         * gdb.dwarf2/missing-sig-type.exp
2415         * gdb.dwarf2/nonvar-access.exp
2416         * gdb.dwarf2/opaque-type-lookup.exp
2417         * gdb.dwarf2/pieces-optimized-out.exp
2418         * gdb.dwarf2/pieces.exp
2419         * gdb.dwarf2/pr10770.exp
2420         * gdb.dwarf2/pr13961.exp
2421         * gdb.dwarf2/staticvirtual.exp
2422         * gdb.dwarf2/subrange.exp
2423         * gdb.dwarf2/symtab-producer.exp
2424         * gdb.dwarf2/trace-crash.exp
2425         * gdb.dwarf2/typeddwarf.exp
2426         * gdb.dwarf2/valop.exp
2427         * gdb.dwarf2/watch-notconst.exp
2428         * gdb.fortran/array-element.exp
2429         * gdb.fortran/charset.exp
2430         * gdb.fortran/common-block.exp
2431         * gdb.fortran/complex.exp
2432         * gdb.fortran/derived-type-function.exp
2433         * gdb.fortran/derived-type.exp
2434         * gdb.fortran/logical.exp
2435         * gdb.fortran/module.exp
2436         * gdb.fortran/multi-dim.exp
2437         * gdb.fortran/nested-funcs.exp
2438         * gdb.fortran/print-formatted.exp
2439         * gdb.fortran/subarray.exp
2440         * gdb.fortran/vla-alloc-assoc.exp
2441         * gdb.fortran/vla-datatypes.exp
2442         * gdb.fortran/vla-history.exp
2443         * gdb.fortran/vla-ptr-info.exp
2444         * gdb.fortran/vla-ptype-sub.exp
2445         * gdb.fortran/vla-ptype.exp
2446         * gdb.fortran/vla-sizeof.exp
2447         * gdb.fortran/vla-type.exp
2448         * gdb.fortran/vla-value-sub-arbitrary.exp
2449         * gdb.fortran/vla-value-sub-finish.exp
2450         * gdb.fortran/vla-value-sub.exp
2451         * gdb.fortran/vla-value.exp
2452         * gdb.fortran/whatis_type.exp
2453         * gdb.go/chan.exp
2454         * gdb.go/handcall.exp
2455         * gdb.go/hello.exp
2456         * gdb.go/integers.exp
2457         * gdb.go/methods.exp
2458         * gdb.go/package.exp
2459         * gdb.go/strings.exp
2460         * gdb.go/types.exp
2461         * gdb.go/unsafe.exp
2462         * gdb.guile/scm-arch.exp
2463         * gdb.guile/scm-block.exp
2464         * gdb.guile/scm-breakpoint.exp
2465         * gdb.guile/scm-cmd.exp
2466         * gdb.guile/scm-disasm.exp
2467         * gdb.guile/scm-equal.exp
2468         * gdb.guile/scm-frame-args.exp
2469         * gdb.guile/scm-frame-inline.exp
2470         * gdb.guile/scm-frame.exp
2471         * gdb.guile/scm-iterator.exp
2472         * gdb.guile/scm-math.exp
2473         * gdb.guile/scm-objfile.exp
2474         * gdb.guile/scm-ports.exp
2475         * gdb.guile/scm-symbol.exp
2476         * gdb.guile/scm-symtab.exp
2477         * gdb.guile/scm-value-cc.exp
2478         * gdb.guile/types-module.exp
2479         * gdb.linespec/break-ask.exp
2480         * gdb.linespec/cpexplicit.exp
2481         * gdb.linespec/explicit.exp
2482         * gdb.linespec/keywords.exp
2483         * gdb.linespec/linespec.exp
2484         * gdb.linespec/ls-dollar.exp
2485         * gdb.linespec/ls-errs.exp
2486         * gdb.linespec/skip-two.exp
2487         * gdb.linespec/thread.exp
2488         * gdb.mi/mi-async.exp
2489         * gdb.mi/mi-basics.exp
2490         * gdb.mi/mi-break.exp
2491         * gdb.mi/mi-catch-load.exp
2492         * gdb.mi/mi-cli.exp
2493         * gdb.mi/mi-cmd-param-changed.exp
2494         * gdb.mi/mi-console.exp
2495         * gdb.mi/mi-detach.exp
2496         * gdb.mi/mi-disassemble.exp
2497         * gdb.mi/mi-eval.exp
2498         * gdb.mi/mi-file-transfer.exp
2499         * gdb.mi/mi-file.exp
2500         * gdb.mi/mi-fill-memory.exp
2501         * gdb.mi/mi-inheritance-syntax-error.exp
2502         * gdb.mi/mi-linespec-err-cp.exp
2503         * gdb.mi/mi-logging.exp
2504         * gdb.mi/mi-memory-changed.exp
2505         * gdb.mi/mi-read-memory.exp
2506         * gdb.mi/mi-record-changed.exp
2507         * gdb.mi/mi-reg-undefined.exp
2508         * gdb.mi/mi-regs.exp
2509         * gdb.mi/mi-return.exp
2510         * gdb.mi/mi-reverse.exp
2511         * gdb.mi/mi-simplerun.exp
2512         * gdb.mi/mi-solib.exp
2513         * gdb.mi/mi-stack.exp
2514         * gdb.mi/mi-stepi.exp
2515         * gdb.mi/mi-syn-frame.exp
2516         * gdb.mi/mi-until.exp
2517         * gdb.mi/mi-var-block.exp
2518         * gdb.mi/mi-var-child.exp
2519         * gdb.mi/mi-var-cmd.exp
2520         * gdb.mi/mi-var-cp.exp
2521         * gdb.mi/mi-var-display.exp
2522         * gdb.mi/mi-var-invalidate.exp
2523         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2524         * gdb.mi/mi-vla-fortran.exp
2525         * gdb.mi/mi-watch.exp
2526         * gdb.mi/mi2-var-child.exp
2527         * gdb.mi/user-selected-context-sync.exp
2528         * gdb.modula2/unbounded-array.exp
2529         * gdb.multi/dummy-frame-restore.exp
2530         * gdb.multi/multi-arch-exec.exp
2531         * gdb.multi/multi-arch.exp
2532         * gdb.multi/tids.exp
2533         * gdb.multi/watchpoint-multi.exp
2534         * gdb.opencl/callfuncs.exp
2535         * gdb.opencl/convs_casts.exp
2536         * gdb.opencl/datatypes.exp
2537         * gdb.opencl/operators.exp
2538         * gdb.opencl/vec_comps.exp
2539         * gdb.opt/clobbered-registers-O2.exp
2540         * gdb.opt/inline-break.exp
2541         * gdb.opt/inline-bt.exp
2542         * gdb.opt/inline-cmds.exp
2543         * gdb.opt/inline-locals.exp
2544         * gdb.pascal/case-insensitive-symbols.exp
2545         * gdb.pascal/floats.exp
2546         * gdb.pascal/gdb11492.exp
2547         * gdb.python/lib-types.exp
2548         * gdb.python/py-arch.exp
2549         * gdb.python/py-as-string.exp
2550         * gdb.python/py-bad-printers.exp
2551         * gdb.python/py-block.exp
2552         * gdb.python/py-breakpoint-create-fail.exp
2553         * gdb.python/py-breakpoint.exp
2554         * gdb.python/py-caller-is.exp
2555         * gdb.python/py-cmd.exp
2556         * gdb.python/py-explore-cc.exp
2557         * gdb.python/py-explore.exp
2558         * gdb.python/py-finish-breakpoint.exp
2559         * gdb.python/py-finish-breakpoint2.exp
2560         * gdb.python/py-frame-args.exp
2561         * gdb.python/py-frame-inline.exp
2562         * gdb.python/py-frame.exp
2563         * gdb.python/py-framefilter-mi.exp
2564         * gdb.python/py-infthread.exp
2565         * gdb.python/py-lazy-string.exp
2566         * gdb.python/py-linetable.exp
2567         * gdb.python/py-mi-events.exp
2568         * gdb.python/py-mi-objfile.exp
2569         * gdb.python/py-mi.exp
2570         * gdb.python/py-objfile.exp
2571         * gdb.python/py-pp-integral.exp
2572         * gdb.python/py-pp-maint.exp
2573         * gdb.python/py-pp-re-notag.exp
2574         * gdb.python/py-pp-registration.exp
2575         * gdb.python/py-recurse-unwind.exp
2576         * gdb.python/py-strfns.exp
2577         * gdb.python/py-symbol.exp
2578         * gdb.python/py-symtab.exp
2579         * gdb.python/py-sync-interp.exp
2580         * gdb.python/py-typeprint.exp
2581         * gdb.python/py-unwind-maint.exp
2582         * gdb.python/py-unwind.exp
2583         * gdb.python/py-value-cc.exp
2584         * gdb.python/py-xmethods.exp
2585         * gdb.reverse/amd64-tailcall-reverse.exp
2586         * gdb.reverse/break-precsave.exp
2587         * gdb.reverse/break-reverse.exp
2588         * gdb.reverse/consecutive-precsave.exp
2589         * gdb.reverse/consecutive-reverse.exp
2590         * gdb.reverse/finish-precsave.exp
2591         * gdb.reverse/finish-reverse-bkpt.exp
2592         * gdb.reverse/finish-reverse.exp
2593         * gdb.reverse/fstatat-reverse.exp
2594         * gdb.reverse/getresuid-reverse.exp
2595         * gdb.reverse/i386-precsave.exp
2596         * gdb.reverse/i386-reverse.exp
2597         * gdb.reverse/i386-sse-reverse.exp
2598         * gdb.reverse/i387-env-reverse.exp
2599         * gdb.reverse/i387-stack-reverse.exp
2600         * gdb.reverse/insn-reverse.exp
2601         * gdb.reverse/machinestate-precsave.exp
2602         * gdb.reverse/machinestate.exp
2603         * gdb.reverse/next-reverse-bkpt-over-sr.exp
2604         * gdb.reverse/pipe-reverse.exp
2605         * gdb.reverse/readv-reverse.exp
2606         * gdb.reverse/recvmsg-reverse.exp
2607         * gdb.reverse/rerun-prec.exp
2608         * gdb.reverse/s390-mvcle.exp
2609         * gdb.reverse/step-precsave.exp
2610         * gdb.reverse/step-reverse.exp
2611         * gdb.reverse/time-reverse.exp
2612         * gdb.reverse/until-precsave.exp
2613         * gdb.reverse/until-reverse.exp
2614         * gdb.reverse/waitpid-reverse.exp
2615         * gdb.reverse/watch-precsave.exp
2616         * gdb.reverse/watch-reverse.exp
2617         * gdb.rust/generics.exp
2618         * gdb.rust/methods.exp
2619         * gdb.rust/modules.exp
2620         * gdb.rust/simple.exp
2621         * gdb.server/connect-with-no-symbol-file.exp
2622         * gdb.server/ext-attach.exp
2623         * gdb.server/ext-restart.exp
2624         * gdb.server/ext-wrapper.exp
2625         * gdb.server/file-transfer.exp
2626         * gdb.server/server-exec-info.exp
2627         * gdb.server/server-kill.exp
2628         * gdb.server/server-mon.exp
2629         * gdb.server/wrapper.exp
2630         * gdb.stabs/exclfwd.exp
2631         * gdb.stabs/gdb11479.exp
2632         * gdb.threads/clone-new-thread-event.exp
2633         * gdb.threads/corethreads.exp
2634         * gdb.threads/current-lwp-dead.exp
2635         * gdb.threads/dlopen-libpthread.exp
2636         * gdb.threads/gcore-thread.exp
2637         * gdb.threads/sigstep-threads.exp
2638         * gdb.threads/watchpoint-fork.exp
2639         * gdb.trace/actions-changed.exp
2640         * gdb.trace/backtrace.exp
2641         * gdb.trace/change-loc.exp
2642         * gdb.trace/circ.exp
2643         * gdb.trace/collection.exp
2644         * gdb.trace/disconnected-tracing.exp
2645         * gdb.trace/ftrace.exp
2646         * gdb.trace/mi-trace-frame-collected.exp
2647         * gdb.trace/mi-trace-unavailable.exp
2648         * gdb.trace/mi-traceframe-changed.exp
2649         * gdb.trace/mi-tsv-changed.exp
2650         * gdb.trace/no-attach-trace.exp
2651         * gdb.trace/passc-dyn.exp
2652         * gdb.trace/qtro.exp
2653         * gdb.trace/range-stepping.exp
2654         * gdb.trace/read-memory.exp
2655         * gdb.trace/save-trace.exp
2656         * gdb.trace/signal.exp
2657         * gdb.trace/status-stop.exp
2658         * gdb.trace/tfile.exp
2659         * gdb.trace/trace-break.exp
2660         * gdb.trace/trace-buffer-size.exp
2661         * gdb.trace/trace-condition.exp
2662         * gdb.trace/tracefile-pseudo-reg.exp
2663         * gdb.trace/tstatus.exp
2664         * gdb.trace/unavailable.exp
2665         * gdb.trace/while-dyn.exp
2666         * gdb.trace/while-stepping.exp
2667
2668 2016-12-22  Doug Evans  <xdje42@gmail.com>
2669
2670         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2671         and msymbols.
2672
2673 2016-12-19  Yao Qi  <yao.qi@linaro.org>
2674
2675         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2676         (test_with_self): Don't call do_steps_and_nexts, and remove
2677         code about stepping into xmalloc.
2678
2679 2016-12-09  Yao Qi  <yao.qi@linaro.org>
2680
2681         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
2682
2683 2016-12-09  Yao Qi  <yao.qi@linaro.org>
2684
2685         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
2686
2687 2016-12-09  Pedro Alves  <palves@redhat.com>
2688
2689         * gdb.base/all-architectures-0.exp: New file.
2690         * gdb.base/all-architectures-1.exp: New file.
2691         * gdb.base/all-architectures-2.exp: New file.
2692         * gdb.base/all-architectures-3.exp: New file.
2693         * gdb.base/all-architectures-4.exp: New file.
2694         * gdb.base/all-architectures-5.exp: New file.
2695         * gdb.base/all-architectures-6.exp: New file.
2696         * gdb.base/all-architectures-7.exp: New file.
2697         * gdb.base/all-architectures.exp.in: New file.
2698
2699 2016-12-09  Yao Qi  <yao.qi@linaro.org>
2700
2701         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2702
2703 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
2704
2705         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
2706         possible.
2707         Remove useless pattern-matching code.
2708
2709 2016-12-02  Pedro Alves  <palves@redhat.com>
2710
2711         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
2712         procedure.
2713         (top level): Call it.
2714
2715 2016-12-02  Pedro Alves  <palves@redhat.com>
2716
2717         * gdb.base/commands.exp (user_defined_command_args_stack_test):
2718         New procedure.
2719         (top level): Call it.
2720
2721 2016-12-02  Pedro Alves  <palves@redhat.com>
2722
2723         PR cli/20559
2724         * gdb.base/commands.exp (user_defined_command_args_eval): New
2725         procedure.
2726         (top level): Call it.
2727
2728 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
2729
2730         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
2731         timeout handling.
2732
2733 2016-12-02  Tom Tromey  <tom@tromey.com>
2734
2735         * gdb.dwarf2/main-subprogram.c: New file.
2736         * gdb.dwarf2/main-subprogram.exp: New file.
2737
2738 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
2739
2740         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
2741         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
2742         gdb_test_no_output for a couple of cases.
2743         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
2744
2745 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
2746
2747         Fix test names and standardize compilation error messages throughout
2748         the following files:
2749
2750         * gdb.ada/start.exp
2751         * gdb.arch/alpha-step.exp
2752         * gdb.arch/e500-prologue.exp
2753         * gdb.arch/ftrace-insn-reloc.exp
2754         * gdb.arch/gdb1291.exp
2755         * gdb.arch/gdb1431.exp
2756         * gdb.arch/gdb1558.exp
2757         * gdb.arch/i386-dr3-watch.exp
2758         * gdb.arch/i386-sse-stack-align.exp
2759         * gdb.arch/ia64-breakpoint-shadow.exp
2760         * gdb.arch/pa-nullify.exp
2761         * gdb.arch/powerpc-aix-prologue.exp
2762         * gdb.arch/thumb-bx-pc.exp
2763         * gdb.base/annota1.exp
2764         * gdb.base/annota3.exp
2765         * gdb.base/arrayidx.exp
2766         * gdb.base/assign.exp
2767         * gdb.base/attach.exp
2768         * gdb.base/auxv.exp
2769         * gdb.base/bang.exp
2770         * gdb.base/bfp-test.exp
2771         * gdb.base/bigcore.exp
2772         * gdb.base/bitfields2.exp
2773         * gdb.base/break-fun-addr.exp
2774         * gdb.base/break-probes.exp
2775         * gdb.base/call-rt-st.exp
2776         * gdb.base/callexit.exp
2777         * gdb.base/catch-fork-kill.exp
2778         * gdb.base/charset.exp
2779         * gdb.base/checkpoint.exp
2780         * gdb.base/comprdebug.exp
2781         * gdb.base/constvars.exp
2782         * gdb.base/coredump-filter.exp
2783         * gdb.base/cursal.exp
2784         * gdb.base/cvexpr.exp
2785         * gdb.base/detach.exp
2786         * gdb.base/display.exp
2787         * gdb.base/dmsym.exp
2788         * gdb.base/dprintf-pending.exp
2789         * gdb.base/dso2dso.exp
2790         * gdb.base/dtrace-probe.exp
2791         * gdb.base/dump.exp
2792         * gdb.base/enum_cond.exp
2793         * gdb.base/exe-lock.exp
2794         * gdb.base/exec-invalid-sysroot.exp
2795         * gdb.base/execl-update-breakpoints.exp
2796         * gdb.base/exprs.exp
2797         * gdb.base/fileio.exp
2798         * gdb.base/find.exp
2799         * gdb.base/finish.exp
2800         * gdb.base/fixsection.exp
2801         * gdb.base/foll-vfork.exp
2802         * gdb.base/frame-args.exp
2803         * gdb.base/gcore.exp
2804         * gdb.base/gdb1250.exp
2805         * gdb.base/global-var-nested-by-dso.exp
2806         * gdb.base/gnu-ifunc.exp
2807         * gdb.base/hashline1.exp
2808         * gdb.base/hashline2.exp
2809         * gdb.base/hashline3.exp
2810         * gdb.base/hbreak-in-shr-unsupported.exp
2811         * gdb.base/huge.exp
2812         * gdb.base/infcall-input.exp
2813         * gdb.base/info-fun.exp
2814         * gdb.base/info-shared.exp
2815         * gdb.base/jit-simple.exp
2816         * gdb.base/jit-so.exp
2817         * gdb.base/jit.exp
2818         * gdb.base/jump.exp
2819         * gdb.base/label.exp
2820         * gdb.base/lineinc.exp
2821         * gdb.base/logical.exp
2822         * gdb.base/longjmp.exp
2823         * gdb.base/macscp.exp
2824         * gdb.base/miscexprs.exp
2825         * gdb.base/new-ui-echo.exp
2826         * gdb.base/new-ui-pending-input.exp
2827         * gdb.base/new-ui.exp
2828         * gdb.base/nodebug.exp
2829         * gdb.base/nofield.exp
2830         * gdb.base/offsets.exp
2831         * gdb.base/overlays.exp
2832         * gdb.base/pending.exp
2833         * gdb.base/pointers.exp
2834         * gdb.base/pr11022.exp
2835         * gdb.base/printcmds.exp
2836         * gdb.base/prologue.exp
2837         * gdb.base/ptr-typedef.exp
2838         * gdb.base/realname-expand.exp
2839         * gdb.base/relativedebug.exp
2840         * gdb.base/relocate.exp
2841         * gdb.base/remote.exp
2842         * gdb.base/reread.exp
2843         * gdb.base/return2.exp
2844         * gdb.base/savedregs.exp
2845         * gdb.base/sep.exp
2846         * gdb.base/sepdebug.exp
2847         * gdb.base/sepsymtab.exp
2848         * gdb.base/set-inferior-tty.exp
2849         * gdb.base/setshow.exp
2850         * gdb.base/shlib-call.exp
2851         * gdb.base/sigaltstack.exp
2852         * gdb.base/siginfo-addr.exp
2853         * gdb.base/signals.exp
2854         * gdb.base/signull.exp
2855         * gdb.base/sigrepeat.exp
2856         * gdb.base/so-impl-ld.exp
2857         * gdb.base/solib-display.exp
2858         * gdb.base/solib-overlap.exp
2859         * gdb.base/solib-search.exp
2860         * gdb.base/solib-symbol.exp
2861         * gdb.base/structs.exp
2862         * gdb.base/structs2.exp
2863         * gdb.base/symtab-search-order.exp
2864         * gdb.base/twice.exp
2865         * gdb.base/unload.exp
2866         * gdb.base/varargs.exp
2867         * gdb.base/watchpoint-solib.exp
2868         * gdb.base/watchpoint.exp
2869         * gdb.base/whatis.exp
2870         * gdb.base/wrong_frame_bt_full.exp
2871         * gdb.btrace/dlopen.exp
2872         * gdb.cell/ea-standalone.exp
2873         * gdb.cell/ea-test.exp
2874         * gdb.cp/dispcxx.exp
2875         * gdb.cp/gdb2384.exp
2876         * gdb.cp/method2.exp
2877         * gdb.cp/nextoverthrow.exp
2878         * gdb.cp/pr10728.exp
2879         * gdb.disasm/am33.exp
2880         * gdb.disasm/h8300s.exp
2881         * gdb.disasm/mn10300.exp
2882         * gdb.disasm/sh3.exp
2883         * gdb.dwarf2/dw2-dir-file-name.exp
2884         * gdb.fortran/complex.exp
2885         * gdb.fortran/library-module.exp
2886         * gdb.guile/scm-pretty-print.exp
2887         * gdb.guile/scm-symbol.exp
2888         * gdb.guile/scm-type.exp
2889         * gdb.guile/scm-value.exp
2890         * gdb.linespec/linespec.exp
2891         * gdb.mi/gdb701.exp
2892         * gdb.mi/gdb792.exp
2893         * gdb.mi/mi-breakpoint-changed.exp
2894         * gdb.mi/mi-dprintf-pending.exp
2895         * gdb.mi/mi-dprintf.exp
2896         * gdb.mi/mi-exit-code.exp
2897         * gdb.mi/mi-pending.exp
2898         * gdb.mi/mi-solib.exp
2899         * gdb.mi/new-ui-mi-sync.exp
2900         * gdb.mi/pr11022.exp
2901         * gdb.mi/user-selected-context-sync.exp
2902         * gdb.opt/solib-intra-step.exp
2903         * gdb.python/py-events.exp
2904         * gdb.python/py-finish-breakpoint.exp
2905         * gdb.python/py-mi.exp
2906         * gdb.python/py-prettyprint.exp
2907         * gdb.python/py-shared.exp
2908         * gdb.python/py-symbol.exp
2909         * gdb.python/py-template.exp
2910         * gdb.python/py-type.exp
2911         * gdb.python/py-value.exp
2912         * gdb.reverse/solib-precsave.exp
2913         * gdb.reverse/solib-reverse.exp
2914         * gdb.server/solib-list.exp
2915         * gdb.stabs/weird.exp
2916         * gdb.threads/reconnect-signal.exp
2917         * gdb.threads/stepi-random-signal.exp
2918         * gdb.trace/actions.exp
2919         * gdb.trace/ax.exp
2920         * gdb.trace/backtrace.exp
2921         * gdb.trace/change-loc.exp
2922         * gdb.trace/deltrace.exp
2923         * gdb.trace/ftrace-lock.exp
2924         * gdb.trace/ftrace.exp
2925         * gdb.trace/infotrace.exp
2926         * gdb.trace/mi-tracepoint-changed.exp
2927         * gdb.trace/packetlen.exp
2928         * gdb.trace/passcount.exp
2929         * gdb.trace/pending.exp
2930         * gdb.trace/range-stepping.exp
2931         * gdb.trace/report.exp
2932         * gdb.trace/stap-trace.exp
2933         * gdb.trace/tfind.exp
2934         * gdb.trace/trace-break.exp
2935         * gdb.trace/trace-condition.exp
2936         * gdb.trace/trace-enable-disable.exp
2937         * gdb.trace/trace-mt.exp
2938         * gdb.trace/tracecmd.exp
2939         * gdb.trace/tspeed.exp
2940         * gdb.trace/tsv.exp
2941         * lib/perftest.exp
2942
2943 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
2944
2945         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
2946         with gdb_test_no_output.
2947         Use command as test name.
2948
2949 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
2950
2951         Fix test names starting with uppercase throughout the files.
2952
2953         * gdb.ada/assign_1.exp
2954         * gdb.ada/boolean_expr.exp
2955         * gdb.base/arrayidx.exp
2956         * gdb.base/del.exp
2957         * gdb.base/gcore-buffer-overflow.exp
2958         * gdb.base/testenv.exp
2959         * gdb.compile/compile.exp
2960         * gdb.python/py-framefilter-invalidarg.exp
2961         * gdb.python/py-framefilter.exp
2962
2963 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
2964
2965         Fix test names starting with uppercase throughout the files.
2966
2967         * gdb.ada/array_return.exp
2968         * gdb.ada/expr_delims.exp
2969         * gdb.ada/mi_dyn_arr.exp
2970         * gdb.ada/mi_interface.exp
2971         * gdb.ada/mi_var_array.exp
2972         * gdb.ada/watch_arg.exp
2973         * gdb.arch/alpha-step.exp
2974         * gdb.arch/altivec-regs.exp
2975         * gdb.arch/e500-regs.exp
2976         * gdb.arch/powerpc-d128-regs.exp
2977         * gdb.base/arrayidx.exp
2978         * gdb.base/break.exp
2979         * gdb.base/checkpoint.exp
2980         * gdb.base/debug-expr.exp
2981         * gdb.base/dmsym.exp
2982         * gdb.base/radix.exp
2983         * gdb.base/sepdebug.exp
2984         * gdb.base/testenv.exp
2985         * gdb.base/watch_thread_num.exp
2986         * gdb.base/watchpoint-cond-gone.exp
2987         * gdb.cell/break.exp
2988         * gdb.cell/ea-cache.exp
2989         * gdb.compile/compile.exp
2990         * gdb.cp/gdb2495.exp
2991         * gdb.gdb/selftest.exp
2992         * gdb.gdb/xfullpath.exp
2993         * gdb.go/hello.exp
2994         * gdb.go/integers.exp
2995         * gdb.objc/basicclass.exp
2996         * gdb.pascal/hello.exp
2997         * gdb.pascal/integers.exp
2998         * gdb.python/py-breakpoint.exp
2999         * gdb.python/py-cmd.exp
3000         * gdb.python/py-linetable.exp
3001         * gdb.python/py-xmethods.exp
3002         * gdb.python/python.exp
3003         * gdb.reverse/consecutive-precsave.exp
3004         * gdb.reverse/finish-precsave.exp
3005         * gdb.reverse/i386-precsave.exp
3006         * gdb.reverse/machinestate-precsave.exp
3007         * gdb.reverse/sigall-precsave.exp
3008         * gdb.reverse/solib-precsave.exp
3009         * gdb.reverse/step-precsave.exp
3010         * gdb.reverse/until-precsave.exp
3011         * gdb.reverse/watch-precsave.exp
3012         * gdb.threads/leader-exit.exp
3013         * gdb.threads/pthreads.exp
3014         * gdb.threads/wp-replication.exp
3015         * gdb.trace/actions.exp
3016         * gdb.trace/mi-tsv-changed.exp
3017         * gdb.trace/tsv.exp
3018
3019 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3020
3021         Fix test names starting with uppercase throughout the files.
3022
3023         * gdb.arch/i386-bp_permanent.exp
3024         * gdb.arch/i386-gnu-cfi.exp
3025         * gdb.base/disasm-end-cu.exp
3026         * gdb.base/macscp.exp
3027         * gdb.base/pending.exp
3028         * gdb.base/watch_thread_num.exp
3029         * gdb.cp/exception.exp
3030         * gdb.cp/gdb2495.exp
3031         * gdb.cp/local.exp
3032         * gdb.python/py-evsignal.exp
3033         * gdb.python/python.exp
3034         * gdb.trace/tracecmd.exp
3035
3036 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3037
3038         Fix test names starting with uppercase throughout the files.
3039
3040         * gdb.base/charset.exp
3041         * gdb.base/eval.exp
3042         * gdb.base/multi-forks.exp
3043         * gdb.guile/scm-progspace.exp
3044         * gdb.opencl/datatypes.exp
3045         * gdb.python/py-block.exp
3046         * gdb.python/py-function.exp
3047         * gdb.python/py-symbol.exp
3048         * gdb.python/py-symtab.exp
3049         * gdb.python/py-xmethods.exp
3050         * gdb.reverse/break-precsave.exp
3051         * gdb.reverse/break-reverse.exp
3052         * gdb.reverse/consecutive-precsave.exp
3053         * gdb.reverse/consecutive-reverse.exp
3054         * gdb.reverse/finish-precsave.exp
3055         * gdb.reverse/finish-reverse-bkpt.exp
3056         * gdb.reverse/finish-reverse.exp
3057         * gdb.reverse/fstatat-reverse.exp
3058         * gdb.reverse/getresuid-reverse.exp
3059         * gdb.reverse/i386-precsave.exp
3060         * gdb.reverse/i386-reverse.exp
3061         * gdb.reverse/i386-sse-reverse.exp
3062         * gdb.reverse/i387-stack-reverse.exp
3063         * gdb.reverse/insn-reverse.exp
3064         * gdb.reverse/machinestate-precsave.exp
3065         * gdb.reverse/machinestate.exp
3066         * gdb.reverse/next-reverse-bkpt-over-sr.exp
3067         * gdb.reverse/pipe-reverse.exp
3068         * gdb.reverse/readv-reverse.exp
3069         * gdb.reverse/recvmsg-reverse.exp
3070         * gdb.reverse/rerun-prec.exp
3071         * gdb.reverse/s390-mvcle.exp
3072         * gdb.reverse/sigall-precsave.exp
3073         * gdb.reverse/sigall-reverse.exp
3074         * gdb.reverse/solib-precsave.exp
3075         * gdb.reverse/solib-reverse.exp
3076         * gdb.reverse/step-precsave.exp
3077         * gdb.reverse/step-reverse.exp
3078         * gdb.reverse/time-reverse.exp
3079         * gdb.reverse/until-precsave.exp
3080         * gdb.reverse/until-reverse.exp
3081         * gdb.reverse/waitpid-reverse.exp
3082         * gdb.reverse/watch-precsave.exp
3083         * gdb.reverse/watch-reverse.exp
3084
3085 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3086
3087         Fix test names starting with uppercase throughout the files.
3088
3089         * gdb.arch/i386-mpx-simple_segv.exp
3090         * gdb.arch/i386-mpx.exp
3091         * gdb.arch/i386-permbkpt.exp
3092         * gdb.arch/pa-nullify.exp
3093         * gdb.arch/powerpc-d128-regs.exp
3094         * gdb.arch/vsx-regs.exp
3095         * gdb.base/bfp-test.exp
3096         * gdb.base/break.exp
3097         * gdb.base/breakpoint-shadow.exp
3098         * gdb.base/callfuncs.exp
3099         * gdb.base/charset.exp
3100         * gdb.base/commands.exp
3101         * gdb.base/completion.exp
3102         * gdb.base/dfp-test.exp
3103         * gdb.base/echo.exp
3104         * gdb.base/ending-run.exp
3105         * gdb.base/eval.exp
3106         * gdb.base/expand-psymtabs.exp
3107         * gdb.base/float128.exp
3108         * gdb.base/floatn.exp
3109         * gdb.base/foll-exec-mode.exp
3110         * gdb.base/gdb1056.exp
3111         * gdb.base/gdb11531.exp
3112         * gdb.base/kill-after-signal.exp
3113         * gdb.base/multi-forks.exp
3114         * gdb.base/overlays.exp
3115         * gdb.base/pending.exp
3116         * gdb.base/sepdebug.exp
3117         * gdb.base/testenv.exp
3118         * gdb.base/valgrind-db-attach.exp
3119         * gdb.base/watch_thread_num.exp
3120         * gdb.base/watchpoint-cond-gone.exp
3121         * gdb.base/watchpoint.exp
3122         * gdb.base/watchpoints.exp
3123         * gdb.cp/arg-reference.exp
3124         * gdb.cp/baseenum.exp
3125         * gdb.cp/operator.exp
3126         * gdb.cp/shadow.exp
3127         * gdb.dwarf2/dw2-op-out-param.exp
3128         * gdb.dwarf2/dw2-reg-undefined.exp
3129         * gdb.go/chan.exp
3130         * gdb.go/hello.exp
3131         * gdb.go/integers.exp
3132         * gdb.go/methods.exp
3133         * gdb.go/package.exp
3134         * gdb.guile/scm-parameter.exp
3135         * gdb.guile/scm-progspace.exp
3136         * gdb.guile/scm-value.exp
3137         * gdb.mi/mi-pending.exp
3138         * gdb.mi/user-selected-context-sync.exp
3139         * gdb.multi/multi-attach.exp
3140         * gdb.multi/tids.exp
3141         * gdb.opt/clobbered-registers-O2.exp
3142         * gdb.pascal/floats.exp
3143         * gdb.pascal/integers.exp
3144         * gdb.python/py-block.exp
3145         * gdb.python/py-events.exp
3146         * gdb.python/py-parameter.exp
3147         * gdb.python/py-symbol.exp
3148         * gdb.python/py-symtab.exp
3149         * gdb.python/py-type.exp
3150         * gdb.python/py-value.exp
3151         * gdb.python/py-xmethods.exp
3152         * gdb.python/python.exp
3153         * gdb.reverse/break-precsave.exp
3154         * gdb.reverse/consecutive-precsave.exp
3155         * gdb.reverse/finish-precsave.exp
3156         * gdb.reverse/i386-precsave.exp
3157         * gdb.reverse/machinestate-precsave.exp
3158         * gdb.reverse/sigall-precsave.exp
3159         * gdb.reverse/solib-precsave.exp
3160         * gdb.reverse/step-precsave.exp
3161         * gdb.reverse/until-precsave.exp
3162         * gdb.reverse/watch-precsave.exp
3163         * gdb.server/ext-attach.exp
3164         * gdb.server/ext-restart.exp
3165         * gdb.server/ext-run.exp
3166         * gdb.server/ext-wrapper.exp
3167         * gdb.stabs/gdb11479.exp
3168         * gdb.stabs/weird.exp
3169         * gdb.threads/attach-many-short-lived-threads.exp
3170         * gdb.threads/kill.exp
3171         * gdb.threads/watchpoint-fork.exp
3172
3173 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
3174
3175         Fix test names starting with uppercase throughout all the files below.
3176
3177         * gdb.ada/array_return.exp
3178         * gdb.ada/catch_ex.exp
3179         * gdb.ada/info_exc.exp
3180         * gdb.ada/mi_catch_ex.exp
3181         * gdb.ada/mi_dyn_arr.exp
3182         * gdb.ada/mi_ex_cond.exp
3183         * gdb.ada/mi_exc_info.exp
3184         * gdb.ada/mi_interface.exp
3185         * gdb.ada/mi_task_arg.exp
3186         * gdb.ada/mi_task_info.exp
3187         * gdb.ada/mi_var_array.exp
3188         * gdb.arch/alpha-step.exp
3189         * gdb.arch/amd64-disp-step.exp
3190         * gdb.arch/arm-disp-step.exp
3191         * gdb.arch/disp-step-insn-reloc.exp
3192         * gdb.arch/e500-prologue.exp
3193         * gdb.arch/ftrace-insn-reloc.exp
3194         * gdb.arch/gdb1558.exp
3195         * gdb.arch/i386-bp_permanent.exp
3196         * gdb.arch/i386-disp-step.exp
3197         * gdb.arch/i386-float.exp
3198         * gdb.arch/i386-gnu-cfi.exp
3199         * gdb.arch/ia64-breakpoint-shadow.exp
3200         * gdb.arch/mips16-thunks.exp
3201         * gdb.arch/pa-nullify.exp
3202         * gdb.arch/powerpc-aix-prologue.exp
3203         * gdb.arch/powerpc-power.exp
3204         * gdb.arch/ppc-dfp.exp
3205         * gdb.arch/s390-tdbregs.exp
3206         * gdb.arch/spu-info.exp
3207         * gdb.arch/spu-ls.exp
3208         * gdb.arch/thumb-bx-pc.exp
3209         * gdb.base/advance.exp
3210         * gdb.base/annota-input-while-running.exp
3211         * gdb.base/arrayidx.exp
3212         * gdb.base/asmlabel.exp
3213         * gdb.base/async.exp
3214         * gdb.base/attach-wait-input.exp
3215         * gdb.base/auto-connect-native-target.exp
3216         * gdb.base/batch-preserve-term-settings.exp
3217         * gdb.base/bfp-test.exp
3218         * gdb.base/bigcore.exp
3219         * gdb.base/bp-permanent.exp
3220         * gdb.base/break-always.exp
3221         * gdb.base/break-fun-addr.exp
3222         * gdb.base/break-idempotent.exp
3223         * gdb.base/break-main-file-remove-fail.exp
3224         * gdb.base/break-probes.exp
3225         * gdb.base/break-unload-file.exp
3226         * gdb.base/break.exp
3227         * gdb.base/call-ar-st.exp
3228         * gdb.base/call-rt-st.exp
3229         * gdb.base/call-sc.exp
3230         * gdb.base/call-signal-resume.exp
3231         * gdb.base/call-strs.exp
3232         * gdb.base/callexit.exp
3233         * gdb.base/callfuncs.exp
3234         * gdb.base/catch-gdb-caused-signals.exp
3235         * gdb.base/catch-signal-siginfo-cond.exp
3236         * gdb.base/catch-syscall.exp
3237         * gdb.base/compare-sections.exp
3238         * gdb.base/cond-eval-mode.exp
3239         * gdb.base/condbreak-call-false.exp
3240         * gdb.base/consecutive-step-over.exp
3241         * gdb.base/cursal.exp
3242         * gdb.base/disabled-location.exp
3243         * gdb.base/disasm-end-cu.exp
3244         * gdb.base/display.exp
3245         * gdb.base/double-prompt-target-event-error.exp
3246         * gdb.base/dprintf-bp-same-addr.exp
3247         * gdb.base/dprintf-detach.exp
3248         * gdb.base/dprintf-next.exp
3249         * gdb.base/dprintf-non-stop.exp
3250         * gdb.base/dprintf-pending.exp
3251         * gdb.base/dso2dso.exp
3252         * gdb.base/ending-run.exp
3253         * gdb.base/enum_cond.exp
3254         * gdb.base/examine-backward.exp
3255         * gdb.base/exe-lock.exp
3256         * gdb.base/exec-invalid-sysroot.exp
3257         * gdb.base/execl-update-breakpoints.exp
3258         * gdb.base/execution-termios.exp
3259         * gdb.base/fileio.exp
3260         * gdb.base/fixsection.exp
3261         * gdb.base/foll-exec-mode.exp
3262         * gdb.base/foll-exec.exp
3263         * gdb.base/fork-running-state.exp
3264         * gdb.base/frame-args.exp
3265         * gdb.base/fullpath-expand.exp
3266         * gdb.base/func-ptr.exp
3267         * gdb.base/gcore-relro-pie.exp
3268         * gdb.base/gdb1090.exp
3269         * gdb.base/gdb1555.exp
3270         * gdb.base/global-var-nested-by-dso.exp
3271         * gdb.base/gnu-ifunc.exp
3272         * gdb.base/hbreak-in-shr-unsupported.exp
3273         * gdb.base/hbreak-unmapped.exp
3274         * gdb.base/hook-stop.exp
3275         * gdb.base/infcall-input.exp
3276         * gdb.base/info-fun.exp
3277         * gdb.base/info-shared.exp
3278         * gdb.base/interrupt-noterm.exp
3279         * gdb.base/jit-so.exp
3280         * gdb.base/jit.exp
3281         * gdb.base/line-symtabs.exp
3282         * gdb.base/list.exp
3283         * gdb.base/longjmp.exp
3284         * gdb.base/macscp.exp
3285         * gdb.base/max-value-size.exp
3286         * gdb.base/nodebug.exp
3287         * gdb.base/nofield.exp
3288         * gdb.base/overlays.exp
3289         * gdb.base/paginate-after-ctrl-c-running.exp
3290         * gdb.base/paginate-bg-execution.exp
3291         * gdb.base/paginate-inferior-exit.exp
3292         * gdb.base/pending.exp
3293         * gdb.base/pr11022.exp
3294         * gdb.base/printcmds.exp
3295         * gdb.base/ptr-typedef.exp
3296         * gdb.base/ptype.exp
3297         * gdb.base/randomize.exp
3298         * gdb.base/range-stepping.exp
3299         * gdb.base/realname-expand.exp
3300         * gdb.base/relativedebug.exp
3301         * gdb.base/remote.exp
3302         * gdb.base/savedregs.exp
3303         * gdb.base/sepdebug.exp
3304         * gdb.base/set-noassign.exp
3305         * gdb.base/shlib-call.exp
3306         * gdb.base/shreloc.exp
3307         * gdb.base/sigaltstack.exp
3308         * gdb.base/sigbpt.exp
3309         * gdb.base/siginfo-addr.exp
3310         * gdb.base/siginfo-obj.exp
3311         * gdb.base/siginfo-thread.exp
3312         * gdb.base/signest.exp
3313         * gdb.base/signull.exp
3314         * gdb.base/sigrepeat.exp
3315         * gdb.base/skip.exp
3316         * gdb.base/so-impl-ld.exp
3317         * gdb.base/solib-corrupted.exp
3318         * gdb.base/solib-disc.exp
3319         * gdb.base/solib-display.exp
3320         * gdb.base/solib-overlap.exp
3321         * gdb.base/solib-search.exp
3322         * gdb.base/solib-symbol.exp
3323         * gdb.base/source-execution.exp
3324         * gdb.base/sss-bp-on-user-bp-2.exp
3325         * gdb.base/sss-bp-on-user-bp.exp
3326         * gdb.base/stack-checking.exp
3327         * gdb.base/stale-infcall.exp
3328         * gdb.base/step-break.exp
3329         * gdb.base/step-line.exp
3330         * gdb.base/step-over-exit.exp
3331         * gdb.base/step-test.exp
3332         * gdb.base/structs.exp
3333         * gdb.base/sym-file.exp
3334         * gdb.base/symtab-search-order.exp
3335         * gdb.base/term.exp
3336         * gdb.base/type-opaque.exp
3337         * gdb.base/unload.exp
3338         * gdb.base/until-nodebug.exp
3339         * gdb.base/until.exp
3340         * gdb.base/unwindonsignal.exp
3341         * gdb.base/watch-cond.exp
3342         * gdb.base/watch-non-mem.exp
3343         * gdb.base/watch_thread_num.exp
3344         * gdb.base/watchpoint-reuse-slot.exp
3345         * gdb.base/watchpoint-solib.exp
3346         * gdb.base/watchpoint.exp
3347         * gdb.btrace/dlopen.exp
3348         * gdb.cell/arch.exp
3349         * gdb.cell/break.exp
3350         * gdb.cell/bt.exp
3351         * gdb.cell/core.exp
3352         * gdb.cell/data.exp
3353         * gdb.cell/dwarfaddr.exp
3354         * gdb.cell/ea-cache.exp
3355         * gdb.cell/ea-standalone.exp
3356         * gdb.cell/ea-test.exp
3357         * gdb.cell/f-regs.exp
3358         * gdb.cell/fork.exp
3359         * gdb.cell/gcore.exp
3360         * gdb.cell/mem-access.exp
3361         * gdb.cell/ptype.exp
3362         * gdb.cell/registers.exp
3363         * gdb.cell/sizeof.exp
3364         * gdb.cell/solib-symbol.exp
3365         * gdb.cell/solib.exp
3366         * gdb.compile/compile-tls.exp
3367         * gdb.cp/exception.exp
3368         * gdb.cp/gdb2495.exp
3369         * gdb.cp/local.exp
3370         * gdb.cp/mb-inline.exp
3371         * gdb.cp/mb-templates.exp
3372         * gdb.cp/pr10687.exp
3373         * gdb.cp/pr9167.exp
3374         * gdb.cp/scope-err.exp
3375         * gdb.cp/templates.exp
3376         * gdb.cp/virtfunc.exp
3377         * gdb.dwarf2/dw2-dir-file-name.exp
3378         * gdb.dwarf2/dw2-single-line-discriminators.exp
3379         * gdb.fortran/complex.exp
3380         * gdb.fortran/library-module.exp
3381         * gdb.guile/guile.exp
3382         * gdb.guile/scm-cmd.exp
3383         * gdb.guile/scm-frame-inline.exp
3384         * gdb.guile/scm-objfile.exp
3385         * gdb.guile/scm-pretty-print.exp
3386         * gdb.guile/scm-symbol.exp
3387         * gdb.guile/scm-type.exp
3388         * gdb.guile/scm-value.exp
3389         * gdb.linespec/keywords.exp
3390         * gdb.linespec/ls-errs.exp
3391         * gdb.linespec/macro-relative.exp
3392         * gdb.linespec/thread.exp
3393         * gdb.mi/mi-breakpoint-changed.exp
3394         * gdb.mi/mi-dprintf-pending.exp
3395         * gdb.mi/mi-fullname-deleted.exp
3396         * gdb.mi/mi-logging.exp
3397         * gdb.mi/mi-pending.exp
3398         * gdb.mi/mi-solib.exp
3399         * gdb.mi/new-ui-mi-sync.exp
3400         * gdb.mi/user-selected-context-sync.exp
3401         * gdb.multi/dummy-frame-restore.exp
3402         * gdb.multi/multi-arch-exec.exp
3403         * gdb.multi/remove-inferiors.exp
3404         * gdb.multi/watchpoint-multi-exit.exp
3405         * gdb.opt/solib-intra-step.exp
3406         * gdb.perf/backtrace.exp
3407         * gdb.perf/single-step.exp
3408         * gdb.perf/skip-command.exp
3409         * gdb.perf/skip-prologue.exp
3410         * gdb.perf/solib.exp
3411         * gdb.python/lib-types.exp
3412         * gdb.python/py-as-string.exp
3413         * gdb.python/py-bad-printers.exp
3414         * gdb.python/py-block.exp
3415         * gdb.python/py-breakpoint.exp
3416         * gdb.python/py-cmd.exp
3417         * gdb.python/py-events.exp
3418         * gdb.python/py-evthreads.exp
3419         * gdb.python/py-finish-breakpoint.exp
3420         * gdb.python/py-finish-breakpoint2.exp
3421         * gdb.python/py-frame-inline.exp
3422         * gdb.python/py-frame.exp
3423         * gdb.python/py-inferior.exp
3424         * gdb.python/py-infthread.exp
3425         * gdb.python/py-mi.exp
3426         * gdb.python/py-objfile.exp
3427         * gdb.python/py-pp-maint.exp
3428         * gdb.python/py-pp-registration.exp
3429         * gdb.python/py-prettyprint.exp
3430         * gdb.python/py-recurse-unwind.exp
3431         * gdb.python/py-shared.exp
3432         * gdb.python/py-symbol.exp
3433         * gdb.python/py-symtab.exp
3434         * gdb.python/py-template.exp
3435         * gdb.python/py-type.exp
3436         * gdb.python/py-unwind-maint.exp
3437         * gdb.python/py-unwind.exp
3438         * gdb.python/py-value.exp
3439         * gdb.python/python.exp
3440         * gdb.reverse/finish-reverse-bkpt.exp
3441         * gdb.reverse/insn-reverse.exp
3442         * gdb.reverse/next-reverse-bkpt-over-sr.exp
3443         * gdb.reverse/solib-precsave.exp
3444         * gdb.reverse/solib-reverse.exp
3445         * gdb.stabs/gdb11479.exp
3446         * gdb.stabs/weird.exp
3447         * gdb.threads/fork-child-threads.exp
3448         * gdb.threads/fork-plus-threads.exp
3449         * gdb.threads/fork-thread-pending.exp
3450         * gdb.threads/forking-threads-plus-breakpoint.exp
3451         * gdb.threads/hand-call-in-threads.exp
3452         * gdb.threads/interrupted-hand-call.exp
3453         * gdb.threads/linux-dp.exp
3454         * gdb.threads/local-watch-wrong-thread.exp
3455         * gdb.threads/next-while-other-thread-longjmps.exp
3456         * gdb.threads/non-ldr-exit.exp
3457         * gdb.threads/pending-step.exp
3458         * gdb.threads/print-threads.exp
3459         * gdb.threads/process-dies-while-detaching.exp
3460         * gdb.threads/process-dies-while-handling-bp.exp
3461         * gdb.threads/pthreads.exp
3462         * gdb.threads/queue-signal.exp
3463         * gdb.threads/reconnect-signal.exp
3464         * gdb.threads/signal-command-handle-nopass.exp
3465         * gdb.threads/signal-command-multiple-signals-pending.exp
3466         * gdb.threads/signal-delivered-right-thread.exp
3467         * gdb.threads/signal-sigtrap.exp
3468         * gdb.threads/sigthread.exp
3469         * gdb.threads/staticthreads.exp
3470         * gdb.threads/stepi-random-signal.exp
3471         * gdb.threads/thread-unwindonsignal.exp
3472         * gdb.threads/thread_check.exp
3473         * gdb.threads/thread_events.exp
3474         * gdb.threads/tid-reuse.exp
3475         * gdb.threads/tls-nodebug.exp
3476         * gdb.threads/tls-shared.exp
3477         * gdb.threads/tls-so_extern.exp
3478         * gdb.threads/tls.exp
3479         * gdb.threads/wp-replication.exp
3480         * gdb.trace/actions-changed.exp
3481         * gdb.trace/actions.exp
3482         * gdb.trace/backtrace.exp
3483         * gdb.trace/change-loc.exp
3484         * gdb.trace/collection.exp
3485         * gdb.trace/deltrace.exp
3486         * gdb.trace/disconnected-tracing.exp
3487         * gdb.trace/entry-values.exp
3488         * gdb.trace/ftrace-lock.exp
3489         * gdb.trace/ftrace.exp
3490         * gdb.trace/infotrace.exp
3491         * gdb.trace/mi-trace-frame-collected.exp
3492         * gdb.trace/mi-trace-unavailable.exp
3493         * gdb.trace/mi-traceframe-changed.exp
3494         * gdb.trace/mi-tracepoint-changed.exp
3495         * gdb.trace/mi-tsv-changed.exp
3496         * gdb.trace/no-attach-trace.exp
3497         * gdb.trace/packetlen.exp
3498         * gdb.trace/passc-dyn.exp
3499         * gdb.trace/passcount.exp
3500         * gdb.trace/pending.exp
3501         * gdb.trace/pr16508.exp
3502         * gdb.trace/qtro.exp
3503         * gdb.trace/range-stepping.exp
3504         * gdb.trace/read-memory.exp
3505         * gdb.trace/report.exp
3506         * gdb.trace/save-trace.exp
3507         * gdb.trace/signal.exp
3508         * gdb.trace/stap-trace.exp
3509         * gdb.trace/status-stop.exp
3510         * gdb.trace/strace.exp
3511         * gdb.trace/tfile.exp
3512         * gdb.trace/tfind.exp
3513         * gdb.trace/trace-break.exp
3514         * gdb.trace/trace-condition.exp
3515         * gdb.trace/trace-enable-disable.exp
3516         * gdb.trace/trace-mt.exp
3517         * gdb.trace/tracecmd.exp
3518         * gdb.trace/tracefile-pseudo-reg.exp
3519         * gdb.trace/tspeed.exp
3520         * gdb.trace/tstatus.exp
3521         * gdb.trace/tsv.exp
3522         * gdb.trace/unavailable.exp
3523         * gdb.trace/while-dyn.exp
3524         * gdb.trace/while-stepping.exp
3525         * lib/gdb-guile.exp
3526         * lib/gdb.exp
3527         * lib/mi-support.exp
3528         * lib/pascal.exp
3529         * lib/perftest.exp
3530         * lib/prelink-support.exp
3531         * lib/selftest-support.exp
3532
3533 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
3534
3535         * Makefile.in: Include disable-implicit-rules.mk.
3536
3537 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3538
3539         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3540         non-byte-aligned bit fields.
3541
3542 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3543
3544         PR gdb/12616
3545         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
3546         respects the DW_AT_data_bit_offset attribute.
3547
3548 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
3549
3550         * gdb.base/default.exp: Fix output of "set language".
3551
3552 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
3553
3554         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3555         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
3556         make.
3557         * configure.ac: Remove checks for the make program.
3558         * configure: Re-generate.
3559
3560 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
3561
3562         * gdb.python/py-recurse-unwind.c (main): Add loop.
3563         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3564         to read_register() and gdb.parse_and_eval().  Make each code
3565         call a separate case that can be individually tested.
3566         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3567         proc. Call cont_and_backtrace for each of the code paths that
3568         we want to test in the unwinder.
3569
3570 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3571
3572         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3573         the definition of struct S.
3574
3575 2016-11-11  Catherine Moore  <clm@codesourcery.com>
3576
3577         * gdb.base/dump.exp: Identify verilog format dump tests as such.
3578
3579 2016-11-09  Pedro Alves  <palves@redhat.com>
3580
3581         * gdb.base/commands.exp (runto_or_return): New procedure.
3582         (gdbvar_simple_if_test, gdbvar_simple_while_test)
3583         (gdbvar_complex_if_while_test, progvar_simple_if_test)
3584         (progvar_simple_while_test, progvar_complex_if_while_test)
3585         (if_while_breakpoint_command_test)
3586         (infrun_breakpoint_command_test, breakpoint_command_test)
3587         (user_defined_command_test, watchpoint_command_test)
3588         (test_command_prompt_position, redefine_hook_test)
3589         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3590         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3591         multi_line_input and multi_line.  Remove gdb_expect and
3592         gdb_stop_suppressing_tests uses.
3593         * lib/gdb.exp (valnum_re): New global.
3594         (multi_line_input): New procedure.
3595
3596 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
3597
3598         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3599         Remove.
3600         (test_setup): Define with proc_with_prefix.
3601         (test_cli_inferior): Likewise.
3602         (test_cli_thread): Likewise.
3603         (test_cli_frame): Likewise.
3604         (test_cli_select_frame): Likewise.
3605         (test_cli_up_down): Likewise.
3606         (test_mi_thread_select): Likewise.
3607         (test_mi_stack_select_frame): Likewise.
3608         (test_cli_in_mi_inferior): Likewise.
3609         (test_cli_in_mi_thread): Likewise.
3610         (test_cli_in_mi_frame): Likewise.
3611         (top level): Do not use with_test_prefix_procname.
3612
3613 2016-11-09  Pedro Alves  <palves@redhat.com>
3614
3615         * gdb.base/commands.exp (gdbvar_simple_if_test)
3616         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3617         (progvar_simple_if_test, progvar_simple_while_test)
3618         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3619         (infrun_breakpoint_command_test, breakpoint_command_test)
3620         (user_defined_command_test, watchpoint_command_test)
3621         (test_command_prompt_position, deprecated_command_test)
3622         (bp_deleted_in_command, temporary_breakpoint_commands)
3623         (stray_arg0_test, source_file_with_indented_comment)
3624         (recursive_source_test, if_commands_test)
3625         (error_clears_commands_left, redefine_hook_test)
3626         (redefine_backtrace_test): Use proc_with_prefix.
3627         * lib/gdb.exp (proc_with_prefix): New proc.
3628
3629 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3630
3631         * gdb.base/tui-layout.c: New file.
3632         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3633         disassembly window contains very long lines.
3634
3635 2016-11-08  Tom Tromey  <tom@tromey.com>
3636
3637         * gdb.python/py-value.exp (test_value_creation): Make "long" test
3638         depend on Python 2.
3639
3640 2016-11-08  Tom Tromey  <tom@tromey.com>
3641
3642         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3643         New method.
3644
3645 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
3646
3647         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
3648
3649 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
3650
3651         * gdb.rust/simple.rs: Add test for univariant enums without
3652         discriminants and for encoded struct-like enums.
3653
3654 2016-10-28  Pedro Alves  <palves@redhat.com>
3655
3656         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
3657         gdb_test_multiple, tighten regexps and match symtabs and line
3658         tables incrementally.
3659
3660 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
3661
3662         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
3663         general.
3664
3665 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
3666
3667         * gdb.base/exec-invalid-sysroot.exp: New file.
3668
3669 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3670
3671         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3672
3673 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3674
3675         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3676
3677 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
3678
3679         * gdb.base/killed-outside.exp: Remove $options from a call to
3680         `prepare_for_testing'.
3681
3682 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
3683
3684         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3685         Change test message.
3686
3687 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
3688
3689         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3690         Update comment.
3691
3692 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
3693
3694         * gdb.trace/mi-trace-save.exp: New file.
3695
3696 2016-10-13  Yao Qi  <yao.qi@linaro.org>
3697
3698         * gdb.base/code_elim.exp (get_var_address): Remove.
3699         * gdb.base/relocate.exp: Likewise.
3700         * gdb.base/shreloc.exp: Likewise.
3701         * lib/gdb.exp (get_var_address): New.
3702
3703 2016-10-13  Yao Qi  <yao.qi@linaro.org>
3704
3705         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
3706         floating point tests if $skip_float_test is false.
3707
3708 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
3709
3710         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
3711         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
3712         argc values.
3713         Add 1 to argc so we guarantee distinct initial/modified argc values.
3714
3715 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3716
3717         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
3718
3719 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3720
3721         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
3722         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3723         * gdb.arch/vsx-regs.exp: Likewise.
3724
3725 2016-10-07  Yao Qi  <yao.qi@linaro.org>
3726
3727         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
3728
3729 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
3730
3731         * gdb.python/python.exp: Test decode_line("*0").
3732
3733 2016-10-06  Doug Evans  <dje@google.com>
3734
3735         * gdb.python/py-value.exp (test_value_creation): Add test for large
3736         unsigned 64-bit value.
3737
3738 2016-10-06  Tom Tromey  <tom@tromey.com>
3739
3740         * gdb.compile/compile.exp: Change java tests to rust.
3741         * gdb.base/setshow.exp: Change java tests to rust.
3742         * gdb.base/default.exp: Remove java from language list.
3743         * README (Examples): Update language example.
3744         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
3745         test.
3746         * lib/gdb.exp (skip_java_tests): Remove.
3747         * lib/java.exp: Remove.
3748         * gdb.java: Remove.
3749
3750 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
3751
3752         * gdb.arch/mips-fcr.exp: New test.
3753         * gdb.arch/mips-fcr.c: Source for the new test.
3754
3755 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
3756
3757         * gdb.base/solib-disc.exp: Use `standard_output_file'
3758         throughout.
3759
3760 2016-10-06  Pedro Alves  <palves@redhat.com>
3761
3762         * gdb.base/jit-simple-dl.c: New file.
3763         * gdb.base/jit-simple-jit.c: New file, factored out from ...
3764         * gdb.base/jit-simple.c: ... this.
3765         * gdb.base/jit-simple.exp (jit_run): Delete.
3766         (build_jit): New proc.
3767         (jit_test_reread): Recompile either the main program or the shared
3768         library, depending on what is being tested.  Skip changing address
3769         if caller wants to.  Compare before/after addresses.  If testing
3770         standalone, explicitly load the binary.  Test "maint info
3771         breakpoints".
3772         (top level): Add "standalone vs shared lib" and "change address"
3773         vs "same address" axes.
3774
3775 2016-10-06  Pedro Alves  <palves@redhat.com>
3776
3777         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3778         call.
3779         (jit_run): Delete.
3780         (jit_test_reread): Use with_test_prefix.  Reload the main binary
3781         explicitly.  Compare the before/after addresses of the JIT
3782         descriptor.
3783
3784 2016-08-15  Doug Evans  <dje@google.com>
3785
3786         * gdb.xml/extra-regs.xml: Update, end field now required, default type
3787         for single bitfields is bool.
3788         * gdb.xml/tdesc-regs.exp: Ditto.
3789
3790 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3791
3792         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3793
3794 2016-10-05  Yao Qi  <yao.qi@linaro.org>
3795
3796         * lib/gdb.exp (support_complex_tests): Return zero if
3797         gdb_skip_float_test return true.
3798
3799 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
3800             Simon Marchi  <simon.marchi@ericsson.com>
3801
3802         PR gdb/20487
3803         * gdb.mi/user-selected-context-sync.exp: New file.
3804         * gdb.mi/user-selected-context-sync.c: New file.
3805
3806 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
3807             Simon Marchi  <simon.marchi@ericsson.com>
3808
3809         PR gdb/20487
3810         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3811         =thread-select-event check.
3812
3813 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
3814
3815         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3816         the compulsory L operand changes.
3817         * gdb.arch/powerpc-power.s: Likewise.
3818
3819 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3820
3821         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3822         * gdb.base/jit-attach-pie.c: New file.
3823         * gdb.base/jit-attach-pie.exp: New file.
3824
3825 2016-09-28  Pedro Alves  <palves@redhat.com>
3826
3827         * gdb.base/infcall-input.c: New file.
3828         * gdb.base/infcall-input.exp: New file.
3829
3830 2016-09-22  Yao Qi  <yao.qi@linaro.org>
3831
3832         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3833         (gdb_exit): Rename it to ...
3834         (gdbserver_gdb_exit): ...  Close GDBserver.
3835         (gdb_exit): New proc, call gdbserver_gdb_exit.
3836         (mi_gdb_exit): Likewise.
3837
3838 2016-09-22  Yao Qi  <yao.qi@linaro.org>
3839
3840         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
3841         path.
3842         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
3843         Remove duplication.
3844
3845 2016-09-22  Yao Qi  <yao.qi@linaro.org>
3846
3847         * lib/gdbserver-support.exp: Check the existence of
3848         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
3849
3850 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
3851
3852         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
3853
3854 2016-09-21  Tom Tromey  <tom@tromey.com>
3855
3856         PR gdb/20604:
3857         * gdb.base/quit.exp: New file.
3858
3859 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
3860
3861         * .gitignore: New file.
3862
3863 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
3864
3865         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
3866         throughout.
3867
3868 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3869
3870         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
3871
3872 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3873
3874         * gdb.cp/casts.cc (decltype): Move it ...
3875         (main): ... with its call to ...
3876         * gdb.cp/casts03.cc: ... a new file.
3877         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
3878
3879 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3880
3881         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
3882
3883 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
3884
3885         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
3886         and sync up the test with tests in gas/testsuite/gas/ppc.
3887         * gdb.arch/powerpc-power.exp: Likewise.
3888
3889 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3890
3891         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
3892
3893 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
3894             Jan Kratochvil  <jan.kratochvil@redhat.com>
3895
3896         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
3897         make m1's definition to be different from m2's.  Use 'dummy' as an
3898         argument for probe 'two'.
3899
3900 2016-09-10  Jon Beniston  <jon@beniston.com>
3901
3902         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
3903         for sim target.
3904
3905 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3906
3907         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
3908         variable declaration.
3909         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
3910         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
3911         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
3912         received HWCAP as its argument.
3913
3914 2016-09-06  Pedro Alves  <palves@redhat.com>
3915
3916         * gdb.base/new-ui-pending-input.c: New file.
3917         * gdb.base/new-ui-pending-input.exp: New file.
3918         * gdb.exp (clear_gdb_spawn_id): New procedure.
3919         (with_spawn_id): Check whether gdb_spawn_id exists before
3920         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
3921         on exit.
3922
3923 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
3924
3925         * gdb.base/float128.c: New file.
3926         * gdb.base/float128.exp: Likewise.
3927         * gdb.base/floatn.c: Likewise.
3928         * gdb.base/floatn.exp: Likewise.
3929
3930 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
3931
3932         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
3933
3934 2016-09-05  Pedro Alves  <palves@redhat.com>
3935
3936         PR backtrace/19927
3937         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
3938         unwinders are immediately called as side effect of "source" or
3939         "disable unwinder" commands.
3940         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
3941
3942 2016-09-02  Yao Qi  <yao.qi@linaro.org>
3943
3944         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
3945         is true and $type is "float" or "double".
3946
3947 2016-09-02  Yao Qi  <yao.qi@linaro.org>
3948
3949         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
3950         true.
3951         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
3952         * gdb.base/call-rt-st.exp: Likewise.
3953         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
3954         return value instead of gdb,skip_float_test.
3955         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
3956         (do_function_calls): Use its return value instead of
3957         gdb,skip_float_test.
3958         * gdb.base/finish.exp: Likewise.
3959         * gdb.base/funcargs.exp: Likewise.
3960         * gdb.base/return.exp: Likewise.
3961         * gdb.base/return2.exp: Likewise.
3962         * gdb.base/varargs.exp: Likewise.
3963         * lib/gdb.exp (gdb_skip_float_test): Change it to
3964         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
3965
3966 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3967
3968         * gdb.multi/tids.exp: Test "thread apply all".
3969
3970 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3971
3972         * gdb.base/default.exp (tty): Remove.
3973
3974 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
3975
3976         * gdb.python/py-recurse-unwind.c: New file.
3977         * gdb.python/py-recurse-unwind.py: New file.
3978         * gdb.python/py-recurse-unwind.exp: New file.
3979
3980 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
3981
3982         * gdb.base/set-inferior-tty.exp: New file.
3983         * gdb.base/set-inferior-tty.c: New file.
3984
3985 2016-08-23  Pedro Alves  <palves@redhat.com>
3986
3987         PR gdb/20494
3988         * gdb.base/new-ui-echo.c: New file.
3989         * gdb.base/new-ui-echo.exp: New file.
3990
3991 2016-08-23  Yao Qi  <yao.qi@linaro.org>
3992
3993         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3994         gdbserver_spawn.
3995         * gdb.server/connect-without-multi-process.exp (do_test):
3996         Likewise.
3997
3998 2016-08-23  Yao Qi  <yao.qi@linaro.org>
3999
4000         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4001         standalone_txt.  Delete gdb_txt and standalone_txt on host
4002         and target.  Spawn the binary on target.  Copy files from
4003         target to host.
4004
4005 2016-08-22  Pedro Alves  <palves@redhat.com>
4006
4007         PR gdb/20505
4008         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
4009         with_test_prefix.  Factor out bits to ...
4010         (test_no_vdso): ... this new procedure.
4011
4012 2016-08-19  Carl Love  <cel@us.ibm.com>
4013
4014         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4015         maintaining separate logic for constructing the output path.
4016         * gdb.arch/powerpc-d128-regs.exp: Likewise.
4017         * gdb.arch/ppc-dfp.exp: Likewise.
4018         * gdb.arch/ppc-fp.exp: Likewise.
4019         * gdb.arch/vsx-regs.exp: Likewise.
4020         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4021         binprefix for generating the additional binary files.
4022
4023 2016-08-19  Pedro Alves  <palves@redhat.com>
4024
4025         * gdb.trace/mi-trace-frame-collected.exp
4026         (test_trace_frame_collected): On x32, expect two registers.
4027
4028 2016-08-18  Carl Love  <cel@us.ibm.com>
4029
4030         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4031         and sync up the test with tests in gas/testsuite/gas/ppc.
4032         * gdb.arch/powerpc-power.exp: Likewise.
4033
4034 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
4035
4036         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4037         expected error message.
4038
4039 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
4040
4041         * gdb.multi/remove-inferiors.exp: New file.
4042         * gdb.multi/remove-inferiors.c: New file.
4043
4044 2016-08-12  Yao Qi  <yao.qi@linaro.org>
4045
4046         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4047         argument list.
4048
4049 2016-08-10  Pedro Alves  <palves@redhat.com>
4050
4051         PR gdb/19187
4052         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4053         setup_kfails.
4054
4055 2016-08-09  Pedro Alves  <palves@redhat.com>
4056             Simon Marchi  <simon.marchi@ericsson.com>
4057
4058         PR gdb/20418
4059         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4060         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4061
4062 2016-08-09  Pedro Alves  <palves@redhat.com>
4063
4064         PR mi/20431
4065         * gdb.mi/mi-cmd-error.exp: New file.
4066
4067 2016-08-09  Pedro Alves  <palves@redhat.com>
4068
4069         PR gdb/18653
4070         * gdb.base/signals-state-child.c: New file.
4071         * gdb.base/signals-state-child.exp: New file.
4072         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4073
4074 2016-08-09  Pedro Alves  <palves@redhat.com>
4075
4076         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4077
4078 2016-08-03  Tom Tromey  <tom@tromey.com>
4079
4080         PR python/18565:
4081         * gdb.python/py-frame-inline.exp: Add Frame.function test.
4082
4083 2016-08-01  Yao Qi  <yao.qi@linaro.org>
4084
4085         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4086         variable mode to "multi-process" if $multi_process is 1, otherwise
4087         set it to "single-process".
4088
4089 2016-08-01  Yao Qi  <yao.qi@linaro.org>
4090
4091         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4092         * gdb.cp/cpexprs.exp: Likewise.
4093         * gdb.cp/m-static.exp: Likewise.
4094
4095 2016-07-26  Tom Tromey  <tom@tromey.com>
4096
4097         PR python/20190:
4098         * gdb.threads/tls.exp (check_thread_local): Add python symbol
4099         test.
4100
4101 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
4102
4103         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4104         selecting assembly source files.
4105         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4106         assembly source files.
4107         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4108         assembly source files.
4109         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4110         selecting assembly source files.
4111
4112 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
4113
4114         * gdb.base/new-ui.exp (do_test_invalid_args): New
4115         procedure.
4116
4117 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
4118
4119         * gdb.btrace/reconnect.c: New file.
4120         * gdb.btrace/reconnect.exp: New file.
4121
4122 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
4123
4124         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4125         to test_catch_syscall_group.
4126         (test_catch_syscall_group): New.
4127
4128 2016-07-21  Tom Tromey  <tom@tromey.com>
4129
4130         * gdb.rust/simple.rs (main): Use empty struct expression.
4131         * gdb.rust/simple.exp: Add tests for empty struct expression.
4132
4133 2016-07-21  Yao Qi  <yao.qi@linaro.org>
4134
4135         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4136         if gdb_skip_xml_test is true on some targets.
4137
4138 2016-07-21  Yao Qi  <yao.qi@linaro.org>
4139
4140         * gdb.server/solib-list.exp: Unset last_loaded_file.
4141
4142 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4143
4144         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4145         "step into captured_main (args)".
4146
4147 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4148
4149         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4150
4151 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4152
4153         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4154
4155 2016-07-19  Pedro Alves  <palves@redhat.com>
4156
4157         * gdb.opt/inline-break.exp: Remove optimize=-O2.
4158         * gdb.opt/inline-bt.exp: Likewise.
4159         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4160         additional_flags=-Winline.
4161         * gdb.opt/inline-locals.exp: Likewise.
4162         * gdb.opt/inline-markers.c (ATTR): Define.
4163         (inlined_fn): Use it.
4164
4165 2016-07-19  Yao Qi  <yao.qi@linaro.org>
4166
4167         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4168         (test_with_self): Remove some code.  Remove argument executable.
4169         (top-level): Use do_self_tests.
4170
4171 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
4172             Don Breazeal <donb@codesourcery.com>
4173
4174         * gdb.base/maint.exp: Escape paths used in regular expressions.
4175         * gdb.stabs/weird.exp: Likewise.
4176
4177 2016-07-13  Tom Tromey  <tom@tromey.com>
4178
4179         PR python/15620, PR python/18620:
4180         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4181         (test_bkpt_events): New procs.
4182
4183 2016-07-13  Tom Tromey  <tom@tromey.com>
4184
4185         PR python/17698:
4186         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4187         test.
4188         (test_watchpoints): Likewise.
4189         (test_bkpt_pending): New proc.
4190
4191 2016-07-13  Tom Tromey  <tom@tromey.com>
4192
4193         PR cli/18053:
4194         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4195         completion test.
4196
4197 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4198
4199         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4200         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4201         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4202         f_label.
4203         (g): Rename g_end_lbl to g_label.
4204         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4205         low_pc and high_pc.
4206         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4207
4208 2016-07-12  Tom Tromey  <tom@tromey.com>
4209
4210         PR python/19293:
4211         * gdb.python/py-unwind-maint.exp: Update tests.
4212
4213 2016-07-12  Yao Qi  <yao.qi@linaro.org>
4214
4215         * lib/selftest-support.exp (selftest_setup): Match the output
4216         when captured_main is inlined.
4217
4218 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4219
4220         * gdb.fortran/derived-types.exp (result_line, result_line_2):
4221         New variables.
4222         (print this%a, print this%b, print this): New tests.
4223         * gdb.fortran/derived-types.f90 (this): New object and
4224         initialization.
4225
4226 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
4227
4228         * gdb.ada/arraydim.exp: Remove extra directory level in build
4229         directory.
4230
4231 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
4232
4233         * lib/ada.exp: Remove extra directory level in build directory.
4234         * gdb.ada/cond_lang.exp: Likewise.
4235         * gdb.ada/exec_changed.exp: Likewise.
4236         * gdb.ada/lang_switch.exp: Likewise.
4237
4238 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
4239
4240         * simple.rs: Add test for raw pointer subscripting.
4241         * simple.exp: Add test expectations.
4242
4243 2016-07-05  Yao Qi  <yao.qi@linaro.org>
4244
4245         * gdb.mi/mi-reverse.exp: Match =record-started output.
4246
4247 2016-07-01  Pedro Alves  <palves@redhat.com>
4248
4249         * gdb.base/jit-reader.exp (info_registers_current_frame): New
4250         procedure.
4251         (jit_reader_test): Test the jit reader's unwinder.
4252         * gdb.base/jithost.c (jit_function_00_code): New global.
4253         (main): Use memcpy to fill in the mmapped code, instead of poking
4254         bytes manually here.
4255         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4256         value.
4257         (read_debug_info): Save the function's range.
4258         (read_sp): New function.
4259         (unwind_frame): Use it.  Also unwind RBP.
4260         (get_frame_id): Use read_sp.
4261         (gdb_init_reader): Use calloc instead of malloc.
4262         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4263         parameter.  Use gdb_test_multiple.
4264
4265 2016-07-01  Pedro Alves  <palves@redhat.com>
4266             Antoine Tremblay  <antoine.tremblay@ericsson.com>
4267
4268         * gdb.threads/process-dies-while-detaching.c: New file.
4269         * gdb.threads/process-dies-while-detaching.exp: New file.
4270
4271 2016-07-01  Pedro Alves  <palves@redhat.com>
4272
4273         * gdb.multi/watchpoint-multi-exit.c: New file.
4274         * gdb.multi/watchpoint-multi-exit.exp: New file.
4275
4276 2016-06-30  Pedro Alves  <palves@redhat.com>
4277
4278         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4279         unset inferior_spawn_id.
4280
4281 2016-06-30  Pedro Alves  <palves@redhat.com>
4282
4283         * lib/mi-support.exp (default_mi_gdb_start): Declare global
4284         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4285
4286 2016-06-29  Yao Qi  <yao.qi@linaro.org>
4287
4288         * gdb.base/return.c: Add copyright header.
4289
4290 2016-06-29  Tom Tromey  <tom@tromey.com>
4291
4292         PR python/20129:
4293         * gdb.python/py-framefilter.exp: Add tests for setting priority
4294         and disabling of non-existent frame filter.
4295
4296 2016-06-29  Yao Qi  <yao.qi@linaro.org>
4297
4298         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4299         0x0f07ff.
4300
4301 2016-06-28  Yao Qi  <yao.qi@linaro.org>
4302
4303         * gdb.base/catch-syscall.exp: Remove check on isnative and target
4304         triplets.  Start gdb, execute catch syscall, and continue.  Check
4305         gdb's output to determine catch syscall is supported.
4306
4307 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
4308
4309         * gdb.rust/simple.rs: Add test for returning unit in a function.
4310         * gdb.rust/simple.exp: Add expectation for functions returning
4311         unit.
4312
4313 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
4314
4315         * gdb.python/py-breakpoint-create-fail.c,
4316         gdb.python/py-breakpoint-create-fail.exp,
4317         gdb.python/py-breakpoint-create-fail.py: New testcase.
4318
4319 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
4320
4321         PR gdb/20239
4322         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4323         * gdb.rust/simple.exp: Add test expectations for new NonZero
4324         tests.
4325
4326 2016-06-24  David Taylor  <dtaylor@emc.com>
4327
4328         * gdb.base/offsets.exp: New file.
4329         * gdb.base/offsets.c: New file.
4330
4331 2016-06-23  Tom Tromey  <tom@tromey.com>
4332
4333         PR gdb/16483:
4334         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4335         before any filters are loaded.
4336
4337 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4338
4339         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4340         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4341         structs.
4342         * gdb.fortran/derived-type-function.exp: New file.
4343         * gdb.fortran/derived-type-function.f90: New file.
4344
4345
4346 2016-06-21  Pedro Alves  <palves@redhat.com>
4347
4348         * gdb.base/new-ui.exp: New file.
4349         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4350         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4351         (with_spawn_id): New procedure.
4352
4353 2016-06-21  Pedro Alves  <palves@redhat.com>
4354
4355         * gdb.mi/mi-exec-run.exp: New file.
4356
4357 2016-06-21  Pedro Alves  <palves@redhat.com>
4358
4359         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4360         breakpoint command's output on the main UI.
4361         (test_break): New procedure, factored out from calls in the top
4362         level.
4363         (top level): Use foreach_with_prefix to test MI as main UI and as
4364         separate UI.
4365
4366 2016-06-21  Pedro Alves  <palves@redhat.com>
4367
4368         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4369         (test_awatch_creation_and_listing)
4370         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4371         Remove 'type' parameter.
4372         (test_watchpoint_all): New parameter mi_mode.  Remove
4373         with_test_prefix.
4374         (top level): Use foreach_with_prefix, and add main/separate UI MI
4375         testing axis.
4376
4377 2016-06-21  Pedro Alves  <palves@redhat.com>
4378
4379         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4380         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4381         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4382         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4383         (gdb_main_spawn_id, mi_spawn_id): Declare and
4384         comment.
4385         (mi_create_inferior_pty): New procedure,
4386         factored out from default_mi_gdb_start.
4387         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4388         procedures.
4389         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4390         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4391         Use mi_create_inferior_pty.
4392         (mi_gdb_start): Use eval to pass down args list.
4393
4394 2016-06-21  Pedro Alves  <palves@redhat.com>
4395
4396         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4397         * gdb.opt/inline-cmds.exp: Add MI tests.
4398
4399 2016-06-21  Pedro Alves  <palves@redhat.com>
4400
4401         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4402
4403 2016-06-21  Pedro Alves  <palves@redhat.com>
4404
4405         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4406         (top level): Use it instead of mi_execute_to.
4407
4408 2016-06-21  Pedro Alves  <palves@redhat.com>
4409
4410         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4411         (cont_handler_str): New.
4412         (signal_stop_handler): Set stop_handler_str instead of printing to
4413         stdout.
4414         (continue_handler): Set cont_handler_str instead of printing to
4415         stdout.
4416         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4417         mi_send_resuming_command.  Print stop_handler_str and
4418         cont_handler_str instead of expecting the python events print
4419         directly.
4420
4421 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
4422
4423         * gdb.base/jit-reader.exp: New file.
4424         * gdb.base/jithost.c: New file.
4425         * gdb.base/jithost.h: New file.
4426         * gdb.base/jitreader.c : New file.
4427         * gdb.base/jit-protocol.h: New file.
4428
4429 2016-06-17  Yao Qi  <yao.qi@linaro.org>
4430
4431         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4432         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
4433         and detach-on-fork.  Adjust tests.
4434         (top level): Invoke break_cond_on_syscall with combinations of
4435         syscall, follow-fork-mode and detach-on-fork.
4436
4437 2016-06-17  Yao Qi  <yao.qi@linaro.org>
4438
4439         * gdb.base/step-over-exit.c: New.
4440         * gdb.base/step-over-exit.exp: New.
4441
4442 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
4443
4444         * gdb.base/float.exp: Add target check for nds32*-*-*.
4445         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4446
4447 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
4448
4449         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4450         for unsupported target features.
4451         * gdb.base/call-rt-st.exp: Likewise.
4452         * gdb.base/call-sc.exp: Likewise.
4453         * gdb.base/call-signal-resume.exp: Likewise.
4454         * gdb.base/call-strs.exp: Likewise.
4455         * gdb.base/callexit.exp: Likewise.
4456         * gdb.base/callfuncs.exp: Likewise.
4457         * gdb.base/nodebug.exp: Likewise.
4458         * gdb.base/printcmds.exp: Likewise.
4459         * gdb.base/ptype.exp: Likewise.
4460         * gdb.base/structs.exp: Likewise.
4461         * gdb.base/unwindonsignal.exp: Likewise.
4462         * gdb.cp/gdb2495.exp: Likewise.
4463         * gdb.cp/templates.exp: Likewise.
4464         * gdb.cp/virtfunc.exp: Likewise.
4465         * gdb.threads/hand-call-in-threads.exp: Likewise.
4466         * gdb.threads/interrupted-hand-call.exp: Likewise.
4467         * gdb.threads/thread-unwindonsignal.exp: Likewise.
4468
4469 2016-06-10  Tom Tromey  <tom@tromey.com>
4470
4471         PR rust/20110:
4472         * gdb.rust/expr.exp: Add test for integer constant larger than
4473         i32.
4474
4475 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
4476
4477         * gdb.fortran/nested-funcs.exp: New.
4478         * gdb.fortran/nested-funcs.f90: New.
4479
4480 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
4481
4482         * gdb.base/examine-backward.c: New file.
4483         * gdb.base/examine-backward.exp: New file.
4484
4485 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
4486
4487         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4488         matching.
4489
4490 2016-06-02  Tom Tromey  <tom@tromey.com>
4491
4492         PR python/18984:
4493         * gdb.python/py-shared.exp: Add solib_name test.
4494
4495 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
4496
4497         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4498
4499 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
4500
4501         PR c++/19893
4502         * gdb.dwarf2/implref.exp: Rename to...
4503         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
4504         * gdb.dwarf2/implref-array.c: New file.
4505         * gdb.dwarf2/implref-array.exp: Likewise.
4506         * gdb.dwarf2/implref-global.c: Likewise.
4507         * gdb.dwarf2/implref-global.exp: Likewise.
4508         * gdb.dwarf2/implref-struct.c: Likewise.
4509         * gdb.dwarf2/implref-struct.exp: Likewise.
4510
4511 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4512
4513         * gdb.trace/trace-condition.exp: Add 64bit tests.
4514
4515 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4516
4517         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4518         bits types.
4519         (main): Adapt to 8 to 64 bits types.
4520         * gdb.trace/trace-condition.exp: Add new tests.
4521
4522 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4523
4524         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4525
4526 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4527
4528         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4529         Move condition tests...
4530         * gdb.trace/trace-condition.exp: Here.
4531
4532 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4533
4534         * gdb.trace/trace-condition.exp: Add counter-case tests.
4535
4536 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4537
4538         PR c++/15231
4539         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4540         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4541
4542 2016-05-27  Pedro Alves  <palves@redhat.com>
4543
4544         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4545         New procedure.
4546         (top level): Call it, and bail out of DejaGnu is known to be bad.
4547
4548 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
4549
4550         * gdb.base/whatis.c: Extend the test case.
4551         * gdb.base/whatis.exp: Add additional tests.
4552
4553 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4554
4555 * gdb.fortran/type.f90: Add pointer variable.
4556 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4557
4558 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4559
4560         * gdb.fortran/vla-type.exp: Fix testcase name.
4561
4562 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4563
4564         * gdb.fortran/vla-type.exp: Access elements in nested structs.
4565
4566 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4567
4568         * gdb.fortran/type.f90: Add nested structures.
4569         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4570         * gdb.fortran/derived-type.exp: Adapt expected output.
4571         * gdb.fortran/vla-type.exp: Adapt expected output.
4572
4573 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4574
4575         * gdb.fortran/whatis_type.exp: Adapt expected output.
4576
4577 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4578
4579         * gdb.fortran/print_type.exp: Fix expected output.
4580         * gdb.fortran/whatis_type.exp: Fix expected output.
4581
4582 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
4583
4584         * gdb.fortran/whatis_type.exp: Use multi_line.
4585
4586 2016-05-24  Tom Tromey  <tom@tromey.com>
4587
4588         PR python/17386:
4589         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4590         use value as an index.
4591
4592 2016-05-23  Tom Tromey  <tom@tromey.com>
4593
4594         PR python/17981:
4595         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4596         no-breakpoint case.
4597
4598 2016-05-24  Pedro Alves  <palves@redhat.com>
4599
4600         PR gdb/19828
4601         * gdb.threads/clone-attach-detach.c: New file.
4602         * gdb.threads/clone-attach-detach.exp: New file.
4603
4604 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
4605
4606         * gdb.base/annota-input-while-running.exp: Fix syntax error.
4607
4608 2016-05-23  Tom Tromey  <tom@tromey.com>
4609
4610         PR python/19438, PR python/18393:
4611         * gdb.python/py-progspace.exp: Add "dir" test.
4612         * gdb.python/py-objfile.exp: Add "dir" test.
4613
4614 2016-05-23  Yao Qi  <yao.qi@linaro.org>
4615
4616         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4617         * gdb.arch/thumb2-it.exp: Likewise.
4618
4619 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
4620
4621         * gdb.mi/mi-threads-interrupt.c: New file.
4622         * gdb.mi/mi-threads-interrupt.exp: New file.
4623
4624 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
4625
4626         PR gdb/18077
4627         * gdb.mi/mi-async-run.exp: New file.
4628         * gdb.mi/mi-async-run.c: New file.
4629
4630 2016-05-17  Tom Tromey  <tom@tromey.com>
4631             Manish Goregaokar <manishsmail@gmail.com>
4632
4633         * lib/rust-support.exp: New file.
4634         * lib/gdb.exp (skip_rust_tests): New proc.
4635         (build_executable_from_specs): Handle rust.
4636         * lib/future.exp (gdb_find_rustc): New proc.
4637         (gdb_default_target_compile): Handle rust.
4638         * gdb.rust/expr.exp: New file.
4639         * gdb.rust/generics.exp: New file.
4640         * gdb.rust/generics.rs: New file.
4641         * gdb.rust/methods.exp: New file.
4642         * gdb.rust/methods.rs: New file.
4643         * gdb.rust/modules.exp: New file.
4644         * gdb.rust/modules.rs: New file.
4645         * gdb.rust/simple.exp: New file.
4646         * gdb.rust/simple.rs: New file.
4647
4648 2016-05-17  Tom Tromey  <tom@tromey.com>
4649
4650         * gdb.base/default.exp (set language): Add rust.
4651
4652 2016-05-17  Tom Tromey  <tom@tromey.com>
4653
4654         * gdb.gdb/unittest.exp: New file.
4655
4656 2016-05-16  Yao Qi  <yao.qi@linaro.org>
4657
4658         * gdb.base/batch-preserve-term-settings.exp: Remove variable
4659         shell_prompt.  Update shell_prompt_re.
4660
4661 2016-05-12  Doug Evans  <dje@google.com>
4662
4663         PR symtab/19999
4664         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
4665         $options when building executable.
4666         * gdb.dwarf2/fission-loclists-pie.S: New file.
4667         * gdb.dwarf2/fission-loclists-pie.exp: New file.
4668
4669 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
4670
4671         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
4672         of [is_remote target],
4673
4674 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
4675
4676         * lib/gdb.exp (use_gdb_stub): New procedure.
4677
4678 2016-05-03  Yunlian Jiang <yunlian@google.com>
4679             Doug Evans  <dje@google.com>
4680
4681         PR symtab/19914
4682         * gdb.dwarf2/dwp-sepdebug.c: New file.
4683         * gdb.dwarf2/dwp-sepdebug.exp: New file.
4684
4685 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
4686
4687         * gdb.base/detach.exp: Remove is_remote check.
4688
4689 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
4690
4691         * gdb.base/annota-input-while-running.exp: Don't check for
4692         [is_remote target].  Enable annotations after running to main.
4693         Remove unused "set test..." line.
4694
4695 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
4696
4697         * gdb.trace/trace-enable-disable.exp: New file.
4698         * gdb.trace/trace-enable-disable.c: New file.
4699
4700 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
4701
4702         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4703         use it in info sharedlibrary test.
4704         * gdb.trace/ftrace-lock.exp: Likewise.
4705         * gdb.trace/ftrace.exp: Likewise.
4706         * gdb.trace/range-stepping.exp: Likewise.
4707         * gdb.trace/trace-break.exp: Likewise.
4708         * gdb.trace/trace-condition.exp: Likewise.
4709         * gdb.trace/trace-mt.exp: Likewise.
4710
4711 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
4712
4713         * lib/gdb.exp (gdb_load_shlibs): Rename to...
4714         (gdb_load_shlib): ... this.
4715         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
4716         gdb_load_shlib.
4717         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
4718         * gdb.base/ctxobj.exp: Likewise.
4719         * gdb.base/dprintf-pending.exp: Likewise.
4720         * gdb.base/dso2dso.exp: Likewise.
4721         * gdb.base/fixsection.exp: Likewise.
4722         * gdb.base/gcore-relro.exp: Likewise.
4723         * gdb.base/gdb1555.exp: Likewise.
4724         * gdb.base/global-var-nested-by-dso.exp: Likewise.
4725         * gdb.base/gnu-ifunc.exp: Likewise.
4726         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
4727         * gdb.base/jit-so.exp (one_jit_test): Likewise.
4728         * gdb.base/pending.exp: Likewise.
4729         * gdb.base/print-file-var.exp: Likewise.
4730         * gdb.base/print-symbol-loading.exp: Likewise.
4731         * gdb.base/shlib-call.exp: Likewise.
4732         * gdb.base/shreloc.exp: Likewise.
4733         * gdb.base/so-impl-ld.exp: Likewise.
4734         * gdb.base/solib-disc.exp: Likewise.
4735         * gdb.base/solib-nodir.exp: Likewise.
4736         * gdb.base/solib-overlap.exp: Likewise.
4737         * gdb.base/solib-symbol.exp: Likewise.
4738         * gdb.base/solib-weak.exp (do_test): Likewise.
4739         * gdb.base/sym-file.exp: Likewise.
4740         * gdb.base/symtab-search-order.exp: Likewise.
4741         * gdb.base/type-opaque.exp: Likewise.
4742         * gdb.base/unload.exp: Likewise.
4743         * gdb.base/watchpoint-solib.exp: Likewise.
4744         * gdb.compile/compile.exp: Likewise.
4745         * gdb.cp/gdb2384.exp: Likewise.
4746         * gdb.cp/infcall-dlopen.exp: Likewise.
4747         * gdb.cp/re-set-overloaded.exp: Likewise.
4748         * gdb.fortran/library-module.exp: Likewise.
4749         * gdb.opt/solib-intra-step.exp: Likewise.
4750         * gdb.python/py-finish-breakpoint.exp: Likewise.
4751         * gdb.python/py-shared.exp: Likewise.
4752         * gdb.reverse/solib-precsave.exp: Likewise.
4753         * gdb.reverse/solib-reverse.exp: Likewise.
4754         * gdb.server/solib-list.exp: Likewise.
4755         * gdb.threads/dlopen-libpthread.exp: Likewise.
4756         * gdb.threads/tls-shared.exp: Likewise.
4757         * gdb.threads/tls-so_extern.exp: Likewise.
4758         * gdb.trace/change-loc.exp: Likewise.
4759         * gdb.trace/ftrace-lock.exp: Likewise.
4760         * gdb.trace/ftrace.exp: Likewise.
4761         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4762         * gdb.trace/pending.exp: Likewise.
4763         * gdb.trace/range-stepping.exp: Likewise.
4764         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4765         (strace_info_marker): Likewise.
4766         (strace_probe_marker): Likewise.
4767         (strace_trace_on_same_addr): Likewise.
4768         (strace_trace_on_diff_addr): Likewise.
4769         * gdb.trace/trace-break.exp: Likewise.
4770         * gdb.trace/trace-condition.exp: Likewise.
4771         * gdb.trace/trace-mt.exp: Likewise.
4772
4773 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
4774
4775         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
4776         result of gdb_remote_download.
4777         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4778         * gdb.base/dso2dso.exp: Likewise.
4779         * gdb.base/global-var-nested-by-dso.exp: Likewise.
4780         * gdb.base/print-file-var.exp: Likewise.
4781         * gdb.base/shlib-call.exp: Likewise.
4782         * gdb.base/shreloc.exp: Likewise.
4783         * gdb.base/solib-overlap.exp: Likewise.
4784         * gdb.base/solib-weak.exp (do_test): Likewise.
4785         * gdb.base/unload.exp: Likewise.
4786
4787 2016-04-27  Yao Qi  <yao.qi@linaro.org>
4788
4789         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4790         exists.
4791
4792 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
4793
4794         * vla-type.exp: Print structure from toplevel.
4795
4796 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
4797
4798         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4799         of dynamic types.
4800         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4801         of dynamic types.
4802
4803 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
4804
4805         * gdb.fortran/vla-type.f90: New file.
4806         * gdb.fortran/vla-type.exp: New file.
4807
4808 2016-04-25  Yao Qi  <yao.qi@linaro.org>
4809
4810         * gdb.base/branch-to-self.c: New file.
4811         * gdb.base/branch-to-self.exp: New file.
4812
4813 2016-04-22  Yao Qi  <yao.qi@linaro.org>
4814
4815         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4816         more after $hex.
4817
4818 2016-04-22  Yao Qi  <yao.qi@linaro.org>
4819
4820         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4821         * gdb.base/annota3.exp: Likewise.
4822
4823 2016-04-22  Yao Qi  <yao.qi@linaro.org>
4824
4825         * gdb.reverse/step-precsave.exp: Do one step and test program
4826         stops in "callee" and do multiple steps until program goes out
4827         of "callee".
4828         * gdb.reverse/step-reverse.exp: Likewise.
4829
4830 2016-04-22  Yao Qi  <yao.qi@linaro.org>
4831
4832         * gdb.trace/signal.exp: Also pass if
4833         $tracepoint_hits($i) > $iterations.
4834
4835 2016-04-22  Yao Qi  <yao.qi@linaro.org>
4836
4837         * gdb.trace/signal.c: New file.
4838         * gdb.trace/signal.exp: New file.
4839
4840 2016-04-19  Doug Evans  <xdje42@gmail.com>
4841
4842         * gdb.base/bad-file.exp: New file.
4843
4844 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
4845
4846         * gdb.dwarf2/implref.exp: New file.
4847
4848 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
4849
4850         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4851         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
4852         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
4853         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
4854         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
4855         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
4856         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
4857         * lib/fortran.exp (fortran_int4): New procedure.
4858         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
4859         (fortran_logical4): Likewise.
4860
4861 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
4862
4863         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
4864
4865 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
4866
4867         * lib/compiler.c: Add Intel specific preprocessor macros.
4868         * lib/compiler.cc: Likewise.
4869
4870 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
4871
4872         * gdb.server/connect-with-no-symbol-file.c: New file.
4873         * gdb.server/connect-with-no-symbol-file.exp: New file.
4874
4875 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
4876
4877         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
4878
4879 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
4880
4881         * boards/gdbserver-base.exp (${board}_download): Copy source file to
4882         standard output directory.
4883
4884 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4885
4886         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
4887
4888 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
4889
4890         * gdb.btrace/instruction_history.c (loop): Add declaration.
4891
4892 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
4893
4894         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
4895
4896 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
4897
4898         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
4899         parentheses to print.
4900         (continue_handler): Likewise.
4901
4902 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
4903
4904         * gdb.server/solib-list.exp: Remove is_remote check.
4905         Pass shlib= to gdb_compile.  Don't link shared library with
4906         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
4907         Run binary filename through "readlink -f" on the target.
4908
4909 2016-04-08  Pedro Alves  <palves@redhat.com>
4910
4911         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
4912         interpreter filename as argument to gdbserver_spawn.
4913         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4914         Return empty if $last_loaded_file does not exist.
4915
4916 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4917
4918         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4919         * gdb.base/jit-main.c: Use exit after usage.
4920
4921 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4922
4923         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
4924         GDBHISTSIZE prior to the tests.
4925         * gdb.base/gdbinit-history.exp: Likewise.
4926
4927 2016-04-07  Pedro Alves  <palves@redhat.com>
4928
4929         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
4930         instead of build_executable.  Use gdb_load_shlibs.
4931
4932 2016-04-07  Yao Qi  <yao.qi@linaro.org>
4933
4934         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
4935         Execute "si" command.
4936
4937 2016-04-07  Yao Qi  <yao.qi@linaro.org>
4938
4939         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
4940         number instead of the comments on some line.
4941
4942 2016-04-06  Don Breazeal  <donb@codesourcery.com>
4943
4944         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
4945         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
4946
4947 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
4948
4949         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4950         standard_output_file.  Remove unused binfile variable.
4951
4952 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
4953
4954         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4955         * gdb.python/py-mi-objfile.exp: Match "list main" output
4956         in console format.
4957
4958 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
4959
4960         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
4961         absolute.
4962
4963 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
4964
4965         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4966         absolute.
4967         * gdb.trace/ftrace.exp: Likewise.
4968         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4969         targets as well.
4970         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4971         (gdb_load_shlibs): Copy libraries to test directory when testing
4972         natively.  Only set solib-search-path if testing remotely.
4973         * lib/mi-support.exp (mi_load_shlibs): Likewise.
4974
4975 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
4976
4977         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4978         gdb_download.  Use it even if the target is not remote.
4979         * gdb.base/jit.exp (compile_jit_test): Likewise.
4980         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4981         output directory if the destination board is local, otherwise use
4982         the standard remote_download from DejaGnu.
4983         (gdb_download): Remove.
4984         (gdb_load_shlibs): Use gdb_remote_download instead of
4985         gdb_download.
4986         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4987         Use gdb_remote_download instead of gdb_download.  Use it even if
4988         the target is not remote.
4989         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4990         instead of gdb_download.
4991
4992 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
4993
4994         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4995         (test_insert_delete_modify): Call mi_load_shlibs before trying to
4996         run.
4997
4998 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
4999
5000         PR gdb/19820
5001         * gdb.base/printcmds.exp: Add artificial arrays tests.
5002
5003 2016-03-31  Pedro Alves  <palves@redhat.com>
5004
5005         PR gdb/19858
5006         * gdb.base/jit-main.c: Include unistd.h.
5007         (ATTACH): Define to 0 if not already defined.
5008         (wait_for_gdb, mypid): New globals.
5009         (WAIT_FOR_GDB): New macro.
5010         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
5011         some breakpoint locations.
5012         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5013         New procedures.
5014         (one_jit_test): Add REATTACH parameter, and handle it.  Use
5015         continue_to_test_location.
5016         (top level): Test attach, and adjusts calls to one_jit_test.
5017
5018 2016-03-31  Pedro Alves  <palves@redhat.com>
5019
5020         PR gdb/19858
5021         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
5022         BINSUFFIX parameter, and handle it.
5023         (top level): Adjust calls compile_jit_test.
5024
5025 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
5026
5027         PR python/19743
5028         * gdb.python/py-mi-events-gdb.py: New file.
5029         * gdb.python/py-mi-events.c: New file.
5030         * gdb.python/py-mi-events.exp: New file.
5031
5032 2016-03-30  Yao Qi  <yao.qi@linaro.org>
5033
5034         * gdb.reverse/until-precsave.exp: Match function name only.
5035         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5036         Move malloc to a condition block.
5037         * gdb.reverse/until-reverse.exp: Match function name only.
5038
5039 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5040
5041         * gdb.trace/ftrace.exp: Set arg0exp for s390.
5042         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5043         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5044         variable for GPR 0 instead of assuming it is register 0.
5045         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5046         * lib/trace-support.exp: Add s390 registers.
5047
5048 2016-03-29  Yao Qi  <yao.qi@linaro.org>
5049
5050         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5051
5052 2016-03-24  Yao Qi  <yao.qi@linaro.org>
5053
5054         * gdb.reverse/break-reverse.exp: Add quotation mark in the
5055         test message.
5056
5057 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5058
5059         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5060         maintaining separate logic for constructing the output path.
5061
5062 2016-03-16  Don Breazeal  <donb@codesourcery.com>
5063
5064         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5065         Retry fork and waitpid on interrupted system call errors.
5066         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5067         Use with_timeout_factor to increase timeout by factor of 10.
5068
5069 2016-03-15  Don Breazeal  <donb@codesourcery.com>
5070
5071         * gdb.cp/scope-err.cc: New test program.
5072         * gdb.cp/scope-err.exp: New test script.
5073         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5074         lines and "set breakpoint here" comment.
5075         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5076         Fixed some whitespace and format issues.
5077         * gdb.mi/mi-linespec-err-cp.cc: New test program.
5078         * gdb.mi/mi-linespec-err-cp.exp: New test script.
5079
5080 2016-03-15  Doug Evans  <dje@google.com>
5081
5082         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5083         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5084         All callers updated.  Add tests for enums, mixed flags register.
5085
5086 2016-03-15  Doug Evans  <dje@google.com>
5087
5088         * gdb.base/skip.c (main): Call test_skip_file_and_function.
5089         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5090
5091 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
5092
5093         * gdb.base/default.exp: Add $_as_string to the list of expected
5094         convenience functions.
5095
5096 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
5097
5098         * gdb.base/maint.exp: New tests for 'maint info line-table'.
5099
5100 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
5101
5102         * gdb.python/py-as-string.exp: New file.
5103         * gdb.python/py-as-string.c: New file.
5104
5105 2016-03-09  Pedro Alves  <palves@redhat.com>
5106
5107         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5108         signal" -> "Thread NN received signal" output change.
5109         * gdb.threads/ia64-sigill.exp: Likewise.
5110         * gdb.threads/linux-dp.exp: Likewise.
5111         * gdb.threads/manythreads.exp: Likewise.
5112         * gdb.threads/pending-step.exp: Likewise.
5113         * gdb.threads/print-threads.exp: Likewise.
5114         * gdb.threads/sigstep-threads.exp: Likewise.
5115         * gdb.threads/staticthreads.exp: Likewise.
5116         * gdb.threads/tls.exp: Likewise.
5117
5118 2016-03-09  Pedro Alves  <palves@redhat.com>
5119
5120         * gdb.base/command-line-input.exp: New file.
5121
5122 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5123
5124         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5125         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5126         * gdb.trace/pending.exp: Accept leading dot before function name.
5127         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5128         * lib/trace-support.exp: Set registers for ppc.
5129
5130 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5131
5132         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5133         use it for disassembly; accept .main in addition to main in backtrace.
5134
5135 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
5136             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5137
5138         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5139         (gdb_recursion_test_ptr): New global variable.
5140         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5141         gdb_recursion_test.
5142         (gdb_c_test): Ditto.
5143
5144 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5145
5146         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5147         ordering.
5148
5149 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5150
5151         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5152         (bar): Add bar_start_lbl label.
5153         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5154         of foo/bar for emitting DWARF and tracing.
5155
5156 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
5157
5158         * analyze-racy-logs.py: Set executable bit.
5159
5160 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
5161
5162         * Makefile.in (DEFAULT_RACY_ITER): New variable.
5163         (CHECK_TARGET_TMP): Likewise.
5164         (check-single-racy): New rule.
5165         (check-parallel-racy): Likewise.
5166         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5167         (do-check-parallel-racy): New rule.
5168         (check-racy/%.exp): Likewise.
5169         * README (Racy testcases): New section.
5170         * analyze-racy-logs.py: New file.
5171
5172 2016-03-03  Doug Evans  <dje@google.com>
5173
5174         * gdb.base/skip.exp: Use with_test_prefix.
5175
5176 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5177
5178         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5179         Invoke step_over_syscall "clone" and break_cond_on_syscall
5180         "clone".
5181         * gdb.base/step-over-clone.c: New file.
5182
5183 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5184
5185         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5186         code format.
5187
5188 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5189
5190         * gdb.base/disp-step-fork.c: Rename to ...
5191         * gdb.base/step-over-fork.c: ... it.  New file.
5192         * gdb.base/disp-step-vfork.c: Rename to ...
5193         * gdb.base/step-over-vfork.c: ... it.  New file.
5194         * gdb.base/disp-step-syscall.exp: Rename to ...
5195         * gdb.base/step-over-syscall.exp: ... it.  New file.
5196         (disp_step_cross_syscall): Rename to ...
5197         (step_over_syscall): ... it.
5198
5199 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5200
5201         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5202         If target supports condition evaluation on target, invoke
5203         break_cond_on_syscall for fork and vfork.
5204
5205 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5206
5207         * gdb.base/disp-step-syscall.exp: Don't invoke
5208         support_displaced_stepping.
5209         (disp_step_cross_syscall): Test with displaced stepping off and
5210         on if supported.
5211
5212 2016-03-03  Yao Qi  <yao.qi@linaro.org>
5213
5214         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5215         proc.
5216         (setup): New proc.
5217         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5218         and setup.
5219
5220 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5221
5222         * gdb.fortran/vla-history.exp: Remove breakpoint.
5223
5224 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5225
5226         * gdb.fortran/vla-history.exp: Lookup array elements and printing
5227         exceeds timeout.
5228
5229 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5230
5231         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5232         breakpoint.
5233
5234 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
5235
5236         * gdb.mi/vla.f90: Nullify pointer after declaration.
5237
5238 2016-03-01  Pedro Alves  <palves@redhat.com>
5239
5240         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5241
5242 2016-03-01  Pedro Alves  <palves@redhat.com>
5243
5244         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5245         before anything else.
5246         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
5247         _GNU_SOURCE here.
5248         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5249         before anything else.
5250         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5251
5252 2016-03-01  Pedro Alves  <palves@redhat.com>
5253
5254         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5255
5256 2016-03-01  Yao Qi  <yao.qi@linaro.org>
5257
5258         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5259         prepare_for_testing.
5260
5261 2016-03-01  Yao Qi  <yao.qi@linaro.org>
5262
5263         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5264
5265 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5266
5267         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5268         manually constructing the output path.
5269
5270 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5271
5272         * gdb.arch/s390-stackless.S: New.
5273         * gdb.arch/s390-stackless.exp: New.
5274
5275 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
5276
5277         * gdb.dlang/circular.c: New file.
5278         * gdb.dlang/circular.exp: New file.
5279
5280 2016-02-26  Yao Qi  <yao.qi@linaro.org>
5281
5282         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5283         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5284         (testcases): Update.
5285
5286 2016-02-26  Yao Qi  <yao.qi@linaro.org>
5287
5288         * gdb.reverse/aarch64.c: Rename to ...
5289         * gdb.reverse/insn-reverse.c: ... it.
5290         * gdb.reverse/aarch64.exp: Rename to ...
5291         * gdb.reverse/insn-reverse.exp: ... it.
5292
5293 2016-02-26  Yao Qi  <yao.qi@linaro.org>
5294
5295         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5296         (testcase_ftype): New.
5297         (testcases): New array.
5298         (n_testcases): New.
5299         (main): Call each element in testcases.
5300         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5301         (read_testcase): New.
5302         Do the tests in a loop.
5303
5304 2016-02-25  Yao Qi  <yao.qi@linaro.org>
5305
5306         * gdb.base/branches.c: Remove.
5307
5308 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5309
5310         PR gdb/13808
5311         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5312
5313 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5314
5315         * gdb.trace/ftrace.exp: Remove unnecessary target check.
5316
5317 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5318
5319         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5320         change x86_64 call_insn to 'callq'.
5321
5322 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5323
5324         * gdb.trace/tfile-avx.c: Move to...
5325         * gdb.trace/tracefile-pseudo-reg.c: Here.
5326         * gdb.trace/tfile-avx.exp: Move to...
5327         * gdb.trace/tracefile-pseudo-reg.exp: Here.
5328
5329 2016-02-24  Gary Benson <gbenson@redhat.com>
5330
5331         * gdb.base/attach-pie-noexec.exp: Do not expect an error
5332         message on attach.
5333
5334 2016-02-23  Doug Evans  <dje@google.com>
5335
5336         * gdb.base/skip.c (test_skip): New function.
5337         (end_test_skip_file_and_function): New function.
5338         (test_skip_file_and_function): New function.
5339         * gdb.base/skip1.c (test_skip): New function.
5340         (skip1_test_skip_file_and_function): New function.
5341         * gdb.base/skip.exp: Add tests for new skip options.
5342         * gdb.base/skip-solib.exp: Update expected output.
5343         * gdb.perf/skip-command.cc: New file.
5344         * gdb.perf/skip-command.exp: New file.
5345         * gdb.perf/skip-command.py: New file.
5346
5347 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5348
5349         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5350         info registers pattern.
5351
5352 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
5353
5354         * lib/future.exp: Add D support.
5355         (gdb_find_gdc): New proc.
5356         (gdb_default_target_compile): Add D support.
5357
5358 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
5359
5360         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5361         user+system time.
5362         (trace_speed_test): Determine the iteration count for a time
5363         between 15..30 seconds.
5364
5365 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
5366
5367         * gdb.arch/i386-mpx-sigsegv.c: New file.
5368         * gdb.arch/i386-mpx-sigsegv.exp: New file.
5369         * gdb.arch/i386-mpx-simple_segv.c: New file.
5370         * gdb.arch/i386-mpx-simple_segv.exp: New file.
5371
5372 2016-02-18  Yao Qi  <yao.qi@linaro.org>
5373
5374         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5375         Don't call setup_kfail.
5376
5377 2016-02-18  Yao Qi  <yao.qi@linaro.org>
5378
5379         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5380         Set "set breakpoint condition-evaluation" per $cond_bp_target.
5381
5382 2016-02-16  Doug Evans  <dje@google.com>
5383
5384         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
5385         * gdb.base/skip1.c: Ditto.
5386         * gdb.base/skip.exp: Whitespace cleanup.
5387
5388 2016-02-16  Don Breazeal  <donb@codesourcery.com>
5389
5390         PR remote/19496
5391         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5392         Remove kfail for PR remote/19496.
5393
5394 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
5395
5396         * lib/gdb.exp (standard_temp_file): Return a path specific to
5397         the runtest invocation.
5398
5399 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
5400
5401         * gdb.trace/save-trace.exp: Change relative path to be in the
5402         standard output directory.
5403
5404 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5405
5406         * gdb.arch/i386-prologue.c: Add missing prototypes.
5407
5408 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5409
5410         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5411         * gdb.arch/i386-prologue.exp: Likewise.
5412         * gdb.arch/i386-size.exp: Likewise.
5413
5414 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
5415
5416         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5417         define object file path.
5418         * gdb.btrace/gcore.exp: Use standard_output_file to define core
5419         file path.
5420         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5421         standard_output_file to define binfile.
5422
5423 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5424
5425         Fix compatibility with recent gfortran-5.3.1.
5426         * gdb.fortran/vla-history.exp (print vla1 allocated)
5427         (print vla2 allocated, print $2, print $3): Remove
5428         (print $4): Rename to ...
5429         (print $2): ... here.
5430         (print $9): Rename to ...
5431         (print $5): ... here.
5432         (print $10): Rename to ...
5433         (print $6): ... here.
5434         * gdb.fortran/vla.f90: Add pvla initialization.
5435
5436 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5437
5438         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5439         New test.
5440         * gdb.fortran/vla-value-sub.exp: Likewise.
5441
5442 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5443
5444         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5445
5446 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
5447
5448         * i386-biarch-core.exp: Define corefile using
5449         standard_output_file.
5450
5451 2016-02-12  Yao Qi  <yao.qi@linaro.org>
5452
5453         * gdb.arch/arm-single-step-kernel-helper.c: New.
5454         * gdb.arch/arm-single-step-kernel-helper.exp: New.
5455
5456 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
5457
5458         * gdb.btrace/tailcall-only.exp: New.
5459         * gdb.btrace/tailcall-only.c: New.
5460         * gdb.btrace/x86_64-tailcall-only.S: New.
5461         * gdb.btrace/i686-tailcall-only.S: New.
5462
5463 2016-02-11  Pedro Alves  <palves@redhat.com>
5464
5465         * README (Parallel testing): Add missing double quotes.
5466
5467 2016-02-11  Pedro Alves  <palves@redhat.com>
5468
5469         * README (Parallel testing): New section.
5470         (GDB_PARALLEL): Rewrite.
5471         (FORCE_PARALLEL): Document.
5472
5473 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5474
5475         * gdb.trace/tfile-avx.c: New test.
5476         * gdb.trace/tfile-avx.exp: New test.
5477
5478 2016-02-09  Keith Seitz  <keiths@redhat.com>
5479
5480         PR breakpoints/19546
5481         * gdb.base/infcall-exec.c: New file.
5482         * gdb.base/infcall-exec2.c: New file.
5483         * gdb.base/infcall-exec.exp: New file.
5484
5485 2016-02-09  Keith Seitz  <keiths@redhat.com>
5486
5487         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5488         (toplevel): Call test_bkpt_address.
5489
5490 2016-02-09  Keith Seitz  <keiths@redhat.com>
5491
5492         PR python/19506
5493         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5494         (toplevel): Call test_bkpt_address.
5495
5496 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
5497
5498         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5499         to AC_OUTPUT.
5500         * configure: Regenerate.
5501
5502 2016-02-09  Pedro Alves  <palves@redhat.com>
5503
5504         PR breakpoints/19548
5505         * gdb.base/execl-update-breakpoints.c (some_function): New
5506         function.
5507         (main): Call it.
5508         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5509         Tighten expected GDB output.
5510
5511 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
5512
5513         * Makefile.in (ALL_SUBDIRS): Remove.
5514         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5515         (distclean maintainer-clean realclean): Likewise.
5516         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5517         * configure: Regenerate.
5518         * gdb.ada/Makefile.in: Delete.
5519         * gdb.arch/Makefile.in: Likewise.
5520         * gdb.asm/Makefile.in: Likewise.
5521         * gdb.base/Makefile.in: Likewise.
5522         * gdb.btrace/Makefile.in: Likewise.
5523         * gdb.cell/Makefile.in: Likewise.
5524         * gdb.compile/Makefile.in: Likewise.
5525         * gdb.cp/Makefile.in: Likewise.
5526         * gdb.disasm/Makefile.in: Likewise.
5527         * gdb.dlang/Makefile.in: Likewise.
5528         * gdb.dwarf2/Makefile.in: Likewise.
5529         * gdb.fortran/Makefile.in: Likewise.
5530         * gdb.gdb/Makefile.in: Likewise.
5531         * gdb.go/Makefile.in: Likewise.
5532         * gdb.guile/Makefile.in: Likewise.
5533         * gdb.java/Makefile.in: Likewise.
5534         * gdb.linespec/Makefile.in: Likewise.
5535         * gdb.mi/Makefile.in: Likewise.
5536         * gdb.modula2/Makefile.in: Likewise.
5537         * gdb.multi/Makefile.in: Likewise.
5538         * gdb.objc/Makefile.in: Likewise.
5539         * gdb.opencl/Makefile.in: Likewise.
5540         * gdb.opt/Makefile.in: Likewise.
5541         * gdb.pascal/Makefile.in: Likewise.
5542         * gdb.perf/Makefile.in: Likewise.
5543         * gdb.python/Makefile.in: Likewise.
5544         * gdb.reverse/Makefile.in: Likewise.
5545         * gdb.server/Makefile.in: Likewise.
5546         * gdb.stabs/Makefile.in: Likewise.
5547         * gdb.threads/Makefile.in: Likewise.
5548         * gdb.trace/Makefile.in: Likewise.
5549         * gdb.xml/Makefile.in: Likewise.
5550         * lib/gdb.exp (make_gdb_parallel_path): Add check for
5551         GDB_PARALLEL.
5552         (standard_output_file): Remove check for GDB_PARALLEL, always
5553         return path in outputs/$subdir/$testname.
5554
5555 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
5556
5557         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5558         (site.exp): Assign abs_srcdir to tcl's srcdir.
5559
5560 2016-02-04  Yao Qi  <yao.qi@linaro.org>
5561
5562         * gdb.base/foll-exec-mode.c: Include limits.h.
5563         (main): Add parameters argc and argv.  Get directory from
5564         argv[0].
5565         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5566         compilation.
5567         * gdb.base/foll-exec.c: Include limits.h.
5568         (main): Add parameters argc and argv.
5569         Get directory from argv[0].
5570         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5571         Adjust tests on the number of lines as source code changed.
5572         * gdb.base/foll-vfork-exit.c: Include limits.h.
5573         (main): Add one line of statement before vfork.
5574         * gdb.base/foll-vfork.c: Include limits.h and string.h.
5575         (main): Add parameters argc and argv.  Get directory from
5576         argv[0].
5577         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5578         (setup_gdb): Set tbreak to skip some source lines.
5579         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5580         (main): Add parameters argc and argv.  Get directory from
5581         argv[0].
5582         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5583         compilation.
5584         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5585         (main): Add parameters argc and argv.  Get directory from
5586         argv[0].
5587         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5588         compilation.
5589
5590 2016-02-01  Doug Evans  <dje@google.com>
5591
5592         * gdb.base/skip.exp: Clean up multiple references to same test name.
5593
5594 2016-02-01  Pedro Alves  <palves@redhat.com>
5595
5596         PR remote/19496
5597         * gdb.threads/forking-threads-plus-breakpoint.exp
5598         (displaced_stepping_supported): New global.
5599         (probe_displaced_stepping_support): New procedure.
5600         (do_test): Add 'displaced' parameter, and use it.
5601         (top level): Check for displaced stepping support.  Add displaced
5602         stepping on/off testing axis.
5603
5604 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
5605
5606         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5607         pointer.  Don't perform further tests on the unassociated pointer
5608         if the first test fails.
5609
5610 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
5611
5612         * gdb.base/max-value-size.c: New file.
5613         * gdb.base/max-value-size.exp: New file.
5614         * gdb.base/huge.exp: Disable max-value-size for this test.
5615
5616 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
5617
5618         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5619
5620 2016-01-28  Yao Qi  <yao.qi@linaro.org>
5621
5622         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5623
5624 2016-01-25  Pedro Alves  <palves@redhat.com>
5625
5626         PR threads/19461
5627         * gdb.base/fork-running-state.c: New file.
5628         * gdb.base/fork-running-state.exp: New file.
5629
5630 2016-01-25  Pedro Alves  <palves@redhat.com>
5631
5632         PR gdb/19494
5633         * gdb.base/catch-fork-kill.c: New file.
5634         * gdb.base/catch-fork-kill.exp: New file.
5635
5636 2016-01-25  Pedro Alves  <palves@redhat.com>
5637
5638         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5639         Delete, moved to lib/gdb.exp.
5640         * gdb.threads/forking-threads-plus-breakpoint.exp
5641         (foreach_with_prefix): Likewise.
5642         * gdb.threads/process-dies-while-handling-bp.exp
5643         (foreach_with_prefix): Likewise.
5644         * lib/gdb.exp (foreach_with_prefix): New procedure.
5645
5646 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5647
5648         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5649         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5650
5651 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5652
5653         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5654         endian targets.
5655
5656 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5657             Pedro Alves  <palves@redhat.com>
5658
5659         Fix testsuite compatibility with Guile.
5660         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
5661         number.
5662
5663 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5664
5665         Fix testsuite compatibility with Guile.
5666         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
5667         (thread 1): New test for backtrace through signal handler.
5668
5669 2016-01-22  Yao Qi  <yao.qi@linaro.org>
5670
5671         PR testsuite/19491
5672         * gdb.base/multi-forks.c: Include
5673         ../lib/unbuffer_output.c
5674         (main): Call gdb_unbuffer_output.
5675
5676 2016-01-21  Doug Evans  <dje@google.com>
5677
5678         * lib/ada.exp (gdb_compile_ada): Fix typo.
5679
5680 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
5681
5682         * gdb.base/break-fun-addr.exp: New file.
5683         * gdb.base/break-fun-addr1.c: New file.
5684         * gdb.base/break-fun-addr2.c: New file.
5685
5686 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
5687
5688         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
5689         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5690         enum flag values.
5691
5692 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5693
5694         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5695         when GDB can not set the vector return value.  Add more comments
5696         for clarification.
5697
5698 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5699
5700         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
5701         command.
5702
5703 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
5704
5705         * Makefile.in (DO_RUNTEST): Add --status and update usages.
5706
5707 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
5708
5709         * Makefile.in (check-single): Pass --status to runtest.
5710         (check/%.exp): Likewise.
5711
5712 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
5713
5714         * Makefile.in (check-parallel): Propagate return code from make
5715         do-check-parallel.
5716
5717 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5718
5719         * gdb.trace/ftrace.exp: Fix expected message on continue.
5720         * gdb.trace/pending.exp: Fix expected message on continue.
5721         * gdb.trace/trace-break.exp: Fix expected message on continue.
5722
5723 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
5724
5725         * lib/gdb.exp (gdb_test): Remove unused global references.
5726
5727 2016-01-18  Pedro Alves  <palves@redhat.com>
5728
5729         * gdb.base/async-shell.exp: Adjust expected output.
5730         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
5731         * gdb.base/siginfo-thread.exp: Adjust expected output.
5732         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
5733         * gdb.java/jnpe.exp: Adjust expected output.
5734         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
5735         * gdb.threads/continue-pending-status.exp: Adjust expected output.
5736         * gdb.threads/leader-exit.exp: Adjust expected output.
5737         * gdb.threads/manythreads.exp: Adjust expected output.
5738         * gdb.threads/pthreads.exp: Adjust expected output.
5739         * gdb.threads/schedlock.exp: Adjust expected output.
5740         * gdb.threads/siginfo-threads.exp: Adjust expected output.
5741         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
5742         expected output.
5743         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
5744         output.
5745         * gdb.threads/sigthread.exp: Adjust expected output.
5746         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
5747
5748 2016-01-18  Yao Qi  <yao.qi@linaro.org>
5749
5750         * gdb.guile/scm-section-script.c: Replace @progbits with
5751         %progbits.
5752         * gdb.python/py-section-script.c: Likewise.
5753
5754 2016-01-15  Pedro Alves  <palves@redhat.com>
5755
5756         * gdb.multi/tids.exp: Test star wildcard ranges.
5757
5758 2016-01-15  Pedro Alves  <palves@redhat.com>
5759
5760         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5761         command from "thread apply" invocation.
5762         (thr_apply_info_thr_invalid): Default the expected output to the
5763         input tid list.
5764         (top level): Add tests that use convenience variables.  Add tests
5765         for "thread apply" with a valid TID list, but missing the command.
5766
5767 2016-01-13  Pedro Alves  <palves@redhat.com>
5768
5769         * gdb.base/default.exp: Expect $_gthread as well.
5770         * gdb.multi/tids.exp: Test $_gthread.
5771         * gdb.threads/thread-specific.exp: Test $_gthread.
5772
5773 2016-01-13  Pedro Alves  <palves@redhat.com>
5774
5775         * gdb.multi/tids.exp: Test "info threads -gid".
5776
5777 2016-01-13  Pedro Alves  <palves@redhat.com>
5778
5779         * gdb.multi/tids.exp: Test InferiorThread.global_num and
5780         Breakpoint.thread.
5781         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5782
5783 2016-01-07  Pedro Alves  <palves@redhat.com>
5784
5785         * gdb.base/break.exp: Adjust to output changes.
5786         * gdb.base/hbreak2.exp: Likewise.
5787         * gdb.base/sepdebug.exp: Likewise.
5788         * gdb.base/watch_thread_num.exp: Likewise.
5789         * gdb.linespec/keywords.exp: Likewise.
5790         * gdb.multi/info-threads.exp: Likewise.
5791         * gdb.threads/thread-find.exp: Likewise.
5792         * gdb.multi/tids.c: New file.
5793         * gdb.multi/tids.exp: New file.
5794
5795 2016-01-13  Pedro Alves  <palves@redhat.com>
5796
5797         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5798
5799 2016-01-13  Pedro Alves  <palves@redhat.com>
5800
5801         * gdb.base/default.exp: Expect $_inferior as well.
5802         * gdb.multi/base.exp: Test $_inferior.
5803
5804 2016-01-13  Pedro Alves  <palves@redhat.com>
5805
5806         PR breakpoints/19388
5807         * gdb.base/catch-signal-siginfo-cond.c: New file.
5808         * gdb.base/catch-signal-siginfo-cond.exp: New file.
5809
5810 2016-01-12  Josh Stone  <jistone@redhat.com>
5811             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
5812
5813         * gdb.base/catch-syscall.c (do_execve): New variable.
5814         (main): Conditionally trigger an execve.
5815         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5816         (test_catch_syscall_execve): New, check entry/return across execve.
5817         (do_syscall_tests): Call test_catch_syscall_execve.
5818
5819 2016-01-12  Pedro Alves  <palves@redhat.com>
5820
5821         * gdb.base/random-signal.exp (do_test): New procedure, with body
5822         of testcase moved in.
5823
5824 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5825             Pedro Alves  <palves@redhat.com>
5826
5827         * gdb.base/funcargs.exp (finish from indirectly called function):
5828         Reintroduce the case for 'First'.
5829
5830 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5831             Pedro Alves  <palves@redhat.com>
5832
5833         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5834         (tcatch_vfork_then_child_follow_exec)
5835         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
5836         identification.
5837
5838 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5839
5840         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
5841         and repeats to unlimited.
5842         * gdb.python/py-value.exp: Likewise.
5843         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
5844         and repeats to unlimited.
5845
5846 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5847
5848         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
5849         and reordering the functions.
5850         * gdb.multi/hangout.c: Likewise.
5851         * gdb.multi/hello.c: Likewise.
5852
5853 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
5854
5855         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
5856         absolute.
5857         (SingleStatisticTestResult.report): Use dict.keys instead of
5858         dict.iterkeys.
5859
5860 2016-01-06  Pedro Alves  <palves@redhat.com>
5861
5862         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
5863
5864 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
5865
5866         * gdb.btrace/dlopen.exp: New.
5867         * gdb.btrace/dlopen.c: New.
5868         * gdb.btrace/dlopen-dso.c: New.
5869
5870 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
5871
5872         * lib/gdb.exp (gdb_test): Update comments to clarify that the
5873         PATTERN argument is optional.
5874
5875 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
5876
5877         * lib/ada.exp (target_compile_ada_from_dir): New function.
5878         (gdb_compile_ada): Reimplement avoiding the use of project files.
5879         * gdb.ada/gnat_ada.gpr: Delete.
5880         * gdb.ada/cond_lang.exp: Adjust test to make path before
5881         filename optional.
5882         * gdb.ada/small_reg_param.exp: Likewise.
5883
5884 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
5885
5886         * gdb.base/foll-vork.exp: Remove HP-UX special case.
5887
5888 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5889
5890         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
5891         case.
5892
5893 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
5894
5895         * gdb.base/break.exp: Remove dead code.
5896         * gdb.base/sepdebug.exp: Likewise.
5897
5898 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
5899
5900         * gdb.asm/asm-source.exp: Remove HP-UX references.
5901         * gdb.base/annota1.exp: Likewise.
5902         * gdb.base/annota3.exp: Likewise.
5903         * gdb.base/attach.exp: Likewise.
5904         * gdb.base/bigcore.exp: Likewise.
5905         * gdb.base/break.exp: Likewise.
5906         * gdb.base/call-ar-st.exp: Likewise.
5907         * gdb.base/callfuncs.exp: Likewise.
5908         * gdb.base/catch-fork-static.exp: Likewise.
5909         * gdb.base/display.exp: Likewise.
5910         * gdb.base/foll-exec-mode.exp: Likewise.
5911         * gdb.base/foll-exec.exp: Likewise.
5912         * gdb.base/foll-fork.exp: Likewise.
5913         * gdb.base/foll-vfork.exp: Likewise.
5914         * gdb.base/funcargs.exp: Likewise.
5915         * gdb.base/hbreak2.exp: Likewise.
5916         * gdb.base/inferior-died.exp: Likewise.
5917         * gdb.base/interrupt.exp: Likewise.
5918         * gdb.base/multi-forks.exp: Likewise.
5919         * gdb.base/nodebug.exp: Likewise.
5920         * gdb.base/sepdebug.exp: Likewise.
5921         * gdb.base/solib1.c: Likewise.
5922         * gdb.base/step-test.exp: Likewise.
5923         * gdb.mi/non-stop.c: Likewise.
5924         * gdb.mi/pthreads.c: Likewise.
5925         * gdb.multi/bkpt-multi-exec.ex: Likewise.
5926         * gdb.threads/pthreads.c: Likewise.
5927         * gdb.threads/staticthreads.exp: Likewise.
5928         * lib/future.exp: Likewise.
5929         * lib/gdb.exp: Likewise.
5930         * gdb.base/so-indr-cl.c: Remove.
5931         * gdb.base/so-indr-cl.exp: Likewise.
5932         * gdb.base/solib.c: Likewise.
5933         * gdb.base/solib.exp: Likewise.
5934         * gdb.base/solib2.c: Likewise.
5935
5936 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
5937
5938         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
5939         * gdb.base/call-ar-st.exp: Likewise.
5940         * gdb.base/callfuncs.exp: Likewise.
5941         * gdb.base/condbreak.exp: Likewise.
5942         * gdb.base/constvars.exp: Likewise.
5943         * gdb.base/hbreak2.exp: Likewise.
5944         * gdb.base/langs.exp: Likewise.
5945         * gdb.base/list.exp: Likewise.
5946         * gdb.base/long_long.exp: Likewise.
5947         * gdb.base/ptype.exp: Likewise.
5948         * gdb.base/scope.exp: Likewise.
5949         * gdb.base/signals.exp: Likewise.
5950         * gdb.base/so-impl-ld.exp: Likewise.
5951         * gdb.base/varargs.exp: Likewise.
5952         * gdb.base/volatile.exp: Likewise.
5953         * gdb.base/whatis.exp: Likewise.
5954         * gdb.cp/cplusfuncs.exp: Likewise.
5955         * gdb.cp/inherit.exp: Likewise.
5956         * gdb.cp/local.exp: Likewise.
5957         * gdb.cp/member-ptr.exp: Likewise.
5958         * gdb.cp/method.exp: Likewise.
5959         * gdb.cp/overload.exp: Likewise.
5960         * gdb.cp/templates.exp: Likewise.
5961         * gdb.stabs/weird.exp: Likewise.
5962         * lib/compiler.c: Likewise.
5963         * lib/compiler.cc: Likewise.
5964         * lib/cp-support.exp: Likewise.
5965         * lib/gdb.exp: Likewise.
5966
5967 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
5968
5969         * configure.ac: Remove HP-UX case.
5970         * configure: Regenerate.
5971
5972 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
5973
5974         * lib/gdb.exp (gdb_compile): Add function doc.
5975
5976 2015-12-17  Pedro Alves  <palves@redhat.com>
5977
5978         PR threads/19354
5979         * gdb.multi/info-threads.exp: New file.
5980
5981 2015-12-15  Yao Qi  <yao.qi@linaro.org>
5982
5983         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5984         is aarch64*-*-*.
5985
5986 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
5987
5988         * gdb.base/history-duplicates.exp: Skip if no readline support.
5989
5990 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
5991
5992         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5993
5994 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
5995
5996         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5997
5998 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
5999
6000         * gdb.base/completion.exp: Skip tests that interrupt GDB with
6001         ctrl-C if nointerrupts target property is set.
6002         * gdb.base/double-prompt-target-event-error.exp: Likewise.
6003         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6004         * gdb.base/paginate-bg-execution.exp: Likewise.
6005         * gdb.base/paginate-execution-startup.exp: Likewise.
6006         * gdb.base/random-signal.exp: Likewise.
6007         * gdb.base/range-stepping.exp: Likewise.
6008         * gdb.cp/annota2.exp: Likewise.
6009         * gdb.cp/annota3.exp: Likewise.
6010         * gdb.gdb/selftest.exp: Likewise.
6011         * gdb.threads/continue-pending-status.exp: Likewise.
6012         * gdb.threads/leader-exit.exp: Likewise.
6013         * gdb.threads/manythreads.exp: Likewise.
6014         * gdb.threads/pthreads.exp: Likewise.
6015         * gdb.threads/schedlock.exp: Likewise.
6016         * gdb.threads/sigthread.exp: Likewise.
6017
6018 2015-12-11  Don Breazeal  <donb@codesourcery.com>
6019
6020         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6021         remote.
6022         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6023         * gdb.base/foll-exec.exp (main): Enable for target remote.
6024         * gdb.base/foll-fork.exp (main): Likewise.
6025         * gdb.base/foll-vfork.exp (main): Likewise.
6026         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6027         (proc continue_to_exit_bp_loc): Use clean_restart.
6028         * gdb.base/pie-execl.exp (main): Disable for target remote.
6029         * gdb.base/watch-vfork.exp (main): Enable for target remote.
6030         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6031         * gdb.threads/execl.exp (main): Likewise.
6032         * gdb.threads/fork-child-threads.exp (main): Likewise.
6033         * gdb.threads/fork-plus-threads.exp (main): Disable for target
6034         remote.
6035         * gdb.threads/fork-thread-pending.exp (main): Enable for target
6036         remote.
6037         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6038         pid.tid style ptids, instead of just tid.
6039         * gdb.threads/thread-execl.exp (main): Enable for target remote.
6040         * gdb.threads/watchpoint-fork.exp (main): Likewise.
6041         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6042         ptids, instead of just tid.
6043
6044 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
6045
6046         * gdb.base/list.exp (test_list_forward): Add end of file error
6047         test.
6048         (test_repeat_list_command): Add end of file error test.
6049         (test_list_backwards): Add beginning of file error test.
6050
6051 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
6052
6053         * gdb.base/list.exp (test_list_invalid_args): New function,
6054         defined, and called.
6055
6056 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
6057
6058         * gdb.base/list.exp (test_list): Make test names unique.
6059
6060 2015-12-11  Yao Qi  <yao.qi@linaro.org>
6061
6062         * gdb.base/coremaker2.c: Remove.
6063
6064 2015-12-10  Pedro Alves  <palves@redhat.com>
6065
6066         * gdb.multi/base.exp: Remove stale "spaces" references.
6067
6068 2015-12-10  Pedro Alves  <palves@redhat.com>
6069
6070         * gdb.multi/base.exp: Don't use nowarnings.
6071         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6072         * gdb.multi/hangout.c: Include stdio.h.
6073         * gdb.multi/hello.c: Include stdlib.h.
6074         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6075         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6076         * gdb.multi/multi-arch.exp: Don't use nowarnings.
6077
6078 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
6079
6080         * gdb.dwarf2/dw2-ranges-base.c: New file.
6081         * gdb.dwarf2/dw2-ranges-base.exp: New file.
6082         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6083         support additional line table, and debug ranges generation.
6084         (Dwarf::ranges): New function, generate .debug_ranges.
6085         (Dwarf::lines): Support generating simple line table programs.
6086         (Dwarf::assemble): Initialise new namespace variables.
6087
6088 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
6089
6090         * gdb.base/async.exp (proc test_background): Add case for
6091         asynchronous execution not supported.
6092
6093 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
6094
6095         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6096           format and change test names to make them unique.
6097
6098 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
6099             Pedro Alves  <pedro@redhat.com>
6100
6101         PR gdb/18702
6102         Add checking of floatformats setup on x86_64 hosts.
6103         * gdb.arch/i386-float.S (main): Load bigval and smallval.
6104         (smallval, bigval): New labels/constants.
6105         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6106         float" after loading bigval and smallval.
6107
6108 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
6109
6110         * gdb.ada/fun_overload_menu.exp: New testcase.
6111         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6112
6113 2015-12-04  Josh Stone  <jistone@redhat.com>
6114
6115         * gdb.base/catch-fork-static.exp: New.
6116
6117 2015-12-03  Yao Qi  <yao.qi@linaro.org>
6118
6119         * gdb.base/sizeof.c: Don't include stdio.h and
6120         ../lib/unbuffer_output.c.
6121         (main): New variable 'size' and 'value'.  Remove printf and
6122         gdb_unbuffer_output.  Assign return value to size and value.
6123         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6124         at the beginning.
6125         (check_sizeof): Check the result by printing variable 'size'.
6126         (check_valueof): Check the result by printing variable 'value'.
6127
6128 2015-12-01  Yao Qi  <yao.qi@linaro.org>
6129
6130         * gdb.base/disp-step-syscall.exp: Define syscall instruction
6131         for aarch64*-*-linux* target.
6132
6133 2015-11-30  Pedro Alves  <palves@redhat.com>
6134
6135         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6136
6137 2015-11-30  Pedro Alves  <palves@redhat.com>
6138
6139         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6140         Handle non-stop mode vCont replies.
6141
6142 2015-11-30  Pedro Alves  <palves@redhat.com>
6143
6144         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6145         prepare_for_testing.  Start gdb with "set non-stop on" appended to
6146         GDBFLAGS.  Lax expected stop output.
6147
6148 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6149
6150         * gdb.arch/arm-neon.exp: New.
6151         * gdb.arch/arm-neon.c: New.
6152
6153 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6154
6155         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6156
6157 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6158
6159         * gdb.cp/annota2.exp: Allow multiple occurrences of the
6160         frames-invalid annotation.
6161
6162 2015-11-27  Yao Qi  <yao.qi@linaro.org>
6163
6164         * gdb.cp/annota2.exp: Use ${frames_invalid}.
6165
6166 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
6167
6168         * gdb.threads/names.exp: New file.
6169         * gdb.threads/names.c: New file.
6170         * README: Mention gdb,no_thread_names.
6171
6172 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
6173
6174         PR 19297
6175         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6176         support" error.
6177
6178 2015-11-24  Pedro Alves  <palves@redhat.com>
6179
6180         PR 17539
6181         * gdb.base/display.exp: Expect displays to be sorted in ascending
6182         order.  Use multi_line.
6183         * gdb.base/solib-display.exp: Likewise.
6184
6185 2015-11-24  Pedro Alves  <palves@redhat.com>
6186
6187         PR 17539
6188         * gdb.base/display.exp: Expect displays to be sorted in ascending
6189         order.  Use multi_line.
6190         * gdb.base/solib-display.exp: Likewise.
6191
6192 2015-11-24  Pedro Alves  <palves@redhat.com>
6193
6194         PR 17539
6195         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6196         threads in ascending order.
6197         * gdb.base/foll-fork.exp: Likewise.
6198         * gdb.base/foll-vfork.exp: Likewise.
6199         * gdb.base/multi-forks.exp: Likewise.
6200         * gdb.mi/mi-nonstop.exp: Likewise.
6201         * gdb.mi/mi-nsintrall.exp: Likewise.
6202         * gdb.multi/base.exp: Likewise.
6203         * gdb.multi/multi-arch.exp: Likewise.
6204         * gdb.python/py-inferior.exp: Likewise.
6205         * gdb.threads/break-while-running.exp: Likewise.
6206         * gdb.threads/execl.exp: Likewise.
6207         * gdb.threads/gcore-thread.exp: Likewise.
6208         * gdb.threads/info-threads-cur-sal.exp: Likewise.
6209         * gdb.threads/kill.exp: Likewise.
6210         * gdb.threads/linux-dp.exp: Likewise.
6211         * gdb.threads/multiple-step-overs.exp: Likewise.
6212         * gdb.threads/next-bp-other-thread.exp: Likewise.
6213         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6214         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6215         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6216         * gdb.threads/thread-find.exp: Likewise.
6217         * gdb.threads/tls.exp: Likewise.
6218         * lib/mi-support.exp (mi_reverse_list): Delete.
6219         (mi_check_thread_states): No longer reverse list.
6220
6221 2015-11-24  Pedro Alves  <palves@redhat.com>
6222
6223         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
6224         use lowercase.
6225
6226 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
6227
6228         * gdb.trace/actions.c: Include trace-common.h.
6229         (main): Add a location for a fast tracepoint.
6230         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6231         the normal tracepoints.
6232         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6233
6234 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
6235
6236         * save-trace.exp: Factor out code to these...
6237         (gdb_save_tracepoints): New.
6238         (gdb_load_tracepoints): New.
6239         (do_save_load_test): New.
6240
6241 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
6242
6243         * gdb.base/asmlabel.exp: New test.
6244         * gdb.base/asmlabel.c: New test case.
6245
6246 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
6247
6248         * gdb.base/wrong_frame_bt_full-main.c: New file.
6249         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6250         * gdb.base/wrong_frame_bt_full.exp: New file.
6251
6252 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
6253
6254         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6255
6256 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
6257
6258         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6259         pstate register when comparing registers values in
6260         sparc64-*-linux-gnu targets to avoid spurious differences.
6261
6262 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
6263
6264         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6265
6266 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
6267
6268         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6269         as type argument to gdb_compile.
6270         * gdb.base/nested-subp2.exp: Likewise.
6271         * gdb.base/nested-subp3.exp: Likewise.
6272
6273 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6274
6275         * lib/dwarf.exp (_note): Fix left shift of negative value.
6276         * gdb.trace/trace-condition.exp: Likewise.
6277
6278 2015-11-13  Yao Qi  <yao.qi@linaro.org>
6279
6280         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6281         comments about d10v.
6282         (test_scalar_returns): Likewise.
6283         * gdb.base/d10v.ld: Remove.
6284         * gdb.base/overlays.exp: Remove the target triplet checking for
6285         d10v-*-*.
6286         * gdb.base/structs.exp (test_struct_returns): Remove the
6287         comments about d10v.
6288         (test_struct_calls): Likewise.
6289
6290 2015-11-13  Yao Qi  <yao.qi@linaro.org>
6291
6292         * gdb.base/gnu_vector.exp: Check the return value by "p res".
6293         * gdb.base/gnu_vector.c: Don't include stdio.h.
6294         (main): Don't print res and call add_some_intvecs.
6295
6296 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6297
6298         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6299         macro.
6300         (func5): Removed.
6301         (func4): Use FAST_TRACEPOINT_LABEL.
6302         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6303         macro.
6304         (func): Removed.
6305         (thread_function): Use FAST_TRACEPOINT_LABEL.
6306         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6307         (func): Remove.
6308         (marker): Use FAST_TRACEPOINT_LABEL.
6309         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6310         (pendfunc1): Remove.
6311         (pendfunc): Use FAST_TRACEPOINT_LABEL.
6312         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6313         (foo): Remove.
6314         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6315         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6316         macro.
6317         (func): Remove.
6318         (marker): Use FAST_TRACEPOINT_LABEL.
6319         * gdb.trace/trace-common.h: New header.
6320         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6321         macro.
6322         (func): Remove.
6323         (marker): Use FAST_TRACEPOINT_LABEL.
6324         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6325         (func): Remove.
6326         (thread_function): Use FAST_TRACEPOINT_LABEL.
6327
6328 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6329
6330         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6331         in front.
6332         * gdb.trace/change-loc.exp: Use global pcreg definition.
6333         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6334         * gdb.trace/entry-values.exp: Use global spreg definition, add $
6335         in front.
6336         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6337         * gdb.trace/pending.exp: Likewise.
6338         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6339         * gdb.trace/trace-break.exp: Likewise.
6340         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6341         in front.
6342         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6343         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6344         in front.
6345         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6346
6347 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
6348
6349         * gdb.ada/fin_fun_out: New testcase.
6350
6351 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
6352
6353         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6354         value associated with DW_AT_byte_size.
6355         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6356         constants for DW_AT_byte_size, DW_AT_lower_bound, and
6357         DW_AT_upper_bound.
6358
6359 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
6360
6361         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6362         (gdb_target_symbol_prefix_flags): Define in terms of _asm
6363         version.
6364         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6365         gdb.dwarf2/dw2-canonicalize-type.exp,
6366         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6367         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6368         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6369         provided by gdb_target_symbol_prefix_flags_asm.
6370         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6371         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6372         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6373         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6374         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6375         macros where needed).  Use this macro for symbols which require
6376         the prefix provided by SYMBOL_PREFIX.
6377
6378 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
6379
6380         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6381         New procs.
6382         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6383         representing expressions, of more than one list element.
6384         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6385         to prepend linker symbol prefix to f.
6386         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6387         table_1 and table_2.
6388         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6389         Likewise, for f and g.
6390         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6391         for ptr.
6392         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6393         for main.
6394         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6395         table_1_ptr and table_2_ptr.
6396
6397 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6398             Joel Brobecker  <brobecker@adacore.com>
6399
6400         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6401
6402 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6403
6404         * gdb.reverse/s390-mvcle.c: New test.
6405         * gdb.reverse/s390-mvcle.exp: New file.
6406         * lib/gdb.exp: Enable reverse tests on s390*-linux.
6407
6408 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6409
6410         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6411
6412 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6413
6414         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6415         reaching marker2.
6416         * gdb.reverse/getresuid-reverse.exp: Likewise.
6417         * gdb.reverse/pipe-reverse.exp: Likewise.
6418         * gdb.reverse/readv-reverse.exp: Likewise.
6419         * gdb.reverse/recvmsg-reverse.exp: Likewise.
6420         * gdb.reverse/time-reverse.exp: Likewise.
6421         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6422
6423 2015-10-30  Yao Qi  <yao.qi@linaro.org>
6424
6425         * gdb.threads/wp-replication.c (watch_count_done): Remove.
6426         (empty_cycle): Remove.
6427         (main): Don't call empty_cycle.  Don't use watch_count_done.
6428         * gdb.threads/wp-replication.exp: Don't set breakpoint on
6429         empty_cycle.  Rewrite the code counting HW watchpoints.
6430
6431 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6432
6433         * gdb.reverse/fstatat-reverse.c: New test.
6434         * gdb.reverse/fstatat-reverse.exp: New file.
6435         * gdb.reverse/getresuid-reverse.c: New test.
6436         * gdb.reverse/getresuid-reverse.exp: New file.
6437         * gdb.reverse/pipe-reverse.c: New test.
6438         * gdb.reverse/pipe-reverse.exp: New file.
6439         * gdb.reverse/readv-reverse.c: New test.
6440         * gdb.reverse/readv-reverse.exp: New file.
6441         * gdb.reverse/recvmsg-reverse.c: New test.
6442         * gdb.reverse/recvmsg-reverse.exp: New file.
6443         * gdb.reverse/time-reverse.c: New test.
6444         * gdb.reverse/time-reverse.exp: New file.
6445         * gdb.reverse/waitpid-reverse.c: New test.
6446         * gdb.reverse/waitpid-reverse.exp: New file.
6447
6448 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6449
6450         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6451
6452 2015-10-26  Doug Evans  <dje@google.com>
6453
6454         PR symtab/17391
6455         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6456         * gdb.dwarf2/bad-regnum.c: New file.
6457         * gdb.dwarf2/bad-regnum.exp: New file.
6458
6459 2015-10-26  Doug Evans  <dje@google.com>
6460
6461         PR python/18938
6462         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6463         file.
6464
6465 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6466
6467         * gdb.compile/compile.exp (compile code globalvar): Update expectation
6468         for a change by "Mention language in compile error message".
6469
6470 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
6471
6472         PR python/18073
6473         * gdb.python/py-type.c (C::a_method): New.
6474         (C::a_const_method): New.
6475         (C::a_static_method): New.
6476         (a_function): New.
6477         * gdb.python/py-type.exp (test_fields): Test getting fields
6478         from function and method.
6479
6480 2015-10-21  Keven Boell  <keven.boell@intel.com>
6481
6482         * gdb.fortran/vla-alloc-assoc.exp: New file.
6483         * gdb.fortran/vla-datatypes.exp: New file.
6484         * gdb.fortran/vla-datatypes.f90: New file.
6485         * gdb.fortran/vla-history.exp: New file.
6486         * gdb.fortran/vla-ptype-sub.exp: New file.
6487         * gdb.fortran/vla-ptype.exp: New file.
6488         * gdb.fortran/vla-sizeof.exp: New file.
6489         * gdb.fortran/vla-sub.f90: New file.
6490         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6491         * gdb.fortran/vla-value-sub-finish.exp: New file.
6492         * gdb.fortran/vla-value-sub.exp: New file.
6493         * gdb.fortran/vla-value.exp: New file.
6494         * gdb.fortran/vla-ptr-info.exp: New file.
6495         * gdb.mi/mi-vla-fortran.exp: New file.
6496         * gdb.mi/vla.f90: New file.
6497
6498 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
6499
6500         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6501         of hardwired timeout value.
6502
6503 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6504             Pedro Alves  <palves@redhat.com>
6505
6506         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6507         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6508
6509 2015-10-19  Josh Stone  <jistone@redhat.com>
6510
6511         * gdb.base/catch-syscall.c: Include <sched.h>.
6512         (unknown_syscall): New variable.
6513         (main): Trigger a vfork and an unknown syscall.
6514         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6515         (unknown_syscall_number): Likewise.
6516         (check_call_to_syscall): Accept an optional syscall pattern.
6517         (check_return_from_syscall): Likewise.
6518         (check_continue): Likewise.
6519         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6520         (test_catch_syscall_skipping_return): New test toggling off 'catch
6521         syscall' to step over the syscall return, then toggling back on.
6522         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6523         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6524         (do_syscall_tests): Call test_catch_syscall_without_args and
6525         test_catch_syscall_mid_vfork.
6526         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6527         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6528
6529 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
6530
6531         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6532         print g_vE): Add new pass patterns.
6533         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6534         print various symbol names for vptr fields.
6535
6536 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
6537
6538         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6539         results.
6540
6541 2015-10-12  Yao Qi  <yao.qi@linaro.org>
6542
6543         * gdb.arch/disp-step-insn-reloc.exp: New test case.
6544
6545 2015-10-12  Yao Qi  <yao.qi@linaro.org>
6546
6547         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6548         is aarch64*-*-linux*.
6549
6550 2015-10-12  Yao Qi  <yao.qi@linaro.org>
6551
6552         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6553         (can_relocate_bcond_true): ... it.
6554         (can_relocate_bcond_false): New function.
6555         (foo): Likewise.
6556         (can_relocate_bl): Likewise.
6557         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6558         can_relocate_bl.
6559
6560 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
6561
6562         * gdb.base/nested-addr.c: New file.
6563         * gdb.base/nested-addr.exp: New testcase.
6564
6565 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
6566
6567         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6568         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6569         its output.  Ignore the output of "record goto begin" and instead
6570         check that GDB is replaying.
6571
6572 2015-10-09  Pedro Alves  <palves@redhat.com>
6573
6574         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6575         (top level): Use it in the run with no args test.
6576
6577 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
6578
6579         * gdb.dlang/properties.exp: New file.
6580
6581 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
6582
6583         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6584         whether or not address 0x1000 is mapped on the target.
6585
6586 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
6587
6588         * gdb.python/py-type.exp: Do not run tests if binaries fail to
6589         build.
6590
6591 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
6592
6593         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6594         instruction-history test.
6595
6596 2015-09-28  Doug Evans  <dje@google.com>
6597
6598         * gdb.base/gcore.c (array_func): Add reference to static_array.
6599
6600 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
6601
6602         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6603         source line.
6604
6605 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6606
6607         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6608         short or char as base type.
6609
6610 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6611
6612         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6613         to allow any size enum.
6614
6615 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
6616
6617         * gdb.ada/array_ptr_renaming.exp: New testcase.
6618         * gdb.ada/array_ptr_renaming/foo.adb: New file.
6619         * gdb.ada/array_ptr_renaming/pack.ads: New file.
6620
6621 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
6622
6623         * gdb.trace/ftrace-lock.c: New file.
6624         * gdb.trace/ftrace-lock.exp: New file.
6625
6626 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
6627
6628         * gdb.arch/insn-reloc.c: New file.
6629         * gdb.arch/ftrace-insn-reloc.exp: New file.
6630
6631 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
6632
6633         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6634         instruction.
6635         * gdb.trace/pendshr1.c (pendfunc): Likewise.
6636         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6637         * gdb.trace/range-stepping.c: Likewise.
6638         * gdb.trace/trace-break.c: Likewise.
6639         * gdb.trace/trace-mt.c (thread_function): Likewise.
6640         * gdb.trace/ftrace.c (marker): Likewise.
6641         * gdb.trace/trace-condition.c (marker): Likewise.
6642         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6643         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6644         is_aarch64_target.
6645
6646 2015-09-18  Doug Evans  <xdje42@gmail.com>
6647
6648         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6649         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6650
6651 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6652
6653         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6654         the breakpoint.
6655
6656 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6657
6658         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
6659         the pending breakpoint.  Remove timeout override for "Run till
6660         MI pending breakpoint on pendfunc3 on thread 2" test.
6661
6662 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6663
6664         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
6665         filename pattern.
6666
6667 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6668
6669         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
6670         in breakpoint filename pattern.
6671
6672 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6673
6674         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6675
6676 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
6677
6678         * gdb.linespec/explicit.exp: Check for readline support for
6679         tab-completion tests.  Fix obvious typo.
6680
6681 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
6682
6683         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
6684         and replay.
6685
6686 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
6687
6688         * gdb.btrace/non-stop.c: New.
6689         * gdb.btrace/non-stop.exp: New.
6690
6691 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
6692             Yao Qi  <yao.qi@linaro.org>
6693
6694         * gdb.trace/trace-condition.c: New file.
6695         * gdb.trace/trace-condition.exp: New file.
6696
6697 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
6698
6699         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6700         for testing bytecode compilation.
6701
6702 2015-09-16  Pedro Alves  <palves@redhat.com>
6703             Sandra Loosemore <sandra@codesourcery.com>
6704
6705         * gdb.threads/non-stop-fair-events.c (timeout): New global.
6706         (SECONDS): Redefine.
6707         (main): Call pthread_kill and alarm early.
6708         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
6709         support.
6710         (test): If the target can't hardware step and doesn't support
6711         displaced stepping, increase the timeout.
6712
6713 2015-09-16  Pedro Alves  <palves@redhat.com>
6714
6715         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
6716         (enable_debug): New procedures.
6717         (test): Use them.  Bail out if waiting for threads fails.
6718         (top level): Bail out if a test fails.
6719
6720 2015-09-16  Yao Qi  <yao.qi@linaro.org>
6721
6722         * gdb.asm/asm-source.exp: Set asm-arch for
6723         aarch64*-*-* target.
6724         * gdb.asm/aarch64.inc: New file.
6725
6726 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
6727
6728         * gdb.ada/array_of_variable_length.exp: New testcase.
6729         * gdb.ada/array_of_variable_length/foo.adb: New file.
6730         * gdb.ada/array_of_variable_length/pck.adb: New file.
6731         * gdb.ada/array_of_variable_length/pck.ads: New file.
6732
6733 2015-09-15  Doug Evans  <dje@google.com>
6734
6735         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
6736         of function static local variable.
6737
6738 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
6739
6740         * gdb.threads/tls-so_extern.exp: New test file.
6741         * gdb.threads/tls-so_extern.c: New test file.
6742         * gdb.threads/tls-so_extern_main.c: New test file.
6743
6744 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6745
6746         * gdb.opt/solib-intra-step-lib.c: New file.
6747         * gdb.opt/solib-intra-step-main.c: New file.
6748         * gdb.opt/solib-intra-step.exp: New file.
6749
6750 2015-09-15  Pedro Alves  <palves@redhat.com>
6751
6752         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
6753         gdb_continue_to_breakpoint instead of gdb_test_multiple.
6754
6755 2015-09-14  Pedro Alves  <palves@redhat.com>
6756
6757         * gdb.base/hook-stop-continue.c: Delete.
6758         * gdb.base/hook-stop-continue.exp: Delete.
6759         * gdb.base/hook-stop-frame.c: Delete.
6760         * gdb.base/hook-stop-frame.exp: Delete.
6761         * gdb.base/hook-stop.c: New file.
6762         * gdb.base/hook-stop.exp: New file.
6763
6764 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
6765
6766         * gdb.ada/access_to_packed_array.exp: New testcase.
6767         * gdb.ada/access_to_packed_array/foo.adb: New file.
6768         * gdb.ada/access_to_packed_array/pack.adb: New file.
6769         * gdb.ada/access_to_packed_array/pack.ads: New file.
6770
6771 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
6772
6773         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6774         buffer size test.
6775
6776 2015-09-11  Don Breazeal  <donb@codesourcery.com>
6777
6778         * gdb.base/foll-exec.c: Add copyright header.  Fix
6779         formatting issues.
6780         * gdb.base/foll-exec.exp (zap_session): Delete proc.
6781         (do_exec_tests): Use clean_restart in place of zap_session,
6782         and for test initialization.  Fix formatting issues.  Use
6783         fail in place of perror.
6784         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6785         an expect statement to match an expression with output from
6786         the program under debug.
6787         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6788         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6789         * gdb.threads/non-ldr-exc-2.exp: Likewise.
6790         * gdb.threads/non-ldr-exc-3.exp: Likewise.
6791         * gdb.threads/non-ldr-exc-4.exp: Likewise.
6792
6793 2015-09-09  Doug Evans  <dje@google.com>
6794
6795         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6796
6797 2015-09-09  Doug Evans  <dje@google.com>
6798
6799         * gdb.base/pie-execl.exp: Fix result test of build_executable.
6800
6801 2015-09-09  Doug Evans  <dje@google.com>
6802
6803         * gdb.base/savedregs.exp: Fix typo.
6804
6805 2015-09-09  Pedro Alves  <palves@redhat.com>
6806
6807         * gdb.mi/mi-cli.exp: Add CLI finish tests.
6808
6809 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
6810
6811         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6812         command actually switches threads.  Give up on remaining
6813         tests if target fails to stop at breakpoint.
6814
6815 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
6816
6817         * gdb.ada/funcall_char.exp: New testcase.
6818         * gdb.ada/funcall_char/foo.adb: New file.
6819
6820 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
6821
6822         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6823         expected outputs.  Add two testcases for completing ambiguous
6824         functions.
6825         * gdb.ada/complete/aux_pck.adb: New file.
6826         * gdb.ada/complete/aux_pck.ads: New file.
6827         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6828         Ambiguous_Func functions.
6829         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6830         * gdb.ada/complete/pck.adb: Likewise.
6831
6832 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
6833
6834         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6835         failures to run the test program under GDB.
6836
6837 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
6838
6839         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
6840         to C.
6841
6842 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
6843
6844         * gdb.base/run-after-attach.exp: New test file.
6845         * gdb.base/run-after-attach.c: New test file.
6846
6847 2015-08-26  Don Breazeal  <donb@codesourcery.com>
6848
6849         * gdb.base/foll-exec-2.c: New test program.
6850         * gdb.base/foll-exec-2.exp: New test.
6851
6852 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
6853
6854         * gdb.base/nested-subp1.exp: New file.
6855         * gdb.base/nested-subp1.c: New file.
6856         * gdb.base/nested-subp2.exp: New file.
6857         * gdb.base/nested-subp2.c: New file.
6858         * gdb.base/nested-subp3.exp: New file.
6859         * gdb.base/nested-subp3.c: New file.
6860
6861 2015-08-24  Pedro Alves  <palves@redhat.com>
6862
6863         * gdb.server/connect-without-multi-process.c: New file.
6864         * gdb.server/connect-without-multi-process.exp: New file.
6865
6866 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
6867
6868         * gdb.opt/inline-markers.c: Make z int.
6869
6870 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
6871
6872         * gdb.opt/inline-markers.c: Make z volatile.
6873
6874 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
6875
6876         * gdb.opt/inline-bt.c: New volatile global z.
6877         * gdb.opt/inline-cmds.c: Likewise.
6878         * gdb.opt/inline-locals.c: Likewise.
6879         * gdb.opt/inline-markers.c: New extern global z.
6880         (marker): Use z.
6881         (inline_fn): Likewise.
6882
6883 2015-08-24  Pedro Alves  <palves@redhat.com>
6884
6885         * config/m32r-stub.exp: Remove file.
6886         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
6887         * gdb.base/call-rt-st.exp: Likewise.
6888         * gdb.base/call-strs.exp: Likewise.
6889         * gdb.base/default.exp: Remove references to h8300-*-hms and
6890         *-*-udi*.
6891         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
6892
6893 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6894
6895         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
6896         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
6897         and "return" use KFAIL when GDB can not read/write the vector
6898         return value.
6899
6900 2015-08-21  Gary Benson <gbenson@redhat.com>
6901
6902         * gdb.trace/pending.exp: Cope with remote transfer warnings.
6903
6904 2015-08-20  Pedro Alves  <palves@redhat.com>
6905
6906         * gdb.server/solib-list.exp: No longer expect an interior stop in
6907         non-stop mode.
6908
6909 2015-08-20  Pedro Alves  <palves@redhat.com>
6910
6911         * gdb.server/connect-stopped-target.c: New file.
6912         * gdb.server/connect-stopped-target.exp: New file.
6913
6914 2015-08-20  Pedro Alves  <palves@redhat.com>
6915
6916         * gdb.dwarf2/comp-unit-lang.exp: New file.
6917         * gdb.dwarf2/comp-unit-lang.c: New file.
6918
6919 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
6920
6921         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
6922         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
6923
6924 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
6925
6926         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
6927         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
6928
6929 2015-08-18  Doug Evans  <dje@google.com>
6930             Adrian Sendroiu <adrian.sendroiu@freescale.com>
6931
6932         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
6933         skip_python_tests.  New arg prompt_regexp.
6934         (skip_python_tests): New function.
6935         * lib/mi-support.exp (mi_skip_python_tests): New function.
6936         * gdb.python/py-mi-objfile-gdb.py: New file.
6937         * gdb.python/py-mi-objfile.c: New file.
6938         * gdb.python/py-mi-objfile.exp: New file.
6939
6940 2015-08-17  Keith Seitz  <keiths@redhat.com>
6941
6942         * gdb.linespec/explicit.exp: Move strace test from here ...
6943         * gdb.trace/strace.exp: ... to here.
6944
6945 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
6946
6947         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
6948         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
6949
6950 2015-08-14  Doug Evans  <xdje42@gmail.com>
6951
6952         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
6953         inferior before selecting a new file.
6954
6955 2015-08-14  Doug Evans  <xdje42@gmail.com>
6956
6957         * gdb.mi/mi-disassemble.exp: Update.
6958         * gdb.base/disasm-optim.S: New file.
6959         * gdb.base/disasm-optim.c: New file.
6960         * gdb.base/disasm-optim.h: New file.
6961         * gdb.base/disasm-optim.exp: New file.
6962
6963 2015-08-14  Keith Seitz  <keiths@redhat.com>
6964
6965         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6966         "evaluated-by".
6967
6968 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
6969
6970         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6971
6972 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
6973
6974         * gdb.ada/fun_renaming.exp: New testcase.
6975         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6976         * gdb.ada/fun_renaming/pack.adb: New file.
6977         * gdb.ada/fun_renaming/pack.ads: New file.
6978
6979 2015-08-12  Keith Seitz  <keiths@redhat.com>
6980
6981         * gdb.base/dso2dso.exp: Pass basename of source file in call to
6982         gdb_get_line_number.
6983
6984 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
6985
6986         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6987         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6988         gdb.base/dso2dso.exp: New files.
6989
6990 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
6991             Pedro Alves  <palves@redhat.com>
6992             Keith Seitz  <keiths@redhat.com>
6993
6994         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6995         GDBFLAGS.
6996
6997 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
6998
6999         * gdb.base/gdbhistsize-history.exp
7000         (test_histsize_history_setting): Use save_vars.
7001         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7002         Use save_vars.
7003         (test_no_truncation_of_unlimited_history_file): Use save_vars.
7004         * gdb.base/readline.exp: Use save_vars.
7005
7006 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
7007
7008         * lib/gdb.exp (save_vars): New proc.
7009
7010 2015-08-11  Keith Seitz  <keiths@redhat.com>
7011
7012         * gdb.base/help.exp: Update help_breakpoint_text.
7013
7014 2015-08-11  Keith Seitz  <keiths@redhat.com>
7015
7016         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7017         (at toplevel): Call test_explicit_breakpoints.
7018         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7019         breakpoints.
7020         * lib/mi-support.exp (mi_make_breakpoint): Add support for
7021         breakpoint conditions, "-cond".
7022
7023 2015-08-11  Keith Seitz  <keiths@redhat.com>
7024
7025         * gdb.linespec/3explicit.c: New file.
7026         * gdb.linespec/cpexplicit.cc: New file.
7027         * gdb.linespec/cpexplicit.exp: New file.
7028         * gdb.linespec/explicit.c: New file.
7029         * gdb.linespec/explicit.exp: New file.
7030         * gdb.linespec/explicit2.c: New file.
7031         * gdb.linespec/ls-errs.exp: Add explicit location tests.
7032         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7033         before using in the matching pattern.
7034         Clarify that `prefix' is a regular expression.
7035
7036 2015-08-11  Keith Seitz  <keiths@redhat.com>
7037
7038         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7039         test.
7040         Add tests for missing ",FMT" and ",".
7041
7042 2015-08-10  Doug Evans  <dje@google.com>
7043             Keith Seitz  <keiths@redhat.com>
7044
7045         PR gdb/17960
7046         * gdb.base/completion.exp: Add location completer tests.
7047
7048 2015-08-07  Pedro Alves  <palves@redhat.com>
7049
7050         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7051         tests here.
7052         (top level): Run do_test with and without displaced stepping.
7053
7054 2015-08-07  Pedro Alves  <palves@redhat.com>
7055
7056         * gdb.base/valgrind-disp-step.c: New file.
7057         * gdb.base/valgrind-disp-step.exp: New file.
7058
7059 2015-08-07  Pedro Alves  <palves@redhat.com>
7060
7061         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7062         Delete function.
7063         (main): Add alarm.  Run an infinite loop instead of calling
7064         wait_threads.
7065         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7066         comment.
7067         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7068         Delete function.
7069         (main): Add alarm.  Run an infinite loop instead of calling
7070         wait_threads.
7071         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7072         comment.
7073
7074 2015-08-07  Pedro Alves  <palves@redhat.com>
7075
7076         * gdb.base/checkpoint-ns.exp: New file.
7077         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7078         standard_testfile.
7079
7080 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
7081
7082         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7083         * gdb.btrace/instruction_history.exp: Update.
7084         * gdb.btrace/tsx.exp: New.
7085         * gdb.btrace/tsx.c: New.
7086
7087 2015-08-06  Pedro Alves <palves@redhat.com>
7088
7089         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7090         increase timeout.
7091         * gdb.reverse/until-precsave.exp: Bump timeouts.
7092
7093 2015-08-06  Pedro Alves  <palves@redhat.com>
7094
7095         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7096
7097 2015-08-06  Pedro Alves  <palves@redhat.com>
7098
7099         PR gdb/18749
7100         * gdb.threads/process-dies-while-handling-bp.c: New file.
7101         * gdb.threads/process-dies-while-handling-bp.exp: New file.
7102
7103 2015-08-06  Pedro Alves  <palves@redhat.com>
7104
7105         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7106         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7107
7108 2015-08-05  Pedro Alves  <palves@redhat.com>
7109
7110         * gdb.threads/next-while-other-thread-longjmps.c: New file.
7111         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7112
7113 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
7114
7115         * gdb.base/bp-permanent.exp: Report test as unsupported if
7116         the target cannot stop at the permanent breakpoint.
7117
7118 2015-08-03  Doug Evans  <dje@google.com>
7119
7120         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7121         10000.
7122
7123 2015-08-03  Doug Evans  <dje@google.com>
7124
7125         * Makefile.in (workers/%.worker, build-perf): New rule.
7126         (GDB_PERFTEST_MODE): New variable.
7127         (check-perf): Use it.
7128         (clean): Clean up gdb.perf parallel build subdirs.
7129         * lib/build-piece.exp: New file.
7130         * lib/gdb.exp (make_gdb_parallel_path): New function
7131         (standard_output_file, standard_temp_file): Call it.
7132         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7133         of $GDB_PARALLEL.
7134         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7135
7136 2015-08-03  Doug Evans  <dje@google.com>
7137
7138         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7139         (LOG_FILE_NAME): New global.
7140         (TextReporter.__init__): Initialize self.txt_sum.
7141         (TextReporter.report): Add support for multiple data-points.
7142         Move report to perftest.sum, put raw data in perftest.log.
7143         (TextReporter.start): Open sum and log files.
7144         (TextReporter.end): Close sum and log files.
7145         * gdb.perf/lib/perftest/testresult.py
7146         (SingleStatisticTestResult.record): Handle multiple data-points.
7147
7148 2015-07-31  Pedro Alves  <palves@redhat.com>
7149
7150         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7151         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
7152         kill_wait_spawned_process instead of explicit "kill -9".
7153         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7154         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
7155         kill_wait_spawned_process.
7156         * gdb.base/attach-twice.exp: Likewise.
7157         * gdb.base/attach.exp: Likewise.
7158         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7159         gdb_test_multiple.
7160         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7161         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
7162         kill_wait_spawned_process.
7163         * gdb.base/valgrind-infcall.exp: Likewise.
7164         * gdb.multi/multi-attach.exp: Likewise.
7165         * gdb.python/py-prompt.exp: Likewise.
7166         * gdb.python/py-sync-interp.exp: Likewise.
7167         * gdb.server/ext-attach.exp: Likewise.
7168         * gdb.threads/attach-into-signal.exp (corefunc): Use
7169         spawn_wait_for_attach, spawn_id_get_pid and
7170         kill_wait_spawned_process.
7171         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7172         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
7173         spawn_id_get_pid and kill_wait_spawned_process.
7174         * gdb.threads/attach-stopped.exp (corefunc): Use
7175         spawn_wait_for_attach, spawn_id_get_pid and
7176         kill_wait_spawned_process.
7177         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7178         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
7179         kill_wait_spawned_process instead of explicit "kill -9".
7180         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7181         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7182         (spawn_wait_for_attach): Use spawn instead of exec to spawn
7183         processes.  Don't map cygwin/windows pids here.  Now returns a
7184         spawn id list.
7185
7186 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
7187
7188         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7189         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7190         correct patch.
7191
7192 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
7193
7194         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7195
7196 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
7197
7198         Reapply:
7199         2014-05-21  Mark Wielaard  <mjw@redhat.com>
7200
7201         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7202
7203 2015-07-30  Pedro Alves  <palves@redhat.com>
7204
7205         * linux-low.c (handle_extended_wait): Set the child's last
7206         reported status to TARGET_WAITKIND_STOPPED.
7207
7208 2015-07-30  Pedro Alves  <palves@redhat.com>
7209
7210         PR threads/18600
7211         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7212         only shows inferior 1.
7213
7214 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
7215             Pedro Alves  <palves@redhat.com>
7216
7217         PR threads/18600
7218         * gdb.threads/fork-plus-threads.c: New file.
7219         * gdb.threads/fork-plus-threads.exp: New file.
7220
7221 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7222
7223         * gdb.base/batch-preserve-term-settings.exp
7224         (test_terminal_settings_preserved_after_cli_exit): Use
7225         send_quit_command.
7226
7227 2015-07-29  Pedro Alves  <palves@redhat.com>
7228             Don Breazeal  <donb@codesourcery.com>
7229
7230         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7231         output from both inferior_spawn_id and gdb_spawn_id.
7232
7233 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
7234
7235         * gdb.threads/attach-into-signal.exp (corefunc): Use
7236         with_test_prefix on nested loops, uniquefying the test messages.
7237
7238 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
7239
7240         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7241         commit.
7242
7243 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7244
7245         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7246         New proc.
7247         (test_terminal_settings_preserved_after_sigterm): New test.
7248
7249 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7250
7251         * gdb.base/batch-preserve-term-settings.exp
7252         (test_terminal_settings_preserved_after_cli_exit): New test.
7253
7254 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
7255
7256         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7257         manipulation of saved_gdbflags.
7258         (test_terminal_settings_preserved): Remove global declaration of
7259         the unused variable pagination_prompt.  Remove manipulation of
7260         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
7261         GDBFLAGS.
7262
7263 2015-07-29  Pedro Alves  <palves@redhat.com>
7264
7265         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7266
7267 2015-07-29  Pedro Alves  <palves@redhat.com>
7268
7269         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7270         at the top.
7271
7272 2015-07-29  Pedro Alves  <palves@redhat.com>
7273
7274         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7275         (main): Call gdb_unbuffer_output.
7276         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7277         (main): Call gdb_unbuffer_output.
7278         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7279         (main): Call gdb_unbuffer_output.
7280         * gdb.base/call-strs.exp: Adjust to step over the
7281         gdb_unbuffer_output call.
7282         * gdb.base/catch-gdb-caused-signals.c: Include
7283         "../lib/unbuffer_output.c".
7284         (main): Call gdb_unbuffer_output.
7285         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7286         (main): Call gdb_unbuffer_output.
7287         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7288         (main): Call gdb_unbuffer_output.
7289         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7290         (main): Call gdb_unbuffer_output.
7291         * gdb.base/shlib-call.exp: Adjust to step over the
7292         gdb_unbuffer_output call.
7293         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7294         (main): Call gdb_unbuffer_output.
7295         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7296         (main): Call gdb_unbuffer_output.
7297         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7298         (main): Rename to ...
7299         (test): ... this.
7300         (main): Reimplement.
7301         * gdb.base/varargs.exp: Run to test instead of to main.
7302         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7303         (main): Call gdb_unbuffer_output.
7304
7305 2015-07-29  Pedro Alves  <palves@redhat.com>
7306
7307         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7308         factore out from mi_continue_dprintf.  For call-style dprintfs,
7309         expect dprintf output out of $inferior_spawn_id.
7310         (mi_continue_dprintf): Use mi_expect_dprintf.
7311         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7312         (main): Call gdb_unbuffer_output.
7313
7314 2015-07-29  Pedro Alves  <palves@redhat.com>
7315
7316         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7317         (default_mi_gdb_start): Set inferior_spawn_id instead of
7318         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
7319         gdb_spawn_id.
7320         (mi_gdb_test): Always expect inferior output from both
7321         $inferior_spawn_id and $gdb_spawn_id.
7322
7323 2015-07-29  Pedro Alves  <palves@redhat.com>
7324
7325         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
7326         send_inferior and $inferior_spawn_id.
7327
7328 2015-07-29  Pedro Alves  <palves@redhat.com>
7329
7330         * gdb.gdb/complaints.exp (test_initial_complaints)
7331         (test_serial_complaints, test_short_complaints): Use
7332         gdb_test_stdio.
7333         (test_empty_complaint): Handle $inferior_spawn_id !=
7334         $gdb_spawn_id.
7335
7336 2015-07-29  Pedro Alves  <palves@redhat.com>
7337
7338         * gdb.base/varargs.exp: Use gdb_test_stdio.
7339
7340 2015-07-29  Pedro Alves  <palves@redhat.com>
7341
7342         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7343
7344 2015-07-29  Pedro Alves  <palves@redhat.com>
7345
7346         * gdb.base/ending-run.exp: Use gdb_test_stdio.
7347
7348 2015-07-29  Pedro Alves  <palves@redhat.com>
7349
7350         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7351         parameter into two new parameters, "inf_result" and "gdb_result".
7352         Expect inferior output and gdb output from $inferior_spawn_id and
7353         $gdb_spawn_id, respectively.  Adjust all callers.
7354
7355 2015-07-29  Pedro Alves  <palves@redhat.com>
7356
7357         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7358         of gdb_test_sequence.
7359
7360 2015-07-29  Pedro Alves  <palves@redhat.com>
7361
7362         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7363         (saw_spurious_output): Expect inferior output from
7364         $inferior_spawn_id.  Use gdb_test_stdio.
7365
7366 2015-07-29  Pedro Alves  <palves@redhat.com>
7367
7368         * gdb.base/dprintf.exp: Use standard_testfile.  Change
7369         prepare_for_testing call.
7370         (srcfile): Don't set.
7371         (restart): New procedure.
7372         (test_dprintf): New procecure, use to continue over dprintfs.
7373         (test_call, test_agent): New procedures, tests moved here.
7374         Restart gdb and recreate dprintfs.  Adjust expected output.
7375
7376 2015-07-29  Pedro Alves  <palves@redhat.com>
7377
7378         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7379
7380 2015-07-29  Pedro Alves  <palves@redhat.com>
7381
7382         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7383
7384 2015-07-29  Pedro Alves  <palves@redhat.com>
7385
7386         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7387         gdb_test_stdio.
7388
7389 2015-07-29  Pedro Alves  <palves@redhat.com>
7390
7391         * lib/gdb.exp (gdb_test_stdio): New procedure.
7392
7393 2015-07-29  Pedro Alves  <palves@redhat.com>
7394
7395         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7396
7397 2015-07-29  Pedro Alves  <palves@redhat.com>
7398
7399         * gdb.base/call-signal-resume.exp: Remove check for
7400         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
7401         * gdb.base/unwindonsignal.exp: Likewise.
7402         * gdb.base/call-signals.c (gen_signal): Remove printf call.
7403         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7404
7405 2015-07-29  Pedro Alves  <palves@redhat.com>
7406
7407         * gdb.base/siginfo-addr.c (pass): New function.
7408         (handler): Call it iff si_addr is correct.
7409         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7410         Set a breakpoint at "pass" and continue to it.
7411
7412 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
7413
7414         * gdb.python/py-objfile.exp: Make some tests have unique names.
7415         * gdb.python/py-pp-registration.exp: Likewise.
7416
7417 2015-07-28  Pedro Alves  <palves@redhat.com>
7418
7419         * gdb.server/server-exec-info.exp: Issue a "disconnect".
7420
7421 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
7422
7423         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7424
7425 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
7426
7427         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7428
7429 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
7430
7431         * gdb.base/gdb-sigterm-2.exp: New test.
7432
7433 2015-07-25  Doug Evans  <xdje42@gmail.com>
7434
7435         Revert:
7436         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7437         (workers/%.worker, build-perf): New rule.
7438         (GDB_PERFTEST_MODE): New variable.
7439         (check-perf): Use it.
7440         (clean): Clean up gdb.perf parallel build subdirs.
7441         * lib/build-piece.exp: New file.
7442         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7443         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7444         name.
7445         (standard_temp_file): Ditto.
7446         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7447         of $GDB_PARALLEL.
7448
7449 2015-07-24  Doug Evans  <dje@google.com>
7450
7451         * gdb.perf/lib/perftest/utils.py: New file.
7452         * gdb.perf/gm-hello.cc: New file.
7453         * gdb.perf/gm-pervasive-typedef.cc: New file.
7454         * gdb.perf/gm-pervasive-typedef.h: New file.
7455         * gdb.perf/gm-std.cc: New file.
7456         * gdb.perf/gm-std.h: New file.
7457         * gdb.perf/gm-use-cerr.cc: New file.
7458         * gdb.perf/gm-utils.h: New file.
7459         * gdb.perf/gmonster-null-lookup.py: New file.
7460         * gdb.perf/gmonster-pervasive-typedef.py: New file.
7461         * gdb.perf/gmonster-print-cerr.py: New file.
7462         * gdb.perf/gmonster-ptype-string.py: New file.
7463         * gdb.perf/gmonster-runto-main.py: New file.
7464         * gdb.perf/gmonster-select-file.py: New file.
7465         * gdb.perf/gmonster1-null-lookup.exp: New file.
7466         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7467         * gdb.perf/gmonster1-print-cerr.exp: New file.
7468         * gdb.perf/gmonster1-ptype-string.exp: New file.
7469         * gdb.perf/gmonster1-runto-main.exp: New file.
7470         * gdb.perf/gmonster1-select-file.exp: New file.
7471         * gdb.perf/gmonster1.cc: New file.
7472         * gdb.perf/gmonster1.exp: New file.
7473         * gdb.perf/gmonster2-null-lookup.exp: New file.
7474         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7475         * gdb.perf/gmonster2-print-cerr.exp: New file.
7476         * gdb.perf/gmonster2-ptype-string.exp: New file.
7477         * gdb.perf/gmonster2-runto-main.exp: New file.
7478         * gdb.perf/gmonster2-select-file.exp: New file.
7479         * gdb.perf/gmonster2.cc: New file.
7480         * gdb.perf/gmonster2.exp: New file.
7481
7482 2015-07-24  Doug Evans  <dje@google.com>
7483
7484         * gdb.perf/README: New file.
7485         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7486         * lib/gen-perf-test.exp: New file.
7487
7488 2015-07-24  Doug Evans  <dje@google.com>
7489
7490         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7491         (PerfTest::startup): New function.
7492         (PerfTest::run): Return result of calling body.
7493         (PerfTest::assemble): Rewrite.
7494         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7495         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7496         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7497         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7498         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7499
7500 2015-07-24  Doug Evans  <dje@google.com>
7501
7502         * lib/gdb.exp (clean_restart): Make executable optional.
7503
7504 2015-07-24  Doug Evans  <dje@google.com>
7505
7506         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7507         compiler_info references.
7508         * gdb.cp/temargs.exp: Ditto.
7509         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7510         (get_compiler_info): Early exit if already computed.  Set compiler_info
7511         to "unknown" if there was a problem.
7512         (test_compiler_info): Add function comment.  Call get_compiler_info.
7513
7514 2015-07-24  Doug Evans  <dje@google.com>
7515
7516         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7517         (workers/%.worker, build-perf): New rule.
7518         (GDB_PERFTEST_MODE): New variable.
7519         (check-perf): Use it.
7520         (clean): Clean up gdb.perf parallel build subdirs.
7521         * lib/build-piece.exp: New file.
7522         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7523         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7524         name.
7525         (standard_temp_file): Ditto.
7526         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7527         of $GDB_PARALLEL.
7528
7529 2015-07-24  Doug Evans  <dje@google.com>
7530
7531         * lib/future.exp (gdb_default_target_compile): New option
7532         "early_flags".
7533         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7534         --as-needed.
7535
7536 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
7537
7538         * gdb.base/catch-syscall.exp: Call gdb_exit before
7539         gdb_skip_xml_test.
7540
7541 2015-07-24  Pedro Alves  <palves@redhat.com>
7542
7543         * gdb.python/py-events.exp: Accept output between the stop event
7544         and the prompt.
7545         * gdb.python/py-evsignal.exp: Likewise.
7546         * gdb.python/py-evthreads.exp: Likewise.
7547
7548 2015-07-24  Pedro Alves  <palves@redhat.com>
7549
7550         PR gdb/18717
7551         * gdb.threads/non-ldr-exit.c: New file.
7552         * gdb.threads/non-ldr-exit.exp: New file.
7553
7554 2015-07-24  Yao Qi  <yao.qi@linaro.org>
7555
7556         * gdb.server/ext-wrapper.exp: Test --wrapper option when
7557         restarting process.
7558
7559 2015-07-24  Yao Qi  <yao.qi@linaro.org>
7560
7561         * gdb.server/ext-restart.exp: New file.
7562
7563 2015-07-24  Yao Qi  <yao.qi@linaro.org>
7564
7565         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7566         argument options.
7567         * gdb.server/ext-wrapper.exp: New file.
7568
7569 2015-07-23  Doug Evans  <dje@google.com>
7570
7571         * gdb.dwarf2/dw2-dummy-cu.S: New file.
7572         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7573
7574 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
7575
7576         * gdb.ada/var_arr_typedef.exp: New testcase.
7577         * gdb.ada/var_arr_typedef/pack.adb: New file.
7578         * gdb.ada/var_arr_typedef/pack.ads: New file.
7579         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7580
7581 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
7582
7583         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7584
7585 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7586
7587         * gdb.arch/i386-biarch-core.exp: Replace istarget
7588         by "complete set gnutarget". Remove expectation for the "core-file"
7589         command.
7590
7591 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7592
7593         Revert the previous commit:
7594         Tests for validate symbol file using build-id.
7595
7596 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
7597
7598         Tests for validate symbol file using build-id.
7599         * gdb.base/solib-mismatch-lib.c: New file.
7600         * gdb.base/solib-mismatch-libmod.c: New file.
7601         * gdb.base/solib-mismatch.c: New file.
7602         * gdb.base/solib-mismatch.exp: New file.
7603
7604 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
7605
7606         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7607         nios2-*-linux*.
7608         * gdb.base/sigbpt.exp (stepi_out): Likewise.
7609         * gdb.base/siginfo.exp: Likewise.
7610         * gdb.base/sigstep.exp (advance, advancei): Likewise.
7611
7612 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
7613
7614         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7615         Move it to ...
7616         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7617         ... here.
7618         * gdb.trace/range-stepping.exp: Check that the target supports
7619         range stepping.
7620
7621 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7622
7623         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7624
7625 2015-07-14  Pedro Alves  <palves@redhat.com>
7626
7627         * gdb.base/killed-outside.exp: New file.
7628         * gdb.base/killed-outside.c: New file.
7629
7630 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
7631
7632         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7633         (n at main): New.
7634         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7635
7636 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7637
7638         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7639         infcall tests instead of setting up for KFAIL.
7640
7641 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
7642
7643         * gdb.btrace/record_goto-step.exp: New.
7644
7645 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7646
7647         PR compile/18484
7648         * gdb.compile/compile.c (struct struct_type): Add volatile to
7649         selffield's type.
7650         * gdb.compile/compile.exp
7651         (compile code struct_object.selffield = &struct_object): Skip further
7652         struct_object tests if this one xfails.
7653
7654 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
7655
7656         PR exp/18617
7657         * gdb.trace/ax.exp: Add test.
7658
7659 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7660
7661         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
7662         instead of istarget "aarch64*-*-*".
7663         * gdb.arch/aarch64-fp.exp: Likewise.
7664         * gdb.base/float.exp: Likewise.
7665         * gdb.reverse/aarch64.exp: Likewise.
7666         * lib/gdb.exp (is_aarch64_target): New proc.
7667
7668 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7669
7670         * lib/gdb.exp (is_aarch32_target): New proc.
7671         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7672         instead of "istarget "arm*-*-*"".
7673         * gdb.arch/arm-disp-step.exp: Likewise.
7674         * gdb.arch/thumb-bx-pc.exp: Likewise.
7675         * gdb.arch/thumb-prologue.exp: Likewise.
7676         * gdb.arch/thumb-singlestep.exp: Likewise.
7677         * gdb.base/disp-step-syscall.exp: Likewise.
7678         * gdb.base/float.exp: Likewise.
7679
7680 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7681
7682         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
7683         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
7684
7685 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7686
7687         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
7688         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
7689         if it exists.
7690         * gdb.multi/multi-arch.exp: Likewise.
7691
7692 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
7693
7694         * gdb.python/py-lazy-string.exp: Add missing parentheses to
7695         print.
7696
7697 2015-07-07  Yao Qi  <yao.qi@linaro.org>
7698
7699         * gdb.arch/thumb-singlestep.exp: Do one more single step.
7700
7701 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
7702
7703         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
7704         '[' and ']' characters.
7705
7706 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
7707
7708         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7709
7710 2015-06-29  Pedro Alves  <palves@redhat.com>
7711
7712         PR threads/18127
7713         * gdb.threads/hand-call-new-thread.c: New file.
7714         * gdb.threads/hand-call-new-thread.c: New file.
7715
7716 2015-06-26  Keith Seitz  <keiths@redhat.com>
7717             Doug Evans  <dje@google.com>
7718
7719         PR 16253
7720         * gdb.cp/var-tag-2.cc: New file.
7721         * gdb.cp/var-tag-3.cc: New file.
7722         * gdb.cp/var-tag-4.cc: New file.
7723         * gdb.cp/var-tag.cc: New file.
7724         * gdb.cp/var-tag.exp: New file.
7725
7726 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
7727
7728         * gdb.base/history-duplicates.exp: New test.
7729
7730 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
7731
7732         * gdb.base/completion.exp: Test the completion of the "focus"
7733         command.
7734
7735 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7736
7737         * gdb.arch/amd64-prologue-skip.S: New file.
7738         * gdb.arch/amd64-prologue-skip.exp: New file.
7739
7740 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
7741
7742         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
7743         is_address_zero_readable check.
7744
7745 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
7746
7747         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
7748         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
7749
7750 2015-06-24  Yao Qi  <yao.qi@linaro.org>
7751
7752         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
7753         linux targets.
7754
7755 2015-06-24  Yao Qi  <yao.qi@linaro.org>
7756
7757         * lib/gdb.exp (supports_get_siginfo_type): New proc.
7758         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
7759         * gdb.base/siginfo-thread.exp: Likewise.
7760
7761 2015-06-22  Yao Qi  <yao.qi@linaro.org>
7762
7763         * boards/remote-gdbserver-on-localhost.exp: Add comments.
7764
7765 2015-06-22  Yao Qi  <yao.qi@linaro.org>
7766
7767         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7768         aarch64*-*-*.
7769         (skip_hw_watchpoint_tests): Likewise.
7770
7771 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
7772
7773         * gdb.base/gdbinit-history.exp: Test the interaction between
7774         setting GDBHISTSIZE and setting the history size via .gdbinit.
7775
7776 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
7777
7778         PR gdb/16999
7779         * gdb.base/gdbhistsize-history.exp: New test.
7780
7781 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
7782
7783         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7784         with GDBHISTSIZE.
7785         * gdb.base/readline.exp: Likewise.
7786
7787 2015-06-17  Yao Qi  <yao.qi@linaro.org>
7788
7789         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7790         line.
7791
7792 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
7793
7794         * gdb.base/gdbinit-history.exp: Add test case to check that
7795         an unlimited history file does not get truncated on exit.
7796
7797 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7798
7799         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7800         (VECTOR): New macro.  Use it...
7801         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7802         ...for these typedefs.
7803         (int8, char1, int1, double1): New typedefs.
7804         (struct just_int2, struct two_int2): New structures.
7805         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7806         (add_structvecs, add_singlevecs): New functions.
7807         (main): Call add_some_intvecs twice.
7808         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7809         the compile and exit upon failure.  Try compiling for the "native"
7810         architecture.  Test inferior function calls with vector arguments
7811         and vector return value handling with "finish" and "return".
7812
7813 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
7814
7815         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7816         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7817         PE file.
7818         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7819
7820 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7821
7822         PR breakpoints/16465
7823         * gdb.mi/mi-dprintf-pending.c: New file.
7824         * gdb.mi/mi-dprintf-pending.exp: New test.
7825         * gdb.mi/mi-dprintf-pendshr.c: New file.
7826
7827 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7828             Mircea Gherzan  <mircea.gherzan@intel.com>
7829
7830         * gdb.arch/i386-mpx-map.c: New file.
7831         * gdb.arch/i386-mpx-map.exp: New File.
7832
7833 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7834
7835         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7836         * gdb.arch/i386-mpx.exp: Indentation fixed.
7837
7838 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7839
7840         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
7841         function and improved indentation.
7842         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
7843         gdb_test_multiple. Added additional tests to skip the test.
7844
7845 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7846
7847         * gdb.arch/i386-avx512.c: Change path in include file.
7848         * gdb.arch/i386-avx512.exp: Change include dir path
7849         compilation flag.
7850         * gdb.arch/i386-mpx.c: Change path in include file.
7851         * gdb.arch/i386-mpx.exp: Change include dir path compilation
7852         flag.
7853
7854 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
7855
7856         * gdb.compile/compile-print.exp (compile print *vararray@3)
7857         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
7858
7859 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7860
7861         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
7862         (do not keep jit in memory): ... this.
7863         (expect 5): Change it to ...
7864         (expect no 5): ... this.
7865
7866 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
7867
7868         PR gdb/15564
7869         * gdb.mi/mi-detach.exp: New file.
7870
7871 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7872
7873         PR symtab/18392
7874         * gdb.arch/amd64-tailcall-self.S: New file.
7875         * gdb.arch/amd64-tailcall-self.c: New file.
7876         * gdb.arch/amd64-tailcall-self.exp: New file.
7877
7878 2015-05-28  Don Breazeal  <donb@codesourcery.com>
7879
7880         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
7881         tests for remote targets by checking is_target_gdbserver.
7882
7883 2015-05-27  Doug Evans  <dje@google.com>
7884
7885         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
7886         * gdb.dwarf2/opaque-type-lookup.c: New file.
7887         * gdb.dwarf2/opaque-type-lookup.exp: New file.
7888
7889 2015-05-26  Doug Evans  <dje@google.com>
7890
7891         * gdb.cp/iostream.cc: New file.
7892         * gdb.cp/iostream.exp: New file.
7893
7894 2015-05-26  Doug Evans  <dje@google.com>
7895
7896         * gdb.dwarf2/dw2-op-call.exp: Update.
7897         * gdb.dwarf2/dw4-sig-types.exp: Update.
7898         * gdb.dwarf2/implptr.exp: Update.
7899         * gdb.mi/mi-cmd-param-changed.exp: Update.
7900
7901 2015-05-26  Doug Evans  <dje@google.com>
7902
7903         * gdb.python/py-lazy-string.c: New file.
7904         * gdb.python/py-lazy-string.exp: New file.
7905         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
7906         (main): Update.  Add estring3.
7907         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
7908         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
7909
7910 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
7911             Yao Qi  <yao.qi@linaro.org>
7912
7913         * gdb.reverse/aarch64.c: New.
7914         * gdb.reverse/aarch64.exp: New.
7915
7916 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
7917
7918         * lib/gdb.exp (supports_process_record): Return true for
7919         aarch64*-linux*.
7920         (supports_reverse): Likewise.
7921
7922 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
7923
7924         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7925         Use with_test_prefix.
7926
7927 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
7928
7929         * gdb.base/completion.exp: Add test for completion of layout
7930         names.
7931
7932 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
7933
7934         * lib/gdb.exp (skip_tui_tests): New proc.
7935         * gdb.base/tui-layout.exp: Check skip_tui_tests.
7936
7937 2015-05-19  Pedro Alves  <palves@redhat.com>
7938
7939         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7940         Save the whole env array instead of just HOME.  Unset HISTSIZE in
7941         the environment while testing.  Restore whole environment
7942         afterwards.
7943
7944 2015-05-16  Doug Evans  <xdje42@gmail.com>
7945
7946         * gdb.guile/scm-ports.c: New file.
7947         * gdb.guile/scm-ports.exp: Add memory port tests.
7948
7949 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7950
7951         * gdb.compile/compile-print.c: New file.
7952         * gdb.compile/compile-print.exp: New file.
7953
7954 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7955
7956         * gdb.compile/compile-ops.exp: Cast param to void.
7957         * gdb.compile/compile.exp: Complete type for _gdb_expr.
7958         (compile code struct_object.selffield = &struct_object): Add xfail.
7959
7960 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
7961
7962         * gdb.ada/arr_enum_with_gap: New testcase.
7963
7964 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
7965
7966         * gdb.ada/byte_packed_arr: New testcase.
7967
7968 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
7969
7970         * gdb.ada/pckd_neg: New testcase.
7971
7972 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
7973
7974         PR gdb/17820
7975         * gdb.base/gdbinit-history.exp: New test.
7976         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7977         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7978
7979 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
7980
7981         * gdb.python/py-xmethods.cc: Enhance test case.
7982         * gdb.python/py-xmethods.exp: New tests.
7983         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7984         function.
7985         (B_indexoper): Likewise.
7986         (global_dm_list) : Add new xmethod worker functions.
7987
7988 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
7989
7990         * gdb.base/coredump-filter.exp: Correctly unset
7991         "coredump_var_addr" array.
7992
7993 2015-05-08  Pedro Alves  <palves@redhat.com>
7994
7995         * gdb.server/non-existing-program.exp: Unset spawn_id.
7996
7997 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
7998
7999         PR python/18291
8000         * gdb.python/py-xmethods.exp: Add tests.
8001
8002 2015-05-08  Yao Qi  <yao.qi@linaro.org>
8003
8004         PR gdb/18208
8005         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8006         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8007         function set_coredump_filter, and remove remote_exec call.
8008         Remove argument ipid.  Callers update.
8009         (top level): Don't get inferior's PID.
8010
8011 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8012
8013         * gdb.base/watch_thread_num.exp: Skip test on targets without
8014         access watchpoints.
8015
8016 2015-05-06  Pedro Alves  <palves@redhat.com>
8017
8018         PR server/18081
8019         * gdb.server/non-existing-program.exp: New file.
8020
8021 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
8022
8023         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8024
8025 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
8026
8027         * gdb.ada/out_of_line_in_inlined: New testcase.
8028
8029 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
8030
8031         * gdb.ada/var_rec_arr: New testcase.
8032
8033 2015-04-30  Yao Qi  <yao.qi@linaro.org>
8034
8035         * gdb.base/break-idempotent.exp: If
8036         skip_hw_watchpoint_multi_tests returns true, skip the tests
8037         on "rwatch" and "awatch".
8038
8039 2015-04-30  Yao Qi  <yao.qi@linaro.org>
8040
8041         * gdb.base/relativedebug.exp: Invoke gdb command
8042         "info sharedlibrary", and if libc.so doesn't have debug info,
8043         skip the test.
8044
8045 2015-04-29  Doug Evans  <dje@google.com>
8046
8047         * gdb.python/py-xmethods.exp: Add ptype tests.
8048         * gdb.python/py-xmethods.py (E_method_char_worker): Add
8049         get_result_type method.
8050
8051 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
8052
8053         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8054         the target does not support hardware watchpoints.
8055
8056 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
8057
8058         * gdb.base/break-always.exp: Abort testing if writing to memory
8059         causes an error.
8060
8061 2015-04-28  Doug Evans  <dje@google.com>
8062
8063         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8064         * gdb.python/py-pp-registration.exp: ... here.  New file.
8065         * gdb.python/py-pp-registration.c: New file.
8066         * gdb.python/py-pp-registration.py: New file.
8067
8068 2015-04-28  Doug Evans  <dje@google.com>
8069
8070         * gdb.python/py-bad-printers.c: New file.
8071         * gdb.python/py-bad-printers.py: New file.
8072         * gdb.python/py-bad-printers.exp: New file.
8073
8074 2015-04-28  Sasha Smundak  <asmundak@google.com>
8075
8076         * gdb.python/py-type.exp: New test.
8077
8078 2015-04-28  Andy Wingo  <wingo@igalia.com>
8079
8080         * gdb.python/py-parameter.exp:
8081         * gdb.guile/scm-parameter.exp: Escape the path that we are
8082         matching against, as it might contain characters that are special
8083         to regular expressions.
8084
8085 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
8086
8087         * gdb.ada/rec_comp: New testcase.
8088
8089 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
8090
8091         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8092         before using it.
8093
8094 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
8095
8096         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
8097         new tests for verilog output.
8098
8099 2015-04-24  Yao Qi  <yao.qi@linaro.org>
8100
8101         * boards/remote-gdbserver-on-localhost.exp: New file.
8102
8103 2015-04-23  Pedro Alves  <palves@redhat.com>
8104
8105         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8106         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
8107         "end of file", remove $inferior_spawn_id from the indirect list.
8108
8109 2015-04-23  Pedro Alves  <palves@redhat.com>
8110
8111         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8112
8113 2015-04-23  Pedro Alves  <palves@redhat.com>
8114
8115         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8116         on $any_spawn_id instead of only on $gdb_spawn_id.
8117
8118 2015-04-21  Pierre Muller  <muller@sourceware.org>
8119
8120         PR pascal/17815
8121         * lib/pascal.exp (gpc_compile): Add new option "class".
8122         (fpc_compile): Likewise.
8123         * gdb.pascal/case-insensitive-symbols.pas: New file.
8124         * gdb.pascal/case-insensitive-symbols.exp: New file.
8125
8126 2015-04-20  Gary Benson <gbenson@redhat.com>
8127
8128         * gdb.base/attach.exp: Fix three extended remote failures.
8129
8130 2015-04-17  Gary Benson <gbenson@redhat.com>
8131
8132         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8133         the main executable over the remote protocol.
8134
8135 2015-04-16  Pedro Alves  <palves@redhat.com>
8136
8137         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8138         a new gdbserver if gdbserver_reconnect_p is set.
8139
8140 2015-04-16  Pedro Alves  <palves@redhat.com>
8141
8142         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8143         is set, don't exit gdbserver.
8144
8145 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8146
8147         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8148         appropriate .insn, such that an older assembler can be used.
8149         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8150         the z/Architecture instruction set on 31-bit targets as well.
8151
8152 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8153
8154         * gdb.go/handcall.exp: Remove all logic related to the first
8155         breakpoint and rely on go_runto_main instead.
8156         * gdb.go/strings.exp: Likewise.
8157         * gdb.go/unsafe.exp: Likewise.
8158         * gdb.go/hello.exp: Likewise.  Also rename the remaining
8159         breakpoint marker to "breakpoint 1".
8160         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8161         * gdb.go/strings.go: Likewise.
8162         * gdb.go/unsafe.go: Likewise.
8163         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
8164         "set breakpoint 2 here" and rename the remaining breakpoint marker
8165         to "breakpoint 1".
8166
8167 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
8168
8169         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8170         if itertools.imap is not present.
8171         * gdb.python/py-objfile.exp: Add parentheses.
8172         * gdb.python/py-type.exp: Same.
8173         * gdb.python/py-unwind-maint.py: Same.
8174
8175 2015-04-15  Yao Qi  <yao.qi@linaro.org>
8176
8177         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8178         of ":$ptr_size" and set its form explicitly.
8179
8180 2015-04-15  Pedro Alves  <palves@redhat.com>
8181             Yao Qi  <yao.qi@linaro.org>
8182
8183         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8184         timeout by factor of 4.
8185         (test_regular_watch): Likewise.
8186         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8187         * gdb.reverse/sigall-reverse.exp: Likewise.
8188         * gdb.reverse/until-precsave.exp: Likewise.
8189         * lib/gdb.exp (with_timeout_factor): New proc.
8190         (gdb_expect): Move some code to ...
8191         (get_largest_timeout): ... here.  New procedure.
8192
8193 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
8194
8195         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8196
8197 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
8198
8199         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8200         to write to the .text section.
8201
8202 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
8203
8204         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8205         Handle the case of targets that do not provide PID information.
8206
8207 2015-04-13  Yao Qi  <yao.qi@linaro.org>
8208
8209         * lib/gdbserver-support.exp (gdb_exit): Catch exception
8210         and use expect instead of gdb_expect.
8211
8212 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
8213
8214         * gdb.base/coredump-filter.exp: Rename variable "addr" to
8215         "coredump_var_addr" to avoid naming conflict with other testcases.
8216
8217 2015-04-10  Pedro Alves  <palves@redhat.com>
8218
8219         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8220         gdb_test_sequence and gdb_assert.
8221
8222 2015-04-10  Pedro Alves  <palves@redhat.com>
8223
8224         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8225         test messages that don't include the breakpoint address.
8226
8227 2015-04-10  Yao Qi  <yao.qi@linaro.org>
8228
8229         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8230         false for some offset and width combinations which aren't
8231         supported by linux kernel.
8232
8233 2015-04-10  Pedro Alves  <palves@redhat.com>
8234
8235         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8236         procedure, factored out from ...
8237         (top level): ... here.  Add "set displaced-stepping" testing axis.
8238         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8239         parameter "displaced".  Use it.
8240         (top level): Use foreach and add "set displaced-stepping" testing
8241         axis.
8242
8243 2015-04-10  Pedro Alves  <palves@redhat.com>
8244
8245         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8246         Remove comment.
8247         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8248         both the address of the instruction that triggers the watchpoint
8249         and the address of the instruction immediately after, and use
8250         those addresses for the test.  Fix comment.
8251
8252 2015-04-10  Pedro Alves  <palves@redhat.com>
8253
8254         * gdb.base/sigstep.exp (breakpoint_to_handler)
8255         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
8256         Test "backtrace" in handler.
8257         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
8258         (top level): Add new "displaced" test axis to
8259         breakpoint_to_handler, breakpoint_to_handler_entry and
8260         breakpoint_over_handler.
8261
8262 2015-04-10  Pedro Alves  <palves@redhat.com>
8263
8264         PR gdb/18216
8265         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8266
8267 2015-04-10  Yao Qi  <yao.qi@linaro.org>
8268
8269         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8270         (test_add_rn_pc): New function.
8271         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8272         (top level): Invoke test_add_rn_pc.
8273
8274 2015-04-10  Pedro Alves  <palves@redhat.com>
8275
8276         PR gdb/13858
8277         * gdb.base/step-over-no-symbols.exp: New file.
8278
8279 2015-04-09  Andy Wingo  <wingo@igalia.com>
8280
8281         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8282         after the Python tests.
8283
8284 2015-04-08  Keith Seitz  <keiths@redhat.com>
8285
8286         PR python/16699
8287         * gdb.python/py-completion.exp: New tests for completion.
8288         * gdb.python/py-completion.py (CompleteLimit1): New class.
8289         (CompleteLimit2): Likewise.
8290         (CompleteLimit3): Likewise.
8291         (CompleteLimit4): Likewise.
8292         (CompleteLimit5): Likewise.
8293         (CompleteLimit6): Likewise.
8294         (CompleteLimit7): Likewise.
8295
8296 2015-04-08  Pedro Alves  <palves@redhat.com>
8297
8298         PR gdb/18214
8299         PR gdb/18216
8300         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8301         function.
8302         (main): Install it as SIGUSR1 handler.
8303         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8304         parameter.  Always use "setup" as prefix.  Toggle "set
8305         displaced-stepping" off/on depending on global.  Don't switch to
8306         thread 1 here.
8307         (top level): Add displaced stepping "off/on" test axis.  Update
8308         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
8309         continuing with a queued signal in each thread.
8310
8311 2015-04-08  Pedro Alves  <palves@redhat.com>
8312
8313         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8314         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
8315         gdb_breakpoint instead of gdb_test that doesn't expect anything.
8316         Return early if running to main fails.
8317         * gdb.trace/while-stepping.exp: Likewise.
8318
8319 2015-04-07  Pedro Alves  <palves@redhat.com>
8320
8321         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8322         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
8323         interact with inferior program.
8324
8325 2015-04-07  Pedro Alves  <palves@redhat.com>
8326
8327         * lib/gdb.exp (inferior_spawn_id): New global.
8328         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
8329         spawn id after processing the user code.
8330         (default_gdb_start): Set inferior_spawn_id.
8331         (send_inferior): New procedure.
8332         * lib/gdbserver-support.exp (gdbserver_start): Set
8333         inferior_spawn_id.
8334         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8335
8336 2015-04-07  Pedro Alves  <palves@redhat.com>
8337
8338         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8339         * lib/gdbserver-support.exp (gdbserver_start): Make
8340         $server_spawn_id global.
8341         (gdbserver_start): Don't wait for gdbserver's spawn id with
8342         expect_background.
8343         (close_gdbserver): New procedure.
8344         (gdb_exit): Rename the default version and reimplement.
8345
8346 2015-04-07  Pedro Alves  <palves@redhat.com>
8347
8348         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8349         append the substituted item, not the original item.
8350
8351 2015-04-07  Pedro Alves  <palves@redhat.com>
8352
8353         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8354         gdb_expect.
8355
8356 2015-04-07  Pedro Alves  <palves@redhat.com>
8357
8358         * gdb.base/interrupt.exp: Don't handle the case of the inferior
8359         output appearing once only.
8360
8361 2015-04-07  Pedro Alves  <palves@redhat.com>
8362
8363         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8364         that doesn't expect anything.  Return early if running to main
8365         fails.
8366
8367 2015-04-07  Yao Qi  <yao.qi@linaro.org>
8368
8369         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8370         (child_function): Call alarm.
8371         (main): Move call to alarm into the loop.
8372         * gdb.threads/non-stop-fair-events.exp: Build program with
8373         -DTIMEOUT=$timeout.
8374
8375 2015-04-06  Doug Evans  <xdje42@gmail.com>
8376
8377         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8378         Fix dest parameter to board_info.
8379         (fpc_compile): Ditto.
8380         (gdb_compile_pascal): Rename dest arg to destfile.
8381
8382 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
8383
8384         * gdb.ada/funcall_ref.exp: New file.
8385         * gdb.ada/funcall_ref/foo.adb: New file.
8386
8387 2015-04-02  Yao Qi  <yao.qi@linaro.org>
8388
8389         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8390         is remote.
8391
8392 2015-04-02  Gary Benson <gbenson@redhat.com>
8393
8394         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8395
8396 2015-04-01  Sasha Smundak  <asmundak@google.com>
8397
8398         * gdb.python/py-unwind-maint.c: New file.
8399         * gdb.python/py-unwind-maint.exp: New test.
8400         * gdb.python/py-unwind-maint.py: New file.
8401         * gdb.python/py-unwind.c: New file.
8402         * gdb.python/py-unwind.exp: New test.
8403         * gdb.python/py-unwind.py: New test.
8404
8405 2015-04-01  Pedro Alves  <palves@redhat.com>
8406
8407         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8408         to fail instead of non-existent $test.
8409
8410 2015-04-01  Pedro Alves  <palves@redhat.com>
8411
8412         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8413         GDBFLAGS if not empty.
8414
8415 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
8416
8417         * gdb.ada/complete.exp: Remove "multi_line".
8418         * gdb.ada/info_exc.exp: Remove "multi_line".
8419         * gdb.ada/packed_tagged.exp: Remove "multi_line".
8420         * gdb.ada/ptype_field.exp: Remove "multi_line".
8421         * gdb.ada/sym_print_name.exp: Remove "multi_line".
8422         * gdb.ada/tagged.exp: Remove "multi_line".
8423         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8424         [multi_line ...]
8425         * gdb.btrace/delta.exp: Likewise.
8426         * gdb.btrace/exception.exp: Likewise.
8427         * gdb.btrace/function_call_history.exp: Likewise.
8428         * gdb.btrace/instruction_history.exp: Likewise.
8429         * gdb.btrace/nohist.exp: Likewise.
8430         * gdb.btrace/record_goto.exp: Likewise.
8431         * gdb.btrace/segv.exp: Likewise.
8432         * gdb.btrace/stepi.exp: Likewise.
8433         * gdb.btrace/tailcall.exp: Likewise.
8434         * gdb.btrace/unknown_functions.exp: Likewise.
8435         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8436         * lib/gdb.exp: Add the "multi_line" helper.
8437
8438 2015-04-01  Pedro Alves  <palves@redhat.com>
8439
8440         * gdb.threads/tid-reuse.c: New file.
8441         * gdb.threads/tid-reuse.exp: New file.
8442
8443 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
8444
8445         PR corefiles/16092
8446         * gdb.base/coredump-filter.c: New file.
8447         * gdb.base/coredump-filter.exp: Likewise.
8448
8449 2015-03-27  Petr Machata  <pmachata@redhat.com>
8450
8451         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8452         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8453         (Dwarf::assemble): Initialize them.
8454         (Dwarf::lines): New function.
8455
8456 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
8457
8458         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8459         SYMBOL_PREFIX for x86_64-*-cygwin.
8460
8461 2015-03-26  Andy Wingo  <wingo@igalia.com>
8462
8463         PR symtab/18148
8464         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8465         const_value but not a location.
8466         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8467         location defined in non-main CUs are visible.
8468
8469 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8470
8471         PR testsuite/18139
8472         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8473         Add a line number entry for the same line.
8474         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8475         Add a line number entry for the same line.
8476
8477 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8478
8479         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8480         .int 0.
8481         (func): Likewise.  Add .Lfunc_1 label.
8482         Use .Lfunc_1 label.
8483         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8484         .int 0.
8485         (func): Likewise.
8486         Use .Lfunc_1 label.
8487
8488 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8489
8490         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8491         Call gdb_compile instead to compile each .s files without debug
8492         information.
8493
8494 2015-03-26  Yao Qi  <yao.qi@linaro.org>
8495
8496         * gdb.base/savedregs.exp (process_saved_regs): Make
8497         "Saved registers:" optional in the pattern.
8498
8499 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
8500
8501         * gdb.btrace/next.exp: Merged into step.exp.
8502         * gdb.btrace/finish.exp: Merged into step.exp.
8503         * gdb.btrace/nexti.exp: Merged into stepi.exp.
8504         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
8505         "record goto" and checking the exact replay position.
8506         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
8507         check for "Recording format" in "info record" output.
8508         * gdb.btrace/record_goto.exp: Choose test file based on target.
8509         * gdb.btrace/x86-record_goto.S: Renamed into ...
8510         * gdb.btrace/x86_64-record_goto.S: ... this.
8511         * gdb.btrace/i686-record_goto.S: New.
8512         * gdb.btrace/x86-tailcall.S: Renamed into ...
8513         * gdb.btrace/x86_64-tailcall.S: ... this.
8514         * gdb.btrace/i686-tailcall.S: New.
8515         * gdb.btrace/x86-tailcall.c: Renamed into ...
8516         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
8517         separate statements.  Update test.
8518         * gdb.btrace/delta.exp: Use record_goto.c as test file.
8519         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8520         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8521         * gdb.btrace/tailcall.exp: Choose test file based on target.
8522         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8523
8524 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
8525
8526         * gdb.btrace/exception.exp: Increase BTS buffer size.
8527
8528 2015-03-24  Pedro Alves  <palves@redhat.com>
8529
8530         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8531
8532 2015-03-24  Pedro Alves  <palves@redhat.com>
8533
8534         * gdb.threads/schedlock.exp (test_step): No longer expect that
8535         "set scheduler-locking step" with "next" over a function call runs
8536         threads unlocked.
8537
8538 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8539
8540         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8541
8542 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8543
8544         PR breakpoints/16466
8545         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8546         * gdb.mi/mi-pending.c (thread_func): New function.
8547         (int main): Add threading support required.
8548         * gdb.mi/mi-pending.exp: Add tests for this issue.
8549         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8550         (pendfunc2): Remove stdio dependency.
8551         * gdb.mi/mi-pendshr2.c: New file.
8552
8553 2015-03-23  Keith Seitz  <keiths@redhat.com>
8554
8555         * gdb.linespec/keywords.c: New file.
8556         * gdb.linespec/keywords.exp: New file.
8557
8558 2015-03-23  Keith Seitz  <keiths@redhat.com>
8559
8560         PR gdb/18021
8561         * gdb.dwarf2/staticvirtual.exp: New test.
8562
8563 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8564
8565         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8566         * README: Remove HP-UX and gdb.hp.
8567         (configuration):
8568         * configure: Regenerate.
8569         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8570         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8571         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8572         gdb.hp/gdb.defects/Makefile.
8573         * gdb.hp/Makefile.in: File deleted.
8574         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8575         * gdb.hp/gdb.aCC/optimize.c: File deleted.
8576         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8577         * gdb.hp/gdb.aCC/run.c: File deleted.
8578         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8579         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8580         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8581         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8582         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8583         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8584         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8585         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8586         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8587         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8588         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8589         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8590         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8591         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8592         * gdb.hp/gdb.base-hp/reg.s: File deleted.
8593         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8594         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8595         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8596         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8597         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8598         * gdb.hp/gdb.compat/Makefile.in: File deleted.
8599         * gdb.hp/gdb.compat/average.c: File deleted.
8600         * gdb.hp/gdb.compat/sum.c: File deleted.
8601         * gdb.hp/gdb.compat/xdb.c: File deleted.
8602         * gdb.hp/gdb.compat/xdb0.c: File deleted.
8603         * gdb.hp/gdb.compat/xdb0.h: File deleted.
8604         * gdb.hp/gdb.compat/xdb1.c: File deleted.
8605         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8606         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8607         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8608         * gdb.hp/gdb.defects/Makefile.in: File deleted.
8609         * gdb.hp/gdb.defects/bs14602.c: File deleted.
8610         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8611         * gdb.hp/gdb.defects/solib-d.c: File deleted.
8612         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8613         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8614         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8615         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8616         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8617         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8618         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8619         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8620         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8621         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8622         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8623         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8624         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8625         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8626         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8627         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8628         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8629         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8630         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8631         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8632         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8633         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8634         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8635         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8636         * gdb.hp/tools/odump: File deleted.
8637
8638 2015-03-19  Pedro Alves  <palves@redhat.com>
8639
8640         * gdb.threads/continue-pending-status.exp (saw_thread_2)
8641         (saw_thread_3): New globals.
8642         (top level): Increment them when an event for the corresponding
8643         thread is seen.
8644         (no thread starvation): New test.
8645
8646 2015-03-19  Pedro Alves  <palves@redhat.com>
8647
8648         * gdb.threads/continue-pending-status.c: New file.
8649         * gdb.threads/continue-pending-status.exp: New file.
8650
8651 2015-03-18  Pedro Alves  <palves@redhat.com>
8652
8653         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8654         Use gdb_is_target_remote instead of is_remote.  Use
8655         gdb_test_multiple instead of gdb_expect.  Exit early if
8656         gdb_test_multiple hits its internal matches.  Tighten stepi tests
8657         expected output.  Fail on exit with any signal, instead of just
8658         SIGILL.
8659
8660 2015-03-18  Yao Qi  <yao.qi@linaro.org>
8661
8662         PR tdep/18107
8663         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
8664         variable.
8665         * gdb.base/catch-syscall.exp: Don't skip it on
8666         aarch64*-*-linux* target.  Remove elements in all_syscalls.
8667         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
8668         target.
8669         (setup_all_syscalls): New proc.
8670
8671 2015-03-16  Yao Qi  <yao.qi@linaro.org>
8672
8673         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8674         (top level): Skip tests if valid_addr_p returns false for
8675         $cmd1 or $cmd2.
8676
8677 2015-03-11  Andy Wingo  <wingo@igalia.com>
8678
8679         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
8680
8681 2015-03-11  Yao Qi  <yao.qi@linaro.org>
8682
8683         * gdb.base/catch-syscall.exp: Fix typo in comments.
8684
8685 2015-03-11  Yao Qi  <yao.qi@linaro.org>
8686
8687         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
8688
8689 2015-03-09  Pedro Alves  <palves@redhat.com>
8690
8691         * dg-extract-results.py: Delete.
8692
8693 2015-03-09  Pedro Alves  <palves@redhat.com>
8694
8695         Merge dg-extract-results.sh from GCC upstream (r218843).
8696
8697         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
8698                 * dg-extract-results.sh: Use --text with grep to avoid issues with
8699                 binary files.  Fall back to cat -v, if that doesn't work.
8700
8701 2015-03-05  Pedro Alves  <palves@redhat.com>
8702
8703         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
8704
8705 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
8706
8707         * lib/mi-support.exp (mi_expect_interrupt): Accept
8708         alternative event for when in all-stop mode.
8709
8710 2015-03-04  Pedro Alves  <palves@redhat.com>
8711
8712         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
8713
8714 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
8715
8716         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
8717
8718 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8719
8720         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
8721         regexps for GDB's current line display, accept a hex address
8722         preceding the line number.
8723
8724 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8725
8726         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
8727         the 'arch1' variable for "s390*-linux*" targets.
8728
8729 2015-03-04  Pedro Alves  <palves@redhat.com>
8730
8731         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
8732         (main): Pass missing retval argument to pthread_join call.
8733
8734 2015-03-02  Pedro Alves  <palves@redhat.com>
8735
8736         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
8737         (top level): Call do_test with non-stop as well.
8738
8739 2015-03-02  Pedro Alves  <palves@redhat.com>
8740
8741         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
8742         -1.
8743
8744 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8745
8746         * gdb.arch/s390-vregs.exp: New test.
8747         * gdb.arch/s390-vregs.S: New file.
8748
8749 2015-02-27  Pedro Alves  <palves@redhat.com>
8750
8751         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
8752         call to catch_command_errors.
8753         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
8754         catch_command_errors.
8755
8756 2015-02-27  Pedro Alves  <palves@redhat.com>
8757
8758         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
8759         "true" for boolean result.
8760         * gdb.gdb/selftest.exp (test_with_self): Also accept full
8761         prototype of main.
8762
8763 2015-02-27  Pedro Alves  <palves@redhat.com>
8764
8765         * lib/unbuffer_output.c: New file.
8766         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8767         (main): Call gdb_unbuffer_output.
8768
8769 2015-02-27  Yao Qi  <yao.qi@linaro.org>
8770
8771         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8772         target.
8773
8774 2015-02-26  Doug Evans  <dje@google.com>
8775
8776         * gdb.cp/class2.cc (Dbase, D): New classes.
8777         (main): New local delta.
8778         * gdb.cp/class2.exp: Test printing delta.
8779         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8780         (dynbar): New global.
8781         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8782
8783 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8784
8785         * gdb.compile/compile-ifunc.c: New file.
8786         * gdb.compile/compile-ifunc.exp: New file.
8787
8788 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8789
8790         * gdb.base/structs.exp: Check for correct struct on finish.
8791
8792 2015-02-26  Yao Qi  <yao.qi@linaro.org>
8793
8794         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8795         is zero.
8796
8797 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8798
8799         * gdb.arch/cordic.ko.bz2: New file.
8800         * gdb.arch/cordic.ko.debug.bz2: New file.
8801         * gdb.arch/ppc64-symtab-cordic.exp: New file.
8802
8803 2015-02-25  Yao Qi  <yao.qi@linaro.org>
8804
8805         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8806         aarch64*-*-* target.
8807
8808 2015-02-23  Pedro Alves  <palves@redhat.com>
8809
8810         * lib/gdb.exp (delete_breakpoints): Rewrite using
8811         gdb_test_multiple.
8812
8813 2015-02-23  Pedro Alves  <palves@redhat.com>
8814
8815         * gdb.base/info-os.c: Include stdlib.h.
8816
8817 2015-02-22  Doug Evans  <xdje42@gmail.com>
8818
8819         PR symtab/17855
8820         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8821         is read after symbols have been re-read.
8822         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8823         * gdb.ada/exec_changed/second.adb (Second): Ditto.
8824
8825 2015-02-21  Doug Evans  <dje@google.com>
8826
8827         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8828
8829 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8830
8831         PR corefiles/17808
8832         * gdb.arch/i386-biarch-core.core.bz2: New file.
8833         * gdb.arch/i386-biarch-core.exp: New file.
8834
8835 2015-02-21  Pedro Alves  <palves@redhat.com>
8836
8837         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
8838         runto_main fails.
8839
8840 2015-02-20  Pedro Alves  <palves@redhat.com>
8841
8842         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
8843         info probes.
8844
8845 2015-02-20  Pedro Alves  <palves@redhat.com>
8846
8847         * gdb.threads/multi-create-ns-info-thr.exp: New file.
8848
8849 2015-02-20  Pedro Alves  <palves@redhat.com>
8850
8851         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
8852         clean_restart before gdb_target_supports_trace.
8853
8854 2015-02-20  Pedro Alves  <palves@redhat.com>
8855
8856         PR threads/18006
8857         * gdb.threads/clone-thread_db.c: New file.
8858         * gdb.threads/clone-thread_db.exp: New file.
8859
8860 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8861
8862         PR breakpoints/16812
8863         * gdb.base/catch-gdb-caused-signals.c: New file.
8864         * gdb.base/catch-gdb-caused-signals.exp: New file.
8865
8866 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
8867
8868         * configure: Regenerated.
8869         * configure.ac: Use GDB_AC_TRANSFORM.
8870         * aclocal.m4: sinclude ../transform.m4.
8871
8872 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8873
8874         * lib/dtrace.exp: New file.
8875         * gdb.base/dtrace-probe.exp: Likewise.
8876         * gdb.base/dtrace-probe.d: Likewise.
8877         * gdb.base/dtrace-probe.c: Likewise.
8878         * lib/pdtrace.in: Likewise.
8879         * configure.ac: Output variables with the transformed names of
8880         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
8881         * configure: Regenerated.
8882
8883 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8884
8885         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
8886         expected message when trying to access $_probe_* convenience
8887         variables while not on a probe.
8888
8889 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8890
8891         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
8892
8893 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
8894
8895         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8896         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
8897
8898 2015-02-10  Doug Evans  <xdje42@gmail.com>
8899
8900         * lib/gdb.exp (gdb_load): Always return a result.
8901
8902 2015-02-10  Pedro Alves  <palves@redhat.com>
8903
8904         * gdb.threads/signal-sigtrap.c: New file.
8905         * gdb.threads/signal-sigtrap.exp: New file.
8906
8907 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
8908
8909         * gdb.trace/no-attach-trace.c: New file.
8910         * gdb.trace/no-attach-trace.exp: New file.
8911
8912 2015-02-09  Mark Wielaard  <mjw@redhat.com>
8913
8914         * gdb.dwarf2/atomic.c: New file.
8915         * gdb.dwarf2/atomic-type.exp: Likewise.
8916
8917 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
8918
8919         * gdb.btrace/buffer-size.exp: Update "info record" output.
8920         * gdb.btrace/delta.exp: Update "info record" output.
8921         * gdb.btrace/enable.exp: Update "info record" output.
8922         * gdb.btrace/finish.exp: Update "info record" output.
8923         * gdb.btrace/instruction_history.exp: Update "info record" output.
8924         * gdb.btrace/next.exp: Update "info record" output.
8925         * gdb.btrace/nexti.exp: Update "info record" output.
8926         * gdb.btrace/step.exp: Update "info record" output.
8927         * gdb.btrace/stepi.exp: Update "info record" output.
8928         * gdb.btrace/nohist.exp: Update "info record" output.
8929
8930 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
8931
8932         * gdb.btrace/buffer-size: New.
8933
8934 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
8935
8936         * gdb.btrace/delta.exp: Update "info record" output.
8937         * gdb.btrace/enable.exp: Update "info record" output.
8938         * gdb.btrace/finish.exp: Update "info record" output.
8939         * gdb.btrace/instruction_history.exp: Update "info record" output.
8940         * gdb.btrace/next.exp: Update "info record" output.
8941         * gdb.btrace/nexti.exp: Update "info record" output.
8942         * gdb.btrace/step.exp: Update "info record" output.
8943         * gdb.btrace/stepi.exp: Update "info record" output.
8944         * gdb.btrace/nohist.exp: Update "info record" output.
8945
8946 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
8947
8948         PR gdb/15678
8949         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
8950
8951 2015-02-06  Pedro Alves  <palves@redhat.com>
8952
8953         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
8954         macro.
8955         (seconds_left, again): New globals.
8956         (main): Wait seconds_left in a 1-second sleep loop instead of
8957         sleeping 180 seconds.  If 'again' is set, reset the seconds
8958         counter.
8959         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
8960         'again' in the inferior before detaching.  Print the seconds left.
8961         (options): New global.
8962         (top level): Build program with -DTIMEOUT=$timeout.
8963
8964 2015-02-06  Pedro Alves  <palves@redhat.com>
8965
8966         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8967         determine how many seconds to pass to 'alarm'.
8968         * gdb.base/gdb-sigterm.exp (top level): Build program with
8969         -DTIMEOUT=$timeout.
8970         (do_test): Return success/failure indication.  Add more verbose
8971         logging.  Don't fail if 200 single steps are seen.  Instead, fail
8972         when the test times out.
8973         (passes): New global.
8974         (top level): Break the testing loop if testing fails on any
8975         iteration.  Use gdb_assert.
8976
8977 2015-02-04  Don Breazeal  <donb@codesourcery.com>
8978
8979         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8980         and initialize them.
8981         (ipc_cleanup): New function.
8982         (main): Don't declare shmid, semid, and msqid.  Add a call to
8983         atexit so that we call ipc_cleanup on exit.
8984
8985 2015-02-04  Pedro Alves  <palves@redhat.com>
8986
8987         * boards/native-extended-gdbserver.exp: Remove any target variant
8988         specifications from the board name before clearing the isremote
8989         flag from board_info.
8990
8991 2015-01-31  Doug Evans  <xdje42@gmail.com>
8992
8993         * gdb.base/maint.exp <maint print type argc>: Update expected output.
8994
8995 2015-01-31  Gary Benson <gbenson@redhat.com>
8996
8997         * gdb.base/completion.exp: Disable completion limiting for
8998         existing tests.  Add new tests to check completion limiting.
8999         * gdb.linespec/ls-errs.exp: Disable completion limiting.
9000
9001 2015-01-31  Doug Evans  <xdje42@gmail.com>
9002
9003         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9004
9005 2015-01-31  Doug Evans  <xdje42@gmail.com>
9006
9007         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9008         entries.  Duplicate file section script entries.
9009         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9010         inlined entries.  Add test for safe-path rejection.
9011         * gdb.python/py-section-script.c: Add duplicate inlined section script
9012         entries.  Duplicate file section script entries.
9013         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9014         inlined entries.  Add test for safe-path rejection.
9015
9016 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
9017
9018         * gdb.ada/disc_arr_bound: New testcase.
9019
9020 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
9021
9022         * gdb.ada/mi_var_array: New testcase.
9023
9024 2015-01-27  Doug Evans  <dje@google.com>
9025
9026         * gdb.python/py-objfile.exp: Add tests for objfile.username.
9027         Add test for objfile.filename, objfile.username after objfile
9028         has been unloaded.
9029
9030 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
9031
9032         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9033         the second test to print the name attribute of value
9034         returned by the call to gdb.lookup_type, and adjust
9035         the expected output accordingly.
9036
9037 2015-01-25  Mark Wielaard  <mjw@redhat.com>
9038
9039         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9040         * gdb.base/disp-step-fork.c: Include unistd.h.
9041         * gdb.base/siginfo-obj.c: Include stdio.h.
9042         * gdb.base/siginfo-thread.c: Likewise.
9043         * gdb.mi/non-stop.c: Include unistd.h.
9044         * gdb.mi/nsthrexec.c: Include stdio.h.
9045         * gdb.mi/pthreads.c: Include unistd.h.
9046         * gdb.modula2/unbounded1.c (main): Declare returns int.
9047         * gdb.reverse/consecutive-reverse.c: Likewise.
9048         * gdb.threads/create-fail.c: Include unistd.h.
9049         * gdb.threads/killed.c: Likewise.
9050         * gdb.threads/linux-dp.c: Likewise.
9051         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9052         * gdb.threads/non-ldr-exc-2.c: Likewise.
9053         * gdb.threads/non-ldr-exc-3.c: Likewise.
9054         * gdb.threads/non-ldr-exc-4.c: Likewise.
9055         * gdb.threads/pthreads.c: Include unistd.h.
9056         (main): Declare returns int.
9057         * gdb.threads/tls-main.c (foo): New declaration.
9058         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9059
9060 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
9061
9062         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9063         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9064
9065 2015-01-15  Mark Wielaard  <mjw@redhat.com>
9066
9067         * gdb.base/noreturn-return.c: New file.
9068         * gdb.base/noreturn-return.exp: New file.
9069         * gdb.base/noreturn-finish.c: New file.
9070         * gdb.base/noreturn-finish.exp: New file.
9071
9072 2015-01-23  Pedro Alves  <palves@redhat.com>
9073
9074         * gdb.threads/continue-pending-after-query.c: New file.
9075         * gdb.threads/continue-pending-after-query.exp: New file.
9076
9077 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
9078             Simon Marchi  <simon.marchi@ericsson.com>
9079
9080         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9081         * gdb.base/valgrind-db-attach.exp: Same.
9082         * gdb.base/valgrind-infcall.exp: Same.
9083         * lib/mi-support.exp (default_mi_gdb_start): Same.
9084         * lib/prompt.exp (default_prompt_gdb_start): Same.
9085         * lib/gdb.exp (default_gdb_spawn): Same.
9086         (gdb_interact): New.
9087
9088
9089 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9090
9091         * gdb.compile/compile.exp (pointer to jit function): New test.
9092
9093 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
9094
9095         * lib/gdb.exp (supports_process_record): Return true for
9096         powerpc*-*-linux*.
9097         (supports_reverse): Likewise.
9098
9099 2015-01-15  Don Breazeal  <donb@codesourcery.com>
9100
9101         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9102         instead of checking whether the target board is remote and
9103         use spawn_wait_for_attach instead of exec/sleep.
9104         * gdb.base/attach-twice.exp: Likewise.
9105
9106 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
9107
9108         * gdb.ada/var_arr_attrs: New testcase.
9109
9110 2015-01-14  Pedro Alves  <palves@redhat.com>
9111             Joel Brobecker  <brobecker@adacore.com>
9112
9113         PR gdb/17525
9114         * gdb.base/bp-cmds-execution-x-script.c: New file.
9115         * gdb.base/bp-cmds-execution-x-script.exp: New file.
9116         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9117
9118 2015-01-14  Pedro Alves  <palves@redhat.com>
9119
9120         PR cli/17828
9121         * gdb.base/batch-preserve-term-settings.c: New file.
9122         * gdb.base/batch-preserve-term-settings.exp: New file.
9123
9124 2015-01-13  Doug Evans  <dje@google.com>
9125
9126         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9127         binary.
9128
9129 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
9130
9131         * Makefile.in (clean mostlyclean): Do not delete *.py.
9132
9133 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
9134
9135         * gdb.python/py-lookup-type.exp: New file.
9136
9137 2015-01-12  Pedro Alves  <palves@redhat.com>
9138
9139         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9140         restore GDBFLAGS before returning.
9141
9142 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9143
9144         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9145         is_amd64_regs_target and is_x86_like_target.
9146
9147 2015-01-11  Doug Evans  <xdje42@gmail.com>
9148
9149         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9150         is given without an explicit form.
9151         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9152         attributes.
9153         * gdb.dwarf/corrupt.exp: Ditto.
9154         * gdb.dwarf2/enum-type.exp: Ditto.
9155         * gdb.trace/entry-values.exp: Ditto.
9156         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9157
9158 2015-01-11  Doug Evans  <xdje42@gmail.com>
9159
9160         PR gdb/15830
9161         * gdb.base/maint.exp: Remove references to "maint demangle".
9162         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
9163         Add tests for explicitly specifying language to demangle.
9164         * gdb.dlang/demangle.exp: Ditto.
9165
9166 2015-01-09  Pedro Alves  <palves@redhat.com>
9167
9168         * gdb.threads/non-stop-fair-events.c: New file.
9169         * gdb.threads/non-stop-fair-events.exp: New file.
9170
9171 2015-01-09  Pedro Alves  <palves@redhat.com>
9172
9173         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9174         the global scope.  Set a breakpoint after all threads are started
9175         rather than stepping over two source lines.  Expect the prompt.
9176         * gdb.base/watch_thread_num.c (threads_started_barrier): New
9177         global.
9178         (NUM): Now 15.
9179         (main): Use threads_started_barrier to wait for all threads to
9180         start.  Main thread no longer calls thread_function.  Exit after
9181         180 seconds.
9182         (loop): New function.
9183         (thread_function): Wait on threads_started_barrier barrier.  Call
9184         'loop' at each iteration.
9185         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9186         threads have started, instead of hardcoding number of "next"
9187         steps.  Use an access watchpoint instead of a write watchpoint.
9188
9189 2015-01-09  Pedro Alves  <palves@redhat.com>
9190
9191         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9192         (thread_func): Wait on barrier.
9193         (main): Wait for all threads to start before stopping GDB.
9194         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9195         global.
9196         (thread1_func, thread2_func): Wait on barrier.
9197         (main): Wait for all threads to start before stopping GDB.
9198         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9199         New global.
9200         (thread1_func, thread2_func): Wait on barrier.
9201         (main): Wait for all threads to start before stopping GDB.
9202
9203 2015-01-09  Pedro Alves  <palves@redhat.com>
9204
9205         * gdb.threads/attach-many-short-lived-threads.c: New file.
9206         * gdb.threads/attach-many-short-lived-threads.exp: New file.
9207
9208 2014-01-09  Pedro Alves  <palves@redhat.com>
9209
9210         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9211         instead of to thread 2.
9212         * gdb.threads/signal-command-multiple-signals-pending.c (main):
9213         Add barrier around each pthread_create call instead of around all
9214         calls.
9215         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9216         Set a break on thread_function and have the child threads hit it
9217         one at at a time.
9218
9219 2015-01-09  Pedro Alves  <palves@redhat.com>
9220
9221         * lib/gdb.exp (can_spawn_for_attach): New procedure.
9222         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9223         false.
9224         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9225         checking whether the target board is remote.
9226         * gdb.multi/multi-attach.exp: Likewise.
9227         * gdb.python/py-sync-interp.exp: Likewise.
9228         * gdb.server/ext-attach.exp: Likewise.
9229         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9230         tests that need to attach, instead of checking whether the target
9231         board is remote at the top of the file.
9232
9233 2015-01-08  Yao Qi  <yao@codesourcery.com>
9234
9235         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9236
9237 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9238
9239         Fix testcase compilation.
9240         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9241
9242 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
9243
9244         * gdb.python/py-type.exp: Add a couple test about empty
9245         array creation, and negative-length array creation.
9246
9247 2015-01-02  Doug Evans  <xdje42@gmail.com>
9248
9249         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9250
9251 2015-01-02  Doug Evans  <dje@google.com>
9252
9253         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9254
9255 2014-12-29  Yao Qi  <yao@codesourcery.com>
9256
9257         * gdb.trace/entry-values.exp: Update comments.  Rename variable
9258         bar_call_foo to returned_from_foo.
9259
9260 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
9261
9262         PR gdb/17394
9263         * gdb.linespec/break-asm-file.c: New file.
9264         * gdb.linespec/break-asm-file.exp: New file.
9265         * gdb.linespec/break-asm-file0.s: New file.
9266         * gdb.linespec/break-asm-file1.s: New file.
9267
9268 2014-12-18  Nigel Stephens  <nigel@mips.com>
9269             Maciej W. Rozycki  <macro@codesourcery.com>
9270
9271         * gdb.base/float.exp: Handle the new output from "info float" on
9272         MIPS targets.
9273
9274 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9275
9276         Fix MinGW compilation.
9277         * gdb.compile/compile-ops.exp: Update untested message if
9278         !skip_compile_feature_tests.
9279         * gdb.compile/compile-setjmp.exp: Likewise.
9280         * gdb.compile/compile-tls.exp: Likewise.
9281         * gdb.compile/compile.exp: Likewise.
9282         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9283         supported on this host".
9284
9285 2014-12-16  Doug Evans  <xdje42@gmail.com>
9286
9287         * boards/stabs.exp: New file.
9288
9289 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
9290
9291         * gdb.base/completion.exp: Adjust to format changes of "maint
9292         print user-registers".
9293
9294 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
9295
9296         PR server/17457
9297         * gdb.arch/aarch64-fp.c: New file.
9298         * gdb.arch/aarch64-fp.exp: New file.
9299
9300 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
9301
9302         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9303         r210637, r210913, r211666, r215400, r215817).
9304
9305         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
9306                 * dg-extract-results.py: New file.
9307                 * dg-extract-results.sh: Use it if the environment seems
9308                 suitable.
9309
9310         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
9311
9312                 * dg-extract-results.py (parse_run): Handle warnings that
9313                 are printed before a test harness is run.
9314
9315         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
9316
9317                 * dg-extract-results.py (Named): Remove __cmp__ method.
9318                 (output_variation): Use a key to sort variation.harnesses.
9319
9320         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
9321
9322                 * dg-extract-results.py: For Python 3, force sys.stdout to
9323                 handle surrogate escape sequences.
9324                 (safe_open): New function.
9325                 (output_segment, main): Use it.
9326
9327         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
9328
9329                 * dg-extract-results.py (Prog.result_re): Include options
9330                 in test name.
9331
9332         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
9333
9334                 * dg-extract-results.py (output_variation): Always sort if
9335                 do_sum.
9336
9337 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
9338
9339         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9340         as long as we get pagination notifications.
9341
9342 2014-12-15  Jason Merrill  <jason@redhat.com>
9343
9344         * Makefile.in (check-gdb.%): Restore.
9345         * README: Mention it.
9346
9347 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
9348
9349         * gdb.ada/str_uninit: New testcase.
9350
9351 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9352
9353         PR symtab/17642
9354         * gdb.base/vla-stub-define.c: New file.
9355         * gdb.base/vla-stub.c: New file.
9356         * gdb.base/vla-stub.exp: New file.
9357
9358 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
9359             Jan Kratochvil  <jan.kratochvil@redhat.com>
9360             Tom Tromey  <tromey@redhat.com>
9361
9362         * configure.ac: Add gdb.compile/.
9363         * configure: Regenerate.
9364         * gdb.compile/Makefile.in: New file.
9365         * gdb.compile/compile-ops.exp: New file.
9366         * gdb.compile/compile-ops.c: New file.
9367         * gdb.compile/compile-tls.c: New file.
9368         * gdb.compile/compile-tls.exp: New file.
9369         * gdb.compile/compile-constvar.S: New file.
9370         * gdb.compile/compile-constvar.c: New file.
9371         * gdb.compile/compile-mod.c: New file.
9372         * gdb.compile/compile-nodebug.c: New file.
9373         * gdb.compile/compile-setjmp-mod.c: New file.
9374         * gdb.compile/compile-setjmp.c: New file.
9375         * gdb.compile/compile-setjmp.exp: New file.
9376         * gdb.compile/compile-shlib.c: New file.
9377         * gdb.compile/compile.c: New file.
9378         * gdb.compile/compile.exp: New file.
9379         * lib/gdb.exp (skip_compile_feature_tests): New proc.
9380
9381 2014-12-12  Tom Tromey  <tromey@redhat.com>
9382
9383         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
9384         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9385
9386 2014-12-12  Doug Evans  <dje@google.com>
9387
9388         * lib/gdb-python.exp (get_python_valueof): New function.
9389         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9390
9391 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9392
9393         * gdb.base/completion.exp: Add test for completion of "info
9394         registers ".
9395
9396 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
9397
9398         * gdb.base/func-ptrs.c: New file.
9399         * gdb.base/func-ptrs.exp: New file.
9400
9401 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
9402
9403         PR breakpoints/17012
9404         * gdb.base/dprintf-detach.c: New file.
9405         * gdb.base/dprintf-detach.exp: New file.
9406
9407 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
9408
9409         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9410         * lib/gdb.exp (target_is_gdbserver): New procedure.
9411
9412 2014-12-08  Doug Evans  <dje@google.com>
9413
9414         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9415
9416 2014-12-05  Yao Qi  <yao@codesourcery.com>
9417
9418         * gdb.guile/scm-error.exp: Remove the third argument to
9419         gdb_remote_download.
9420         * gdb.guile/scm-frame-args.exp: Likewise.
9421         * gdb.guile/scm-section-script.exp: Likewise.
9422
9423 2014-12-05  Yao Qi  <yao@codesourcery.com>
9424
9425         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9426
9427 2014-12-04  Doug Evans  <dje@google.com>
9428
9429         * gdb.python/py-objfile.exp: Add tests for
9430         objfile.add_separate_debug_file.
9431
9432 2014-12-04  Doug Evans  <dje@google.com>
9433
9434         * lib/gdb.exp (get_build_id): New function.
9435         (build_id_debug_filename_get): Rewrite to use it.
9436         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9437
9438 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
9439
9440         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9441         `method(long)', not just 0x0.
9442         * gdb.cp/nsalias.exp: Align code labels to 4.
9443         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9444         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9445         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9446         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9447         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9448         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9449
9450 2014-12-02  Doug Evans  <dje@google.com>
9451
9452         PR symtab/17602
9453         * gdb.cp/anon-ns.cc: Move guts of this file to ...
9454         * gdb.cp/anon-ns2.cc: ... here.  New file.
9455         * gdb.cp/anon-ns.exp: Update.
9456
9457 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
9458
9459         * gdb.python/py-events.py (inferior_call_handler): New.
9460         (register_changed_handler, memory_changed_handler): New.
9461         (test_events.invoke): Register new handlers.
9462         * gdb.python/py-events.exp: Add tests for inferior call,
9463         memory_changed and register_changed events.
9464
9465 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9466
9467         * gdb.base/execl-update-breakpoints.exp: Specify the link address
9468         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
9469         if the linker doesn't understand this.
9470
9471 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
9472
9473         * gdb.python/python.exp: Change expected reply to help().
9474
9475 2014-12-01  Yao Qi  <yao@codesourcery.com>
9476
9477         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
9478         AC_CONFIG_SUBDIRS(gdb.gdbtk).
9479         * configure: Re-generated.
9480
9481 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
9482
9483         * gdb.cp/chained-calls.cc: New file.
9484         * gdb.cp/chained-calls.exp: New file.
9485         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9486
9487 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
9488
9489         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9490         * gdb.dwarf2/symtab-producer.exp: Same.
9491         * gdb.gdb/python-interrupts.exp: Same.
9492         * gdb.gdb/python-selftest.exp: Same.
9493         * gdb.python/py-linetable.exp: Same.
9494         * gdb.python/py-type.exp: Same.
9495         * gdb.python/py-value-cc.exp: Same.
9496         * gdb.python/py-value.exp: Same.
9497
9498 2014-11-28  Yao Qi  <yao@codesourcery.com>
9499
9500         * gdb.base/break-probes.exp: Match library name prefixed with
9501         sysroot.
9502
9503 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
9504
9505         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9506         test expected output.  Add parentheses for the call to print.
9507         Remove L suffix from integers.
9508
9509 2014-11-26  Doug Evans  <dje@google.com>
9510
9511         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9512
9513 2014-11-22  Yao Qi  <yao@codesourcery.com>
9514
9515         * gdb.trace/entry-values.c: Remove asms.
9516         (foo): Add foo_label.
9517         (bar): Add bar_label.
9518         * gdb.trace/entry-values.exp: Remove code computing  foo's
9519         length and bar's length.
9520         (Dwarf::assemble): Invoke function_range for bar and use
9521         MACRO_AT_func for foo.
9522
9523 2014-11-22  Yao Qi  <yao@codesourcery.com>
9524
9525         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9526         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
9527         Use .Lgcc43_procstart instead of gcc43.
9528
9529 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
9530
9531         * gdb.ada/n_arr_bound: New testcase.
9532
9533 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9534
9535         PR breakpoints/10737
9536         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9537         test_catch_syscall_multi_arch.
9538         (test_catch_syscall_multi_arch): New function.
9539
9540 2014-11-20  Doug Evans  <xdje42@gmail.com>
9541
9542         * gdb.base/maint.exp: Update expected output.
9543
9544 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9545
9546         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9547         4-byte instruction on S390.
9548
9549 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
9550
9551         * gdb.ada/arr_arr: New testcase.
9552
9553 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
9554
9555         * gdb.ada/pkd_arr_elem: New Testcase.
9556
9557 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
9558
9559         * gdb.reverse/break-precsave: Expect completion message for
9560         core file reads.
9561         * gdb.reverse/consecutive-precsave.exp: Likewise.
9562         * gdb.reverse/finish-precsave.exp: Likewise.
9563         * gdb.reverse/i386-precsave.exp: Likewise.
9564         * gdb.reverse/machinestate-precsave.exp: Likewise.
9565         * gdb.reverse/sigall-precsave.exp: Likewise.
9566         * gdb.reverse/solib-precsave.exp: Likewise.
9567         * gdb.reverse/step-precsave.exp: Likewise.
9568         * gdb.reverse/until-precsave.exp: Likewise.
9569         * gdb.reverse/watch-precsave.exp: Likewise.
9570
9571 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9572
9573         * gdb.base/bp-permanent.c: Include unistd.h.
9574         * gdb.python/py-framefilter-mi.c (main): Add return type.
9575         * gdb.python/py-framefilter.c (main): Likewise.
9576         * gdb.trace/actions-changed.c (main): Likewise.
9577
9578 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9579
9580         * gdb.mi/until.c: Add eye-catchers.
9581         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9582         line numbers.
9583
9584 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9585
9586         * gdb.base/condbreak.exp: Drop references to removed non-prototype
9587         function header variants in break1.c.
9588         * gdb.base/ena-dis-br.exp: Likewise.
9589         * gdb.base/hbreak2.exp: Likewise.
9590         * gdb.reverse/until-precsave.exp: Drop references to removed
9591         non-prototype function header variants in ur1.c.
9592         * gdb.reverse/until-reverse.exp: Likewise.
9593
9594 2014-11-17  Petr Machata  <pmachata@redhat.com>
9595
9596         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
9597         ${_cu_offset_size} bytes abbrev offset.
9598
9599 2014-11-15  Doug Evans  <xdje42@gmail.com>
9600
9601         PR symtab/17559
9602         * gdb.base/line-symtabs.exp: New file.
9603         * gdb.base/line-symtabs.c: New file.
9604         * gdb.base/line-symtabs.h: New file.
9605
9606 2014-11-14  Yao Qi  <yao@codesourcery.com>
9607
9608         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9609         (func): Add label func_label.
9610         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9611         Replace low_pc and high_pc with MACRO_AT_range.
9612         Replace name, low_pc and high_pc with MACRO_AT_func.
9613
9614 2014-11-14  Yao Qi  <yao@codesourcery.com>
9615
9616         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9617         Replace name, low_pc and high_pc with MACRO_AT_func.
9618
9619 2014-11-14  Yao Qi  <yao@codesourcery.com>
9620
9621         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9622         produce debug information.
9623         * gdb.dwarf2/implptr-optimized-out.S: Removed.
9624
9625 2014-11-14  Yao Qi  <yao@codesourcery.com>
9626
9627         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9628         object and get function length.
9629         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9630         with MACRO_AT_func.
9631         (top-level): Replace gdb_compile and clean_restart with
9632         prepare_for_testing.
9633         * gdb.dwarf2/main.c (main): Add label main_label.
9634
9635 2014-11-14  Yao Qi  <yao@codesourcery.com>
9636
9637         * lib/dwarf.exp (function_range): New procedure.
9638         (Dwarf::_handle_macro_at_func): New procedure.
9639         (Dwarf::_handle_macro_at_range): New procedure.
9640         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9641
9642 2014-11-14  Yao Qi  <yao@codesourcery.com>
9643
9644         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9645         (_handle_attribute): New procedure.
9646
9647 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9648
9649         * gdb.ada/cond_lang/foo.c (callme): Add return type.
9650         * gdb.base/call-sc.c (zed): Likewise.
9651         * gdb.base/checkpoint.c (main): Likewise.
9652         * gdb.base/dump.c (main): Likewise.
9653         * gdb.base/gcore.c (main): Likewise.
9654         * gdb.base/huge.c (main): Likewise.
9655         * gdb.base/multi-forks.c (main): Likewise.
9656         * gdb.base/pr10179-a.c (main): Likewise.
9657         * gdb.base/savedregs.c (main): Likewise.
9658         * gdb.base/sigaltstack.c (main): Likewise.
9659         * gdb.base/siginfo.c (main): Likewise.
9660         * gdb.base/structs.c (zed): Likewise.
9661         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
9662         * gdb.mi/mi-syn-frame.c (main): Likewise.
9663         * gdb.mi/until.c (foo, main): Likewise.
9664         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
9665         * gdb.base/solib-weak.c (foo): Declare.
9666         * gdb.base/attach-twice.c: Include stdio.h.
9667         * gdb.base/weaklib1.c: Likewise.
9668         * gdb.base/weaklib2.c: Likewise.
9669         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
9670         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9671         unistd.h.
9672         * gdb.base/attach-pie-misread.c: Include stdlib.h.
9673         * gdb.mi/mi-exit-code.c: Likewise.
9674         * gdb.base/break-interp-lib.c: Include string.h.
9675         * gdb.base/coremaker.c: Likewise.
9676         * gdb.base/testenv.c: Likewise.
9677         * gdb.python/py-finish-breakpoint.c: Likewise.
9678         * gdb.base/inferior-died.c: Include sys/wait.h.
9679         * gdb.base/fileio.c: Include time.h.
9680         * gdb.base/async-shell.c: Include unistd.h.
9681         * gdb.base/dprintf-non-stop.c: Likewise.
9682         * gdb.base/info-os.c: Likewise.
9683         * gdb.mi/mi-console.c: Likewise.
9684         * gdb.mi/watch-nonstop.c: Likewise.
9685         * gdb.python/py-events.c: Likewise.
9686         * gdb.base/async.c (baz): Move up before its invocation.
9687         * gdb.base/code_elim2.c (my_global_func): Likewise.
9688         * gdb.base/skip-solib-lib.c (multiply): Likewise.
9689         * gdb.base/advance.c (func2): Likewise.
9690
9691 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9692
9693         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
9694         variant.
9695         * gdb.base/annota3.c: Likewise.
9696         * gdb.base/async.c: Likewise.
9697         * gdb.base/average.c: Likewise.
9698         * gdb.base/call-ar-st.c: Likewise.
9699         * gdb.base/call-rt-st.c: Likewise.
9700         * gdb.base/call-sc.c: Likewise.
9701         * gdb.base/call-strs.c: Likewise.
9702         * gdb.base/ending-run.c: Likewise.
9703         * gdb.base/execd-prog.c: Likewise.
9704         * gdb.base/exprs.c: Likewise.
9705         * gdb.base/foll-exec.c: Likewise.
9706         * gdb.base/foll-fork.c: Likewise.
9707         * gdb.base/foll-vfork.c: Likewise.
9708         * gdb.base/funcargs.c: Likewise.
9709         * gdb.base/gcore.c: Likewise.
9710         * gdb.base/jump.c: Likewise.
9711         * gdb.base/langs0.c: Likewise.
9712         * gdb.base/langs1.c: Likewise.
9713         * gdb.base/langs2.c: Likewise.
9714         * gdb.base/mips_pro.c: Likewise.
9715         * gdb.base/nodebug.c: Likewise.
9716         * gdb.base/opaque0.c: Likewise.
9717         * gdb.base/opaque1.c: Likewise.
9718         * gdb.base/recurse.c: Likewise.
9719         * gdb.base/run.c: Likewise.
9720         * gdb.base/scope0.c: Likewise.
9721         * gdb.base/scope1.c: Likewise.
9722         * gdb.base/setshow.c: Likewise.
9723         * gdb.base/setvar.c: Likewise.
9724         * gdb.base/shmain.c: Likewise.
9725         * gdb.base/shr1.c: Likewise.
9726         * gdb.base/shr2.c: Likewise.
9727         * gdb.base/sigall.c: Likewise.
9728         * gdb.base/signals.c: Likewise.
9729         * gdb.base/so-indr-cl.c: Likewise.
9730         * gdb.base/solib2.c: Likewise.
9731         * gdb.base/structs.c: Likewise.
9732         * gdb.base/sum.c: Likewise.
9733         * gdb.base/vforked-prog.c: Likewise.
9734         * gdb.base/watchpoint.c: Likewise.
9735         * gdb.reverse/shr2.c: Likewise.
9736         * gdb.reverse/until-reverse.c: Likewise.
9737         * gdb.reverse/ur1.c: Likewise.
9738         * gdb.reverse/watch-reverse.c: Likewise.
9739
9740 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9741
9742         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
9743         variant.
9744         * gdb.base/sepdebug.exp: Drop references to removed code.
9745
9746 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9747
9748         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
9749         variant.  Preserve original line numbering.
9750         * gdb.base/list1.c: Likewise.
9751
9752 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9753
9754         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
9755         variant.
9756         * gdb.base/break1.c: Likewise.
9757         * gdb.base/break.exp: Drop references to removed code.
9758
9759 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9760
9761         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9762         variant.
9763
9764 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9765
9766         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9767
9768 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9769
9770         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
9771         logic into perform_all_tests() and invoke it with and without
9772         function header prototypes.
9773         (do_function_calls): Remove conditional XFAIL for PR 5318.
9774         (rerun_and_prepare): Remove duplicate code.
9775         (perform_all_tests): New.  Main logic moved here.
9776
9777 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9778
9779         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9780         code guarded by #ifdef NO_PROTOTYPES.
9781         (t_double_many_args): Likewise.
9782         (DEF_FUNC_MANY_ARGS_1): Likewise.
9783         (DEF_FUNC_VALUES_1): Likewise.
9784         (t_structs_ldc): Renamed from t_structs_fc in conditional code
9785         guarded by #ifdef PROTOTYPES.
9786
9787 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9788
9789         * gdb.mi/mi-console.c: Add eye-catcher.
9790         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9791         instead of literal line number.
9792
9793 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9794
9795         * gdb.base/shr2.c: Add eye-catcher.
9796         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9797         line number.
9798
9799 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9800
9801         * gdb.base/jump.c: Add eye-catchers.
9802         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9803         numbers.
9804
9805 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9806
9807         * gdb.base/execd-prog.c: Add eye-catchers.
9808         * gdb.base/foll-exec.c: Likewise.
9809         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9810         line numbers.
9811
9812 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9813
9814         * gdb.base/ending-run.c: Add eye-catchers.
9815         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9816         literal line numbers.
9817
9818 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9819
9820         * gdb.base/call-rt-st.c: Add eye-catchers.
9821         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9822         literal line numbers.
9823
9824 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9825
9826         * gdb.base/call-ar-st.c: Add eye-catchers.
9827         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9828         literal line numbers.
9829
9830 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9831
9832         * gdb.base/average.c: Add eye-catchers.
9833         * gdb.base/sum.c: Likewise.
9834         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9835         regexps dynamically.
9836
9837 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9838
9839         * gdb.base/solib1.c: Add eye-catchers.
9840         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
9841         literal line numbers.
9842
9843 2014-11-12  Pedro Alves  <palves@redhat.com>
9844
9845         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
9846         leader has exited.
9847
9848 2014-11-12  Pedro Alves  <palves@redhat.com>
9849
9850         * gdb.arch/i386-bp_permanent.c: New file.
9851         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
9852         (srcfile): Set to i386-bp_permanent.c.
9853         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
9854         that stepi does not execute the 'leave' instruction, instead of
9855         testing it does execute.
9856         * gdb.base/bp-permanent.c: New file.
9857         * gdb.base/bp-permanent.exp: New file.
9858
9859 2014-11-10  Doug Evans  <xdje42@gmail.com>
9860
9861         PR symtab/17564
9862         * gdb.base/symtab-search-order.exp: New file.
9863         * gdb.base/symtab-search-order.c: New file.
9864         * gdb.base/symtab-search-order-1.c: New file.
9865         * gdb.base/symtab-search-order-shlib-1.c: New file.
9866
9867 2014-11-07  Pedro Alves  <palves@redhat.com>
9868
9869         PR gdb/17511
9870         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
9871         i?86-*-linux*.
9872
9873 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
9874
9875         PR c++/17494
9876         * gdb.cp/pr17494.cc: New file.
9877         * gdb.cp/pr17494.exp: New file.
9878
9879 2014-11-02  Yao Qi  <yao@codesourcery.com>
9880
9881         * gdb.python/python.exp: Get working directory and match the
9882         output of "set extended-prompt \\w " with it.
9883
9884 2014-10-30  Doug Evans  <dje@google.com>
9885
9886         * gdb.python/py-objfile.exp: Add tests for setting random attributes
9887         in objfiles.
9888         * gdb.python/py-progspace.exp: Add tests for setting random attributes
9889         in progspaces.
9890
9891 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
9892
9893         * gdb.base/fullpath-expand.exp: Skip for a remote host.
9894         * gdb.base/realname-expand.exp: Likewise.
9895         * gdb.linespec/macro-relative.exp: Likewise.
9896
9897 2014-10-29  Pedro Alves  <palves@redhat.com>
9898
9899         PR gdb/17408
9900         * gdb.threads/schedlock.c (some_function): New function.
9901         (call_function): New global.
9902         (MAYBE_CALL_SOME_FUNCTION): New macro.
9903         (thread_function): Call it.
9904         * gdb.threads/schedlock.exp (get_args): Add description parameter,
9905         and use it instead of a global counter.  Adjust all callers.
9906         (get_current_thread): Use "find current thread" for test message
9907         here rather than having all callers pass down the same string.
9908         (goto_loop): New procedure, factored out from ...
9909         (my_continue): ... this.
9910         (step_ten_loops): Change parameter from test message to command to
9911         use.  Adjust.
9912         (list_count): Delete global.
9913         (check_result): New procedure, factored out from duplicate top
9914         level code.
9915         (continue tests): Wrap in with_test_prefix.
9916         (test_step): New procedure, factored out from duplicate top level
9917         code.
9918         (top level): Test "step" in combination with all scheduler-locking
9919         modes.  Test "next" in combination with all scheduler-locking
9920         modes, and in combination with stepping over a function call or
9921         not.
9922         * gdb.threads/next-bp-other-thread.c: New file.
9923         * gdb.threads/next-bp-other-thread.exp: New file.
9924
9925 2014-10-29  Pedro Alves  <palves@redhat.com>
9926
9927         PR python/17372
9928         * gdb.python/python.exp: Test a multi-line command that spawns
9929         interactive Python.
9930         * gdb.base/multi-line-starts-subshell.exp: New file.
9931
9932 2014-10-29  Yao Qi  <yao@codesourcery.com>
9933
9934         * gdb.base/fileio.exp: Make directories on host.
9935
9936 2014-10-29  Yao Qi  <yao@codesourcery.com>
9937
9938         * gdb.base/fileio.c (test_write): Close the file.
9939
9940 2014-10-28  Pedro Alves  <palves@redhat.com>
9941
9942         PR gdb/12623
9943         * gdb.base/sigstep.c (no_handler): New global.
9944         (main): If 'no_handler is true, set the signal handlers to
9945         SIG_IGN.
9946         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
9947         with_sw_watch and no_handler parameters.  Handle them.
9948         (top level) <stepping over handler when stopped at a breakpoint
9949         test>: Add a test axis for testing with a software watchpoint, and
9950         another for testing with the signal handler set to SIG_IGN.
9951         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
9952         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
9953
9954 2014-10-28  Pedro Alves  <palves@redhat.com>
9955
9956         PR gdb/17511
9957         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
9958         * gdb.base/sigstep.exp (other_handler_location): New global.
9959         (advance): Support stepping into the signal handler, and running
9960         commands while in the handler.
9961         (in_handler_map): New global.
9962         (top level): In the advance test, add combinations for getting
9963         into the handler with stepping commands, and for running commands
9964         in the handler.  Add comment descripting the advancei tests.
9965
9966 2014-10-28  Pedro Alves  <palves@redhat.com>
9967
9968         * gdb.base/sigstep.exp: Use build_executable instead of
9969         prepare_for_testing.
9970         (top level): Move code that starts GDB, runs to main and creates a
9971         display to ...
9972         (restart): ... this new procedure.
9973         (top level): Move backtrace from signal handler test to ...
9974         (validate_backtrace): ... this new procedure.
9975         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
9976         with_test_prefix.  Always restart GDB.
9977         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
9978         with_test_prefix.  Always restart GDB.  No need to delete
9979         breakpoints after the test.
9980         (test_skip_handler): Remove prefix parameter.
9981         (skip_over_handler, breakpoint_to_handler)
9982         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9983         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
9984         restart GDB.  No need to delete breakpoints after the test.
9985         (top level): Use foreach to call the test procedures with
9986         different commands.
9987
9988 2014-10-28  Pedro Alves  <palves@redhat.com>
9989
9990         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9991         instead of GNATS numbers.
9992         * gdb.base/sigbpt.exp: Likewise.
9993         * gdb.base/siginfo.exp: Likewise.
9994         * gdb.base/sigstep.exp: Likewise.
9995
9996 2014-10-27  Pedro Alves  <palves@redhat.com>
9997
9998         * gdb.base/sigstep.c (dummy): New global.
9999         (main): Issue a couple writes to the new global.
10000         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10001         procedures.
10002         (skip_over_handler): Use test_skip_handler.
10003         (top level): Call skip_over_handler for stepi and nexti too.
10004         (breakpoint_over_handler): Use test_skip_handler.
10005         (top level): Call breakpoint_over_handler for stepi and nexti too.
10006
10007 2014-10-27  Yao Qi  <yao@codesourcery.com>
10008
10009         * gdb.trace/tfile.c (adjust_function_address)
10010         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10011         function descriptor.
10012
10013 2014-10-24  Don Breazeal  <donb@codesourcery.com>
10014
10015         * gdb.base/foll-fork.exp (test_follow_fork,
10016         catch_fork_child_follow): Check for updated fork messages emitted
10017         from infrun.c.
10018         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10019         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10020         vfork_and_exec_child_follow_through_step): Check for updated vfork
10021         messages emitted from infrun.c.
10022
10023 2014-10-24  Pedro Alves  <palves@redhat.com>
10024
10025         * gdb.base/corefile.exp: Remove references to ultrix.
10026         * gdb.base/interrupt.exp: Likewise.
10027         * gdb.base/whatis.exp: Likewise.
10028         * gdb.gdb/selftest.exp: Likewise.
10029         * gdb.threads/manythreads.exp: Likewise.
10030         * gdb.threads/print-threads.exp: Likewise.
10031         * gdb.threads/pthreads.exp:: Likewise.
10032         * gdb.threads/schedlock.exp: Likewise.
10033
10034 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
10035
10036         * gdb.cp/non-trivial-retval.cc: Add a test case.
10037         * gdb.cp/non-trivial-retval.exp: Add a test.
10038
10039 2014-10-20  Yao Qi  <yao@codesourcery.com>
10040
10041         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10042         * gdb.python/py-objfile-script-gdb.py: New file.
10043         * gdb.python/py-objfile-script.exp: Update reference to
10044         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
10045         of remote_download.  Remove the dest file.
10046
10047 2014-10-20  Yao Qi  <yao@codesourcery.com>
10048
10049         * gdb.base/checkpoint.exp: Don't remove file copied on host.
10050         * gdb.base/step-line.exp: Likewise.
10051         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10052         * gdb.dwarf2/dw2-basic.exp: Likewise.
10053         * gdb.dwarf2/dw2-compressed.exp: Likewise.
10054         * gdb.dwarf2/dw2-filename.exp: Likewise.
10055         * gdb.dwarf2/dw2-intercu.exp: Likewise.
10056         * gdb.dwarf2/dw2-intermix.exp: Likewise.
10057         * gdb.dwarf2/dw2-producer.exp: Likewise.
10058         * gdb.dwarf2/mac-fileno.exp: Likewise.
10059         * gdb.python/py-frame-args.exp: Likewise.
10060         * gdb.python/py-framefilter.exp: Likewise.
10061         * gdb.python/py-mi.exp: Likewise.
10062         * gdb.python/py-objfile-script.exp: Likewise
10063         * gdb.python/py-pp-integral.exp: Likewise.
10064         * gdb.python/py-pp-re-notag.exp: Likewise.
10065         * gdb.python/py-prettyprint.exp: Likewise.
10066         * gdb.python/py-section-script.exp: Likewise.
10067         * gdb.python/py-typeprint.exp: Likewise.
10068         * gdb.python/py-xmethods.exp: Likewise.
10069         * gdb.stabs/weird.exp: Likewise.
10070         * gdb.xml/tdesc-regs.exp: Likewise.
10071
10072 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
10073
10074         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10075         (out_cu): Use addr_len for the size of addresses.
10076         (out_line): Likewise.  Size DW_LNE_set_address instruction
10077         according to addr_len.
10078         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10079         (FUNC): Add START_INSNS to definition.
10080
10081 2014-10-18  Yao Qi  <yao@codesourcery.com>
10082
10083         * gdb.base/argv0-symlink.exp: Check argv[0] value if
10084         gdb_has_argv0 return true.
10085         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10086         check [target_info exists noargs], check [gdb_has_argv0]
10087         instead.
10088         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10089         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10090         procedures.
10091
10092 2014-10-17  Doug Evans  <dje@google.com>
10093
10094         * gdb.python/py-events.exp: Update expected output for clear_objfiles
10095         event.
10096         * gdb.python/py-events.py: Add clear_objfiles event.
10097
10098 2014-10-17  Doug Evans  <dje@google.com>
10099
10100         * gdb.python/py-objfile.exp: Test progspace attribute.
10101
10102 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
10103
10104         * gdb.guile/scm-breakpoint.exp: Do not assume any
10105         directory separators when matching source file paths.
10106         * gdb.python/py-breakpoint.exp: Likewise.
10107         * gdb.reverse/break-precsave.exp: Likewise.
10108         * gdb.reverse/break-reverse.exp: Likewise.
10109         * gdb.reverse/consecutive-precsave.exp: Likewise.
10110         * gdb.reverse/finish-precsave.exp: Likewise.
10111         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10112         * gdb.reverse/finish-reverse.exp: Likewise.
10113         * gdb.reverse/i386-precsave.exp: Likewise.
10114         * gdb.reverse/i387-env-reverse.exp: Likewise.
10115         * gdb.reverse/i387-stack-reverse.exp: Likewise.
10116         * gdb.reverse/machinestate-precsave.exp: Likewise.
10117         * gdb.reverse/machinestate.exp: Likewise.
10118         * gdb.reverse/sigall-precsave.exp: Likewise.
10119         * gdb.reverse/solib-precsave.exp: Likewise.
10120         * gdb.reverse/step-precsave.exp: Likewise.
10121         * gdb.reverse/until-precsave.exp: Likewise.
10122         * gdb.reverse/watch-precsave.exp: Likewise.
10123         * gdb.reverse/watch-reverse.exp: Likewise.
10124
10125 2014-10-17  Yao Qi  <yao@codesourcery.com>
10126
10127         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10128         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10129
10130 2014-10-17  Pedro Alves  <palves@redhat.com>
10131
10132         PR gdb/17471
10133         * gdb.base/bg-execution-repeat.c: New file.
10134         * gdb.base/bg-execution-repeat.exp: New file.
10135
10136 2014-10-17  Pedro Alves  <palves@redhat.com>
10137
10138         PR gdb/17300
10139         * gdb.base/continue-all-already-running.c: New file.
10140         * gdb.base/continue-all-already-running.exp: New file.
10141
10142 2014-10-17  Pedro Alves  <palves@redhat.com>
10143
10144         PR gdb/17472
10145         * gdb.base/annota-input-while-running.c: New file.
10146         * gdb.base/annota-input-while-running.exp: New file.
10147
10148 2014-10-17  Pedro Alves  <palves@redhat.com>
10149
10150         * gdb.base/callfuncs.exp: emove references to osf.
10151         * gdb.base/sigall.exp: Likewise.
10152         * gdb.gdb/selftest.exp: Likewise.
10153         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10154         * gdb.mi/non-stop.c: Likewise.
10155         * gdb.mi/pthreads.c: Likewise.
10156         * gdb.reverse/sigall-precsave.exp: Likewise.
10157         * gdb.reverse/sigall-reverse.exp: Likewise.
10158         * gdb.threads/pthreads.c: Likewise.
10159         * gdb.threads/pthreads.exp: Likewise.
10160
10161 2014-10-17  Yao Qi  <yao@codesourcery.com>
10162
10163         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10164         check 'target_info exists noargs'.
10165         (test_command_prompt_position): Likewise.
10166         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10167         Remove "set args".
10168         (progvar_simple_while_test): Likewise.
10169         (progvar_complex_if_while_test): Likewise.
10170         (if_while_breakpoint_command_test): Likewise.
10171         (infrun_breakpoint_command_test): Likewise.
10172         (breakpoint_command_test): Likewise.
10173         (watchpoint_command_test): Likewise.
10174         (bp_deleted_in_command_test): Likewise.
10175         (temporary_breakpoint_commands): Likewise.
10176
10177 2014-10-16  Yao Qi  <yao@codesourcery.com>
10178
10179         * gdb.base/remotetimeout.exp: Remove noargs checking.
10180
10181 2014-10-15  Pedro Alves  <palves@redhat.com>
10182
10183         PR breakpoints/9649
10184         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10185         * gdb.base/breakpoint-in-ro-region.exp
10186         (probe_target_hardware_step): New procedure.
10187         (top level): Probe hardware stepping and hardware breakpoint
10188         support.  Test stepping through a read-only region, with both
10189         "breakpoint auto-hw" on and off and both "always-inserted" on and
10190         off.
10191
10192 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
10193
10194         * gdb.dlang/demangle.exp: Update for demangling changes.
10195
10196 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
10197
10198         * gdb.cp/non-trivial-retval.cc: Add new test cases.
10199         * gdb.cp/non-trivial-retval.exp: Add new tests.
10200
10201 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
10202
10203         PR c++/13403
10204         PR c++/15154
10205         * gdb.cp/non-trivial-retval.cc: New file.
10206         * gdb.cp/non-trivial-retval.exp: New file.
10207
10208 2014-10-15  Yao Qi  <yao@codesourcery.com>
10209
10210         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10211         remote host.
10212
10213 2014-10-15  Yao Qi  <yao@codesourcery.com>
10214
10215         * gdb.python/py-symbol.exp: Match file base name if host is
10216         remote, otherwise match file name with dir name.
10217         * gdb.python/py-symtab.exp: Likewise.
10218         * gdb.python/python.exp: Likewise.
10219
10220 2014-10-15  Yao Qi  <yao@codesourcery.com>
10221
10222         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10223         pattern.
10224         * gdb.python/py-symtab.exp: Likewise.
10225         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
10226         locationn.
10227
10228 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
10229
10230         * gdb.ada/addr_arith: New testcase.
10231
10232 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
10233
10234         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10235         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10236         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10237         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10238
10239 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
10240
10241         * gdb.arch/stap-eval-lang-ada.S: Likewise.
10242         * gdb.arch/stap-eval-lang-ada.c: Likewise.
10243         * gdb.arch/stap-eval-lang-ada.exp: New file.
10244
10245 2014-10-14  Yao Qi  <yao@codesourcery.com>
10246
10247         * gdb.mi/mi-var-child.c (nothing1): New function.
10248         (nothing2): New function.
10249         (do_children_tests): Set function pointers by nothing1 and
10250         nothing2.
10251         * gdb.mi/mi-var-child.exp: Step over new added statements.
10252         Update test to match the new output.
10253         * gdb.mi/var-cmd.c (nothing1): New function.
10254         (nothing2): New function.
10255         (do_children_tests): Set function pointers by  nothing1 and
10256         nothing2.
10257         * gdb.mi/mi-var-display.exp: Update test to match output.
10258         Step to the line specified by $line_dct_nothing.
10259         Increase the number of lines to step.
10260
10261 2014-10-14  Yao Qi  <yao@codesourcery.com>
10262
10263         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10264         tests.
10265         * gdb.mi/mi2-var-child.exp: Likewise.
10266
10267 2014-10-13  Doug Evans  <dje@google.com>
10268
10269         * gdb.python/py-objfile.exp: Change name of file name test.
10270
10271 2014-10-13  Doug Evans  <dje@google.com>
10272
10273         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10274         from the start of the CU.
10275
10276 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
10277             Yao Qi  <yao@codesourcery.com>
10278
10279         Fix "save breakpoints" for "catch" command.
10280         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10281         Remove -nonewline.  Match also the added "main" line.
10282
10283 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
10284
10285         Fix "save breakpoints" for "disable $bpnum" command.
10286         * gdb.base/save-bp.c (main): Add label.
10287         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
10288
10289 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
10290
10291         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10292
10293 2014-10-11  Yao Qi  <yao@codesourcery.com>
10294
10295         * gdb.server/server-kill.exp: Execute command
10296         "set remote trace-status-packet on" before "tstatus".
10297
10298 2014-10-11  Yao Qi  <yao@codesourcery.com>
10299
10300         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10301         (main): Call getppid.
10302         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10303         and continue to it.  Read variable "server_pid".
10304
10305 2014-10-11  Yao Qi  <yao@codesourcery.com>
10306
10307         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10308
10309 2014-10-11  Yao Qi  <yao@codesourcery.com>
10310
10311         * gdb.threads/thread-find.exp: Don't execute command
10312         "info threads".
10313         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10314         * gdb.threads/linux-dp.exp: Don't check the condition
10315         $threads_created equals to zero.
10316
10317 2014-10-10  Pedro Alves  <palves@redhat.com>
10318
10319         * gdb.base/bigcore.exp: Remove references to IRIX.
10320         * gdb.base/funcargs.exp: Likewise.
10321         * gdb.base/interrupt.exp: Likewise.
10322         * gdb.base/mips_pro.exp: Likewise.
10323         * gdb.base/nodebug.exp: Likewise.
10324         * gdb.base/setvar.exp: Likewise.
10325         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10326
10327 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10328             Pedro Alves  <palves@redhat.com>
10329
10330         PR symtab/14466
10331         * gdb.base/vdso-warning.c: New file.
10332         * gdb.base/vdso-warning.exp: New file.
10333
10334 2014-10-02  Doug Evans  <dje@google.com>
10335
10336         * gdb.base/structs.c (main): Don't run forever.
10337
10338 2014-10-02  Pedro Alves  <palves@redhat.com>
10339
10340         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10341         (top level) <stop threads 1, stop threads 2>: Use it.
10342
10343 2014-10-02  Pedro Alves  <palves@redhat.com>
10344
10345         * gdb.threads/break-while-running.exp (test): Add new
10346         'update_thread_list' argument.  Skip "info threads" if false.
10347         (top level): Add new 'update_thread_list' axis.
10348
10349 2014-10-02  Pedro Alves  <palves@redhat.com>
10350
10351         PR breakpoints/17431
10352         * gdb.base/execl-update-breakpoints.c: New file.
10353         * gdb.base/execl-update-breakpoints.exp: New file.
10354
10355 2014-10-01  Pedro Alves  <palves@redhat.com>
10356
10357         * gdb.base/breakpoint-in-ro-region.c: New file.
10358         * gdb.base/breakpoint-in-ro-region.exp: New file.
10359
10360 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
10361
10362         * gdb.mi/mi-exit-code.exp: New file.
10363         * gdb.mi/mi-exit-code.c: New file.
10364
10365 2014-09-30  Yao Qi  <yao@codesourcery.com>
10366
10367         * lib/prelink-support.exp (build_executable_own_libs): Error if
10368         the target isn't native.
10369
10370 2014-09-30  Yao Qi  <yao@codesourcery.com>
10371
10372         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10373         false.
10374
10375 2014-09-22  Pedro Alves  <palves@redhat.com>
10376
10377         * gdb.threads/break-while-running.exp: New file.
10378         * gdb.threads/break-while-running.c: New file.
10379
10380 2014-09-19  Yao Qi  <yao@codesourcery.com>
10381
10382         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10383         Invoke test.  Restart GDB with --readnow and invoke test again.
10384
10385 2014-09-19  Yao Qi  <yao@codesourcery.com>
10386
10387         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10388         proc set_breakpoint_on_gcd_function.  Invoke
10389         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
10390         invoke set_breakpoint_on_gcd_function again.
10391
10392 2014-09-18  Doug Evans  <dje@google.com>
10393
10394         * gdb.dwarf2/symtab-producer.exp: New file.
10395
10396 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
10397
10398         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10399         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10400         * gdb.base/global-var-nested-by-dso.c: Likewise.
10401         * gdb.base/global-var-nested-by-dso.exp: Likewise.
10402
10403 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
10404             Pedro Alves  <palves@redhat.com>
10405
10406         * gdb.base/watch-bitfields.exp: Pass string other than test file
10407         name to prepare_for_testing.
10408         (watch): New procedure.
10409         (expect_watchpoint): Use with_test_prefix.
10410         (top level): Factor out tests to ...
10411         (test_watch_location, test_regular_watch): ... these new
10412         procedures, and use with_test_prefix and gdb_continue_to_end.
10413
10414 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
10415
10416         PR breakpoints/12526
10417         * gdb.base/watch-bitfields.exp: New file.
10418         * gdb.base/watch-bitfields.c: New file.
10419
10420 2014-09-16  Pedro Alves  <palves@redhat.com>
10421
10422         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10423         software and hardware addresses, not software address against
10424         itself.
10425
10426 2014-09-16  Pedro Alves  <palves@redhat.com>
10427
10428         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10429         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10430
10431 2014-09-16  Pedro Alves  <palves@redhat.com>
10432
10433         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10434         files.
10435         * gdb.base/a2-run.exp: Remove all code guarded by istarget
10436         "*-*-vxworks*" throughout.
10437         * gdb.base/break.exp: Likewise.
10438         * gdb.base/default.exp: Likewise.
10439         * gdb.base/scope.exp: Likewise.
10440         * gdb.base/sepdebug.exp: Likewise.
10441         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10442         throughout.
10443         * gdb.base/run.c: Likewise.
10444         * gdb.base/sepdebug.c: Likewise.
10445         * gdb.hp/gdb.aCC/run.c: Likewise.
10446         * gdb.reverse/until-reverse.c: Likewise.
10447         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10448
10449 2014-09-16  Yao Qi  <yao@codesourcery.com>
10450
10451         * boards/local-remote-host-native.exp: New file.
10452
10453 2014-09-14  Doug Evans  <xdje42@gmail.com>
10454
10455         * gdb.threads/queue-signal.c (thread_count): New variable.
10456         (thread_count_mutex, thread_count_condvar): New variables.
10457         (incr_thread_count, wait_all_threads_running): New functions.
10458         (main): Wait for all threads to be in their thread functions.
10459
10460 2014-09-13  Doug Evans  <xdje42@gmail.com>
10461
10462         * gdb.threads/queue-signal.c: New file.
10463         * gdb.threads/queue-signal.exp: New file.
10464
10465 2014-09-13  Doug Evans  <xdje42@gmail.com>
10466
10467         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10468         be consistent with what default_gdb_init uses.
10469         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10470         the plain text of the prompt.  Add some logging printfs.
10471         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10472
10473 2014-09-12  Pedro Alves  <palves@redhat.com>
10474
10475         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10476         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10477         * gdb.arch/i386-size-overlap.exp: Likewise.
10478         * gdb.arch/i386-size.exp: Likewise.
10479         * gdb.arch/i386-unwind.exp: Likewise.
10480         * gdb.base/a2-run.exp: Likewise.
10481         * gdb.base/break.exp: Likewise.
10482         * gdb.base/charset.exp: Likewise.
10483         * gdb.base/chng-syms.exp: Likewise.
10484         * gdb.base/commands.exp: Likewise.
10485         * gdb.base/dbx.exp: Likewise.
10486         * gdb.base/find.exp: Likewise.
10487         * gdb.base/funcargs.exp: Likewise.
10488         * gdb.base/jit-simple.exp: Likewise.
10489         * gdb.base/reread.exp: Likewise.
10490         * gdb.base/sepdebug.exp: Likewise.
10491         * gdb.base/step-bt.exp: Likewise.
10492         * gdb.cp/mb-inline.exp: Likewise.
10493         * gdb.cp/mb-templates.exp: Likewise.
10494         * gdb.objc/basicclass.exp: Likewise.
10495         * gdb.threads/killed.exp: Likewise.
10496
10497 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
10498
10499         PR tdep/17379
10500         * gdb.arch/powerpc-stackless.S: New file.
10501         * gdb.arch/powerpc-stackless.exp: New file.
10502
10503 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
10504
10505         * gdb.base/attach.c: Include unistd.h.
10506         (main): Call alarm.  Add label postloop.
10507         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10508         gdb_breakpoint, gdb_continue_to_breakpoint.
10509         (test_command_line_attach_run): Kill ${testpid} in one exit path.
10510
10511 2014-09-11  Pedro Alves  <palves@redhat.com>
10512
10513         PR gdb/17347
10514         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10515         * gdb.base/attach.exp (test_command_line_attach_run): New
10516         procedure.
10517         (top level): Call it.
10518
10519 2014-09-11  Pedro Alves  <palves@redhat.com>
10520
10521         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10522         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10523         (do_command_attach_tests): Use spawn_wait_for_attach.
10524         * gdb.base/solib-overlap.exp: Likewise.
10525         * gdb.multi/multi-attach.exp: Likewise.
10526         * gdb.python/py-prompt.exp: Likewise.
10527         * gdb.python/py-sync-interp.exp: Likewise.
10528         * gdb.server/ext-attach.exp: Likewise.
10529
10530 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
10531
10532         * gdb.fortran/array-element.exp: Remove unexpected "continue"
10533         command in testcase.  Simplify testcase.
10534
10535 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10536
10537         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10538
10539 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10540
10541         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10542
10543 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10544
10545         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10546
10547 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
10548
10549         * gdb.dwarf2/dynarr-ptr.c: New file.
10550         * gdb.dwarf2/dynarr-ptr.exp: New file.
10551
10552 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10553
10554         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10555         of 30 rather than hardcoding 120 for a slow test case.  Take the
10556         `gdb,timeout' target setting into account for this calculation.
10557         Don't extend the timeout for the test cases that don't need it.
10558
10559 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10560
10561         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10562         a factor of 2 for a slow test case.  Take the `gdb,timeout'
10563         target setting into account for this calculation.
10564         * gdb.reverse/until-precsave.exp: Increase the timeout by
10565         a factor of 15 and 3 respectively rather than adding 120
10566         for a pair of slow test cases.  Take the `gdb,timeout'
10567         target setting into account for this calculation.
10568
10569 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10570
10571         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10572         timeout, don't pass one down to gdb_expect.
10573         (gdb_expect): Rework timeout selection.
10574
10575 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10576
10577         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10578         exception on timeout.
10579         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10580         (gdbserver_start_extended): Catch any `gdbserver_start' error
10581         exceptions.
10582         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10583         * lib/mi-support.exp (mi_gdb_target_load): Catch any
10584         `gdbserver_gdb_load' error exceptions.
10585
10586 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10587
10588         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10589         120 on waiting for the TCP socket to open.
10590
10591 2014-09-09  Doug Evans  <xdje42@gmail.com>
10592
10593         * gdb.base/default.exp (show_conv_list): Add _caller_is,
10594         _caller_matches, _any_caller_is, _any_caller_matches.
10595
10596 2014-09-09  Doug Evans  <xdje42@gmail.com>
10597
10598         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10599
10600 2014-09-09  Yao Qi  <yao@codesourcery.com>
10601
10602         * gdb.mi/mi-var-display.exp: Set print symbol off.
10603
10604 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
10605
10606         PR gdb/17035
10607         * gdb.base/commands.exp: Add tests to verify user-defined
10608         commands with empty bodies.
10609         * gdb.python/py-cmd.exp: Test that we don't show user-defined
10610         python commands in `show user command`.
10611         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10612         scheme commands in `show user command`.
10613
10614 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10615
10616         PR python/17355
10617         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10618         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10619         * gdb.python/py-framefilter-invalidarg.exp: New file.
10620         * gdb.python/py-framefilter-invalidarg.py: New file.
10621
10622 2014-09-06  Doug Evans  <xdje42@gmail.com>
10623
10624         PR 15276
10625         * gdb.python/py-caller-is.c: New file.
10626         * gdb.python/py-caller-is.exp: New file.
10627
10628 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
10629
10630         PR gdb/17235
10631         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10632         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10633
10634 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
10635
10636         PR fortran/17237
10637         * gdb.fortran/print-formatted.exp: New file.
10638         * gdb.fortran/print-formatted.f90: Likewise.
10639
10640 2014-09-03  Sasha Smundak  <asmundak@google.com>
10641
10642         * gdb.python/py-frame.exp: Test Frame.read_register.
10643
10644 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
10645
10646         PR python/16699
10647         * gdb.python/py-completion.exp: New file.
10648         * gdb.python/py-completion.py: Likewise.
10649
10650 2014-08-28  Doug Evans  <dje@google.com>
10651
10652         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10653         eax,etc. are live with values set by gdb and thus the compiler can't
10654         use them.
10655         * gdb.arch/i386-pseudo.c (main): Ditto.
10656
10657 2014-08-27  Doug Evans  <dje@google.com>
10658
10659         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
10660
10661 2014-08-25  Doug Evans  <dje@google.com>
10662
10663         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
10664         (main): Ditto.
10665
10666 2014-08-25  Doug Evans  <dje@google.com>
10667
10668         * gdb.threads/thread-execl.exp: #include <stdio.h>.
10669
10670 2014-08-24  Yao Qi  <yao@codesourcery.com>
10671
10672         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10673         symbol off.
10674         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10675
10676 2014-08-22  Doug Evans  <dje@google.com>
10677
10678         PR 17276
10679         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
10680         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
10681         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
10682
10683 2014-08-22  Yao Qi  <yao@codesourcery.com>
10684
10685         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
10686         * gdb.python/py-finish-breakpoint2.exp: Likewise.
10687         * gdb.python/python.exp: Likewise.  Use .py file on the host
10688         instead of the build.
10689
10690 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10691
10692         * gdb.threads/gcore-stale-thread.c: New file.
10693         * gdb.threads/gcore-stale-thread.exp: New file.
10694
10695 2014-08-21  Pedro Alves  <palves@redhat.com>
10696
10697         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10698         * gdb.base/gcore-relro-pie.exp: Likewise.
10699         * gdb.base/gcore-relro.exp: Likewise.
10700         * gdb.base/gcore.exp: Likewise.
10701         * gdb.base/print-symbol-loading.exp: Likewise.
10702         * gdb.threads/gcore-thread.exp: Likewise.
10703         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
10704
10705 2014-08-20  Pedro Alves  <palves@redhat.com>
10706             Jan Kratochvil  <jan.kratochvil@redhat.com>
10707
10708         * Makefile.in (EXTRA_RULES, CC): New variables, get from
10709         configure.
10710         (EXPECT): Handle READ1 being set.
10711         (all): Depend on EXTRA_RULES.
10712         (check-read1, expect-read1, read1.so, read1): New rules.
10713         * README (Testsuite Parameters): Document the READ1 make variable.
10714         (Race detection): New section.
10715         * configure: Regenerate.
10716         * configure.ac: If build==host==target, and running under a
10717         GNU/glibc system, add read1 to the extra Makefile rules.
10718         (EXTRA_RULES): AC_SUBST it.
10719         * lib/read1.c: New file.
10720
10721 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
10722
10723         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
10724         the handling of variables declared as a typedef to an array
10725         which a DW_AT_data_location attribute.
10726
10727 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
10728             Pedro Alves  <palves@redhat.com>
10729
10730         PR symtab/14604
10731         PR symtab/14605
10732         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
10733         gdb_test.
10734
10735 2014-08-19  Pedro Alves  <palves@redhat.com>
10736
10737         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
10738
10739 2014-08-19  Yao Qi  <yao@codesourcery.com>
10740
10741         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
10742         right line.
10743
10744 2014-08-18  David Blaikie  <dblaikie@gmail.com>
10745
10746         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
10747
10748 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
10749
10750         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
10751         attribute in array range.
10752
10753 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
10754
10755         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
10756
10757 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
10758
10759         PR c++/17132
10760         * gdb.cp/pr17132.cc: New file.
10761         * gdb.cp/pr17132.exp: New file.
10762
10763 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
10764
10765         * gdb.python/py-xmethods.py (A_getarrayind)
10766         (E_method_char_worker.__call__, E_method_int_worker.__call__):
10767         Use 'print' with function call syntax.
10768         (E_method_matcher.match): Fix tab vs space indentation mixup.
10769
10770 2014-08-15  Yao Qi  <yao@codesourcery.com>
10771
10772         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10773         false.
10774
10775 2014-08-15  Yao Qi  <yao@codesourcery.com>
10776
10777         * gdb.cp/casts.exp: Set print symbol off.
10778         * gdb.cp/class2.exp: Likewise.
10779         * gdb.cp/overload.exp: Likewise.
10780         * gdb.cp/templates.exp: Likewise.
10781
10782 2014-08-11  Doug Evans  <dje@google.com>
10783
10784         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10785         (test_load_shlib): Update.
10786
10787 2014-08-09  Yao Qi  <yao@codesourcery.com>
10788
10789         * gdb.base/display.exp: Invoke is_address_zero_readable.
10790         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10791         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10792         * gdb.base/hbreak-unmapped.exp: Return if
10793         is_address_zero_readable returns true.
10794         * gdb.base/signest.exp: Likewise.
10795         * gdb.base/signull.exp: Likewise.
10796         * gdb.base/sigbpt.exp: Likewise.
10797         * gdb.guile/scm-disasm.exp: Do the test if
10798         is_address_zero_readable returns false.
10799         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10800         * gdb.python/py-arch.exp: Likewise.
10801         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10802         * lib/gdb.exp (is_address_zero_readable): New proc.
10803
10804 2014-08-09  Yao Qi  <yao@codesourcery.com>
10805
10806         PR testsuite/13443
10807         * gdb.mi/mi-var-display.exp: Make test messages unique.
10808
10809 2014-08-04  Tom Tromey  <tromey@redhat.com>
10810
10811         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10812         target 0".
10813
10814 2014-08-04  Tom Tromey  <tromey@redhat.com>
10815
10816         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10817         "target_resume".
10818
10819 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
10820
10821         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10822         inner_vla_struct_object_size.
10823         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10824         as xfail.
10825
10826 2014-07-30  Pedro Alves  <palves@redhat.com>
10827
10828         * gdb.threads/signal-command-handle-nopass.exp (test): Add
10829         comment.
10830
10831 2014-07-29  Yao Qi  <yao@codesourcery.com>
10832
10833         PR gdb/17206
10834         * gdb.base/until-nodebug.exp: New.
10835
10836 2014-07-28  Doug Evans  <xdje42@gmail.com>
10837
10838         PR guile/17203
10839         * gdb.guile/scm-parameter.exp: Add tests for trying to create
10840         previously existing parameter, and previously ambiguously spelled
10841         parameter.
10842
10843 2014-07-28  Will Newton  <will.newton@linaro.org>
10844
10845         * gdb.base/varargs.exp: Remove KFAILs for ARM.
10846
10847 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
10848             Doug Evans  <xdje42@gmail.com>
10849
10850         PR guile/17146
10851         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
10852
10853 2014-07-25  Pedro Alves  <palves@redhat.com>
10854
10855         * gdb.threads/signal-command-handle-nopass.c: New file.
10856         * gdb.threads/signal-command-handle-nopass.exp: New file.
10857         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
10858         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
10859         * gdb.threads/signal-delivered-right-thread.c: New file.
10860         * gdb.threads/signal-delivered-right-thread.exp: New file.
10861
10862 2014-07-25  Pedro Alves  <palves@redhat.com>
10863
10864         * gdb.base/double-prompt-target-event-error.exp
10865         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
10866         match.
10867         (cancel_pagination_in_target_event): Rework double prompt
10868         detection.
10869         * gdb.base/paginate-after-ctrl-c-running.exp
10870         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
10871         <return>' match.
10872         * gdb.base/paginate-bg-execution.exp
10873         (test_bg_execution_pagination_return)
10874         (test_bg_execution_pagination_cancel): Remove '-notransfer
10875         <return>' matches.
10876         * gdb.base/paginate-execution-startup.exp
10877         (test_fg_execution_pagination_return)
10878         (test_fg_execution_pagination_cancel): Remove '-notransfer
10879         <return>' matches.
10880         * gdb.base/paginate-inferior-exit.exp
10881         (test_paginate_inferior_exited): Remove '-notransfer <return>'
10882         match.
10883         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
10884         * lib/gdb.exp (pagination_prompt): Run text through
10885         string_to_regexp.
10886         (gdb_test_multiple): Match $pagination_prompt instead of
10887         "<return>".
10888         (string_to_regexp): Move to lib/gdb-utils.exp.
10889
10890 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
10891
10892         * gdb.arch/amd64-entry-value-paramref.S: New file.
10893         * gdb.arch/amd64-entry-value-paramref.cc: New file.
10894         * gdb.arch/amd64-entry-value-paramref.exp: New file.
10895         * gdb.arch/amd64-optimout-repeat.S: New file.
10896         * gdb.arch/amd64-optimout-repeat.c: New file.
10897         * gdb.arch/amd64-optimout-repeat.exp: New file.
10898
10899 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10900
10901         PR gdb/17170
10902         * gdb.base/statistics.exp: New file.
10903
10904 2014-07-17  Doug Evans  <dje@google.com>
10905
10906         PR gdb/17170
10907         * gdb.base/maint.exp: Update testing of per-command stats.
10908
10909 2014-07-16  Pedro Alves  <palves@redhat.com>
10910
10911         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
10912         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
10913         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
10914         (tfile_write_buf): New functions.
10915         (add_memory_block): Rewrite using the above.
10916         (adjust_function_address): New function.
10917         (FUNCTION_ADDRESS): New macro.
10918         (write_basic_trace_file): Remove short_x local, and use
10919         tfile_write_16. Change type of func_addr local to unsigned long
10920         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
10921         here.  Cast argument of add_memory_block to char pointer.
10922         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
10923         (main): Remove parameters.
10924         * gdb.trace/tfile.exp: Remove nowarnings.
10925
10926 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
10927
10928         * gdb.base/debug-expr.exp: Test string evaluation with
10929         "debug expression" on.
10930
10931 2014-07-15  Pedro Alves  <palves@redhat.com>
10932
10933         * gdb.base/reread.exp: Use clean_restart.
10934
10935 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
10936
10937         * gdb.arch/avr-flash-qualifer.c: New.
10938         * gdb.arch/avr-flash-qualifer.exp: New.
10939
10940 2014-07-14  Pedro Alves  <palves@redhat.com>
10941
10942         * gdb.base/paginate-after-ctrl-c-running.c: New file.
10943         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
10944
10945 2014-07-14  Pedro Alves  <palves@redhat.com>
10946
10947         * gdb.base/double-prompt-target-event-error.c: New file.
10948         * gdb.base/double-prompt-target-event-error.exp: New file.
10949
10950 2014-07-14  Pedro Alves  <palves@redhat.com>
10951
10952         PR gdb/17072
10953         * gdb.base/paginate-inferior-exit.c: New file.
10954         * gdb.base/paginate-inferior-exit.exp: New file.
10955
10956 2014-07-14  Pedro Alves  <palves@redhat.com>
10957
10958         PR gdb/17072
10959         * gdb.base/paginate-bg-execution.c: New file.
10960         * gdb.base/paginate-bg-execution.exp: New file.
10961
10962 2014-07-14  Pedro Alves  <palves@redhat.com>
10963
10964         PR gdb/17072
10965         * gdb.base/paginate-execution-startup.c: New file.
10966         * gdb.base/paginate-execution-startup.exp: New file.
10967         * lib/gdb.exp (pagination_prompt): New global.
10968         (default_gdb_spawn): New procedure, factored out from
10969         default_gdb_spawn.
10970         (default_gdb_start): Adjust to call default_gdb_spawn.
10971         (gdb_spawn): New procedure.
10972
10973 2014-07-14  Pedro Alves  <palves@redhat.com>
10974
10975         * lib/gdb.exp (gdb_assert): New procedure.
10976         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10977
10978 2014-07-14  Pedro Alves  <palves@redhat.com>
10979
10980         * gdb.base/execution-termios.c: New file.
10981         * gdb.base/execution-termios.exp: New file.
10982
10983 2014-07-14  Tom Tromey  <tromey@redhat.com>
10984
10985         * gdb.cp/vla-cxx.cc: New file.
10986         * gdb.cp/vla-cxx.exp: New file.
10987
10988 2014-07-14  Tom Tromey  <tromey@redhat.com>
10989
10990         * gdb.reverse/rerun-prec.c: New file.
10991         * gdb.reverse/rerun-prec.exp: New file.
10992
10993 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
10994             Maciej W. Rozycki  <macro@codesourcery.com>
10995
10996         * lib/gdb-utils.exp: New file.
10997         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10998         inline `gdb_init_command' processing.
10999         (gdb_start_cmd): Likewise.
11000         * lib/mi-support.exp (mi_run_cmd): Likewise.
11001         * README: Document `gdb_init_command' and `gdb_init_commands'.
11002
11003 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11004
11005         Fix false FAIL running under a very long directory name.
11006         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11007         and "set print elements 10000".  Twice.
11008
11009 2014-07-11  Yao Qi  <yao@codesourcery.com>
11010
11011         * gdb.base/exprs.exp: "set print symbol off".
11012
11013 2014-07-11  Pedro Alves  <palves@redhat.com>
11014
11015         * gdb.threads/kill.c: New file.
11016         * gdb.threads/kill.exp: New file.
11017
11018 2014-07-10  Yao Qi  <yao@codesourcery.com>
11019
11020         * gdb.trace/tfile.c (write_basic_trace_file)
11021         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11022         address written to trace file.
11023
11024 2014-07-09  Pedro Alves  <palves@redhat.com>
11025
11026         * gdb.base/attach-wait-input.exp: New file.
11027         * gdb.base/attach-wait-input.c: New file.
11028
11029 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
11030
11031         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11032         setting up test structures.
11033         (main): Call new test function.
11034         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11035         test function, continue into test function and walk test
11036         structures.
11037
11038 2014-07-02  Yao Qi  <yao@codesourcery.com>
11039
11040         * gdb.trace/entry-values.c: Define labels 'foo_start' and
11041         'bar_start' at the beginning of functions 'foo' and 'bar'
11042         respectively.
11043         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11044         instead of 'foo' and 'bar'.
11045
11046 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
11047
11048         * gdb.btrace/segv.exp: New.
11049         * gdb.btrace/segv.c: New.
11050
11051 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
11052
11053         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11054         instruction.
11055
11056 2014-06-30  Mark Wielaard  <mjw@redhat.com>
11057
11058         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11059         vulture, vilify, villar): New volatile array constants.
11060         (vindictive, vegetation): New const volatile array constants.
11061         * gdb.base/volatile.exp: Test volatile and const volatile array
11062         types.
11063
11064 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11065
11066         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11067         target lacks support for awatch, rwatch, or hbreak.
11068
11069 2014-06-27  Yao Qi  <yao@codesourcery.com>
11070
11071         * gdb.multi/dummy-frame-restore.exp: New.
11072         * gdb.multi/dummy-frame-restore.c: New.
11073
11074 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
11075
11076         * gdb.btrace/gcore.exp: New.
11077
11078 2014-06-23  Pedro Alves  <palves@redhat.com>
11079
11080         * gdb.base/watchpoint-reuse-slot.c: New file.
11081         * gdb.base/watchpoint-reuse-slot.exp: New file.
11082
11083 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
11084
11085         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11086         progspace's filename in 'info', 'enable' and 'disable' command
11087         tests.
11088
11089 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
11090
11091         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11092         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11093         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11094
11095 2014-06-20  Gary Benson  <gbenson@redhat.com>
11096
11097         * gdb.arch/i386-avx.exp: Fix include file location.
11098         * gdb.arch/i386-sse.exp: Likewise.
11099
11100 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
11101
11102         * gdb.dlang/expression.exp: New file.
11103
11104 2014-06-19  Pedro Alves  <palves@redhat.com>
11105
11106         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11107         out from ...
11108         (top level): ... here.  Iterate running tests under different
11109         scheduler-locking settings.
11110
11111 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
11112
11113         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11114         to DW_FORM_addr and use non-zero addresses.
11115
11116 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
11117
11118         PR gdb/17017
11119         * gdb.python/py-xmethods.cc: Add global function call counters and
11120         increment them in their respective functions.  Remove "cout"
11121         statements.
11122         * gdb.python/py-xmethods.exp: Make tests check the global function
11123         call counters instead of depending on inferior IO.
11124
11125 2014-06-18  Don Breazeal  <donb@codesourcery.com>
11126
11127         * gdb.base/foll-fork.exp (default_fork_parent_follow):
11128         Deleted procedure.
11129         (explicit_fork_parent_follow): Deleted procedure.
11130         (explicit_fork_child_follow): Deleted procedure.
11131         (test_follow_fork): New procedure.
11132         (do_fork_tests): Replace calls to deleted procedures with
11133         calls to test_follow_fork and reset GDB for subsequent
11134         procedure calls.
11135
11136 2014-06-17  Yao Qi  <yao@codesourcery.com>
11137
11138         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11139         CP1252.
11140
11141 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
11142
11143         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11144         Initialize ptr and S explicitly.
11145         (skip_type_update_when_not_use_rtti_test): Likewise.
11146
11147 2014-06-16  Keith Seitz  <keiths@redhat.com>
11148
11149         PR mi/15863
11150         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11151         the inferior is started.
11152
11153 2014-06-16  Pedro Alves  <palves@redhat.com>
11154
11155         * gdb.base/break-main-file-remove-fail.c: New file.
11156         * gdb.base/break-main-file-remove-fail.exp: New file.
11157         * gdb.base/break-unload-file.exp: Use build_executable instead of
11158         prepare_for_testing.
11159         (test_break): New parameter "initial_load".  Handle it.
11160         (top level): Add initial_load cmdline/file axis.
11161
11162 2014-06-12  Tom Tromey  <tromey@redhat.com>
11163
11164         * gdb.base/completion.exp: Don't use directory name in test.
11165
11166 2014-06-09  Gary Benson  <gbenson@redhat.com>
11167
11168         * gdb.base/sigall.c [Functions to send signals]: Reorder to
11169         separate the always-available ANSI-standard signals from the
11170         signals that require checking.
11171         (main): Likewise.
11172         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11173         Likewise.
11174         (main): Likewise.
11175
11176 2014-06-07  Keith Seitz  <keiths@redhat.com>
11177
11178         Revert:
11179         PR c++/16253
11180         * gdb.cp/var-tag.cc: New file.
11181         * gdb.cp/var-tag.exp: New file.
11182         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11183         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11184         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11185         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11186
11187 2014-06-06  Doug Evans  <xdje42@gmail.com>
11188
11189         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11190
11191 2014-06-06  Pedro Alves  <palves@redhat.com>
11192
11193         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11194         in target debug output instead of looking at RSP packets,
11195         disabling the test on any target that uses hardware stepping.
11196         Update comments.
11197
11198 2014-06-06  Pedro Alves  <palves@redhat.com>
11199
11200         * gdb.base/break-unload-file.exp: Fix typo.
11201
11202 2014-06-06  Yao Qi  <yao@codesourcery.com>
11203
11204         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11205         from "jit_function" to "^jit_function".
11206
11207 2014-06-06  Yao Qi  <yao@codesourcery.com>
11208
11209         * gdb.base/async.c (foo): Add one statement.
11210         * gdb.base/async.exp: Get the next instruction address and
11211         match the output of "nexti" by instruction address.  Match
11212         the hex address in the output of "finish".
11213
11214 2014-06-06  Gary Benson  <gbenson@redhat.com>
11215
11216         * gdb.base/call-signals.c: Remove preprocessor conditionals
11217         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11218         SIGSEGV and SIGTERM.
11219         * gdb.base/sigall.c: Likewise.
11220         * gdb.base/unwindonsignal.c: Likewise.
11221         * gdb.reverse/sigall-reverse.c: Likewise.
11222
11223 2014-06-06  Yao Qi  <yao@codesourcery.com>
11224
11225         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
11226         readable, skip the test.
11227
11228 2014-06-06  Yao Qi  <yao@codesourcery.com>
11229
11230         * gdb.threads/staticthreads.c (thread_function): Move the line
11231         setting breakpoint on forward.
11232         * gdb.threads/staticthreads.exp: Update comments.
11233
11234 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
11235
11236         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11237         "history-append! type error".
11238
11239 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
11240
11241         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11242         erroneous dprintf expected input.
11243
11244 2014-06-04  Doug Evans  <xdje42@gmail.com>
11245
11246         * gdb.guile/scm-generics.exp: Delete.
11247
11248 2014-06-04  Doug Evans  <xdje42@gmail.com>
11249
11250         * gdb.guile/scm-breakpoint.exp: Update.
11251         Add tests for breakpoint registration.
11252
11253 2014-06-04  Tom Tromey  <tromey@redhat.com>
11254
11255         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11256         VLA-in-union.
11257         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11258         inner_vla_struct, vla_union types.  Initialize objects of those
11259         types and compute their sizes.
11260
11261 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
11262             Hui Zhu  <hui@codesourcery.com>
11263
11264         * gdb.base/fileio.exp: Add test for shell not available as well as
11265         available.
11266         * gdb.base/fileio.c (test_system): Check for shell twice.
11267
11268 2014-06-04  Yao Qi  <yao@codesourcery.com>
11269
11270         * gdb.base/auto-connect-native-target.exp: Remove redundant
11271         space from the regexp pattern.
11272
11273 2014-06-04  Yao Qi  <yao@codesourcery.com>
11274
11275         * gdb.base/default.exp: Replace "child" with "native" in
11276         regexp pattern.
11277
11278 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
11279
11280         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11281         * gdb.python/py-xmethods.exp: New tests to test xmethods.
11282         * gdb.python/py-xmethods.py: Python script supporting the
11283         new testcase and tests.
11284
11285 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
11286             Pedro Alves  <palves@redhat.com>
11287
11288         PR breakpoints/17000
11289         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11290         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11291
11292 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
11293
11294         * gdb.base/subst.exp: Add tests to verify partial path matching
11295         output.
11296
11297 2014-06-03  Pedro Alves  <palves@redhat.com>
11298
11299         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11300         target that doesn't use software single-stepping.
11301
11302 2014-06-03  Pedro Alves  <palves@redhat.com>
11303
11304         PR breakpoints/17000
11305         * gdb.base/sss-bp-on-user-bp-2.c: New file.
11306         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11307
11308 2014-06-02  Doug Evans  <xdje42@gmail.com>
11309
11310         * gdb.guile/scm-parameter.exp: New file.
11311
11312 2014-06-02  Doug Evans  <xdje42@gmail.com>
11313
11314         * gdb.guile/scm-cmd.c: New file.
11315         * gdb.guile/scm-cmd.exp: New file.
11316
11317 2014-06-02  Doug Evans  <xdje42@gmail.com>
11318
11319         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11320         pretty-printer lookup.
11321         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11322         (make-pp_s-printer): Call it.
11323         (make-pretty-printer-from-dict): New function.
11324         (lookup-pretty-printer-maker-from-dict): New function.
11325         (*pretty-printer*): Simplify.
11326         (make-objfile-pp_s-printer): New function.
11327         (install-objfile-pretty-printers!): New function.
11328         (make-progspace-pp_s-printer): New function.
11329         (install-progspace-pretty-printers!): New function.
11330         * gdb.guile/scm-progspace.c: New file.
11331         * gdb.guile/scm-progspace.exp: New file.
11332
11333 2014-06-02  Pedro Alves  <palves@redhat.com>
11334
11335         * gdb.base/dprintf-bp-same-addr.c: New file.
11336         * gdb.base/dprintf-bp-same-addr.exp: New file.
11337
11338 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11339
11340         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11341         * gdb.arch/powerpc-power.s: Likewise.
11342
11343 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
11344
11345         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11346
11347 2014-06-01  Yao Qi  <yao@codesourcery.com>
11348
11349         * gdb.base/watchpoint.exp (test_watch_location): Check null
11350         pointer can be dereferenced.  If not, do the test, otherwise
11351         skip it.
11352
11353 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
11354
11355         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11356         results.
11357         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11358
11359 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
11360
11361         * gdb.arch/amd64-invalid-stack-middle.S: New file.
11362         * gdb.arch/amd64-invalid-stack-middle.c: New file.
11363         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11364         * gdb.arch/amd64-invalid-stack-top.c: New file.
11365         * gdb.arch/amd64-invalid-stack-top.exp: New file.
11366
11367 2014-05-30  Pedro Alves  <palves@redhat.com>
11368
11369         PR breakpoints/17000
11370         * gdb.base/sss-bp-on-user-bp.c: New file.
11371         * gdb.base/sss-bp-on-user-bp.exp: New file.
11372
11373 2014-05-30  David Blaikie  <dblaikie@gmail.com>
11374
11375         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11376         gnu_inline semantics via attribute.
11377         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11378         source explicitly specifies the required semantics.
11379
11380 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
11381
11382         * gdb.reverse/sigall-reverse.exp: Fix a typo.
11383
11384 2014-05-29  Pedro Alves  <palves@redhat.com>
11385             Tom Tromey  <tromey@redhat.com>
11386
11387         * gdb.base/async-shell.exp: Don't enable target-async.
11388         * gdb.base/async.exp
11389         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11390         parameter.  Adjust.
11391         (top level): Don't test with "target-async".
11392         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11393         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11394         * gdb.base/inferior-died.exp: Don't enable target-async.
11395         * gdb.base/interrupt-noterm.exp: Likewise.
11396         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11397         * gdb.mi/mi-nonstop-exit.exp: Likewise.
11398         * gdb.mi/mi-nonstop.exp: Likewise.
11399         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11400         * gdb.mi/mi-nsintrall.exp: Likewise.
11401         * gdb.mi/mi-nsmoribund.exp: Likewise.
11402         * gdb.mi/mi-nsthrexec.exp: Likewise.
11403         * gdb.mi/mi-watch-nonstop.exp: Likewise.
11404         * gdb.multi/watchpoint-multi.exp: Adjust comment.
11405         * gdb.python/py-evsignal.exp: Don't enable target-async.
11406         * gdb.python/py-evthreads.exp: Likewise.
11407         * gdb.python/py-prompt.exp: Likewise.
11408         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11409         * gdb.server/solib-list.exp: Don't enable target-async.
11410         * gdb.threads/thread-specific-bp.exp: Likewise.
11411         * lib/mi-support.exp: Adjust to use mi-async.
11412
11413 2014-05-29  Pedro Alves  <palves@redhat.com>
11414
11415         PR gdb/13860
11416         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11417         reason, even in sync mode.
11418
11419 2014-05-29  Pedro Alves  <palves@redhat.com>
11420             Hui Zhu  <hui@codesourcery.com>
11421
11422         PR PR15693
11423         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11424         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11425         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11426         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11427
11428 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
11429
11430         * config/monitor.exp (gdb_target_monitor): Replace use of
11431         "set remotebaud" by "set serial baud".
11432
11433 2014-05-26  Andy Wingo  <wingo@igalia.com>
11434
11435         * gdb.guile/scm-breakpoint.exp:
11436         * gdb.guile/scm-gsmob.exp: Update to use plain old object
11437         properties instead of gdb-object-properties.
11438
11439 2014-05-26  Yao Qi  <yao@codesourcery.com>
11440
11441         * gdb.server/no-thread-db.exp: Specify source file name
11442         explicitly when setting a breakpoint.
11443
11444 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
11445
11446         * gdb.btrace/vdso.c: New.
11447         * gdb.btrace/vdso.exp: New.
11448
11449 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
11450
11451         * gdb.base/gcore.exp (capture_command_output): Move ...
11452         * lib/gdb.exp (capture_command_output): ... here.
11453
11454 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
11455
11456         * gdb.btrace/data.exp: Test memory access during btrace replay.
11457
11458 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
11459
11460         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11461
11462 2014-05-21  Pedro Alves  <palves@redhat.com>
11463
11464         PR gdb/13860
11465         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11466         (top level): Test that output related to execution commands is
11467         sent to the console with CLI commands, but not with MI commands.
11468         Test that breakpoint events are always mirrored to the console.
11469         Also expect the new source line to be output after a "next" in
11470         async mode too.  Make it a pass/fail test.
11471         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11472         output.
11473         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11474
11475 2014-05-21  Pedro Alves  <palves@redhat.com>
11476
11477         * gdb.base/list.exp (build_pattern, test_list): New procedures.
11478         Use them to test variations of "list" after reaching a breakpoint.
11479         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11480         Test "list" with listsize 10 after reaching a breakpoint.
11481         * gdb.python/python.exp (decode_line current location line
11482         number): Adjust expected line number.
11483
11484 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
11485
11486         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11487         behavior for $args, pass it directly to "run".
11488
11489 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
11490
11491         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11492         30000 to 65536.
11493
11494 2014-05-21  Pedro Alves  <palves@redhat.com>
11495
11496         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11497         auto-connect-native-target off".
11498         * gdb.base/auto-connect-native-target.c: New file.
11499         * gdb.base/auto-connect-native-target.exp: New file.
11500
11501 2014-05-21  Pedro Alves  <palves@redhat.com>
11502
11503         * gdb.base/default.exp: Test "target native" instead of "target
11504         child".
11505
11506 2014-05-21  Mark Wielaard  <mjw@redhat.com>
11507
11508         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11509
11510 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11511
11512         Fix TLS access for -static -pthread.
11513         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11514         <HAVE_TLS> (thread_function, main): Initialize it.
11515         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11516         Add clean_restart.
11517         <$have_tls != "">: Check TLSVAR.
11518
11519 2014-05-21  Pedro Alves  <palves@redhat.com>
11520
11521         * gdb.base/dcache-line-read-error.c: New.
11522         * gdb.base/dcache-line-read-error.exp: New.
11523
11524 2014-05-20  Pedro Alves  <palves@redhat.com>
11525
11526         * gdb.base/compare-sections.c: New file.
11527         * gdb.base/compare-sections.exp: New file.
11528
11529 2014-05-20  Pedro Alves  <palves@redhat.com>
11530
11531         * gdb.base/break-idempotent.c: New file.
11532         * gdb.base/break-idempotent.exp: New file.
11533
11534 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
11535
11536         * gdb.btrace/nohist.exp: New.
11537
11538 2014-05-20  Yao Qi  <yao@codesourcery.com>
11539
11540         * lib/gdb.exp (gdb_init): Set timeout if test file is under
11541         gdb.reverse directory and gdb_reverse_timeout exists in board
11542         setting.
11543         * README: Document gdb_reverse_timeout.
11544
11545 2014-05-20  Yao Qi  <yao@codesourcery.com>
11546
11547         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11548         'test_file_name'.  Treat args as a string instead of a list.
11549         (gdb_init): Rename argument 'args' by 'test_file_name'.
11550
11551 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11552
11553         * gdb.arch/powerpc-power.exp: New file.
11554         * gdb.arch/powerpc-power.s: New file.
11555
11556 2014-05-16  Doug Evans  <dje@google.com>
11557
11558         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
11559         * gdb.base/completion.exp: Check that all expected files exist
11560         before doing file completion.
11561
11562 2014-05-16  Doug Evans  <dje@google.com>
11563
11564         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11565         Update.
11566         (do_syscall_tests_without_xml): Update.
11567
11568 2014-05-16  Pedro Alves  <palves@redhat.com>
11569
11570         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11571         instead of "unknown output after running".
11572
11573 2014-05-16  Yao Qi  <yao@codesourcery.com>
11574
11575         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
11576         file1.txt from host at the end.
11577         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11578
11579 2014-05-15  Doug Evans  <dje@google.com>
11580
11581         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11582         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11583         loading file.  Add test for TU lookup.
11584
11585 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
11586
11587         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11588         calling "-exec-arguments" or "set args" before running the
11589         inferior.
11590
11591 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
11592
11593         * lib/mi-support.exp (mi_expect_stop): Expect message for
11594         inferiors that exit with non-zero exit code.
11595
11596 2014-05-14  Yao Qi  <yao@codesourcery.com>
11597
11598         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11599         match absolute path on remote host.
11600         (test_file_list_exec_source_files): Remove "/" from the
11601         pattern.
11602
11603 2014-05-14  Yao Qi  <yao@codesourcery.com>
11604
11605         * boards/local-remote-host-notty.exp (${board}_file): New
11606         proc.
11607
11608 2014-05-07  Kyle McMartin  <kyle@redhat.com>
11609
11610         Pushed by Joel Brobecker  <brobecker@adacore.com>.
11611         * gdb.arch/aarch64-atomic-inst.c: New file.
11612         * gdb.arch/aarch64-atomic-inst.exp: New file.
11613
11614 2014-05-07  Yao Qi  <yao@codesourcery.com>
11615
11616         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11617         in current context" too.
11618
11619 2014-05-05  Keith Seitz  <keiths@redhat.com>
11620
11621         * gdb.linespec/ls-dollar.exp: Add test for linespec
11622         file:convenience_variable.
11623
11624 2014-05-05  Yao Qi  <yao@codesourcery.com>
11625
11626         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11627         traceframes into tfile and ctf trace files.  Read data from
11628         trace file and test collected data.
11629         (gdb_collect_locals_test): Likewise.
11630         (gdb_unavailable_registers_test): Likewise.
11631         (gdb_unavailable_floats): Likewise.
11632         (gdb_collect_globals_test): Likewise.
11633         (top-level): Append "ctf" to trace_file_targets if GDB
11634         supports.
11635
11636 2014-05-05  Yao Qi  <yao@codesourcery.com>
11637
11638         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11639         code to ...
11640         (gdb_collect_args_test_1): ... it.  New proc.
11641         (gdb_collect_locals_test): Move some code to ...
11642         (gdb_collect_locals_test_1): ... it.  New proc.
11643         (gdb_unavailable_registers_test): Move some code to ...
11644         (gdb_unavailable_registers_test_1): ... it.  New proc.
11645         (gdb_unavailable_floats): Move some code to ...
11646         (gdb_unavailable_floats_1): ... it.  New proc.
11647
11648 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
11649
11650         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11651         probes to test for bitness recognition.
11652         * gdb.arch/amd64-stap-optional-prefix.exp
11653         (test_probe_value_without_reg): New procedure.
11654         Add code to test for different kinds of bitness.
11655
11656 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
11657
11658         PR breakpoints/16889
11659         * gdb.arch/amd64-stap-optional-prefix.S: New file.
11660         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11661
11662 2014-05-01  Pedro Alves  <palves@redhat.com>
11663
11664         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
11665         gdb_file_cmd if no file is specified.
11666         * boards/native-extended-gdbserver.exp (gdb_load): Use the
11667         last_loaded_file to set the remote exec-file.
11668
11669 2014-05-01  Pedro Alves  <palves@redhat.com>
11670
11671         * boards/local-remote-host.exp: New file.
11672
11673 2014-05-01  Pedro Alves  <palves@redhat.com>
11674
11675         * boards/local-remote-host.exp: Rename to ...
11676         * boards/local-remote-host-notty.exp: ... this.
11677
11678 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
11679
11680         * gdb.ada/dyn_arrayidx: New testcase.
11681
11682 2014-04-26  Yao Qi  <yao@codesourcery.com>
11683
11684         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
11685         and compute the length of function main.  Save it in
11686         $main_length.
11687         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
11688         (top-level): Use gdb_compile to compile objects into
11689         executable and restart GDB.  Remove invocation to
11690         prepare_for_testing.
11691
11692 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
11693             Pedro Alves  <palves@redhat.com>
11694
11695         PR server/16255
11696         * gdb.multi/multi-attach.c: New file.
11697         * gdb.multi/multi-attach.exp: New file.
11698
11699 2014-04-25  Pedro Alves  <palves@redhat.com>
11700
11701         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11702         user.
11703         (top level): Test that "set remote conditional-breakpoints-packet
11704         off" works as intended.
11705         * gdb.base/dprintf.exp: Test that "set remote
11706         breakpoint-commands-packet off" works as intended.
11707         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
11708         New function.
11709         (top level): Call it.
11710         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
11711         remote fast-tracepoints-packet off" works as intended.
11712         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
11713         * lib/gdb.exp (gdb_is_target_remote): ... here.
11714
11715 2014-04-24  David Blaikie  <dblaikie@gmail.com>
11716
11717         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
11718         ensure clang would not discard them.
11719         * gdb.base/gdbvars.c: Ditto.
11720         * gdb.base/memattr.c: Ditto.
11721         * gdb.base/whatis.c: Ditto.
11722         * gdb.python/py-prettyprint.c: Ditto.
11723         * gdb.trace/actions.c: Ditto.
11724         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
11725         ensure clang would not discard it.
11726
11727 2014-04-24  David Blaikie  <dblaikie@gmail.com>
11728
11729         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
11730         clang to emit the full definition of type required by the test
11731         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
11732
11733 2014-04-24  David Blaikie  <dblaikie@gmail.com>
11734
11735         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
11736         coax Clang into emitting the definition of the type.
11737         * gdb.cp/pr10728-x.h (y): Ditto.
11738         * gdb.cp/pr10728-y.cc (y): Ditto.
11739
11740 2014-04-24  David Blaikie  <dblaikie@gmail.com>
11741
11742         * gdb.base/label.exp: XFAIL label related tests under Clang.
11743         * gdb.cp/cplabel.exp: Ditto.
11744         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
11745         under Clang those using labels.
11746
11747 2014-04-25  Yao Qi  <yao@codesourcery.com>
11748
11749         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
11750         double_label.
11751         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
11752         partial_label and double_label.
11753
11754 2014-04-24  David Blaikie  <dblaikie@gmail.com>
11755
11756         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
11757
11758 2014-04-24  David Blaikie  <dblaikie@gmail.com>
11759
11760         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11761         of the function to work across GCC and Clang.
11762         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11763         pointer types (const void ** const V void **).
11764
11765 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
11766             Walfred Tedeschi  <walfred.tedeschi@intel.com>
11767
11768         * Makefile.in (EXECUTABLES): Added i386-avx512.
11769         * gdb.arch/i386-avx512.c: New file.
11770         * gdb.arch/i386-avx512.exp: Likewise.
11771
11772 2014-04-23  Keith Seitz  <keiths@redhat.com>
11773
11774         * lib/mi-support.exp (mi_list_breakpoints): Delete.
11775         (mi_make_breakpoint_table): New procedure.
11776         (mi_create_breakpoint): Use mi_make_breakpoint
11777         and return the result.
11778         (mi_make_breakpoint): New procedure.
11779         (mi_build_kv_pairs): New procedure.
11780
11781         * gdb.mi/mi-break.exp: Remove unused globals,
11782         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11783         All callers updated.
11784         * gdb.mi/mi-dprintf.exp: Use variable to track command
11785         number.
11786         Update all callers of mi_create_breakpoint and use
11787         mi_make_breakpoint_table.
11788         Remove any unused global variables.
11789         * gdb.mi/mi-nonstop.exp: Likewise.
11790         * gdb.mi/mi-nsintrall.exp: Likewise.
11791         * gdb.mi/mi-nsmoribund.exp: Likewise.
11792         * gdb.mi/mi-nsthrexec.exp: Likewise.
11793         * gdb.mi/mi-reverse.exp: Likewise.
11794         * gdb.mi/mi-simplerun.exp: Likewise.
11795         * gdb.mi/mi-stepn.exp: Likewise.
11796         * gdb.mi/mi-syn-frame.exp: Likewise.
11797         * gdb.mi/mi-until.exp: Likewise.
11798         * gdb.mi/mi-var-cp.exp: Likewise.
11799         * gdb.mi/mi-var-display.exp: Likewise.
11800         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11801         * gdb.mi/mi2-var-child.exp: Likewise.
11802         * gdb.mi/mi-vla-c99.exp: Likewise.
11803         * lib/mi-support.exp: Likewise.
11804
11805         From Ian Lance Taylor  <iant@cygnus.com>:
11806         * lib/gdb.exp (parse_args): New procedure.
11807
11808 2014-04-23  Pedro Alves  <palves@redhat.com>
11809
11810         * gdb.base/break-unload-file.c: New file.
11811         * gdb.base/break-unload-file.exp: New file.
11812         * gdb.base/sym-file-lib.c (baz): New function.
11813         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11814         field.
11815         (load): Store the segment's mapped size.
11816         (unload): New function.
11817         (unload_shlib): New function.
11818         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11819         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11820         set a breakpoint at baz, and call it.
11821         * gdb.base/sym-file.exp: New tests for stale breakpoint
11822         instructions.
11823
11824 2014-04-23  Pedro Alves  <palves@redhat.com>
11825
11826         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11827         * gdb.base/hbreak-in-shr-unsupported.c: New file.
11828         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11829         * gdb.base/hbreak-unmapped.c: New file.
11830         * gdb.base/hbreak-unmapped.exp: New file.
11831         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11832         * lib/gdb.exp (gdb_is_target_remote): ... here.
11833
11834 2014-04-22  Pedro Alves  <palves@redhat.com>
11835
11836         * gdb.base/consecutive-step-over.c: New file.
11837         * gdb.base/consecutive-step-over.exp: New file.
11838
11839 2014-04-22  Pedro Alves  <palves@redhat.com>
11840
11841         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
11842         instead of send_gdb/gdb_expect.
11843
11844 2014-04-22  Yao Qi  <yao@codesourcery.com>
11845
11846         * lib/trace-support.exp (generate_tracefile): New procedure.
11847         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
11848         return 0.
11849         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
11850         if generate_tracefile returns 1.
11851
11852 2014-04-18  Tom Tromey  <palves@redhat.com>
11853             Pedro alves  <tromey@redhat.com>
11854
11855         PR backtrace/15558
11856         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
11857         with a backtrace limit.
11858         * gdb.python/py-frame-inline.exp: Test running to an inline
11859         function with a backtrace limit, and printing the newest frame.
11860         * gdb.python/py-frame-inline.c (main): Call f.
11861
11862 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11863
11864         * gdb.java/jnpe.exp: Drop srcdir from untested path.
11865
11866 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11867
11868         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
11869         Drop prefix from unsupported source file path.
11870
11871 2014-04-17  Yao Qi  <yao@codesourcery.com>
11872
11873         * lib/gdb.exp (with_target_charset): New proc.
11874         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
11875         with_target_charset.
11876         (test_print_strings): Likewise.
11877         (test_repeat_bytes): Likewise.
11878         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
11879         for some tests.
11880
11881 2014-04-16  Keith Seitz  <keiths@redhat.com>
11882
11883         PR gdb/15827
11884         * gdb.dwarf2/corrupt.c: New file.
11885         * gdb.dwarf2/corrupt.exp: New file.
11886
11887 2014-04-16  Keith Seitz  <keiths@redhat.com>
11888
11889         PR c++/16597
11890         * gdb.cp/namelessclass.cc: New file.
11891         * gdb.cp/namelessclass.exp: New file.
11892         * gdb.cp/namelessclass.S: New file.
11893
11894 2014-04-16  Doug Evans  <dje@google.com>
11895
11896         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
11897         Add comment.
11898         (gdbserver_default_get_comm_port): New function.
11899         (gdbserver_start): Check if board file provided
11900         "gdbserver,get_comm_port" and use it if so.
11901         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
11902         (gdb,socketport): Set to "stdio".
11903         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11904         (stdio_gdbserver_template): Delete.
11905         (${board}_get_remote_address): Update.
11906         (${board}_build_remote_cmd): Delete.
11907         (${board}_get_comm_port): New function.
11908         (${board}_spawn): Update.
11909         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
11910         Delete.
11911         (${board}_get_remote_address): Update.
11912         (${board}_get_comm_port): New function.
11913
11914 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
11915
11916         * gdb.base/memattr.exp: Improve regexps to handle memory regions
11917         appearing in any order.
11918
11919 2014-04-15  Doug Evans  <dje@google.com>
11920
11921         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
11922         uninitialized value of "description".
11923
11924 2014-04-15  Keith Seitz  <keiths@redhat.com>
11925
11926         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
11927         Remove unused globals.
11928         (test_running_the_program): Likewise.
11929         (test_controlled_execution): Likewise.
11930         (test_controlling_breakpoints): Likewise.
11931         (test_program_termination): Likewise.
11932
11933 2014-04-15  Keith Seitz  <keiths@redhat.com>
11934
11935         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
11936         unused globals.
11937         (test_rbreak_creation_and_listing): Likewise.
11938         (test_ignore_count): Likewise.
11939         (test_error): Likewise.
11940
11941 2014-04-15  Pedro Alves  <palves@redhat.com>
11942
11943         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
11944         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
11945         sym-file-loader.c.
11946         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11947         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11948         to sym-file-loader.c.
11949         (struct library): Forward declare.
11950         (load_shlib, lookup_function): Change prototypes.
11951         (find_shstrtab, find_strtab, find_shdr, find_symtab)
11952         (translate_offset): Remove declarations.
11953         (get_text_addr): New declaration.
11954         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
11955         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
11956         sym-file-loader.h.
11957         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11958         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11959         here from sym-file-loader.h.
11960         (struct library): New structure.
11961         (load_shlib, lookup_function): Change prototypes and adjust to
11962         work with a struct library.
11963         (find_shstrtab, find_strtab, find_shdr, find_symtab)
11964         (translate_offset): Make static.
11965         (get_text_addr): New function.
11966         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11967
11968 2014-04-15  Pedro Alves  <palves@redhat.com>
11969
11970         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
11971
11972 2014-04-15  Pedro Alves  <palves@redhat.com>
11973
11974         * gdb.base/sym-file-loader.c: Include <limits.h>.
11975         (SELF_LINK): New define.
11976         (get_origin): New function.
11977         (load_shlib): Use it.
11978         * gdb.base/sym-file.exp: Don't early return if the target is
11979         remote.  Use runto_main, and issue fail is that fails.  Use
11980         gdb_load_shlibs.
11981         (shlib_name): Delete.
11982         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
11983
11984 2014-04-15  Pedro Alves <palves@redhat.com>
11985
11986         * gdb.base/sym-file.exp: Remove regex characters from test
11987         message.  Don't refer to breakpoint numbers in test messages.
11988
11989 2014-04-14  Keith Seitz  <keiths@redhat.com>
11990
11991         PR c++/16253
11992         * gdb.cp/var-tag.cc: New file.
11993         * gdb.cp/var-tag.exp: New file.
11994         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11995         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11996         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11997         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11998
11999 2014-04-14  Tom Tromey  <tromey@redhat.com>
12000
12001         * gdb.cp/classes.exp (test_enums): Handle underlying type.
12002         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12003         type.
12004         * gdb.cp/enum-class.exp: New file.
12005         * gdb.cp/enum-class.cc: New file.
12006
12007 2014-04-14  Tom Tromey  <tromey@redhat.com>
12008
12009         * gdb.dwarf2/enum-type.exp: New file.
12010
12011 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12012
12013         * gdb.mi/mi-vla-c99.exp: New file.
12014         * gdb.mi/vla.c: New file.
12015
12016 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12017
12018         * gdb.base/vla-datatypes.c: New file.
12019         * gdb.base/vla-datatypes.exp: New file.
12020
12021 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12022
12023         * gdb.base/vla-ptr.c: New file.
12024         * gdb.base/vla-ptr.exp: New file.
12025
12026 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12027
12028         * gdb.dwarf2/count.exp: New file.
12029
12030 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
12031
12032         * gdb.base/vla-sideeffect.c: New file.
12033         * gdb.base/vla-sideeffect.exp: New file.
12034
12035 2014-04-14  David Blaikie <dblaikie@gmail.com>
12036
12037         * gdb.mi/non-stop.c: Add return value for non-void function return
12038         statement.
12039         * gdb.threads/staticthreads.c: Ditto.
12040
12041 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
12042             Doug Evans  <xdje42@gmail.com>
12043
12044         * gdb.guile/scm-value.c: Improve test case.
12045         * gdb.guile/scm-value.exp: Add new test.
12046
12047 2014-04-11  David Blaikie  <dblaikie@gmail.com>
12048
12049         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12050         override Clang's default.
12051
12052 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
12053
12054         Revert the following changes (regressions):
12055
12056         * gdb.base/vla-sideeffect.c: New file.
12057         * gdb.base/vla-sideeffect.exp: New file.
12058
12059         * gdb.dwarf2/count.exp: New file.
12060
12061         * gdb.base/vla-multi.c: New file.
12062         * gdb.base/vla-multi.exp: New file.
12063
12064         * gdb.base/vla-ptr.c: New file.
12065         * gdb.base/vla-ptr.exp: New file.
12066
12067         * gdb.base/vla-datatypes.c: New file.
12068         * gdb.base/vla-datatypes.exp: New file.
12069
12070         * gdb.mi/mi-vla-c99.exp: New file.
12071         * gdb.mi/vla.c: New file.
12072
12073 2014-04-11  Keith Seitz  <keiths@redhat.com>
12074
12075         PR c++/16675
12076         * gdb.cp/cpsizeof.exp: New file.
12077         * gdb.cp/cpsizeof.cc: New file.
12078
12079 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12080
12081         * gdb.mi/mi-vla-c99.exp: New file.
12082         * gdb.mi/vla.c: New file.
12083
12084 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12085
12086         * gdb.base/vla-datatypes.c: New file.
12087         * gdb.base/vla-datatypes.exp: New file.
12088
12089 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12090
12091         * gdb.base/vla-ptr.c: New file.
12092         * gdb.base/vla-ptr.exp: New file.
12093
12094 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12095
12096         * gdb.base/vla-multi.c: New file.
12097         * gdb.base/vla-multi.exp: New file.
12098
12099 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12100
12101         * gdb.dwarf2/count.exp: New file.
12102
12103 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
12104
12105         * gdb.base/vla-sideeffect.c: New file.
12106         * gdb.base/vla-sideeffect.exp: New file.
12107
12108 2014-04-11  Yao Qi  <yao@codesourcery.com>
12109
12110         * gdb.base/completion.exp: Check file exists before running tests
12111         on file completion.
12112
12113 2014-04-10  Pedro Alves  <palves@redhat.com>
12114
12115         * gdb.base/cond-eval-mode.c: New file.
12116         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
12117         prepare_for_testing to build the new file.  Check result of
12118         runto_main.
12119         (test_break, test_watch): New procedures.
12120         (top level): Use them.
12121
12122 2014-04-08  Pierre Muller  <muller@sourceware.org>
12123
12124         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12125         Ctrl-V use for mingw hosts.
12126
12127 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
12128
12129         * gdb.python/py-value.c: Improve test case.
12130         * gdb.python/py-value.exp: Add new test.
12131
12132 2014-04-07  David Blaikie  <dblaikie@gmail.com>
12133
12134         * lib/compiler.c: Identify the clang compiler.
12135         * lib/compiler.cc: Ditto.
12136
12137 2014-04-03  Yao Qi  <yao@codesourcery.com>
12138
12139         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12140
12141 2014-04-01  Anton Blanchard  <anton@samba.org>
12142
12143         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
12144         messages unique.
12145
12146 2014-04-01  Anton Blanchard  <anton@samba.org>
12147
12148         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12149         prepare_for_testing.
12150
12151 2014-04-01  Anton Blanchard  <anton@samba.org>
12152
12153         * gdb.arch/ppc64-atomic-inst.c: Remove.
12154         * gdb.arch/ppc64-atomic-inst.S: New file.
12155         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12156
12157 2014-03-31  Doug Evans  <dje@google.com>
12158
12159         * gdb.base/print-symbol-loading-lib.c: New file.
12160         * gdb.base/print-symbol-loading-main.c: New file.
12161         * gdb.base/print-symbol-loading.exp: New file.
12162
12163 2014-03-31  Yao Qi  <yao@codesourcery.com>
12164
12165         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12166
12167 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
12168
12169         * gdb.ada/mi_dyn_arr: New testcase.
12170
12171 2014-03-27  Doug Evans  <dje@google.com>
12172
12173         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12174
12175 2014-03-27  Yao Qi  <yao@codesourcery.com>
12176
12177         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12178         if target is nios2-*-*.
12179
12180 2014-03-26  Yao Qi  <yao@codesourcery.com>
12181
12182         * lib/gdb.exp (readline_is_used): New proc.
12183         * gdb.base/completion.exp: Move tests on command complete up.
12184         Skip the rest of tests if readline is not used.
12185         * gdb.ada/complete.exp: Skp the test if readline is not
12186         used.
12187         * gdb.base/filesym.exp: Likewise.
12188         * gdb.base/macscp.exp: Likewise.
12189         * gdb.base/readline-ask.exp: Likewise.
12190         * gdb.base/readline.exp: Likewise.
12191         * gdb.python/py-cmd.exp: Likewise.
12192         * gdb.trace/tfile.exp: Likewise.
12193
12194 2014-03-26  Yao Qi  <yao@codesourcery.com>
12195
12196         * gdb.base/macscp.exp: Fix code format issues.
12197
12198 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
12199
12200         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12201         * gdb.asm/powerpc64le.inc: New file.
12202
12203 2014-03-25  Pedro Alves  <palves@redhat.com>
12204             Doug Evans  <dje@google.com>
12205
12206         * gdb.base/source-execution.c: New file.
12207         * gdb.base/source-execution.exp: New file.
12208         * gdb.base/source-execution.gdb: New file.
12209
12210 2014-03-24  Doug Evans  <dje@google.com>
12211
12212         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12213         using fission.
12214
12215 2014-03-24  Hui Zhu  <hui@codesourcery.com>
12216             Pedro Alves  <palves@redhat.com>
12217
12218         PR breakpoints/16101
12219         * gdb.base/dprintf.exp: Use unsupported rather than changing the
12220         test pass/fail messages.  Detect missing support for dprintf when
12221         breakpoints are actually inserted.
12222         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12223         breakpoints are actually inserted.
12224         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12225         fails.
12226
12227 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12228
12229         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12230
12231 2014-03-22  Doug Evans  <xdje42@gmail.com>
12232
12233         * gdb.python/python.exp (python not supported): Verify multi-line
12234         python command issues an error.
12235         * gdb.guile/guile.exp (guile not supported): Verify multi-line
12236         guile command issues an error.
12237
12238 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
12239
12240         * gdb.threads/thread-specific.exp: Handle the lack of usable
12241         $this_breakpoint and $this_thread.
12242
12243 2014-03-21  Hui Zhu  <hui@codesourcery.com>
12244
12245         * gdb.base/attach.exp (do_command_attach_tests): New.
12246
12247 2014-03-20  Tom Tromey  <tromey@redhat.com>
12248             Pedro Alves  <palves@redhat.com>
12249
12250         PR cli/15718
12251         * gdb.base/condbreak-call-false.c: New file.
12252         * gdb.base/condbreak-call-false.exp: New file.
12253
12254 2014-03-20  Pedro Alves  <palves@redhat.com>
12255
12256         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12257         Delete.
12258         (block_signals, unblock_signals): Delete.
12259         (child_function_2, main): Remove references to deleted variable
12260         and functions.
12261
12262 2014-03-20  Pedro Alves  <palves@redhat.com>
12263
12264         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12265         Use pthread_kill to signal thread 2.
12266         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12267         Adjust to make the test send itself a signal rather than using the
12268         host's "kill" command.
12269
12270 2014-03-20  Pedro Alves  <palves@redhat.com>
12271
12272         * gdb.threads/multiple-step-overs.c: New file.
12273         * gdb.threads/multiple-step-overs.exp: New file.
12274         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12275         Adjust expected infrun debug output.
12276
12277 2014-03-20  Pedro Alves  <palves@redhat.com>
12278
12279         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12280         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12281
12282 2014-03-20  Pedro Alves  <palves@redhat.com>
12283
12284         PR breakpoints/7143
12285         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12286         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
12287         of gdb_test_multiple.
12288         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12289         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12290
12291 2014-03-20  Pedro Alves  <palves@redhat.com>
12292
12293         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12294         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12295
12296 2014-03-19  Pedro Alves  <palves@redhat.com>
12297
12298         * gdb.base/async.exp: Remove early return.
12299
12300 2014-03-19  Pedro Alves  <palves@redhat.com>
12301
12302         * gdb.base/async.exp (step& tests): Pass explicit test messages.
12303
12304 2014-03-19  Pedro Alves  <palves@redhat.com>
12305
12306         * gdb.base/async.exp (test_background): Expect \r\n after
12307         "completed." in the fail pattern.
12308
12309 2014-03-19  Pedro Alves  <palves@redhat.com>
12310
12311         * gdb.base/async.exp (test_background): New procedure.
12312         Use it for all background execution command tests.
12313
12314 2014-03-19  Pedro Alves  <palves@redhat.com>
12315
12316         * gdb.base/async.exp: Use prepare_for_testing.
12317
12318 2014-03-19  Pedro Alves  <palves@redhat.com>
12319
12320         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
12321         the same line.
12322
12323 2014-03-19  Pedro Alves  <palves@redhat.com>
12324
12325         * gdb.base/async.c (main): Add "jump here" and "until here" line
12326         marker comments.
12327         * gdb.base/async.exp (jump_here): New global.
12328         (jump& test): Use it.
12329         (until_here): New global.
12330         (until& test): Use it.
12331
12332 2014-03-19  Pedro Alves  <palves@redhat.com>
12333
12334         * gdb.base/async.exp: Don't frob gdb_protocol.
12335
12336 2014-03-18  Doug Evans  <xdje42@gmail.com>
12337
12338         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
12339         Fix spelling of exec-done-display.
12340
12341 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
12342
12343         PR gdb/15358
12344         * gdb.base/gdb-sigterm.c: New file.
12345         * gdb.base/gdb-sigterm.exp: New file.
12346
12347 2014-03-18  Pedro Alves  <palves@redhat.com>
12348
12349         PR gdb/13860
12350         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12351         * lib/mi-support.exp (mi_expect_stop): Add special handling for
12352         solib-event.
12353
12354 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
12355
12356         * gdb.ada/pckd_arr_ren: New testcase.
12357
12358 2014-03-13  Doug Evans  <xdje42@gmail.com>
12359
12360         PR guile/16612
12361         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12362         collect after discarding symbols.
12363
12364 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
12365             Doug Evans  <xdje42@gmail.com>
12366
12367         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12368         to history survives a gc.
12369
12370 2014-03-13  Pedro Alves  <palves@redhat.com>
12371
12372         * gdb.base/default.exp: Don't test "target procfs".
12373
12374 2014-03-13  Pedro Alves  <palves@redhat.com>
12375
12376         * gdb.base/default.exp: Update "target child" and "target procfs"
12377         tests to not expect "Unix".
12378
12379 2014-03-12  Tom Tromey  <tromey@redhat.com>
12380
12381         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12382         New procs.  Add target-async tests.
12383         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12384         Add target-async tests.
12385
12386 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12387
12388         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12389         'func_start' and 'func_end' for the beginning and end of the
12390         function code, respectively.
12391         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12392         'func_end' instead of 'func' and 'main'.
12393
12394 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12395
12396         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12397         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12398         generate the debug info assembler source.
12399
12400 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12401
12402         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12403         * gdb.dwarf2/arr-subrange.exp: Likewise.
12404         * gdb.dwarf2/dwz.exp: Likewise.
12405         * gdb.dwarf2/method-ptr.exp: Likewise.
12406         * gdb.dwarf2/missing-sig-type.exp: Likewise.
12407         * gdb.dwarf2/subrange.exp: Likewise.
12408         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12409         * gdb.dwarf2/implptrpiece.exp: Likewise.
12410         * gdb.dwarf2/nostaticblock.exp: Likewise.
12411
12412 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12413
12414         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12415         directory to absolute path name arguments.
12416
12417 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
12418
12419         * gdb.ada/tagged_access: New testcase.
12420
12421 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
12422
12423         * gdb.btrace/data.exp: Update expected output.
12424
12425 2014-03-06  Yao Qi  <yao@codesourcery.com>
12426
12427         * gdb.trace/pr16508.exp: New file.
12428
12429 2014-03-05  Pedro Alves  <palves@redhat.com>
12430
12431         PR gdb/16575
12432         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12433         procedure.
12434         (top level): Adjust to use it.  Add tests that exercise breakpoint
12435         interaction with the code-cache.
12436
12437 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
12438
12439         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12440         test for 'history-append!'.
12441
12442 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12443
12444         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12445         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12446         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12447         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12448         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12449         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12450
12451 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12452
12453         * testsuite/gdb.python/py-pp-re-notag.c: New file.
12454         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12455         * testsuite/gdb.python/py-pp-re-notag.p: New file.
12456
12457 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12458
12459         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12460
12461 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
12462
12463         * gdb.dwarf2/arr-stride.c: New file.
12464         * gdb.dwarf2/arr-stride.exp: New file.
12465
12466 2014-02-26  Pedro Alves  <palves@redhat.com>
12467
12468         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12469         that won't ever trigger.  Make sure that GDB reports the correct
12470         breakpoint that caused the stop.
12471
12472 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
12473
12474         PR gdb/16626
12475         * gdb.base/auto-load-script: New file.
12476         * gdb.base/auto-load.c: New file.
12477         * gdb.base/auto-load.exp: New file.
12478
12479         PR gdb/16626
12480         * gdb.base/auto-load.exp: Fix out-of-srctree run.
12481
12482 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
12483
12484         Fix dw2-icycle.exp -fsanitize=address GDB crash.
12485         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12486
12487 2014-02-24  Doug Evans  <dje@google.com>
12488
12489         * lib/gdb.exp (run_on_host): Log error output if program fails.
12490
12491 2014-02-21  Pedro Alves  <palves@redhat.com>
12492
12493         * gdb.threads/step-after-sr-lock.c: Rename to ...
12494         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12495         * gdb.threads/step-after-sr-lock.exp: Rename to ...
12496         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12497         ... this.
12498
12499 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12500
12501         PR tdep/16397
12502         * gdb.arch/amd64-stap-special-operands.exp: New file.
12503         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12504         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12505         * gdb.arch/amd64-stap-triplet.S: Likewise.
12506         * gdb.arch/amd64-stap-triplet.c: Likewise.
12507
12508 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
12509
12510         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12511         in .section pseudo-op.
12512
12513 2014-02-20  lin zuojian  <manjian2006@gmail.com>
12514             Joel Brobecker  <brobecker@adacore.com>
12515             Doug Evans  <xdje42@gmail.com>
12516
12517         PR symtab/16581
12518         * gdb.dwarf2/dw2-icycle.S: New file.
12519         * gdb.dwarf2/dw2-icycle.c: New file.
12520         * gdb.dwarf2/dw2-icycle.exp: New file.
12521
12522 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
12523
12524         * gdb.python/py-value-cc.cc: Improve test case to enable testing
12525         operations on gdb.Value objects.
12526         * gdb.python/py-value-cc.exp: Add new test to test operations on
12527         gdb.Value objects.
12528
12529 2014-02-18  Doug Evans  <dje@google.com>
12530
12531         * Makefile.in (TESTS): New variable.
12532         (expanded_tests, expanded_tests_or_none): New variables
12533         (check-single): Pass $(expanded_tests_or_none) to runtest.
12534         (check-parallel): Only run tests in $(TESTS) if non-empty.
12535         (check/no-matching-tests-found): New rule.
12536         * README: Document TESTS makefile variable.
12537
12538 2014-02-18  Doug Evans  <dje@google.com>
12539
12540         * Makefile.in (check-parallel): rm -rf outputs temp.
12541
12542 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
12543
12544         Fix "ERROR: no fileid for" in the testsuite.
12545         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12546
12547 2014-02-12  Doug Evans  <dje@google.com>
12548
12549         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12550         (MISCELLANEOUS): New variable.
12551         (clean): rm -rf $(MISCELLANEOUS).
12552         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12553         dwp live in the same directory as symlinks, with each symlink pointed
12554         to a differently named file in a different directory.
12555
12556 2014-02-11  Doug Evans  <dje@google.com>
12557
12558         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12559         of Tcl file commands.
12560
12561 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
12562
12563         * gdb.threads/step-after-sr-lock.exp: Avoid executing
12564         "kill -SIGUSR1 -1".
12565
12566 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
12567
12568         * gdb.ada/tick_length_array_enum_idx: New testcase.
12569
12570 2014-02-10  Doug Evans  <xdje42@gmail.com>
12571
12572         * configure.ac (AC_OUTPUT): Add gdb.guile.
12573         * configure: Regenerate.
12574         * lib/gdb-guile.exp: New file.
12575         * lib/gdb.exp (get_target_charset): New function.
12576         * gdb.base/help.exp: Update expected output from "apropos apropos".
12577         * gdb.guile/Makefile.in: New file.
12578         * gdb.guile/guile.exp: New file.
12579         * gdb.guile/scm-arch.c: New file.
12580         * gdb.guile/scm-arch.exp: New file.
12581         * gdb.guile/scm-block.c: New file.
12582         * gdb.guile/scm-block.exp: New file.
12583         * gdb.guile/scm-breakpoint.c: New file.
12584         * gdb.guile/scm-breakpoint.exp: New file.
12585         * gdb.guile/scm-disasm.c: New file.
12586         * gdb.guile/scm-disasm.exp: New file.
12587         * gdb.guile/scm-equal.c: New file.
12588         * gdb.guile/scm-equal.exp: New file.
12589         * gdb.guile/scm-error.exp: New file.
12590         * gdb.guile/scm-error.scm: New file.
12591         * gdb.guile/scm-frame-args.c: New file.
12592         * gdb.guile/scm-frame-args.exp: New file.
12593         * gdb.guile/scm-frame-args.scm: New file.
12594         * gdb.guile/scm-frame-inline.c: New file.
12595         * gdb.guile/scm-frame-inline.exp: New file.
12596         * gdb.guile/scm-frame.c: New file.
12597         * gdb.guile/scm-frame.exp: New file.
12598         * gdb.guile/scm-generics.exp: New file.
12599         * gdb.guile/scm-gsmob.exp: New file.
12600         * gdb.guile/scm-iterator.c: New file.
12601         * gdb.guile/scm-iterator.exp: New file.
12602         * gdb.guile/scm-math.c: New file.
12603         * gdb.guile/scm-math.exp: New file.
12604         * gdb.guile/scm-objfile-script-gdb.in: New file.
12605         * gdb.guile/scm-objfile-script.c: New file.
12606         * gdb.guile/scm-objfile-script.exp: New file.
12607         * gdb.guile/scm-objfile.c: New file.
12608         * gdb.guile/scm-objfile.exp: New file.
12609         * gdb.guile/scm-ports.exp: New file.
12610         * gdb.guile/scm-pretty-print.c: New file.
12611         * gdb.guile/scm-pretty-print.exp: New file.
12612         * gdb.guile/scm-pretty-print.scm: New file.
12613         * gdb.guile/scm-section-script.c: New file.
12614         * gdb.guile/scm-section-script.exp: New file.
12615         * gdb.guile/scm-section-script.scm: New file.
12616         * gdb.guile/scm-symbol.c: New file.
12617         * gdb.guile/scm-symbol.exp: New file.
12618         * gdb.guile/scm-symtab-2.c: New file.
12619         * gdb.guile/scm-symtab.c: New file.
12620         * gdb.guile/scm-symtab.exp: New file.
12621         * gdb.guile/scm-type.c: New file.
12622         * gdb.guile/scm-type.exp: New file.
12623         * gdb.guile/scm-value-cc.cc: New file.
12624         * gdb.guile/scm-value-cc.exp: New file.
12625         * gdb.guile/scm-value.c: New file.
12626         * gdb.guile/scm-value.exp: New file.
12627         * gdb.guile/source2.scm: New file.
12628         * gdb.guile/types-module.cc: New file.
12629         * gdb.guile/types-module.exp: New file.
12630
12631 2014-02-10  Yao Qi  <yao@codesourcery.com>
12632
12633         PR testsuite/16543
12634         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12635         * configure: Regenerated.
12636         * Makefile.in: New file.
12637
12638 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
12639
12640         * gdb.python/py-framefilter.exp: Fix typo.
12641
12642 2014-02-08  Yao Qi  <yao@codesourcery.com>
12643
12644         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12645         that no =breakpoint-modified is emitted when breakpoints are
12646         modified through MI commands.
12647
12648 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
12649             Pedro Alves  <palves@redhat.com>
12650
12651         * gdb.threads/step-after-sr-lock.c: New file.
12652         * gdb.threads/step-after-sr-lock.exp: New file.
12653
12654 2014-02-07  Pedro Alves  <palves@redhat.com>
12655
12656         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
12657
12658 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
12659
12660         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
12661         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
12662
12663 2014-02-06  Doug Evans  <xdje42@gmail.com>
12664
12665         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
12666         output.
12667
12668         * gdb.gdb/python-interrupts.exp: New file.
12669
12670 2014-02-05  Yao Qi  <yao@codesourcery.com>
12671
12672         * gdb.trace/report.exp (use_collected_data): Test the output
12673         of "info threads" and "info inferiors".
12674
12675 2014-02-05  Yao Qi  <yao@codesourcery.com>
12676
12677         Revert this patch:
12678
12679         2013-05-24  Yao Qi  <yao@codesourcery.com>
12680
12681         * gdb.trace/tfile.exp: Test inferior and thread.
12682
12683 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
12684
12685         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
12686         on a function.
12687         * gdb.base/step-bt.c: Call hello via function pointer to make
12688         sure its first instruction is executed on powerpc64le-linux.
12689
12690 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
12691
12692         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
12693
12694 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
12695
12696         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
12697         of the test patterns for use on little-endian systems.
12698
12699 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
12700
12701         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12702         (decimal_vector): Fix for little-endian.
12703
12704 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
12705
12706         * gdb.arch/sparc-sysstep.exp: New file.
12707         * gdb.arch/sparc-sysstep.c: Likewise.
12708
12709         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
12710
12711 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12712
12713         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
12714
12715 2014-01-23  Tom Tromey  <tromey@redhat.com>
12716
12717         * gdb.ada/array_char_idx: New testcase.
12718
12719 2014-01-23  Tom Tromey  <tromey@redhat.com>
12720
12721         PR python/16487:
12722         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
12723         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
12724         classes.
12725
12726 2014-01-23  Tom Tromey  <tromey@redhat.com>
12727
12728         PR python/16491:
12729         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
12730         string from an inferior frame.
12731         * gdb.python/py-framefilter-mi.exp: Update.
12732
12733 2014-01-22  Doug Evans  <dje@google.com>
12734
12735         * gdb.server/server-mon.exp: Add tests for "set debug-format".
12736
12737 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12738
12739         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
12740
12741 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12742
12743         * gdb.trace/entry-values.exp: Remove excess space character from
12744         regex patterns.  Handle s390 call instruction.
12745
12746 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12747
12748         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
12749         define "*_start" label.  Make "name" static.
12750         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
12751         ${name} by references to ${name}_start.
12752
12753 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
12754
12755         * gdb.base/info-macros.exp: Remove "debug" from the compile
12756         options.
12757
12758 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
12759
12760         * gdb.dlang/demangle.exp: New file.
12761
12762 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
12763
12764         * gdb.dlang/primitive-types.exp: New file.
12765
12766 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
12767
12768         * configure.ac: Create gdb.dlang/Makefile.
12769         * configure: Regenerate.
12770         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12771         * gdb.dlang/Makefile.in: New file.
12772         * lib/d-support.exp: New file.
12773         * lib/gdb.exp (skip_d_tests): New proc.
12774
12775 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12776
12777         * gdb.btrace/delta.exp: Check reverse stepi.
12778         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
12779         * gdb.btrace/finish.exp: New.
12780         * gdb.btrace/next.exp: New.
12781         * gdb.btrace/nexti.exp: New.
12782         * gdb.btrace/record_goto.c: Add comments.
12783         * gdb.btrace/step.exp: New.
12784         * gdb.btrace/stepi.exp: New.
12785         * gdb.btrace/multi-thread-step.c: New.
12786         * gdb.btrace/multi-thread-step.exp: New.
12787         * gdb.btrace/rn-dl-bind.c: New.
12788         * gdb.btrace/rn-dl-bind.exp: New.
12789         * gdb.btrace/data.c: New.
12790         * gdb.btrace/data.exp: New.
12791         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12792
12793 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12794
12795         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12796         * gdb.btrace/exception.exp: Update.
12797         * gdb.btrace/instruction_history.exp: Update.
12798         * gdb.btrace/record_goto.exp: Update.
12799         * gdb.btrace/tailcall.exp: Update.
12800         * gdb.btrace/unknown_functions.exp: Update.
12801         * gdb.btrace/delta.exp: New.
12802
12803 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12804
12805         * gdb.btrace/record_goto.exp: Add backtrace test.
12806         * gdb.btrace/tailcall.exp: Add backtrace test.
12807
12808 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12809
12810         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12811         * gdb.btrace/record_goto.c: New.
12812         * gdb.btrace/record_goto.exp: New.
12813         * gdb.btrace/x86-record_goto.S: New.
12814
12815 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12816
12817         * gdb.btrace/function_call_history.exp: Update tests.
12818         * gdb.btrace/instruction_history.exp: Update tests.
12819
12820 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12821
12822         * gdb.btrace/function_call_history.exp: Fix expected field
12823         order for "record function-call-history".
12824         Add new tests for "record function-call-history /c".
12825         * gdb.btrace/exception.cc: New.
12826         * gdb.btrace/exception.exp: New.
12827         * gdb.btrace/tailcall.exp: New.
12828         * gdb.btrace/x86-tailcall.S: New.
12829         * gdb.btrace/x86-tailcall.c: New.
12830         * gdb.btrace/unknown_functions.c: New.
12831         * gdb.btrace/unknown_functions.exp: New.
12832         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12833
12834 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12835
12836         * gdb.btrace/instruction_history.exp: Update.
12837         * gdb.btrace/function_call_history.exp: Update.
12838
12839 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12840
12841         * gdb.btrace/function_call_history.exp: Fix expected function
12842         trace.
12843         * gdb.btrace/instruction_history.exp: Initialize traced.
12844         Remove traced_functions.
12845
12846 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12847
12848         * gdb.btrace/function_call_history.exp: Update
12849         * gdb.btrace/instruction_history.exp: Update.
12850
12851 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
12852
12853         * gdb.btrace/enable.exp: Update expected text.
12854
12855 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
12856
12857         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
12858         bytes.
12859
12860 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
12861
12862         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
12863
12864 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12865
12866         * lib/gdb.exp (supports_process_record): Return true for
12867         arm*-linux*.  (supports_reverse): Likewise.
12868
12869 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
12870
12871         PR python/15464
12872         PR python/16113
12873         * gdb.python/py-type.c: Enhance test case.
12874         * gdb.python/py-value-cc.cc: Likewise
12875         * gdb.python/py-type.exp: Add new tests.
12876         * gdb.python/py-value-cc.exp: Likewise
12877
12878 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12879             Pedro Alves <palves@redhat.com>
12880
12881         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
12882         Make "name" extern.
12883         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
12884         references to ${name}_start by references to ${name}.
12885
12886 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
12887
12888         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
12889
12890 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
12891
12892         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
12893
12894 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
12895             Pedro Alves  <palves@redhat.com>
12896
12897         * gdb.mi/mi-info-os.exp: Connect to the target with
12898         mi_gdb_target_load.
12899
12900 2014-01-08  Pedro Alves  <palves@redhat.com>
12901
12902         * gdb.threads/reconnect-signal.c: New file.
12903         * gdb.threads/reconnect-signal.exp: New file.
12904
12905 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12906
12907         * gdb.base/source-dir.exp: New file.
12908
12909 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12910
12911         * gdb.ada/mi_interface: New testcase.
12912
12913 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12914
12915         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
12916         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
12917         gdb.ada/pp-rec-component/pck.ads: New files.
12918
12919 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12920
12921         * gdb.python/py-pp-integral.c: New file.
12922         * gdb.python/py-pp-integral.py: New file.
12923         * gdb.python/py-pp-integral.exp: New file.
12924
12925 For older changes see ChangeLog-1993-2013.
12926 \f
12927 ;; Local Variables:
12928 ;; mode: change-log
12929 ;; left-margin: 8
12930 ;; fill-column: 74
12931 ;; version-control: never
12932 ;; End:
12933
12934     Copyright 2014-2017 Free Software Foundation, Inc.
12935   Copying and distribution of this file, with or without modification,
12936   are permitted provided the copyright notice and this notice are preserved.