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