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