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