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