1ff72492b4c7e88d7ec3e044b5bed1c27c505c14
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2014-08-04  Tom Tromey  <tromey@redhat.com>
2
3         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4         "target_resume".
5
6 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
7
8         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9         inner_vla_struct_object_size.
10         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11         as xfail.
12
13 2014-07-30  Pedro Alves  <palves@redhat.com>
14
15         * gdb.threads/signal-command-handle-nopass.exp (test): Add
16         comment.
17
18 2014-07-29  Yao Qi  <yao@codesourcery.com>
19
20         PR gdb/17206
21         * gdb.base/until-nodebug.exp: New.
22
23 2014-07-28  Doug Evans  <xdje42@gmail.com>
24
25         PR guile/17203
26         * gdb.guile/scm-parameter.exp: Add tests for trying to create
27         previously existing parameter, and previously ambiguously spelled
28         parameter.
29
30 2014-07-28  Will Newton  <will.newton@linaro.org>
31
32         * gdb.base/varargs.exp: Remove KFAILs for ARM.
33
34 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
35             Doug Evans  <xdje42@gmail.com>
36
37         PR guile/17146
38         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
39
40 2014-07-25  Pedro Alves  <palves@redhat.com>
41
42         * gdb.threads/signal-command-handle-nopass.c: New file.
43         * gdb.threads/signal-command-handle-nopass.exp: New file.
44         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
45         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
46         * gdb.threads/signal-delivered-right-thread.c: New file.
47         * gdb.threads/signal-delivered-right-thread.exp: New file.
48
49 2014-07-25  Pedro Alves  <palves@redhat.com>
50
51         * gdb.base/double-prompt-target-event-error.exp
52         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
53         match.
54         (cancel_pagination_in_target_event): Rework double prompt
55         detection.
56         * gdb.base/paginate-after-ctrl-c-running.exp
57         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
58         <return>' match.
59         * gdb.base/paginate-bg-execution.exp
60         (test_bg_execution_pagination_return)
61         (test_bg_execution_pagination_cancel): Remove '-notransfer
62         <return>' matches.
63         * gdb.base/paginate-execution-startup.exp
64         (test_fg_execution_pagination_return)
65         (test_fg_execution_pagination_cancel): Remove '-notransfer
66         <return>' matches.
67         * gdb.base/paginate-inferior-exit.exp
68         (test_paginate_inferior_exited): Remove '-notransfer <return>'
69         match.
70         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
71         * lib/gdb.exp (pagination_prompt): Run text through
72         string_to_regexp.
73         (gdb_test_multiple): Match $pagination_prompt instead of
74         "<return>".
75         (string_to_regexp): Move to lib/gdb-utils.exp.
76
77 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
78
79         * gdb.arch/amd64-entry-value-paramref.S: New file.
80         * gdb.arch/amd64-entry-value-paramref.cc: New file.
81         * gdb.arch/amd64-entry-value-paramref.exp: New file.
82         * gdb.arch/amd64-optimout-repeat.S: New file.
83         * gdb.arch/amd64-optimout-repeat.c: New file.
84         * gdb.arch/amd64-optimout-repeat.exp: New file.
85
86 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
87
88         PR gdb/17170
89         * gdb.base/statistics.exp: New file.
90
91 2014-07-17  Doug Evans  <dje@google.com>
92
93         PR gdb/17170
94         * gdb.base/maint.exp: Update testing of per-command stats.
95
96 2014-07-16  Pedro Alves  <palves@redhat.com>
97
98         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
99         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
100         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
101         (tfile_write_buf): New functions.
102         (add_memory_block): Rewrite using the above.
103         (adjust_function_address): New function.
104         (FUNCTION_ADDRESS): New macro.
105         (write_basic_trace_file): Remove short_x local, and use
106         tfile_write_16. Change type of func_addr local to unsigned long
107         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
108         here.  Cast argument of add_memory_block to char pointer.
109         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
110         (main): Remove parameters.
111         * gdb.trace/tfile.exp: Remove nowarnings.
112
113 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
114
115         * gdb.base/debug-expr.exp: Test string evaluation with
116         "debug expression" on.
117
118 2014-07-15  Pedro Alves  <palves@redhat.com>
119
120         * gdb.base/reread.exp: Use clean_restart.
121
122 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
123
124         * gdb.arch/avr-flash-qualifer.c: New.
125         * gdb.arch/avr-flash-qualifer.exp: New.
126
127 2014-07-14  Pedro Alves  <palves@redhat.com>
128
129         * gdb.base/paginate-after-ctrl-c-running.c: New file.
130         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
131
132 2014-07-14  Pedro Alves  <palves@redhat.com>
133
134         * gdb.base/double-prompt-target-event-error.c: New file.
135         * gdb.base/double-prompt-target-event-error.exp: New file.
136
137 2014-07-14  Pedro Alves  <palves@redhat.com>
138
139         PR gdb/17072
140         * gdb.base/paginate-inferior-exit.c: New file.
141         * gdb.base/paginate-inferior-exit.exp: New file.
142
143 2014-07-14  Pedro Alves  <palves@redhat.com>
144
145         PR gdb/17072
146         * gdb.base/paginate-bg-execution.c: New file.
147         * gdb.base/paginate-bg-execution.exp: New file.
148
149 2014-07-14  Pedro Alves  <palves@redhat.com>
150
151         PR gdb/17072
152         * gdb.base/paginate-execution-startup.c: New file.
153         * gdb.base/paginate-execution-startup.exp: New file.
154         * lib/gdb.exp (pagination_prompt): New global.
155         (default_gdb_spawn): New procedure, factored out from
156         default_gdb_spawn.
157         (default_gdb_start): Adjust to call default_gdb_spawn.
158         (gdb_spawn): New procedure.
159
160 2014-07-14  Pedro Alves  <palves@redhat.com>
161
162         * lib/gdb.exp (gdb_assert): New procedure.
163         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
164
165 2014-07-14  Pedro Alves  <palves@redhat.com>
166
167         * gdb.base/execution-termios.c: New file.
168         * gdb.base/execution-termios.exp: New file.
169
170 2014-07-14  Tom Tromey  <tromey@redhat.com>
171
172         * gdb.cp/vla-cxx.cc: New file.
173         * gdb.cp/vla-cxx.exp: New file.
174
175 2014-07-14  Tom Tromey  <tromey@redhat.com>
176
177         * gdb.reverse/rerun-prec.c: New file.
178         * gdb.reverse/rerun-prec.exp: New file.
179
180 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
181             Maciej W. Rozycki  <macro@codesourcery.com>
182
183         * lib/gdb-utils.exp: New file.
184         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
185         inline `gdb_init_command' processing.
186         (gdb_start_cmd): Likewise.
187         * lib/mi-support.exp (mi_run_cmd): Likewise.
188         * README: Document `gdb_init_command' and `gdb_init_commands'.
189
190 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
191
192         Fix false FAIL running under a very long directory name.
193         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
194         and "set print elements 10000".  Twice.
195
196 2014-07-11  Yao Qi  <yao@codesourcery.com>
197
198         * gdb.base/exprs.exp: "set print symbol off".
199
200 2014-07-11  Pedro Alves  <palves@redhat.com>
201
202         * gdb.threads/kill.c: New file.
203         * gdb.threads/kill.exp: New file.
204
205 2014-07-10  Yao Qi  <yao@codesourcery.com>
206
207         * gdb.trace/tfile.c (write_basic_trace_file)
208         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
209         address written to trace file.
210
211 2014-07-09  Pedro Alves  <palves@redhat.com>
212
213         * gdb.base/attach-wait-input.exp: New file.
214         * gdb.base/attach-wait-input.c: New file.
215
216 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
217
218         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
219         setting up test structures.
220         (main): Call new test function.
221         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
222         test function, continue into test function and walk test
223         structures.
224
225 2014-07-02  Yao Qi  <yao@codesourcery.com>
226
227         * gdb.trace/entry-values.c: Define labels 'foo_start' and
228         'bar_start' at the beginning of functions 'foo' and 'bar'
229         respectively.
230         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
231         instead of 'foo' and 'bar'.
232
233 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
234
235         * gdb.btrace/segv.exp: New.
236         * gdb.btrace/segv.c: New.
237
238 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
239
240         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
241         instruction.
242
243 2014-06-30  Mark Wielaard  <mjw@redhat.com>
244
245         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
246         vulture, vilify, villar): New volatile array constants.
247         (vindictive, vegetation): New const volatile array constants.
248         * gdb.base/volatile.exp: Test volatile and const volatile array
249         types.
250
251 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
252
253         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
254         target lacks support for awatch, rwatch, or hbreak.
255
256 2014-06-27  Yao Qi  <yao@codesourcery.com>
257
258         * gdb.multi/dummy-frame-restore.exp: New.
259         * gdb.multi/dummy-frame-restore.c: New.
260
261 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
262
263         * gdb.btrace/gcore.exp: New.
264
265 2014-06-23  Pedro Alves  <palves@redhat.com>
266
267         * gdb.base/watchpoint-reuse-slot.c: New file.
268         * gdb.base/watchpoint-reuse-slot.exp: New file.
269
270 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
271
272         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
273         progspace's filename in 'info', 'enable' and 'disable' command
274         tests.
275
276 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
277
278         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
279         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
280         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
281
282 2014-06-20  Gary Benson  <gbenson@redhat.com>
283
284         * gdb.arch/i386-avx.exp: Fix include file location.
285         * gdb.arch/i386-sse.exp: Likewise.
286
287 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
288
289         * gdb.dlang/expression.exp: New file.
290
291 2014-06-19  Pedro Alves  <palves@redhat.com>
292
293         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
294         out from ...
295         (top level): ... here.  Iterate running tests under different
296         scheduler-locking settings.
297
298 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
299
300         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
301         to DW_FORM_addr and use non-zero addresses.
302
303 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
304
305         PR gdb/17017
306         * gdb.python/py-xmethods.cc: Add global function call counters and
307         increment them in their respective functions.  Remove "cout"
308         statements.
309         * gdb.python/py-xmethods.exp: Make tests check the global function
310         call counters instead of depending on inferior IO.
311
312 2014-06-18  Don Breazeal  <donb@codesourcery.com>
313
314         * gdb.base/foll-fork.exp (default_fork_parent_follow):
315         Deleted procedure.
316         (explicit_fork_parent_follow): Deleted procedure.
317         (explicit_fork_child_follow): Deleted procedure.
318         (test_follow_fork): New procedure.
319         (do_fork_tests): Replace calls to deleted procedures with
320         calls to test_follow_fork and reset GDB for subsequent 
321         procedure calls.
322
323 2014-06-17  Yao Qi  <yao@codesourcery.com>
324
325         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
326         CP1252.
327
328 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
329
330         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
331         Initialize ptr and S explicitly.
332         (skip_type_update_when_not_use_rtti_test): Likewise.
333
334 2014-06-16  Keith Seitz  <keiths@redhat.com>
335
336         PR mi/15863
337         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
338         the inferior is started.
339
340 2014-06-16  Pedro Alves  <palves@redhat.com>
341
342         * gdb.base/break-main-file-remove-fail.c: New file.
343         * gdb.base/break-main-file-remove-fail.exp: New file.
344         * gdb.base/break-unload-file.exp: Use build_executable instead of
345         prepare_for_testing.
346         (test_break): New parameter "initial_load".  Handle it.
347         (top level): Add initial_load cmdline/file axis.
348
349 2014-06-12  Tom Tromey  <tromey@redhat.com>
350
351         * gdb.base/completion.exp: Don't use directory name in test.
352
353 2014-06-09  Gary Benson  <gbenson@redhat.com>
354
355         * gdb.base/sigall.c [Functions to send signals]: Reorder to
356         separate the always-available ANSI-standard signals from the
357         signals that require checking.
358         (main): Likewise.
359         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
360         Likewise.
361         (main): Likewise.
362
363 2014-06-07  Keith Seitz  <keiths@redhat.com>
364
365         Revert:
366         PR c++/16253
367         * gdb.cp/var-tag.cc: New file.
368         * gdb.cp/var-tag.exp: New file.
369         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
370         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
371         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
372         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
373
374 2014-06-06  Doug Evans  <xdje42@gmail.com>
375
376         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
377
378 2014-06-06  Pedro Alves  <palves@redhat.com>
379
380         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
381         in target debug output instead of looking at RSP packets,
382         disabling the test on any target that uses hardware stepping.
383         Update comments.
384
385 2014-06-06  Pedro Alves  <palves@redhat.com>
386
387         * gdb.base/break-unload-file.exp: Fix typo.
388
389 2014-06-06  Yao Qi  <yao@codesourcery.com>
390
391         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
392         from "jit_function" to "^jit_function".
393
394 2014-06-06  Yao Qi  <yao@codesourcery.com>
395
396         * gdb.base/async.c (foo): Add one statement.
397         * gdb.base/async.exp: Get the next instruction address and
398         match the output of "nexti" by instruction address.  Match
399         the hex address in the output of "finish".
400
401 2014-06-06  Gary Benson  <gbenson@redhat.com>
402
403         * gdb.base/call-signals.c: Remove preprocessor conditionals
404         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
405         SIGSEGV and SIGTERM.
406         * gdb.base/sigall.c: Likewise.
407         * gdb.base/unwindonsignal.c: Likewise.
408         * gdb.reverse/sigall-reverse.c: Likewise.
409
410 2014-06-06  Yao Qi  <yao@codesourcery.com>
411
412         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
413         readable, skip the test.
414
415 2014-06-06  Yao Qi  <yao@codesourcery.com>
416
417         * gdb.threads/staticthreads.c (thread_function): Move the line
418         setting breakpoint on forward.
419         * gdb.threads/staticthreads.exp: Update comments.
420
421 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
422
423         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
424         "history-append! type error".
425
426 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
427
428         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
429         erroneous dprintf expected input.
430
431 2014-06-04  Doug Evans  <xdje42@gmail.com>
432
433         * gdb.guile/scm-generics.exp: Delete.
434
435 2014-06-04  Doug Evans  <xdje42@gmail.com>
436
437         * gdb.guile/scm-breakpoint.exp: Update.
438         Add tests for breakpoint registration.
439
440 2014-06-04  Tom Tromey  <tromey@redhat.com>
441
442         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
443         VLA-in-union.
444         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
445         inner_vla_struct, vla_union types.  Initialize objects of those
446         types and compute their sizes.
447
448 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
449             Hui Zhu  <hui@codesourcery.com>
450
451         * gdb.base/fileio.exp: Add test for shell not available as well as
452         available.
453         * gdb.base/fileio.c (test_system): Check for shell twice.
454
455 2014-06-04  Yao Qi  <yao@codesourcery.com>
456
457         * gdb.base/auto-connect-native-target.exp: Remove redundant
458         space from the regexp pattern.
459
460 2014-06-04  Yao Qi  <yao@codesourcery.com>
461
462         * gdb.base/default.exp: Replace "child" with "native" in
463         regexp pattern.
464
465 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
466
467         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
468         * gdb.python/py-xmethods.exp: New tests to test xmethods.
469         * gdb.python/py-xmethods.py: Python script supporting the
470         new testcase and tests.
471
472 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
473             Pedro Alves  <palves@redhat.com>
474
475         PR breakpoints/17000
476         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
477         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
478
479 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
480
481         * gdb.base/subst.exp: Add tests to verify partial path matching
482         output.
483
484 2014-06-03  Pedro Alves  <palves@redhat.com>
485
486         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
487         target that doesn't use software single-stepping.
488
489 2014-06-03  Pedro Alves  <palves@redhat.com>
490
491         PR breakpoints/17000
492         * gdb.base/sss-bp-on-user-bp-2.c: New file.
493         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
494
495 2014-06-02  Doug Evans  <xdje42@gmail.com>
496
497         * gdb.guile/scm-parameter.exp: New file.
498
499 2014-06-02  Doug Evans  <xdje42@gmail.com>
500
501         * gdb.guile/scm-cmd.c: New file.
502         * gdb.guile/scm-cmd.exp: New file.
503
504 2014-06-02  Doug Evans  <xdje42@gmail.com>
505
506         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
507         pretty-printer lookup.
508         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
509         (make-pp_s-printer): Call it.
510         (make-pretty-printer-from-dict): New function.
511         (lookup-pretty-printer-maker-from-dict): New function.
512         (*pretty-printer*): Simplify.
513         (make-objfile-pp_s-printer): New function.
514         (install-objfile-pretty-printers!): New function.
515         (make-progspace-pp_s-printer): New function.
516         (install-progspace-pretty-printers!): New function.
517         * gdb.guile/scm-progspace.c: New file.
518         * gdb.guile/scm-progspace.exp: New file.
519
520 2014-06-02  Pedro Alves  <palves@redhat.com>
521
522         * gdb.base/dprintf-bp-same-addr.c: New file.
523         * gdb.base/dprintf-bp-same-addr.exp: New file.
524
525 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
526
527         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
528         * gdb.arch/powerpc-power.s: Likewise.
529
530 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
531
532         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
533
534 2014-06-01  Yao Qi  <yao@codesourcery.com>
535
536         * gdb.base/watchpoint.exp (test_watch_location): Check null
537         pointer can be dereferenced.  If not, do the test, otherwise
538         skip it.
539
540 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
541
542         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
543         results.
544         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
545
546 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
547
548         * gdb.arch/amd64-invalid-stack-middle.S: New file.
549         * gdb.arch/amd64-invalid-stack-middle.c: New file.
550         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
551         * gdb.arch/amd64-invalid-stack-top.c: New file.
552         * gdb.arch/amd64-invalid-stack-top.exp: New file.
553
554 2014-05-30  Pedro Alves  <palves@redhat.com>
555
556         PR breakpoints/17000
557         * gdb.base/sss-bp-on-user-bp.c: New file.
558         * gdb.base/sss-bp-on-user-bp.exp: New file.
559
560 2014-05-30  David Blaikie  <dblaikie@gmail.com>
561
562         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
563         gnu_inline semantics via attribute.
564         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
565         source explicitly specifies the required semantics.
566
567 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
568
569         * gdb.reverse/sigall-reverse.exp: Fix a typo.
570
571 2014-05-29  Pedro Alves  <palves@redhat.com>
572             Tom Tromey  <tromey@redhat.com>
573
574         * gdb.base/async-shell.exp: Don't enable target-async.
575         * gdb.base/async.exp
576         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
577         parameter.  Adjust.
578         (top level): Don't test with "target-async".
579         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
580         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
581         * gdb.base/inferior-died.exp: Don't enable target-async.
582         * gdb.base/interrupt-noterm.exp: Likewise.
583         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
584         * gdb.mi/mi-nonstop-exit.exp: Likewise.
585         * gdb.mi/mi-nonstop.exp: Likewise.
586         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
587         * gdb.mi/mi-nsintrall.exp: Likewise.
588         * gdb.mi/mi-nsmoribund.exp: Likewise.
589         * gdb.mi/mi-nsthrexec.exp: Likewise.
590         * gdb.mi/mi-watch-nonstop.exp: Likewise.
591         * gdb.multi/watchpoint-multi.exp: Adjust comment.
592         * gdb.python/py-evsignal.exp: Don't enable target-async.
593         * gdb.python/py-evthreads.exp: Likewise.
594         * gdb.python/py-prompt.exp: Likewise.
595         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
596         * gdb.server/solib-list.exp: Don't enable target-async.
597         * gdb.threads/thread-specific-bp.exp: Likewise.
598         * lib/mi-support.exp: Adjust to use mi-async.
599
600 2014-05-29  Pedro Alves  <palves@redhat.com>
601
602         PR gdb/13860
603         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
604         reason, even in sync mode.
605
606 2014-05-29  Pedro Alves  <palves@redhat.com>
607             Hui Zhu  <hui@codesourcery.com>
608
609         PR PR15693
610         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
611         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
612         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
613         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
614
615 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
616
617         * config/monitor.exp (gdb_target_monitor): Replace use of
618         "set remotebaud" by "set serial baud".
619
620 2014-05-26  Andy Wingo  <wingo@igalia.com>
621
622         * gdb.guile/scm-breakpoint.exp:
623         * gdb.guile/scm-gsmob.exp: Update to use plain old object
624         properties instead of gdb-object-properties.
625
626 2014-05-26  Yao Qi  <yao@codesourcery.com>
627
628         * gdb.server/no-thread-db.exp: Specify source file name
629         explicitly when setting a breakpoint.
630
631 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
632
633         * gdb.btrace/vdso.c: New.
634         * gdb.btrace/vdso.exp: New.
635
636 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
637
638         * gdb.base/gcore.exp (capture_command_output): Move ...
639         * lib/gdb.exp (capture_command_output): ... here.
640
641 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
642
643         * gdb.btrace/data.exp: Test memory access during btrace replay.
644
645 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
646
647         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
648
649 2014-05-21  Pedro Alves  <palves@redhat.com>
650
651         PR gdb/13860
652         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
653         (top level): Test that output related to execution commands is
654         sent to the console with CLI commands, but not with MI commands.
655         Test that breakpoint events are always mirrored to the console.
656         Also expect the new source line to be output after a "next" in
657         async mode too.  Make it a pass/fail test.
658         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
659         output.
660         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
661
662 2014-05-21  Pedro Alves  <palves@redhat.com>
663
664         * gdb.base/list.exp (build_pattern, test_list): New procedures.
665         Use them to test variations of "list" after reaching a breakpoint.
666         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
667         Test "list" with listsize 10 after reaching a breakpoint.
668         * gdb.python/python.exp (decode_line current location line
669         number): Adjust expected line number.
670
671 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
672
673         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
674         behavior for $args, pass it directly to "run".
675
676 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
677
678         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
679         30000 to 65536.
680
681 2014-05-21  Pedro Alves  <palves@redhat.com>
682
683         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
684         auto-connect-native-target off".
685         * gdb.base/auto-connect-native-target.c: New file.
686         * gdb.base/auto-connect-native-target.exp: New file.
687
688 2014-05-21  Pedro Alves  <palves@redhat.com>
689
690         * gdb.base/default.exp: Test "target native" instead of "target
691         child".
692
693 2014-05-21  Mark Wielaard  <mjw@redhat.com>
694
695         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
696
697 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
698
699         Fix TLS access for -static -pthread.
700         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
701         <HAVE_TLS> (thread_function, main): Initialize it.
702         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
703         Add clean_restart.
704         <$have_tls != "">: Check TLSVAR.
705
706 2014-05-21  Pedro Alves  <palves@redhat.com>
707
708         * gdb.base/dcache-line-read-error.c: New.
709         * gdb.base/dcache-line-read-error.exp: New.
710
711 2014-05-20  Pedro Alves  <palves@redhat.com>
712
713         * gdb.base/compare-sections.c: New file.
714         * gdb.base/compare-sections.exp: New file.
715
716 2014-05-20  Pedro Alves  <palves@redhat.com>
717
718         * gdb.base/break-idempotent.c: New file.
719         * gdb.base/break-idempotent.exp: New file.
720
721 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
722
723         * gdb.btrace/nohist.exp: New.
724
725 2014-05-20  Yao Qi  <yao@codesourcery.com>
726
727         * lib/gdb.exp (gdb_init): Set timeout if test file is under
728         gdb.reverse directory and gdb_reverse_timeout exists in board
729         setting.
730         * README: Document gdb_reverse_timeout.
731
732 2014-05-20  Yao Qi  <yao@codesourcery.com>
733
734         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
735         'test_file_name'.  Treat args as a string instead of a list.
736         (gdb_init): Rename argument 'args' by 'test_file_name'.
737
738 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
739
740         * gdb.arch/powerpc-power.exp: New file.
741         * gdb.arch/powerpc-power.s: New file.
742
743 2014-05-16  Doug Evans  <dje@google.com>
744
745         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
746         * gdb.base/completion.exp: Check that all expected files exist
747         before doing file completion.
748
749 2014-05-16  Doug Evans  <dje@google.com>
750
751         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
752         Update.
753         (do_syscall_tests_without_xml): Update.
754
755 2014-05-16  Pedro Alves  <palves@redhat.com>
756
757         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
758         instead of "unknown output after running".
759
760 2014-05-16  Yao Qi  <yao@codesourcery.com>
761
762         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
763         file1.txt from host at the end.
764         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
765
766 2014-05-15  Doug Evans  <dje@google.com>
767
768         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
769         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
770         loading file.  Add test for TU lookup.
771
772 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
773
774         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
775         calling "-exec-arguments" or "set args" before running the
776         inferior.
777
778 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
779
780         * lib/mi-support.exp (mi_expect_stop): Expect message for
781         inferiors that exit with non-zero exit code.
782
783 2014-05-14  Yao Qi  <yao@codesourcery.com>
784
785         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
786         match absolute path on remote host.
787         (test_file_list_exec_source_files): Remove "/" from the
788         pattern.
789
790 2014-05-14  Yao Qi  <yao@codesourcery.com>
791
792         * boards/local-remote-host-notty.exp (${board}_file): New
793         proc.
794
795 2014-05-07  Kyle McMartin  <kyle@redhat.com>
796
797         Pushed by Joel Brobecker  <brobecker@adacore.com>.
798         * gdb.arch/aarch64-atomic-inst.c: New file.
799         * gdb.arch/aarch64-atomic-inst.exp: New file.
800
801 2014-05-07  Yao Qi  <yao@codesourcery.com>
802
803         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
804         in current context" too.
805
806 2014-05-05  Keith Seitz  <keiths@redhat.com>
807
808         * gdb.linespec/ls-dollar.exp: Add test for linespec
809         file:convenience_variable.
810
811 2014-05-05  Yao Qi  <yao@codesourcery.com>
812
813         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
814         traceframes into tfile and ctf trace files.  Read data from
815         trace file and test collected data.
816         (gdb_collect_locals_test): Likewise.
817         (gdb_unavailable_registers_test): Likewise.
818         (gdb_unavailable_floats): Likewise.
819         (gdb_collect_globals_test): Likewise.
820         (top-level): Append "ctf" to trace_file_targets if GDB
821         supports.
822
823 2014-05-05  Yao Qi  <yao@codesourcery.com>
824
825         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
826         code to ...
827         (gdb_collect_args_test_1): ... it.  New proc.
828         (gdb_collect_locals_test): Move some code to ...
829         (gdb_collect_locals_test_1): ... it.  New proc.
830         (gdb_unavailable_registers_test): Move some code to ...
831         (gdb_unavailable_registers_test_1): ... it.  New proc.
832         (gdb_unavailable_floats): Move some code to ...
833         (gdb_unavailable_floats_1): ... it.  New proc.
834
835 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
836
837         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
838         probes to test for bitness recognition.
839         * gdb.arch/amd64-stap-optional-prefix.exp
840         (test_probe_value_without_reg): New procedure.
841         Add code to test for different kinds of bitness.
842
843 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
844
845         PR breakpoints/16889
846         * gdb.arch/amd64-stap-optional-prefix.S: New file.
847         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
848
849 2014-05-01  Pedro Alves  <palves@redhat.com>
850
851         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
852         gdb_file_cmd if no file is specified.
853         * boards/native-extended-gdbserver.exp (gdb_load): Use the
854         last_loaded_file to set the remote exec-file.
855
856 2014-05-01  Pedro Alves  <palves@redhat.com>
857
858         * boards/local-remote-host.exp: New file.
859
860 2014-05-01  Pedro Alves  <palves@redhat.com>
861
862         * boards/local-remote-host.exp: Rename to ...
863         * boards/local-remote-host-notty.exp: ... this.
864
865 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
866
867         * gdb.ada/dyn_arrayidx: New testcase.
868
869 2014-04-26  Yao Qi  <yao@codesourcery.com>
870
871         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
872         and compute the length of function main.  Save it in
873         $main_length.
874         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
875         (top-level): Use gdb_compile to compile objects into
876         executable and restart GDB.  Remove invocation to
877         prepare_for_testing.
878
879 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
880             Pedro Alves  <palves@redhat.com>
881
882         PR server/16255
883         * gdb.multi/multi-attach.c: New file.
884         * gdb.multi/multi-attach.exp: New file.
885
886 2014-04-25  Pedro Alves  <palves@redhat.com>
887
888         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
889         user.
890         (top level): Test that "set remote conditional-breakpoints-packet
891         off" works as intended.
892         * gdb.base/dprintf.exp: Test that "set remote
893         breakpoint-commands-packet off" works as intended.
894         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
895         New function.
896         (top level): Call it.
897         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
898         remote fast-tracepoints-packet off" works as intended.
899         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
900         * lib/gdb.exp (gdb_is_target_remote): ... here.
901
902 2014-04-24  David Blaikie  <dblaikie@gmail.com>
903
904         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
905         ensure clang would not discard them.
906         * gdb.base/gdbvars.c: Ditto.
907         * gdb.base/memattr.c: Ditto.
908         * gdb.base/whatis.c: Ditto.
909         * gdb.python/py-prettyprint.c: Ditto.
910         * gdb.trace/actions.c: Ditto.
911         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
912         ensure clang would not discard it.
913
914 2014-04-24  David Blaikie  <dblaikie@gmail.com>
915
916         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
917         clang to emit the full definition of type required by the test
918         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
919
920 2014-04-24  David Blaikie  <dblaikie@gmail.com>
921
922         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
923         coax Clang into emitting the definition of the type.
924         * gdb.cp/pr10728-x.h (y): Ditto.
925         * gdb.cp/pr10728-y.cc (y): Ditto.
926
927 2014-04-24  David Blaikie  <dblaikie@gmail.com>
928
929         * gdb.base/label.exp: XFAIL label related tests under Clang.
930         * gdb.cp/cplabel.exp: Ditto.
931         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
932         under Clang those using labels.
933
934 2014-04-25  Yao Qi  <yao@codesourcery.com>
935
936         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
937         double_label.
938         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
939         partial_label and double_label.
940
941 2014-04-24  David Blaikie  <dblaikie@gmail.com>
942
943         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
944
945 2014-04-24  David Blaikie  <dblaikie@gmail.com>
946
947         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
948         of the function to work across GCC and Clang.
949         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
950         pointer types (const void ** const V void **).
951
952 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
953             Walfred Tedeschi  <walfred.tedeschi@intel.com>
954
955         * Makefile.in (EXECUTABLES): Added i386-avx512.
956         * gdb.arch/i386-avx512.c: New file.
957         * gdb.arch/i386-avx512.exp: Likewise.
958
959 2014-04-23  Keith Seitz  <keiths@redhat.com>
960
961         * lib/mi-support.exp (mi_list_breakpoints): Delete.
962         (mi_make_breakpoint_table): New procedure.
963         (mi_create_breakpoint): Use mi_make_breakpoint
964         and return the result.
965         (mi_make_breakpoint): New procedure.
966         (mi_build_kv_pairs): New procedure.
967
968         * gdb.mi/mi-break.exp: Remove unused globals,
969         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
970         All callers updated.
971         * gdb.mi/mi-dprintf.exp: Use variable to track command
972         number.
973         Update all callers of mi_create_breakpoint and use
974         mi_make_breakpoint_table.
975         Remove any unused global variables.
976         * gdb.mi/mi-nonstop.exp: Likewise.
977         * gdb.mi/mi-nsintrall.exp: Likewise.
978         * gdb.mi/mi-nsmoribund.exp: Likewise.
979         * gdb.mi/mi-nsthrexec.exp: Likewise.
980         * gdb.mi/mi-reverse.exp: Likewise.
981         * gdb.mi/mi-simplerun.exp: Likewise.
982         * gdb.mi/mi-stepn.exp: Likewise.
983         * gdb.mi/mi-syn-frame.exp: Likewise.
984         * gdb.mi/mi-until.exp: Likewise.
985         * gdb.mi/mi-var-cp.exp: Likewise.
986         * gdb.mi/mi-var-display.exp: Likewise.
987         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
988         * gdb.mi/mi2-var-child.exp: Likewise.
989         * gdb.mi/mi-vla-c99.exp: Likewise.
990         * lib/mi-support.exp: Likewise.
991
992         From Ian Lance Taylor  <iant@cygnus.com>:
993         * lib/gdb.exp (parse_args): New procedure.
994
995 2014-04-23  Pedro Alves  <palves@redhat.com>
996
997         * gdb.base/break-unload-file.c: New file.
998         * gdb.base/break-unload-file.exp: New file.
999         * gdb.base/sym-file-lib.c (baz): New function.
1000         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1001         field.
1002         (load): Store the segment's mapped size.
1003         (unload): New function.
1004         (unload_shlib): New function.
1005         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1006         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1007         set a breakpoint at baz, and call it.
1008         * gdb.base/sym-file.exp: New tests for stale breakpoint
1009         instructions.
1010
1011 2014-04-23  Pedro Alves  <palves@redhat.com>
1012
1013         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1014         * gdb.base/hbreak-in-shr-unsupported.c: New file.
1015         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1016         * gdb.base/hbreak-unmapped.c: New file.
1017         * gdb.base/hbreak-unmapped.exp: New file.
1018         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1019         * lib/gdb.exp (gdb_is_target_remote): ... here.
1020
1021 2014-04-22  Pedro Alves  <palves@redhat.com>
1022
1023         * gdb.base/consecutive-step-over.c: New file.
1024         * gdb.base/consecutive-step-over.exp: New file.
1025
1026 2014-04-22  Pedro Alves  <palves@redhat.com>
1027
1028         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1029         instead of send_gdb/gdb_expect.
1030
1031 2014-04-22  Yao Qi  <yao@codesourcery.com>
1032
1033         * lib/trace-support.exp (generate_tracefile): New procedure.
1034         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1035         return 0.
1036         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1037         if generate_tracefile returns 1.
1038
1039 2014-04-18  Tom Tromey  <palves@redhat.com>
1040             Pedro alves  <tromey@redhat.com>
1041
1042         PR backtrace/15558
1043         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1044         with a backtrace limit.
1045         * gdb.python/py-frame-inline.exp: Test running to an inline
1046         function with a backtrace limit, and printing the newest frame.
1047         * gdb.python/py-frame-inline.c (main): Call f.
1048
1049 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1050
1051         * gdb.java/jnpe.exp: Drop srcdir from untested path.
1052
1053 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1054
1055         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1056         Drop prefix from unsupported source file path.
1057
1058 2014-04-17  Yao Qi  <yao@codesourcery.com>
1059
1060         * lib/gdb.exp (with_target_charset): New proc.
1061         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1062         with_target_charset.
1063         (test_print_strings): Likewise.
1064         (test_repeat_bytes): Likewise.
1065         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1066         for some tests.
1067
1068 2014-04-16  Keith Seitz  <keiths@redhat.com>
1069
1070         PR gdb/15827
1071         * gdb.dwarf2/corrupt.c: New file.
1072         * gdb.dwarf2/corrupt.exp: New file.
1073
1074 2014-04-16  Keith Seitz  <keiths@redhat.com>
1075
1076         PR c++/16597
1077         * gdb.cp/namelessclass.cc: New file.
1078         * gdb.cp/namelessclass.exp: New file.
1079         * gdb.cp/namelessclass.S: New file.
1080
1081 2014-04-16  Doug Evans  <dje@google.com>
1082
1083         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1084         Add comment.
1085         (gdbserver_default_get_comm_port): New function.
1086         (gdbserver_start): Check if board file provided
1087         "gdbserver,get_comm_port" and use it if so.
1088         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1089         (gdb,socketport): Set to "stdio".
1090         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1091         (stdio_gdbserver_template): Delete.
1092         (${board}_get_remote_address): Update.
1093         (${board}_build_remote_cmd): Delete.
1094         (${board}_get_comm_port): New function.
1095         (${board}_spawn): Update.
1096         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1097         Delete.
1098         (${board}_get_remote_address): Update.
1099         (${board}_get_comm_port): New function.
1100
1101 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
1102
1103         * gdb.base/memattr.exp: Improve regexps to handle memory regions
1104         appearing in any order.
1105
1106 2014-04-15  Doug Evans  <dje@google.com>
1107
1108         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1109         uninitialized value of "description".
1110
1111 2014-04-15  Keith Seitz  <keiths@redhat.com>
1112
1113         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1114         Remove unused globals.
1115         (test_running_the_program): Likewise.
1116         (test_controlled_execution): Likewise.
1117         (test_controlling_breakpoints): Likewise.
1118         (test_program_termination): Likewise.
1119
1120 2014-04-15  Keith Seitz  <keiths@redhat.com>
1121
1122         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1123         unused globals.
1124         (test_rbreak_creation_and_listing): Likewise.
1125         (test_ignore_count): Likewise.
1126         (test_error): Likewise.
1127
1128 2014-04-15  Pedro Alves  <palves@redhat.com>
1129
1130         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1131         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1132         sym-file-loader.c.
1133         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1134         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1135         to sym-file-loader.c.
1136         (struct library): Forward declare.
1137         (load_shlib, lookup_function): Change prototypes.
1138         (find_shstrtab, find_strtab, find_shdr, find_symtab)
1139         (translate_offset): Remove declarations.
1140         (get_text_addr): New declaration.
1141         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1142         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1143         sym-file-loader.h.
1144         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1145         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1146         here from sym-file-loader.h.
1147         (struct library): New structure.
1148         (load_shlib, lookup_function): Change prototypes and adjust to
1149         work with a struct library.
1150         (find_shstrtab, find_strtab, find_shdr, find_symtab)
1151         (translate_offset): Make static.
1152         (get_text_addr): New function.
1153         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1154
1155 2014-04-15  Pedro Alves  <palves@redhat.com>
1156
1157         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
1158
1159 2014-04-15  Pedro Alves  <palves@redhat.com>
1160
1161         * gdb.base/sym-file-loader.c: Include <limits.h>.
1162         (SELF_LINK): New define.
1163         (get_origin): New function.
1164         (load_shlib): Use it.
1165         * gdb.base/sym-file.exp: Don't early return if the target is
1166         remote.  Use runto_main, and issue fail is that fails.  Use
1167         gdb_load_shlibs.
1168         (shlib_name): Delete.
1169         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
1170
1171 2014-04-15  Pedro Alves <palves@redhat.com>
1172
1173         * gdb.base/sym-file.exp: Remove regex characters from test
1174         message.  Don't refer to breakpoint numbers in test messages.
1175
1176 2014-04-14  Keith Seitz  <keiths@redhat.com>
1177
1178         PR c++/16253
1179         * gdb.cp/var-tag.cc: New file.
1180         * gdb.cp/var-tag.exp: New file.
1181         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1182         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1183         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1184         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1185
1186 2014-04-14  Tom Tromey  <tromey@redhat.com>
1187
1188         * gdb.cp/classes.exp (test_enums): Handle underlying type.
1189         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1190         type.
1191         * gdb.cp/enum-class.exp: New file.
1192         * gdb.cp/enum-class.cc: New file.
1193
1194 2014-04-14  Tom Tromey  <tromey@redhat.com>
1195
1196         * gdb.dwarf2/enum-type.exp: New file.
1197
1198 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
1199
1200         * gdb.mi/mi-vla-c99.exp: New file.
1201         * gdb.mi/vla.c: New file.
1202
1203 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
1204
1205         * gdb.base/vla-datatypes.c: New file.
1206         * gdb.base/vla-datatypes.exp: New file.
1207
1208 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
1209
1210         * gdb.base/vla-ptr.c: New file.
1211         * gdb.base/vla-ptr.exp: New file.
1212
1213 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
1214
1215         * gdb.dwarf2/count.exp: New file.
1216
1217 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
1218
1219         * gdb.base/vla-sideeffect.c: New file.
1220         * gdb.base/vla-sideeffect.exp: New file.
1221
1222 2014-04-14  David Blaikie <dblaikie@gmail.com>
1223
1224         * gdb.mi/non-stop.c: Add return value for non-void function return
1225         statement.
1226         * gdb.threads/staticthreads.c: Ditto.
1227
1228 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
1229             Doug Evans  <xdje42@gmail.com>
1230
1231         * gdb.guile/scm-value.c: Improve test case.
1232         * gdb.guile/scm-value.exp: Add new test.
1233
1234 2014-04-11  David Blaikie  <dblaikie@gmail.com>
1235
1236         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1237         override Clang's default.
1238
1239 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
1240
1241         Revert the following changes (regressions):
1242
1243         * gdb.base/vla-sideeffect.c: New file.
1244         * gdb.base/vla-sideeffect.exp: New file.
1245
1246         * gdb.dwarf2/count.exp: New file.
1247
1248         * gdb.base/vla-multi.c: New file.
1249         * gdb.base/vla-multi.exp: New file.
1250
1251         * gdb.base/vla-ptr.c: New file.
1252         * gdb.base/vla-ptr.exp: New file.
1253
1254         * gdb.base/vla-datatypes.c: New file.
1255         * gdb.base/vla-datatypes.exp: New file.
1256
1257         * gdb.mi/mi-vla-c99.exp: New file.
1258         * gdb.mi/vla.c: New file.
1259
1260 2014-04-11  Keith Seitz  <keiths@redhat.com>
1261
1262         PR c++/16675
1263         * gdb.cp/cpsizeof.exp: New file.
1264         * gdb.cp/cpsizeof.cc: New file.
1265
1266 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
1267
1268         * gdb.mi/mi-vla-c99.exp: New file.
1269         * gdb.mi/vla.c: New file.
1270
1271 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
1272
1273         * gdb.base/vla-datatypes.c: New file.
1274         * gdb.base/vla-datatypes.exp: New file.
1275
1276 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
1277
1278         * gdb.base/vla-ptr.c: New file.
1279         * gdb.base/vla-ptr.exp: New file.
1280
1281 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
1282
1283         * gdb.base/vla-multi.c: New file.
1284         * gdb.base/vla-multi.exp: New file.
1285
1286 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
1287
1288         * gdb.dwarf2/count.exp: New file.
1289
1290 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
1291
1292         * gdb.base/vla-sideeffect.c: New file.
1293         * gdb.base/vla-sideeffect.exp: New file.
1294
1295 2014-04-11  Yao Qi  <yao@codesourcery.com>
1296
1297         * gdb.base/completion.exp: Check file exists before running tests
1298         on file completion.
1299
1300 2014-04-10  Pedro Alves  <palves@redhat.com>
1301
1302         * gdb.base/cond-eval-mode.c: New file.
1303         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
1304         prepare_for_testing to build the new file.  Check result of
1305         runto_main.
1306         (test_break, test_watch): New procedures.
1307         (top level): Use them.
1308
1309 2014-04-08  Pierre Muller  <muller@sourceware.org>
1310
1311         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1312         Ctrl-V use for mingw hosts.
1313
1314 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
1315
1316         * gdb.python/py-value.c: Improve test case.
1317         * gdb.python/py-value.exp: Add new test.
1318
1319 2014-04-07  David Blaikie  <dblaikie@gmail.com>
1320
1321         * lib/compiler.c: Identify the clang compiler.
1322         * lib/compiler.cc: Ditto.
1323
1324 2014-04-03  Yao Qi  <yao@codesourcery.com>
1325
1326         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1327
1328 2014-04-01  Anton Blanchard  <anton@samba.org>
1329
1330         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
1331         messages unique.
1332
1333 2014-04-01  Anton Blanchard  <anton@samba.org>
1334
1335         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1336         prepare_for_testing.
1337
1338 2014-04-01  Anton Blanchard  <anton@samba.org>
1339
1340         * gdb.arch/ppc64-atomic-inst.c: Remove.
1341         * gdb.arch/ppc64-atomic-inst.S: New file.
1342         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1343
1344 2014-03-31  Doug Evans  <dje@google.com>
1345
1346         * gdb.base/print-symbol-loading-lib.c: New file.
1347         * gdb.base/print-symbol-loading-main.c: New file.
1348         * gdb.base/print-symbol-loading.exp: New file.
1349
1350 2014-03-31  Yao Qi  <yao@codesourcery.com>
1351
1352         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1353
1354 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
1355
1356         * gdb.ada/mi_dyn_arr: New testcase.
1357
1358 2014-03-27  Doug Evans  <dje@google.com>
1359
1360         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1361
1362 2014-03-27  Yao Qi  <yao@codesourcery.com>
1363
1364         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1365         if target is nios2-*-*.
1366
1367 2014-03-26  Yao Qi  <yao@codesourcery.com>
1368
1369         * lib/gdb.exp (readline_is_used): New proc.
1370         * gdb.base/completion.exp: Move tests on command complete up.
1371         Skip the rest of tests if readline is not used.
1372         * gdb.ada/complete.exp: Skp the test if readline is not
1373         used.
1374         * gdb.base/filesym.exp: Likewise.
1375         * gdb.base/macscp.exp: Likewise.
1376         * gdb.base/readline-ask.exp: Likewise.
1377         * gdb.base/readline.exp: Likewise.
1378         * gdb.python/py-cmd.exp: Likewise.
1379         * gdb.trace/tfile.exp: Likewise.
1380
1381 2014-03-26  Yao Qi  <yao@codesourcery.com>
1382
1383         * gdb.base/macscp.exp: Fix code format issues.
1384
1385 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
1386
1387         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1388         * gdb.asm/powerpc64le.inc: New file.
1389
1390 2014-03-25  Pedro Alves  <palves@redhat.com>
1391             Doug Evans  <dje@google.com>
1392
1393         * gdb.base/source-execution.c: New file.
1394         * gdb.base/source-execution.exp: New file.
1395         * gdb.base/source-execution.gdb: New file.
1396
1397 2014-03-24  Doug Evans  <dje@google.com>
1398
1399         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1400         using fission.
1401
1402 2014-03-24  Hui Zhu  <hui@codesourcery.com>
1403             Pedro Alves  <palves@redhat.com>
1404
1405         PR breakpoints/16101
1406         * gdb.base/dprintf.exp: Use unsupported rather than changing the
1407         test pass/fail messages.  Detect missing support for dprintf when
1408         breakpoints are actually inserted.
1409         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1410         breakpoints are actually inserted.
1411         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1412         fails.
1413
1414 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1415
1416         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1417
1418 2014-03-22  Doug Evans  <xdje42@gmail.com>
1419
1420         * gdb.python/python.exp (python not supported): Verify multi-line
1421         python command issues an error.
1422         * gdb.guile/guile.exp (guile not supported): Verify multi-line
1423         guile command issues an error.
1424
1425 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
1426
1427         * gdb.threads/thread-specific.exp: Handle the lack of usable
1428         $this_breakpoint and $this_thread.
1429
1430 2014-03-21  Hui Zhu  <hui@codesourcery.com>
1431
1432         * gdb.base/attach.exp (do_command_attach_tests): New.
1433
1434 2014-03-20  Tom Tromey  <tromey@redhat.com>
1435             Pedro Alves  <palves@redhat.com>
1436
1437         PR cli/15718
1438         * gdb.base/condbreak-call-false.c: New file.
1439         * gdb.base/condbreak-call-false.exp: New file.
1440
1441 2014-03-20  Pedro Alves  <palves@redhat.com>
1442
1443         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1444         Delete.
1445         (block_signals, unblock_signals): Delete.
1446         (child_function_2, main): Remove references to deleted variable
1447         and functions.
1448
1449 2014-03-20  Pedro Alves  <palves@redhat.com>
1450
1451         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1452         Use pthread_kill to signal thread 2.
1453         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1454         Adjust to make the test send itself a signal rather than using the
1455         host's "kill" command.
1456
1457 2014-03-20  Pedro Alves  <palves@redhat.com>
1458
1459         * gdb.threads/multiple-step-overs.c: New file.
1460         * gdb.threads/multiple-step-overs.exp: New file.
1461         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1462         Adjust expected infrun debug output.
1463
1464 2014-03-20  Pedro Alves  <palves@redhat.com>
1465
1466         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1467         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1468
1469 2014-03-20  Pedro Alves  <palves@redhat.com>
1470
1471         PR breakpoints/7143
1472         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1473         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
1474         of gdb_test_multiple.
1475         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1476         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1477
1478 2014-03-20  Pedro Alves  <palves@redhat.com>
1479
1480         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1481         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1482
1483 2014-03-19  Pedro Alves  <palves@redhat.com>
1484
1485         * gdb.base/async.exp: Remove early return.
1486
1487 2014-03-19  Pedro Alves  <palves@redhat.com>
1488
1489         * gdb.base/async.exp (step& tests): Pass explicit test messages.
1490
1491 2014-03-19  Pedro Alves  <palves@redhat.com>
1492
1493         * gdb.base/async.exp (test_background): Expect \r\n after
1494         "completed." in the fail pattern.
1495
1496 2014-03-19  Pedro Alves  <palves@redhat.com>
1497
1498         * gdb.base/async.exp (test_background): New procedure.
1499         Use it for all background execution command tests.
1500
1501 2014-03-19  Pedro Alves  <palves@redhat.com>
1502
1503         * gdb.base/async.exp: Use prepare_for_testing.
1504
1505 2014-03-19  Pedro Alves  <palves@redhat.com>
1506
1507         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
1508         the same line.
1509
1510 2014-03-19  Pedro Alves  <palves@redhat.com>
1511
1512         * gdb.base/async.c (main): Add "jump here" and "until here" line
1513         marker comments.
1514         * gdb.base/async.exp (jump_here): New global.
1515         (jump& test): Use it.
1516         (until_here): New global.
1517         (until& test): Use it.
1518
1519 2014-03-19  Pedro Alves  <palves@redhat.com>
1520
1521         * gdb.base/async.exp: Don't frob gdb_protocol.
1522
1523 2014-03-18  Doug Evans  <xdje42@gmail.com>
1524
1525         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
1526         Fix spelling of exec-done-display.
1527
1528 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1529
1530         PR gdb/15358
1531         * gdb.base/gdb-sigterm.c: New file.
1532         * gdb.base/gdb-sigterm.exp: New file.
1533
1534 2014-03-18  Pedro Alves  <palves@redhat.com>
1535
1536         PR gdb/13860
1537         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1538         * lib/mi-support.exp (mi_expect_stop): Add special handling for
1539         solib-event.
1540
1541 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
1542
1543         * gdb.ada/pckd_arr_ren: New testcase.
1544
1545 2014-03-13  Doug Evans  <xdje42@gmail.com>
1546
1547         PR guile/16612
1548         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1549         collect after discarding symbols.
1550
1551 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
1552             Doug Evans  <xdje42@gmail.com>
1553
1554         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1555         to history survives a gc.
1556
1557 2014-03-13  Pedro Alves  <palves@redhat.com>
1558
1559         * gdb.base/default.exp: Don't test "target procfs".
1560
1561 2014-03-13  Pedro Alves  <palves@redhat.com>
1562
1563         * gdb.base/default.exp: Update "target child" and "target procfs"
1564         tests to not expect "Unix".
1565
1566 2014-03-12  Tom Tromey  <tromey@redhat.com>
1567
1568         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1569         New procs.  Add target-async tests.
1570         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1571         Add target-async tests.
1572
1573 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1574
1575         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1576         'func_start' and 'func_end' for the beginning and end of the
1577         function code, respectively.
1578         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1579         'func_end' instead of 'func' and 'main'.
1580
1581 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1582
1583         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1584         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1585         generate the debug info assembler source.
1586
1587 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1588
1589         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1590         * gdb.dwarf2/arr-subrange.exp: Likewise.
1591         * gdb.dwarf2/dwz.exp: Likewise.
1592         * gdb.dwarf2/method-ptr.exp: Likewise.
1593         * gdb.dwarf2/missing-sig-type.exp: Likewise.
1594         * gdb.dwarf2/subrange.exp: Likewise.
1595         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1596         * gdb.dwarf2/implptrpiece.exp: Likewise.
1597         * gdb.dwarf2/nostaticblock.exp: Likewise.
1598
1599 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1600
1601         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1602         directory to absolute path name arguments.
1603
1604 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
1605
1606         * gdb.ada/tagged_access: New testcase.
1607
1608 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
1609
1610         * gdb.btrace/data.exp: Update expected output.
1611
1612 2014-03-06  Yao Qi  <yao@codesourcery.com>
1613
1614         * gdb.trace/pr16508.exp: New file.
1615
1616 2014-03-05  Pedro Alves  <palves@redhat.com>
1617
1618         PR gdb/16575
1619         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1620         procedure.
1621         (top level): Adjust to use it.  Add tests that exercise breakpoint
1622         interaction with the code-cache.
1623
1624 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
1625
1626         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1627         test for 'history-append!'.
1628
1629 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1630
1631         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1632         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1633         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1634         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1635         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1636         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1637
1638 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1639
1640         * testsuite/gdb.python/py-pp-re-notag.c: New file.
1641         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1642         * testsuite/gdb.python/py-pp-re-notag.p: New file.
1643
1644 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1645
1646         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1647
1648 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1649
1650         * gdb.dwarf2/arr-stride.c: New file.
1651         * gdb.dwarf2/arr-stride.exp: New file.
1652
1653 2014-02-26  Pedro Alves  <palves@redhat.com>
1654
1655         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1656         that won't ever trigger.  Make sure that GDB reports the correct
1657         breakpoint that caused the stop.
1658
1659 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1660
1661         PR gdb/16626
1662         * gdb.base/auto-load-script: New file.
1663         * gdb.base/auto-load.c: New file.
1664         * gdb.base/auto-load.exp: New file.
1665
1666         PR gdb/16626
1667         * gdb.base/auto-load.exp: Fix out-of-srctree run.
1668
1669 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1670
1671         Fix dw2-icycle.exp -fsanitize=address GDB crash.
1672         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1673
1674 2014-02-24  Doug Evans  <dje@google.com>
1675
1676         * lib/gdb.exp (run_on_host): Log error output if program fails.
1677
1678 2014-02-21  Pedro Alves  <palves@redhat.com>
1679
1680         * gdb.threads/step-after-sr-lock.c: Rename to ...
1681         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1682         * gdb.threads/step-after-sr-lock.exp: Rename to ...
1683         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1684         ... this.
1685
1686 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1687
1688         PR tdep/16397
1689         * gdb.arch/amd64-stap-special-operands.exp: New file.
1690         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1691         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1692         * gdb.arch/amd64-stap-triplet.S: Likewise.
1693         * gdb.arch/amd64-stap-triplet.c: Likewise.
1694
1695 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
1696
1697         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1698         in .section pseudo-op.
1699
1700 2014-02-20  lin zuojian  <manjian2006@gmail.com>
1701             Joel Brobecker  <brobecker@adacore.com>
1702             Doug Evans  <xdje42@gmail.com>
1703
1704         PR symtab/16581
1705         * gdb.dwarf2/dw2-icycle.S: New file.
1706         * gdb.dwarf2/dw2-icycle.c: New file.
1707         * gdb.dwarf2/dw2-icycle.exp: New file.
1708
1709 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
1710
1711         * gdb.python/py-value-cc.cc: Improve test case to enable testing
1712         operations on gdb.Value objects.
1713         * gdb.python/py-value-cc.exp: Add new test to test operations on
1714         gdb.Value objects.
1715
1716 2014-02-18  Doug Evans  <dje@google.com>
1717
1718         * Makefile.in (TESTS): New variable.
1719         (expanded_tests, expanded_tests_or_none): New variables
1720         (check-single): Pass $(expanded_tests_or_none) to runtest.
1721         (check-parallel): Only run tests in $(TESTS) if non-empty.
1722         (check/no-matching-tests-found): New rule.
1723         * README: Document TESTS makefile variable.
1724
1725 2014-02-18  Doug Evans  <dje@google.com>
1726
1727         * Makefile.in (check-parallel): rm -rf outputs temp.
1728
1729 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1730
1731         Fix "ERROR: no fileid for" in the testsuite.
1732         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1733
1734 2014-02-12  Doug Evans  <dje@google.com>
1735
1736         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1737         (MISCELLANEOUS): New variable.
1738         (clean): rm -rf $(MISCELLANEOUS).
1739         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1740         dwp live in the same directory as symlinks, with each symlink pointed
1741         to a differently named file in a different directory.
1742
1743 2014-02-11  Doug Evans  <dje@google.com>
1744
1745         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1746         of Tcl file commands.
1747
1748 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
1749
1750         * gdb.threads/step-after-sr-lock.exp: Avoid executing
1751         "kill -SIGUSR1 -1".
1752
1753 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
1754
1755         * gdb.ada/tick_length_array_enum_idx: New testcase.
1756
1757 2014-02-10  Doug Evans  <xdje42@gmail.com>
1758
1759         * configure.ac (AC_OUTPUT): Add gdb.guile.
1760         * configure: Regenerate.
1761         * lib/gdb-guile.exp: New file.
1762         * lib/gdb.exp (get_target_charset): New function.
1763         * gdb.base/help.exp: Update expected output from "apropos apropos".
1764         * gdb.guile/Makefile.in: New file.
1765         * gdb.guile/guile.exp: New file.
1766         * gdb.guile/scm-arch.c: New file.
1767         * gdb.guile/scm-arch.exp: New file.
1768         * gdb.guile/scm-block.c: New file.
1769         * gdb.guile/scm-block.exp: New file.
1770         * gdb.guile/scm-breakpoint.c: New file.
1771         * gdb.guile/scm-breakpoint.exp: New file.
1772         * gdb.guile/scm-disasm.c: New file.
1773         * gdb.guile/scm-disasm.exp: New file.
1774         * gdb.guile/scm-equal.c: New file.
1775         * gdb.guile/scm-equal.exp: New file.
1776         * gdb.guile/scm-error.exp: New file.
1777         * gdb.guile/scm-error.scm: New file.
1778         * gdb.guile/scm-frame-args.c: New file.
1779         * gdb.guile/scm-frame-args.exp: New file.
1780         * gdb.guile/scm-frame-args.scm: New file.
1781         * gdb.guile/scm-frame-inline.c: New file.
1782         * gdb.guile/scm-frame-inline.exp: New file.
1783         * gdb.guile/scm-frame.c: New file.
1784         * gdb.guile/scm-frame.exp: New file.
1785         * gdb.guile/scm-generics.exp: New file.
1786         * gdb.guile/scm-gsmob.exp: New file.
1787         * gdb.guile/scm-iterator.c: New file.
1788         * gdb.guile/scm-iterator.exp: New file.
1789         * gdb.guile/scm-math.c: New file.
1790         * gdb.guile/scm-math.exp: New file.
1791         * gdb.guile/scm-objfile-script-gdb.in: New file.
1792         * gdb.guile/scm-objfile-script.c: New file.
1793         * gdb.guile/scm-objfile-script.exp: New file.
1794         * gdb.guile/scm-objfile.c: New file.
1795         * gdb.guile/scm-objfile.exp: New file.
1796         * gdb.guile/scm-ports.exp: New file.
1797         * gdb.guile/scm-pretty-print.c: New file.
1798         * gdb.guile/scm-pretty-print.exp: New file.
1799         * gdb.guile/scm-pretty-print.scm: New file.
1800         * gdb.guile/scm-section-script.c: New file.
1801         * gdb.guile/scm-section-script.exp: New file.
1802         * gdb.guile/scm-section-script.scm: New file.
1803         * gdb.guile/scm-symbol.c: New file.
1804         * gdb.guile/scm-symbol.exp: New file.
1805         * gdb.guile/scm-symtab-2.c: New file.
1806         * gdb.guile/scm-symtab.c: New file.
1807         * gdb.guile/scm-symtab.exp: New file.
1808         * gdb.guile/scm-type.c: New file.
1809         * gdb.guile/scm-type.exp: New file.
1810         * gdb.guile/scm-value-cc.cc: New file.
1811         * gdb.guile/scm-value-cc.exp: New file.
1812         * gdb.guile/scm-value.c: New file.
1813         * gdb.guile/scm-value.exp: New file.
1814         * gdb.guile/source2.scm: New file.
1815         * gdb.guile/types-module.cc: New file.
1816         * gdb.guile/types-module.exp: New file.
1817
1818 2014-02-10  Yao Qi  <yao@codesourcery.com>
1819
1820         PR testsuite/16543
1821         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1822         * configure: Regenerated.
1823         * Makefile.in: New file.
1824
1825 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
1826
1827         * gdb.python/py-framefilter.exp: Fix typo.
1828
1829 2014-02-08  Yao Qi  <yao@codesourcery.com>
1830
1831         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1832         that no =breakpoint-modified is emitted when breakpoints are
1833         modified through MI commands.
1834
1835 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
1836             Pedro Alves  <palves@redhat.com>
1837
1838         * gdb.threads/step-after-sr-lock.c: New file.
1839         * gdb.threads/step-after-sr-lock.exp: New file.
1840
1841 2014-02-07  Pedro Alves  <palves@redhat.com>
1842
1843         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1844
1845 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1846
1847         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1848         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1849
1850 2014-02-06  Doug Evans  <xdje42@gmail.com>
1851
1852         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1853         output.
1854
1855         * gdb.gdb/python-interrupts.exp: New file.
1856
1857 2014-02-05  Yao Qi  <yao@codesourcery.com>
1858
1859         * gdb.trace/report.exp (use_collected_data): Test the output
1860         of "info threads" and "info inferiors".
1861
1862 2014-02-05  Yao Qi  <yao@codesourcery.com>
1863
1864         Revert this patch:
1865
1866         2013-05-24  Yao Qi  <yao@codesourcery.com>
1867
1868         * gdb.trace/tfile.exp: Test inferior and thread.
1869
1870 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1871
1872         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1873         on a function.
1874         * gdb.base/step-bt.c: Call hello via function pointer to make
1875         sure its first instruction is executed on powerpc64le-linux.
1876
1877 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1878
1879         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1880
1881 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1882
1883         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
1884         of the test patterns for use on little-endian systems.
1885
1886 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1887
1888         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1889         (decimal_vector): Fix for little-endian.
1890
1891 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
1892
1893         * gdb.arch/sparc-sysstep.exp: New file.
1894         * gdb.arch/sparc-sysstep.c: Likewise.
1895
1896         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1897
1898 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1899
1900         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1901
1902 2014-01-23  Tom Tromey  <tromey@redhat.com>
1903
1904         * gdb.ada/array_char_idx: New testcase.
1905
1906 2014-01-23  Tom Tromey  <tromey@redhat.com>
1907
1908         PR python/16487:
1909         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1910         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1911         classes.
1912
1913 2014-01-23  Tom Tromey  <tromey@redhat.com>
1914
1915         PR python/16491:
1916         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1917         string from an inferior frame.
1918         * gdb.python/py-framefilter-mi.exp: Update.
1919
1920 2014-01-22  Doug Evans  <dje@google.com>
1921
1922         * gdb.server/server-mon.exp: Add tests for "set debug-format".
1923
1924 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1925
1926         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1927
1928 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1929
1930         * gdb.trace/entry-values.exp: Remove excess space character from
1931         regex patterns.  Handle s390 call instruction.
1932
1933 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1934
1935         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1936         define "*_start" label.  Make "name" static.
1937         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1938         ${name} by references to ${name}_start.
1939
1940 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1941
1942         * gdb.base/info-macros.exp: Remove "debug" from the compile
1943         options.
1944
1945 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
1946
1947         * gdb.dlang/demangle.exp: New file.
1948
1949 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
1950
1951         * gdb.dlang/primitive-types.exp: New file.
1952
1953 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
1954
1955         * configure.ac: Create gdb.dlang/Makefile.
1956         * configure: Regenerate.
1957         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1958         * gdb.dlang/Makefile.in: New file.
1959         * lib/d-support.exp: New file.
1960         * lib/gdb.exp (skip_d_tests): New proc.
1961
1962 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1963
1964         * gdb.btrace/delta.exp: Check reverse stepi.
1965         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
1966         * gdb.btrace/finish.exp: New.
1967         * gdb.btrace/next.exp: New.
1968         * gdb.btrace/nexti.exp: New.
1969         * gdb.btrace/record_goto.c: Add comments.
1970         * gdb.btrace/step.exp: New.
1971         * gdb.btrace/stepi.exp: New.
1972         * gdb.btrace/multi-thread-step.c: New.
1973         * gdb.btrace/multi-thread-step.exp: New.
1974         * gdb.btrace/rn-dl-bind.c: New.
1975         * gdb.btrace/rn-dl-bind.exp: New.
1976         * gdb.btrace/data.c: New.
1977         * gdb.btrace/data.exp: New.
1978         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1979
1980 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1981
1982         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1983         * gdb.btrace/exception.exp: Update.
1984         * gdb.btrace/instruction_history.exp: Update.
1985         * gdb.btrace/record_goto.exp: Update.
1986         * gdb.btrace/tailcall.exp: Update.
1987         * gdb.btrace/unknown_functions.exp: Update.
1988         * gdb.btrace/delta.exp: New.
1989
1990 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1991
1992         * gdb.btrace/record_goto.exp: Add backtrace test.
1993         * gdb.btrace/tailcall.exp: Add backtrace test.
1994
1995 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1996
1997         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1998         * gdb.btrace/record_goto.c: New.
1999         * gdb.btrace/record_goto.exp: New.
2000         * gdb.btrace/x86-record_goto.S: New.
2001
2002 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
2003
2004         * gdb.btrace/function_call_history.exp: Update tests.
2005         * gdb.btrace/instruction_history.exp: Update tests.
2006
2007 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
2008
2009         * gdb.btrace/function_call_history.exp: Fix expected field
2010         order for "record function-call-history".
2011         Add new tests for "record function-call-history /c".
2012         * gdb.btrace/exception.cc: New.
2013         * gdb.btrace/exception.exp: New.
2014         * gdb.btrace/tailcall.exp: New.
2015         * gdb.btrace/x86-tailcall.S: New.
2016         * gdb.btrace/x86-tailcall.c: New.
2017         * gdb.btrace/unknown_functions.c: New.
2018         * gdb.btrace/unknown_functions.exp: New.
2019         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2020
2021 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
2022
2023         * gdb.btrace/instruction_history.exp: Update.
2024         * gdb.btrace/function_call_history.exp: Update.
2025
2026 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
2027
2028         * gdb.btrace/function_call_history.exp: Fix expected function
2029         trace.
2030         * gdb.btrace/instruction_history.exp: Initialize traced.
2031         Remove traced_functions.
2032
2033 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
2034
2035         * gdb.btrace/function_call_history.exp: Update
2036         * gdb.btrace/instruction_history.exp: Update.
2037
2038 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
2039
2040         * gdb.btrace/enable.exp: Update expected text.
2041
2042 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
2043
2044         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2045         bytes.
2046
2047 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
2048
2049         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2050
2051 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
2052
2053         * lib/gdb.exp (supports_process_record): Return true for
2054         arm*-linux*.  (supports_reverse): Likewise.
2055
2056 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
2057
2058         PR python/15464
2059         PR python/16113
2060         * gdb.python/py-type.c: Enhance test case.
2061         * gdb.python/py-value-cc.cc: Likewise
2062         * gdb.python/py-type.exp: Add new tests.
2063         * gdb.python/py-value-cc.exp: Likewise
2064
2065 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2066             Pedro Alves <palves@redhat.com>
2067
2068         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2069         Make "name" extern.
2070         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2071         references to ${name}_start by references to ${name}.
2072
2073 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
2074
2075         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2076
2077 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
2078
2079         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2080
2081 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
2082             Pedro Alves  <palves@redhat.com>
2083
2084         * gdb.mi/mi-info-os.exp: Connect to the target with
2085         mi_gdb_target_load.
2086
2087 2014-01-08  Pedro Alves  <palves@redhat.com>
2088
2089         * gdb.threads/reconnect-signal.c: New file.
2090         * gdb.threads/reconnect-signal.exp: New file.
2091
2092 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2093
2094         * gdb.base/source-dir.exp: New file.
2095
2096 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
2097
2098         * gdb.ada/mi_interface: New testcase.
2099
2100 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
2101
2102         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2103         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2104         gdb.ada/pp-rec-component/pck.ads: New files.
2105
2106 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
2107
2108         * gdb.python/py-pp-integral.c: New file.
2109         * gdb.python/py-pp-integral.py: New file.
2110         * gdb.python/py-pp-integral.exp: New file.
2111
2112 For older changes see ChangeLog-1993-2013.
2113 \f
2114 ;; Local Variables:
2115 ;; mode: change-log
2116 ;; left-margin: 8
2117 ;; fill-column: 74
2118 ;; version-control: never
2119 ;; End:
2120
2121     Copyright 2014 Free Software Foundation, Inc.
2122   Copying and distribution of this file, with or without modification,
2123   are permitted provided the copyright notice and this notice are preserved.