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