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