Fix PR12616 - gdb does not implement DW_AT_data_bit_offset
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
da5b30da
AA
12016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 PR gdb/12616
4 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5 respects the DW_AT_data_bit_offset attribute.
6
b593ecca
SM
72016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8
9 * gdb.base/default.exp: Fix output of "set language".
10
3b165252
SM
112016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12
13 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15 make.
16 * configure.ac: Remove checks for the make program.
17 * configure: Re-generate.
18
1a2f3d7f
KB
192016-11-16 Kevin Buettner <kevinb@redhat.com>
20
21 * gdb.python/py-recurse-unwind.c (main): Add loop.
22 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
23 to read_register() and gdb.parse_and_eval(). Make each code
24 call a separate case that can be individually tested.
25 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
26 proc. Call cont_and_backtrace for each of the code paths that
27 we want to test in the unwinder.
28
b7f38fda
AA
292016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
30
31 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
32 the definition of struct S.
33
1f8db343
CM
342016-11-11 Catherine Moore <clm@codesourcery.com>
35
36 * gdb.base/dump.exp: Identify verilog format dump tests as such.
37
fad0c9fb
PA
382016-11-09 Pedro Alves <palves@redhat.com>
39
40 * gdb.base/commands.exp (runto_or_return): New procedure.
41 (gdbvar_simple_if_test, gdbvar_simple_while_test)
42 (gdbvar_complex_if_while_test, progvar_simple_if_test)
43 (progvar_simple_while_test, progvar_complex_if_while_test)
44 (if_while_breakpoint_command_test)
45 (infrun_breakpoint_command_test, breakpoint_command_test)
46 (user_defined_command_test, watchpoint_command_test)
47 (test_command_prompt_position, redefine_hook_test)
48 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
49 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
50 multi_line_input and multi_line. Remove gdb_expect and
51 gdb_stop_suppressing_tests uses.
52 * lib/gdb.exp (valnum_re): New global.
53 (multi_line_input): New procedure.
54
8354c62c
SM
552016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
56
57 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
58 Remove.
59 (test_setup): Define with proc_with_prefix.
60 (test_cli_inferior): Likewise.
61 (test_cli_thread): Likewise.
62 (test_cli_frame): Likewise.
63 (test_cli_select_frame): Likewise.
64 (test_cli_up_down): Likewise.
65 (test_mi_thread_select): Likewise.
66 (test_mi_stack_select_frame): Likewise.
67 (test_cli_in_mi_inferior): Likewise.
68 (test_cli_in_mi_thread): Likewise.
69 (test_cli_in_mi_frame): Likewise.
70 (top level): Do not use with_test_prefix_procname.
71
64f367a2
PA
722016-11-09 Pedro Alves <palves@redhat.com>
73
74 * gdb.base/commands.exp (gdbvar_simple_if_test)
75 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
76 (progvar_simple_if_test, progvar_simple_while_test)
77 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
78 (infrun_breakpoint_command_test, breakpoint_command_test)
79 (user_defined_command_test, watchpoint_command_test)
80 (test_command_prompt_position, deprecated_command_test)
81 (bp_deleted_in_command, temporary_breakpoint_commands)
82 (stray_arg0_test, source_file_with_indented_comment)
83 (recursive_source_test, if_commands_test)
84 (error_clears_commands_left, redefine_hook_test)
85 (redefine_backtrace_test): Use proc_with_prefix.
86 * lib/gdb.exp (proc_with_prefix): New proc.
87
0bb65f1e
AA
882016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
89
90 * gdb.base/tui-layout.c: New file.
91 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
92 disassembly window contains very long lines.
93
7353f247
TT
942016-11-08 Tom Tromey <tom@tromey.com>
95
96 * gdb.python/py-value.exp (test_value_creation): Make "long" test
97 depend on Python 2.
98
30a7bb83
TT
992016-11-08 Tom Tromey <tom@tromey.com>
100
101 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
102 New method.
103
cdf5a07c
MG
1042016-10-29 Manish Goregaokar <manish@mozilla.com>
105
2806dc7e 106 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 107
51a789c3
MG
1082016-10-27 Manish Goregaokar <manish@mozilla.com>
109
2806dc7e
PA
110 * gdb.rust/simple.rs: Add test for univariant enums without
111 discriminants and for encoded struct-like enums.
51a789c3 112
f610ab6d
PA
1132016-10-28 Pedro Alves <palves@redhat.com>
114
115 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
116 gdb_test_multiple, tighten regexps and match symtabs and line
117 tables incrementally.
118
b129b0ca
LM
1192016-10-28 Luis Machado <lgustavo@codesourcery.com>
120
121 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
122 general.
123
ecf45d2c
SL
1242016-10-25 Luis Machado <lgustavo@codesourcery.com>
125
126 * gdb.base/exec-invalid-sysroot.exp: New file.
127
b8d38ee4
JK
1282016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
131
f90fd8c2
JK
1322016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
133
134 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
135
2d2476aa
MR
1362016-10-19 Maciej W. Rozycki <macro@imgtec.com>
137
2806dc7e
PA
138 * gdb.base/killed-outside.exp: Remove $options from a call to
139 `prepare_for_testing'.
2d2476aa 140
e42b25a0
SM
1412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
142
143 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
144 Change test message.
145
3ccdb432
SM
1462016-10-17 Simon Marchi <simon.marchi@ericsson.com>
147
148 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
149 Update comment.
150
5bad3170
SM
1512016-10-17 Simon Marchi <simon.marchi@ericsson.com>
152
153 * gdb.trace/mi-trace-save.exp: New file.
154
5ad9dba7
YQ
1552016-10-13 Yao Qi <yao.qi@linaro.org>
156
157 * gdb.base/code_elim.exp (get_var_address): Remove.
158 * gdb.base/relocate.exp: Likewise.
159 * gdb.base/shreloc.exp: Likewise.
160 * lib/gdb.exp (get_var_address): New.
161
62df7e21
YQ
1622016-10-13 Yao Qi <yao.qi@linaro.org>
163
164 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
165 floating point tests if $skip_float_test is false.
166
4dac951e
LM
1672016-10-12 Luis Machado <lgustavo@codesourcery.com>
168
169 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
170 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
171 argc values.
172 Add 1 to argc so we guarantee distinct initial/modified argc values.
173
8f1a8fc4
JK
1742016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
175
176 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
177
16c85b5d
JK
1782016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
179
180 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
181 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
182 * gdb.arch/vsx-regs.exp: Likewise.
183
1d0e042a
YQ
1842016-10-07 Yao Qi <yao.qi@linaro.org>
185
186 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
187
68dadef5
MM
1882016-10-07 Markus Metzger <markus.t.metzger@intel.com>
189
190 * gdb.python/python.exp: Test decode_line("*0").
191
33fa2c6e
DE
1922016-10-06 Doug Evans <dje@google.com>
193
194 * gdb.python/py-value.exp (test_value_creation): Add test for large
195 unsigned 64-bit value.
196
9c37b5ae
TT
1972016-10-06 Tom Tromey <tom@tromey.com>
198
199 * gdb.compile/compile.exp: Change java tests to rust.
200 * gdb.base/setshow.exp: Change java tests to rust.
201 * gdb.base/default.exp: Remove java from language list.
202 * README (Examples): Update language example.
203 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
204 test.
205 * lib/gdb.exp (skip_java_tests): Remove.
206 * lib/java.exp: Remove.
207 * gdb.java: Remove.
208
78b86327
MR
2092016-10-06 Maciej W. Rozycki <macro@imgtec.com>
210
211 * gdb.arch/mips-fcr.exp: New test.
212 * gdb.arch/mips-fcr.c: Source for the new test.
213
7470adbb
MR
2142016-10-06 Maciej W. Rozycki <macro@imgtec.com>
215
216 * gdb.base/solib-disc.exp: Use `standard_output_file'
217 throughout.
218
4a556533
PA
2192016-10-06 Pedro Alves <palves@redhat.com>
220
221 * gdb.base/jit-simple-dl.c: New file.
222 * gdb.base/jit-simple-jit.c: New file, factored out from ...
223 * gdb.base/jit-simple.c: ... this.
224 * gdb.base/jit-simple.exp (jit_run): Delete.
225 (build_jit): New proc.
226 (jit_test_reread): Recompile either the main program or the shared
227 library, depending on what is being tested. Skip changing address
228 if caller wants to. Compare before/after addresses. If testing
229 standalone, explicitly load the binary. Test "maint info
230 breakpoints".
231 (top level): Add "standalone vs shared lib" and "change address"
232 vs "same address" axes.
233
5a122fbc
PA
2342016-10-06 Pedro Alves <palves@redhat.com>
235
236 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
237 call.
238 (jit_run): Delete.
239 (jit_test_reread): Use with_test_prefix. Reload the main binary
240 explicitly. Compare the before/after addresses of the JIT
241 descriptor.
242
ee8da4b8
DE
2432016-08-15 Doug Evans <dje@google.com>
244
245 * gdb.xml/extra-regs.xml: Update, end field now required, default type
246 for single bitfields is bool.
247 * gdb.xml/tdesc-regs.exp: Ditto.
248
f389f6fe
JK
2492016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
250
251 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
252
fdebf1a4
YQ
2532016-10-05 Yao Qi <yao.qi@linaro.org>
254
255 * lib/gdb.exp (support_complex_tests): Return zero if
256 gdb_skip_float_test return true.
257
9c36d954 2582016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 259 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
260
261 PR gdb/20487
262 * gdb.mi/user-selected-context-sync.exp: New file.
263 * gdb.mi/user-selected-context-sync.c: New file.
264
4034d0ff 2652016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 266 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
267
268 PR gdb/20487
269 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
270 =thread-select-event check.
271
a4297203
PB
2722016-09-29 Peter Bergner <bergner@vnet.ibm.com>
273
274 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
275 the compulsory L operand changes.
276 * gdb.arch/powerpc-power.s: Likewise.
277
bb805577
JK
2782016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
279
280 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
281 * gdb.base/jit-attach-pie.c: New file.
282 * gdb.base/jit-attach-pie.exp: New file.
283
6d61dee5
PA
2842016-09-28 Pedro Alves <palves@redhat.com>
285
286 * gdb.base/infcall-input.c: New file.
287 * gdb.base/infcall-input.exp: New file.
288
f73842fc
YQ
2892016-09-22 Yao Qi <yao.qi@linaro.org>
290
291 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
292 (gdb_exit): Rename it to ...
293 (gdbserver_gdb_exit): ... Close GDBserver.
294 (gdb_exit): New proc, call gdbserver_gdb_exit.
295 (mi_gdb_exit): Likewise.
296
90681dab
YQ
2972016-09-22 Yao Qi <yao.qi@linaro.org>
298
299 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
300 path.
301 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
302 Remove duplication.
303
9c211fd8
YQ
3042016-09-22 Yao Qi <yao.qi@linaro.org>
305
306 * lib/gdbserver-support.exp: Check the existence of
307 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
308
ad0a504f
AK
3092016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
310
311 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
312
36cf1806
TT
3132016-09-21 Tom Tromey <tom@tromey.com>
314
315 PR gdb/20604:
316 * gdb.base/quit.exp: New file.
317
74172ecf
SM
3182016-09-21 Simon Marchi <simon.marchi@ericsson.com>
319
320 * .gitignore: New file.
321
3d0ec882
MR
3222016-09-21 Maciej W. Rozycki <macro@imgtec.com>
323
324 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
325 throughout.
326
8193adea
AA
3272016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
328
329 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
330
d41a5c09
JK
3312016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 * gdb.cp/casts.cc (decltype): Move it ...
334 (main): ... with its call to ...
335 * gdb.cp/casts03.cc: ... a new file.
336 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
337
d2dfe700
JK
3382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
339
340 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
341
e2a92b16
PB
3422016-09-15 Peter Bergner <bergner@vnet.ibm.com>
343
344 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
345 and sync up the test with tests in gas/testsuite/gas/ppc.
346 * gdb.arch/powerpc-power.exp: Likewise.
347
49b4de64
JK
3482016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
349
350 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
351
2c29df25
SDJ
3522016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
353 Jan Kratochvil <jan.kratochvil@redhat.com>
354
355 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
356 make m1's definition to be different from m2's. Use 'dummy' as an
357 argument for probe 'two'.
358
cc3c2846
JB
3592016-09-10 Jon Beniston <jon@beniston.com>
360
361 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
362 for sim target.
363
e1b2624a
AA
3642016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
365
366 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
367 variable declaration.
368 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
369 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
370 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
371 received HWCAP as its argument.
372
4295e285
PA
3732016-09-06 Pedro Alves <palves@redhat.com>
374
375 * gdb.base/new-ui-pending-input.c: New file.
376 * gdb.base/new-ui-pending-input.exp: New file.
377 * gdb.exp (clear_gdb_spawn_id): New procedure.
378 (with_spawn_id): Check whether gdb_spawn_id exists before
379 referencing it. If gdb_spawn_id didn't exist on entry, clear it
380 on exit.
381
00d5215e
UW
3822016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
383
384 * gdb.base/float128.c: New file.
385 * gdb.base/float128.exp: Likewise.
386 * gdb.base/floatn.c: Likewise.
387 * gdb.base/floatn.exp: Likewise.
388
a9ff5f12
UW
3892016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
390
391 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
392
f245535c
PA
3932016-09-05 Pedro Alves <palves@redhat.com>
394
395 PR backtrace/19927
396 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
397 unwinders are immediately called as side effect of "source" or
398 "disable unwinder" commands.
399 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
400
ae9cf263
YQ
4012016-09-02 Yao Qi <yao.qi@linaro.org>
402
403 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
404 is true and $type is "float" or "double".
405
27aba047
YQ
4062016-09-02 Yao Qi <yao.qi@linaro.org>
407
408 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
409 true.
410 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
411 * gdb.base/call-rt-st.exp: Likewise.
412 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
413 return value instead of gdb,skip_float_test.
414 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
415 (do_function_calls): Use its return value instead of
416 gdb,skip_float_test.
417 * gdb.base/finish.exp: Likewise.
418 * gdb.base/funcargs.exp: Likewise.
419 * gdb.base/return.exp: Likewise.
420 * gdb.base/return2.exp: Likewise.
421 * gdb.base/varargs.exp: Likewise.
422 * lib/gdb.exp (gdb_skip_float_test): Change it to
423 gdb_caching_proc. Detect the broken ptrace on arm-linux.
424
5af962df
AA
4252016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
426
427 * gdb.multi/tids.exp: Test "thread apply all".
428
7fac6910
JK
4292016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
430
431 * gdb.base/default.exp (tty): Remove.
432
bb1fe4ac
KB
4332016-08-24 Kevin Buettner <kevinb@redhat.com>
434
2806dc7e
PA
435 * gdb.python/py-recurse-unwind.c: New file.
436 * gdb.python/py-recurse-unwind.py: New file.
437 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 438
0a1ddfa6
SM
4392016-08-24 Simon Marchi <simon.marchi@ericsson.com>
440
441 * gdb.base/set-inferior-tty.exp: New file.
442 * gdb.base/set-inferior-tty.c: New file.
443
d9de1fe3
PA
4442016-08-23 Pedro Alves <palves@redhat.com>
445
446 PR gdb/20494
447 * gdb.base/new-ui-echo.c: New file.
448 * gdb.base/new-ui-echo.exp: New file.
449
e9d9abd7
YQ
4502016-08-23 Yao Qi <yao.qi@linaro.org>
451
452 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
453 gdbserver_spawn.
454 * gdb.server/connect-without-multi-process.exp (do_test):
455 Likewise.
456
3589529e
YQ
4572016-08-23 Yao Qi <yao.qi@linaro.org>
458
459 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
460 standalone_txt. Delete gdb_txt and standalone_txt on host
461 and target. Spawn the binary on target. Copy files from
462 target to host.
463
6bb90213
PA
4642016-08-22 Pedro Alves <palves@redhat.com>
465
466 PR gdb/20505
467 * gdb.base/vdso-warning.exp: Test core dumps too. Use
468 with_test_prefix. Factor out bits to ...
469 (test_no_vdso): ... this new procedure.
470
20c2c024
CL
4712016-08-19 Carl Love <cel@us.ibm.com>
472
473 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
474 maintaining separate logic for constructing the output path.
475 * gdb.arch/powerpc-d128-regs.exp: Likewise.
476 * gdb.arch/ppc-dfp.exp: Likewise.
477 * gdb.arch/ppc-fp.exp: Likewise.
478 * gdb.arch/vsx-regs.exp: Likewise.
479 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
480 binprefix for generating the additional binary files.
481
0646e07d
PA
4822016-08-19 Pedro Alves <palves@redhat.com>
483
484 * gdb.trace/mi-trace-frame-collected.exp
485 (test_trace_frame_collected): On x32, expect two registers.
486
46da9242
CL
4872016-08-18 Carl Love <cel@us.ibm.com>
488
489 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
490 and sync up the test with tests in gas/testsuite/gas/ppc.
491 * gdb.arch/powerpc-power.exp: Likewise.
492
eb2332d7
SM
4932016-08-17 Simon Marchi <simon.marchi@ericsson.com>
494
495 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
496 expected error message.
497
63c61e04
SM
4982016-08-17 Simon Marchi <simon.marchi@ericsson.com>
499
500 * gdb.multi/remove-inferiors.exp: New file.
501 * gdb.multi/remove-inferiors.c: New file.
502
7b17065f
YQ
5032016-08-12 Yao Qi <yao.qi@linaro.org>
504
505 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
506 argument list.
507
01d3dedf
PA
5082016-08-10 Pedro Alves <palves@redhat.com>
509
510 PR gdb/19187
511 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
512 setup_kfails.
513
3eb7562a
PA
5142016-08-09 Pedro Alves <palves@redhat.com>
515 Simon Marchi <simon.marchi@ericsson.com>
516
517 PR gdb/20418
518 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
519 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
520
80614914
PA
5212016-08-09 Pedro Alves <palves@redhat.com>
522
523 PR mi/20431
524 * gdb.mi/mi-cmd-error.exp: New file.
525
f348d89a
PA
5262016-08-09 Pedro Alves <palves@redhat.com>
527
528 PR gdb/18653
529 * gdb.base/signals-state-child.c: New file.
530 * gdb.base/signals-state-child.exp: New file.
531 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
532
e5ca03b4
PA
5332016-08-09 Pedro Alves <palves@redhat.com>
534
535 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
536
282a0691
TT
5372016-08-03 Tom Tromey <tom@tromey.com>
538
539 PR python/18565:
540 * gdb.python/py-frame-inline.exp: Add Frame.function test.
541
41bfcd63
YQ
5422016-08-01 Yao Qi <yao.qi@linaro.org>
543
544 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
545 variable mode to "multi-process" if $multi_process is 1, otherwise
546 set it to "single-process".
547
e3465b24
YQ
5482016-08-01 Yao Qi <yao.qi@linaro.org>
549
550 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
551 * gdb.cp/cpexprs.exp: Likewise.
552 * gdb.cp/m-static.exp: Likewise.
553
0b31a4bc
TT
5542016-07-26 Tom Tromey <tom@tromey.com>
555
556 PR python/20190:
557 * gdb.threads/tls.exp (check_thread_local): Add python symbol
558 test.
559
e0461dbb
MM
5602016-07-26 Markus Metzger <markus.t.metzger@intel.com>
561
562 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
563 selecting assembly source files.
564 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
565 assembly source files.
566 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
567 assembly source files.
568 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
569 selecting assembly source files.
570
8194e927
SM
5712016-07-25 Simon Marchi <simon.marchi@ericsson.com>
572
573 * gdb.base/new-ui.exp (do_test_invalid_args): New
574 procedure.
575
c0272db5
TW
5762016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
577
578 * gdb.btrace/reconnect.c: New file.
579 * gdb.btrace/reconnect.exp: New file.
580
e3487908
GKB
5812016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
582
583 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
584 to test_catch_syscall_group.
585 (test_catch_syscall_group): New.
586
12df5c00
TT
5872016-07-21 Tom Tromey <tom@tromey.com>
588
589 * gdb.rust/simple.rs (main): Use empty struct expression.
590 * gdb.rust/simple.exp: Add tests for empty struct expression.
591
bae62ee2
YQ
5922016-07-21 Yao Qi <yao.qi@linaro.org>
593
594 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
595 if gdb_skip_xml_test is true on some targets.
596
b1b53fb3
YQ
5972016-07-21 Yao Qi <yao.qi@linaro.org>
598
599 * gdb.server/solib-list.exp: Unset last_loaded_file.
600
027d97f8
JK
6012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
602
603 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
604 "step into captured_main (args)".
605
7674d381
JK
6062016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
607
608 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
609
72b5d099
JK
6102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
611
612 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
613
1f960ced
PA
6142016-07-19 Pedro Alves <palves@redhat.com>
615
616 * gdb.opt/inline-break.exp: Remove optimize=-O2.
617 * gdb.opt/inline-bt.exp: Likewise.
618 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
619 additional_flags=-Winline.
620 * gdb.opt/inline-locals.exp: Likewise.
621 * gdb.opt/inline-markers.c (ATTR): Define.
622 (inlined_fn): Use it.
623
f25827c1
YQ
6242016-07-19 Yao Qi <yao.qi@linaro.org>
625
626 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
627 (test_with_self): Remove some code. Remove argument executable.
628 (top-level): Use do_self_tests.
629
37539ebe
DB
6302016-07-15 Zachary Welch <zwelch@codesourcery.com>
631 Don Breazeal <donb@codesourcery.com>
632
633 * gdb.base/maint.exp: Escape paths used in regular expressions.
634 * gdb.stabs/weird.exp: Likewise.
635
dac790e1
TT
6362016-07-13 Tom Tromey <tom@tromey.com>
637
638 PR python/15620, PR python/18620:
639 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
640 (test_bkpt_events): New procs.
641
93daf339
TT
6422016-07-13 Tom Tromey <tom@tromey.com>
643
644 PR python/17698:
645 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
646 test.
647 (test_watchpoints): Likewise.
648 (test_bkpt_pending): New proc.
649
6571a381
TT
6502016-07-13 Tom Tromey <tom@tromey.com>
651
652 PR cli/18053:
653 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
654 completion test.
655
e8732474
JK
6562016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
657
658 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
659 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
660 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
661 f_label.
662 (g): Rename g_end_lbl to g_label.
663 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
664 low_pc and high_pc.
665 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
666
e0f3fd7c
TT
6672016-07-12 Tom Tromey <tom@tromey.com>
668
669 PR python/19293:
670 * gdb.python/py-unwind-maint.exp: Update tests.
671
3cfe46b6
YQ
6722016-07-12 Yao Qi <yao.qi@linaro.org>
673
674 * lib/selftest-support.exp (selftest_setup): Match the output
675 when captured_main is inlined.
676
4f19a0e6
WT
6772016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
678
679 * gdb.fortran/derived-types.exp (result_line, result_line_2):
680 New variables.
681 (print this%a, print this%b, print this): New tests.
682 * gdb.fortran/derived-types.f90 (this): New object and
683 initialization.
684
986cf455
SM
6852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
686
687 * gdb.ada/arraydim.exp: Remove extra directory level in build
688 directory.
689
f0464b23
SM
6902016-07-06 Simon Marchi <simon.marchi@ericsson.com>
691
692 * lib/ada.exp: Remove extra directory level in build directory.
693 * gdb.ada/cond_lang.exp: Likewise.
694 * gdb.ada/exec_changed.exp: Likewise.
695 * gdb.ada/lang_switch.exp: Likewise.
696
42d94011
MG
6972016-07-06 Manish Goregaokar <manish@mozilla.com>
698
2806dc7e
PA
699 * simple.rs: Add test for raw pointer subscripting.
700 * simple.exp: Add test expectations.
42d94011 701
647c264c
YQ
7022016-07-05 Yao Qi <yao.qi@linaro.org>
703
704 * gdb.mi/mi-reverse.exp: Match =record-started output.
705
20aa2c60
PA
7062016-07-01 Pedro Alves <palves@redhat.com>
707
708 * gdb.base/jit-reader.exp (info_registers_current_frame): New
709 procedure.
710 (jit_reader_test): Test the jit reader's unwinder.
711 * gdb.base/jithost.c (jit_function_00_code): New global.
712 (main): Use memcpy to fill in the mmapped code, instead of poking
713 bytes manually here.
714 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
715 value.
716 (read_debug_info): Save the function's range.
717 (read_sp): New function.
718 (unwind_frame): Use it. Also unwind RBP.
719 (get_frame_id): Use read_sp.
720 (gdb_init_reader): Use calloc instead of malloc.
721 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
722 parameter. Use gdb_test_multiple.
723
ced2dffb
PA
7242016-07-01 Pedro Alves <palves@redhat.com>
725 Antoine Tremblay <antoine.tremblay@ericsson.com>
726
727 * gdb.threads/process-dies-while-detaching.c: New file.
728 * gdb.threads/process-dies-while-detaching.exp: New file.
729
63000888
PA
7302016-07-01 Pedro Alves <palves@redhat.com>
731
732 * gdb.multi/watchpoint-multi-exit.c: New file.
733 * gdb.multi/watchpoint-multi-exit.exp: New file.
734
038d4868
PA
7352016-06-30 Pedro Alves <palves@redhat.com>
736
737 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
738 unset inferior_spawn_id.
739
994e9c83
PA
7402016-06-30 Pedro Alves <palves@redhat.com>
741
742 * lib/mi-support.exp (default_mi_gdb_start): Declare global
743 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
744
e5653468
YQ
7452016-06-29 Yao Qi <yao.qi@linaro.org>
746
747 * gdb.base/return.c: Add copyright header.
748
803b47e5
TT
7492016-06-29 Tom Tromey <tom@tromey.com>
750
751 PR python/20129:
752 * gdb.python/py-framefilter.exp: Add tests for setting priority
753 and disabling of non-existent frame filter.
754
28244707
YQ
7552016-06-29 Yao Qi <yao.qi@linaro.org>
756
757 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
758 0x0f07ff.
759
a31d2f06
YQ
7602016-06-28 Yao Qi <yao.qi@linaro.org>
761
762 * gdb.base/catch-syscall.exp: Remove check on isnative and target
763 triplets. Start gdb, execute catch syscall, and continue. Check
764 gdb's output to determine catch syscall is supported.
765
921d8f54
MG
7662016-06-27 Manish Goregaokar <manish@mozilla.com>
767
25d49b86
PA
768 * gdb.rust/simple.rs: Add test for returning unit in a function.
769 * gdb.rust/simple.exp: Add expectation for functions returning
770 unit.
921d8f54 771
f4952523
PMR
7722016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
773
774 * gdb.python/py-breakpoint-create-fail.c,
775 gdb.python/py-breakpoint-create-fail.exp,
776 gdb.python/py-breakpoint-create-fail.py: New testcase.
777
fccb08f8
MG
7782016-06-25 Manish Goregaokar <manish@mozilla.com>
779
780 PR gdb/20239
781 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
782 * gdb.rust/simple.exp: Add test expectations for new NonZero
783 tests.
fccb08f8 784
6b850546
DT
7852016-06-24 David Taylor <dtaylor@emc.com>
786
787 * gdb.base/offsets.exp: New file.
788 * gdb.base/offsets.c: New file.
789
17621150
TT
7902016-06-23 Tom Tromey <tom@tromey.com>
791
792 PR gdb/16483:
793 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
794 before any filters are loaded.
795
04d59df6
WT
7962016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
797
798 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
799 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
800 structs.
801 * gdb.fortran/derived-type-function.exp: New file.
802 * gdb.fortran/derived-type-function.f90: New file.
803
804
ac69f786
PA
8052016-06-21 Pedro Alves <palves@redhat.com>
806
807 * gdb.base/new-ui.exp: New file.
808 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
809 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
810 (with_spawn_id): New procedure.
811
49940788
PA
8122016-06-21 Pedro Alves <palves@redhat.com>
813
814 * gdb.mi/mi-exec-run.exp: New file.
815
ef274d26
PA
8162016-06-21 Pedro Alves <palves@redhat.com>
817
818 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
819 breakpoint command's output on the main UI.
820 (test_break): New procedure, factored out from calls in the top
821 level.
822 (top level): Use foreach_with_prefix to test MI as main UI and as
823 separate UI.
824
468afe6c
PA
8252016-06-21 Pedro Alves <palves@redhat.com>
826
827 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
828 (test_awatch_creation_and_listing)
829 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
830 Remove 'type' parameter.
831 (test_watchpoint_all): New parameter mi_mode. Remove
832 with_test_prefix.
833 (top level): Use foreach_with_prefix, and add main/separate UI MI
834 testing axis.
835
51f77c37
PA
8362016-06-21 Pedro Alves <palves@redhat.com>
837
838 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
839 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
840 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
841 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
842 (gdb_main_spawn_id, mi_spawn_id): Declare and
843 comment.
844 (mi_create_inferior_pty): New procedure,
845 factored out from default_mi_gdb_start.
846 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
847 procedures.
848 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
849 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
850 Use mi_create_inferior_pty.
851 (mi_gdb_start): Use eval to pass down args list.
852
8980e177
PA
8532016-06-21 Pedro Alves <palves@redhat.com>
854
855 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
856 * gdb.opt/inline-cmds.exp: Add MI tests.
857
f38d3ad1
PA
8582016-06-21 Pedro Alves <palves@redhat.com>
859
860 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
861
45db7c09
PA
8622016-06-21 Pedro Alves <palves@redhat.com>
863
864 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
865 (top level): Use it instead of mi_execute_to.
866
5a069ab3
PA
8672016-06-21 Pedro Alves <palves@redhat.com>
868
869 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
870 (cont_handler_str): New.
871 (signal_stop_handler): Set stop_handler_str instead of printing to
872 stdout.
873 (continue_handler): Set cont_handler_str instead of printing to
874 stdout.
875 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
876 mi_send_resuming_command. Print stop_handler_str and
877 cont_handler_str instead of expecting the python events print
878 directly.
879
2838cc1d
SD
8802016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
881
882 * gdb.base/jit-reader.exp: New file.
883 * gdb.base/jithost.c: New file.
884 * gdb.base/jithost.h: New file.
885 * gdb.base/jitreader.c : New file.
886 * gdb.base/jit-protocol.h: New file.
887
21a77091
YQ
8882016-06-17 Yao Qi <yao.qi@linaro.org>
889
890 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
891 parameters follow_fork and detach_on_fork. Set follow-fork-mode
892 and detach-on-fork. Adjust tests.
893 (top level): Invoke break_cond_on_syscall with combinations of
894 syscall, follow-fork-mode and detach-on-fork.
895
f50bf8e5
YQ
8962016-06-17 Yao Qi <yao.qi@linaro.org>
897
898 * gdb.base/step-over-exit.c: New.
899 * gdb.base/step-over-exit.exp: New.
900
a28d8e50
YTL
9012016-06-17 Yan-Ting Lin <currygt52@gmail.com>
902
903 * gdb.base/float.exp: Add target check for nds32*-*-*.
904 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
905
cad8e26d
AB
9062016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
907
908 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
909 for unsupported target features.
910 * gdb.base/call-rt-st.exp: Likewise.
911 * gdb.base/call-sc.exp: Likewise.
912 * gdb.base/call-signal-resume.exp: Likewise.
913 * gdb.base/call-strs.exp: Likewise.
914 * gdb.base/callexit.exp: Likewise.
915 * gdb.base/callfuncs.exp: Likewise.
916 * gdb.base/nodebug.exp: Likewise.
917 * gdb.base/printcmds.exp: Likewise.
918 * gdb.base/ptype.exp: Likewise.
919 * gdb.base/structs.exp: Likewise.
920 * gdb.base/unwindonsignal.exp: Likewise.
921 * gdb.cp/gdb2495.exp: Likewise.
922 * gdb.cp/templates.exp: Likewise.
923 * gdb.cp/virtfunc.exp: Likewise.
924 * gdb.threads/hand-call-in-threads.exp: Likewise.
925 * gdb.threads/interrupted-hand-call.exp: Likewise.
926 * gdb.threads/thread-unwindonsignal.exp: Likewise.
927
347dc102
TT
9282016-06-10 Tom Tromey <tom@tromey.com>
929
930 PR rust/20110:
931 * gdb.rust/expr.exp: Add test for integer constant larger than
932 i32.
933
5e13cf25
BH
9342016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
935
936 * gdb.fortran/nested-funcs.exp: New.
937 * gdb.fortran/nested-funcs.f90: New.
938
bb556f1f
TK
9392016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
940
941 * gdb.base/examine-backward.c: New file.
942 * gdb.base/examine-backward.exp: New file.
943
38b022b4
SM
9442016-06-06 Simon Marchi <simon.marchi@ericsson.com>
945
946 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
947 matching.
948
1b40ec05
TT
9492016-06-02 Tom Tromey <tom@tromey.com>
950
951 PR python/18984:
952 * gdb.python/py-shared.exp: Add solib_name test.
953
193bd378
SM
9542016-06-02 Simon Marchi <simon.marchi@ericsson.com>
955
956 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
957
3326303b
MG
9582016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
959
960 PR c++/19893
961 * gdb.dwarf2/implref.exp: Rename to...
962 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
963 * gdb.dwarf2/implref-array.c: New file.
964 * gdb.dwarf2/implref-array.exp: Likewise.
965 * gdb.dwarf2/implref-global.c: Likewise.
966 * gdb.dwarf2/implref-global.exp: Likewise.
967 * gdb.dwarf2/implref-struct.c: Likewise.
968 * gdb.dwarf2/implref-struct.exp: Likewise.
969
825c8ef2
AT
9702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
971
972 * gdb.trace/trace-condition.exp: Add 64bit tests.
973
2320162a
AT
9742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
975
976 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
977 bits types.
978 (main): Adapt to 8 to 64 bits types.
979 * gdb.trace/trace-condition.exp: Add new tests.
980
a7818233
AT
9812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
982
983 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
984
0d336466
AT
9852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
986
987 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
988 Move condition tests...
989 * gdb.trace/trace-condition.exp: Here.
990
7faeb45a
AT
9912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
992
993 * gdb.trace/trace-condition.exp: Add counter-case tests.
994
e385593e
JK
9952016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
996
997 PR c++/15231
998 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
999 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1000
744608cc
PA
10012016-05-27 Pedro Alves <palves@redhat.com>
1002
1003 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1004 New procedure.
1005 (top level): Call it, and bail out of DejaGnu is known to be bad.
1006
ac775bf4
AB
10072016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1008
1009 * gdb.base/whatis.c: Extend the test case.
1010 * gdb.base/whatis.exp: Add additional tests.
1011
2bbad2ea
BH
10122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1013
1014* gdb.fortran/type.f90: Add pointer variable.
1015* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1016
8b70175d
BH
10172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1018
1019 * gdb.fortran/vla-type.exp: Fix testcase name.
1020
86d8a848
BH
10212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1022
1023 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1024
e188eb36
BH
10252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1026
1027 * gdb.fortran/type.f90: Add nested structures.
1028 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1029 * gdb.fortran/derived-type.exp: Adapt expected output.
1030 * gdb.fortran/vla-type.exp: Adapt expected output.
1031
9b2db1fd
BH
10322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1033
1034 * gdb.fortran/whatis_type.exp: Adapt expected output.
1035
72b17055
BH
10362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1037
1038 * gdb.fortran/print_type.exp: Fix expected output.
1039 * gdb.fortran/whatis_type.exp: Fix expected output.
1040
3cd81d8d
BH
10412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1042
1043 * gdb.fortran/whatis_type.exp: Use multi_line.
1044
ddae9462
TT
10452016-05-24 Tom Tromey <tom@tromey.com>
1046
1047 PR python/17386:
1048 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1049 use value as an index.
1050
1957f6b8
TT
10512016-05-23 Tom Tromey <tom@tromey.com>
1052
1053 PR python/17981:
1054 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1055 no-breakpoint case.
1056
026a9174
PA
10572016-05-24 Pedro Alves <palves@redhat.com>
1058
1059 PR gdb/19828
1060 * gdb.threads/clone-attach-detach.c: New file.
1061 * gdb.threads/clone-attach-detach.exp: New file.
1062
e70a7231
FR
10632016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1064
1065 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1066
0f6ed0e0
TT
10672016-05-23 Tom Tromey <tom@tromey.com>
1068
1069 PR python/19438, PR python/18393:
1070 * gdb.python/py-progspace.exp: Add "dir" test.
1071 * gdb.python/py-objfile.exp: Add "dir" test.
1072
ffd19d61
YQ
10732016-05-23 Yao Qi <yao.qi@linaro.org>
1074
1075 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1076 * gdb.arch/thumb2-it.exp: Likewise.
1077
9e8f9b05
SM
10782016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1079
1080 * gdb.mi/mi-threads-interrupt.c: New file.
1081 * gdb.mi/mi-threads-interrupt.exp: New file.
1082
61c6156d
SM
10832016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1084
1085 PR gdb/18077
1086 * gdb.mi/mi-async-run.exp: New file.
1087 * gdb.mi/mi-async-run.c: New file.
1088
67218854
TT
10892016-05-17 Tom Tromey <tom@tromey.com>
1090 Manish Goregaokar <manishsmail@gmail.com>
1091
1092 * lib/rust-support.exp: New file.
1093 * lib/gdb.exp (skip_rust_tests): New proc.
1094 (build_executable_from_specs): Handle rust.
1095 * lib/future.exp (gdb_find_rustc): New proc.
1096 (gdb_default_target_compile): Handle rust.
1097 * gdb.rust/expr.exp: New file.
1098 * gdb.rust/generics.exp: New file.
1099 * gdb.rust/generics.rs: New file.
1100 * gdb.rust/methods.exp: New file.
1101 * gdb.rust/methods.rs: New file.
1102 * gdb.rust/modules.exp: New file.
1103 * gdb.rust/modules.rs: New file.
1104 * gdb.rust/simple.exp: New file.
1105 * gdb.rust/simple.rs: New file.
1106
c44af4eb
TT
11072016-05-17 Tom Tromey <tom@tromey.com>
1108
1109 * gdb.base/default.exp (set language): Add rust.
1110
dcd1f979
TT
11112016-05-17 Tom Tromey <tom@tromey.com>
1112
1113 * gdb.gdb/unittest.exp: New file.
1114
155b7f57
YQ
11152016-05-16 Yao Qi <yao.qi@linaro.org>
1116
1117 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1118 shell_prompt. Update shell_prompt_re.
1119
8ddd5a6c
DE
11202016-05-12 Doug Evans <dje@google.com>
1121
1122 PR symtab/19999
1123 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1124 $options when building executable.
1125 * gdb.dwarf2/fission-loclists-pie.S: New file.
1126 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1127
02e370d9
SM
11282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1129
1130 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1131 of [is_remote target],
1132
8929ad8b
SM
11332016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1134
1135 * lib/gdb.exp (use_gdb_stub): New procedure.
1136
6c447423
DE
11372016-05-03 Yunlian Jiang <yunlian@google.com>
1138 Doug Evans <dje@google.com>
1139
1140 PR symtab/19914
1141 * gdb.dwarf2/dwp-sepdebug.c: New file.
1142 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1143
444e826c
SM
11442016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1145
1146 * gdb.base/detach.exp: Remove is_remote check.
1147
740feeaa
SM
11482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1149
1150 * gdb.base/annota-input-while-running.exp: Don't check for
1151 [is_remote target]. Enable annotations after running to main.
1152 Remove unused "set test..." line.
1153
9080ac9d
SM
11542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1155
1156 * gdb.trace/trace-enable-disable.exp: New file.
1157 * gdb.trace/trace-enable-disable.c: New file.
1158
952ebca5
SM
11592016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1160
1161 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1162 use it in info sharedlibrary test.
1163 * gdb.trace/ftrace-lock.exp: Likewise.
1164 * gdb.trace/ftrace.exp: Likewise.
1165 * gdb.trace/range-stepping.exp: Likewise.
1166 * gdb.trace/trace-break.exp: Likewise.
1167 * gdb.trace/trace-condition.exp: Likewise.
1168 * gdb.trace/trace-mt.exp: Likewise.
1169
d9019901
SM
11702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1171
1172 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1173 (gdb_load_shlib): ... this.
1174 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1175 gdb_load_shlib.
1176 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1177 * gdb.base/ctxobj.exp: Likewise.
1178 * gdb.base/dprintf-pending.exp: Likewise.
1179 * gdb.base/dso2dso.exp: Likewise.
1180 * gdb.base/fixsection.exp: Likewise.
1181 * gdb.base/gcore-relro.exp: Likewise.
1182 * gdb.base/gdb1555.exp: Likewise.
1183 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1184 * gdb.base/gnu-ifunc.exp: Likewise.
1185 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1186 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1187 * gdb.base/pending.exp: Likewise.
1188 * gdb.base/print-file-var.exp: Likewise.
1189 * gdb.base/print-symbol-loading.exp: Likewise.
1190 * gdb.base/shlib-call.exp: Likewise.
1191 * gdb.base/shreloc.exp: Likewise.
1192 * gdb.base/so-impl-ld.exp: Likewise.
1193 * gdb.base/solib-disc.exp: Likewise.
1194 * gdb.base/solib-nodir.exp: Likewise.
1195 * gdb.base/solib-overlap.exp: Likewise.
1196 * gdb.base/solib-symbol.exp: Likewise.
1197 * gdb.base/solib-weak.exp (do_test): Likewise.
1198 * gdb.base/sym-file.exp: Likewise.
1199 * gdb.base/symtab-search-order.exp: Likewise.
1200 * gdb.base/type-opaque.exp: Likewise.
1201 * gdb.base/unload.exp: Likewise.
1202 * gdb.base/watchpoint-solib.exp: Likewise.
1203 * gdb.compile/compile.exp: Likewise.
1204 * gdb.cp/gdb2384.exp: Likewise.
1205 * gdb.cp/infcall-dlopen.exp: Likewise.
1206 * gdb.cp/re-set-overloaded.exp: Likewise.
1207 * gdb.fortran/library-module.exp: Likewise.
1208 * gdb.opt/solib-intra-step.exp: Likewise.
1209 * gdb.python/py-finish-breakpoint.exp: Likewise.
1210 * gdb.python/py-shared.exp: Likewise.
1211 * gdb.reverse/solib-precsave.exp: Likewise.
1212 * gdb.reverse/solib-reverse.exp: Likewise.
1213 * gdb.server/solib-list.exp: Likewise.
1214 * gdb.threads/dlopen-libpthread.exp: Likewise.
1215 * gdb.threads/tls-shared.exp: Likewise.
1216 * gdb.threads/tls-so_extern.exp: Likewise.
1217 * gdb.trace/change-loc.exp: Likewise.
1218 * gdb.trace/ftrace-lock.exp: Likewise.
1219 * gdb.trace/ftrace.exp: Likewise.
1220 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1221 * gdb.trace/pending.exp: Likewise.
1222 * gdb.trace/range-stepping.exp: Likewise.
1223 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1224 (strace_info_marker): Likewise.
1225 (strace_probe_marker): Likewise.
1226 (strace_trace_on_same_addr): Likewise.
1227 (strace_trace_on_diff_addr): Likewise.
1228 * gdb.trace/trace-break.exp: Likewise.
1229 * gdb.trace/trace-condition.exp: Likewise.
1230 * gdb.trace/trace-mt.exp: Likewise.
1231
fca4cfd9
SM
12322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1233
1234 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1235 result of gdb_remote_download.
1236 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1237 * gdb.base/dso2dso.exp: Likewise.
1238 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1239 * gdb.base/print-file-var.exp: Likewise.
1240 * gdb.base/shlib-call.exp: Likewise.
1241 * gdb.base/shreloc.exp: Likewise.
1242 * gdb.base/solib-overlap.exp: Likewise.
1243 * gdb.base/solib-weak.exp (do_test): Likewise.
1244 * gdb.base/unload.exp: Likewise.
1245
11cf4ffb
YQ
12462016-04-27 Yao Qi <yao.qi@linaro.org>
1247
1248 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1249 exists.
1250
3e2e34f8
KB
12512016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1252
1253 * vla-type.exp: Print structure from toplevel.
1254
8f07e298
BH
12552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1256
1257 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1258 of dynamic types.
1259 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1260 of dynamic types.
1261
9920b434
BH
12622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1263
1264 * gdb.fortran/vla-type.f90: New file.
1265 * gdb.fortran/vla-type.exp: New file.
1266
f3abeff5
YQ
12672016-04-25 Yao Qi <yao.qi@linaro.org>
1268
1269 * gdb.base/branch-to-self.c: New file.
1270 * gdb.base/branch-to-self.exp: New file.
1271
0a5d52f0
YQ
12722016-04-22 Yao Qi <yao.qi@linaro.org>
1273
1274 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1275 more after $hex.
1276
495346f6
YQ
12772016-04-22 Yao Qi <yao.qi@linaro.org>
1278
1279 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1280 * gdb.base/annota3.exp: Likewise.
1281
4a7e075c
YQ
12822016-04-22 Yao Qi <yao.qi@linaro.org>
1283
1284 * gdb.reverse/step-precsave.exp: Do one step and test program
1285 stops in "callee" and do multiple steps until program goes out
1286 of "callee".
1287 * gdb.reverse/step-reverse.exp: Likewise.
1288
5b061e98
YQ
12892016-04-22 Yao Qi <yao.qi@linaro.org>
1290
1291 * gdb.trace/signal.exp: Also pass if
1292 $tracepoint_hits($i) > $iterations.
1293
5c5dc57f
YQ
12942016-04-22 Yao Qi <yao.qi@linaro.org>
1295
1296 * gdb.trace/signal.c: New file.
1297 * gdb.trace/signal.exp: New file.
1298
a55411b9
DE
12992016-04-19 Doug Evans <xdje42@gmail.com>
1300
1301 * gdb.base/bad-file.exp: New file.
1302
a22df60a
MG
13032016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1304
1305 * gdb.dwarf2/implref.exp: New file.
1306
0c13f7e5
BH
13072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1308
1309 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1310 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1311 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1312 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1313 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1314 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1315 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1316 * lib/fortran.exp (fortran_int4): New procedure.
1317 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1318 (fortran_logical4): Likewise.
1319
9b9b09e9
BH
13202016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1321
1322 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1323
a14d1f4d
BH
13242016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1325
1326 * lib/compiler.c: Add Intel specific preprocessor macros.
1327 * lib/compiler.cc: Likewise.
25d49b86 1328
7d49b1d0
LM
13292016-04-13 Luis Machado <lgustavo@codesourcery.com>
1330
1331 * gdb.server/connect-with-no-symbol-file.c: New file.
1332 * gdb.server/connect-with-no-symbol-file.exp: New file.
1333
8392fa22
SM
13342016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1335
1336 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1337
8c4c4aeb
SM
13382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1339
1340 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1341 standard output directory.
1342
45e3745e
AT
13432016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1344
1345 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1346
e26b7e41
MM
13472016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1348
1349 * gdb.btrace/instruction_history.c (loop): Add declaration.
1350
8ce09462
AT
13512016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1352
1353 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1354
2e88a1ea
SM
13552016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1356
1357 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1358 parentheses to print.
1359 (continue_handler): Likewise.
1360
f48e22e3
SM
13612016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1362
1363 * gdb.server/solib-list.exp: Remove is_remote check.
1364 Pass shlib= to gdb_compile. Don't link shared library with
1365 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1366 Run binary filename through "readlink -f" on the target.
1367
096be756
PA
13682016-04-08 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1371 interpreter filename as argument to gdbserver_spawn.
1372 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1373 Return empty if $last_loaded_file does not exist.
1374
06500533
JK
13752016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1376
1377 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1378 * gdb.base/jit-main.c: Use exit after usage.
1379
2d35e871
JK
13802016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1383 GDBHISTSIZE prior to the tests.
1384 * gdb.base/gdbinit-history.exp: Likewise.
1385
13862016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1387
1388 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1389 instead of build_executable. Use gdb_load_shlibs.
1390
c8064e7e
YQ
13912016-04-07 Yao Qi <yao.qi@linaro.org>
1392
1393 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1394 Execute "si" command.
1395
bde47561
YQ
13962016-04-07 Yao Qi <yao.qi@linaro.org>
1397
1398 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1399 number instead of the comments on some line.
1400
b16f8a3b
DB
14012016-04-06 Don Breazeal <donb@codesourcery.com>
1402
1403 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1404 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1405
c2f901df
SM
14062016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1407
1408 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1409 standard_output_file. Remove unused binfile variable.
1410
ac17fda0
CU
14112016-04-05 Catalin Udma <catalin.udma@freescale.com>
1412
1413 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1414 * gdb.python/py-mi-objfile.exp: Match "list main" output
1415 in console format.
1416
03a8c4df
SM
14172016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1418
1419 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1420 absolute.
1421
6e774b13
SM
14222016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1423
1424 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1425 absolute.
1426 * gdb.trace/ftrace.exp: Likewise.
1427 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1428 targets as well.
1429 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1430 (gdb_load_shlibs): Copy libraries to test directory when testing
1431 natively. Only set solib-search-path if testing remotely.
1432 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1433
7817ea46
SM
14342016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1435
1436 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1437 gdb_download. Use it even if the target is not remote.
1438 * gdb.base/jit.exp (compile_jit_test): Likewise.
1439 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1440 output directory if the destination board is local, otherwise use
1441 the standard remote_download from DejaGnu.
1442 (gdb_download): Remove.
1443 (gdb_load_shlibs): Use gdb_remote_download instead of
1444 gdb_download.
1445 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1446 Use gdb_remote_download instead of gdb_download. Use it even if
1447 the target is not remote.
1448 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1449 instead of gdb_download.
1450
7beb7f68
SM
14512016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1452
1453 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1454 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1455 run.
1456
cc63428a
AV
14572016-04-01 Artemiy Volkov <artemiyv@acm.org>
1458
1459 PR gdb/19820
1460 * gdb.base/printcmds.exp: Add artificial arrays tests.
1461
64cdf930
PA
14622016-03-31 Pedro Alves <palves@redhat.com>
1463
1464 PR gdb/19858
1465 * gdb.base/jit-main.c: Include unistd.h.
1466 (ATTACH): Define to 0 if not already defined.
1467 (wait_for_gdb, mypid): New globals.
1468 (WAIT_FOR_GDB): New macro.
1469 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1470 some breakpoint locations.
1471 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1472 New procedures.
1473 (one_jit_test): Add REATTACH parameter, and handle it. Use
1474 continue_to_test_location.
1475 (top level): Test attach, and adjusts calls to one_jit_test.
1476
40dea8cb
PA
14772016-03-31 Pedro Alves <palves@redhat.com>
1478
1479 PR gdb/19858
1480 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1481 BINSUFFIX parameter, and handle it.
1482 (top level): Adjust calls compile_jit_test.
1483
e7ea3ec7
CU
14842016-03-31 Catalin Udma <catalin.udma@freescale.com>
1485
1486 PR python/19743
1487 * gdb.python/py-mi-events-gdb.py: New file.
1488 * gdb.python/py-mi-events.c: New file.
1489 * gdb.python/py-mi-events.exp: New file.
1490
e6359af3
YQ
14912016-03-30 Yao Qi <yao.qi@linaro.org>
1492
1493 * gdb.reverse/until-precsave.exp: Match function name only.
1494 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1495 Move malloc to a condition block.
1496 * gdb.reverse/until-reverse.exp: Match function name only.
1497
a4105d04
MK
14982016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1499
1500 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1501 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1502 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1503 variable for GPR 0 instead of assuming it is register 0.
1504 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1505 * lib/trace-support.exp: Add s390 registers.
1506
bfa6adb9
YQ
15072016-03-29 Yao Qi <yao.qi@linaro.org>
1508
1509 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1510
1e6697ea
YQ
15112016-03-24 Yao Qi <yao.qi@linaro.org>
1512
1513 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1514 test message.
1515
64bcd522
AA
15162016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1517
1518 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1519 maintaining separate logic for constructing the output path.
1520
7868401b
DB
15212016-03-16 Don Breazeal <donb@codesourcery.com>
1522
1523 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1524 Retry fork and waitpid on interrupted system call errors.
1525 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1526 Use with_timeout_factor to increase timeout by factor of 10.
1527
1cafadb4
DB
15282016-03-15 Don Breazeal <donb@codesourcery.com>
1529
1530 * gdb.cp/scope-err.cc: New test program.
1531 * gdb.cp/scope-err.exp: New test script.
1532 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1533 lines and "set breakpoint here" comment.
1534 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1535 Fixed some whitespace and format issues.
1536 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1537 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1538
81516450
DE
15392016-03-15 Doug Evans <dje@google.com>
1540
1541 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1542 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1543 All callers updated. Add tests for enums, mixed flags register.
1544
aa52b601
DE
15452016-03-15 Doug Evans <dje@google.com>
1546
1547 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1548 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1549
fa4ff313
SM
15502016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1551
1552 * gdb.base/default.exp: Add $_as_string to the list of expected
1553 convenience functions.
1554
f2403c39
AB
15552016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1556
1557 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1558
f2f3ccb9
SM
15592016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1560
1561 * gdb.python/py-as-string.exp: New file.
1562 * gdb.python/py-as-string.c: New file.
1563
00dbd492
PA
15642016-03-09 Pedro Alves <palves@redhat.com>
1565
1566 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1567 signal" -> "Thread NN received signal" output change.
1568 * gdb.threads/ia64-sigill.exp: Likewise.
1569 * gdb.threads/linux-dp.exp: Likewise.
1570 * gdb.threads/manythreads.exp: Likewise.
1571 * gdb.threads/pending-step.exp: Likewise.
1572 * gdb.threads/print-threads.exp: Likewise.
1573 * gdb.threads/sigstep-threads.exp: Likewise.
1574 * gdb.threads/staticthreads.exp: Likewise.
1575 * gdb.threads/tls.exp: Likewise.
1576
1e6697ea
YQ
15772016-03-09 Pedro Alves <palves@redhat.com>
1578
1579 * gdb.base/command-line-input.exp: New file.
1580
b04fd3be
MK
15812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1582
1583 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1584 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1585 * gdb.trace/pending.exp: Accept leading dot before function name.
1586 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1587 * lib/trace-support.exp: Set registers for ppc.
1588
98fa59e9
MK
15892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1590
1591 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1592 use it for disassembly; accept .main in addition to main in backtrace.
1593
f77198c8
MK
15942016-03-09 Wei-cheng Wang <cole945@gmail.com>
1595 Marcin Kościelnicki <koriakin@0x04.net>
1596
1597 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1598 (gdb_recursion_test_ptr): New global variable.
1599 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1600 gdb_recursion_test.
1601 (gdb_c_test): Ditto.
1602
ba84e0da
MK
16032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1604
1605 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1606 ordering.
1607
4366d36e
MK
16082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1609
1610 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1611 (bar): Add bar_start_lbl label.
1612 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1613 of foo/bar for emitting DWARF and tracing.
1614
5eb264df
SDJ
16152016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1616
1617 * analyze-racy-logs.py: Set executable bit.
1618
fb6a751f
SDJ
16192016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1620
1621 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1622 (CHECK_TARGET_TMP): Likewise.
1623 (check-single-racy): New rule.
1624 (check-parallel-racy): Likewise.
1625 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1626 (do-check-parallel-racy): New rule.
1627 (check-racy/%.exp): Likewise.
1628 * README (Racy testcases): New section.
1629 * analyze-racy-logs.py: New file.
1630
bdf7e230
DE
16312016-03-03 Doug Evans <dje@google.com>
1632
1633 * gdb.base/skip.exp: Use with_test_prefix.
1634
4719d415
YQ
16352016-03-03 Yao Qi <yao.qi@linaro.org>
1636
1637 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1638 Invoke step_over_syscall "clone" and break_cond_on_syscall
1639 "clone".
1640 * gdb.base/step-over-clone.c: New file.
1641
ea507862
YQ
16422016-03-03 Yao Qi <yao.qi@linaro.org>
1643
1644 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1645 code format.
1646
8fc8cbda
YQ
16472016-03-03 Yao Qi <yao.qi@linaro.org>
1648
1649 * gdb.base/disp-step-fork.c: Rename to ...
1650 * gdb.base/step-over-fork.c: ... it. New file.
1651 * gdb.base/disp-step-vfork.c: Rename to ...
1652 * gdb.base/step-over-vfork.c: ... it. New file.
1653 * gdb.base/disp-step-syscall.exp: Rename to ...
1654 * gdb.base/step-over-syscall.exp: ... it. New file.
1655 (disp_step_cross_syscall): Rename to ...
1656 (step_over_syscall): ... it.
1657
92fa70b0
YQ
16582016-03-03 Yao Qi <yao.qi@linaro.org>
1659
1660 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1661 If target supports condition evaluation on target, invoke
1662 break_cond_on_syscall for fork and vfork.
1663
e197ad3c
YQ
16642016-03-03 Yao Qi <yao.qi@linaro.org>
1665
1666 * gdb.base/disp-step-syscall.exp: Don't invoke
1667 support_displaced_stepping.
1668 (disp_step_cross_syscall): Test with displaced stepping off and
1669 on if supported.
1670
0b47da9f
YQ
16712016-03-03 Yao Qi <yao.qi@linaro.org>
1672
1673 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1674 proc.
1675 (setup): New proc.
1676 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1677 and setup.
1678
065ab6dc
BH
16792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1680
1681 * gdb.fortran/vla-history.exp: Remove breakpoint.
1682
07e448ad 16832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1684
25d49b86
PA
1685 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1686 exceeds timeout.
07e448ad 1687
9ac2d526 16882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1689
25d49b86
PA
1690 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1691 breakpoint.
9ac2d526 1692
17807369
BH
16932016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1694
1695 * gdb.mi/vla.f90: Nullify pointer after declaration.
1696
86e501af
PA
16972016-03-01 Pedro Alves <palves@redhat.com>
1698
1699 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1700
1e903e32
PA
17012016-03-01 Pedro Alves <palves@redhat.com>
1702
1703 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1704 before anything else.
1705 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1706 _GNU_SOURCE here.
1707 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1708 before anything else.
1709 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1710
6ccb54e2
PA
17112016-03-01 Pedro Alves <palves@redhat.com>
1712
1713 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1714
30ca9da1
YQ
17152016-03-01 Yao Qi <yao.qi@linaro.org>
1716
1717 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1718 prepare_for_testing.
1719
dc856b38
YQ
17202016-03-01 Yao Qi <yao.qi@linaro.org>
1721
1722 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1723
4a932159
AA
17242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1725
1726 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1727 manually constructing the output path.
1728
f2489477
AA
17292016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1730
1731 * gdb.arch/s390-stackless.S: New.
1732 * gdb.arch/s390-stackless.exp: New.
1733
38899f16
IB
17342016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1735
1736 * gdb.dlang/circular.c: New file.
1737 * gdb.dlang/circular.exp: New file.
1738
9fde51ed
YQ
17392016-02-26 Yao Qi <yao.qi@linaro.org>
1740
1741 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1742 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1743 (testcases): Update.
1744
ce90fefe
YQ
17452016-02-26 Yao Qi <yao.qi@linaro.org>
1746
1747 * gdb.reverse/aarch64.c: Rename to ...
1748 * gdb.reverse/insn-reverse.c: ... it.
1749 * gdb.reverse/aarch64.exp: Rename to ...
1750 * gdb.reverse/insn-reverse.exp: ... it.
1751
3263bceb
YQ
17522016-02-26 Yao Qi <yao.qi@linaro.org>
1753
1754 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1755 (testcase_ftype): New.
1756 (testcases): New array.
1757 (n_testcases): New.
1758 (main): Call each element in testcases.
1759 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1760 (read_testcase): New.
1761 Do the tests in a loop.
1762
6cb59ff1
YQ
17632016-02-25 Yao Qi <yao.qi@linaro.org>
1764
1765 * gdb.base/branches.c: Remove.
1766
ae91f625
MK
17672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1768
1769 PR gdb/13808
1770 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1771
678b48b7
MK
17722016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1773
1774 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1775
7337a6f2
MK
17762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1777
1778 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1779 change x86_64 call_insn to 'callq'.
1780
861ca91f
AT
17812016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1782
1783 * gdb.trace/tfile-avx.c: Move to...
1784 * gdb.trace/tracefile-pseudo-reg.c: Here.
1785 * gdb.trace/tfile-avx.exp: Move to...
1786 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1787
bf74e428
GB
17882016-02-24 Gary Benson <gbenson@redhat.com>
1789
1790 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1791 message on attach.
1792
cce0e923
DE
17932016-02-23 Doug Evans <dje@google.com>
1794
1795 * gdb.base/skip.c (test_skip): New function.
1796 (end_test_skip_file_and_function): New function.
1797 (test_skip_file_and_function): New function.
1798 * gdb.base/skip1.c (test_skip): New function.
1799 (skip1_test_skip_file_and_function): New function.
1800 * gdb.base/skip.exp: Add tests for new skip options.
1801 * gdb.base/skip-solib.exp: Update expected output.
1802 * gdb.perf/skip-command.cc: New file.
1803 * gdb.perf/skip-command.exp: New file.
1804 * gdb.perf/skip-command.py: New file.
1805
4000e47e
MK
18062016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1807
1808 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1809 info registers pattern.
1810
24f75ead
IB
18112016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1812
1813 * lib/future.exp: Add D support.
1814 (gdb_find_gdc): New proc.
1815 (gdb_default_target_compile): Add D support.
1816
fbb7bcbe
WW
18172016-02-18 Wei-cheng Wang <cole945@gmail.com>
1818
1819 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1820 user+system time.
1821 (trace_speed_test): Determine the iteration count for a time
1822 between 15..30 seconds.
1823
012b3a21
WT
18242016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1825
1826 * gdb.arch/i386-mpx-sigsegv.c: New file.
1827 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1828 * gdb.arch/i386-mpx-simple_segv.c: New file.
1829 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1830
2d5189bd
YQ
18312016-02-18 Yao Qi <yao.qi@linaro.org>
1832
1833 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1834 Don't call setup_kfail.
1835
40fb20d0
YQ
18362016-02-18 Yao Qi <yao.qi@linaro.org>
1837
1838 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1839 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1840
21b1f8d2
DE
18412016-02-16 Doug Evans <dje@google.com>
1842
1843 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1844 * gdb.base/skip1.c: Ditto.
1845 * gdb.base/skip.exp: Whitespace cleanup.
1846
4041ed77
DB
18472016-02-16 Don Breazeal <donb@codesourcery.com>
1848
1849 PR remote/19496
1850 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1851 Remove kfail for PR remote/19496.
1852
c4ef31bf
SM
18532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1854
1855 * lib/gdb.exp (standard_temp_file): Return a path specific to
1856 the runtest invocation.
1857
266b65b3
SM
18582016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1859
1860 * gdb.trace/save-trace.exp: Change relative path to be in the
1861 standard output directory.
1862
a7a0a6a9
JK
18632016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1864
1865 * gdb.arch/i386-prologue.c: Add missing prototypes.
1866
c99dbb42
JK
18672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1868
1869 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1870 * gdb.arch/i386-prologue.exp: Likewise.
1871 * gdb.arch/i386-size.exp: Likewise.
1872
aa480355
SM
18732016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1874
1875 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1876 define object file path.
1877 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1878 file path.
1879 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1880 standard_output_file to define binfile.
1881
ba881f50
JK
18822016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1883
1884 Fix compatibility with recent gfortran-5.3.1.
1885 * gdb.fortran/vla-history.exp (print vla1 allocated)
1886 (print vla2 allocated, print $2, print $3): Remove
1887 (print $4): Rename to ...
1888 (print $2): ... here.
1889 (print $9): Rename to ...
1890 (print $5): ... here.
1891 (print $10): Rename to ...
1892 (print $6): ... here.
1893 * gdb.fortran/vla.f90: Add pvla initialization.
1894
e9fb005c
JK
18952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1896
1897 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1898 New test.
1899 * gdb.fortran/vla-value-sub.exp: Likewise.
1900
e44e00ff
MK
19012016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1902
1903 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1904
97e94151
SM
19052016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1906
1907 * i386-biarch-core.exp: Define corefile using
1908 standard_output_file.
1909
01113bc1
YQ
19102016-02-12 Yao Qi <yao.qi@linaro.org>
1911
1912 * gdb.arch/arm-single-step-kernel-helper.c: New.
1913 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1914
33b4777c
MM
19152016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1916
1917 * gdb.btrace/tailcall-only.exp: New.
1918 * gdb.btrace/tailcall-only.c: New.
1919 * gdb.btrace/x86_64-tailcall-only.S: New.
1920 * gdb.btrace/i686-tailcall-only.S: New.
1921
acc23c11
PA
19222016-02-11 Pedro Alves <palves@redhat.com>
1923
1924 * README (Parallel testing): Add missing double quotes.
1925
e352bf0a
PA
19262016-02-11 Pedro Alves <palves@redhat.com>
1927
1928 * README (Parallel testing): New section.
1929 (GDB_PARALLEL): Rewrite.
1930 (FORCE_PARALLEL): Document.
1931
9f5fed78
MK
19322016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1933
1934 * gdb.trace/tfile-avx.c: New test.
1935 * gdb.trace/tfile-avx.exp: New test.
1936
9ef9e6a6
KS
19372016-02-09 Keith Seitz <keiths@redhat.com>
1938
1939 PR breakpoints/19546
1940 * gdb.base/infcall-exec.c: New file.
1941 * gdb.base/infcall-exec2.c: New file.
1942 * gdb.base/infcall-exec.exp: New file.
1943
a96e36da
KS
19442016-02-09 Keith Seitz <keiths@redhat.com>
1945
1946 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1947 (toplevel): Call test_bkpt_address.
1948
9f61929f
KS
19492016-02-09 Keith Seitz <keiths@redhat.com>
1950
1951 PR python/19506
1952 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1953 (toplevel): Call test_bkpt_address.
1954
1e94266c
SM
19552016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1956
1957 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1958 to AC_OUTPUT.
1959 * configure: Regenerate.
1960
2a7f3dff
PA
19612016-02-09 Pedro Alves <palves@redhat.com>
1962
1963 PR breakpoints/19548
1964 * gdb.base/execl-update-breakpoints.c (some_function): New
1965 function.
1966 (main): Call it.
1967 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1968 Tighten expected GDB output.
1969
2151ccc5
SM
19702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1971
1972 * Makefile.in (ALL_SUBDIRS): Remove.
1973 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1974 (distclean maintainer-clean realclean): Likewise.
1975 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1976 * configure: Regenerate.
1977 * gdb.ada/Makefile.in: Delete.
1978 * gdb.arch/Makefile.in: Likewise.
1979 * gdb.asm/Makefile.in: Likewise.
1980 * gdb.base/Makefile.in: Likewise.
1981 * gdb.btrace/Makefile.in: Likewise.
1982 * gdb.cell/Makefile.in: Likewise.
1983 * gdb.compile/Makefile.in: Likewise.
1984 * gdb.cp/Makefile.in: Likewise.
1985 * gdb.disasm/Makefile.in: Likewise.
1986 * gdb.dlang/Makefile.in: Likewise.
1987 * gdb.dwarf2/Makefile.in: Likewise.
1988 * gdb.fortran/Makefile.in: Likewise.
1989 * gdb.gdb/Makefile.in: Likewise.
1990 * gdb.go/Makefile.in: Likewise.
1991 * gdb.guile/Makefile.in: Likewise.
1992 * gdb.java/Makefile.in: Likewise.
1993 * gdb.linespec/Makefile.in: Likewise.
1994 * gdb.mi/Makefile.in: Likewise.
1995 * gdb.modula2/Makefile.in: Likewise.
1996 * gdb.multi/Makefile.in: Likewise.
1997 * gdb.objc/Makefile.in: Likewise.
1998 * gdb.opencl/Makefile.in: Likewise.
1999 * gdb.opt/Makefile.in: Likewise.
2000 * gdb.pascal/Makefile.in: Likewise.
2001 * gdb.perf/Makefile.in: Likewise.
2002 * gdb.python/Makefile.in: Likewise.
2003 * gdb.reverse/Makefile.in: Likewise.
2004 * gdb.server/Makefile.in: Likewise.
2005 * gdb.stabs/Makefile.in: Likewise.
2006 * gdb.threads/Makefile.in: Likewise.
2007 * gdb.trace/Makefile.in: Likewise.
2008 * gdb.xml/Makefile.in: Likewise.
2009 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2010 GDB_PARALLEL.
2011 (standard_output_file): Remove check for GDB_PARALLEL, always
2012 return path in outputs/$subdir/$testname.
2013
437277d4
SM
20142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2015
2016 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2017 (site.exp): Assign abs_srcdir to tcl's srcdir.
2018
31d913c7
YQ
20192016-02-04 Yao Qi <yao.qi@linaro.org>
2020
2021 * gdb.base/foll-exec-mode.c: Include limits.h.
2022 (main): Add parameters argc and argv. Get directory from
2023 argv[0].
2024 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2025 compilation.
2026 * gdb.base/foll-exec.c: Include limits.h.
2027 (main): Add parameters argc and argv.
2028 Get directory from argv[0].
2029 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2030 Adjust tests on the number of lines as source code changed.
2031 * gdb.base/foll-vfork-exit.c: Include limits.h.
2032 (main): Add one line of statement before vfork.
2033 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2034 (main): Add parameters argc and argv. Get directory from
2035 argv[0].
2036 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2037 (setup_gdb): Set tbreak to skip some source lines.
2038 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2039 (main): Add parameters argc and argv. Get directory from
2040 argv[0].
2041 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2042 compilation.
2043 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2044 (main): Add parameters argc and argv. Get directory from
2045 argv[0].
2046 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2047 compilation.
2048
9482b9fb
DE
20492016-02-01 Doug Evans <dje@google.com>
2050
2051 * gdb.base/skip.exp: Clean up multiple references to same test name.
2052
6b2e4f10
PA
20532016-02-01 Pedro Alves <palves@redhat.com>
2054
ccb6afd6 2055 PR remote/19496
6b2e4f10
PA
2056 * gdb.threads/forking-threads-plus-breakpoint.exp
2057 (displaced_stepping_supported): New global.
2058 (probe_displaced_stepping_support): New procedure.
2059 (do_test): Add 'displaced' parameter, and use it.
2060 (top level): Check for displaced stepping support. Add displaced
2061 stepping on/off testing axis.
2062
37a8db1a
AB
20632016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2064
2065 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2066 pointer. Don't perform further tests on the unassociated pointer
2067 if the first test fails.
2068
5fdf6324
AB
20692016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2070
2071 * gdb.base/max-value-size.c: New file.
2072 * gdb.base/max-value-size.exp: New file.
2073 * gdb.base/huge.exp: Disable max-value-size for this test.
2074
935c6144
IB
20752016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2076
2077 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2078
7fe8399d
YQ
20792016-01-28 Yao Qi <yao.qi@linaro.org>
2080
2081 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2082
a2077e25
PA
20832016-01-25 Pedro Alves <palves@redhat.com>
2084
2085 PR threads/19461
2086 * gdb.base/fork-running-state.c: New file.
2087 * gdb.base/fork-running-state.exp: New file.
2088
1d2736d4
PA
20892016-01-25 Pedro Alves <palves@redhat.com>
2090
2091 PR gdb/19494
2092 * gdb.base/catch-fork-kill.c: New file.
2093 * gdb.base/catch-fork-kill.exp: New file.
2094
f1da4b11
PA
20952016-01-25 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2098 Delete, moved to lib/gdb.exp.
2099 * gdb.threads/forking-threads-plus-breakpoint.exp
2100 (foreach_with_prefix): Likewise.
2101 * gdb.threads/process-dies-while-handling-bp.exp
2102 (foreach_with_prefix): Likewise.
2103 * lib/gdb.exp (foreach_with_prefix): New procedure.
2104
45f38546
MK
21052016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2106
2107 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2108 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2109
dc29a1ce
MK
21102016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2111
2112 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2113 endian targets.
2114
092127d7
JK
21152016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2116 Pedro Alves <palves@redhat.com>
2117
2118 Fix testsuite compatibility with Guile.
2119 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2120 number.
2121
31d765d3
JK
21222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2123
2124 Fix testsuite compatibility with Guile.
2125 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2126 (thread 1): New test for backtrace through signal handler.
2127
1ac78c04
YQ
21282016-01-22 Yao Qi <yao.qi@linaro.org>
2129
2130 PR testsuite/19491
2131 * gdb.base/multi-forks.c: Include
2132 ../lib/unbuffer_output.c
2133 (main): Call gdb_unbuffer_output.
2134
4f5946a8
DE
21352016-01-21 Doug Evans <dje@google.com>
2136
2137 * lib/ada.exp (gdb_compile_ada): Fix typo.
2138
305e13e6
JB
21392016-01-21 Joel Brobecker <brobecker@adacore.com>
2140
2141 * gdb.base/break-fun-addr.exp: New file.
2142 * gdb.base/break-fun-addr1.c: New file.
2143 * gdb.base/break-fun-addr2.c: New file.
2144
5f5dfff6
SM
21452016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2146
2147 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2148 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2149 enum flag values.
2150
fd356fa2
AA
21512016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2152
2153 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2154 when GDB can not set the vector return value. Add more comments
2155 for clarification.
2156
9df22175
AT
21572016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2158
2159 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2160 command.
2161
41d1845e
SM
21622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2163
2164 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2165
01ac6840
SM
21662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2167
2168 * Makefile.in (check-single): Pass --status to runtest.
2169 (check/%.exp): Likewise.
2170
21712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2172
2173 * Makefile.in (check-parallel): Propagate return code from make
2174 do-check-parallel.
2175
bd0a71fa
MK
21762016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2177
2178 * gdb.trace/ftrace.exp: Fix expected message on continue.
2179 * gdb.trace/pending.exp: Fix expected message on continue.
2180 * gdb.trace/trace-break.exp: Fix expected message on continue.
2181
8bcbad33
SM
21822016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2183
2184 * lib/gdb.exp (gdb_test): Remove unused global references.
2185
f303dbd6
PA
21862016-01-18 Pedro Alves <palves@redhat.com>
2187
2188 * gdb.base/async-shell.exp: Adjust expected output.
2189 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2190 * gdb.base/siginfo-thread.exp: Adjust expected output.
2191 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2192 * gdb.java/jnpe.exp: Adjust expected output.
2193 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2194 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2195 * gdb.threads/leader-exit.exp: Adjust expected output.
2196 * gdb.threads/manythreads.exp: Adjust expected output.
2197 * gdb.threads/pthreads.exp: Adjust expected output.
2198 * gdb.threads/schedlock.exp: Adjust expected output.
2199 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2200 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2201 expected output.
2202 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2203 output.
2204 * gdb.threads/sigthread.exp: Adjust expected output.
2205 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2206
b2789696
YQ
22072016-01-18 Yao Qi <yao.qi@linaro.org>
2208
2209 * gdb.guile/scm-section-script.c: Replace @progbits with
2210 %progbits.
2211 * gdb.python/py-section-script.c: Likewise.
2212
71ef29a8
PA
22132016-01-15 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.multi/tids.exp: Test star wildcard ranges.
2216
3f5b7598
PA
22172016-01-15 Pedro Alves <palves@redhat.com>
2218
2219 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2220 command from "thread apply" invocation.
2221 (thr_apply_info_thr_invalid): Default the expected output to the
2222 input tid list.
2223 (top level): Add tests that use convenience variables. Add tests
2224 for "thread apply" with a valid TID list, but missing the command.
2225
663f6d42
PA
22262016-01-13 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.base/default.exp: Expect $_gthread as well.
2229 * gdb.multi/tids.exp: Test $_gthread.
2230 * gdb.threads/thread-specific.exp: Test $_gthread.
2231
c84f6bbf
PA
22322016-01-13 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.multi/tids.exp: Test "info threads -gid".
2235
22a02324
PA
22362016-01-13 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2239 Breakpoint.thread.
2240 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2241
5d5658a1
PA
22422016-01-07 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.base/break.exp: Adjust to output changes.
2245 * gdb.base/hbreak2.exp: Likewise.
2246 * gdb.base/sepdebug.exp: Likewise.
2247 * gdb.base/watch_thread_num.exp: Likewise.
2248 * gdb.linespec/keywords.exp: Likewise.
2249 * gdb.multi/info-threads.exp: Likewise.
2250 * gdb.threads/thread-find.exp: Likewise.
2251 * gdb.multi/tids.c: New file.
2252 * gdb.multi/tids.exp: New file.
2253
84654457
PA
22542016-01-13 Pedro Alves <palves@redhat.com>
2255
2256 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2257
e3940304
PA
22582016-01-13 Pedro Alves <palves@redhat.com>
2259
2260 * gdb.base/default.exp: Expect $_inferior as well.
2261 * gdb.multi/base.exp: Test $_inferior.
2262
a911d87a
PA
22632016-01-13 Pedro Alves <palves@redhat.com>
2264
2265 PR breakpoints/19388
2266 * gdb.base/catch-signal-siginfo-cond.c: New file.
2267 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2268
82075af2
JS
22692016-01-12 Josh Stone <jistone@redhat.com>
2270 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2271
2272 * gdb.base/catch-syscall.c (do_execve): New variable.
2273 (main): Conditionally trigger an execve.
2274 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2275 (test_catch_syscall_execve): New, check entry/return across execve.
2276 (do_syscall_tests): Call test_catch_syscall_execve.
2277
e46eeedd
PA
22782016-01-12 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.base/random-signal.exp (do_test): New procedure, with body
2281 of testcase moved in.
2282
01d8c27e
JK
22832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2284 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.base/funcargs.exp (finish from indirectly called function):
2287 Reintroduce the case for 'First'.
2288
9a706302
JK
22892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2290 Pedro Alves <palves@redhat.com>
2291
2292 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2293 (tcatch_vfork_then_child_follow_exec)
2294 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2295 identification.
2296
c0ecb95f
JK
22972016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2298
2299 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2300 and repeats to unlimited.
2301 * gdb.python/py-value.exp: Likewise.
2302 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2303 and repeats to unlimited.
2304
6cfc1fcb
JK
23052016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2306
2307 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2308 and reordering the functions.
2309 * gdb.multi/hangout.c: Likewise.
2310 * gdb.multi/hello.c: Likewise.
2311
582a1b00
SM
23122016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2313
2314 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2315 absolute.
2316 (SingleStatisticTestResult.report): Use dict.keys instead of
2317 dict.iterkeys.
2318
79bc59cb
PA
23192016-01-06 Pedro Alves <palves@redhat.com>
2320
2321 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2322
43368e1d
MM
23232016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2324
2325 * gdb.btrace/dlopen.exp: New.
2326 * gdb.btrace/dlopen.c: New.
2327 * gdb.btrace/dlopen-dso.c: New.
2328
79fad5b8
SL
23292015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2330
2331 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2332 PATTERN argument is optional.
2333
ab8314b3
JB
23342015-12-24 Joel Brobecker <brobecker@adacore.com>
2335
2336 * lib/ada.exp (target_compile_ada_from_dir): New function.
2337 (gdb_compile_ada): Reimplement avoiding the use of project files.
2338 * gdb.ada/gnat_ada.gpr: Delete.
2339 * gdb.ada/cond_lang.exp: Adjust test to make path before
2340 filename optional.
2341 * gdb.ada/small_reg_param.exp: Likewise.
2342
fe33faff
SM
23432015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2344
2345 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2346
6d265cb4
TP
23472015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2348
2349 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2350 case.
2351
10125099
SM
23522015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2353
2354 * gdb.base/break.exp: Remove dead code.
2355 * gdb.base/sepdebug.exp: Likewise.
2356
3ca22649
SM
23572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2358
2359 * gdb.asm/asm-source.exp: Remove HP-UX references.
2360 * gdb.base/annota1.exp: Likewise.
2361 * gdb.base/annota3.exp: Likewise.
2362 * gdb.base/attach.exp: Likewise.
2363 * gdb.base/bigcore.exp: Likewise.
2364 * gdb.base/break.exp: Likewise.
2365 * gdb.base/call-ar-st.exp: Likewise.
2366 * gdb.base/callfuncs.exp: Likewise.
2367 * gdb.base/catch-fork-static.exp: Likewise.
2368 * gdb.base/display.exp: Likewise.
2369 * gdb.base/foll-exec-mode.exp: Likewise.
2370 * gdb.base/foll-exec.exp: Likewise.
2371 * gdb.base/foll-fork.exp: Likewise.
2372 * gdb.base/foll-vfork.exp: Likewise.
2373 * gdb.base/funcargs.exp: Likewise.
2374 * gdb.base/hbreak2.exp: Likewise.
2375 * gdb.base/inferior-died.exp: Likewise.
2376 * gdb.base/interrupt.exp: Likewise.
2377 * gdb.base/multi-forks.exp: Likewise.
2378 * gdb.base/nodebug.exp: Likewise.
2379 * gdb.base/sepdebug.exp: Likewise.
2380 * gdb.base/solib1.c: Likewise.
2381 * gdb.base/step-test.exp: Likewise.
2382 * gdb.mi/non-stop.c: Likewise.
2383 * gdb.mi/pthreads.c: Likewise.
2384 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2385 * gdb.threads/pthreads.c: Likewise.
2386 * gdb.threads/staticthreads.exp: Likewise.
2387 * lib/future.exp: Likewise.
2388 * lib/gdb.exp: Likewise.
2389 * gdb.base/so-indr-cl.c: Remove.
2390 * gdb.base/so-indr-cl.exp: Likewise.
2391 * gdb.base/solib.c: Likewise.
2392 * gdb.base/solib.exp: Likewise.
2393 * gdb.base/solib2.c: Likewise.
2394
b6304613
SM
23952015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2396
2397 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2398 * gdb.base/call-ar-st.exp: Likewise.
2399 * gdb.base/callfuncs.exp: Likewise.
2400 * gdb.base/condbreak.exp: Likewise.
2401 * gdb.base/constvars.exp: Likewise.
2402 * gdb.base/hbreak2.exp: Likewise.
2403 * gdb.base/langs.exp: Likewise.
2404 * gdb.base/list.exp: Likewise.
2405 * gdb.base/long_long.exp: Likewise.
2406 * gdb.base/ptype.exp: Likewise.
2407 * gdb.base/scope.exp: Likewise.
2408 * gdb.base/signals.exp: Likewise.
2409 * gdb.base/so-impl-ld.exp: Likewise.
2410 * gdb.base/varargs.exp: Likewise.
2411 * gdb.base/volatile.exp: Likewise.
2412 * gdb.base/whatis.exp: Likewise.
2413 * gdb.cp/cplusfuncs.exp: Likewise.
2414 * gdb.cp/inherit.exp: Likewise.
2415 * gdb.cp/local.exp: Likewise.
2416 * gdb.cp/member-ptr.exp: Likewise.
2417 * gdb.cp/method.exp: Likewise.
2418 * gdb.cp/overload.exp: Likewise.
2419 * gdb.cp/templates.exp: Likewise.
2420 * gdb.stabs/weird.exp: Likewise.
2421 * lib/compiler.c: Likewise.
2422 * lib/compiler.cc: Likewise.
2423 * lib/cp-support.exp: Likewise.
2424 * lib/gdb.exp: Likewise.
2425
bf401b07
SM
24262015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2427
2428 * configure.ac: Remove HP-UX case.
2429 * configure: Regenerate.
2430
aff9c0f8
SM
24312015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2432
2433 * lib/gdb.exp (gdb_compile): Add function doc.
2434
a6904d5a
PA
24352015-12-17 Pedro Alves <palves@redhat.com>
2436
2437 PR threads/19354
2438 * gdb.multi/info-threads.exp: New file.
2439
a22279dd
YQ
24402015-12-15 Yao Qi <yao.qi@linaro.org>
2441
2442 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2443 is aarch64*-*-*.
2444
0588c796
SL
24452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2446
2447 * gdb.base/history-duplicates.exp: Skip if no readline support.
2448
5d978e17
SL
24492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2450
2451 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2452
7e763b86
SL
24532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2454
2455 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2456
87a3a92c
SL
24572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2458
2459 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2460 ctrl-C if nointerrupts target property is set.
2461 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2462 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2463 * gdb.base/paginate-bg-execution.exp: Likewise.
2464 * gdb.base/paginate-execution-startup.exp: Likewise.
2465 * gdb.base/random-signal.exp: Likewise.
2466 * gdb.base/range-stepping.exp: Likewise.
2467 * gdb.cp/annota2.exp: Likewise.
2468 * gdb.cp/annota3.exp: Likewise.
2469 * gdb.gdb/selftest.exp: Likewise.
2470 * gdb.threads/continue-pending-status.exp: Likewise.
2471 * gdb.threads/leader-exit.exp: Likewise.
2472 * gdb.threads/manythreads.exp: Likewise.
2473 * gdb.threads/pthreads.exp: Likewise.
2474 * gdb.threads/schedlock.exp: Likewise.
2475 * gdb.threads/sigthread.exp: Likewise.
2476
a8f077dc
DB
24772015-12-11 Don Breazeal <donb@codesourcery.com>
2478
2479 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2480 remote.
2481 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2482 * gdb.base/foll-exec.exp (main): Enable for target remote.
2483 * gdb.base/foll-fork.exp (main): Likewise.
2484 * gdb.base/foll-vfork.exp (main): Likewise.
2485 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2486 (proc continue_to_exit_bp_loc): Use clean_restart.
2487 * gdb.base/pie-execl.exp (main): Disable for target remote.
2488 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2489 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2490 * gdb.threads/execl.exp (main): Likewise.
2491 * gdb.threads/fork-child-threads.exp (main): Likewise.
2492 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2493 remote.
2494 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2495 remote.
2496 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2497 pid.tid style ptids, instead of just tid.
2498 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2499 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2500 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2501 ptids, instead of just tid.
2502
3b2464a8
AB
25032015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2504
2505 * gdb.base/list.exp (test_list_forward): Add end of file error
2506 test.
2507 (test_repeat_list_command): Add end of file error test.
2508 (test_list_backwards): Add beginning of file error test.
2509
a0def019
AB
25102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2511
2512 * gdb.base/list.exp (test_list_invalid_args): New function,
2513 defined, and called.
2514
5c000dff
AB
25152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2516
2517 * gdb.base/list.exp (test_list): Make test names unique.
2518
f1637ebe
YQ
25192015-12-11 Yao Qi <yao.qi@linaro.org>
2520
2521 * gdb.base/coremaker2.c: Remove.
2522
36d6fc0a
PA
25232015-12-10 Pedro Alves <palves@redhat.com>
2524
2525 * gdb.multi/base.exp: Remove stale "spaces" references.
2526
762f7747
PA
25272015-12-10 Pedro Alves <palves@redhat.com>
2528
2529 * gdb.multi/base.exp: Don't use nowarnings.
2530 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2531 * gdb.multi/hangout.c: Include stdio.h.
2532 * gdb.multi/hello.c: Include stdlib.h.
2533 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2534 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2535 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2536
28d2bfb9
AB
25372015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2538
2539 * gdb.dwarf2/dw2-ranges-base.c: New file.
2540 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2541 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2542 support additional line table, and debug ranges generation.
2543 (Dwarf::ranges): New function, generate .debug_ranges.
2544 (Dwarf::lines): Support generating simple line table programs.
2545 (Dwarf::assemble): Initialise new namespace variables.
2546
5fc2beac
KB
25472015-12-09 Kevin Buettner <kevinb@redhat.com>
2548
2549 * gdb.base/async.exp (proc test_background): Add case for
2550 asynchronous execution not supported.
2551
1c35a88f
LM
25522015-12-09 Luis Machado <lgustavo@codesourcery.com>
2553
2554 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2555 format and change test names to make them unique.
2556
b593e3d9
RK
25572015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2558 Pedro Alves <pedro@redhat.com>
2559
2560 PR gdb/18702
2561 Add checking of floatformats setup on x86_64 hosts.
2562 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2563 (smallval, bigval): New labels/constants.
2564 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2565 float" after loading bigval and smallval.
2566
d72413e6
PMR
25672015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2568
2569 * gdb.ada/fun_overload_menu.exp: New testcase.
2570 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2571
ece66d65
JS
25722015-12-04 Josh Stone <jistone@redhat.com>
2573
2574 * gdb.base/catch-fork-static.exp: New.
2575
41d0efca
YQ
25762015-12-03 Yao Qi <yao.qi@linaro.org>
2577
2578 * gdb.base/sizeof.c: Don't include stdio.h and
2579 ../lib/unbuffer_output.c.
2580 (main): New variable 'size' and 'value'. Remove printf and
2581 gdb_unbuffer_output. Assign return value to size and value.
2582 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2583 at the beginning.
2584 (check_sizeof): Check the result by printing variable 'size'.
2585 (check_valueof): Check the result by printing variable 'value'.
2586
99fd02d9
YQ
25872015-12-01 Yao Qi <yao.qi@linaro.org>
2588
2589 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2590 for aarch64*-*-linux* target.
2591
f2faf941
PA
25922015-11-30 Pedro Alves <palves@redhat.com>
2593
2594 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2595
04bf20c5
PA
25962015-11-30 Pedro Alves <palves@redhat.com>
2597
2598 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2599 Handle non-stop mode vCont replies.
2600
09df4675
PA
26012015-11-30 Pedro Alves <palves@redhat.com>
2602
2603 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2604 prepare_for_testing. Start gdb with "set non-stop on" appended to
2605 GDBFLAGS. Lax expected stop output.
2606
58b584af
YQ
26072015-11-27 Yao Qi <yao.qi@linaro.org>
2608
2609 * gdb.arch/arm-neon.exp: New.
2610 * gdb.arch/arm-neon.c: New.
2611
dfcb77a8
YQ
26122015-11-27 Yao Qi <yao.qi@linaro.org>
2613
2614 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2615
88e8ec1b
YQ
26162015-11-27 Yao Qi <yao.qi@linaro.org>
2617
2618 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2619 frames-invalid annotation.
2620
bfde72c2
YQ
26212015-11-27 Yao Qi <yao.qi@linaro.org>
2622
2623 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2624
f6512a69
SM
26252015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2626
2627 * gdb.threads/names.exp: New file.
2628 * gdb.threads/names.c: New file.
2629 * README: Mention gdb,no_thread_names.
2630
46a3515b
MM
26312015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2632
2633 PR 19297
2634 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2635 support" error.
2636
62147a22
PA
26372015-11-24 Pedro Alves <palves@redhat.com>
2638
2639 PR 17539
2640 * gdb.base/display.exp: Expect displays to be sorted in ascending
2641 order. Use multi_line.
2642 * gdb.base/solib-display.exp: Likewise.
2643
2f341b6e
PA
26442015-11-24 Pedro Alves <palves@redhat.com>
2645
2646 PR 17539
25d49b86
PA
2647 * gdb.base/display.exp: Expect displays to be sorted in ascending
2648 order. Use multi_line.
2649 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2650
7e0aa6aa
PA
26512015-11-24 Pedro Alves <palves@redhat.com>
2652
2653 PR 17539
2654 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2655 threads in ascending order.
2656 * gdb.base/foll-fork.exp: Likewise.
2657 * gdb.base/foll-vfork.exp: Likewise.
2658 * gdb.base/multi-forks.exp: Likewise.
2659 * gdb.mi/mi-nonstop.exp: Likewise.
2660 * gdb.mi/mi-nsintrall.exp: Likewise.
2661 * gdb.multi/base.exp: Likewise.
2662 * gdb.multi/multi-arch.exp: Likewise.
2663 * gdb.python/py-inferior.exp: Likewise.
2664 * gdb.threads/break-while-running.exp: Likewise.
2665 * gdb.threads/execl.exp: Likewise.
2666 * gdb.threads/gcore-thread.exp: Likewise.
2667 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2668 * gdb.threads/kill.exp: Likewise.
2669 * gdb.threads/linux-dp.exp: Likewise.
2670 * gdb.threads/multiple-step-overs.exp: Likewise.
2671 * gdb.threads/next-bp-other-thread.exp: Likewise.
2672 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2673 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2674 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2675 * gdb.threads/thread-find.exp: Likewise.
2676 * gdb.threads/tls.exp: Likewise.
2677 * lib/mi-support.exp (mi_reverse_list): Delete.
2678 (mi_check_thread_states): No longer reverse list.
2679
2cc57ad8
PA
26802015-11-24 Pedro Alves <palves@redhat.com>
2681
2682 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2683 use lowercase.
2684
c93e8391
SM
26852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2686
2687 * gdb.trace/actions.c: Include trace-common.h.
2688 (main): Add a location for a fast tracepoint.
2689 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2690 the normal tracepoints.
2691 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2692
045ccf91
SM
26932015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2694
2695 * save-trace.exp: Factor out code to these...
2696 (gdb_save_tracepoints): New.
2697 (gdb_load_tracepoints): New.
2698 (do_save_load_test): New.
2699
5506f9f6
KB
27002015-11-23 Kevin Buettner <kevinb@redhat.com>
2701
2702 * gdb.base/asmlabel.exp: New test.
2703 * gdb.base/asmlabel.c: New test case.
2704
16c3b12f
JB
27052015-11-23 Joel Brobecker <brobecker@adacore.com>
2706
2707 * gdb.base/wrong_frame_bt_full-main.c: New file.
2708 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2709 * gdb.base/wrong_frame_bt_full.exp: New file.
2710
155bfbd3
JB
27112015-11-23 Joel Brobecker <brobecker@adacore.com>
2712
2713 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2714
bb097445
JM
27152015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2716
206853a0 2717 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2718 pstate register when comparing registers values in
2719 sparc64-*-linux-gnu targets to avoid spurious differences.
2720
9c88ed8f
JM
27212015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2722
206853a0 2723 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2724
96161e25
SL
27252015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2726
2727 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2728 as type argument to gdb_compile.
2729 * gdb.base/nested-subp2.exp: Likewise.
2730 * gdb.base/nested-subp3.exp: Likewise.
2731
340c2830
DV
27322015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2733
2734 * lib/dwarf.exp (_note): Fix left shift of negative value.
2735 * gdb.trace/trace-condition.exp: Likewise.
2736
c1862d0f
YQ
27372015-11-13 Yao Qi <yao.qi@linaro.org>
2738
2739 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2740 comments about d10v.
2741 (test_scalar_returns): Likewise.
2742 * gdb.base/d10v.ld: Remove.
2743 * gdb.base/overlays.exp: Remove the target triplet checking for
2744 d10v-*-*.
2745 * gdb.base/structs.exp (test_struct_returns): Remove the
2746 comments about d10v.
2747 (test_struct_calls): Likewise.
2748
77ae9c19
YQ
27492015-11-13 Yao Qi <yao.qi@linaro.org>
2750
2751 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2752 * gdb.base/gnu_vector.c: Don't include stdio.h.
2753 (main): Don't print res and call add_some_intvecs.
2754
430e004e
MK
27552015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2756
2757 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2758 macro.
2759 (func5): Removed.
2760 (func4): Use FAST_TRACEPOINT_LABEL.
2761 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2762 macro.
2763 (func): Removed.
2764 (thread_function): Use FAST_TRACEPOINT_LABEL.
2765 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2766 (func): Remove.
2767 (marker): Use FAST_TRACEPOINT_LABEL.
2768 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2769 (pendfunc1): Remove.
2770 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2771 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2772 (foo): Remove.
2773 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2774 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2775 macro.
2776 (func): Remove.
2777 (marker): Use FAST_TRACEPOINT_LABEL.
2778 * gdb.trace/trace-common.h: New header.
2779 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2780 macro.
2781 (func): Remove.
2782 (marker): Use FAST_TRACEPOINT_LABEL.
2783 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2784 (func): Remove.
2785 (thread_function): Use FAST_TRACEPOINT_LABEL.
2786
6e7675a7
MK
27872015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2788
2789 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2790 in front.
2791 * gdb.trace/change-loc.exp: Use global pcreg definition.
2792 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2793 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2794 in front.
2795 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2796 * gdb.trace/pending.exp: Likewise.
2797 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2798 * gdb.trace/trace-break.exp: Likewise.
2799 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2800 in front.
2801 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2802 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2803 in front.
2804 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2805
dddc0e16
JB
28062015-11-09 Joel Brobecker <brobecker@adacore.com>
2807
2808 * gdb.ada/fin_fun_out: New testcase.
2809
c6f0b406
KB
28102015-11-07 Kevin Buettner <kevinb@redhat.com>
2811
2812 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2813 value associated with DW_AT_byte_size.
2814 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2815 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2816 DW_AT_upper_bound.
2817
f01dcfd9
KB
28182015-11-07 Kevin Buettner <kevinb@redhat.com>
2819
2820 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2821 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2822 version.
2823 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2824 gdb.dwarf2/dw2-canonicalize-type.exp,
2825 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2826 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2827 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2828 provided by gdb_target_symbol_prefix_flags_asm.
2829 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2830 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2831 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2832 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2833 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2834 macros where needed). Use this macro for symbols which require
2835 the prefix provided by SYMBOL_PREFIX.
2836
2223449a
KB
28372015-11-05 Kevin Buettner <kevinb@redhat.com>
2838
2839 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2840 New procs.
2841 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2842 representing expressions, of more than one list element.
2843 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2844 to prepend linker symbol prefix to f.
2845 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2846 table_1 and table_2.
2847 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2848 Likewise, for f and g.
2849 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2850 for ptr.
2851 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2852 for main.
2853 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2854 table_1_ptr and table_2_ptr.
2855
6f2f1a3a
JK
28562015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2857 Joel Brobecker <brobecker@adacore.com>
2858
2859 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2860
566c56c9
MK
28612015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2862
2863 * gdb.reverse/s390-mvcle.c: New test.
2864 * gdb.reverse/s390-mvcle.exp: New file.
2865 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2866
d5f0636b
MK
28672015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2868
2869 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2870
7ad8b86c
MK
28712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2872
2873 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2874 reaching marker2.
2875 * gdb.reverse/getresuid-reverse.exp: Likewise.
2876 * gdb.reverse/pipe-reverse.exp: Likewise.
2877 * gdb.reverse/readv-reverse.exp: Likewise.
2878 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2879 * gdb.reverse/time-reverse.exp: Likewise.
2880 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2881
4081c0f1
YQ
28822015-10-30 Yao Qi <yao.qi@linaro.org>
2883
2884 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2885 (empty_cycle): Remove.
2886 (main): Don't call empty_cycle. Don't use watch_count_done.
2887 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2888 empty_cycle. Rewrite the code counting HW watchpoints.
2889
452b4ba5
MK
28902015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2891
2892 * gdb.reverse/fstatat-reverse.c: New test.
2893 * gdb.reverse/fstatat-reverse.exp: New file.
2894 * gdb.reverse/getresuid-reverse.c: New test.
2895 * gdb.reverse/getresuid-reverse.exp: New file.
2896 * gdb.reverse/pipe-reverse.c: New test.
2897 * gdb.reverse/pipe-reverse.exp: New file.
2898 * gdb.reverse/readv-reverse.c: New test.
2899 * gdb.reverse/readv-reverse.exp: New file.
2900 * gdb.reverse/recvmsg-reverse.c: New test.
2901 * gdb.reverse/recvmsg-reverse.exp: New file.
2902 * gdb.reverse/time-reverse.c: New test.
2903 * gdb.reverse/time-reverse.exp: New file.
2904 * gdb.reverse/waitpid-reverse.c: New test.
2905 * gdb.reverse/waitpid-reverse.exp: New file.
2906
5e2e7507
JK
29072015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2908
2909 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2910
0fde2c53
DE
29112015-10-26 Doug Evans <dje@google.com>
2912
2913 PR symtab/17391
2914 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2915 * gdb.dwarf2/bad-regnum.c: New file.
2916 * gdb.dwarf2/bad-regnum.exp: New file.
2917
1a70ae97
DE
29182015-10-26 Doug Evans <dje@google.com>
2919
2920 PR python/18938
2921 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2922 file.
2923
27dc26ab
JK
29242015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2927 for a change by "Mention language in compile error message".
2928
bed91f4d
SM
29292015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2930
2931 PR python/18073
2932 * gdb.python/py-type.c (C::a_method): New.
2933 (C::a_const_method): New.
2934 (C::a_static_method): New.
2935 (a_function): New.
2936 * gdb.python/py-type.exp (test_fields): Test getting fields
2937 from function and method.
2938
3f2f83dd
KB
29392015-10-21 Keven Boell <keven.boell@intel.com>
2940
2941 * gdb.fortran/vla-alloc-assoc.exp: New file.
2942 * gdb.fortran/vla-datatypes.exp: New file.
2943 * gdb.fortran/vla-datatypes.f90: New file.
2944 * gdb.fortran/vla-history.exp: New file.
2945 * gdb.fortran/vla-ptype-sub.exp: New file.
2946 * gdb.fortran/vla-ptype.exp: New file.
2947 * gdb.fortran/vla-sizeof.exp: New file.
2948 * gdb.fortran/vla-sub.f90: New file.
2949 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2950 * gdb.fortran/vla-value-sub-finish.exp: New file.
2951 * gdb.fortran/vla-value-sub.exp: New file.
2952 * gdb.fortran/vla-value.exp: New file.
2953 * gdb.fortran/vla-ptr-info.exp: New file.
2954 * gdb.mi/mi-vla-fortran.exp: New file.
2955 * gdb.mi/vla.f90: New file.
2956
27145d50
SL
29572015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2958
2959 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2960 of hardwired timeout value.
2961
5f3ff4f8
JK
29622015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2963 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2966 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2967
bfd09d20
JS
29682015-10-19 Josh Stone <jistone@redhat.com>
2969
2970 * gdb.base/catch-syscall.c: Include <sched.h>.
2971 (unknown_syscall): New variable.
2972 (main): Trigger a vfork and an unknown syscall.
2973 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2974 (unknown_syscall_number): Likewise.
2975 (check_call_to_syscall): Accept an optional syscall pattern.
2976 (check_return_from_syscall): Likewise.
2977 (check_continue): Likewise.
2978 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2979 (test_catch_syscall_skipping_return): New test toggling off 'catch
2980 syscall' to step over the syscall return, then toggling back on.
2981 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2982 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2983 (do_syscall_tests): Call test_catch_syscall_without_args and
2984 test_catch_syscall_mid_vfork.
2985 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2986 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2987
b32b93c6
AS
29882015-10-19 Andrew Stubbs <ams@codesourcery.com>
2989
2990 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2991 print g_vE): Add new pass patterns.
2992 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2993 print various symbol names for vptr fields.
2994
9d622bda
AB
29952015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2996
2997 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2998 results.
2999
0fd8ac1c
YQ
30002015-10-12 Yao Qi <yao.qi@linaro.org>
3001
3002 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3003
34240514
YQ
30042015-10-12 Yao Qi <yao.qi@linaro.org>
3005
3006 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3007 is aarch64*-*-linux*.
3008
8240f442
YQ
30092015-10-12 Yao Qi <yao.qi@linaro.org>
3010
3011 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3012 (can_relocate_bcond_true): ... it.
3013 (can_relocate_bcond_false): New function.
3014 (foo): Likewise.
3015 (can_relocate_bl): Likewise.
3016 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3017 can_relocate_bl.
3018
2520f728
PMR
30192015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3020
3021 * gdb.base/nested-addr.c: New file.
3022 * gdb.base/nested-addr.exp: New testcase.
3023
abcef95a
MM
30242015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3025
3026 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3027 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3028 its output. Ignore the output of "record goto begin" and instead
3029 check that GDB is replaying.
3030
145e3ddb
PA
30312015-10-09 Pedro Alves <palves@redhat.com>
3032
3033 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3034 (top level): Use it in the run with no args test.
3035
d5d8c4e1
IB
30362015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3037
3038 * gdb.dlang/properties.exp: New file.
3039
06e635ef
SL
30402015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3041
3042 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3043 whether or not address 0x1000 is mapped on the target.
3044
e019fd1d
SM
30452015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3046
3047 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3048 build.
3049
77ba2a67
MM
30502015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3051
3052 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3053 instruction-history test.
3054
c60eb31f
DE
30552015-09-28 Doug Evans <dje@google.com>
3056
3057 * gdb.base/gcore.c (array_func): Add reference to static_array.
3058
9a3c8263
SM
30592015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3060
3061 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3062 source line.
3063
9720e656
SL
30642015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3065
3066 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3067 short or char as base type.
3068
938d3bf2
SL
30692015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3070
3071 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3072 to allow any size enum.
3073
e6c2c623
PMR
30742015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3075
3076 * gdb.ada/array_ptr_renaming.exp: New testcase.
3077 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3078 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3079
06da0f77
PL
30802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3081
3082 * gdb.trace/ftrace-lock.c: New file.
3083 * gdb.trace/ftrace-lock.exp: New file.
3084
4f51c22a
PL
30852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3086
3087 * gdb.arch/insn-reloc.c: New file.
3088 * gdb.arch/ftrace-insn-reloc.exp: New file.
3089
7041adf4
PL
30902015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3091
3092 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3093 instruction.
3094 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3095 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3096 * gdb.trace/range-stepping.c: Likewise.
3097 * gdb.trace/trace-break.c: Likewise.
3098 * gdb.trace/trace-mt.c (thread_function): Likewise.
3099 * gdb.trace/ftrace.c (marker): Likewise.
3100 * gdb.trace/trace-condition.c (marker): Likewise.
3101 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3102 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3103 is_aarch64_target.
3104
015d2e7e
DE
31052015-09-18 Doug Evans <xdje42@gmail.com>
3106
3107 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3108 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3109
26b188a2
SL
31102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3111
3112 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3113 the breakpoint.
3114
79dc332b
SL
31152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3116
3117 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3118 the pending breakpoint. Remove timeout override for "Run till
3119 MI pending breakpoint on pendfunc3 on thread 2" test.
3120
f57929f2
SL
31212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3122
3123 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3124 filename pattern.
3125
3f469b17
SL
31262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3127
3128 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3129 in breakpoint filename pattern.
3130
515b89b3
SL
31312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3132
7800dbe4
SL
3133 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3134
31352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3136
515b89b3
SL
3137 * gdb.linespec/explicit.exp: Check for readline support for
3138 tab-completion tests. Fix obvious typo.
3139
d2939ba2
MM
31402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3141
3142 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3143 and replay.
3144
cbb55fa7
MM
31452015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3146
3147 * gdb.btrace/non-stop.c: New.
3148 * gdb.btrace/non-stop.exp: New.
3149
43691ca1
PL
31502015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3151 Yao Qi <yao.qi@linaro.org>
3152
3153 * gdb.trace/trace-condition.c: New file.
3154 * gdb.trace/trace-condition.exp: New file.
3155
d78908cf
WW
31562015-09-16 Wei-cheng Wang <cole945@gmail.com>
3157
3158 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3159 for testing bytecode compilation.
3160
1ed415e2
PA
31612015-09-16 Pedro Alves <palves@redhat.com>
3162 Sandra Loosemore <sandra@codesourcery.com>
3163
3164 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3165 (SECONDS): Redefine.
3166 (main): Call pthread_kill and alarm early.
3167 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3168 support.
3169 (test): If the target can't hardware step and doesn't support
3170 displaced stepping, increase the timeout.
3171
d136eff5
PA
31722015-09-16 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3175 (enable_debug): New procedures.
3176 (test): Use them. Bail out if waiting for threads fails.
3177 (top level): Bail out if a test fails.
3178
991f019c
YQ
31792015-09-16 Yao Qi <yao.qi@linaro.org>
3180
3181 * gdb.asm/asm-source.exp: Set asm-arch for
3182 aarch64*-*-* target.
3183 * gdb.asm/aarch64.inc: New file.
3184
bfca584f
PMR
31852015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3186
3187 * gdb.ada/array_of_variable_length.exp: New testcase.
3188 * gdb.ada/array_of_variable_length/foo.adb: New file.
3189 * gdb.ada/array_of_variable_length/pck.adb: New file.
3190 * gdb.ada/array_of_variable_length/pck.ads: New file.
3191
b326e587
DE
31922015-09-15 Doug Evans <dje@google.com>
3193
3194 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3195 of function static local variable.
3196
5382cfab
PW
31972015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3198
3199 * gdb.threads/tls-so_extern.exp: New test file.
3200 * gdb.threads/tls-so_extern.c: New test file.
3201 * gdb.threads/tls-so_extern_main.c: New test file.
3202
141c5cc4
JK
32032015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3204
3205 * gdb.opt/solib-intra-step-lib.c: New file.
3206 * gdb.opt/solib-intra-step-main.c: New file.
3207 * gdb.opt/solib-intra-step.exp: New file.
3208
d15dcecd
PA
32092015-09-15 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3212 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3213
4c2f2a79
PA
32142015-09-14 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.base/hook-stop-continue.c: Delete.
3217 * gdb.base/hook-stop-continue.exp: Delete.
3218 * gdb.base/hook-stop-frame.c: Delete.
3219 * gdb.base/hook-stop-frame.exp: Delete.
3220 * gdb.base/hook-stop.c: New file.
3221 * gdb.base/hook-stop.exp: New file.
3222
919e6dbe
PMR
32232015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3224
3225 * gdb.ada/access_to_packed_array.exp: New testcase.
3226 * gdb.ada/access_to_packed_array/foo.adb: New file.
3227 * gdb.ada/access_to_packed_array/pack.adb: New file.
3228 * gdb.ada/access_to_packed_array/pack.ads: New file.
3229
157280a4
MM
32302015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3231
3232 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3233 buffer size test.
3234
2fd33e94
DB
32352015-09-11 Don Breazeal <donb@codesourcery.com>
3236
3237 * gdb.base/foll-exec.c: Add copyright header. Fix
3238 formatting issues.
3239 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3240 (do_exec_tests): Use clean_restart in place of zap_session,
3241 and for test initialization. Fix formatting issues. Use
3242 fail in place of perror.
3243 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3244 an expect statement to match an expression with output from
3245 the program under debug.
3246 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3247 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3248 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3249 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3250 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3251
e70b6e8e
DE
32522015-09-09 Doug Evans <dje@google.com>
3253
3254 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3255
7a551a51
DE
32562015-09-09 Doug Evans <dje@google.com>
3257
3258 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3259
4c666f84
DE
32602015-09-09 Doug Evans <dje@google.com>
3261
3262 * gdb.base/savedregs.exp: Fix typo.
3263
243a9253
PA
32642015-09-09 Pedro Alves <palves@redhat.com>
3265
3266 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3267
c0fa8fbd
SL
32682015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3269
3270 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3271 command actually switches threads. Give up on remaining
3272 tests if target fails to stop at breakpoint.
3273
cd7c1778
PMR
32742015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3275
3276 * gdb.ada/funcall_char.exp: New testcase.
3277 * gdb.ada/funcall_char/foo.adb: New file.
3278
dc5c8746
PMR
32792015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3280
3281 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3282 expected outputs. Add two testcases for completing ambiguous
3283 functions.
3284 * gdb.ada/complete/aux_pck.adb: New file.
3285 * gdb.ada/complete/aux_pck.ads: New file.
3286 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3287 Ambiguous_Func functions.
3288 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3289 * gdb.ada/complete/pck.adb: Likewise.
3290
4e83a1e7
UW
32912015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3292
3293 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3294 failures to run the test program under GDB.
3295
8ce74153
LM
32962015-08-26 Luis Machado <lgustavo@codesourcery.com>
3297
3298 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3299 to C.
3300
e9756d52
PP
33012015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3302
3303 * gdb.base/run-after-attach.exp: New test file.
3304 * gdb.base/run-after-attach.c: New test file.
3305
8d37573b
DB
33062015-08-26 Don Breazeal <donb@codesourcery.com>
3307
3308 * gdb.base/foll-exec-2.c: New test program.
3309 * gdb.base/foll-exec-2.exp: New test.
3310
63e43d3a
PMR
33112015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3312
3313 * gdb.base/nested-subp1.exp: New file.
3314 * gdb.base/nested-subp1.c: New file.
3315 * gdb.base/nested-subp2.exp: New file.
3316 * gdb.base/nested-subp2.c: New file.
3317 * gdb.base/nested-subp3.exp: New file.
3318 * gdb.base/nested-subp3.c: New file.
3319
3d40fbb5
PA
33202015-08-24 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.server/connect-without-multi-process.c: New file.
3323 * gdb.server/connect-without-multi-process.exp: New file.
3324
4422ac93
LM
33252015-08-24 Luis Machado <lgustavo@codesourcery.com>
3326
3327 * gdb.opt/inline-markers.c: Make z int.
3328
91dddb86
LM
33292015-08-24 Luis Machado <lgustavo@codesourcery.com>
3330
3331 * gdb.opt/inline-markers.c: Make z volatile.
3332
a48847ee
LM
33332015-08-24 Luis Machado <lgustavo@codesourcery.com>
3334
3335 * gdb.opt/inline-bt.c: New volatile global z.
3336 * gdb.opt/inline-cmds.c: Likewise.
3337 * gdb.opt/inline-locals.c: Likewise.
3338 * gdb.opt/inline-markers.c: New extern global z.
3339 (marker): Use z.
3340 (inline_fn): Likewise.
3341
0ebbc52b
PA
33422015-08-24 Pedro Alves <palves@redhat.com>
3343
3344 * config/m32r-stub.exp: Remove file.
3345 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3346 * gdb.base/call-rt-st.exp: Likewise.
3347 * gdb.base/call-strs.exp: Likewise.
3348 * gdb.base/default.exp: Remove references to h8300-*-hms and
3349 *-*-udi*.
3350 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3351
77c365df
AA
33522015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3353
3354 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3355 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3356 and "return" use KFAIL when GDB can not read/write the vector
3357 return value.
3358
4313b8c0
GB
33592015-08-21 Gary Benson <gbenson@redhat.com>
3360
3361 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3362
0e433b32
PA
33632015-08-20 Pedro Alves <palves@redhat.com>
3364
3365 * gdb.server/solib-list.exp: No longer expect an interior stop in
3366 non-stop mode.
3367
221e1a37
PA
33682015-08-20 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.server/connect-stopped-target.c: New file.
3371 * gdb.server/connect-stopped-target.exp: New file.
3372
40e3ad0e
PA
33732015-08-20 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.dwarf2/comp-unit-lang.exp: New file.
3376 * gdb.dwarf2/comp-unit-lang.c: New file.
3377
af39b327
PMR
33782015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3379
3380 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3381 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3382
7d45c7c3 33832015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3384
7d45c7c3
KB
3385 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3386 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3387
4d6cceb4
DE
33882015-08-18 Doug Evans <dje@google.com>
3389 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3390
3391 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3392 skip_python_tests. New arg prompt_regexp.
3393 (skip_python_tests): New function.
3394 * lib/mi-support.exp (mi_skip_python_tests): New function.
3395 * gdb.python/py-mi-objfile-gdb.py: New file.
3396 * gdb.python/py-mi-objfile.c: New file.
3397 * gdb.python/py-mi-objfile.exp: New file.
3398
ad89c2aa
KS
33992015-08-17 Keith Seitz <keiths@redhat.com>
3400
3401 * gdb.linespec/explicit.exp: Move strace test from here ...
3402 * gdb.trace/strace.exp: ... to here.
3403
e3ae3c43
PP
34042015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3405
3406 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3407 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3408
604b2636
DE
34092015-08-14 Doug Evans <xdje42@gmail.com>
3410
3411 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3412 inferior before selecting a new file.
3413
6ff0ba5f
DE
34142015-08-14 Doug Evans <xdje42@gmail.com>
3415
3416 * gdb.mi/mi-disassemble.exp: Update.
3417 * gdb.base/disasm-optim.S: New file.
3418 * gdb.base/disasm-optim.c: New file.
3419 * gdb.base/disasm-optim.h: New file.
3420 * gdb.base/disasm-optim.exp: New file.
3421
9ca98f92
KS
34222015-08-14 Keith Seitz <keiths@redhat.com>
3423
3424 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3425 "evaluated-by".
3426
52bbc560
JB
34272015-08-13 Joel Brobecker <brobecker@adacore.com>
3428
3429 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3430
5d8c3ed3
PMR
34312015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3432
3433 * gdb.ada/fun_renaming.exp: New testcase.
3434 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3435 * gdb.ada/fun_renaming/pack.adb: New file.
3436 * gdb.ada/fun_renaming/pack.ads: New file.
3437
ea8812bc
KS
34382015-08-12 Keith Seitz <keiths@redhat.com>
3439
3440 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3441 gdb_get_line_number.
3442
4dafcdeb
JB
34432015-08-12 Joel Brobecker <brobecker@adacore.com>
3444
3445 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3446 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3447 gdb.base/dso2dso.exp: New files.
3448
5ba32597
SDJ
34492015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3450 Pedro Alves <palves@redhat.com>
3451 Keith Seitz <keiths@redhat.com>
3452
3453 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3454 GDBFLAGS.
3455
b6dafabf
PP
34562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3457
3458 * gdb.base/gdbhistsize-history.exp
3459 (test_histsize_history_setting): Use save_vars.
3460 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3461 Use save_vars.
3462 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3463 * gdb.base/readline.exp: Use save_vars.
3464
abe8e607
PP
34652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3466
3467 * lib/gdb.exp (save_vars): New proc.
3468
629500fa
KS
34692015-08-11 Keith Seitz <keiths@redhat.com>
3470
3471 * gdb.base/help.exp: Update help_breakpoint_text.
3472
eb8c4e2e
KS
34732015-08-11 Keith Seitz <keiths@redhat.com>
3474
3475 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3476 (at toplevel): Call test_explicit_breakpoints.
3477 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3478 breakpoints.
3479 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3480 breakpoint conditions, "-cond".
3481
87f0e720
KS
34822015-08-11 Keith Seitz <keiths@redhat.com>
3483
3484 * gdb.linespec/3explicit.c: New file.
3485 * gdb.linespec/cpexplicit.cc: New file.
3486 * gdb.linespec/cpexplicit.exp: New file.
3487 * gdb.linespec/explicit.c: New file.
3488 * gdb.linespec/explicit.exp: New file.
3489 * gdb.linespec/explicit2.c: New file.
3490 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3491 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3492 before using in the matching pattern.
3493 Clarify that `prefix' is a regular expression.
3494
f00aae0f
KS
34952015-08-11 Keith Seitz <keiths@redhat.com>
3496
3497 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3498 test.
3499 Add tests for missing ",FMT" and ",".
3500
e27852be
DE
35012015-08-10 Doug Evans <dje@google.com>
3502 Keith Seitz <keiths@redhat.com>
3503
3504 PR gdb/17960
3505 * gdb.base/completion.exp: Add location completer tests.
3506
7f03bd92
PA
35072015-08-07 Pedro Alves <palves@redhat.com>
3508
3509 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3510 tests here.
3511 (top level): Run do_test with and without displaced stepping.
3512
3fc8eb30
PA
35132015-08-07 Pedro Alves <palves@redhat.com>
3514
3515 * gdb.base/valgrind-disp-step.c: New file.
3516 * gdb.base/valgrind-disp-step.exp: New file.
3517
d4569d7b
PA
35182015-08-07 Pedro Alves <palves@redhat.com>
3519
3520 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3521 Delete function.
3522 (main): Add alarm. Run an infinite loop instead of calling
3523 wait_threads.
3524 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3525 comment.
3526 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3527 Delete function.
3528 (main): Add alarm. Run an infinite loop instead of calling
3529 wait_threads.
3530 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3531 comment.
3532
e1316e60
PA
35332015-08-07 Pedro Alves <palves@redhat.com>
3534
3535 * gdb.base/checkpoint-ns.exp: New file.
3536 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3537 standard_testfile.
3538
da8c46d2
MM
35392015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3540
3541 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3542 * gdb.btrace/instruction_history.exp: Update.
3543 * gdb.btrace/tsx.exp: New.
3544 * gdb.btrace/tsx.c: New.
3545
de1c2c52
PA
35462015-08-06 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3549 increase timeout.
3550 * gdb.reverse/until-precsave.exp: Bump timeouts.
3551
782e0bf4
PA
35522015-08-06 Pedro Alves <palves@redhat.com>
3553
3554 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3555
83e97ed0
PA
35562015-08-06 Pedro Alves <palves@redhat.com>
3557
3558 PR gdb/18749
3559 * gdb.threads/process-dies-while-handling-bp.c: New file.
3560 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3561
863d01bd
PA
35622015-08-06 Pedro Alves <palves@redhat.com>
3563
3564 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3565 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3566
0a39bb32
PA
35672015-08-05 Pedro Alves <palves@redhat.com>
3568
3569 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3570 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3571
ee2d2b10
SL
35722015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3573
3574 * gdb.base/bp-permanent.exp: Report test as unsupported if
3575 the target cannot stop at the permanent breakpoint.
3576
4e1bdb00
DE
35772015-08-03 Doug Evans <dje@google.com>
3578
3579 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3580 10000.
3581
3d338901
DE
35822015-08-03 Doug Evans <dje@google.com>
3583
3584 * Makefile.in (workers/%.worker, build-perf): New rule.
3585 (GDB_PERFTEST_MODE): New variable.
3586 (check-perf): Use it.
3587 (clean): Clean up gdb.perf parallel build subdirs.
3588 * lib/build-piece.exp: New file.
3589 * lib/gdb.exp (make_gdb_parallel_path): New function
3590 (standard_output_file, standard_temp_file): Call it.
3591 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3592 of $GDB_PARALLEL.
3593 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3594
af061d3e
DE
35952015-08-03 Doug Evans <dje@google.com>
3596
8e1afc81 3597 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3598 (LOG_FILE_NAME): New global.
3599 (TextReporter.__init__): Initialize self.txt_sum.
3600 (TextReporter.report): Add support for multiple data-points.
3601 Move report to perftest.sum, put raw data in perftest.log.
3602 (TextReporter.start): Open sum and log files.
3603 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3604 * gdb.perf/lib/perftest/testresult.py
3605 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3606
2c8c5d37
PA
36072015-07-31 Pedro Alves <palves@redhat.com>
3608
3609 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3610 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3611 kill_wait_spawned_process instead of explicit "kill -9".
3612 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3613 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3614 kill_wait_spawned_process.
3615 * gdb.base/attach-twice.exp: Likewise.
3616 * gdb.base/attach.exp: Likewise.
3617 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3618 gdb_test_multiple.
3619 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3620 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3621 kill_wait_spawned_process.
3622 * gdb.base/valgrind-infcall.exp: Likewise.
3623 * gdb.multi/multi-attach.exp: Likewise.
3624 * gdb.python/py-prompt.exp: Likewise.
3625 * gdb.python/py-sync-interp.exp: Likewise.
3626 * gdb.server/ext-attach.exp: Likewise.
3627 * gdb.threads/attach-into-signal.exp (corefunc): Use
3628 spawn_wait_for_attach, spawn_id_get_pid and
3629 kill_wait_spawned_process.
3630 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3631 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3632 spawn_id_get_pid and kill_wait_spawned_process.
3633 * gdb.threads/attach-stopped.exp (corefunc): Use
3634 spawn_wait_for_attach, spawn_id_get_pid and
3635 kill_wait_spawned_process.
3636 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3637 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3638 kill_wait_spawned_process instead of explicit "kill -9".
3639 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3640 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3641 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3642 processes. Don't map cygwin/windows pids here. Now returns a
3643 spawn id list.
3644
032a0fca
SL
36452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3646
3647 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3648 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3649 correct patch.
3650
61a934ca
SL
36512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3652
3653 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3654
4bc4d428
SL
36552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3656
3657 Reapply:
3658 2014-05-21 Mark Wielaard <mjw@redhat.com>
3659
3660 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3661
998d452a
PA
36622015-07-30 Pedro Alves <palves@redhat.com>
3663
3664 * linux-low.c (handle_extended_wait): Set the child's last
3665 reported status to TARGET_WAITKIND_STOPPED.
3666
69dde7dc
PA
36672015-07-30 Pedro Alves <palves@redhat.com>
3668
3669 PR threads/18600
3670 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3671 only shows inferior 1.
3672
4dd63d48
PA
36732015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3674 Pedro Alves <palves@redhat.com>
3675
3676 PR threads/18600
3677 * gdb.threads/fork-plus-threads.c: New file.
3678 * gdb.threads/fork-plus-threads.exp: New file.
3679
d618e4c5
PP
36802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3681
3682 * gdb.base/batch-preserve-term-settings.exp
3683 (test_terminal_settings_preserved_after_cli_exit): Use
3684 send_quit_command.
3685
1eef6428
PA
36862015-07-29 Pedro Alves <palves@redhat.com>
3687 Don Breazeal <donb@codesourcery.com>
3688
3689 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3690 output from both inferior_spawn_id and gdb_spawn_id.
3691
7da5b897
SDJ
36922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3693
3694 * gdb.threads/attach-into-signal.exp (corefunc): Use
3695 with_test_prefix on nested loops, uniquefying the test messages.
3696
dac804df
SDJ
36972015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3698
3699 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3700 commit.
3701
06265e53
PP
37022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3703
3704 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3705 New proc.
3706 (test_terminal_settings_preserved_after_sigterm): New test.
3707
18206ca3
PP
37082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3709
3710 * gdb.base/batch-preserve-term-settings.exp
3711 (test_terminal_settings_preserved_after_cli_exit): New test.
3712
90074d11
PP
37132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3714
3715 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3716 manipulation of saved_gdbflags.
3717 (test_terminal_settings_preserved): Remove global declaration of
3718 the unused variable pagination_prompt. Remove manipulation of
3719 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3720 GDBFLAGS.
3721
eb1a7902
PA
37222015-07-29 Pedro Alves <palves@redhat.com>
3723
3724 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3725
8b75dd3b
PA
37262015-07-29 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3729 at the top.
3730
dedad4e3
PA
37312015-07-29 Pedro Alves <palves@redhat.com>
3732
3733 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3734 (main): Call gdb_unbuffer_output.
3735 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3736 (main): Call gdb_unbuffer_output.
3737 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3738 (main): Call gdb_unbuffer_output.
3739 * gdb.base/call-strs.exp: Adjust to step over the
3740 gdb_unbuffer_output call.
3741 * gdb.base/catch-gdb-caused-signals.c: Include
3742 "../lib/unbuffer_output.c".
3743 (main): Call gdb_unbuffer_output.
3744 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3745 (main): Call gdb_unbuffer_output.
3746 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3747 (main): Call gdb_unbuffer_output.
3748 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3749 (main): Call gdb_unbuffer_output.
3750 * gdb.base/shlib-call.exp: Adjust to step over the
3751 gdb_unbuffer_output call.
3752 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3753 (main): Call gdb_unbuffer_output.
3754 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3755 (main): Call gdb_unbuffer_output.
3756 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3757 (main): Rename to ...
3758 (test): ... this.
3759 (main): Reimplement.
3760 * gdb.base/varargs.exp: Run to test instead of to main.
3761 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3762 (main): Call gdb_unbuffer_output.
3763
58789a91
PA
37642015-07-29 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3767 factore out from mi_continue_dprintf. For call-style dprintfs,
3768 expect dprintf output out of $inferior_spawn_id.
3769 (mi_continue_dprintf): Use mi_expect_dprintf.
3770 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3771 (main): Call gdb_unbuffer_output.
3772
e8376742
PA
37732015-07-29 Pedro Alves <palves@redhat.com>
3774
3775 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3776 (default_mi_gdb_start): Set inferior_spawn_id instead of
3777 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3778 gdb_spawn_id.
3779 (mi_gdb_test): Always expect inferior output from both
3780 $inferior_spawn_id and $gdb_spawn_id.
3781
08280010
PA
37822015-07-29 Pedro Alves <palves@redhat.com>
3783
3784 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3785 send_inferior and $inferior_spawn_id.
3786
4d30e432
PA
37872015-07-29 Pedro Alves <palves@redhat.com>
3788
3789 * gdb.gdb/complaints.exp (test_initial_complaints)
3790 (test_serial_complaints, test_short_complaints): Use
3791 gdb_test_stdio.
3792 (test_empty_complaint): Handle $inferior_spawn_id !=
3793 $gdb_spawn_id.
3794
0d30a335
PA
37952015-07-29 Pedro Alves <palves@redhat.com>
3796
3797 * gdb.base/varargs.exp: Use gdb_test_stdio.
3798
39413b29
PA
37992015-07-29 Pedro Alves <palves@redhat.com>
3800
3801 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3802
7cb000a9
PA
38032015-07-29 Pedro Alves <palves@redhat.com>
3804
3805 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3806
d7b8ac82
PA
38072015-07-29 Pedro Alves <palves@redhat.com>
3808
3809 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3810 parameter into two new parameters, "inf_result" and "gdb_result".
3811 Expect inferior output and gdb output from $inferior_spawn_id and
3812 $gdb_spawn_id, respectively. Adjust all callers.
3813
789c3a0c
PA
38142015-07-29 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3817 of gdb_test_sequence.
3818
77e760c3
PA
38192015-07-29 Pedro Alves <palves@redhat.com>
3820
3821 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3822 (saw_spurious_output): Expect inferior output from
3823 $inferior_spawn_id. Use gdb_test_stdio.
3824
8396d2cd
PA
38252015-07-29 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/dprintf.exp: Use standard_testfile. Change
3828 prepare_for_testing call.
3829 (srcfile): Don't set.
3830 (restart): New procedure.
3831 (test_dprintf): New procecure, use to continue over dprintfs.
3832 (test_call, test_agent): New procedures, tests moved here.
3833 Restart gdb and recreate dprintfs. Adjust expected output.
3834
2051d61f
PA
38352015-07-29 Pedro Alves <palves@redhat.com>
3836
3837 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3838
452397af
PA
38392015-07-29 Pedro Alves <palves@redhat.com>
3840
3841 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3842
8aed9555
PA
38432015-07-29 Pedro Alves <palves@redhat.com>
3844
3845 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3846 gdb_test_stdio.
3847
188a61b4
PA
38482015-07-29 Pedro Alves <palves@redhat.com>
3849
3850 * lib/gdb.exp (gdb_test_stdio): New procedure.
3851
12264a45
PA
38522015-07-29 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3855
23ffc893
PA
38562015-07-29 Pedro Alves <palves@redhat.com>
3857
3858 * gdb.base/call-signal-resume.exp: Remove check for
3859 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3860 * gdb.base/unwindonsignal.exp: Likewise.
3861 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3862 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3863
65566918
PA
38642015-07-29 Pedro Alves <palves@redhat.com>
3865
3866 * gdb.base/siginfo-addr.c (pass): New function.
3867 (handler): Call it iff si_addr is correct.
3868 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3869 Set a breakpoint at "pass" and continue to it.
3870
d60a9221
SDJ
38712015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3872
3873 * gdb.python/py-objfile.exp: Make some tests have unique names.
3874 * gdb.python/py-pp-registration.exp: Likewise.
3875
bde40b8f
PA
38762015-07-28 Pedro Alves <palves@redhat.com>
3877
3878 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3879
13e1dec8
SM
38802015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3881
3882 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3883
da33c9a7
SM
38842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3885
3886 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3887
077836f7
PP
38882015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3889
3890 * gdb.base/gdb-sigterm-2.exp: New test.
3891
b8cc7b2e
DE
38922015-07-25 Doug Evans <xdje42@gmail.com>
3893
3894 Revert:
3895 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3896 (workers/%.worker, build-perf): New rule.
3897 (GDB_PERFTEST_MODE): New variable.
3898 (check-perf): Use it.
3899 (clean): Clean up gdb.perf parallel build subdirs.
3900 * lib/build-piece.exp: New file.
3901 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3902 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3903 name.
3904 (standard_temp_file): Ditto.
3905 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3906 of $GDB_PARALLEL.
3907
c8bd4544
DE
39082015-07-24 Doug Evans <dje@google.com>
3909
3910 * gdb.perf/lib/perftest/utils.py: New file.
3911 * gdb.perf/gm-hello.cc: New file.
3912 * gdb.perf/gm-pervasive-typedef.cc: New file.
3913 * gdb.perf/gm-pervasive-typedef.h: New file.
3914 * gdb.perf/gm-std.cc: New file.
3915 * gdb.perf/gm-std.h: New file.
3916 * gdb.perf/gm-use-cerr.cc: New file.
3917 * gdb.perf/gm-utils.h: New file.
3918 * gdb.perf/gmonster-null-lookup.py: New file.
3919 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3920 * gdb.perf/gmonster-print-cerr.py: New file.
3921 * gdb.perf/gmonster-ptype-string.py: New file.
3922 * gdb.perf/gmonster-runto-main.py: New file.
3923 * gdb.perf/gmonster-select-file.py: New file.
3924 * gdb.perf/gmonster1-null-lookup.exp: New file.
3925 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3926 * gdb.perf/gmonster1-print-cerr.exp: New file.
3927 * gdb.perf/gmonster1-ptype-string.exp: New file.
3928 * gdb.perf/gmonster1-runto-main.exp: New file.
3929 * gdb.perf/gmonster1-select-file.exp: New file.
3930 * gdb.perf/gmonster1.cc: New file.
3931 * gdb.perf/gmonster1.exp: New file.
3932 * gdb.perf/gmonster2-null-lookup.exp: New file.
3933 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3934 * gdb.perf/gmonster2-print-cerr.exp: New file.
3935 * gdb.perf/gmonster2-ptype-string.exp: New file.
3936 * gdb.perf/gmonster2-runto-main.exp: New file.
3937 * gdb.perf/gmonster2-select-file.exp: New file.
3938 * gdb.perf/gmonster2.cc: New file.
3939 * gdb.perf/gmonster2.exp: New file.
3940
6eab34f3
DE
39412015-07-24 Doug Evans <dje@google.com>
3942
3943 * gdb.perf/README: New file.
3944 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3945 * lib/gen-perf-test.exp: New file.
3946
63738bfd
DE
39472015-07-24 Doug Evans <dje@google.com>
3948
3949 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3950 (PerfTest::startup): New function.
3951 (PerfTest::run): Return result of calling body.
3952 (PerfTest::assemble): Rewrite.
3953 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3954 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3955 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3956 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3957 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3958
7b606f95
DE
39592015-07-24 Doug Evans <dje@google.com>
3960
3961 * lib/gdb.exp (clean_restart): Make executable optional.
3962
a97b16b8
DE
39632015-07-24 Doug Evans <dje@google.com>
3964
3965 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3966 compiler_info references.
3967 * gdb.cp/temargs.exp: Ditto.
3968 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3969 (get_compiler_info): Early exit if already computed. Set compiler_info
3970 to "unknown" if there was a problem.
3971 (test_compiler_info): Add function comment. Call get_compiler_info.
3972
35baa57f
DE
39732015-07-24 Doug Evans <dje@google.com>
3974
3975 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3976 (workers/%.worker, build-perf): New rule.
3977 (GDB_PERFTEST_MODE): New variable.
3978 (check-perf): Use it.
3979 (clean): Clean up gdb.perf parallel build subdirs.
3980 * lib/build-piece.exp: New file.
3981 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3982 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3983 name.
3984 (standard_temp_file): Ditto.
3985 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3986 of $GDB_PARALLEL.
3987
6ebea266
DE
39882015-07-24 Doug Evans <dje@google.com>
3989
3990 * lib/future.exp (gdb_default_target_compile): New option
3991 "early_flags".
3992 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3993 --as-needed.
3994
1e76a7e9
SDJ
39952015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3996
3997 * gdb.base/catch-syscall.exp: Call gdb_exit before
3998 gdb_skip_xml_test.
3999
5068630a
PA
40002015-07-24 Pedro Alves <palves@redhat.com>
4001
4002 * gdb.python/py-events.exp: Accept output between the stop event
4003 and the prompt.
4004 * gdb.python/py-evsignal.exp: Likewise.
4005 * gdb.python/py-evthreads.exp: Likewise.
4006
77598427
PA
40072015-07-24 Pedro Alves <palves@redhat.com>
4008
4009 PR gdb/18717
4010 * gdb.threads/non-ldr-exit.c: New file.
4011 * gdb.threads/non-ldr-exit.exp: New file.
4012
11e6c98f
YQ
40132015-07-24 Yao Qi <yao.qi@linaro.org>
4014
4015 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4016 restarting process.
4017
51aee833
YQ
40182015-07-24 Yao Qi <yao.qi@linaro.org>
4019
4020 * gdb.server/ext-restart.exp: New file.
4021
8cfe207c
YQ
40222015-07-24 Yao Qi <yao.qi@linaro.org>
4023
4024 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4025 argument options.
4026 * gdb.server/ext-wrapper.exp: New file.
4027
cc12ce38
DE
40282015-07-23 Doug Evans <dje@google.com>
4029
4030 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4031 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4032
d0d84780
PMR
40332015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4034
4035 * gdb.ada/var_arr_typedef.exp: New testcase.
4036 * gdb.ada/var_arr_typedef/pack.adb: New file.
4037 * gdb.ada/var_arr_typedef/pack.ads: New file.
4038 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4039
8b558f79
JB
40402015-07-20 Joel Brobecker <brobecker@adacore.com>
4041
4042 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4043
775a3298
JK
40442015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 * gdb.arch/i386-biarch-core.exp: Replace istarget
4047 by "complete set gnutarget". Remove expectation for the "core-file"
4048 command.
4049
db1ff28b
JK
40502015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4051
4052 Revert the previous commit:
4053 Tests for validate symbol file using build-id.
4054
0a94970d
JK
40552015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4056
4057 Tests for validate symbol file using build-id.
4058 * gdb.base/solib-mismatch-lib.c: New file.
4059 * gdb.base/solib-mismatch-libmod.c: New file.
4060 * gdb.base/solib-mismatch.c: New file.
4061 * gdb.base/solib-mismatch.exp: New file.
4062
03346981
SL
40632015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4064
4065 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4066 nios2-*-linux*.
4067 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4068 * gdb.base/siginfo.exp: Likewise.
4069 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4070
42422cc7
PL
40712015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4072
4073 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4074 Move it to ...
4075 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4076 ... here.
4077 * gdb.trace/range-stepping.exp: Check that the target supports
4078 range stepping.
4079
cfa68bae
JK
40802015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4083
8ffdba26
PA
40842015-07-14 Pedro Alves <palves@redhat.com>
4085
4086 * gdb.base/killed-outside.exp: New file.
4087 * gdb.base/killed-outside.c: New file.
4088
218a5a11
JK
40892015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4090
4091 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4092 (n at main): New.
4093 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4094
e03ed3c6
AA
40952015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4096
4097 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4098 infcall tests instead of setting up for KFAIL.
4099
485668e5
MM
41002015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4101
4102 * gdb.btrace/record_goto-step.exp: New.
4103
08464196
JK
41042015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4105
4106 PR compile/18484
4107 * gdb.compile/compile.c (struct struct_type): Add volatile to
4108 selffield's type.
4109 * gdb.compile/compile.exp
4110 (compile code struct_object.selffield = &struct_object): Skip further
4111 struct_object tests if this one xfails.
4112
bcf5c1d9
RC
41132015-07-08 Robert O'Callahan <robert@ocallahan.org>
4114
4115 PR exp/18617
4116 * gdb.trace/ax.exp: Add test.
4117
4931af25
YQ
41182015-07-07 Yao Qi <yao.qi@linaro.org>
4119
4120 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4121 instead of istarget "aarch64*-*-*".
4122 * gdb.arch/aarch64-fp.exp: Likewise.
4123 * gdb.base/float.exp: Likewise.
4124 * gdb.reverse/aarch64.exp: Likewise.
4125 * lib/gdb.exp (is_aarch64_target): New proc.
4126
9fcf688e
YQ
41272015-07-07 Yao Qi <yao.qi@linaro.org>
4128
4129 * lib/gdb.exp (is_aarch32_target): New proc.
4130 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4131 instead of "istarget "arm*-*-*"".
4132 * gdb.arch/arm-disp-step.exp: Likewise.
4133 * gdb.arch/thumb-bx-pc.exp: Likewise.
4134 * gdb.arch/thumb-prologue.exp: Likewise.
4135 * gdb.arch/thumb-singlestep.exp: Likewise.
4136 * gdb.base/disp-step-syscall.exp: Likewise.
4137 * gdb.base/float.exp: Likewise.
4138
fbd8d50d
YQ
41392015-07-07 Yao Qi <yao.qi@linaro.org>
4140
4141 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4142 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4143
71be1fdc
YQ
41442015-07-07 Yao Qi <yao.qi@linaro.org>
4145
4146 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4147 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4148 if it exists.
4149 * gdb.multi/multi-arch.exp: Likewise.
4150
3e221d36
SM
41512015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4152
4153 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4154 print.
4155
d441430b
YQ
41562015-07-07 Yao Qi <yao.qi@linaro.org>
4157
4158 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4159
06f810bd
MG
41602015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4161
4162 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4163 '[' and ']' characters.
4164
5e61e7c0
IB
41652015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4166
4167 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4168
28bf096c
PA
41692015-06-29 Pedro Alves <palves@redhat.com>
4170
4171 PR threads/18127
4172 * gdb.threads/hand-call-new-thread.c: New file.
4173 * gdb.threads/hand-call-new-thread.c: New file.
4174
ee93cd5e
KS
41752015-06-26 Keith Seitz <keiths@redhat.com>
4176 Doug Evans <dje@google.com>
4177
4178 PR 16253
4179 * gdb.cp/var-tag-2.cc: New file.
4180 * gdb.cp/var-tag-3.cc: New file.
4181 * gdb.cp/var-tag-4.cc: New file.
4182 * gdb.cp/var-tag.cc: New file.
4183 * gdb.cp/var-tag.exp: New file.
4184
fc637f04
PP
41852015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4186
4187 * gdb.base/history-duplicates.exp: New test.
4188
2e52ae68
PP
41892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4190
4191 * gdb.base/completion.exp: Test the completion of the "focus"
4192 command.
4193
6e22494e
JK
41942015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4195
4196 * gdb.arch/amd64-prologue-skip.S: New file.
4197 * gdb.arch/amd64-prologue-skip.exp: New file.
4198
bf7b9cd9
SM
41992015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4200
4201 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4202 is_address_zero_readable check.
4203
201e8dfd
PB
42042015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4205
4206 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4207 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4208
5cd867b4
YQ
42092015-06-24 Yao Qi <yao.qi@linaro.org>
4210
4211 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4212 linux targets.
4213
4d7be007
YQ
42142015-06-24 Yao Qi <yao.qi@linaro.org>
4215
4216 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4217 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4218 * gdb.base/siginfo-thread.exp: Likewise.
4219
07fcd301
YQ
42202015-06-22 Yao Qi <yao.qi@linaro.org>
4221
4222 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4223
52042a00
YQ
42242015-06-22 Yao Qi <yao.qi@linaro.org>
4225
4226 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4227 aarch64*-*-*.
4228 (skip_hw_watchpoint_tests): Likewise.
4229
74bd41ce
PP
42302015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4231
4232 * gdb.base/gdbinit-history.exp: Test the interaction between
4233 setting GDBHISTSIZE and setting the history size via .gdbinit.
4234
bc460514
PP
42352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4236
4237 PR gdb/16999
4238 * gdb.base/gdbhistsize-history.exp: New test.
4239
b58c513b
PP
42402015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4241
4242 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4243 with GDBHISTSIZE.
4244 * gdb.base/readline.exp: Likewise.
4245
92046791
YQ
42462015-06-17 Yao Qi <yao.qi@linaro.org>
4247
4248 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4249 line.
4250
2093d2d3
PP
42512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4252
4253 * gdb.base/gdbinit-history.exp: Add test case to check that
4254 an unlimited history file does not get truncated on exit.
4255
e6c693af
AA
42562015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4257
4258 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4259 (VECTOR): New macro. Use it...
4260 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4261 ...for these typedefs.
4262 (int8, char1, int1, double1): New typedefs.
4263 (struct just_int2, struct two_int2): New structures.
4264 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4265 (add_structvecs, add_singlevecs): New functions.
4266 (main): Call add_some_intvecs twice.
4267 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4268 the compile and exit upon failure. Try compiling for the "native"
4269 architecture. Test inferior function calls with vector arguments
4270 and vector return value handling with "finish" and "return".
4271
c74f7d1c
JT
42722015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4273
4274 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4275 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4276 PE file.
4277 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4278
98aa42ee
AT
42792015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4280
4281 PR breakpoints/16465
4282 * gdb.mi/mi-dprintf-pending.c: New file.
4283 * gdb.mi/mi-dprintf-pending.exp: New test.
4284 * gdb.mi/mi-dprintf-pendshr.c: New file.
4285
7d73c23c 42862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4287 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4288
4289 * gdb.arch/i386-mpx-map.c: New file.
4290 * gdb.arch/i386-mpx-map.exp: New File.
4291
42922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4293
4294 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4295 * gdb.arch/i386-mpx.exp: Indentation fixed.
4296
42972015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4298
4299 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4300 function and improved indentation.
4301 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4302 gdb_test_multiple. Added additional tests to skip the test.
4303
43042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4305
4306 * gdb.arch/i386-avx512.c: Change path in include file.
4307 * gdb.arch/i386-avx512.exp: Change include dir path
4308 compilation flag.
4309 * gdb.arch/i386-mpx.c: Change path in include file.
4310 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4311 flag.
4312
d5eba19a
JK
43132015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4314
4315 * gdb.compile/compile-print.exp (compile print *vararray@3)
4316 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4317
7f361056
JK
43182015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4319
4320 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4321 (do not keep jit in memory): ... this.
4322 (expect 5): Change it to ...
4323 (expect no 5): ... this.
4324
3b462ec2
SM
43252015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4326
4327 PR gdb/15564
4328 * gdb.mi/mi-detach.exp: New file.
4329
e0619de6
JK
43302015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4331
4332 PR symtab/18392
4333 * gdb.arch/amd64-tailcall-self.S: New file.
4334 * gdb.arch/amd64-tailcall-self.c: New file.
4335 * gdb.arch/amd64-tailcall-self.exp: New file.
4336
e970cb34
DB
43372015-05-28 Don Breazeal <donb@codesourcery.com>
4338
4339 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4340 tests for remote targets by checking is_target_gdbserver.
4341
b2e2f908
DE
43422015-05-27 Doug Evans <dje@google.com>
4343
4344 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4345 * gdb.dwarf2/opaque-type-lookup.c: New file.
4346 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4347
82c7be31
DE
43482015-05-26 Doug Evans <dje@google.com>
4349
4350 * gdb.cp/iostream.cc: New file.
4351 * gdb.cp/iostream.exp: New file.
4352
b4f54984
DE
43532015-05-26 Doug Evans <dje@google.com>
4354
4355 * gdb.dwarf2/dw2-op-call.exp: Update.
4356 * gdb.dwarf2/dw4-sig-types.exp: Update.
4357 * gdb.dwarf2/implptr.exp: Update.
4358 * gdb.mi/mi-cmd-param-changed.exp: Update.
4359
4ea6efe9
DE
43602015-05-26 Doug Evans <dje@google.com>
4361
4362 * gdb.python/py-lazy-string.c: New file.
4363 * gdb.python/py-lazy-string.exp: New file.
4364 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4365 (main): Update. Add estring3.
4366 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4367 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4368
f6bb7db3
YQ
43692015-05-26 Omair Javaid <omair.javaid@linaro.org>
4370 Yao Qi <yao.qi@linaro.org>
4371
4372 * gdb.reverse/aarch64.c: New.
4373 * gdb.reverse/aarch64.exp: New.
4374
a81bfbd0
OJ
43752015-05-26 Omair Javaid <omair.javaid@linaro.org>
4376
25d49b86
PA
4377 * lib/gdb.exp (supports_process_record): Return true for
4378 aarch64*-linux*.
a81bfbd0
OJ
4379 (supports_reverse): Likewise.
4380
158bf1b4
PP
43812015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4382
4383 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4384 Use with_test_prefix.
4385
a0145030
AB
43862015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4387
4388 * gdb.base/completion.exp: Add test for completion of layout
4389 names.
4390
ebe3b578
AB
43912015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * lib/gdb.exp (skip_tui_tests): New proc.
4394 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4395
84204ed7
PA
43962015-05-19 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4399 Save the whole env array instead of just HOME. Unset HISTSIZE in
4400 the environment while testing. Restore whole environment
4401 afterwards.
4402
37442ce1
DE
44032015-05-16 Doug Evans <xdje42@gmail.com>
4404
4405 * gdb.guile/scm-ports.c: New file.
4406 * gdb.guile/scm-ports.exp: Add memory port tests.
4407
36de76f9
JK
44082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4409
4410 * gdb.compile/compile-print.c: New file.
4411 * gdb.compile/compile-print.exp: New file.
4412
3a9558c4
JK
44132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4414
4415 * gdb.compile/compile-ops.exp: Cast param to void.
4416 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4417 (compile code struct_object.selffield = &struct_object): Add xfail.
4418
aa715135
JG
44192015-05-15 Joel Brobecker <brobecker@adacore.com>
4420
4421 * gdb.ada/arr_enum_with_gap: New testcase.
4422
931e5bc3
JG
44232015-05-15 Joel Brobecker <brobecker@adacore.com>
4424
4425 * gdb.ada/byte_packed_arr: New testcase.
4426
9cd4d857
JB
44272015-05-15 Joel Brobecker <brobecker@adacore.com>
4428
4429 * gdb.ada/pckd_neg: New testcase.
4430
ebfd00d2
PP
44312015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4432
4433 PR gdb/17820
4434 * gdb.base/gdbinit-history.exp: New test.
4435 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4436 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4437
4c082a81
SC
44382015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4439
4440 * gdb.python/py-xmethods.cc: Enhance test case.
4441 * gdb.python/py-xmethods.exp: New tests.
4442 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4443 function.
4444 (B_indexoper): Likewise.
4445 (global_dm_list) : Add new xmethod worker functions.
4446
f7797074
SDJ
44472015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4448
4449 * gdb.base/coredump-filter.exp: Correctly unset
4450 "coredump_var_addr" array.
4451
a4674e4e
PA
44522015-05-08 Pedro Alves <palves@redhat.com>
4453
4454 * gdb.server/non-existing-program.exp: Unset spawn_id.
4455
df2eb078
SC
44562015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4457
4458 PR python/18291
4459 * gdb.python/py-xmethods.exp: Add tests.
4460
422349a3
YQ
44612015-05-08 Yao Qi <yao.qi@linaro.org>
4462
4463 PR gdb/18208
4464 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4465 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4466 function set_coredump_filter, and remove remote_exec call.
4467 Remove argument ipid. Callers update.
4468 (top level): Don't get inferior's PID.
4469
63fc80ce
AA
44702015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4471
4472 * gdb.base/watch_thread_num.exp: Skip test on targets without
4473 access watchpoints.
4474
80ad801e
PA
44752015-05-06 Pedro Alves <palves@redhat.com>
4476
4477 PR server/18081
4478 * gdb.server/non-existing-program.exp: New file.
4479
0fa7fe50
JB
44802015-05-05 Joel Brobecker <brobecker@adacore.com>
4481
4482 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4483
3ea89b92
PMR
44842015-05-05 Joel Brobecker <brobecker@adacore.com>
4485
4486 * gdb.ada/out_of_line_in_inlined: New testcase.
4487
87b8eff0
JB
44882015-05-05 Joel Brobecker <brobecker@adacore.com>
4489
4490 * gdb.ada/var_rec_arr: New testcase.
4491
5fccc635
YQ
44922015-04-30 Yao Qi <yao.qi@linaro.org>
4493
4494 * gdb.base/break-idempotent.exp: If
4495 skip_hw_watchpoint_multi_tests returns true, skip the tests
4496 on "rwatch" and "awatch".
4497
42d38f42
YQ
44982015-04-30 Yao Qi <yao.qi@linaro.org>
4499
4500 * gdb.base/relativedebug.exp: Invoke gdb command
4501 "info sharedlibrary", and if libc.so doesn't have debug info,
4502 skip the test.
4503
2ce1cdbf
DE
45042015-04-29 Doug Evans <dje@google.com>
4505
4506 * gdb.python/py-xmethods.exp: Add ptype tests.
4507 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4508 get_result_type method.
4509
f24a38c5
LM
45102015-04-29 Luis Machado <lgustavo@codesourcery.com>
4511
4512 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4513 the target does not support hardware watchpoints.
4514
ecbf2b3c
LM
45152015-04-29 Luis Machado <lgustavo@codesourcery.com>
4516
4517 * gdb.base/break-always.exp: Abort testing if writing to memory
4518 causes an error.
4519
34f5f757
DE
45202015-04-28 Doug Evans <dje@google.com>
4521
4522 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4523 * gdb.python/py-pp-registration.exp: ... here. New file.
4524 * gdb.python/py-pp-registration.c: New file.
4525 * gdb.python/py-pp-registration.py: New file.
4526
69b4374a
DE
45272015-04-28 Doug Evans <dje@google.com>
4528
4529 * gdb.python/py-bad-printers.c: New file.
4530 * gdb.python/py-bad-printers.py: New file.
4531 * gdb.python/py-bad-printers.exp: New file.
4532
59fb7612
SS
45332015-04-28 Sasha Smundak <asmundak@google.com>
4534
4535 * gdb.python/py-type.exp: New test.
4536
2631b16a
AW
45372015-04-28 Andy Wingo <wingo@igalia.com>
4538
4539 * gdb.python/py-parameter.exp:
4540 * gdb.guile/scm-parameter.exp: Escape the path that we are
4541 matching against, as it might contain characters that are special
4542 to regular expressions.
4543
460efde1
JB
45442015-04-27 Joel Brobecker <brobecker@adacore.com>
4545
4546 * gdb.ada/rec_comp: New testcase.
4547
2d369d8e
SDJ
45482015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4549
4550 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4551 before using it.
4552
cf75d6c3
AB
45532015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4554
4555 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4556 new tests for verilog output.
4557
8dbe7ca5
YQ
45582015-04-24 Yao Qi <yao.qi@linaro.org>
4559
4560 * boards/remote-gdbserver-on-localhost.exp: New file.
4561
4ef9fb2f
PA
45622015-04-23 Pedro Alves <palves@redhat.com>
4563
4564 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4565 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4566 "end of file", remove $inferior_spawn_id from the indirect list.
4567
0a803169
PA
45682015-04-23 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4571
749ef8f8
PA
45722015-04-23 Pedro Alves <palves@redhat.com>
4573
4574 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4575 on $any_spawn_id instead of only on $gdb_spawn_id.
4576
8aae4344
PM
45772015-04-21 Pierre Muller <muller@sourceware.org>
4578
4579 PR pascal/17815
4580 * lib/pascal.exp (gpc_compile): Add new option "class".
4581 (fpc_compile): Likewise.
4582 * gdb.pascal/case-insensitive-symbols.pas: New file.
4583 * gdb.pascal/case-insensitive-symbols.exp: New file.
4584
1586c8fb
GB
45852015-04-20 Gary Benson <gbenson@redhat.com>
4586
4587 * gdb.base/attach.exp: Fix three extended remote failures.
4588
1b6e6f5c
GB
45892015-04-17 Gary Benson <gbenson@redhat.com>
4590
4591 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4592 the main executable over the remote protocol.
4593
e797481d
PA
45942015-04-16 Pedro Alves <palves@redhat.com>
4595
4596 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4597 a new gdbserver if gdbserver_reconnect_p is set.
4598
1ca99c42
PA
45992015-04-16 Pedro Alves <palves@redhat.com>
4600
4601 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4602 is set, don't exit gdbserver.
4603
af9fd6f8
AA
46042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605
4606 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4607 appropriate .insn, such that an older assembler can be used.
4608 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4609 the z/Architecture instruction set on 31-bit targets as well.
4610
04ff1e61
AA
46112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4612
4613 * gdb.go/handcall.exp: Remove all logic related to the first
4614 breakpoint and rely on go_runto_main instead.
4615 * gdb.go/strings.exp: Likewise.
4616 * gdb.go/unsafe.exp: Likewise.
4617 * gdb.go/hello.exp: Likewise. Also rename the remaining
4618 breakpoint marker to "breakpoint 1".
4619 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4620 * gdb.go/strings.go: Likewise.
4621 * gdb.go/unsafe.go: Likewise.
4622 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4623 "set breakpoint 2 here" and rename the remaining breakpoint marker
4624 to "breakpoint 1".
4625
40d2f8d6
SM
46262015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4627
4628 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4629 if itertools.imap is not present.
4630 * gdb.python/py-objfile.exp: Add parentheses.
4631 * gdb.python/py-type.exp: Same.
4632 * gdb.python/py-unwind-maint.py: Same.
4633
8cbc97c6
YQ
46342015-04-15 Yao Qi <yao.qi@linaro.org>
4635
4636 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4637 of ":$ptr_size" and set its form explicitly.
4638
45fd756c
YQ
46392015-04-15 Pedro Alves <palves@redhat.com>
4640 Yao Qi <yao.qi@linaro.org>
4641
4642 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4643 timeout by factor of 4.
4644 (test_regular_watch): Likewise.
4645 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4646 * gdb.reverse/sigall-reverse.exp: Likewise.
4647 * gdb.reverse/until-precsave.exp: Likewise.
4648 * lib/gdb.exp (with_timeout_factor): New proc.
4649 (gdb_expect): Move some code to ...
4650 (get_largest_timeout): ... here. New procedure.
4651
9e811bc3
LM
46522015-04-14 Luis Machado <lgustavo@codesourcery.com>
4653
4654 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4655
0ff6fcb2
LM
46562015-04-13 Luis Machado <lgustavo@codesourcery.com>
4657
4658 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4659 to write to the .text section.
4660
7578d5f7
LM
46612015-04-13 Luis Machado <lgustavo@codesourcery.com>
4662
4663 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4664 Handle the case of targets that do not provide PID information.
4665
2efe15c4
YQ
46662015-04-13 Yao Qi <yao.qi@linaro.org>
4667
4668 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4669 and use expect instead of gdb_expect.
4670
8cd8f2f8
SDJ
46712015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4672
4673 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4674 "coredump_var_addr" to avoid naming conflict with other testcases.
4675
9ee41772
PA
46762015-04-10 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4679 gdb_test_sequence and gdb_assert.
4680
07473109
PA
46812015-04-10 Pedro Alves <palves@redhat.com>
4682
4683 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4684 test messages that don't include the breakpoint address.
4685
de3db44c
YQ
46862015-04-10 Yao Qi <yao.qi@linaro.org>
4687
4688 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4689 false for some offset and width combinations which aren't
4690 supported by linux kernel.
4691
c79d856c
PA
46922015-04-10 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4695 procedure, factored out from ...
4696 (top level): ... here. Add "set displaced-stepping" testing axis.
4697 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4698 parameter "displaced". Use it.
4699 (top level): Use foreach and add "set displaced-stepping" testing
4700 axis.
4701
ebc90b50
PA
47022015-04-10 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4705 Remove comment.
4706 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4707 both the address of the instruction that triggers the watchpoint
4708 and the address of the instruction immediately after, and use
4709 those addresses for the test. Fix comment.
4710
8f572e5c
PA
47112015-04-10 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.base/sigstep.exp (breakpoint_to_handler)
4714 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4715 Test "backtrace" in handler.
4716 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4717 (top level): Add new "displaced" test axis to
4718 breakpoint_to_handler, breakpoint_to_handler_entry and
4719 breakpoint_over_handler.
4720
8d707a12
PA
47212015-04-10 Pedro Alves <palves@redhat.com>
4722
4723 PR gdb/18216
4724 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4725
ef713951
YQ
47262015-04-10 Yao Qi <yao.qi@linaro.org>
4727
4728 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4729 (test_add_rn_pc): New function.
4730 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4731 (top level): Invoke test_add_rn_pc.
4732
906d60cf
PA
47332015-04-10 Pedro Alves <palves@redhat.com>
4734
4735 PR gdb/13858
4736 * gdb.base/step-over-no-symbols.exp: New file.
4737
f2983cc3
AW
47382015-04-09 Andy Wingo <wingo@igalia.com>
4739
4740 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4741 after the Python tests.
4742
6d62641c
SDJ
47432015-04-08 Keith Seitz <keiths@redhat.com>
4744
4745 PR python/16699
4746 * gdb.python/py-completion.exp: New tests for completion.
4747 * gdb.python/py-completion.py (CompleteLimit1): New class.
4748 (CompleteLimit2): Likewise.
4749 (CompleteLimit3): Likewise.
4750 (CompleteLimit4): Likewise.
4751 (CompleteLimit5): Likewise.
4752 (CompleteLimit6): Likewise.
4753 (CompleteLimit7): Likewise.
4754
f3770638
PA
47552015-04-08 Pedro Alves <palves@redhat.com>
4756
4757 PR gdb/18214
4758 PR gdb/18216
4759 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4760 function.
4761 (main): Install it as SIGUSR1 handler.
4762 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4763 parameter. Always use "setup" as prefix. Toggle "set
4764 displaced-stepping" off/on depending on global. Don't switch to
4765 thread 1 here.
4766 (top level): Add displaced stepping "off/on" test axis. Update
4767 "setup" calls. Wrap each subtest with with_test_prefix. Test
4768 continuing with a queued signal in each thread.
4769
4496bed7
PA
47702015-04-08 Pedro Alves <palves@redhat.com>
4771
4772 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4773 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4774 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4775 Return early if running to main fails.
4776 * gdb.trace/while-stepping.exp: Likewise.
4777
b97fde92
PA
47782015-04-07 Pedro Alves <palves@redhat.com>
4779
4780 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4781 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4782 interact with inferior program.
4783
f71c18e7
PA
47842015-04-07 Pedro Alves <palves@redhat.com>
4785
4786 * lib/gdb.exp (inferior_spawn_id): New global.
4787 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4788 spawn id after processing the user code.
4789 (default_gdb_start): Set inferior_spawn_id.
4790 (send_inferior): New procedure.
4791 * lib/gdbserver-support.exp (gdbserver_start): Set
4792 inferior_spawn_id.
4793 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4794
6423214f
PA
47952015-04-07 Pedro Alves <palves@redhat.com>
4796
4797 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4798 * lib/gdbserver-support.exp (gdbserver_start): Make
4799 $server_spawn_id global.
4800 (gdbserver_start): Don't wait for gdbserver's spawn id with
4801 expect_background.
4802 (close_gdbserver): New procedure.
4803 (gdb_exit): Rename the default version and reimplement.
4804
71c0ee8c
PA
48052015-04-07 Pedro Alves <palves@redhat.com>
4806
72f4393d 4807 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4808 append the substituted item, not the original item.
4809
203bc29b
PA
48102015-04-07 Pedro Alves <palves@redhat.com>
4811
4812 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4813 gdb_expect.
4814
508a3ddf
PA
48152015-04-07 Pedro Alves <palves@redhat.com>
4816
4817 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4818 output appearing once only.
4819
9f6dbe2b
PA
48202015-04-07 Pedro Alves <palves@redhat.com>
4821
4822 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4823 that doesn't expect anything. Return early if running to main
4824 fails.
4825
337532fa
YQ
48262015-04-07 Yao Qi <yao.qi@linaro.org>
4827
4828 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4829 (child_function): Call alarm.
4830 (main): Move call to alarm into the loop.
4831 * gdb.threads/non-stop-fair-events.exp: Build program with
4832 -DTIMEOUT=$timeout.
4833
01b622d4
DE
48342015-04-06 Doug Evans <xdje42@gmail.com>
4835
4836 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4837 Fix dest parameter to board_info.
4838 (fpc_compile): Ditto.
4839 (gdb_compile_pascal): Rename dest arg to destfile.
4840
961f4160
PMR
48412015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4842
4843 * gdb.ada/funcall_ref.exp: New file.
4844 * gdb.ada/funcall_ref/foo.adb: New file.
4845
cafda597
YQ
48462015-04-02 Yao Qi <yao.qi@linaro.org>
4847
4848 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4849 is remote.
4850
fed040c6
GB
48512015-04-02 Gary Benson <gbenson@redhat.com>
4852
4853 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4854
d11916aa
SS
48552015-04-01 Sasha Smundak <asmundak@google.com>
4856
4857 * gdb.python/py-unwind-maint.c: New file.
4858 * gdb.python/py-unwind-maint.exp: New test.
4859 * gdb.python/py-unwind-maint.py: New file.
4860 * gdb.python/py-unwind.c: New file.
4861 * gdb.python/py-unwind.exp: New test.
4862 * gdb.python/py-unwind.py: New test.
4863
a1471180
PA
48642015-04-01 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4867 to fail instead of non-existent $test.
4868
0bbeccb1
PA
48692015-04-01 Pedro Alves <palves@redhat.com>
4870
4871 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4872 GDBFLAGS if not empty.
4873
3c724c8c
PMR
48742015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4875
4876 * gdb.ada/complete.exp: Remove "multi_line".
4877 * gdb.ada/info_exc.exp: Remove "multi_line".
4878 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4879 * gdb.ada/ptype_field.exp: Remove "multi_line".
4880 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4881 * gdb.ada/tagged.exp: Remove "multi_line".
4882 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4883 [multi_line ...]
4884 * gdb.btrace/delta.exp: Likewise.
4885 * gdb.btrace/exception.exp: Likewise.
4886 * gdb.btrace/function_call_history.exp: Likewise.
4887 * gdb.btrace/instruction_history.exp: Likewise.
4888 * gdb.btrace/nohist.exp: Likewise.
4889 * gdb.btrace/record_goto.exp: Likewise.
4890 * gdb.btrace/segv.exp: Likewise.
4891 * gdb.btrace/stepi.exp: Likewise.
4892 * gdb.btrace/tailcall.exp: Likewise.
4893 * gdb.btrace/unknown_functions.exp: Likewise.
4894 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4895 * lib/gdb.exp: Add the "multi_line" helper.
4896
4eec2deb
PA
48972015-04-01 Pedro Alves <palves@redhat.com>
4898
4899 * gdb.threads/tid-reuse.c: New file.
4900 * gdb.threads/tid-reuse.exp: New file.
4901
df8411da
SDJ
49022015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4903
4904 PR corefiles/16092
4905 * gdb.base/coredump-filter.c: New file.
4906 * gdb.base/coredump-filter.exp: Likewise.
4907
6ef37366
PM
49082015-03-27 Petr Machata <pmachata@redhat.com>
4909
4910 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4911 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4912 (Dwarf::assemble): Initialize them.
4913 (Dwarf::lines): New function.
4914
7ec911b0
JT
49152015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4916
4917 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4918 SYMBOL_PREFIX for x86_64-*-cygwin.
4919
ff908ebf
AW
49202015-03-26 Andy Wingo <wingo@igalia.com>
4921
4922 PR symtab/18148
4923 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4924 const_value but not a location.
4925 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4926 location defined in non-main CUs are visible.
4927
6d5f0679
YQ
49282015-03-26 Yao Qi <yao.qi@linaro.org>
4929
4930 PR testsuite/18139
4931 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4932 Add a line number entry for the same line.
4933 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4934 Add a line number entry for the same line.
4935
2898689b
YQ
49362015-03-26 Yao Qi <yao.qi@linaro.org>
4937
4938 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4939 .int 0.
4940 (func): Likewise. Add .Lfunc_1 label.
4941 Use .Lfunc_1 label.
4942 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4943 .int 0.
4944 (func): Likewise.
4945 Use .Lfunc_1 label.
4946
85180498
YQ
49472015-03-26 Yao Qi <yao.qi@linaro.org>
4948
4949 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4950 Call gdb_compile instead to compile each .s files without debug
4951 information.
4952
8aa08a8d
YQ
49532015-03-26 Yao Qi <yao.qi@linaro.org>
4954
4955 * gdb.base/savedregs.exp (process_saved_regs): Make
4956 "Saved registers:" optional in the pattern.
4957
66849923
MM
49582015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4959
4960 * gdb.btrace/next.exp: Merged into step.exp.
4961 * gdb.btrace/finish.exp: Merged into step.exp.
4962 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4963 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4964 "record goto" and checking the exact replay position.
4965 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4966 check for "Recording format" in "info record" output.
4967 * gdb.btrace/record_goto.exp: Choose test file based on target.
4968 * gdb.btrace/x86-record_goto.S: Renamed into ...
4969 * gdb.btrace/x86_64-record_goto.S: ... this.
4970 * gdb.btrace/i686-record_goto.S: New.
4971 * gdb.btrace/x86-tailcall.S: Renamed into ...
4972 * gdb.btrace/x86_64-tailcall.S: ... this.
4973 * gdb.btrace/i686-tailcall.S: New.
4974 * gdb.btrace/x86-tailcall.c: Renamed into ...
4975 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4976 separate statements. Update test.
4977 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4978 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4979 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4980 * gdb.btrace/tailcall.exp: Choose test file based on target.
4981 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4982
11cc1b74
MM
49832015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4984
4985 * gdb.btrace/exception.exp: Increase BTS buffer size.
4986
a25d8bf9
PA
49872015-03-24 Pedro Alves <palves@redhat.com>
4988
4989 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4990
856e7dd6
PA
49912015-03-24 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.threads/schedlock.exp (test_step): No longer expect that
4994 "set scheduler-locking step" with "next" over a function call runs
4995 threads unlocked.
4996
ad235a41
AT
49972015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4998
4999 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5000
15630549
AT
50012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5002
5003 PR breakpoints/16466
5004 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5005 * gdb.mi/mi-pending.c (thread_func): New function.
5006 (int main): Add threading support required.
5007 * gdb.mi/mi-pending.exp: Add tests for this issue.
5008 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5009 (pendfunc2): Remove stdio dependency.
5010 * gdb.mi/mi-pendshr2.c: New file.
5011
693dca06
KS
50122015-03-23 Keith Seitz <keiths@redhat.com>
5013
5014 * gdb.linespec/keywords.c: New file.
5015 * gdb.linespec/keywords.exp: New file.
5016
7e993ebf
KS
50172015-03-23 Keith Seitz <keiths@redhat.com>
5018
5019 PR gdb/18021
5020 * gdb.dwarf2/staticvirtual.exp: New test.
5021
bc23328c
JK
50222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5023
5024 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5025 * README: Remove HP-UX and gdb.hp.
5026 (configuration):
5027 * configure: Regenerate.
5028 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5029 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5030 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5031 gdb.hp/gdb.defects/Makefile.
5032 * gdb.hp/Makefile.in: File deleted.
5033 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5034 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5035 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5036 * gdb.hp/gdb.aCC/run.c: File deleted.
5037 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5038 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5039 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5040 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5041 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5042 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5043 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5044 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5045 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5046 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5047 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5048 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5049 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5050 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5051 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5052 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5053 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5054 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5055 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5056 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5057 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5058 * gdb.hp/gdb.compat/average.c: File deleted.
5059 * gdb.hp/gdb.compat/sum.c: File deleted.
5060 * gdb.hp/gdb.compat/xdb.c: File deleted.
5061 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5062 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5063 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5064 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5065 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5066 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5067 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5068 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5069 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5070 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5071 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5072 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5073 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5074 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5075 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5076 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5077 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5078 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5079 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5080 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5081 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5082 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5083 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5084 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5085 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5086 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5087 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5088 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5089 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5090 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5091 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5092 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5093 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5094 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5095 * gdb.hp/tools/odump: File deleted.
5096
8bf3b159
PA
50972015-03-19 Pedro Alves <palves@redhat.com>
5098
5099 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5100 (saw_thread_3): New globals.
5101 (top level): Increment them when an event for the corresponding
5102 thread is seen.
5103 (no thread starvation): New test.
5104
eb54c8bf
PA
51052015-03-19 Pedro Alves <palves@redhat.com>
5106
5107 * gdb.threads/continue-pending-status.c: New file.
5108 * gdb.threads/continue-pending-status.exp: New file.
5109
32d2e5d6
PA
51102015-03-18 Pedro Alves <palves@redhat.com>
5111
5112 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5113 Use gdb_is_target_remote instead of is_remote. Use
5114 gdb_test_multiple instead of gdb_expect. Exit early if
5115 gdb_test_multiple hits its internal matches. Tighten stepi tests
5116 expected output. Fail on exit with any signal, instead of just
5117 SIGILL.
5118
f68f11b7
YQ
51192015-03-18 Yao Qi <yao.qi@linaro.org>
5120
5121 PR tdep/18107
5122 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5123 variable.
5124 * gdb.base/catch-syscall.exp: Don't skip it on
5125 aarch64*-*-linux* target. Remove elements in all_syscalls.
5126 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5127 target.
5128 (setup_all_syscalls): New proc.
5129
ca5fd19b
YQ
51302015-03-16 Yao Qi <yao.qi@linaro.org>
5131
5132 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5133 (top level): Skip tests if valid_addr_p returns false for
5134 $cmd1 or $cmd2.
5135
85642ba0
AW
51362015-03-11 Andy Wingo <wingo@igalia.com>
5137
5138 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5139
e03f9645
YQ
51402015-03-11 Yao Qi <yao.qi@linaro.org>
5141
5142 * gdb.base/catch-syscall.exp: Fix typo in comments.
5143
5d0962b2
YQ
51442015-03-11 Yao Qi <yao.qi@linaro.org>
5145
5146 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5147
b2df3cef
PA
51482015-03-09 Pedro Alves <palves@redhat.com>
5149
5150 * dg-extract-results.py: Delete.
5151
ef878e53
PA
51522015-03-09 Pedro Alves <palves@redhat.com>
5153
5154 Merge dg-extract-results.sh from GCC upstream (r218843).
5155
5156 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5157 * dg-extract-results.sh: Use --text with grep to avoid issues with
5158 binary files. Fall back to cat -v, if that doesn't work.
5159
9494d219
PA
51602015-03-05 Pedro Alves <palves@redhat.com>
5161
5162 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5163
a8d9763a
SM
51642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5165
5166 * lib/mi-support.exp (mi_expect_interrupt): Accept
5167 alternative event for when in all-stop mode.
5168
be9957b8
PA
51692015-03-04 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5172
d57be0f4 51732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5174
5175 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5176
c214c7cf
AA
51772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5178
5179 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5180 regexps for GDB's current line display, accept a hex address
5181 preceding the line number.
5182
6d74a497
AA
51832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5184
5185 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5186 the 'arch1' variable for "s390*-linux*" targets.
5187
511aee7c
PA
51882015-03-04 Pedro Alves <palves@redhat.com>
5189
5190 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5191 (main): Pass missing retval argument to pthread_join call.
5192
95e50b27
PA
51932015-03-02 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5196 (top level): Call do_test with non-stop as well.
5197
28054d69
PA
51982015-03-02 Pedro Alves <palves@redhat.com>
5199
5200 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5201 -1.
5202
4fa5d7b4
AA
52032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5204
5205 * gdb.arch/s390-vregs.exp: New test.
5206 * gdb.arch/s390-vregs.S: New file.
5207
97c18565
PA
52082015-02-27 Pedro Alves <palves@redhat.com>
5209
5210 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5211 call to catch_command_errors.
5212 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5213 catch_command_errors.
5214
a37bfa30
PA
52152015-02-27 Pedro Alves <palves@redhat.com>
5216
5217 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5218 "true" for boolean result.
5219 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5220 prototype of main.
5221
6f98576f
PA
52222015-02-27 Pedro Alves <palves@redhat.com>
5223
5224 * lib/unbuffer_output.c: New file.
5225 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5226 (main): Call gdb_unbuffer_output.
5227
eba5ab56
YQ
52282015-02-27 Yao Qi <yao.qi@linaro.org>
5229
5230 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5231 target.
5232
0def5aaa
DE
52332015-02-26 Doug Evans <dje@google.com>
5234
5235 * gdb.cp/class2.cc (Dbase, D): New classes.
5236 (main): New local delta.
5237 * gdb.cp/class2.exp: Test printing delta.
5238 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5239 (dynbar): New global.
5240 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5241
081a1c2c
JK
52422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5243
5244 * gdb.compile/compile-ifunc.c: New file.
5245 * gdb.compile/compile-ifunc.exp: New file.
5246
2f41223f
AT
52472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5248
5249 * gdb.base/structs.exp: Check for correct struct on finish.
5250
03eddd80
YQ
52512015-02-26 Yao Qi <yao.qi@linaro.org>
5252
5253 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5254 is zero.
5255
80c57053
JK
52562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5257
5258 * gdb.arch/cordic.ko.bz2: New file.
5259 * gdb.arch/cordic.ko.debug.bz2: New file.
5260 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5261
21613c12
YQ
52622015-02-25 Yao Qi <yao.qi@linaro.org>
5263
5264 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5265 aarch64*-*-* target.
5266
d8b901ed
PA
52672015-02-23 Pedro Alves <palves@redhat.com>
5268
5269 * lib/gdb.exp (delete_breakpoints): Rewrite using
5270 gdb_test_multiple.
5271
e5b85ead
PA
52722015-02-23 Pedro Alves <palves@redhat.com>
5273
5274 * gdb.base/info-os.c: Include stdlib.h.
5275
85c3a371
DE
52762015-02-22 Doug Evans <xdje42@gmail.com>
5277
5278 PR symtab/17855
5279 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5280 is read after symbols have been re-read.
5281 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5282 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5283
96553a0c
DE
52842015-02-21 Doug Evans <dje@google.com>
5285
5286 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5287
97a0c697
JK
52882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5289
5290 PR corefiles/17808
5291 * gdb.arch/i386-biarch-core.core.bz2: New file.
5292 * gdb.arch/i386-biarch-core.exp: New file.
5293
a47cd6e9
PA
52942015-02-21 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5297 runto_main fails.
5298
c5facdc4
PA
52992015-02-20 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5302 info probes.
5303
2db9a427
PA
53042015-02-20 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5307
60fb7e9e
PA
53082015-02-20 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5311 clean_restart before gdb_target_supports_trace.
5312
5c5019c2
PA
53132015-02-20 Pedro Alves <palves@redhat.com>
5314
5315 PR threads/18006
5316 * gdb.threads/clone-thread_db.c: New file.
5317 * gdb.threads/clone-thread_db.exp: New file.
5318
c9587f88
AT
53192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5320
5321 PR breakpoints/16812
5322 * gdb.base/catch-gdb-caused-signals.c: New file.
5323 * gdb.base/catch-gdb-caused-signals.exp: New file.
5324
f6a88844
JM
53252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5326
5327 * configure: Regenerated.
5328 * configure.ac: Use GDB_AC_TRANSFORM.
5329 * aclocal.m4: sinclude ../transform.m4.
5330
497c491b
JM
53312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5332
5333 * lib/dtrace.exp: New file.
5334 * gdb.base/dtrace-probe.exp: Likewise.
5335 * gdb.base/dtrace-probe.d: Likewise.
5336 * gdb.base/dtrace-probe.c: Likewise.
5337 * lib/pdtrace.in: Likewise.
5338 * configure.ac: Output variables with the transformed names of
5339 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5340 * configure: Regenerated.
5341
03e98035
JM
53422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5343
5344 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5345 expected message when trying to access $_probe_* convenience
5346 variables while not on a probe.
5347
63cc30e9
JK
53482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5349
5350 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5351
0703599a
PA
53522015-02-11 Pedro Alves <pedro@codesourcery.com>
5353
5354 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5355 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5356
7e60a48e
DE
53572015-02-10 Doug Evans <xdje42@gmail.com>
5358
5359 * lib/gdb.exp (gdb_load): Always return a result.
5360
01b088bc
PA
53612015-02-10 Pedro Alves <palves@redhat.com>
5362
5363 * gdb.threads/signal-sigtrap.c: New file.
5364 * gdb.threads/signal-sigtrap.exp: New file.
5365
b05ec7a5
AT
53662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5367
5368 * gdb.trace/no-attach-trace.c: New file.
5369 * gdb.trace/no-attach-trace.exp: New file.
5370
a2c2acaf
MW
53712015-02-09 Mark Wielaard <mjw@redhat.com>
5372
5373 * gdb.dwarf2/atomic.c: New file.
5374 * gdb.dwarf2/atomic-type.exp: Likewise.
5375
31fd9caa
MM
53762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5377
5378 * gdb.btrace/buffer-size.exp: Update "info record" output.
5379 * gdb.btrace/delta.exp: Update "info record" output.
5380 * gdb.btrace/enable.exp: Update "info record" output.
5381 * gdb.btrace/finish.exp: Update "info record" output.
5382 * gdb.btrace/instruction_history.exp: Update "info record" output.
5383 * gdb.btrace/next.exp: Update "info record" output.
5384 * gdb.btrace/nexti.exp: Update "info record" output.
5385 * gdb.btrace/step.exp: Update "info record" output.
5386 * gdb.btrace/stepi.exp: Update "info record" output.
5387 * gdb.btrace/nohist.exp: Update "info record" output.
5388
d33501a5
MM
53892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5390
5391 * gdb.btrace/buffer-size: New.
5392
f4abbc16
MM
53932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5394
5395 * gdb.btrace/delta.exp: Update "info record" output.
5396 * gdb.btrace/enable.exp: Update "info record" output.
5397 * gdb.btrace/finish.exp: Update "info record" output.
5398 * gdb.btrace/instruction_history.exp: Update "info record" output.
5399 * gdb.btrace/next.exp: Update "info record" output.
5400 * gdb.btrace/nexti.exp: Update "info record" output.
5401 * gdb.btrace/step.exp: Update "info record" output.
5402 * gdb.btrace/stepi.exp: Update "info record" output.
5403 * gdb.btrace/nohist.exp: Update "info record" output.
5404
b9d61307
SM
54052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5406
5407 PR gdb/15678
5408 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5409
e584fdbc
PA
54102015-02-06 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5413 macro.
5414 (seconds_left, again): New globals.
5415 (main): Wait seconds_left in a 1-second sleep loop instead of
5416 sleeping 180 seconds. If 'again' is set, reset the seconds
5417 counter.
5418 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5419 'again' in the inferior before detaching. Print the seconds left.
5420 (options): New global.
5421 (top level): Build program with -DTIMEOUT=$timeout.
5422
77f41761
PA
54232015-02-06 Pedro Alves <palves@redhat.com>
5424
5425 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5426 determine how many seconds to pass to 'alarm'.
5427 * gdb.base/gdb-sigterm.exp (top level): Build program with
5428 -DTIMEOUT=$timeout.
5429 (do_test): Return success/failure indication. Add more verbose
5430 logging. Don't fail if 200 single steps are seen. Instead, fail
5431 when the test times out.
5432 (passes): New global.
5433 (top level): Break the testing loop if testing fails on any
5434 iteration. Use gdb_assert.
5435
b9394193
DB
54362015-02-04 Don Breazeal <donb@codesourcery.com>
5437
5438 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5439 and initialize them.
5440 (ipc_cleanup): New function.
5441 (main): Don't declare shmid, semid, and msqid. Add a call to
5442 atexit so that we call ipc_cleanup on exit.
5443
42d9e528
PA
54442015-02-04 Pedro Alves <palves@redhat.com>
5445
5446 * boards/native-extended-gdbserver.exp: Remove any target variant
5447 specifications from the board name before clearing the isremote
5448 flag from board_info.
5449
ae6ae975
DE
54502015-01-31 Doug Evans <xdje42@gmail.com>
5451
5452 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5453
cfb069a8
GB
54542015-01-31 Gary Benson <gbenson@redhat.com>
5455
5456 * gdb.base/completion.exp: Disable completion limiting for
5457 existing tests. Add new tests to check completion limiting.
5458 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5459
5dd31d79
DE
54602015-01-31 Doug Evans <xdje42@gmail.com>
5461
5462 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5463
9f050062
DE
54642015-01-31 Doug Evans <xdje42@gmail.com>
5465
5466 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5467 entries. Duplicate file section script entries.
5468 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5469 inlined entries. Add test for safe-path rejection.
5470 * gdb.python/py-section-script.c: Add duplicate inlined section script
5471 entries. Duplicate file section script entries.
5472 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5473 inlined entries. Add test for safe-path rejection.
5474
df25ebbd
JB
54752015-01-29 Joel Brobecker <brobecker@adacore.com>
5476
5477 * gdb.ada/disc_arr_bound: New testcase.
5478
4a0ca9ec
JB
54792015-01-29 Joel Brobecker <brobecker@adacore.com>
5480
5481 * gdb.ada/mi_var_array: New testcase.
5482
3a8b707a
DE
54832015-01-27 Doug Evans <dje@google.com>
5484
5485 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5486 Add test for objfile.filename, objfile.username after objfile
5487 has been unloaded.
5488
f8313f6e
JB
54892015-01-26 Joel Brobecker <brobecker@adacore.com>
5490
5491 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5492 the second test to print the name attribute of value
5493 returned by the call to gdb.lookup_type, and adjust
5494 the expected output accordingly.
5495
37bc665e
MW
54962015-01-25 Mark Wielaard <mjw@redhat.com>
5497
5498 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5499 * gdb.base/disp-step-fork.c: Include unistd.h.
5500 * gdb.base/siginfo-obj.c: Include stdio.h.
5501 * gdb.base/siginfo-thread.c: Likewise.
5502 * gdb.mi/non-stop.c: Include unistd.h.
5503 * gdb.mi/nsthrexec.c: Include stdio.h.
5504 * gdb.mi/pthreads.c: Include unistd.h.
5505 * gdb.modula2/unbounded1.c (main): Declare returns int.
5506 * gdb.reverse/consecutive-reverse.c: Likewise.
5507 * gdb.threads/create-fail.c: Include unistd.h.
5508 * gdb.threads/killed.c: Likewise.
5509 * gdb.threads/linux-dp.c: Likewise.
5510 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5511 * gdb.threads/non-ldr-exc-2.c: Likewise.
5512 * gdb.threads/non-ldr-exc-3.c: Likewise.
5513 * gdb.threads/non-ldr-exc-4.c: Likewise.
5514 * gdb.threads/pthreads.c: Include unistd.h.
5515 (main): Declare returns int.
5516 * gdb.threads/tls-main.c (foo): New declaration.
5517 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5518
f7e5394d
SM
55192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5520
5521 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5522 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5523
743649fd
MW
55242015-01-15 Mark Wielaard <mjw@redhat.com>
5525
5526 * gdb.base/noreturn-return.c: New file.
5527 * gdb.base/noreturn-return.exp: New file.
5528 * gdb.base/noreturn-finish.c: New file.
5529 * gdb.base/noreturn-finish.exp: New file.
5530
198297aa
PA
55312015-01-23 Pedro Alves <palves@redhat.com>
5532
5533 * gdb.threads/continue-pending-after-query.c: New file.
5534 * gdb.threads/continue-pending-after-query.exp: New file.
5535
717cf30c
AG
55362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5537 Simon Marchi <simon.marchi@ericsson.com>
5538
5539 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5540 * gdb.base/valgrind-db-attach.exp: Same.
5541 * gdb.base/valgrind-infcall.exp: Same.
5542 * lib/mi-support.exp (default_mi_gdb_start): Same.
5543 * lib/prompt.exp (default_prompt_gdb_start): Same.
5544 * lib/gdb.exp (default_gdb_spawn): Same.
5545 (gdb_interact): New.
5546
5547
4b62a76e
JK
55482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5549
5550 * gdb.compile/compile.exp (pointer to jit function): New test.
5551
b4cdae6f
WW
55522015-01-17 Wei-cheng Wang <cole945@gmail.com>
5553
5554 * lib/gdb.exp (supports_process_record): Return true for
5555 powerpc*-*-linux*.
5556 (supports_reverse): Likewise.
5557
d221e7ef
DB
55582015-01-15 Don Breazeal <donb@codesourcery.com>
5559
5560 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5561 instead of checking whether the target board is remote and
5562 use spawn_wait_for_attach instead of exec/sleep.
5563 * gdb.base/attach-twice.exp: Likewise.
5564
bafffb51
JB
55652015-01-15 Joel Brobecker <brobecker@adacore.com>
5566
5567 * gdb.ada/var_arr_attrs: New testcase.
5568
5589af0e
PA
55692015-01-14 Pedro Alves <palves@redhat.com>
5570 Joel Brobecker <brobecker@adacore.com>
5571
5572 PR gdb/17525
5573 * gdb.base/bp-cmds-execution-x-script.c: New file.
5574 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5575 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5576
6c400b59
PA
55772015-01-14 Pedro Alves <palves@redhat.com>
5578
5579 PR cli/17828
5580 * gdb.base/batch-preserve-term-settings.c: New file.
5581 * gdb.base/batch-preserve-term-settings.exp: New file.
5582
e02c96a7
DE
55832015-01-13 Doug Evans <dje@google.com>
5584
5585 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5586 binary.
5587
576fd14c
JB
55882015-01-13 Joel Brobecker <brobecker@adacore.com>
5589
5590 * Makefile.in (clean mostlyclean): Do not delete *.py.
5591
04dccad0
JB
55922015-01-13 Joel Brobecker <brobecker@adacore.com>
5593
5594 * gdb.python/py-lookup-type.exp: New file.
5595
3d230f71
PA
55962015-01-12 Pedro Alves <palves@redhat.com>
5597
5598 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5599 restore GDBFLAGS before returning.
5600
7e67715d
JK
56012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5602
5603 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5604 is_amd64_regs_target and is_x86_like_target.
5605
f2e0d4b4
DE
56062015-01-11 Doug Evans <xdje42@gmail.com>
5607
5608 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5609 is given without an explicit form.
5610 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5611 attributes.
5612 * gdb.dwarf/corrupt.exp: Ditto.
5613 * gdb.dwarf2/enum-type.exp: Ditto.
5614 * gdb.trace/entry-values.exp: Ditto.
5615 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5616
439250fb
DE
56172015-01-11 Doug Evans <xdje42@gmail.com>
5618
5619 PR gdb/15830
5620 * gdb.base/maint.exp: Remove references to "maint demangle".
5621 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5622 Add tests for explicitly specifying language to demangle.
5623 * gdb.dlang/demangle.exp: Ditto.
5624
ede9f622
PA
56252015-01-09 Pedro Alves <palves@redhat.com>
5626
5627 * gdb.threads/non-stop-fair-events.c: New file.
5628 * gdb.threads/non-stop-fair-events.exp: New file.
5629
a7b796db
PA
56302015-01-09 Pedro Alves <palves@redhat.com>
5631
5632 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5633 the global scope. Set a breakpoint after all threads are started
5634 rather than stepping over two source lines. Expect the prompt.
5635 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5636 global.
5637 (NUM): Now 15.
5638 (main): Use threads_started_barrier to wait for all threads to
5639 start. Main thread no longer calls thread_function. Exit after
5640 180 seconds.
5641 (loop): New function.
5642 (thread_function): Wait on threads_started_barrier barrier. Call
5643 'loop' at each iteration.
5644 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5645 threads have started, instead of hardcoding number of "next"
5646 steps. Use an access watchpoint instead of a write watchpoint.
5647
9665ffdd
PA
56482015-01-09 Pedro Alves <palves@redhat.com>
5649
5650 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5651 (thread_func): Wait on barrier.
5652 (main): Wait for all threads to start before stopping GDB.
5653 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5654 global.
5655 (thread1_func, thread2_func): Wait on barrier.
5656 (main): Wait for all threads to start before stopping GDB.
5657 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5658 New global.
5659 (thread1_func, thread2_func): Wait on barrier.
5660 (main): Wait for all threads to start before stopping GDB.
5661
c945a99f
PA
56622015-01-09 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.threads/attach-many-short-lived-threads.c: New file.
5665 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5666
c1a747c1
PA
56672014-01-09 Pedro Alves <palves@redhat.com>
5668
5669 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5670 instead of to thread 2.
5671 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5672 Add barrier around each pthread_create call instead of around all
5673 calls.
5674 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5675 Set a break on thread_function and have the child threads hit it
5676 one at at a time.
5677
60b3033e
PA
56782015-01-09 Pedro Alves <palves@redhat.com>
5679
5680 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5681 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5682 false.
5683 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5684 checking whether the target board is remote.
5685 * gdb.multi/multi-attach.exp: Likewise.
5686 * gdb.python/py-sync-interp.exp: Likewise.
5687 * gdb.server/ext-attach.exp: Likewise.
5688 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5689 tests that need to attach, instead of checking whether the target
5690 board is remote at the top of the file.
5691
acc018ac
YQ
56922015-01-08 Yao Qi <yao@codesourcery.com>
5693
5694 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5695
50a18af8
JK
56962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5697
5698 Fix testcase compilation.
5699 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5700
8503d6e1
JB
57012015-01-06 Joel Brobecker <brobecker@adacore.com>
5702
5703 * gdb.python/py-type.exp: Add a couple test about empty
5704 array creation, and negative-length array creation.
5705
cc73dbcc
DE
57062015-01-02 Doug Evans <xdje42@gmail.com>
5707
5708 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5709
0300bbc7
DE
57102015-01-02 Doug Evans <dje@google.com>
5711
5712 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5713
9d85a0ec
YQ
57142014-12-29 Yao Qi <yao@codesourcery.com>
5715
5716 * gdb.trace/entry-values.exp: Update comments. Rename variable
5717 bar_call_foo to returned_from_foo.
5718
87186c6a
MMN
57192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5720
5721 PR gdb/17394
5722 * gdb.linespec/break-asm-file.c: New file.
5723 * gdb.linespec/break-asm-file.exp: New file.
5724 * gdb.linespec/break-asm-file0.s: New file.
5725 * gdb.linespec/break-asm-file1.s: New file.
5726
1bab7383
YQ
57272014-12-18 Nigel Stephens <nigel@mips.com>
5728 Maciej W. Rozycki <macro@codesourcery.com>
5729
5730 * gdb.base/float.exp: Handle the new output from "info float" on
5731 MIPS targets.
5732
1bc1068a
JK
57332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5734
5735 Fix MinGW compilation.
5736 * gdb.compile/compile-ops.exp: Update untested message if
5737 !skip_compile_feature_tests.
5738 * gdb.compile/compile-setjmp.exp: Likewise.
5739 * gdb.compile/compile-tls.exp: Likewise.
5740 * gdb.compile/compile.exp: Likewise.
5741 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5742 supported on this host".
5743
b6615d10
DE
57442014-12-16 Doug Evans <xdje42@gmail.com>
5745
5746 * boards/stabs.exp: New file.
5747
25dda427
AA
57482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5749
5750 * gdb.base/completion.exp: Adjust to format changes of "maint
5751 print user-registers".
5752
bf330350
CU
57532014-12-16 Catalin Udma <catalin.udma@freescale.com>
5754
5755 PR server/17457
5756 * gdb.arch/aarch64-fp.c: New file.
5757 * gdb.arch/aarch64-fp.exp: New file.
5758
395cf596
SDJ
57592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5760
5761 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5762 r210637, r210913, r211666, r215400, r215817).
5763
5764 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5765 * dg-extract-results.py: New file.
5766 * dg-extract-results.sh: Use it if the environment seems
5767 suitable.
5768
5769 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5770
5771 * dg-extract-results.py (parse_run): Handle warnings that
5772 are printed before a test harness is run.
5773
5774 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5775
5776 * dg-extract-results.py (Named): Remove __cmp__ method.
5777 (output_variation): Use a key to sort variation.harnesses.
5778
5779 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5780
5781 * dg-extract-results.py: For Python 3, force sys.stdout to
5782 handle surrogate escape sequences.
5783 (safe_open): New function.
5784 (output_segment, main): Use it.
5785
5786 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5787
5788 * dg-extract-results.py (Prog.result_re): Include options
5789 in test name.
5790
5791 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5792
5793 * dg-extract-results.py (output_variation): Always sort if
5794 do_sum.
5795
e882ef3c
SM
57962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5797
5798 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5799 as long as we get pagination notifications.
5800
4992aa20
JM
58012014-12-15 Jason Merrill <jason@redhat.com>
5802
5803 * Makefile.in (check-gdb.%): Restore.
5804 * README: Mention it.
5805
c1b5a1a6
JB
58062014-12-13 Joel Brobecker <brobecker@adacore.com>
5807
5808 * gdb.ada/str_uninit: New testcase.
5809
5537b577
JK
58102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 PR symtab/17642
5813 * gdb.base/vla-stub-define.c: New file.
5814 * gdb.base/vla-stub.c: New file.
5815 * gdb.base/vla-stub.exp: New file.
5816
bb2ec1b3
TT
58172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5818 Jan Kratochvil <jan.kratochvil@redhat.com>
5819 Tom Tromey <tromey@redhat.com>
5820
5821 * configure.ac: Add gdb.compile/.
5822 * configure: Regenerate.
5823 * gdb.compile/Makefile.in: New file.
5824 * gdb.compile/compile-ops.exp: New file.
5825 * gdb.compile/compile-ops.c: New file.
5826 * gdb.compile/compile-tls.c: New file.
5827 * gdb.compile/compile-tls.exp: New file.
5828 * gdb.compile/compile-constvar.S: New file.
5829 * gdb.compile/compile-constvar.c: New file.
5830 * gdb.compile/compile-mod.c: New file.
5831 * gdb.compile/compile-nodebug.c: New file.
5832 * gdb.compile/compile-setjmp-mod.c: New file.
5833 * gdb.compile/compile-setjmp.c: New file.
5834 * gdb.compile/compile-setjmp.exp: New file.
5835 * gdb.compile/compile-shlib.c: New file.
5836 * gdb.compile/compile.c: New file.
5837 * gdb.compile/compile.exp: New file.
5838 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5839
4ff709eb
TT
58402014-12-12 Tom Tromey <tromey@redhat.com>
5841
5842 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5843 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5844
6dddd6a5
DE
58452014-12-12 Doug Evans <dje@google.com>
5846
5847 * lib/gdb-python.exp (get_python_valueof): New function.
5848 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5849
71c24708
AA
58502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5851
5852 * gdb.base/completion.exp: Add test for completion of "info
5853 registers ".
5854
3e29f34a
MR
58552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5856
5857 * gdb.base/func-ptrs.c: New file.
5858 * gdb.base/func-ptrs.exp: New file.
5859
fc126975
SM
58602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5861
5862 PR breakpoints/17012
5863 * gdb.base/dprintf-detach.c: New file.
5864 * gdb.base/dprintf-detach.exp: New file.
5865
0a46d518
SM
58662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5867
5868 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5869 * lib/gdb.exp (target_is_gdbserver): New procedure.
5870
a0be3e44
DE
58712014-12-08 Doug Evans <dje@google.com>
5872
5873 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5874
df1b803a
YQ
58752014-12-05 Yao Qi <yao@codesourcery.com>
5876
5877 * gdb.guile/scm-error.exp: Remove the third argument to
5878 gdb_remote_download.
5879 * gdb.guile/scm-frame-args.exp: Likewise.
5880 * gdb.guile/scm-section-script.exp: Likewise.
5881
ddb9f679
YQ
58822014-12-05 Yao Qi <yao@codesourcery.com>
5883
5884 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5885
86e4ed39
DE
58862014-12-04 Doug Evans <dje@google.com>
5887
5888 * gdb.python/py-objfile.exp: Add tests for
5889 objfile.add_separate_debug_file.
5890
7c50a931
DE
58912014-12-04 Doug Evans <dje@google.com>
5892
5893 * lib/gdb.exp (get_build_id): New function.
5894 (build_id_debug_filename_get): Rewrite to use it.
5895 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5896
621661e3
MR
58972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5898
5899 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5900 `method(long)', not just 0x0.
5901 * gdb.cp/nsalias.exp: Align code labels to 4.
5902 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5903 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5904 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5905 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5906 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5907 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5908
29f0c3b7
DE
59092014-12-02 Doug Evans <dje@google.com>
5910
e1e061e7 5911 PR symtab/17602
29f0c3b7 5912 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5913 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5914 * gdb.cp/anon-ns.exp: Update.
5915
162078c8
NB
59162014-12-02 Nick Bull <nicholaspbull@gmail.com>
5917
5918 * gdb.python/py-events.py (inferior_call_handler): New.
5919 (register_changed_handler, memory_changed_handler): New.
5920 (test_events.invoke): Register new handlers.
5921 * gdb.python/py-events.exp: Add tests for inferior call,
5922 memory_changed and register_changed events.
5923
fdb09caf
AA
59242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5925
5926 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5927 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5928 if the linker doesn't understand this.
5929
55cfb2c4
SM
59302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5931
5932 * gdb.python/python.exp: Change expected reply to help().
5933
9e8cd6df
YQ
59342014-12-01 Yao Qi <yao@codesourcery.com>
5935
5936 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5937 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5938 * configure: Re-generated.
5939
6c659fc2
SC
59402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5941
5942 * gdb.cp/chained-calls.cc: New file.
5943 * gdb.cp/chained-calls.exp: New file.
5944 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5945
d7fc3181
SM
59462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5947
5948 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5949 * gdb.dwarf2/symtab-producer.exp: Same.
5950 * gdb.gdb/python-interrupts.exp: Same.
5951 * gdb.gdb/python-selftest.exp: Same.
5952 * gdb.python/py-linetable.exp: Same.
5953 * gdb.python/py-type.exp: Same.
5954 * gdb.python/py-value-cc.exp: Same.
5955 * gdb.python/py-value.exp: Same.
5956
10e79639
YQ
59572014-11-28 Yao Qi <yao@codesourcery.com>
5958
5959 * gdb.base/break-probes.exp: Match library name prefixed with
5960 sysroot.
5961
f28a0564
SM
59622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5963
5964 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5965 test expected output. Add parentheses for the call to print.
5966 Remove L suffix from integers.
5967
3fe1ce1d
DE
59682014-11-26 Doug Evans <dje@google.com>
5969
5970 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5971
84429e27
YQ
59722014-11-22 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.trace/entry-values.c: Remove asms.
5975 (foo): Add foo_label.
5976 (bar): Add bar_label.
5977 * gdb.trace/entry-values.exp: Remove code computing foo's
5978 length and bar's length.
5979 (Dwarf::assemble): Invoke function_range for bar and use
5980 MACRO_AT_func for foo.
5981
26741859
YQ
59822014-11-22 Yao Qi <yao@codesourcery.com>
5983
5984 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5985 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5986 Use .Lgcc43_procstart instead of gcc43.
5987
45e44d27
JB
59882014-11-21 Joel Brobecker <brobecker@adacore.com>
5989
5990 * gdb.ada/n_arr_bound: New testcase.
5991
458c8db8
SDJ
59922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5993
5994 PR breakpoints/10737
5995 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5996 test_catch_syscall_multi_arch.
5997 (test_catch_syscall_multi_arch): New function.
5998
43f3e411
DE
59992014-11-20 Doug Evans <xdje42@gmail.com>
6000
6001 * gdb.base/maint.exp: Update expected output.
6002
0d7b2549
AA
60032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6004
6005 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6006 4-byte instruction on S390.
6007
8908fca5
JB
60082014-11-19 Joel Brobecker <brobecker@adacore.com>
6009
6010 * gdb.ada/arr_arr: New testcase.
6011
4a46959e
JB
60122014-11-19 Joel Brobecker <brobecker@adacore.com>
6013
6014 * gdb.ada/pkd_arr_elem: New Testcase.
6015
470e2f4e
LM
60162014-11-18 Luis Machado <lgustavo@codesourcery.com>
6017
6018 * gdb.reverse/break-precsave: Expect completion message for
6019 core file reads.
6020 * gdb.reverse/consecutive-precsave.exp: Likewise.
6021 * gdb.reverse/finish-precsave.exp: Likewise.
6022 * gdb.reverse/i386-precsave.exp: Likewise.
6023 * gdb.reverse/machinestate-precsave.exp: Likewise.
6024 * gdb.reverse/sigall-precsave.exp: Likewise.
6025 * gdb.reverse/solib-precsave.exp: Likewise.
6026 * gdb.reverse/step-precsave.exp: Likewise.
6027 * gdb.reverse/until-precsave.exp: Likewise.
6028 * gdb.reverse/watch-precsave.exp: Likewise.
6029
a267f3ad
AA
60302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6031
6032 * gdb.base/bp-permanent.c: Include unistd.h.
6033 * gdb.python/py-framefilter-mi.c (main): Add return type.
6034 * gdb.python/py-framefilter.c (main): Likewise.
6035 * gdb.trace/actions-changed.c (main): Likewise.
6036
12084a9a
AA
60372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6038
6039 * gdb.mi/until.c: Add eye-catchers.
6040 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6041 line numbers.
6042
dc7e1a77
AA
60432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6044
6045 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6046 function header variants in break1.c.
6047 * gdb.base/ena-dis-br.exp: Likewise.
6048 * gdb.base/hbreak2.exp: Likewise.
6049 * gdb.reverse/until-precsave.exp: Drop references to removed
6050 non-prototype function header variants in ur1.c.
6051 * gdb.reverse/until-reverse.exp: Likewise.
6052
41c77605
PM
60532014-11-17 Petr Machata <pmachata@redhat.com>
6054
6055 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6056 ${_cu_offset_size} bytes abbrev offset.
6057
34248c3a
DE
60582014-11-15 Doug Evans <xdje42@gmail.com>
6059
6060 PR symtab/17559
6061 * gdb.base/line-symtabs.exp: New file.
6062 * gdb.base/line-symtabs.c: New file.
6063 * gdb.base/line-symtabs.h: New file.
6064
646da059
YQ
60652014-11-14 Yao Qi <yao@codesourcery.com>
6066
6067 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6068 (func): Add label func_label.
6069 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6070 Replace low_pc and high_pc with MACRO_AT_range.
6071 Replace name, low_pc and high_pc with MACRO_AT_func.
6072
9301ebe6
YQ
60732014-11-14 Yao Qi <yao@codesourcery.com>
6074
6075 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6076 Replace name, low_pc and high_pc with MACRO_AT_func.
6077
f166b542
YQ
60782014-11-14 Yao Qi <yao@codesourcery.com>
6079
6080 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6081 produce debug information.
6082 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6083
0f6e71e3
YQ
60842014-11-14 Yao Qi <yao@codesourcery.com>
6085
6086 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6087 object and get function length.
6088 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6089 with MACRO_AT_func.
6090 (top-level): Replace gdb_compile and clean_restart with
6091 prepare_for_testing.
6092 * gdb.dwarf2/main.c (main): Add label main_label.
6093
876c4df9
YQ
60942014-11-14 Yao Qi <yao@codesourcery.com>
6095
6096 * lib/dwarf.exp (function_range): New procedure.
6097 (Dwarf::_handle_macro_at_func): New procedure.
6098 (Dwarf::_handle_macro_at_range): New procedure.
6099 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6100
02ad9cf1
YQ
61012014-11-14 Yao Qi <yao@codesourcery.com>
6102
6103 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6104 (_handle_attribute): New procedure.
6105
a59add0c
AA
61062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6107
6108 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6109 * gdb.base/call-sc.c (zed): Likewise.
6110 * gdb.base/checkpoint.c (main): Likewise.
6111 * gdb.base/dump.c (main): Likewise.
6112 * gdb.base/gcore.c (main): Likewise.
6113 * gdb.base/huge.c (main): Likewise.
6114 * gdb.base/multi-forks.c (main): Likewise.
6115 * gdb.base/pr10179-a.c (main): Likewise.
6116 * gdb.base/savedregs.c (main): Likewise.
6117 * gdb.base/sigaltstack.c (main): Likewise.
6118 * gdb.base/siginfo.c (main): Likewise.
6119 * gdb.base/structs.c (zed): Likewise.
6120 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6121 * gdb.mi/mi-syn-frame.c (main): Likewise.
6122 * gdb.mi/until.c (foo, main): Likewise.
6123 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6124 * gdb.base/solib-weak.c (foo): Declare.
6125 * gdb.base/attach-twice.c: Include stdio.h.
6126 * gdb.base/weaklib1.c: Likewise.
6127 * gdb.base/weaklib2.c: Likewise.
6128 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6129 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6130 unistd.h.
6131 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6132 * gdb.mi/mi-exit-code.c: Likewise.
6133 * gdb.base/break-interp-lib.c: Include string.h.
6134 * gdb.base/coremaker.c: Likewise.
6135 * gdb.base/testenv.c: Likewise.
6136 * gdb.python/py-finish-breakpoint.c: Likewise.
6137 * gdb.base/inferior-died.c: Include sys/wait.h.
6138 * gdb.base/fileio.c: Include time.h.
6139 * gdb.base/async-shell.c: Include unistd.h.
6140 * gdb.base/dprintf-non-stop.c: Likewise.
6141 * gdb.base/info-os.c: Likewise.
6142 * gdb.mi/mi-console.c: Likewise.
6143 * gdb.mi/watch-nonstop.c: Likewise.
6144 * gdb.python/py-events.c: Likewise.
6145 * gdb.base/async.c (baz): Move up before its invocation.
6146 * gdb.base/code_elim2.c (my_global_func): Likewise.
6147 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6148 * gdb.base/advance.c (func2): Likewise.
6149
3b5d5997
AA
61502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6151
6152 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6153 variant.
6154 * gdb.base/annota3.c: Likewise.
6155 * gdb.base/async.c: Likewise.
6156 * gdb.base/average.c: Likewise.
6157 * gdb.base/call-ar-st.c: Likewise.
6158 * gdb.base/call-rt-st.c: Likewise.
6159 * gdb.base/call-sc.c: Likewise.
6160 * gdb.base/call-strs.c: Likewise.
6161 * gdb.base/ending-run.c: Likewise.
6162 * gdb.base/execd-prog.c: Likewise.
6163 * gdb.base/exprs.c: Likewise.
6164 * gdb.base/foll-exec.c: Likewise.
6165 * gdb.base/foll-fork.c: Likewise.
6166 * gdb.base/foll-vfork.c: Likewise.
6167 * gdb.base/funcargs.c: Likewise.
6168 * gdb.base/gcore.c: Likewise.
6169 * gdb.base/jump.c: Likewise.
6170 * gdb.base/langs0.c: Likewise.
6171 * gdb.base/langs1.c: Likewise.
6172 * gdb.base/langs2.c: Likewise.
6173 * gdb.base/mips_pro.c: Likewise.
6174 * gdb.base/nodebug.c: Likewise.
6175 * gdb.base/opaque0.c: Likewise.
6176 * gdb.base/opaque1.c: Likewise.
6177 * gdb.base/recurse.c: Likewise.
6178 * gdb.base/run.c: Likewise.
6179 * gdb.base/scope0.c: Likewise.
6180 * gdb.base/scope1.c: Likewise.
6181 * gdb.base/setshow.c: Likewise.
6182 * gdb.base/setvar.c: Likewise.
6183 * gdb.base/shmain.c: Likewise.
6184 * gdb.base/shr1.c: Likewise.
6185 * gdb.base/shr2.c: Likewise.
6186 * gdb.base/sigall.c: Likewise.
6187 * gdb.base/signals.c: Likewise.
6188 * gdb.base/so-indr-cl.c: Likewise.
6189 * gdb.base/solib2.c: Likewise.
6190 * gdb.base/structs.c: Likewise.
6191 * gdb.base/sum.c: Likewise.
6192 * gdb.base/vforked-prog.c: Likewise.
6193 * gdb.base/watchpoint.c: Likewise.
6194 * gdb.reverse/shr2.c: Likewise.
6195 * gdb.reverse/until-reverse.c: Likewise.
6196 * gdb.reverse/ur1.c: Likewise.
6197 * gdb.reverse/watch-reverse.c: Likewise.
6198
066a77c5
AA
61992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6200
6201 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6202 variant.
6203 * gdb.base/sepdebug.exp: Drop references to removed code.
6204
4f204ea5
AA
62052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6206
6207 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6208 variant. Preserve original line numbering.
6209 * gdb.base/list1.c: Likewise.
6210
3b377a3a
AA
62112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6212
6213 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6214 variant.
6215 * gdb.base/break1.c: Likewise.
6216 * gdb.base/break.exp: Drop references to removed code.
6217
e444df73
AA
62182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6219
6220 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6221 variant.
6222
8008f2a7
AA
62232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6224
6225 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6226
a5a06887
AA
62272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6228
6229 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6230 logic into perform_all_tests() and invoke it with and without
6231 function header prototypes.
6232 (do_function_calls): Remove conditional XFAIL for PR 5318.
6233 (rerun_and_prepare): Remove duplicate code.
6234 (perform_all_tests): New. Main logic moved here.
6235
44dba9b9
AA
62362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6237
6238 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6239 code guarded by #ifdef NO_PROTOTYPES.
6240 (t_double_many_args): Likewise.
6241 (DEF_FUNC_MANY_ARGS_1): Likewise.
6242 (DEF_FUNC_VALUES_1): Likewise.
6243 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6244 guarded by #ifdef PROTOTYPES.
6245
d1fbcd56
AA
62462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6247
6248 * gdb.mi/mi-console.c: Add eye-catcher.
6249 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6250 instead of literal line number.
6251
b0e59b8f
AA
62522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6253
6254 * gdb.base/shr2.c: Add eye-catcher.
6255 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6256 line number.
6257
78f98cca
AA
62582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6259
6260 * gdb.base/jump.c: Add eye-catchers.
6261 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6262 numbers.
6263
58fa2af0
AA
62642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6265
6266 * gdb.base/execd-prog.c: Add eye-catchers.
6267 * gdb.base/foll-exec.c: Likewise.
6268 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6269 line numbers.
6270
04e5059b
AA
62712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6272
6273 * gdb.base/ending-run.c: Add eye-catchers.
6274 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6275 literal line numbers.
6276
dbfdb174
AA
62772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6278
6279 * gdb.base/call-rt-st.c: Add eye-catchers.
6280 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6281 literal line numbers.
6282
888a2ade
AA
62832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6284
6285 * gdb.base/call-ar-st.c: Add eye-catchers.
6286 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6287 literal line numbers.
6288
6acc2dde
AA
62892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6290
6291 * gdb.base/average.c: Add eye-catchers.
6292 * gdb.base/sum.c: Likewise.
6293 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6294 regexps dynamically.
6295
9ecfcd1d
AA
62962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6297
6298 * gdb.base/solib1.c: Add eye-catchers.
6299 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6300 literal line numbers.
6301
78708b7c
PA
63022014-11-12 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6305 leader has exited.
6306
af48d08f
PA
63072014-11-12 Pedro Alves <palves@redhat.com>
6308
6309 * gdb.arch/i386-bp_permanent.c: New file.
6310 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6311 (srcfile): Set to i386-bp_permanent.c.
6312 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6313 that stepi does not execute the 'leave' instruction, instead of
6314 testing it does execute.
6315 * gdb.base/bp-permanent.c: New file.
6316 * gdb.base/bp-permanent.exp: New file.
6317
af3768e9
DE
63182014-11-10 Doug Evans <xdje42@gmail.com>
6319
6320 PR symtab/17564
6321 * gdb.base/symtab-search-order.exp: New file.
6322 * gdb.base/symtab-search-order.c: New file.
6323 * gdb.base/symtab-search-order-1.c: New file.
6324 * gdb.base/symtab-search-order-shlib-1.c: New file.
6325
9de00a4a
PA
63262014-11-07 Pedro Alves <palves@redhat.com>
6327
6328 PR gdb/17511
6329 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6330 i?86-*-linux*.
6331
e0f52461
SC
63322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6333
6334 PR c++/17494
6335 * gdb.cp/pr17494.cc: New file.
6336 * gdb.cp/pr17494.exp: New file.
6337
6ce8c980
YQ
63382014-11-02 Yao Qi <yao@codesourcery.com>
6339
6340 * gdb.python/python.exp: Get working directory and match the
6341 output of "set extended-prompt \\w " with it.
6342
02be9a71
DE
63432014-10-30 Doug Evans <dje@google.com>
6344
6345 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6346 in objfiles.
6347 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6348 in progspaces.
6349
3bdff46b
LM
63502014-10-30 Janis Johnson <janisjo@codesourcery.com>
6351
6352 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6353 * gdb.base/realname-expand.exp: Likewise.
6354 * gdb.linespec/macro-relative.exp: Likewise.
6355
ab917dfb
PA
63562014-10-29 Pedro Alves <palves@redhat.com>
6357
6358 PR gdb/17408
6359 * gdb.threads/schedlock.c (some_function): New function.
6360 (call_function): New global.
6361 (MAYBE_CALL_SOME_FUNCTION): New macro.
6362 (thread_function): Call it.
6363 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6364 and use it instead of a global counter. Adjust all callers.
6365 (get_current_thread): Use "find current thread" for test message
6366 here rather than having all callers pass down the same string.
6367 (goto_loop): New procedure, factored out from ...
6368 (my_continue): ... this.
6369 (step_ten_loops): Change parameter from test message to command to
6370 use. Adjust.
6371 (list_count): Delete global.
6372 (check_result): New procedure, factored out from duplicate top
6373 level code.
6374 (continue tests): Wrap in with_test_prefix.
6375 (test_step): New procedure, factored out from duplicate top level
6376 code.
6377 (top level): Test "step" in combination with all scheduler-locking
6378 modes. Test "next" in combination with all scheduler-locking
6379 modes, and in combination with stepping over a function call or
6380 not.
6381 * gdb.threads/next-bp-other-thread.c: New file.
6382 * gdb.threads/next-bp-other-thread.exp: New file.
6383
d3d4baed
PA
63842014-10-29 Pedro Alves <palves@redhat.com>
6385
6386 PR python/17372
6387 * gdb.python/python.exp: Test a multi-line command that spawns
6388 interactive Python.
6389 * gdb.base/multi-line-starts-subshell.exp: New file.
6390
563e8d85
YQ
63912014-10-29 Yao Qi <yao@codesourcery.com>
6392
6393 * gdb.base/fileio.exp: Make directories on host.
6394
0ea4d52e
YQ
63952014-10-29 Yao Qi <yao@codesourcery.com>
6396
6397 * gdb.base/fileio.c (test_write): Close the file.
6398
7f5ef605
PA
63992014-10-28 Pedro Alves <palves@redhat.com>
6400
6401 PR gdb/12623
6402 * gdb.base/sigstep.c (no_handler): New global.
6403 (main): If 'no_handler is true, set the signal handlers to
6404 SIG_IGN.
6405 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6406 with_sw_watch and no_handler parameters. Handle them.
6407 (top level) <stepping over handler when stopped at a breakpoint
6408 test>: Add a test axis for testing with a software watchpoint, and
6409 another for testing with the signal handler set to SIG_IGN.
6410 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6411 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6412
abbdbd03
PA
64132014-10-28 Pedro Alves <palves@redhat.com>
6414
6415 PR gdb/17511
6416 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6417 * gdb.base/sigstep.exp (other_handler_location): New global.
6418 (advance): Support stepping into the signal handler, and running
6419 commands while in the handler.
6420 (in_handler_map): New global.
6421 (top level): In the advance test, add combinations for getting
6422 into the handler with stepping commands, and for running commands
6423 in the handler. Add comment descripting the advancei tests.
6424
1df4399f
PA
64252014-10-28 Pedro Alves <palves@redhat.com>
6426
6427 * gdb.base/sigstep.exp: Use build_executable instead of
6428 prepare_for_testing.
6429 (top level): Move code that starts GDB, runs to main and creates a
6430 display to ...
6431 (restart): ... this new procedure.
6432 (top level): Move backtrace from signal handler test to ...
6433 (validate_backtrace): ... this new procedure.
6434 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6435 with_test_prefix. Always restart GDB.
6436 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6437 with_test_prefix. Always restart GDB. No need to delete
6438 breakpoints after the test.
6439 (test_skip_handler): Remove prefix parameter.
6440 (skip_over_handler, breakpoint_to_handler)
6441 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6442 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6443 restart GDB. No need to delete breakpoints after the test.
6444 (top level): Use foreach to call the test procedures with
6445 different commands.
6446
a5b6e449
PA
64472014-10-28 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6450 instead of GNATS numbers.
6451 * gdb.base/sigbpt.exp: Likewise.
6452 * gdb.base/siginfo.exp: Likewise.
6453 * gdb.base/sigstep.exp: Likewise.
6454
e5f8a7cc
PA
64552014-10-27 Pedro Alves <palves@redhat.com>
6456
6457 * gdb.base/sigstep.c (dummy): New global.
6458 (main): Issue a couple writes to the new global.
6459 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6460 procedures.
6461 (skip_over_handler): Use test_skip_handler.
6462 (top level): Call skip_over_handler for stepi and nexti too.
6463 (breakpoint_over_handler): Use test_skip_handler.
6464 (top level): Call breakpoint_over_handler for stepi and nexti too.
6465
763905a3
YQ
64662014-10-27 Yao Qi <yao@codesourcery.com>
6467
6468 * gdb.trace/tfile.c (adjust_function_address)
6469 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6470 function descriptor.
6471
6f259a23
DB
64722014-10-24 Don Breazeal <donb@codesourcery.com>
6473
6474 * gdb.base/foll-fork.exp (test_follow_fork,
6475 catch_fork_child_follow): Check for updated fork messages emitted
6476 from infrun.c.
6477 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6478 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6479 vfork_and_exec_child_follow_through_step): Check for updated vfork
6480 messages emitted from infrun.c.
6481
09dd9a69
PA
64822014-10-24 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/corefile.exp: Remove references to ultrix.
6485 * gdb.base/interrupt.exp: Likewise.
6486 * gdb.base/whatis.exp: Likewise.
6487 * gdb.gdb/selftest.exp: Likewise.
6488 * gdb.threads/manythreads.exp: Likewise.
6489 * gdb.threads/print-threads.exp: Likewise.
6490 * gdb.threads/pthreads.exp:: Likewise.
6491 * gdb.threads/schedlock.exp: Likewise.
6492
3433cfa5
SC
64932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6494
6495 * gdb.cp/non-trivial-retval.cc: Add a test case.
6496 * gdb.cp/non-trivial-retval.exp: Add a test.
6497
092f880b
YQ
64982014-10-20 Yao Qi <yao@codesourcery.com>
6499
6500 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6501 * gdb.python/py-objfile-script-gdb.py: New file.
6502 * gdb.python/py-objfile-script.exp: Update reference to
6503 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6504 of remote_download. Remove the dest file.
6505
acbdb7f3
YQ
65062014-10-20 Yao Qi <yao@codesourcery.com>
6507
6508 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6509 * gdb.base/step-line.exp: Likewise.
6510 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6511 * gdb.dwarf2/dw2-basic.exp: Likewise.
6512 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6513 * gdb.dwarf2/dw2-filename.exp: Likewise.
6514 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6515 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6516 * gdb.dwarf2/dw2-producer.exp: Likewise.
6517 * gdb.dwarf2/mac-fileno.exp: Likewise.
6518 * gdb.python/py-frame-args.exp: Likewise.
6519 * gdb.python/py-framefilter.exp: Likewise.
6520 * gdb.python/py-mi.exp: Likewise.
6521 * gdb.python/py-objfile-script.exp: Likewise
6522 * gdb.python/py-pp-integral.exp: Likewise.
6523 * gdb.python/py-pp-re-notag.exp: Likewise.
6524 * gdb.python/py-prettyprint.exp: Likewise.
6525 * gdb.python/py-section-script.exp: Likewise.
6526 * gdb.python/py-typeprint.exp: Likewise.
6527 * gdb.python/py-xmethods.exp: Likewise.
6528 * gdb.stabs/weird.exp: Likewise.
6529 * gdb.xml/tdesc-regs.exp: Likewise.
6530
bd286a29
KCY
65312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6532
6533 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6534 (out_cu): Use addr_len for the size of addresses.
6535 (out_line): Likewise. Size DW_LNE_set_address instruction
6536 according to addr_len.
6537 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6538 (FUNC): Add START_INSNS to definition.
6539
673dc4a0
YQ
65402014-10-18 Yao Qi <yao@codesourcery.com>
6541
6542 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6543 gdb_has_argv0 return true.
6544 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6545 check [target_info exists noargs], check [gdb_has_argv0]
6546 instead.
6547 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6548 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6549 procedures.
6550
4ffbba72
DE
65512014-10-17 Doug Evans <dje@google.com>
6552
6553 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6554 event.
6555 * gdb.python/py-events.py: Add clear_objfiles event.
6556
d096d8c1
DE
65572014-10-17 Doug Evans <dje@google.com>
6558
6559 * gdb.python/py-objfile.exp: Test progspace attribute.
6560
a80db015
LM
65612014-10-17 Luis Machado <lgustavo@codesourcery.com>
6562
6563 * gdb.guile/scm-breakpoint.exp: Do not assume any
6564 directory separators when matching source file paths.
6565 * gdb.python/py-breakpoint.exp: Likewise.
6566 * gdb.reverse/break-precsave.exp: Likewise.
6567 * gdb.reverse/break-reverse.exp: Likewise.
6568 * gdb.reverse/consecutive-precsave.exp: Likewise.
6569 * gdb.reverse/finish-precsave.exp: Likewise.
6570 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6571 * gdb.reverse/finish-reverse.exp: Likewise.
6572 * gdb.reverse/i386-precsave.exp: Likewise.
6573 * gdb.reverse/i387-env-reverse.exp: Likewise.
6574 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6575 * gdb.reverse/machinestate-precsave.exp: Likewise.
6576 * gdb.reverse/machinestate.exp: Likewise.
6577 * gdb.reverse/sigall-precsave.exp: Likewise.
6578 * gdb.reverse/solib-precsave.exp: Likewise.
6579 * gdb.reverse/step-precsave.exp: Likewise.
6580 * gdb.reverse/until-precsave.exp: Likewise.
6581 * gdb.reverse/watch-precsave.exp: Likewise.
6582 * gdb.reverse/watch-reverse.exp: Likewise.
6583
b22089ab
YQ
65842014-10-17 Yao Qi <yao@codesourcery.com>
6585
6586 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6587 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6588
6c4486e6
PA
65892014-10-17 Pedro Alves <palves@redhat.com>
6590
6591 PR gdb/17471
6592 * gdb.base/bg-execution-repeat.c: New file.
6593 * gdb.base/bg-execution-repeat.exp: New file.
6594
0ff33695
PA
65952014-10-17 Pedro Alves <palves@redhat.com>
6596
6597 PR gdb/17300
6598 * gdb.base/continue-all-already-running.c: New file.
6599 * gdb.base/continue-all-already-running.exp: New file.
6600
6fdebc3d
PA
66012014-10-17 Pedro Alves <palves@redhat.com>
6602
6603 PR gdb/17472
6604 * gdb.base/annota-input-while-running.c: New file.
6605 * gdb.base/annota-input-while-running.exp: New file.
6606
32a8097b
PA
66072014-10-17 Pedro Alves <palves@redhat.com>
6608
6609 * gdb.base/callfuncs.exp: emove references to osf.
6610 * gdb.base/sigall.exp: Likewise.
6611 * gdb.gdb/selftest.exp: Likewise.
6612 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6613 * gdb.mi/non-stop.c: Likewise.
6614 * gdb.mi/pthreads.c: Likewise.
6615 * gdb.reverse/sigall-precsave.exp: Likewise.
6616 * gdb.reverse/sigall-reverse.exp: Likewise.
6617 * gdb.threads/pthreads.c: Likewise.
6618 * gdb.threads/pthreads.exp: Likewise.
6619
7a3517ff
YQ
66202014-10-17 Yao Qi <yao@codesourcery.com>
6621
6622 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6623 check 'target_info exists noargs'.
6624 (test_command_prompt_position): Likewise.
6625 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6626 Remove "set args".
6627 (progvar_simple_while_test): Likewise.
6628 (progvar_complex_if_while_test): Likewise.
6629 (if_while_breakpoint_command_test): Likewise.
6630 (infrun_breakpoint_command_test): Likewise.
6631 (breakpoint_command_test): Likewise.
6632 (watchpoint_command_test): Likewise.
6633 (bp_deleted_in_command_test): Likewise.
6634 (temporary_breakpoint_commands): Likewise.
6635
bb99c472
YQ
66362014-10-16 Yao Qi <yao@codesourcery.com>
6637
6638 * gdb.base/remotetimeout.exp: Remove noargs checking.
6639
7c16b83e
PA
66402014-10-15 Pedro Alves <palves@redhat.com>
6641
6642 PR breakpoints/9649
6643 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6644 * gdb.base/breakpoint-in-ro-region.exp
6645 (probe_target_hardware_step): New procedure.
6646 (top level): Probe hardware stepping and hardware breakpoint
6647 support. Test stepping through a read-only region, with both
6648 "breakpoint auto-hw" on and off and both "always-inserted" on and
6649 off.
6650
35a49624
IB
66512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6652
6653 * gdb.dlang/demangle.exp: Update for demangling changes.
6654
2d1c107c
SC
66552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6656
6657 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6658 * gdb.cp/non-trivial-retval.exp: Add new tests.
6659
778811d5
SC
66602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6661
6662 PR c++/13403
6663 PR c++/15154
6664 * gdb.cp/non-trivial-retval.cc: New file.
6665 * gdb.cp/non-trivial-retval.exp: New file.
6666
10c5f0a8
YQ
66672014-10-15 Yao Qi <yao@codesourcery.com>
6668
6669 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6670 remote host.
6671
65d7b369
YQ
66722014-10-15 Yao Qi <yao@codesourcery.com>
6673
6674 * gdb.python/py-symbol.exp: Match file base name if host is
6675 remote, otherwise match file name with dir name.
6676 * gdb.python/py-symtab.exp: Likewise.
6677 * gdb.python/python.exp: Likewise.
6678
46dc1394
YQ
66792014-10-15 Yao Qi <yao@codesourcery.com>
6680
6681 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6682 pattern.
6683 * gdb.python/py-symtab.exp: Likewise.
6684 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6685 locationn.
6686
c40cc657
JB
66872014-10-14 Joel Brobecker <brobecker@adacore.com>
6688
6689 * gdb.ada/addr_arith: New testcase.
6690
2abf49e1
MR
66912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6692
6693 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6694 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6695 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6696 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6697
f7088df3
SDJ
66982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6699
6700 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6701 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6702 * gdb.arch/stap-eval-lang-ada.exp: New file.
6703
4dc06805
YQ
67042014-10-14 Yao Qi <yao@codesourcery.com>
6705
6706 * gdb.mi/mi-var-child.c (nothing1): New function.
6707 (nothing2): New function.
6708 (do_children_tests): Set function pointers by nothing1 and
6709 nothing2.
6710 * gdb.mi/mi-var-child.exp: Step over new added statements.
6711 Update test to match the new output.
6712 * gdb.mi/var-cmd.c (nothing1): New function.
6713 (nothing2): New function.
6714 (do_children_tests): Set function pointers by nothing1 and
6715 nothing2.
6716 * gdb.mi/mi-var-display.exp: Update test to match output.
6717 Step to the line specified by $line_dct_nothing.
6718 Increase the number of lines to step.
6719
46a93de2
YQ
67202014-10-14 Yao Qi <yao@codesourcery.com>
6721
6722 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6723 tests.
6724 * gdb.mi/mi2-var-child.exp: Likewise.
6725
14ea52ee
DE
67262014-10-13 Doug Evans <dje@google.com>
6727
6728 * gdb.python/py-objfile.exp: Change name of file name test.
6729
e5c6e92b
DE
67302014-10-13 Doug Evans <dje@google.com>
6731
6732 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6733 from the start of the CU.
6734
c780cc2f
JK
67352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6736 Yao Qi <yao@codesourcery.com>
6737
6738 Fix "save breakpoints" for "catch" command.
6739 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6740 Remove -nonewline. Match also the added "main" line.
6741
99894e11
JK
67422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6743
6744 Fix "save breakpoints" for "disable $bpnum" command.
6745 * gdb.base/save-bp.c (main): Add label.
6746 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6747
6e1ac5a3
JK
67482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6749
6750 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6751
754dd2b0
YQ
67522014-10-11 Yao Qi <yao@codesourcery.com>
6753
6754 * gdb.server/server-kill.exp: Execute command
6755 "set remote trace-status-packet on" before "tstatus".
6756
f90183d7
YQ
67572014-10-11 Yao Qi <yao@codesourcery.com>
6758
6759 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6760 (main): Call getppid.
6761 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6762 and continue to it. Read variable "server_pid".
6763
bf40a607
YQ
67642014-10-11 Yao Qi <yao@codesourcery.com>
6765
6766 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6767
052ca370
YQ
67682014-10-11 Yao Qi <yao@codesourcery.com>
6769
6770 * gdb.threads/thread-find.exp: Don't execute command
6771 "info threads".
6772 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6773 * gdb.threads/linux-dp.exp: Don't check the condition
6774 $threads_created equals to zero.
6775
3831839c
PA
67762014-10-10 Pedro Alves <palves@redhat.com>
6777
6778 * gdb.base/bigcore.exp: Remove references to IRIX.
6779 * gdb.base/funcargs.exp: Likewise.
6780 * gdb.base/interrupt.exp: Likewise.
6781 * gdb.base/mips_pro.exp: Likewise.
6782 * gdb.base/nodebug.exp: Likewise.
6783 * gdb.base/setvar.exp: Likewise.
6784 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6785
8b9a549d
PA
67862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6787 Pedro Alves <palves@redhat.com>
6788
6789 PR symtab/14466
6790 * gdb.base/vdso-warning.c: New file.
6791 * gdb.base/vdso-warning.exp: New file.
6792
d48ba5e8
DE
67932014-10-02 Doug Evans <dje@google.com>
6794
6795 * gdb.base/structs.c (main): Don't run forever.
6796
2278c276
PA
67972014-10-02 Pedro Alves <palves@redhat.com>
6798
6799 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6800 (top level) <stop threads 1, stop threads 2>: Use it.
6801
b57bacec
PA
68022014-10-02 Pedro Alves <palves@redhat.com>
6803
6804 * gdb.threads/break-while-running.exp (test): Add new
6805 'update_thread_list' argument. Skip "info threads" if false.
6806 (top level): Add new 'update_thread_list' axis.
6807
13fd3ff3
PA
68082014-10-02 Pedro Alves <palves@redhat.com>
6809
6810 PR breakpoints/17431
6811 * gdb.base/execl-update-breakpoints.c: New file.
6812 * gdb.base/execl-update-breakpoints.exp: New file.
6813
0fec99e8
PA
68142014-10-01 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/breakpoint-in-ro-region.c: New file.
6817 * gdb.base/breakpoint-in-ro-region.exp: New file.
6818
2ddf4301
SM
68192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6820
6821 * gdb.mi/mi-exit-code.exp: New file.
6822 * gdb.mi/mi-exit-code.c: New file.
6823
6a5f3f43
YQ
68242014-09-30 Yao Qi <yao@codesourcery.com>
6825
6826 * lib/prelink-support.exp (build_executable_own_libs): Error if
6827 the target isn't native.
6828
345bcc73
YQ
68292014-09-30 Yao Qi <yao@codesourcery.com>
6830
6831 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6832 false.
6833
a25a5a45
PA
68342014-09-22 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.threads/break-while-running.exp: New file.
6837 * gdb.threads/break-while-running.c: New file.
6838
00ba3162
YQ
68392014-09-19 Yao Qi <yao@codesourcery.com>
6840
6841 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6842 Invoke test. Restart GDB with --readnow and invoke test again.
6843
c3b7b696
YQ
68442014-09-19 Yao Qi <yao@codesourcery.com>
6845
6846 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6847 proc set_breakpoint_on_gcd_function. Invoke
6848 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6849 invoke set_breakpoint_on_gcd_function again.
6850
2b4fd423
DE
68512014-09-18 Doug Evans <dje@google.com>
6852
6853 * gdb.dwarf2/symtab-producer.exp: New file.
6854
a5947601
SDJ
68552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6856
6857 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6858 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6859 * gdb.base/global-var-nested-by-dso.c: Likewise.
6860 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6861
91c19059
SDJ
68622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6863 Pedro Alves <palves@redhat.com>
6864
6865 * gdb.base/watch-bitfields.exp: Pass string other than test file
6866 name to prepare_for_testing.
6867 (watch): New procedure.
6868 (expect_watchpoint): Use with_test_prefix.
6869 (top level): Factor out tests to ...
6870 (test_watch_location, test_regular_watch): ... these new
6871 procedures, and use with_test_prefix and gdb_continue_to_end.
6872
bb9d5f81
PP
68732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6874
6875 PR breakpoints/12526
6876 * gdb.base/watch-bitfields.exp: New file.
6877 * gdb.base/watch-bitfields.c: New file.
6878
635856f5
PA
68792014-09-16 Pedro Alves <palves@redhat.com>
6880
6881 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6882 software and hardware addresses, not software address against
6883 itself.
6884
7280ceea
PA
68852014-09-16 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6888 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6889
428b16bd
PA
68902014-09-16 Pedro Alves <palves@redhat.com>
6891
6892 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6893 files.
6894 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6895 "*-*-vxworks*" throughout.
6896 * gdb.base/break.exp: Likewise.
6897 * gdb.base/default.exp: Likewise.
6898 * gdb.base/scope.exp: Likewise.
6899 * gdb.base/sepdebug.exp: Likewise.
6900 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6901 throughout.
6902 * gdb.base/run.c: Likewise.
6903 * gdb.base/sepdebug.c: Likewise.
6904 * gdb.hp/gdb.aCC/run.c: Likewise.
6905 * gdb.reverse/until-reverse.c: Likewise.
6906 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6907
666d413c
YQ
69082014-09-16 Yao Qi <yao@codesourcery.com>
6909
6910 * boards/local-remote-host-native.exp: New file.
6911
57cbd724
DE
69122014-09-14 Doug Evans <xdje42@gmail.com>
6913
6914 * gdb.threads/queue-signal.c (thread_count): New variable.
6915 (thread_count_mutex, thread_count_condvar): New variables.
6916 (incr_thread_count, wait_all_threads_running): New functions.
6917 (main): Wait for all threads to be in their thread functions.
6918
81219e53
DE
69192014-09-13 Doug Evans <xdje42@gmail.com>
6920
6921 * gdb.threads/queue-signal.c: New file.
6922 * gdb.threads/queue-signal.exp: New file.
6923
3714cea7
DE
69242014-09-13 Doug Evans <xdje42@gmail.com>
6925
6926 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6927 be consistent with what default_gdb_init uses.
6928 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6929 the plain text of the prompt. Add some logging printfs.
6930 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6931
fa43b1d7
PA
69322014-09-12 Pedro Alves <palves@redhat.com>
6933
6934 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6935 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6936 * gdb.arch/i386-size-overlap.exp: Likewise.
6937 * gdb.arch/i386-size.exp: Likewise.
6938 * gdb.arch/i386-unwind.exp: Likewise.
6939 * gdb.base/a2-run.exp: Likewise.
6940 * gdb.base/break.exp: Likewise.
6941 * gdb.base/charset.exp: Likewise.
6942 * gdb.base/chng-syms.exp: Likewise.
6943 * gdb.base/commands.exp: Likewise.
6944 * gdb.base/dbx.exp: Likewise.
6945 * gdb.base/find.exp: Likewise.
6946 * gdb.base/funcargs.exp: Likewise.
6947 * gdb.base/jit-simple.exp: Likewise.
6948 * gdb.base/reread.exp: Likewise.
6949 * gdb.base/sepdebug.exp: Likewise.
6950 * gdb.base/step-bt.exp: Likewise.
6951 * gdb.cp/mb-inline.exp: Likewise.
6952 * gdb.cp/mb-templates.exp: Likewise.
6953 * gdb.objc/basicclass.exp: Likewise.
6954 * gdb.threads/killed.exp: Likewise.
6955
9d9bf2df
EBM
69562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6957
6958 PR tdep/17379
6959 * gdb.arch/powerpc-stackless.S: New file.
6960 * gdb.arch/powerpc-stackless.exp: New file.
6961
1cf2f1b0
JK
69622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6963
6964 * gdb.base/attach.c: Include unistd.h.
6965 (main): Call alarm. Add label postloop.
6966 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6967 gdb_breakpoint, gdb_continue_to_breakpoint.
6968 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6969
98880d46
PA
69702014-09-11 Pedro Alves <palves@redhat.com>
6971
6972 PR gdb/17347
6973 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6974 * gdb.base/attach.exp (test_command_line_attach_run): New
6975 procedure.
6976 (top level): Call it.
6977
4c92ff2c
PA
69782014-09-11 Pedro Alves <palves@redhat.com>
6979
6980 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6981 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6982 (do_command_attach_tests): Use spawn_wait_for_attach.
6983 * gdb.base/solib-overlap.exp: Likewise.
6984 * gdb.multi/multi-attach.exp: Likewise.
6985 * gdb.python/py-prompt.exp: Likewise.
6986 * gdb.python/py-sync-interp.exp: Likewise.
6987 * gdb.server/ext-attach.exp: Likewise.
6988
3adc1a7d
GKB
69892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6990
6991 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6992 command in testcase. Simplify testcase.
6993
96334934
JB
69942014-09-10 Joel Brobecker <brobecker@adacore.com>
6995
6996 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6997
eb479039
JB
69982014-09-10 Joel Brobecker <brobecker@adacore.com>
6999
7000 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7001
deede10c
JB
70022014-09-10 Joel Brobecker <brobecker@adacore.com>
7003
7004 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7005
7828a5f5
JB
70062014-09-10 Joel Brobecker <brobecker@adacore.com>
7007
7008 * gdb.dwarf2/dynarr-ptr.c: New file.
7009 * gdb.dwarf2/dynarr-ptr.exp: New file.
7010
33aeebcf
MR
70112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7012
7013 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7014 of 30 rather than hardcoding 120 for a slow test case. Take the
7015 `gdb,timeout' target setting into account for this calculation.
7016 Don't extend the timeout for the test cases that don't need it.
7017
7b415901
MR
70182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7019
7020 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7021 a factor of 2 for a slow test case. Take the `gdb,timeout'
7022 target setting into account for this calculation.
7023 * gdb.reverse/until-precsave.exp: Increase the timeout by
7024 a factor of 15 and 3 respectively rather than adding 120
7025 for a pair of slow test cases. Take the `gdb,timeout'
7026 target setting into account for this calculation.
7027
4a40f85a
MR
70282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7029
7030 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7031 timeout, don't pass one down to gdb_expect.
7032 (gdb_expect): Rework timeout selection.
7033
09635af7
MR
70342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7035
7036 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7037 exception on timeout.
7038 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7039 (gdbserver_start_extended): Catch any `gdbserver_start' error
7040 exceptions.
7041 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7042 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7043 `gdbserver_gdb_load' error exceptions.
7044
2bdd10b7
MR
70452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7046
7047 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7048 120 on waiting for the TCP socket to open.
7049
316935f0
DE
70502014-09-09 Doug Evans <xdje42@gmail.com>
7051
7052 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7053 _caller_matches, _any_caller_is, _any_caller_matches.
7054
83740597
DE
70552014-09-09 Doug Evans <xdje42@gmail.com>
7056
7057 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7058
4c122fc3
YQ
70592014-09-09 Yao Qi <yao@codesourcery.com>
7060
7061 * gdb.mi/mi-var-display.exp: Set print symbol off.
7062
a9f116cb
GKB
70632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7064
7065 PR gdb/17035
7066 * gdb.base/commands.exp: Add tests to verify user-defined
7067 commands with empty bodies.
7068 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7069 python commands in `show user command`.
7070 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7071 scheme commands in `show user command`.
7072
c75bd3a2
JK
70732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 PR python/17355
7076 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7077 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7078 * gdb.python/py-framefilter-invalidarg.exp: New file.
7079 * gdb.python/py-framefilter-invalidarg.py: New file.
7080
faa42425
DE
70812014-09-06 Doug Evans <xdje42@gmail.com>
7082
7083 PR 15276
7084 * gdb.python/py-caller-is.c: New file.
7085 * gdb.python/py-caller-is.exp: New file.
7086
474ca4f6
SDJ
70872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7088
7089 PR gdb/17235
7090 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7091 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7092
eb0b0463
SDJ
70932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7094
7095 PR fortran/17237
7096 * gdb.fortran/print-formatted.exp: New file.
7097 * gdb.fortran/print-formatted.f90: Likewise.
7098
5f3b99cf
SS
70992014-09-03 Sasha Smundak <asmundak@google.com>
7100
7101 * gdb.python/py-frame.exp: Test Frame.read_register.
7102
7d793aa9
SDJ
71032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7104
7105 PR python/16699
7106 * gdb.python/py-completion.exp: New file.
7107 * gdb.python/py-completion.py: Likewise.
7108
fb0576e9
DE
71092014-08-28 Doug Evans <dje@google.com>
7110
7111 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7112 eax,etc. are live with values set by gdb and thus the compiler can't
7113 use them.
7114 * gdb.arch/i386-pseudo.c (main): Ditto.
7115
ee92b0dd
DE
71162014-08-27 Doug Evans <dje@google.com>
7117
7118 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7119
6649db35
DE
71202014-08-25 Doug Evans <dje@google.com>
7121
7122 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7123 (main): Ditto.
7124
564b7600
DE
71252014-08-25 Doug Evans <dje@google.com>
7126
7127 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7128
3881fb67
YQ
71292014-08-24 Yao Qi <yao@codesourcery.com>
7130
7131 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7132 symbol off.
7133 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7134
a05a36a5
DE
71352014-08-22 Doug Evans <dje@google.com>
7136
7137 PR 17276
7138 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7139 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7140 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7141
7c343b48
YQ
71422014-08-22 Yao Qi <yao@codesourcery.com>
7143
7144 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7145 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7146 * gdb.python/python.exp: Likewise. Use .py file on the host
7147 instead of the build.
7148
22fd09ae
JK
71492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7150
7151 * gdb.threads/gcore-stale-thread.c: New file.
7152 * gdb.threads/gcore-stale-thread.exp: New file.
7153
a8454a7c
PA
71542014-08-21 Pedro Alves <palves@redhat.com>
7155
7156 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7157 * gdb.base/gcore-relro-pie.exp: Likewise.
7158 * gdb.base/gcore-relro.exp: Likewise.
7159 * gdb.base/gcore.exp: Likewise.
7160 * gdb.base/print-symbol-loading.exp: Likewise.
7161 * gdb.threads/gcore-thread.exp: Likewise.
7162 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7163
2a31c623
PA
71642014-08-20 Pedro Alves <palves@redhat.com>
7165 Jan Kratochvil <jan.kratochvil@redhat.com>
7166
7167 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7168 configure.
7169 (EXPECT): Handle READ1 being set.
7170 (all): Depend on EXTRA_RULES.
7171 (check-read1, expect-read1, read1.so, read1): New rules.
7172 * README (Testsuite Parameters): Document the READ1 make variable.
7173 (Race detection): New section.
7174 * configure: Regenerate.
7175 * configure.ac: If build==host==target, and running under a
7176 GNU/glibc system, add read1 to the extra Makefile rules.
7177 (EXTRA_RULES): AC_SUBST it.
7178 * lib/read1.c: New file.
7179
d36430db
JB
71802014-08-20 Joel Brobecker <brobecker@adacore.com>
7181
7182 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7183 the handling of variables declared as a typedef to an array
7184 which a DW_AT_data_location attribute.
7185
9a0dc9e3
PA
71862014-08-19 Andrew Burgess <aburgess@broadcom.com>
7187 Pedro Alves <palves@redhat.com>
7188
7189 PR symtab/14604
7190 PR symtab/14605
7191 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7192 gdb_test.
7193
0718a8da
PA
71942014-08-19 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7197
13b448cd
YQ
71982014-08-19 Yao Qi <yao@codesourcery.com>
7199
7200 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7201 right line.
7202
1cbf5077
DB
72032014-08-18 David Blaikie <dblaikie@gmail.com>
7204
7205 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7206
bf0fae19
JB
72072014-08-18 Joel Brobecker <brobecker@adacore.com>
7208
7209 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7210 attribute in array range.
7211
3c8c5dcc
JB
72122014-08-18 Joel Brobecker <brobecker@adacore.com>
7213
7214 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7215
e66d4446
SC
72162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7217
7218 PR c++/17132
7219 * gdb.cp/pr17132.cc: New file.
7220 * gdb.cp/pr17132.exp: New file.
7221
940df408
SC
72222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7223
7224 * gdb.python/py-xmethods.py (A_getarrayind)
7225 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7226 Use 'print' with function call syntax.
7227 (E_method_matcher.match): Fix tab vs space indentation mixup.
7228
ebcc6c3a
YQ
72292014-08-15 Yao Qi <yao@codesourcery.com>
7230
7231 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7232 false.
7233
775e0f04
YQ
72342014-08-15 Yao Qi <yao@codesourcery.com>
7235
7236 * gdb.cp/casts.exp: Set print symbol off.
7237 * gdb.cp/class2.exp: Likewise.
7238 * gdb.cp/overload.exp: Likewise.
7239 * gdb.cp/templates.exp: Likewise.
7240
d769e349
DE
72412014-08-11 Doug Evans <dje@google.com>
7242
7243 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7244 (test_load_shlib): Update.
7245
20c6f1e1
YQ
72462014-08-09 Yao Qi <yao@codesourcery.com>
7247
7248 * gdb.base/display.exp: Invoke is_address_zero_readable.
7249 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7250 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7251 * gdb.base/hbreak-unmapped.exp: Return if
7252 is_address_zero_readable returns true.
7253 * gdb.base/signest.exp: Likewise.
7254 * gdb.base/signull.exp: Likewise.
7255 * gdb.base/sigbpt.exp: Likewise.
7256 * gdb.guile/scm-disasm.exp: Do the test if
7257 is_address_zero_readable returns false.
7258 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7259 * gdb.python/py-arch.exp: Likewise.
7260 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7261 * lib/gdb.exp (is_address_zero_readable): New proc.
7262
5792e8e3
YQ
72632014-08-09 Yao Qi <yao@codesourcery.com>
7264
7265 PR testsuite/13443
7266 * gdb.mi/mi-var-display.exp: Make test messages unique.
7267
3cecbbbe
TT
72682014-08-04 Tom Tromey <tromey@redhat.com>
7269
7270 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7271 target 0".
7272
00b51ff5
TT
72732014-08-04 Tom Tromey <tromey@redhat.com>
7274
7275 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7276 "target_resume".
7277
6908c509
JB
72782014-08-01 Joel Brobecker <brobecker@adacore.com>
7279
7280 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7281 inner_vla_struct_object_size.
7282 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7283 as xfail.
7284
cc6563d2
PA
72852014-07-30 Pedro Alves <palves@redhat.com>
7286
7287 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7288 comment.
7289
7e09a223
YQ
72902014-07-29 Yao Qi <yao@codesourcery.com>
7291
7292 PR gdb/17206
7293 * gdb.base/until-nodebug.exp: New.
7294
7ebdbe92
DE
72952014-07-28 Doug Evans <xdje42@gmail.com>
7296
7297 PR guile/17203
7298 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7299 previously existing parameter, and previously ambiguously spelled
7300 parameter.
7301
fdb1adc6
WN
73022014-07-28 Will Newton <will.newton@linaro.org>
7303
7304 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7305
186fcde0
DE
73062014-07-26 Ludovic Courtès <ludo@gnu.org>
7307 Doug Evans <xdje42@gmail.com>
7308
7309 PR guile/17146
7310 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7311
70509625
PA
73122014-07-25 Pedro Alves <palves@redhat.com>
7313
7314 * gdb.threads/signal-command-handle-nopass.c: New file.
7315 * gdb.threads/signal-command-handle-nopass.exp: New file.
7316 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7317 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7318 * gdb.threads/signal-delivered-right-thread.c: New file.
7319 * gdb.threads/signal-delivered-right-thread.exp: New file.
7320
c3f814a1
PA
73212014-07-25 Pedro Alves <palves@redhat.com>
7322
7323 * gdb.base/double-prompt-target-event-error.exp
7324 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7325 match.
7326 (cancel_pagination_in_target_event): Rework double prompt
7327 detection.
7328 * gdb.base/paginate-after-ctrl-c-running.exp
7329 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7330 <return>' match.
7331 * gdb.base/paginate-bg-execution.exp
7332 (test_bg_execution_pagination_return)
7333 (test_bg_execution_pagination_cancel): Remove '-notransfer
7334 <return>' matches.
7335 * gdb.base/paginate-execution-startup.exp
7336 (test_fg_execution_pagination_return)
7337 (test_fg_execution_pagination_cancel): Remove '-notransfer
7338 <return>' matches.
7339 * gdb.base/paginate-inferior-exit.exp
7340 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7341 match.
7342 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7343 * lib/gdb.exp (pagination_prompt): Run text through
7344 string_to_regexp.
7345 (gdb_test_multiple): Match $pagination_prompt instead of
7346 "<return>".
7347 (string_to_regexp): Move to lib/gdb-utils.exp.
7348
e214cf6c
JK
73492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7350
7351 * gdb.arch/amd64-entry-value-paramref.S: New file.
7352 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7353 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7354 * gdb.arch/amd64-optimout-repeat.S: New file.
7355 * gdb.arch/amd64-optimout-repeat.c: New file.
7356 * gdb.arch/amd64-optimout-repeat.exp: New file.
7357
17d0c5c8
JK
73582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7359
7360 PR gdb/17170
7361 * gdb.base/statistics.exp: New file.
7362
b8b8facf
DE
73632014-07-17 Doug Evans <dje@google.com>
7364
74b49205 7365 PR gdb/17170
b8b8facf
DE
7366 * gdb.base/maint.exp: Update testing of per-command stats.
7367
1b5d0ab3
PA
73682014-07-16 Pedro Alves <palves@redhat.com>
7369
7370 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7371 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7372 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7373 (tfile_write_buf): New functions.
7374 (add_memory_block): Rewrite using the above.
7375 (adjust_function_address): New function.
7376 (FUNCTION_ADDRESS): New macro.
7377 (write_basic_trace_file): Remove short_x local, and use
7378 tfile_write_16. Change type of func_addr local to unsigned long
7379 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7380 here. Cast argument of add_memory_block to char pointer.
7381 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7382 (main): Remove parameters.
7383 * gdb.trace/tfile.exp: Remove nowarnings.
7384
4d974e88
SM
73852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7386
7387 * gdb.base/debug-expr.exp: Test string evaluation with
7388 "debug expression" on.
7389
41e99568
PA
73902014-07-15 Pedro Alves <palves@redhat.com>
7391
7392 * gdb.base/reread.exp: Use clean_restart.
7393
487d9753
PL
73942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7395
7396 * gdb.arch/avr-flash-qualifer.c: New.
7397 * gdb.arch/avr-flash-qualifer.exp: New.
7398
cc1c52ad
PA
73992014-07-14 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7402 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7403
1e973570
PA
74042014-07-14 Pedro Alves <palves@redhat.com>
7405
7406 * gdb.base/double-prompt-target-event-error.c: New file.
7407 * gdb.base/double-prompt-target-event-error.exp: New file.
7408
93d6eb10
PA
74092014-07-14 Pedro Alves <palves@redhat.com>
7410
7411 PR gdb/17072
7412 * gdb.base/paginate-inferior-exit.c: New file.
7413 * gdb.base/paginate-inferior-exit.exp: New file.
7414
0017922d
PA
74152014-07-14 Pedro Alves <palves@redhat.com>
7416
7417 PR gdb/17072
7418 * gdb.base/paginate-bg-execution.c: New file.
7419 * gdb.base/paginate-bg-execution.exp: New file.
7420
94696ad3
PA
74212014-07-14 Pedro Alves <palves@redhat.com>
7422
7423 PR gdb/17072
7424 * gdb.base/paginate-execution-startup.c: New file.
7425 * gdb.base/paginate-execution-startup.exp: New file.
7426 * lib/gdb.exp (pagination_prompt): New global.
7427 (default_gdb_spawn): New procedure, factored out from
7428 default_gdb_spawn.
7429 (default_gdb_start): Adjust to call default_gdb_spawn.
7430 (gdb_spawn): New procedure.
7431
bd293940
PA
74322014-07-14 Pedro Alves <palves@redhat.com>
7433
7434 * lib/gdb.exp (gdb_assert): New procedure.
7435 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7436
c933f875
PA
74372014-07-14 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.base/execution-termios.c: New file.
7440 * gdb.base/execution-termios.exp: New file.
7441
d98b7a16
TT
74422014-07-14 Tom Tromey <tromey@redhat.com>
7443
7444 * gdb.cp/vla-cxx.cc: New file.
7445 * gdb.cp/vla-cxx.exp: New file.
7446
548740d6
TT
74472014-07-14 Tom Tromey <tromey@redhat.com>
7448
7449 * gdb.reverse/rerun-prec.c: New file.
7450 * gdb.reverse/rerun-prec.exp: New file.
7451
a25eb028
MR
74522014-07-12 Maciej W. Rozycki <macro@mips.com>
7453 Maciej W. Rozycki <macro@codesourcery.com>
7454
7455 * lib/gdb-utils.exp: New file.
7456 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7457 inline `gdb_init_command' processing.
7458 (gdb_start_cmd): Likewise.
7459 * lib/mi-support.exp (mi_run_cmd): Likewise.
7460 * README: Document `gdb_init_command' and `gdb_init_commands'.
7461
218c2655
JK
74622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7463
7464 Fix false FAIL running under a very long directory name.
7465 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7466 and "set print elements 10000". Twice.
7467
5401fde3
YQ
74682014-07-11 Yao Qi <yao@codesourcery.com>
7469
7470 * gdb.base/exprs.exp: "set print symbol off".
7471
e76126e8
PA
74722014-07-11 Pedro Alves <palves@redhat.com>
7473
7474 * gdb.threads/kill.c: New file.
7475 * gdb.threads/kill.exp: New file.
7476
2d6f0de6
YQ
74772014-07-10 Yao Qi <yao@codesourcery.com>
7478
7479 * gdb.trace/tfile.c (write_basic_trace_file)
7480 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7481 address written to trace file.
7482
7180e04a
PA
74832014-07-09 Pedro Alves <palves@redhat.com>
7484
7485 * gdb.base/attach-wait-input.exp: New file.
7486 * gdb.base/attach-wait-input.c: New file.
7487
9a9a7608
AB
74882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7489
7490 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7491 setting up test structures.
7492 (main): Call new test function.
7493 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7494 test function, continue into test function and walk test
7495 structures.
7496
161ac41e
YQ
74972014-07-02 Yao Qi <yao@codesourcery.com>
7498
7499 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7500 'bar_start' at the beginning of functions 'foo' and 'bar'
7501 respectively.
7502 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7503 instead of 'foo' and 'bar'.
7504
1f267ae3
MM
75052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7506
7507 * gdb.btrace/segv.exp: New.
7508 * gdb.btrace/segv.c: New.
7509
2b239efb
LM
75102014-07-02 Luis Machado <lgustavo@codesourcery.com>
7511
7512 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7513 instruction.
7514
cf363f18
MW
75152014-06-30 Mark Wielaard <mjw@redhat.com>
7516
7517 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7518 vulture, vilify, villar): New volatile array constants.
7519 (vindictive, vegetation): New const volatile array constants.
7520 * gdb.base/volatile.exp: Test volatile and const volatile array
7521 types.
7522
aebf9d24
AA
75232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7524
7525 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7526 target lacks support for awatch, rwatch, or hbreak.
7527
b67a2c6f
YQ
75282014-06-27 Yao Qi <yao@codesourcery.com>
7529
7530 * gdb.multi/dummy-frame-restore.exp: New.
7531 * gdb.multi/dummy-frame-restore.c: New.
7532
aef92902
MM
75332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7534
7535 * gdb.btrace/gcore.exp: New.
7536
8e9db26e
PA
75372014-06-23 Pedro Alves <palves@redhat.com>
7538
7539 * gdb.base/watchpoint-reuse-slot.c: New file.
7540 * gdb.base/watchpoint-reuse-slot.exp: New file.
7541
70afc5b7
SC
75422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7543
7544 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7545 progspace's filename in 'info', 'enable' and 'disable' command
7546 tests.
7547
b972bd9c
JK
75482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7549
7550 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7551 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7552 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7553
125f8a3d
GB
75542014-06-20 Gary Benson <gbenson@redhat.com>
7555
7556 * gdb.arch/i386-avx.exp: Fix include file location.
7557 * gdb.arch/i386-sse.exp: Likewise.
7558
3ed9baed
IB
75592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7560
7561 * gdb.dlang/expression.exp: New file.
7562
034f788c
PA
75632014-06-19 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7566 out from ...
7567 (top level): ... here. Iterate running tests under different
7568 scheduler-locking settings.
7569
45371d0c
LM
75702014-06-18 Luis Machado <lgustavo@codesourcery.com>
7571
7572 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7573 to DW_FORM_addr and use non-zero addresses.
7574
5d376983
SC
75752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7576
7577 PR gdb/17017
7578 * gdb.python/py-xmethods.cc: Add global function call counters and
7579 increment them in their respective functions. Remove "cout"
7580 statements.
7581 * gdb.python/py-xmethods.exp: Make tests check the global function
7582 call counters instead of depending on inferior IO.
7583
a1aa2221
LM
75842014-06-18 Don Breazeal <donb@codesourcery.com>
7585
7586 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7587 Deleted procedure.
7588 (explicit_fork_parent_follow): Deleted procedure.
7589 (explicit_fork_child_follow): Deleted procedure.
7590 (test_follow_fork): New procedure.
7591 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7592 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7593 procedure calls.
7594
0fc05997
YQ
75952014-06-17 Yao Qi <yao@codesourcery.com>
7596
7597 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7598 CP1252.
7599
70795c52
LM
76002014-06-17 Luis Machado <lgustavo@codesourcery.com>
7601
7602 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7603 Initialize ptr and S explicitly.
7604 (skip_type_update_when_not_use_rtti_test): Likewise.
7605
6be47f0c
KS
76062014-06-16 Keith Seitz <keiths@redhat.com>
7607
7608 PR mi/15863
7609 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7610 the inferior is started.
7611
d03de421
PA
76122014-06-16 Pedro Alves <palves@redhat.com>
7613
7614 * gdb.base/break-main-file-remove-fail.c: New file.
7615 * gdb.base/break-main-file-remove-fail.exp: New file.
7616 * gdb.base/break-unload-file.exp: Use build_executable instead of
7617 prepare_for_testing.
7618 (test_break): New parameter "initial_load". Handle it.
7619 (top level): Add initial_load cmdline/file axis.
7620
f9579b99
TT
76212014-06-12 Tom Tromey <tromey@redhat.com>
7622
7623 * gdb.base/completion.exp: Don't use directory name in test.
7624
3657956b
GB
76252014-06-09 Gary Benson <gbenson@redhat.com>
7626
7627 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7628 separate the always-available ANSI-standard signals from the
7629 signals that require checking.
7630 (main): Likewise.
7631 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7632 Likewise.
7633 (main): Likewise.
7634
4186eb54
KS
76352014-06-07 Keith Seitz <keiths@redhat.com>
7636
7637 Revert:
7638 PR c++/16253
7639 * gdb.cp/var-tag.cc: New file.
7640 * gdb.cp/var-tag.exp: New file.
7641 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7642 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7643 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7644 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7645
25326a28 76462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7647
7648 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7649
829155c9
PA
76502014-06-06 Pedro Alves <palves@redhat.com>
7651
7652 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7653 in target debug output instead of looking at RSP packets,
7654 disabling the test on any target that uses hardware stepping.
7655 Update comments.
7656
61c8d22e
PA
76572014-06-06 Pedro Alves <palves@redhat.com>
7658
7659 * gdb.base/break-unload-file.exp: Fix typo.
7660
d9a47287
YQ
76612014-06-06 Yao Qi <yao@codesourcery.com>
7662
7663 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7664 from "jit_function" to "^jit_function".
7665
e5e01dbf
YQ
76662014-06-06 Yao Qi <yao@codesourcery.com>
7667
7668 * gdb.base/async.c (foo): Add one statement.
7669 * gdb.base/async.exp: Get the next instruction address and
7670 match the output of "nexti" by instruction address. Match
7671 the hex address in the output of "finish".
7672
73ba372c
GB
76732014-06-06 Gary Benson <gbenson@redhat.com>
7674
7675 * gdb.base/call-signals.c: Remove preprocessor conditionals
7676 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7677 SIGSEGV and SIGTERM.
7678 * gdb.base/sigall.c: Likewise.
7679 * gdb.base/unwindonsignal.c: Likewise.
7680 * gdb.reverse/sigall-reverse.c: Likewise.
7681
831517df
YQ
76822014-06-06 Yao Qi <yao@codesourcery.com>
7683
7684 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7685 readable, skip the test.
7686
b8b91e98
YQ
76872014-06-06 Yao Qi <yao@codesourcery.com>
7688
7689 * gdb.threads/staticthreads.c (thread_function): Move the line
7690 setting breakpoint on forward.
7691 * gdb.threads/staticthreads.exp: Update comments.
7692
fb934770
LC
76932014-06-05 Ludovic Courtès <ludo@gnu.org>
7694
7695 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7696 "history-append! type error".
7697
6ef284bd
SM
76982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7699
7700 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7701 erroneous dprintf expected input.
7702
a872e241
DE
77032014-06-04 Doug Evans <xdje42@gmail.com>
7704
7705 * gdb.guile/scm-generics.exp: Delete.
7706
16f691fb
DE
77072014-06-04 Doug Evans <xdje42@gmail.com>
7708
7709 * gdb.guile/scm-breakpoint.exp: Update.
7710 Add tests for breakpoint registration.
7711
012370f6
TT
77122014-06-04 Tom Tromey <tromey@redhat.com>
7713
7714 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7715 VLA-in-union.
7716 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7717 inner_vla_struct, vla_union types. Initialize objects of those
7718 types and compute their sizes.
7719
9f5a4cef
HZ
77202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7721 Hui Zhu <hui@codesourcery.com>
7722
7723 * gdb.base/fileio.exp: Add test for shell not available as well as
7724 available.
7725 * gdb.base/fileio.c (test_system): Check for shell twice.
7726
90a45c4d
YQ
77272014-06-04 Yao Qi <yao@codesourcery.com>
7728
7729 * gdb.base/auto-connect-native-target.exp: Remove redundant
7730 space from the regexp pattern.
7731
70017e41
YQ
77322014-06-04 Yao Qi <yao@codesourcery.com>
7733
7734 * gdb.base/default.exp: Replace "child" with "native" in
7735 regexp pattern.
7736
883964a7
SC
77372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7738
7739 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7740 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7741 * gdb.python/py-xmethods.py: Python script supporting the
7742 new testcase and tests.
7743
ef370185
JB
77442014-06-03 Joel Brobecker <brobecker@adacore.com>
7745 Pedro Alves <palves@redhat.com>
7746
7747 PR breakpoints/17000
7748 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7749 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7750
1e2ccb61
BM
77512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7752
7753 * gdb.base/subst.exp: Add tests to verify partial path matching
7754 output.
7755
c6ec5ab2
PA
77562014-06-03 Pedro Alves <palves@redhat.com>
7757
7758 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7759 target that doesn't use software single-stepping.
7760
835c559f
PA
77612014-06-03 Pedro Alves <palves@redhat.com>
7762
7763 PR breakpoints/17000
7764 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7765 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7766
06eb1586
DE
77672014-06-02 Doug Evans <xdje42@gmail.com>
7768
7769 * gdb.guile/scm-parameter.exp: New file.
7770
e698b8c4
DE
77712014-06-02 Doug Evans <xdje42@gmail.com>
7772
7773 * gdb.guile/scm-cmd.c: New file.
7774 * gdb.guile/scm-cmd.exp: New file.
7775
ded03782
DE
77762014-06-02 Doug Evans <xdje42@gmail.com>
7777
7778 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7779 pretty-printer lookup.
7780 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7781 (make-pp_s-printer): Call it.
7782 (make-pretty-printer-from-dict): New function.
7783 (lookup-pretty-printer-maker-from-dict): New function.
7784 (*pretty-printer*): Simplify.
7785 (make-objfile-pp_s-printer): New function.
7786 (install-objfile-pretty-printers!): New function.
7787 (make-progspace-pp_s-printer): New function.
7788 (install-progspace-pretty-printers!): New function.
7789 * gdb.guile/scm-progspace.c: New file.
7790 * gdb.guile/scm-progspace.exp: New file.
7791
41fac0cf
PA
77922014-06-02 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/dprintf-bp-same-addr.c: New file.
7795 * gdb.base/dprintf-bp-same-addr.exp: New file.
7796
96ae5695
EBM
77972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7798
7799 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7800 * gdb.arch/powerpc-power.s: Likewise.
7801
da02b3a8
JB
78022014-06-02 Joel Brobecker <brobecker@adacore.com>
7803
7804 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7805
c72b2e7b
YQ
78062014-06-01 Yao Qi <yao@codesourcery.com>
7807
7808 * gdb.base/watchpoint.exp (test_watch_location): Check null
7809 pointer can be dereferenced. If not, do the test, otherwise
7810 skip it.
7811
53e8a631
AB
78122014-05-30 Andrew Burgess <aburgess@broadcom.com>
7813
7814 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7815 results.
7816 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7817
938f0e2f
AB
78182014-05-30 Andrew Burgess <aburgess@broadcom.com>
7819
7820 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7821 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7822 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7823 * gdb.arch/amd64-invalid-stack-top.c: New file.
7824 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7825
9ba6657a
PA
78262014-05-30 Pedro Alves <palves@redhat.com>
7827
7828 PR breakpoints/17000
7829 * gdb.base/sss-bp-on-user-bp.c: New file.
7830 * gdb.base/sss-bp-on-user-bp.exp: New file.
7831
522c09bf
DB
78322014-05-30 David Blaikie <dblaikie@gmail.com>
7833
7834 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7835 gnu_inline semantics via attribute.
7836 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7837 source explicitly specifies the required semantics.
7838
bf4ef81e
MR
78392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7840
7841 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7842
329ea579
PA
78432014-05-29 Pedro Alves <palves@redhat.com>
7844 Tom Tromey <tromey@redhat.com>
7845
7846 * gdb.base/async-shell.exp: Don't enable target-async.
7847 * gdb.base/async.exp
7848 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7849 parameter. Adjust.
7850 (top level): Don't test with "target-async".
7851 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7852 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7853 * gdb.base/inferior-died.exp: Don't enable target-async.
7854 * gdb.base/interrupt-noterm.exp: Likewise.
7855 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7856 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7857 * gdb.mi/mi-nonstop.exp: Likewise.
7858 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7859 * gdb.mi/mi-nsintrall.exp: Likewise.
7860 * gdb.mi/mi-nsmoribund.exp: Likewise.
7861 * gdb.mi/mi-nsthrexec.exp: Likewise.
7862 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7863 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7864 * gdb.python/py-evsignal.exp: Don't enable target-async.
7865 * gdb.python/py-evthreads.exp: Likewise.
7866 * gdb.python/py-prompt.exp: Likewise.
7867 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7868 * gdb.server/solib-list.exp: Don't enable target-async.
7869 * gdb.threads/thread-specific-bp.exp: Likewise.
7870 * lib/mi-support.exp: Adjust to use mi-async.
7871
fd664c91
PA
78722014-05-29 Pedro Alves <palves@redhat.com>
7873
7874 PR gdb/13860
7875 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7876 reason, even in sync mode.
7877
251bde03
PA
78782014-05-29 Pedro Alves <palves@redhat.com>
7879 Hui Zhu <hui@codesourcery.com>
7880
7881 PR PR15693
7882 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7883 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7884 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7885 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7886
7f3c0343
JB
78872014-05-28 Joel Brobecker <brobecker@adacore.com>
7888
7889 * config/monitor.exp (gdb_target_monitor): Replace use of
7890 "set remotebaud" by "set serial baud".
7891
b2715b27
AW
78922014-05-26 Andy Wingo <wingo@igalia.com>
7893
7894 * gdb.guile/scm-breakpoint.exp:
7895 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7896 properties instead of gdb-object-properties.
7897
498a4489
YQ
78982014-05-26 Yao Qi <yao@codesourcery.com>
7899
7900 * gdb.server/no-thread-db.exp: Specify source file name
7901 explicitly when setting a breakpoint.
7902
589fdceb
MM
79032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7904
7905 * gdb.btrace/vdso.c: New.
7906 * gdb.btrace/vdso.exp: New.
7907
e9089e05
MM
79082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7909
7910 * gdb.base/gcore.exp (capture_command_output): Move ...
7911 * lib/gdb.exp (capture_command_output): ... here.
7912
67b5c0c1
MM
79132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7914
7915 * gdb.btrace/data.exp: Test memory access during btrace replay.
7916
a2199296
SM
79172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7918
7919 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7920
17b2616c
PA
79212014-05-21 Pedro Alves <palves@redhat.com>
7922
7923 PR gdb/13860
7924 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7925 (top level): Test that output related to execution commands is
7926 sent to the console with CLI commands, but not with MI commands.
7927 Test that breakpoint events are always mirrored to the console.
7928 Also expect the new source line to be output after a "next" in
7929 async mode too. Make it a pass/fail test.
7930 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7931 output.
7932 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7933
5166082f
PA
79342014-05-21 Pedro Alves <palves@redhat.com>
7935
7936 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7937 Use them to test variations of "list" after reaching a breakpoint.
7938 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7939 Test "list" with listsize 10 after reaching a breakpoint.
7940 * gdb.python/python.exp (decode_line current location line
7941 number): Adjust expected line number.
7942
2f25d70f
SM
79432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7944
7945 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7946 behavior for $args, pass it directly to "run".
7947
ff604a67
MR
79482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7949
7950 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7951 30000 to 65536.
7952
6a3cb8e8
PA
79532014-05-21 Pedro Alves <palves@redhat.com>
7954
7955 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7956 auto-connect-native-target off".
7957 * gdb.base/auto-connect-native-target.c: New file.
7958 * gdb.base/auto-connect-native-target.exp: New file.
7959
4ebfc96e
PA
79602014-05-21 Pedro Alves <palves@redhat.com>
7961
7962 * gdb.base/default.exp: Test "target native" instead of "target
7963 child".
7964
36d46afb
MW
79652014-05-21 Mark Wielaard <mjw@redhat.com>
7966
7967 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7968
5876f503
JK
79692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 Fix TLS access for -static -pthread.
7972 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7973 <HAVE_TLS> (thread_function, main): Initialize it.
7974 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7975 Add clean_restart.
7976 <$have_tls != "">: Check TLSVAR.
7977
0256a6ac
PA
79782014-05-21 Pedro Alves <palves@redhat.com>
7979
7980 * gdb.base/dcache-line-read-error.c: New.
7981 * gdb.base/dcache-line-read-error.exp: New.
7982
936d2992
PA
79832014-05-20 Pedro Alves <palves@redhat.com>
7984
7985 * gdb.base/compare-sections.c: New file.
7986 * gdb.base/compare-sections.exp: New file.
7987
802e8e6d
PA
79882014-05-20 Pedro Alves <palves@redhat.com>
7989
7990 * gdb.base/break-idempotent.c: New file.
7991 * gdb.base/break-idempotent.exp: New file.
7992
e59fa00f
MM
79932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7994
7995 * gdb.btrace/nohist.exp: New.
7996
8b696e31
YQ
79972014-05-20 Yao Qi <yao@codesourcery.com>
7998
7999 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8000 gdb.reverse directory and gdb_reverse_timeout exists in board
8001 setting.
8002 * README: Document gdb_reverse_timeout.
8003
73c9764f
YQ
80042014-05-20 Yao Qi <yao@codesourcery.com>
8005
8006 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8007 'test_file_name'. Treat args as a string instead of a list.
8008 (gdb_init): Rename argument 'args' by 'test_file_name'.
8009
f1f4348a
JK
80102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8011
8012 * gdb.arch/powerpc-power.exp: New file.
8013 * gdb.arch/powerpc-power.s: New file.
8014
0dbe70ce
DE
80152014-05-16 Doug Evans <dje@google.com>
8016
8017 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
8018 * gdb.base/completion.exp: Check that all expected files exist
8019 before doing file completion.
0dbe70ce 8020
8d551b02
DE
80212014-05-16 Doug Evans <dje@google.com>
8022
8023 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8024 Update.
8025 (do_syscall_tests_without_xml): Update.
8026
73eb7709
PA
80272014-05-16 Pedro Alves <palves@redhat.com>
8028
8029 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8030 instead of "unknown output after running".
8031
3fae92fc
YQ
80322014-05-16 Yao Qi <yao@codesourcery.com>
8033
8034 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8035 file1.txt from host at the end.
8036 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8037
c2b2ccc5
DE
80382014-05-15 Doug Evans <dje@google.com>
8039
8040 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8041 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8042 loading file. Add test for TU lookup.
8043
8c217a4b
SM
80442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8045
8046 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8047 calling "-exec-arguments" or "set args" before running the
8048 inferior.
8049
3deb39c6
SM
80502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8051
8052 * lib/mi-support.exp (mi_expect_stop): Expect message for
8053 inferiors that exit with non-zero exit code.
8054
71a79f8c
YQ
80552014-05-14 Yao Qi <yao@codesourcery.com>
8056
8057 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8058 match absolute path on remote host.
8059 (test_file_list_exec_source_files): Remove "/" from the
8060 pattern.
8061
f23fcd46
YQ
80622014-05-14 Yao Qi <yao@codesourcery.com>
8063
8064 * boards/local-remote-host-notty.exp (${board}_file): New
8065 proc.
8066
9404b58f
KM
80672014-05-07 Kyle McMartin <kyle@redhat.com>
8068
8069 Pushed by Joel Brobecker <brobecker@adacore.com>.
8070 * gdb.arch/aarch64-atomic-inst.c: New file.
8071 * gdb.arch/aarch64-atomic-inst.exp: New file.
8072
5e45f04c
YQ
80732014-05-07 Yao Qi <yao@codesourcery.com>
8074
8075 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8076 in current context" too.
8077
c888a17d
KS
80782014-05-05 Keith Seitz <keiths@redhat.com>
8079
8080 * gdb.linespec/ls-dollar.exp: Add test for linespec
8081 file:convenience_variable.
8082
290a839c
YQ
80832014-05-05 Yao Qi <yao@codesourcery.com>
8084
8085 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8086 traceframes into tfile and ctf trace files. Read data from
8087 trace file and test collected data.
8088 (gdb_collect_locals_test): Likewise.
8089 (gdb_unavailable_registers_test): Likewise.
8090 (gdb_unavailable_floats): Likewise.
8091 (gdb_collect_globals_test): Likewise.
8092 (top-level): Append "ctf" to trace_file_targets if GDB
8093 supports.
8094
b5262cd0
YQ
80952014-05-05 Yao Qi <yao@codesourcery.com>
8096
8097 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8098 code to ...
8099 (gdb_collect_args_test_1): ... it. New proc.
8100 (gdb_collect_locals_test): Move some code to ...
8101 (gdb_collect_locals_test_1): ... it. New proc.
8102 (gdb_unavailable_registers_test): Move some code to ...
8103 (gdb_unavailable_registers_test_1): ... it. New proc.
8104 (gdb_unavailable_floats): Move some code to ...
8105 (gdb_unavailable_floats_1): ... it. New proc.
8106
30a1e6cc
SDJ
81072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8108
8109 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8110 probes to test for bitness recognition.
8111 * gdb.arch/amd64-stap-optional-prefix.exp
8112 (test_probe_value_without_reg): New procedure.
8113 Add code to test for different kinds of bitness.
8114
f33da99a
SDJ
81152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8116
8117 PR breakpoints/16889
8118 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8119 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8120
5b80f00d
PA
81212014-05-01 Pedro Alves <palves@redhat.com>
8122
8123 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8124 gdb_file_cmd if no file is specified.
8125 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8126 last_loaded_file to set the remote exec-file.
8127
f8c2a73c
PA
81282014-05-01 Pedro Alves <palves@redhat.com>
8129
8130 * boards/local-remote-host.exp: New file.
8131
be6e8ac7
PA
81322014-05-01 Pedro Alves <palves@redhat.com>
8133
8134 * boards/local-remote-host.exp: Rename to ...
8135 * boards/local-remote-host-notty.exp: ... this.
8136
cac0dc8f
JB
81372014-04-28 Joel Brobecker <brobecker@adacore.com>
8138
8139 * gdb.ada/dyn_arrayidx: New testcase.
8140
9730e6cc
YQ
81412014-04-26 Yao Qi <yao@codesourcery.com>
8142
8143 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8144 and compute the length of function main. Save it in
8145 $main_length.
8146 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8147 (top-level): Use gdb_compile to compile objects into
8148 executable and restart GDB. Remove invocation to
8149 prepare_for_testing.
8150
7ae1a6a6
PA
81512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8152 Pedro Alves <palves@redhat.com>
8153
8154 PR server/16255
8155 * gdb.multi/multi-attach.c: New file.
8156 * gdb.multi/multi-attach.exp: New file.
8157
4082afcc
PA
81582014-04-25 Pedro Alves <palves@redhat.com>
8159
8160 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8161 user.
8162 (top level): Test that "set remote conditional-breakpoints-packet
8163 off" works as intended.
8164 * gdb.base/dprintf.exp: Test that "set remote
8165 breakpoint-commands-packet off" works as intended.
8166 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8167 New function.
8168 (top level): Call it.
8169 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8170 remote fast-tracepoints-packet off" works as intended.
8171 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8172 * lib/gdb.exp (gdb_is_target_remote): ... here.
8173
2abc3f8d
DB
81742014-04-24 David Blaikie <dblaikie@gmail.com>
8175
8176 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8177 ensure clang would not discard them.
8178 * gdb.base/gdbvars.c: Ditto.
8179 * gdb.base/memattr.c: Ditto.
8180 * gdb.base/whatis.c: Ditto.
8181 * gdb.python/py-prettyprint.c: Ditto.
8182 * gdb.trace/actions.c: Ditto.
8183 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8184 ensure clang would not discard it.
8185
bfd39632
DB
81862014-04-24 David Blaikie <dblaikie@gmail.com>
8187
8188 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8189 clang to emit the full definition of type required by the test
8190 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8191
22842ff6
DB
81922014-04-24 David Blaikie <dblaikie@gmail.com>
8193
8194 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8195 coax Clang into emitting the definition of the type.
8196 * gdb.cp/pr10728-x.h (y): Ditto.
8197 * gdb.cp/pr10728-y.cc (y): Ditto.
8198
c2e827ad
DB
81992014-04-24 David Blaikie <dblaikie@gmail.com>
8200
8201 * gdb.base/label.exp: XFAIL label related tests under Clang.
8202 * gdb.cp/cplabel.exp: Ditto.
8203 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8204 under Clang those using labels.
8205
4c2d33e7
YQ
82062014-04-25 Yao Qi <yao@codesourcery.com>
8207
8208 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8209 double_label.
8210 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8211 partial_label and double_label.
8212
56083b99
DB
82132014-04-24 David Blaikie <dblaikie@gmail.com>
8214
8215 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8216
25d4e99d
DB
82172014-04-24 David Blaikie <dblaikie@gmail.com>
8218
8219 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8220 of the function to work across GCC and Clang.
8221 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8222 pointer types (const void ** const V void **).
8223
01f9f808
MS
82242014-04-24 Michael Sturm <michael.sturm@mintel.com>
8225 Walfred Tedeschi <walfred.tedeschi@intel.com>
8226
8227 * Makefile.in (EXECUTABLES): Added i386-avx512.
8228 * gdb.arch/i386-avx512.c: New file.
8229 * gdb.arch/i386-avx512.exp: Likewise.
8230
4b48d439
KS
82312014-04-23 Keith Seitz <keiths@redhat.com>
8232
8233 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8234 (mi_make_breakpoint_table): New procedure.
8235 (mi_create_breakpoint): Use mi_make_breakpoint
8236 and return the result.
8237 (mi_make_breakpoint): New procedure.
8238 (mi_build_kv_pairs): New procedure.
8239
8240 * gdb.mi/mi-break.exp: Remove unused globals,
8241 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8242 All callers updated.
8243 * gdb.mi/mi-dprintf.exp: Use variable to track command
8244 number.
8245 Update all callers of mi_create_breakpoint and use
8246 mi_make_breakpoint_table.
8247 Remove any unused global variables.
8248 * gdb.mi/mi-nonstop.exp: Likewise.
8249 * gdb.mi/mi-nsintrall.exp: Likewise.
8250 * gdb.mi/mi-nsmoribund.exp: Likewise.
8251 * gdb.mi/mi-nsthrexec.exp: Likewise.
8252 * gdb.mi/mi-reverse.exp: Likewise.
8253 * gdb.mi/mi-simplerun.exp: Likewise.
8254 * gdb.mi/mi-stepn.exp: Likewise.
8255 * gdb.mi/mi-syn-frame.exp: Likewise.
8256 * gdb.mi/mi-until.exp: Likewise.
8257 * gdb.mi/mi-var-cp.exp: Likewise.
8258 * gdb.mi/mi-var-display.exp: Likewise.
8259 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8260 * gdb.mi/mi2-var-child.exp: Likewise.
8261 * gdb.mi/mi-vla-c99.exp: Likewise.
8262 * lib/mi-support.exp: Likewise.
8263
8264 From Ian Lance Taylor <iant@cygnus.com>:
8265 * lib/gdb.exp (parse_args): New procedure.
8266
08351840
PA
82672014-04-23 Pedro Alves <palves@redhat.com>
8268
8269 * gdb.base/break-unload-file.c: New file.
8270 * gdb.base/break-unload-file.exp: New file.
8271 * gdb.base/sym-file-lib.c (baz): New function.
8272 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8273 field.
8274 (load): Store the segment's mapped size.
8275 (unload): New function.
8276 (unload_shlib): New function.
8277 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8278 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8279 set a breakpoint at baz, and call it.
8280 * gdb.base/sym-file.exp: New tests for stale breakpoint
8281 instructions.
8282
076855f9
PA
82832014-04-23 Pedro Alves <palves@redhat.com>
8284
8285 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8286 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8287 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8288 * gdb.base/hbreak-unmapped.c: New file.
8289 * gdb.base/hbreak-unmapped.exp: New file.
8290 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8291 * lib/gdb.exp (gdb_is_target_remote): ... here.
8292
483805cf
PA
82932014-04-22 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.base/consecutive-step-over.c: New file.
8296 * gdb.base/consecutive-step-over.exp: New file.
8297
06d97543
PA
82982014-04-22 Pedro Alves <palves@redhat.com>
8299
8300 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8301 instead of send_gdb/gdb_expect.
8302
b4429ea2
YQ
83032014-04-22 Yao Qi <yao@codesourcery.com>
8304
8305 * lib/trace-support.exp (generate_tracefile): New procedure.
8306 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8307 return 0.
8308 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8309 if generate_tracefile returns 1.
8310
51d48146
PA
83112014-04-18 Tom Tromey <palves@redhat.com>
8312 Pedro alves <tromey@redhat.com>
8313
8314 PR backtrace/15558
8315 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8316 with a backtrace limit.
8317 * gdb.python/py-frame-inline.exp: Test running to an inline
8318 function with a backtrace limit, and printing the newest frame.
8319 * gdb.python/py-frame-inline.c (main): Call f.
8320
bd1dce5f
MS
83212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8322
8323 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8324
40d1a503
MS
83252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8326
8327 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8328 Drop prefix from unsupported source file path.
8329
389b98f7
YQ
83302014-04-17 Yao Qi <yao@codesourcery.com>
8331
8332 * lib/gdb.exp (with_target_charset): New proc.
8333 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8334 with_target_charset.
8335 (test_print_strings): Likewise.
8336 (test_repeat_bytes): Likewise.
8337 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8338 for some tests.
8339
22869d73
KS
83402014-04-16 Keith Seitz <keiths@redhat.com>
8341
8342 PR gdb/15827
8343 * gdb.dwarf2/corrupt.c: New file.
8344 * gdb.dwarf2/corrupt.exp: New file.
8345
c4f87ca6
KS
83462014-04-16 Keith Seitz <keiths@redhat.com>
8347
8348 PR c++/16597
8349 * gdb.cp/namelessclass.cc: New file.
8350 * gdb.cp/namelessclass.exp: New file.
8351 * gdb.cp/namelessclass.S: New file.
8352
ab19de87
DE
83532014-04-16 Doug Evans <dje@google.com>
8354
8355 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8356 Add comment.
8357 (gdbserver_default_get_comm_port): New function.
8358 (gdbserver_start): Check if board file provided
8359 "gdbserver,get_comm_port" and use it if so.
8360 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8361 (gdb,socketport): Set to "stdio".
8362 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8363 (stdio_gdbserver_template): Delete.
8364 (${board}_get_remote_address): Update.
8365 (${board}_build_remote_cmd): Delete.
8366 (${board}_get_comm_port): New function.
8367 (${board}_spawn): Update.
8368 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8369 Delete.
8370 (${board}_get_remote_address): Update.
8371 (${board}_get_comm_port): New function.
8372
fc98a809
AB
83732014-04-16 Andrew Burgess <aburgess@broadcom.com>
8374
8375 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8376 appearing in any order.
8377
87fd9e6e
DE
83782014-04-15 Doug Evans <dje@google.com>
8379
8380 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8381 uninitialized value of "description".
8382
099fc3ea
KS
83832014-04-15 Keith Seitz <keiths@redhat.com>
8384
8385 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8386 Remove unused globals.
8387 (test_running_the_program): Likewise.
8388 (test_controlled_execution): Likewise.
8389 (test_controlling_breakpoints): Likewise.
8390 (test_program_termination): Likewise.
8391
5da151d4
KS
83922014-04-15 Keith Seitz <keiths@redhat.com>
8393
8394 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8395 unused globals.
8396 (test_rbreak_creation_and_listing): Likewise.
8397 (test_ignore_count): Likewise.
8398 (test_error): Likewise.
8399
35e5d2f0
PA
84002014-04-15 Pedro Alves <palves@redhat.com>
8401
8402 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8403 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8404 sym-file-loader.c.
8405 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8406 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8407 to sym-file-loader.c.
8408 (struct library): Forward declare.
8409 (load_shlib, lookup_function): Change prototypes.
8410 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8411 (translate_offset): Remove declarations.
8412 (get_text_addr): New declaration.
8413 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8414 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8415 sym-file-loader.h.
8416 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8417 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8418 here from sym-file-loader.h.
8419 (struct library): New structure.
8420 (load_shlib, lookup_function): Change prototypes and adjust to
8421 work with a struct library.
8422 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8423 (translate_offset): Make static.
8424 (get_text_addr): New function.
8425 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8426
eb4c1710
PA
84272014-04-15 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8430
2d1baf52
PA
84312014-04-15 Pedro Alves <palves@redhat.com>
8432
8433 * gdb.base/sym-file-loader.c: Include <limits.h>.
8434 (SELF_LINK): New define.
8435 (get_origin): New function.
8436 (load_shlib): Use it.
8437 * gdb.base/sym-file.exp: Don't early return if the target is
8438 remote. Use runto_main, and issue fail is that fails. Use
8439 gdb_load_shlibs.
8440 (shlib_name): Delete.
8441 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8442
7dd6df01
PA
84432014-04-15 Pedro Alves <palves@redhat.com>
8444
8445 * gdb.base/sym-file.exp: Remove regex characters from test
8446 message. Don't refer to breakpoint numbers in test messages.
8447
b50c8614
KS
84482014-04-14 Keith Seitz <keiths@redhat.com>
8449
8450 PR c++/16253
8451 * gdb.cp/var-tag.cc: New file.
8452 * gdb.cp/var-tag.exp: New file.
8453 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8454 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8455 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8456 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8457
3d567982
TT
84582014-04-14 Tom Tromey <tromey@redhat.com>
8459
8460 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8461 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8462 type.
8463 * gdb.cp/enum-class.exp: New file.
8464 * gdb.cp/enum-class.cc: New file.
8465
0626fc76
TT
84662014-04-14 Tom Tromey <tromey@redhat.com>
8467
8468 * gdb.dwarf2/enum-type.exp: New file.
8469
dca325b3
SA
84702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8471
8472 * gdb.mi/mi-vla-c99.exp: New file.
8473 * gdb.mi/vla.c: New file.
8474
5854b38a
SA
84752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8476
8477 * gdb.base/vla-datatypes.c: New file.
8478 * gdb.base/vla-datatypes.exp: New file.
8479
463bb957
SA
84802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8481
8482 * gdb.base/vla-ptr.c: New file.
8483 * gdb.base/vla-ptr.exp: New file.
8484
3dd170be
SA
84852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8486
8487 * gdb.dwarf2/count.exp: New file.
8488
5ecaaa66
SA
84892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8490
8491 * gdb.base/vla-sideeffect.c: New file.
8492 * gdb.base/vla-sideeffect.exp: New file.
8493
41f1ada5
DB
84942014-04-14 David Blaikie <dblaikie@gmail.com>
8495
8496 * gdb.mi/non-stop.c: Add return value for non-void function return
8497 statement.
8498 * gdb.threads/staticthreads.c: Ditto.
8499
0be03e84
DE
85002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8501 Doug Evans <xdje42@gmail.com>
8502
8503 * gdb.guile/scm-value.c: Improve test case.
8504 * gdb.guile/scm-value.exp: Add new test.
8505
f180a1fb
DB
85062014-04-11 David Blaikie <dblaikie@gmail.com>
8507
8508 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8509 override Clang's default.
8510
6b662e19
JB
85112014-04-11 Joel Brobecker <brobecker@adacore.com>
8512
8513 Revert the following changes (regressions):
8514
8515 * gdb.base/vla-sideeffect.c: New file.
8516 * gdb.base/vla-sideeffect.exp: New file.
8517
8518 * gdb.dwarf2/count.exp: New file.
8519
8520 * gdb.base/vla-multi.c: New file.
8521 * gdb.base/vla-multi.exp: New file.
8522
8523 * gdb.base/vla-ptr.c: New file.
8524 * gdb.base/vla-ptr.exp: New file.
8525
8526 * gdb.base/vla-datatypes.c: New file.
8527 * gdb.base/vla-datatypes.exp: New file.
8528
8529 * gdb.mi/mi-vla-c99.exp: New file.
8530 * gdb.mi/vla.c: New file.
8531
245a5f0b
KS
85322014-04-11 Keith Seitz <keiths@redhat.com>
8533
8534 PR c++/16675
8535 * gdb.cp/cpsizeof.exp: New file.
8536 * gdb.cp/cpsizeof.cc: New file.
8537
58a84dcf
SA
85382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8539
191a8a90
JB
8540 * gdb.mi/mi-vla-c99.exp: New file.
8541 * gdb.mi/vla.c: New file.
58a84dcf 8542
c8655f75
SA
85432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8544
8545 * gdb.base/vla-datatypes.c: New file.
8546 * gdb.base/vla-datatypes.exp: New file.
8547
024e13b4
SA
85482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8549
8550 * gdb.base/vla-ptr.c: New file.
8551 * gdb.base/vla-ptr.exp: New file.
8552
1a237e0e
SA
85532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8554
8555 * gdb.base/vla-multi.c: New file.
8556 * gdb.base/vla-multi.exp: New file.
8557
504f3432
SA
85582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8559
8560 * gdb.dwarf2/count.exp: New file.
8561
3bce8237
SA
85622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8563
191a8a90
JB
8564 * gdb.base/vla-sideeffect.c: New file.
8565 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8566
322f9c21
YQ
85672014-04-11 Yao Qi <yao@codesourcery.com>
8568
8569 * gdb.base/completion.exp: Check file exists before running tests
8570 on file completion.
8571
d708bcd1
PA
85722014-04-10 Pedro Alves <palves@redhat.com>
8573
8574 * gdb.base/cond-eval-mode.c: New file.
8575 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8576 prepare_for_testing to build the new file. Check result of
8577 runto_main.
8578 (test_break, test_watch): New procedures.
8579 (top level): Use them.
8580
ae1d2761
PM
85812014-04-08 Pierre Muller <muller@sourceware.org>
8582
8583 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8584 Ctrl-V use for mingw hosts.
8585
7af389b8
SC
85862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8587
8588 * gdb.python/py-value.c: Improve test case.
8589 * gdb.python/py-value.exp: Add new test.
8590
5e703181
DE
85912014-04-07 David Blaikie <dblaikie@gmail.com>
8592
8593 * lib/compiler.c: Identify the clang compiler.
8594 * lib/compiler.cc: Ditto.
8595
9810b410
YQ
85962014-04-03 Yao Qi <yao@codesourcery.com>
8597
8598 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8599
98d1b8dc
AB
86002014-04-01 Anton Blanchard <anton@samba.org>
8601
8602 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8603 messages unique.
8604
3114cea1
AB
86052014-04-01 Anton Blanchard <anton@samba.org>
8606
8607 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8608 prepare_for_testing.
8609
62f7182c
AB
86102014-04-01 Anton Blanchard <anton@samba.org>
8611
8612 * gdb.arch/ppc64-atomic-inst.c: Remove.
8613 * gdb.arch/ppc64-atomic-inst.S: New file.
8614 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8615
770e7fc7
DE
86162014-03-31 Doug Evans <dje@google.com>
8617
8618 * gdb.base/print-symbol-loading-lib.c: New file.
8619 * gdb.base/print-symbol-loading-main.c: New file.
8620 * gdb.base/print-symbol-loading.exp: New file.
8621
46e2bafa
YQ
86222014-03-31 Yao Qi <yao@codesourcery.com>
8623
8624 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8625
8776cfe9
JB
86262014-03-28 Joel Brobecker <brobecker@adacore.com>
8627
8628 * gdb.ada/mi_dyn_arr: New testcase.
8629
5d1ef361
DE
86302014-03-27 Doug Evans <dje@google.com>
8631
8632 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8633
b5bee914
YQ
86342014-03-27 Yao Qi <yao@codesourcery.com>
8635
8636 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8637 if target is nios2-*-*.
8638
0d4d0e77
YQ
86392014-03-26 Yao Qi <yao@codesourcery.com>
8640
8641 * lib/gdb.exp (readline_is_used): New proc.
8642 * gdb.base/completion.exp: Move tests on command complete up.
8643 Skip the rest of tests if readline is not used.
8644 * gdb.ada/complete.exp: Skp the test if readline is not
8645 used.
8646 * gdb.base/filesym.exp: Likewise.
8647 * gdb.base/macscp.exp: Likewise.
8648 * gdb.base/readline-ask.exp: Likewise.
8649 * gdb.base/readline.exp: Likewise.
8650 * gdb.python/py-cmd.exp: Likewise.
8651 * gdb.trace/tfile.exp: Likewise.
8652
29361eee
YQ
86532014-03-26 Yao Qi <yao@codesourcery.com>
8654
8655 * gdb.base/macscp.exp: Fix code format issues.
8656
bc9a5525
UW
86572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8658
8659 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8660 * gdb.asm/powerpc64le.inc: New file.
8661
d3839ede
PA
86622014-03-25 Pedro Alves <palves@redhat.com>
8663 Doug Evans <dje@google.com>
8664
8665 * gdb.base/source-execution.c: New file.
8666 * gdb.base/source-execution.exp: New file.
8667 * gdb.base/source-execution.gdb: New file.
8668
01672a57
DE
86692014-03-24 Doug Evans <dje@google.com>
8670
8671 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8672 using fission.
8673
88bbeca9
HZ
86742014-03-24 Hui Zhu <hui@codesourcery.com>
8675 Pedro Alves <palves@redhat.com>
8676
8677 PR breakpoints/16101
8678 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8679 test pass/fail messages. Detect missing support for dprintf when
8680 breakpoints are actually inserted.
8681 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8682 breakpoints are actually inserted.
8683 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8684 fails.
8685
d2348791
JK
86862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8687
8688 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8689
feef67ab
DE
86902014-03-22 Doug Evans <xdje42@gmail.com>
8691
8692 * gdb.python/python.exp (python not supported): Verify multi-line
8693 python command issues an error.
25d743f9 8694 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8695 guile command issues an error.
feef67ab 8696
ecebef6a
MR
86972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8698
8699 * gdb.threads/thread-specific.exp: Handle the lack of usable
8700 $this_breakpoint and $this_thread.
8701
ccdd1909
HZ
87022014-03-21 Hui Zhu <hui@codesourcery.com>
8703
8704 * gdb.base/attach.exp (do_command_attach_tests): New.
8705
beb460e8
PA
87062014-03-20 Tom Tromey <tromey@redhat.com>
8707 Pedro Alves <palves@redhat.com>
8708
8709 PR cli/15718
8710 * gdb.base/condbreak-call-false.c: New file.
8711 * gdb.base/condbreak-call-false.exp: New file.
8712
40acf43a
PA
87132014-03-20 Pedro Alves <palves@redhat.com>
8714
8715 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8716 Delete.
8717 (block_signals, unblock_signals): Delete.
8718 (child_function_2, main): Remove references to deleted variable
8719 and functions.
8720
9f5e1e02
PA
87212014-03-20 Pedro Alves <palves@redhat.com>
8722
8723 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8724 Use pthread_kill to signal thread 2.
8725 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8726 Adjust to make the test send itself a signal rather than using the
8727 host's "kill" command.
8728
99619bea
PA
87292014-03-20 Pedro Alves <palves@redhat.com>
8730
8731 * gdb.threads/multiple-step-overs.c: New file.
8732 * gdb.threads/multiple-step-overs.exp: New file.
8733 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8734 Adjust expected infrun debug output.
8735
2adfaa28
PA
87362014-03-20 Pedro Alves <palves@redhat.com>
8737
8738 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8739 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8740
31e77af2
PA
87412014-03-20 Pedro Alves <palves@redhat.com>
8742
8743 PR breakpoints/7143
8744 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8745 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8746 of gdb_test_multiple.
8747 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8748 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8749
b9f437de
PA
87502014-03-20 Pedro Alves <palves@redhat.com>
8751
8752 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8753 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8754
05adc73e
PA
87552014-03-19 Pedro Alves <palves@redhat.com>
8756
8757 * gdb.base/async.exp: Remove early return.
8758
6048b950
PA
87592014-03-19 Pedro Alves <palves@redhat.com>
8760
8761 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8762
8bcfb00a
PA
87632014-03-19 Pedro Alves <palves@redhat.com>
8764
8765 * gdb.base/async.exp (test_background): Expect \r\n after
8766 "completed." in the fail pattern.
8767
884e37dc
PA
87682014-03-19 Pedro Alves <palves@redhat.com>
8769
8770 * gdb.base/async.exp (test_background): New procedure.
8771 Use it for all background execution command tests.
8772
148e57e2
PA
87732014-03-19 Pedro Alves <palves@redhat.com>
8774
8775 * gdb.base/async.exp: Use prepare_for_testing.
8776
f48088c7
PA
87772014-03-19 Pedro Alves <palves@redhat.com>
8778
8779 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8780 the same line.
8781
e2f6c966
PA
87822014-03-19 Pedro Alves <palves@redhat.com>
8783
8784 * gdb.base/async.c (main): Add "jump here" and "until here" line
8785 marker comments.
8786 * gdb.base/async.exp (jump_here): New global.
8787 (jump& test): Use it.
8788 (until_here): New global.
8789 (until& test): Use it.
8790
c30568d4
PA
87912014-03-19 Pedro Alves <palves@redhat.com>
8792
8793 * gdb.base/async.exp: Don't frob gdb_protocol.
8794
0172b6a7
DE
87952014-03-18 Doug Evans <xdje42@gmail.com>
8796
8797 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8798 Fix spelling of exec-done-display.
8799
06c868a8
JK
88002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8801
8802 PR gdb/15358
8803 * gdb.base/gdb-sigterm.c: New file.
8804 * gdb.base/gdb-sigterm.exp: New file.
8805
0c7e1a46
PA
88062014-03-18 Pedro Alves <palves@redhat.com>
8807
8808 PR gdb/13860
8809 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8810 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8811 solib-event.
8812
f7c77d93
JB
88132014-03-17 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.ada/pckd_arr_ren: New testcase.
8816
5a1e8c7a
DE
88172014-03-13 Doug Evans <xdje42@gmail.com>
8818
8819 PR guile/16612
8820 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8821 collect after discarding symbols.
8822
350e1a76
DE
88232014-03-13 Ludovic Courtès <ludo@gnu.org>
8824 Doug Evans <xdje42@gmail.com>
8825
8826 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8827 to history survives a gc.
8828
a69900ae
PA
88292014-03-13 Pedro Alves <palves@redhat.com>
8830
8831 * gdb.base/default.exp: Don't test "target procfs".
8832
5db9f0bd
PA
88332014-03-13 Pedro Alves <palves@redhat.com>
8834
8835 * gdb.base/default.exp: Update "target child" and "target procfs"
8836 tests to not expect "Unix".
8837
b3ccfe11
TT
88382014-03-12 Tom Tromey <tromey@redhat.com>
8839
8840 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8841 New procs. Add target-async tests.
8842 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8843 Add target-async tests.
8844
646f4417
AA
88452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8846
8847 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8848 'func_start' and 'func_end' for the beginning and end of the
8849 function code, respectively.
8850 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8851 'func_end' instead of 'func' and 'main'.
8852
288c211f
AA
88532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8854
8855 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8856 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8857 generate the debug info assembler source.
8858
e0c0f156
AA
88592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8860
8861 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8862 * gdb.dwarf2/arr-subrange.exp: Likewise.
8863 * gdb.dwarf2/dwz.exp: Likewise.
8864 * gdb.dwarf2/method-ptr.exp: Likewise.
8865 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8866 * gdb.dwarf2/subrange.exp: Likewise.
8867 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8868 * gdb.dwarf2/implptrpiece.exp: Likewise.
8869 * gdb.dwarf2/nostaticblock.exp: Likewise.
8870
0e5c4555
AA
88712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8872
8873 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8874 directory to absolute path name arguments.
8875
5ec18f2b
JG
88762014-03-10 Joel Brobecker <brobecker@adacore.com>
8877
8878 * gdb.ada/tagged_access: New testcase.
8879
847fc4f2
MM
88802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8881
8882 * gdb.btrace/data.exp: Update expected output.
8883
cc3da688
YQ
88842014-03-06 Yao Qi <yao@codesourcery.com>
8885
8886 * gdb.trace/pr16508.exp: New file.
8887
0f26cec1
PA
88882014-03-05 Pedro Alves <palves@redhat.com>
8889
8890 PR gdb/16575
8891 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8892 procedure.
8893 (top level): Adjust to use it. Add tests that exercise breakpoint
8894 interaction with the code-cache.
8895
7a5a839f
LC
88962014-02-26 Ludovic Courtès <ludo@gnu.org>
8897
8898 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8899 test for 'history-append!'.
8900
31aa7e4e
JB
89012014-02-26 Joel Brobecker <brobecker@adacore.com>
8902
8903 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8904 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8905 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8906 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8907 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8908 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8909
1b588015
JB
89102014-02-26 Joel Brobecker <brobecker@adacore.com>
8911
8912 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8913 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8914 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8915
55426c9d
JB
89162014-02-26 Joel Brobecker <brobecker@adacore.com>
8917
8918 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8919
dc53a7ad
JB
89202014-02-26 Joel Brobecker <brobecker@adacore.com>
8921
8922 * gdb.dwarf2/arr-stride.c: New file.
8923 * gdb.dwarf2/arr-stride.exp: New file.
8924
12ab52e9
PA
89252014-02-26 Pedro Alves <palves@redhat.com>
8926
8927 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8928 that won't ever trigger. Make sure that GDB reports the correct
8929 breakpoint that caused the stop.
8930
849c862e
JK
89312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8932
8933 PR gdb/16626
8934 * gdb.base/auto-load-script: New file.
8935 * gdb.base/auto-load.c: New file.
8936 * gdb.base/auto-load.exp: New file.
8937
71b7d793
JK
8938 PR gdb/16626
8939 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8940
e2f0d509
JK
89412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8942
8943 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8944 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8945
50cc37c8
DE
89462014-02-24 Doug Evans <dje@google.com>
8947
8948 * lib/gdb.exp (run_on_host): Log error output if program fails.
8949
ea4758f2
PA
89502014-02-21 Pedro Alves <palves@redhat.com>
8951
8952 * gdb.threads/step-after-sr-lock.c: Rename to ...
8953 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8954 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8955 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8956 ... this.
8957
d7b30f67
SDJ
89582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8959
8960 PR tdep/16397
8961 * gdb.arch/amd64-stap-special-operands.exp: New file.
8962 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8963 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8964 * gdb.arch/amd64-stap-triplet.S: Likewise.
8965 * gdb.arch/amd64-stap-triplet.c: Likewise.
8966
83deb43f
JB
89672014-02-20 Joel Brobecker <brobecker@adacore.com>
8968
8969 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8970 in .section pseudo-op.
8971
adde2bff
DE
89722014-02-20 lin zuojian <manjian2006@gmail.com>
8973 Joel Brobecker <brobecker@adacore.com>
8974 Doug Evans <xdje42@gmail.com>
8975
8976 PR symtab/16581
8977 * gdb.dwarf2/dw2-icycle.S: New file.
8978 * gdb.dwarf2/dw2-icycle.c: New file.
8979 * gdb.dwarf2/dw2-icycle.exp: New file.
8980
f7bd0f78
SC
89812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8982
8983 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8984 operations on gdb.Value objects.
8985 * gdb.python/py-value-cc.exp: Add new test to test operations on
8986 gdb.Value objects.
8987
c17ef0d5
DE
89882014-02-18 Doug Evans <dje@google.com>
8989
8990 * Makefile.in (TESTS): New variable.
8991 (expanded_tests, expanded_tests_or_none): New variables
8992 (check-single): Pass $(expanded_tests_or_none) to runtest.
8993 (check-parallel): Only run tests in $(TESTS) if non-empty.
8994 (check/no-matching-tests-found): New rule.
8995 * README: Document TESTS makefile variable.
8996
5dd3176f
DE
89972014-02-18 Doug Evans <dje@google.com>
8998
8999 * Makefile.in (check-parallel): rm -rf outputs temp.
9000
0b10be4f
JK
90012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9002
9003 Fix "ERROR: no fileid for" in the testsuite.
9004 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9005
85f224e7
DE
90062014-02-12 Doug Evans <dje@google.com>
9007
9008 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9009 (MISCELLANEOUS): New variable.
9010 (clean): rm -rf $(MISCELLANEOUS).
9011 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9012 dwp live in the same directory as symlinks, with each symlink pointed
9013 to a differently named file in a different directory.
9014
149b30ff
DE
90152014-02-11 Doug Evans <dje@google.com>
9016
9017 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9018 of Tcl file commands.
9019
1dfdac32
MK
90202014-02-10 Mark Kettenis <kettenis@gnu.org>
9021
9022 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9023 "kill -SIGUSR1 -1".
9024
aa4fb036
JB
90252014-02-10 Joel Brobecker <brobecker@adacore.com>
9026
9027 * gdb.ada/tick_length_array_enum_idx: New testcase.
9028
ed3ef339
DE
90292014-02-10 Doug Evans <xdje42@gmail.com>
9030
9031 * configure.ac (AC_OUTPUT): Add gdb.guile.
9032 * configure: Regenerate.
9033 * lib/gdb-guile.exp: New file.
9034 * lib/gdb.exp (get_target_charset): New function.
9035 * gdb.base/help.exp: Update expected output from "apropos apropos".
9036 * gdb.guile/Makefile.in: New file.
9037 * gdb.guile/guile.exp: New file.
9038 * gdb.guile/scm-arch.c: New file.
9039 * gdb.guile/scm-arch.exp: New file.
9040 * gdb.guile/scm-block.c: New file.
9041 * gdb.guile/scm-block.exp: New file.
9042 * gdb.guile/scm-breakpoint.c: New file.
9043 * gdb.guile/scm-breakpoint.exp: New file.
9044 * gdb.guile/scm-disasm.c: New file.
9045 * gdb.guile/scm-disasm.exp: New file.
9046 * gdb.guile/scm-equal.c: New file.
9047 * gdb.guile/scm-equal.exp: New file.
9048 * gdb.guile/scm-error.exp: New file.
9049 * gdb.guile/scm-error.scm: New file.
9050 * gdb.guile/scm-frame-args.c: New file.
9051 * gdb.guile/scm-frame-args.exp: New file.
9052 * gdb.guile/scm-frame-args.scm: New file.
9053 * gdb.guile/scm-frame-inline.c: New file.
9054 * gdb.guile/scm-frame-inline.exp: New file.
9055 * gdb.guile/scm-frame.c: New file.
9056 * gdb.guile/scm-frame.exp: New file.
9057 * gdb.guile/scm-generics.exp: New file.
9058 * gdb.guile/scm-gsmob.exp: New file.
9059 * gdb.guile/scm-iterator.c: New file.
9060 * gdb.guile/scm-iterator.exp: New file.
9061 * gdb.guile/scm-math.c: New file.
9062 * gdb.guile/scm-math.exp: New file.
9063 * gdb.guile/scm-objfile-script-gdb.in: New file.
9064 * gdb.guile/scm-objfile-script.c: New file.
9065 * gdb.guile/scm-objfile-script.exp: New file.
9066 * gdb.guile/scm-objfile.c: New file.
9067 * gdb.guile/scm-objfile.exp: New file.
9068 * gdb.guile/scm-ports.exp: New file.
9069 * gdb.guile/scm-pretty-print.c: New file.
9070 * gdb.guile/scm-pretty-print.exp: New file.
9071 * gdb.guile/scm-pretty-print.scm: New file.
9072 * gdb.guile/scm-section-script.c: New file.
9073 * gdb.guile/scm-section-script.exp: New file.
9074 * gdb.guile/scm-section-script.scm: New file.
9075 * gdb.guile/scm-symbol.c: New file.
9076 * gdb.guile/scm-symbol.exp: New file.
9077 * gdb.guile/scm-symtab-2.c: New file.
9078 * gdb.guile/scm-symtab.c: New file.
9079 * gdb.guile/scm-symtab.exp: New file.
9080 * gdb.guile/scm-type.c: New file.
9081 * gdb.guile/scm-type.exp: New file.
9082 * gdb.guile/scm-value-cc.cc: New file.
9083 * gdb.guile/scm-value-cc.exp: New file.
9084 * gdb.guile/scm-value.c: New file.
9085 * gdb.guile/scm-value.exp: New file.
9086 * gdb.guile/source2.scm: New file.
9087 * gdb.guile/types-module.cc: New file.
9088 * gdb.guile/types-module.exp: New file.
9089
7026a7c1
YQ
90902014-02-10 Yao Qi <yao@codesourcery.com>
9091
9092 PR testsuite/16543
9093 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9094 * configure: Regenerated.
9095 * Makefile.in: New file.
9096
6c466447
AS
90972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9098
9099 * gdb.python/py-framefilter.exp: Fix typo.
9100
6e854735
YQ
91012014-02-08 Yao Qi <yao@codesourcery.com>
9102
9103 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9104 that no =breakpoint-modified is emitted when breakpoints are
9105 modified through MI commands.
9106
d137e6dc
PA
91072014-02-07 Pedro Alves <pedro@codesourcery.com>
9108 Pedro Alves <palves@redhat.com>
9109
9110 * gdb.threads/step-after-sr-lock.c: New file.
9111 * gdb.threads/step-after-sr-lock.exp: New file.
9112
b5ee5a50
PA
91132014-02-07 Pedro Alves <palves@redhat.com>
9114
9115 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9116
3c77faf3
JK
91172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9118
9119 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9120 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9121
6dddc817
DE
91222014-02-06 Doug Evans <xdje42@gmail.com>
9123
9124 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9125 output.
9126
9127 * gdb.gdb/python-interrupts.exp: New file.
9128
de7b2893
YQ
91292014-02-05 Yao Qi <yao@codesourcery.com>
9130
9131 * gdb.trace/report.exp (use_collected_data): Test the output
9132 of "info threads" and "info inferiors".
9133
66d032ac
YQ
91342014-02-05 Yao Qi <yao@codesourcery.com>
9135
9136 Revert this patch:
9137
9138 2013-05-24 Yao Qi <yao@codesourcery.com>
9139
9140 * gdb.trace/tfile.exp: Test inferior and thread.
9141
591a12a1
UW
91422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9143
9144 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9145 on a function.
9146 * gdb.base/step-bt.c: Call hello via function pointer to make
9147 sure its first instruction is executed on powerpc64le-linux.
9148
0ff3e01f
UW
91492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9150
9151 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9152
084ee545
UW
91532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9154
9155 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9156 of the test patterns for use on little-endian systems.
9157
6ed14ff3
UW
91582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9159
9160 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9161 (decimal_vector): Fix for little-endian.
9162
401e27fd
JM
91632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9164
9165 * gdb.arch/sparc-sysstep.exp: New file.
9166 * gdb.arch/sparc-sysstep.c: Likewise.
9167
9168 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9169
8b924729
EBM
91702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9171
9172 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9173
fb151210
JB
91742014-01-23 Tom Tromey <tromey@redhat.com>
9175
9176 * gdb.ada/array_char_idx: New testcase.
9177
0740f8d8
TT
91782014-01-23 Tom Tromey <tromey@redhat.com>
9179
9180 PR python/16487:
9181 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9182 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9183 classes.
9184
21909fa1
TT
91852014-01-23 Tom Tromey <tromey@redhat.com>
9186
9187 PR python/16491:
9188 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9189 string from an inferior frame.
9190 * gdb.python/py-framefilter-mi.exp: Update.
9191
87ce2a04
DE
91922014-01-22 Doug Evans <dje@google.com>
9193
9194 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9195
237b092b
AA
91962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9197
9198 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9199
d674a709
AA
92002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9201
9202 * gdb.trace/entry-values.exp: Remove excess space character from
9203 regex patterns. Handle s390 call instruction.
9204
20fa3390
AA
92052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9206
9207 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9208 define "*_start" label. Make "name" static.
9209 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9210 ${name} by references to ${name}_start.
9211
78466714
AA
92122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9213
9214 * gdb.base/info-macros.exp: Remove "debug" from the compile
9215 options.
9216
ec9f644a
IB
92172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9218
9219 * gdb.dlang/demangle.exp: New file.
9220
94b1b47e
IB
92212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9222
9223 * gdb.dlang/primitive-types.exp: New file.
9224
7f420862
IB
92252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9226
9227 * configure.ac: Create gdb.dlang/Makefile.
9228 * configure: Regenerate.
9229 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9230 * gdb.dlang/Makefile.in: New file.
9231 * lib/d-support.exp: New file.
9232 * lib/gdb.exp (skip_d_tests): New proc.
9233
52834460
MM
92342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9235
9236 * gdb.btrace/delta.exp: Check reverse stepi.
9237 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9238 * gdb.btrace/finish.exp: New.
9239 * gdb.btrace/next.exp: New.
9240 * gdb.btrace/nexti.exp: New.
9241 * gdb.btrace/record_goto.c: Add comments.
9242 * gdb.btrace/step.exp: New.
9243 * gdb.btrace/stepi.exp: New.
9244 * gdb.btrace/multi-thread-step.c: New.
9245 * gdb.btrace/multi-thread-step.exp: New.
9246 * gdb.btrace/rn-dl-bind.c: New.
9247 * gdb.btrace/rn-dl-bind.exp: New.
9248 * gdb.btrace/data.c: New.
9249 * gdb.btrace/data.exp: New.
9250 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9251
6e07b1d2
MM
92522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9253
9254 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9255 * gdb.btrace/exception.exp: Update.
9256 * gdb.btrace/instruction_history.exp: Update.
9257 * gdb.btrace/record_goto.exp: Update.
9258 * gdb.btrace/tailcall.exp: Update.
9259 * gdb.btrace/unknown_functions.exp: Update.
9260 * gdb.btrace/delta.exp: New.
9261
0b722aec
MM
92622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9263
9264 * gdb.btrace/record_goto.exp: Add backtrace test.
9265 * gdb.btrace/tailcall.exp: Add backtrace test.
9266
066ce621
MM
92672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9268
9269 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9270 * gdb.btrace/record_goto.c: New.
9271 * gdb.btrace/record_goto.exp: New.
9272 * gdb.btrace/x86-record_goto.S: New.
9273
0688d04e
MM
92742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9275
9276 * gdb.btrace/function_call_history.exp: Update tests.
9277 * gdb.btrace/instruction_history.exp: Update tests.
9278
8710b709
MM
92792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9280
9281 * gdb.btrace/function_call_history.exp: Fix expected field
9282 order for "record function-call-history".
9283 Add new tests for "record function-call-history /c".
9284 * gdb.btrace/exception.cc: New.
9285 * gdb.btrace/exception.exp: New.
9286 * gdb.btrace/tailcall.exp: New.
9287 * gdb.btrace/x86-tailcall.S: New.
9288 * gdb.btrace/x86-tailcall.c: New.
9289 * gdb.btrace/unknown_functions.c: New.
9290 * gdb.btrace/unknown_functions.exp: New.
9291 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9292
5de9129b
MM
92932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9294
9295 * gdb.btrace/instruction_history.exp: Update.
9296 * gdb.btrace/function_call_history.exp: Update.
9297
23a7fe75
MM
92982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9299
9300 * gdb.btrace/function_call_history.exp: Fix expected function
9301 trace.
9302 * gdb.btrace/instruction_history.exp: Initialize traced.
9303 Remove traced_functions.
9304
724c7dd8
MM
93052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9306
9307 * gdb.btrace/function_call_history.exp: Update
9308 * gdb.btrace/instruction_history.exp: Update.
9309
6d78d93b
MM
93102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9311
9312 * gdb.btrace/enable.exp: Update expected text.
9313
93a360cc
OJ
93142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9315
9316 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9317 bytes.
9318
3772b53f
MR
93192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9320
9321 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9322
596662fa
OJ
93232014-01-15 Omair Javaid <omair.javaid@linaro.org>
9324
9325 * lib/gdb.exp (supports_process_record): Return true for
9326 arm*-linux*. (supports_reverse): Likewise.
9327
b5b08fb4
SC
93282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9329
9330 PR python/15464
9331 PR python/16113
9332 * gdb.python/py-type.c: Enhance test case.
9333 * gdb.python/py-value-cc.cc: Likewise
9334 * gdb.python/py-type.exp: Add new tests.
9335 * gdb.python/py-value-cc.exp: Likewise
9336
52d7fb13
AA
93372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9338 Pedro Alves <palves@redhat.com>
9339
9340 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9341 Make "name" extern.
9342 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9343 references to ${name}_start by references to ${name}.
9344
a2cd8cfe
JB
93452014-01-10 Joel Brobecker <brobecker@adacore.com>
9346
9347 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9348
4e23fced
JB
93492014-01-10 Joel Brobecker <brobecker@adacore.com>
9350
9351 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9352
c6a9e42c
PA
93532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9354 Pedro Alves <palves@redhat.com>
9355
9356 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9357 mi_gdb_target_load.
c6a9e42c 9358
b7ea362b
PA
93592014-01-08 Pedro Alves <palves@redhat.com>
9360
9361 * gdb.threads/reconnect-signal.c: New file.
9362 * gdb.threads/reconnect-signal.exp: New file.
9363
5e3f4fab
EBM
93642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9365
9366 * gdb.base/source-dir.exp: New file.
9367
79301218
JB
93682014-01-07 Joel Brobecker <brobecker@adacore.com>
9369
9370 * gdb.ada/mi_interface: New testcase.
9371
8e355c5d
JB
93722014-01-07 Joel Brobecker <brobecker@adacore.com>
9373
9374 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9375 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9376 gdb.ada/pp-rec-component/pck.ads: New files.
9377
c0d48811
JB
93782014-01-07 Joel Brobecker <brobecker@adacore.com>
9379
9380 * gdb.python/py-pp-integral.c: New file.
9381 * gdb.python/py-pp-integral.py: New file.
9382 * gdb.python/py-pp-integral.exp: New file.
9383
17b609c3 9384For older changes see ChangeLog-1993-2013.
c906108c 9385\f
8d8cb839
EZ
9386;; Local Variables:
9387;; mode: change-log
9388;; left-margin: 8
9389;; fill-column: 74
9390;; version-control: never
9391;; End:
902f2ccb 9392
618f726f 9393 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9394 Copying and distribution of this file, with or without modification,
9395 are permitted provided the copyright notice and this notice are preserved.
This page took 2.698995 seconds and 4 git commands to generate.