Make gdb.base/foll-exec.exp test pattern more general
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2
3 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4 general.
5
6 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7
8 * gdb.base/exec-invalid-sysroot.exp: New file.
9
10 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11
12 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13
14 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15
16 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
17
18 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
19
20 * gdb.base/killed-outside.exp: Remove $options from a call to
21 `prepare_for_testing'.
22
23 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
24
25 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
26 Change test message.
27
28 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
29
30 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
31 Update comment.
32
33 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
34
35 * gdb.trace/mi-trace-save.exp: New file.
36
37 2016-10-13 Yao Qi <yao.qi@linaro.org>
38
39 * gdb.base/code_elim.exp (get_var_address): Remove.
40 * gdb.base/relocate.exp: Likewise.
41 * gdb.base/shreloc.exp: Likewise.
42 * lib/gdb.exp (get_var_address): New.
43
44 2016-10-13 Yao Qi <yao.qi@linaro.org>
45
46 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
47 floating point tests if $skip_float_test is false.
48
49 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
50
51 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
52 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
53 argc values.
54 Add 1 to argc so we guarantee distinct initial/modified argc values.
55
56 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
57
58 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
59
60 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
63 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
64 * gdb.arch/vsx-regs.exp: Likewise.
65
66 2016-10-07 Yao Qi <yao.qi@linaro.org>
67
68 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
69
70 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
71
72 * gdb.python/python.exp: Test decode_line("*0").
73
74 2016-10-06 Doug Evans <dje@google.com>
75
76 * gdb.python/py-value.exp (test_value_creation): Add test for large
77 unsigned 64-bit value.
78
79 2016-10-06 Tom Tromey <tom@tromey.com>
80
81 * gdb.compile/compile.exp: Change java tests to rust.
82 * gdb.base/setshow.exp: Change java tests to rust.
83 * gdb.base/default.exp: Remove java from language list.
84 * README (Examples): Update language example.
85 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
86 test.
87 * lib/gdb.exp (skip_java_tests): Remove.
88 * lib/java.exp: Remove.
89 * gdb.java: Remove.
90
91 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
92
93 * gdb.arch/mips-fcr.exp: New test.
94 * gdb.arch/mips-fcr.c: Source for the new test.
95
96 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
97
98 * gdb.base/solib-disc.exp: Use `standard_output_file'
99 throughout.
100
101 2016-10-06 Pedro Alves <palves@redhat.com>
102
103 * gdb.base/jit-simple-dl.c: New file.
104 * gdb.base/jit-simple-jit.c: New file, factored out from ...
105 * gdb.base/jit-simple.c: ... this.
106 * gdb.base/jit-simple.exp (jit_run): Delete.
107 (build_jit): New proc.
108 (jit_test_reread): Recompile either the main program or the shared
109 library, depending on what is being tested. Skip changing address
110 if caller wants to. Compare before/after addresses. If testing
111 standalone, explicitly load the binary. Test "maint info
112 breakpoints".
113 (top level): Add "standalone vs shared lib" and "change address"
114 vs "same address" axes.
115
116 2016-10-06 Pedro Alves <palves@redhat.com>
117
118 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
119 call.
120 (jit_run): Delete.
121 (jit_test_reread): Use with_test_prefix. Reload the main binary
122 explicitly. Compare the before/after addresses of the JIT
123 descriptor.
124
125 2016-08-15 Doug Evans <dje@google.com>
126
127 * gdb.xml/extra-regs.xml: Update, end field now required, default type
128 for single bitfields is bool.
129 * gdb.xml/tdesc-regs.exp: Ditto.
130
131 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
134
135 2016-10-05 Yao Qi <yao.qi@linaro.org>
136
137 * lib/gdb.exp (support_complex_tests): Return zero if
138 gdb_skip_float_test return true.
139
140 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
141 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
142
143 PR gdb/20487
144 * gdb.mi/user-selected-context-sync.exp: New file.
145 * gdb.mi/user-selected-context-sync.c: New file.
146
147 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
148 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
149
150 PR gdb/20487
151 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
152 =thread-select-event check.
153
154 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
155
156 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
157 the compulsory L operand changes.
158 * gdb.arch/powerpc-power.s: Likewise.
159
160 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
161
162 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
163 * gdb.base/jit-attach-pie.c: New file.
164 * gdb.base/jit-attach-pie.exp: New file.
165
166 2016-09-28 Pedro Alves <palves@redhat.com>
167
168 * gdb.base/infcall-input.c: New file.
169 * gdb.base/infcall-input.exp: New file.
170
171 2016-09-22 Yao Qi <yao.qi@linaro.org>
172
173 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
174 (gdb_exit): Rename it to ...
175 (gdbserver_gdb_exit): ... Close GDBserver.
176 (gdb_exit): New proc, call gdbserver_gdb_exit.
177 (mi_gdb_exit): Likewise.
178
179 2016-09-22 Yao Qi <yao.qi@linaro.org>
180
181 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
182 path.
183 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
184 Remove duplication.
185
186 2016-09-22 Yao Qi <yao.qi@linaro.org>
187
188 * lib/gdbserver-support.exp: Check the existence of
189 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
190
191 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
192
193 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
194
195 2016-09-21 Tom Tromey <tom@tromey.com>
196
197 PR gdb/20604:
198 * gdb.base/quit.exp: New file.
199
200 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
201
202 * .gitignore: New file.
203
204 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
205
206 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
207 throughout.
208
209 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
210
211 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
212
213 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 * gdb.cp/casts.cc (decltype): Move it ...
216 (main): ... with its call to ...
217 * gdb.cp/casts03.cc: ... a new file.
218 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
219
220 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
221
222 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
223
224 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
225
226 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
227 and sync up the test with tests in gas/testsuite/gas/ppc.
228 * gdb.arch/powerpc-power.exp: Likewise.
229
230 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
233
234 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
235 Jan Kratochvil <jan.kratochvil@redhat.com>
236
237 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
238 make m1's definition to be different from m2's. Use 'dummy' as an
239 argument for probe 'two'.
240
241 2016-09-10 Jon Beniston <jon@beniston.com>
242
243 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
244 for sim target.
245
246 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
247
248 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
249 variable declaration.
250 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
251 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
252 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
253 received HWCAP as its argument.
254
255 2016-09-06 Pedro Alves <palves@redhat.com>
256
257 * gdb.base/new-ui-pending-input.c: New file.
258 * gdb.base/new-ui-pending-input.exp: New file.
259 * gdb.exp (clear_gdb_spawn_id): New procedure.
260 (with_spawn_id): Check whether gdb_spawn_id exists before
261 referencing it. If gdb_spawn_id didn't exist on entry, clear it
262 on exit.
263
264 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
265
266 * gdb.base/float128.c: New file.
267 * gdb.base/float128.exp: Likewise.
268 * gdb.base/floatn.c: Likewise.
269 * gdb.base/floatn.exp: Likewise.
270
271 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
272
273 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
274
275 2016-09-05 Pedro Alves <palves@redhat.com>
276
277 PR backtrace/19927
278 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
279 unwinders are immediately called as side effect of "source" or
280 "disable unwinder" commands.
281 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
282
283 2016-09-02 Yao Qi <yao.qi@linaro.org>
284
285 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
286 is true and $type is "float" or "double".
287
288 2016-09-02 Yao Qi <yao.qi@linaro.org>
289
290 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
291 true.
292 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
293 * gdb.base/call-rt-st.exp: Likewise.
294 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
295 return value instead of gdb,skip_float_test.
296 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
297 (do_function_calls): Use its return value instead of
298 gdb,skip_float_test.
299 * gdb.base/finish.exp: Likewise.
300 * gdb.base/funcargs.exp: Likewise.
301 * gdb.base/return.exp: Likewise.
302 * gdb.base/return2.exp: Likewise.
303 * gdb.base/varargs.exp: Likewise.
304 * lib/gdb.exp (gdb_skip_float_test): Change it to
305 gdb_caching_proc. Detect the broken ptrace on arm-linux.
306
307 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
308
309 * gdb.multi/tids.exp: Test "thread apply all".
310
311 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
312
313 * gdb.base/default.exp (tty): Remove.
314
315 2016-08-24 Kevin Buettner <kevinb@redhat.com>
316
317 * gdb.python/py-recurse-unwind.c: New file.
318 * gdb.python/py-recurse-unwind.py: New file.
319 * gdb.python/py-recurse-unwind.exp: New file.
320
321 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
322
323 * gdb.base/set-inferior-tty.exp: New file.
324 * gdb.base/set-inferior-tty.c: New file.
325
326 2016-08-23 Pedro Alves <palves@redhat.com>
327
328 PR gdb/20494
329 * gdb.base/new-ui-echo.c: New file.
330 * gdb.base/new-ui-echo.exp: New file.
331
332 2016-08-23 Yao Qi <yao.qi@linaro.org>
333
334 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
335 gdbserver_spawn.
336 * gdb.server/connect-without-multi-process.exp (do_test):
337 Likewise.
338
339 2016-08-23 Yao Qi <yao.qi@linaro.org>
340
341 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
342 standalone_txt. Delete gdb_txt and standalone_txt on host
343 and target. Spawn the binary on target. Copy files from
344 target to host.
345
346 2016-08-22 Pedro Alves <palves@redhat.com>
347
348 PR gdb/20505
349 * gdb.base/vdso-warning.exp: Test core dumps too. Use
350 with_test_prefix. Factor out bits to ...
351 (test_no_vdso): ... this new procedure.
352
353 2016-08-19 Carl Love <cel@us.ibm.com>
354
355 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
356 maintaining separate logic for constructing the output path.
357 * gdb.arch/powerpc-d128-regs.exp: Likewise.
358 * gdb.arch/ppc-dfp.exp: Likewise.
359 * gdb.arch/ppc-fp.exp: Likewise.
360 * gdb.arch/vsx-regs.exp: Likewise.
361 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
362 binprefix for generating the additional binary files.
363
364 2016-08-19 Pedro Alves <palves@redhat.com>
365
366 * gdb.trace/mi-trace-frame-collected.exp
367 (test_trace_frame_collected): On x32, expect two registers.
368
369 2016-08-18 Carl Love <cel@us.ibm.com>
370
371 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
372 and sync up the test with tests in gas/testsuite/gas/ppc.
373 * gdb.arch/powerpc-power.exp: Likewise.
374
375 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
376
377 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
378 expected error message.
379
380 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
381
382 * gdb.multi/remove-inferiors.exp: New file.
383 * gdb.multi/remove-inferiors.c: New file.
384
385 2016-08-12 Yao Qi <yao.qi@linaro.org>
386
387 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
388 argument list.
389
390 2016-08-10 Pedro Alves <palves@redhat.com>
391
392 PR gdb/19187
393 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
394 setup_kfails.
395
396 2016-08-09 Pedro Alves <palves@redhat.com>
397 Simon Marchi <simon.marchi@ericsson.com>
398
399 PR gdb/20418
400 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
401 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
402
403 2016-08-09 Pedro Alves <palves@redhat.com>
404
405 PR mi/20431
406 * gdb.mi/mi-cmd-error.exp: New file.
407
408 2016-08-09 Pedro Alves <palves@redhat.com>
409
410 PR gdb/18653
411 * gdb.base/signals-state-child.c: New file.
412 * gdb.base/signals-state-child.exp: New file.
413 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
414
415 2016-08-09 Pedro Alves <palves@redhat.com>
416
417 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
418
419 2016-08-03 Tom Tromey <tom@tromey.com>
420
421 PR python/18565:
422 * gdb.python/py-frame-inline.exp: Add Frame.function test.
423
424 2016-08-01 Yao Qi <yao.qi@linaro.org>
425
426 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
427 variable mode to "multi-process" if $multi_process is 1, otherwise
428 set it to "single-process".
429
430 2016-08-01 Yao Qi <yao.qi@linaro.org>
431
432 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
433 * gdb.cp/cpexprs.exp: Likewise.
434 * gdb.cp/m-static.exp: Likewise.
435
436 2016-07-26 Tom Tromey <tom@tromey.com>
437
438 PR python/20190:
439 * gdb.threads/tls.exp (check_thread_local): Add python symbol
440 test.
441
442 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
443
444 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
445 selecting assembly source files.
446 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
447 assembly source files.
448 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
449 assembly source files.
450 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
451 selecting assembly source files.
452
453 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
454
455 * gdb.base/new-ui.exp (do_test_invalid_args): New
456 procedure.
457
458 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
459
460 * gdb.btrace/reconnect.c: New file.
461 * gdb.btrace/reconnect.exp: New file.
462
463 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
464
465 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
466 to test_catch_syscall_group.
467 (test_catch_syscall_group): New.
468
469 2016-07-21 Tom Tromey <tom@tromey.com>
470
471 * gdb.rust/simple.rs (main): Use empty struct expression.
472 * gdb.rust/simple.exp: Add tests for empty struct expression.
473
474 2016-07-21 Yao Qi <yao.qi@linaro.org>
475
476 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
477 if gdb_skip_xml_test is true on some targets.
478
479 2016-07-21 Yao Qi <yao.qi@linaro.org>
480
481 * gdb.server/solib-list.exp: Unset last_loaded_file.
482
483 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
486 "step into captured_main (args)".
487
488 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
489
490 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
491
492 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
493
494 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
495
496 2016-07-19 Pedro Alves <palves@redhat.com>
497
498 * gdb.opt/inline-break.exp: Remove optimize=-O2.
499 * gdb.opt/inline-bt.exp: Likewise.
500 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
501 additional_flags=-Winline.
502 * gdb.opt/inline-locals.exp: Likewise.
503 * gdb.opt/inline-markers.c (ATTR): Define.
504 (inlined_fn): Use it.
505
506 2016-07-19 Yao Qi <yao.qi@linaro.org>
507
508 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
509 (test_with_self): Remove some code. Remove argument executable.
510 (top-level): Use do_self_tests.
511
512 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
513 Don Breazeal <donb@codesourcery.com>
514
515 * gdb.base/maint.exp: Escape paths used in regular expressions.
516 * gdb.stabs/weird.exp: Likewise.
517
518 2016-07-13 Tom Tromey <tom@tromey.com>
519
520 PR python/15620, PR python/18620:
521 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
522 (test_bkpt_events): New procs.
523
524 2016-07-13 Tom Tromey <tom@tromey.com>
525
526 PR python/17698:
527 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
528 test.
529 (test_watchpoints): Likewise.
530 (test_bkpt_pending): New proc.
531
532 2016-07-13 Tom Tromey <tom@tromey.com>
533
534 PR cli/18053:
535 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
536 completion test.
537
538 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
539
540 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
541 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
542 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
543 f_label.
544 (g): Rename g_end_lbl to g_label.
545 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
546 low_pc and high_pc.
547 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
548
549 2016-07-12 Tom Tromey <tom@tromey.com>
550
551 PR python/19293:
552 * gdb.python/py-unwind-maint.exp: Update tests.
553
554 2016-07-12 Yao Qi <yao.qi@linaro.org>
555
556 * lib/selftest-support.exp (selftest_setup): Match the output
557 when captured_main is inlined.
558
559 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
560
561 * gdb.fortran/derived-types.exp (result_line, result_line_2):
562 New variables.
563 (print this%a, print this%b, print this): New tests.
564 * gdb.fortran/derived-types.f90 (this): New object and
565 initialization.
566
567 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
568
569 * gdb.ada/arraydim.exp: Remove extra directory level in build
570 directory.
571
572 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
573
574 * lib/ada.exp: Remove extra directory level in build directory.
575 * gdb.ada/cond_lang.exp: Likewise.
576 * gdb.ada/exec_changed.exp: Likewise.
577 * gdb.ada/lang_switch.exp: Likewise.
578
579 2016-07-06 Manish Goregaokar <manish@mozilla.com>
580
581 * simple.rs: Add test for raw pointer subscripting
582 * simple.exp: Add test expectations
583
584 2016-07-05 Yao Qi <yao.qi@linaro.org>
585
586 * gdb.mi/mi-reverse.exp: Match =record-started output.
587
588 2016-07-01 Pedro Alves <palves@redhat.com>
589
590 * gdb.base/jit-reader.exp (info_registers_current_frame): New
591 procedure.
592 (jit_reader_test): Test the jit reader's unwinder.
593 * gdb.base/jithost.c (jit_function_00_code): New global.
594 (main): Use memcpy to fill in the mmapped code, instead of poking
595 bytes manually here.
596 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
597 value.
598 (read_debug_info): Save the function's range.
599 (read_sp): New function.
600 (unwind_frame): Use it. Also unwind RBP.
601 (get_frame_id): Use read_sp.
602 (gdb_init_reader): Use calloc instead of malloc.
603 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
604 parameter. Use gdb_test_multiple.
605
606 2016-07-01 Pedro Alves <palves@redhat.com>
607 Antoine Tremblay <antoine.tremblay@ericsson.com>
608
609 * gdb.threads/process-dies-while-detaching.c: New file.
610 * gdb.threads/process-dies-while-detaching.exp: New file.
611
612 2016-07-01 Pedro Alves <palves@redhat.com>
613
614 * gdb.multi/watchpoint-multi-exit.c: New file.
615 * gdb.multi/watchpoint-multi-exit.exp: New file.
616
617 2016-06-30 Pedro Alves <palves@redhat.com>
618
619 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
620 unset inferior_spawn_id.
621
622 2016-06-30 Pedro Alves <palves@redhat.com>
623
624 * lib/mi-support.exp (default_mi_gdb_start): Declare global
625 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
626
627 2016-06-29 Yao Qi <yao.qi@linaro.org>
628
629 * gdb.base/return.c: Add copyright header.
630
631 2016-06-29 Tom Tromey <tom@tromey.com>
632
633 PR python/20129:
634 * gdb.python/py-framefilter.exp: Add tests for setting priority
635 and disabling of non-existent frame filter.
636
637 2016-06-29 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
640 0x0f07ff.
641
642 2016-06-28 Yao Qi <yao.qi@linaro.org>
643
644 * gdb.base/catch-syscall.exp: Remove check on isnative and target
645 triplets. Start gdb, execute catch syscall, and continue. Check
646 gdb's output to determine catch syscall is supported.
647
648 2016-06-27 Manish Goregaokar <manish@mozilla.com>
649
650 * gdb.rust/simple.rs: Add test for returning unit in a function.
651 * gdb.rust/simple.exp: Add expectation for functions returning
652 unit.
653
654 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
655
656 * gdb.python/py-breakpoint-create-fail.c,
657 gdb.python/py-breakpoint-create-fail.exp,
658 gdb.python/py-breakpoint-create-fail.py: New testcase.
659
660 2016-06-25 Manish Goregaokar <manish@mozilla.com>
661
662 PR gdb/20239
663 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
664 * gdb.rust/simple.exp: Add test expectations for new NonZero
665 tests.
666
667 2016-06-24 David Taylor <dtaylor@emc.com>
668
669 * gdb.base/offsets.exp: New file.
670 * gdb.base/offsets.c: New file.
671
672 2016-06-23 Tom Tromey <tom@tromey.com>
673
674 PR gdb/16483:
675 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
676 before any filters are loaded.
677
678 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
679
680 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
681 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
682 structs.
683 * gdb.fortran/derived-type-function.exp: New file.
684 * gdb.fortran/derived-type-function.f90: New file.
685
686
687 2016-06-21 Pedro Alves <palves@redhat.com>
688
689 * gdb.base/new-ui.exp: New file.
690 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
691 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
692 (with_spawn_id): New procedure.
693
694 2016-06-21 Pedro Alves <palves@redhat.com>
695
696 * gdb.mi/mi-exec-run.exp: New file.
697
698 2016-06-21 Pedro Alves <palves@redhat.com>
699
700 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
701 breakpoint command's output on the main UI.
702 (test_break): New procedure, factored out from calls in the top
703 level.
704 (top level): Use foreach_with_prefix to test MI as main UI and as
705 separate UI.
706
707 2016-06-21 Pedro Alves <palves@redhat.com>
708
709 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
710 (test_awatch_creation_and_listing)
711 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
712 Remove 'type' parameter.
713 (test_watchpoint_all): New parameter mi_mode. Remove
714 with_test_prefix.
715 (top level): Use foreach_with_prefix, and add main/separate UI MI
716 testing axis.
717
718 2016-06-21 Pedro Alves <palves@redhat.com>
719
720 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
721 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
722 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
723 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
724 (gdb_main_spawn_id, mi_spawn_id): Declare and
725 comment.
726 (mi_create_inferior_pty): New procedure,
727 factored out from default_mi_gdb_start.
728 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
729 procedures.
730 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
731 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
732 Use mi_create_inferior_pty.
733 (mi_gdb_start): Use eval to pass down args list.
734
735 2016-06-21 Pedro Alves <palves@redhat.com>
736
737 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
738 * gdb.opt/inline-cmds.exp: Add MI tests.
739
740 2016-06-21 Pedro Alves <palves@redhat.com>
741
742 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
743
744 2016-06-21 Pedro Alves <palves@redhat.com>
745
746 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
747 (top level): Use it instead of mi_execute_to.
748
749 2016-06-21 Pedro Alves <palves@redhat.com>
750
751 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
752 (cont_handler_str): New.
753 (signal_stop_handler): Set stop_handler_str instead of printing to
754 stdout.
755 (continue_handler): Set cont_handler_str instead of printing to
756 stdout.
757 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
758 mi_send_resuming_command. Print stop_handler_str and
759 cont_handler_str instead of expecting the python events print
760 directly.
761
762 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
763
764 * gdb.base/jit-reader.exp: New file.
765 * gdb.base/jithost.c: New file.
766 * gdb.base/jithost.h: New file.
767 * gdb.base/jitreader.c : New file.
768 * gdb.base/jit-protocol.h: New file.
769
770 2016-06-17 Yao Qi <yao.qi@linaro.org>
771
772 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
773 parameters follow_fork and detach_on_fork. Set follow-fork-mode
774 and detach-on-fork. Adjust tests.
775 (top level): Invoke break_cond_on_syscall with combinations of
776 syscall, follow-fork-mode and detach-on-fork.
777
778 2016-06-17 Yao Qi <yao.qi@linaro.org>
779
780 * gdb.base/step-over-exit.c: New.
781 * gdb.base/step-over-exit.exp: New.
782
783 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
784
785 * gdb.base/float.exp: Add target check for nds32*-*-*.
786 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
787
788 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
791 for unsupported target features.
792 * gdb.base/call-rt-st.exp: Likewise.
793 * gdb.base/call-sc.exp: Likewise.
794 * gdb.base/call-signal-resume.exp: Likewise.
795 * gdb.base/call-strs.exp: Likewise.
796 * gdb.base/callexit.exp: Likewise.
797 * gdb.base/callfuncs.exp: Likewise.
798 * gdb.base/nodebug.exp: Likewise.
799 * gdb.base/printcmds.exp: Likewise.
800 * gdb.base/ptype.exp: Likewise.
801 * gdb.base/structs.exp: Likewise.
802 * gdb.base/unwindonsignal.exp: Likewise.
803 * gdb.cp/gdb2495.exp: Likewise.
804 * gdb.cp/templates.exp: Likewise.
805 * gdb.cp/virtfunc.exp: Likewise.
806 * gdb.threads/hand-call-in-threads.exp: Likewise.
807 * gdb.threads/interrupted-hand-call.exp: Likewise.
808 * gdb.threads/thread-unwindonsignal.exp: Likewise.
809
810 2016-06-10 Tom Tromey <tom@tromey.com>
811
812 PR rust/20110:
813 * gdb.rust/expr.exp: Add test for integer constant larger than
814 i32.
815
816 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
817
818 * gdb.fortran/nested-funcs.exp: New.
819 * gdb.fortran/nested-funcs.f90: New.
820
821 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
822
823 * gdb.base/examine-backward.c: New file.
824 * gdb.base/examine-backward.exp: New file.
825
826 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
827
828 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
829 matching.
830
831 2016-06-02 Tom Tromey <tom@tromey.com>
832
833 PR python/18984:
834 * gdb.python/py-shared.exp: Add solib_name test.
835
836 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
837
838 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
839
840 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
841
842 PR c++/19893
843 * gdb.dwarf2/implref.exp: Rename to...
844 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
845 * gdb.dwarf2/implref-array.c: New file.
846 * gdb.dwarf2/implref-array.exp: Likewise.
847 * gdb.dwarf2/implref-global.c: Likewise.
848 * gdb.dwarf2/implref-global.exp: Likewise.
849 * gdb.dwarf2/implref-struct.c: Likewise.
850 * gdb.dwarf2/implref-struct.exp: Likewise.
851
852 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
853
854 * gdb.trace/trace-condition.exp: Add 64bit tests.
855
856 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
857
858 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
859 bits types.
860 (main): Adapt to 8 to 64 bits types.
861 * gdb.trace/trace-condition.exp: Add new tests.
862
863 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
864
865 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
866
867 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
868
869 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
870 Move condition tests...
871 * gdb.trace/trace-condition.exp: Here.
872
873 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
874
875 * gdb.trace/trace-condition.exp: Add counter-case tests.
876
877 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
878
879 PR c++/15231
880 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
881 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
882
883 2016-05-27 Pedro Alves <palves@redhat.com>
884
885 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
886 New procedure.
887 (top level): Call it, and bail out of DejaGnu is known to be bad.
888
889 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
890
891 * gdb.base/whatis.c: Extend the test case.
892 * gdb.base/whatis.exp: Add additional tests.
893
894 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
895
896 * gdb.fortran/type.f90: Add pointer variable.
897 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
898
899 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
900
901 * gdb.fortran/vla-type.exp: Fix testcase name.
902
903 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
904
905 * gdb.fortran/vla-type.exp: Access elements in nested structs.
906
907 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
908
909 * gdb.fortran/type.f90: Add nested structures.
910 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
911 * gdb.fortran/derived-type.exp: Adapt expected output.
912 * gdb.fortran/vla-type.exp: Adapt expected output.
913
914 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
915
916 * gdb.fortran/whatis_type.exp: Adapt expected output.
917
918 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
919
920 * gdb.fortran/print_type.exp: Fix expected output.
921 * gdb.fortran/whatis_type.exp: Fix expected output.
922
923 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
924
925 * gdb.fortran/whatis_type.exp: Use multi_line.
926
927 2016-05-24 Tom Tromey <tom@tromey.com>
928
929 PR python/17386:
930 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
931 use value as an index.
932
933 2016-05-23 Tom Tromey <tom@tromey.com>
934
935 PR python/17981:
936 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
937 no-breakpoint case.
938
939 2016-05-24 Pedro Alves <palves@redhat.com>
940
941 PR gdb/19828
942 * gdb.threads/clone-attach-detach.c: New file.
943 * gdb.threads/clone-attach-detach.exp: New file.
944
945 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
946
947 * gdb.base/annota-input-while-running.exp: Fix syntax error.
948
949 2016-05-23 Tom Tromey <tom@tromey.com>
950
951 PR python/19438, PR python/18393:
952 * gdb.python/py-progspace.exp: Add "dir" test.
953 * gdb.python/py-objfile.exp: Add "dir" test.
954
955 2016-05-23 Yao Qi <yao.qi@linaro.org>
956
957 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
958 * gdb.arch/thumb2-it.exp: Likewise.
959
960 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
961
962 * gdb.mi/mi-threads-interrupt.c: New file.
963 * gdb.mi/mi-threads-interrupt.exp: New file.
964
965 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
966
967 PR gdb/18077
968 * gdb.mi/mi-async-run.exp: New file.
969 * gdb.mi/mi-async-run.c: New file.
970
971 2016-05-17 Tom Tromey <tom@tromey.com>
972 Manish Goregaokar <manishsmail@gmail.com>
973
974 * lib/rust-support.exp: New file.
975 * lib/gdb.exp (skip_rust_tests): New proc.
976 (build_executable_from_specs): Handle rust.
977 * lib/future.exp (gdb_find_rustc): New proc.
978 (gdb_default_target_compile): Handle rust.
979 * gdb.rust/expr.exp: New file.
980 * gdb.rust/generics.exp: New file.
981 * gdb.rust/generics.rs: New file.
982 * gdb.rust/methods.exp: New file.
983 * gdb.rust/methods.rs: New file.
984 * gdb.rust/modules.exp: New file.
985 * gdb.rust/modules.rs: New file.
986 * gdb.rust/simple.exp: New file.
987 * gdb.rust/simple.rs: New file.
988
989 2016-05-17 Tom Tromey <tom@tromey.com>
990
991 * gdb.base/default.exp (set language): Add rust.
992
993 2016-05-17 Tom Tromey <tom@tromey.com>
994
995 * gdb.gdb/unittest.exp: New file.
996
997 2016-05-16 Yao Qi <yao.qi@linaro.org>
998
999 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1000 shell_prompt. Update shell_prompt_re.
1001
1002 2016-05-12 Doug Evans <dje@google.com>
1003
1004 PR symtab/19999
1005 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1006 $options when building executable.
1007 * gdb.dwarf2/fission-loclists-pie.S: New file.
1008 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1009
1010 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1011
1012 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1013 of [is_remote target],
1014
1015 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1016
1017 * lib/gdb.exp (use_gdb_stub): New procedure.
1018
1019 2016-05-03 Yunlian Jiang <yunlian@google.com>
1020 Doug Evans <dje@google.com>
1021
1022 PR symtab/19914
1023 * gdb.dwarf2/dwp-sepdebug.c: New file.
1024 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1025
1026 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1027
1028 * gdb.base/detach.exp: Remove is_remote check.
1029
1030 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1031
1032 * gdb.base/annota-input-while-running.exp: Don't check for
1033 [is_remote target]. Enable annotations after running to main.
1034 Remove unused "set test..." line.
1035
1036 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1037
1038 * gdb.trace/trace-enable-disable.exp: New file.
1039 * gdb.trace/trace-enable-disable.c: New file.
1040
1041 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1042
1043 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1044 use it in info sharedlibrary test.
1045 * gdb.trace/ftrace-lock.exp: Likewise.
1046 * gdb.trace/ftrace.exp: Likewise.
1047 * gdb.trace/range-stepping.exp: Likewise.
1048 * gdb.trace/trace-break.exp: Likewise.
1049 * gdb.trace/trace-condition.exp: Likewise.
1050 * gdb.trace/trace-mt.exp: Likewise.
1051
1052 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1053
1054 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1055 (gdb_load_shlib): ... this.
1056 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1057 gdb_load_shlib.
1058 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1059 * gdb.base/ctxobj.exp: Likewise.
1060 * gdb.base/dprintf-pending.exp: Likewise.
1061 * gdb.base/dso2dso.exp: Likewise.
1062 * gdb.base/fixsection.exp: Likewise.
1063 * gdb.base/gcore-relro.exp: Likewise.
1064 * gdb.base/gdb1555.exp: Likewise.
1065 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1066 * gdb.base/gnu-ifunc.exp: Likewise.
1067 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1068 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1069 * gdb.base/pending.exp: Likewise.
1070 * gdb.base/print-file-var.exp: Likewise.
1071 * gdb.base/print-symbol-loading.exp: Likewise.
1072 * gdb.base/shlib-call.exp: Likewise.
1073 * gdb.base/shreloc.exp: Likewise.
1074 * gdb.base/so-impl-ld.exp: Likewise.
1075 * gdb.base/solib-disc.exp: Likewise.
1076 * gdb.base/solib-nodir.exp: Likewise.
1077 * gdb.base/solib-overlap.exp: Likewise.
1078 * gdb.base/solib-symbol.exp: Likewise.
1079 * gdb.base/solib-weak.exp (do_test): Likewise.
1080 * gdb.base/sym-file.exp: Likewise.
1081 * gdb.base/symtab-search-order.exp: Likewise.
1082 * gdb.base/type-opaque.exp: Likewise.
1083 * gdb.base/unload.exp: Likewise.
1084 * gdb.base/watchpoint-solib.exp: Likewise.
1085 * gdb.compile/compile.exp: Likewise.
1086 * gdb.cp/gdb2384.exp: Likewise.
1087 * gdb.cp/infcall-dlopen.exp: Likewise.
1088 * gdb.cp/re-set-overloaded.exp: Likewise.
1089 * gdb.fortran/library-module.exp: Likewise.
1090 * gdb.opt/solib-intra-step.exp: Likewise.
1091 * gdb.python/py-finish-breakpoint.exp: Likewise.
1092 * gdb.python/py-shared.exp: Likewise.
1093 * gdb.reverse/solib-precsave.exp: Likewise.
1094 * gdb.reverse/solib-reverse.exp: Likewise.
1095 * gdb.server/solib-list.exp: Likewise.
1096 * gdb.threads/dlopen-libpthread.exp: Likewise.
1097 * gdb.threads/tls-shared.exp: Likewise.
1098 * gdb.threads/tls-so_extern.exp: Likewise.
1099 * gdb.trace/change-loc.exp: Likewise.
1100 * gdb.trace/ftrace-lock.exp: Likewise.
1101 * gdb.trace/ftrace.exp: Likewise.
1102 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1103 * gdb.trace/pending.exp: Likewise.
1104 * gdb.trace/range-stepping.exp: Likewise.
1105 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1106 (strace_info_marker): Likewise.
1107 (strace_probe_marker): Likewise.
1108 (strace_trace_on_same_addr): Likewise.
1109 (strace_trace_on_diff_addr): Likewise.
1110 * gdb.trace/trace-break.exp: Likewise.
1111 * gdb.trace/trace-condition.exp: Likewise.
1112 * gdb.trace/trace-mt.exp: Likewise.
1113
1114 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1115
1116 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1117 result of gdb_remote_download.
1118 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1119 * gdb.base/dso2dso.exp: Likewise.
1120 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1121 * gdb.base/print-file-var.exp: Likewise.
1122 * gdb.base/shlib-call.exp: Likewise.
1123 * gdb.base/shreloc.exp: Likewise.
1124 * gdb.base/solib-overlap.exp: Likewise.
1125 * gdb.base/solib-weak.exp (do_test): Likewise.
1126 * gdb.base/unload.exp: Likewise.
1127
1128 2016-04-27 Yao Qi <yao.qi@linaro.org>
1129
1130 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1131 exists.
1132
1133 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1134
1135 * vla-type.exp: Print structure from toplevel.
1136
1137 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1138
1139 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1140 of dynamic types.
1141 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1142 of dynamic types.
1143
1144 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1145
1146 * gdb.fortran/vla-type.f90: New file.
1147 * gdb.fortran/vla-type.exp: New file.
1148
1149 2016-04-25 Yao Qi <yao.qi@linaro.org>
1150
1151 * gdb.base/branch-to-self.c: New file.
1152 * gdb.base/branch-to-self.exp: New file.
1153
1154 2016-04-22 Yao Qi <yao.qi@linaro.org>
1155
1156 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1157 more after $hex.
1158
1159 2016-04-22 Yao Qi <yao.qi@linaro.org>
1160
1161 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1162 * gdb.base/annota3.exp: Likewise.
1163
1164 2016-04-22 Yao Qi <yao.qi@linaro.org>
1165
1166 * gdb.reverse/step-precsave.exp: Do one step and test program
1167 stops in "callee" and do multiple steps until program goes out
1168 of "callee".
1169 * gdb.reverse/step-reverse.exp: Likewise.
1170
1171 2016-04-22 Yao Qi <yao.qi@linaro.org>
1172
1173 * gdb.trace/signal.exp: Also pass if
1174 $tracepoint_hits($i) > $iterations.
1175
1176 2016-04-22 Yao Qi <yao.qi@linaro.org>
1177
1178 * gdb.trace/signal.c: New file.
1179 * gdb.trace/signal.exp: New file.
1180
1181 2016-04-19 Doug Evans <xdje42@gmail.com>
1182
1183 * gdb.base/bad-file.exp: New file.
1184
1185 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1186
1187 * gdb.dwarf2/implref.exp: New file.
1188
1189 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1190
1191 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1192 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1193 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1194 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1195 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1196 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1197 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1198 * lib/fortran.exp (fortran_int4): New procedure.
1199 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1200 (fortran_logical4): Likewise.
1201
1202 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1203
1204 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1205
1206 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1207
1208 * lib/compiler.c: Add Intel specific preprocessor macros.
1209 * lib/compiler.cc: Likewise.
1210
1211 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1212
1213 * gdb.server/connect-with-no-symbol-file.c: New file.
1214 * gdb.server/connect-with-no-symbol-file.exp: New file.
1215
1216 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1217
1218 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1219
1220 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1221
1222 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1223 standard output directory.
1224
1225 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1226
1227 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1228
1229 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1230
1231 * gdb.btrace/instruction_history.c (loop): Add declaration.
1232
1233 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1234
1235 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1236
1237 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1238
1239 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1240 parentheses to print.
1241 (continue_handler): Likewise.
1242
1243 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1244
1245 * gdb.server/solib-list.exp: Remove is_remote check.
1246 Pass shlib= to gdb_compile. Don't link shared library with
1247 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1248 Run binary filename through "readlink -f" on the target.
1249
1250 2016-04-08 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1253 interpreter filename as argument to gdbserver_spawn.
1254 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1255 Return empty if $last_loaded_file does not exist.
1256
1257 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1258
1259 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1260 * gdb.base/jit-main.c: Use exit after usage.
1261
1262 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1263
1264 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1265 GDBHISTSIZE prior to the tests.
1266 * gdb.base/gdbinit-history.exp: Likewise.
1267
1268 2016-04-07 Pedro Alves <palves@redhat.com>
1269
1270 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1271 instead of build_executable. Use gdb_load_shlibs.
1272
1273 2016-04-07 Yao Qi <yao.qi@linaro.org>
1274
1275 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1276 Execute "si" command.
1277
1278 2016-04-07 Yao Qi <yao.qi@linaro.org>
1279
1280 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1281 number instead of the comments on some line.
1282
1283 2016-04-06 Don Breazeal <donb@codesourcery.com>
1284
1285 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1286 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1287
1288 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1289
1290 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1291 standard_output_file. Remove unused binfile variable.
1292
1293 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1294
1295 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1296 * gdb.python/py-mi-objfile.exp: Match "list main" output
1297 in console format.
1298
1299 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1300
1301 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1302 absolute.
1303
1304 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1305
1306 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1307 absolute.
1308 * gdb.trace/ftrace.exp: Likewise.
1309 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1310 targets as well.
1311 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1312 (gdb_load_shlibs): Copy libraries to test directory when testing
1313 natively. Only set solib-search-path if testing remotely.
1314 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1315
1316 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1317
1318 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1319 gdb_download. Use it even if the target is not remote.
1320 * gdb.base/jit.exp (compile_jit_test): Likewise.
1321 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1322 output directory if the destination board is local, otherwise use
1323 the standard remote_download from DejaGnu.
1324 (gdb_download): Remove.
1325 (gdb_load_shlibs): Use gdb_remote_download instead of
1326 gdb_download.
1327 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1328 Use gdb_remote_download instead of gdb_download. Use it even if
1329 the target is not remote.
1330 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1331 instead of gdb_download.
1332
1333 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1334
1335 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1336 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1337 run.
1338
1339 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1340
1341 PR gdb/19820
1342 * gdb.base/printcmds.exp: Add artificial arrays tests.
1343
1344 2016-03-31 Pedro Alves <palves@redhat.com>
1345
1346 PR gdb/19858
1347 * gdb.base/jit-main.c: Include unistd.h.
1348 (ATTACH): Define to 0 if not already defined.
1349 (wait_for_gdb, mypid): New globals.
1350 (WAIT_FOR_GDB): New macro.
1351 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1352 some breakpoint locations.
1353 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1354 New procedures.
1355 (one_jit_test): Add REATTACH parameter, and handle it. Use
1356 continue_to_test_location.
1357 (top level): Test attach, and adjusts calls to one_jit_test.
1358
1359 2016-03-31 Pedro Alves <palves@redhat.com>
1360
1361 PR gdb/19858
1362 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1363 BINSUFFIX parameter, and handle it.
1364 (top level): Adjust calls compile_jit_test.
1365
1366 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1367
1368 PR python/19743
1369 * gdb.python/py-mi-events-gdb.py: New file.
1370 * gdb.python/py-mi-events.c: New file.
1371 * gdb.python/py-mi-events.exp: New file.
1372
1373 2016-03-30 Yao Qi <yao.qi@linaro.org>
1374
1375 * gdb.reverse/until-precsave.exp: Match function name only.
1376 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1377 Move malloc to a condition block.
1378 * gdb.reverse/until-reverse.exp: Match function name only.
1379
1380 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1381
1382 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1383 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1384 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1385 variable for GPR 0 instead of assuming it is register 0.
1386 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1387 * lib/trace-support.exp: Add s390 registers.
1388
1389 2016-03-29 Yao Qi <yao.qi@linaro.org>
1390
1391 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1392
1393 2016-03-24 Yao Qi <yao.qi@linaro.org>
1394
1395 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1396 test message.
1397
1398 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1399
1400 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1401 maintaining separate logic for constructing the output path.
1402
1403 2016-03-16 Don Breazeal <donb@codesourcery.com>
1404
1405 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1406 Retry fork and waitpid on interrupted system call errors.
1407 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1408 Use with_timeout_factor to increase timeout by factor of 10.
1409
1410 2016-03-15 Don Breazeal <donb@codesourcery.com>
1411
1412 * gdb.cp/scope-err.cc: New test program.
1413 * gdb.cp/scope-err.exp: New test script.
1414 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1415 lines and "set breakpoint here" comment.
1416 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1417 Fixed some whitespace and format issues.
1418 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1419 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1420
1421 2016-03-15 Doug Evans <dje@google.com>
1422
1423 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1424 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1425 All callers updated. Add tests for enums, mixed flags register.
1426
1427 2016-03-15 Doug Evans <dje@google.com>
1428
1429 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1430 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1431
1432 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1433
1434 * gdb.base/default.exp: Add $_as_string to the list of expected
1435 convenience functions.
1436
1437 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1438
1439 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1440
1441 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1442
1443 * gdb.python/py-as-string.exp: New file.
1444 * gdb.python/py-as-string.c: New file.
1445
1446 2016-03-09 Pedro Alves <palves@redhat.com>
1447
1448 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1449 signal" -> "Thread NN received signal" output change.
1450 * gdb.threads/ia64-sigill.exp: Likewise.
1451 * gdb.threads/linux-dp.exp: Likewise.
1452 * gdb.threads/manythreads.exp: Likewise.
1453 * gdb.threads/pending-step.exp: Likewise.
1454 * gdb.threads/print-threads.exp: Likewise.
1455 * gdb.threads/sigstep-threads.exp: Likewise.
1456 * gdb.threads/staticthreads.exp: Likewise.
1457 * gdb.threads/tls.exp: Likewise.
1458
1459 2016-03-09 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.base/command-line-input.exp: New file.
1462
1463 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1464
1465 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1466 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1467 * gdb.trace/pending.exp: Accept leading dot before function name.
1468 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1469 * lib/trace-support.exp: Set registers for ppc.
1470
1471 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1472
1473 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1474 use it for disassembly; accept .main in addition to main in backtrace.
1475
1476 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1477 Marcin Kościelnicki <koriakin@0x04.net>
1478
1479 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1480 (gdb_recursion_test_ptr): New global variable.
1481 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1482 gdb_recursion_test.
1483 (gdb_c_test): Ditto.
1484
1485 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1486
1487 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1488 ordering.
1489
1490 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1491
1492 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1493 (bar): Add bar_start_lbl label.
1494 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1495 of foo/bar for emitting DWARF and tracing.
1496
1497 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1498
1499 * analyze-racy-logs.py: Set executable bit.
1500
1501 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1502
1503 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1504 (CHECK_TARGET_TMP): Likewise.
1505 (check-single-racy): New rule.
1506 (check-parallel-racy): Likewise.
1507 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1508 (do-check-parallel-racy): New rule.
1509 (check-racy/%.exp): Likewise.
1510 * README (Racy testcases): New section.
1511 * analyze-racy-logs.py: New file.
1512
1513 2016-03-03 Doug Evans <dje@google.com>
1514
1515 * gdb.base/skip.exp: Use with_test_prefix.
1516
1517 2016-03-03 Yao Qi <yao.qi@linaro.org>
1518
1519 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1520 Invoke step_over_syscall "clone" and break_cond_on_syscall
1521 "clone".
1522 * gdb.base/step-over-clone.c: New file.
1523
1524 2016-03-03 Yao Qi <yao.qi@linaro.org>
1525
1526 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1527 code format.
1528
1529 2016-03-03 Yao Qi <yao.qi@linaro.org>
1530
1531 * gdb.base/disp-step-fork.c: Rename to ...
1532 * gdb.base/step-over-fork.c: ... it. New file.
1533 * gdb.base/disp-step-vfork.c: Rename to ...
1534 * gdb.base/step-over-vfork.c: ... it. New file.
1535 * gdb.base/disp-step-syscall.exp: Rename to ...
1536 * gdb.base/step-over-syscall.exp: ... it. New file.
1537 (disp_step_cross_syscall): Rename to ...
1538 (step_over_syscall): ... it.
1539
1540 2016-03-03 Yao Qi <yao.qi@linaro.org>
1541
1542 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1543 If target supports condition evaluation on target, invoke
1544 break_cond_on_syscall for fork and vfork.
1545
1546 2016-03-03 Yao Qi <yao.qi@linaro.org>
1547
1548 * gdb.base/disp-step-syscall.exp: Don't invoke
1549 support_displaced_stepping.
1550 (disp_step_cross_syscall): Test with displaced stepping off and
1551 on if supported.
1552
1553 2016-03-03 Yao Qi <yao.qi@linaro.org>
1554
1555 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1556 proc.
1557 (setup): New proc.
1558 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1559 and setup.
1560
1561 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1562
1563 * gdb.fortran/vla-history.exp: Remove breakpoint.
1564
1565 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1566
1567 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1568 exceeds timeout.
1569
1570 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1571
1572 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1573 breakpoint.
1574
1575 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1576
1577 * gdb.mi/vla.f90: Nullify pointer after declaration.
1578
1579 2016-03-01 Pedro Alves <palves@redhat.com>
1580
1581 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1582
1583 2016-03-01 Pedro Alves <palves@redhat.com>
1584
1585 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1586 before anything else.
1587 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1588 _GNU_SOURCE here.
1589 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1590 before anything else.
1591 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1592
1593 2016-03-01 Pedro Alves <palves@redhat.com>
1594
1595 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1596
1597 2016-03-01 Yao Qi <yao.qi@linaro.org>
1598
1599 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1600 prepare_for_testing.
1601
1602 2016-03-01 Yao Qi <yao.qi@linaro.org>
1603
1604 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1605
1606 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1607
1608 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1609 manually constructing the output path.
1610
1611 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1612
1613 * gdb.arch/s390-stackless.S: New.
1614 * gdb.arch/s390-stackless.exp: New.
1615
1616 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1617
1618 * gdb.dlang/circular.c: New file.
1619 * gdb.dlang/circular.exp: New file.
1620
1621 2016-02-26 Yao Qi <yao.qi@linaro.org>
1622
1623 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1624 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1625 (testcases): Update.
1626
1627 2016-02-26 Yao Qi <yao.qi@linaro.org>
1628
1629 * gdb.reverse/aarch64.c: Rename to ...
1630 * gdb.reverse/insn-reverse.c: ... it.
1631 * gdb.reverse/aarch64.exp: Rename to ...
1632 * gdb.reverse/insn-reverse.exp: ... it.
1633
1634 2016-02-26 Yao Qi <yao.qi@linaro.org>
1635
1636 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1637 (testcase_ftype): New.
1638 (testcases): New array.
1639 (n_testcases): New.
1640 (main): Call each element in testcases.
1641 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1642 (read_testcase): New.
1643 Do the tests in a loop.
1644
1645 2016-02-25 Yao Qi <yao.qi@linaro.org>
1646
1647 * gdb.base/branches.c: Remove.
1648
1649 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1650
1651 PR gdb/13808
1652 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1653
1654 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1655
1656 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1657
1658 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1659
1660 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1661 change x86_64 call_insn to 'callq'.
1662
1663 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1664
1665 * gdb.trace/tfile-avx.c: Move to...
1666 * gdb.trace/tracefile-pseudo-reg.c: Here.
1667 * gdb.trace/tfile-avx.exp: Move to...
1668 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1669
1670 2016-02-24 Gary Benson <gbenson@redhat.com>
1671
1672 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1673 message on attach.
1674
1675 2016-02-23 Doug Evans <dje@google.com>
1676
1677 * gdb.base/skip.c (test_skip): New function.
1678 (end_test_skip_file_and_function): New function.
1679 (test_skip_file_and_function): New function.
1680 * gdb.base/skip1.c (test_skip): New function.
1681 (skip1_test_skip_file_and_function): New function.
1682 * gdb.base/skip.exp: Add tests for new skip options.
1683 * gdb.base/skip-solib.exp: Update expected output.
1684 * gdb.perf/skip-command.cc: New file.
1685 * gdb.perf/skip-command.exp: New file.
1686 * gdb.perf/skip-command.py: New file.
1687
1688 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1689
1690 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1691 info registers pattern.
1692
1693 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1694
1695 * lib/future.exp: Add D support.
1696 (gdb_find_gdc): New proc.
1697 (gdb_default_target_compile): Add D support.
1698
1699 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1700
1701 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1702 user+system time.
1703 (trace_speed_test): Determine the iteration count for a time
1704 between 15..30 seconds.
1705
1706 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1707
1708 * gdb.arch/i386-mpx-sigsegv.c: New file.
1709 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1710 * gdb.arch/i386-mpx-simple_segv.c: New file.
1711 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1712
1713 2016-02-18 Yao Qi <yao.qi@linaro.org>
1714
1715 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1716 Don't call setup_kfail.
1717
1718 2016-02-18 Yao Qi <yao.qi@linaro.org>
1719
1720 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1721 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1722
1723 2016-02-16 Doug Evans <dje@google.com>
1724
1725 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1726 * gdb.base/skip1.c: Ditto.
1727 * gdb.base/skip.exp: Whitespace cleanup.
1728
1729 2016-02-16 Don Breazeal <donb@codesourcery.com>
1730
1731 PR remote/19496
1732 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1733 Remove kfail for PR remote/19496.
1734
1735 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1736
1737 * lib/gdb.exp (standard_temp_file): Return a path specific to
1738 the runtest invocation.
1739
1740 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1741
1742 * gdb.trace/save-trace.exp: Change relative path to be in the
1743 standard output directory.
1744
1745 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1746
1747 * gdb.arch/i386-prologue.c: Add missing prototypes.
1748
1749 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1750
1751 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1752 * gdb.arch/i386-prologue.exp: Likewise.
1753 * gdb.arch/i386-size.exp: Likewise.
1754
1755 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1756
1757 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1758 define object file path.
1759 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1760 file path.
1761 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1762 standard_output_file to define binfile.
1763
1764 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1765
1766 Fix compatibility with recent gfortran-5.3.1.
1767 * gdb.fortran/vla-history.exp (print vla1 allocated)
1768 (print vla2 allocated, print $2, print $3): Remove
1769 (print $4): Rename to ...
1770 (print $2): ... here.
1771 (print $9): Rename to ...
1772 (print $5): ... here.
1773 (print $10): Rename to ...
1774 (print $6): ... here.
1775 * gdb.fortran/vla.f90: Add pvla initialization.
1776
1777 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1778
1779 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1780 New test.
1781 * gdb.fortran/vla-value-sub.exp: Likewise.
1782
1783 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1784
1785 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1786
1787 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1788
1789 * i386-biarch-core.exp: Define corefile using
1790 standard_output_file.
1791
1792 2016-02-12 Yao Qi <yao.qi@linaro.org>
1793
1794 * gdb.arch/arm-single-step-kernel-helper.c: New.
1795 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1796
1797 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1798
1799 * gdb.btrace/tailcall-only.exp: New.
1800 * gdb.btrace/tailcall-only.c: New.
1801 * gdb.btrace/x86_64-tailcall-only.S: New.
1802 * gdb.btrace/i686-tailcall-only.S: New.
1803
1804 2016-02-11 Pedro Alves <palves@redhat.com>
1805
1806 * README (Parallel testing): Add missing double quotes.
1807
1808 2016-02-11 Pedro Alves <palves@redhat.com>
1809
1810 * README (Parallel testing): New section.
1811 (GDB_PARALLEL): Rewrite.
1812 (FORCE_PARALLEL): Document.
1813
1814 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1815
1816 * gdb.trace/tfile-avx.c: New test.
1817 * gdb.trace/tfile-avx.exp: New test.
1818
1819 2016-02-09 Keith Seitz <keiths@redhat.com>
1820
1821 PR breakpoints/19546
1822 * gdb.base/infcall-exec.c: New file.
1823 * gdb.base/infcall-exec2.c: New file.
1824 * gdb.base/infcall-exec.exp: New file.
1825
1826 2016-02-09 Keith Seitz <keiths@redhat.com>
1827
1828 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1829 (toplevel): Call test_bkpt_address.
1830
1831 2016-02-09 Keith Seitz <keiths@redhat.com>
1832
1833 PR python/19506
1834 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1835 (toplevel): Call test_bkpt_address.
1836
1837 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1838
1839 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1840 to AC_OUTPUT.
1841 * configure: Regenerate.
1842
1843 2016-02-09 Pedro Alves <palves@redhat.com>
1844
1845 PR breakpoints/19548
1846 * gdb.base/execl-update-breakpoints.c (some_function): New
1847 function.
1848 (main): Call it.
1849 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1850 Tighten expected GDB output.
1851
1852 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1853
1854 * Makefile.in (ALL_SUBDIRS): Remove.
1855 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1856 (distclean maintainer-clean realclean): Likewise.
1857 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1858 * configure: Regenerate.
1859 * gdb.ada/Makefile.in: Delete.
1860 * gdb.arch/Makefile.in: Likewise.
1861 * gdb.asm/Makefile.in: Likewise.
1862 * gdb.base/Makefile.in: Likewise.
1863 * gdb.btrace/Makefile.in: Likewise.
1864 * gdb.cell/Makefile.in: Likewise.
1865 * gdb.compile/Makefile.in: Likewise.
1866 * gdb.cp/Makefile.in: Likewise.
1867 * gdb.disasm/Makefile.in: Likewise.
1868 * gdb.dlang/Makefile.in: Likewise.
1869 * gdb.dwarf2/Makefile.in: Likewise.
1870 * gdb.fortran/Makefile.in: Likewise.
1871 * gdb.gdb/Makefile.in: Likewise.
1872 * gdb.go/Makefile.in: Likewise.
1873 * gdb.guile/Makefile.in: Likewise.
1874 * gdb.java/Makefile.in: Likewise.
1875 * gdb.linespec/Makefile.in: Likewise.
1876 * gdb.mi/Makefile.in: Likewise.
1877 * gdb.modula2/Makefile.in: Likewise.
1878 * gdb.multi/Makefile.in: Likewise.
1879 * gdb.objc/Makefile.in: Likewise.
1880 * gdb.opencl/Makefile.in: Likewise.
1881 * gdb.opt/Makefile.in: Likewise.
1882 * gdb.pascal/Makefile.in: Likewise.
1883 * gdb.perf/Makefile.in: Likewise.
1884 * gdb.python/Makefile.in: Likewise.
1885 * gdb.reverse/Makefile.in: Likewise.
1886 * gdb.server/Makefile.in: Likewise.
1887 * gdb.stabs/Makefile.in: Likewise.
1888 * gdb.threads/Makefile.in: Likewise.
1889 * gdb.trace/Makefile.in: Likewise.
1890 * gdb.xml/Makefile.in: Likewise.
1891 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1892 GDB_PARALLEL.
1893 (standard_output_file): Remove check for GDB_PARALLEL, always
1894 return path in outputs/$subdir/$testname.
1895
1896 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1897
1898 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1899 (site.exp): Assign abs_srcdir to tcl's srcdir.
1900
1901 2016-02-04 Yao Qi <yao.qi@linaro.org>
1902
1903 * gdb.base/foll-exec-mode.c: Include limits.h.
1904 (main): Add parameters argc and argv. Get directory from
1905 argv[0].
1906 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1907 compilation.
1908 * gdb.base/foll-exec.c: Include limits.h.
1909 (main): Add parameters argc and argv.
1910 Get directory from argv[0].
1911 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1912 Adjust tests on the number of lines as source code changed.
1913 * gdb.base/foll-vfork-exit.c: Include limits.h.
1914 (main): Add one line of statement before vfork.
1915 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1916 (main): Add parameters argc and argv. Get directory from
1917 argv[0].
1918 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1919 (setup_gdb): Set tbreak to skip some source lines.
1920 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1921 (main): Add parameters argc and argv. Get directory from
1922 argv[0].
1923 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1924 compilation.
1925 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1926 (main): Add parameters argc and argv. Get directory from
1927 argv[0].
1928 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1929 compilation.
1930
1931 2016-02-01 Doug Evans <dje@google.com>
1932
1933 * gdb.base/skip.exp: Clean up multiple references to same test name.
1934
1935 2016-02-01 Pedro Alves <palves@redhat.com>
1936
1937 PR remote/19496
1938 * gdb.threads/forking-threads-plus-breakpoint.exp
1939 (displaced_stepping_supported): New global.
1940 (probe_displaced_stepping_support): New procedure.
1941 (do_test): Add 'displaced' parameter, and use it.
1942 (top level): Check for displaced stepping support. Add displaced
1943 stepping on/off testing axis.
1944
1945 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1946
1947 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1948 pointer. Don't perform further tests on the unassociated pointer
1949 if the first test fails.
1950
1951 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1952
1953 * gdb.base/max-value-size.c: New file.
1954 * gdb.base/max-value-size.exp: New file.
1955 * gdb.base/huge.exp: Disable max-value-size for this test.
1956
1957 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1958
1959 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1960
1961 2016-01-28 Yao Qi <yao.qi@linaro.org>
1962
1963 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1964
1965 2016-01-25 Pedro Alves <palves@redhat.com>
1966
1967 PR threads/19461
1968 * gdb.base/fork-running-state.c: New file.
1969 * gdb.base/fork-running-state.exp: New file.
1970
1971 2016-01-25 Pedro Alves <palves@redhat.com>
1972
1973 PR gdb/19494
1974 * gdb.base/catch-fork-kill.c: New file.
1975 * gdb.base/catch-fork-kill.exp: New file.
1976
1977 2016-01-25 Pedro Alves <palves@redhat.com>
1978
1979 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1980 Delete, moved to lib/gdb.exp.
1981 * gdb.threads/forking-threads-plus-breakpoint.exp
1982 (foreach_with_prefix): Likewise.
1983 * gdb.threads/process-dies-while-handling-bp.exp
1984 (foreach_with_prefix): Likewise.
1985 * lib/gdb.exp (foreach_with_prefix): New procedure.
1986
1987 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1988
1989 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1990 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1991
1992 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1993
1994 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1995 endian targets.
1996
1997 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1998 Pedro Alves <palves@redhat.com>
1999
2000 Fix testsuite compatibility with Guile.
2001 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2002 number.
2003
2004 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2005
2006 Fix testsuite compatibility with Guile.
2007 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2008 (thread 1): New test for backtrace through signal handler.
2009
2010 2016-01-22 Yao Qi <yao.qi@linaro.org>
2011
2012 PR testsuite/19491
2013 * gdb.base/multi-forks.c: Include
2014 ../lib/unbuffer_output.c
2015 (main): Call gdb_unbuffer_output.
2016
2017 2016-01-21 Doug Evans <dje@google.com>
2018
2019 * lib/ada.exp (gdb_compile_ada): Fix typo.
2020
2021 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2022
2023 * gdb.base/break-fun-addr.exp: New file.
2024 * gdb.base/break-fun-addr1.c: New file.
2025 * gdb.base/break-fun-addr2.c: New file.
2026
2027 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2028
2029 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2030 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2031 enum flag values.
2032
2033 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2034
2035 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2036 when GDB can not set the vector return value. Add more comments
2037 for clarification.
2038
2039 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2040
2041 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2042 command.
2043
2044 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2045
2046 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2047
2048 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2049
2050 * Makefile.in (check-single): Pass --status to runtest.
2051 (check/%.exp): Likewise.
2052
2053 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2054
2055 * Makefile.in (check-parallel): Propagate return code from make
2056 do-check-parallel.
2057
2058 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2059
2060 * gdb.trace/ftrace.exp: Fix expected message on continue.
2061 * gdb.trace/pending.exp: Fix expected message on continue.
2062 * gdb.trace/trace-break.exp: Fix expected message on continue.
2063
2064 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2065
2066 * lib/gdb.exp (gdb_test): Remove unused global references.
2067
2068 2016-01-18 Pedro Alves <palves@redhat.com>
2069
2070 * gdb.base/async-shell.exp: Adjust expected output.
2071 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2072 * gdb.base/siginfo-thread.exp: Adjust expected output.
2073 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2074 * gdb.java/jnpe.exp: Adjust expected output.
2075 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2076 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2077 * gdb.threads/leader-exit.exp: Adjust expected output.
2078 * gdb.threads/manythreads.exp: Adjust expected output.
2079 * gdb.threads/pthreads.exp: Adjust expected output.
2080 * gdb.threads/schedlock.exp: Adjust expected output.
2081 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2082 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2083 expected output.
2084 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2085 output.
2086 * gdb.threads/sigthread.exp: Adjust expected output.
2087 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2088
2089 2016-01-18 Yao Qi <yao.qi@linaro.org>
2090
2091 * gdb.guile/scm-section-script.c: Replace @progbits with
2092 %progbits.
2093 * gdb.python/py-section-script.c: Likewise.
2094
2095 2016-01-15 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.multi/tids.exp: Test star wildcard ranges.
2098
2099 2016-01-15 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2102 command from "thread apply" invocation.
2103 (thr_apply_info_thr_invalid): Default the expected output to the
2104 input tid list.
2105 (top level): Add tests that use convenience variables. Add tests
2106 for "thread apply" with a valid TID list, but missing the command.
2107
2108 2016-01-13 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.base/default.exp: Expect $_gthread as well.
2111 * gdb.multi/tids.exp: Test $_gthread.
2112 * gdb.threads/thread-specific.exp: Test $_gthread.
2113
2114 2016-01-13 Pedro Alves <palves@redhat.com>
2115
2116 * gdb.multi/tids.exp: Test "info threads -gid".
2117
2118 2016-01-13 Pedro Alves <palves@redhat.com>
2119
2120 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2121 Breakpoint.thread.
2122 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2123
2124 2016-01-07 Pedro Alves <palves@redhat.com>
2125
2126 * gdb.base/break.exp: Adjust to output changes.
2127 * gdb.base/hbreak2.exp: Likewise.
2128 * gdb.base/sepdebug.exp: Likewise.
2129 * gdb.base/watch_thread_num.exp: Likewise.
2130 * gdb.linespec/keywords.exp: Likewise.
2131 * gdb.multi/info-threads.exp: Likewise.
2132 * gdb.threads/thread-find.exp: Likewise.
2133 * gdb.multi/tids.c: New file.
2134 * gdb.multi/tids.exp: New file.
2135
2136 2016-01-13 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2139
2140 2016-01-13 Pedro Alves <palves@redhat.com>
2141
2142 * gdb.base/default.exp: Expect $_inferior as well.
2143 * gdb.multi/base.exp: Test $_inferior.
2144
2145 2016-01-13 Pedro Alves <palves@redhat.com>
2146
2147 PR breakpoints/19388
2148 * gdb.base/catch-signal-siginfo-cond.c: New file.
2149 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2150
2151 2016-01-12 Josh Stone <jistone@redhat.com>
2152 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2153
2154 * gdb.base/catch-syscall.c (do_execve): New variable.
2155 (main): Conditionally trigger an execve.
2156 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2157 (test_catch_syscall_execve): New, check entry/return across execve.
2158 (do_syscall_tests): Call test_catch_syscall_execve.
2159
2160 2016-01-12 Pedro Alves <palves@redhat.com>
2161
2162 * gdb.base/random-signal.exp (do_test): New procedure, with body
2163 of testcase moved in.
2164
2165 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2166 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.base/funcargs.exp (finish from indirectly called function):
2169 Reintroduce the case for 'First'.
2170
2171 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 Pedro Alves <palves@redhat.com>
2173
2174 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2175 (tcatch_vfork_then_child_follow_exec)
2176 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2177 identification.
2178
2179 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2182 and repeats to unlimited.
2183 * gdb.python/py-value.exp: Likewise.
2184 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2185 and repeats to unlimited.
2186
2187 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2188
2189 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2190 and reordering the functions.
2191 * gdb.multi/hangout.c: Likewise.
2192 * gdb.multi/hello.c: Likewise.
2193
2194 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2195
2196 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2197 absolute.
2198 (SingleStatisticTestResult.report): Use dict.keys instead of
2199 dict.iterkeys.
2200
2201 2016-01-06 Pedro Alves <palves@redhat.com>
2202
2203 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2204
2205 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2206
2207 * gdb.btrace/dlopen.exp: New.
2208 * gdb.btrace/dlopen.c: New.
2209 * gdb.btrace/dlopen-dso.c: New.
2210
2211 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2212
2213 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2214 PATTERN argument is optional.
2215
2216 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2217
2218 * lib/ada.exp (target_compile_ada_from_dir): New function.
2219 (gdb_compile_ada): Reimplement avoiding the use of project files.
2220 * gdb.ada/gnat_ada.gpr: Delete.
2221 * gdb.ada/cond_lang.exp: Adjust test to make path before
2222 filename optional.
2223 * gdb.ada/small_reg_param.exp: Likewise.
2224
2225 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2226
2227 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2228
2229 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2230
2231 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2232 case.
2233
2234 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2235
2236 * gdb.base/break.exp: Remove dead code.
2237 * gdb.base/sepdebug.exp: Likewise.
2238
2239 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2240
2241 * gdb.asm/asm-source.exp: Remove HP-UX references.
2242 * gdb.base/annota1.exp: Likewise.
2243 * gdb.base/annota3.exp: Likewise.
2244 * gdb.base/attach.exp: Likewise.
2245 * gdb.base/bigcore.exp: Likewise.
2246 * gdb.base/break.exp: Likewise.
2247 * gdb.base/call-ar-st.exp: Likewise.
2248 * gdb.base/callfuncs.exp: Likewise.
2249 * gdb.base/catch-fork-static.exp: Likewise.
2250 * gdb.base/display.exp: Likewise.
2251 * gdb.base/foll-exec-mode.exp: Likewise.
2252 * gdb.base/foll-exec.exp: Likewise.
2253 * gdb.base/foll-fork.exp: Likewise.
2254 * gdb.base/foll-vfork.exp: Likewise.
2255 * gdb.base/funcargs.exp: Likewise.
2256 * gdb.base/hbreak2.exp: Likewise.
2257 * gdb.base/inferior-died.exp: Likewise.
2258 * gdb.base/interrupt.exp: Likewise.
2259 * gdb.base/multi-forks.exp: Likewise.
2260 * gdb.base/nodebug.exp: Likewise.
2261 * gdb.base/sepdebug.exp: Likewise.
2262 * gdb.base/solib1.c: Likewise.
2263 * gdb.base/step-test.exp: Likewise.
2264 * gdb.mi/non-stop.c: Likewise.
2265 * gdb.mi/pthreads.c: Likewise.
2266 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2267 * gdb.threads/pthreads.c: Likewise.
2268 * gdb.threads/staticthreads.exp: Likewise.
2269 * lib/future.exp: Likewise.
2270 * lib/gdb.exp: Likewise.
2271 * gdb.base/so-indr-cl.c: Remove.
2272 * gdb.base/so-indr-cl.exp: Likewise.
2273 * gdb.base/solib.c: Likewise.
2274 * gdb.base/solib.exp: Likewise.
2275 * gdb.base/solib2.c: Likewise.
2276
2277 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2278
2279 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2280 * gdb.base/call-ar-st.exp: Likewise.
2281 * gdb.base/callfuncs.exp: Likewise.
2282 * gdb.base/condbreak.exp: Likewise.
2283 * gdb.base/constvars.exp: Likewise.
2284 * gdb.base/hbreak2.exp: Likewise.
2285 * gdb.base/langs.exp: Likewise.
2286 * gdb.base/list.exp: Likewise.
2287 * gdb.base/long_long.exp: Likewise.
2288 * gdb.base/ptype.exp: Likewise.
2289 * gdb.base/scope.exp: Likewise.
2290 * gdb.base/signals.exp: Likewise.
2291 * gdb.base/so-impl-ld.exp: Likewise.
2292 * gdb.base/varargs.exp: Likewise.
2293 * gdb.base/volatile.exp: Likewise.
2294 * gdb.base/whatis.exp: Likewise.
2295 * gdb.cp/cplusfuncs.exp: Likewise.
2296 * gdb.cp/inherit.exp: Likewise.
2297 * gdb.cp/local.exp: Likewise.
2298 * gdb.cp/member-ptr.exp: Likewise.
2299 * gdb.cp/method.exp: Likewise.
2300 * gdb.cp/overload.exp: Likewise.
2301 * gdb.cp/templates.exp: Likewise.
2302 * gdb.stabs/weird.exp: Likewise.
2303 * lib/compiler.c: Likewise.
2304 * lib/compiler.cc: Likewise.
2305 * lib/cp-support.exp: Likewise.
2306 * lib/gdb.exp: Likewise.
2307
2308 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2309
2310 * configure.ac: Remove HP-UX case.
2311 * configure: Regenerate.
2312
2313 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2314
2315 * lib/gdb.exp (gdb_compile): Add function doc.
2316
2317 2015-12-17 Pedro Alves <palves@redhat.com>
2318
2319 PR threads/19354
2320 * gdb.multi/info-threads.exp: New file.
2321
2322 2015-12-15 Yao Qi <yao.qi@linaro.org>
2323
2324 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2325 is aarch64*-*-*.
2326
2327 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2328
2329 * gdb.base/history-duplicates.exp: Skip if no readline support.
2330
2331 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2332
2333 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2334
2335 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2336
2337 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2338
2339 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2340
2341 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2342 ctrl-C if nointerrupts target property is set.
2343 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2344 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2345 * gdb.base/paginate-bg-execution.exp: Likewise.
2346 * gdb.base/paginate-execution-startup.exp: Likewise.
2347 * gdb.base/random-signal.exp: Likewise.
2348 * gdb.base/range-stepping.exp: Likewise.
2349 * gdb.cp/annota2.exp: Likewise.
2350 * gdb.cp/annota3.exp: Likewise.
2351 * gdb.gdb/selftest.exp: Likewise.
2352 * gdb.threads/continue-pending-status.exp: Likewise.
2353 * gdb.threads/leader-exit.exp: Likewise.
2354 * gdb.threads/manythreads.exp: Likewise.
2355 * gdb.threads/pthreads.exp: Likewise.
2356 * gdb.threads/schedlock.exp: Likewise.
2357 * gdb.threads/sigthread.exp: Likewise.
2358
2359 2015-12-11 Don Breazeal <donb@codesourcery.com>
2360
2361 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2362 remote.
2363 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2364 * gdb.base/foll-exec.exp (main): Enable for target remote.
2365 * gdb.base/foll-fork.exp (main): Likewise.
2366 * gdb.base/foll-vfork.exp (main): Likewise.
2367 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2368 (proc continue_to_exit_bp_loc): Use clean_restart.
2369 * gdb.base/pie-execl.exp (main): Disable for target remote.
2370 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2371 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2372 * gdb.threads/execl.exp (main): Likewise.
2373 * gdb.threads/fork-child-threads.exp (main): Likewise.
2374 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2375 remote.
2376 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2377 remote.
2378 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2379 pid.tid style ptids, instead of just tid.
2380 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2381 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2382 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2383 ptids, instead of just tid.
2384
2385 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * gdb.base/list.exp (test_list_forward): Add end of file error
2388 test.
2389 (test_repeat_list_command): Add end of file error test.
2390 (test_list_backwards): Add beginning of file error test.
2391
2392 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2393
2394 * gdb.base/list.exp (test_list_invalid_args): New function,
2395 defined, and called.
2396
2397 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2398
2399 * gdb.base/list.exp (test_list): Make test names unique.
2400
2401 2015-12-11 Yao Qi <yao.qi@linaro.org>
2402
2403 * gdb.base/coremaker2.c: Remove.
2404
2405 2015-12-10 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.multi/base.exp: Remove stale "spaces" references.
2408
2409 2015-12-10 Pedro Alves <palves@redhat.com>
2410
2411 * gdb.multi/base.exp: Don't use nowarnings.
2412 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2413 * gdb.multi/hangout.c: Include stdio.h.
2414 * gdb.multi/hello.c: Include stdlib.h.
2415 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2416 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2417 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2418
2419 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2420
2421 * gdb.dwarf2/dw2-ranges-base.c: New file.
2422 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2423 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2424 support additional line table, and debug ranges generation.
2425 (Dwarf::ranges): New function, generate .debug_ranges.
2426 (Dwarf::lines): Support generating simple line table programs.
2427 (Dwarf::assemble): Initialise new namespace variables.
2428
2429 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2430
2431 * gdb.base/async.exp (proc test_background): Add case for
2432 asynchronous execution not supported.
2433
2434 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2435
2436 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2437 format and change test names to make them unique.
2438
2439 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2440 Pedro Alves <pedro@redhat.com>
2441
2442 PR gdb/18702
2443 Add checking of floatformats setup on x86_64 hosts.
2444 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2445 (smallval, bigval): New labels/constants.
2446 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2447 float" after loading bigval and smallval.
2448
2449 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2450
2451 * gdb.ada/fun_overload_menu.exp: New testcase.
2452 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2453
2454 2015-12-04 Josh Stone <jistone@redhat.com>
2455
2456 * gdb.base/catch-fork-static.exp: New.
2457
2458 2015-12-03 Yao Qi <yao.qi@linaro.org>
2459
2460 * gdb.base/sizeof.c: Don't include stdio.h and
2461 ../lib/unbuffer_output.c.
2462 (main): New variable 'size' and 'value'. Remove printf and
2463 gdb_unbuffer_output. Assign return value to size and value.
2464 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2465 at the beginning.
2466 (check_sizeof): Check the result by printing variable 'size'.
2467 (check_valueof): Check the result by printing variable 'value'.
2468
2469 2015-12-01 Yao Qi <yao.qi@linaro.org>
2470
2471 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2472 for aarch64*-*-linux* target.
2473
2474 2015-11-30 Pedro Alves <palves@redhat.com>
2475
2476 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2477
2478 2015-11-30 Pedro Alves <palves@redhat.com>
2479
2480 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2481 Handle non-stop mode vCont replies.
2482
2483 2015-11-30 Pedro Alves <palves@redhat.com>
2484
2485 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2486 prepare_for_testing. Start gdb with "set non-stop on" appended to
2487 GDBFLAGS. Lax expected stop output.
2488
2489 2015-11-27 Yao Qi <yao.qi@linaro.org>
2490
2491 * gdb.arch/arm-neon.exp: New.
2492 * gdb.arch/arm-neon.c: New.
2493
2494 2015-11-27 Yao Qi <yao.qi@linaro.org>
2495
2496 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2497
2498 2015-11-27 Yao Qi <yao.qi@linaro.org>
2499
2500 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2501 frames-invalid annotation.
2502
2503 2015-11-27 Yao Qi <yao.qi@linaro.org>
2504
2505 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2506
2507 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2508
2509 * gdb.threads/names.exp: New file.
2510 * gdb.threads/names.c: New file.
2511 * README: Mention gdb,no_thread_names.
2512
2513 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2514
2515 PR 19297
2516 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2517 support" error.
2518
2519 2015-11-24 Pedro Alves <palves@redhat.com>
2520
2521 PR 17539
2522 * gdb.base/display.exp: Expect displays to be sorted in ascending
2523 order. Use multi_line.
2524 * gdb.base/solib-display.exp: Likewise.
2525
2526 2015-11-24 Pedro Alves <palves@redhat.com>
2527
2528 PR 17539
2529 * gdb.base/display.exp: Expect displays to be sorted in ascending
2530 order. Use multi_line.
2531 * gdb.base/solib-display.exp: Likewise.
2532
2533 2015-11-24 Pedro Alves <palves@redhat.com>
2534
2535 PR 17539
2536 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2537 threads in ascending order.
2538 * gdb.base/foll-fork.exp: Likewise.
2539 * gdb.base/foll-vfork.exp: Likewise.
2540 * gdb.base/multi-forks.exp: Likewise.
2541 * gdb.mi/mi-nonstop.exp: Likewise.
2542 * gdb.mi/mi-nsintrall.exp: Likewise.
2543 * gdb.multi/base.exp: Likewise.
2544 * gdb.multi/multi-arch.exp: Likewise.
2545 * gdb.python/py-inferior.exp: Likewise.
2546 * gdb.threads/break-while-running.exp: Likewise.
2547 * gdb.threads/execl.exp: Likewise.
2548 * gdb.threads/gcore-thread.exp: Likewise.
2549 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2550 * gdb.threads/kill.exp: Likewise.
2551 * gdb.threads/linux-dp.exp: Likewise.
2552 * gdb.threads/multiple-step-overs.exp: Likewise.
2553 * gdb.threads/next-bp-other-thread.exp: Likewise.
2554 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2555 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2556 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2557 * gdb.threads/thread-find.exp: Likewise.
2558 * gdb.threads/tls.exp: Likewise.
2559 * lib/mi-support.exp (mi_reverse_list): Delete.
2560 (mi_check_thread_states): No longer reverse list.
2561
2562 2015-11-24 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2565 use lowercase.
2566
2567 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2568
2569 * gdb.trace/actions.c: Include trace-common.h.
2570 (main): Add a location for a fast tracepoint.
2571 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2572 the normal tracepoints.
2573 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2574
2575 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2576
2577 * save-trace.exp: Factor out code to these...
2578 (gdb_save_tracepoints): New.
2579 (gdb_load_tracepoints): New.
2580 (do_save_load_test): New.
2581
2582 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2583
2584 * gdb.base/asmlabel.exp: New test.
2585 * gdb.base/asmlabel.c: New test case.
2586
2587 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2588
2589 * gdb.base/wrong_frame_bt_full-main.c: New file.
2590 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2591 * gdb.base/wrong_frame_bt_full.exp: New file.
2592
2593 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2594
2595 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2596
2597 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2598
2599 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2600 pstate register when comparing registers values in
2601 sparc64-*-linux-gnu targets to avoid spurious differences.
2602
2603 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2604
2605 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2606
2607 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2608
2609 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2610 as type argument to gdb_compile.
2611 * gdb.base/nested-subp2.exp: Likewise.
2612 * gdb.base/nested-subp3.exp: Likewise.
2613
2614 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2615
2616 * lib/dwarf.exp (_note): Fix left shift of negative value.
2617 * gdb.trace/trace-condition.exp: Likewise.
2618
2619 2015-11-13 Yao Qi <yao.qi@linaro.org>
2620
2621 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2622 comments about d10v.
2623 (test_scalar_returns): Likewise.
2624 * gdb.base/d10v.ld: Remove.
2625 * gdb.base/overlays.exp: Remove the target triplet checking for
2626 d10v-*-*.
2627 * gdb.base/structs.exp (test_struct_returns): Remove the
2628 comments about d10v.
2629 (test_struct_calls): Likewise.
2630
2631 2015-11-13 Yao Qi <yao.qi@linaro.org>
2632
2633 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2634 * gdb.base/gnu_vector.c: Don't include stdio.h.
2635 (main): Don't print res and call add_some_intvecs.
2636
2637 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2638
2639 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2640 macro.
2641 (func5): Removed.
2642 (func4): Use FAST_TRACEPOINT_LABEL.
2643 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2644 macro.
2645 (func): Removed.
2646 (thread_function): Use FAST_TRACEPOINT_LABEL.
2647 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2648 (func): Remove.
2649 (marker): Use FAST_TRACEPOINT_LABEL.
2650 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2651 (pendfunc1): Remove.
2652 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2653 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2654 (foo): Remove.
2655 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2656 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2657 macro.
2658 (func): Remove.
2659 (marker): Use FAST_TRACEPOINT_LABEL.
2660 * gdb.trace/trace-common.h: New header.
2661 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2662 macro.
2663 (func): Remove.
2664 (marker): Use FAST_TRACEPOINT_LABEL.
2665 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2666 (func): Remove.
2667 (thread_function): Use FAST_TRACEPOINT_LABEL.
2668
2669 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2670
2671 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2672 in front.
2673 * gdb.trace/change-loc.exp: Use global pcreg definition.
2674 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2675 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2676 in front.
2677 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2678 * gdb.trace/pending.exp: Likewise.
2679 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2680 * gdb.trace/trace-break.exp: Likewise.
2681 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2682 in front.
2683 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2684 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2685 in front.
2686 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2687
2688 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2689
2690 * gdb.ada/fin_fun_out: New testcase.
2691
2692 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2693
2694 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2695 value associated with DW_AT_byte_size.
2696 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2697 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2698 DW_AT_upper_bound.
2699
2700 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2701
2702 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2703 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2704 version.
2705 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2706 gdb.dwarf2/dw2-canonicalize-type.exp,
2707 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2708 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2709 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2710 provided by gdb_target_symbol_prefix_flags_asm.
2711 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2712 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2713 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2714 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2715 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2716 macros where needed). Use this macro for symbols which require
2717 the prefix provided by SYMBOL_PREFIX.
2718
2719 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2720
2721 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2722 New procs.
2723 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2724 representing expressions, of more than one list element.
2725 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2726 to prepend linker symbol prefix to f.
2727 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2728 table_1 and table_2.
2729 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2730 Likewise, for f and g.
2731 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2732 for ptr.
2733 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2734 for main.
2735 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2736 table_1_ptr and table_2_ptr.
2737
2738 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 Joel Brobecker <brobecker@adacore.com>
2740
2741 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2742
2743 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2744
2745 * gdb.reverse/s390-mvcle.c: New test.
2746 * gdb.reverse/s390-mvcle.exp: New file.
2747 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2748
2749 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2750
2751 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2752
2753 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2754
2755 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2756 reaching marker2.
2757 * gdb.reverse/getresuid-reverse.exp: Likewise.
2758 * gdb.reverse/pipe-reverse.exp: Likewise.
2759 * gdb.reverse/readv-reverse.exp: Likewise.
2760 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2761 * gdb.reverse/time-reverse.exp: Likewise.
2762 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2763
2764 2015-10-30 Yao Qi <yao.qi@linaro.org>
2765
2766 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2767 (empty_cycle): Remove.
2768 (main): Don't call empty_cycle. Don't use watch_count_done.
2769 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2770 empty_cycle. Rewrite the code counting HW watchpoints.
2771
2772 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2773
2774 * gdb.reverse/fstatat-reverse.c: New test.
2775 * gdb.reverse/fstatat-reverse.exp: New file.
2776 * gdb.reverse/getresuid-reverse.c: New test.
2777 * gdb.reverse/getresuid-reverse.exp: New file.
2778 * gdb.reverse/pipe-reverse.c: New test.
2779 * gdb.reverse/pipe-reverse.exp: New file.
2780 * gdb.reverse/readv-reverse.c: New test.
2781 * gdb.reverse/readv-reverse.exp: New file.
2782 * gdb.reverse/recvmsg-reverse.c: New test.
2783 * gdb.reverse/recvmsg-reverse.exp: New file.
2784 * gdb.reverse/time-reverse.c: New test.
2785 * gdb.reverse/time-reverse.exp: New file.
2786 * gdb.reverse/waitpid-reverse.c: New test.
2787 * gdb.reverse/waitpid-reverse.exp: New file.
2788
2789 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2790
2791 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2792
2793 2015-10-26 Doug Evans <dje@google.com>
2794
2795 PR symtab/17391
2796 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2797 * gdb.dwarf2/bad-regnum.c: New file.
2798 * gdb.dwarf2/bad-regnum.exp: New file.
2799
2800 2015-10-26 Doug Evans <dje@google.com>
2801
2802 PR python/18938
2803 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2804 file.
2805
2806 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2809 for a change by "Mention language in compile error message".
2810
2811 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2812
2813 PR python/18073
2814 * gdb.python/py-type.c (C::a_method): New.
2815 (C::a_const_method): New.
2816 (C::a_static_method): New.
2817 (a_function): New.
2818 * gdb.python/py-type.exp (test_fields): Test getting fields
2819 from function and method.
2820
2821 2015-10-21 Keven Boell <keven.boell@intel.com>
2822
2823 * gdb.fortran/vla-alloc-assoc.exp: New file.
2824 * gdb.fortran/vla-datatypes.exp: New file.
2825 * gdb.fortran/vla-datatypes.f90: New file.
2826 * gdb.fortran/vla-history.exp: New file.
2827 * gdb.fortran/vla-ptype-sub.exp: New file.
2828 * gdb.fortran/vla-ptype.exp: New file.
2829 * gdb.fortran/vla-sizeof.exp: New file.
2830 * gdb.fortran/vla-sub.f90: New file.
2831 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2832 * gdb.fortran/vla-value-sub-finish.exp: New file.
2833 * gdb.fortran/vla-value-sub.exp: New file.
2834 * gdb.fortran/vla-value.exp: New file.
2835 * gdb.fortran/vla-ptr-info.exp: New file.
2836 * gdb.mi/mi-vla-fortran.exp: New file.
2837 * gdb.mi/vla.f90: New file.
2838
2839 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2840
2841 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2842 of hardwired timeout value.
2843
2844 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2845 Pedro Alves <palves@redhat.com>
2846
2847 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2848 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2849
2850 2015-10-19 Josh Stone <jistone@redhat.com>
2851
2852 * gdb.base/catch-syscall.c: Include <sched.h>.
2853 (unknown_syscall): New variable.
2854 (main): Trigger a vfork and an unknown syscall.
2855 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2856 (unknown_syscall_number): Likewise.
2857 (check_call_to_syscall): Accept an optional syscall pattern.
2858 (check_return_from_syscall): Likewise.
2859 (check_continue): Likewise.
2860 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2861 (test_catch_syscall_skipping_return): New test toggling off 'catch
2862 syscall' to step over the syscall return, then toggling back on.
2863 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2864 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2865 (do_syscall_tests): Call test_catch_syscall_without_args and
2866 test_catch_syscall_mid_vfork.
2867 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2868 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2869
2870 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2871
2872 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2873 print g_vE): Add new pass patterns.
2874 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2875 print various symbol names for vptr fields.
2876
2877 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2878
2879 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2880 results.
2881
2882 2015-10-12 Yao Qi <yao.qi@linaro.org>
2883
2884 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2885
2886 2015-10-12 Yao Qi <yao.qi@linaro.org>
2887
2888 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2889 is aarch64*-*-linux*.
2890
2891 2015-10-12 Yao Qi <yao.qi@linaro.org>
2892
2893 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2894 (can_relocate_bcond_true): ... it.
2895 (can_relocate_bcond_false): New function.
2896 (foo): Likewise.
2897 (can_relocate_bl): Likewise.
2898 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2899 can_relocate_bl.
2900
2901 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2902
2903 * gdb.base/nested-addr.c: New file.
2904 * gdb.base/nested-addr.exp: New testcase.
2905
2906 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2907
2908 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2909 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2910 its output. Ignore the output of "record goto begin" and instead
2911 check that GDB is replaying.
2912
2913 2015-10-09 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2916 (top level): Use it in the run with no args test.
2917
2918 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2919
2920 * gdb.dlang/properties.exp: New file.
2921
2922 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2923
2924 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2925 whether or not address 0x1000 is mapped on the target.
2926
2927 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2928
2929 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2930 build.
2931
2932 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2933
2934 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2935 instruction-history test.
2936
2937 2015-09-28 Doug Evans <dje@google.com>
2938
2939 * gdb.base/gcore.c (array_func): Add reference to static_array.
2940
2941 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2942
2943 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2944 source line.
2945
2946 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2947
2948 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2949 short or char as base type.
2950
2951 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2952
2953 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2954 to allow any size enum.
2955
2956 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2957
2958 * gdb.ada/array_ptr_renaming.exp: New testcase.
2959 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2960 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2961
2962 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2963
2964 * gdb.trace/ftrace-lock.c: New file.
2965 * gdb.trace/ftrace-lock.exp: New file.
2966
2967 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2968
2969 * gdb.arch/insn-reloc.c: New file.
2970 * gdb.arch/ftrace-insn-reloc.exp: New file.
2971
2972 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2973
2974 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2975 instruction.
2976 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2977 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2978 * gdb.trace/range-stepping.c: Likewise.
2979 * gdb.trace/trace-break.c: Likewise.
2980 * gdb.trace/trace-mt.c (thread_function): Likewise.
2981 * gdb.trace/ftrace.c (marker): Likewise.
2982 * gdb.trace/trace-condition.c (marker): Likewise.
2983 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2984 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2985 is_aarch64_target.
2986
2987 2015-09-18 Doug Evans <xdje42@gmail.com>
2988
2989 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2990 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2991
2992 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2993
2994 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2995 the breakpoint.
2996
2997 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2998
2999 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3000 the pending breakpoint. Remove timeout override for "Run till
3001 MI pending breakpoint on pendfunc3 on thread 2" test.
3002
3003 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3004
3005 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3006 filename pattern.
3007
3008 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3009
3010 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3011 in breakpoint filename pattern.
3012
3013 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3014
3015 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3016
3017 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3018
3019 * gdb.linespec/explicit.exp: Check for readline support for
3020 tab-completion tests. Fix obvious typo.
3021
3022 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3023
3024 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3025 and replay.
3026
3027 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3028
3029 * gdb.btrace/non-stop.c: New.
3030 * gdb.btrace/non-stop.exp: New.
3031
3032 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3033 Yao Qi <yao.qi@linaro.org>
3034
3035 * gdb.trace/trace-condition.c: New file.
3036 * gdb.trace/trace-condition.exp: New file.
3037
3038 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3039
3040 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3041 for testing bytecode compilation.
3042
3043 2015-09-16 Pedro Alves <palves@redhat.com>
3044 Sandra Loosemore <sandra@codesourcery.com>
3045
3046 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3047 (SECONDS): Redefine.
3048 (main): Call pthread_kill and alarm early.
3049 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3050 support.
3051 (test): If the target can't hardware step and doesn't support
3052 displaced stepping, increase the timeout.
3053
3054 2015-09-16 Pedro Alves <palves@redhat.com>
3055
3056 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3057 (enable_debug): New procedures.
3058 (test): Use them. Bail out if waiting for threads fails.
3059 (top level): Bail out if a test fails.
3060
3061 2015-09-16 Yao Qi <yao.qi@linaro.org>
3062
3063 * gdb.asm/asm-source.exp: Set asm-arch for
3064 aarch64*-*-* target.
3065 * gdb.asm/aarch64.inc: New file.
3066
3067 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3068
3069 * gdb.ada/array_of_variable_length.exp: New testcase.
3070 * gdb.ada/array_of_variable_length/foo.adb: New file.
3071 * gdb.ada/array_of_variable_length/pck.adb: New file.
3072 * gdb.ada/array_of_variable_length/pck.ads: New file.
3073
3074 2015-09-15 Doug Evans <dje@google.com>
3075
3076 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3077 of function static local variable.
3078
3079 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3080
3081 * gdb.threads/tls-so_extern.exp: New test file.
3082 * gdb.threads/tls-so_extern.c: New test file.
3083 * gdb.threads/tls-so_extern_main.c: New test file.
3084
3085 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3086
3087 * gdb.opt/solib-intra-step-lib.c: New file.
3088 * gdb.opt/solib-intra-step-main.c: New file.
3089 * gdb.opt/solib-intra-step.exp: New file.
3090
3091 2015-09-15 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3094 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3095
3096 2015-09-14 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.base/hook-stop-continue.c: Delete.
3099 * gdb.base/hook-stop-continue.exp: Delete.
3100 * gdb.base/hook-stop-frame.c: Delete.
3101 * gdb.base/hook-stop-frame.exp: Delete.
3102 * gdb.base/hook-stop.c: New file.
3103 * gdb.base/hook-stop.exp: New file.
3104
3105 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3106
3107 * gdb.ada/access_to_packed_array.exp: New testcase.
3108 * gdb.ada/access_to_packed_array/foo.adb: New file.
3109 * gdb.ada/access_to_packed_array/pack.adb: New file.
3110 * gdb.ada/access_to_packed_array/pack.ads: New file.
3111
3112 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3113
3114 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3115 buffer size test.
3116
3117 2015-09-11 Don Breazeal <donb@codesourcery.com>
3118
3119 * gdb.base/foll-exec.c: Add copyright header. Fix
3120 formatting issues.
3121 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3122 (do_exec_tests): Use clean_restart in place of zap_session,
3123 and for test initialization. Fix formatting issues. Use
3124 fail in place of perror.
3125 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3126 an expect statement to match an expression with output from
3127 the program under debug.
3128 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3129 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3130 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3131 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3132 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3133
3134 2015-09-09 Doug Evans <dje@google.com>
3135
3136 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3137
3138 2015-09-09 Doug Evans <dje@google.com>
3139
3140 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3141
3142 2015-09-09 Doug Evans <dje@google.com>
3143
3144 * gdb.base/savedregs.exp: Fix typo.
3145
3146 2015-09-09 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3149
3150 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3151
3152 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3153 command actually switches threads. Give up on remaining
3154 tests if target fails to stop at breakpoint.
3155
3156 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3157
3158 * gdb.ada/funcall_char.exp: New testcase.
3159 * gdb.ada/funcall_char/foo.adb: New file.
3160
3161 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3162
3163 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3164 expected outputs. Add two testcases for completing ambiguous
3165 functions.
3166 * gdb.ada/complete/aux_pck.adb: New file.
3167 * gdb.ada/complete/aux_pck.ads: New file.
3168 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3169 Ambiguous_Func functions.
3170 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3171 * gdb.ada/complete/pck.adb: Likewise.
3172
3173 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3174
3175 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3176 failures to run the test program under GDB.
3177
3178 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3179
3180 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3181 to C.
3182
3183 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3184
3185 * gdb.base/run-after-attach.exp: New test file.
3186 * gdb.base/run-after-attach.c: New test file.
3187
3188 2015-08-26 Don Breazeal <donb@codesourcery.com>
3189
3190 * gdb.base/foll-exec-2.c: New test program.
3191 * gdb.base/foll-exec-2.exp: New test.
3192
3193 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3194
3195 * gdb.base/nested-subp1.exp: New file.
3196 * gdb.base/nested-subp1.c: New file.
3197 * gdb.base/nested-subp2.exp: New file.
3198 * gdb.base/nested-subp2.c: New file.
3199 * gdb.base/nested-subp3.exp: New file.
3200 * gdb.base/nested-subp3.c: New file.
3201
3202 2015-08-24 Pedro Alves <palves@redhat.com>
3203
3204 * gdb.server/connect-without-multi-process.c: New file.
3205 * gdb.server/connect-without-multi-process.exp: New file.
3206
3207 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3208
3209 * gdb.opt/inline-markers.c: Make z int.
3210
3211 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3212
3213 * gdb.opt/inline-markers.c: Make z volatile.
3214
3215 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3216
3217 * gdb.opt/inline-bt.c: New volatile global z.
3218 * gdb.opt/inline-cmds.c: Likewise.
3219 * gdb.opt/inline-locals.c: Likewise.
3220 * gdb.opt/inline-markers.c: New extern global z.
3221 (marker): Use z.
3222 (inline_fn): Likewise.
3223
3224 2015-08-24 Pedro Alves <palves@redhat.com>
3225
3226 * config/m32r-stub.exp: Remove file.
3227 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3228 * gdb.base/call-rt-st.exp: Likewise.
3229 * gdb.base/call-strs.exp: Likewise.
3230 * gdb.base/default.exp: Remove references to h8300-*-hms and
3231 *-*-udi*.
3232 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3233
3234 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3235
3236 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3237 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3238 and "return" use KFAIL when GDB can not read/write the vector
3239 return value.
3240
3241 2015-08-21 Gary Benson <gbenson@redhat.com>
3242
3243 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3244
3245 2015-08-20 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.server/solib-list.exp: No longer expect an interior stop in
3248 non-stop mode.
3249
3250 2015-08-20 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.server/connect-stopped-target.c: New file.
3253 * gdb.server/connect-stopped-target.exp: New file.
3254
3255 2015-08-20 Pedro Alves <palves@redhat.com>
3256
3257 * gdb.dwarf2/comp-unit-lang.exp: New file.
3258 * gdb.dwarf2/comp-unit-lang.c: New file.
3259
3260 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3261
3262 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3263 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3264
3265 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3266
3267 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3268 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3269
3270 2015-08-18 Doug Evans <dje@google.com>
3271 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3272
3273 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3274 skip_python_tests. New arg prompt_regexp.
3275 (skip_python_tests): New function.
3276 * lib/mi-support.exp (mi_skip_python_tests): New function.
3277 * gdb.python/py-mi-objfile-gdb.py: New file.
3278 * gdb.python/py-mi-objfile.c: New file.
3279 * gdb.python/py-mi-objfile.exp: New file.
3280
3281 2015-08-17 Keith Seitz <keiths@redhat.com>
3282
3283 * gdb.linespec/explicit.exp: Move strace test from here ...
3284 * gdb.trace/strace.exp: ... to here.
3285
3286 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3287
3288 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3289 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3290
3291 2015-08-14 Doug Evans <xdje42@gmail.com>
3292
3293 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3294 inferior before selecting a new file.
3295
3296 2015-08-14 Doug Evans <xdje42@gmail.com>
3297
3298 * gdb.mi/mi-disassemble.exp: Update.
3299 * gdb.base/disasm-optim.S: New file.
3300 * gdb.base/disasm-optim.c: New file.
3301 * gdb.base/disasm-optim.h: New file.
3302 * gdb.base/disasm-optim.exp: New file.
3303
3304 2015-08-14 Keith Seitz <keiths@redhat.com>
3305
3306 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3307 "evaluated-by".
3308
3309 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3310
3311 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3312
3313 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3314
3315 * gdb.ada/fun_renaming.exp: New testcase.
3316 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3317 * gdb.ada/fun_renaming/pack.adb: New file.
3318 * gdb.ada/fun_renaming/pack.ads: New file.
3319
3320 2015-08-12 Keith Seitz <keiths@redhat.com>
3321
3322 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3323 gdb_get_line_number.
3324
3325 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3326
3327 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3328 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3329 gdb.base/dso2dso.exp: New files.
3330
3331 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3332 Pedro Alves <palves@redhat.com>
3333 Keith Seitz <keiths@redhat.com>
3334
3335 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3336 GDBFLAGS.
3337
3338 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3339
3340 * gdb.base/gdbhistsize-history.exp
3341 (test_histsize_history_setting): Use save_vars.
3342 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3343 Use save_vars.
3344 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3345 * gdb.base/readline.exp: Use save_vars.
3346
3347 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3348
3349 * lib/gdb.exp (save_vars): New proc.
3350
3351 2015-08-11 Keith Seitz <keiths@redhat.com>
3352
3353 * gdb.base/help.exp: Update help_breakpoint_text.
3354
3355 2015-08-11 Keith Seitz <keiths@redhat.com>
3356
3357 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3358 (at toplevel): Call test_explicit_breakpoints.
3359 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3360 breakpoints.
3361 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3362 breakpoint conditions, "-cond".
3363
3364 2015-08-11 Keith Seitz <keiths@redhat.com>
3365
3366 * gdb.linespec/3explicit.c: New file.
3367 * gdb.linespec/cpexplicit.cc: New file.
3368 * gdb.linespec/cpexplicit.exp: New file.
3369 * gdb.linespec/explicit.c: New file.
3370 * gdb.linespec/explicit.exp: New file.
3371 * gdb.linespec/explicit2.c: New file.
3372 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3373 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3374 before using in the matching pattern.
3375 Clarify that `prefix' is a regular expression.
3376
3377 2015-08-11 Keith Seitz <keiths@redhat.com>
3378
3379 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3380 test.
3381 Add tests for missing ",FMT" and ",".
3382
3383 2015-08-10 Doug Evans <dje@google.com>
3384 Keith Seitz <keiths@redhat.com>
3385
3386 PR gdb/17960
3387 * gdb.base/completion.exp: Add location completer tests.
3388
3389 2015-08-07 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3392 tests here.
3393 (top level): Run do_test with and without displaced stepping.
3394
3395 2015-08-07 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.base/valgrind-disp-step.c: New file.
3398 * gdb.base/valgrind-disp-step.exp: New file.
3399
3400 2015-08-07 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3403 Delete function.
3404 (main): Add alarm. Run an infinite loop instead of calling
3405 wait_threads.
3406 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3407 comment.
3408 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3409 Delete function.
3410 (main): Add alarm. Run an infinite loop instead of calling
3411 wait_threads.
3412 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3413 comment.
3414
3415 2015-08-07 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.base/checkpoint-ns.exp: New file.
3418 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3419 standard_testfile.
3420
3421 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3422
3423 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3424 * gdb.btrace/instruction_history.exp: Update.
3425 * gdb.btrace/tsx.exp: New.
3426 * gdb.btrace/tsx.c: New.
3427
3428 2015-08-06 Pedro Alves <palves@redhat.com>
3429
3430 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3431 increase timeout.
3432 * gdb.reverse/until-precsave.exp: Bump timeouts.
3433
3434 2015-08-06 Pedro Alves <palves@redhat.com>
3435
3436 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3437
3438 2015-08-06 Pedro Alves <palves@redhat.com>
3439
3440 PR gdb/18749
3441 * gdb.threads/process-dies-while-handling-bp.c: New file.
3442 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3443
3444 2015-08-06 Pedro Alves <palves@redhat.com>
3445
3446 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3447 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3448
3449 2015-08-05 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3452 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3453
3454 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3455
3456 * gdb.base/bp-permanent.exp: Report test as unsupported if
3457 the target cannot stop at the permanent breakpoint.
3458
3459 2015-08-03 Doug Evans <dje@google.com>
3460
3461 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3462 10000.
3463
3464 2015-08-03 Doug Evans <dje@google.com>
3465
3466 * Makefile.in (workers/%.worker, build-perf): New rule.
3467 (GDB_PERFTEST_MODE): New variable.
3468 (check-perf): Use it.
3469 (clean): Clean up gdb.perf parallel build subdirs.
3470 * lib/build-piece.exp: New file.
3471 * lib/gdb.exp (make_gdb_parallel_path): New function
3472 (standard_output_file, standard_temp_file): Call it.
3473 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3474 of $GDB_PARALLEL.
3475 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3476
3477 2015-08-03 Doug Evans <dje@google.com>
3478
3479 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3480 (LOG_FILE_NAME): New global.
3481 (TextReporter.__init__): Initialize self.txt_sum.
3482 (TextReporter.report): Add support for multiple data-points.
3483 Move report to perftest.sum, put raw data in perftest.log.
3484 (TextReporter.start): Open sum and log files.
3485 (TextReporter.end): Close sum and log files.
3486 * gdb.perf/lib/perftest/testresult.py
3487 (SingleStatisticTestResult.record): Handle multiple data-points.
3488
3489 2015-07-31 Pedro Alves <palves@redhat.com>
3490
3491 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3492 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3493 kill_wait_spawned_process instead of explicit "kill -9".
3494 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3495 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3496 kill_wait_spawned_process.
3497 * gdb.base/attach-twice.exp: Likewise.
3498 * gdb.base/attach.exp: Likewise.
3499 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3500 gdb_test_multiple.
3501 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3502 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3503 kill_wait_spawned_process.
3504 * gdb.base/valgrind-infcall.exp: Likewise.
3505 * gdb.multi/multi-attach.exp: Likewise.
3506 * gdb.python/py-prompt.exp: Likewise.
3507 * gdb.python/py-sync-interp.exp: Likewise.
3508 * gdb.server/ext-attach.exp: Likewise.
3509 * gdb.threads/attach-into-signal.exp (corefunc): Use
3510 spawn_wait_for_attach, spawn_id_get_pid and
3511 kill_wait_spawned_process.
3512 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3513 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3514 spawn_id_get_pid and kill_wait_spawned_process.
3515 * gdb.threads/attach-stopped.exp (corefunc): Use
3516 spawn_wait_for_attach, spawn_id_get_pid and
3517 kill_wait_spawned_process.
3518 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3519 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3520 kill_wait_spawned_process instead of explicit "kill -9".
3521 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3522 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3523 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3524 processes. Don't map cygwin/windows pids here. Now returns a
3525 spawn id list.
3526
3527 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3528
3529 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3530 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3531 correct patch.
3532
3533 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3534
3535 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3536
3537 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3538
3539 Reapply:
3540 2014-05-21 Mark Wielaard <mjw@redhat.com>
3541
3542 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3543
3544 2015-07-30 Pedro Alves <palves@redhat.com>
3545
3546 * linux-low.c (handle_extended_wait): Set the child's last
3547 reported status to TARGET_WAITKIND_STOPPED.
3548
3549 2015-07-30 Pedro Alves <palves@redhat.com>
3550
3551 PR threads/18600
3552 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3553 only shows inferior 1.
3554
3555 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3556 Pedro Alves <palves@redhat.com>
3557
3558 PR threads/18600
3559 * gdb.threads/fork-plus-threads.c: New file.
3560 * gdb.threads/fork-plus-threads.exp: New file.
3561
3562 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3563
3564 * gdb.base/batch-preserve-term-settings.exp
3565 (test_terminal_settings_preserved_after_cli_exit): Use
3566 send_quit_command.
3567
3568 2015-07-29 Pedro Alves <palves@redhat.com>
3569 Don Breazeal <donb@codesourcery.com>
3570
3571 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3572 output from both inferior_spawn_id and gdb_spawn_id.
3573
3574 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3575
3576 * gdb.threads/attach-into-signal.exp (corefunc): Use
3577 with_test_prefix on nested loops, uniquefying the test messages.
3578
3579 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3580
3581 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3582 commit.
3583
3584 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3585
3586 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3587 New proc.
3588 (test_terminal_settings_preserved_after_sigterm): New test.
3589
3590 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3591
3592 * gdb.base/batch-preserve-term-settings.exp
3593 (test_terminal_settings_preserved_after_cli_exit): New test.
3594
3595 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3596
3597 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3598 manipulation of saved_gdbflags.
3599 (test_terminal_settings_preserved): Remove global declaration of
3600 the unused variable pagination_prompt. Remove manipulation of
3601 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3602 GDBFLAGS.
3603
3604 2015-07-29 Pedro Alves <palves@redhat.com>
3605
3606 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3607
3608 2015-07-29 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3611 at the top.
3612
3613 2015-07-29 Pedro Alves <palves@redhat.com>
3614
3615 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3616 (main): Call gdb_unbuffer_output.
3617 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3618 (main): Call gdb_unbuffer_output.
3619 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3620 (main): Call gdb_unbuffer_output.
3621 * gdb.base/call-strs.exp: Adjust to step over the
3622 gdb_unbuffer_output call.
3623 * gdb.base/catch-gdb-caused-signals.c: Include
3624 "../lib/unbuffer_output.c".
3625 (main): Call gdb_unbuffer_output.
3626 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3627 (main): Call gdb_unbuffer_output.
3628 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3629 (main): Call gdb_unbuffer_output.
3630 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3631 (main): Call gdb_unbuffer_output.
3632 * gdb.base/shlib-call.exp: Adjust to step over the
3633 gdb_unbuffer_output call.
3634 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3635 (main): Call gdb_unbuffer_output.
3636 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3637 (main): Call gdb_unbuffer_output.
3638 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3639 (main): Rename to ...
3640 (test): ... this.
3641 (main): Reimplement.
3642 * gdb.base/varargs.exp: Run to test instead of to main.
3643 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3644 (main): Call gdb_unbuffer_output.
3645
3646 2015-07-29 Pedro Alves <palves@redhat.com>
3647
3648 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3649 factore out from mi_continue_dprintf. For call-style dprintfs,
3650 expect dprintf output out of $inferior_spawn_id.
3651 (mi_continue_dprintf): Use mi_expect_dprintf.
3652 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3653 (main): Call gdb_unbuffer_output.
3654
3655 2015-07-29 Pedro Alves <palves@redhat.com>
3656
3657 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3658 (default_mi_gdb_start): Set inferior_spawn_id instead of
3659 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3660 gdb_spawn_id.
3661 (mi_gdb_test): Always expect inferior output from both
3662 $inferior_spawn_id and $gdb_spawn_id.
3663
3664 2015-07-29 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3667 send_inferior and $inferior_spawn_id.
3668
3669 2015-07-29 Pedro Alves <palves@redhat.com>
3670
3671 * gdb.gdb/complaints.exp (test_initial_complaints)
3672 (test_serial_complaints, test_short_complaints): Use
3673 gdb_test_stdio.
3674 (test_empty_complaint): Handle $inferior_spawn_id !=
3675 $gdb_spawn_id.
3676
3677 2015-07-29 Pedro Alves <palves@redhat.com>
3678
3679 * gdb.base/varargs.exp: Use gdb_test_stdio.
3680
3681 2015-07-29 Pedro Alves <palves@redhat.com>
3682
3683 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3684
3685 2015-07-29 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3688
3689 2015-07-29 Pedro Alves <palves@redhat.com>
3690
3691 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3692 parameter into two new parameters, "inf_result" and "gdb_result".
3693 Expect inferior output and gdb output from $inferior_spawn_id and
3694 $gdb_spawn_id, respectively. Adjust all callers.
3695
3696 2015-07-29 Pedro Alves <palves@redhat.com>
3697
3698 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3699 of gdb_test_sequence.
3700
3701 2015-07-29 Pedro Alves <palves@redhat.com>
3702
3703 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3704 (saw_spurious_output): Expect inferior output from
3705 $inferior_spawn_id. Use gdb_test_stdio.
3706
3707 2015-07-29 Pedro Alves <palves@redhat.com>
3708
3709 * gdb.base/dprintf.exp: Use standard_testfile. Change
3710 prepare_for_testing call.
3711 (srcfile): Don't set.
3712 (restart): New procedure.
3713 (test_dprintf): New procecure, use to continue over dprintfs.
3714 (test_call, test_agent): New procedures, tests moved here.
3715 Restart gdb and recreate dprintfs. Adjust expected output.
3716
3717 2015-07-29 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3720
3721 2015-07-29 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3724
3725 2015-07-29 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3728 gdb_test_stdio.
3729
3730 2015-07-29 Pedro Alves <palves@redhat.com>
3731
3732 * lib/gdb.exp (gdb_test_stdio): New procedure.
3733
3734 2015-07-29 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3737
3738 2015-07-29 Pedro Alves <palves@redhat.com>
3739
3740 * gdb.base/call-signal-resume.exp: Remove check for
3741 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3742 * gdb.base/unwindonsignal.exp: Likewise.
3743 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3744 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3745
3746 2015-07-29 Pedro Alves <palves@redhat.com>
3747
3748 * gdb.base/siginfo-addr.c (pass): New function.
3749 (handler): Call it iff si_addr is correct.
3750 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3751 Set a breakpoint at "pass" and continue to it.
3752
3753 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3754
3755 * gdb.python/py-objfile.exp: Make some tests have unique names.
3756 * gdb.python/py-pp-registration.exp: Likewise.
3757
3758 2015-07-28 Pedro Alves <palves@redhat.com>
3759
3760 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3761
3762 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3763
3764 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3765
3766 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3767
3768 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3769
3770 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3771
3772 * gdb.base/gdb-sigterm-2.exp: New test.
3773
3774 2015-07-25 Doug Evans <xdje42@gmail.com>
3775
3776 Revert:
3777 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3778 (workers/%.worker, build-perf): New rule.
3779 (GDB_PERFTEST_MODE): New variable.
3780 (check-perf): Use it.
3781 (clean): Clean up gdb.perf parallel build subdirs.
3782 * lib/build-piece.exp: New file.
3783 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3784 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3785 name.
3786 (standard_temp_file): Ditto.
3787 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3788 of $GDB_PARALLEL.
3789
3790 2015-07-24 Doug Evans <dje@google.com>
3791
3792 * gdb.perf/lib/perftest/utils.py: New file.
3793 * gdb.perf/gm-hello.cc: New file.
3794 * gdb.perf/gm-pervasive-typedef.cc: New file.
3795 * gdb.perf/gm-pervasive-typedef.h: New file.
3796 * gdb.perf/gm-std.cc: New file.
3797 * gdb.perf/gm-std.h: New file.
3798 * gdb.perf/gm-use-cerr.cc: New file.
3799 * gdb.perf/gm-utils.h: New file.
3800 * gdb.perf/gmonster-null-lookup.py: New file.
3801 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3802 * gdb.perf/gmonster-print-cerr.py: New file.
3803 * gdb.perf/gmonster-ptype-string.py: New file.
3804 * gdb.perf/gmonster-runto-main.py: New file.
3805 * gdb.perf/gmonster-select-file.py: New file.
3806 * gdb.perf/gmonster1-null-lookup.exp: New file.
3807 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3808 * gdb.perf/gmonster1-print-cerr.exp: New file.
3809 * gdb.perf/gmonster1-ptype-string.exp: New file.
3810 * gdb.perf/gmonster1-runto-main.exp: New file.
3811 * gdb.perf/gmonster1-select-file.exp: New file.
3812 * gdb.perf/gmonster1.cc: New file.
3813 * gdb.perf/gmonster1.exp: New file.
3814 * gdb.perf/gmonster2-null-lookup.exp: New file.
3815 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3816 * gdb.perf/gmonster2-print-cerr.exp: New file.
3817 * gdb.perf/gmonster2-ptype-string.exp: New file.
3818 * gdb.perf/gmonster2-runto-main.exp: New file.
3819 * gdb.perf/gmonster2-select-file.exp: New file.
3820 * gdb.perf/gmonster2.cc: New file.
3821 * gdb.perf/gmonster2.exp: New file.
3822
3823 2015-07-24 Doug Evans <dje@google.com>
3824
3825 * gdb.perf/README: New file.
3826 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3827 * lib/gen-perf-test.exp: New file.
3828
3829 2015-07-24 Doug Evans <dje@google.com>
3830
3831 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3832 (PerfTest::startup): New function.
3833 (PerfTest::run): Return result of calling body.
3834 (PerfTest::assemble): Rewrite.
3835 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3836 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3837 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3838 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3839 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3840
3841 2015-07-24 Doug Evans <dje@google.com>
3842
3843 * lib/gdb.exp (clean_restart): Make executable optional.
3844
3845 2015-07-24 Doug Evans <dje@google.com>
3846
3847 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3848 compiler_info references.
3849 * gdb.cp/temargs.exp: Ditto.
3850 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3851 (get_compiler_info): Early exit if already computed. Set compiler_info
3852 to "unknown" if there was a problem.
3853 (test_compiler_info): Add function comment. Call get_compiler_info.
3854
3855 2015-07-24 Doug Evans <dje@google.com>
3856
3857 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3858 (workers/%.worker, build-perf): New rule.
3859 (GDB_PERFTEST_MODE): New variable.
3860 (check-perf): Use it.
3861 (clean): Clean up gdb.perf parallel build subdirs.
3862 * lib/build-piece.exp: New file.
3863 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3864 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3865 name.
3866 (standard_temp_file): Ditto.
3867 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3868 of $GDB_PARALLEL.
3869
3870 2015-07-24 Doug Evans <dje@google.com>
3871
3872 * lib/future.exp (gdb_default_target_compile): New option
3873 "early_flags".
3874 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3875 --as-needed.
3876
3877 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3878
3879 * gdb.base/catch-syscall.exp: Call gdb_exit before
3880 gdb_skip_xml_test.
3881
3882 2015-07-24 Pedro Alves <palves@redhat.com>
3883
3884 * gdb.python/py-events.exp: Accept output between the stop event
3885 and the prompt.
3886 * gdb.python/py-evsignal.exp: Likewise.
3887 * gdb.python/py-evthreads.exp: Likewise.
3888
3889 2015-07-24 Pedro Alves <palves@redhat.com>
3890
3891 PR gdb/18717
3892 * gdb.threads/non-ldr-exit.c: New file.
3893 * gdb.threads/non-ldr-exit.exp: New file.
3894
3895 2015-07-24 Yao Qi <yao.qi@linaro.org>
3896
3897 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3898 restarting process.
3899
3900 2015-07-24 Yao Qi <yao.qi@linaro.org>
3901
3902 * gdb.server/ext-restart.exp: New file.
3903
3904 2015-07-24 Yao Qi <yao.qi@linaro.org>
3905
3906 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3907 argument options.
3908 * gdb.server/ext-wrapper.exp: New file.
3909
3910 2015-07-23 Doug Evans <dje@google.com>
3911
3912 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3913 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3914
3915 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3916
3917 * gdb.ada/var_arr_typedef.exp: New testcase.
3918 * gdb.ada/var_arr_typedef/pack.adb: New file.
3919 * gdb.ada/var_arr_typedef/pack.ads: New file.
3920 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3921
3922 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3923
3924 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3925
3926 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3927
3928 * gdb.arch/i386-biarch-core.exp: Replace istarget
3929 by "complete set gnutarget". Remove expectation for the "core-file"
3930 command.
3931
3932 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3933
3934 Revert the previous commit:
3935 Tests for validate symbol file using build-id.
3936
3937 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3938
3939 Tests for validate symbol file using build-id.
3940 * gdb.base/solib-mismatch-lib.c: New file.
3941 * gdb.base/solib-mismatch-libmod.c: New file.
3942 * gdb.base/solib-mismatch.c: New file.
3943 * gdb.base/solib-mismatch.exp: New file.
3944
3945 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3946
3947 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3948 nios2-*-linux*.
3949 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3950 * gdb.base/siginfo.exp: Likewise.
3951 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3952
3953 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3954
3955 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3956 Move it to ...
3957 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3958 ... here.
3959 * gdb.trace/range-stepping.exp: Check that the target supports
3960 range stepping.
3961
3962 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3963
3964 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3965
3966 2015-07-14 Pedro Alves <palves@redhat.com>
3967
3968 * gdb.base/killed-outside.exp: New file.
3969 * gdb.base/killed-outside.c: New file.
3970
3971 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3972
3973 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3974 (n at main): New.
3975 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3976
3977 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3978
3979 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3980 infcall tests instead of setting up for KFAIL.
3981
3982 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3983
3984 * gdb.btrace/record_goto-step.exp: New.
3985
3986 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 PR compile/18484
3989 * gdb.compile/compile.c (struct struct_type): Add volatile to
3990 selffield's type.
3991 * gdb.compile/compile.exp
3992 (compile code struct_object.selffield = &struct_object): Skip further
3993 struct_object tests if this one xfails.
3994
3995 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3996
3997 PR exp/18617
3998 * gdb.trace/ax.exp: Add test.
3999
4000 2015-07-07 Yao Qi <yao.qi@linaro.org>
4001
4002 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4003 instead of istarget "aarch64*-*-*".
4004 * gdb.arch/aarch64-fp.exp: Likewise.
4005 * gdb.base/float.exp: Likewise.
4006 * gdb.reverse/aarch64.exp: Likewise.
4007 * lib/gdb.exp (is_aarch64_target): New proc.
4008
4009 2015-07-07 Yao Qi <yao.qi@linaro.org>
4010
4011 * lib/gdb.exp (is_aarch32_target): New proc.
4012 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4013 instead of "istarget "arm*-*-*"".
4014 * gdb.arch/arm-disp-step.exp: Likewise.
4015 * gdb.arch/thumb-bx-pc.exp: Likewise.
4016 * gdb.arch/thumb-prologue.exp: Likewise.
4017 * gdb.arch/thumb-singlestep.exp: Likewise.
4018 * gdb.base/disp-step-syscall.exp: Likewise.
4019 * gdb.base/float.exp: Likewise.
4020
4021 2015-07-07 Yao Qi <yao.qi@linaro.org>
4022
4023 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4024 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4025
4026 2015-07-07 Yao Qi <yao.qi@linaro.org>
4027
4028 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4029 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4030 if it exists.
4031 * gdb.multi/multi-arch.exp: Likewise.
4032
4033 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4034
4035 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4036 print.
4037
4038 2015-07-07 Yao Qi <yao.qi@linaro.org>
4039
4040 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4041
4042 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4043
4044 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4045 '[' and ']' characters.
4046
4047 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4048
4049 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4050
4051 2015-06-29 Pedro Alves <palves@redhat.com>
4052
4053 PR threads/18127
4054 * gdb.threads/hand-call-new-thread.c: New file.
4055 * gdb.threads/hand-call-new-thread.c: New file.
4056
4057 2015-06-26 Keith Seitz <keiths@redhat.com>
4058 Doug Evans <dje@google.com>
4059
4060 PR 16253
4061 * gdb.cp/var-tag-2.cc: New file.
4062 * gdb.cp/var-tag-3.cc: New file.
4063 * gdb.cp/var-tag-4.cc: New file.
4064 * gdb.cp/var-tag.cc: New file.
4065 * gdb.cp/var-tag.exp: New file.
4066
4067 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4068
4069 * gdb.base/history-duplicates.exp: New test.
4070
4071 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4072
4073 * gdb.base/completion.exp: Test the completion of the "focus"
4074 command.
4075
4076 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4077
4078 * gdb.arch/amd64-prologue-skip.S: New file.
4079 * gdb.arch/amd64-prologue-skip.exp: New file.
4080
4081 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4082
4083 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4084 is_address_zero_readable check.
4085
4086 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4087
4088 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4089 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4090
4091 2015-06-24 Yao Qi <yao.qi@linaro.org>
4092
4093 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4094 linux targets.
4095
4096 2015-06-24 Yao Qi <yao.qi@linaro.org>
4097
4098 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4099 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4100 * gdb.base/siginfo-thread.exp: Likewise.
4101
4102 2015-06-22 Yao Qi <yao.qi@linaro.org>
4103
4104 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4105
4106 2015-06-22 Yao Qi <yao.qi@linaro.org>
4107
4108 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4109 aarch64*-*-*.
4110 (skip_hw_watchpoint_tests): Likewise.
4111
4112 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4113
4114 * gdb.base/gdbinit-history.exp: Test the interaction between
4115 setting GDBHISTSIZE and setting the history size via .gdbinit.
4116
4117 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4118
4119 PR gdb/16999
4120 * gdb.base/gdbhistsize-history.exp: New test.
4121
4122 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4123
4124 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4125 with GDBHISTSIZE.
4126 * gdb.base/readline.exp: Likewise.
4127
4128 2015-06-17 Yao Qi <yao.qi@linaro.org>
4129
4130 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4131 line.
4132
4133 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4134
4135 * gdb.base/gdbinit-history.exp: Add test case to check that
4136 an unlimited history file does not get truncated on exit.
4137
4138 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4139
4140 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4141 (VECTOR): New macro. Use it...
4142 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4143 ...for these typedefs.
4144 (int8, char1, int1, double1): New typedefs.
4145 (struct just_int2, struct two_int2): New structures.
4146 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4147 (add_structvecs, add_singlevecs): New functions.
4148 (main): Call add_some_intvecs twice.
4149 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4150 the compile and exit upon failure. Try compiling for the "native"
4151 architecture. Test inferior function calls with vector arguments
4152 and vector return value handling with "finish" and "return".
4153
4154 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4155
4156 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4157 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4158 PE file.
4159 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4160
4161 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4162
4163 PR breakpoints/16465
4164 * gdb.mi/mi-dprintf-pending.c: New file.
4165 * gdb.mi/mi-dprintf-pending.exp: New test.
4166 * gdb.mi/mi-dprintf-pendshr.c: New file.
4167
4168 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4169 Mircea Gherzan <mircea.gherzan@intel.com>
4170
4171 * gdb.arch/i386-mpx-map.c: New file.
4172 * gdb.arch/i386-mpx-map.exp: New File.
4173
4174 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4175
4176 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4177 * gdb.arch/i386-mpx.exp: Indentation fixed.
4178
4179 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4180
4181 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4182 function and improved indentation.
4183 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4184 gdb_test_multiple. Added additional tests to skip the test.
4185
4186 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4187
4188 * gdb.arch/i386-avx512.c: Change path in include file.
4189 * gdb.arch/i386-avx512.exp: Change include dir path
4190 compilation flag.
4191 * gdb.arch/i386-mpx.c: Change path in include file.
4192 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4193 flag.
4194
4195 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4196
4197 * gdb.compile/compile-print.exp (compile print *vararray@3)
4198 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4199
4200 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4201
4202 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4203 (do not keep jit in memory): ... this.
4204 (expect 5): Change it to ...
4205 (expect no 5): ... this.
4206
4207 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4208
4209 PR gdb/15564
4210 * gdb.mi/mi-detach.exp: New file.
4211
4212 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4213
4214 PR symtab/18392
4215 * gdb.arch/amd64-tailcall-self.S: New file.
4216 * gdb.arch/amd64-tailcall-self.c: New file.
4217 * gdb.arch/amd64-tailcall-self.exp: New file.
4218
4219 2015-05-28 Don Breazeal <donb@codesourcery.com>
4220
4221 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4222 tests for remote targets by checking is_target_gdbserver.
4223
4224 2015-05-27 Doug Evans <dje@google.com>
4225
4226 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4227 * gdb.dwarf2/opaque-type-lookup.c: New file.
4228 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4229
4230 2015-05-26 Doug Evans <dje@google.com>
4231
4232 * gdb.cp/iostream.cc: New file.
4233 * gdb.cp/iostream.exp: New file.
4234
4235 2015-05-26 Doug Evans <dje@google.com>
4236
4237 * gdb.dwarf2/dw2-op-call.exp: Update.
4238 * gdb.dwarf2/dw4-sig-types.exp: Update.
4239 * gdb.dwarf2/implptr.exp: Update.
4240 * gdb.mi/mi-cmd-param-changed.exp: Update.
4241
4242 2015-05-26 Doug Evans <dje@google.com>
4243
4244 * gdb.python/py-lazy-string.c: New file.
4245 * gdb.python/py-lazy-string.exp: New file.
4246 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4247 (main): Update. Add estring3.
4248 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4249 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4250
4251 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4252 Yao Qi <yao.qi@linaro.org>
4253
4254 * gdb.reverse/aarch64.c: New.
4255 * gdb.reverse/aarch64.exp: New.
4256
4257 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4258
4259 * lib/gdb.exp (supports_process_record): Return true for
4260 aarch64*-linux*.
4261 (supports_reverse): Likewise.
4262
4263 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4264
4265 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4266 Use with_test_prefix.
4267
4268 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4269
4270 * gdb.base/completion.exp: Add test for completion of layout
4271 names.
4272
4273 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4274
4275 * lib/gdb.exp (skip_tui_tests): New proc.
4276 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4277
4278 2015-05-19 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4281 Save the whole env array instead of just HOME. Unset HISTSIZE in
4282 the environment while testing. Restore whole environment
4283 afterwards.
4284
4285 2015-05-16 Doug Evans <xdje42@gmail.com>
4286
4287 * gdb.guile/scm-ports.c: New file.
4288 * gdb.guile/scm-ports.exp: Add memory port tests.
4289
4290 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4291
4292 * gdb.compile/compile-print.c: New file.
4293 * gdb.compile/compile-print.exp: New file.
4294
4295 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4296
4297 * gdb.compile/compile-ops.exp: Cast param to void.
4298 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4299 (compile code struct_object.selffield = &struct_object): Add xfail.
4300
4301 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4302
4303 * gdb.ada/arr_enum_with_gap: New testcase.
4304
4305 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4306
4307 * gdb.ada/byte_packed_arr: New testcase.
4308
4309 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4310
4311 * gdb.ada/pckd_neg: New testcase.
4312
4313 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4314
4315 PR gdb/17820
4316 * gdb.base/gdbinit-history.exp: New test.
4317 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4318 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4319
4320 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4321
4322 * gdb.python/py-xmethods.cc: Enhance test case.
4323 * gdb.python/py-xmethods.exp: New tests.
4324 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4325 function.
4326 (B_indexoper): Likewise.
4327 (global_dm_list) : Add new xmethod worker functions.
4328
4329 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4330
4331 * gdb.base/coredump-filter.exp: Correctly unset
4332 "coredump_var_addr" array.
4333
4334 2015-05-08 Pedro Alves <palves@redhat.com>
4335
4336 * gdb.server/non-existing-program.exp: Unset spawn_id.
4337
4338 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4339
4340 PR python/18291
4341 * gdb.python/py-xmethods.exp: Add tests.
4342
4343 2015-05-08 Yao Qi <yao.qi@linaro.org>
4344
4345 PR gdb/18208
4346 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4347 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4348 function set_coredump_filter, and remove remote_exec call.
4349 Remove argument ipid. Callers update.
4350 (top level): Don't get inferior's PID.
4351
4352 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4353
4354 * gdb.base/watch_thread_num.exp: Skip test on targets without
4355 access watchpoints.
4356
4357 2015-05-06 Pedro Alves <palves@redhat.com>
4358
4359 PR server/18081
4360 * gdb.server/non-existing-program.exp: New file.
4361
4362 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4363
4364 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4365
4366 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4367
4368 * gdb.ada/out_of_line_in_inlined: New testcase.
4369
4370 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/var_rec_arr: New testcase.
4373
4374 2015-04-30 Yao Qi <yao.qi@linaro.org>
4375
4376 * gdb.base/break-idempotent.exp: If
4377 skip_hw_watchpoint_multi_tests returns true, skip the tests
4378 on "rwatch" and "awatch".
4379
4380 2015-04-30 Yao Qi <yao.qi@linaro.org>
4381
4382 * gdb.base/relativedebug.exp: Invoke gdb command
4383 "info sharedlibrary", and if libc.so doesn't have debug info,
4384 skip the test.
4385
4386 2015-04-29 Doug Evans <dje@google.com>
4387
4388 * gdb.python/py-xmethods.exp: Add ptype tests.
4389 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4390 get_result_type method.
4391
4392 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4393
4394 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4395 the target does not support hardware watchpoints.
4396
4397 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4398
4399 * gdb.base/break-always.exp: Abort testing if writing to memory
4400 causes an error.
4401
4402 2015-04-28 Doug Evans <dje@google.com>
4403
4404 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4405 * gdb.python/py-pp-registration.exp: ... here. New file.
4406 * gdb.python/py-pp-registration.c: New file.
4407 * gdb.python/py-pp-registration.py: New file.
4408
4409 2015-04-28 Doug Evans <dje@google.com>
4410
4411 * gdb.python/py-bad-printers.c: New file.
4412 * gdb.python/py-bad-printers.py: New file.
4413 * gdb.python/py-bad-printers.exp: New file.
4414
4415 2015-04-28 Sasha Smundak <asmundak@google.com>
4416
4417 * gdb.python/py-type.exp: New test.
4418
4419 2015-04-28 Andy Wingo <wingo@igalia.com>
4420
4421 * gdb.python/py-parameter.exp:
4422 * gdb.guile/scm-parameter.exp: Escape the path that we are
4423 matching against, as it might contain characters that are special
4424 to regular expressions.
4425
4426 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4427
4428 * gdb.ada/rec_comp: New testcase.
4429
4430 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4431
4432 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4433 before using it.
4434
4435 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4436
4437 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4438 new tests for verilog output.
4439
4440 2015-04-24 Yao Qi <yao.qi@linaro.org>
4441
4442 * boards/remote-gdbserver-on-localhost.exp: New file.
4443
4444 2015-04-23 Pedro Alves <palves@redhat.com>
4445
4446 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4447 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4448 "end of file", remove $inferior_spawn_id from the indirect list.
4449
4450 2015-04-23 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4453
4454 2015-04-23 Pedro Alves <palves@redhat.com>
4455
4456 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4457 on $any_spawn_id instead of only on $gdb_spawn_id.
4458
4459 2015-04-21 Pierre Muller <muller@sourceware.org>
4460
4461 PR pascal/17815
4462 * lib/pascal.exp (gpc_compile): Add new option "class".
4463 (fpc_compile): Likewise.
4464 * gdb.pascal/case-insensitive-symbols.pas: New file.
4465 * gdb.pascal/case-insensitive-symbols.exp: New file.
4466
4467 2015-04-20 Gary Benson <gbenson@redhat.com>
4468
4469 * gdb.base/attach.exp: Fix three extended remote failures.
4470
4471 2015-04-17 Gary Benson <gbenson@redhat.com>
4472
4473 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4474 the main executable over the remote protocol.
4475
4476 2015-04-16 Pedro Alves <palves@redhat.com>
4477
4478 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4479 a new gdbserver if gdbserver_reconnect_p is set.
4480
4481 2015-04-16 Pedro Alves <palves@redhat.com>
4482
4483 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4484 is set, don't exit gdbserver.
4485
4486 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4487
4488 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4489 appropriate .insn, such that an older assembler can be used.
4490 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4491 the z/Architecture instruction set on 31-bit targets as well.
4492
4493 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4494
4495 * gdb.go/handcall.exp: Remove all logic related to the first
4496 breakpoint and rely on go_runto_main instead.
4497 * gdb.go/strings.exp: Likewise.
4498 * gdb.go/unsafe.exp: Likewise.
4499 * gdb.go/hello.exp: Likewise. Also rename the remaining
4500 breakpoint marker to "breakpoint 1".
4501 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4502 * gdb.go/strings.go: Likewise.
4503 * gdb.go/unsafe.go: Likewise.
4504 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4505 "set breakpoint 2 here" and rename the remaining breakpoint marker
4506 to "breakpoint 1".
4507
4508 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4509
4510 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4511 if itertools.imap is not present.
4512 * gdb.python/py-objfile.exp: Add parentheses.
4513 * gdb.python/py-type.exp: Same.
4514 * gdb.python/py-unwind-maint.py: Same.
4515
4516 2015-04-15 Yao Qi <yao.qi@linaro.org>
4517
4518 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4519 of ":$ptr_size" and set its form explicitly.
4520
4521 2015-04-15 Pedro Alves <palves@redhat.com>
4522 Yao Qi <yao.qi@linaro.org>
4523
4524 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4525 timeout by factor of 4.
4526 (test_regular_watch): Likewise.
4527 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4528 * gdb.reverse/sigall-reverse.exp: Likewise.
4529 * gdb.reverse/until-precsave.exp: Likewise.
4530 * lib/gdb.exp (with_timeout_factor): New proc.
4531 (gdb_expect): Move some code to ...
4532 (get_largest_timeout): ... here. New procedure.
4533
4534 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4535
4536 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4537
4538 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4539
4540 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4541 to write to the .text section.
4542
4543 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4544
4545 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4546 Handle the case of targets that do not provide PID information.
4547
4548 2015-04-13 Yao Qi <yao.qi@linaro.org>
4549
4550 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4551 and use expect instead of gdb_expect.
4552
4553 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4554
4555 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4556 "coredump_var_addr" to avoid naming conflict with other testcases.
4557
4558 2015-04-10 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4561 gdb_test_sequence and gdb_assert.
4562
4563 2015-04-10 Pedro Alves <palves@redhat.com>
4564
4565 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4566 test messages that don't include the breakpoint address.
4567
4568 2015-04-10 Yao Qi <yao.qi@linaro.org>
4569
4570 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4571 false for some offset and width combinations which aren't
4572 supported by linux kernel.
4573
4574 2015-04-10 Pedro Alves <palves@redhat.com>
4575
4576 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4577 procedure, factored out from ...
4578 (top level): ... here. Add "set displaced-stepping" testing axis.
4579 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4580 parameter "displaced". Use it.
4581 (top level): Use foreach and add "set displaced-stepping" testing
4582 axis.
4583
4584 2015-04-10 Pedro Alves <palves@redhat.com>
4585
4586 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4587 Remove comment.
4588 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4589 both the address of the instruction that triggers the watchpoint
4590 and the address of the instruction immediately after, and use
4591 those addresses for the test. Fix comment.
4592
4593 2015-04-10 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.base/sigstep.exp (breakpoint_to_handler)
4596 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4597 Test "backtrace" in handler.
4598 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4599 (top level): Add new "displaced" test axis to
4600 breakpoint_to_handler, breakpoint_to_handler_entry and
4601 breakpoint_over_handler.
4602
4603 2015-04-10 Pedro Alves <palves@redhat.com>
4604
4605 PR gdb/18216
4606 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4607
4608 2015-04-10 Yao Qi <yao.qi@linaro.org>
4609
4610 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4611 (test_add_rn_pc): New function.
4612 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4613 (top level): Invoke test_add_rn_pc.
4614
4615 2015-04-10 Pedro Alves <palves@redhat.com>
4616
4617 PR gdb/13858
4618 * gdb.base/step-over-no-symbols.exp: New file.
4619
4620 2015-04-09 Andy Wingo <wingo@igalia.com>
4621
4622 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4623 after the Python tests.
4624
4625 2015-04-08 Keith Seitz <keiths@redhat.com>
4626
4627 PR python/16699
4628 * gdb.python/py-completion.exp: New tests for completion.
4629 * gdb.python/py-completion.py (CompleteLimit1): New class.
4630 (CompleteLimit2): Likewise.
4631 (CompleteLimit3): Likewise.
4632 (CompleteLimit4): Likewise.
4633 (CompleteLimit5): Likewise.
4634 (CompleteLimit6): Likewise.
4635 (CompleteLimit7): Likewise.
4636
4637 2015-04-08 Pedro Alves <palves@redhat.com>
4638
4639 PR gdb/18214
4640 PR gdb/18216
4641 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4642 function.
4643 (main): Install it as SIGUSR1 handler.
4644 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4645 parameter. Always use "setup" as prefix. Toggle "set
4646 displaced-stepping" off/on depending on global. Don't switch to
4647 thread 1 here.
4648 (top level): Add displaced stepping "off/on" test axis. Update
4649 "setup" calls. Wrap each subtest with with_test_prefix. Test
4650 continuing with a queued signal in each thread.
4651
4652 2015-04-08 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4655 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4656 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4657 Return early if running to main fails.
4658 * gdb.trace/while-stepping.exp: Likewise.
4659
4660 2015-04-07 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4663 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4664 interact with inferior program.
4665
4666 2015-04-07 Pedro Alves <palves@redhat.com>
4667
4668 * lib/gdb.exp (inferior_spawn_id): New global.
4669 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4670 spawn id after processing the user code.
4671 (default_gdb_start): Set inferior_spawn_id.
4672 (send_inferior): New procedure.
4673 * lib/gdbserver-support.exp (gdbserver_start): Set
4674 inferior_spawn_id.
4675 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4676
4677 2015-04-07 Pedro Alves <palves@redhat.com>
4678
4679 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4680 * lib/gdbserver-support.exp (gdbserver_start): Make
4681 $server_spawn_id global.
4682 (gdbserver_start): Don't wait for gdbserver's spawn id with
4683 expect_background.
4684 (close_gdbserver): New procedure.
4685 (gdb_exit): Rename the default version and reimplement.
4686
4687 2015-04-07 Pedro Alves <palves@redhat.com>
4688
4689 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4690 append the substituted item, not the original item.
4691
4692 2015-04-07 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4695 gdb_expect.
4696
4697 2015-04-07 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4700 output appearing once only.
4701
4702 2015-04-07 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4705 that doesn't expect anything. Return early if running to main
4706 fails.
4707
4708 2015-04-07 Yao Qi <yao.qi@linaro.org>
4709
4710 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4711 (child_function): Call alarm.
4712 (main): Move call to alarm into the loop.
4713 * gdb.threads/non-stop-fair-events.exp: Build program with
4714 -DTIMEOUT=$timeout.
4715
4716 2015-04-06 Doug Evans <xdje42@gmail.com>
4717
4718 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4719 Fix dest parameter to board_info.
4720 (fpc_compile): Ditto.
4721 (gdb_compile_pascal): Rename dest arg to destfile.
4722
4723 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4724
4725 * gdb.ada/funcall_ref.exp: New file.
4726 * gdb.ada/funcall_ref/foo.adb: New file.
4727
4728 2015-04-02 Yao Qi <yao.qi@linaro.org>
4729
4730 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4731 is remote.
4732
4733 2015-04-02 Gary Benson <gbenson@redhat.com>
4734
4735 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4736
4737 2015-04-01 Sasha Smundak <asmundak@google.com>
4738
4739 * gdb.python/py-unwind-maint.c: New file.
4740 * gdb.python/py-unwind-maint.exp: New test.
4741 * gdb.python/py-unwind-maint.py: New file.
4742 * gdb.python/py-unwind.c: New file.
4743 * gdb.python/py-unwind.exp: New test.
4744 * gdb.python/py-unwind.py: New test.
4745
4746 2015-04-01 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4749 to fail instead of non-existent $test.
4750
4751 2015-04-01 Pedro Alves <palves@redhat.com>
4752
4753 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4754 GDBFLAGS if not empty.
4755
4756 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4757
4758 * gdb.ada/complete.exp: Remove "multi_line".
4759 * gdb.ada/info_exc.exp: Remove "multi_line".
4760 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4761 * gdb.ada/ptype_field.exp: Remove "multi_line".
4762 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4763 * gdb.ada/tagged.exp: Remove "multi_line".
4764 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4765 [multi_line ...]
4766 * gdb.btrace/delta.exp: Likewise.
4767 * gdb.btrace/exception.exp: Likewise.
4768 * gdb.btrace/function_call_history.exp: Likewise.
4769 * gdb.btrace/instruction_history.exp: Likewise.
4770 * gdb.btrace/nohist.exp: Likewise.
4771 * gdb.btrace/record_goto.exp: Likewise.
4772 * gdb.btrace/segv.exp: Likewise.
4773 * gdb.btrace/stepi.exp: Likewise.
4774 * gdb.btrace/tailcall.exp: Likewise.
4775 * gdb.btrace/unknown_functions.exp: Likewise.
4776 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4777 * lib/gdb.exp: Add the "multi_line" helper.
4778
4779 2015-04-01 Pedro Alves <palves@redhat.com>
4780
4781 * gdb.threads/tid-reuse.c: New file.
4782 * gdb.threads/tid-reuse.exp: New file.
4783
4784 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4785
4786 PR corefiles/16092
4787 * gdb.base/coredump-filter.c: New file.
4788 * gdb.base/coredump-filter.exp: Likewise.
4789
4790 2015-03-27 Petr Machata <pmachata@redhat.com>
4791
4792 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4793 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4794 (Dwarf::assemble): Initialize them.
4795 (Dwarf::lines): New function.
4796
4797 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4798
4799 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4800 SYMBOL_PREFIX for x86_64-*-cygwin.
4801
4802 2015-03-26 Andy Wingo <wingo@igalia.com>
4803
4804 PR symtab/18148
4805 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4806 const_value but not a location.
4807 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4808 location defined in non-main CUs are visible.
4809
4810 2015-03-26 Yao Qi <yao.qi@linaro.org>
4811
4812 PR testsuite/18139
4813 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4814 Add a line number entry for the same line.
4815 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4816 Add a line number entry for the same line.
4817
4818 2015-03-26 Yao Qi <yao.qi@linaro.org>
4819
4820 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4821 .int 0.
4822 (func): Likewise. Add .Lfunc_1 label.
4823 Use .Lfunc_1 label.
4824 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4825 .int 0.
4826 (func): Likewise.
4827 Use .Lfunc_1 label.
4828
4829 2015-03-26 Yao Qi <yao.qi@linaro.org>
4830
4831 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4832 Call gdb_compile instead to compile each .s files without debug
4833 information.
4834
4835 2015-03-26 Yao Qi <yao.qi@linaro.org>
4836
4837 * gdb.base/savedregs.exp (process_saved_regs): Make
4838 "Saved registers:" optional in the pattern.
4839
4840 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4841
4842 * gdb.btrace/next.exp: Merged into step.exp.
4843 * gdb.btrace/finish.exp: Merged into step.exp.
4844 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4845 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4846 "record goto" and checking the exact replay position.
4847 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4848 check for "Recording format" in "info record" output.
4849 * gdb.btrace/record_goto.exp: Choose test file based on target.
4850 * gdb.btrace/x86-record_goto.S: Renamed into ...
4851 * gdb.btrace/x86_64-record_goto.S: ... this.
4852 * gdb.btrace/i686-record_goto.S: New.
4853 * gdb.btrace/x86-tailcall.S: Renamed into ...
4854 * gdb.btrace/x86_64-tailcall.S: ... this.
4855 * gdb.btrace/i686-tailcall.S: New.
4856 * gdb.btrace/x86-tailcall.c: Renamed into ...
4857 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4858 separate statements. Update test.
4859 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4860 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4861 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4862 * gdb.btrace/tailcall.exp: Choose test file based on target.
4863 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4864
4865 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4866
4867 * gdb.btrace/exception.exp: Increase BTS buffer size.
4868
4869 2015-03-24 Pedro Alves <palves@redhat.com>
4870
4871 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4872
4873 2015-03-24 Pedro Alves <palves@redhat.com>
4874
4875 * gdb.threads/schedlock.exp (test_step): No longer expect that
4876 "set scheduler-locking step" with "next" over a function call runs
4877 threads unlocked.
4878
4879 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4880
4881 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4882
4883 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4884
4885 PR breakpoints/16466
4886 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4887 * gdb.mi/mi-pending.c (thread_func): New function.
4888 (int main): Add threading support required.
4889 * gdb.mi/mi-pending.exp: Add tests for this issue.
4890 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4891 (pendfunc2): Remove stdio dependency.
4892 * gdb.mi/mi-pendshr2.c: New file.
4893
4894 2015-03-23 Keith Seitz <keiths@redhat.com>
4895
4896 * gdb.linespec/keywords.c: New file.
4897 * gdb.linespec/keywords.exp: New file.
4898
4899 2015-03-23 Keith Seitz <keiths@redhat.com>
4900
4901 PR gdb/18021
4902 * gdb.dwarf2/staticvirtual.exp: New test.
4903
4904 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4907 * README: Remove HP-UX and gdb.hp.
4908 (configuration):
4909 * configure: Regenerate.
4910 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4911 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4912 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4913 gdb.hp/gdb.defects/Makefile.
4914 * gdb.hp/Makefile.in: File deleted.
4915 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4916 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4917 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4918 * gdb.hp/gdb.aCC/run.c: File deleted.
4919 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4920 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4921 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4922 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4923 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4924 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4925 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4926 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4927 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4928 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4929 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4930 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4931 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4932 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4933 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4934 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4935 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4936 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4937 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4938 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4939 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4940 * gdb.hp/gdb.compat/average.c: File deleted.
4941 * gdb.hp/gdb.compat/sum.c: File deleted.
4942 * gdb.hp/gdb.compat/xdb.c: File deleted.
4943 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4944 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4945 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4946 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4947 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4948 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4949 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4950 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4951 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4952 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4953 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4954 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4955 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4956 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4957 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4958 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4959 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4960 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4961 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4962 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4963 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4964 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4965 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4966 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4967 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4968 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4969 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4970 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4971 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4972 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4973 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4974 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4975 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4976 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4977 * gdb.hp/tools/odump: File deleted.
4978
4979 2015-03-19 Pedro Alves <palves@redhat.com>
4980
4981 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4982 (saw_thread_3): New globals.
4983 (top level): Increment them when an event for the corresponding
4984 thread is seen.
4985 (no thread starvation): New test.
4986
4987 2015-03-19 Pedro Alves <palves@redhat.com>
4988
4989 * gdb.threads/continue-pending-status.c: New file.
4990 * gdb.threads/continue-pending-status.exp: New file.
4991
4992 2015-03-18 Pedro Alves <palves@redhat.com>
4993
4994 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4995 Use gdb_is_target_remote instead of is_remote. Use
4996 gdb_test_multiple instead of gdb_expect. Exit early if
4997 gdb_test_multiple hits its internal matches. Tighten stepi tests
4998 expected output. Fail on exit with any signal, instead of just
4999 SIGILL.
5000
5001 2015-03-18 Yao Qi <yao.qi@linaro.org>
5002
5003 PR tdep/18107
5004 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5005 variable.
5006 * gdb.base/catch-syscall.exp: Don't skip it on
5007 aarch64*-*-linux* target. Remove elements in all_syscalls.
5008 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5009 target.
5010 (setup_all_syscalls): New proc.
5011
5012 2015-03-16 Yao Qi <yao.qi@linaro.org>
5013
5014 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5015 (top level): Skip tests if valid_addr_p returns false for
5016 $cmd1 or $cmd2.
5017
5018 2015-03-11 Andy Wingo <wingo@igalia.com>
5019
5020 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5021
5022 2015-03-11 Yao Qi <yao.qi@linaro.org>
5023
5024 * gdb.base/catch-syscall.exp: Fix typo in comments.
5025
5026 2015-03-11 Yao Qi <yao.qi@linaro.org>
5027
5028 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5029
5030 2015-03-09 Pedro Alves <palves@redhat.com>
5031
5032 * dg-extract-results.py: Delete.
5033
5034 2015-03-09 Pedro Alves <palves@redhat.com>
5035
5036 Merge dg-extract-results.sh from GCC upstream (r218843).
5037
5038 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5039 * dg-extract-results.sh: Use --text with grep to avoid issues with
5040 binary files. Fall back to cat -v, if that doesn't work.
5041
5042 2015-03-05 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5045
5046 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5047
5048 * lib/mi-support.exp (mi_expect_interrupt): Accept
5049 alternative event for when in all-stop mode.
5050
5051 2015-03-04 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5054
5055 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5056
5057 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5058
5059 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5060
5061 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5062 regexps for GDB's current line display, accept a hex address
5063 preceding the line number.
5064
5065 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5066
5067 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5068 the 'arch1' variable for "s390*-linux*" targets.
5069
5070 2015-03-04 Pedro Alves <palves@redhat.com>
5071
5072 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5073 (main): Pass missing retval argument to pthread_join call.
5074
5075 2015-03-02 Pedro Alves <palves@redhat.com>
5076
5077 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5078 (top level): Call do_test with non-stop as well.
5079
5080 2015-03-02 Pedro Alves <palves@redhat.com>
5081
5082 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5083 -1.
5084
5085 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5086
5087 * gdb.arch/s390-vregs.exp: New test.
5088 * gdb.arch/s390-vregs.S: New file.
5089
5090 2015-02-27 Pedro Alves <palves@redhat.com>
5091
5092 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5093 call to catch_command_errors.
5094 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5095 catch_command_errors.
5096
5097 2015-02-27 Pedro Alves <palves@redhat.com>
5098
5099 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5100 "true" for boolean result.
5101 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5102 prototype of main.
5103
5104 2015-02-27 Pedro Alves <palves@redhat.com>
5105
5106 * lib/unbuffer_output.c: New file.
5107 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5108 (main): Call gdb_unbuffer_output.
5109
5110 2015-02-27 Yao Qi <yao.qi@linaro.org>
5111
5112 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5113 target.
5114
5115 2015-02-26 Doug Evans <dje@google.com>
5116
5117 * gdb.cp/class2.cc (Dbase, D): New classes.
5118 (main): New local delta.
5119 * gdb.cp/class2.exp: Test printing delta.
5120 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5121 (dynbar): New global.
5122 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5123
5124 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5125
5126 * gdb.compile/compile-ifunc.c: New file.
5127 * gdb.compile/compile-ifunc.exp: New file.
5128
5129 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5130
5131 * gdb.base/structs.exp: Check for correct struct on finish.
5132
5133 2015-02-26 Yao Qi <yao.qi@linaro.org>
5134
5135 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5136 is zero.
5137
5138 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5139
5140 * gdb.arch/cordic.ko.bz2: New file.
5141 * gdb.arch/cordic.ko.debug.bz2: New file.
5142 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5143
5144 2015-02-25 Yao Qi <yao.qi@linaro.org>
5145
5146 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5147 aarch64*-*-* target.
5148
5149 2015-02-23 Pedro Alves <palves@redhat.com>
5150
5151 * lib/gdb.exp (delete_breakpoints): Rewrite using
5152 gdb_test_multiple.
5153
5154 2015-02-23 Pedro Alves <palves@redhat.com>
5155
5156 * gdb.base/info-os.c: Include stdlib.h.
5157
5158 2015-02-22 Doug Evans <xdje42@gmail.com>
5159
5160 PR symtab/17855
5161 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5162 is read after symbols have been re-read.
5163 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5164 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5165
5166 2015-02-21 Doug Evans <dje@google.com>
5167
5168 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5169
5170 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5171
5172 PR corefiles/17808
5173 * gdb.arch/i386-biarch-core.core.bz2: New file.
5174 * gdb.arch/i386-biarch-core.exp: New file.
5175
5176 2015-02-21 Pedro Alves <palves@redhat.com>
5177
5178 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5179 runto_main fails.
5180
5181 2015-02-20 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5184 info probes.
5185
5186 2015-02-20 Pedro Alves <palves@redhat.com>
5187
5188 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5189
5190 2015-02-20 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5193 clean_restart before gdb_target_supports_trace.
5194
5195 2015-02-20 Pedro Alves <palves@redhat.com>
5196
5197 PR threads/18006
5198 * gdb.threads/clone-thread_db.c: New file.
5199 * gdb.threads/clone-thread_db.exp: New file.
5200
5201 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5202
5203 PR breakpoints/16812
5204 * gdb.base/catch-gdb-caused-signals.c: New file.
5205 * gdb.base/catch-gdb-caused-signals.exp: New file.
5206
5207 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5208
5209 * configure: Regenerated.
5210 * configure.ac: Use GDB_AC_TRANSFORM.
5211 * aclocal.m4: sinclude ../transform.m4.
5212
5213 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5214
5215 * lib/dtrace.exp: New file.
5216 * gdb.base/dtrace-probe.exp: Likewise.
5217 * gdb.base/dtrace-probe.d: Likewise.
5218 * gdb.base/dtrace-probe.c: Likewise.
5219 * lib/pdtrace.in: Likewise.
5220 * configure.ac: Output variables with the transformed names of
5221 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5222 * configure: Regenerated.
5223
5224 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5225
5226 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5227 expected message when trying to access $_probe_* convenience
5228 variables while not on a probe.
5229
5230 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5233
5234 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5235
5236 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5237 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5238
5239 2015-02-10 Doug Evans <xdje42@gmail.com>
5240
5241 * lib/gdb.exp (gdb_load): Always return a result.
5242
5243 2015-02-10 Pedro Alves <palves@redhat.com>
5244
5245 * gdb.threads/signal-sigtrap.c: New file.
5246 * gdb.threads/signal-sigtrap.exp: New file.
5247
5248 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5249
5250 * gdb.trace/no-attach-trace.c: New file.
5251 * gdb.trace/no-attach-trace.exp: New file.
5252
5253 2015-02-09 Mark Wielaard <mjw@redhat.com>
5254
5255 * gdb.dwarf2/atomic.c: New file.
5256 * gdb.dwarf2/atomic-type.exp: Likewise.
5257
5258 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5259
5260 * gdb.btrace/buffer-size.exp: Update "info record" output.
5261 * gdb.btrace/delta.exp: Update "info record" output.
5262 * gdb.btrace/enable.exp: Update "info record" output.
5263 * gdb.btrace/finish.exp: Update "info record" output.
5264 * gdb.btrace/instruction_history.exp: Update "info record" output.
5265 * gdb.btrace/next.exp: Update "info record" output.
5266 * gdb.btrace/nexti.exp: Update "info record" output.
5267 * gdb.btrace/step.exp: Update "info record" output.
5268 * gdb.btrace/stepi.exp: Update "info record" output.
5269 * gdb.btrace/nohist.exp: Update "info record" output.
5270
5271 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5272
5273 * gdb.btrace/buffer-size: New.
5274
5275 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5276
5277 * gdb.btrace/delta.exp: Update "info record" output.
5278 * gdb.btrace/enable.exp: Update "info record" output.
5279 * gdb.btrace/finish.exp: Update "info record" output.
5280 * gdb.btrace/instruction_history.exp: Update "info record" output.
5281 * gdb.btrace/next.exp: Update "info record" output.
5282 * gdb.btrace/nexti.exp: Update "info record" output.
5283 * gdb.btrace/step.exp: Update "info record" output.
5284 * gdb.btrace/stepi.exp: Update "info record" output.
5285 * gdb.btrace/nohist.exp: Update "info record" output.
5286
5287 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5288
5289 PR gdb/15678
5290 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5291
5292 2015-02-06 Pedro Alves <palves@redhat.com>
5293
5294 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5295 macro.
5296 (seconds_left, again): New globals.
5297 (main): Wait seconds_left in a 1-second sleep loop instead of
5298 sleeping 180 seconds. If 'again' is set, reset the seconds
5299 counter.
5300 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5301 'again' in the inferior before detaching. Print the seconds left.
5302 (options): New global.
5303 (top level): Build program with -DTIMEOUT=$timeout.
5304
5305 2015-02-06 Pedro Alves <palves@redhat.com>
5306
5307 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5308 determine how many seconds to pass to 'alarm'.
5309 * gdb.base/gdb-sigterm.exp (top level): Build program with
5310 -DTIMEOUT=$timeout.
5311 (do_test): Return success/failure indication. Add more verbose
5312 logging. Don't fail if 200 single steps are seen. Instead, fail
5313 when the test times out.
5314 (passes): New global.
5315 (top level): Break the testing loop if testing fails on any
5316 iteration. Use gdb_assert.
5317
5318 2015-02-04 Don Breazeal <donb@codesourcery.com>
5319
5320 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5321 and initialize them.
5322 (ipc_cleanup): New function.
5323 (main): Don't declare shmid, semid, and msqid. Add a call to
5324 atexit so that we call ipc_cleanup on exit.
5325
5326 2015-02-04 Pedro Alves <palves@redhat.com>
5327
5328 * boards/native-extended-gdbserver.exp: Remove any target variant
5329 specifications from the board name before clearing the isremote
5330 flag from board_info.
5331
5332 2015-01-31 Doug Evans <xdje42@gmail.com>
5333
5334 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5335
5336 2015-01-31 Gary Benson <gbenson@redhat.com>
5337
5338 * gdb.base/completion.exp: Disable completion limiting for
5339 existing tests. Add new tests to check completion limiting.
5340 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5341
5342 2015-01-31 Doug Evans <xdje42@gmail.com>
5343
5344 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5345
5346 2015-01-31 Doug Evans <xdje42@gmail.com>
5347
5348 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5349 entries. Duplicate file section script entries.
5350 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5351 inlined entries. Add test for safe-path rejection.
5352 * gdb.python/py-section-script.c: Add duplicate inlined section script
5353 entries. Duplicate file section script entries.
5354 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5355 inlined entries. Add test for safe-path rejection.
5356
5357 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5358
5359 * gdb.ada/disc_arr_bound: New testcase.
5360
5361 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5362
5363 * gdb.ada/mi_var_array: New testcase.
5364
5365 2015-01-27 Doug Evans <dje@google.com>
5366
5367 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5368 Add test for objfile.filename, objfile.username after objfile
5369 has been unloaded.
5370
5371 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5372
5373 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5374 the second test to print the name attribute of value
5375 returned by the call to gdb.lookup_type, and adjust
5376 the expected output accordingly.
5377
5378 2015-01-25 Mark Wielaard <mjw@redhat.com>
5379
5380 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5381 * gdb.base/disp-step-fork.c: Include unistd.h.
5382 * gdb.base/siginfo-obj.c: Include stdio.h.
5383 * gdb.base/siginfo-thread.c: Likewise.
5384 * gdb.mi/non-stop.c: Include unistd.h.
5385 * gdb.mi/nsthrexec.c: Include stdio.h.
5386 * gdb.mi/pthreads.c: Include unistd.h.
5387 * gdb.modula2/unbounded1.c (main): Declare returns int.
5388 * gdb.reverse/consecutive-reverse.c: Likewise.
5389 * gdb.threads/create-fail.c: Include unistd.h.
5390 * gdb.threads/killed.c: Likewise.
5391 * gdb.threads/linux-dp.c: Likewise.
5392 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5393 * gdb.threads/non-ldr-exc-2.c: Likewise.
5394 * gdb.threads/non-ldr-exc-3.c: Likewise.
5395 * gdb.threads/non-ldr-exc-4.c: Likewise.
5396 * gdb.threads/pthreads.c: Include unistd.h.
5397 (main): Declare returns int.
5398 * gdb.threads/tls-main.c (foo): New declaration.
5399 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5400
5401 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5402
5403 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5404 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5405
5406 2015-01-15 Mark Wielaard <mjw@redhat.com>
5407
5408 * gdb.base/noreturn-return.c: New file.
5409 * gdb.base/noreturn-return.exp: New file.
5410 * gdb.base/noreturn-finish.c: New file.
5411 * gdb.base/noreturn-finish.exp: New file.
5412
5413 2015-01-23 Pedro Alves <palves@redhat.com>
5414
5415 * gdb.threads/continue-pending-after-query.c: New file.
5416 * gdb.threads/continue-pending-after-query.exp: New file.
5417
5418 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5419 Simon Marchi <simon.marchi@ericsson.com>
5420
5421 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5422 * gdb.base/valgrind-db-attach.exp: Same.
5423 * gdb.base/valgrind-infcall.exp: Same.
5424 * lib/mi-support.exp (default_mi_gdb_start): Same.
5425 * lib/prompt.exp (default_prompt_gdb_start): Same.
5426 * lib/gdb.exp (default_gdb_spawn): Same.
5427 (gdb_interact): New.
5428
5429
5430 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5431
5432 * gdb.compile/compile.exp (pointer to jit function): New test.
5433
5434 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5435
5436 * lib/gdb.exp (supports_process_record): Return true for
5437 powerpc*-*-linux*.
5438 (supports_reverse): Likewise.
5439
5440 2015-01-15 Don Breazeal <donb@codesourcery.com>
5441
5442 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5443 instead of checking whether the target board is remote and
5444 use spawn_wait_for_attach instead of exec/sleep.
5445 * gdb.base/attach-twice.exp: Likewise.
5446
5447 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5448
5449 * gdb.ada/var_arr_attrs: New testcase.
5450
5451 2015-01-14 Pedro Alves <palves@redhat.com>
5452 Joel Brobecker <brobecker@adacore.com>
5453
5454 PR gdb/17525
5455 * gdb.base/bp-cmds-execution-x-script.c: New file.
5456 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5457 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5458
5459 2015-01-14 Pedro Alves <palves@redhat.com>
5460
5461 PR cli/17828
5462 * gdb.base/batch-preserve-term-settings.c: New file.
5463 * gdb.base/batch-preserve-term-settings.exp: New file.
5464
5465 2015-01-13 Doug Evans <dje@google.com>
5466
5467 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5468 binary.
5469
5470 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5471
5472 * Makefile.in (clean mostlyclean): Do not delete *.py.
5473
5474 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5475
5476 * gdb.python/py-lookup-type.exp: New file.
5477
5478 2015-01-12 Pedro Alves <palves@redhat.com>
5479
5480 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5481 restore GDBFLAGS before returning.
5482
5483 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5486 is_amd64_regs_target and is_x86_like_target.
5487
5488 2015-01-11 Doug Evans <xdje42@gmail.com>
5489
5490 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5491 is given without an explicit form.
5492 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5493 attributes.
5494 * gdb.dwarf/corrupt.exp: Ditto.
5495 * gdb.dwarf2/enum-type.exp: Ditto.
5496 * gdb.trace/entry-values.exp: Ditto.
5497 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5498
5499 2015-01-11 Doug Evans <xdje42@gmail.com>
5500
5501 PR gdb/15830
5502 * gdb.base/maint.exp: Remove references to "maint demangle".
5503 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5504 Add tests for explicitly specifying language to demangle.
5505 * gdb.dlang/demangle.exp: Ditto.
5506
5507 2015-01-09 Pedro Alves <palves@redhat.com>
5508
5509 * gdb.threads/non-stop-fair-events.c: New file.
5510 * gdb.threads/non-stop-fair-events.exp: New file.
5511
5512 2015-01-09 Pedro Alves <palves@redhat.com>
5513
5514 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5515 the global scope. Set a breakpoint after all threads are started
5516 rather than stepping over two source lines. Expect the prompt.
5517 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5518 global.
5519 (NUM): Now 15.
5520 (main): Use threads_started_barrier to wait for all threads to
5521 start. Main thread no longer calls thread_function. Exit after
5522 180 seconds.
5523 (loop): New function.
5524 (thread_function): Wait on threads_started_barrier barrier. Call
5525 'loop' at each iteration.
5526 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5527 threads have started, instead of hardcoding number of "next"
5528 steps. Use an access watchpoint instead of a write watchpoint.
5529
5530 2015-01-09 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5533 (thread_func): Wait on barrier.
5534 (main): Wait for all threads to start before stopping GDB.
5535 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5536 global.
5537 (thread1_func, thread2_func): Wait on barrier.
5538 (main): Wait for all threads to start before stopping GDB.
5539 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5540 New global.
5541 (thread1_func, thread2_func): Wait on barrier.
5542 (main): Wait for all threads to start before stopping GDB.
5543
5544 2015-01-09 Pedro Alves <palves@redhat.com>
5545
5546 * gdb.threads/attach-many-short-lived-threads.c: New file.
5547 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5548
5549 2014-01-09 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5552 instead of to thread 2.
5553 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5554 Add barrier around each pthread_create call instead of around all
5555 calls.
5556 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5557 Set a break on thread_function and have the child threads hit it
5558 one at at a time.
5559
5560 2015-01-09 Pedro Alves <palves@redhat.com>
5561
5562 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5563 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5564 false.
5565 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5566 checking whether the target board is remote.
5567 * gdb.multi/multi-attach.exp: Likewise.
5568 * gdb.python/py-sync-interp.exp: Likewise.
5569 * gdb.server/ext-attach.exp: Likewise.
5570 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5571 tests that need to attach, instead of checking whether the target
5572 board is remote at the top of the file.
5573
5574 2015-01-08 Yao Qi <yao@codesourcery.com>
5575
5576 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5577
5578 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5579
5580 Fix testcase compilation.
5581 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5582
5583 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5584
5585 * gdb.python/py-type.exp: Add a couple test about empty
5586 array creation, and negative-length array creation.
5587
5588 2015-01-02 Doug Evans <xdje42@gmail.com>
5589
5590 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5591
5592 2015-01-02 Doug Evans <dje@google.com>
5593
5594 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5595
5596 2014-12-29 Yao Qi <yao@codesourcery.com>
5597
5598 * gdb.trace/entry-values.exp: Update comments. Rename variable
5599 bar_call_foo to returned_from_foo.
5600
5601 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5602
5603 PR gdb/17394
5604 * gdb.linespec/break-asm-file.c: New file.
5605 * gdb.linespec/break-asm-file.exp: New file.
5606 * gdb.linespec/break-asm-file0.s: New file.
5607 * gdb.linespec/break-asm-file1.s: New file.
5608
5609 2014-12-18 Nigel Stephens <nigel@mips.com>
5610 Maciej W. Rozycki <macro@codesourcery.com>
5611
5612 * gdb.base/float.exp: Handle the new output from "info float" on
5613 MIPS targets.
5614
5615 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5616
5617 Fix MinGW compilation.
5618 * gdb.compile/compile-ops.exp: Update untested message if
5619 !skip_compile_feature_tests.
5620 * gdb.compile/compile-setjmp.exp: Likewise.
5621 * gdb.compile/compile-tls.exp: Likewise.
5622 * gdb.compile/compile.exp: Likewise.
5623 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5624 supported on this host".
5625
5626 2014-12-16 Doug Evans <xdje42@gmail.com>
5627
5628 * boards/stabs.exp: New file.
5629
5630 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5631
5632 * gdb.base/completion.exp: Adjust to format changes of "maint
5633 print user-registers".
5634
5635 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5636
5637 PR server/17457
5638 * gdb.arch/aarch64-fp.c: New file.
5639 * gdb.arch/aarch64-fp.exp: New file.
5640
5641 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5642
5643 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5644 r210637, r210913, r211666, r215400, r215817).
5645
5646 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5647 * dg-extract-results.py: New file.
5648 * dg-extract-results.sh: Use it if the environment seems
5649 suitable.
5650
5651 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5652
5653 * dg-extract-results.py (parse_run): Handle warnings that
5654 are printed before a test harness is run.
5655
5656 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5657
5658 * dg-extract-results.py (Named): Remove __cmp__ method.
5659 (output_variation): Use a key to sort variation.harnesses.
5660
5661 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5662
5663 * dg-extract-results.py: For Python 3, force sys.stdout to
5664 handle surrogate escape sequences.
5665 (safe_open): New function.
5666 (output_segment, main): Use it.
5667
5668 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5669
5670 * dg-extract-results.py (Prog.result_re): Include options
5671 in test name.
5672
5673 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5674
5675 * dg-extract-results.py (output_variation): Always sort if
5676 do_sum.
5677
5678 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5679
5680 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5681 as long as we get pagination notifications.
5682
5683 2014-12-15 Jason Merrill <jason@redhat.com>
5684
5685 * Makefile.in (check-gdb.%): Restore.
5686 * README: Mention it.
5687
5688 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5689
5690 * gdb.ada/str_uninit: New testcase.
5691
5692 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5693
5694 PR symtab/17642
5695 * gdb.base/vla-stub-define.c: New file.
5696 * gdb.base/vla-stub.c: New file.
5697 * gdb.base/vla-stub.exp: New file.
5698
5699 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5700 Jan Kratochvil <jan.kratochvil@redhat.com>
5701 Tom Tromey <tromey@redhat.com>
5702
5703 * configure.ac: Add gdb.compile/.
5704 * configure: Regenerate.
5705 * gdb.compile/Makefile.in: New file.
5706 * gdb.compile/compile-ops.exp: New file.
5707 * gdb.compile/compile-ops.c: New file.
5708 * gdb.compile/compile-tls.c: New file.
5709 * gdb.compile/compile-tls.exp: New file.
5710 * gdb.compile/compile-constvar.S: New file.
5711 * gdb.compile/compile-constvar.c: New file.
5712 * gdb.compile/compile-mod.c: New file.
5713 * gdb.compile/compile-nodebug.c: New file.
5714 * gdb.compile/compile-setjmp-mod.c: New file.
5715 * gdb.compile/compile-setjmp.c: New file.
5716 * gdb.compile/compile-setjmp.exp: New file.
5717 * gdb.compile/compile-shlib.c: New file.
5718 * gdb.compile/compile.c: New file.
5719 * gdb.compile/compile.exp: New file.
5720 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5721
5722 2014-12-12 Tom Tromey <tromey@redhat.com>
5723
5724 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5725 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5726
5727 2014-12-12 Doug Evans <dje@google.com>
5728
5729 * lib/gdb-python.exp (get_python_valueof): New function.
5730 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5731
5732 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5733
5734 * gdb.base/completion.exp: Add test for completion of "info
5735 registers ".
5736
5737 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5738
5739 * gdb.base/func-ptrs.c: New file.
5740 * gdb.base/func-ptrs.exp: New file.
5741
5742 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5743
5744 PR breakpoints/17012
5745 * gdb.base/dprintf-detach.c: New file.
5746 * gdb.base/dprintf-detach.exp: New file.
5747
5748 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5749
5750 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5751 * lib/gdb.exp (target_is_gdbserver): New procedure.
5752
5753 2014-12-08 Doug Evans <dje@google.com>
5754
5755 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5756
5757 2014-12-05 Yao Qi <yao@codesourcery.com>
5758
5759 * gdb.guile/scm-error.exp: Remove the third argument to
5760 gdb_remote_download.
5761 * gdb.guile/scm-frame-args.exp: Likewise.
5762 * gdb.guile/scm-section-script.exp: Likewise.
5763
5764 2014-12-05 Yao Qi <yao@codesourcery.com>
5765
5766 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5767
5768 2014-12-04 Doug Evans <dje@google.com>
5769
5770 * gdb.python/py-objfile.exp: Add tests for
5771 objfile.add_separate_debug_file.
5772
5773 2014-12-04 Doug Evans <dje@google.com>
5774
5775 * lib/gdb.exp (get_build_id): New function.
5776 (build_id_debug_filename_get): Rewrite to use it.
5777 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5778
5779 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5780
5781 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5782 `method(long)', not just 0x0.
5783 * gdb.cp/nsalias.exp: Align code labels to 4.
5784 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5785 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5786 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5787 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5788 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5789 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5790
5791 2014-12-02 Doug Evans <dje@google.com>
5792
5793 PR symtab/17602
5794 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5795 * gdb.cp/anon-ns2.cc: ... here. New file.
5796 * gdb.cp/anon-ns.exp: Update.
5797
5798 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5799
5800 * gdb.python/py-events.py (inferior_call_handler): New.
5801 (register_changed_handler, memory_changed_handler): New.
5802 (test_events.invoke): Register new handlers.
5803 * gdb.python/py-events.exp: Add tests for inferior call,
5804 memory_changed and register_changed events.
5805
5806 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5807
5808 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5809 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5810 if the linker doesn't understand this.
5811
5812 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5813
5814 * gdb.python/python.exp: Change expected reply to help().
5815
5816 2014-12-01 Yao Qi <yao@codesourcery.com>
5817
5818 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5819 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5820 * configure: Re-generated.
5821
5822 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5823
5824 * gdb.cp/chained-calls.cc: New file.
5825 * gdb.cp/chained-calls.exp: New file.
5826 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5827
5828 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5829
5830 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5831 * gdb.dwarf2/symtab-producer.exp: Same.
5832 * gdb.gdb/python-interrupts.exp: Same.
5833 * gdb.gdb/python-selftest.exp: Same.
5834 * gdb.python/py-linetable.exp: Same.
5835 * gdb.python/py-type.exp: Same.
5836 * gdb.python/py-value-cc.exp: Same.
5837 * gdb.python/py-value.exp: Same.
5838
5839 2014-11-28 Yao Qi <yao@codesourcery.com>
5840
5841 * gdb.base/break-probes.exp: Match library name prefixed with
5842 sysroot.
5843
5844 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5845
5846 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5847 test expected output. Add parentheses for the call to print.
5848 Remove L suffix from integers.
5849
5850 2014-11-26 Doug Evans <dje@google.com>
5851
5852 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5853
5854 2014-11-22 Yao Qi <yao@codesourcery.com>
5855
5856 * gdb.trace/entry-values.c: Remove asms.
5857 (foo): Add foo_label.
5858 (bar): Add bar_label.
5859 * gdb.trace/entry-values.exp: Remove code computing foo's
5860 length and bar's length.
5861 (Dwarf::assemble): Invoke function_range for bar and use
5862 MACRO_AT_func for foo.
5863
5864 2014-11-22 Yao Qi <yao@codesourcery.com>
5865
5866 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5867 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5868 Use .Lgcc43_procstart instead of gcc43.
5869
5870 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5871
5872 * gdb.ada/n_arr_bound: New testcase.
5873
5874 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5875
5876 PR breakpoints/10737
5877 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5878 test_catch_syscall_multi_arch.
5879 (test_catch_syscall_multi_arch): New function.
5880
5881 2014-11-20 Doug Evans <xdje42@gmail.com>
5882
5883 * gdb.base/maint.exp: Update expected output.
5884
5885 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5886
5887 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5888 4-byte instruction on S390.
5889
5890 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5891
5892 * gdb.ada/arr_arr: New testcase.
5893
5894 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5895
5896 * gdb.ada/pkd_arr_elem: New Testcase.
5897
5898 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5899
5900 * gdb.reverse/break-precsave: Expect completion message for
5901 core file reads.
5902 * gdb.reverse/consecutive-precsave.exp: Likewise.
5903 * gdb.reverse/finish-precsave.exp: Likewise.
5904 * gdb.reverse/i386-precsave.exp: Likewise.
5905 * gdb.reverse/machinestate-precsave.exp: Likewise.
5906 * gdb.reverse/sigall-precsave.exp: Likewise.
5907 * gdb.reverse/solib-precsave.exp: Likewise.
5908 * gdb.reverse/step-precsave.exp: Likewise.
5909 * gdb.reverse/until-precsave.exp: Likewise.
5910 * gdb.reverse/watch-precsave.exp: Likewise.
5911
5912 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5913
5914 * gdb.base/bp-permanent.c: Include unistd.h.
5915 * gdb.python/py-framefilter-mi.c (main): Add return type.
5916 * gdb.python/py-framefilter.c (main): Likewise.
5917 * gdb.trace/actions-changed.c (main): Likewise.
5918
5919 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5920
5921 * gdb.mi/until.c: Add eye-catchers.
5922 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5923 line numbers.
5924
5925 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5926
5927 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5928 function header variants in break1.c.
5929 * gdb.base/ena-dis-br.exp: Likewise.
5930 * gdb.base/hbreak2.exp: Likewise.
5931 * gdb.reverse/until-precsave.exp: Drop references to removed
5932 non-prototype function header variants in ur1.c.
5933 * gdb.reverse/until-reverse.exp: Likewise.
5934
5935 2014-11-17 Petr Machata <pmachata@redhat.com>
5936
5937 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5938 ${_cu_offset_size} bytes abbrev offset.
5939
5940 2014-11-15 Doug Evans <xdje42@gmail.com>
5941
5942 PR symtab/17559
5943 * gdb.base/line-symtabs.exp: New file.
5944 * gdb.base/line-symtabs.c: New file.
5945 * gdb.base/line-symtabs.h: New file.
5946
5947 2014-11-14 Yao Qi <yao@codesourcery.com>
5948
5949 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5950 (func): Add label func_label.
5951 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5952 Replace low_pc and high_pc with MACRO_AT_range.
5953 Replace name, low_pc and high_pc with MACRO_AT_func.
5954
5955 2014-11-14 Yao Qi <yao@codesourcery.com>
5956
5957 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5958 Replace name, low_pc and high_pc with MACRO_AT_func.
5959
5960 2014-11-14 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5963 produce debug information.
5964 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5965
5966 2014-11-14 Yao Qi <yao@codesourcery.com>
5967
5968 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5969 object and get function length.
5970 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5971 with MACRO_AT_func.
5972 (top-level): Replace gdb_compile and clean_restart with
5973 prepare_for_testing.
5974 * gdb.dwarf2/main.c (main): Add label main_label.
5975
5976 2014-11-14 Yao Qi <yao@codesourcery.com>
5977
5978 * lib/dwarf.exp (function_range): New procedure.
5979 (Dwarf::_handle_macro_at_func): New procedure.
5980 (Dwarf::_handle_macro_at_range): New procedure.
5981 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5982
5983 2014-11-14 Yao Qi <yao@codesourcery.com>
5984
5985 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5986 (_handle_attribute): New procedure.
5987
5988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5989
5990 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5991 * gdb.base/call-sc.c (zed): Likewise.
5992 * gdb.base/checkpoint.c (main): Likewise.
5993 * gdb.base/dump.c (main): Likewise.
5994 * gdb.base/gcore.c (main): Likewise.
5995 * gdb.base/huge.c (main): Likewise.
5996 * gdb.base/multi-forks.c (main): Likewise.
5997 * gdb.base/pr10179-a.c (main): Likewise.
5998 * gdb.base/savedregs.c (main): Likewise.
5999 * gdb.base/sigaltstack.c (main): Likewise.
6000 * gdb.base/siginfo.c (main): Likewise.
6001 * gdb.base/structs.c (zed): Likewise.
6002 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6003 * gdb.mi/mi-syn-frame.c (main): Likewise.
6004 * gdb.mi/until.c (foo, main): Likewise.
6005 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6006 * gdb.base/solib-weak.c (foo): Declare.
6007 * gdb.base/attach-twice.c: Include stdio.h.
6008 * gdb.base/weaklib1.c: Likewise.
6009 * gdb.base/weaklib2.c: Likewise.
6010 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6011 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6012 unistd.h.
6013 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6014 * gdb.mi/mi-exit-code.c: Likewise.
6015 * gdb.base/break-interp-lib.c: Include string.h.
6016 * gdb.base/coremaker.c: Likewise.
6017 * gdb.base/testenv.c: Likewise.
6018 * gdb.python/py-finish-breakpoint.c: Likewise.
6019 * gdb.base/inferior-died.c: Include sys/wait.h.
6020 * gdb.base/fileio.c: Include time.h.
6021 * gdb.base/async-shell.c: Include unistd.h.
6022 * gdb.base/dprintf-non-stop.c: Likewise.
6023 * gdb.base/info-os.c: Likewise.
6024 * gdb.mi/mi-console.c: Likewise.
6025 * gdb.mi/watch-nonstop.c: Likewise.
6026 * gdb.python/py-events.c: Likewise.
6027 * gdb.base/async.c (baz): Move up before its invocation.
6028 * gdb.base/code_elim2.c (my_global_func): Likewise.
6029 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6030 * gdb.base/advance.c (func2): Likewise.
6031
6032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6033
6034 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6035 variant.
6036 * gdb.base/annota3.c: Likewise.
6037 * gdb.base/async.c: Likewise.
6038 * gdb.base/average.c: Likewise.
6039 * gdb.base/call-ar-st.c: Likewise.
6040 * gdb.base/call-rt-st.c: Likewise.
6041 * gdb.base/call-sc.c: Likewise.
6042 * gdb.base/call-strs.c: Likewise.
6043 * gdb.base/ending-run.c: Likewise.
6044 * gdb.base/execd-prog.c: Likewise.
6045 * gdb.base/exprs.c: Likewise.
6046 * gdb.base/foll-exec.c: Likewise.
6047 * gdb.base/foll-fork.c: Likewise.
6048 * gdb.base/foll-vfork.c: Likewise.
6049 * gdb.base/funcargs.c: Likewise.
6050 * gdb.base/gcore.c: Likewise.
6051 * gdb.base/jump.c: Likewise.
6052 * gdb.base/langs0.c: Likewise.
6053 * gdb.base/langs1.c: Likewise.
6054 * gdb.base/langs2.c: Likewise.
6055 * gdb.base/mips_pro.c: Likewise.
6056 * gdb.base/nodebug.c: Likewise.
6057 * gdb.base/opaque0.c: Likewise.
6058 * gdb.base/opaque1.c: Likewise.
6059 * gdb.base/recurse.c: Likewise.
6060 * gdb.base/run.c: Likewise.
6061 * gdb.base/scope0.c: Likewise.
6062 * gdb.base/scope1.c: Likewise.
6063 * gdb.base/setshow.c: Likewise.
6064 * gdb.base/setvar.c: Likewise.
6065 * gdb.base/shmain.c: Likewise.
6066 * gdb.base/shr1.c: Likewise.
6067 * gdb.base/shr2.c: Likewise.
6068 * gdb.base/sigall.c: Likewise.
6069 * gdb.base/signals.c: Likewise.
6070 * gdb.base/so-indr-cl.c: Likewise.
6071 * gdb.base/solib2.c: Likewise.
6072 * gdb.base/structs.c: Likewise.
6073 * gdb.base/sum.c: Likewise.
6074 * gdb.base/vforked-prog.c: Likewise.
6075 * gdb.base/watchpoint.c: Likewise.
6076 * gdb.reverse/shr2.c: Likewise.
6077 * gdb.reverse/until-reverse.c: Likewise.
6078 * gdb.reverse/ur1.c: Likewise.
6079 * gdb.reverse/watch-reverse.c: Likewise.
6080
6081 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6082
6083 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6084 variant.
6085 * gdb.base/sepdebug.exp: Drop references to removed code.
6086
6087 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6088
6089 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6090 variant. Preserve original line numbering.
6091 * gdb.base/list1.c: Likewise.
6092
6093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6094
6095 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6096 variant.
6097 * gdb.base/break1.c: Likewise.
6098 * gdb.base/break.exp: Drop references to removed code.
6099
6100 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6101
6102 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6103 variant.
6104
6105 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6106
6107 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6108
6109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6110
6111 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6112 logic into perform_all_tests() and invoke it with and without
6113 function header prototypes.
6114 (do_function_calls): Remove conditional XFAIL for PR 5318.
6115 (rerun_and_prepare): Remove duplicate code.
6116 (perform_all_tests): New. Main logic moved here.
6117
6118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6119
6120 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6121 code guarded by #ifdef NO_PROTOTYPES.
6122 (t_double_many_args): Likewise.
6123 (DEF_FUNC_MANY_ARGS_1): Likewise.
6124 (DEF_FUNC_VALUES_1): Likewise.
6125 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6126 guarded by #ifdef PROTOTYPES.
6127
6128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6129
6130 * gdb.mi/mi-console.c: Add eye-catcher.
6131 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6132 instead of literal line number.
6133
6134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6135
6136 * gdb.base/shr2.c: Add eye-catcher.
6137 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6138 line number.
6139
6140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6141
6142 * gdb.base/jump.c: Add eye-catchers.
6143 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6144 numbers.
6145
6146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6147
6148 * gdb.base/execd-prog.c: Add eye-catchers.
6149 * gdb.base/foll-exec.c: Likewise.
6150 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6151 line numbers.
6152
6153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6154
6155 * gdb.base/ending-run.c: Add eye-catchers.
6156 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6157 literal line numbers.
6158
6159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6160
6161 * gdb.base/call-rt-st.c: Add eye-catchers.
6162 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6163 literal line numbers.
6164
6165 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6166
6167 * gdb.base/call-ar-st.c: Add eye-catchers.
6168 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6169 literal line numbers.
6170
6171 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6172
6173 * gdb.base/average.c: Add eye-catchers.
6174 * gdb.base/sum.c: Likewise.
6175 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6176 regexps dynamically.
6177
6178 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6179
6180 * gdb.base/solib1.c: Add eye-catchers.
6181 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6182 literal line numbers.
6183
6184 2014-11-12 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6187 leader has exited.
6188
6189 2014-11-12 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.arch/i386-bp_permanent.c: New file.
6192 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6193 (srcfile): Set to i386-bp_permanent.c.
6194 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6195 that stepi does not execute the 'leave' instruction, instead of
6196 testing it does execute.
6197 * gdb.base/bp-permanent.c: New file.
6198 * gdb.base/bp-permanent.exp: New file.
6199
6200 2014-11-10 Doug Evans <xdje42@gmail.com>
6201
6202 PR symtab/17564
6203 * gdb.base/symtab-search-order.exp: New file.
6204 * gdb.base/symtab-search-order.c: New file.
6205 * gdb.base/symtab-search-order-1.c: New file.
6206 * gdb.base/symtab-search-order-shlib-1.c: New file.
6207
6208 2014-11-07 Pedro Alves <palves@redhat.com>
6209
6210 PR gdb/17511
6211 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6212 i?86-*-linux*.
6213
6214 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6215
6216 PR c++/17494
6217 * gdb.cp/pr17494.cc: New file.
6218 * gdb.cp/pr17494.exp: New file.
6219
6220 2014-11-02 Yao Qi <yao@codesourcery.com>
6221
6222 * gdb.python/python.exp: Get working directory and match the
6223 output of "set extended-prompt \\w " with it.
6224
6225 2014-10-30 Doug Evans <dje@google.com>
6226
6227 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6228 in objfiles.
6229 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6230 in progspaces.
6231
6232 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6233
6234 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6235 * gdb.base/realname-expand.exp: Likewise.
6236 * gdb.linespec/macro-relative.exp: Likewise.
6237
6238 2014-10-29 Pedro Alves <palves@redhat.com>
6239
6240 PR gdb/17408
6241 * gdb.threads/schedlock.c (some_function): New function.
6242 (call_function): New global.
6243 (MAYBE_CALL_SOME_FUNCTION): New macro.
6244 (thread_function): Call it.
6245 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6246 and use it instead of a global counter. Adjust all callers.
6247 (get_current_thread): Use "find current thread" for test message
6248 here rather than having all callers pass down the same string.
6249 (goto_loop): New procedure, factored out from ...
6250 (my_continue): ... this.
6251 (step_ten_loops): Change parameter from test message to command to
6252 use. Adjust.
6253 (list_count): Delete global.
6254 (check_result): New procedure, factored out from duplicate top
6255 level code.
6256 (continue tests): Wrap in with_test_prefix.
6257 (test_step): New procedure, factored out from duplicate top level
6258 code.
6259 (top level): Test "step" in combination with all scheduler-locking
6260 modes. Test "next" in combination with all scheduler-locking
6261 modes, and in combination with stepping over a function call or
6262 not.
6263 * gdb.threads/next-bp-other-thread.c: New file.
6264 * gdb.threads/next-bp-other-thread.exp: New file.
6265
6266 2014-10-29 Pedro Alves <palves@redhat.com>
6267
6268 PR python/17372
6269 * gdb.python/python.exp: Test a multi-line command that spawns
6270 interactive Python.
6271 * gdb.base/multi-line-starts-subshell.exp: New file.
6272
6273 2014-10-29 Yao Qi <yao@codesourcery.com>
6274
6275 * gdb.base/fileio.exp: Make directories on host.
6276
6277 2014-10-29 Yao Qi <yao@codesourcery.com>
6278
6279 * gdb.base/fileio.c (test_write): Close the file.
6280
6281 2014-10-28 Pedro Alves <palves@redhat.com>
6282
6283 PR gdb/12623
6284 * gdb.base/sigstep.c (no_handler): New global.
6285 (main): If 'no_handler is true, set the signal handlers to
6286 SIG_IGN.
6287 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6288 with_sw_watch and no_handler parameters. Handle them.
6289 (top level) <stepping over handler when stopped at a breakpoint
6290 test>: Add a test axis for testing with a software watchpoint, and
6291 another for testing with the signal handler set to SIG_IGN.
6292 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6293 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6294
6295 2014-10-28 Pedro Alves <palves@redhat.com>
6296
6297 PR gdb/17511
6298 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6299 * gdb.base/sigstep.exp (other_handler_location): New global.
6300 (advance): Support stepping into the signal handler, and running
6301 commands while in the handler.
6302 (in_handler_map): New global.
6303 (top level): In the advance test, add combinations for getting
6304 into the handler with stepping commands, and for running commands
6305 in the handler. Add comment descripting the advancei tests.
6306
6307 2014-10-28 Pedro Alves <palves@redhat.com>
6308
6309 * gdb.base/sigstep.exp: Use build_executable instead of
6310 prepare_for_testing.
6311 (top level): Move code that starts GDB, runs to main and creates a
6312 display to ...
6313 (restart): ... this new procedure.
6314 (top level): Move backtrace from signal handler test to ...
6315 (validate_backtrace): ... this new procedure.
6316 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6317 with_test_prefix. Always restart GDB.
6318 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6319 with_test_prefix. Always restart GDB. No need to delete
6320 breakpoints after the test.
6321 (test_skip_handler): Remove prefix parameter.
6322 (skip_over_handler, breakpoint_to_handler)
6323 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6324 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6325 restart GDB. No need to delete breakpoints after the test.
6326 (top level): Use foreach to call the test procedures with
6327 different commands.
6328
6329 2014-10-28 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6332 instead of GNATS numbers.
6333 * gdb.base/sigbpt.exp: Likewise.
6334 * gdb.base/siginfo.exp: Likewise.
6335 * gdb.base/sigstep.exp: Likewise.
6336
6337 2014-10-27 Pedro Alves <palves@redhat.com>
6338
6339 * gdb.base/sigstep.c (dummy): New global.
6340 (main): Issue a couple writes to the new global.
6341 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6342 procedures.
6343 (skip_over_handler): Use test_skip_handler.
6344 (top level): Call skip_over_handler for stepi and nexti too.
6345 (breakpoint_over_handler): Use test_skip_handler.
6346 (top level): Call breakpoint_over_handler for stepi and nexti too.
6347
6348 2014-10-27 Yao Qi <yao@codesourcery.com>
6349
6350 * gdb.trace/tfile.c (adjust_function_address)
6351 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6352 function descriptor.
6353
6354 2014-10-24 Don Breazeal <donb@codesourcery.com>
6355
6356 * gdb.base/foll-fork.exp (test_follow_fork,
6357 catch_fork_child_follow): Check for updated fork messages emitted
6358 from infrun.c.
6359 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6360 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6361 vfork_and_exec_child_follow_through_step): Check for updated vfork
6362 messages emitted from infrun.c.
6363
6364 2014-10-24 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.base/corefile.exp: Remove references to ultrix.
6367 * gdb.base/interrupt.exp: Likewise.
6368 * gdb.base/whatis.exp: Likewise.
6369 * gdb.gdb/selftest.exp: Likewise.
6370 * gdb.threads/manythreads.exp: Likewise.
6371 * gdb.threads/print-threads.exp: Likewise.
6372 * gdb.threads/pthreads.exp:: Likewise.
6373 * gdb.threads/schedlock.exp: Likewise.
6374
6375 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6376
6377 * gdb.cp/non-trivial-retval.cc: Add a test case.
6378 * gdb.cp/non-trivial-retval.exp: Add a test.
6379
6380 2014-10-20 Yao Qi <yao@codesourcery.com>
6381
6382 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6383 * gdb.python/py-objfile-script-gdb.py: New file.
6384 * gdb.python/py-objfile-script.exp: Update reference to
6385 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6386 of remote_download. Remove the dest file.
6387
6388 2014-10-20 Yao Qi <yao@codesourcery.com>
6389
6390 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6391 * gdb.base/step-line.exp: Likewise.
6392 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6393 * gdb.dwarf2/dw2-basic.exp: Likewise.
6394 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6395 * gdb.dwarf2/dw2-filename.exp: Likewise.
6396 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6397 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6398 * gdb.dwarf2/dw2-producer.exp: Likewise.
6399 * gdb.dwarf2/mac-fileno.exp: Likewise.
6400 * gdb.python/py-frame-args.exp: Likewise.
6401 * gdb.python/py-framefilter.exp: Likewise.
6402 * gdb.python/py-mi.exp: Likewise.
6403 * gdb.python/py-objfile-script.exp: Likewise
6404 * gdb.python/py-pp-integral.exp: Likewise.
6405 * gdb.python/py-pp-re-notag.exp: Likewise.
6406 * gdb.python/py-prettyprint.exp: Likewise.
6407 * gdb.python/py-section-script.exp: Likewise.
6408 * gdb.python/py-typeprint.exp: Likewise.
6409 * gdb.python/py-xmethods.exp: Likewise.
6410 * gdb.stabs/weird.exp: Likewise.
6411 * gdb.xml/tdesc-regs.exp: Likewise.
6412
6413 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6414
6415 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6416 (out_cu): Use addr_len for the size of addresses.
6417 (out_line): Likewise. Size DW_LNE_set_address instruction
6418 according to addr_len.
6419 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6420 (FUNC): Add START_INSNS to definition.
6421
6422 2014-10-18 Yao Qi <yao@codesourcery.com>
6423
6424 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6425 gdb_has_argv0 return true.
6426 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6427 check [target_info exists noargs], check [gdb_has_argv0]
6428 instead.
6429 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6430 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6431 procedures.
6432
6433 2014-10-17 Doug Evans <dje@google.com>
6434
6435 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6436 event.
6437 * gdb.python/py-events.py: Add clear_objfiles event.
6438
6439 2014-10-17 Doug Evans <dje@google.com>
6440
6441 * gdb.python/py-objfile.exp: Test progspace attribute.
6442
6443 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6444
6445 * gdb.guile/scm-breakpoint.exp: Do not assume any
6446 directory separators when matching source file paths.
6447 * gdb.python/py-breakpoint.exp: Likewise.
6448 * gdb.reverse/break-precsave.exp: Likewise.
6449 * gdb.reverse/break-reverse.exp: Likewise.
6450 * gdb.reverse/consecutive-precsave.exp: Likewise.
6451 * gdb.reverse/finish-precsave.exp: Likewise.
6452 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6453 * gdb.reverse/finish-reverse.exp: Likewise.
6454 * gdb.reverse/i386-precsave.exp: Likewise.
6455 * gdb.reverse/i387-env-reverse.exp: Likewise.
6456 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6457 * gdb.reverse/machinestate-precsave.exp: Likewise.
6458 * gdb.reverse/machinestate.exp: Likewise.
6459 * gdb.reverse/sigall-precsave.exp: Likewise.
6460 * gdb.reverse/solib-precsave.exp: Likewise.
6461 * gdb.reverse/step-precsave.exp: Likewise.
6462 * gdb.reverse/until-precsave.exp: Likewise.
6463 * gdb.reverse/watch-precsave.exp: Likewise.
6464 * gdb.reverse/watch-reverse.exp: Likewise.
6465
6466 2014-10-17 Yao Qi <yao@codesourcery.com>
6467
6468 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6469 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6470
6471 2014-10-17 Pedro Alves <palves@redhat.com>
6472
6473 PR gdb/17471
6474 * gdb.base/bg-execution-repeat.c: New file.
6475 * gdb.base/bg-execution-repeat.exp: New file.
6476
6477 2014-10-17 Pedro Alves <palves@redhat.com>
6478
6479 PR gdb/17300
6480 * gdb.base/continue-all-already-running.c: New file.
6481 * gdb.base/continue-all-already-running.exp: New file.
6482
6483 2014-10-17 Pedro Alves <palves@redhat.com>
6484
6485 PR gdb/17472
6486 * gdb.base/annota-input-while-running.c: New file.
6487 * gdb.base/annota-input-while-running.exp: New file.
6488
6489 2014-10-17 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.base/callfuncs.exp: emove references to osf.
6492 * gdb.base/sigall.exp: Likewise.
6493 * gdb.gdb/selftest.exp: Likewise.
6494 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6495 * gdb.mi/non-stop.c: Likewise.
6496 * gdb.mi/pthreads.c: Likewise.
6497 * gdb.reverse/sigall-precsave.exp: Likewise.
6498 * gdb.reverse/sigall-reverse.exp: Likewise.
6499 * gdb.threads/pthreads.c: Likewise.
6500 * gdb.threads/pthreads.exp: Likewise.
6501
6502 2014-10-17 Yao Qi <yao@codesourcery.com>
6503
6504 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6505 check 'target_info exists noargs'.
6506 (test_command_prompt_position): Likewise.
6507 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6508 Remove "set args".
6509 (progvar_simple_while_test): Likewise.
6510 (progvar_complex_if_while_test): Likewise.
6511 (if_while_breakpoint_command_test): Likewise.
6512 (infrun_breakpoint_command_test): Likewise.
6513 (breakpoint_command_test): Likewise.
6514 (watchpoint_command_test): Likewise.
6515 (bp_deleted_in_command_test): Likewise.
6516 (temporary_breakpoint_commands): Likewise.
6517
6518 2014-10-16 Yao Qi <yao@codesourcery.com>
6519
6520 * gdb.base/remotetimeout.exp: Remove noargs checking.
6521
6522 2014-10-15 Pedro Alves <palves@redhat.com>
6523
6524 PR breakpoints/9649
6525 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6526 * gdb.base/breakpoint-in-ro-region.exp
6527 (probe_target_hardware_step): New procedure.
6528 (top level): Probe hardware stepping and hardware breakpoint
6529 support. Test stepping through a read-only region, with both
6530 "breakpoint auto-hw" on and off and both "always-inserted" on and
6531 off.
6532
6533 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6534
6535 * gdb.dlang/demangle.exp: Update for demangling changes.
6536
6537 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6538
6539 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6540 * gdb.cp/non-trivial-retval.exp: Add new tests.
6541
6542 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6543
6544 PR c++/13403
6545 PR c++/15154
6546 * gdb.cp/non-trivial-retval.cc: New file.
6547 * gdb.cp/non-trivial-retval.exp: New file.
6548
6549 2014-10-15 Yao Qi <yao@codesourcery.com>
6550
6551 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6552 remote host.
6553
6554 2014-10-15 Yao Qi <yao@codesourcery.com>
6555
6556 * gdb.python/py-symbol.exp: Match file base name if host is
6557 remote, otherwise match file name with dir name.
6558 * gdb.python/py-symtab.exp: Likewise.
6559 * gdb.python/python.exp: Likewise.
6560
6561 2014-10-15 Yao Qi <yao@codesourcery.com>
6562
6563 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6564 pattern.
6565 * gdb.python/py-symtab.exp: Likewise.
6566 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6567 locationn.
6568
6569 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6570
6571 * gdb.ada/addr_arith: New testcase.
6572
6573 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6574
6575 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6576 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6577 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6578 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6579
6580 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6581
6582 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6583 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6584 * gdb.arch/stap-eval-lang-ada.exp: New file.
6585
6586 2014-10-14 Yao Qi <yao@codesourcery.com>
6587
6588 * gdb.mi/mi-var-child.c (nothing1): New function.
6589 (nothing2): New function.
6590 (do_children_tests): Set function pointers by nothing1 and
6591 nothing2.
6592 * gdb.mi/mi-var-child.exp: Step over new added statements.
6593 Update test to match the new output.
6594 * gdb.mi/var-cmd.c (nothing1): New function.
6595 (nothing2): New function.
6596 (do_children_tests): Set function pointers by nothing1 and
6597 nothing2.
6598 * gdb.mi/mi-var-display.exp: Update test to match output.
6599 Step to the line specified by $line_dct_nothing.
6600 Increase the number of lines to step.
6601
6602 2014-10-14 Yao Qi <yao@codesourcery.com>
6603
6604 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6605 tests.
6606 * gdb.mi/mi2-var-child.exp: Likewise.
6607
6608 2014-10-13 Doug Evans <dje@google.com>
6609
6610 * gdb.python/py-objfile.exp: Change name of file name test.
6611
6612 2014-10-13 Doug Evans <dje@google.com>
6613
6614 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6615 from the start of the CU.
6616
6617 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6618 Yao Qi <yao@codesourcery.com>
6619
6620 Fix "save breakpoints" for "catch" command.
6621 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6622 Remove -nonewline. Match also the added "main" line.
6623
6624 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6625
6626 Fix "save breakpoints" for "disable $bpnum" command.
6627 * gdb.base/save-bp.c (main): Add label.
6628 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6629
6630 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6631
6632 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6633
6634 2014-10-11 Yao Qi <yao@codesourcery.com>
6635
6636 * gdb.server/server-kill.exp: Execute command
6637 "set remote trace-status-packet on" before "tstatus".
6638
6639 2014-10-11 Yao Qi <yao@codesourcery.com>
6640
6641 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6642 (main): Call getppid.
6643 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6644 and continue to it. Read variable "server_pid".
6645
6646 2014-10-11 Yao Qi <yao@codesourcery.com>
6647
6648 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6649
6650 2014-10-11 Yao Qi <yao@codesourcery.com>
6651
6652 * gdb.threads/thread-find.exp: Don't execute command
6653 "info threads".
6654 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6655 * gdb.threads/linux-dp.exp: Don't check the condition
6656 $threads_created equals to zero.
6657
6658 2014-10-10 Pedro Alves <palves@redhat.com>
6659
6660 * gdb.base/bigcore.exp: Remove references to IRIX.
6661 * gdb.base/funcargs.exp: Likewise.
6662 * gdb.base/interrupt.exp: Likewise.
6663 * gdb.base/mips_pro.exp: Likewise.
6664 * gdb.base/nodebug.exp: Likewise.
6665 * gdb.base/setvar.exp: Likewise.
6666 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6667
6668 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6669 Pedro Alves <palves@redhat.com>
6670
6671 PR symtab/14466
6672 * gdb.base/vdso-warning.c: New file.
6673 * gdb.base/vdso-warning.exp: New file.
6674
6675 2014-10-02 Doug Evans <dje@google.com>
6676
6677 * gdb.base/structs.c (main): Don't run forever.
6678
6679 2014-10-02 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6682 (top level) <stop threads 1, stop threads 2>: Use it.
6683
6684 2014-10-02 Pedro Alves <palves@redhat.com>
6685
6686 * gdb.threads/break-while-running.exp (test): Add new
6687 'update_thread_list' argument. Skip "info threads" if false.
6688 (top level): Add new 'update_thread_list' axis.
6689
6690 2014-10-02 Pedro Alves <palves@redhat.com>
6691
6692 PR breakpoints/17431
6693 * gdb.base/execl-update-breakpoints.c: New file.
6694 * gdb.base/execl-update-breakpoints.exp: New file.
6695
6696 2014-10-01 Pedro Alves <palves@redhat.com>
6697
6698 * gdb.base/breakpoint-in-ro-region.c: New file.
6699 * gdb.base/breakpoint-in-ro-region.exp: New file.
6700
6701 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6702
6703 * gdb.mi/mi-exit-code.exp: New file.
6704 * gdb.mi/mi-exit-code.c: New file.
6705
6706 2014-09-30 Yao Qi <yao@codesourcery.com>
6707
6708 * lib/prelink-support.exp (build_executable_own_libs): Error if
6709 the target isn't native.
6710
6711 2014-09-30 Yao Qi <yao@codesourcery.com>
6712
6713 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6714 false.
6715
6716 2014-09-22 Pedro Alves <palves@redhat.com>
6717
6718 * gdb.threads/break-while-running.exp: New file.
6719 * gdb.threads/break-while-running.c: New file.
6720
6721 2014-09-19 Yao Qi <yao@codesourcery.com>
6722
6723 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6724 Invoke test. Restart GDB with --readnow and invoke test again.
6725
6726 2014-09-19 Yao Qi <yao@codesourcery.com>
6727
6728 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6729 proc set_breakpoint_on_gcd_function. Invoke
6730 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6731 invoke set_breakpoint_on_gcd_function again.
6732
6733 2014-09-18 Doug Evans <dje@google.com>
6734
6735 * gdb.dwarf2/symtab-producer.exp: New file.
6736
6737 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6738
6739 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6740 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6741 * gdb.base/global-var-nested-by-dso.c: Likewise.
6742 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6743
6744 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6745 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/watch-bitfields.exp: Pass string other than test file
6748 name to prepare_for_testing.
6749 (watch): New procedure.
6750 (expect_watchpoint): Use with_test_prefix.
6751 (top level): Factor out tests to ...
6752 (test_watch_location, test_regular_watch): ... these new
6753 procedures, and use with_test_prefix and gdb_continue_to_end.
6754
6755 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6756
6757 PR breakpoints/12526
6758 * gdb.base/watch-bitfields.exp: New file.
6759 * gdb.base/watch-bitfields.c: New file.
6760
6761 2014-09-16 Pedro Alves <palves@redhat.com>
6762
6763 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6764 software and hardware addresses, not software address against
6765 itself.
6766
6767 2014-09-16 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6770 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6771
6772 2014-09-16 Pedro Alves <palves@redhat.com>
6773
6774 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6775 files.
6776 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6777 "*-*-vxworks*" throughout.
6778 * gdb.base/break.exp: Likewise.
6779 * gdb.base/default.exp: Likewise.
6780 * gdb.base/scope.exp: Likewise.
6781 * gdb.base/sepdebug.exp: Likewise.
6782 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6783 throughout.
6784 * gdb.base/run.c: Likewise.
6785 * gdb.base/sepdebug.c: Likewise.
6786 * gdb.hp/gdb.aCC/run.c: Likewise.
6787 * gdb.reverse/until-reverse.c: Likewise.
6788 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6789
6790 2014-09-16 Yao Qi <yao@codesourcery.com>
6791
6792 * boards/local-remote-host-native.exp: New file.
6793
6794 2014-09-14 Doug Evans <xdje42@gmail.com>
6795
6796 * gdb.threads/queue-signal.c (thread_count): New variable.
6797 (thread_count_mutex, thread_count_condvar): New variables.
6798 (incr_thread_count, wait_all_threads_running): New functions.
6799 (main): Wait for all threads to be in their thread functions.
6800
6801 2014-09-13 Doug Evans <xdje42@gmail.com>
6802
6803 * gdb.threads/queue-signal.c: New file.
6804 * gdb.threads/queue-signal.exp: New file.
6805
6806 2014-09-13 Doug Evans <xdje42@gmail.com>
6807
6808 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6809 be consistent with what default_gdb_init uses.
6810 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6811 the plain text of the prompt. Add some logging printfs.
6812 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6813
6814 2014-09-12 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6817 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6818 * gdb.arch/i386-size-overlap.exp: Likewise.
6819 * gdb.arch/i386-size.exp: Likewise.
6820 * gdb.arch/i386-unwind.exp: Likewise.
6821 * gdb.base/a2-run.exp: Likewise.
6822 * gdb.base/break.exp: Likewise.
6823 * gdb.base/charset.exp: Likewise.
6824 * gdb.base/chng-syms.exp: Likewise.
6825 * gdb.base/commands.exp: Likewise.
6826 * gdb.base/dbx.exp: Likewise.
6827 * gdb.base/find.exp: Likewise.
6828 * gdb.base/funcargs.exp: Likewise.
6829 * gdb.base/jit-simple.exp: Likewise.
6830 * gdb.base/reread.exp: Likewise.
6831 * gdb.base/sepdebug.exp: Likewise.
6832 * gdb.base/step-bt.exp: Likewise.
6833 * gdb.cp/mb-inline.exp: Likewise.
6834 * gdb.cp/mb-templates.exp: Likewise.
6835 * gdb.objc/basicclass.exp: Likewise.
6836 * gdb.threads/killed.exp: Likewise.
6837
6838 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6839
6840 PR tdep/17379
6841 * gdb.arch/powerpc-stackless.S: New file.
6842 * gdb.arch/powerpc-stackless.exp: New file.
6843
6844 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6845
6846 * gdb.base/attach.c: Include unistd.h.
6847 (main): Call alarm. Add label postloop.
6848 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6849 gdb_breakpoint, gdb_continue_to_breakpoint.
6850 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6851
6852 2014-09-11 Pedro Alves <palves@redhat.com>
6853
6854 PR gdb/17347
6855 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6856 * gdb.base/attach.exp (test_command_line_attach_run): New
6857 procedure.
6858 (top level): Call it.
6859
6860 2014-09-11 Pedro Alves <palves@redhat.com>
6861
6862 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6863 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6864 (do_command_attach_tests): Use spawn_wait_for_attach.
6865 * gdb.base/solib-overlap.exp: Likewise.
6866 * gdb.multi/multi-attach.exp: Likewise.
6867 * gdb.python/py-prompt.exp: Likewise.
6868 * gdb.python/py-sync-interp.exp: Likewise.
6869 * gdb.server/ext-attach.exp: Likewise.
6870
6871 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6872
6873 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6874 command in testcase. Simplify testcase.
6875
6876 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6877
6878 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6879
6880 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6881
6882 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6883
6884 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6885
6886 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6887
6888 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6889
6890 * gdb.dwarf2/dynarr-ptr.c: New file.
6891 * gdb.dwarf2/dynarr-ptr.exp: New file.
6892
6893 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6894
6895 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6896 of 30 rather than hardcoding 120 for a slow test case. Take the
6897 `gdb,timeout' target setting into account for this calculation.
6898 Don't extend the timeout for the test cases that don't need it.
6899
6900 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6901
6902 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6903 a factor of 2 for a slow test case. Take the `gdb,timeout'
6904 target setting into account for this calculation.
6905 * gdb.reverse/until-precsave.exp: Increase the timeout by
6906 a factor of 15 and 3 respectively rather than adding 120
6907 for a pair of slow test cases. Take the `gdb,timeout'
6908 target setting into account for this calculation.
6909
6910 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6911
6912 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6913 timeout, don't pass one down to gdb_expect.
6914 (gdb_expect): Rework timeout selection.
6915
6916 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6917
6918 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6919 exception on timeout.
6920 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6921 (gdbserver_start_extended): Catch any `gdbserver_start' error
6922 exceptions.
6923 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6924 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6925 `gdbserver_gdb_load' error exceptions.
6926
6927 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6928
6929 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6930 120 on waiting for the TCP socket to open.
6931
6932 2014-09-09 Doug Evans <xdje42@gmail.com>
6933
6934 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6935 _caller_matches, _any_caller_is, _any_caller_matches.
6936
6937 2014-09-09 Doug Evans <xdje42@gmail.com>
6938
6939 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6940
6941 2014-09-09 Yao Qi <yao@codesourcery.com>
6942
6943 * gdb.mi/mi-var-display.exp: Set print symbol off.
6944
6945 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6946
6947 PR gdb/17035
6948 * gdb.base/commands.exp: Add tests to verify user-defined
6949 commands with empty bodies.
6950 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6951 python commands in `show user command`.
6952 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6953 scheme commands in `show user command`.
6954
6955 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6956
6957 PR python/17355
6958 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6959 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6960 * gdb.python/py-framefilter-invalidarg.exp: New file.
6961 * gdb.python/py-framefilter-invalidarg.py: New file.
6962
6963 2014-09-06 Doug Evans <xdje42@gmail.com>
6964
6965 PR 15276
6966 * gdb.python/py-caller-is.c: New file.
6967 * gdb.python/py-caller-is.exp: New file.
6968
6969 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6970
6971 PR gdb/17235
6972 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6973 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6974
6975 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6976
6977 PR fortran/17237
6978 * gdb.fortran/print-formatted.exp: New file.
6979 * gdb.fortran/print-formatted.f90: Likewise.
6980
6981 2014-09-03 Sasha Smundak <asmundak@google.com>
6982
6983 * gdb.python/py-frame.exp: Test Frame.read_register.
6984
6985 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6986
6987 PR python/16699
6988 * gdb.python/py-completion.exp: New file.
6989 * gdb.python/py-completion.py: Likewise.
6990
6991 2014-08-28 Doug Evans <dje@google.com>
6992
6993 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6994 eax,etc. are live with values set by gdb and thus the compiler can't
6995 use them.
6996 * gdb.arch/i386-pseudo.c (main): Ditto.
6997
6998 2014-08-27 Doug Evans <dje@google.com>
6999
7000 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7001
7002 2014-08-25 Doug Evans <dje@google.com>
7003
7004 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7005 (main): Ditto.
7006
7007 2014-08-25 Doug Evans <dje@google.com>
7008
7009 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7010
7011 2014-08-24 Yao Qi <yao@codesourcery.com>
7012
7013 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7014 symbol off.
7015 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7016
7017 2014-08-22 Doug Evans <dje@google.com>
7018
7019 PR 17276
7020 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7021 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7022 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7023
7024 2014-08-22 Yao Qi <yao@codesourcery.com>
7025
7026 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7027 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7028 * gdb.python/python.exp: Likewise. Use .py file on the host
7029 instead of the build.
7030
7031 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7032
7033 * gdb.threads/gcore-stale-thread.c: New file.
7034 * gdb.threads/gcore-stale-thread.exp: New file.
7035
7036 2014-08-21 Pedro Alves <palves@redhat.com>
7037
7038 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7039 * gdb.base/gcore-relro-pie.exp: Likewise.
7040 * gdb.base/gcore-relro.exp: Likewise.
7041 * gdb.base/gcore.exp: Likewise.
7042 * gdb.base/print-symbol-loading.exp: Likewise.
7043 * gdb.threads/gcore-thread.exp: Likewise.
7044 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7045
7046 2014-08-20 Pedro Alves <palves@redhat.com>
7047 Jan Kratochvil <jan.kratochvil@redhat.com>
7048
7049 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7050 configure.
7051 (EXPECT): Handle READ1 being set.
7052 (all): Depend on EXTRA_RULES.
7053 (check-read1, expect-read1, read1.so, read1): New rules.
7054 * README (Testsuite Parameters): Document the READ1 make variable.
7055 (Race detection): New section.
7056 * configure: Regenerate.
7057 * configure.ac: If build==host==target, and running under a
7058 GNU/glibc system, add read1 to the extra Makefile rules.
7059 (EXTRA_RULES): AC_SUBST it.
7060 * lib/read1.c: New file.
7061
7062 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7063
7064 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7065 the handling of variables declared as a typedef to an array
7066 which a DW_AT_data_location attribute.
7067
7068 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7069 Pedro Alves <palves@redhat.com>
7070
7071 PR symtab/14604
7072 PR symtab/14605
7073 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7074 gdb_test.
7075
7076 2014-08-19 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7079
7080 2014-08-19 Yao Qi <yao@codesourcery.com>
7081
7082 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7083 right line.
7084
7085 2014-08-18 David Blaikie <dblaikie@gmail.com>
7086
7087 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7088
7089 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7090
7091 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7092 attribute in array range.
7093
7094 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7095
7096 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7097
7098 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7099
7100 PR c++/17132
7101 * gdb.cp/pr17132.cc: New file.
7102 * gdb.cp/pr17132.exp: New file.
7103
7104 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7105
7106 * gdb.python/py-xmethods.py (A_getarrayind)
7107 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7108 Use 'print' with function call syntax.
7109 (E_method_matcher.match): Fix tab vs space indentation mixup.
7110
7111 2014-08-15 Yao Qi <yao@codesourcery.com>
7112
7113 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7114 false.
7115
7116 2014-08-15 Yao Qi <yao@codesourcery.com>
7117
7118 * gdb.cp/casts.exp: Set print symbol off.
7119 * gdb.cp/class2.exp: Likewise.
7120 * gdb.cp/overload.exp: Likewise.
7121 * gdb.cp/templates.exp: Likewise.
7122
7123 2014-08-11 Doug Evans <dje@google.com>
7124
7125 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7126 (test_load_shlib): Update.
7127
7128 2014-08-09 Yao Qi <yao@codesourcery.com>
7129
7130 * gdb.base/display.exp: Invoke is_address_zero_readable.
7131 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7132 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7133 * gdb.base/hbreak-unmapped.exp: Return if
7134 is_address_zero_readable returns true.
7135 * gdb.base/signest.exp: Likewise.
7136 * gdb.base/signull.exp: Likewise.
7137 * gdb.base/sigbpt.exp: Likewise.
7138 * gdb.guile/scm-disasm.exp: Do the test if
7139 is_address_zero_readable returns false.
7140 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7141 * gdb.python/py-arch.exp: Likewise.
7142 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7143 * lib/gdb.exp (is_address_zero_readable): New proc.
7144
7145 2014-08-09 Yao Qi <yao@codesourcery.com>
7146
7147 PR testsuite/13443
7148 * gdb.mi/mi-var-display.exp: Make test messages unique.
7149
7150 2014-08-04 Tom Tromey <tromey@redhat.com>
7151
7152 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7153 target 0".
7154
7155 2014-08-04 Tom Tromey <tromey@redhat.com>
7156
7157 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7158 "target_resume".
7159
7160 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7161
7162 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7163 inner_vla_struct_object_size.
7164 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7165 as xfail.
7166
7167 2014-07-30 Pedro Alves <palves@redhat.com>
7168
7169 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7170 comment.
7171
7172 2014-07-29 Yao Qi <yao@codesourcery.com>
7173
7174 PR gdb/17206
7175 * gdb.base/until-nodebug.exp: New.
7176
7177 2014-07-28 Doug Evans <xdje42@gmail.com>
7178
7179 PR guile/17203
7180 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7181 previously existing parameter, and previously ambiguously spelled
7182 parameter.
7183
7184 2014-07-28 Will Newton <will.newton@linaro.org>
7185
7186 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7187
7188 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7189 Doug Evans <xdje42@gmail.com>
7190
7191 PR guile/17146
7192 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7193
7194 2014-07-25 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.threads/signal-command-handle-nopass.c: New file.
7197 * gdb.threads/signal-command-handle-nopass.exp: New file.
7198 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7199 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7200 * gdb.threads/signal-delivered-right-thread.c: New file.
7201 * gdb.threads/signal-delivered-right-thread.exp: New file.
7202
7203 2014-07-25 Pedro Alves <palves@redhat.com>
7204
7205 * gdb.base/double-prompt-target-event-error.exp
7206 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7207 match.
7208 (cancel_pagination_in_target_event): Rework double prompt
7209 detection.
7210 * gdb.base/paginate-after-ctrl-c-running.exp
7211 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7212 <return>' match.
7213 * gdb.base/paginate-bg-execution.exp
7214 (test_bg_execution_pagination_return)
7215 (test_bg_execution_pagination_cancel): Remove '-notransfer
7216 <return>' matches.
7217 * gdb.base/paginate-execution-startup.exp
7218 (test_fg_execution_pagination_return)
7219 (test_fg_execution_pagination_cancel): Remove '-notransfer
7220 <return>' matches.
7221 * gdb.base/paginate-inferior-exit.exp
7222 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7223 match.
7224 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7225 * lib/gdb.exp (pagination_prompt): Run text through
7226 string_to_regexp.
7227 (gdb_test_multiple): Match $pagination_prompt instead of
7228 "<return>".
7229 (string_to_regexp): Move to lib/gdb-utils.exp.
7230
7231 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7232
7233 * gdb.arch/amd64-entry-value-paramref.S: New file.
7234 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7235 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7236 * gdb.arch/amd64-optimout-repeat.S: New file.
7237 * gdb.arch/amd64-optimout-repeat.c: New file.
7238 * gdb.arch/amd64-optimout-repeat.exp: New file.
7239
7240 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 PR gdb/17170
7243 * gdb.base/statistics.exp: New file.
7244
7245 2014-07-17 Doug Evans <dje@google.com>
7246
7247 PR gdb/17170
7248 * gdb.base/maint.exp: Update testing of per-command stats.
7249
7250 2014-07-16 Pedro Alves <palves@redhat.com>
7251
7252 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7253 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7254 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7255 (tfile_write_buf): New functions.
7256 (add_memory_block): Rewrite using the above.
7257 (adjust_function_address): New function.
7258 (FUNCTION_ADDRESS): New macro.
7259 (write_basic_trace_file): Remove short_x local, and use
7260 tfile_write_16. Change type of func_addr local to unsigned long
7261 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7262 here. Cast argument of add_memory_block to char pointer.
7263 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7264 (main): Remove parameters.
7265 * gdb.trace/tfile.exp: Remove nowarnings.
7266
7267 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7268
7269 * gdb.base/debug-expr.exp: Test string evaluation with
7270 "debug expression" on.
7271
7272 2014-07-15 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.base/reread.exp: Use clean_restart.
7275
7276 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7277
7278 * gdb.arch/avr-flash-qualifer.c: New.
7279 * gdb.arch/avr-flash-qualifer.exp: New.
7280
7281 2014-07-14 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7284 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7285
7286 2014-07-14 Pedro Alves <palves@redhat.com>
7287
7288 * gdb.base/double-prompt-target-event-error.c: New file.
7289 * gdb.base/double-prompt-target-event-error.exp: New file.
7290
7291 2014-07-14 Pedro Alves <palves@redhat.com>
7292
7293 PR gdb/17072
7294 * gdb.base/paginate-inferior-exit.c: New file.
7295 * gdb.base/paginate-inferior-exit.exp: New file.
7296
7297 2014-07-14 Pedro Alves <palves@redhat.com>
7298
7299 PR gdb/17072
7300 * gdb.base/paginate-bg-execution.c: New file.
7301 * gdb.base/paginate-bg-execution.exp: New file.
7302
7303 2014-07-14 Pedro Alves <palves@redhat.com>
7304
7305 PR gdb/17072
7306 * gdb.base/paginate-execution-startup.c: New file.
7307 * gdb.base/paginate-execution-startup.exp: New file.
7308 * lib/gdb.exp (pagination_prompt): New global.
7309 (default_gdb_spawn): New procedure, factored out from
7310 default_gdb_spawn.
7311 (default_gdb_start): Adjust to call default_gdb_spawn.
7312 (gdb_spawn): New procedure.
7313
7314 2014-07-14 Pedro Alves <palves@redhat.com>
7315
7316 * lib/gdb.exp (gdb_assert): New procedure.
7317 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7318
7319 2014-07-14 Pedro Alves <palves@redhat.com>
7320
7321 * gdb.base/execution-termios.c: New file.
7322 * gdb.base/execution-termios.exp: New file.
7323
7324 2014-07-14 Tom Tromey <tromey@redhat.com>
7325
7326 * gdb.cp/vla-cxx.cc: New file.
7327 * gdb.cp/vla-cxx.exp: New file.
7328
7329 2014-07-14 Tom Tromey <tromey@redhat.com>
7330
7331 * gdb.reverse/rerun-prec.c: New file.
7332 * gdb.reverse/rerun-prec.exp: New file.
7333
7334 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7335 Maciej W. Rozycki <macro@codesourcery.com>
7336
7337 * lib/gdb-utils.exp: New file.
7338 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7339 inline `gdb_init_command' processing.
7340 (gdb_start_cmd): Likewise.
7341 * lib/mi-support.exp (mi_run_cmd): Likewise.
7342 * README: Document `gdb_init_command' and `gdb_init_commands'.
7343
7344 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7345
7346 Fix false FAIL running under a very long directory name.
7347 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7348 and "set print elements 10000". Twice.
7349
7350 2014-07-11 Yao Qi <yao@codesourcery.com>
7351
7352 * gdb.base/exprs.exp: "set print symbol off".
7353
7354 2014-07-11 Pedro Alves <palves@redhat.com>
7355
7356 * gdb.threads/kill.c: New file.
7357 * gdb.threads/kill.exp: New file.
7358
7359 2014-07-10 Yao Qi <yao@codesourcery.com>
7360
7361 * gdb.trace/tfile.c (write_basic_trace_file)
7362 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7363 address written to trace file.
7364
7365 2014-07-09 Pedro Alves <palves@redhat.com>
7366
7367 * gdb.base/attach-wait-input.exp: New file.
7368 * gdb.base/attach-wait-input.c: New file.
7369
7370 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7371
7372 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7373 setting up test structures.
7374 (main): Call new test function.
7375 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7376 test function, continue into test function and walk test
7377 structures.
7378
7379 2014-07-02 Yao Qi <yao@codesourcery.com>
7380
7381 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7382 'bar_start' at the beginning of functions 'foo' and 'bar'
7383 respectively.
7384 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7385 instead of 'foo' and 'bar'.
7386
7387 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7388
7389 * gdb.btrace/segv.exp: New.
7390 * gdb.btrace/segv.c: New.
7391
7392 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7393
7394 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7395 instruction.
7396
7397 2014-06-30 Mark Wielaard <mjw@redhat.com>
7398
7399 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7400 vulture, vilify, villar): New volatile array constants.
7401 (vindictive, vegetation): New const volatile array constants.
7402 * gdb.base/volatile.exp: Test volatile and const volatile array
7403 types.
7404
7405 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7406
7407 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7408 target lacks support for awatch, rwatch, or hbreak.
7409
7410 2014-06-27 Yao Qi <yao@codesourcery.com>
7411
7412 * gdb.multi/dummy-frame-restore.exp: New.
7413 * gdb.multi/dummy-frame-restore.c: New.
7414
7415 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7416
7417 * gdb.btrace/gcore.exp: New.
7418
7419 2014-06-23 Pedro Alves <palves@redhat.com>
7420
7421 * gdb.base/watchpoint-reuse-slot.c: New file.
7422 * gdb.base/watchpoint-reuse-slot.exp: New file.
7423
7424 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7425
7426 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7427 progspace's filename in 'info', 'enable' and 'disable' command
7428 tests.
7429
7430 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7431
7432 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7433 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7434 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7435
7436 2014-06-20 Gary Benson <gbenson@redhat.com>
7437
7438 * gdb.arch/i386-avx.exp: Fix include file location.
7439 * gdb.arch/i386-sse.exp: Likewise.
7440
7441 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7442
7443 * gdb.dlang/expression.exp: New file.
7444
7445 2014-06-19 Pedro Alves <palves@redhat.com>
7446
7447 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7448 out from ...
7449 (top level): ... here. Iterate running tests under different
7450 scheduler-locking settings.
7451
7452 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7453
7454 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7455 to DW_FORM_addr and use non-zero addresses.
7456
7457 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7458
7459 PR gdb/17017
7460 * gdb.python/py-xmethods.cc: Add global function call counters and
7461 increment them in their respective functions. Remove "cout"
7462 statements.
7463 * gdb.python/py-xmethods.exp: Make tests check the global function
7464 call counters instead of depending on inferior IO.
7465
7466 2014-06-18 Don Breazeal <donb@codesourcery.com>
7467
7468 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7469 Deleted procedure.
7470 (explicit_fork_parent_follow): Deleted procedure.
7471 (explicit_fork_child_follow): Deleted procedure.
7472 (test_follow_fork): New procedure.
7473 (do_fork_tests): Replace calls to deleted procedures with
7474 calls to test_follow_fork and reset GDB for subsequent
7475 procedure calls.
7476
7477 2014-06-17 Yao Qi <yao@codesourcery.com>
7478
7479 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7480 CP1252.
7481
7482 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7483
7484 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7485 Initialize ptr and S explicitly.
7486 (skip_type_update_when_not_use_rtti_test): Likewise.
7487
7488 2014-06-16 Keith Seitz <keiths@redhat.com>
7489
7490 PR mi/15863
7491 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7492 the inferior is started.
7493
7494 2014-06-16 Pedro Alves <palves@redhat.com>
7495
7496 * gdb.base/break-main-file-remove-fail.c: New file.
7497 * gdb.base/break-main-file-remove-fail.exp: New file.
7498 * gdb.base/break-unload-file.exp: Use build_executable instead of
7499 prepare_for_testing.
7500 (test_break): New parameter "initial_load". Handle it.
7501 (top level): Add initial_load cmdline/file axis.
7502
7503 2014-06-12 Tom Tromey <tromey@redhat.com>
7504
7505 * gdb.base/completion.exp: Don't use directory name in test.
7506
7507 2014-06-09 Gary Benson <gbenson@redhat.com>
7508
7509 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7510 separate the always-available ANSI-standard signals from the
7511 signals that require checking.
7512 (main): Likewise.
7513 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7514 Likewise.
7515 (main): Likewise.
7516
7517 2014-06-07 Keith Seitz <keiths@redhat.com>
7518
7519 Revert:
7520 PR c++/16253
7521 * gdb.cp/var-tag.cc: New file.
7522 * gdb.cp/var-tag.exp: New file.
7523 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7524 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7525 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7526 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7527
7528 2014-06-06 Doug Evans <xdje42@gmail.com>
7529
7530 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7531
7532 2014-06-06 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7535 in target debug output instead of looking at RSP packets,
7536 disabling the test on any target that uses hardware stepping.
7537 Update comments.
7538
7539 2014-06-06 Pedro Alves <palves@redhat.com>
7540
7541 * gdb.base/break-unload-file.exp: Fix typo.
7542
7543 2014-06-06 Yao Qi <yao@codesourcery.com>
7544
7545 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7546 from "jit_function" to "^jit_function".
7547
7548 2014-06-06 Yao Qi <yao@codesourcery.com>
7549
7550 * gdb.base/async.c (foo): Add one statement.
7551 * gdb.base/async.exp: Get the next instruction address and
7552 match the output of "nexti" by instruction address. Match
7553 the hex address in the output of "finish".
7554
7555 2014-06-06 Gary Benson <gbenson@redhat.com>
7556
7557 * gdb.base/call-signals.c: Remove preprocessor conditionals
7558 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7559 SIGSEGV and SIGTERM.
7560 * gdb.base/sigall.c: Likewise.
7561 * gdb.base/unwindonsignal.c: Likewise.
7562 * gdb.reverse/sigall-reverse.c: Likewise.
7563
7564 2014-06-06 Yao Qi <yao@codesourcery.com>
7565
7566 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7567 readable, skip the test.
7568
7569 2014-06-06 Yao Qi <yao@codesourcery.com>
7570
7571 * gdb.threads/staticthreads.c (thread_function): Move the line
7572 setting breakpoint on forward.
7573 * gdb.threads/staticthreads.exp: Update comments.
7574
7575 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7576
7577 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7578 "history-append! type error".
7579
7580 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7581
7582 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7583 erroneous dprintf expected input.
7584
7585 2014-06-04 Doug Evans <xdje42@gmail.com>
7586
7587 * gdb.guile/scm-generics.exp: Delete.
7588
7589 2014-06-04 Doug Evans <xdje42@gmail.com>
7590
7591 * gdb.guile/scm-breakpoint.exp: Update.
7592 Add tests for breakpoint registration.
7593
7594 2014-06-04 Tom Tromey <tromey@redhat.com>
7595
7596 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7597 VLA-in-union.
7598 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7599 inner_vla_struct, vla_union types. Initialize objects of those
7600 types and compute their sizes.
7601
7602 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7603 Hui Zhu <hui@codesourcery.com>
7604
7605 * gdb.base/fileio.exp: Add test for shell not available as well as
7606 available.
7607 * gdb.base/fileio.c (test_system): Check for shell twice.
7608
7609 2014-06-04 Yao Qi <yao@codesourcery.com>
7610
7611 * gdb.base/auto-connect-native-target.exp: Remove redundant
7612 space from the regexp pattern.
7613
7614 2014-06-04 Yao Qi <yao@codesourcery.com>
7615
7616 * gdb.base/default.exp: Replace "child" with "native" in
7617 regexp pattern.
7618
7619 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7620
7621 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7622 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7623 * gdb.python/py-xmethods.py: Python script supporting the
7624 new testcase and tests.
7625
7626 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7627 Pedro Alves <palves@redhat.com>
7628
7629 PR breakpoints/17000
7630 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7631 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7632
7633 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7634
7635 * gdb.base/subst.exp: Add tests to verify partial path matching
7636 output.
7637
7638 2014-06-03 Pedro Alves <palves@redhat.com>
7639
7640 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7641 target that doesn't use software single-stepping.
7642
7643 2014-06-03 Pedro Alves <palves@redhat.com>
7644
7645 PR breakpoints/17000
7646 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7647 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7648
7649 2014-06-02 Doug Evans <xdje42@gmail.com>
7650
7651 * gdb.guile/scm-parameter.exp: New file.
7652
7653 2014-06-02 Doug Evans <xdje42@gmail.com>
7654
7655 * gdb.guile/scm-cmd.c: New file.
7656 * gdb.guile/scm-cmd.exp: New file.
7657
7658 2014-06-02 Doug Evans <xdje42@gmail.com>
7659
7660 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7661 pretty-printer lookup.
7662 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7663 (make-pp_s-printer): Call it.
7664 (make-pretty-printer-from-dict): New function.
7665 (lookup-pretty-printer-maker-from-dict): New function.
7666 (*pretty-printer*): Simplify.
7667 (make-objfile-pp_s-printer): New function.
7668 (install-objfile-pretty-printers!): New function.
7669 (make-progspace-pp_s-printer): New function.
7670 (install-progspace-pretty-printers!): New function.
7671 * gdb.guile/scm-progspace.c: New file.
7672 * gdb.guile/scm-progspace.exp: New file.
7673
7674 2014-06-02 Pedro Alves <palves@redhat.com>
7675
7676 * gdb.base/dprintf-bp-same-addr.c: New file.
7677 * gdb.base/dprintf-bp-same-addr.exp: New file.
7678
7679 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7680
7681 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7682 * gdb.arch/powerpc-power.s: Likewise.
7683
7684 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7685
7686 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7687
7688 2014-06-01 Yao Qi <yao@codesourcery.com>
7689
7690 * gdb.base/watchpoint.exp (test_watch_location): Check null
7691 pointer can be dereferenced. If not, do the test, otherwise
7692 skip it.
7693
7694 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7695
7696 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7697 results.
7698 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7699
7700 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7701
7702 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7703 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7704 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7705 * gdb.arch/amd64-invalid-stack-top.c: New file.
7706 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7707
7708 2014-05-30 Pedro Alves <palves@redhat.com>
7709
7710 PR breakpoints/17000
7711 * gdb.base/sss-bp-on-user-bp.c: New file.
7712 * gdb.base/sss-bp-on-user-bp.exp: New file.
7713
7714 2014-05-30 David Blaikie <dblaikie@gmail.com>
7715
7716 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7717 gnu_inline semantics via attribute.
7718 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7719 source explicitly specifies the required semantics.
7720
7721 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7722
7723 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7724
7725 2014-05-29 Pedro Alves <palves@redhat.com>
7726 Tom Tromey <tromey@redhat.com>
7727
7728 * gdb.base/async-shell.exp: Don't enable target-async.
7729 * gdb.base/async.exp
7730 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7731 parameter. Adjust.
7732 (top level): Don't test with "target-async".
7733 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7734 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7735 * gdb.base/inferior-died.exp: Don't enable target-async.
7736 * gdb.base/interrupt-noterm.exp: Likewise.
7737 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7738 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7739 * gdb.mi/mi-nonstop.exp: Likewise.
7740 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7741 * gdb.mi/mi-nsintrall.exp: Likewise.
7742 * gdb.mi/mi-nsmoribund.exp: Likewise.
7743 * gdb.mi/mi-nsthrexec.exp: Likewise.
7744 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7745 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7746 * gdb.python/py-evsignal.exp: Don't enable target-async.
7747 * gdb.python/py-evthreads.exp: Likewise.
7748 * gdb.python/py-prompt.exp: Likewise.
7749 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7750 * gdb.server/solib-list.exp: Don't enable target-async.
7751 * gdb.threads/thread-specific-bp.exp: Likewise.
7752 * lib/mi-support.exp: Adjust to use mi-async.
7753
7754 2014-05-29 Pedro Alves <palves@redhat.com>
7755
7756 PR gdb/13860
7757 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7758 reason, even in sync mode.
7759
7760 2014-05-29 Pedro Alves <palves@redhat.com>
7761 Hui Zhu <hui@codesourcery.com>
7762
7763 PR PR15693
7764 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7765 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7766 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7767 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7768
7769 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7770
7771 * config/monitor.exp (gdb_target_monitor): Replace use of
7772 "set remotebaud" by "set serial baud".
7773
7774 2014-05-26 Andy Wingo <wingo@igalia.com>
7775
7776 * gdb.guile/scm-breakpoint.exp:
7777 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7778 properties instead of gdb-object-properties.
7779
7780 2014-05-26 Yao Qi <yao@codesourcery.com>
7781
7782 * gdb.server/no-thread-db.exp: Specify source file name
7783 explicitly when setting a breakpoint.
7784
7785 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7786
7787 * gdb.btrace/vdso.c: New.
7788 * gdb.btrace/vdso.exp: New.
7789
7790 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7791
7792 * gdb.base/gcore.exp (capture_command_output): Move ...
7793 * lib/gdb.exp (capture_command_output): ... here.
7794
7795 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7796
7797 * gdb.btrace/data.exp: Test memory access during btrace replay.
7798
7799 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7800
7801 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7802
7803 2014-05-21 Pedro Alves <palves@redhat.com>
7804
7805 PR gdb/13860
7806 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7807 (top level): Test that output related to execution commands is
7808 sent to the console with CLI commands, but not with MI commands.
7809 Test that breakpoint events are always mirrored to the console.
7810 Also expect the new source line to be output after a "next" in
7811 async mode too. Make it a pass/fail test.
7812 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7813 output.
7814 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7815
7816 2014-05-21 Pedro Alves <palves@redhat.com>
7817
7818 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7819 Use them to test variations of "list" after reaching a breakpoint.
7820 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7821 Test "list" with listsize 10 after reaching a breakpoint.
7822 * gdb.python/python.exp (decode_line current location line
7823 number): Adjust expected line number.
7824
7825 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7826
7827 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7828 behavior for $args, pass it directly to "run".
7829
7830 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7831
7832 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7833 30000 to 65536.
7834
7835 2014-05-21 Pedro Alves <palves@redhat.com>
7836
7837 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7838 auto-connect-native-target off".
7839 * gdb.base/auto-connect-native-target.c: New file.
7840 * gdb.base/auto-connect-native-target.exp: New file.
7841
7842 2014-05-21 Pedro Alves <palves@redhat.com>
7843
7844 * gdb.base/default.exp: Test "target native" instead of "target
7845 child".
7846
7847 2014-05-21 Mark Wielaard <mjw@redhat.com>
7848
7849 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7850
7851 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7852
7853 Fix TLS access for -static -pthread.
7854 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7855 <HAVE_TLS> (thread_function, main): Initialize it.
7856 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7857 Add clean_restart.
7858 <$have_tls != "">: Check TLSVAR.
7859
7860 2014-05-21 Pedro Alves <palves@redhat.com>
7861
7862 * gdb.base/dcache-line-read-error.c: New.
7863 * gdb.base/dcache-line-read-error.exp: New.
7864
7865 2014-05-20 Pedro Alves <palves@redhat.com>
7866
7867 * gdb.base/compare-sections.c: New file.
7868 * gdb.base/compare-sections.exp: New file.
7869
7870 2014-05-20 Pedro Alves <palves@redhat.com>
7871
7872 * gdb.base/break-idempotent.c: New file.
7873 * gdb.base/break-idempotent.exp: New file.
7874
7875 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7876
7877 * gdb.btrace/nohist.exp: New.
7878
7879 2014-05-20 Yao Qi <yao@codesourcery.com>
7880
7881 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7882 gdb.reverse directory and gdb_reverse_timeout exists in board
7883 setting.
7884 * README: Document gdb_reverse_timeout.
7885
7886 2014-05-20 Yao Qi <yao@codesourcery.com>
7887
7888 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7889 'test_file_name'. Treat args as a string instead of a list.
7890 (gdb_init): Rename argument 'args' by 'test_file_name'.
7891
7892 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7893
7894 * gdb.arch/powerpc-power.exp: New file.
7895 * gdb.arch/powerpc-power.s: New file.
7896
7897 2014-05-16 Doug Evans <dje@google.com>
7898
7899 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7900 * gdb.base/completion.exp: Check that all expected files exist
7901 before doing file completion.
7902
7903 2014-05-16 Doug Evans <dje@google.com>
7904
7905 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7906 Update.
7907 (do_syscall_tests_without_xml): Update.
7908
7909 2014-05-16 Pedro Alves <palves@redhat.com>
7910
7911 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7912 instead of "unknown output after running".
7913
7914 2014-05-16 Yao Qi <yao@codesourcery.com>
7915
7916 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7917 file1.txt from host at the end.
7918 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7919
7920 2014-05-15 Doug Evans <dje@google.com>
7921
7922 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7923 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7924 loading file. Add test for TU lookup.
7925
7926 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7927
7928 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7929 calling "-exec-arguments" or "set args" before running the
7930 inferior.
7931
7932 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7933
7934 * lib/mi-support.exp (mi_expect_stop): Expect message for
7935 inferiors that exit with non-zero exit code.
7936
7937 2014-05-14 Yao Qi <yao@codesourcery.com>
7938
7939 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7940 match absolute path on remote host.
7941 (test_file_list_exec_source_files): Remove "/" from the
7942 pattern.
7943
7944 2014-05-14 Yao Qi <yao@codesourcery.com>
7945
7946 * boards/local-remote-host-notty.exp (${board}_file): New
7947 proc.
7948
7949 2014-05-07 Kyle McMartin <kyle@redhat.com>
7950
7951 Pushed by Joel Brobecker <brobecker@adacore.com>.
7952 * gdb.arch/aarch64-atomic-inst.c: New file.
7953 * gdb.arch/aarch64-atomic-inst.exp: New file.
7954
7955 2014-05-07 Yao Qi <yao@codesourcery.com>
7956
7957 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7958 in current context" too.
7959
7960 2014-05-05 Keith Seitz <keiths@redhat.com>
7961
7962 * gdb.linespec/ls-dollar.exp: Add test for linespec
7963 file:convenience_variable.
7964
7965 2014-05-05 Yao Qi <yao@codesourcery.com>
7966
7967 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7968 traceframes into tfile and ctf trace files. Read data from
7969 trace file and test collected data.
7970 (gdb_collect_locals_test): Likewise.
7971 (gdb_unavailable_registers_test): Likewise.
7972 (gdb_unavailable_floats): Likewise.
7973 (gdb_collect_globals_test): Likewise.
7974 (top-level): Append "ctf" to trace_file_targets if GDB
7975 supports.
7976
7977 2014-05-05 Yao Qi <yao@codesourcery.com>
7978
7979 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7980 code to ...
7981 (gdb_collect_args_test_1): ... it. New proc.
7982 (gdb_collect_locals_test): Move some code to ...
7983 (gdb_collect_locals_test_1): ... it. New proc.
7984 (gdb_unavailable_registers_test): Move some code to ...
7985 (gdb_unavailable_registers_test_1): ... it. New proc.
7986 (gdb_unavailable_floats): Move some code to ...
7987 (gdb_unavailable_floats_1): ... it. New proc.
7988
7989 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7990
7991 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7992 probes to test for bitness recognition.
7993 * gdb.arch/amd64-stap-optional-prefix.exp
7994 (test_probe_value_without_reg): New procedure.
7995 Add code to test for different kinds of bitness.
7996
7997 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7998
7999 PR breakpoints/16889
8000 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8001 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8002
8003 2014-05-01 Pedro Alves <palves@redhat.com>
8004
8005 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8006 gdb_file_cmd if no file is specified.
8007 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8008 last_loaded_file to set the remote exec-file.
8009
8010 2014-05-01 Pedro Alves <palves@redhat.com>
8011
8012 * boards/local-remote-host.exp: New file.
8013
8014 2014-05-01 Pedro Alves <palves@redhat.com>
8015
8016 * boards/local-remote-host.exp: Rename to ...
8017 * boards/local-remote-host-notty.exp: ... this.
8018
8019 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8020
8021 * gdb.ada/dyn_arrayidx: New testcase.
8022
8023 2014-04-26 Yao Qi <yao@codesourcery.com>
8024
8025 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8026 and compute the length of function main. Save it in
8027 $main_length.
8028 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8029 (top-level): Use gdb_compile to compile objects into
8030 executable and restart GDB. Remove invocation to
8031 prepare_for_testing.
8032
8033 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8034 Pedro Alves <palves@redhat.com>
8035
8036 PR server/16255
8037 * gdb.multi/multi-attach.c: New file.
8038 * gdb.multi/multi-attach.exp: New file.
8039
8040 2014-04-25 Pedro Alves <palves@redhat.com>
8041
8042 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8043 user.
8044 (top level): Test that "set remote conditional-breakpoints-packet
8045 off" works as intended.
8046 * gdb.base/dprintf.exp: Test that "set remote
8047 breakpoint-commands-packet off" works as intended.
8048 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8049 New function.
8050 (top level): Call it.
8051 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8052 remote fast-tracepoints-packet off" works as intended.
8053 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8054 * lib/gdb.exp (gdb_is_target_remote): ... here.
8055
8056 2014-04-24 David Blaikie <dblaikie@gmail.com>
8057
8058 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8059 ensure clang would not discard them.
8060 * gdb.base/gdbvars.c: Ditto.
8061 * gdb.base/memattr.c: Ditto.
8062 * gdb.base/whatis.c: Ditto.
8063 * gdb.python/py-prettyprint.c: Ditto.
8064 * gdb.trace/actions.c: Ditto.
8065 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8066 ensure clang would not discard it.
8067
8068 2014-04-24 David Blaikie <dblaikie@gmail.com>
8069
8070 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8071 clang to emit the full definition of type required by the test
8072 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8073
8074 2014-04-24 David Blaikie <dblaikie@gmail.com>
8075
8076 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8077 coax Clang into emitting the definition of the type.
8078 * gdb.cp/pr10728-x.h (y): Ditto.
8079 * gdb.cp/pr10728-y.cc (y): Ditto.
8080
8081 2014-04-24 David Blaikie <dblaikie@gmail.com>
8082
8083 * gdb.base/label.exp: XFAIL label related tests under Clang.
8084 * gdb.cp/cplabel.exp: Ditto.
8085 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8086 under Clang those using labels.
8087
8088 2014-04-25 Yao Qi <yao@codesourcery.com>
8089
8090 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8091 double_label.
8092 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8093 partial_label and double_label.
8094
8095 2014-04-24 David Blaikie <dblaikie@gmail.com>
8096
8097 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8098
8099 2014-04-24 David Blaikie <dblaikie@gmail.com>
8100
8101 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8102 of the function to work across GCC and Clang.
8103 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8104 pointer types (const void ** const V void **).
8105
8106 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8107 Walfred Tedeschi <walfred.tedeschi@intel.com>
8108
8109 * Makefile.in (EXECUTABLES): Added i386-avx512.
8110 * gdb.arch/i386-avx512.c: New file.
8111 * gdb.arch/i386-avx512.exp: Likewise.
8112
8113 2014-04-23 Keith Seitz <keiths@redhat.com>
8114
8115 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8116 (mi_make_breakpoint_table): New procedure.
8117 (mi_create_breakpoint): Use mi_make_breakpoint
8118 and return the result.
8119 (mi_make_breakpoint): New procedure.
8120 (mi_build_kv_pairs): New procedure.
8121
8122 * gdb.mi/mi-break.exp: Remove unused globals,
8123 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8124 All callers updated.
8125 * gdb.mi/mi-dprintf.exp: Use variable to track command
8126 number.
8127 Update all callers of mi_create_breakpoint and use
8128 mi_make_breakpoint_table.
8129 Remove any unused global variables.
8130 * gdb.mi/mi-nonstop.exp: Likewise.
8131 * gdb.mi/mi-nsintrall.exp: Likewise.
8132 * gdb.mi/mi-nsmoribund.exp: Likewise.
8133 * gdb.mi/mi-nsthrexec.exp: Likewise.
8134 * gdb.mi/mi-reverse.exp: Likewise.
8135 * gdb.mi/mi-simplerun.exp: Likewise.
8136 * gdb.mi/mi-stepn.exp: Likewise.
8137 * gdb.mi/mi-syn-frame.exp: Likewise.
8138 * gdb.mi/mi-until.exp: Likewise.
8139 * gdb.mi/mi-var-cp.exp: Likewise.
8140 * gdb.mi/mi-var-display.exp: Likewise.
8141 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8142 * gdb.mi/mi2-var-child.exp: Likewise.
8143 * gdb.mi/mi-vla-c99.exp: Likewise.
8144 * lib/mi-support.exp: Likewise.
8145
8146 From Ian Lance Taylor <iant@cygnus.com>:
8147 * lib/gdb.exp (parse_args): New procedure.
8148
8149 2014-04-23 Pedro Alves <palves@redhat.com>
8150
8151 * gdb.base/break-unload-file.c: New file.
8152 * gdb.base/break-unload-file.exp: New file.
8153 * gdb.base/sym-file-lib.c (baz): New function.
8154 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8155 field.
8156 (load): Store the segment's mapped size.
8157 (unload): New function.
8158 (unload_shlib): New function.
8159 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8160 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8161 set a breakpoint at baz, and call it.
8162 * gdb.base/sym-file.exp: New tests for stale breakpoint
8163 instructions.
8164
8165 2014-04-23 Pedro Alves <palves@redhat.com>
8166
8167 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8168 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8169 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8170 * gdb.base/hbreak-unmapped.c: New file.
8171 * gdb.base/hbreak-unmapped.exp: New file.
8172 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8173 * lib/gdb.exp (gdb_is_target_remote): ... here.
8174
8175 2014-04-22 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/consecutive-step-over.c: New file.
8178 * gdb.base/consecutive-step-over.exp: New file.
8179
8180 2014-04-22 Pedro Alves <palves@redhat.com>
8181
8182 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8183 instead of send_gdb/gdb_expect.
8184
8185 2014-04-22 Yao Qi <yao@codesourcery.com>
8186
8187 * lib/trace-support.exp (generate_tracefile): New procedure.
8188 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8189 return 0.
8190 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8191 if generate_tracefile returns 1.
8192
8193 2014-04-18 Tom Tromey <palves@redhat.com>
8194 Pedro alves <tromey@redhat.com>
8195
8196 PR backtrace/15558
8197 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8198 with a backtrace limit.
8199 * gdb.python/py-frame-inline.exp: Test running to an inline
8200 function with a backtrace limit, and printing the newest frame.
8201 * gdb.python/py-frame-inline.c (main): Call f.
8202
8203 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8204
8205 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8206
8207 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8208
8209 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8210 Drop prefix from unsupported source file path.
8211
8212 2014-04-17 Yao Qi <yao@codesourcery.com>
8213
8214 * lib/gdb.exp (with_target_charset): New proc.
8215 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8216 with_target_charset.
8217 (test_print_strings): Likewise.
8218 (test_repeat_bytes): Likewise.
8219 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8220 for some tests.
8221
8222 2014-04-16 Keith Seitz <keiths@redhat.com>
8223
8224 PR gdb/15827
8225 * gdb.dwarf2/corrupt.c: New file.
8226 * gdb.dwarf2/corrupt.exp: New file.
8227
8228 2014-04-16 Keith Seitz <keiths@redhat.com>
8229
8230 PR c++/16597
8231 * gdb.cp/namelessclass.cc: New file.
8232 * gdb.cp/namelessclass.exp: New file.
8233 * gdb.cp/namelessclass.S: New file.
8234
8235 2014-04-16 Doug Evans <dje@google.com>
8236
8237 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8238 Add comment.
8239 (gdbserver_default_get_comm_port): New function.
8240 (gdbserver_start): Check if board file provided
8241 "gdbserver,get_comm_port" and use it if so.
8242 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8243 (gdb,socketport): Set to "stdio".
8244 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8245 (stdio_gdbserver_template): Delete.
8246 (${board}_get_remote_address): Update.
8247 (${board}_build_remote_cmd): Delete.
8248 (${board}_get_comm_port): New function.
8249 (${board}_spawn): Update.
8250 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8251 Delete.
8252 (${board}_get_remote_address): Update.
8253 (${board}_get_comm_port): New function.
8254
8255 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8256
8257 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8258 appearing in any order.
8259
8260 2014-04-15 Doug Evans <dje@google.com>
8261
8262 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8263 uninitialized value of "description".
8264
8265 2014-04-15 Keith Seitz <keiths@redhat.com>
8266
8267 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8268 Remove unused globals.
8269 (test_running_the_program): Likewise.
8270 (test_controlled_execution): Likewise.
8271 (test_controlling_breakpoints): Likewise.
8272 (test_program_termination): Likewise.
8273
8274 2014-04-15 Keith Seitz <keiths@redhat.com>
8275
8276 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8277 unused globals.
8278 (test_rbreak_creation_and_listing): Likewise.
8279 (test_ignore_count): Likewise.
8280 (test_error): Likewise.
8281
8282 2014-04-15 Pedro Alves <palves@redhat.com>
8283
8284 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8285 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8286 sym-file-loader.c.
8287 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8288 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8289 to sym-file-loader.c.
8290 (struct library): Forward declare.
8291 (load_shlib, lookup_function): Change prototypes.
8292 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8293 (translate_offset): Remove declarations.
8294 (get_text_addr): New declaration.
8295 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8296 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8297 sym-file-loader.h.
8298 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8299 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8300 here from sym-file-loader.h.
8301 (struct library): New structure.
8302 (load_shlib, lookup_function): Change prototypes and adjust to
8303 work with a struct library.
8304 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8305 (translate_offset): Make static.
8306 (get_text_addr): New function.
8307 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8308
8309 2014-04-15 Pedro Alves <palves@redhat.com>
8310
8311 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8312
8313 2014-04-15 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.base/sym-file-loader.c: Include <limits.h>.
8316 (SELF_LINK): New define.
8317 (get_origin): New function.
8318 (load_shlib): Use it.
8319 * gdb.base/sym-file.exp: Don't early return if the target is
8320 remote. Use runto_main, and issue fail is that fails. Use
8321 gdb_load_shlibs.
8322 (shlib_name): Delete.
8323 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8324
8325 2014-04-15 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.base/sym-file.exp: Remove regex characters from test
8328 message. Don't refer to breakpoint numbers in test messages.
8329
8330 2014-04-14 Keith Seitz <keiths@redhat.com>
8331
8332 PR c++/16253
8333 * gdb.cp/var-tag.cc: New file.
8334 * gdb.cp/var-tag.exp: New file.
8335 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8336 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8337 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8338 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8339
8340 2014-04-14 Tom Tromey <tromey@redhat.com>
8341
8342 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8343 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8344 type.
8345 * gdb.cp/enum-class.exp: New file.
8346 * gdb.cp/enum-class.cc: New file.
8347
8348 2014-04-14 Tom Tromey <tromey@redhat.com>
8349
8350 * gdb.dwarf2/enum-type.exp: New file.
8351
8352 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8353
8354 * gdb.mi/mi-vla-c99.exp: New file.
8355 * gdb.mi/vla.c: New file.
8356
8357 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8358
8359 * gdb.base/vla-datatypes.c: New file.
8360 * gdb.base/vla-datatypes.exp: New file.
8361
8362 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8363
8364 * gdb.base/vla-ptr.c: New file.
8365 * gdb.base/vla-ptr.exp: New file.
8366
8367 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8368
8369 * gdb.dwarf2/count.exp: New file.
8370
8371 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8372
8373 * gdb.base/vla-sideeffect.c: New file.
8374 * gdb.base/vla-sideeffect.exp: New file.
8375
8376 2014-04-14 David Blaikie <dblaikie@gmail.com>
8377
8378 * gdb.mi/non-stop.c: Add return value for non-void function return
8379 statement.
8380 * gdb.threads/staticthreads.c: Ditto.
8381
8382 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8383 Doug Evans <xdje42@gmail.com>
8384
8385 * gdb.guile/scm-value.c: Improve test case.
8386 * gdb.guile/scm-value.exp: Add new test.
8387
8388 2014-04-11 David Blaikie <dblaikie@gmail.com>
8389
8390 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8391 override Clang's default.
8392
8393 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8394
8395 Revert the following changes (regressions):
8396
8397 * gdb.base/vla-sideeffect.c: New file.
8398 * gdb.base/vla-sideeffect.exp: New file.
8399
8400 * gdb.dwarf2/count.exp: New file.
8401
8402 * gdb.base/vla-multi.c: New file.
8403 * gdb.base/vla-multi.exp: New file.
8404
8405 * gdb.base/vla-ptr.c: New file.
8406 * gdb.base/vla-ptr.exp: New file.
8407
8408 * gdb.base/vla-datatypes.c: New file.
8409 * gdb.base/vla-datatypes.exp: New file.
8410
8411 * gdb.mi/mi-vla-c99.exp: New file.
8412 * gdb.mi/vla.c: New file.
8413
8414 2014-04-11 Keith Seitz <keiths@redhat.com>
8415
8416 PR c++/16675
8417 * gdb.cp/cpsizeof.exp: New file.
8418 * gdb.cp/cpsizeof.cc: New file.
8419
8420 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8421
8422 * gdb.mi/mi-vla-c99.exp: New file.
8423 * gdb.mi/vla.c: New file.
8424
8425 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8426
8427 * gdb.base/vla-datatypes.c: New file.
8428 * gdb.base/vla-datatypes.exp: New file.
8429
8430 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8431
8432 * gdb.base/vla-ptr.c: New file.
8433 * gdb.base/vla-ptr.exp: New file.
8434
8435 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8436
8437 * gdb.base/vla-multi.c: New file.
8438 * gdb.base/vla-multi.exp: New file.
8439
8440 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8441
8442 * gdb.dwarf2/count.exp: New file.
8443
8444 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8445
8446 * gdb.base/vla-sideeffect.c: New file.
8447 * gdb.base/vla-sideeffect.exp: New file.
8448
8449 2014-04-11 Yao Qi <yao@codesourcery.com>
8450
8451 * gdb.base/completion.exp: Check file exists before running tests
8452 on file completion.
8453
8454 2014-04-10 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.base/cond-eval-mode.c: New file.
8457 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8458 prepare_for_testing to build the new file. Check result of
8459 runto_main.
8460 (test_break, test_watch): New procedures.
8461 (top level): Use them.
8462
8463 2014-04-08 Pierre Muller <muller@sourceware.org>
8464
8465 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8466 Ctrl-V use for mingw hosts.
8467
8468 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8469
8470 * gdb.python/py-value.c: Improve test case.
8471 * gdb.python/py-value.exp: Add new test.
8472
8473 2014-04-07 David Blaikie <dblaikie@gmail.com>
8474
8475 * lib/compiler.c: Identify the clang compiler.
8476 * lib/compiler.cc: Ditto.
8477
8478 2014-04-03 Yao Qi <yao@codesourcery.com>
8479
8480 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8481
8482 2014-04-01 Anton Blanchard <anton@samba.org>
8483
8484 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8485 messages unique.
8486
8487 2014-04-01 Anton Blanchard <anton@samba.org>
8488
8489 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8490 prepare_for_testing.
8491
8492 2014-04-01 Anton Blanchard <anton@samba.org>
8493
8494 * gdb.arch/ppc64-atomic-inst.c: Remove.
8495 * gdb.arch/ppc64-atomic-inst.S: New file.
8496 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8497
8498 2014-03-31 Doug Evans <dje@google.com>
8499
8500 * gdb.base/print-symbol-loading-lib.c: New file.
8501 * gdb.base/print-symbol-loading-main.c: New file.
8502 * gdb.base/print-symbol-loading.exp: New file.
8503
8504 2014-03-31 Yao Qi <yao@codesourcery.com>
8505
8506 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8507
8508 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8509
8510 * gdb.ada/mi_dyn_arr: New testcase.
8511
8512 2014-03-27 Doug Evans <dje@google.com>
8513
8514 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8515
8516 2014-03-27 Yao Qi <yao@codesourcery.com>
8517
8518 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8519 if target is nios2-*-*.
8520
8521 2014-03-26 Yao Qi <yao@codesourcery.com>
8522
8523 * lib/gdb.exp (readline_is_used): New proc.
8524 * gdb.base/completion.exp: Move tests on command complete up.
8525 Skip the rest of tests if readline is not used.
8526 * gdb.ada/complete.exp: Skp the test if readline is not
8527 used.
8528 * gdb.base/filesym.exp: Likewise.
8529 * gdb.base/macscp.exp: Likewise.
8530 * gdb.base/readline-ask.exp: Likewise.
8531 * gdb.base/readline.exp: Likewise.
8532 * gdb.python/py-cmd.exp: Likewise.
8533 * gdb.trace/tfile.exp: Likewise.
8534
8535 2014-03-26 Yao Qi <yao@codesourcery.com>
8536
8537 * gdb.base/macscp.exp: Fix code format issues.
8538
8539 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8540
8541 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8542 * gdb.asm/powerpc64le.inc: New file.
8543
8544 2014-03-25 Pedro Alves <palves@redhat.com>
8545 Doug Evans <dje@google.com>
8546
8547 * gdb.base/source-execution.c: New file.
8548 * gdb.base/source-execution.exp: New file.
8549 * gdb.base/source-execution.gdb: New file.
8550
8551 2014-03-24 Doug Evans <dje@google.com>
8552
8553 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8554 using fission.
8555
8556 2014-03-24 Hui Zhu <hui@codesourcery.com>
8557 Pedro Alves <palves@redhat.com>
8558
8559 PR breakpoints/16101
8560 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8561 test pass/fail messages. Detect missing support for dprintf when
8562 breakpoints are actually inserted.
8563 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8564 breakpoints are actually inserted.
8565 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8566 fails.
8567
8568 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8569
8570 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8571
8572 2014-03-22 Doug Evans <xdje42@gmail.com>
8573
8574 * gdb.python/python.exp (python not supported): Verify multi-line
8575 python command issues an error.
8576 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8577 guile command issues an error.
8578
8579 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8580
8581 * gdb.threads/thread-specific.exp: Handle the lack of usable
8582 $this_breakpoint and $this_thread.
8583
8584 2014-03-21 Hui Zhu <hui@codesourcery.com>
8585
8586 * gdb.base/attach.exp (do_command_attach_tests): New.
8587
8588 2014-03-20 Tom Tromey <tromey@redhat.com>
8589 Pedro Alves <palves@redhat.com>
8590
8591 PR cli/15718
8592 * gdb.base/condbreak-call-false.c: New file.
8593 * gdb.base/condbreak-call-false.exp: New file.
8594
8595 2014-03-20 Pedro Alves <palves@redhat.com>
8596
8597 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8598 Delete.
8599 (block_signals, unblock_signals): Delete.
8600 (child_function_2, main): Remove references to deleted variable
8601 and functions.
8602
8603 2014-03-20 Pedro Alves <palves@redhat.com>
8604
8605 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8606 Use pthread_kill to signal thread 2.
8607 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8608 Adjust to make the test send itself a signal rather than using the
8609 host's "kill" command.
8610
8611 2014-03-20 Pedro Alves <palves@redhat.com>
8612
8613 * gdb.threads/multiple-step-overs.c: New file.
8614 * gdb.threads/multiple-step-overs.exp: New file.
8615 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8616 Adjust expected infrun debug output.
8617
8618 2014-03-20 Pedro Alves <palves@redhat.com>
8619
8620 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8621 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8622
8623 2014-03-20 Pedro Alves <palves@redhat.com>
8624
8625 PR breakpoints/7143
8626 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8627 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8628 of gdb_test_multiple.
8629 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8630 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8631
8632 2014-03-20 Pedro Alves <palves@redhat.com>
8633
8634 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8635 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8636
8637 2014-03-19 Pedro Alves <palves@redhat.com>
8638
8639 * gdb.base/async.exp: Remove early return.
8640
8641 2014-03-19 Pedro Alves <palves@redhat.com>
8642
8643 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8644
8645 2014-03-19 Pedro Alves <palves@redhat.com>
8646
8647 * gdb.base/async.exp (test_background): Expect \r\n after
8648 "completed." in the fail pattern.
8649
8650 2014-03-19 Pedro Alves <palves@redhat.com>
8651
8652 * gdb.base/async.exp (test_background): New procedure.
8653 Use it for all background execution command tests.
8654
8655 2014-03-19 Pedro Alves <palves@redhat.com>
8656
8657 * gdb.base/async.exp: Use prepare_for_testing.
8658
8659 2014-03-19 Pedro Alves <palves@redhat.com>
8660
8661 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8662 the same line.
8663
8664 2014-03-19 Pedro Alves <palves@redhat.com>
8665
8666 * gdb.base/async.c (main): Add "jump here" and "until here" line
8667 marker comments.
8668 * gdb.base/async.exp (jump_here): New global.
8669 (jump& test): Use it.
8670 (until_here): New global.
8671 (until& test): Use it.
8672
8673 2014-03-19 Pedro Alves <palves@redhat.com>
8674
8675 * gdb.base/async.exp: Don't frob gdb_protocol.
8676
8677 2014-03-18 Doug Evans <xdje42@gmail.com>
8678
8679 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8680 Fix spelling of exec-done-display.
8681
8682 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8683
8684 PR gdb/15358
8685 * gdb.base/gdb-sigterm.c: New file.
8686 * gdb.base/gdb-sigterm.exp: New file.
8687
8688 2014-03-18 Pedro Alves <palves@redhat.com>
8689
8690 PR gdb/13860
8691 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8692 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8693 solib-event.
8694
8695 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8696
8697 * gdb.ada/pckd_arr_ren: New testcase.
8698
8699 2014-03-13 Doug Evans <xdje42@gmail.com>
8700
8701 PR guile/16612
8702 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8703 collect after discarding symbols.
8704
8705 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8706 Doug Evans <xdje42@gmail.com>
8707
8708 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8709 to history survives a gc.
8710
8711 2014-03-13 Pedro Alves <palves@redhat.com>
8712
8713 * gdb.base/default.exp: Don't test "target procfs".
8714
8715 2014-03-13 Pedro Alves <palves@redhat.com>
8716
8717 * gdb.base/default.exp: Update "target child" and "target procfs"
8718 tests to not expect "Unix".
8719
8720 2014-03-12 Tom Tromey <tromey@redhat.com>
8721
8722 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8723 New procs. Add target-async tests.
8724 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8725 Add target-async tests.
8726
8727 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8728
8729 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8730 'func_start' and 'func_end' for the beginning and end of the
8731 function code, respectively.
8732 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8733 'func_end' instead of 'func' and 'main'.
8734
8735 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8736
8737 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8738 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8739 generate the debug info assembler source.
8740
8741 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8742
8743 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8744 * gdb.dwarf2/arr-subrange.exp: Likewise.
8745 * gdb.dwarf2/dwz.exp: Likewise.
8746 * gdb.dwarf2/method-ptr.exp: Likewise.
8747 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8748 * gdb.dwarf2/subrange.exp: Likewise.
8749 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8750 * gdb.dwarf2/implptrpiece.exp: Likewise.
8751 * gdb.dwarf2/nostaticblock.exp: Likewise.
8752
8753 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8754
8755 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8756 directory to absolute path name arguments.
8757
8758 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8759
8760 * gdb.ada/tagged_access: New testcase.
8761
8762 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8763
8764 * gdb.btrace/data.exp: Update expected output.
8765
8766 2014-03-06 Yao Qi <yao@codesourcery.com>
8767
8768 * gdb.trace/pr16508.exp: New file.
8769
8770 2014-03-05 Pedro Alves <palves@redhat.com>
8771
8772 PR gdb/16575
8773 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8774 procedure.
8775 (top level): Adjust to use it. Add tests that exercise breakpoint
8776 interaction with the code-cache.
8777
8778 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8779
8780 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8781 test for 'history-append!'.
8782
8783 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8784
8785 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8786 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8787 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8788 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8789 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8790 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8791
8792 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8793
8794 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8795 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8796 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8797
8798 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8799
8800 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8801
8802 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8803
8804 * gdb.dwarf2/arr-stride.c: New file.
8805 * gdb.dwarf2/arr-stride.exp: New file.
8806
8807 2014-02-26 Pedro Alves <palves@redhat.com>
8808
8809 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8810 that won't ever trigger. Make sure that GDB reports the correct
8811 breakpoint that caused the stop.
8812
8813 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8814
8815 PR gdb/16626
8816 * gdb.base/auto-load-script: New file.
8817 * gdb.base/auto-load.c: New file.
8818 * gdb.base/auto-load.exp: New file.
8819
8820 PR gdb/16626
8821 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8822
8823 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8824
8825 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8826 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8827
8828 2014-02-24 Doug Evans <dje@google.com>
8829
8830 * lib/gdb.exp (run_on_host): Log error output if program fails.
8831
8832 2014-02-21 Pedro Alves <palves@redhat.com>
8833
8834 * gdb.threads/step-after-sr-lock.c: Rename to ...
8835 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8836 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8837 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8838 ... this.
8839
8840 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8841
8842 PR tdep/16397
8843 * gdb.arch/amd64-stap-special-operands.exp: New file.
8844 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8845 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8846 * gdb.arch/amd64-stap-triplet.S: Likewise.
8847 * gdb.arch/amd64-stap-triplet.c: Likewise.
8848
8849 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8850
8851 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8852 in .section pseudo-op.
8853
8854 2014-02-20 lin zuojian <manjian2006@gmail.com>
8855 Joel Brobecker <brobecker@adacore.com>
8856 Doug Evans <xdje42@gmail.com>
8857
8858 PR symtab/16581
8859 * gdb.dwarf2/dw2-icycle.S: New file.
8860 * gdb.dwarf2/dw2-icycle.c: New file.
8861 * gdb.dwarf2/dw2-icycle.exp: New file.
8862
8863 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8864
8865 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8866 operations on gdb.Value objects.
8867 * gdb.python/py-value-cc.exp: Add new test to test operations on
8868 gdb.Value objects.
8869
8870 2014-02-18 Doug Evans <dje@google.com>
8871
8872 * Makefile.in (TESTS): New variable.
8873 (expanded_tests, expanded_tests_or_none): New variables
8874 (check-single): Pass $(expanded_tests_or_none) to runtest.
8875 (check-parallel): Only run tests in $(TESTS) if non-empty.
8876 (check/no-matching-tests-found): New rule.
8877 * README: Document TESTS makefile variable.
8878
8879 2014-02-18 Doug Evans <dje@google.com>
8880
8881 * Makefile.in (check-parallel): rm -rf outputs temp.
8882
8883 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8884
8885 Fix "ERROR: no fileid for" in the testsuite.
8886 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8887
8888 2014-02-12 Doug Evans <dje@google.com>
8889
8890 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8891 (MISCELLANEOUS): New variable.
8892 (clean): rm -rf $(MISCELLANEOUS).
8893 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8894 dwp live in the same directory as symlinks, with each symlink pointed
8895 to a differently named file in a different directory.
8896
8897 2014-02-11 Doug Evans <dje@google.com>
8898
8899 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8900 of Tcl file commands.
8901
8902 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8903
8904 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8905 "kill -SIGUSR1 -1".
8906
8907 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8908
8909 * gdb.ada/tick_length_array_enum_idx: New testcase.
8910
8911 2014-02-10 Doug Evans <xdje42@gmail.com>
8912
8913 * configure.ac (AC_OUTPUT): Add gdb.guile.
8914 * configure: Regenerate.
8915 * lib/gdb-guile.exp: New file.
8916 * lib/gdb.exp (get_target_charset): New function.
8917 * gdb.base/help.exp: Update expected output from "apropos apropos".
8918 * gdb.guile/Makefile.in: New file.
8919 * gdb.guile/guile.exp: New file.
8920 * gdb.guile/scm-arch.c: New file.
8921 * gdb.guile/scm-arch.exp: New file.
8922 * gdb.guile/scm-block.c: New file.
8923 * gdb.guile/scm-block.exp: New file.
8924 * gdb.guile/scm-breakpoint.c: New file.
8925 * gdb.guile/scm-breakpoint.exp: New file.
8926 * gdb.guile/scm-disasm.c: New file.
8927 * gdb.guile/scm-disasm.exp: New file.
8928 * gdb.guile/scm-equal.c: New file.
8929 * gdb.guile/scm-equal.exp: New file.
8930 * gdb.guile/scm-error.exp: New file.
8931 * gdb.guile/scm-error.scm: New file.
8932 * gdb.guile/scm-frame-args.c: New file.
8933 * gdb.guile/scm-frame-args.exp: New file.
8934 * gdb.guile/scm-frame-args.scm: New file.
8935 * gdb.guile/scm-frame-inline.c: New file.
8936 * gdb.guile/scm-frame-inline.exp: New file.
8937 * gdb.guile/scm-frame.c: New file.
8938 * gdb.guile/scm-frame.exp: New file.
8939 * gdb.guile/scm-generics.exp: New file.
8940 * gdb.guile/scm-gsmob.exp: New file.
8941 * gdb.guile/scm-iterator.c: New file.
8942 * gdb.guile/scm-iterator.exp: New file.
8943 * gdb.guile/scm-math.c: New file.
8944 * gdb.guile/scm-math.exp: New file.
8945 * gdb.guile/scm-objfile-script-gdb.in: New file.
8946 * gdb.guile/scm-objfile-script.c: New file.
8947 * gdb.guile/scm-objfile-script.exp: New file.
8948 * gdb.guile/scm-objfile.c: New file.
8949 * gdb.guile/scm-objfile.exp: New file.
8950 * gdb.guile/scm-ports.exp: New file.
8951 * gdb.guile/scm-pretty-print.c: New file.
8952 * gdb.guile/scm-pretty-print.exp: New file.
8953 * gdb.guile/scm-pretty-print.scm: New file.
8954 * gdb.guile/scm-section-script.c: New file.
8955 * gdb.guile/scm-section-script.exp: New file.
8956 * gdb.guile/scm-section-script.scm: New file.
8957 * gdb.guile/scm-symbol.c: New file.
8958 * gdb.guile/scm-symbol.exp: New file.
8959 * gdb.guile/scm-symtab-2.c: New file.
8960 * gdb.guile/scm-symtab.c: New file.
8961 * gdb.guile/scm-symtab.exp: New file.
8962 * gdb.guile/scm-type.c: New file.
8963 * gdb.guile/scm-type.exp: New file.
8964 * gdb.guile/scm-value-cc.cc: New file.
8965 * gdb.guile/scm-value-cc.exp: New file.
8966 * gdb.guile/scm-value.c: New file.
8967 * gdb.guile/scm-value.exp: New file.
8968 * gdb.guile/source2.scm: New file.
8969 * gdb.guile/types-module.cc: New file.
8970 * gdb.guile/types-module.exp: New file.
8971
8972 2014-02-10 Yao Qi <yao@codesourcery.com>
8973
8974 PR testsuite/16543
8975 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8976 * configure: Regenerated.
8977 * Makefile.in: New file.
8978
8979 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8980
8981 * gdb.python/py-framefilter.exp: Fix typo.
8982
8983 2014-02-08 Yao Qi <yao@codesourcery.com>
8984
8985 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8986 that no =breakpoint-modified is emitted when breakpoints are
8987 modified through MI commands.
8988
8989 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8990 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.threads/step-after-sr-lock.c: New file.
8993 * gdb.threads/step-after-sr-lock.exp: New file.
8994
8995 2014-02-07 Pedro Alves <palves@redhat.com>
8996
8997 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8998
8999 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9000
9001 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9002 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9003
9004 2014-02-06 Doug Evans <xdje42@gmail.com>
9005
9006 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9007 output.
9008
9009 * gdb.gdb/python-interrupts.exp: New file.
9010
9011 2014-02-05 Yao Qi <yao@codesourcery.com>
9012
9013 * gdb.trace/report.exp (use_collected_data): Test the output
9014 of "info threads" and "info inferiors".
9015
9016 2014-02-05 Yao Qi <yao@codesourcery.com>
9017
9018 Revert this patch:
9019
9020 2013-05-24 Yao Qi <yao@codesourcery.com>
9021
9022 * gdb.trace/tfile.exp: Test inferior and thread.
9023
9024 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9025
9026 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9027 on a function.
9028 * gdb.base/step-bt.c: Call hello via function pointer to make
9029 sure its first instruction is executed on powerpc64le-linux.
9030
9031 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9032
9033 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9034
9035 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9036
9037 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9038 of the test patterns for use on little-endian systems.
9039
9040 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9041
9042 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9043 (decimal_vector): Fix for little-endian.
9044
9045 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9046
9047 * gdb.arch/sparc-sysstep.exp: New file.
9048 * gdb.arch/sparc-sysstep.c: Likewise.
9049
9050 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9051
9052 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9053
9054 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9055
9056 2014-01-23 Tom Tromey <tromey@redhat.com>
9057
9058 * gdb.ada/array_char_idx: New testcase.
9059
9060 2014-01-23 Tom Tromey <tromey@redhat.com>
9061
9062 PR python/16487:
9063 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9064 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9065 classes.
9066
9067 2014-01-23 Tom Tromey <tromey@redhat.com>
9068
9069 PR python/16491:
9070 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9071 string from an inferior frame.
9072 * gdb.python/py-framefilter-mi.exp: Update.
9073
9074 2014-01-22 Doug Evans <dje@google.com>
9075
9076 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9077
9078 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9079
9080 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9081
9082 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9083
9084 * gdb.trace/entry-values.exp: Remove excess space character from
9085 regex patterns. Handle s390 call instruction.
9086
9087 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9088
9089 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9090 define "*_start" label. Make "name" static.
9091 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9092 ${name} by references to ${name}_start.
9093
9094 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9095
9096 * gdb.base/info-macros.exp: Remove "debug" from the compile
9097 options.
9098
9099 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9100
9101 * gdb.dlang/demangle.exp: New file.
9102
9103 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9104
9105 * gdb.dlang/primitive-types.exp: New file.
9106
9107 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9108
9109 * configure.ac: Create gdb.dlang/Makefile.
9110 * configure: Regenerate.
9111 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9112 * gdb.dlang/Makefile.in: New file.
9113 * lib/d-support.exp: New file.
9114 * lib/gdb.exp (skip_d_tests): New proc.
9115
9116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9117
9118 * gdb.btrace/delta.exp: Check reverse stepi.
9119 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9120 * gdb.btrace/finish.exp: New.
9121 * gdb.btrace/next.exp: New.
9122 * gdb.btrace/nexti.exp: New.
9123 * gdb.btrace/record_goto.c: Add comments.
9124 * gdb.btrace/step.exp: New.
9125 * gdb.btrace/stepi.exp: New.
9126 * gdb.btrace/multi-thread-step.c: New.
9127 * gdb.btrace/multi-thread-step.exp: New.
9128 * gdb.btrace/rn-dl-bind.c: New.
9129 * gdb.btrace/rn-dl-bind.exp: New.
9130 * gdb.btrace/data.c: New.
9131 * gdb.btrace/data.exp: New.
9132 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9133
9134 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9135
9136 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9137 * gdb.btrace/exception.exp: Update.
9138 * gdb.btrace/instruction_history.exp: Update.
9139 * gdb.btrace/record_goto.exp: Update.
9140 * gdb.btrace/tailcall.exp: Update.
9141 * gdb.btrace/unknown_functions.exp: Update.
9142 * gdb.btrace/delta.exp: New.
9143
9144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9145
9146 * gdb.btrace/record_goto.exp: Add backtrace test.
9147 * gdb.btrace/tailcall.exp: Add backtrace test.
9148
9149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9150
9151 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9152 * gdb.btrace/record_goto.c: New.
9153 * gdb.btrace/record_goto.exp: New.
9154 * gdb.btrace/x86-record_goto.S: New.
9155
9156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9157
9158 * gdb.btrace/function_call_history.exp: Update tests.
9159 * gdb.btrace/instruction_history.exp: Update tests.
9160
9161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9162
9163 * gdb.btrace/function_call_history.exp: Fix expected field
9164 order for "record function-call-history".
9165 Add new tests for "record function-call-history /c".
9166 * gdb.btrace/exception.cc: New.
9167 * gdb.btrace/exception.exp: New.
9168 * gdb.btrace/tailcall.exp: New.
9169 * gdb.btrace/x86-tailcall.S: New.
9170 * gdb.btrace/x86-tailcall.c: New.
9171 * gdb.btrace/unknown_functions.c: New.
9172 * gdb.btrace/unknown_functions.exp: New.
9173 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9174
9175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9176
9177 * gdb.btrace/instruction_history.exp: Update.
9178 * gdb.btrace/function_call_history.exp: Update.
9179
9180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9181
9182 * gdb.btrace/function_call_history.exp: Fix expected function
9183 trace.
9184 * gdb.btrace/instruction_history.exp: Initialize traced.
9185 Remove traced_functions.
9186
9187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9188
9189 * gdb.btrace/function_call_history.exp: Update
9190 * gdb.btrace/instruction_history.exp: Update.
9191
9192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9193
9194 * gdb.btrace/enable.exp: Update expected text.
9195
9196 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9197
9198 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9199 bytes.
9200
9201 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9202
9203 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9204
9205 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9206
9207 * lib/gdb.exp (supports_process_record): Return true for
9208 arm*-linux*. (supports_reverse): Likewise.
9209
9210 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9211
9212 PR python/15464
9213 PR python/16113
9214 * gdb.python/py-type.c: Enhance test case.
9215 * gdb.python/py-value-cc.cc: Likewise
9216 * gdb.python/py-type.exp: Add new tests.
9217 * gdb.python/py-value-cc.exp: Likewise
9218
9219 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9220 Pedro Alves <palves@redhat.com>
9221
9222 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9223 Make "name" extern.
9224 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9225 references to ${name}_start by references to ${name}.
9226
9227 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9228
9229 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9230
9231 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9232
9233 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9234
9235 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9236 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.mi/mi-info-os.exp: Connect to the target with
9239 mi_gdb_target_load.
9240
9241 2014-01-08 Pedro Alves <palves@redhat.com>
9242
9243 * gdb.threads/reconnect-signal.c: New file.
9244 * gdb.threads/reconnect-signal.exp: New file.
9245
9246 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9247
9248 * gdb.base/source-dir.exp: New file.
9249
9250 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9251
9252 * gdb.ada/mi_interface: New testcase.
9253
9254 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9255
9256 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9257 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9258 gdb.ada/pp-rec-component/pck.ads: New files.
9259
9260 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9261
9262 * gdb.python/py-pp-integral.c: New file.
9263 * gdb.python/py-pp-integral.py: New file.
9264 * gdb.python/py-pp-integral.exp: New file.
9265
9266 For older changes see ChangeLog-1993-2013.
9267 \f
9268 ;; Local Variables:
9269 ;; mode: change-log
9270 ;; left-margin: 8
9271 ;; fill-column: 74
9272 ;; version-control: never
9273 ;; End:
9274
9275 Copyright 2014-2016 Free Software Foundation, Inc.
9276 Copying and distribution of this file, with or without modification,
9277 are permitted provided the copyright notice and this notice are preserved.
This page took 0.246244 seconds and 4 git commands to generate.