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