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