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