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