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