Tweak the handling of $GDBHISTSIZE edge cases [PR gdb/16999]
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
2
3         PR gdb/16999
4         * gdb.base/gdbhistsize-history.exp: New test.
5
6 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
7
8         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9         with GDBHISTSIZE.
10         * gdb.base/readline.exp: Likewise.
11
12 2015-06-17  Yao Qi  <yao.qi@linaro.org>
13
14         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15         line.
16
17 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
18
19         * gdb.base/gdbinit-history.exp: Add test case to check that
20         an unlimited history file does not get truncated on exit.
21
22 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23
24         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
25         (VECTOR): New macro.  Use it...
26         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
27         ...for these typedefs.
28         (int8, char1, int1, double1): New typedefs.
29         (struct just_int2, struct two_int2): New structures.
30         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
31         (add_structvecs, add_singlevecs): New functions.
32         (main): Call add_some_intvecs twice.
33         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
34         the compile and exit upon failure.  Try compiling for the "native"
35         architecture.  Test inferior function calls with vector arguments
36         and vector return value handling with "finish" and "return".
37
38 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
39
40         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
41         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
42         PE file.
43         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
44
45 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
46
47         PR breakpoints/16465
48         * gdb.mi/mi-dprintf-pending.c: New file.
49         * gdb.mi/mi-dprintf-pending.exp: New test.
50         * gdb.mi/mi-dprintf-pendshr.c: New file.
51
52 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
53             Mircea Gherzan  <mircea.gherzan@intel.com>
54
55         * gdb.arch/i386-mpx-map.c: New file.
56         * gdb.arch/i386-mpx-map.exp: New File.
57
58 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
59
60         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
61         * gdb.arch/i386-mpx.exp: Indentation fixed.
62
63 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
64
65         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
66         function and improved indentation.
67         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
68         gdb_test_multiple. Added additional tests to skip the test.
69
70 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
71
72         * gdb.arch/i386-avx512.c: Change path in include file.
73         * gdb.arch/i386-avx512.exp: Change include dir path
74         compilation flag.
75         * gdb.arch/i386-mpx.c: Change path in include file.
76         * gdb.arch/i386-mpx.exp: Change include dir path compilation
77         flag.
78
79 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
80
81         * gdb.compile/compile-print.exp (compile print *vararray@3)
82         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
83
84 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
85
86         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
87         (do not keep jit in memory): ... this.
88         (expect 5): Change it to ...
89         (expect no 5): ... this.
90
91 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
92
93         PR gdb/15564
94         * gdb.mi/mi-detach.exp: New file.
95
96 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
97
98         PR symtab/18392
99         * gdb.arch/amd64-tailcall-self.S: New file.
100         * gdb.arch/amd64-tailcall-self.c: New file.
101         * gdb.arch/amd64-tailcall-self.exp: New file.
102
103 2015-05-28  Don Breazeal  <donb@codesourcery.com>
104
105         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
106         tests for remote targets by checking is_target_gdbserver.
107
108 2015-05-27  Doug Evans  <dje@google.com>
109
110         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
111         * gdb.dwarf2/opaque-type-lookup.c: New file.
112         * gdb.dwarf2/opaque-type-lookup.exp: New file.
113
114 2015-05-26  Doug Evans  <dje@google.com>
115
116         * gdb.cp/iostream.cc: New file.
117         * gdb.cp/iostream.exp: New file.
118
119 2015-05-26  Doug Evans  <dje@google.com>
120
121         * gdb.dwarf2/dw2-op-call.exp: Update.
122         * gdb.dwarf2/dw4-sig-types.exp: Update.
123         * gdb.dwarf2/implptr.exp: Update.
124         * gdb.mi/mi-cmd-param-changed.exp: Update.
125
126 2015-05-26  Doug Evans  <dje@google.com>
127
128         * gdb.python/py-lazy-string.c: New file.
129         * gdb.python/py-lazy-string.exp: New file.
130         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
131         (main): Update.  Add estring3.
132         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
133         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
134
135 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
136             Yao Qi  <yao.qi@linaro.org>
137
138         * gdb.reverse/aarch64.c: New.
139         * gdb.reverse/aarch64.exp: New.
140
141 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
142
143         * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
144         (supports_reverse): Likewise.
145
146 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
147
148         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
149         Use with_test_prefix.
150
151 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
152
153         * gdb.base/completion.exp: Add test for completion of layout
154         names.
155
156 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
157
158         * lib/gdb.exp (skip_tui_tests): New proc.
159         * gdb.base/tui-layout.exp: Check skip_tui_tests.
160
161 2015-05-19  Pedro Alves  <palves@redhat.com>
162
163         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
164         Save the whole env array instead of just HOME.  Unset HISTSIZE in
165         the environment while testing.  Restore whole environment
166         afterwards.
167
168 2015-05-16  Doug Evans  <xdje42@gmail.com>
169
170         * gdb.guile/scm-ports.c: New file.
171         * gdb.guile/scm-ports.exp: Add memory port tests.
172
173 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
174
175         * gdb.compile/compile-print.c: New file.
176         * gdb.compile/compile-print.exp: New file.
177
178 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
179
180         * gdb.compile/compile-ops.exp: Cast param to void.
181         * gdb.compile/compile.exp: Complete type for _gdb_expr.
182         (compile code struct_object.selffield = &struct_object): Add xfail.
183
184 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
185
186         * gdb.ada/arr_enum_with_gap: New testcase.
187
188 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
189
190         * gdb.ada/byte_packed_arr: New testcase.
191
192 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
193
194         * gdb.ada/pckd_neg: New testcase.
195
196 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
197
198         PR gdb/17820
199         * gdb.base/gdbinit-history.exp: New test.
200         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
201         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
202
203 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
204
205         * gdb.python/py-xmethods.cc: Enhance test case.
206         * gdb.python/py-xmethods.exp: New tests.
207         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
208         function.
209         (B_indexoper): Likewise.
210         (global_dm_list) : Add new xmethod worker functions.
211
212 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
213
214         * gdb.base/coredump-filter.exp: Correctly unset
215         "coredump_var_addr" array.
216
217 2015-05-08  Pedro Alves  <palves@redhat.com>
218
219         * gdb.server/non-existing-program.exp: Unset spawn_id.
220
221 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
222
223         PR python/18291
224         * gdb.python/py-xmethods.exp: Add tests.
225
226 2015-05-08  Yao Qi  <yao.qi@linaro.org>
227
228         PR gdb/18208
229         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
230         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
231         function set_coredump_filter, and remove remote_exec call.
232         Remove argument ipid.  Callers update.
233         (top level): Don't get inferior's PID.
234
235 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
236
237         * gdb.base/watch_thread_num.exp: Skip test on targets without
238         access watchpoints.
239
240 2015-05-06  Pedro Alves  <palves@redhat.com>
241
242         PR server/18081
243         * gdb.server/non-existing-program.exp: New file.
244
245 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
246
247         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
248
249 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
250
251         * gdb.ada/out_of_line_in_inlined: New testcase.
252
253 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
254
255         * gdb.ada/var_rec_arr: New testcase.
256
257 2015-04-30  Yao Qi  <yao.qi@linaro.org>
258
259         * gdb.base/break-idempotent.exp: If
260         skip_hw_watchpoint_multi_tests returns true, skip the tests
261         on "rwatch" and "awatch".
262
263 2015-04-30  Yao Qi  <yao.qi@linaro.org>
264
265         * gdb.base/relativedebug.exp: Invoke gdb command
266         "info sharedlibrary", and if libc.so doesn't have debug info,
267         skip the test.
268
269 2015-04-29  Doug Evans  <dje@google.com>
270
271         * gdb.python/py-xmethods.exp: Add ptype tests.
272         * gdb.python/py-xmethods.py (E_method_char_worker): Add
273         get_result_type method.
274
275 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
276
277         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
278         the target does not support hardware watchpoints.
279
280 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
281
282         * gdb.base/break-always.exp: Abort testing if writing to memory
283         causes an error.
284
285 2015-04-28  Doug Evans  <dje@google.com>
286
287         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
288         * gdb.python/py-pp-registration.exp: ... here.  New file.
289         * gdb.python/py-pp-registration.c: New file.
290         * gdb.python/py-pp-registration.py: New file.
291
292 2015-04-28  Doug Evans  <dje@google.com>
293
294         * gdb.python/py-bad-printers.c: New file.
295         * gdb.python/py-bad-printers.py: New file.
296         * gdb.python/py-bad-printers.exp: New file.
297
298 2015-04-28  Sasha Smundak  <asmundak@google.com>
299
300         * gdb.python/py-type.exp: New test.
301
302 2015-04-28  Andy Wingo  <wingo@igalia.com>
303
304         * gdb.python/py-parameter.exp:
305         * gdb.guile/scm-parameter.exp: Escape the path that we are
306         matching against, as it might contain characters that are special
307         to regular expressions.
308
309 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
310
311         * gdb.ada/rec_comp: New testcase.
312
313 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
314
315         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
316         before using it.
317
318 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
319
320         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
321         new tests for verilog output.
322
323 2015-04-24  Yao Qi  <yao.qi@linaro.org>
324
325         * boards/remote-gdbserver-on-localhost.exp: New file.
326
327 2015-04-23  Pedro Alves  <palves@redhat.com>
328
329         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
330         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
331         "end of file", remove $inferior_spawn_id from the indirect list.
332
333 2015-04-23  Pedro Alves  <palves@redhat.com>
334
335         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
336
337 2015-04-23  Pedro Alves  <palves@redhat.com>
338
339         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
340         on $any_spawn_id instead of only on $gdb_spawn_id.
341
342 2015-04-21  Pierre Muller  <muller@sourceware.org>
343
344         PR pascal/17815
345         * lib/pascal.exp (gpc_compile): Add new option "class".
346         (fpc_compile): Likewise.
347         * gdb.pascal/case-insensitive-symbols.pas: New file.
348         * gdb.pascal/case-insensitive-symbols.exp: New file.
349
350 2015-04-20  Gary Benson <gbenson@redhat.com>
351
352         * gdb.base/attach.exp: Fix three extended remote failures.
353
354 2015-04-17  Gary Benson <gbenson@redhat.com>
355
356         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
357         the main executable over the remote protocol.
358
359 2015-04-16  Pedro Alves  <palves@redhat.com>
360
361         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
362         a new gdbserver if gdbserver_reconnect_p is set.
363
364 2015-04-16  Pedro Alves  <palves@redhat.com>
365
366         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
367         is set, don't exit gdbserver.
368
369 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
370
371         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
372         appropriate .insn, such that an older assembler can be used.
373         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
374         the z/Architecture instruction set on 31-bit targets as well.
375
376 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
377
378         * gdb.go/handcall.exp: Remove all logic related to the first
379         breakpoint and rely on go_runto_main instead.
380         * gdb.go/strings.exp: Likewise.
381         * gdb.go/unsafe.exp: Likewise.
382         * gdb.go/hello.exp: Likewise.  Also rename the remaining
383         breakpoint marker to "breakpoint 1".
384         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
385         * gdb.go/strings.go: Likewise.
386         * gdb.go/unsafe.go: Likewise.
387         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
388         "set breakpoint 2 here" and rename the remaining breakpoint marker
389         to "breakpoint 1".
390
391 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
392
393         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
394         if itertools.imap is not present.
395         * gdb.python/py-objfile.exp: Add parentheses.
396         * gdb.python/py-type.exp: Same.
397         * gdb.python/py-unwind-maint.py: Same.
398
399 2015-04-15  Yao Qi  <yao.qi@linaro.org>
400
401         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
402         of ":$ptr_size" and set its form explicitly.
403
404 2015-04-15  Pedro Alves  <palves@redhat.com>
405             Yao Qi  <yao.qi@linaro.org>
406
407         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
408         timeout by factor of 4.
409         (test_regular_watch): Likewise.
410         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
411         * gdb.reverse/sigall-reverse.exp: Likewise.
412         * gdb.reverse/until-precsave.exp: Likewise.
413         * lib/gdb.exp (with_timeout_factor): New proc.
414         (gdb_expect): Move some code to ...
415         (get_largest_timeout): ... here.  New procedure.
416
417 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
418
419         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
420
421 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
422
423         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
424         to write to the .text section.
425
426 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
427
428         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
429         Handle the case of targets that do not provide PID information.
430
431 2015-04-13  Yao Qi  <yao.qi@linaro.org>
432
433         * lib/gdbserver-support.exp (gdb_exit): Catch exception
434         and use expect instead of gdb_expect.
435
436 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
437
438         * gdb.base/coredump-filter.exp: Rename variable "addr" to
439         "coredump_var_addr" to avoid naming conflict with other testcases.
440
441 2015-04-10  Pedro Alves  <palves@redhat.com>
442
443         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
444         gdb_test_sequence and gdb_assert.
445
446 2015-04-10  Pedro Alves  <palves@redhat.com>
447
448         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
449         test messages that don't include the breakpoint address.
450
451 2015-04-10  Yao Qi  <yao.qi@linaro.org>
452
453         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
454         false for some offset and width combinations which aren't
455         supported by linux kernel.
456
457 2015-04-10  Pedro Alves  <palves@redhat.com>
458
459         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
460         procedure, factored out from ...
461         (top level): ... here.  Add "set displaced-stepping" testing axis.
462         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
463         parameter "displaced".  Use it.
464         (top level): Use foreach and add "set displaced-stepping" testing
465         axis.
466
467 2015-04-10  Pedro Alves  <palves@redhat.com>
468
469         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
470         Remove comment.
471         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
472         both the address of the instruction that triggers the watchpoint
473         and the address of the instruction immediately after, and use
474         those addresses for the test.  Fix comment.
475
476 2015-04-10  Pedro Alves  <palves@redhat.com>
477
478         * gdb.base/sigstep.exp (breakpoint_to_handler)
479         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
480         Test "backtrace" in handler.
481         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
482         (top level): Add new "displaced" test axis to
483         breakpoint_to_handler, breakpoint_to_handler_entry and
484         breakpoint_over_handler.
485
486 2015-04-10  Pedro Alves  <palves@redhat.com>
487
488         PR gdb/18216
489         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
490
491 2015-04-10  Yao Qi  <yao.qi@linaro.org>
492
493         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
494         (test_add_rn_pc): New function.
495         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
496         (top level): Invoke test_add_rn_pc.
497
498 2015-04-10  Pedro Alves  <palves@redhat.com>
499
500         PR gdb/13858
501         * gdb.base/step-over-no-symbols.exp: New file.
502
503 2015-04-09  Andy Wingo  <wingo@igalia.com>
504
505         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
506         after the Python tests.
507
508 2015-04-08  Keith Seitz  <keiths@redhat.com>
509
510         PR python/16699
511         * gdb.python/py-completion.exp: New tests for completion.
512         * gdb.python/py-completion.py (CompleteLimit1): New class.
513         (CompleteLimit2): Likewise.
514         (CompleteLimit3): Likewise.
515         (CompleteLimit4): Likewise.
516         (CompleteLimit5): Likewise.
517         (CompleteLimit6): Likewise.
518         (CompleteLimit7): Likewise.
519
520 2015-04-08  Pedro Alves  <palves@redhat.com>
521
522         PR gdb/18214
523         PR gdb/18216
524         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
525         function.
526         (main): Install it as SIGUSR1 handler.
527         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
528         parameter.  Always use "setup" as prefix.  Toggle "set
529         displaced-stepping" off/on depending on global.  Don't switch to
530         thread 1 here.
531         (top level): Add displaced stepping "off/on" test axis.  Update
532         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
533         continuing with a queued signal in each thread.
534
535 2015-04-08  Pedro Alves  <palves@redhat.com>
536
537         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
538         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
539         gdb_breakpoint instead of gdb_test that doesn't expect anything.
540         Return early if running to main fails.
541         * gdb.trace/while-stepping.exp: Likewise.
542
543 2015-04-07  Pedro Alves  <palves@redhat.com>
544
545         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
546         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
547         interact with inferior program.
548
549 2015-04-07  Pedro Alves  <palves@redhat.com>
550
551         * lib/gdb.exp (inferior_spawn_id): New global.
552         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
553         spawn id after processing the user code.
554         (default_gdb_start): Set inferior_spawn_id.
555         (send_inferior): New procedure.
556         * lib/gdbserver-support.exp (gdbserver_start): Set
557         inferior_spawn_id.
558         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
559
560 2015-04-07  Pedro Alves  <palves@redhat.com>
561
562         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
563         * lib/gdbserver-support.exp (gdbserver_start): Make
564         $server_spawn_id global.
565         (gdbserver_start): Don't wait for gdbserver's spawn id with
566         expect_background.
567         (close_gdbserver): New procedure.
568         (gdb_exit): Rename the default version and reimplement.
569
570 2015-04-07  Pedro Alves  <palves@redhat.com>
571
572         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
573         append the substituted item, not the original item.
574
575 2015-04-07  Pedro Alves  <palves@redhat.com>
576
577         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
578         gdb_expect.
579
580 2015-04-07  Pedro Alves  <palves@redhat.com>
581
582         * gdb.base/interrupt.exp: Don't handle the case of the inferior
583         output appearing once only.
584
585 2015-04-07  Pedro Alves  <palves@redhat.com>
586
587         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
588         that doesn't expect anything.  Return early if running to main
589         fails.
590
591 2015-04-07  Yao Qi  <yao.qi@linaro.org>
592
593         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
594         (child_function): Call alarm.
595         (main): Move call to alarm into the loop.
596         * gdb.threads/non-stop-fair-events.exp: Build program with
597         -DTIMEOUT=$timeout.
598
599 2015-04-06  Doug Evans  <xdje42@gmail.com>
600
601         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
602         Fix dest parameter to board_info.
603         (fpc_compile): Ditto.
604         (gdb_compile_pascal): Rename dest arg to destfile.
605
606 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
607
608         * gdb.ada/funcall_ref.exp: New file.
609         * gdb.ada/funcall_ref/foo.adb: New file.
610
611 2015-04-02  Yao Qi  <yao.qi@linaro.org>
612
613         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
614         is remote.
615
616 2015-04-02  Gary Benson <gbenson@redhat.com>
617
618         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
619
620 2015-04-01  Sasha Smundak  <asmundak@google.com>
621
622         * gdb.python/py-unwind-maint.c: New file.
623         * gdb.python/py-unwind-maint.exp: New test.
624         * gdb.python/py-unwind-maint.py: New file.
625         * gdb.python/py-unwind.c: New file.
626         * gdb.python/py-unwind.exp: New test.
627         * gdb.python/py-unwind.py: New test.
628
629 2015-04-01  Pedro Alves  <palves@redhat.com>
630
631         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
632         to fail instead of non-existent $test.
633
634 2015-04-01  Pedro Alves  <palves@redhat.com>
635
636         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
637         GDBFLAGS if not empty.
638
639 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
640
641         * gdb.ada/complete.exp: Remove "multi_line".
642         * gdb.ada/info_exc.exp: Remove "multi_line".
643         * gdb.ada/packed_tagged.exp: Remove "multi_line".
644         * gdb.ada/ptype_field.exp: Remove "multi_line".
645         * gdb.ada/sym_print_name.exp: Remove "multi_line".
646         * gdb.ada/tagged.exp: Remove "multi_line".
647         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
648         [multi_line ...]
649         * gdb.btrace/delta.exp: Likewise.
650         * gdb.btrace/exception.exp: Likewise.
651         * gdb.btrace/function_call_history.exp: Likewise.
652         * gdb.btrace/instruction_history.exp: Likewise.
653         * gdb.btrace/nohist.exp: Likewise.
654         * gdb.btrace/record_goto.exp: Likewise.
655         * gdb.btrace/segv.exp: Likewise.
656         * gdb.btrace/stepi.exp: Likewise.
657         * gdb.btrace/tailcall.exp: Likewise.
658         * gdb.btrace/unknown_functions.exp: Likewise.
659         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
660         * lib/gdb.exp: Add the "multi_line" helper.
661
662 2015-04-01  Pedro Alves  <palves@redhat.com>
663
664         * gdb.threads/tid-reuse.c: New file.
665         * gdb.threads/tid-reuse.exp: New file.
666
667 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
668
669         PR corefiles/16092
670         * gdb.base/coredump-filter.c: New file.
671         * gdb.base/coredump-filter.exp: Likewise.
672
673 2015-03-27  Petr Machata  <pmachata@redhat.com>
674
675         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
676         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
677         (Dwarf::assemble): Initialize them.
678         (Dwarf::lines): New function.
679
680 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
681
682         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
683         SYMBOL_PREFIX for x86_64-*-cygwin.
684
685 2015-03-26  Andy Wingo  <wingo@igalia.com>
686
687         PR symtab/18148
688         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
689         const_value but not a location.
690         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
691         location defined in non-main CUs are visible.
692
693 2015-03-26  Yao Qi  <yao.qi@linaro.org>
694
695         PR testsuite/18139
696         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
697         Add a line number entry for the same line.
698         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
699         Add a line number entry for the same line.
700
701 2015-03-26  Yao Qi  <yao.qi@linaro.org>
702
703         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
704         .int 0.
705         (func): Likewise.  Add .Lfunc_1 label.
706         Use .Lfunc_1 label.
707         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
708         .int 0.
709         (func): Likewise.
710         Use .Lfunc_1 label.
711
712 2015-03-26  Yao Qi  <yao.qi@linaro.org>
713
714         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
715         Call gdb_compile instead to compile each .s files without debug
716         information.
717
718 2015-03-26  Yao Qi  <yao.qi@linaro.org>
719
720         * gdb.base/savedregs.exp (process_saved_regs): Make
721         "Saved registers:" optional in the pattern.
722
723 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
724
725         * gdb.btrace/next.exp: Merged into step.exp.
726         * gdb.btrace/finish.exp: Merged into step.exp.
727         * gdb.btrace/nexti.exp: Merged into stepi.exp.
728         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
729         "record goto" and checking the exact replay position.
730         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
731         check for "Recording format" in "info record" output.
732         * gdb.btrace/record_goto.exp: Choose test file based on target.
733         * gdb.btrace/x86-record_goto.S: Renamed into ...
734         * gdb.btrace/x86_64-record_goto.S: ... this.
735         * gdb.btrace/i686-record_goto.S: New.
736         * gdb.btrace/x86-tailcall.S: Renamed into ...
737         * gdb.btrace/x86_64-tailcall.S: ... this.
738         * gdb.btrace/i686-tailcall.S: New.
739         * gdb.btrace/x86-tailcall.c: Renamed into ...
740         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
741         separate statements.  Update test.
742         * gdb.btrace/delta.exp: Use record_goto.c as test file.
743         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
744         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
745         * gdb.btrace/tailcall.exp: Choose test file based on target.
746         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
747
748 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
749
750         * gdb.btrace/exception.exp: Increase BTS buffer size.
751
752 2015-03-24  Pedro Alves  <palves@redhat.com>
753
754         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
755
756 2015-03-24  Pedro Alves  <palves@redhat.com>
757
758         * gdb.threads/schedlock.exp (test_step): No longer expect that
759         "set scheduler-locking step" with "next" over a function call runs
760         threads unlocked.
761
762 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
763
764         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
765
766 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
767
768         PR breakpoints/16466
769         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
770         * gdb.mi/mi-pending.c (thread_func): New function.
771         (int main): Add threading support required.
772         * gdb.mi/mi-pending.exp: Add tests for this issue.
773         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
774         (pendfunc2): Remove stdio dependency.
775         * gdb.mi/mi-pendshr2.c: New file.
776
777 2015-03-23  Keith Seitz  <keiths@redhat.com>
778
779         * gdb.linespec/keywords.c: New file.
780         * gdb.linespec/keywords.exp: New file.
781
782 2015-03-23  Keith Seitz  <keiths@redhat.com>
783
784         PR gdb/18021
785         * gdb.dwarf2/staticvirtual.exp: New test.
786
787 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
788
789         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
790         * README: Remove HP-UX and gdb.hp.
791         (configuration):
792         * configure: Regenerate.
793         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
794         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
795         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
796         gdb.hp/gdb.defects/Makefile.
797         * gdb.hp/Makefile.in: File deleted.
798         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
799         * gdb.hp/gdb.aCC/optimize.c: File deleted.
800         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
801         * gdb.hp/gdb.aCC/run.c: File deleted.
802         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
803         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
804         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
805         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
806         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
807         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
808         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
809         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
810         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
811         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
812         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
813         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
814         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
815         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
816         * gdb.hp/gdb.base-hp/reg.s: File deleted.
817         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
818         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
819         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
820         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
821         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
822         * gdb.hp/gdb.compat/Makefile.in: File deleted.
823         * gdb.hp/gdb.compat/average.c: File deleted.
824         * gdb.hp/gdb.compat/sum.c: File deleted.
825         * gdb.hp/gdb.compat/xdb.c: File deleted.
826         * gdb.hp/gdb.compat/xdb0.c: File deleted.
827         * gdb.hp/gdb.compat/xdb0.h: File deleted.
828         * gdb.hp/gdb.compat/xdb1.c: File deleted.
829         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
830         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
831         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
832         * gdb.hp/gdb.defects/Makefile.in: File deleted.
833         * gdb.hp/gdb.defects/bs14602.c: File deleted.
834         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
835         * gdb.hp/gdb.defects/solib-d.c: File deleted.
836         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
837         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
838         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
839         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
840         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
841         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
842         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
843         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
844         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
845         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
846         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
847         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
848         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
849         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
850         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
851         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
852         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
853         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
854         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
855         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
856         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
857         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
858         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
859         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
860         * gdb.hp/tools/odump: File deleted.
861
862 2015-03-19  Pedro Alves  <palves@redhat.com>
863
864         * gdb.threads/continue-pending-status.exp (saw_thread_2)
865         (saw_thread_3): New globals.
866         (top level): Increment them when an event for the corresponding
867         thread is seen.
868         (no thread starvation): New test.
869
870 2015-03-19  Pedro Alves  <palves@redhat.com>
871
872         * gdb.threads/continue-pending-status.c: New file.
873         * gdb.threads/continue-pending-status.exp: New file.
874
875 2015-03-18  Pedro Alves  <palves@redhat.com>
876
877         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
878         Use gdb_is_target_remote instead of is_remote.  Use
879         gdb_test_multiple instead of gdb_expect.  Exit early if
880         gdb_test_multiple hits its internal matches.  Tighten stepi tests
881         expected output.  Fail on exit with any signal, instead of just
882         SIGILL.
883
884 2015-03-18  Yao Qi  <yao.qi@linaro.org>
885
886         PR tdep/18107
887         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
888         variable.
889         * gdb.base/catch-syscall.exp: Don't skip it on
890         aarch64*-*-linux* target.  Remove elements in all_syscalls.
891         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
892         target.
893         (setup_all_syscalls): New proc.
894
895 2015-03-16  Yao Qi  <yao.qi@linaro.org>
896
897         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
898         (top level): Skip tests if valid_addr_p returns false for
899         $cmd1 or $cmd2.
900
901 2015-03-11  Andy Wingo  <wingo@igalia.com>
902
903         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
904
905 2015-03-11  Yao Qi  <yao.qi@linaro.org>
906
907         * gdb.base/catch-syscall.exp: Fix typo in comments.
908
909 2015-03-11  Yao Qi  <yao.qi@linaro.org>
910
911         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
912
913 2015-03-09  Pedro Alves  <palves@redhat.com>
914
915         * dg-extract-results.py: Delete.
916
917 2015-03-09  Pedro Alves  <palves@redhat.com>
918
919         Merge dg-extract-results.sh from GCC upstream (r218843).
920
921         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
922                 * dg-extract-results.sh: Use --text with grep to avoid issues with
923                 binary files.  Fall back to cat -v, if that doesn't work.
924
925 2015-03-05  Pedro Alves  <palves@redhat.com>
926
927         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
928
929 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
930
931         * lib/mi-support.exp (mi_expect_interrupt): Accept
932         alternative event for when in all-stop mode.
933
934 2015-03-04  Pedro Alves  <palves@redhat.com>
935
936         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
937
938 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
939
940         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
941
942 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
943
944         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
945         regexps for GDB's current line display, accept a hex address
946         preceding the line number.
947
948 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
949
950         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
951         the 'arch1' variable for "s390*-linux*" targets.
952
953 2015-03-04  Pedro Alves  <palves@redhat.com>
954
955         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
956         (main): Pass missing retval argument to pthread_join call.
957
958 2015-03-02  Pedro Alves  <palves@redhat.com>
959
960         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
961         (top level): Call do_test with non-stop as well.
962
963 2015-03-02  Pedro Alves  <palves@redhat.com>
964
965         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
966         -1.
967
968 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
969
970         * gdb.arch/s390-vregs.exp: New test.
971         * gdb.arch/s390-vregs.S: New file.
972
973 2015-02-27  Pedro Alves  <palves@redhat.com>
974
975         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
976         call to catch_command_errors.
977         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
978         catch_command_errors.
979
980 2015-02-27  Pedro Alves  <palves@redhat.com>
981
982         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
983         "true" for boolean result.
984         * gdb.gdb/selftest.exp (test_with_self): Also accept full
985         prototype of main.
986
987 2015-02-27  Pedro Alves  <palves@redhat.com>
988
989         * lib/unbuffer_output.c: New file.
990         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
991         (main): Call gdb_unbuffer_output.
992
993 2015-02-27  Yao Qi  <yao.qi@linaro.org>
994
995         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
996         target.
997
998 2015-02-26  Doug Evans  <dje@google.com>
999
1000         * gdb.cp/class2.cc (Dbase, D): New classes.
1001         (main): New local delta.
1002         * gdb.cp/class2.exp: Test printing delta.
1003         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1004         (dynbar): New global.
1005         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1006
1007 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1008
1009         * gdb.compile/compile-ifunc.c: New file.
1010         * gdb.compile/compile-ifunc.exp: New file.
1011
1012 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
1013
1014         * gdb.base/structs.exp: Check for correct struct on finish.
1015
1016 2015-02-26  Yao Qi  <yao.qi@linaro.org>
1017
1018         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1019         is zero.
1020
1021 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1022
1023         * gdb.arch/cordic.ko.bz2: New file.
1024         * gdb.arch/cordic.ko.debug.bz2: New file.
1025         * gdb.arch/ppc64-symtab-cordic.exp: New file.
1026
1027 2015-02-25  Yao Qi  <yao.qi@linaro.org>
1028
1029         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1030         aarch64*-*-* target.
1031
1032 2015-02-23  Pedro Alves  <palves@redhat.com>
1033
1034         * lib/gdb.exp (delete_breakpoints): Rewrite using
1035         gdb_test_multiple.
1036
1037 2015-02-23  Pedro Alves  <palves@redhat.com>
1038
1039         * gdb.base/info-os.c: Include stdlib.h.
1040
1041 2015-02-22  Doug Evans  <xdje42@gmail.com>
1042
1043         PR symtab/17855
1044         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1045         is read after symbols have been re-read.
1046         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1047         * gdb.ada/exec_changed/second.adb (Second): Ditto.
1048
1049 2015-02-21  Doug Evans  <dje@google.com>
1050
1051         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1052
1053 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
1054
1055         PR corefiles/17808
1056         * gdb.arch/i386-biarch-core.core.bz2: New file.
1057         * gdb.arch/i386-biarch-core.exp: New file.
1058
1059 2015-02-21  Pedro Alves  <palves@redhat.com>
1060
1061         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1062         runto_main fails.
1063
1064 2015-02-20  Pedro Alves  <palves@redhat.com>
1065
1066         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1067         info probes.
1068
1069 2015-02-20  Pedro Alves  <palves@redhat.com>
1070
1071         * gdb.threads/multi-create-ns-info-thr.exp: New file.
1072
1073 2015-02-20  Pedro Alves  <palves@redhat.com>
1074
1075         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
1076         clean_restart before gdb_target_supports_trace.
1077
1078 2015-02-20  Pedro Alves  <palves@redhat.com>
1079
1080         PR threads/18006
1081         * gdb.threads/clone-thread_db.c: New file.
1082         * gdb.threads/clone-thread_db.exp: New file.
1083
1084 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
1085
1086         PR breakpoints/16812
1087         * gdb.base/catch-gdb-caused-signals.c: New file.
1088         * gdb.base/catch-gdb-caused-signals.exp: New file.
1089
1090 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
1091
1092         * configure: Regenerated.
1093         * configure.ac: Use GDB_AC_TRANSFORM.
1094         * aclocal.m4: sinclude ../transform.m4.
1095
1096 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1097
1098         * lib/dtrace.exp: New file.
1099         * gdb.base/dtrace-probe.exp: Likewise.
1100         * gdb.base/dtrace-probe.d: Likewise.
1101         * gdb.base/dtrace-probe.c: Likewise.
1102         * lib/pdtrace.in: Likewise.
1103         * configure.ac: Output variables with the transformed names of
1104         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
1105         * configure: Regenerated.
1106
1107 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1108
1109         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1110         expected message when trying to access $_probe_* convenience
1111         variables while not on a probe.
1112
1113 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1114
1115         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1116
1117 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
1118
1119         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1120         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1121
1122 2015-02-10  Doug Evans  <xdje42@gmail.com>
1123
1124         * lib/gdb.exp (gdb_load): Always return a result.
1125
1126 2015-02-10  Pedro Alves  <palves@redhat.com>
1127
1128         * gdb.threads/signal-sigtrap.c: New file.
1129         * gdb.threads/signal-sigtrap.exp: New file.
1130
1131 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
1132
1133         * gdb.trace/no-attach-trace.c: New file.
1134         * gdb.trace/no-attach-trace.exp: New file.
1135
1136 2015-02-09  Mark Wielaard  <mjw@redhat.com>
1137
1138         * gdb.dwarf2/atomic.c: New file.
1139         * gdb.dwarf2/atomic-type.exp: Likewise.
1140
1141 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1142
1143         * gdb.btrace/buffer-size.exp: Update "info record" output.
1144         * gdb.btrace/delta.exp: Update "info record" output.
1145         * gdb.btrace/enable.exp: Update "info record" output.
1146         * gdb.btrace/finish.exp: Update "info record" output.
1147         * gdb.btrace/instruction_history.exp: Update "info record" output.
1148         * gdb.btrace/next.exp: Update "info record" output.
1149         * gdb.btrace/nexti.exp: Update "info record" output.
1150         * gdb.btrace/step.exp: Update "info record" output.
1151         * gdb.btrace/stepi.exp: Update "info record" output.
1152         * gdb.btrace/nohist.exp: Update "info record" output.
1153
1154 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1155
1156         * gdb.btrace/buffer-size: New.
1157
1158 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1159
1160         * gdb.btrace/delta.exp: Update "info record" output.
1161         * gdb.btrace/enable.exp: Update "info record" output.
1162         * gdb.btrace/finish.exp: Update "info record" output.
1163         * gdb.btrace/instruction_history.exp: Update "info record" output.
1164         * gdb.btrace/next.exp: Update "info record" output.
1165         * gdb.btrace/nexti.exp: Update "info record" output.
1166         * gdb.btrace/step.exp: Update "info record" output.
1167         * gdb.btrace/stepi.exp: Update "info record" output.
1168         * gdb.btrace/nohist.exp: Update "info record" output.
1169
1170 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
1171
1172         PR gdb/15678
1173         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1174
1175 2015-02-06  Pedro Alves  <palves@redhat.com>
1176
1177         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1178         macro.
1179         (seconds_left, again): New globals.
1180         (main): Wait seconds_left in a 1-second sleep loop instead of
1181         sleeping 180 seconds.  If 'again' is set, reset the seconds
1182         counter.
1183         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1184         'again' in the inferior before detaching.  Print the seconds left.
1185         (options): New global.
1186         (top level): Build program with -DTIMEOUT=$timeout.
1187
1188 2015-02-06  Pedro Alves  <palves@redhat.com>
1189
1190         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1191         determine how many seconds to pass to 'alarm'.
1192         * gdb.base/gdb-sigterm.exp (top level): Build program with
1193         -DTIMEOUT=$timeout.
1194         (do_test): Return success/failure indication.  Add more verbose
1195         logging.  Don't fail if 200 single steps are seen.  Instead, fail
1196         when the test times out.
1197         (passes): New global.
1198         (top level): Break the testing loop if testing fails on any
1199         iteration.  Use gdb_assert.
1200
1201 2015-02-04  Don Breazeal  <donb@codesourcery.com>
1202
1203         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1204         and initialize them.
1205         (ipc_cleanup): New function.
1206         (main): Don't declare shmid, semid, and msqid.  Add a call to
1207         atexit so that we call ipc_cleanup on exit.
1208
1209 2015-02-04  Pedro Alves  <palves@redhat.com>
1210
1211         * boards/native-extended-gdbserver.exp: Remove any target variant
1212         specifications from the board name before clearing the isremote
1213         flag from board_info.
1214
1215 2015-01-31  Doug Evans  <xdje42@gmail.com>
1216
1217         * gdb.base/maint.exp <maint print type argc>: Update expected output.
1218
1219 2015-01-31  Gary Benson <gbenson@redhat.com>
1220
1221         * gdb.base/completion.exp: Disable completion limiting for
1222         existing tests.  Add new tests to check completion limiting.
1223         * gdb.linespec/ls-errs.exp: Disable completion limiting.
1224
1225 2015-01-31  Doug Evans  <xdje42@gmail.com>
1226
1227         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1228
1229 2015-01-31  Doug Evans  <xdje42@gmail.com>
1230
1231         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1232         entries.  Duplicate file section script entries.
1233         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1234         inlined entries.  Add test for safe-path rejection.
1235         * gdb.python/py-section-script.c: Add duplicate inlined section script
1236         entries.  Duplicate file section script entries.
1237         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1238         inlined entries.  Add test for safe-path rejection.
1239
1240 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
1241
1242         * gdb.ada/disc_arr_bound: New testcase.
1243
1244 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
1245
1246         * gdb.ada/mi_var_array: New testcase.
1247
1248 2015-01-27  Doug Evans  <dje@google.com>
1249
1250         * gdb.python/py-objfile.exp: Add tests for objfile.username.
1251         Add test for objfile.filename, objfile.username after objfile
1252         has been unloaded.
1253
1254 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
1255
1256         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1257         the second test to print the name attribute of value
1258         returned by the call to gdb.lookup_type, and adjust
1259         the expected output accordingly.
1260
1261 2015-01-25  Mark Wielaard  <mjw@redhat.com>
1262
1263         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1264         * gdb.base/disp-step-fork.c: Include unistd.h.
1265         * gdb.base/siginfo-obj.c: Include stdio.h.
1266         * gdb.base/siginfo-thread.c: Likewise.
1267         * gdb.mi/non-stop.c: Include unistd.h.
1268         * gdb.mi/nsthrexec.c: Include stdio.h.
1269         * gdb.mi/pthreads.c: Include unistd.h.
1270         * gdb.modula2/unbounded1.c (main): Declare returns int.
1271         * gdb.reverse/consecutive-reverse.c: Likewise.
1272         * gdb.threads/create-fail.c: Include unistd.h.
1273         * gdb.threads/killed.c: Likewise.
1274         * gdb.threads/linux-dp.c: Likewise.
1275         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1276         * gdb.threads/non-ldr-exc-2.c: Likewise.
1277         * gdb.threads/non-ldr-exc-3.c: Likewise.
1278         * gdb.threads/non-ldr-exc-4.c: Likewise.
1279         * gdb.threads/pthreads.c: Include unistd.h.
1280         (main): Declare returns int.
1281         * gdb.threads/tls-main.c (foo): New declaration.
1282         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1283
1284 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
1285
1286         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1287         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1288
1289 2015-01-15  Mark Wielaard  <mjw@redhat.com>
1290
1291         * gdb.base/noreturn-return.c: New file.
1292         * gdb.base/noreturn-return.exp: New file.
1293         * gdb.base/noreturn-finish.c: New file.
1294         * gdb.base/noreturn-finish.exp: New file.
1295
1296 2015-01-23  Pedro Alves  <palves@redhat.com>
1297
1298         * gdb.threads/continue-pending-after-query.c: New file.
1299         * gdb.threads/continue-pending-after-query.exp: New file.
1300
1301 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
1302             Simon Marchi  <simon.marchi@ericsson.com>
1303
1304         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1305         * gdb.base/valgrind-db-attach.exp: Same.
1306         * gdb.base/valgrind-infcall.exp: Same.
1307         * lib/mi-support.exp (default_mi_gdb_start): Same.
1308         * lib/prompt.exp (default_prompt_gdb_start): Same.
1309         * lib/gdb.exp (default_gdb_spawn): Same.
1310         (gdb_interact): New.
1311
1312
1313 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1314
1315         * gdb.compile/compile.exp (pointer to jit function): New test.
1316
1317 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
1318
1319         * lib/gdb.exp (supports_process_record): Return true for
1320         powerpc*-*-linux*.
1321         (supports_reverse): Likewise.
1322
1323 2015-01-15  Don Breazeal  <donb@codesourcery.com>
1324
1325         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1326         instead of checking whether the target board is remote and
1327         use spawn_wait_for_attach instead of exec/sleep.
1328         * gdb.base/attach-twice.exp: Likewise.
1329
1330 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
1331
1332         * gdb.ada/var_arr_attrs: New testcase.
1333
1334 2015-01-14  Pedro Alves  <palves@redhat.com>
1335             Joel Brobecker  <brobecker@adacore.com>
1336
1337         PR gdb/17525
1338         * gdb.base/bp-cmds-execution-x-script.c: New file.
1339         * gdb.base/bp-cmds-execution-x-script.exp: New file.
1340         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1341
1342 2015-01-14  Pedro Alves  <palves@redhat.com>
1343
1344         PR cli/17828
1345         * gdb.base/batch-preserve-term-settings.c: New file.
1346         * gdb.base/batch-preserve-term-settings.exp: New file.
1347
1348 2015-01-13  Doug Evans  <dje@google.com>
1349
1350         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1351         binary.
1352
1353 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1354
1355         * Makefile.in (clean mostlyclean): Do not delete *.py.
1356
1357 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
1358
1359         * gdb.python/py-lookup-type.exp: New file.
1360
1361 2015-01-12  Pedro Alves  <palves@redhat.com>
1362
1363         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1364         restore GDBFLAGS before returning.
1365
1366 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1367
1368         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1369         is_amd64_regs_target and is_x86_like_target.
1370
1371 2015-01-11  Doug Evans  <xdje42@gmail.com>
1372
1373         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1374         is given without an explicit form.
1375         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1376         attributes.
1377         * gdb.dwarf/corrupt.exp: Ditto.
1378         * gdb.dwarf2/enum-type.exp: Ditto.
1379         * gdb.trace/entry-values.exp: Ditto.
1380         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1381
1382 2015-01-11  Doug Evans  <xdje42@gmail.com>
1383
1384         PR gdb/15830
1385         * gdb.base/maint.exp: Remove references to "maint demangle".
1386         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
1387         Add tests for explicitly specifying language to demangle.
1388         * gdb.dlang/demangle.exp: Ditto.
1389
1390 2015-01-09  Pedro Alves  <palves@redhat.com>
1391
1392         * gdb.threads/non-stop-fair-events.c: New file.
1393         * gdb.threads/non-stop-fair-events.exp: New file.
1394
1395 2015-01-09  Pedro Alves  <palves@redhat.com>
1396
1397         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1398         the global scope.  Set a breakpoint after all threads are started
1399         rather than stepping over two source lines.  Expect the prompt.
1400         * gdb.base/watch_thread_num.c (threads_started_barrier): New
1401         global.
1402         (NUM): Now 15.
1403         (main): Use threads_started_barrier to wait for all threads to
1404         start.  Main thread no longer calls thread_function.  Exit after
1405         180 seconds.
1406         (loop): New function.
1407         (thread_function): Wait on threads_started_barrier barrier.  Call
1408         'loop' at each iteration.
1409         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1410         threads have started, instead of hardcoding number of "next"
1411         steps.  Use an access watchpoint instead of a write watchpoint.
1412
1413 2015-01-09  Pedro Alves  <palves@redhat.com>
1414
1415         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1416         (thread_func): Wait on barrier.
1417         (main): Wait for all threads to start before stopping GDB.
1418         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1419         global.
1420         (thread1_func, thread2_func): Wait on barrier.
1421         (main): Wait for all threads to start before stopping GDB.
1422         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1423         New global.
1424         (thread1_func, thread2_func): Wait on barrier.
1425         (main): Wait for all threads to start before stopping GDB.
1426
1427 2015-01-09  Pedro Alves  <palves@redhat.com>
1428
1429         * gdb.threads/attach-many-short-lived-threads.c: New file.
1430         * gdb.threads/attach-many-short-lived-threads.exp: New file.
1431
1432 2014-01-09  Pedro Alves  <palves@redhat.com>
1433
1434         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1435         instead of to thread 2.
1436         * gdb.threads/signal-command-multiple-signals-pending.c (main):
1437         Add barrier around each pthread_create call instead of around all
1438         calls.
1439         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1440         Set a break on thread_function and have the child threads hit it
1441         one at at a time.
1442
1443 2015-01-09  Pedro Alves  <palves@redhat.com>
1444
1445         * lib/gdb.exp (can_spawn_for_attach): New procedure.
1446         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1447         false.
1448         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1449         checking whether the target board is remote.
1450         * gdb.multi/multi-attach.exp: Likewise.
1451         * gdb.python/py-sync-interp.exp: Likewise.
1452         * gdb.server/ext-attach.exp: Likewise.
1453         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1454         tests that need to attach, instead of checking whether the target
1455         board is remote at the top of the file.
1456
1457 2015-01-08  Yao Qi  <yao@codesourcery.com>
1458
1459         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1460
1461 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1462
1463         Fix testcase compilation.
1464         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1465
1466 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
1467
1468         * gdb.python/py-type.exp: Add a couple test about empty
1469         array creation, and negative-length array creation.
1470
1471 2015-01-02  Doug Evans  <xdje42@gmail.com>
1472
1473         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1474
1475 2015-01-02  Doug Evans  <dje@google.com>
1476
1477         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1478
1479 2014-12-29  Yao Qi  <yao@codesourcery.com>
1480
1481         * gdb.trace/entry-values.exp: Update comments.  Rename variable
1482         bar_call_foo to returned_from_foo.
1483
1484 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
1485
1486         PR gdb/17394
1487         * gdb.linespec/break-asm-file.c: New file.
1488         * gdb.linespec/break-asm-file.exp: New file.
1489         * gdb.linespec/break-asm-file0.s: New file.
1490         * gdb.linespec/break-asm-file1.s: New file.
1491
1492 2014-12-18  Nigel Stephens  <nigel@mips.com>
1493             Maciej W. Rozycki  <macro@codesourcery.com>
1494
1495         * gdb.base/float.exp: Handle the new output from "info float" on
1496         MIPS targets.
1497
1498 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1499
1500         Fix MinGW compilation.
1501         * gdb.compile/compile-ops.exp: Update untested message if
1502         !skip_compile_feature_tests.
1503         * gdb.compile/compile-setjmp.exp: Likewise.
1504         * gdb.compile/compile-tls.exp: Likewise.
1505         * gdb.compile/compile.exp: Likewise.
1506         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1507         supported on this host".
1508
1509 2014-12-16  Doug Evans  <xdje42@gmail.com>
1510
1511         * boards/stabs.exp: New file.
1512
1513 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1514
1515         * gdb.base/completion.exp: Adjust to format changes of "maint
1516         print user-registers".
1517
1518 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
1519
1520         PR server/17457
1521         * gdb.arch/aarch64-fp.c: New file.
1522         * gdb.arch/aarch64-fp.exp: New file.
1523
1524 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1525
1526         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1527         r210637, r210913, r211666, r215400, r215817).
1528
1529         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
1530                 * dg-extract-results.py: New file.
1531                 * dg-extract-results.sh: Use it if the environment seems
1532                 suitable.
1533
1534         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
1535
1536                 * dg-extract-results.py (parse_run): Handle warnings that
1537                 are printed before a test harness is run.
1538
1539         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
1540
1541                 * dg-extract-results.py (Named): Remove __cmp__ method.
1542                 (output_variation): Use a key to sort variation.harnesses.
1543
1544         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
1545
1546                 * dg-extract-results.py: For Python 3, force sys.stdout to
1547                 handle surrogate escape sequences.
1548                 (safe_open): New function.
1549                 (output_segment, main): Use it.
1550
1551         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
1552
1553                 * dg-extract-results.py (Prog.result_re): Include options
1554                 in test name.
1555
1556         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
1557
1558                 * dg-extract-results.py (output_variation): Always sort if
1559                 do_sum.
1560
1561 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
1562
1563         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1564         as long as we get pagination notifications.
1565
1566 2014-12-15  Jason Merrill  <jason@redhat.com>
1567
1568         * Makefile.in (check-gdb.%): Restore.
1569         * README: Mention it.
1570
1571 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
1572
1573         * gdb.ada/str_uninit: New testcase.
1574
1575 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1576
1577         PR symtab/17642
1578         * gdb.base/vla-stub-define.c: New file.
1579         * gdb.base/vla-stub.c: New file.
1580         * gdb.base/vla-stub.exp: New file.
1581
1582 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
1583             Jan Kratochvil  <jan.kratochvil@redhat.com>
1584             Tom Tromey  <tromey@redhat.com>
1585
1586         * configure.ac: Add gdb.compile/.
1587         * configure: Regenerate.
1588         * gdb.compile/Makefile.in: New file.
1589         * gdb.compile/compile-ops.exp: New file.
1590         * gdb.compile/compile-ops.c: New file.
1591         * gdb.compile/compile-tls.c: New file.
1592         * gdb.compile/compile-tls.exp: New file.
1593         * gdb.compile/compile-constvar.S: New file.
1594         * gdb.compile/compile-constvar.c: New file.
1595         * gdb.compile/compile-mod.c: New file.
1596         * gdb.compile/compile-nodebug.c: New file.
1597         * gdb.compile/compile-setjmp-mod.c: New file.
1598         * gdb.compile/compile-setjmp.c: New file.
1599         * gdb.compile/compile-setjmp.exp: New file.
1600         * gdb.compile/compile-shlib.c: New file.
1601         * gdb.compile/compile.c: New file.
1602         * gdb.compile/compile.exp: New file.
1603         * lib/gdb.exp (skip_compile_feature_tests): New proc.
1604
1605 2014-12-12  Tom Tromey  <tromey@redhat.com>
1606
1607         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
1608         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1609
1610 2014-12-12  Doug Evans  <dje@google.com>
1611
1612         * lib/gdb-python.exp (get_python_valueof): New function.
1613         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1614
1615 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1616
1617         * gdb.base/completion.exp: Add test for completion of "info
1618         registers ".
1619
1620 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
1621
1622         * gdb.base/func-ptrs.c: New file.
1623         * gdb.base/func-ptrs.exp: New file.
1624
1625 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
1626
1627         PR breakpoints/17012
1628         * gdb.base/dprintf-detach.c: New file.
1629         * gdb.base/dprintf-detach.exp: New file.
1630
1631 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
1632
1633         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1634         * lib/gdb.exp (target_is_gdbserver): New procedure.
1635
1636 2014-12-08  Doug Evans  <dje@google.com>
1637
1638         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1639
1640 2014-12-05  Yao Qi  <yao@codesourcery.com>
1641
1642         * gdb.guile/scm-error.exp: Remove the third argument to
1643         gdb_remote_download.
1644         * gdb.guile/scm-frame-args.exp: Likewise.
1645         * gdb.guile/scm-section-script.exp: Likewise.
1646
1647 2014-12-05  Yao Qi  <yao@codesourcery.com>
1648
1649         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1650
1651 2014-12-04  Doug Evans  <dje@google.com>
1652
1653         * gdb.python/py-objfile.exp: Add tests for
1654         objfile.add_separate_debug_file.
1655
1656 2014-12-04  Doug Evans  <dje@google.com>
1657
1658         * lib/gdb.exp (get_build_id): New function.
1659         (build_id_debug_filename_get): Rewrite to use it.
1660         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1661
1662 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
1663
1664         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1665         `method(long)', not just 0x0.
1666         * gdb.cp/nsalias.exp: Align code labels to 4.
1667         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1668         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1669         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1670         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1671         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1672         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1673
1674 2014-12-02  Doug Evans  <dje@google.com>
1675
1676         PR symtab/17602
1677         * gdb.cp/anon-ns.cc: Move guts of this file to ...
1678         * gdb.cp/anon-ns2.cc: ... here.  New file.
1679         * gdb.cp/anon-ns.exp: Update.
1680
1681 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
1682
1683         * gdb.python/py-events.py (inferior_call_handler): New.
1684         (register_changed_handler, memory_changed_handler): New.
1685         (test_events.invoke): Register new handlers.
1686         * gdb.python/py-events.exp: Add tests for inferior call,
1687         memory_changed and register_changed events.
1688
1689 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1690
1691         * gdb.base/execl-update-breakpoints.exp: Specify the link address
1692         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
1693         if the linker doesn't understand this.
1694
1695 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
1696
1697         * gdb.python/python.exp: Change expected reply to help().
1698
1699 2014-12-01  Yao Qi  <yao@codesourcery.com>
1700
1701         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
1702         AC_CONFIG_SUBDIRS(gdb.gdbtk).
1703         * configure: Re-generated.
1704
1705 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
1706
1707         * gdb.cp/chained-calls.cc: New file.
1708         * gdb.cp/chained-calls.exp: New file.
1709         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1710
1711 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
1712
1713         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1714         * gdb.dwarf2/symtab-producer.exp: Same.
1715         * gdb.gdb/python-interrupts.exp: Same.
1716         * gdb.gdb/python-selftest.exp: Same.
1717         * gdb.python/py-linetable.exp: Same.
1718         * gdb.python/py-type.exp: Same.
1719         * gdb.python/py-value-cc.exp: Same.
1720         * gdb.python/py-value.exp: Same.
1721
1722 2014-11-28  Yao Qi  <yao@codesourcery.com>
1723
1724         * gdb.base/break-probes.exp: Match library name prefixed with
1725         sysroot.
1726
1727 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
1728
1729         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1730         test expected output.  Add parentheses for the call to print.
1731         Remove L suffix from integers.
1732
1733 2014-11-26  Doug Evans  <dje@google.com>
1734
1735         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1736
1737 2014-11-22  Yao Qi  <yao@codesourcery.com>
1738
1739         * gdb.trace/entry-values.c: Remove asms.
1740         (foo): Add foo_label.
1741         (bar): Add bar_label.
1742         * gdb.trace/entry-values.exp: Remove code computing  foo's
1743         length and bar's length.
1744         (Dwarf::assemble): Invoke function_range for bar and use
1745         MACRO_AT_func for foo.
1746
1747 2014-11-22  Yao Qi  <yao@codesourcery.com>
1748
1749         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1750         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
1751         Use .Lgcc43_procstart instead of gcc43.
1752
1753 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
1754
1755         * gdb.ada/n_arr_bound: New testcase.
1756
1757 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1758
1759         PR breakpoints/10737
1760         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1761         test_catch_syscall_multi_arch.
1762         (test_catch_syscall_multi_arch): New function.
1763
1764 2014-11-20  Doug Evans  <xdje42@gmail.com>
1765
1766         * gdb.base/maint.exp: Update expected output.
1767
1768 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1769
1770         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1771         4-byte instruction on S390.
1772
1773 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
1774
1775         * gdb.ada/arr_arr: New testcase.
1776
1777 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
1778
1779         * gdb.ada/pkd_arr_elem: New Testcase.
1780
1781 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
1782
1783         * gdb.reverse/break-precsave: Expect completion message for
1784         core file reads.
1785         * gdb.reverse/consecutive-precsave.exp: Likewise.
1786         * gdb.reverse/finish-precsave.exp: Likewise.
1787         * gdb.reverse/i386-precsave.exp: Likewise.
1788         * gdb.reverse/machinestate-precsave.exp: Likewise.
1789         * gdb.reverse/sigall-precsave.exp: Likewise.
1790         * gdb.reverse/solib-precsave.exp: Likewise.
1791         * gdb.reverse/step-precsave.exp: Likewise.
1792         * gdb.reverse/until-precsave.exp: Likewise.
1793         * gdb.reverse/watch-precsave.exp: Likewise.
1794
1795 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1796
1797         * gdb.base/bp-permanent.c: Include unistd.h.
1798         * gdb.python/py-framefilter-mi.c (main): Add return type.
1799         * gdb.python/py-framefilter.c (main): Likewise.
1800         * gdb.trace/actions-changed.c (main): Likewise.
1801
1802 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1803
1804         * gdb.mi/until.c: Add eye-catchers.
1805         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1806         line numbers.
1807
1808 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1809
1810         * gdb.base/condbreak.exp: Drop references to removed non-prototype
1811         function header variants in break1.c.
1812         * gdb.base/ena-dis-br.exp: Likewise.
1813         * gdb.base/hbreak2.exp: Likewise.
1814         * gdb.reverse/until-precsave.exp: Drop references to removed
1815         non-prototype function header variants in ur1.c.
1816         * gdb.reverse/until-reverse.exp: Likewise.
1817
1818 2014-11-17  Petr Machata  <pmachata@redhat.com>
1819
1820         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
1821         ${_cu_offset_size} bytes abbrev offset.
1822
1823 2014-11-15  Doug Evans  <xdje42@gmail.com>
1824
1825         PR symtab/17559
1826         * gdb.base/line-symtabs.exp: New file.
1827         * gdb.base/line-symtabs.c: New file.
1828         * gdb.base/line-symtabs.h: New file.
1829
1830 2014-11-14  Yao Qi  <yao@codesourcery.com>
1831
1832         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1833         (func): Add label func_label.
1834         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1835         Replace low_pc and high_pc with MACRO_AT_range.
1836         Replace name, low_pc and high_pc with MACRO_AT_func.
1837
1838 2014-11-14  Yao Qi  <yao@codesourcery.com>
1839
1840         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1841         Replace name, low_pc and high_pc with MACRO_AT_func.
1842
1843 2014-11-14  Yao Qi  <yao@codesourcery.com>
1844
1845         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1846         produce debug information.
1847         * gdb.dwarf2/implptr-optimized-out.S: Removed.
1848
1849 2014-11-14  Yao Qi  <yao@codesourcery.com>
1850
1851         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1852         object and get function length.
1853         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1854         with MACRO_AT_func.
1855         (top-level): Replace gdb_compile and clean_restart with
1856         prepare_for_testing.
1857         * gdb.dwarf2/main.c (main): Add label main_label.
1858
1859 2014-11-14  Yao Qi  <yao@codesourcery.com>
1860
1861         * lib/dwarf.exp (function_range): New procedure.
1862         (Dwarf::_handle_macro_at_func): New procedure.
1863         (Dwarf::_handle_macro_at_range): New procedure.
1864         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1865
1866 2014-11-14  Yao Qi  <yao@codesourcery.com>
1867
1868         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1869         (_handle_attribute): New procedure.
1870
1871 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1872
1873         * gdb.ada/cond_lang/foo.c (callme): Add return type.
1874         * gdb.base/call-sc.c (zed): Likewise.
1875         * gdb.base/checkpoint.c (main): Likewise.
1876         * gdb.base/dump.c (main): Likewise.
1877         * gdb.base/gcore.c (main): Likewise.
1878         * gdb.base/huge.c (main): Likewise.
1879         * gdb.base/multi-forks.c (main): Likewise.
1880         * gdb.base/pr10179-a.c (main): Likewise.
1881         * gdb.base/savedregs.c (main): Likewise.
1882         * gdb.base/sigaltstack.c (main): Likewise.
1883         * gdb.base/siginfo.c (main): Likewise.
1884         * gdb.base/structs.c (zed): Likewise.
1885         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1886         * gdb.mi/mi-syn-frame.c (main): Likewise.
1887         * gdb.mi/until.c (foo, main): Likewise.
1888         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1889         * gdb.base/solib-weak.c (foo): Declare.
1890         * gdb.base/attach-twice.c: Include stdio.h.
1891         * gdb.base/weaklib1.c: Likewise.
1892         * gdb.base/weaklib2.c: Likewise.
1893         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1894         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1895         unistd.h.
1896         * gdb.base/attach-pie-misread.c: Include stdlib.h.
1897         * gdb.mi/mi-exit-code.c: Likewise.
1898         * gdb.base/break-interp-lib.c: Include string.h.
1899         * gdb.base/coremaker.c: Likewise.
1900         * gdb.base/testenv.c: Likewise.
1901         * gdb.python/py-finish-breakpoint.c: Likewise.
1902         * gdb.base/inferior-died.c: Include sys/wait.h.
1903         * gdb.base/fileio.c: Include time.h.
1904         * gdb.base/async-shell.c: Include unistd.h.
1905         * gdb.base/dprintf-non-stop.c: Likewise.
1906         * gdb.base/info-os.c: Likewise.
1907         * gdb.mi/mi-console.c: Likewise.
1908         * gdb.mi/watch-nonstop.c: Likewise.
1909         * gdb.python/py-events.c: Likewise.
1910         * gdb.base/async.c (baz): Move up before its invocation.
1911         * gdb.base/code_elim2.c (my_global_func): Likewise.
1912         * gdb.base/skip-solib-lib.c (multiply): Likewise.
1913         * gdb.base/advance.c (func2): Likewise.
1914
1915 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1916
1917         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1918         variant.
1919         * gdb.base/annota3.c: Likewise.
1920         * gdb.base/async.c: Likewise.
1921         * gdb.base/average.c: Likewise.
1922         * gdb.base/call-ar-st.c: Likewise.
1923         * gdb.base/call-rt-st.c: Likewise.
1924         * gdb.base/call-sc.c: Likewise.
1925         * gdb.base/call-strs.c: Likewise.
1926         * gdb.base/ending-run.c: Likewise.
1927         * gdb.base/execd-prog.c: Likewise.
1928         * gdb.base/exprs.c: Likewise.
1929         * gdb.base/foll-exec.c: Likewise.
1930         * gdb.base/foll-fork.c: Likewise.
1931         * gdb.base/foll-vfork.c: Likewise.
1932         * gdb.base/funcargs.c: Likewise.
1933         * gdb.base/gcore.c: Likewise.
1934         * gdb.base/jump.c: Likewise.
1935         * gdb.base/langs0.c: Likewise.
1936         * gdb.base/langs1.c: Likewise.
1937         * gdb.base/langs2.c: Likewise.
1938         * gdb.base/mips_pro.c: Likewise.
1939         * gdb.base/nodebug.c: Likewise.
1940         * gdb.base/opaque0.c: Likewise.
1941         * gdb.base/opaque1.c: Likewise.
1942         * gdb.base/recurse.c: Likewise.
1943         * gdb.base/run.c: Likewise.
1944         * gdb.base/scope0.c: Likewise.
1945         * gdb.base/scope1.c: Likewise.
1946         * gdb.base/setshow.c: Likewise.
1947         * gdb.base/setvar.c: Likewise.
1948         * gdb.base/shmain.c: Likewise.
1949         * gdb.base/shr1.c: Likewise.
1950         * gdb.base/shr2.c: Likewise.
1951         * gdb.base/sigall.c: Likewise.
1952         * gdb.base/signals.c: Likewise.
1953         * gdb.base/so-indr-cl.c: Likewise.
1954         * gdb.base/solib2.c: Likewise.
1955         * gdb.base/structs.c: Likewise.
1956         * gdb.base/sum.c: Likewise.
1957         * gdb.base/vforked-prog.c: Likewise.
1958         * gdb.base/watchpoint.c: Likewise.
1959         * gdb.reverse/shr2.c: Likewise.
1960         * gdb.reverse/until-reverse.c: Likewise.
1961         * gdb.reverse/ur1.c: Likewise.
1962         * gdb.reverse/watch-reverse.c: Likewise.
1963
1964 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1965
1966         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1967         variant.
1968         * gdb.base/sepdebug.exp: Drop references to removed code.
1969
1970 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1971
1972         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1973         variant.  Preserve original line numbering.
1974         * gdb.base/list1.c: Likewise.
1975
1976 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1977
1978         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1979         variant.
1980         * gdb.base/break1.c: Likewise.
1981         * gdb.base/break.exp: Drop references to removed code.
1982
1983 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1984
1985         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1986         variant.
1987
1988 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1989
1990         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1991
1992 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1993
1994         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
1995         logic into perform_all_tests() and invoke it with and without
1996         function header prototypes.
1997         (do_function_calls): Remove conditional XFAIL for PR 5318.
1998         (rerun_and_prepare): Remove duplicate code.
1999         (perform_all_tests): New.  Main logic moved here.
2000
2001 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2002
2003         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2004         code guarded by #ifdef NO_PROTOTYPES.
2005         (t_double_many_args): Likewise.
2006         (DEF_FUNC_MANY_ARGS_1): Likewise.
2007         (DEF_FUNC_VALUES_1): Likewise.
2008         (t_structs_ldc): Renamed from t_structs_fc in conditional code
2009         guarded by #ifdef PROTOTYPES.
2010
2011 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2012
2013         * gdb.mi/mi-console.c: Add eye-catcher.
2014         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2015         instead of literal line number.
2016
2017 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2018
2019         * gdb.base/shr2.c: Add eye-catcher.
2020         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2021         line number.
2022
2023 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2024
2025         * gdb.base/jump.c: Add eye-catchers.
2026         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2027         numbers.
2028
2029 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2030
2031         * gdb.base/execd-prog.c: Add eye-catchers.
2032         * gdb.base/foll-exec.c: Likewise.
2033         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2034         line numbers.
2035
2036 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2037
2038         * gdb.base/ending-run.c: Add eye-catchers.
2039         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2040         literal line numbers.
2041
2042 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2043
2044         * gdb.base/call-rt-st.c: Add eye-catchers.
2045         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2046         literal line numbers.
2047
2048 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2049
2050         * gdb.base/call-ar-st.c: Add eye-catchers.
2051         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2052         literal line numbers.
2053
2054 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2055
2056         * gdb.base/average.c: Add eye-catchers.
2057         * gdb.base/sum.c: Likewise.
2058         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2059         regexps dynamically.
2060
2061 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2062
2063         * gdb.base/solib1.c: Add eye-catchers.
2064         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2065         literal line numbers.
2066
2067 2014-11-12  Pedro Alves  <palves@redhat.com>
2068
2069         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2070         leader has exited.
2071
2072 2014-11-12  Pedro Alves  <palves@redhat.com>
2073
2074         * gdb.arch/i386-bp_permanent.c: New file.
2075         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2076         (srcfile): Set to i386-bp_permanent.c.
2077         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
2078         that stepi does not execute the 'leave' instruction, instead of
2079         testing it does execute.
2080         * gdb.base/bp-permanent.c: New file.
2081         * gdb.base/bp-permanent.exp: New file.
2082
2083 2014-11-10  Doug Evans  <xdje42@gmail.com>
2084
2085         PR symtab/17564
2086         * gdb.base/symtab-search-order.exp: New file.
2087         * gdb.base/symtab-search-order.c: New file.
2088         * gdb.base/symtab-search-order-1.c: New file.
2089         * gdb.base/symtab-search-order-shlib-1.c: New file.
2090
2091 2014-11-07  Pedro Alves  <palves@redhat.com>
2092
2093         PR gdb/17511
2094         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2095         i?86-*-linux*.
2096
2097 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
2098
2099         PR c++/17494
2100         * gdb.cp/pr17494.cc: New file.
2101         * gdb.cp/pr17494.exp: New file.
2102
2103 2014-11-02  Yao Qi  <yao@codesourcery.com>
2104
2105         * gdb.python/python.exp: Get working directory and match the
2106         output of "set extended-prompt \\w " with it.
2107
2108 2014-10-30  Doug Evans  <dje@google.com>
2109
2110         * gdb.python/py-objfile.exp: Add tests for setting random attributes
2111         in objfiles.
2112         * gdb.python/py-progspace.exp: Add tests for setting random attributes
2113         in progspaces.
2114
2115 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
2116
2117         * gdb.base/fullpath-expand.exp: Skip for a remote host.
2118         * gdb.base/realname-expand.exp: Likewise.
2119         * gdb.linespec/macro-relative.exp: Likewise.
2120
2121 2014-10-29  Pedro Alves  <palves@redhat.com>
2122
2123         PR gdb/17408
2124         * gdb.threads/schedlock.c (some_function): New function.
2125         (call_function): New global.
2126         (MAYBE_CALL_SOME_FUNCTION): New macro.
2127         (thread_function): Call it.
2128         * gdb.threads/schedlock.exp (get_args): Add description parameter,
2129         and use it instead of a global counter.  Adjust all callers.
2130         (get_current_thread): Use "find current thread" for test message
2131         here rather than having all callers pass down the same string.
2132         (goto_loop): New procedure, factored out from ...
2133         (my_continue): ... this.
2134         (step_ten_loops): Change parameter from test message to command to
2135         use.  Adjust.
2136         (list_count): Delete global.
2137         (check_result): New procedure, factored out from duplicate top
2138         level code.
2139         (continue tests): Wrap in with_test_prefix.
2140         (test_step): New procedure, factored out from duplicate top level
2141         code.
2142         (top level): Test "step" in combination with all scheduler-locking
2143         modes.  Test "next" in combination with all scheduler-locking
2144         modes, and in combination with stepping over a function call or
2145         not.
2146         * gdb.threads/next-bp-other-thread.c: New file.
2147         * gdb.threads/next-bp-other-thread.exp: New file.
2148
2149 2014-10-29  Pedro Alves  <palves@redhat.com>
2150
2151         PR python/17372
2152         * gdb.python/python.exp: Test a multi-line command that spawns
2153         interactive Python.
2154         * gdb.base/multi-line-starts-subshell.exp: New file.
2155
2156 2014-10-29  Yao Qi  <yao@codesourcery.com>
2157
2158         * gdb.base/fileio.exp: Make directories on host.
2159
2160 2014-10-29  Yao Qi  <yao@codesourcery.com>
2161
2162         * gdb.base/fileio.c (test_write): Close the file.
2163
2164 2014-10-28  Pedro Alves  <palves@redhat.com>
2165
2166         PR gdb/12623
2167         * gdb.base/sigstep.c (no_handler): New global.
2168         (main): If 'no_handler is true, set the signal handlers to
2169         SIG_IGN.
2170         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2171         with_sw_watch and no_handler parameters.  Handle them.
2172         (top level) <stepping over handler when stopped at a breakpoint
2173         test>: Add a test axis for testing with a software watchpoint, and
2174         another for testing with the signal handler set to SIG_IGN.
2175         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2176         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2177
2178 2014-10-28  Pedro Alves  <palves@redhat.com>
2179
2180         PR gdb/17511
2181         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2182         * gdb.base/sigstep.exp (other_handler_location): New global.
2183         (advance): Support stepping into the signal handler, and running
2184         commands while in the handler.
2185         (in_handler_map): New global.
2186         (top level): In the advance test, add combinations for getting
2187         into the handler with stepping commands, and for running commands
2188         in the handler.  Add comment descripting the advancei tests.
2189
2190 2014-10-28  Pedro Alves  <palves@redhat.com>
2191
2192         * gdb.base/sigstep.exp: Use build_executable instead of
2193         prepare_for_testing.
2194         (top level): Move code that starts GDB, runs to main and creates a
2195         display to ...
2196         (restart): ... this new procedure.
2197         (top level): Move backtrace from signal handler test to ...
2198         (validate_backtrace): ... this new procedure.
2199         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
2200         with_test_prefix.  Always restart GDB.
2201         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
2202         with_test_prefix.  Always restart GDB.  No need to delete
2203         breakpoints after the test.
2204         (test_skip_handler): Remove prefix parameter.
2205         (skip_over_handler, breakpoint_to_handler)
2206         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2207         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
2208         restart GDB.  No need to delete breakpoints after the test.
2209         (top level): Use foreach to call the test procedures with
2210         different commands.
2211
2212 2014-10-28  Pedro Alves  <palves@redhat.com>
2213
2214         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2215         instead of GNATS numbers.
2216         * gdb.base/sigbpt.exp: Likewise.
2217         * gdb.base/siginfo.exp: Likewise.
2218         * gdb.base/sigstep.exp: Likewise.
2219
2220 2014-10-27  Pedro Alves  <palves@redhat.com>
2221
2222         * gdb.base/sigstep.c (dummy): New global.
2223         (main): Issue a couple writes to the new global.
2224         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2225         procedures.
2226         (skip_over_handler): Use test_skip_handler.
2227         (top level): Call skip_over_handler for stepi and nexti too.
2228         (breakpoint_over_handler): Use test_skip_handler.
2229         (top level): Call breakpoint_over_handler for stepi and nexti too.
2230
2231 2014-10-27  Yao Qi  <yao@codesourcery.com>
2232
2233         * gdb.trace/tfile.c (adjust_function_address)
2234         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2235         function descriptor.
2236
2237 2014-10-24  Don Breazeal  <donb@codesourcery.com>
2238
2239         * gdb.base/foll-fork.exp (test_follow_fork,
2240         catch_fork_child_follow): Check for updated fork messages emitted
2241         from infrun.c.
2242         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2243         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2244         vfork_and_exec_child_follow_through_step): Check for updated vfork
2245         messages emitted from infrun.c.
2246
2247 2014-10-24  Pedro Alves  <palves@redhat.com>
2248
2249         * gdb.base/corefile.exp: Remove references to ultrix.
2250         * gdb.base/interrupt.exp: Likewise.
2251         * gdb.base/whatis.exp: Likewise.
2252         * gdb.gdb/selftest.exp: Likewise.
2253         * gdb.threads/manythreads.exp: Likewise.
2254         * gdb.threads/print-threads.exp: Likewise.
2255         * gdb.threads/pthreads.exp:: Likewise.
2256         * gdb.threads/schedlock.exp: Likewise.
2257
2258 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
2259
2260         * gdb.cp/non-trivial-retval.cc: Add a test case.
2261         * gdb.cp/non-trivial-retval.exp: Add a test.
2262
2263 2014-10-20  Yao Qi  <yao@codesourcery.com>
2264
2265         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2266         * gdb.python/py-objfile-script-gdb.py: New file.
2267         * gdb.python/py-objfile-script.exp: Update reference to
2268         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
2269         of remote_download.  Remove the dest file.
2270
2271 2014-10-20  Yao Qi  <yao@codesourcery.com>
2272
2273         * gdb.base/checkpoint.exp: Don't remove file copied on host.
2274         * gdb.base/step-line.exp: Likewise.
2275         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2276         * gdb.dwarf2/dw2-basic.exp: Likewise.
2277         * gdb.dwarf2/dw2-compressed.exp: Likewise.
2278         * gdb.dwarf2/dw2-filename.exp: Likewise.
2279         * gdb.dwarf2/dw2-intercu.exp: Likewise.
2280         * gdb.dwarf2/dw2-intermix.exp: Likewise.
2281         * gdb.dwarf2/dw2-producer.exp: Likewise.
2282         * gdb.dwarf2/mac-fileno.exp: Likewise.
2283         * gdb.python/py-frame-args.exp: Likewise.
2284         * gdb.python/py-framefilter.exp: Likewise.
2285         * gdb.python/py-mi.exp: Likewise.
2286         * gdb.python/py-objfile-script.exp: Likewise
2287         * gdb.python/py-pp-integral.exp: Likewise.
2288         * gdb.python/py-pp-re-notag.exp: Likewise.
2289         * gdb.python/py-prettyprint.exp: Likewise.
2290         * gdb.python/py-section-script.exp: Likewise.
2291         * gdb.python/py-typeprint.exp: Likewise.
2292         * gdb.python/py-xmethods.exp: Likewise.
2293         * gdb.stabs/weird.exp: Likewise.
2294         * gdb.xml/tdesc-regs.exp: Likewise.
2295
2296 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
2297
2298         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2299         (out_cu): Use addr_len for the size of addresses.
2300         (out_line): Likewise.  Size DW_LNE_set_address instruction
2301         according to addr_len.
2302         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2303         (FUNC): Add START_INSNS to definition.
2304
2305 2014-10-18  Yao Qi  <yao@codesourcery.com>
2306
2307         * gdb.base/argv0-symlink.exp: Check argv[0] value if
2308         gdb_has_argv0 return true.
2309         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2310         check [target_info exists noargs], check [gdb_has_argv0]
2311         instead.
2312         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2313         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2314         procedures.
2315
2316 2014-10-17  Doug Evans  <dje@google.com>
2317
2318         * gdb.python/py-events.exp: Update expected output for clear_objfiles
2319         event.
2320         * gdb.python/py-events.py: Add clear_objfiles event.
2321
2322 2014-10-17  Doug Evans  <dje@google.com>
2323
2324         * gdb.python/py-objfile.exp: Test progspace attribute.
2325
2326 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
2327
2328         * gdb.guile/scm-breakpoint.exp: Do not assume any
2329         directory separators when matching source file paths.
2330         * gdb.python/py-breakpoint.exp: Likewise.
2331         * gdb.reverse/break-precsave.exp: Likewise.
2332         * gdb.reverse/break-reverse.exp: Likewise.
2333         * gdb.reverse/consecutive-precsave.exp: Likewise.
2334         * gdb.reverse/finish-precsave.exp: Likewise.
2335         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2336         * gdb.reverse/finish-reverse.exp: Likewise.
2337         * gdb.reverse/i386-precsave.exp: Likewise.
2338         * gdb.reverse/i387-env-reverse.exp: Likewise.
2339         * gdb.reverse/i387-stack-reverse.exp: Likewise.
2340         * gdb.reverse/machinestate-precsave.exp: Likewise.
2341         * gdb.reverse/machinestate.exp: Likewise.
2342         * gdb.reverse/sigall-precsave.exp: Likewise.
2343         * gdb.reverse/solib-precsave.exp: Likewise.
2344         * gdb.reverse/step-precsave.exp: Likewise.
2345         * gdb.reverse/until-precsave.exp: Likewise.
2346         * gdb.reverse/watch-precsave.exp: Likewise.
2347         * gdb.reverse/watch-reverse.exp: Likewise.
2348
2349 2014-10-17  Yao Qi  <yao@codesourcery.com>
2350
2351         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2352         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2353
2354 2014-10-17  Pedro Alves  <palves@redhat.com>
2355
2356         PR gdb/17471
2357         * gdb.base/bg-execution-repeat.c: New file.
2358         * gdb.base/bg-execution-repeat.exp: New file.
2359
2360 2014-10-17  Pedro Alves  <palves@redhat.com>
2361
2362         PR gdb/17300
2363         * gdb.base/continue-all-already-running.c: New file.
2364         * gdb.base/continue-all-already-running.exp: New file.
2365
2366 2014-10-17  Pedro Alves  <palves@redhat.com>
2367
2368         PR gdb/17472
2369         * gdb.base/annota-input-while-running.c: New file.
2370         * gdb.base/annota-input-while-running.exp: New file.
2371
2372 2014-10-17  Pedro Alves  <palves@redhat.com>
2373
2374         * gdb.base/callfuncs.exp: emove references to osf.
2375         * gdb.base/sigall.exp: Likewise.
2376         * gdb.gdb/selftest.exp: Likewise.
2377         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2378         * gdb.mi/non-stop.c: Likewise.
2379         * gdb.mi/pthreads.c: Likewise.
2380         * gdb.reverse/sigall-precsave.exp: Likewise.
2381         * gdb.reverse/sigall-reverse.exp: Likewise.
2382         * gdb.threads/pthreads.c: Likewise.
2383         * gdb.threads/pthreads.exp: Likewise.
2384
2385 2014-10-17  Yao Qi  <yao@codesourcery.com>
2386
2387         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2388         check 'target_info exists noargs'.
2389         (test_command_prompt_position): Likewise.
2390         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2391         Remove "set args".
2392         (progvar_simple_while_test): Likewise.
2393         (progvar_complex_if_while_test): Likewise.
2394         (if_while_breakpoint_command_test): Likewise.
2395         (infrun_breakpoint_command_test): Likewise.
2396         (breakpoint_command_test): Likewise.
2397         (watchpoint_command_test): Likewise.
2398         (bp_deleted_in_command_test): Likewise.
2399         (temporary_breakpoint_commands): Likewise.
2400
2401 2014-10-16  Yao Qi  <yao@codesourcery.com>
2402
2403         * gdb.base/remotetimeout.exp: Remove noargs checking.
2404
2405 2014-10-15  Pedro Alves  <palves@redhat.com>
2406
2407         PR breakpoints/9649
2408         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2409         * gdb.base/breakpoint-in-ro-region.exp
2410         (probe_target_hardware_step): New procedure.
2411         (top level): Probe hardware stepping and hardware breakpoint
2412         support.  Test stepping through a read-only region, with both
2413         "breakpoint auto-hw" on and off and both "always-inserted" on and
2414         off.
2415
2416 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
2417
2418         * gdb.dlang/demangle.exp: Update for demangling changes.
2419
2420 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
2421
2422         * gdb.cp/non-trivial-retval.cc: Add new test cases.
2423         * gdb.cp/non-trivial-retval.exp: Add new tests.
2424
2425 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
2426
2427         PR c++/13403
2428         PR c++/15154
2429         * gdb.cp/non-trivial-retval.cc: New file.
2430         * gdb.cp/non-trivial-retval.exp: New file.
2431
2432 2014-10-15  Yao Qi  <yao@codesourcery.com>
2433
2434         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2435         remote host.
2436
2437 2014-10-15  Yao Qi  <yao@codesourcery.com>
2438
2439         * gdb.python/py-symbol.exp: Match file base name if host is
2440         remote, otherwise match file name with dir name.
2441         * gdb.python/py-symtab.exp: Likewise.
2442         * gdb.python/python.exp: Likewise.
2443
2444 2014-10-15  Yao Qi  <yao@codesourcery.com>
2445
2446         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2447         pattern.
2448         * gdb.python/py-symtab.exp: Likewise.
2449         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
2450         locationn.
2451
2452 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
2453
2454         * gdb.ada/addr_arith: New testcase.
2455
2456 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
2457
2458         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2459         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2460         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2461         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2462
2463 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
2464
2465         * gdb.arch/stap-eval-lang-ada.S: Likewise.
2466         * gdb.arch/stap-eval-lang-ada.c: Likewise.
2467         * gdb.arch/stap-eval-lang-ada.exp: New file.
2468
2469 2014-10-14  Yao Qi  <yao@codesourcery.com>
2470
2471         * gdb.mi/mi-var-child.c (nothing1): New function.
2472         (nothing2): New function.
2473         (do_children_tests): Set function pointers by nothing1 and
2474         nothing2.
2475         * gdb.mi/mi-var-child.exp: Step over new added statements.
2476         Update test to match the new output.
2477         * gdb.mi/var-cmd.c (nothing1): New function.
2478         (nothing2): New function.
2479         (do_children_tests): Set function pointers by  nothing1 and
2480         nothing2.
2481         * gdb.mi/mi-var-display.exp: Update test to match output.
2482         Step to the line specified by $line_dct_nothing.
2483         Increase the number of lines to step.
2484
2485 2014-10-14  Yao Qi  <yao@codesourcery.com>
2486
2487         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2488         tests.
2489         * gdb.mi/mi2-var-child.exp: Likewise.
2490
2491 2014-10-13  Doug Evans  <dje@google.com>
2492
2493         * gdb.python/py-objfile.exp: Change name of file name test.
2494
2495 2014-10-13  Doug Evans  <dje@google.com>
2496
2497         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2498         from the start of the CU.
2499
2500 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2501             Yao Qi  <yao@codesourcery.com>
2502
2503         Fix "save breakpoints" for "catch" command.
2504         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2505         Remove -nonewline.  Match also the added "main" line.
2506
2507 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2508
2509         Fix "save breakpoints" for "disable $bpnum" command.
2510         * gdb.base/save-bp.c (main): Add label.
2511         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
2512
2513 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2514
2515         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2516
2517 2014-10-11  Yao Qi  <yao@codesourcery.com>
2518
2519         * gdb.server/server-kill.exp: Execute command
2520         "set remote trace-status-packet on" before "tstatus".
2521
2522 2014-10-11  Yao Qi  <yao@codesourcery.com>
2523
2524         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2525         (main): Call getppid.
2526         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2527         and continue to it.  Read variable "server_pid".
2528
2529 2014-10-11  Yao Qi  <yao@codesourcery.com>
2530
2531         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2532
2533 2014-10-11  Yao Qi  <yao@codesourcery.com>
2534
2535         * gdb.threads/thread-find.exp: Don't execute command
2536         "info threads".
2537         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2538         * gdb.threads/linux-dp.exp: Don't check the condition
2539         $threads_created equals to zero.
2540
2541 2014-10-10  Pedro Alves  <palves@redhat.com>
2542
2543         * gdb.base/bigcore.exp: Remove references to IRIX.
2544         * gdb.base/funcargs.exp: Likewise.
2545         * gdb.base/interrupt.exp: Likewise.
2546         * gdb.base/mips_pro.exp: Likewise.
2547         * gdb.base/nodebug.exp: Likewise.
2548         * gdb.base/setvar.exp: Likewise.
2549         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2550
2551 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2552             Pedro Alves  <palves@redhat.com>
2553
2554         PR symtab/14466
2555         * gdb.base/vdso-warning.c: New file.
2556         * gdb.base/vdso-warning.exp: New file.
2557
2558 2014-10-02  Doug Evans  <dje@google.com>
2559
2560         * gdb.base/structs.c (main): Don't run forever.
2561
2562 2014-10-02  Pedro Alves  <palves@redhat.com>
2563
2564         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2565         (top level) <stop threads 1, stop threads 2>: Use it.
2566
2567 2014-10-02  Pedro Alves  <palves@redhat.com>
2568
2569         * gdb.threads/break-while-running.exp (test): Add new
2570         'update_thread_list' argument.  Skip "info threads" if false.
2571         (top level): Add new 'update_thread_list' axis.
2572
2573 2014-10-02  Pedro Alves  <palves@redhat.com>
2574
2575         PR breakpoints/17431
2576         * gdb.base/execl-update-breakpoints.c: New file.
2577         * gdb.base/execl-update-breakpoints.exp: New file.
2578
2579 2014-10-01  Pedro Alves  <palves@redhat.com>
2580
2581         * gdb.base/breakpoint-in-ro-region.c: New file.
2582         * gdb.base/breakpoint-in-ro-region.exp: New file.
2583
2584 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
2585
2586         * gdb.mi/mi-exit-code.exp: New file.
2587         * gdb.mi/mi-exit-code.c: New file.
2588
2589 2014-09-30  Yao Qi  <yao@codesourcery.com>
2590
2591         * lib/prelink-support.exp (build_executable_own_libs): Error if
2592         the target isn't native.
2593
2594 2014-09-30  Yao Qi  <yao@codesourcery.com>
2595
2596         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2597         false.
2598
2599 2014-09-22  Pedro Alves  <palves@redhat.com>
2600
2601         * gdb.threads/break-while-running.exp: New file.
2602         * gdb.threads/break-while-running.c: New file.
2603
2604 2014-09-19  Yao Qi  <yao@codesourcery.com>
2605
2606         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2607         Invoke test.  Restart GDB with --readnow and invoke test again.
2608
2609 2014-09-19  Yao Qi  <yao@codesourcery.com>
2610
2611         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2612         proc set_breakpoint_on_gcd_function.  Invoke
2613         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
2614         invoke set_breakpoint_on_gcd_function again.
2615
2616 2014-09-18  Doug Evans  <dje@google.com>
2617
2618         * gdb.dwarf2/symtab-producer.exp: New file.
2619
2620 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
2621
2622         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2623         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2624         * gdb.base/global-var-nested-by-dso.c: Likewise.
2625         * gdb.base/global-var-nested-by-dso.exp: Likewise.
2626
2627 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
2628             Pedro Alves  <palves@redhat.com>
2629
2630         * gdb.base/watch-bitfields.exp: Pass string other than test file
2631         name to prepare_for_testing.
2632         (watch): New procedure.
2633         (expect_watchpoint): Use with_test_prefix.
2634         (top level): Factor out tests to ...
2635         (test_watch_location, test_regular_watch): ... these new
2636         procedures, and use with_test_prefix and gdb_continue_to_end.
2637
2638 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
2639
2640         PR breakpoints/12526
2641         * gdb.base/watch-bitfields.exp: New file.
2642         * gdb.base/watch-bitfields.c: New file.
2643
2644 2014-09-16  Pedro Alves  <palves@redhat.com>
2645
2646         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2647         software and hardware addresses, not software address against
2648         itself.
2649
2650 2014-09-16  Pedro Alves  <palves@redhat.com>
2651
2652         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2653         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2654
2655 2014-09-16  Pedro Alves  <palves@redhat.com>
2656
2657         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2658         files.
2659         * gdb.base/a2-run.exp: Remove all code guarded by istarget
2660         "*-*-vxworks*" throughout.
2661         * gdb.base/break.exp: Likewise.
2662         * gdb.base/default.exp: Likewise.
2663         * gdb.base/scope.exp: Likewise.
2664         * gdb.base/sepdebug.exp: Likewise.
2665         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2666         throughout.
2667         * gdb.base/run.c: Likewise.
2668         * gdb.base/sepdebug.c: Likewise.
2669         * gdb.hp/gdb.aCC/run.c: Likewise.
2670         * gdb.reverse/until-reverse.c: Likewise.
2671         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2672
2673 2014-09-16  Yao Qi  <yao@codesourcery.com>
2674
2675         * boards/local-remote-host-native.exp: New file.
2676
2677 2014-09-14  Doug Evans  <xdje42@gmail.com>
2678
2679         * gdb.threads/queue-signal.c (thread_count): New variable.
2680         (thread_count_mutex, thread_count_condvar): New variables.
2681         (incr_thread_count, wait_all_threads_running): New functions.
2682         (main): Wait for all threads to be in their thread functions.
2683
2684 2014-09-13  Doug Evans  <xdje42@gmail.com>
2685
2686         * gdb.threads/queue-signal.c: New file.
2687         * gdb.threads/queue-signal.exp: New file.
2688
2689 2014-09-13  Doug Evans  <xdje42@gmail.com>
2690
2691         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2692         be consistent with what default_gdb_init uses.
2693         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2694         the plain text of the prompt.  Add some logging printfs.
2695         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2696
2697 2014-09-12  Pedro Alves  <palves@redhat.com>
2698
2699         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2700         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2701         * gdb.arch/i386-size-overlap.exp: Likewise.
2702         * gdb.arch/i386-size.exp: Likewise.
2703         * gdb.arch/i386-unwind.exp: Likewise.
2704         * gdb.base/a2-run.exp: Likewise.
2705         * gdb.base/break.exp: Likewise.
2706         * gdb.base/charset.exp: Likewise.
2707         * gdb.base/chng-syms.exp: Likewise.
2708         * gdb.base/commands.exp: Likewise.
2709         * gdb.base/dbx.exp: Likewise.
2710         * gdb.base/find.exp: Likewise.
2711         * gdb.base/funcargs.exp: Likewise.
2712         * gdb.base/jit-simple.exp: Likewise.
2713         * gdb.base/reread.exp: Likewise.
2714         * gdb.base/sepdebug.exp: Likewise.
2715         * gdb.base/step-bt.exp: Likewise.
2716         * gdb.cp/mb-inline.exp: Likewise.
2717         * gdb.cp/mb-templates.exp: Likewise.
2718         * gdb.objc/basicclass.exp: Likewise.
2719         * gdb.threads/killed.exp: Likewise.
2720
2721 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2722
2723         PR tdep/17379
2724         * gdb.arch/powerpc-stackless.S: New file.
2725         * gdb.arch/powerpc-stackless.exp: New file.
2726
2727 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2728
2729         * gdb.base/attach.c: Include unistd.h.
2730         (main): Call alarm.  Add label postloop.
2731         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2732         gdb_breakpoint, gdb_continue_to_breakpoint.
2733         (test_command_line_attach_run): Kill ${testpid} in one exit path.
2734
2735 2014-09-11  Pedro Alves  <palves@redhat.com>
2736
2737         PR gdb/17347
2738         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2739         * gdb.base/attach.exp (test_command_line_attach_run): New
2740         procedure.
2741         (top level): Call it.
2742
2743 2014-09-11  Pedro Alves  <palves@redhat.com>
2744
2745         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2746         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2747         (do_command_attach_tests): Use spawn_wait_for_attach.
2748         * gdb.base/solib-overlap.exp: Likewise.
2749         * gdb.multi/multi-attach.exp: Likewise.
2750         * gdb.python/py-prompt.exp: Likewise.
2751         * gdb.python/py-sync-interp.exp: Likewise.
2752         * gdb.server/ext-attach.exp: Likewise.
2753
2754 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
2755
2756         * gdb.fortran/array-element.exp: Remove unexpected "continue"
2757         command in testcase.  Simplify testcase.
2758
2759 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
2760
2761         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2762
2763 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
2764
2765         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2766
2767 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
2768
2769         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2770
2771 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
2772
2773         * gdb.dwarf2/dynarr-ptr.c: New file.
2774         * gdb.dwarf2/dynarr-ptr.exp: New file.
2775
2776 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2777
2778         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2779         of 30 rather than hardcoding 120 for a slow test case.  Take the
2780         `gdb,timeout' target setting into account for this calculation.
2781         Don't extend the timeout for the test cases that don't need it.
2782
2783 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2784
2785         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2786         a factor of 2 for a slow test case.  Take the `gdb,timeout'
2787         target setting into account for this calculation.
2788         * gdb.reverse/until-precsave.exp: Increase the timeout by
2789         a factor of 15 and 3 respectively rather than adding 120
2790         for a pair of slow test cases.  Take the `gdb,timeout'
2791         target setting into account for this calculation.
2792
2793 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2794
2795         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2796         timeout, don't pass one down to gdb_expect.
2797         (gdb_expect): Rework timeout selection.
2798
2799 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2800
2801         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2802         exception on timeout.
2803         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2804         (gdbserver_start_extended): Catch any `gdbserver_start' error
2805         exceptions.
2806         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2807         * lib/mi-support.exp (mi_gdb_target_load): Catch any
2808         `gdbserver_gdb_load' error exceptions.
2809
2810 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2811
2812         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2813         120 on waiting for the TCP socket to open.
2814
2815 2014-09-09  Doug Evans  <xdje42@gmail.com>
2816
2817         * gdb.base/default.exp (show_conv_list): Add _caller_is,
2818         _caller_matches, _any_caller_is, _any_caller_matches.
2819
2820 2014-09-09  Doug Evans  <xdje42@gmail.com>
2821
2822         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2823
2824 2014-09-09  Yao Qi  <yao@codesourcery.com>
2825
2826         * gdb.mi/mi-var-display.exp: Set print symbol off.
2827
2828 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
2829
2830         PR gdb/17035
2831         * gdb.base/commands.exp: Add tests to verify user-defined
2832         commands with empty bodies.
2833         * gdb.python/py-cmd.exp: Test that we don't show user-defined
2834         python commands in `show user command`.
2835         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2836         scheme commands in `show user command`.
2837
2838 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2839
2840         PR python/17355
2841         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2842         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2843         * gdb.python/py-framefilter-invalidarg.exp: New file.
2844         * gdb.python/py-framefilter-invalidarg.py: New file.
2845
2846 2014-09-06  Doug Evans  <xdje42@gmail.com>
2847
2848         PR 15276
2849         * gdb.python/py-caller-is.c: New file.
2850         * gdb.python/py-caller-is.exp: New file.
2851
2852 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
2853
2854         PR gdb/17235
2855         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2856         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2857
2858 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2859
2860         PR fortran/17237
2861         * gdb.fortran/print-formatted.exp: New file.
2862         * gdb.fortran/print-formatted.f90: Likewise.
2863
2864 2014-09-03  Sasha Smundak  <asmundak@google.com>
2865
2866         * gdb.python/py-frame.exp: Test Frame.read_register.
2867
2868 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
2869
2870         PR python/16699
2871         * gdb.python/py-completion.exp: New file.
2872         * gdb.python/py-completion.py: Likewise.
2873
2874 2014-08-28  Doug Evans  <dje@google.com>
2875
2876         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2877         eax,etc. are live with values set by gdb and thus the compiler can't
2878         use them.
2879         * gdb.arch/i386-pseudo.c (main): Ditto.
2880
2881 2014-08-27  Doug Evans  <dje@google.com>
2882
2883         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2884
2885 2014-08-25  Doug Evans  <dje@google.com>
2886
2887         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2888         (main): Ditto.
2889
2890 2014-08-25  Doug Evans  <dje@google.com>
2891
2892         * gdb.threads/thread-execl.exp: #include <stdio.h>.
2893
2894 2014-08-24  Yao Qi  <yao@codesourcery.com>
2895
2896         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2897         symbol off.
2898         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2899
2900 2014-08-22  Doug Evans  <dje@google.com>
2901
2902         PR 17276
2903         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2904         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2905         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2906
2907 2014-08-22  Yao Qi  <yao@codesourcery.com>
2908
2909         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2910         * gdb.python/py-finish-breakpoint2.exp: Likewise.
2911         * gdb.python/python.exp: Likewise.  Use .py file on the host
2912         instead of the build.
2913
2914 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2915
2916         * gdb.threads/gcore-stale-thread.c: New file.
2917         * gdb.threads/gcore-stale-thread.exp: New file.
2918
2919 2014-08-21  Pedro Alves  <palves@redhat.com>
2920
2921         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2922         * gdb.base/gcore-relro-pie.exp: Likewise.
2923         * gdb.base/gcore-relro.exp: Likewise.
2924         * gdb.base/gcore.exp: Likewise.
2925         * gdb.base/print-symbol-loading.exp: Likewise.
2926         * gdb.threads/gcore-thread.exp: Likewise.
2927         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2928
2929 2014-08-20  Pedro Alves  <palves@redhat.com>
2930             Jan Kratochvil  <jan.kratochvil@redhat.com>
2931
2932         * Makefile.in (EXTRA_RULES, CC): New variables, get from
2933         configure.
2934         (EXPECT): Handle READ1 being set.
2935         (all): Depend on EXTRA_RULES.
2936         (check-read1, expect-read1, read1.so, read1): New rules.
2937         * README (Testsuite Parameters): Document the READ1 make variable.
2938         (Race detection): New section.
2939         * configure: Regenerate.
2940         * configure.ac: If build==host==target, and running under a
2941         GNU/glibc system, add read1 to the extra Makefile rules.
2942         (EXTRA_RULES): AC_SUBST it.
2943         * lib/read1.c: New file.
2944
2945 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
2946
2947         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2948         the handling of variables declared as a typedef to an array
2949         which a DW_AT_data_location attribute.
2950
2951 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
2952             Pedro Alves  <palves@redhat.com>
2953
2954         PR symtab/14604
2955         PR symtab/14605
2956         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2957         gdb_test.
2958
2959 2014-08-19  Pedro Alves  <palves@redhat.com>
2960
2961         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2962
2963 2014-08-19  Yao Qi  <yao@codesourcery.com>
2964
2965         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2966         right line.
2967
2968 2014-08-18  David Blaikie  <dblaikie@gmail.com>
2969
2970         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2971
2972 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
2973
2974         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2975         attribute in array range.
2976
2977 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
2978
2979         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2980
2981 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
2982
2983         PR c++/17132
2984         * gdb.cp/pr17132.cc: New file.
2985         * gdb.cp/pr17132.exp: New file.
2986
2987 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
2988
2989         * gdb.python/py-xmethods.py (A_getarrayind)
2990         (E_method_char_worker.__call__, E_method_int_worker.__call__):
2991         Use 'print' with function call syntax.
2992         (E_method_matcher.match): Fix tab vs space indentation mixup.
2993
2994 2014-08-15  Yao Qi  <yao@codesourcery.com>
2995
2996         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2997         false.
2998
2999 2014-08-15  Yao Qi  <yao@codesourcery.com>
3000
3001         * gdb.cp/casts.exp: Set print symbol off.
3002         * gdb.cp/class2.exp: Likewise.
3003         * gdb.cp/overload.exp: Likewise.
3004         * gdb.cp/templates.exp: Likewise.
3005
3006 2014-08-11  Doug Evans  <dje@google.com>
3007
3008         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3009         (test_load_shlib): Update.
3010
3011 2014-08-09  Yao Qi  <yao@codesourcery.com>
3012
3013         * gdb.base/display.exp: Invoke is_address_zero_readable.
3014         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3015         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3016         * gdb.base/hbreak-unmapped.exp: Return if
3017         is_address_zero_readable returns true.
3018         * gdb.base/signest.exp: Likewise.
3019         * gdb.base/signull.exp: Likewise.
3020         * gdb.base/sigbpt.exp: Likewise.
3021         * gdb.guile/scm-disasm.exp: Do the test if
3022         is_address_zero_readable returns false.
3023         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3024         * gdb.python/py-arch.exp: Likewise.
3025         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3026         * lib/gdb.exp (is_address_zero_readable): New proc.
3027
3028 2014-08-09  Yao Qi  <yao@codesourcery.com>
3029
3030         PR testsuite/13443
3031         * gdb.mi/mi-var-display.exp: Make test messages unique.
3032
3033 2014-08-04  Tom Tromey  <tromey@redhat.com>
3034
3035         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3036         target 0".
3037
3038 2014-08-04  Tom Tromey  <tromey@redhat.com>
3039
3040         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3041         "target_resume".
3042
3043 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
3044
3045         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3046         inner_vla_struct_object_size.
3047         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3048         as xfail.
3049
3050 2014-07-30  Pedro Alves  <palves@redhat.com>
3051
3052         * gdb.threads/signal-command-handle-nopass.exp (test): Add
3053         comment.
3054
3055 2014-07-29  Yao Qi  <yao@codesourcery.com>
3056
3057         PR gdb/17206
3058         * gdb.base/until-nodebug.exp: New.
3059
3060 2014-07-28  Doug Evans  <xdje42@gmail.com>
3061
3062         PR guile/17203
3063         * gdb.guile/scm-parameter.exp: Add tests for trying to create
3064         previously existing parameter, and previously ambiguously spelled
3065         parameter.
3066
3067 2014-07-28  Will Newton  <will.newton@linaro.org>
3068
3069         * gdb.base/varargs.exp: Remove KFAILs for ARM.
3070
3071 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
3072             Doug Evans  <xdje42@gmail.com>
3073
3074         PR guile/17146
3075         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3076
3077 2014-07-25  Pedro Alves  <palves@redhat.com>
3078
3079         * gdb.threads/signal-command-handle-nopass.c: New file.
3080         * gdb.threads/signal-command-handle-nopass.exp: New file.
3081         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3082         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3083         * gdb.threads/signal-delivered-right-thread.c: New file.
3084         * gdb.threads/signal-delivered-right-thread.exp: New file.
3085
3086 2014-07-25  Pedro Alves  <palves@redhat.com>
3087
3088         * gdb.base/double-prompt-target-event-error.exp
3089         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3090         match.
3091         (cancel_pagination_in_target_event): Rework double prompt
3092         detection.
3093         * gdb.base/paginate-after-ctrl-c-running.exp
3094         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3095         <return>' match.
3096         * gdb.base/paginate-bg-execution.exp
3097         (test_bg_execution_pagination_return)
3098         (test_bg_execution_pagination_cancel): Remove '-notransfer
3099         <return>' matches.
3100         * gdb.base/paginate-execution-startup.exp
3101         (test_fg_execution_pagination_return)
3102         (test_fg_execution_pagination_cancel): Remove '-notransfer
3103         <return>' matches.
3104         * gdb.base/paginate-inferior-exit.exp
3105         (test_paginate_inferior_exited): Remove '-notransfer <return>'
3106         match.
3107         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3108         * lib/gdb.exp (pagination_prompt): Run text through
3109         string_to_regexp.
3110         (gdb_test_multiple): Match $pagination_prompt instead of
3111         "<return>".
3112         (string_to_regexp): Move to lib/gdb-utils.exp.
3113
3114 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3115
3116         * gdb.arch/amd64-entry-value-paramref.S: New file.
3117         * gdb.arch/amd64-entry-value-paramref.cc: New file.
3118         * gdb.arch/amd64-entry-value-paramref.exp: New file.
3119         * gdb.arch/amd64-optimout-repeat.S: New file.
3120         * gdb.arch/amd64-optimout-repeat.c: New file.
3121         * gdb.arch/amd64-optimout-repeat.exp: New file.
3122
3123 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3124
3125         PR gdb/17170
3126         * gdb.base/statistics.exp: New file.
3127
3128 2014-07-17  Doug Evans  <dje@google.com>
3129
3130         PR gdb/17170
3131         * gdb.base/maint.exp: Update testing of per-command stats.
3132
3133 2014-07-16  Pedro Alves  <palves@redhat.com>
3134
3135         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3136         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3137         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3138         (tfile_write_buf): New functions.
3139         (add_memory_block): Rewrite using the above.
3140         (adjust_function_address): New function.
3141         (FUNCTION_ADDRESS): New macro.
3142         (write_basic_trace_file): Remove short_x local, and use
3143         tfile_write_16. Change type of func_addr local to unsigned long
3144         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
3145         here.  Cast argument of add_memory_block to char pointer.
3146         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
3147         (main): Remove parameters.
3148         * gdb.trace/tfile.exp: Remove nowarnings.
3149
3150 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
3151
3152         * gdb.base/debug-expr.exp: Test string evaluation with
3153         "debug expression" on.
3154
3155 2014-07-15  Pedro Alves  <palves@redhat.com>
3156
3157         * gdb.base/reread.exp: Use clean_restart.
3158
3159 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
3160
3161         * gdb.arch/avr-flash-qualifer.c: New.
3162         * gdb.arch/avr-flash-qualifer.exp: New.
3163
3164 2014-07-14  Pedro Alves  <palves@redhat.com>
3165
3166         * gdb.base/paginate-after-ctrl-c-running.c: New file.
3167         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3168
3169 2014-07-14  Pedro Alves  <palves@redhat.com>
3170
3171         * gdb.base/double-prompt-target-event-error.c: New file.
3172         * gdb.base/double-prompt-target-event-error.exp: New file.
3173
3174 2014-07-14  Pedro Alves  <palves@redhat.com>
3175
3176         PR gdb/17072
3177         * gdb.base/paginate-inferior-exit.c: New file.
3178         * gdb.base/paginate-inferior-exit.exp: New file.
3179
3180 2014-07-14  Pedro Alves  <palves@redhat.com>
3181
3182         PR gdb/17072
3183         * gdb.base/paginate-bg-execution.c: New file.
3184         * gdb.base/paginate-bg-execution.exp: New file.
3185
3186 2014-07-14  Pedro Alves  <palves@redhat.com>
3187
3188         PR gdb/17072
3189         * gdb.base/paginate-execution-startup.c: New file.
3190         * gdb.base/paginate-execution-startup.exp: New file.
3191         * lib/gdb.exp (pagination_prompt): New global.
3192         (default_gdb_spawn): New procedure, factored out from
3193         default_gdb_spawn.
3194         (default_gdb_start): Adjust to call default_gdb_spawn.
3195         (gdb_spawn): New procedure.
3196
3197 2014-07-14  Pedro Alves  <palves@redhat.com>
3198
3199         * lib/gdb.exp (gdb_assert): New procedure.
3200         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3201
3202 2014-07-14  Pedro Alves  <palves@redhat.com>
3203
3204         * gdb.base/execution-termios.c: New file.
3205         * gdb.base/execution-termios.exp: New file.
3206
3207 2014-07-14  Tom Tromey  <tromey@redhat.com>
3208
3209         * gdb.cp/vla-cxx.cc: New file.
3210         * gdb.cp/vla-cxx.exp: New file.
3211
3212 2014-07-14  Tom Tromey  <tromey@redhat.com>
3213
3214         * gdb.reverse/rerun-prec.c: New file.
3215         * gdb.reverse/rerun-prec.exp: New file.
3216
3217 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
3218             Maciej W. Rozycki  <macro@codesourcery.com>
3219
3220         * lib/gdb-utils.exp: New file.
3221         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3222         inline `gdb_init_command' processing.
3223         (gdb_start_cmd): Likewise.
3224         * lib/mi-support.exp (mi_run_cmd): Likewise.
3225         * README: Document `gdb_init_command' and `gdb_init_commands'.
3226
3227 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3228
3229         Fix false FAIL running under a very long directory name.
3230         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3231         and "set print elements 10000".  Twice.
3232
3233 2014-07-11  Yao Qi  <yao@codesourcery.com>
3234
3235         * gdb.base/exprs.exp: "set print symbol off".
3236
3237 2014-07-11  Pedro Alves  <palves@redhat.com>
3238
3239         * gdb.threads/kill.c: New file.
3240         * gdb.threads/kill.exp: New file.
3241
3242 2014-07-10  Yao Qi  <yao@codesourcery.com>
3243
3244         * gdb.trace/tfile.c (write_basic_trace_file)
3245         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3246         address written to trace file.
3247
3248 2014-07-09  Pedro Alves  <palves@redhat.com>
3249
3250         * gdb.base/attach-wait-input.exp: New file.
3251         * gdb.base/attach-wait-input.c: New file.
3252
3253 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
3254
3255         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3256         setting up test structures.
3257         (main): Call new test function.
3258         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3259         test function, continue into test function and walk test
3260         structures.
3261
3262 2014-07-02  Yao Qi  <yao@codesourcery.com>
3263
3264         * gdb.trace/entry-values.c: Define labels 'foo_start' and
3265         'bar_start' at the beginning of functions 'foo' and 'bar'
3266         respectively.
3267         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3268         instead of 'foo' and 'bar'.
3269
3270 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
3271
3272         * gdb.btrace/segv.exp: New.
3273         * gdb.btrace/segv.c: New.
3274
3275 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
3276
3277         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3278         instruction.
3279
3280 2014-06-30  Mark Wielaard  <mjw@redhat.com>
3281
3282         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3283         vulture, vilify, villar): New volatile array constants.
3284         (vindictive, vegetation): New const volatile array constants.
3285         * gdb.base/volatile.exp: Test volatile and const volatile array
3286         types.
3287
3288 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3289
3290         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3291         target lacks support for awatch, rwatch, or hbreak.
3292
3293 2014-06-27  Yao Qi  <yao@codesourcery.com>
3294
3295         * gdb.multi/dummy-frame-restore.exp: New.
3296         * gdb.multi/dummy-frame-restore.c: New.
3297
3298 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
3299
3300         * gdb.btrace/gcore.exp: New.
3301
3302 2014-06-23  Pedro Alves  <palves@redhat.com>
3303
3304         * gdb.base/watchpoint-reuse-slot.c: New file.
3305         * gdb.base/watchpoint-reuse-slot.exp: New file.
3306
3307 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
3308
3309         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3310         progspace's filename in 'info', 'enable' and 'disable' command
3311         tests.
3312
3313 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
3314
3315         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3316         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3317         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3318
3319 2014-06-20  Gary Benson  <gbenson@redhat.com>
3320
3321         * gdb.arch/i386-avx.exp: Fix include file location.
3322         * gdb.arch/i386-sse.exp: Likewise.
3323
3324 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
3325
3326         * gdb.dlang/expression.exp: New file.
3327
3328 2014-06-19  Pedro Alves  <palves@redhat.com>
3329
3330         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3331         out from ...
3332         (top level): ... here.  Iterate running tests under different
3333         scheduler-locking settings.
3334
3335 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
3336
3337         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3338         to DW_FORM_addr and use non-zero addresses.
3339
3340 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
3341
3342         PR gdb/17017
3343         * gdb.python/py-xmethods.cc: Add global function call counters and
3344         increment them in their respective functions.  Remove "cout"
3345         statements.
3346         * gdb.python/py-xmethods.exp: Make tests check the global function
3347         call counters instead of depending on inferior IO.
3348
3349 2014-06-18  Don Breazeal  <donb@codesourcery.com>
3350
3351         * gdb.base/foll-fork.exp (default_fork_parent_follow):
3352         Deleted procedure.
3353         (explicit_fork_parent_follow): Deleted procedure.
3354         (explicit_fork_child_follow): Deleted procedure.
3355         (test_follow_fork): New procedure.
3356         (do_fork_tests): Replace calls to deleted procedures with
3357         calls to test_follow_fork and reset GDB for subsequent 
3358         procedure calls.
3359
3360 2014-06-17  Yao Qi  <yao@codesourcery.com>
3361
3362         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3363         CP1252.
3364
3365 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
3366
3367         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3368         Initialize ptr and S explicitly.
3369         (skip_type_update_when_not_use_rtti_test): Likewise.
3370
3371 2014-06-16  Keith Seitz  <keiths@redhat.com>
3372
3373         PR mi/15863
3374         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3375         the inferior is started.
3376
3377 2014-06-16  Pedro Alves  <palves@redhat.com>
3378
3379         * gdb.base/break-main-file-remove-fail.c: New file.
3380         * gdb.base/break-main-file-remove-fail.exp: New file.
3381         * gdb.base/break-unload-file.exp: Use build_executable instead of
3382         prepare_for_testing.
3383         (test_break): New parameter "initial_load".  Handle it.
3384         (top level): Add initial_load cmdline/file axis.
3385
3386 2014-06-12  Tom Tromey  <tromey@redhat.com>
3387
3388         * gdb.base/completion.exp: Don't use directory name in test.
3389
3390 2014-06-09  Gary Benson  <gbenson@redhat.com>
3391
3392         * gdb.base/sigall.c [Functions to send signals]: Reorder to
3393         separate the always-available ANSI-standard signals from the
3394         signals that require checking.
3395         (main): Likewise.
3396         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3397         Likewise.
3398         (main): Likewise.
3399
3400 2014-06-07  Keith Seitz  <keiths@redhat.com>
3401
3402         Revert:
3403         PR c++/16253
3404         * gdb.cp/var-tag.cc: New file.
3405         * gdb.cp/var-tag.exp: New file.
3406         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3407         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3408         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3409         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3410
3411 2014-06-06  Doug Evans  <xdje42@gmail.com>
3412
3413         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3414
3415 2014-06-06  Pedro Alves  <palves@redhat.com>
3416
3417         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3418         in target debug output instead of looking at RSP packets,
3419         disabling the test on any target that uses hardware stepping.
3420         Update comments.
3421
3422 2014-06-06  Pedro Alves  <palves@redhat.com>
3423
3424         * gdb.base/break-unload-file.exp: Fix typo.
3425
3426 2014-06-06  Yao Qi  <yao@codesourcery.com>
3427
3428         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3429         from "jit_function" to "^jit_function".
3430
3431 2014-06-06  Yao Qi  <yao@codesourcery.com>
3432
3433         * gdb.base/async.c (foo): Add one statement.
3434         * gdb.base/async.exp: Get the next instruction address and
3435         match the output of "nexti" by instruction address.  Match
3436         the hex address in the output of "finish".
3437
3438 2014-06-06  Gary Benson  <gbenson@redhat.com>
3439
3440         * gdb.base/call-signals.c: Remove preprocessor conditionals
3441         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3442         SIGSEGV and SIGTERM.
3443         * gdb.base/sigall.c: Likewise.
3444         * gdb.base/unwindonsignal.c: Likewise.
3445         * gdb.reverse/sigall-reverse.c: Likewise.
3446
3447 2014-06-06  Yao Qi  <yao@codesourcery.com>
3448
3449         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
3450         readable, skip the test.
3451
3452 2014-06-06  Yao Qi  <yao@codesourcery.com>
3453
3454         * gdb.threads/staticthreads.c (thread_function): Move the line
3455         setting breakpoint on forward.
3456         * gdb.threads/staticthreads.exp: Update comments.
3457
3458 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
3459
3460         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3461         "history-append! type error".
3462
3463 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
3464
3465         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3466         erroneous dprintf expected input.
3467
3468 2014-06-04  Doug Evans  <xdje42@gmail.com>
3469
3470         * gdb.guile/scm-generics.exp: Delete.
3471
3472 2014-06-04  Doug Evans  <xdje42@gmail.com>
3473
3474         * gdb.guile/scm-breakpoint.exp: Update.
3475         Add tests for breakpoint registration.
3476
3477 2014-06-04  Tom Tromey  <tromey@redhat.com>
3478
3479         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3480         VLA-in-union.
3481         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3482         inner_vla_struct, vla_union types.  Initialize objects of those
3483         types and compute their sizes.
3484
3485 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
3486             Hui Zhu  <hui@codesourcery.com>
3487
3488         * gdb.base/fileio.exp: Add test for shell not available as well as
3489         available.
3490         * gdb.base/fileio.c (test_system): Check for shell twice.
3491
3492 2014-06-04  Yao Qi  <yao@codesourcery.com>
3493
3494         * gdb.base/auto-connect-native-target.exp: Remove redundant
3495         space from the regexp pattern.
3496
3497 2014-06-04  Yao Qi  <yao@codesourcery.com>
3498
3499         * gdb.base/default.exp: Replace "child" with "native" in
3500         regexp pattern.
3501
3502 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
3503
3504         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3505         * gdb.python/py-xmethods.exp: New tests to test xmethods.
3506         * gdb.python/py-xmethods.py: Python script supporting the
3507         new testcase and tests.
3508
3509 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
3510             Pedro Alves  <palves@redhat.com>
3511
3512         PR breakpoints/17000
3513         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3514         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3515
3516 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
3517
3518         * gdb.base/subst.exp: Add tests to verify partial path matching
3519         output.
3520
3521 2014-06-03  Pedro Alves  <palves@redhat.com>
3522
3523         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3524         target that doesn't use software single-stepping.
3525
3526 2014-06-03  Pedro Alves  <palves@redhat.com>
3527
3528         PR breakpoints/17000
3529         * gdb.base/sss-bp-on-user-bp-2.c: New file.
3530         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3531
3532 2014-06-02  Doug Evans  <xdje42@gmail.com>
3533
3534         * gdb.guile/scm-parameter.exp: New file.
3535
3536 2014-06-02  Doug Evans  <xdje42@gmail.com>
3537
3538         * gdb.guile/scm-cmd.c: New file.
3539         * gdb.guile/scm-cmd.exp: New file.
3540
3541 2014-06-02  Doug Evans  <xdje42@gmail.com>
3542
3543         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3544         pretty-printer lookup.
3545         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3546         (make-pp_s-printer): Call it.
3547         (make-pretty-printer-from-dict): New function.
3548         (lookup-pretty-printer-maker-from-dict): New function.
3549         (*pretty-printer*): Simplify.
3550         (make-objfile-pp_s-printer): New function.
3551         (install-objfile-pretty-printers!): New function.
3552         (make-progspace-pp_s-printer): New function.
3553         (install-progspace-pretty-printers!): New function.
3554         * gdb.guile/scm-progspace.c: New file.
3555         * gdb.guile/scm-progspace.exp: New file.
3556
3557 2014-06-02  Pedro Alves  <palves@redhat.com>
3558
3559         * gdb.base/dprintf-bp-same-addr.c: New file.
3560         * gdb.base/dprintf-bp-same-addr.exp: New file.
3561
3562 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3563
3564         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3565         * gdb.arch/powerpc-power.s: Likewise.
3566
3567 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
3568
3569         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3570
3571 2014-06-01  Yao Qi  <yao@codesourcery.com>
3572
3573         * gdb.base/watchpoint.exp (test_watch_location): Check null
3574         pointer can be dereferenced.  If not, do the test, otherwise
3575         skip it.
3576
3577 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
3578
3579         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3580         results.
3581         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3582
3583 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
3584
3585         * gdb.arch/amd64-invalid-stack-middle.S: New file.
3586         * gdb.arch/amd64-invalid-stack-middle.c: New file.
3587         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3588         * gdb.arch/amd64-invalid-stack-top.c: New file.
3589         * gdb.arch/amd64-invalid-stack-top.exp: New file.
3590
3591 2014-05-30  Pedro Alves  <palves@redhat.com>
3592
3593         PR breakpoints/17000
3594         * gdb.base/sss-bp-on-user-bp.c: New file.
3595         * gdb.base/sss-bp-on-user-bp.exp: New file.
3596
3597 2014-05-30  David Blaikie  <dblaikie@gmail.com>
3598
3599         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3600         gnu_inline semantics via attribute.
3601         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3602         source explicitly specifies the required semantics.
3603
3604 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
3605
3606         * gdb.reverse/sigall-reverse.exp: Fix a typo.
3607
3608 2014-05-29  Pedro Alves  <palves@redhat.com>
3609             Tom Tromey  <tromey@redhat.com>
3610
3611         * gdb.base/async-shell.exp: Don't enable target-async.
3612         * gdb.base/async.exp
3613         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3614         parameter.  Adjust.
3615         (top level): Don't test with "target-async".
3616         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3617         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3618         * gdb.base/inferior-died.exp: Don't enable target-async.
3619         * gdb.base/interrupt-noterm.exp: Likewise.
3620         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3621         * gdb.mi/mi-nonstop-exit.exp: Likewise.
3622         * gdb.mi/mi-nonstop.exp: Likewise.
3623         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3624         * gdb.mi/mi-nsintrall.exp: Likewise.
3625         * gdb.mi/mi-nsmoribund.exp: Likewise.
3626         * gdb.mi/mi-nsthrexec.exp: Likewise.
3627         * gdb.mi/mi-watch-nonstop.exp: Likewise.
3628         * gdb.multi/watchpoint-multi.exp: Adjust comment.
3629         * gdb.python/py-evsignal.exp: Don't enable target-async.
3630         * gdb.python/py-evthreads.exp: Likewise.
3631         * gdb.python/py-prompt.exp: Likewise.
3632         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3633         * gdb.server/solib-list.exp: Don't enable target-async.
3634         * gdb.threads/thread-specific-bp.exp: Likewise.
3635         * lib/mi-support.exp: Adjust to use mi-async.
3636
3637 2014-05-29  Pedro Alves  <palves@redhat.com>
3638
3639         PR gdb/13860
3640         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3641         reason, even in sync mode.
3642
3643 2014-05-29  Pedro Alves  <palves@redhat.com>
3644             Hui Zhu  <hui@codesourcery.com>
3645
3646         PR PR15693
3647         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3648         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3649         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3650         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3651
3652 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
3653
3654         * config/monitor.exp (gdb_target_monitor): Replace use of
3655         "set remotebaud" by "set serial baud".
3656
3657 2014-05-26  Andy Wingo  <wingo@igalia.com>
3658
3659         * gdb.guile/scm-breakpoint.exp:
3660         * gdb.guile/scm-gsmob.exp: Update to use plain old object
3661         properties instead of gdb-object-properties.
3662
3663 2014-05-26  Yao Qi  <yao@codesourcery.com>
3664
3665         * gdb.server/no-thread-db.exp: Specify source file name
3666         explicitly when setting a breakpoint.
3667
3668 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
3669
3670         * gdb.btrace/vdso.c: New.
3671         * gdb.btrace/vdso.exp: New.
3672
3673 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
3674
3675         * gdb.base/gcore.exp (capture_command_output): Move ...
3676         * lib/gdb.exp (capture_command_output): ... here.
3677
3678 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
3679
3680         * gdb.btrace/data.exp: Test memory access during btrace replay.
3681
3682 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
3683
3684         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3685
3686 2014-05-21  Pedro Alves  <palves@redhat.com>
3687
3688         PR gdb/13860
3689         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3690         (top level): Test that output related to execution commands is
3691         sent to the console with CLI commands, but not with MI commands.
3692         Test that breakpoint events are always mirrored to the console.
3693         Also expect the new source line to be output after a "next" in
3694         async mode too.  Make it a pass/fail test.
3695         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3696         output.
3697         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3698
3699 2014-05-21  Pedro Alves  <palves@redhat.com>
3700
3701         * gdb.base/list.exp (build_pattern, test_list): New procedures.
3702         Use them to test variations of "list" after reaching a breakpoint.
3703         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3704         Test "list" with listsize 10 after reaching a breakpoint.
3705         * gdb.python/python.exp (decode_line current location line
3706         number): Adjust expected line number.
3707
3708 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
3709
3710         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3711         behavior for $args, pass it directly to "run".
3712
3713 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3714
3715         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3716         30000 to 65536.
3717
3718 2014-05-21  Pedro Alves  <palves@redhat.com>
3719
3720         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3721         auto-connect-native-target off".
3722         * gdb.base/auto-connect-native-target.c: New file.
3723         * gdb.base/auto-connect-native-target.exp: New file.
3724
3725 2014-05-21  Pedro Alves  <palves@redhat.com>
3726
3727         * gdb.base/default.exp: Test "target native" instead of "target
3728         child".
3729
3730 2014-05-21  Mark Wielaard  <mjw@redhat.com>
3731
3732         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3733
3734 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
3735
3736         Fix TLS access for -static -pthread.
3737         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3738         <HAVE_TLS> (thread_function, main): Initialize it.
3739         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3740         Add clean_restart.
3741         <$have_tls != "">: Check TLSVAR.
3742
3743 2014-05-21  Pedro Alves  <palves@redhat.com>
3744
3745         * gdb.base/dcache-line-read-error.c: New.
3746         * gdb.base/dcache-line-read-error.exp: New.
3747
3748 2014-05-20  Pedro Alves  <palves@redhat.com>
3749
3750         * gdb.base/compare-sections.c: New file.
3751         * gdb.base/compare-sections.exp: New file.
3752
3753 2014-05-20  Pedro Alves  <palves@redhat.com>
3754
3755         * gdb.base/break-idempotent.c: New file.
3756         * gdb.base/break-idempotent.exp: New file.
3757
3758 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
3759
3760         * gdb.btrace/nohist.exp: New.
3761
3762 2014-05-20  Yao Qi  <yao@codesourcery.com>
3763
3764         * lib/gdb.exp (gdb_init): Set timeout if test file is under
3765         gdb.reverse directory and gdb_reverse_timeout exists in board
3766         setting.
3767         * README: Document gdb_reverse_timeout.
3768
3769 2014-05-20  Yao Qi  <yao@codesourcery.com>
3770
3771         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3772         'test_file_name'.  Treat args as a string instead of a list.
3773         (gdb_init): Rename argument 'args' by 'test_file_name'.
3774
3775 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
3776
3777         * gdb.arch/powerpc-power.exp: New file.
3778         * gdb.arch/powerpc-power.s: New file.
3779
3780 2014-05-16  Doug Evans  <dje@google.com>
3781
3782         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3783         * gdb.base/completion.exp: Check that all expected files exist
3784         before doing file completion.
3785
3786 2014-05-16  Doug Evans  <dje@google.com>
3787
3788         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3789         Update.
3790         (do_syscall_tests_without_xml): Update.
3791
3792 2014-05-16  Pedro Alves  <palves@redhat.com>
3793
3794         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3795         instead of "unknown output after running".
3796
3797 2014-05-16  Yao Qi  <yao@codesourcery.com>
3798
3799         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
3800         file1.txt from host at the end.
3801         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3802
3803 2014-05-15  Doug Evans  <dje@google.com>
3804
3805         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3806         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3807         loading file.  Add test for TU lookup.
3808
3809 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
3810
3811         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3812         calling "-exec-arguments" or "set args" before running the
3813         inferior.
3814
3815 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
3816
3817         * lib/mi-support.exp (mi_expect_stop): Expect message for
3818         inferiors that exit with non-zero exit code.
3819
3820 2014-05-14  Yao Qi  <yao@codesourcery.com>
3821
3822         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3823         match absolute path on remote host.
3824         (test_file_list_exec_source_files): Remove "/" from the
3825         pattern.
3826
3827 2014-05-14  Yao Qi  <yao@codesourcery.com>
3828
3829         * boards/local-remote-host-notty.exp (${board}_file): New
3830         proc.
3831
3832 2014-05-07  Kyle McMartin  <kyle@redhat.com>
3833
3834         Pushed by Joel Brobecker  <brobecker@adacore.com>.
3835         * gdb.arch/aarch64-atomic-inst.c: New file.
3836         * gdb.arch/aarch64-atomic-inst.exp: New file.
3837
3838 2014-05-07  Yao Qi  <yao@codesourcery.com>
3839
3840         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3841         in current context" too.
3842
3843 2014-05-05  Keith Seitz  <keiths@redhat.com>
3844
3845         * gdb.linespec/ls-dollar.exp: Add test for linespec
3846         file:convenience_variable.
3847
3848 2014-05-05  Yao Qi  <yao@codesourcery.com>
3849
3850         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3851         traceframes into tfile and ctf trace files.  Read data from
3852         trace file and test collected data.
3853         (gdb_collect_locals_test): Likewise.
3854         (gdb_unavailable_registers_test): Likewise.
3855         (gdb_unavailable_floats): Likewise.
3856         (gdb_collect_globals_test): Likewise.
3857         (top-level): Append "ctf" to trace_file_targets if GDB
3858         supports.
3859
3860 2014-05-05  Yao Qi  <yao@codesourcery.com>
3861
3862         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3863         code to ...
3864         (gdb_collect_args_test_1): ... it.  New proc.
3865         (gdb_collect_locals_test): Move some code to ...
3866         (gdb_collect_locals_test_1): ... it.  New proc.
3867         (gdb_unavailable_registers_test): Move some code to ...
3868         (gdb_unavailable_registers_test_1): ... it.  New proc.
3869         (gdb_unavailable_floats): Move some code to ...
3870         (gdb_unavailable_floats_1): ... it.  New proc.
3871
3872 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3873
3874         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3875         probes to test for bitness recognition.
3876         * gdb.arch/amd64-stap-optional-prefix.exp
3877         (test_probe_value_without_reg): New procedure.
3878         Add code to test for different kinds of bitness.
3879
3880 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3881
3882         PR breakpoints/16889
3883         * gdb.arch/amd64-stap-optional-prefix.S: New file.
3884         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3885
3886 2014-05-01  Pedro Alves  <palves@redhat.com>
3887
3888         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
3889         gdb_file_cmd if no file is specified.
3890         * boards/native-extended-gdbserver.exp (gdb_load): Use the
3891         last_loaded_file to set the remote exec-file.
3892
3893 2014-05-01  Pedro Alves  <palves@redhat.com>
3894
3895         * boards/local-remote-host.exp: New file.
3896
3897 2014-05-01  Pedro Alves  <palves@redhat.com>
3898
3899         * boards/local-remote-host.exp: Rename to ...
3900         * boards/local-remote-host-notty.exp: ... this.
3901
3902 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
3903
3904         * gdb.ada/dyn_arrayidx: New testcase.
3905
3906 2014-04-26  Yao Qi  <yao@codesourcery.com>
3907
3908         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
3909         and compute the length of function main.  Save it in
3910         $main_length.
3911         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3912         (top-level): Use gdb_compile to compile objects into
3913         executable and restart GDB.  Remove invocation to
3914         prepare_for_testing.
3915
3916 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
3917             Pedro Alves  <palves@redhat.com>
3918
3919         PR server/16255
3920         * gdb.multi/multi-attach.c: New file.
3921         * gdb.multi/multi-attach.exp: New file.
3922
3923 2014-04-25  Pedro Alves  <palves@redhat.com>
3924
3925         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3926         user.
3927         (top level): Test that "set remote conditional-breakpoints-packet
3928         off" works as intended.
3929         * gdb.base/dprintf.exp: Test that "set remote
3930         breakpoint-commands-packet off" works as intended.
3931         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3932         New function.
3933         (top level): Call it.
3934         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3935         remote fast-tracepoints-packet off" works as intended.
3936         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3937         * lib/gdb.exp (gdb_is_target_remote): ... here.
3938
3939 2014-04-24  David Blaikie  <dblaikie@gmail.com>
3940
3941         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3942         ensure clang would not discard them.
3943         * gdb.base/gdbvars.c: Ditto.
3944         * gdb.base/memattr.c: Ditto.
3945         * gdb.base/whatis.c: Ditto.
3946         * gdb.python/py-prettyprint.c: Ditto.
3947         * gdb.trace/actions.c: Ditto.
3948         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3949         ensure clang would not discard it.
3950
3951 2014-04-24  David Blaikie  <dblaikie@gmail.com>
3952
3953         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3954         clang to emit the full definition of type required by the test
3955         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3956
3957 2014-04-24  David Blaikie  <dblaikie@gmail.com>
3958
3959         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3960         coax Clang into emitting the definition of the type.
3961         * gdb.cp/pr10728-x.h (y): Ditto.
3962         * gdb.cp/pr10728-y.cc (y): Ditto.
3963
3964 2014-04-24  David Blaikie  <dblaikie@gmail.com>
3965
3966         * gdb.base/label.exp: XFAIL label related tests under Clang.
3967         * gdb.cp/cplabel.exp: Ditto.
3968         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3969         under Clang those using labels.
3970
3971 2014-04-25  Yao Qi  <yao@codesourcery.com>
3972
3973         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3974         double_label.
3975         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3976         partial_label and double_label.
3977
3978 2014-04-24  David Blaikie  <dblaikie@gmail.com>
3979
3980         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3981
3982 2014-04-24  David Blaikie  <dblaikie@gmail.com>
3983
3984         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3985         of the function to work across GCC and Clang.
3986         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3987         pointer types (const void ** const V void **).
3988
3989 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
3990             Walfred Tedeschi  <walfred.tedeschi@intel.com>
3991
3992         * Makefile.in (EXECUTABLES): Added i386-avx512.
3993         * gdb.arch/i386-avx512.c: New file.
3994         * gdb.arch/i386-avx512.exp: Likewise.
3995
3996 2014-04-23  Keith Seitz  <keiths@redhat.com>
3997
3998         * lib/mi-support.exp (mi_list_breakpoints): Delete.
3999         (mi_make_breakpoint_table): New procedure.
4000         (mi_create_breakpoint): Use mi_make_breakpoint
4001         and return the result.
4002         (mi_make_breakpoint): New procedure.
4003         (mi_build_kv_pairs): New procedure.
4004
4005         * gdb.mi/mi-break.exp: Remove unused globals,
4006         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4007         All callers updated.
4008         * gdb.mi/mi-dprintf.exp: Use variable to track command
4009         number.
4010         Update all callers of mi_create_breakpoint and use
4011         mi_make_breakpoint_table.
4012         Remove any unused global variables.
4013         * gdb.mi/mi-nonstop.exp: Likewise.
4014         * gdb.mi/mi-nsintrall.exp: Likewise.
4015         * gdb.mi/mi-nsmoribund.exp: Likewise.
4016         * gdb.mi/mi-nsthrexec.exp: Likewise.
4017         * gdb.mi/mi-reverse.exp: Likewise.
4018         * gdb.mi/mi-simplerun.exp: Likewise.
4019         * gdb.mi/mi-stepn.exp: Likewise.
4020         * gdb.mi/mi-syn-frame.exp: Likewise.
4021         * gdb.mi/mi-until.exp: Likewise.
4022         * gdb.mi/mi-var-cp.exp: Likewise.
4023         * gdb.mi/mi-var-display.exp: Likewise.
4024         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4025         * gdb.mi/mi2-var-child.exp: Likewise.
4026         * gdb.mi/mi-vla-c99.exp: Likewise.
4027         * lib/mi-support.exp: Likewise.
4028
4029         From Ian Lance Taylor  <iant@cygnus.com>:
4030         * lib/gdb.exp (parse_args): New procedure.
4031
4032 2014-04-23  Pedro Alves  <palves@redhat.com>
4033
4034         * gdb.base/break-unload-file.c: New file.
4035         * gdb.base/break-unload-file.exp: New file.
4036         * gdb.base/sym-file-lib.c (baz): New function.
4037         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4038         field.
4039         (load): Store the segment's mapped size.
4040         (unload): New function.
4041         (unload_shlib): New function.
4042         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4043         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4044         set a breakpoint at baz, and call it.
4045         * gdb.base/sym-file.exp: New tests for stale breakpoint
4046         instructions.
4047
4048 2014-04-23  Pedro Alves  <palves@redhat.com>
4049
4050         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4051         * gdb.base/hbreak-in-shr-unsupported.c: New file.
4052         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4053         * gdb.base/hbreak-unmapped.c: New file.
4054         * gdb.base/hbreak-unmapped.exp: New file.
4055         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4056         * lib/gdb.exp (gdb_is_target_remote): ... here.
4057
4058 2014-04-22  Pedro Alves  <palves@redhat.com>
4059
4060         * gdb.base/consecutive-step-over.c: New file.
4061         * gdb.base/consecutive-step-over.exp: New file.
4062
4063 2014-04-22  Pedro Alves  <palves@redhat.com>
4064
4065         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4066         instead of send_gdb/gdb_expect.
4067
4068 2014-04-22  Yao Qi  <yao@codesourcery.com>
4069
4070         * lib/trace-support.exp (generate_tracefile): New procedure.
4071         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4072         return 0.
4073         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4074         if generate_tracefile returns 1.
4075
4076 2014-04-18  Tom Tromey  <palves@redhat.com>
4077             Pedro alves  <tromey@redhat.com>
4078
4079         PR backtrace/15558
4080         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4081         with a backtrace limit.
4082         * gdb.python/py-frame-inline.exp: Test running to an inline
4083         function with a backtrace limit, and printing the newest frame.
4084         * gdb.python/py-frame-inline.c (main): Call f.
4085
4086 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4087
4088         * gdb.java/jnpe.exp: Drop srcdir from untested path.
4089
4090 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4091
4092         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4093         Drop prefix from unsupported source file path.
4094
4095 2014-04-17  Yao Qi  <yao@codesourcery.com>
4096
4097         * lib/gdb.exp (with_target_charset): New proc.
4098         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4099         with_target_charset.
4100         (test_print_strings): Likewise.
4101         (test_repeat_bytes): Likewise.
4102         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4103         for some tests.
4104
4105 2014-04-16  Keith Seitz  <keiths@redhat.com>
4106
4107         PR gdb/15827
4108         * gdb.dwarf2/corrupt.c: New file.
4109         * gdb.dwarf2/corrupt.exp: New file.
4110
4111 2014-04-16  Keith Seitz  <keiths@redhat.com>
4112
4113         PR c++/16597
4114         * gdb.cp/namelessclass.cc: New file.
4115         * gdb.cp/namelessclass.exp: New file.
4116         * gdb.cp/namelessclass.S: New file.
4117
4118 2014-04-16  Doug Evans  <dje@google.com>
4119
4120         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4121         Add comment.
4122         (gdbserver_default_get_comm_port): New function.
4123         (gdbserver_start): Check if board file provided
4124         "gdbserver,get_comm_port" and use it if so.
4125         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4126         (gdb,socketport): Set to "stdio".
4127         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4128         (stdio_gdbserver_template): Delete.
4129         (${board}_get_remote_address): Update.
4130         (${board}_build_remote_cmd): Delete.
4131         (${board}_get_comm_port): New function.
4132         (${board}_spawn): Update.
4133         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4134         Delete.
4135         (${board}_get_remote_address): Update.
4136         (${board}_get_comm_port): New function.
4137
4138 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
4139
4140         * gdb.base/memattr.exp: Improve regexps to handle memory regions
4141         appearing in any order.
4142
4143 2014-04-15  Doug Evans  <dje@google.com>
4144
4145         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4146         uninitialized value of "description".
4147
4148 2014-04-15  Keith Seitz  <keiths@redhat.com>
4149
4150         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4151         Remove unused globals.
4152         (test_running_the_program): Likewise.
4153         (test_controlled_execution): Likewise.
4154         (test_controlling_breakpoints): Likewise.
4155         (test_program_termination): Likewise.
4156
4157 2014-04-15  Keith Seitz  <keiths@redhat.com>
4158
4159         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4160         unused globals.
4161         (test_rbreak_creation_and_listing): Likewise.
4162         (test_ignore_count): Likewise.
4163         (test_error): Likewise.
4164
4165 2014-04-15  Pedro Alves  <palves@redhat.com>
4166
4167         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4168         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4169         sym-file-loader.c.
4170         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4171         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4172         to sym-file-loader.c.
4173         (struct library): Forward declare.
4174         (load_shlib, lookup_function): Change prototypes.
4175         (find_shstrtab, find_strtab, find_shdr, find_symtab)
4176         (translate_offset): Remove declarations.
4177         (get_text_addr): New declaration.
4178         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4179         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4180         sym-file-loader.h.
4181         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4182         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4183         here from sym-file-loader.h.
4184         (struct library): New structure.
4185         (load_shlib, lookup_function): Change prototypes and adjust to
4186         work with a struct library.
4187         (find_shstrtab, find_strtab, find_shdr, find_symtab)
4188         (translate_offset): Make static.
4189         (get_text_addr): New function.
4190         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4191
4192 2014-04-15  Pedro Alves  <palves@redhat.com>
4193
4194         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
4195
4196 2014-04-15  Pedro Alves  <palves@redhat.com>
4197
4198         * gdb.base/sym-file-loader.c: Include <limits.h>.
4199         (SELF_LINK): New define.
4200         (get_origin): New function.
4201         (load_shlib): Use it.
4202         * gdb.base/sym-file.exp: Don't early return if the target is
4203         remote.  Use runto_main, and issue fail is that fails.  Use
4204         gdb_load_shlibs.
4205         (shlib_name): Delete.
4206         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
4207
4208 2014-04-15  Pedro Alves <palves@redhat.com>
4209
4210         * gdb.base/sym-file.exp: Remove regex characters from test
4211         message.  Don't refer to breakpoint numbers in test messages.
4212
4213 2014-04-14  Keith Seitz  <keiths@redhat.com>
4214
4215         PR c++/16253
4216         * gdb.cp/var-tag.cc: New file.
4217         * gdb.cp/var-tag.exp: New file.
4218         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4219         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4220         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4221         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4222
4223 2014-04-14  Tom Tromey  <tromey@redhat.com>
4224
4225         * gdb.cp/classes.exp (test_enums): Handle underlying type.
4226         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4227         type.
4228         * gdb.cp/enum-class.exp: New file.
4229         * gdb.cp/enum-class.cc: New file.
4230
4231 2014-04-14  Tom Tromey  <tromey@redhat.com>
4232
4233         * gdb.dwarf2/enum-type.exp: New file.
4234
4235 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
4236
4237         * gdb.mi/mi-vla-c99.exp: New file.
4238         * gdb.mi/vla.c: New file.
4239
4240 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
4241
4242         * gdb.base/vla-datatypes.c: New file.
4243         * gdb.base/vla-datatypes.exp: New file.
4244
4245 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
4246
4247         * gdb.base/vla-ptr.c: New file.
4248         * gdb.base/vla-ptr.exp: New file.
4249
4250 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
4251
4252         * gdb.dwarf2/count.exp: New file.
4253
4254 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
4255
4256         * gdb.base/vla-sideeffect.c: New file.
4257         * gdb.base/vla-sideeffect.exp: New file.
4258
4259 2014-04-14  David Blaikie <dblaikie@gmail.com>
4260
4261         * gdb.mi/non-stop.c: Add return value for non-void function return
4262         statement.
4263         * gdb.threads/staticthreads.c: Ditto.
4264
4265 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
4266             Doug Evans  <xdje42@gmail.com>
4267
4268         * gdb.guile/scm-value.c: Improve test case.
4269         * gdb.guile/scm-value.exp: Add new test.
4270
4271 2014-04-11  David Blaikie  <dblaikie@gmail.com>
4272
4273         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4274         override Clang's default.
4275
4276 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
4277
4278         Revert the following changes (regressions):
4279
4280         * gdb.base/vla-sideeffect.c: New file.
4281         * gdb.base/vla-sideeffect.exp: New file.
4282
4283         * gdb.dwarf2/count.exp: New file.
4284
4285         * gdb.base/vla-multi.c: New file.
4286         * gdb.base/vla-multi.exp: New file.
4287
4288         * gdb.base/vla-ptr.c: New file.
4289         * gdb.base/vla-ptr.exp: New file.
4290
4291         * gdb.base/vla-datatypes.c: New file.
4292         * gdb.base/vla-datatypes.exp: New file.
4293
4294         * gdb.mi/mi-vla-c99.exp: New file.
4295         * gdb.mi/vla.c: New file.
4296
4297 2014-04-11  Keith Seitz  <keiths@redhat.com>
4298
4299         PR c++/16675
4300         * gdb.cp/cpsizeof.exp: New file.
4301         * gdb.cp/cpsizeof.cc: New file.
4302
4303 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
4304
4305         * gdb.mi/mi-vla-c99.exp: New file.
4306         * gdb.mi/vla.c: New file.
4307
4308 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
4309
4310         * gdb.base/vla-datatypes.c: New file.
4311         * gdb.base/vla-datatypes.exp: New file.
4312
4313 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
4314
4315         * gdb.base/vla-ptr.c: New file.
4316         * gdb.base/vla-ptr.exp: New file.
4317
4318 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
4319
4320         * gdb.base/vla-multi.c: New file.
4321         * gdb.base/vla-multi.exp: New file.
4322
4323 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
4324
4325         * gdb.dwarf2/count.exp: New file.
4326
4327 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
4328
4329         * gdb.base/vla-sideeffect.c: New file.
4330         * gdb.base/vla-sideeffect.exp: New file.
4331
4332 2014-04-11  Yao Qi  <yao@codesourcery.com>
4333
4334         * gdb.base/completion.exp: Check file exists before running tests
4335         on file completion.
4336
4337 2014-04-10  Pedro Alves  <palves@redhat.com>
4338
4339         * gdb.base/cond-eval-mode.c: New file.
4340         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
4341         prepare_for_testing to build the new file.  Check result of
4342         runto_main.
4343         (test_break, test_watch): New procedures.
4344         (top level): Use them.
4345
4346 2014-04-08  Pierre Muller  <muller@sourceware.org>
4347
4348         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4349         Ctrl-V use for mingw hosts.
4350
4351 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
4352
4353         * gdb.python/py-value.c: Improve test case.
4354         * gdb.python/py-value.exp: Add new test.
4355
4356 2014-04-07  David Blaikie  <dblaikie@gmail.com>
4357
4358         * lib/compiler.c: Identify the clang compiler.
4359         * lib/compiler.cc: Ditto.
4360
4361 2014-04-03  Yao Qi  <yao@codesourcery.com>
4362
4363         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4364
4365 2014-04-01  Anton Blanchard  <anton@samba.org>
4366
4367         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
4368         messages unique.
4369
4370 2014-04-01  Anton Blanchard  <anton@samba.org>
4371
4372         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4373         prepare_for_testing.
4374
4375 2014-04-01  Anton Blanchard  <anton@samba.org>
4376
4377         * gdb.arch/ppc64-atomic-inst.c: Remove.
4378         * gdb.arch/ppc64-atomic-inst.S: New file.
4379         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4380
4381 2014-03-31  Doug Evans  <dje@google.com>
4382
4383         * gdb.base/print-symbol-loading-lib.c: New file.
4384         * gdb.base/print-symbol-loading-main.c: New file.
4385         * gdb.base/print-symbol-loading.exp: New file.
4386
4387 2014-03-31  Yao Qi  <yao@codesourcery.com>
4388
4389         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4390
4391 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
4392
4393         * gdb.ada/mi_dyn_arr: New testcase.
4394
4395 2014-03-27  Doug Evans  <dje@google.com>
4396
4397         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4398
4399 2014-03-27  Yao Qi  <yao@codesourcery.com>
4400
4401         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4402         if target is nios2-*-*.
4403
4404 2014-03-26  Yao Qi  <yao@codesourcery.com>
4405
4406         * lib/gdb.exp (readline_is_used): New proc.
4407         * gdb.base/completion.exp: Move tests on command complete up.
4408         Skip the rest of tests if readline is not used.
4409         * gdb.ada/complete.exp: Skp the test if readline is not
4410         used.
4411         * gdb.base/filesym.exp: Likewise.
4412         * gdb.base/macscp.exp: Likewise.
4413         * gdb.base/readline-ask.exp: Likewise.
4414         * gdb.base/readline.exp: Likewise.
4415         * gdb.python/py-cmd.exp: Likewise.
4416         * gdb.trace/tfile.exp: Likewise.
4417
4418 2014-03-26  Yao Qi  <yao@codesourcery.com>
4419
4420         * gdb.base/macscp.exp: Fix code format issues.
4421
4422 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
4423
4424         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4425         * gdb.asm/powerpc64le.inc: New file.
4426
4427 2014-03-25  Pedro Alves  <palves@redhat.com>
4428             Doug Evans  <dje@google.com>
4429
4430         * gdb.base/source-execution.c: New file.
4431         * gdb.base/source-execution.exp: New file.
4432         * gdb.base/source-execution.gdb: New file.
4433
4434 2014-03-24  Doug Evans  <dje@google.com>
4435
4436         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4437         using fission.
4438
4439 2014-03-24  Hui Zhu  <hui@codesourcery.com>
4440             Pedro Alves  <palves@redhat.com>
4441
4442         PR breakpoints/16101
4443         * gdb.base/dprintf.exp: Use unsupported rather than changing the
4444         test pass/fail messages.  Detect missing support for dprintf when
4445         breakpoints are actually inserted.
4446         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4447         breakpoints are actually inserted.
4448         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4449         fails.
4450
4451 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4452
4453         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4454
4455 2014-03-22  Doug Evans  <xdje42@gmail.com>
4456
4457         * gdb.python/python.exp (python not supported): Verify multi-line
4458         python command issues an error.
4459         * gdb.guile/guile.exp (guile not supported): Verify multi-line
4460         guile command issues an error.
4461
4462 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
4463
4464         * gdb.threads/thread-specific.exp: Handle the lack of usable
4465         $this_breakpoint and $this_thread.
4466
4467 2014-03-21  Hui Zhu  <hui@codesourcery.com>
4468
4469         * gdb.base/attach.exp (do_command_attach_tests): New.
4470
4471 2014-03-20  Tom Tromey  <tromey@redhat.com>
4472             Pedro Alves  <palves@redhat.com>
4473
4474         PR cli/15718
4475         * gdb.base/condbreak-call-false.c: New file.
4476         * gdb.base/condbreak-call-false.exp: New file.
4477
4478 2014-03-20  Pedro Alves  <palves@redhat.com>
4479
4480         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4481         Delete.
4482         (block_signals, unblock_signals): Delete.
4483         (child_function_2, main): Remove references to deleted variable
4484         and functions.
4485
4486 2014-03-20  Pedro Alves  <palves@redhat.com>
4487
4488         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4489         Use pthread_kill to signal thread 2.
4490         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4491         Adjust to make the test send itself a signal rather than using the
4492         host's "kill" command.
4493
4494 2014-03-20  Pedro Alves  <palves@redhat.com>
4495
4496         * gdb.threads/multiple-step-overs.c: New file.
4497         * gdb.threads/multiple-step-overs.exp: New file.
4498         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4499         Adjust expected infrun debug output.
4500
4501 2014-03-20  Pedro Alves  <palves@redhat.com>
4502
4503         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4504         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4505
4506 2014-03-20  Pedro Alves  <palves@redhat.com>
4507
4508         PR breakpoints/7143
4509         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4510         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
4511         of gdb_test_multiple.
4512         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4513         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4514
4515 2014-03-20  Pedro Alves  <palves@redhat.com>
4516
4517         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4518         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4519
4520 2014-03-19  Pedro Alves  <palves@redhat.com>
4521
4522         * gdb.base/async.exp: Remove early return.
4523
4524 2014-03-19  Pedro Alves  <palves@redhat.com>
4525
4526         * gdb.base/async.exp (step& tests): Pass explicit test messages.
4527
4528 2014-03-19  Pedro Alves  <palves@redhat.com>
4529
4530         * gdb.base/async.exp (test_background): Expect \r\n after
4531         "completed." in the fail pattern.
4532
4533 2014-03-19  Pedro Alves  <palves@redhat.com>
4534
4535         * gdb.base/async.exp (test_background): New procedure.
4536         Use it for all background execution command tests.
4537
4538 2014-03-19  Pedro Alves  <palves@redhat.com>
4539
4540         * gdb.base/async.exp: Use prepare_for_testing.
4541
4542 2014-03-19  Pedro Alves  <palves@redhat.com>
4543
4544         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
4545         the same line.
4546
4547 2014-03-19  Pedro Alves  <palves@redhat.com>
4548
4549         * gdb.base/async.c (main): Add "jump here" and "until here" line
4550         marker comments.
4551         * gdb.base/async.exp (jump_here): New global.
4552         (jump& test): Use it.
4553         (until_here): New global.
4554         (until& test): Use it.
4555
4556 2014-03-19  Pedro Alves  <palves@redhat.com>
4557
4558         * gdb.base/async.exp: Don't frob gdb_protocol.
4559
4560 2014-03-18  Doug Evans  <xdje42@gmail.com>
4561
4562         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
4563         Fix spelling of exec-done-display.
4564
4565 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4566
4567         PR gdb/15358
4568         * gdb.base/gdb-sigterm.c: New file.
4569         * gdb.base/gdb-sigterm.exp: New file.
4570
4571 2014-03-18  Pedro Alves  <palves@redhat.com>
4572
4573         PR gdb/13860
4574         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4575         * lib/mi-support.exp (mi_expect_stop): Add special handling for
4576         solib-event.
4577
4578 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
4579
4580         * gdb.ada/pckd_arr_ren: New testcase.
4581
4582 2014-03-13  Doug Evans  <xdje42@gmail.com>
4583
4584         PR guile/16612
4585         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4586         collect after discarding symbols.
4587
4588 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
4589             Doug Evans  <xdje42@gmail.com>
4590
4591         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4592         to history survives a gc.
4593
4594 2014-03-13  Pedro Alves  <palves@redhat.com>
4595
4596         * gdb.base/default.exp: Don't test "target procfs".
4597
4598 2014-03-13  Pedro Alves  <palves@redhat.com>
4599
4600         * gdb.base/default.exp: Update "target child" and "target procfs"
4601         tests to not expect "Unix".
4602
4603 2014-03-12  Tom Tromey  <tromey@redhat.com>
4604
4605         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4606         New procs.  Add target-async tests.
4607         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4608         Add target-async tests.
4609
4610 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4611
4612         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4613         'func_start' and 'func_end' for the beginning and end of the
4614         function code, respectively.
4615         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4616         'func_end' instead of 'func' and 'main'.
4617
4618 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4619
4620         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4621         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4622         generate the debug info assembler source.
4623
4624 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4625
4626         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4627         * gdb.dwarf2/arr-subrange.exp: Likewise.
4628         * gdb.dwarf2/dwz.exp: Likewise.
4629         * gdb.dwarf2/method-ptr.exp: Likewise.
4630         * gdb.dwarf2/missing-sig-type.exp: Likewise.
4631         * gdb.dwarf2/subrange.exp: Likewise.
4632         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4633         * gdb.dwarf2/implptrpiece.exp: Likewise.
4634         * gdb.dwarf2/nostaticblock.exp: Likewise.
4635
4636 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4637
4638         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4639         directory to absolute path name arguments.
4640
4641 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
4642
4643         * gdb.ada/tagged_access: New testcase.
4644
4645 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
4646
4647         * gdb.btrace/data.exp: Update expected output.
4648
4649 2014-03-06  Yao Qi  <yao@codesourcery.com>
4650
4651         * gdb.trace/pr16508.exp: New file.
4652
4653 2014-03-05  Pedro Alves  <palves@redhat.com>
4654
4655         PR gdb/16575
4656         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4657         procedure.
4658         (top level): Adjust to use it.  Add tests that exercise breakpoint
4659         interaction with the code-cache.
4660
4661 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
4662
4663         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4664         test for 'history-append!'.
4665
4666 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
4667
4668         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4669         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4670         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4671         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4672         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4673         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4674
4675 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
4676
4677         * testsuite/gdb.python/py-pp-re-notag.c: New file.
4678         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4679         * testsuite/gdb.python/py-pp-re-notag.p: New file.
4680
4681 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
4682
4683         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4684
4685 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
4686
4687         * gdb.dwarf2/arr-stride.c: New file.
4688         * gdb.dwarf2/arr-stride.exp: New file.
4689
4690 2014-02-26  Pedro Alves  <palves@redhat.com>
4691
4692         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4693         that won't ever trigger.  Make sure that GDB reports the correct
4694         breakpoint that caused the stop.
4695
4696 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4697
4698         PR gdb/16626
4699         * gdb.base/auto-load-script: New file.
4700         * gdb.base/auto-load.c: New file.
4701         * gdb.base/auto-load.exp: New file.
4702
4703         PR gdb/16626
4704         * gdb.base/auto-load.exp: Fix out-of-srctree run.
4705
4706 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4707
4708         Fix dw2-icycle.exp -fsanitize=address GDB crash.
4709         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4710
4711 2014-02-24  Doug Evans  <dje@google.com>
4712
4713         * lib/gdb.exp (run_on_host): Log error output if program fails.
4714
4715 2014-02-21  Pedro Alves  <palves@redhat.com>
4716
4717         * gdb.threads/step-after-sr-lock.c: Rename to ...
4718         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4719         * gdb.threads/step-after-sr-lock.exp: Rename to ...
4720         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4721         ... this.
4722
4723 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
4724
4725         PR tdep/16397
4726         * gdb.arch/amd64-stap-special-operands.exp: New file.
4727         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4728         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4729         * gdb.arch/amd64-stap-triplet.S: Likewise.
4730         * gdb.arch/amd64-stap-triplet.c: Likewise.
4731
4732 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
4733
4734         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4735         in .section pseudo-op.
4736
4737 2014-02-20  lin zuojian  <manjian2006@gmail.com>
4738             Joel Brobecker  <brobecker@adacore.com>
4739             Doug Evans  <xdje42@gmail.com>
4740
4741         PR symtab/16581
4742         * gdb.dwarf2/dw2-icycle.S: New file.
4743         * gdb.dwarf2/dw2-icycle.c: New file.
4744         * gdb.dwarf2/dw2-icycle.exp: New file.
4745
4746 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
4747
4748         * gdb.python/py-value-cc.cc: Improve test case to enable testing
4749         operations on gdb.Value objects.
4750         * gdb.python/py-value-cc.exp: Add new test to test operations on
4751         gdb.Value objects.
4752
4753 2014-02-18  Doug Evans  <dje@google.com>
4754
4755         * Makefile.in (TESTS): New variable.
4756         (expanded_tests, expanded_tests_or_none): New variables
4757         (check-single): Pass $(expanded_tests_or_none) to runtest.
4758         (check-parallel): Only run tests in $(TESTS) if non-empty.
4759         (check/no-matching-tests-found): New rule.
4760         * README: Document TESTS makefile variable.
4761
4762 2014-02-18  Doug Evans  <dje@google.com>
4763
4764         * Makefile.in (check-parallel): rm -rf outputs temp.
4765
4766 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4767
4768         Fix "ERROR: no fileid for" in the testsuite.
4769         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4770
4771 2014-02-12  Doug Evans  <dje@google.com>
4772
4773         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4774         (MISCELLANEOUS): New variable.
4775         (clean): rm -rf $(MISCELLANEOUS).
4776         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4777         dwp live in the same directory as symlinks, with each symlink pointed
4778         to a differently named file in a different directory.
4779
4780 2014-02-11  Doug Evans  <dje@google.com>
4781
4782         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4783         of Tcl file commands.
4784
4785 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
4786
4787         * gdb.threads/step-after-sr-lock.exp: Avoid executing
4788         "kill -SIGUSR1 -1".
4789
4790 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
4791
4792         * gdb.ada/tick_length_array_enum_idx: New testcase.
4793
4794 2014-02-10  Doug Evans  <xdje42@gmail.com>
4795
4796         * configure.ac (AC_OUTPUT): Add gdb.guile.
4797         * configure: Regenerate.
4798         * lib/gdb-guile.exp: New file.
4799         * lib/gdb.exp (get_target_charset): New function.
4800         * gdb.base/help.exp: Update expected output from "apropos apropos".
4801         * gdb.guile/Makefile.in: New file.
4802         * gdb.guile/guile.exp: New file.
4803         * gdb.guile/scm-arch.c: New file.
4804         * gdb.guile/scm-arch.exp: New file.
4805         * gdb.guile/scm-block.c: New file.
4806         * gdb.guile/scm-block.exp: New file.
4807         * gdb.guile/scm-breakpoint.c: New file.
4808         * gdb.guile/scm-breakpoint.exp: New file.
4809         * gdb.guile/scm-disasm.c: New file.
4810         * gdb.guile/scm-disasm.exp: New file.
4811         * gdb.guile/scm-equal.c: New file.
4812         * gdb.guile/scm-equal.exp: New file.
4813         * gdb.guile/scm-error.exp: New file.
4814         * gdb.guile/scm-error.scm: New file.
4815         * gdb.guile/scm-frame-args.c: New file.
4816         * gdb.guile/scm-frame-args.exp: New file.
4817         * gdb.guile/scm-frame-args.scm: New file.
4818         * gdb.guile/scm-frame-inline.c: New file.
4819         * gdb.guile/scm-frame-inline.exp: New file.
4820         * gdb.guile/scm-frame.c: New file.
4821         * gdb.guile/scm-frame.exp: New file.
4822         * gdb.guile/scm-generics.exp: New file.
4823         * gdb.guile/scm-gsmob.exp: New file.
4824         * gdb.guile/scm-iterator.c: New file.
4825         * gdb.guile/scm-iterator.exp: New file.
4826         * gdb.guile/scm-math.c: New file.
4827         * gdb.guile/scm-math.exp: New file.
4828         * gdb.guile/scm-objfile-script-gdb.in: New file.
4829         * gdb.guile/scm-objfile-script.c: New file.
4830         * gdb.guile/scm-objfile-script.exp: New file.
4831         * gdb.guile/scm-objfile.c: New file.
4832         * gdb.guile/scm-objfile.exp: New file.
4833         * gdb.guile/scm-ports.exp: New file.
4834         * gdb.guile/scm-pretty-print.c: New file.
4835         * gdb.guile/scm-pretty-print.exp: New file.
4836         * gdb.guile/scm-pretty-print.scm: New file.
4837         * gdb.guile/scm-section-script.c: New file.
4838         * gdb.guile/scm-section-script.exp: New file.
4839         * gdb.guile/scm-section-script.scm: New file.
4840         * gdb.guile/scm-symbol.c: New file.
4841         * gdb.guile/scm-symbol.exp: New file.
4842         * gdb.guile/scm-symtab-2.c: New file.
4843         * gdb.guile/scm-symtab.c: New file.
4844         * gdb.guile/scm-symtab.exp: New file.
4845         * gdb.guile/scm-type.c: New file.
4846         * gdb.guile/scm-type.exp: New file.
4847         * gdb.guile/scm-value-cc.cc: New file.
4848         * gdb.guile/scm-value-cc.exp: New file.
4849         * gdb.guile/scm-value.c: New file.
4850         * gdb.guile/scm-value.exp: New file.
4851         * gdb.guile/source2.scm: New file.
4852         * gdb.guile/types-module.cc: New file.
4853         * gdb.guile/types-module.exp: New file.
4854
4855 2014-02-10  Yao Qi  <yao@codesourcery.com>
4856
4857         PR testsuite/16543
4858         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4859         * configure: Regenerated.
4860         * Makefile.in: New file.
4861
4862 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4863
4864         * gdb.python/py-framefilter.exp: Fix typo.
4865
4866 2014-02-08  Yao Qi  <yao@codesourcery.com>
4867
4868         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4869         that no =breakpoint-modified is emitted when breakpoints are
4870         modified through MI commands.
4871
4872 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
4873             Pedro Alves  <palves@redhat.com>
4874
4875         * gdb.threads/step-after-sr-lock.c: New file.
4876         * gdb.threads/step-after-sr-lock.exp: New file.
4877
4878 2014-02-07  Pedro Alves  <palves@redhat.com>
4879
4880         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4881
4882 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4883
4884         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4885         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4886
4887 2014-02-06  Doug Evans  <xdje42@gmail.com>
4888
4889         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4890         output.
4891
4892         * gdb.gdb/python-interrupts.exp: New file.
4893
4894 2014-02-05  Yao Qi  <yao@codesourcery.com>
4895
4896         * gdb.trace/report.exp (use_collected_data): Test the output
4897         of "info threads" and "info inferiors".
4898
4899 2014-02-05  Yao Qi  <yao@codesourcery.com>
4900
4901         Revert this patch:
4902
4903         2013-05-24  Yao Qi  <yao@codesourcery.com>
4904
4905         * gdb.trace/tfile.exp: Test inferior and thread.
4906
4907 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4908
4909         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4910         on a function.
4911         * gdb.base/step-bt.c: Call hello via function pointer to make
4912         sure its first instruction is executed on powerpc64le-linux.
4913
4914 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4915
4916         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4917
4918 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4919
4920         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
4921         of the test patterns for use on little-endian systems.
4922
4923 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4924
4925         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4926         (decimal_vector): Fix for little-endian.
4927
4928 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
4929
4930         * gdb.arch/sparc-sysstep.exp: New file.
4931         * gdb.arch/sparc-sysstep.c: Likewise.
4932
4933         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4934
4935 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4936
4937         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4938
4939 2014-01-23  Tom Tromey  <tromey@redhat.com>
4940
4941         * gdb.ada/array_char_idx: New testcase.
4942
4943 2014-01-23  Tom Tromey  <tromey@redhat.com>
4944
4945         PR python/16487:
4946         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4947         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4948         classes.
4949
4950 2014-01-23  Tom Tromey  <tromey@redhat.com>
4951
4952         PR python/16491:
4953         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4954         string from an inferior frame.
4955         * gdb.python/py-framefilter-mi.exp: Update.
4956
4957 2014-01-22  Doug Evans  <dje@google.com>
4958
4959         * gdb.server/server-mon.exp: Add tests for "set debug-format".
4960
4961 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
4962
4963         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4964
4965 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
4966
4967         * gdb.trace/entry-values.exp: Remove excess space character from
4968         regex patterns.  Handle s390 call instruction.
4969
4970 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
4971
4972         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4973         define "*_start" label.  Make "name" static.
4974         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4975         ${name} by references to ${name}_start.
4976
4977 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
4978
4979         * gdb.base/info-macros.exp: Remove "debug" from the compile
4980         options.
4981
4982 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4983
4984         * gdb.dlang/demangle.exp: New file.
4985
4986 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4987
4988         * gdb.dlang/primitive-types.exp: New file.
4989
4990 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4991
4992         * configure.ac: Create gdb.dlang/Makefile.
4993         * configure: Regenerate.
4994         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4995         * gdb.dlang/Makefile.in: New file.
4996         * lib/d-support.exp: New file.
4997         * lib/gdb.exp (skip_d_tests): New proc.
4998
4999 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5000
5001         * gdb.btrace/delta.exp: Check reverse stepi.
5002         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
5003         * gdb.btrace/finish.exp: New.
5004         * gdb.btrace/next.exp: New.
5005         * gdb.btrace/nexti.exp: New.
5006         * gdb.btrace/record_goto.c: Add comments.
5007         * gdb.btrace/step.exp: New.
5008         * gdb.btrace/stepi.exp: New.
5009         * gdb.btrace/multi-thread-step.c: New.
5010         * gdb.btrace/multi-thread-step.exp: New.
5011         * gdb.btrace/rn-dl-bind.c: New.
5012         * gdb.btrace/rn-dl-bind.exp: New.
5013         * gdb.btrace/data.c: New.
5014         * gdb.btrace/data.exp: New.
5015         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5016
5017 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5018
5019         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5020         * gdb.btrace/exception.exp: Update.
5021         * gdb.btrace/instruction_history.exp: Update.
5022         * gdb.btrace/record_goto.exp: Update.
5023         * gdb.btrace/tailcall.exp: Update.
5024         * gdb.btrace/unknown_functions.exp: Update.
5025         * gdb.btrace/delta.exp: New.
5026
5027 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5028
5029         * gdb.btrace/record_goto.exp: Add backtrace test.
5030         * gdb.btrace/tailcall.exp: Add backtrace test.
5031
5032 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5033
5034         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5035         * gdb.btrace/record_goto.c: New.
5036         * gdb.btrace/record_goto.exp: New.
5037         * gdb.btrace/x86-record_goto.S: New.
5038
5039 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5040
5041         * gdb.btrace/function_call_history.exp: Update tests.
5042         * gdb.btrace/instruction_history.exp: Update tests.
5043
5044 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5045
5046         * gdb.btrace/function_call_history.exp: Fix expected field
5047         order for "record function-call-history".
5048         Add new tests for "record function-call-history /c".
5049         * gdb.btrace/exception.cc: New.
5050         * gdb.btrace/exception.exp: New.
5051         * gdb.btrace/tailcall.exp: New.
5052         * gdb.btrace/x86-tailcall.S: New.
5053         * gdb.btrace/x86-tailcall.c: New.
5054         * gdb.btrace/unknown_functions.c: New.
5055         * gdb.btrace/unknown_functions.exp: New.
5056         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5057
5058 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5059
5060         * gdb.btrace/instruction_history.exp: Update.
5061         * gdb.btrace/function_call_history.exp: Update.
5062
5063 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5064
5065         * gdb.btrace/function_call_history.exp: Fix expected function
5066         trace.
5067         * gdb.btrace/instruction_history.exp: Initialize traced.
5068         Remove traced_functions.
5069
5070 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5071
5072         * gdb.btrace/function_call_history.exp: Update
5073         * gdb.btrace/instruction_history.exp: Update.
5074
5075 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
5076
5077         * gdb.btrace/enable.exp: Update expected text.
5078
5079 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
5080
5081         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5082         bytes.
5083
5084 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
5085
5086         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5087
5088 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5089
5090         * lib/gdb.exp (supports_process_record): Return true for
5091         arm*-linux*.  (supports_reverse): Likewise.
5092
5093 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
5094
5095         PR python/15464
5096         PR python/16113
5097         * gdb.python/py-type.c: Enhance test case.
5098         * gdb.python/py-value-cc.cc: Likewise
5099         * gdb.python/py-type.exp: Add new tests.
5100         * gdb.python/py-value-cc.exp: Likewise
5101
5102 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5103             Pedro Alves <palves@redhat.com>
5104
5105         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5106         Make "name" extern.
5107         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5108         references to ${name}_start by references to ${name}.
5109
5110 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
5111
5112         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5113
5114 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
5115
5116         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5117
5118 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
5119             Pedro Alves  <palves@redhat.com>
5120
5121         * gdb.mi/mi-info-os.exp: Connect to the target with
5122         mi_gdb_target_load.
5123
5124 2014-01-08  Pedro Alves  <palves@redhat.com>
5125
5126         * gdb.threads/reconnect-signal.c: New file.
5127         * gdb.threads/reconnect-signal.exp: New file.
5128
5129 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5130
5131         * gdb.base/source-dir.exp: New file.
5132
5133 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5134
5135         * gdb.ada/mi_interface: New testcase.
5136
5137 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5138
5139         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5140         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5141         gdb.ada/pp-rec-component/pck.ads: New files.
5142
5143 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5144
5145         * gdb.python/py-pp-integral.c: New file.
5146         * gdb.python/py-pp-integral.py: New file.
5147         * gdb.python/py-pp-integral.exp: New file.
5148
5149 For older changes see ChangeLog-1993-2013.
5150 \f
5151 ;; Local Variables:
5152 ;; mode: change-log
5153 ;; left-margin: 8
5154 ;; fill-column: 74
5155 ;; version-control: never
5156 ;; End:
5157
5158     Copyright 2014-2015 Free Software Foundation, Inc.
5159   Copying and distribution of this file, with or without modification,
5160   are permitted provided the copyright notice and this notice are preserved.