]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix the linker so that it will not silently generate ELF binaries with invalid progra...
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3b165252
SM
12016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5 make.
6 * configure.ac: Remove checks for the make program.
7 * configure: Re-generate.
8
1a2f3d7f
KB
92016-11-16 Kevin Buettner <kevinb@redhat.com>
10
11 * gdb.python/py-recurse-unwind.c (main): Add loop.
12 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13 to read_register() and gdb.parse_and_eval(). Make each code
14 call a separate case that can be individually tested.
15 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
16 proc. Call cont_and_backtrace for each of the code paths that
17 we want to test in the unwinder.
18
b7f38fda
AA
192016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
20
21 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
22 the definition of struct S.
23
1f8db343
CM
242016-11-11 Catherine Moore <clm@codesourcery.com>
25
26 * gdb.base/dump.exp: Identify verilog format dump tests as such.
27
fad0c9fb
PA
282016-11-09 Pedro Alves <palves@redhat.com>
29
30 * gdb.base/commands.exp (runto_or_return): New procedure.
31 (gdbvar_simple_if_test, gdbvar_simple_while_test)
32 (gdbvar_complex_if_while_test, progvar_simple_if_test)
33 (progvar_simple_while_test, progvar_complex_if_while_test)
34 (if_while_breakpoint_command_test)
35 (infrun_breakpoint_command_test, breakpoint_command_test)
36 (user_defined_command_test, watchpoint_command_test)
37 (test_command_prompt_position, redefine_hook_test)
38 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
39 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
40 multi_line_input and multi_line. Remove gdb_expect and
41 gdb_stop_suppressing_tests uses.
42 * lib/gdb.exp (valnum_re): New global.
43 (multi_line_input): New procedure.
44
8354c62c
SM
452016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
46
47 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
48 Remove.
49 (test_setup): Define with proc_with_prefix.
50 (test_cli_inferior): Likewise.
51 (test_cli_thread): Likewise.
52 (test_cli_frame): Likewise.
53 (test_cli_select_frame): Likewise.
54 (test_cli_up_down): Likewise.
55 (test_mi_thread_select): Likewise.
56 (test_mi_stack_select_frame): Likewise.
57 (test_cli_in_mi_inferior): Likewise.
58 (test_cli_in_mi_thread): Likewise.
59 (test_cli_in_mi_frame): Likewise.
60 (top level): Do not use with_test_prefix_procname.
61
64f367a2
PA
622016-11-09 Pedro Alves <palves@redhat.com>
63
64 * gdb.base/commands.exp (gdbvar_simple_if_test)
65 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
66 (progvar_simple_if_test, progvar_simple_while_test)
67 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
68 (infrun_breakpoint_command_test, breakpoint_command_test)
69 (user_defined_command_test, watchpoint_command_test)
70 (test_command_prompt_position, deprecated_command_test)
71 (bp_deleted_in_command, temporary_breakpoint_commands)
72 (stray_arg0_test, source_file_with_indented_comment)
73 (recursive_source_test, if_commands_test)
74 (error_clears_commands_left, redefine_hook_test)
75 (redefine_backtrace_test): Use proc_with_prefix.
76 * lib/gdb.exp (proc_with_prefix): New proc.
77
0bb65f1e
AA
782016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
79
80 * gdb.base/tui-layout.c: New file.
81 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
82 disassembly window contains very long lines.
83
7353f247
TT
842016-11-08 Tom Tromey <tom@tromey.com>
85
86 * gdb.python/py-value.exp (test_value_creation): Make "long" test
87 depend on Python 2.
88
30a7bb83
TT
892016-11-08 Tom Tromey <tom@tromey.com>
90
91 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
92 New method.
93
cdf5a07c
MG
942016-10-29 Manish Goregaokar <manish@mozilla.com>
95
2806dc7e 96 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 97
51a789c3
MG
982016-10-27 Manish Goregaokar <manish@mozilla.com>
99
2806dc7e
PA
100 * gdb.rust/simple.rs: Add test for univariant enums without
101 discriminants and for encoded struct-like enums.
51a789c3 102
f610ab6d
PA
1032016-10-28 Pedro Alves <palves@redhat.com>
104
105 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
106 gdb_test_multiple, tighten regexps and match symtabs and line
107 tables incrementally.
108
b129b0ca
LM
1092016-10-28 Luis Machado <lgustavo@codesourcery.com>
110
111 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
112 general.
113
ecf45d2c
SL
1142016-10-25 Luis Machado <lgustavo@codesourcery.com>
115
116 * gdb.base/exec-invalid-sysroot.exp: New file.
117
b8d38ee4
JK
1182016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
119
120 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
121
f90fd8c2
JK
1222016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
125
2d2476aa
MR
1262016-10-19 Maciej W. Rozycki <macro@imgtec.com>
127
2806dc7e
PA
128 * gdb.base/killed-outside.exp: Remove $options from a call to
129 `prepare_for_testing'.
2d2476aa 130
e42b25a0
SM
1312016-10-17 Simon Marchi <simon.marchi@ericsson.com>
132
133 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
134 Change test message.
135
3ccdb432
SM
1362016-10-17 Simon Marchi <simon.marchi@ericsson.com>
137
138 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
139 Update comment.
140
5bad3170
SM
1412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
142
143 * gdb.trace/mi-trace-save.exp: New file.
144
5ad9dba7
YQ
1452016-10-13 Yao Qi <yao.qi@linaro.org>
146
147 * gdb.base/code_elim.exp (get_var_address): Remove.
148 * gdb.base/relocate.exp: Likewise.
149 * gdb.base/shreloc.exp: Likewise.
150 * lib/gdb.exp (get_var_address): New.
151
62df7e21
YQ
1522016-10-13 Yao Qi <yao.qi@linaro.org>
153
154 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
155 floating point tests if $skip_float_test is false.
156
4dac951e
LM
1572016-10-12 Luis Machado <lgustavo@codesourcery.com>
158
159 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
160 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
161 argc values.
162 Add 1 to argc so we guarantee distinct initial/modified argc values.
163
8f1a8fc4
JK
1642016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
165
166 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
167
16c85b5d
JK
1682016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
169
170 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
171 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
172 * gdb.arch/vsx-regs.exp: Likewise.
173
1d0e042a
YQ
1742016-10-07 Yao Qi <yao.qi@linaro.org>
175
176 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
177
68dadef5
MM
1782016-10-07 Markus Metzger <markus.t.metzger@intel.com>
179
180 * gdb.python/python.exp: Test decode_line("*0").
181
33fa2c6e
DE
1822016-10-06 Doug Evans <dje@google.com>
183
184 * gdb.python/py-value.exp (test_value_creation): Add test for large
185 unsigned 64-bit value.
186
9c37b5ae
TT
1872016-10-06 Tom Tromey <tom@tromey.com>
188
189 * gdb.compile/compile.exp: Change java tests to rust.
190 * gdb.base/setshow.exp: Change java tests to rust.
191 * gdb.base/default.exp: Remove java from language list.
192 * README (Examples): Update language example.
193 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
194 test.
195 * lib/gdb.exp (skip_java_tests): Remove.
196 * lib/java.exp: Remove.
197 * gdb.java: Remove.
198
78b86327
MR
1992016-10-06 Maciej W. Rozycki <macro@imgtec.com>
200
201 * gdb.arch/mips-fcr.exp: New test.
202 * gdb.arch/mips-fcr.c: Source for the new test.
203
7470adbb
MR
2042016-10-06 Maciej W. Rozycki <macro@imgtec.com>
205
206 * gdb.base/solib-disc.exp: Use `standard_output_file'
207 throughout.
208
4a556533
PA
2092016-10-06 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/jit-simple-dl.c: New file.
212 * gdb.base/jit-simple-jit.c: New file, factored out from ...
213 * gdb.base/jit-simple.c: ... this.
214 * gdb.base/jit-simple.exp (jit_run): Delete.
215 (build_jit): New proc.
216 (jit_test_reread): Recompile either the main program or the shared
217 library, depending on what is being tested. Skip changing address
218 if caller wants to. Compare before/after addresses. If testing
219 standalone, explicitly load the binary. Test "maint info
220 breakpoints".
221 (top level): Add "standalone vs shared lib" and "change address"
222 vs "same address" axes.
223
5a122fbc
PA
2242016-10-06 Pedro Alves <palves@redhat.com>
225
226 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
227 call.
228 (jit_run): Delete.
229 (jit_test_reread): Use with_test_prefix. Reload the main binary
230 explicitly. Compare the before/after addresses of the JIT
231 descriptor.
232
ee8da4b8
DE
2332016-08-15 Doug Evans <dje@google.com>
234
235 * gdb.xml/extra-regs.xml: Update, end field now required, default type
236 for single bitfields is bool.
237 * gdb.xml/tdesc-regs.exp: Ditto.
238
f389f6fe
JK
2392016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
242
fdebf1a4
YQ
2432016-10-05 Yao Qi <yao.qi@linaro.org>
244
245 * lib/gdb.exp (support_complex_tests): Return zero if
246 gdb_skip_float_test return true.
247
9c36d954 2482016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 249 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
250
251 PR gdb/20487
252 * gdb.mi/user-selected-context-sync.exp: New file.
253 * gdb.mi/user-selected-context-sync.c: New file.
254
4034d0ff 2552016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 256 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
257
258 PR gdb/20487
259 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
260 =thread-select-event check.
261
a4297203
PB
2622016-09-29 Peter Bergner <bergner@vnet.ibm.com>
263
264 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
265 the compulsory L operand changes.
266 * gdb.arch/powerpc-power.s: Likewise.
267
bb805577
JK
2682016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
269
270 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
271 * gdb.base/jit-attach-pie.c: New file.
272 * gdb.base/jit-attach-pie.exp: New file.
273
6d61dee5
PA
2742016-09-28 Pedro Alves <palves@redhat.com>
275
276 * gdb.base/infcall-input.c: New file.
277 * gdb.base/infcall-input.exp: New file.
278
f73842fc
YQ
2792016-09-22 Yao Qi <yao.qi@linaro.org>
280
281 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
282 (gdb_exit): Rename it to ...
283 (gdbserver_gdb_exit): ... Close GDBserver.
284 (gdb_exit): New proc, call gdbserver_gdb_exit.
285 (mi_gdb_exit): Likewise.
286
90681dab
YQ
2872016-09-22 Yao Qi <yao.qi@linaro.org>
288
289 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
290 path.
291 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
292 Remove duplication.
293
9c211fd8
YQ
2942016-09-22 Yao Qi <yao.qi@linaro.org>
295
296 * lib/gdbserver-support.exp: Check the existence of
297 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
298
ad0a504f
AK
2992016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
300
301 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
302
36cf1806
TT
3032016-09-21 Tom Tromey <tom@tromey.com>
304
305 PR gdb/20604:
306 * gdb.base/quit.exp: New file.
307
74172ecf
SM
3082016-09-21 Simon Marchi <simon.marchi@ericsson.com>
309
310 * .gitignore: New file.
311
3d0ec882
MR
3122016-09-21 Maciej W. Rozycki <macro@imgtec.com>
313
314 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
315 throughout.
316
8193adea
AA
3172016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
318
319 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
320
d41a5c09
JK
3212016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 * gdb.cp/casts.cc (decltype): Move it ...
324 (main): ... with its call to ...
325 * gdb.cp/casts03.cc: ... a new file.
326 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
327
d2dfe700
JK
3282016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
329
330 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
331
e2a92b16
PB
3322016-09-15 Peter Bergner <bergner@vnet.ibm.com>
333
334 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
335 and sync up the test with tests in gas/testsuite/gas/ppc.
336 * gdb.arch/powerpc-power.exp: Likewise.
337
49b4de64
JK
3382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
339
340 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
341
2c29df25
SDJ
3422016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
343 Jan Kratochvil <jan.kratochvil@redhat.com>
344
345 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
346 make m1's definition to be different from m2's. Use 'dummy' as an
347 argument for probe 'two'.
348
cc3c2846
JB
3492016-09-10 Jon Beniston <jon@beniston.com>
350
351 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
352 for sim target.
353
e1b2624a
AA
3542016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
355
356 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
357 variable declaration.
358 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
359 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
360 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
361 received HWCAP as its argument.
362
4295e285
PA
3632016-09-06 Pedro Alves <palves@redhat.com>
364
365 * gdb.base/new-ui-pending-input.c: New file.
366 * gdb.base/new-ui-pending-input.exp: New file.
367 * gdb.exp (clear_gdb_spawn_id): New procedure.
368 (with_spawn_id): Check whether gdb_spawn_id exists before
369 referencing it. If gdb_spawn_id didn't exist on entry, clear it
370 on exit.
371
00d5215e
UW
3722016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
373
374 * gdb.base/float128.c: New file.
375 * gdb.base/float128.exp: Likewise.
376 * gdb.base/floatn.c: Likewise.
377 * gdb.base/floatn.exp: Likewise.
378
a9ff5f12
UW
3792016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
380
381 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
382
f245535c
PA
3832016-09-05 Pedro Alves <palves@redhat.com>
384
385 PR backtrace/19927
386 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
387 unwinders are immediately called as side effect of "source" or
388 "disable unwinder" commands.
389 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
390
ae9cf263
YQ
3912016-09-02 Yao Qi <yao.qi@linaro.org>
392
393 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
394 is true and $type is "float" or "double".
395
27aba047
YQ
3962016-09-02 Yao Qi <yao.qi@linaro.org>
397
398 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
399 true.
400 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
401 * gdb.base/call-rt-st.exp: Likewise.
402 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
403 return value instead of gdb,skip_float_test.
404 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
405 (do_function_calls): Use its return value instead of
406 gdb,skip_float_test.
407 * gdb.base/finish.exp: Likewise.
408 * gdb.base/funcargs.exp: Likewise.
409 * gdb.base/return.exp: Likewise.
410 * gdb.base/return2.exp: Likewise.
411 * gdb.base/varargs.exp: Likewise.
412 * lib/gdb.exp (gdb_skip_float_test): Change it to
413 gdb_caching_proc. Detect the broken ptrace on arm-linux.
414
5af962df
AA
4152016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
416
417 * gdb.multi/tids.exp: Test "thread apply all".
418
7fac6910
JK
4192016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
420
421 * gdb.base/default.exp (tty): Remove.
422
bb1fe4ac
KB
4232016-08-24 Kevin Buettner <kevinb@redhat.com>
424
2806dc7e
PA
425 * gdb.python/py-recurse-unwind.c: New file.
426 * gdb.python/py-recurse-unwind.py: New file.
427 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 428
0a1ddfa6
SM
4292016-08-24 Simon Marchi <simon.marchi@ericsson.com>
430
431 * gdb.base/set-inferior-tty.exp: New file.
432 * gdb.base/set-inferior-tty.c: New file.
433
d9de1fe3
PA
4342016-08-23 Pedro Alves <palves@redhat.com>
435
436 PR gdb/20494
437 * gdb.base/new-ui-echo.c: New file.
438 * gdb.base/new-ui-echo.exp: New file.
439
e9d9abd7
YQ
4402016-08-23 Yao Qi <yao.qi@linaro.org>
441
442 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
443 gdbserver_spawn.
444 * gdb.server/connect-without-multi-process.exp (do_test):
445 Likewise.
446
3589529e
YQ
4472016-08-23 Yao Qi <yao.qi@linaro.org>
448
449 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
450 standalone_txt. Delete gdb_txt and standalone_txt on host
451 and target. Spawn the binary on target. Copy files from
452 target to host.
453
6bb90213
PA
4542016-08-22 Pedro Alves <palves@redhat.com>
455
456 PR gdb/20505
457 * gdb.base/vdso-warning.exp: Test core dumps too. Use
458 with_test_prefix. Factor out bits to ...
459 (test_no_vdso): ... this new procedure.
460
20c2c024
CL
4612016-08-19 Carl Love <cel@us.ibm.com>
462
463 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
464 maintaining separate logic for constructing the output path.
465 * gdb.arch/powerpc-d128-regs.exp: Likewise.
466 * gdb.arch/ppc-dfp.exp: Likewise.
467 * gdb.arch/ppc-fp.exp: Likewise.
468 * gdb.arch/vsx-regs.exp: Likewise.
469 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
470 binprefix for generating the additional binary files.
471
0646e07d
PA
4722016-08-19 Pedro Alves <palves@redhat.com>
473
474 * gdb.trace/mi-trace-frame-collected.exp
475 (test_trace_frame_collected): On x32, expect two registers.
476
46da9242
CL
4772016-08-18 Carl Love <cel@us.ibm.com>
478
479 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
480 and sync up the test with tests in gas/testsuite/gas/ppc.
481 * gdb.arch/powerpc-power.exp: Likewise.
482
eb2332d7
SM
4832016-08-17 Simon Marchi <simon.marchi@ericsson.com>
484
485 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
486 expected error message.
487
63c61e04
SM
4882016-08-17 Simon Marchi <simon.marchi@ericsson.com>
489
490 * gdb.multi/remove-inferiors.exp: New file.
491 * gdb.multi/remove-inferiors.c: New file.
492
7b17065f
YQ
4932016-08-12 Yao Qi <yao.qi@linaro.org>
494
495 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
496 argument list.
497
01d3dedf
PA
4982016-08-10 Pedro Alves <palves@redhat.com>
499
500 PR gdb/19187
501 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
502 setup_kfails.
503
3eb7562a
PA
5042016-08-09 Pedro Alves <palves@redhat.com>
505 Simon Marchi <simon.marchi@ericsson.com>
506
507 PR gdb/20418
508 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
509 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
510
80614914
PA
5112016-08-09 Pedro Alves <palves@redhat.com>
512
513 PR mi/20431
514 * gdb.mi/mi-cmd-error.exp: New file.
515
f348d89a
PA
5162016-08-09 Pedro Alves <palves@redhat.com>
517
518 PR gdb/18653
519 * gdb.base/signals-state-child.c: New file.
520 * gdb.base/signals-state-child.exp: New file.
521 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
522
e5ca03b4
PA
5232016-08-09 Pedro Alves <palves@redhat.com>
524
525 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
526
282a0691
TT
5272016-08-03 Tom Tromey <tom@tromey.com>
528
529 PR python/18565:
530 * gdb.python/py-frame-inline.exp: Add Frame.function test.
531
41bfcd63
YQ
5322016-08-01 Yao Qi <yao.qi@linaro.org>
533
534 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
535 variable mode to "multi-process" if $multi_process is 1, otherwise
536 set it to "single-process".
537
e3465b24
YQ
5382016-08-01 Yao Qi <yao.qi@linaro.org>
539
540 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
541 * gdb.cp/cpexprs.exp: Likewise.
542 * gdb.cp/m-static.exp: Likewise.
543
0b31a4bc
TT
5442016-07-26 Tom Tromey <tom@tromey.com>
545
546 PR python/20190:
547 * gdb.threads/tls.exp (check_thread_local): Add python symbol
548 test.
549
e0461dbb
MM
5502016-07-26 Markus Metzger <markus.t.metzger@intel.com>
551
552 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
553 selecting assembly source files.
554 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
555 assembly source files.
556 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
557 assembly source files.
558 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
559 selecting assembly source files.
560
8194e927
SM
5612016-07-25 Simon Marchi <simon.marchi@ericsson.com>
562
563 * gdb.base/new-ui.exp (do_test_invalid_args): New
564 procedure.
565
c0272db5
TW
5662016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
567
568 * gdb.btrace/reconnect.c: New file.
569 * gdb.btrace/reconnect.exp: New file.
570
e3487908
GKB
5712016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
572
573 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
574 to test_catch_syscall_group.
575 (test_catch_syscall_group): New.
576
12df5c00
TT
5772016-07-21 Tom Tromey <tom@tromey.com>
578
579 * gdb.rust/simple.rs (main): Use empty struct expression.
580 * gdb.rust/simple.exp: Add tests for empty struct expression.
581
bae62ee2
YQ
5822016-07-21 Yao Qi <yao.qi@linaro.org>
583
584 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
585 if gdb_skip_xml_test is true on some targets.
586
b1b53fb3
YQ
5872016-07-21 Yao Qi <yao.qi@linaro.org>
588
589 * gdb.server/solib-list.exp: Unset last_loaded_file.
590
027d97f8
JK
5912016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
594 "step into captured_main (args)".
595
7674d381
JK
5962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
597
598 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
599
72b5d099
JK
6002016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
601
602 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
603
1f960ced
PA
6042016-07-19 Pedro Alves <palves@redhat.com>
605
606 * gdb.opt/inline-break.exp: Remove optimize=-O2.
607 * gdb.opt/inline-bt.exp: Likewise.
608 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
609 additional_flags=-Winline.
610 * gdb.opt/inline-locals.exp: Likewise.
611 * gdb.opt/inline-markers.c (ATTR): Define.
612 (inlined_fn): Use it.
613
f25827c1
YQ
6142016-07-19 Yao Qi <yao.qi@linaro.org>
615
616 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
617 (test_with_self): Remove some code. Remove argument executable.
618 (top-level): Use do_self_tests.
619
37539ebe
DB
6202016-07-15 Zachary Welch <zwelch@codesourcery.com>
621 Don Breazeal <donb@codesourcery.com>
622
623 * gdb.base/maint.exp: Escape paths used in regular expressions.
624 * gdb.stabs/weird.exp: Likewise.
625
dac790e1
TT
6262016-07-13 Tom Tromey <tom@tromey.com>
627
628 PR python/15620, PR python/18620:
629 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
630 (test_bkpt_events): New procs.
631
93daf339
TT
6322016-07-13 Tom Tromey <tom@tromey.com>
633
634 PR python/17698:
635 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
636 test.
637 (test_watchpoints): Likewise.
638 (test_bkpt_pending): New proc.
639
6571a381
TT
6402016-07-13 Tom Tromey <tom@tromey.com>
641
642 PR cli/18053:
643 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
644 completion test.
645
e8732474
JK
6462016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
647
648 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
649 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
650 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
651 f_label.
652 (g): Rename g_end_lbl to g_label.
653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
654 low_pc and high_pc.
655 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
656
e0f3fd7c
TT
6572016-07-12 Tom Tromey <tom@tromey.com>
658
659 PR python/19293:
660 * gdb.python/py-unwind-maint.exp: Update tests.
661
3cfe46b6
YQ
6622016-07-12 Yao Qi <yao.qi@linaro.org>
663
664 * lib/selftest-support.exp (selftest_setup): Match the output
665 when captured_main is inlined.
666
4f19a0e6
WT
6672016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
668
669 * gdb.fortran/derived-types.exp (result_line, result_line_2):
670 New variables.
671 (print this%a, print this%b, print this): New tests.
672 * gdb.fortran/derived-types.f90 (this): New object and
673 initialization.
674
986cf455
SM
6752016-07-06 Simon Marchi <simon.marchi@ericsson.com>
676
677 * gdb.ada/arraydim.exp: Remove extra directory level in build
678 directory.
679
f0464b23
SM
6802016-07-06 Simon Marchi <simon.marchi@ericsson.com>
681
682 * lib/ada.exp: Remove extra directory level in build directory.
683 * gdb.ada/cond_lang.exp: Likewise.
684 * gdb.ada/exec_changed.exp: Likewise.
685 * gdb.ada/lang_switch.exp: Likewise.
686
42d94011
MG
6872016-07-06 Manish Goregaokar <manish@mozilla.com>
688
2806dc7e
PA
689 * simple.rs: Add test for raw pointer subscripting.
690 * simple.exp: Add test expectations.
42d94011 691
647c264c
YQ
6922016-07-05 Yao Qi <yao.qi@linaro.org>
693
694 * gdb.mi/mi-reverse.exp: Match =record-started output.
695
20aa2c60
PA
6962016-07-01 Pedro Alves <palves@redhat.com>
697
698 * gdb.base/jit-reader.exp (info_registers_current_frame): New
699 procedure.
700 (jit_reader_test): Test the jit reader's unwinder.
701 * gdb.base/jithost.c (jit_function_00_code): New global.
702 (main): Use memcpy to fill in the mmapped code, instead of poking
703 bytes manually here.
704 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
705 value.
706 (read_debug_info): Save the function's range.
707 (read_sp): New function.
708 (unwind_frame): Use it. Also unwind RBP.
709 (get_frame_id): Use read_sp.
710 (gdb_init_reader): Use calloc instead of malloc.
711 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
712 parameter. Use gdb_test_multiple.
713
ced2dffb
PA
7142016-07-01 Pedro Alves <palves@redhat.com>
715 Antoine Tremblay <antoine.tremblay@ericsson.com>
716
717 * gdb.threads/process-dies-while-detaching.c: New file.
718 * gdb.threads/process-dies-while-detaching.exp: New file.
719
63000888
PA
7202016-07-01 Pedro Alves <palves@redhat.com>
721
722 * gdb.multi/watchpoint-multi-exit.c: New file.
723 * gdb.multi/watchpoint-multi-exit.exp: New file.
724
038d4868
PA
7252016-06-30 Pedro Alves <palves@redhat.com>
726
727 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
728 unset inferior_spawn_id.
729
994e9c83
PA
7302016-06-30 Pedro Alves <palves@redhat.com>
731
732 * lib/mi-support.exp (default_mi_gdb_start): Declare global
733 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
734
e5653468
YQ
7352016-06-29 Yao Qi <yao.qi@linaro.org>
736
737 * gdb.base/return.c: Add copyright header.
738
803b47e5
TT
7392016-06-29 Tom Tromey <tom@tromey.com>
740
741 PR python/20129:
742 * gdb.python/py-framefilter.exp: Add tests for setting priority
743 and disabling of non-existent frame filter.
744
28244707
YQ
7452016-06-29 Yao Qi <yao.qi@linaro.org>
746
747 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
748 0x0f07ff.
749
a31d2f06
YQ
7502016-06-28 Yao Qi <yao.qi@linaro.org>
751
752 * gdb.base/catch-syscall.exp: Remove check on isnative and target
753 triplets. Start gdb, execute catch syscall, and continue. Check
754 gdb's output to determine catch syscall is supported.
755
921d8f54
MG
7562016-06-27 Manish Goregaokar <manish@mozilla.com>
757
25d49b86
PA
758 * gdb.rust/simple.rs: Add test for returning unit in a function.
759 * gdb.rust/simple.exp: Add expectation for functions returning
760 unit.
921d8f54 761
f4952523
PMR
7622016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
763
764 * gdb.python/py-breakpoint-create-fail.c,
765 gdb.python/py-breakpoint-create-fail.exp,
766 gdb.python/py-breakpoint-create-fail.py: New testcase.
767
fccb08f8
MG
7682016-06-25 Manish Goregaokar <manish@mozilla.com>
769
770 PR gdb/20239
771 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
772 * gdb.rust/simple.exp: Add test expectations for new NonZero
773 tests.
fccb08f8 774
6b850546
DT
7752016-06-24 David Taylor <dtaylor@emc.com>
776
777 * gdb.base/offsets.exp: New file.
778 * gdb.base/offsets.c: New file.
779
17621150
TT
7802016-06-23 Tom Tromey <tom@tromey.com>
781
782 PR gdb/16483:
783 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
784 before any filters are loaded.
785
04d59df6
WT
7862016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
787
788 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
789 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
790 structs.
791 * gdb.fortran/derived-type-function.exp: New file.
792 * gdb.fortran/derived-type-function.f90: New file.
793
794
ac69f786
PA
7952016-06-21 Pedro Alves <palves@redhat.com>
796
797 * gdb.base/new-ui.exp: New file.
798 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
799 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
800 (with_spawn_id): New procedure.
801
49940788
PA
8022016-06-21 Pedro Alves <palves@redhat.com>
803
804 * gdb.mi/mi-exec-run.exp: New file.
805
ef274d26
PA
8062016-06-21 Pedro Alves <palves@redhat.com>
807
808 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
809 breakpoint command's output on the main UI.
810 (test_break): New procedure, factored out from calls in the top
811 level.
812 (top level): Use foreach_with_prefix to test MI as main UI and as
813 separate UI.
814
468afe6c
PA
8152016-06-21 Pedro Alves <palves@redhat.com>
816
817 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
818 (test_awatch_creation_and_listing)
819 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
820 Remove 'type' parameter.
821 (test_watchpoint_all): New parameter mi_mode. Remove
822 with_test_prefix.
823 (top level): Use foreach_with_prefix, and add main/separate UI MI
824 testing axis.
825
51f77c37
PA
8262016-06-21 Pedro Alves <palves@redhat.com>
827
828 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
829 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
830 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
831 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
832 (gdb_main_spawn_id, mi_spawn_id): Declare and
833 comment.
834 (mi_create_inferior_pty): New procedure,
835 factored out from default_mi_gdb_start.
836 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
837 procedures.
838 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
839 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
840 Use mi_create_inferior_pty.
841 (mi_gdb_start): Use eval to pass down args list.
842
8980e177
PA
8432016-06-21 Pedro Alves <palves@redhat.com>
844
845 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
846 * gdb.opt/inline-cmds.exp: Add MI tests.
847
f38d3ad1
PA
8482016-06-21 Pedro Alves <palves@redhat.com>
849
850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
851
45db7c09
PA
8522016-06-21 Pedro Alves <palves@redhat.com>
853
854 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
855 (top level): Use it instead of mi_execute_to.
856
5a069ab3
PA
8572016-06-21 Pedro Alves <palves@redhat.com>
858
859 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
860 (cont_handler_str): New.
861 (signal_stop_handler): Set stop_handler_str instead of printing to
862 stdout.
863 (continue_handler): Set cont_handler_str instead of printing to
864 stdout.
865 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
866 mi_send_resuming_command. Print stop_handler_str and
867 cont_handler_str instead of expecting the python events print
868 directly.
869
2838cc1d
SD
8702016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
871
872 * gdb.base/jit-reader.exp: New file.
873 * gdb.base/jithost.c: New file.
874 * gdb.base/jithost.h: New file.
875 * gdb.base/jitreader.c : New file.
876 * gdb.base/jit-protocol.h: New file.
877
21a77091
YQ
8782016-06-17 Yao Qi <yao.qi@linaro.org>
879
880 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
881 parameters follow_fork and detach_on_fork. Set follow-fork-mode
882 and detach-on-fork. Adjust tests.
883 (top level): Invoke break_cond_on_syscall with combinations of
884 syscall, follow-fork-mode and detach-on-fork.
885
f50bf8e5
YQ
8862016-06-17 Yao Qi <yao.qi@linaro.org>
887
888 * gdb.base/step-over-exit.c: New.
889 * gdb.base/step-over-exit.exp: New.
890
a28d8e50
YTL
8912016-06-17 Yan-Ting Lin <currygt52@gmail.com>
892
893 * gdb.base/float.exp: Add target check for nds32*-*-*.
894 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
895
cad8e26d
AB
8962016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
899 for unsupported target features.
900 * gdb.base/call-rt-st.exp: Likewise.
901 * gdb.base/call-sc.exp: Likewise.
902 * gdb.base/call-signal-resume.exp: Likewise.
903 * gdb.base/call-strs.exp: Likewise.
904 * gdb.base/callexit.exp: Likewise.
905 * gdb.base/callfuncs.exp: Likewise.
906 * gdb.base/nodebug.exp: Likewise.
907 * gdb.base/printcmds.exp: Likewise.
908 * gdb.base/ptype.exp: Likewise.
909 * gdb.base/structs.exp: Likewise.
910 * gdb.base/unwindonsignal.exp: Likewise.
911 * gdb.cp/gdb2495.exp: Likewise.
912 * gdb.cp/templates.exp: Likewise.
913 * gdb.cp/virtfunc.exp: Likewise.
914 * gdb.threads/hand-call-in-threads.exp: Likewise.
915 * gdb.threads/interrupted-hand-call.exp: Likewise.
916 * gdb.threads/thread-unwindonsignal.exp: Likewise.
917
347dc102
TT
9182016-06-10 Tom Tromey <tom@tromey.com>
919
920 PR rust/20110:
921 * gdb.rust/expr.exp: Add test for integer constant larger than
922 i32.
923
5e13cf25
BH
9242016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
925
926 * gdb.fortran/nested-funcs.exp: New.
927 * gdb.fortran/nested-funcs.f90: New.
928
bb556f1f
TK
9292016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
930
931 * gdb.base/examine-backward.c: New file.
932 * gdb.base/examine-backward.exp: New file.
933
38b022b4
SM
9342016-06-06 Simon Marchi <simon.marchi@ericsson.com>
935
936 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
937 matching.
938
1b40ec05
TT
9392016-06-02 Tom Tromey <tom@tromey.com>
940
941 PR python/18984:
942 * gdb.python/py-shared.exp: Add solib_name test.
943
193bd378
SM
9442016-06-02 Simon Marchi <simon.marchi@ericsson.com>
945
946 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
947
3326303b
MG
9482016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
949
950 PR c++/19893
951 * gdb.dwarf2/implref.exp: Rename to...
952 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
953 * gdb.dwarf2/implref-array.c: New file.
954 * gdb.dwarf2/implref-array.exp: Likewise.
955 * gdb.dwarf2/implref-global.c: Likewise.
956 * gdb.dwarf2/implref-global.exp: Likewise.
957 * gdb.dwarf2/implref-struct.c: Likewise.
958 * gdb.dwarf2/implref-struct.exp: Likewise.
959
825c8ef2
AT
9602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
961
962 * gdb.trace/trace-condition.exp: Add 64bit tests.
963
2320162a
AT
9642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
965
966 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
967 bits types.
968 (main): Adapt to 8 to 64 bits types.
969 * gdb.trace/trace-condition.exp: Add new tests.
970
a7818233
AT
9712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
972
973 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
974
0d336466
AT
9752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
976
977 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
978 Move condition tests...
979 * gdb.trace/trace-condition.exp: Here.
980
7faeb45a
AT
9812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
982
983 * gdb.trace/trace-condition.exp: Add counter-case tests.
984
e385593e
JK
9852016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
986
987 PR c++/15231
988 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
989 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
990
744608cc
PA
9912016-05-27 Pedro Alves <palves@redhat.com>
992
993 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
994 New procedure.
995 (top level): Call it, and bail out of DejaGnu is known to be bad.
996
ac775bf4
AB
9972016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
998
999 * gdb.base/whatis.c: Extend the test case.
1000 * gdb.base/whatis.exp: Add additional tests.
1001
2bbad2ea
BH
10022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1003
1004* gdb.fortran/type.f90: Add pointer variable.
1005* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1006
8b70175d
BH
10072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1008
1009 * gdb.fortran/vla-type.exp: Fix testcase name.
1010
86d8a848
BH
10112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1012
1013 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1014
e188eb36
BH
10152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1016
1017 * gdb.fortran/type.f90: Add nested structures.
1018 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1019 * gdb.fortran/derived-type.exp: Adapt expected output.
1020 * gdb.fortran/vla-type.exp: Adapt expected output.
1021
9b2db1fd
BH
10222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1023
1024 * gdb.fortran/whatis_type.exp: Adapt expected output.
1025
72b17055
BH
10262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1027
1028 * gdb.fortran/print_type.exp: Fix expected output.
1029 * gdb.fortran/whatis_type.exp: Fix expected output.
1030
3cd81d8d
BH
10312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1032
1033 * gdb.fortran/whatis_type.exp: Use multi_line.
1034
ddae9462
TT
10352016-05-24 Tom Tromey <tom@tromey.com>
1036
1037 PR python/17386:
1038 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1039 use value as an index.
1040
1957f6b8
TT
10412016-05-23 Tom Tromey <tom@tromey.com>
1042
1043 PR python/17981:
1044 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1045 no-breakpoint case.
1046
026a9174
PA
10472016-05-24 Pedro Alves <palves@redhat.com>
1048
1049 PR gdb/19828
1050 * gdb.threads/clone-attach-detach.c: New file.
1051 * gdb.threads/clone-attach-detach.exp: New file.
1052
e70a7231
FR
10532016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1054
1055 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1056
0f6ed0e0
TT
10572016-05-23 Tom Tromey <tom@tromey.com>
1058
1059 PR python/19438, PR python/18393:
1060 * gdb.python/py-progspace.exp: Add "dir" test.
1061 * gdb.python/py-objfile.exp: Add "dir" test.
1062
ffd19d61
YQ
10632016-05-23 Yao Qi <yao.qi@linaro.org>
1064
1065 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1066 * gdb.arch/thumb2-it.exp: Likewise.
1067
9e8f9b05
SM
10682016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1069
1070 * gdb.mi/mi-threads-interrupt.c: New file.
1071 * gdb.mi/mi-threads-interrupt.exp: New file.
1072
61c6156d
SM
10732016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1074
1075 PR gdb/18077
1076 * gdb.mi/mi-async-run.exp: New file.
1077 * gdb.mi/mi-async-run.c: New file.
1078
67218854
TT
10792016-05-17 Tom Tromey <tom@tromey.com>
1080 Manish Goregaokar <manishsmail@gmail.com>
1081
1082 * lib/rust-support.exp: New file.
1083 * lib/gdb.exp (skip_rust_tests): New proc.
1084 (build_executable_from_specs): Handle rust.
1085 * lib/future.exp (gdb_find_rustc): New proc.
1086 (gdb_default_target_compile): Handle rust.
1087 * gdb.rust/expr.exp: New file.
1088 * gdb.rust/generics.exp: New file.
1089 * gdb.rust/generics.rs: New file.
1090 * gdb.rust/methods.exp: New file.
1091 * gdb.rust/methods.rs: New file.
1092 * gdb.rust/modules.exp: New file.
1093 * gdb.rust/modules.rs: New file.
1094 * gdb.rust/simple.exp: New file.
1095 * gdb.rust/simple.rs: New file.
1096
c44af4eb
TT
10972016-05-17 Tom Tromey <tom@tromey.com>
1098
1099 * gdb.base/default.exp (set language): Add rust.
1100
dcd1f979
TT
11012016-05-17 Tom Tromey <tom@tromey.com>
1102
1103 * gdb.gdb/unittest.exp: New file.
1104
155b7f57
YQ
11052016-05-16 Yao Qi <yao.qi@linaro.org>
1106
1107 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1108 shell_prompt. Update shell_prompt_re.
1109
8ddd5a6c
DE
11102016-05-12 Doug Evans <dje@google.com>
1111
1112 PR symtab/19999
1113 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1114 $options when building executable.
1115 * gdb.dwarf2/fission-loclists-pie.S: New file.
1116 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1117
02e370d9
SM
11182016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1119
1120 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1121 of [is_remote target],
1122
8929ad8b
SM
11232016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1124
1125 * lib/gdb.exp (use_gdb_stub): New procedure.
1126
6c447423
DE
11272016-05-03 Yunlian Jiang <yunlian@google.com>
1128 Doug Evans <dje@google.com>
1129
1130 PR symtab/19914
1131 * gdb.dwarf2/dwp-sepdebug.c: New file.
1132 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1133
444e826c
SM
11342016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1135
1136 * gdb.base/detach.exp: Remove is_remote check.
1137
740feeaa
SM
11382016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1139
1140 * gdb.base/annota-input-while-running.exp: Don't check for
1141 [is_remote target]. Enable annotations after running to main.
1142 Remove unused "set test..." line.
1143
9080ac9d
SM
11442016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1145
1146 * gdb.trace/trace-enable-disable.exp: New file.
1147 * gdb.trace/trace-enable-disable.c: New file.
1148
952ebca5
SM
11492016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1150
1151 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1152 use it in info sharedlibrary test.
1153 * gdb.trace/ftrace-lock.exp: Likewise.
1154 * gdb.trace/ftrace.exp: Likewise.
1155 * gdb.trace/range-stepping.exp: Likewise.
1156 * gdb.trace/trace-break.exp: Likewise.
1157 * gdb.trace/trace-condition.exp: Likewise.
1158 * gdb.trace/trace-mt.exp: Likewise.
1159
d9019901
SM
11602016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1161
1162 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1163 (gdb_load_shlib): ... this.
1164 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1165 gdb_load_shlib.
1166 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1167 * gdb.base/ctxobj.exp: Likewise.
1168 * gdb.base/dprintf-pending.exp: Likewise.
1169 * gdb.base/dso2dso.exp: Likewise.
1170 * gdb.base/fixsection.exp: Likewise.
1171 * gdb.base/gcore-relro.exp: Likewise.
1172 * gdb.base/gdb1555.exp: Likewise.
1173 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1174 * gdb.base/gnu-ifunc.exp: Likewise.
1175 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1176 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1177 * gdb.base/pending.exp: Likewise.
1178 * gdb.base/print-file-var.exp: Likewise.
1179 * gdb.base/print-symbol-loading.exp: Likewise.
1180 * gdb.base/shlib-call.exp: Likewise.
1181 * gdb.base/shreloc.exp: Likewise.
1182 * gdb.base/so-impl-ld.exp: Likewise.
1183 * gdb.base/solib-disc.exp: Likewise.
1184 * gdb.base/solib-nodir.exp: Likewise.
1185 * gdb.base/solib-overlap.exp: Likewise.
1186 * gdb.base/solib-symbol.exp: Likewise.
1187 * gdb.base/solib-weak.exp (do_test): Likewise.
1188 * gdb.base/sym-file.exp: Likewise.
1189 * gdb.base/symtab-search-order.exp: Likewise.
1190 * gdb.base/type-opaque.exp: Likewise.
1191 * gdb.base/unload.exp: Likewise.
1192 * gdb.base/watchpoint-solib.exp: Likewise.
1193 * gdb.compile/compile.exp: Likewise.
1194 * gdb.cp/gdb2384.exp: Likewise.
1195 * gdb.cp/infcall-dlopen.exp: Likewise.
1196 * gdb.cp/re-set-overloaded.exp: Likewise.
1197 * gdb.fortran/library-module.exp: Likewise.
1198 * gdb.opt/solib-intra-step.exp: Likewise.
1199 * gdb.python/py-finish-breakpoint.exp: Likewise.
1200 * gdb.python/py-shared.exp: Likewise.
1201 * gdb.reverse/solib-precsave.exp: Likewise.
1202 * gdb.reverse/solib-reverse.exp: Likewise.
1203 * gdb.server/solib-list.exp: Likewise.
1204 * gdb.threads/dlopen-libpthread.exp: Likewise.
1205 * gdb.threads/tls-shared.exp: Likewise.
1206 * gdb.threads/tls-so_extern.exp: Likewise.
1207 * gdb.trace/change-loc.exp: Likewise.
1208 * gdb.trace/ftrace-lock.exp: Likewise.
1209 * gdb.trace/ftrace.exp: Likewise.
1210 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1211 * gdb.trace/pending.exp: Likewise.
1212 * gdb.trace/range-stepping.exp: Likewise.
1213 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1214 (strace_info_marker): Likewise.
1215 (strace_probe_marker): Likewise.
1216 (strace_trace_on_same_addr): Likewise.
1217 (strace_trace_on_diff_addr): Likewise.
1218 * gdb.trace/trace-break.exp: Likewise.
1219 * gdb.trace/trace-condition.exp: Likewise.
1220 * gdb.trace/trace-mt.exp: Likewise.
1221
fca4cfd9
SM
12222016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1223
1224 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1225 result of gdb_remote_download.
1226 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1227 * gdb.base/dso2dso.exp: Likewise.
1228 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1229 * gdb.base/print-file-var.exp: Likewise.
1230 * gdb.base/shlib-call.exp: Likewise.
1231 * gdb.base/shreloc.exp: Likewise.
1232 * gdb.base/solib-overlap.exp: Likewise.
1233 * gdb.base/solib-weak.exp (do_test): Likewise.
1234 * gdb.base/unload.exp: Likewise.
1235
11cf4ffb
YQ
12362016-04-27 Yao Qi <yao.qi@linaro.org>
1237
1238 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1239 exists.
1240
3e2e34f8
KB
12412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1242
1243 * vla-type.exp: Print structure from toplevel.
1244
8f07e298
BH
12452016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1246
1247 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1248 of dynamic types.
1249 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1250 of dynamic types.
1251
9920b434
BH
12522016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1253
1254 * gdb.fortran/vla-type.f90: New file.
1255 * gdb.fortran/vla-type.exp: New file.
1256
f3abeff5
YQ
12572016-04-25 Yao Qi <yao.qi@linaro.org>
1258
1259 * gdb.base/branch-to-self.c: New file.
1260 * gdb.base/branch-to-self.exp: New file.
1261
0a5d52f0
YQ
12622016-04-22 Yao Qi <yao.qi@linaro.org>
1263
1264 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1265 more after $hex.
1266
495346f6
YQ
12672016-04-22 Yao Qi <yao.qi@linaro.org>
1268
1269 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1270 * gdb.base/annota3.exp: Likewise.
1271
4a7e075c
YQ
12722016-04-22 Yao Qi <yao.qi@linaro.org>
1273
1274 * gdb.reverse/step-precsave.exp: Do one step and test program
1275 stops in "callee" and do multiple steps until program goes out
1276 of "callee".
1277 * gdb.reverse/step-reverse.exp: Likewise.
1278
5b061e98
YQ
12792016-04-22 Yao Qi <yao.qi@linaro.org>
1280
1281 * gdb.trace/signal.exp: Also pass if
1282 $tracepoint_hits($i) > $iterations.
1283
5c5dc57f
YQ
12842016-04-22 Yao Qi <yao.qi@linaro.org>
1285
1286 * gdb.trace/signal.c: New file.
1287 * gdb.trace/signal.exp: New file.
1288
a55411b9
DE
12892016-04-19 Doug Evans <xdje42@gmail.com>
1290
1291 * gdb.base/bad-file.exp: New file.
1292
a22df60a
MG
12932016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1294
1295 * gdb.dwarf2/implref.exp: New file.
1296
0c13f7e5
BH
12972016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1298
1299 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1300 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1301 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1302 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1303 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1304 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1305 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1306 * lib/fortran.exp (fortran_int4): New procedure.
1307 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1308 (fortran_logical4): Likewise.
1309
9b9b09e9
BH
13102016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1311
1312 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1313
a14d1f4d
BH
13142016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1315
1316 * lib/compiler.c: Add Intel specific preprocessor macros.
1317 * lib/compiler.cc: Likewise.
25d49b86 1318
7d49b1d0
LM
13192016-04-13 Luis Machado <lgustavo@codesourcery.com>
1320
1321 * gdb.server/connect-with-no-symbol-file.c: New file.
1322 * gdb.server/connect-with-no-symbol-file.exp: New file.
1323
8392fa22
SM
13242016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1325
1326 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1327
8c4c4aeb
SM
13282016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1329
1330 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1331 standard output directory.
1332
45e3745e
AT
13332016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1334
1335 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1336
e26b7e41
MM
13372016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1338
1339 * gdb.btrace/instruction_history.c (loop): Add declaration.
1340
8ce09462
AT
13412016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1342
1343 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1344
2e88a1ea
SM
13452016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1346
1347 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1348 parentheses to print.
1349 (continue_handler): Likewise.
1350
f48e22e3
SM
13512016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1352
1353 * gdb.server/solib-list.exp: Remove is_remote check.
1354 Pass shlib= to gdb_compile. Don't link shared library with
1355 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1356 Run binary filename through "readlink -f" on the target.
1357
096be756
PA
13582016-04-08 Pedro Alves <palves@redhat.com>
1359
1360 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1361 interpreter filename as argument to gdbserver_spawn.
1362 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1363 Return empty if $last_loaded_file does not exist.
1364
06500533
JK
13652016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1366
1367 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1368 * gdb.base/jit-main.c: Use exit after usage.
1369
2d35e871
JK
13702016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1371
1372 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1373 GDBHISTSIZE prior to the tests.
1374 * gdb.base/gdbinit-history.exp: Likewise.
1375
13762016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1377
1378 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1379 instead of build_executable. Use gdb_load_shlibs.
1380
c8064e7e
YQ
13812016-04-07 Yao Qi <yao.qi@linaro.org>
1382
1383 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1384 Execute "si" command.
1385
bde47561
YQ
13862016-04-07 Yao Qi <yao.qi@linaro.org>
1387
1388 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1389 number instead of the comments on some line.
1390
b16f8a3b
DB
13912016-04-06 Don Breazeal <donb@codesourcery.com>
1392
1393 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1394 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1395
c2f901df
SM
13962016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1397
1398 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1399 standard_output_file. Remove unused binfile variable.
1400
ac17fda0
CU
14012016-04-05 Catalin Udma <catalin.udma@freescale.com>
1402
1403 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1404 * gdb.python/py-mi-objfile.exp: Match "list main" output
1405 in console format.
1406
03a8c4df
SM
14072016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1408
1409 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1410 absolute.
1411
6e774b13
SM
14122016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1413
1414 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1415 absolute.
1416 * gdb.trace/ftrace.exp: Likewise.
1417 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1418 targets as well.
1419 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1420 (gdb_load_shlibs): Copy libraries to test directory when testing
1421 natively. Only set solib-search-path if testing remotely.
1422 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1423
7817ea46
SM
14242016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1425
1426 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1427 gdb_download. Use it even if the target is not remote.
1428 * gdb.base/jit.exp (compile_jit_test): Likewise.
1429 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1430 output directory if the destination board is local, otherwise use
1431 the standard remote_download from DejaGnu.
1432 (gdb_download): Remove.
1433 (gdb_load_shlibs): Use gdb_remote_download instead of
1434 gdb_download.
1435 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1436 Use gdb_remote_download instead of gdb_download. Use it even if
1437 the target is not remote.
1438 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1439 instead of gdb_download.
1440
7beb7f68
SM
14412016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1442
1443 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1444 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1445 run.
1446
cc63428a
AV
14472016-04-01 Artemiy Volkov <artemiyv@acm.org>
1448
1449 PR gdb/19820
1450 * gdb.base/printcmds.exp: Add artificial arrays tests.
1451
64cdf930
PA
14522016-03-31 Pedro Alves <palves@redhat.com>
1453
1454 PR gdb/19858
1455 * gdb.base/jit-main.c: Include unistd.h.
1456 (ATTACH): Define to 0 if not already defined.
1457 (wait_for_gdb, mypid): New globals.
1458 (WAIT_FOR_GDB): New macro.
1459 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1460 some breakpoint locations.
1461 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1462 New procedures.
1463 (one_jit_test): Add REATTACH parameter, and handle it. Use
1464 continue_to_test_location.
1465 (top level): Test attach, and adjusts calls to one_jit_test.
1466
40dea8cb
PA
14672016-03-31 Pedro Alves <palves@redhat.com>
1468
1469 PR gdb/19858
1470 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1471 BINSUFFIX parameter, and handle it.
1472 (top level): Adjust calls compile_jit_test.
1473
e7ea3ec7
CU
14742016-03-31 Catalin Udma <catalin.udma@freescale.com>
1475
1476 PR python/19743
1477 * gdb.python/py-mi-events-gdb.py: New file.
1478 * gdb.python/py-mi-events.c: New file.
1479 * gdb.python/py-mi-events.exp: New file.
1480
e6359af3
YQ
14812016-03-30 Yao Qi <yao.qi@linaro.org>
1482
1483 * gdb.reverse/until-precsave.exp: Match function name only.
1484 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1485 Move malloc to a condition block.
1486 * gdb.reverse/until-reverse.exp: Match function name only.
1487
a4105d04
MK
14882016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1489
1490 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1491 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1492 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1493 variable for GPR 0 instead of assuming it is register 0.
1494 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1495 * lib/trace-support.exp: Add s390 registers.
1496
bfa6adb9
YQ
14972016-03-29 Yao Qi <yao.qi@linaro.org>
1498
1499 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1500
1e6697ea
YQ
15012016-03-24 Yao Qi <yao.qi@linaro.org>
1502
1503 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1504 test message.
1505
64bcd522
AA
15062016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1507
1508 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1509 maintaining separate logic for constructing the output path.
1510
7868401b
DB
15112016-03-16 Don Breazeal <donb@codesourcery.com>
1512
1513 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1514 Retry fork and waitpid on interrupted system call errors.
1515 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1516 Use with_timeout_factor to increase timeout by factor of 10.
1517
1cafadb4
DB
15182016-03-15 Don Breazeal <donb@codesourcery.com>
1519
1520 * gdb.cp/scope-err.cc: New test program.
1521 * gdb.cp/scope-err.exp: New test script.
1522 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1523 lines and "set breakpoint here" comment.
1524 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1525 Fixed some whitespace and format issues.
1526 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1527 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1528
81516450
DE
15292016-03-15 Doug Evans <dje@google.com>
1530
1531 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1532 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1533 All callers updated. Add tests for enums, mixed flags register.
1534
aa52b601
DE
15352016-03-15 Doug Evans <dje@google.com>
1536
1537 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1538 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1539
fa4ff313
SM
15402016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1541
1542 * gdb.base/default.exp: Add $_as_string to the list of expected
1543 convenience functions.
1544
f2403c39
AB
15452016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1546
1547 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1548
f2f3ccb9
SM
15492016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1550
1551 * gdb.python/py-as-string.exp: New file.
1552 * gdb.python/py-as-string.c: New file.
1553
00dbd492
PA
15542016-03-09 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1557 signal" -> "Thread NN received signal" output change.
1558 * gdb.threads/ia64-sigill.exp: Likewise.
1559 * gdb.threads/linux-dp.exp: Likewise.
1560 * gdb.threads/manythreads.exp: Likewise.
1561 * gdb.threads/pending-step.exp: Likewise.
1562 * gdb.threads/print-threads.exp: Likewise.
1563 * gdb.threads/sigstep-threads.exp: Likewise.
1564 * gdb.threads/staticthreads.exp: Likewise.
1565 * gdb.threads/tls.exp: Likewise.
1566
1e6697ea
YQ
15672016-03-09 Pedro Alves <palves@redhat.com>
1568
1569 * gdb.base/command-line-input.exp: New file.
1570
b04fd3be
MK
15712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1572
1573 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1574 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1575 * gdb.trace/pending.exp: Accept leading dot before function name.
1576 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1577 * lib/trace-support.exp: Set registers for ppc.
1578
98fa59e9
MK
15792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1580
1581 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1582 use it for disassembly; accept .main in addition to main in backtrace.
1583
f77198c8
MK
15842016-03-09 Wei-cheng Wang <cole945@gmail.com>
1585 Marcin Kościelnicki <koriakin@0x04.net>
1586
1587 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1588 (gdb_recursion_test_ptr): New global variable.
1589 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1590 gdb_recursion_test.
1591 (gdb_c_test): Ditto.
1592
ba84e0da
MK
15932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1594
1595 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1596 ordering.
1597
4366d36e
MK
15982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1599
1600 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1601 (bar): Add bar_start_lbl label.
1602 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1603 of foo/bar for emitting DWARF and tracing.
1604
5eb264df
SDJ
16052016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1606
1607 * analyze-racy-logs.py: Set executable bit.
1608
fb6a751f
SDJ
16092016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1610
1611 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1612 (CHECK_TARGET_TMP): Likewise.
1613 (check-single-racy): New rule.
1614 (check-parallel-racy): Likewise.
1615 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1616 (do-check-parallel-racy): New rule.
1617 (check-racy/%.exp): Likewise.
1618 * README (Racy testcases): New section.
1619 * analyze-racy-logs.py: New file.
1620
bdf7e230
DE
16212016-03-03 Doug Evans <dje@google.com>
1622
1623 * gdb.base/skip.exp: Use with_test_prefix.
1624
4719d415
YQ
16252016-03-03 Yao Qi <yao.qi@linaro.org>
1626
1627 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1628 Invoke step_over_syscall "clone" and break_cond_on_syscall
1629 "clone".
1630 * gdb.base/step-over-clone.c: New file.
1631
ea507862
YQ
16322016-03-03 Yao Qi <yao.qi@linaro.org>
1633
1634 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1635 code format.
1636
8fc8cbda
YQ
16372016-03-03 Yao Qi <yao.qi@linaro.org>
1638
1639 * gdb.base/disp-step-fork.c: Rename to ...
1640 * gdb.base/step-over-fork.c: ... it. New file.
1641 * gdb.base/disp-step-vfork.c: Rename to ...
1642 * gdb.base/step-over-vfork.c: ... it. New file.
1643 * gdb.base/disp-step-syscall.exp: Rename to ...
1644 * gdb.base/step-over-syscall.exp: ... it. New file.
1645 (disp_step_cross_syscall): Rename to ...
1646 (step_over_syscall): ... it.
1647
92fa70b0
YQ
16482016-03-03 Yao Qi <yao.qi@linaro.org>
1649
1650 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1651 If target supports condition evaluation on target, invoke
1652 break_cond_on_syscall for fork and vfork.
1653
e197ad3c
YQ
16542016-03-03 Yao Qi <yao.qi@linaro.org>
1655
1656 * gdb.base/disp-step-syscall.exp: Don't invoke
1657 support_displaced_stepping.
1658 (disp_step_cross_syscall): Test with displaced stepping off and
1659 on if supported.
1660
0b47da9f
YQ
16612016-03-03 Yao Qi <yao.qi@linaro.org>
1662
1663 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1664 proc.
1665 (setup): New proc.
1666 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1667 and setup.
1668
065ab6dc
BH
16692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1670
1671 * gdb.fortran/vla-history.exp: Remove breakpoint.
1672
07e448ad 16732016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1674
25d49b86
PA
1675 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1676 exceeds timeout.
07e448ad 1677
9ac2d526 16782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1679
25d49b86
PA
1680 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1681 breakpoint.
9ac2d526 1682
17807369
BH
16832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1684
1685 * gdb.mi/vla.f90: Nullify pointer after declaration.
1686
86e501af
PA
16872016-03-01 Pedro Alves <palves@redhat.com>
1688
1689 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1690
1e903e32
PA
16912016-03-01 Pedro Alves <palves@redhat.com>
1692
1693 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1694 before anything else.
1695 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1696 _GNU_SOURCE here.
1697 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1698 before anything else.
1699 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1700
6ccb54e2
PA
17012016-03-01 Pedro Alves <palves@redhat.com>
1702
1703 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1704
30ca9da1
YQ
17052016-03-01 Yao Qi <yao.qi@linaro.org>
1706
1707 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1708 prepare_for_testing.
1709
dc856b38
YQ
17102016-03-01 Yao Qi <yao.qi@linaro.org>
1711
1712 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1713
4a932159
AA
17142016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1715
1716 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1717 manually constructing the output path.
1718
f2489477
AA
17192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1720
1721 * gdb.arch/s390-stackless.S: New.
1722 * gdb.arch/s390-stackless.exp: New.
1723
38899f16
IB
17242016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1725
1726 * gdb.dlang/circular.c: New file.
1727 * gdb.dlang/circular.exp: New file.
1728
9fde51ed
YQ
17292016-02-26 Yao Qi <yao.qi@linaro.org>
1730
1731 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1732 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1733 (testcases): Update.
1734
ce90fefe
YQ
17352016-02-26 Yao Qi <yao.qi@linaro.org>
1736
1737 * gdb.reverse/aarch64.c: Rename to ...
1738 * gdb.reverse/insn-reverse.c: ... it.
1739 * gdb.reverse/aarch64.exp: Rename to ...
1740 * gdb.reverse/insn-reverse.exp: ... it.
1741
3263bceb
YQ
17422016-02-26 Yao Qi <yao.qi@linaro.org>
1743
1744 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1745 (testcase_ftype): New.
1746 (testcases): New array.
1747 (n_testcases): New.
1748 (main): Call each element in testcases.
1749 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1750 (read_testcase): New.
1751 Do the tests in a loop.
1752
6cb59ff1
YQ
17532016-02-25 Yao Qi <yao.qi@linaro.org>
1754
1755 * gdb.base/branches.c: Remove.
1756
ae91f625
MK
17572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1758
1759 PR gdb/13808
1760 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1761
678b48b7
MK
17622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1763
1764 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1765
7337a6f2
MK
17662016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1767
1768 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1769 change x86_64 call_insn to 'callq'.
1770
861ca91f
AT
17712016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1772
1773 * gdb.trace/tfile-avx.c: Move to...
1774 * gdb.trace/tracefile-pseudo-reg.c: Here.
1775 * gdb.trace/tfile-avx.exp: Move to...
1776 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1777
bf74e428
GB
17782016-02-24 Gary Benson <gbenson@redhat.com>
1779
1780 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1781 message on attach.
1782
cce0e923
DE
17832016-02-23 Doug Evans <dje@google.com>
1784
1785 * gdb.base/skip.c (test_skip): New function.
1786 (end_test_skip_file_and_function): New function.
1787 (test_skip_file_and_function): New function.
1788 * gdb.base/skip1.c (test_skip): New function.
1789 (skip1_test_skip_file_and_function): New function.
1790 * gdb.base/skip.exp: Add tests for new skip options.
1791 * gdb.base/skip-solib.exp: Update expected output.
1792 * gdb.perf/skip-command.cc: New file.
1793 * gdb.perf/skip-command.exp: New file.
1794 * gdb.perf/skip-command.py: New file.
1795
4000e47e
MK
17962016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1797
1798 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1799 info registers pattern.
1800
24f75ead
IB
18012016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1802
1803 * lib/future.exp: Add D support.
1804 (gdb_find_gdc): New proc.
1805 (gdb_default_target_compile): Add D support.
1806
fbb7bcbe
WW
18072016-02-18 Wei-cheng Wang <cole945@gmail.com>
1808
1809 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1810 user+system time.
1811 (trace_speed_test): Determine the iteration count for a time
1812 between 15..30 seconds.
1813
012b3a21
WT
18142016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1815
1816 * gdb.arch/i386-mpx-sigsegv.c: New file.
1817 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1818 * gdb.arch/i386-mpx-simple_segv.c: New file.
1819 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1820
2d5189bd
YQ
18212016-02-18 Yao Qi <yao.qi@linaro.org>
1822
1823 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1824 Don't call setup_kfail.
1825
40fb20d0
YQ
18262016-02-18 Yao Qi <yao.qi@linaro.org>
1827
1828 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1829 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1830
21b1f8d2
DE
18312016-02-16 Doug Evans <dje@google.com>
1832
1833 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1834 * gdb.base/skip1.c: Ditto.
1835 * gdb.base/skip.exp: Whitespace cleanup.
1836
4041ed77
DB
18372016-02-16 Don Breazeal <donb@codesourcery.com>
1838
1839 PR remote/19496
1840 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1841 Remove kfail for PR remote/19496.
1842
c4ef31bf
SM
18432016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1844
1845 * lib/gdb.exp (standard_temp_file): Return a path specific to
1846 the runtest invocation.
1847
266b65b3
SM
18482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1849
1850 * gdb.trace/save-trace.exp: Change relative path to be in the
1851 standard output directory.
1852
a7a0a6a9
JK
18532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1854
1855 * gdb.arch/i386-prologue.c: Add missing prototypes.
1856
c99dbb42
JK
18572016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
1859 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1860 * gdb.arch/i386-prologue.exp: Likewise.
1861 * gdb.arch/i386-size.exp: Likewise.
1862
aa480355
SM
18632016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1864
1865 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1866 define object file path.
1867 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1868 file path.
1869 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1870 standard_output_file to define binfile.
1871
ba881f50
JK
18722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 Fix compatibility with recent gfortran-5.3.1.
1875 * gdb.fortran/vla-history.exp (print vla1 allocated)
1876 (print vla2 allocated, print $2, print $3): Remove
1877 (print $4): Rename to ...
1878 (print $2): ... here.
1879 (print $9): Rename to ...
1880 (print $5): ... here.
1881 (print $10): Rename to ...
1882 (print $6): ... here.
1883 * gdb.fortran/vla.f90: Add pvla initialization.
1884
e9fb005c
JK
18852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1886
1887 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1888 New test.
1889 * gdb.fortran/vla-value-sub.exp: Likewise.
1890
e44e00ff
MK
18912016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1892
1893 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1894
97e94151
SM
18952016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1896
1897 * i386-biarch-core.exp: Define corefile using
1898 standard_output_file.
1899
01113bc1
YQ
19002016-02-12 Yao Qi <yao.qi@linaro.org>
1901
1902 * gdb.arch/arm-single-step-kernel-helper.c: New.
1903 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1904
33b4777c
MM
19052016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1906
1907 * gdb.btrace/tailcall-only.exp: New.
1908 * gdb.btrace/tailcall-only.c: New.
1909 * gdb.btrace/x86_64-tailcall-only.S: New.
1910 * gdb.btrace/i686-tailcall-only.S: New.
1911
acc23c11
PA
19122016-02-11 Pedro Alves <palves@redhat.com>
1913
1914 * README (Parallel testing): Add missing double quotes.
1915
e352bf0a
PA
19162016-02-11 Pedro Alves <palves@redhat.com>
1917
1918 * README (Parallel testing): New section.
1919 (GDB_PARALLEL): Rewrite.
1920 (FORCE_PARALLEL): Document.
1921
9f5fed78
MK
19222016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1923
1924 * gdb.trace/tfile-avx.c: New test.
1925 * gdb.trace/tfile-avx.exp: New test.
1926
9ef9e6a6
KS
19272016-02-09 Keith Seitz <keiths@redhat.com>
1928
1929 PR breakpoints/19546
1930 * gdb.base/infcall-exec.c: New file.
1931 * gdb.base/infcall-exec2.c: New file.
1932 * gdb.base/infcall-exec.exp: New file.
1933
a96e36da
KS
19342016-02-09 Keith Seitz <keiths@redhat.com>
1935
1936 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1937 (toplevel): Call test_bkpt_address.
1938
9f61929f
KS
19392016-02-09 Keith Seitz <keiths@redhat.com>
1940
1941 PR python/19506
1942 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1943 (toplevel): Call test_bkpt_address.
1944
1e94266c
SM
19452016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1946
1947 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1948 to AC_OUTPUT.
1949 * configure: Regenerate.
1950
2a7f3dff
PA
19512016-02-09 Pedro Alves <palves@redhat.com>
1952
1953 PR breakpoints/19548
1954 * gdb.base/execl-update-breakpoints.c (some_function): New
1955 function.
1956 (main): Call it.
1957 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1958 Tighten expected GDB output.
1959
2151ccc5
SM
19602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1961
1962 * Makefile.in (ALL_SUBDIRS): Remove.
1963 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1964 (distclean maintainer-clean realclean): Likewise.
1965 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1966 * configure: Regenerate.
1967 * gdb.ada/Makefile.in: Delete.
1968 * gdb.arch/Makefile.in: Likewise.
1969 * gdb.asm/Makefile.in: Likewise.
1970 * gdb.base/Makefile.in: Likewise.
1971 * gdb.btrace/Makefile.in: Likewise.
1972 * gdb.cell/Makefile.in: Likewise.
1973 * gdb.compile/Makefile.in: Likewise.
1974 * gdb.cp/Makefile.in: Likewise.
1975 * gdb.disasm/Makefile.in: Likewise.
1976 * gdb.dlang/Makefile.in: Likewise.
1977 * gdb.dwarf2/Makefile.in: Likewise.
1978 * gdb.fortran/Makefile.in: Likewise.
1979 * gdb.gdb/Makefile.in: Likewise.
1980 * gdb.go/Makefile.in: Likewise.
1981 * gdb.guile/Makefile.in: Likewise.
1982 * gdb.java/Makefile.in: Likewise.
1983 * gdb.linespec/Makefile.in: Likewise.
1984 * gdb.mi/Makefile.in: Likewise.
1985 * gdb.modula2/Makefile.in: Likewise.
1986 * gdb.multi/Makefile.in: Likewise.
1987 * gdb.objc/Makefile.in: Likewise.
1988 * gdb.opencl/Makefile.in: Likewise.
1989 * gdb.opt/Makefile.in: Likewise.
1990 * gdb.pascal/Makefile.in: Likewise.
1991 * gdb.perf/Makefile.in: Likewise.
1992 * gdb.python/Makefile.in: Likewise.
1993 * gdb.reverse/Makefile.in: Likewise.
1994 * gdb.server/Makefile.in: Likewise.
1995 * gdb.stabs/Makefile.in: Likewise.
1996 * gdb.threads/Makefile.in: Likewise.
1997 * gdb.trace/Makefile.in: Likewise.
1998 * gdb.xml/Makefile.in: Likewise.
1999 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2000 GDB_PARALLEL.
2001 (standard_output_file): Remove check for GDB_PARALLEL, always
2002 return path in outputs/$subdir/$testname.
2003
437277d4
SM
20042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2005
2006 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2007 (site.exp): Assign abs_srcdir to tcl's srcdir.
2008
31d913c7
YQ
20092016-02-04 Yao Qi <yao.qi@linaro.org>
2010
2011 * gdb.base/foll-exec-mode.c: Include limits.h.
2012 (main): Add parameters argc and argv. Get directory from
2013 argv[0].
2014 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2015 compilation.
2016 * gdb.base/foll-exec.c: Include limits.h.
2017 (main): Add parameters argc and argv.
2018 Get directory from argv[0].
2019 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2020 Adjust tests on the number of lines as source code changed.
2021 * gdb.base/foll-vfork-exit.c: Include limits.h.
2022 (main): Add one line of statement before vfork.
2023 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2024 (main): Add parameters argc and argv. Get directory from
2025 argv[0].
2026 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2027 (setup_gdb): Set tbreak to skip some source lines.
2028 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2029 (main): Add parameters argc and argv. Get directory from
2030 argv[0].
2031 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2032 compilation.
2033 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2034 (main): Add parameters argc and argv. Get directory from
2035 argv[0].
2036 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2037 compilation.
2038
9482b9fb
DE
20392016-02-01 Doug Evans <dje@google.com>
2040
2041 * gdb.base/skip.exp: Clean up multiple references to same test name.
2042
6b2e4f10
PA
20432016-02-01 Pedro Alves <palves@redhat.com>
2044
ccb6afd6 2045 PR remote/19496
6b2e4f10
PA
2046 * gdb.threads/forking-threads-plus-breakpoint.exp
2047 (displaced_stepping_supported): New global.
2048 (probe_displaced_stepping_support): New procedure.
2049 (do_test): Add 'displaced' parameter, and use it.
2050 (top level): Check for displaced stepping support. Add displaced
2051 stepping on/off testing axis.
2052
37a8db1a
AB
20532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2054
2055 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2056 pointer. Don't perform further tests on the unassociated pointer
2057 if the first test fails.
2058
5fdf6324
AB
20592016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2060
2061 * gdb.base/max-value-size.c: New file.
2062 * gdb.base/max-value-size.exp: New file.
2063 * gdb.base/huge.exp: Disable max-value-size for this test.
2064
935c6144
IB
20652016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2066
2067 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2068
7fe8399d
YQ
20692016-01-28 Yao Qi <yao.qi@linaro.org>
2070
2071 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2072
a2077e25
PA
20732016-01-25 Pedro Alves <palves@redhat.com>
2074
2075 PR threads/19461
2076 * gdb.base/fork-running-state.c: New file.
2077 * gdb.base/fork-running-state.exp: New file.
2078
1d2736d4
PA
20792016-01-25 Pedro Alves <palves@redhat.com>
2080
2081 PR gdb/19494
2082 * gdb.base/catch-fork-kill.c: New file.
2083 * gdb.base/catch-fork-kill.exp: New file.
2084
f1da4b11
PA
20852016-01-25 Pedro Alves <palves@redhat.com>
2086
2087 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2088 Delete, moved to lib/gdb.exp.
2089 * gdb.threads/forking-threads-plus-breakpoint.exp
2090 (foreach_with_prefix): Likewise.
2091 * gdb.threads/process-dies-while-handling-bp.exp
2092 (foreach_with_prefix): Likewise.
2093 * lib/gdb.exp (foreach_with_prefix): New procedure.
2094
45f38546
MK
20952016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2096
2097 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2098 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2099
dc29a1ce
MK
21002016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2101
2102 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2103 endian targets.
2104
092127d7
JK
21052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2106 Pedro Alves <palves@redhat.com>
2107
2108 Fix testsuite compatibility with Guile.
2109 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2110 number.
2111
31d765d3
JK
21122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2113
2114 Fix testsuite compatibility with Guile.
2115 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2116 (thread 1): New test for backtrace through signal handler.
2117
1ac78c04
YQ
21182016-01-22 Yao Qi <yao.qi@linaro.org>
2119
2120 PR testsuite/19491
2121 * gdb.base/multi-forks.c: Include
2122 ../lib/unbuffer_output.c
2123 (main): Call gdb_unbuffer_output.
2124
4f5946a8
DE
21252016-01-21 Doug Evans <dje@google.com>
2126
2127 * lib/ada.exp (gdb_compile_ada): Fix typo.
2128
305e13e6
JB
21292016-01-21 Joel Brobecker <brobecker@adacore.com>
2130
2131 * gdb.base/break-fun-addr.exp: New file.
2132 * gdb.base/break-fun-addr1.c: New file.
2133 * gdb.base/break-fun-addr2.c: New file.
2134
5f5dfff6
SM
21352016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2136
2137 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2138 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2139 enum flag values.
2140
fd356fa2
AA
21412016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2142
2143 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2144 when GDB can not set the vector return value. Add more comments
2145 for clarification.
2146
9df22175
AT
21472016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2148
2149 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2150 command.
2151
41d1845e
SM
21522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2153
2154 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2155
01ac6840
SM
21562016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2157
2158 * Makefile.in (check-single): Pass --status to runtest.
2159 (check/%.exp): Likewise.
2160
21612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * Makefile.in (check-parallel): Propagate return code from make
2164 do-check-parallel.
2165
bd0a71fa
MK
21662016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2167
2168 * gdb.trace/ftrace.exp: Fix expected message on continue.
2169 * gdb.trace/pending.exp: Fix expected message on continue.
2170 * gdb.trace/trace-break.exp: Fix expected message on continue.
2171
8bcbad33
SM
21722016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2173
2174 * lib/gdb.exp (gdb_test): Remove unused global references.
2175
f303dbd6
PA
21762016-01-18 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.base/async-shell.exp: Adjust expected output.
2179 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2180 * gdb.base/siginfo-thread.exp: Adjust expected output.
2181 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2182 * gdb.java/jnpe.exp: Adjust expected output.
2183 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2184 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2185 * gdb.threads/leader-exit.exp: Adjust expected output.
2186 * gdb.threads/manythreads.exp: Adjust expected output.
2187 * gdb.threads/pthreads.exp: Adjust expected output.
2188 * gdb.threads/schedlock.exp: Adjust expected output.
2189 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2190 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2191 expected output.
2192 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2193 output.
2194 * gdb.threads/sigthread.exp: Adjust expected output.
2195 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2196
b2789696
YQ
21972016-01-18 Yao Qi <yao.qi@linaro.org>
2198
2199 * gdb.guile/scm-section-script.c: Replace @progbits with
2200 %progbits.
2201 * gdb.python/py-section-script.c: Likewise.
2202
71ef29a8
PA
22032016-01-15 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.multi/tids.exp: Test star wildcard ranges.
2206
3f5b7598
PA
22072016-01-15 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2210 command from "thread apply" invocation.
2211 (thr_apply_info_thr_invalid): Default the expected output to the
2212 input tid list.
2213 (top level): Add tests that use convenience variables. Add tests
2214 for "thread apply" with a valid TID list, but missing the command.
2215
663f6d42
PA
22162016-01-13 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.base/default.exp: Expect $_gthread as well.
2219 * gdb.multi/tids.exp: Test $_gthread.
2220 * gdb.threads/thread-specific.exp: Test $_gthread.
2221
c84f6bbf
PA
22222016-01-13 Pedro Alves <palves@redhat.com>
2223
2224 * gdb.multi/tids.exp: Test "info threads -gid".
2225
22a02324
PA
22262016-01-13 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2229 Breakpoint.thread.
2230 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2231
5d5658a1
PA
22322016-01-07 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.base/break.exp: Adjust to output changes.
2235 * gdb.base/hbreak2.exp: Likewise.
2236 * gdb.base/sepdebug.exp: Likewise.
2237 * gdb.base/watch_thread_num.exp: Likewise.
2238 * gdb.linespec/keywords.exp: Likewise.
2239 * gdb.multi/info-threads.exp: Likewise.
2240 * gdb.threads/thread-find.exp: Likewise.
2241 * gdb.multi/tids.c: New file.
2242 * gdb.multi/tids.exp: New file.
2243
84654457
PA
22442016-01-13 Pedro Alves <palves@redhat.com>
2245
2246 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2247
e3940304
PA
22482016-01-13 Pedro Alves <palves@redhat.com>
2249
2250 * gdb.base/default.exp: Expect $_inferior as well.
2251 * gdb.multi/base.exp: Test $_inferior.
2252
a911d87a
PA
22532016-01-13 Pedro Alves <palves@redhat.com>
2254
2255 PR breakpoints/19388
2256 * gdb.base/catch-signal-siginfo-cond.c: New file.
2257 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2258
82075af2
JS
22592016-01-12 Josh Stone <jistone@redhat.com>
2260 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2261
2262 * gdb.base/catch-syscall.c (do_execve): New variable.
2263 (main): Conditionally trigger an execve.
2264 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2265 (test_catch_syscall_execve): New, check entry/return across execve.
2266 (do_syscall_tests): Call test_catch_syscall_execve.
2267
e46eeedd
PA
22682016-01-12 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.base/random-signal.exp (do_test): New procedure, with body
2271 of testcase moved in.
2272
01d8c27e
JK
22732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2274 Pedro Alves <palves@redhat.com>
2275
2276 * gdb.base/funcargs.exp (finish from indirectly called function):
2277 Reintroduce the case for 'First'.
2278
9a706302
JK
22792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 Pedro Alves <palves@redhat.com>
2281
2282 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2283 (tcatch_vfork_then_child_follow_exec)
2284 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2285 identification.
2286
c0ecb95f
JK
22872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2288
2289 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2290 and repeats to unlimited.
2291 * gdb.python/py-value.exp: Likewise.
2292 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2293 and repeats to unlimited.
2294
6cfc1fcb
JK
22952016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2296
2297 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2298 and reordering the functions.
2299 * gdb.multi/hangout.c: Likewise.
2300 * gdb.multi/hello.c: Likewise.
2301
582a1b00
SM
23022016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2303
2304 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2305 absolute.
2306 (SingleStatisticTestResult.report): Use dict.keys instead of
2307 dict.iterkeys.
2308
79bc59cb
PA
23092016-01-06 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2312
43368e1d
MM
23132016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2314
2315 * gdb.btrace/dlopen.exp: New.
2316 * gdb.btrace/dlopen.c: New.
2317 * gdb.btrace/dlopen-dso.c: New.
2318
79fad5b8
SL
23192015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2320
2321 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2322 PATTERN argument is optional.
2323
ab8314b3
JB
23242015-12-24 Joel Brobecker <brobecker@adacore.com>
2325
2326 * lib/ada.exp (target_compile_ada_from_dir): New function.
2327 (gdb_compile_ada): Reimplement avoiding the use of project files.
2328 * gdb.ada/gnat_ada.gpr: Delete.
2329 * gdb.ada/cond_lang.exp: Adjust test to make path before
2330 filename optional.
2331 * gdb.ada/small_reg_param.exp: Likewise.
2332
fe33faff
SM
23332015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2334
2335 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2336
6d265cb4
TP
23372015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2338
2339 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2340 case.
2341
10125099
SM
23422015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2343
2344 * gdb.base/break.exp: Remove dead code.
2345 * gdb.base/sepdebug.exp: Likewise.
2346
3ca22649
SM
23472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2348
2349 * gdb.asm/asm-source.exp: Remove HP-UX references.
2350 * gdb.base/annota1.exp: Likewise.
2351 * gdb.base/annota3.exp: Likewise.
2352 * gdb.base/attach.exp: Likewise.
2353 * gdb.base/bigcore.exp: Likewise.
2354 * gdb.base/break.exp: Likewise.
2355 * gdb.base/call-ar-st.exp: Likewise.
2356 * gdb.base/callfuncs.exp: Likewise.
2357 * gdb.base/catch-fork-static.exp: Likewise.
2358 * gdb.base/display.exp: Likewise.
2359 * gdb.base/foll-exec-mode.exp: Likewise.
2360 * gdb.base/foll-exec.exp: Likewise.
2361 * gdb.base/foll-fork.exp: Likewise.
2362 * gdb.base/foll-vfork.exp: Likewise.
2363 * gdb.base/funcargs.exp: Likewise.
2364 * gdb.base/hbreak2.exp: Likewise.
2365 * gdb.base/inferior-died.exp: Likewise.
2366 * gdb.base/interrupt.exp: Likewise.
2367 * gdb.base/multi-forks.exp: Likewise.
2368 * gdb.base/nodebug.exp: Likewise.
2369 * gdb.base/sepdebug.exp: Likewise.
2370 * gdb.base/solib1.c: Likewise.
2371 * gdb.base/step-test.exp: Likewise.
2372 * gdb.mi/non-stop.c: Likewise.
2373 * gdb.mi/pthreads.c: Likewise.
2374 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2375 * gdb.threads/pthreads.c: Likewise.
2376 * gdb.threads/staticthreads.exp: Likewise.
2377 * lib/future.exp: Likewise.
2378 * lib/gdb.exp: Likewise.
2379 * gdb.base/so-indr-cl.c: Remove.
2380 * gdb.base/so-indr-cl.exp: Likewise.
2381 * gdb.base/solib.c: Likewise.
2382 * gdb.base/solib.exp: Likewise.
2383 * gdb.base/solib2.c: Likewise.
2384
b6304613
SM
23852015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2386
2387 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2388 * gdb.base/call-ar-st.exp: Likewise.
2389 * gdb.base/callfuncs.exp: Likewise.
2390 * gdb.base/condbreak.exp: Likewise.
2391 * gdb.base/constvars.exp: Likewise.
2392 * gdb.base/hbreak2.exp: Likewise.
2393 * gdb.base/langs.exp: Likewise.
2394 * gdb.base/list.exp: Likewise.
2395 * gdb.base/long_long.exp: Likewise.
2396 * gdb.base/ptype.exp: Likewise.
2397 * gdb.base/scope.exp: Likewise.
2398 * gdb.base/signals.exp: Likewise.
2399 * gdb.base/so-impl-ld.exp: Likewise.
2400 * gdb.base/varargs.exp: Likewise.
2401 * gdb.base/volatile.exp: Likewise.
2402 * gdb.base/whatis.exp: Likewise.
2403 * gdb.cp/cplusfuncs.exp: Likewise.
2404 * gdb.cp/inherit.exp: Likewise.
2405 * gdb.cp/local.exp: Likewise.
2406 * gdb.cp/member-ptr.exp: Likewise.
2407 * gdb.cp/method.exp: Likewise.
2408 * gdb.cp/overload.exp: Likewise.
2409 * gdb.cp/templates.exp: Likewise.
2410 * gdb.stabs/weird.exp: Likewise.
2411 * lib/compiler.c: Likewise.
2412 * lib/compiler.cc: Likewise.
2413 * lib/cp-support.exp: Likewise.
2414 * lib/gdb.exp: Likewise.
2415
bf401b07
SM
24162015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2417
2418 * configure.ac: Remove HP-UX case.
2419 * configure: Regenerate.
2420
aff9c0f8
SM
24212015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2422
2423 * lib/gdb.exp (gdb_compile): Add function doc.
2424
a6904d5a
PA
24252015-12-17 Pedro Alves <palves@redhat.com>
2426
2427 PR threads/19354
2428 * gdb.multi/info-threads.exp: New file.
2429
a22279dd
YQ
24302015-12-15 Yao Qi <yao.qi@linaro.org>
2431
2432 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2433 is aarch64*-*-*.
2434
0588c796
SL
24352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2436
2437 * gdb.base/history-duplicates.exp: Skip if no readline support.
2438
5d978e17
SL
24392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2440
2441 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2442
7e763b86
SL
24432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2444
2445 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2446
87a3a92c
SL
24472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2448
2449 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2450 ctrl-C if nointerrupts target property is set.
2451 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2452 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2453 * gdb.base/paginate-bg-execution.exp: Likewise.
2454 * gdb.base/paginate-execution-startup.exp: Likewise.
2455 * gdb.base/random-signal.exp: Likewise.
2456 * gdb.base/range-stepping.exp: Likewise.
2457 * gdb.cp/annota2.exp: Likewise.
2458 * gdb.cp/annota3.exp: Likewise.
2459 * gdb.gdb/selftest.exp: Likewise.
2460 * gdb.threads/continue-pending-status.exp: Likewise.
2461 * gdb.threads/leader-exit.exp: Likewise.
2462 * gdb.threads/manythreads.exp: Likewise.
2463 * gdb.threads/pthreads.exp: Likewise.
2464 * gdb.threads/schedlock.exp: Likewise.
2465 * gdb.threads/sigthread.exp: Likewise.
2466
a8f077dc
DB
24672015-12-11 Don Breazeal <donb@codesourcery.com>
2468
2469 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2470 remote.
2471 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2472 * gdb.base/foll-exec.exp (main): Enable for target remote.
2473 * gdb.base/foll-fork.exp (main): Likewise.
2474 * gdb.base/foll-vfork.exp (main): Likewise.
2475 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2476 (proc continue_to_exit_bp_loc): Use clean_restart.
2477 * gdb.base/pie-execl.exp (main): Disable for target remote.
2478 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2479 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2480 * gdb.threads/execl.exp (main): Likewise.
2481 * gdb.threads/fork-child-threads.exp (main): Likewise.
2482 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2483 remote.
2484 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2485 remote.
2486 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2487 pid.tid style ptids, instead of just tid.
2488 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2489 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2490 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2491 ptids, instead of just tid.
2492
3b2464a8
AB
24932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2494
2495 * gdb.base/list.exp (test_list_forward): Add end of file error
2496 test.
2497 (test_repeat_list_command): Add end of file error test.
2498 (test_list_backwards): Add beginning of file error test.
2499
a0def019
AB
25002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2501
2502 * gdb.base/list.exp (test_list_invalid_args): New function,
2503 defined, and called.
2504
5c000dff
AB
25052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2506
2507 * gdb.base/list.exp (test_list): Make test names unique.
2508
f1637ebe
YQ
25092015-12-11 Yao Qi <yao.qi@linaro.org>
2510
2511 * gdb.base/coremaker2.c: Remove.
2512
36d6fc0a
PA
25132015-12-10 Pedro Alves <palves@redhat.com>
2514
2515 * gdb.multi/base.exp: Remove stale "spaces" references.
2516
762f7747
PA
25172015-12-10 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.multi/base.exp: Don't use nowarnings.
2520 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2521 * gdb.multi/hangout.c: Include stdio.h.
2522 * gdb.multi/hello.c: Include stdlib.h.
2523 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2524 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2525 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2526
28d2bfb9
AB
25272015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2528
2529 * gdb.dwarf2/dw2-ranges-base.c: New file.
2530 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2531 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2532 support additional line table, and debug ranges generation.
2533 (Dwarf::ranges): New function, generate .debug_ranges.
2534 (Dwarf::lines): Support generating simple line table programs.
2535 (Dwarf::assemble): Initialise new namespace variables.
2536
5fc2beac
KB
25372015-12-09 Kevin Buettner <kevinb@redhat.com>
2538
2539 * gdb.base/async.exp (proc test_background): Add case for
2540 asynchronous execution not supported.
2541
1c35a88f
LM
25422015-12-09 Luis Machado <lgustavo@codesourcery.com>
2543
2544 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2545 format and change test names to make them unique.
2546
b593e3d9
RK
25472015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2548 Pedro Alves <pedro@redhat.com>
2549
2550 PR gdb/18702
2551 Add checking of floatformats setup on x86_64 hosts.
2552 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2553 (smallval, bigval): New labels/constants.
2554 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2555 float" after loading bigval and smallval.
2556
d72413e6
PMR
25572015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2558
2559 * gdb.ada/fun_overload_menu.exp: New testcase.
2560 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2561
ece66d65
JS
25622015-12-04 Josh Stone <jistone@redhat.com>
2563
2564 * gdb.base/catch-fork-static.exp: New.
2565
41d0efca
YQ
25662015-12-03 Yao Qi <yao.qi@linaro.org>
2567
2568 * gdb.base/sizeof.c: Don't include stdio.h and
2569 ../lib/unbuffer_output.c.
2570 (main): New variable 'size' and 'value'. Remove printf and
2571 gdb_unbuffer_output. Assign return value to size and value.
2572 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2573 at the beginning.
2574 (check_sizeof): Check the result by printing variable 'size'.
2575 (check_valueof): Check the result by printing variable 'value'.
2576
99fd02d9
YQ
25772015-12-01 Yao Qi <yao.qi@linaro.org>
2578
2579 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2580 for aarch64*-*-linux* target.
2581
f2faf941
PA
25822015-11-30 Pedro Alves <palves@redhat.com>
2583
2584 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2585
04bf20c5
PA
25862015-11-30 Pedro Alves <palves@redhat.com>
2587
2588 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2589 Handle non-stop mode vCont replies.
2590
09df4675
PA
25912015-11-30 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2594 prepare_for_testing. Start gdb with "set non-stop on" appended to
2595 GDBFLAGS. Lax expected stop output.
2596
58b584af
YQ
25972015-11-27 Yao Qi <yao.qi@linaro.org>
2598
2599 * gdb.arch/arm-neon.exp: New.
2600 * gdb.arch/arm-neon.c: New.
2601
dfcb77a8
YQ
26022015-11-27 Yao Qi <yao.qi@linaro.org>
2603
2604 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2605
88e8ec1b
YQ
26062015-11-27 Yao Qi <yao.qi@linaro.org>
2607
2608 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2609 frames-invalid annotation.
2610
bfde72c2
YQ
26112015-11-27 Yao Qi <yao.qi@linaro.org>
2612
2613 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2614
f6512a69
SM
26152015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2616
2617 * gdb.threads/names.exp: New file.
2618 * gdb.threads/names.c: New file.
2619 * README: Mention gdb,no_thread_names.
2620
46a3515b
MM
26212015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2622
2623 PR 19297
2624 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2625 support" error.
2626
62147a22
PA
26272015-11-24 Pedro Alves <palves@redhat.com>
2628
2629 PR 17539
2630 * gdb.base/display.exp: Expect displays to be sorted in ascending
2631 order. Use multi_line.
2632 * gdb.base/solib-display.exp: Likewise.
2633
2f341b6e
PA
26342015-11-24 Pedro Alves <palves@redhat.com>
2635
2636 PR 17539
25d49b86
PA
2637 * gdb.base/display.exp: Expect displays to be sorted in ascending
2638 order. Use multi_line.
2639 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2640
7e0aa6aa
PA
26412015-11-24 Pedro Alves <palves@redhat.com>
2642
2643 PR 17539
2644 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2645 threads in ascending order.
2646 * gdb.base/foll-fork.exp: Likewise.
2647 * gdb.base/foll-vfork.exp: Likewise.
2648 * gdb.base/multi-forks.exp: Likewise.
2649 * gdb.mi/mi-nonstop.exp: Likewise.
2650 * gdb.mi/mi-nsintrall.exp: Likewise.
2651 * gdb.multi/base.exp: Likewise.
2652 * gdb.multi/multi-arch.exp: Likewise.
2653 * gdb.python/py-inferior.exp: Likewise.
2654 * gdb.threads/break-while-running.exp: Likewise.
2655 * gdb.threads/execl.exp: Likewise.
2656 * gdb.threads/gcore-thread.exp: Likewise.
2657 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2658 * gdb.threads/kill.exp: Likewise.
2659 * gdb.threads/linux-dp.exp: Likewise.
2660 * gdb.threads/multiple-step-overs.exp: Likewise.
2661 * gdb.threads/next-bp-other-thread.exp: Likewise.
2662 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2663 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2664 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2665 * gdb.threads/thread-find.exp: Likewise.
2666 * gdb.threads/tls.exp: Likewise.
2667 * lib/mi-support.exp (mi_reverse_list): Delete.
2668 (mi_check_thread_states): No longer reverse list.
2669
2cc57ad8
PA
26702015-11-24 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2673 use lowercase.
2674
c93e8391
SM
26752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2676
2677 * gdb.trace/actions.c: Include trace-common.h.
2678 (main): Add a location for a fast tracepoint.
2679 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2680 the normal tracepoints.
2681 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2682
045ccf91
SM
26832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2684
2685 * save-trace.exp: Factor out code to these...
2686 (gdb_save_tracepoints): New.
2687 (gdb_load_tracepoints): New.
2688 (do_save_load_test): New.
2689
5506f9f6
KB
26902015-11-23 Kevin Buettner <kevinb@redhat.com>
2691
2692 * gdb.base/asmlabel.exp: New test.
2693 * gdb.base/asmlabel.c: New test case.
2694
16c3b12f
JB
26952015-11-23 Joel Brobecker <brobecker@adacore.com>
2696
2697 * gdb.base/wrong_frame_bt_full-main.c: New file.
2698 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2699 * gdb.base/wrong_frame_bt_full.exp: New file.
2700
155bfbd3
JB
27012015-11-23 Joel Brobecker <brobecker@adacore.com>
2702
2703 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2704
bb097445
JM
27052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2706
206853a0 2707 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2708 pstate register when comparing registers values in
2709 sparc64-*-linux-gnu targets to avoid spurious differences.
2710
9c88ed8f
JM
27112015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2712
206853a0 2713 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2714
96161e25
SL
27152015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2716
2717 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2718 as type argument to gdb_compile.
2719 * gdb.base/nested-subp2.exp: Likewise.
2720 * gdb.base/nested-subp3.exp: Likewise.
2721
340c2830
DV
27222015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2723
2724 * lib/dwarf.exp (_note): Fix left shift of negative value.
2725 * gdb.trace/trace-condition.exp: Likewise.
2726
c1862d0f
YQ
27272015-11-13 Yao Qi <yao.qi@linaro.org>
2728
2729 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2730 comments about d10v.
2731 (test_scalar_returns): Likewise.
2732 * gdb.base/d10v.ld: Remove.
2733 * gdb.base/overlays.exp: Remove the target triplet checking for
2734 d10v-*-*.
2735 * gdb.base/structs.exp (test_struct_returns): Remove the
2736 comments about d10v.
2737 (test_struct_calls): Likewise.
2738
77ae9c19
YQ
27392015-11-13 Yao Qi <yao.qi@linaro.org>
2740
2741 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2742 * gdb.base/gnu_vector.c: Don't include stdio.h.
2743 (main): Don't print res and call add_some_intvecs.
2744
430e004e
MK
27452015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2746
2747 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2748 macro.
2749 (func5): Removed.
2750 (func4): Use FAST_TRACEPOINT_LABEL.
2751 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2752 macro.
2753 (func): Removed.
2754 (thread_function): Use FAST_TRACEPOINT_LABEL.
2755 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2756 (func): Remove.
2757 (marker): Use FAST_TRACEPOINT_LABEL.
2758 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2759 (pendfunc1): Remove.
2760 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2761 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2762 (foo): Remove.
2763 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2764 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2765 macro.
2766 (func): Remove.
2767 (marker): Use FAST_TRACEPOINT_LABEL.
2768 * gdb.trace/trace-common.h: New header.
2769 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2770 macro.
2771 (func): Remove.
2772 (marker): Use FAST_TRACEPOINT_LABEL.
2773 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2774 (func): Remove.
2775 (thread_function): Use FAST_TRACEPOINT_LABEL.
2776
6e7675a7
MK
27772015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2778
2779 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2780 in front.
2781 * gdb.trace/change-loc.exp: Use global pcreg definition.
2782 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2783 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2784 in front.
2785 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2786 * gdb.trace/pending.exp: Likewise.
2787 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2788 * gdb.trace/trace-break.exp: Likewise.
2789 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2790 in front.
2791 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2792 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2793 in front.
2794 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2795
dddc0e16
JB
27962015-11-09 Joel Brobecker <brobecker@adacore.com>
2797
2798 * gdb.ada/fin_fun_out: New testcase.
2799
c6f0b406
KB
28002015-11-07 Kevin Buettner <kevinb@redhat.com>
2801
2802 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2803 value associated with DW_AT_byte_size.
2804 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2805 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2806 DW_AT_upper_bound.
2807
f01dcfd9
KB
28082015-11-07 Kevin Buettner <kevinb@redhat.com>
2809
2810 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2811 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2812 version.
2813 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2814 gdb.dwarf2/dw2-canonicalize-type.exp,
2815 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2816 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2817 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2818 provided by gdb_target_symbol_prefix_flags_asm.
2819 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2820 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2821 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2822 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2823 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2824 macros where needed). Use this macro for symbols which require
2825 the prefix provided by SYMBOL_PREFIX.
2826
2223449a
KB
28272015-11-05 Kevin Buettner <kevinb@redhat.com>
2828
2829 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2830 New procs.
2831 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2832 representing expressions, of more than one list element.
2833 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2834 to prepend linker symbol prefix to f.
2835 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2836 table_1 and table_2.
2837 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2838 Likewise, for f and g.
2839 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2840 for ptr.
2841 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2842 for main.
2843 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2844 table_1_ptr and table_2_ptr.
2845
6f2f1a3a
JK
28462015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2847 Joel Brobecker <brobecker@adacore.com>
2848
2849 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2850
566c56c9
MK
28512015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2852
2853 * gdb.reverse/s390-mvcle.c: New test.
2854 * gdb.reverse/s390-mvcle.exp: New file.
2855 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2856
d5f0636b
MK
28572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2858
2859 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2860
7ad8b86c
MK
28612015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2862
2863 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2864 reaching marker2.
2865 * gdb.reverse/getresuid-reverse.exp: Likewise.
2866 * gdb.reverse/pipe-reverse.exp: Likewise.
2867 * gdb.reverse/readv-reverse.exp: Likewise.
2868 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2869 * gdb.reverse/time-reverse.exp: Likewise.
2870 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2871
4081c0f1
YQ
28722015-10-30 Yao Qi <yao.qi@linaro.org>
2873
2874 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2875 (empty_cycle): Remove.
2876 (main): Don't call empty_cycle. Don't use watch_count_done.
2877 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2878 empty_cycle. Rewrite the code counting HW watchpoints.
2879
452b4ba5
MK
28802015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2881
2882 * gdb.reverse/fstatat-reverse.c: New test.
2883 * gdb.reverse/fstatat-reverse.exp: New file.
2884 * gdb.reverse/getresuid-reverse.c: New test.
2885 * gdb.reverse/getresuid-reverse.exp: New file.
2886 * gdb.reverse/pipe-reverse.c: New test.
2887 * gdb.reverse/pipe-reverse.exp: New file.
2888 * gdb.reverse/readv-reverse.c: New test.
2889 * gdb.reverse/readv-reverse.exp: New file.
2890 * gdb.reverse/recvmsg-reverse.c: New test.
2891 * gdb.reverse/recvmsg-reverse.exp: New file.
2892 * gdb.reverse/time-reverse.c: New test.
2893 * gdb.reverse/time-reverse.exp: New file.
2894 * gdb.reverse/waitpid-reverse.c: New test.
2895 * gdb.reverse/waitpid-reverse.exp: New file.
2896
5e2e7507
JK
28972015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2898
2899 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2900
0fde2c53
DE
29012015-10-26 Doug Evans <dje@google.com>
2902
2903 PR symtab/17391
2904 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2905 * gdb.dwarf2/bad-regnum.c: New file.
2906 * gdb.dwarf2/bad-regnum.exp: New file.
2907
1a70ae97
DE
29082015-10-26 Doug Evans <dje@google.com>
2909
2910 PR python/18938
2911 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2912 file.
2913
27dc26ab
JK
29142015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2915
2916 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2917 for a change by "Mention language in compile error message".
2918
bed91f4d
SM
29192015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2920
2921 PR python/18073
2922 * gdb.python/py-type.c (C::a_method): New.
2923 (C::a_const_method): New.
2924 (C::a_static_method): New.
2925 (a_function): New.
2926 * gdb.python/py-type.exp (test_fields): Test getting fields
2927 from function and method.
2928
3f2f83dd
KB
29292015-10-21 Keven Boell <keven.boell@intel.com>
2930
2931 * gdb.fortran/vla-alloc-assoc.exp: New file.
2932 * gdb.fortran/vla-datatypes.exp: New file.
2933 * gdb.fortran/vla-datatypes.f90: New file.
2934 * gdb.fortran/vla-history.exp: New file.
2935 * gdb.fortran/vla-ptype-sub.exp: New file.
2936 * gdb.fortran/vla-ptype.exp: New file.
2937 * gdb.fortran/vla-sizeof.exp: New file.
2938 * gdb.fortran/vla-sub.f90: New file.
2939 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2940 * gdb.fortran/vla-value-sub-finish.exp: New file.
2941 * gdb.fortran/vla-value-sub.exp: New file.
2942 * gdb.fortran/vla-value.exp: New file.
2943 * gdb.fortran/vla-ptr-info.exp: New file.
2944 * gdb.mi/mi-vla-fortran.exp: New file.
2945 * gdb.mi/vla.f90: New file.
2946
27145d50
SL
29472015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2948
2949 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2950 of hardwired timeout value.
2951
5f3ff4f8
JK
29522015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2953 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2956 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2957
bfd09d20
JS
29582015-10-19 Josh Stone <jistone@redhat.com>
2959
2960 * gdb.base/catch-syscall.c: Include <sched.h>.
2961 (unknown_syscall): New variable.
2962 (main): Trigger a vfork and an unknown syscall.
2963 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2964 (unknown_syscall_number): Likewise.
2965 (check_call_to_syscall): Accept an optional syscall pattern.
2966 (check_return_from_syscall): Likewise.
2967 (check_continue): Likewise.
2968 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2969 (test_catch_syscall_skipping_return): New test toggling off 'catch
2970 syscall' to step over the syscall return, then toggling back on.
2971 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2972 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2973 (do_syscall_tests): Call test_catch_syscall_without_args and
2974 test_catch_syscall_mid_vfork.
2975 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2976 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2977
b32b93c6
AS
29782015-10-19 Andrew Stubbs <ams@codesourcery.com>
2979
2980 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2981 print g_vE): Add new pass patterns.
2982 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2983 print various symbol names for vptr fields.
2984
9d622bda
AB
29852015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2986
2987 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2988 results.
2989
0fd8ac1c
YQ
29902015-10-12 Yao Qi <yao.qi@linaro.org>
2991
2992 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2993
34240514
YQ
29942015-10-12 Yao Qi <yao.qi@linaro.org>
2995
2996 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2997 is aarch64*-*-linux*.
2998
8240f442
YQ
29992015-10-12 Yao Qi <yao.qi@linaro.org>
3000
3001 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3002 (can_relocate_bcond_true): ... it.
3003 (can_relocate_bcond_false): New function.
3004 (foo): Likewise.
3005 (can_relocate_bl): Likewise.
3006 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3007 can_relocate_bl.
3008
2520f728
PMR
30092015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3010
3011 * gdb.base/nested-addr.c: New file.
3012 * gdb.base/nested-addr.exp: New testcase.
3013
abcef95a
MM
30142015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3015
3016 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3017 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3018 its output. Ignore the output of "record goto begin" and instead
3019 check that GDB is replaying.
3020
145e3ddb
PA
30212015-10-09 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3024 (top level): Use it in the run with no args test.
3025
d5d8c4e1
IB
30262015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3027
3028 * gdb.dlang/properties.exp: New file.
3029
06e635ef
SL
30302015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3031
3032 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3033 whether or not address 0x1000 is mapped on the target.
3034
e019fd1d
SM
30352015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3036
3037 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3038 build.
3039
77ba2a67
MM
30402015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3041
3042 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3043 instruction-history test.
3044
c60eb31f
DE
30452015-09-28 Doug Evans <dje@google.com>
3046
3047 * gdb.base/gcore.c (array_func): Add reference to static_array.
3048
9a3c8263
SM
30492015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3050
3051 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3052 source line.
3053
9720e656
SL
30542015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3055
3056 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3057 short or char as base type.
3058
938d3bf2
SL
30592015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3060
3061 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3062 to allow any size enum.
3063
e6c2c623
PMR
30642015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3065
3066 * gdb.ada/array_ptr_renaming.exp: New testcase.
3067 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3068 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3069
06da0f77
PL
30702015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3071
3072 * gdb.trace/ftrace-lock.c: New file.
3073 * gdb.trace/ftrace-lock.exp: New file.
3074
4f51c22a
PL
30752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3076
3077 * gdb.arch/insn-reloc.c: New file.
3078 * gdb.arch/ftrace-insn-reloc.exp: New file.
3079
7041adf4
PL
30802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3081
3082 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3083 instruction.
3084 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3085 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3086 * gdb.trace/range-stepping.c: Likewise.
3087 * gdb.trace/trace-break.c: Likewise.
3088 * gdb.trace/trace-mt.c (thread_function): Likewise.
3089 * gdb.trace/ftrace.c (marker): Likewise.
3090 * gdb.trace/trace-condition.c (marker): Likewise.
3091 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3092 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3093 is_aarch64_target.
3094
015d2e7e
DE
30952015-09-18 Doug Evans <xdje42@gmail.com>
3096
3097 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3098 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3099
26b188a2
SL
31002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3101
3102 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3103 the breakpoint.
3104
79dc332b
SL
31052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3106
3107 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3108 the pending breakpoint. Remove timeout override for "Run till
3109 MI pending breakpoint on pendfunc3 on thread 2" test.
3110
f57929f2
SL
31112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3112
3113 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3114 filename pattern.
3115
3f469b17
SL
31162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3117
3118 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3119 in breakpoint filename pattern.
3120
515b89b3
SL
31212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3122
7800dbe4
SL
3123 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3124
31252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3126
515b89b3
SL
3127 * gdb.linespec/explicit.exp: Check for readline support for
3128 tab-completion tests. Fix obvious typo.
3129
d2939ba2
MM
31302015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3131
3132 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3133 and replay.
3134
cbb55fa7
MM
31352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3136
3137 * gdb.btrace/non-stop.c: New.
3138 * gdb.btrace/non-stop.exp: New.
3139
43691ca1
PL
31402015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3141 Yao Qi <yao.qi@linaro.org>
3142
3143 * gdb.trace/trace-condition.c: New file.
3144 * gdb.trace/trace-condition.exp: New file.
3145
d78908cf
WW
31462015-09-16 Wei-cheng Wang <cole945@gmail.com>
3147
3148 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3149 for testing bytecode compilation.
3150
1ed415e2
PA
31512015-09-16 Pedro Alves <palves@redhat.com>
3152 Sandra Loosemore <sandra@codesourcery.com>
3153
3154 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3155 (SECONDS): Redefine.
3156 (main): Call pthread_kill and alarm early.
3157 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3158 support.
3159 (test): If the target can't hardware step and doesn't support
3160 displaced stepping, increase the timeout.
3161
d136eff5
PA
31622015-09-16 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3165 (enable_debug): New procedures.
3166 (test): Use them. Bail out if waiting for threads fails.
3167 (top level): Bail out if a test fails.
3168
991f019c
YQ
31692015-09-16 Yao Qi <yao.qi@linaro.org>
3170
3171 * gdb.asm/asm-source.exp: Set asm-arch for
3172 aarch64*-*-* target.
3173 * gdb.asm/aarch64.inc: New file.
3174
bfca584f
PMR
31752015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3176
3177 * gdb.ada/array_of_variable_length.exp: New testcase.
3178 * gdb.ada/array_of_variable_length/foo.adb: New file.
3179 * gdb.ada/array_of_variable_length/pck.adb: New file.
3180 * gdb.ada/array_of_variable_length/pck.ads: New file.
3181
b326e587
DE
31822015-09-15 Doug Evans <dje@google.com>
3183
3184 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3185 of function static local variable.
3186
5382cfab
PW
31872015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3188
3189 * gdb.threads/tls-so_extern.exp: New test file.
3190 * gdb.threads/tls-so_extern.c: New test file.
3191 * gdb.threads/tls-so_extern_main.c: New test file.
3192
141c5cc4
JK
31932015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3194
3195 * gdb.opt/solib-intra-step-lib.c: New file.
3196 * gdb.opt/solib-intra-step-main.c: New file.
3197 * gdb.opt/solib-intra-step.exp: New file.
3198
d15dcecd
PA
31992015-09-15 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3202 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3203
4c2f2a79
PA
32042015-09-14 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/hook-stop-continue.c: Delete.
3207 * gdb.base/hook-stop-continue.exp: Delete.
3208 * gdb.base/hook-stop-frame.c: Delete.
3209 * gdb.base/hook-stop-frame.exp: Delete.
3210 * gdb.base/hook-stop.c: New file.
3211 * gdb.base/hook-stop.exp: New file.
3212
919e6dbe
PMR
32132015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3214
3215 * gdb.ada/access_to_packed_array.exp: New testcase.
3216 * gdb.ada/access_to_packed_array/foo.adb: New file.
3217 * gdb.ada/access_to_packed_array/pack.adb: New file.
3218 * gdb.ada/access_to_packed_array/pack.ads: New file.
3219
157280a4
MM
32202015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3221
3222 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3223 buffer size test.
3224
2fd33e94
DB
32252015-09-11 Don Breazeal <donb@codesourcery.com>
3226
3227 * gdb.base/foll-exec.c: Add copyright header. Fix
3228 formatting issues.
3229 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3230 (do_exec_tests): Use clean_restart in place of zap_session,
3231 and for test initialization. Fix formatting issues. Use
3232 fail in place of perror.
3233 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3234 an expect statement to match an expression with output from
3235 the program under debug.
3236 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3237 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3238 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3239 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3240 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3241
e70b6e8e
DE
32422015-09-09 Doug Evans <dje@google.com>
3243
3244 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3245
7a551a51
DE
32462015-09-09 Doug Evans <dje@google.com>
3247
3248 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3249
4c666f84
DE
32502015-09-09 Doug Evans <dje@google.com>
3251
3252 * gdb.base/savedregs.exp: Fix typo.
3253
243a9253
PA
32542015-09-09 Pedro Alves <palves@redhat.com>
3255
3256 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3257
c0fa8fbd
SL
32582015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3259
3260 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3261 command actually switches threads. Give up on remaining
3262 tests if target fails to stop at breakpoint.
3263
cd7c1778
PMR
32642015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3265
3266 * gdb.ada/funcall_char.exp: New testcase.
3267 * gdb.ada/funcall_char/foo.adb: New file.
3268
dc5c8746
PMR
32692015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3270
3271 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3272 expected outputs. Add two testcases for completing ambiguous
3273 functions.
3274 * gdb.ada/complete/aux_pck.adb: New file.
3275 * gdb.ada/complete/aux_pck.ads: New file.
3276 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3277 Ambiguous_Func functions.
3278 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3279 * gdb.ada/complete/pck.adb: Likewise.
3280
4e83a1e7
UW
32812015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3282
3283 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3284 failures to run the test program under GDB.
3285
8ce74153
LM
32862015-08-26 Luis Machado <lgustavo@codesourcery.com>
3287
3288 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3289 to C.
3290
e9756d52
PP
32912015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3292
3293 * gdb.base/run-after-attach.exp: New test file.
3294 * gdb.base/run-after-attach.c: New test file.
3295
8d37573b
DB
32962015-08-26 Don Breazeal <donb@codesourcery.com>
3297
3298 * gdb.base/foll-exec-2.c: New test program.
3299 * gdb.base/foll-exec-2.exp: New test.
3300
63e43d3a
PMR
33012015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3302
3303 * gdb.base/nested-subp1.exp: New file.
3304 * gdb.base/nested-subp1.c: New file.
3305 * gdb.base/nested-subp2.exp: New file.
3306 * gdb.base/nested-subp2.c: New file.
3307 * gdb.base/nested-subp3.exp: New file.
3308 * gdb.base/nested-subp3.c: New file.
3309
3d40fbb5
PA
33102015-08-24 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.server/connect-without-multi-process.c: New file.
3313 * gdb.server/connect-without-multi-process.exp: New file.
3314
4422ac93
LM
33152015-08-24 Luis Machado <lgustavo@codesourcery.com>
3316
3317 * gdb.opt/inline-markers.c: Make z int.
3318
91dddb86
LM
33192015-08-24 Luis Machado <lgustavo@codesourcery.com>
3320
3321 * gdb.opt/inline-markers.c: Make z volatile.
3322
a48847ee
LM
33232015-08-24 Luis Machado <lgustavo@codesourcery.com>
3324
3325 * gdb.opt/inline-bt.c: New volatile global z.
3326 * gdb.opt/inline-cmds.c: Likewise.
3327 * gdb.opt/inline-locals.c: Likewise.
3328 * gdb.opt/inline-markers.c: New extern global z.
3329 (marker): Use z.
3330 (inline_fn): Likewise.
3331
0ebbc52b
PA
33322015-08-24 Pedro Alves <palves@redhat.com>
3333
3334 * config/m32r-stub.exp: Remove file.
3335 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3336 * gdb.base/call-rt-st.exp: Likewise.
3337 * gdb.base/call-strs.exp: Likewise.
3338 * gdb.base/default.exp: Remove references to h8300-*-hms and
3339 *-*-udi*.
3340 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3341
77c365df
AA
33422015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3343
3344 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3345 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3346 and "return" use KFAIL when GDB can not read/write the vector
3347 return value.
3348
4313b8c0
GB
33492015-08-21 Gary Benson <gbenson@redhat.com>
3350
3351 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3352
0e433b32
PA
33532015-08-20 Pedro Alves <palves@redhat.com>
3354
3355 * gdb.server/solib-list.exp: No longer expect an interior stop in
3356 non-stop mode.
3357
221e1a37
PA
33582015-08-20 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.server/connect-stopped-target.c: New file.
3361 * gdb.server/connect-stopped-target.exp: New file.
3362
40e3ad0e
PA
33632015-08-20 Pedro Alves <palves@redhat.com>
3364
3365 * gdb.dwarf2/comp-unit-lang.exp: New file.
3366 * gdb.dwarf2/comp-unit-lang.c: New file.
3367
af39b327
PMR
33682015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3369
3370 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3371 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3372
7d45c7c3 33732015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3374
7d45c7c3
KB
3375 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3376 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3377
4d6cceb4
DE
33782015-08-18 Doug Evans <dje@google.com>
3379 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3380
3381 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3382 skip_python_tests. New arg prompt_regexp.
3383 (skip_python_tests): New function.
3384 * lib/mi-support.exp (mi_skip_python_tests): New function.
3385 * gdb.python/py-mi-objfile-gdb.py: New file.
3386 * gdb.python/py-mi-objfile.c: New file.
3387 * gdb.python/py-mi-objfile.exp: New file.
3388
ad89c2aa
KS
33892015-08-17 Keith Seitz <keiths@redhat.com>
3390
3391 * gdb.linespec/explicit.exp: Move strace test from here ...
3392 * gdb.trace/strace.exp: ... to here.
3393
e3ae3c43
PP
33942015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3395
3396 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3397 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3398
604b2636
DE
33992015-08-14 Doug Evans <xdje42@gmail.com>
3400
3401 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3402 inferior before selecting a new file.
3403
6ff0ba5f
DE
34042015-08-14 Doug Evans <xdje42@gmail.com>
3405
3406 * gdb.mi/mi-disassemble.exp: Update.
3407 * gdb.base/disasm-optim.S: New file.
3408 * gdb.base/disasm-optim.c: New file.
3409 * gdb.base/disasm-optim.h: New file.
3410 * gdb.base/disasm-optim.exp: New file.
3411
9ca98f92
KS
34122015-08-14 Keith Seitz <keiths@redhat.com>
3413
3414 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3415 "evaluated-by".
3416
52bbc560
JB
34172015-08-13 Joel Brobecker <brobecker@adacore.com>
3418
3419 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3420
5d8c3ed3
PMR
34212015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3422
3423 * gdb.ada/fun_renaming.exp: New testcase.
3424 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3425 * gdb.ada/fun_renaming/pack.adb: New file.
3426 * gdb.ada/fun_renaming/pack.ads: New file.
3427
ea8812bc
KS
34282015-08-12 Keith Seitz <keiths@redhat.com>
3429
3430 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3431 gdb_get_line_number.
3432
4dafcdeb
JB
34332015-08-12 Joel Brobecker <brobecker@adacore.com>
3434
3435 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3436 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3437 gdb.base/dso2dso.exp: New files.
3438
5ba32597
SDJ
34392015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3440 Pedro Alves <palves@redhat.com>
3441 Keith Seitz <keiths@redhat.com>
3442
3443 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3444 GDBFLAGS.
3445
b6dafabf
PP
34462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3447
3448 * gdb.base/gdbhistsize-history.exp
3449 (test_histsize_history_setting): Use save_vars.
3450 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3451 Use save_vars.
3452 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3453 * gdb.base/readline.exp: Use save_vars.
3454
abe8e607
PP
34552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3456
3457 * lib/gdb.exp (save_vars): New proc.
3458
629500fa
KS
34592015-08-11 Keith Seitz <keiths@redhat.com>
3460
3461 * gdb.base/help.exp: Update help_breakpoint_text.
3462
eb8c4e2e
KS
34632015-08-11 Keith Seitz <keiths@redhat.com>
3464
3465 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3466 (at toplevel): Call test_explicit_breakpoints.
3467 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3468 breakpoints.
3469 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3470 breakpoint conditions, "-cond".
3471
87f0e720
KS
34722015-08-11 Keith Seitz <keiths@redhat.com>
3473
3474 * gdb.linespec/3explicit.c: New file.
3475 * gdb.linespec/cpexplicit.cc: New file.
3476 * gdb.linespec/cpexplicit.exp: New file.
3477 * gdb.linespec/explicit.c: New file.
3478 * gdb.linespec/explicit.exp: New file.
3479 * gdb.linespec/explicit2.c: New file.
3480 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3481 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3482 before using in the matching pattern.
3483 Clarify that `prefix' is a regular expression.
3484
f00aae0f
KS
34852015-08-11 Keith Seitz <keiths@redhat.com>
3486
3487 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3488 test.
3489 Add tests for missing ",FMT" and ",".
3490
e27852be
DE
34912015-08-10 Doug Evans <dje@google.com>
3492 Keith Seitz <keiths@redhat.com>
3493
3494 PR gdb/17960
3495 * gdb.base/completion.exp: Add location completer tests.
3496
7f03bd92
PA
34972015-08-07 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3500 tests here.
3501 (top level): Run do_test with and without displaced stepping.
3502
3fc8eb30
PA
35032015-08-07 Pedro Alves <palves@redhat.com>
3504
3505 * gdb.base/valgrind-disp-step.c: New file.
3506 * gdb.base/valgrind-disp-step.exp: New file.
3507
d4569d7b
PA
35082015-08-07 Pedro Alves <palves@redhat.com>
3509
3510 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3511 Delete function.
3512 (main): Add alarm. Run an infinite loop instead of calling
3513 wait_threads.
3514 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3515 comment.
3516 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3517 Delete function.
3518 (main): Add alarm. Run an infinite loop instead of calling
3519 wait_threads.
3520 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3521 comment.
3522
e1316e60
PA
35232015-08-07 Pedro Alves <palves@redhat.com>
3524
3525 * gdb.base/checkpoint-ns.exp: New file.
3526 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3527 standard_testfile.
3528
da8c46d2
MM
35292015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3530
3531 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3532 * gdb.btrace/instruction_history.exp: Update.
3533 * gdb.btrace/tsx.exp: New.
3534 * gdb.btrace/tsx.c: New.
3535
de1c2c52
PA
35362015-08-06 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3539 increase timeout.
3540 * gdb.reverse/until-precsave.exp: Bump timeouts.
3541
782e0bf4
PA
35422015-08-06 Pedro Alves <palves@redhat.com>
3543
3544 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3545
83e97ed0
PA
35462015-08-06 Pedro Alves <palves@redhat.com>
3547
3548 PR gdb/18749
3549 * gdb.threads/process-dies-while-handling-bp.c: New file.
3550 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3551
863d01bd
PA
35522015-08-06 Pedro Alves <palves@redhat.com>
3553
3554 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3555 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3556
0a39bb32
PA
35572015-08-05 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3560 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3561
ee2d2b10
SL
35622015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3563
3564 * gdb.base/bp-permanent.exp: Report test as unsupported if
3565 the target cannot stop at the permanent breakpoint.
3566
4e1bdb00
DE
35672015-08-03 Doug Evans <dje@google.com>
3568
3569 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3570 10000.
3571
3d338901
DE
35722015-08-03 Doug Evans <dje@google.com>
3573
3574 * Makefile.in (workers/%.worker, build-perf): New rule.
3575 (GDB_PERFTEST_MODE): New variable.
3576 (check-perf): Use it.
3577 (clean): Clean up gdb.perf parallel build subdirs.
3578 * lib/build-piece.exp: New file.
3579 * lib/gdb.exp (make_gdb_parallel_path): New function
3580 (standard_output_file, standard_temp_file): Call it.
3581 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3582 of $GDB_PARALLEL.
3583 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3584
af061d3e
DE
35852015-08-03 Doug Evans <dje@google.com>
3586
8e1afc81 3587 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3588 (LOG_FILE_NAME): New global.
3589 (TextReporter.__init__): Initialize self.txt_sum.
3590 (TextReporter.report): Add support for multiple data-points.
3591 Move report to perftest.sum, put raw data in perftest.log.
3592 (TextReporter.start): Open sum and log files.
3593 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3594 * gdb.perf/lib/perftest/testresult.py
3595 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3596
2c8c5d37
PA
35972015-07-31 Pedro Alves <palves@redhat.com>
3598
3599 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3600 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3601 kill_wait_spawned_process instead of explicit "kill -9".
3602 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3603 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3604 kill_wait_spawned_process.
3605 * gdb.base/attach-twice.exp: Likewise.
3606 * gdb.base/attach.exp: Likewise.
3607 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3608 gdb_test_multiple.
3609 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3610 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3611 kill_wait_spawned_process.
3612 * gdb.base/valgrind-infcall.exp: Likewise.
3613 * gdb.multi/multi-attach.exp: Likewise.
3614 * gdb.python/py-prompt.exp: Likewise.
3615 * gdb.python/py-sync-interp.exp: Likewise.
3616 * gdb.server/ext-attach.exp: Likewise.
3617 * gdb.threads/attach-into-signal.exp (corefunc): Use
3618 spawn_wait_for_attach, spawn_id_get_pid and
3619 kill_wait_spawned_process.
3620 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3621 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3622 spawn_id_get_pid and kill_wait_spawned_process.
3623 * gdb.threads/attach-stopped.exp (corefunc): Use
3624 spawn_wait_for_attach, spawn_id_get_pid and
3625 kill_wait_spawned_process.
3626 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3627 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3628 kill_wait_spawned_process instead of explicit "kill -9".
3629 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3630 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3631 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3632 processes. Don't map cygwin/windows pids here. Now returns a
3633 spawn id list.
3634
032a0fca
SL
36352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3636
3637 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3638 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3639 correct patch.
3640
61a934ca
SL
36412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3642
3643 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3644
4bc4d428
SL
36452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3646
3647 Reapply:
3648 2014-05-21 Mark Wielaard <mjw@redhat.com>
3649
3650 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3651
998d452a
PA
36522015-07-30 Pedro Alves <palves@redhat.com>
3653
3654 * linux-low.c (handle_extended_wait): Set the child's last
3655 reported status to TARGET_WAITKIND_STOPPED.
3656
69dde7dc
PA
36572015-07-30 Pedro Alves <palves@redhat.com>
3658
3659 PR threads/18600
3660 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3661 only shows inferior 1.
3662
4dd63d48
PA
36632015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3664 Pedro Alves <palves@redhat.com>
3665
3666 PR threads/18600
3667 * gdb.threads/fork-plus-threads.c: New file.
3668 * gdb.threads/fork-plus-threads.exp: New file.
3669
d618e4c5
PP
36702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3671
3672 * gdb.base/batch-preserve-term-settings.exp
3673 (test_terminal_settings_preserved_after_cli_exit): Use
3674 send_quit_command.
3675
1eef6428
PA
36762015-07-29 Pedro Alves <palves@redhat.com>
3677 Don Breazeal <donb@codesourcery.com>
3678
3679 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3680 output from both inferior_spawn_id and gdb_spawn_id.
3681
7da5b897
SDJ
36822015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3683
3684 * gdb.threads/attach-into-signal.exp (corefunc): Use
3685 with_test_prefix on nested loops, uniquefying the test messages.
3686
dac804df
SDJ
36872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3688
3689 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3690 commit.
3691
06265e53
PP
36922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3693
3694 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3695 New proc.
3696 (test_terminal_settings_preserved_after_sigterm): New test.
3697
18206ca3
PP
36982015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3699
3700 * gdb.base/batch-preserve-term-settings.exp
3701 (test_terminal_settings_preserved_after_cli_exit): New test.
3702
90074d11
PP
37032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3704
3705 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3706 manipulation of saved_gdbflags.
3707 (test_terminal_settings_preserved): Remove global declaration of
3708 the unused variable pagination_prompt. Remove manipulation of
3709 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3710 GDBFLAGS.
3711
eb1a7902
PA
37122015-07-29 Pedro Alves <palves@redhat.com>
3713
3714 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3715
8b75dd3b
PA
37162015-07-29 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3719 at the top.
3720
dedad4e3
PA
37212015-07-29 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3724 (main): Call gdb_unbuffer_output.
3725 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3726 (main): Call gdb_unbuffer_output.
3727 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3728 (main): Call gdb_unbuffer_output.
3729 * gdb.base/call-strs.exp: Adjust to step over the
3730 gdb_unbuffer_output call.
3731 * gdb.base/catch-gdb-caused-signals.c: Include
3732 "../lib/unbuffer_output.c".
3733 (main): Call gdb_unbuffer_output.
3734 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3735 (main): Call gdb_unbuffer_output.
3736 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3737 (main): Call gdb_unbuffer_output.
3738 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3739 (main): Call gdb_unbuffer_output.
3740 * gdb.base/shlib-call.exp: Adjust to step over the
3741 gdb_unbuffer_output call.
3742 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3743 (main): Call gdb_unbuffer_output.
3744 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3745 (main): Call gdb_unbuffer_output.
3746 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3747 (main): Rename to ...
3748 (test): ... this.
3749 (main): Reimplement.
3750 * gdb.base/varargs.exp: Run to test instead of to main.
3751 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3752 (main): Call gdb_unbuffer_output.
3753
58789a91
PA
37542015-07-29 Pedro Alves <palves@redhat.com>
3755
3756 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3757 factore out from mi_continue_dprintf. For call-style dprintfs,
3758 expect dprintf output out of $inferior_spawn_id.
3759 (mi_continue_dprintf): Use mi_expect_dprintf.
3760 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3761 (main): Call gdb_unbuffer_output.
3762
e8376742
PA
37632015-07-29 Pedro Alves <palves@redhat.com>
3764
3765 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3766 (default_mi_gdb_start): Set inferior_spawn_id instead of
3767 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3768 gdb_spawn_id.
3769 (mi_gdb_test): Always expect inferior output from both
3770 $inferior_spawn_id and $gdb_spawn_id.
3771
08280010
PA
37722015-07-29 Pedro Alves <palves@redhat.com>
3773
3774 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3775 send_inferior and $inferior_spawn_id.
3776
4d30e432
PA
37772015-07-29 Pedro Alves <palves@redhat.com>
3778
3779 * gdb.gdb/complaints.exp (test_initial_complaints)
3780 (test_serial_complaints, test_short_complaints): Use
3781 gdb_test_stdio.
3782 (test_empty_complaint): Handle $inferior_spawn_id !=
3783 $gdb_spawn_id.
3784
0d30a335
PA
37852015-07-29 Pedro Alves <palves@redhat.com>
3786
3787 * gdb.base/varargs.exp: Use gdb_test_stdio.
3788
39413b29
PA
37892015-07-29 Pedro Alves <palves@redhat.com>
3790
3791 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3792
7cb000a9
PA
37932015-07-29 Pedro Alves <palves@redhat.com>
3794
3795 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3796
d7b8ac82
PA
37972015-07-29 Pedro Alves <palves@redhat.com>
3798
3799 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3800 parameter into two new parameters, "inf_result" and "gdb_result".
3801 Expect inferior output and gdb output from $inferior_spawn_id and
3802 $gdb_spawn_id, respectively. Adjust all callers.
3803
789c3a0c
PA
38042015-07-29 Pedro Alves <palves@redhat.com>
3805
3806 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3807 of gdb_test_sequence.
3808
77e760c3
PA
38092015-07-29 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3812 (saw_spurious_output): Expect inferior output from
3813 $inferior_spawn_id. Use gdb_test_stdio.
3814
8396d2cd
PA
38152015-07-29 Pedro Alves <palves@redhat.com>
3816
3817 * gdb.base/dprintf.exp: Use standard_testfile. Change
3818 prepare_for_testing call.
3819 (srcfile): Don't set.
3820 (restart): New procedure.
3821 (test_dprintf): New procecure, use to continue over dprintfs.
3822 (test_call, test_agent): New procedures, tests moved here.
3823 Restart gdb and recreate dprintfs. Adjust expected output.
3824
2051d61f
PA
38252015-07-29 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3828
452397af
PA
38292015-07-29 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3832
8aed9555
PA
38332015-07-29 Pedro Alves <palves@redhat.com>
3834
3835 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3836 gdb_test_stdio.
3837
188a61b4
PA
38382015-07-29 Pedro Alves <palves@redhat.com>
3839
3840 * lib/gdb.exp (gdb_test_stdio): New procedure.
3841
12264a45
PA
38422015-07-29 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3845
23ffc893
PA
38462015-07-29 Pedro Alves <palves@redhat.com>
3847
3848 * gdb.base/call-signal-resume.exp: Remove check for
3849 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3850 * gdb.base/unwindonsignal.exp: Likewise.
3851 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3852 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3853
65566918
PA
38542015-07-29 Pedro Alves <palves@redhat.com>
3855
3856 * gdb.base/siginfo-addr.c (pass): New function.
3857 (handler): Call it iff si_addr is correct.
3858 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3859 Set a breakpoint at "pass" and continue to it.
3860
d60a9221
SDJ
38612015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3862
3863 * gdb.python/py-objfile.exp: Make some tests have unique names.
3864 * gdb.python/py-pp-registration.exp: Likewise.
3865
bde40b8f
PA
38662015-07-28 Pedro Alves <palves@redhat.com>
3867
3868 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3869
13e1dec8
SM
38702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3871
3872 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3873
da33c9a7
SM
38742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3875
3876 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3877
077836f7
PP
38782015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3879
3880 * gdb.base/gdb-sigterm-2.exp: New test.
3881
b8cc7b2e
DE
38822015-07-25 Doug Evans <xdje42@gmail.com>
3883
3884 Revert:
3885 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3886 (workers/%.worker, build-perf): New rule.
3887 (GDB_PERFTEST_MODE): New variable.
3888 (check-perf): Use it.
3889 (clean): Clean up gdb.perf parallel build subdirs.
3890 * lib/build-piece.exp: New file.
3891 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3892 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3893 name.
3894 (standard_temp_file): Ditto.
3895 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3896 of $GDB_PARALLEL.
3897
c8bd4544
DE
38982015-07-24 Doug Evans <dje@google.com>
3899
3900 * gdb.perf/lib/perftest/utils.py: New file.
3901 * gdb.perf/gm-hello.cc: New file.
3902 * gdb.perf/gm-pervasive-typedef.cc: New file.
3903 * gdb.perf/gm-pervasive-typedef.h: New file.
3904 * gdb.perf/gm-std.cc: New file.
3905 * gdb.perf/gm-std.h: New file.
3906 * gdb.perf/gm-use-cerr.cc: New file.
3907 * gdb.perf/gm-utils.h: New file.
3908 * gdb.perf/gmonster-null-lookup.py: New file.
3909 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3910 * gdb.perf/gmonster-print-cerr.py: New file.
3911 * gdb.perf/gmonster-ptype-string.py: New file.
3912 * gdb.perf/gmonster-runto-main.py: New file.
3913 * gdb.perf/gmonster-select-file.py: New file.
3914 * gdb.perf/gmonster1-null-lookup.exp: New file.
3915 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3916 * gdb.perf/gmonster1-print-cerr.exp: New file.
3917 * gdb.perf/gmonster1-ptype-string.exp: New file.
3918 * gdb.perf/gmonster1-runto-main.exp: New file.
3919 * gdb.perf/gmonster1-select-file.exp: New file.
3920 * gdb.perf/gmonster1.cc: New file.
3921 * gdb.perf/gmonster1.exp: New file.
3922 * gdb.perf/gmonster2-null-lookup.exp: New file.
3923 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3924 * gdb.perf/gmonster2-print-cerr.exp: New file.
3925 * gdb.perf/gmonster2-ptype-string.exp: New file.
3926 * gdb.perf/gmonster2-runto-main.exp: New file.
3927 * gdb.perf/gmonster2-select-file.exp: New file.
3928 * gdb.perf/gmonster2.cc: New file.
3929 * gdb.perf/gmonster2.exp: New file.
3930
6eab34f3
DE
39312015-07-24 Doug Evans <dje@google.com>
3932
3933 * gdb.perf/README: New file.
3934 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3935 * lib/gen-perf-test.exp: New file.
3936
63738bfd
DE
39372015-07-24 Doug Evans <dje@google.com>
3938
3939 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3940 (PerfTest::startup): New function.
3941 (PerfTest::run): Return result of calling body.
3942 (PerfTest::assemble): Rewrite.
3943 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3944 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3945 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3946 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3947 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3948
7b606f95
DE
39492015-07-24 Doug Evans <dje@google.com>
3950
3951 * lib/gdb.exp (clean_restart): Make executable optional.
3952
a97b16b8
DE
39532015-07-24 Doug Evans <dje@google.com>
3954
3955 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3956 compiler_info references.
3957 * gdb.cp/temargs.exp: Ditto.
3958 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3959 (get_compiler_info): Early exit if already computed. Set compiler_info
3960 to "unknown" if there was a problem.
3961 (test_compiler_info): Add function comment. Call get_compiler_info.
3962
35baa57f
DE
39632015-07-24 Doug Evans <dje@google.com>
3964
3965 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3966 (workers/%.worker, build-perf): New rule.
3967 (GDB_PERFTEST_MODE): New variable.
3968 (check-perf): Use it.
3969 (clean): Clean up gdb.perf parallel build subdirs.
3970 * lib/build-piece.exp: New file.
3971 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3972 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3973 name.
3974 (standard_temp_file): Ditto.
3975 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3976 of $GDB_PARALLEL.
3977
6ebea266
DE
39782015-07-24 Doug Evans <dje@google.com>
3979
3980 * lib/future.exp (gdb_default_target_compile): New option
3981 "early_flags".
3982 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3983 --as-needed.
3984
1e76a7e9
SDJ
39852015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3986
3987 * gdb.base/catch-syscall.exp: Call gdb_exit before
3988 gdb_skip_xml_test.
3989
5068630a
PA
39902015-07-24 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.python/py-events.exp: Accept output between the stop event
3993 and the prompt.
3994 * gdb.python/py-evsignal.exp: Likewise.
3995 * gdb.python/py-evthreads.exp: Likewise.
3996
77598427
PA
39972015-07-24 Pedro Alves <palves@redhat.com>
3998
3999 PR gdb/18717
4000 * gdb.threads/non-ldr-exit.c: New file.
4001 * gdb.threads/non-ldr-exit.exp: New file.
4002
11e6c98f
YQ
40032015-07-24 Yao Qi <yao.qi@linaro.org>
4004
4005 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4006 restarting process.
4007
51aee833
YQ
40082015-07-24 Yao Qi <yao.qi@linaro.org>
4009
4010 * gdb.server/ext-restart.exp: New file.
4011
8cfe207c
YQ
40122015-07-24 Yao Qi <yao.qi@linaro.org>
4013
4014 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4015 argument options.
4016 * gdb.server/ext-wrapper.exp: New file.
4017
cc12ce38
DE
40182015-07-23 Doug Evans <dje@google.com>
4019
4020 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4021 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4022
d0d84780
PMR
40232015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4024
4025 * gdb.ada/var_arr_typedef.exp: New testcase.
4026 * gdb.ada/var_arr_typedef/pack.adb: New file.
4027 * gdb.ada/var_arr_typedef/pack.ads: New file.
4028 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4029
8b558f79
JB
40302015-07-20 Joel Brobecker <brobecker@adacore.com>
4031
4032 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4033
775a3298
JK
40342015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4035
4036 * gdb.arch/i386-biarch-core.exp: Replace istarget
4037 by "complete set gnutarget". Remove expectation for the "core-file"
4038 command.
4039
db1ff28b
JK
40402015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4041
4042 Revert the previous commit:
4043 Tests for validate symbol file using build-id.
4044
0a94970d
JK
40452015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4046
4047 Tests for validate symbol file using build-id.
4048 * gdb.base/solib-mismatch-lib.c: New file.
4049 * gdb.base/solib-mismatch-libmod.c: New file.
4050 * gdb.base/solib-mismatch.c: New file.
4051 * gdb.base/solib-mismatch.exp: New file.
4052
03346981
SL
40532015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4054
4055 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4056 nios2-*-linux*.
4057 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4058 * gdb.base/siginfo.exp: Likewise.
4059 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4060
42422cc7
PL
40612015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4062
4063 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4064 Move it to ...
4065 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4066 ... here.
4067 * gdb.trace/range-stepping.exp: Check that the target supports
4068 range stepping.
4069
cfa68bae
JK
40702015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4071
4072 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4073
8ffdba26
PA
40742015-07-14 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.base/killed-outside.exp: New file.
4077 * gdb.base/killed-outside.c: New file.
4078
218a5a11
JK
40792015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4082 (n at main): New.
4083 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4084
e03ed3c6
AA
40852015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4086
4087 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4088 infcall tests instead of setting up for KFAIL.
4089
485668e5
MM
40902015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4091
4092 * gdb.btrace/record_goto-step.exp: New.
4093
08464196
JK
40942015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4095
4096 PR compile/18484
4097 * gdb.compile/compile.c (struct struct_type): Add volatile to
4098 selffield's type.
4099 * gdb.compile/compile.exp
4100 (compile code struct_object.selffield = &struct_object): Skip further
4101 struct_object tests if this one xfails.
4102
bcf5c1d9
RC
41032015-07-08 Robert O'Callahan <robert@ocallahan.org>
4104
4105 PR exp/18617
4106 * gdb.trace/ax.exp: Add test.
4107
4931af25
YQ
41082015-07-07 Yao Qi <yao.qi@linaro.org>
4109
4110 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4111 instead of istarget "aarch64*-*-*".
4112 * gdb.arch/aarch64-fp.exp: Likewise.
4113 * gdb.base/float.exp: Likewise.
4114 * gdb.reverse/aarch64.exp: Likewise.
4115 * lib/gdb.exp (is_aarch64_target): New proc.
4116
9fcf688e
YQ
41172015-07-07 Yao Qi <yao.qi@linaro.org>
4118
4119 * lib/gdb.exp (is_aarch32_target): New proc.
4120 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4121 instead of "istarget "arm*-*-*"".
4122 * gdb.arch/arm-disp-step.exp: Likewise.
4123 * gdb.arch/thumb-bx-pc.exp: Likewise.
4124 * gdb.arch/thumb-prologue.exp: Likewise.
4125 * gdb.arch/thumb-singlestep.exp: Likewise.
4126 * gdb.base/disp-step-syscall.exp: Likewise.
4127 * gdb.base/float.exp: Likewise.
4128
fbd8d50d
YQ
41292015-07-07 Yao Qi <yao.qi@linaro.org>
4130
4131 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4132 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4133
71be1fdc
YQ
41342015-07-07 Yao Qi <yao.qi@linaro.org>
4135
4136 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4137 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4138 if it exists.
4139 * gdb.multi/multi-arch.exp: Likewise.
4140
3e221d36
SM
41412015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4142
4143 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4144 print.
4145
d441430b
YQ
41462015-07-07 Yao Qi <yao.qi@linaro.org>
4147
4148 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4149
06f810bd
MG
41502015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4151
4152 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4153 '[' and ']' characters.
4154
5e61e7c0
IB
41552015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4156
4157 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4158
28bf096c
PA
41592015-06-29 Pedro Alves <palves@redhat.com>
4160
4161 PR threads/18127
4162 * gdb.threads/hand-call-new-thread.c: New file.
4163 * gdb.threads/hand-call-new-thread.c: New file.
4164
ee93cd5e
KS
41652015-06-26 Keith Seitz <keiths@redhat.com>
4166 Doug Evans <dje@google.com>
4167
4168 PR 16253
4169 * gdb.cp/var-tag-2.cc: New file.
4170 * gdb.cp/var-tag-3.cc: New file.
4171 * gdb.cp/var-tag-4.cc: New file.
4172 * gdb.cp/var-tag.cc: New file.
4173 * gdb.cp/var-tag.exp: New file.
4174
fc637f04
PP
41752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4176
4177 * gdb.base/history-duplicates.exp: New test.
4178
2e52ae68
PP
41792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4180
4181 * gdb.base/completion.exp: Test the completion of the "focus"
4182 command.
4183
6e22494e
JK
41842015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4185
4186 * gdb.arch/amd64-prologue-skip.S: New file.
4187 * gdb.arch/amd64-prologue-skip.exp: New file.
4188
bf7b9cd9
SM
41892015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4190
4191 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4192 is_address_zero_readable check.
4193
201e8dfd
PB
41942015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4195
4196 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4197 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4198
5cd867b4
YQ
41992015-06-24 Yao Qi <yao.qi@linaro.org>
4200
4201 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4202 linux targets.
4203
4d7be007
YQ
42042015-06-24 Yao Qi <yao.qi@linaro.org>
4205
4206 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4207 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4208 * gdb.base/siginfo-thread.exp: Likewise.
4209
07fcd301
YQ
42102015-06-22 Yao Qi <yao.qi@linaro.org>
4211
4212 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4213
52042a00
YQ
42142015-06-22 Yao Qi <yao.qi@linaro.org>
4215
4216 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4217 aarch64*-*-*.
4218 (skip_hw_watchpoint_tests): Likewise.
4219
74bd41ce
PP
42202015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4221
4222 * gdb.base/gdbinit-history.exp: Test the interaction between
4223 setting GDBHISTSIZE and setting the history size via .gdbinit.
4224
bc460514
PP
42252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4226
4227 PR gdb/16999
4228 * gdb.base/gdbhistsize-history.exp: New test.
4229
b58c513b
PP
42302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4231
4232 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4233 with GDBHISTSIZE.
4234 * gdb.base/readline.exp: Likewise.
4235
92046791
YQ
42362015-06-17 Yao Qi <yao.qi@linaro.org>
4237
4238 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4239 line.
4240
2093d2d3
PP
42412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4242
4243 * gdb.base/gdbinit-history.exp: Add test case to check that
4244 an unlimited history file does not get truncated on exit.
4245
e6c693af
AA
42462015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4247
4248 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4249 (VECTOR): New macro. Use it...
4250 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4251 ...for these typedefs.
4252 (int8, char1, int1, double1): New typedefs.
4253 (struct just_int2, struct two_int2): New structures.
4254 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4255 (add_structvecs, add_singlevecs): New functions.
4256 (main): Call add_some_intvecs twice.
4257 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4258 the compile and exit upon failure. Try compiling for the "native"
4259 architecture. Test inferior function calls with vector arguments
4260 and vector return value handling with "finish" and "return".
4261
c74f7d1c
JT
42622015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4263
4264 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4265 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4266 PE file.
4267 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4268
98aa42ee
AT
42692015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4270
4271 PR breakpoints/16465
4272 * gdb.mi/mi-dprintf-pending.c: New file.
4273 * gdb.mi/mi-dprintf-pending.exp: New test.
4274 * gdb.mi/mi-dprintf-pendshr.c: New file.
4275
7d73c23c 42762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4277 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4278
4279 * gdb.arch/i386-mpx-map.c: New file.
4280 * gdb.arch/i386-mpx-map.exp: New File.
4281
42822015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4283
4284 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4285 * gdb.arch/i386-mpx.exp: Indentation fixed.
4286
42872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4288
4289 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4290 function and improved indentation.
4291 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4292 gdb_test_multiple. Added additional tests to skip the test.
4293
42942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4295
4296 * gdb.arch/i386-avx512.c: Change path in include file.
4297 * gdb.arch/i386-avx512.exp: Change include dir path
4298 compilation flag.
4299 * gdb.arch/i386-mpx.c: Change path in include file.
4300 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4301 flag.
4302
d5eba19a
JK
43032015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4304
4305 * gdb.compile/compile-print.exp (compile print *vararray@3)
4306 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4307
7f361056
JK
43082015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4311 (do not keep jit in memory): ... this.
4312 (expect 5): Change it to ...
4313 (expect no 5): ... this.
4314
3b462ec2
SM
43152015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4316
4317 PR gdb/15564
4318 * gdb.mi/mi-detach.exp: New file.
4319
e0619de6
JK
43202015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4321
4322 PR symtab/18392
4323 * gdb.arch/amd64-tailcall-self.S: New file.
4324 * gdb.arch/amd64-tailcall-self.c: New file.
4325 * gdb.arch/amd64-tailcall-self.exp: New file.
4326
e970cb34
DB
43272015-05-28 Don Breazeal <donb@codesourcery.com>
4328
4329 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4330 tests for remote targets by checking is_target_gdbserver.
4331
b2e2f908
DE
43322015-05-27 Doug Evans <dje@google.com>
4333
4334 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4335 * gdb.dwarf2/opaque-type-lookup.c: New file.
4336 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4337
82c7be31
DE
43382015-05-26 Doug Evans <dje@google.com>
4339
4340 * gdb.cp/iostream.cc: New file.
4341 * gdb.cp/iostream.exp: New file.
4342
b4f54984
DE
43432015-05-26 Doug Evans <dje@google.com>
4344
4345 * gdb.dwarf2/dw2-op-call.exp: Update.
4346 * gdb.dwarf2/dw4-sig-types.exp: Update.
4347 * gdb.dwarf2/implptr.exp: Update.
4348 * gdb.mi/mi-cmd-param-changed.exp: Update.
4349
4ea6efe9
DE
43502015-05-26 Doug Evans <dje@google.com>
4351
4352 * gdb.python/py-lazy-string.c: New file.
4353 * gdb.python/py-lazy-string.exp: New file.
4354 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4355 (main): Update. Add estring3.
4356 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4357 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4358
f6bb7db3
YQ
43592015-05-26 Omair Javaid <omair.javaid@linaro.org>
4360 Yao Qi <yao.qi@linaro.org>
4361
4362 * gdb.reverse/aarch64.c: New.
4363 * gdb.reverse/aarch64.exp: New.
4364
a81bfbd0
OJ
43652015-05-26 Omair Javaid <omair.javaid@linaro.org>
4366
25d49b86
PA
4367 * lib/gdb.exp (supports_process_record): Return true for
4368 aarch64*-linux*.
a81bfbd0
OJ
4369 (supports_reverse): Likewise.
4370
158bf1b4
PP
43712015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4372
4373 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4374 Use with_test_prefix.
4375
a0145030
AB
43762015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4377
4378 * gdb.base/completion.exp: Add test for completion of layout
4379 names.
4380
ebe3b578
AB
43812015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * lib/gdb.exp (skip_tui_tests): New proc.
4384 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4385
84204ed7
PA
43862015-05-19 Pedro Alves <palves@redhat.com>
4387
4388 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4389 Save the whole env array instead of just HOME. Unset HISTSIZE in
4390 the environment while testing. Restore whole environment
4391 afterwards.
4392
37442ce1
DE
43932015-05-16 Doug Evans <xdje42@gmail.com>
4394
4395 * gdb.guile/scm-ports.c: New file.
4396 * gdb.guile/scm-ports.exp: Add memory port tests.
4397
36de76f9
JK
43982015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4399
4400 * gdb.compile/compile-print.c: New file.
4401 * gdb.compile/compile-print.exp: New file.
4402
3a9558c4
JK
44032015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4404
4405 * gdb.compile/compile-ops.exp: Cast param to void.
4406 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4407 (compile code struct_object.selffield = &struct_object): Add xfail.
4408
aa715135
JG
44092015-05-15 Joel Brobecker <brobecker@adacore.com>
4410
4411 * gdb.ada/arr_enum_with_gap: New testcase.
4412
931e5bc3
JG
44132015-05-15 Joel Brobecker <brobecker@adacore.com>
4414
4415 * gdb.ada/byte_packed_arr: New testcase.
4416
9cd4d857
JB
44172015-05-15 Joel Brobecker <brobecker@adacore.com>
4418
4419 * gdb.ada/pckd_neg: New testcase.
4420
ebfd00d2
PP
44212015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4422
4423 PR gdb/17820
4424 * gdb.base/gdbinit-history.exp: New test.
4425 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4426 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4427
4c082a81
SC
44282015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4429
4430 * gdb.python/py-xmethods.cc: Enhance test case.
4431 * gdb.python/py-xmethods.exp: New tests.
4432 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4433 function.
4434 (B_indexoper): Likewise.
4435 (global_dm_list) : Add new xmethod worker functions.
4436
f7797074
SDJ
44372015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4438
4439 * gdb.base/coredump-filter.exp: Correctly unset
4440 "coredump_var_addr" array.
4441
a4674e4e
PA
44422015-05-08 Pedro Alves <palves@redhat.com>
4443
4444 * gdb.server/non-existing-program.exp: Unset spawn_id.
4445
df2eb078
SC
44462015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4447
4448 PR python/18291
4449 * gdb.python/py-xmethods.exp: Add tests.
4450
422349a3
YQ
44512015-05-08 Yao Qi <yao.qi@linaro.org>
4452
4453 PR gdb/18208
4454 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4455 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4456 function set_coredump_filter, and remove remote_exec call.
4457 Remove argument ipid. Callers update.
4458 (top level): Don't get inferior's PID.
4459
63fc80ce
AA
44602015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461
4462 * gdb.base/watch_thread_num.exp: Skip test on targets without
4463 access watchpoints.
4464
80ad801e
PA
44652015-05-06 Pedro Alves <palves@redhat.com>
4466
4467 PR server/18081
4468 * gdb.server/non-existing-program.exp: New file.
4469
0fa7fe50
JB
44702015-05-05 Joel Brobecker <brobecker@adacore.com>
4471
4472 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4473
3ea89b92
PMR
44742015-05-05 Joel Brobecker <brobecker@adacore.com>
4475
4476 * gdb.ada/out_of_line_in_inlined: New testcase.
4477
87b8eff0
JB
44782015-05-05 Joel Brobecker <brobecker@adacore.com>
4479
4480 * gdb.ada/var_rec_arr: New testcase.
4481
5fccc635
YQ
44822015-04-30 Yao Qi <yao.qi@linaro.org>
4483
4484 * gdb.base/break-idempotent.exp: If
4485 skip_hw_watchpoint_multi_tests returns true, skip the tests
4486 on "rwatch" and "awatch".
4487
42d38f42
YQ
44882015-04-30 Yao Qi <yao.qi@linaro.org>
4489
4490 * gdb.base/relativedebug.exp: Invoke gdb command
4491 "info sharedlibrary", and if libc.so doesn't have debug info,
4492 skip the test.
4493
2ce1cdbf
DE
44942015-04-29 Doug Evans <dje@google.com>
4495
4496 * gdb.python/py-xmethods.exp: Add ptype tests.
4497 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4498 get_result_type method.
4499
f24a38c5
LM
45002015-04-29 Luis Machado <lgustavo@codesourcery.com>
4501
4502 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4503 the target does not support hardware watchpoints.
4504
ecbf2b3c
LM
45052015-04-29 Luis Machado <lgustavo@codesourcery.com>
4506
4507 * gdb.base/break-always.exp: Abort testing if writing to memory
4508 causes an error.
4509
34f5f757
DE
45102015-04-28 Doug Evans <dje@google.com>
4511
4512 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4513 * gdb.python/py-pp-registration.exp: ... here. New file.
4514 * gdb.python/py-pp-registration.c: New file.
4515 * gdb.python/py-pp-registration.py: New file.
4516
69b4374a
DE
45172015-04-28 Doug Evans <dje@google.com>
4518
4519 * gdb.python/py-bad-printers.c: New file.
4520 * gdb.python/py-bad-printers.py: New file.
4521 * gdb.python/py-bad-printers.exp: New file.
4522
59fb7612
SS
45232015-04-28 Sasha Smundak <asmundak@google.com>
4524
4525 * gdb.python/py-type.exp: New test.
4526
2631b16a
AW
45272015-04-28 Andy Wingo <wingo@igalia.com>
4528
4529 * gdb.python/py-parameter.exp:
4530 * gdb.guile/scm-parameter.exp: Escape the path that we are
4531 matching against, as it might contain characters that are special
4532 to regular expressions.
4533
460efde1
JB
45342015-04-27 Joel Brobecker <brobecker@adacore.com>
4535
4536 * gdb.ada/rec_comp: New testcase.
4537
2d369d8e
SDJ
45382015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4539
4540 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4541 before using it.
4542
cf75d6c3
AB
45432015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4544
4545 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4546 new tests for verilog output.
4547
8dbe7ca5
YQ
45482015-04-24 Yao Qi <yao.qi@linaro.org>
4549
4550 * boards/remote-gdbserver-on-localhost.exp: New file.
4551
4ef9fb2f
PA
45522015-04-23 Pedro Alves <palves@redhat.com>
4553
4554 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4555 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4556 "end of file", remove $inferior_spawn_id from the indirect list.
4557
0a803169
PA
45582015-04-23 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4561
749ef8f8
PA
45622015-04-23 Pedro Alves <palves@redhat.com>
4563
4564 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4565 on $any_spawn_id instead of only on $gdb_spawn_id.
4566
8aae4344
PM
45672015-04-21 Pierre Muller <muller@sourceware.org>
4568
4569 PR pascal/17815
4570 * lib/pascal.exp (gpc_compile): Add new option "class".
4571 (fpc_compile): Likewise.
4572 * gdb.pascal/case-insensitive-symbols.pas: New file.
4573 * gdb.pascal/case-insensitive-symbols.exp: New file.
4574
1586c8fb
GB
45752015-04-20 Gary Benson <gbenson@redhat.com>
4576
4577 * gdb.base/attach.exp: Fix three extended remote failures.
4578
1b6e6f5c
GB
45792015-04-17 Gary Benson <gbenson@redhat.com>
4580
4581 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4582 the main executable over the remote protocol.
4583
e797481d
PA
45842015-04-16 Pedro Alves <palves@redhat.com>
4585
4586 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4587 a new gdbserver if gdbserver_reconnect_p is set.
4588
1ca99c42
PA
45892015-04-16 Pedro Alves <palves@redhat.com>
4590
4591 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4592 is set, don't exit gdbserver.
4593
af9fd6f8
AA
45942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4595
4596 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4597 appropriate .insn, such that an older assembler can be used.
4598 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4599 the z/Architecture instruction set on 31-bit targets as well.
4600
04ff1e61
AA
46012015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4602
4603 * gdb.go/handcall.exp: Remove all logic related to the first
4604 breakpoint and rely on go_runto_main instead.
4605 * gdb.go/strings.exp: Likewise.
4606 * gdb.go/unsafe.exp: Likewise.
4607 * gdb.go/hello.exp: Likewise. Also rename the remaining
4608 breakpoint marker to "breakpoint 1".
4609 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4610 * gdb.go/strings.go: Likewise.
4611 * gdb.go/unsafe.go: Likewise.
4612 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4613 "set breakpoint 2 here" and rename the remaining breakpoint marker
4614 to "breakpoint 1".
4615
40d2f8d6
SM
46162015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4617
4618 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4619 if itertools.imap is not present.
4620 * gdb.python/py-objfile.exp: Add parentheses.
4621 * gdb.python/py-type.exp: Same.
4622 * gdb.python/py-unwind-maint.py: Same.
4623
8cbc97c6
YQ
46242015-04-15 Yao Qi <yao.qi@linaro.org>
4625
4626 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4627 of ":$ptr_size" and set its form explicitly.
4628
45fd756c
YQ
46292015-04-15 Pedro Alves <palves@redhat.com>
4630 Yao Qi <yao.qi@linaro.org>
4631
4632 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4633 timeout by factor of 4.
4634 (test_regular_watch): Likewise.
4635 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4636 * gdb.reverse/sigall-reverse.exp: Likewise.
4637 * gdb.reverse/until-precsave.exp: Likewise.
4638 * lib/gdb.exp (with_timeout_factor): New proc.
4639 (gdb_expect): Move some code to ...
4640 (get_largest_timeout): ... here. New procedure.
4641
9e811bc3
LM
46422015-04-14 Luis Machado <lgustavo@codesourcery.com>
4643
4644 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4645
0ff6fcb2
LM
46462015-04-13 Luis Machado <lgustavo@codesourcery.com>
4647
4648 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4649 to write to the .text section.
4650
7578d5f7
LM
46512015-04-13 Luis Machado <lgustavo@codesourcery.com>
4652
4653 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4654 Handle the case of targets that do not provide PID information.
4655
2efe15c4
YQ
46562015-04-13 Yao Qi <yao.qi@linaro.org>
4657
4658 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4659 and use expect instead of gdb_expect.
4660
8cd8f2f8
SDJ
46612015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4662
4663 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4664 "coredump_var_addr" to avoid naming conflict with other testcases.
4665
9ee41772
PA
46662015-04-10 Pedro Alves <palves@redhat.com>
4667
4668 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4669 gdb_test_sequence and gdb_assert.
4670
07473109
PA
46712015-04-10 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4674 test messages that don't include the breakpoint address.
4675
de3db44c
YQ
46762015-04-10 Yao Qi <yao.qi@linaro.org>
4677
4678 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4679 false for some offset and width combinations which aren't
4680 supported by linux kernel.
4681
c79d856c
PA
46822015-04-10 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4685 procedure, factored out from ...
4686 (top level): ... here. Add "set displaced-stepping" testing axis.
4687 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4688 parameter "displaced". Use it.
4689 (top level): Use foreach and add "set displaced-stepping" testing
4690 axis.
4691
ebc90b50
PA
46922015-04-10 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4695 Remove comment.
4696 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4697 both the address of the instruction that triggers the watchpoint
4698 and the address of the instruction immediately after, and use
4699 those addresses for the test. Fix comment.
4700
8f572e5c
PA
47012015-04-10 Pedro Alves <palves@redhat.com>
4702
4703 * gdb.base/sigstep.exp (breakpoint_to_handler)
4704 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4705 Test "backtrace" in handler.
4706 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4707 (top level): Add new "displaced" test axis to
4708 breakpoint_to_handler, breakpoint_to_handler_entry and
4709 breakpoint_over_handler.
4710
8d707a12
PA
47112015-04-10 Pedro Alves <palves@redhat.com>
4712
4713 PR gdb/18216
4714 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4715
ef713951
YQ
47162015-04-10 Yao Qi <yao.qi@linaro.org>
4717
4718 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4719 (test_add_rn_pc): New function.
4720 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4721 (top level): Invoke test_add_rn_pc.
4722
906d60cf
PA
47232015-04-10 Pedro Alves <palves@redhat.com>
4724
4725 PR gdb/13858
4726 * gdb.base/step-over-no-symbols.exp: New file.
4727
f2983cc3
AW
47282015-04-09 Andy Wingo <wingo@igalia.com>
4729
4730 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4731 after the Python tests.
4732
6d62641c
SDJ
47332015-04-08 Keith Seitz <keiths@redhat.com>
4734
4735 PR python/16699
4736 * gdb.python/py-completion.exp: New tests for completion.
4737 * gdb.python/py-completion.py (CompleteLimit1): New class.
4738 (CompleteLimit2): Likewise.
4739 (CompleteLimit3): Likewise.
4740 (CompleteLimit4): Likewise.
4741 (CompleteLimit5): Likewise.
4742 (CompleteLimit6): Likewise.
4743 (CompleteLimit7): Likewise.
4744
f3770638
PA
47452015-04-08 Pedro Alves <palves@redhat.com>
4746
4747 PR gdb/18214
4748 PR gdb/18216
4749 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4750 function.
4751 (main): Install it as SIGUSR1 handler.
4752 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4753 parameter. Always use "setup" as prefix. Toggle "set
4754 displaced-stepping" off/on depending on global. Don't switch to
4755 thread 1 here.
4756 (top level): Add displaced stepping "off/on" test axis. Update
4757 "setup" calls. Wrap each subtest with with_test_prefix. Test
4758 continuing with a queued signal in each thread.
4759
4496bed7
PA
47602015-04-08 Pedro Alves <palves@redhat.com>
4761
4762 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4763 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4764 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4765 Return early if running to main fails.
4766 * gdb.trace/while-stepping.exp: Likewise.
4767
b97fde92
PA
47682015-04-07 Pedro Alves <palves@redhat.com>
4769
4770 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4771 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4772 interact with inferior program.
4773
f71c18e7
PA
47742015-04-07 Pedro Alves <palves@redhat.com>
4775
4776 * lib/gdb.exp (inferior_spawn_id): New global.
4777 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4778 spawn id after processing the user code.
4779 (default_gdb_start): Set inferior_spawn_id.
4780 (send_inferior): New procedure.
4781 * lib/gdbserver-support.exp (gdbserver_start): Set
4782 inferior_spawn_id.
4783 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4784
6423214f
PA
47852015-04-07 Pedro Alves <palves@redhat.com>
4786
4787 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4788 * lib/gdbserver-support.exp (gdbserver_start): Make
4789 $server_spawn_id global.
4790 (gdbserver_start): Don't wait for gdbserver's spawn id with
4791 expect_background.
4792 (close_gdbserver): New procedure.
4793 (gdb_exit): Rename the default version and reimplement.
4794
71c0ee8c
PA
47952015-04-07 Pedro Alves <palves@redhat.com>
4796
72f4393d 4797 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4798 append the substituted item, not the original item.
4799
203bc29b
PA
48002015-04-07 Pedro Alves <palves@redhat.com>
4801
4802 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4803 gdb_expect.
4804
508a3ddf
PA
48052015-04-07 Pedro Alves <palves@redhat.com>
4806
4807 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4808 output appearing once only.
4809
9f6dbe2b
PA
48102015-04-07 Pedro Alves <palves@redhat.com>
4811
4812 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4813 that doesn't expect anything. Return early if running to main
4814 fails.
4815
337532fa
YQ
48162015-04-07 Yao Qi <yao.qi@linaro.org>
4817
4818 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4819 (child_function): Call alarm.
4820 (main): Move call to alarm into the loop.
4821 * gdb.threads/non-stop-fair-events.exp: Build program with
4822 -DTIMEOUT=$timeout.
4823
01b622d4
DE
48242015-04-06 Doug Evans <xdje42@gmail.com>
4825
4826 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4827 Fix dest parameter to board_info.
4828 (fpc_compile): Ditto.
4829 (gdb_compile_pascal): Rename dest arg to destfile.
4830
961f4160
PMR
48312015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4832
4833 * gdb.ada/funcall_ref.exp: New file.
4834 * gdb.ada/funcall_ref/foo.adb: New file.
4835
cafda597
YQ
48362015-04-02 Yao Qi <yao.qi@linaro.org>
4837
4838 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4839 is remote.
4840
fed040c6
GB
48412015-04-02 Gary Benson <gbenson@redhat.com>
4842
4843 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4844
d11916aa
SS
48452015-04-01 Sasha Smundak <asmundak@google.com>
4846
4847 * gdb.python/py-unwind-maint.c: New file.
4848 * gdb.python/py-unwind-maint.exp: New test.
4849 * gdb.python/py-unwind-maint.py: New file.
4850 * gdb.python/py-unwind.c: New file.
4851 * gdb.python/py-unwind.exp: New test.
4852 * gdb.python/py-unwind.py: New test.
4853
a1471180
PA
48542015-04-01 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4857 to fail instead of non-existent $test.
4858
0bbeccb1
PA
48592015-04-01 Pedro Alves <palves@redhat.com>
4860
4861 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4862 GDBFLAGS if not empty.
4863
3c724c8c
PMR
48642015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4865
4866 * gdb.ada/complete.exp: Remove "multi_line".
4867 * gdb.ada/info_exc.exp: Remove "multi_line".
4868 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4869 * gdb.ada/ptype_field.exp: Remove "multi_line".
4870 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4871 * gdb.ada/tagged.exp: Remove "multi_line".
4872 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4873 [multi_line ...]
4874 * gdb.btrace/delta.exp: Likewise.
4875 * gdb.btrace/exception.exp: Likewise.
4876 * gdb.btrace/function_call_history.exp: Likewise.
4877 * gdb.btrace/instruction_history.exp: Likewise.
4878 * gdb.btrace/nohist.exp: Likewise.
4879 * gdb.btrace/record_goto.exp: Likewise.
4880 * gdb.btrace/segv.exp: Likewise.
4881 * gdb.btrace/stepi.exp: Likewise.
4882 * gdb.btrace/tailcall.exp: Likewise.
4883 * gdb.btrace/unknown_functions.exp: Likewise.
4884 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4885 * lib/gdb.exp: Add the "multi_line" helper.
4886
4eec2deb
PA
48872015-04-01 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.threads/tid-reuse.c: New file.
4890 * gdb.threads/tid-reuse.exp: New file.
4891
df8411da
SDJ
48922015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4893
4894 PR corefiles/16092
4895 * gdb.base/coredump-filter.c: New file.
4896 * gdb.base/coredump-filter.exp: Likewise.
4897
6ef37366
PM
48982015-03-27 Petr Machata <pmachata@redhat.com>
4899
4900 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4901 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4902 (Dwarf::assemble): Initialize them.
4903 (Dwarf::lines): New function.
4904
7ec911b0
JT
49052015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4906
4907 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4908 SYMBOL_PREFIX for x86_64-*-cygwin.
4909
ff908ebf
AW
49102015-03-26 Andy Wingo <wingo@igalia.com>
4911
4912 PR symtab/18148
4913 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4914 const_value but not a location.
4915 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4916 location defined in non-main CUs are visible.
4917
6d5f0679
YQ
49182015-03-26 Yao Qi <yao.qi@linaro.org>
4919
4920 PR testsuite/18139
4921 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4922 Add a line number entry for the same line.
4923 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4924 Add a line number entry for the same line.
4925
2898689b
YQ
49262015-03-26 Yao Qi <yao.qi@linaro.org>
4927
4928 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4929 .int 0.
4930 (func): Likewise. Add .Lfunc_1 label.
4931 Use .Lfunc_1 label.
4932 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4933 .int 0.
4934 (func): Likewise.
4935 Use .Lfunc_1 label.
4936
85180498
YQ
49372015-03-26 Yao Qi <yao.qi@linaro.org>
4938
4939 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4940 Call gdb_compile instead to compile each .s files without debug
4941 information.
4942
8aa08a8d
YQ
49432015-03-26 Yao Qi <yao.qi@linaro.org>
4944
4945 * gdb.base/savedregs.exp (process_saved_regs): Make
4946 "Saved registers:" optional in the pattern.
4947
66849923
MM
49482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4949
4950 * gdb.btrace/next.exp: Merged into step.exp.
4951 * gdb.btrace/finish.exp: Merged into step.exp.
4952 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4953 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4954 "record goto" and checking the exact replay position.
4955 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4956 check for "Recording format" in "info record" output.
4957 * gdb.btrace/record_goto.exp: Choose test file based on target.
4958 * gdb.btrace/x86-record_goto.S: Renamed into ...
4959 * gdb.btrace/x86_64-record_goto.S: ... this.
4960 * gdb.btrace/i686-record_goto.S: New.
4961 * gdb.btrace/x86-tailcall.S: Renamed into ...
4962 * gdb.btrace/x86_64-tailcall.S: ... this.
4963 * gdb.btrace/i686-tailcall.S: New.
4964 * gdb.btrace/x86-tailcall.c: Renamed into ...
4965 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4966 separate statements. Update test.
4967 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4968 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4969 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4970 * gdb.btrace/tailcall.exp: Choose test file based on target.
4971 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4972
11cc1b74
MM
49732015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4974
4975 * gdb.btrace/exception.exp: Increase BTS buffer size.
4976
a25d8bf9
PA
49772015-03-24 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4980
856e7dd6
PA
49812015-03-24 Pedro Alves <palves@redhat.com>
4982
4983 * gdb.threads/schedlock.exp (test_step): No longer expect that
4984 "set scheduler-locking step" with "next" over a function call runs
4985 threads unlocked.
4986
ad235a41
AT
49872015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4988
4989 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4990
15630549
AT
49912015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4992
4993 PR breakpoints/16466
4994 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4995 * gdb.mi/mi-pending.c (thread_func): New function.
4996 (int main): Add threading support required.
4997 * gdb.mi/mi-pending.exp: Add tests for this issue.
4998 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4999 (pendfunc2): Remove stdio dependency.
5000 * gdb.mi/mi-pendshr2.c: New file.
5001
693dca06
KS
50022015-03-23 Keith Seitz <keiths@redhat.com>
5003
5004 * gdb.linespec/keywords.c: New file.
5005 * gdb.linespec/keywords.exp: New file.
5006
7e993ebf
KS
50072015-03-23 Keith Seitz <keiths@redhat.com>
5008
5009 PR gdb/18021
5010 * gdb.dwarf2/staticvirtual.exp: New test.
5011
bc23328c
JK
50122015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5015 * README: Remove HP-UX and gdb.hp.
5016 (configuration):
5017 * configure: Regenerate.
5018 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5019 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5020 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5021 gdb.hp/gdb.defects/Makefile.
5022 * gdb.hp/Makefile.in: File deleted.
5023 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5024 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5025 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5026 * gdb.hp/gdb.aCC/run.c: File deleted.
5027 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5028 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5029 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5030 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5031 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5032 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5033 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5034 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5035 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5036 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5037 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5038 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5039 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5040 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5041 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5042 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5043 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5044 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5045 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5046 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5047 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5048 * gdb.hp/gdb.compat/average.c: File deleted.
5049 * gdb.hp/gdb.compat/sum.c: File deleted.
5050 * gdb.hp/gdb.compat/xdb.c: File deleted.
5051 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5052 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5053 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5054 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5055 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5056 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5057 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5058 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5059 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5060 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5061 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5062 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5063 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5064 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5065 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5066 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5067 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5068 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5069 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5070 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5071 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5072 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5073 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5074 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5075 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5076 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5077 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5078 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5079 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5080 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5081 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5082 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5083 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5084 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5085 * gdb.hp/tools/odump: File deleted.
5086
8bf3b159
PA
50872015-03-19 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5090 (saw_thread_3): New globals.
5091 (top level): Increment them when an event for the corresponding
5092 thread is seen.
5093 (no thread starvation): New test.
5094
eb54c8bf
PA
50952015-03-19 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.threads/continue-pending-status.c: New file.
5098 * gdb.threads/continue-pending-status.exp: New file.
5099
32d2e5d6
PA
51002015-03-18 Pedro Alves <palves@redhat.com>
5101
5102 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5103 Use gdb_is_target_remote instead of is_remote. Use
5104 gdb_test_multiple instead of gdb_expect. Exit early if
5105 gdb_test_multiple hits its internal matches. Tighten stepi tests
5106 expected output. Fail on exit with any signal, instead of just
5107 SIGILL.
5108
f68f11b7
YQ
51092015-03-18 Yao Qi <yao.qi@linaro.org>
5110
5111 PR tdep/18107
5112 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5113 variable.
5114 * gdb.base/catch-syscall.exp: Don't skip it on
5115 aarch64*-*-linux* target. Remove elements in all_syscalls.
5116 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5117 target.
5118 (setup_all_syscalls): New proc.
5119
ca5fd19b
YQ
51202015-03-16 Yao Qi <yao.qi@linaro.org>
5121
5122 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5123 (top level): Skip tests if valid_addr_p returns false for
5124 $cmd1 or $cmd2.
5125
85642ba0
AW
51262015-03-11 Andy Wingo <wingo@igalia.com>
5127
5128 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5129
e03f9645
YQ
51302015-03-11 Yao Qi <yao.qi@linaro.org>
5131
5132 * gdb.base/catch-syscall.exp: Fix typo in comments.
5133
5d0962b2
YQ
51342015-03-11 Yao Qi <yao.qi@linaro.org>
5135
5136 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5137
b2df3cef
PA
51382015-03-09 Pedro Alves <palves@redhat.com>
5139
5140 * dg-extract-results.py: Delete.
5141
ef878e53
PA
51422015-03-09 Pedro Alves <palves@redhat.com>
5143
5144 Merge dg-extract-results.sh from GCC upstream (r218843).
5145
5146 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5147 * dg-extract-results.sh: Use --text with grep to avoid issues with
5148 binary files. Fall back to cat -v, if that doesn't work.
5149
9494d219
PA
51502015-03-05 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5153
a8d9763a
SM
51542015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5155
5156 * lib/mi-support.exp (mi_expect_interrupt): Accept
5157 alternative event for when in all-stop mode.
5158
be9957b8
PA
51592015-03-04 Pedro Alves <palves@redhat.com>
5160
5161 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5162
d57be0f4 51632015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5164
5165 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5166
c214c7cf
AA
51672015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5168
5169 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5170 regexps for GDB's current line display, accept a hex address
5171 preceding the line number.
5172
6d74a497
AA
51732015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5174
5175 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5176 the 'arch1' variable for "s390*-linux*" targets.
5177
511aee7c
PA
51782015-03-04 Pedro Alves <palves@redhat.com>
5179
5180 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5181 (main): Pass missing retval argument to pthread_join call.
5182
95e50b27
PA
51832015-03-02 Pedro Alves <palves@redhat.com>
5184
5185 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5186 (top level): Call do_test with non-stop as well.
5187
28054d69
PA
51882015-03-02 Pedro Alves <palves@redhat.com>
5189
5190 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5191 -1.
5192
4fa5d7b4
AA
51932015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5194
5195 * gdb.arch/s390-vregs.exp: New test.
5196 * gdb.arch/s390-vregs.S: New file.
5197
97c18565
PA
51982015-02-27 Pedro Alves <palves@redhat.com>
5199
5200 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5201 call to catch_command_errors.
5202 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5203 catch_command_errors.
5204
a37bfa30
PA
52052015-02-27 Pedro Alves <palves@redhat.com>
5206
5207 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5208 "true" for boolean result.
5209 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5210 prototype of main.
5211
6f98576f
PA
52122015-02-27 Pedro Alves <palves@redhat.com>
5213
5214 * lib/unbuffer_output.c: New file.
5215 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5216 (main): Call gdb_unbuffer_output.
5217
eba5ab56
YQ
52182015-02-27 Yao Qi <yao.qi@linaro.org>
5219
5220 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5221 target.
5222
0def5aaa
DE
52232015-02-26 Doug Evans <dje@google.com>
5224
5225 * gdb.cp/class2.cc (Dbase, D): New classes.
5226 (main): New local delta.
5227 * gdb.cp/class2.exp: Test printing delta.
5228 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5229 (dynbar): New global.
5230 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5231
081a1c2c
JK
52322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5233
5234 * gdb.compile/compile-ifunc.c: New file.
5235 * gdb.compile/compile-ifunc.exp: New file.
5236
2f41223f
AT
52372015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5238
5239 * gdb.base/structs.exp: Check for correct struct on finish.
5240
03eddd80
YQ
52412015-02-26 Yao Qi <yao.qi@linaro.org>
5242
5243 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5244 is zero.
5245
80c57053
JK
52462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5247
5248 * gdb.arch/cordic.ko.bz2: New file.
5249 * gdb.arch/cordic.ko.debug.bz2: New file.
5250 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5251
21613c12
YQ
52522015-02-25 Yao Qi <yao.qi@linaro.org>
5253
5254 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5255 aarch64*-*-* target.
5256
d8b901ed
PA
52572015-02-23 Pedro Alves <palves@redhat.com>
5258
5259 * lib/gdb.exp (delete_breakpoints): Rewrite using
5260 gdb_test_multiple.
5261
e5b85ead
PA
52622015-02-23 Pedro Alves <palves@redhat.com>
5263
5264 * gdb.base/info-os.c: Include stdlib.h.
5265
85c3a371
DE
52662015-02-22 Doug Evans <xdje42@gmail.com>
5267
5268 PR symtab/17855
5269 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5270 is read after symbols have been re-read.
5271 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5272 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5273
96553a0c
DE
52742015-02-21 Doug Evans <dje@google.com>
5275
5276 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5277
97a0c697
JK
52782015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5279
5280 PR corefiles/17808
5281 * gdb.arch/i386-biarch-core.core.bz2: New file.
5282 * gdb.arch/i386-biarch-core.exp: New file.
5283
a47cd6e9
PA
52842015-02-21 Pedro Alves <palves@redhat.com>
5285
5286 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5287 runto_main fails.
5288
c5facdc4
PA
52892015-02-20 Pedro Alves <palves@redhat.com>
5290
5291 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5292 info probes.
5293
2db9a427
PA
52942015-02-20 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5297
60fb7e9e
PA
52982015-02-20 Pedro Alves <palves@redhat.com>
5299
5300 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5301 clean_restart before gdb_target_supports_trace.
5302
5c5019c2
PA
53032015-02-20 Pedro Alves <palves@redhat.com>
5304
5305 PR threads/18006
5306 * gdb.threads/clone-thread_db.c: New file.
5307 * gdb.threads/clone-thread_db.exp: New file.
5308
c9587f88
AT
53092015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5310
5311 PR breakpoints/16812
5312 * gdb.base/catch-gdb-caused-signals.c: New file.
5313 * gdb.base/catch-gdb-caused-signals.exp: New file.
5314
f6a88844
JM
53152015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5316
5317 * configure: Regenerated.
5318 * configure.ac: Use GDB_AC_TRANSFORM.
5319 * aclocal.m4: sinclude ../transform.m4.
5320
497c491b
JM
53212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5322
5323 * lib/dtrace.exp: New file.
5324 * gdb.base/dtrace-probe.exp: Likewise.
5325 * gdb.base/dtrace-probe.d: Likewise.
5326 * gdb.base/dtrace-probe.c: Likewise.
5327 * lib/pdtrace.in: Likewise.
5328 * configure.ac: Output variables with the transformed names of
5329 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5330 * configure: Regenerated.
5331
03e98035
JM
53322015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5333
5334 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5335 expected message when trying to access $_probe_* convenience
5336 variables while not on a probe.
5337
63cc30e9
JK
53382015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5339
5340 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5341
0703599a
PA
53422015-02-11 Pedro Alves <pedro@codesourcery.com>
5343
5344 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5345 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5346
7e60a48e
DE
53472015-02-10 Doug Evans <xdje42@gmail.com>
5348
5349 * lib/gdb.exp (gdb_load): Always return a result.
5350
01b088bc
PA
53512015-02-10 Pedro Alves <palves@redhat.com>
5352
5353 * gdb.threads/signal-sigtrap.c: New file.
5354 * gdb.threads/signal-sigtrap.exp: New file.
5355
b05ec7a5
AT
53562015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5357
5358 * gdb.trace/no-attach-trace.c: New file.
5359 * gdb.trace/no-attach-trace.exp: New file.
5360
a2c2acaf
MW
53612015-02-09 Mark Wielaard <mjw@redhat.com>
5362
5363 * gdb.dwarf2/atomic.c: New file.
5364 * gdb.dwarf2/atomic-type.exp: Likewise.
5365
31fd9caa
MM
53662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5367
5368 * gdb.btrace/buffer-size.exp: Update "info record" output.
5369 * gdb.btrace/delta.exp: Update "info record" output.
5370 * gdb.btrace/enable.exp: Update "info record" output.
5371 * gdb.btrace/finish.exp: Update "info record" output.
5372 * gdb.btrace/instruction_history.exp: Update "info record" output.
5373 * gdb.btrace/next.exp: Update "info record" output.
5374 * gdb.btrace/nexti.exp: Update "info record" output.
5375 * gdb.btrace/step.exp: Update "info record" output.
5376 * gdb.btrace/stepi.exp: Update "info record" output.
5377 * gdb.btrace/nohist.exp: Update "info record" output.
5378
d33501a5
MM
53792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5380
5381 * gdb.btrace/buffer-size: New.
5382
f4abbc16
MM
53832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5384
5385 * gdb.btrace/delta.exp: Update "info record" output.
5386 * gdb.btrace/enable.exp: Update "info record" output.
5387 * gdb.btrace/finish.exp: Update "info record" output.
5388 * gdb.btrace/instruction_history.exp: Update "info record" output.
5389 * gdb.btrace/next.exp: Update "info record" output.
5390 * gdb.btrace/nexti.exp: Update "info record" output.
5391 * gdb.btrace/step.exp: Update "info record" output.
5392 * gdb.btrace/stepi.exp: Update "info record" output.
5393 * gdb.btrace/nohist.exp: Update "info record" output.
5394
b9d61307
SM
53952015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5396
5397 PR gdb/15678
5398 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5399
e584fdbc
PA
54002015-02-06 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5403 macro.
5404 (seconds_left, again): New globals.
5405 (main): Wait seconds_left in a 1-second sleep loop instead of
5406 sleeping 180 seconds. If 'again' is set, reset the seconds
5407 counter.
5408 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5409 'again' in the inferior before detaching. Print the seconds left.
5410 (options): New global.
5411 (top level): Build program with -DTIMEOUT=$timeout.
5412
77f41761
PA
54132015-02-06 Pedro Alves <palves@redhat.com>
5414
5415 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5416 determine how many seconds to pass to 'alarm'.
5417 * gdb.base/gdb-sigterm.exp (top level): Build program with
5418 -DTIMEOUT=$timeout.
5419 (do_test): Return success/failure indication. Add more verbose
5420 logging. Don't fail if 200 single steps are seen. Instead, fail
5421 when the test times out.
5422 (passes): New global.
5423 (top level): Break the testing loop if testing fails on any
5424 iteration. Use gdb_assert.
5425
b9394193
DB
54262015-02-04 Don Breazeal <donb@codesourcery.com>
5427
5428 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5429 and initialize them.
5430 (ipc_cleanup): New function.
5431 (main): Don't declare shmid, semid, and msqid. Add a call to
5432 atexit so that we call ipc_cleanup on exit.
5433
42d9e528
PA
54342015-02-04 Pedro Alves <palves@redhat.com>
5435
5436 * boards/native-extended-gdbserver.exp: Remove any target variant
5437 specifications from the board name before clearing the isremote
5438 flag from board_info.
5439
ae6ae975
DE
54402015-01-31 Doug Evans <xdje42@gmail.com>
5441
5442 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5443
cfb069a8
GB
54442015-01-31 Gary Benson <gbenson@redhat.com>
5445
5446 * gdb.base/completion.exp: Disable completion limiting for
5447 existing tests. Add new tests to check completion limiting.
5448 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5449
5dd31d79
DE
54502015-01-31 Doug Evans <xdje42@gmail.com>
5451
5452 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5453
9f050062
DE
54542015-01-31 Doug Evans <xdje42@gmail.com>
5455
5456 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5457 entries. Duplicate file section script entries.
5458 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5459 inlined entries. Add test for safe-path rejection.
5460 * gdb.python/py-section-script.c: Add duplicate inlined section script
5461 entries. Duplicate file section script entries.
5462 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5463 inlined entries. Add test for safe-path rejection.
5464
df25ebbd
JB
54652015-01-29 Joel Brobecker <brobecker@adacore.com>
5466
5467 * gdb.ada/disc_arr_bound: New testcase.
5468
4a0ca9ec
JB
54692015-01-29 Joel Brobecker <brobecker@adacore.com>
5470
5471 * gdb.ada/mi_var_array: New testcase.
5472
3a8b707a
DE
54732015-01-27 Doug Evans <dje@google.com>
5474
5475 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5476 Add test for objfile.filename, objfile.username after objfile
5477 has been unloaded.
5478
f8313f6e
JB
54792015-01-26 Joel Brobecker <brobecker@adacore.com>
5480
5481 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5482 the second test to print the name attribute of value
5483 returned by the call to gdb.lookup_type, and adjust
5484 the expected output accordingly.
5485
37bc665e
MW
54862015-01-25 Mark Wielaard <mjw@redhat.com>
5487
5488 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5489 * gdb.base/disp-step-fork.c: Include unistd.h.
5490 * gdb.base/siginfo-obj.c: Include stdio.h.
5491 * gdb.base/siginfo-thread.c: Likewise.
5492 * gdb.mi/non-stop.c: Include unistd.h.
5493 * gdb.mi/nsthrexec.c: Include stdio.h.
5494 * gdb.mi/pthreads.c: Include unistd.h.
5495 * gdb.modula2/unbounded1.c (main): Declare returns int.
5496 * gdb.reverse/consecutive-reverse.c: Likewise.
5497 * gdb.threads/create-fail.c: Include unistd.h.
5498 * gdb.threads/killed.c: Likewise.
5499 * gdb.threads/linux-dp.c: Likewise.
5500 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5501 * gdb.threads/non-ldr-exc-2.c: Likewise.
5502 * gdb.threads/non-ldr-exc-3.c: Likewise.
5503 * gdb.threads/non-ldr-exc-4.c: Likewise.
5504 * gdb.threads/pthreads.c: Include unistd.h.
5505 (main): Declare returns int.
5506 * gdb.threads/tls-main.c (foo): New declaration.
5507 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5508
f7e5394d
SM
55092015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5510
5511 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5512 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5513
743649fd
MW
55142015-01-15 Mark Wielaard <mjw@redhat.com>
5515
5516 * gdb.base/noreturn-return.c: New file.
5517 * gdb.base/noreturn-return.exp: New file.
5518 * gdb.base/noreturn-finish.c: New file.
5519 * gdb.base/noreturn-finish.exp: New file.
5520
198297aa
PA
55212015-01-23 Pedro Alves <palves@redhat.com>
5522
5523 * gdb.threads/continue-pending-after-query.c: New file.
5524 * gdb.threads/continue-pending-after-query.exp: New file.
5525
717cf30c
AG
55262015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5527 Simon Marchi <simon.marchi@ericsson.com>
5528
5529 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5530 * gdb.base/valgrind-db-attach.exp: Same.
5531 * gdb.base/valgrind-infcall.exp: Same.
5532 * lib/mi-support.exp (default_mi_gdb_start): Same.
5533 * lib/prompt.exp (default_prompt_gdb_start): Same.
5534 * lib/gdb.exp (default_gdb_spawn): Same.
5535 (gdb_interact): New.
5536
5537
4b62a76e
JK
55382015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5539
5540 * gdb.compile/compile.exp (pointer to jit function): New test.
5541
b4cdae6f
WW
55422015-01-17 Wei-cheng Wang <cole945@gmail.com>
5543
5544 * lib/gdb.exp (supports_process_record): Return true for
5545 powerpc*-*-linux*.
5546 (supports_reverse): Likewise.
5547
d221e7ef
DB
55482015-01-15 Don Breazeal <donb@codesourcery.com>
5549
5550 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5551 instead of checking whether the target board is remote and
5552 use spawn_wait_for_attach instead of exec/sleep.
5553 * gdb.base/attach-twice.exp: Likewise.
5554
bafffb51
JB
55552015-01-15 Joel Brobecker <brobecker@adacore.com>
5556
5557 * gdb.ada/var_arr_attrs: New testcase.
5558
5589af0e
PA
55592015-01-14 Pedro Alves <palves@redhat.com>
5560 Joel Brobecker <brobecker@adacore.com>
5561
5562 PR gdb/17525
5563 * gdb.base/bp-cmds-execution-x-script.c: New file.
5564 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5565 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5566
6c400b59
PA
55672015-01-14 Pedro Alves <palves@redhat.com>
5568
5569 PR cli/17828
5570 * gdb.base/batch-preserve-term-settings.c: New file.
5571 * gdb.base/batch-preserve-term-settings.exp: New file.
5572
e02c96a7
DE
55732015-01-13 Doug Evans <dje@google.com>
5574
5575 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5576 binary.
5577
576fd14c
JB
55782015-01-13 Joel Brobecker <brobecker@adacore.com>
5579
5580 * Makefile.in (clean mostlyclean): Do not delete *.py.
5581
04dccad0
JB
55822015-01-13 Joel Brobecker <brobecker@adacore.com>
5583
5584 * gdb.python/py-lookup-type.exp: New file.
5585
3d230f71
PA
55862015-01-12 Pedro Alves <palves@redhat.com>
5587
5588 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5589 restore GDBFLAGS before returning.
5590
7e67715d
JK
55912015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5592
5593 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5594 is_amd64_regs_target and is_x86_like_target.
5595
f2e0d4b4
DE
55962015-01-11 Doug Evans <xdje42@gmail.com>
5597
5598 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5599 is given without an explicit form.
5600 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5601 attributes.
5602 * gdb.dwarf/corrupt.exp: Ditto.
5603 * gdb.dwarf2/enum-type.exp: Ditto.
5604 * gdb.trace/entry-values.exp: Ditto.
5605 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5606
439250fb
DE
56072015-01-11 Doug Evans <xdje42@gmail.com>
5608
5609 PR gdb/15830
5610 * gdb.base/maint.exp: Remove references to "maint demangle".
5611 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5612 Add tests for explicitly specifying language to demangle.
5613 * gdb.dlang/demangle.exp: Ditto.
5614
ede9f622
PA
56152015-01-09 Pedro Alves <palves@redhat.com>
5616
5617 * gdb.threads/non-stop-fair-events.c: New file.
5618 * gdb.threads/non-stop-fair-events.exp: New file.
5619
a7b796db
PA
56202015-01-09 Pedro Alves <palves@redhat.com>
5621
5622 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5623 the global scope. Set a breakpoint after all threads are started
5624 rather than stepping over two source lines. Expect the prompt.
5625 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5626 global.
5627 (NUM): Now 15.
5628 (main): Use threads_started_barrier to wait for all threads to
5629 start. Main thread no longer calls thread_function. Exit after
5630 180 seconds.
5631 (loop): New function.
5632 (thread_function): Wait on threads_started_barrier barrier. Call
5633 'loop' at each iteration.
5634 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5635 threads have started, instead of hardcoding number of "next"
5636 steps. Use an access watchpoint instead of a write watchpoint.
5637
9665ffdd
PA
56382015-01-09 Pedro Alves <palves@redhat.com>
5639
5640 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5641 (thread_func): Wait on barrier.
5642 (main): Wait for all threads to start before stopping GDB.
5643 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5644 global.
5645 (thread1_func, thread2_func): Wait on barrier.
5646 (main): Wait for all threads to start before stopping GDB.
5647 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5648 New global.
5649 (thread1_func, thread2_func): Wait on barrier.
5650 (main): Wait for all threads to start before stopping GDB.
5651
c945a99f
PA
56522015-01-09 Pedro Alves <palves@redhat.com>
5653
5654 * gdb.threads/attach-many-short-lived-threads.c: New file.
5655 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5656
c1a747c1
PA
56572014-01-09 Pedro Alves <palves@redhat.com>
5658
5659 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5660 instead of to thread 2.
5661 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5662 Add barrier around each pthread_create call instead of around all
5663 calls.
5664 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5665 Set a break on thread_function and have the child threads hit it
5666 one at at a time.
5667
60b3033e
PA
56682015-01-09 Pedro Alves <palves@redhat.com>
5669
5670 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5671 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5672 false.
5673 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5674 checking whether the target board is remote.
5675 * gdb.multi/multi-attach.exp: Likewise.
5676 * gdb.python/py-sync-interp.exp: Likewise.
5677 * gdb.server/ext-attach.exp: Likewise.
5678 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5679 tests that need to attach, instead of checking whether the target
5680 board is remote at the top of the file.
5681
acc018ac
YQ
56822015-01-08 Yao Qi <yao@codesourcery.com>
5683
5684 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5685
50a18af8
JK
56862015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5687
5688 Fix testcase compilation.
5689 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5690
8503d6e1
JB
56912015-01-06 Joel Brobecker <brobecker@adacore.com>
5692
5693 * gdb.python/py-type.exp: Add a couple test about empty
5694 array creation, and negative-length array creation.
5695
cc73dbcc
DE
56962015-01-02 Doug Evans <xdje42@gmail.com>
5697
5698 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5699
0300bbc7
DE
57002015-01-02 Doug Evans <dje@google.com>
5701
5702 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5703
9d85a0ec
YQ
57042014-12-29 Yao Qi <yao@codesourcery.com>
5705
5706 * gdb.trace/entry-values.exp: Update comments. Rename variable
5707 bar_call_foo to returned_from_foo.
5708
87186c6a
MMN
57092014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5710
5711 PR gdb/17394
5712 * gdb.linespec/break-asm-file.c: New file.
5713 * gdb.linespec/break-asm-file.exp: New file.
5714 * gdb.linespec/break-asm-file0.s: New file.
5715 * gdb.linespec/break-asm-file1.s: New file.
5716
1bab7383
YQ
57172014-12-18 Nigel Stephens <nigel@mips.com>
5718 Maciej W. Rozycki <macro@codesourcery.com>
5719
5720 * gdb.base/float.exp: Handle the new output from "info float" on
5721 MIPS targets.
5722
1bc1068a
JK
57232014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 Fix MinGW compilation.
5726 * gdb.compile/compile-ops.exp: Update untested message if
5727 !skip_compile_feature_tests.
5728 * gdb.compile/compile-setjmp.exp: Likewise.
5729 * gdb.compile/compile-tls.exp: Likewise.
5730 * gdb.compile/compile.exp: Likewise.
5731 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5732 supported on this host".
5733
b6615d10
DE
57342014-12-16 Doug Evans <xdje42@gmail.com>
5735
5736 * boards/stabs.exp: New file.
5737
25dda427
AA
57382014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5739
5740 * gdb.base/completion.exp: Adjust to format changes of "maint
5741 print user-registers".
5742
bf330350
CU
57432014-12-16 Catalin Udma <catalin.udma@freescale.com>
5744
5745 PR server/17457
5746 * gdb.arch/aarch64-fp.c: New file.
5747 * gdb.arch/aarch64-fp.exp: New file.
5748
395cf596
SDJ
57492014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5750
5751 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5752 r210637, r210913, r211666, r215400, r215817).
5753
5754 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5755 * dg-extract-results.py: New file.
5756 * dg-extract-results.sh: Use it if the environment seems
5757 suitable.
5758
5759 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5760
5761 * dg-extract-results.py (parse_run): Handle warnings that
5762 are printed before a test harness is run.
5763
5764 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5765
5766 * dg-extract-results.py (Named): Remove __cmp__ method.
5767 (output_variation): Use a key to sort variation.harnesses.
5768
5769 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5770
5771 * dg-extract-results.py: For Python 3, force sys.stdout to
5772 handle surrogate escape sequences.
5773 (safe_open): New function.
5774 (output_segment, main): Use it.
5775
5776 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5777
5778 * dg-extract-results.py (Prog.result_re): Include options
5779 in test name.
5780
5781 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5782
5783 * dg-extract-results.py (output_variation): Always sort if
5784 do_sum.
5785
e882ef3c
SM
57862014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5787
5788 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5789 as long as we get pagination notifications.
5790
4992aa20
JM
57912014-12-15 Jason Merrill <jason@redhat.com>
5792
5793 * Makefile.in (check-gdb.%): Restore.
5794 * README: Mention it.
5795
c1b5a1a6
JB
57962014-12-13 Joel Brobecker <brobecker@adacore.com>
5797
5798 * gdb.ada/str_uninit: New testcase.
5799
5537b577
JK
58002014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5801
5802 PR symtab/17642
5803 * gdb.base/vla-stub-define.c: New file.
5804 * gdb.base/vla-stub.c: New file.
5805 * gdb.base/vla-stub.exp: New file.
5806
bb2ec1b3
TT
58072014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5808 Jan Kratochvil <jan.kratochvil@redhat.com>
5809 Tom Tromey <tromey@redhat.com>
5810
5811 * configure.ac: Add gdb.compile/.
5812 * configure: Regenerate.
5813 * gdb.compile/Makefile.in: New file.
5814 * gdb.compile/compile-ops.exp: New file.
5815 * gdb.compile/compile-ops.c: New file.
5816 * gdb.compile/compile-tls.c: New file.
5817 * gdb.compile/compile-tls.exp: New file.
5818 * gdb.compile/compile-constvar.S: New file.
5819 * gdb.compile/compile-constvar.c: New file.
5820 * gdb.compile/compile-mod.c: New file.
5821 * gdb.compile/compile-nodebug.c: New file.
5822 * gdb.compile/compile-setjmp-mod.c: New file.
5823 * gdb.compile/compile-setjmp.c: New file.
5824 * gdb.compile/compile-setjmp.exp: New file.
5825 * gdb.compile/compile-shlib.c: New file.
5826 * gdb.compile/compile.c: New file.
5827 * gdb.compile/compile.exp: New file.
5828 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5829
4ff709eb
TT
58302014-12-12 Tom Tromey <tromey@redhat.com>
5831
5832 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5833 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5834
6dddd6a5
DE
58352014-12-12 Doug Evans <dje@google.com>
5836
5837 * lib/gdb-python.exp (get_python_valueof): New function.
5838 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5839
71c24708
AA
58402014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5841
5842 * gdb.base/completion.exp: Add test for completion of "info
5843 registers ".
5844
3e29f34a
MR
58452014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5846
5847 * gdb.base/func-ptrs.c: New file.
5848 * gdb.base/func-ptrs.exp: New file.
5849
fc126975
SM
58502014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5851
5852 PR breakpoints/17012
5853 * gdb.base/dprintf-detach.c: New file.
5854 * gdb.base/dprintf-detach.exp: New file.
5855
0a46d518
SM
58562014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5857
5858 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5859 * lib/gdb.exp (target_is_gdbserver): New procedure.
5860
a0be3e44
DE
58612014-12-08 Doug Evans <dje@google.com>
5862
5863 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5864
df1b803a
YQ
58652014-12-05 Yao Qi <yao@codesourcery.com>
5866
5867 * gdb.guile/scm-error.exp: Remove the third argument to
5868 gdb_remote_download.
5869 * gdb.guile/scm-frame-args.exp: Likewise.
5870 * gdb.guile/scm-section-script.exp: Likewise.
5871
ddb9f679
YQ
58722014-12-05 Yao Qi <yao@codesourcery.com>
5873
5874 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5875
86e4ed39
DE
58762014-12-04 Doug Evans <dje@google.com>
5877
5878 * gdb.python/py-objfile.exp: Add tests for
5879 objfile.add_separate_debug_file.
5880
7c50a931
DE
58812014-12-04 Doug Evans <dje@google.com>
5882
5883 * lib/gdb.exp (get_build_id): New function.
5884 (build_id_debug_filename_get): Rewrite to use it.
5885 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5886
621661e3
MR
58872014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5888
5889 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5890 `method(long)', not just 0x0.
5891 * gdb.cp/nsalias.exp: Align code labels to 4.
5892 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5893 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5894 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5895 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5896 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5897 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5898
29f0c3b7
DE
58992014-12-02 Doug Evans <dje@google.com>
5900
e1e061e7 5901 PR symtab/17602
29f0c3b7 5902 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5903 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5904 * gdb.cp/anon-ns.exp: Update.
5905
162078c8
NB
59062014-12-02 Nick Bull <nicholaspbull@gmail.com>
5907
5908 * gdb.python/py-events.py (inferior_call_handler): New.
5909 (register_changed_handler, memory_changed_handler): New.
5910 (test_events.invoke): Register new handlers.
5911 * gdb.python/py-events.exp: Add tests for inferior call,
5912 memory_changed and register_changed events.
5913
fdb09caf
AA
59142014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5915
5916 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5917 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5918 if the linker doesn't understand this.
5919
55cfb2c4
SM
59202014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5921
5922 * gdb.python/python.exp: Change expected reply to help().
5923
9e8cd6df
YQ
59242014-12-01 Yao Qi <yao@codesourcery.com>
5925
5926 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5927 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5928 * configure: Re-generated.
5929
6c659fc2
SC
59302014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5931
5932 * gdb.cp/chained-calls.cc: New file.
5933 * gdb.cp/chained-calls.exp: New file.
5934 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5935
d7fc3181
SM
59362014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5937
5938 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5939 * gdb.dwarf2/symtab-producer.exp: Same.
5940 * gdb.gdb/python-interrupts.exp: Same.
5941 * gdb.gdb/python-selftest.exp: Same.
5942 * gdb.python/py-linetable.exp: Same.
5943 * gdb.python/py-type.exp: Same.
5944 * gdb.python/py-value-cc.exp: Same.
5945 * gdb.python/py-value.exp: Same.
5946
10e79639
YQ
59472014-11-28 Yao Qi <yao@codesourcery.com>
5948
5949 * gdb.base/break-probes.exp: Match library name prefixed with
5950 sysroot.
5951
f28a0564
SM
59522014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5953
5954 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5955 test expected output. Add parentheses for the call to print.
5956 Remove L suffix from integers.
5957
3fe1ce1d
DE
59582014-11-26 Doug Evans <dje@google.com>
5959
5960 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5961
84429e27
YQ
59622014-11-22 Yao Qi <yao@codesourcery.com>
5963
5964 * gdb.trace/entry-values.c: Remove asms.
5965 (foo): Add foo_label.
5966 (bar): Add bar_label.
5967 * gdb.trace/entry-values.exp: Remove code computing foo's
5968 length and bar's length.
5969 (Dwarf::assemble): Invoke function_range for bar and use
5970 MACRO_AT_func for foo.
5971
26741859
YQ
59722014-11-22 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5975 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5976 Use .Lgcc43_procstart instead of gcc43.
5977
45e44d27
JB
59782014-11-21 Joel Brobecker <brobecker@adacore.com>
5979
5980 * gdb.ada/n_arr_bound: New testcase.
5981
458c8db8
SDJ
59822014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5983
5984 PR breakpoints/10737
5985 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5986 test_catch_syscall_multi_arch.
5987 (test_catch_syscall_multi_arch): New function.
5988
43f3e411
DE
59892014-11-20 Doug Evans <xdje42@gmail.com>
5990
5991 * gdb.base/maint.exp: Update expected output.
5992
0d7b2549
AA
59932014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5994
5995 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5996 4-byte instruction on S390.
5997
8908fca5
JB
59982014-11-19 Joel Brobecker <brobecker@adacore.com>
5999
6000 * gdb.ada/arr_arr: New testcase.
6001
4a46959e
JB
60022014-11-19 Joel Brobecker <brobecker@adacore.com>
6003
6004 * gdb.ada/pkd_arr_elem: New Testcase.
6005
470e2f4e
LM
60062014-11-18 Luis Machado <lgustavo@codesourcery.com>
6007
6008 * gdb.reverse/break-precsave: Expect completion message for
6009 core file reads.
6010 * gdb.reverse/consecutive-precsave.exp: Likewise.
6011 * gdb.reverse/finish-precsave.exp: Likewise.
6012 * gdb.reverse/i386-precsave.exp: Likewise.
6013 * gdb.reverse/machinestate-precsave.exp: Likewise.
6014 * gdb.reverse/sigall-precsave.exp: Likewise.
6015 * gdb.reverse/solib-precsave.exp: Likewise.
6016 * gdb.reverse/step-precsave.exp: Likewise.
6017 * gdb.reverse/until-precsave.exp: Likewise.
6018 * gdb.reverse/watch-precsave.exp: Likewise.
6019
a267f3ad
AA
60202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6021
6022 * gdb.base/bp-permanent.c: Include unistd.h.
6023 * gdb.python/py-framefilter-mi.c (main): Add return type.
6024 * gdb.python/py-framefilter.c (main): Likewise.
6025 * gdb.trace/actions-changed.c (main): Likewise.
6026
12084a9a
AA
60272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6028
6029 * gdb.mi/until.c: Add eye-catchers.
6030 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6031 line numbers.
6032
dc7e1a77
AA
60332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6034
6035 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6036 function header variants in break1.c.
6037 * gdb.base/ena-dis-br.exp: Likewise.
6038 * gdb.base/hbreak2.exp: Likewise.
6039 * gdb.reverse/until-precsave.exp: Drop references to removed
6040 non-prototype function header variants in ur1.c.
6041 * gdb.reverse/until-reverse.exp: Likewise.
6042
41c77605
PM
60432014-11-17 Petr Machata <pmachata@redhat.com>
6044
6045 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6046 ${_cu_offset_size} bytes abbrev offset.
6047
34248c3a
DE
60482014-11-15 Doug Evans <xdje42@gmail.com>
6049
6050 PR symtab/17559
6051 * gdb.base/line-symtabs.exp: New file.
6052 * gdb.base/line-symtabs.c: New file.
6053 * gdb.base/line-symtabs.h: New file.
6054
646da059
YQ
60552014-11-14 Yao Qi <yao@codesourcery.com>
6056
6057 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6058 (func): Add label func_label.
6059 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6060 Replace low_pc and high_pc with MACRO_AT_range.
6061 Replace name, low_pc and high_pc with MACRO_AT_func.
6062
9301ebe6
YQ
60632014-11-14 Yao Qi <yao@codesourcery.com>
6064
6065 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6066 Replace name, low_pc and high_pc with MACRO_AT_func.
6067
f166b542
YQ
60682014-11-14 Yao Qi <yao@codesourcery.com>
6069
6070 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6071 produce debug information.
6072 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6073
0f6e71e3
YQ
60742014-11-14 Yao Qi <yao@codesourcery.com>
6075
6076 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6077 object and get function length.
6078 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6079 with MACRO_AT_func.
6080 (top-level): Replace gdb_compile and clean_restart with
6081 prepare_for_testing.
6082 * gdb.dwarf2/main.c (main): Add label main_label.
6083
876c4df9
YQ
60842014-11-14 Yao Qi <yao@codesourcery.com>
6085
6086 * lib/dwarf.exp (function_range): New procedure.
6087 (Dwarf::_handle_macro_at_func): New procedure.
6088 (Dwarf::_handle_macro_at_range): New procedure.
6089 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6090
02ad9cf1
YQ
60912014-11-14 Yao Qi <yao@codesourcery.com>
6092
6093 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6094 (_handle_attribute): New procedure.
6095
a59add0c
AA
60962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6097
6098 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6099 * gdb.base/call-sc.c (zed): Likewise.
6100 * gdb.base/checkpoint.c (main): Likewise.
6101 * gdb.base/dump.c (main): Likewise.
6102 * gdb.base/gcore.c (main): Likewise.
6103 * gdb.base/huge.c (main): Likewise.
6104 * gdb.base/multi-forks.c (main): Likewise.
6105 * gdb.base/pr10179-a.c (main): Likewise.
6106 * gdb.base/savedregs.c (main): Likewise.
6107 * gdb.base/sigaltstack.c (main): Likewise.
6108 * gdb.base/siginfo.c (main): Likewise.
6109 * gdb.base/structs.c (zed): Likewise.
6110 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6111 * gdb.mi/mi-syn-frame.c (main): Likewise.
6112 * gdb.mi/until.c (foo, main): Likewise.
6113 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6114 * gdb.base/solib-weak.c (foo): Declare.
6115 * gdb.base/attach-twice.c: Include stdio.h.
6116 * gdb.base/weaklib1.c: Likewise.
6117 * gdb.base/weaklib2.c: Likewise.
6118 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6119 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6120 unistd.h.
6121 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6122 * gdb.mi/mi-exit-code.c: Likewise.
6123 * gdb.base/break-interp-lib.c: Include string.h.
6124 * gdb.base/coremaker.c: Likewise.
6125 * gdb.base/testenv.c: Likewise.
6126 * gdb.python/py-finish-breakpoint.c: Likewise.
6127 * gdb.base/inferior-died.c: Include sys/wait.h.
6128 * gdb.base/fileio.c: Include time.h.
6129 * gdb.base/async-shell.c: Include unistd.h.
6130 * gdb.base/dprintf-non-stop.c: Likewise.
6131 * gdb.base/info-os.c: Likewise.
6132 * gdb.mi/mi-console.c: Likewise.
6133 * gdb.mi/watch-nonstop.c: Likewise.
6134 * gdb.python/py-events.c: Likewise.
6135 * gdb.base/async.c (baz): Move up before its invocation.
6136 * gdb.base/code_elim2.c (my_global_func): Likewise.
6137 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6138 * gdb.base/advance.c (func2): Likewise.
6139
3b5d5997
AA
61402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6141
6142 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6143 variant.
6144 * gdb.base/annota3.c: Likewise.
6145 * gdb.base/async.c: Likewise.
6146 * gdb.base/average.c: Likewise.
6147 * gdb.base/call-ar-st.c: Likewise.
6148 * gdb.base/call-rt-st.c: Likewise.
6149 * gdb.base/call-sc.c: Likewise.
6150 * gdb.base/call-strs.c: Likewise.
6151 * gdb.base/ending-run.c: Likewise.
6152 * gdb.base/execd-prog.c: Likewise.
6153 * gdb.base/exprs.c: Likewise.
6154 * gdb.base/foll-exec.c: Likewise.
6155 * gdb.base/foll-fork.c: Likewise.
6156 * gdb.base/foll-vfork.c: Likewise.
6157 * gdb.base/funcargs.c: Likewise.
6158 * gdb.base/gcore.c: Likewise.
6159 * gdb.base/jump.c: Likewise.
6160 * gdb.base/langs0.c: Likewise.
6161 * gdb.base/langs1.c: Likewise.
6162 * gdb.base/langs2.c: Likewise.
6163 * gdb.base/mips_pro.c: Likewise.
6164 * gdb.base/nodebug.c: Likewise.
6165 * gdb.base/opaque0.c: Likewise.
6166 * gdb.base/opaque1.c: Likewise.
6167 * gdb.base/recurse.c: Likewise.
6168 * gdb.base/run.c: Likewise.
6169 * gdb.base/scope0.c: Likewise.
6170 * gdb.base/scope1.c: Likewise.
6171 * gdb.base/setshow.c: Likewise.
6172 * gdb.base/setvar.c: Likewise.
6173 * gdb.base/shmain.c: Likewise.
6174 * gdb.base/shr1.c: Likewise.
6175 * gdb.base/shr2.c: Likewise.
6176 * gdb.base/sigall.c: Likewise.
6177 * gdb.base/signals.c: Likewise.
6178 * gdb.base/so-indr-cl.c: Likewise.
6179 * gdb.base/solib2.c: Likewise.
6180 * gdb.base/structs.c: Likewise.
6181 * gdb.base/sum.c: Likewise.
6182 * gdb.base/vforked-prog.c: Likewise.
6183 * gdb.base/watchpoint.c: Likewise.
6184 * gdb.reverse/shr2.c: Likewise.
6185 * gdb.reverse/until-reverse.c: Likewise.
6186 * gdb.reverse/ur1.c: Likewise.
6187 * gdb.reverse/watch-reverse.c: Likewise.
6188
066a77c5
AA
61892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6190
6191 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6192 variant.
6193 * gdb.base/sepdebug.exp: Drop references to removed code.
6194
4f204ea5
AA
61952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6196
6197 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6198 variant. Preserve original line numbering.
6199 * gdb.base/list1.c: Likewise.
6200
3b377a3a
AA
62012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6202
6203 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6204 variant.
6205 * gdb.base/break1.c: Likewise.
6206 * gdb.base/break.exp: Drop references to removed code.
6207
e444df73
AA
62082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6209
6210 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6211 variant.
6212
8008f2a7
AA
62132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6214
6215 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6216
a5a06887
AA
62172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6218
6219 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6220 logic into perform_all_tests() and invoke it with and without
6221 function header prototypes.
6222 (do_function_calls): Remove conditional XFAIL for PR 5318.
6223 (rerun_and_prepare): Remove duplicate code.
6224 (perform_all_tests): New. Main logic moved here.
6225
44dba9b9
AA
62262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6227
6228 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6229 code guarded by #ifdef NO_PROTOTYPES.
6230 (t_double_many_args): Likewise.
6231 (DEF_FUNC_MANY_ARGS_1): Likewise.
6232 (DEF_FUNC_VALUES_1): Likewise.
6233 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6234 guarded by #ifdef PROTOTYPES.
6235
d1fbcd56
AA
62362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6237
6238 * gdb.mi/mi-console.c: Add eye-catcher.
6239 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6240 instead of literal line number.
6241
b0e59b8f
AA
62422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6243
6244 * gdb.base/shr2.c: Add eye-catcher.
6245 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6246 line number.
6247
78f98cca
AA
62482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6249
6250 * gdb.base/jump.c: Add eye-catchers.
6251 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6252 numbers.
6253
58fa2af0
AA
62542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6255
6256 * gdb.base/execd-prog.c: Add eye-catchers.
6257 * gdb.base/foll-exec.c: Likewise.
6258 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6259 line numbers.
6260
04e5059b
AA
62612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6262
6263 * gdb.base/ending-run.c: Add eye-catchers.
6264 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6265 literal line numbers.
6266
dbfdb174
AA
62672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6268
6269 * gdb.base/call-rt-st.c: Add eye-catchers.
6270 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6271 literal line numbers.
6272
888a2ade
AA
62732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6274
6275 * gdb.base/call-ar-st.c: Add eye-catchers.
6276 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6277 literal line numbers.
6278
6acc2dde
AA
62792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6280
6281 * gdb.base/average.c: Add eye-catchers.
6282 * gdb.base/sum.c: Likewise.
6283 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6284 regexps dynamically.
6285
9ecfcd1d
AA
62862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6287
6288 * gdb.base/solib1.c: Add eye-catchers.
6289 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6290 literal line numbers.
6291
78708b7c
PA
62922014-11-12 Pedro Alves <palves@redhat.com>
6293
6294 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6295 leader has exited.
6296
af48d08f
PA
62972014-11-12 Pedro Alves <palves@redhat.com>
6298
6299 * gdb.arch/i386-bp_permanent.c: New file.
6300 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6301 (srcfile): Set to i386-bp_permanent.c.
6302 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6303 that stepi does not execute the 'leave' instruction, instead of
6304 testing it does execute.
6305 * gdb.base/bp-permanent.c: New file.
6306 * gdb.base/bp-permanent.exp: New file.
6307
af3768e9
DE
63082014-11-10 Doug Evans <xdje42@gmail.com>
6309
6310 PR symtab/17564
6311 * gdb.base/symtab-search-order.exp: New file.
6312 * gdb.base/symtab-search-order.c: New file.
6313 * gdb.base/symtab-search-order-1.c: New file.
6314 * gdb.base/symtab-search-order-shlib-1.c: New file.
6315
9de00a4a
PA
63162014-11-07 Pedro Alves <palves@redhat.com>
6317
6318 PR gdb/17511
6319 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6320 i?86-*-linux*.
6321
e0f52461
SC
63222014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6323
6324 PR c++/17494
6325 * gdb.cp/pr17494.cc: New file.
6326 * gdb.cp/pr17494.exp: New file.
6327
6ce8c980
YQ
63282014-11-02 Yao Qi <yao@codesourcery.com>
6329
6330 * gdb.python/python.exp: Get working directory and match the
6331 output of "set extended-prompt \\w " with it.
6332
02be9a71
DE
63332014-10-30 Doug Evans <dje@google.com>
6334
6335 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6336 in objfiles.
6337 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6338 in progspaces.
6339
3bdff46b
LM
63402014-10-30 Janis Johnson <janisjo@codesourcery.com>
6341
6342 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6343 * gdb.base/realname-expand.exp: Likewise.
6344 * gdb.linespec/macro-relative.exp: Likewise.
6345
ab917dfb
PA
63462014-10-29 Pedro Alves <palves@redhat.com>
6347
6348 PR gdb/17408
6349 * gdb.threads/schedlock.c (some_function): New function.
6350 (call_function): New global.
6351 (MAYBE_CALL_SOME_FUNCTION): New macro.
6352 (thread_function): Call it.
6353 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6354 and use it instead of a global counter. Adjust all callers.
6355 (get_current_thread): Use "find current thread" for test message
6356 here rather than having all callers pass down the same string.
6357 (goto_loop): New procedure, factored out from ...
6358 (my_continue): ... this.
6359 (step_ten_loops): Change parameter from test message to command to
6360 use. Adjust.
6361 (list_count): Delete global.
6362 (check_result): New procedure, factored out from duplicate top
6363 level code.
6364 (continue tests): Wrap in with_test_prefix.
6365 (test_step): New procedure, factored out from duplicate top level
6366 code.
6367 (top level): Test "step" in combination with all scheduler-locking
6368 modes. Test "next" in combination with all scheduler-locking
6369 modes, and in combination with stepping over a function call or
6370 not.
6371 * gdb.threads/next-bp-other-thread.c: New file.
6372 * gdb.threads/next-bp-other-thread.exp: New file.
6373
d3d4baed
PA
63742014-10-29 Pedro Alves <palves@redhat.com>
6375
6376 PR python/17372
6377 * gdb.python/python.exp: Test a multi-line command that spawns
6378 interactive Python.
6379 * gdb.base/multi-line-starts-subshell.exp: New file.
6380
563e8d85
YQ
63812014-10-29 Yao Qi <yao@codesourcery.com>
6382
6383 * gdb.base/fileio.exp: Make directories on host.
6384
0ea4d52e
YQ
63852014-10-29 Yao Qi <yao@codesourcery.com>
6386
6387 * gdb.base/fileio.c (test_write): Close the file.
6388
7f5ef605
PA
63892014-10-28 Pedro Alves <palves@redhat.com>
6390
6391 PR gdb/12623
6392 * gdb.base/sigstep.c (no_handler): New global.
6393 (main): If 'no_handler is true, set the signal handlers to
6394 SIG_IGN.
6395 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6396 with_sw_watch and no_handler parameters. Handle them.
6397 (top level) <stepping over handler when stopped at a breakpoint
6398 test>: Add a test axis for testing with a software watchpoint, and
6399 another for testing with the signal handler set to SIG_IGN.
6400 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6401 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6402
abbdbd03
PA
64032014-10-28 Pedro Alves <palves@redhat.com>
6404
6405 PR gdb/17511
6406 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6407 * gdb.base/sigstep.exp (other_handler_location): New global.
6408 (advance): Support stepping into the signal handler, and running
6409 commands while in the handler.
6410 (in_handler_map): New global.
6411 (top level): In the advance test, add combinations for getting
6412 into the handler with stepping commands, and for running commands
6413 in the handler. Add comment descripting the advancei tests.
6414
1df4399f
PA
64152014-10-28 Pedro Alves <palves@redhat.com>
6416
6417 * gdb.base/sigstep.exp: Use build_executable instead of
6418 prepare_for_testing.
6419 (top level): Move code that starts GDB, runs to main and creates a
6420 display to ...
6421 (restart): ... this new procedure.
6422 (top level): Move backtrace from signal handler test to ...
6423 (validate_backtrace): ... this new procedure.
6424 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6425 with_test_prefix. Always restart GDB.
6426 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6427 with_test_prefix. Always restart GDB. No need to delete
6428 breakpoints after the test.
6429 (test_skip_handler): Remove prefix parameter.
6430 (skip_over_handler, breakpoint_to_handler)
6431 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6432 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6433 restart GDB. No need to delete breakpoints after the test.
6434 (top level): Use foreach to call the test procedures with
6435 different commands.
6436
a5b6e449
PA
64372014-10-28 Pedro Alves <palves@redhat.com>
6438
6439 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6440 instead of GNATS numbers.
6441 * gdb.base/sigbpt.exp: Likewise.
6442 * gdb.base/siginfo.exp: Likewise.
6443 * gdb.base/sigstep.exp: Likewise.
6444
e5f8a7cc
PA
64452014-10-27 Pedro Alves <palves@redhat.com>
6446
6447 * gdb.base/sigstep.c (dummy): New global.
6448 (main): Issue a couple writes to the new global.
6449 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6450 procedures.
6451 (skip_over_handler): Use test_skip_handler.
6452 (top level): Call skip_over_handler for stepi and nexti too.
6453 (breakpoint_over_handler): Use test_skip_handler.
6454 (top level): Call breakpoint_over_handler for stepi and nexti too.
6455
763905a3
YQ
64562014-10-27 Yao Qi <yao@codesourcery.com>
6457
6458 * gdb.trace/tfile.c (adjust_function_address)
6459 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6460 function descriptor.
6461
6f259a23
DB
64622014-10-24 Don Breazeal <donb@codesourcery.com>
6463
6464 * gdb.base/foll-fork.exp (test_follow_fork,
6465 catch_fork_child_follow): Check for updated fork messages emitted
6466 from infrun.c.
6467 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6468 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6469 vfork_and_exec_child_follow_through_step): Check for updated vfork
6470 messages emitted from infrun.c.
6471
09dd9a69
PA
64722014-10-24 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/corefile.exp: Remove references to ultrix.
6475 * gdb.base/interrupt.exp: Likewise.
6476 * gdb.base/whatis.exp: Likewise.
6477 * gdb.gdb/selftest.exp: Likewise.
6478 * gdb.threads/manythreads.exp: Likewise.
6479 * gdb.threads/print-threads.exp: Likewise.
6480 * gdb.threads/pthreads.exp:: Likewise.
6481 * gdb.threads/schedlock.exp: Likewise.
6482
3433cfa5
SC
64832014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6484
6485 * gdb.cp/non-trivial-retval.cc: Add a test case.
6486 * gdb.cp/non-trivial-retval.exp: Add a test.
6487
092f880b
YQ
64882014-10-20 Yao Qi <yao@codesourcery.com>
6489
6490 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6491 * gdb.python/py-objfile-script-gdb.py: New file.
6492 * gdb.python/py-objfile-script.exp: Update reference to
6493 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6494 of remote_download. Remove the dest file.
6495
acbdb7f3
YQ
64962014-10-20 Yao Qi <yao@codesourcery.com>
6497
6498 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6499 * gdb.base/step-line.exp: Likewise.
6500 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6501 * gdb.dwarf2/dw2-basic.exp: Likewise.
6502 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6503 * gdb.dwarf2/dw2-filename.exp: Likewise.
6504 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6505 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6506 * gdb.dwarf2/dw2-producer.exp: Likewise.
6507 * gdb.dwarf2/mac-fileno.exp: Likewise.
6508 * gdb.python/py-frame-args.exp: Likewise.
6509 * gdb.python/py-framefilter.exp: Likewise.
6510 * gdb.python/py-mi.exp: Likewise.
6511 * gdb.python/py-objfile-script.exp: Likewise
6512 * gdb.python/py-pp-integral.exp: Likewise.
6513 * gdb.python/py-pp-re-notag.exp: Likewise.
6514 * gdb.python/py-prettyprint.exp: Likewise.
6515 * gdb.python/py-section-script.exp: Likewise.
6516 * gdb.python/py-typeprint.exp: Likewise.
6517 * gdb.python/py-xmethods.exp: Likewise.
6518 * gdb.stabs/weird.exp: Likewise.
6519 * gdb.xml/tdesc-regs.exp: Likewise.
6520
bd286a29
KCY
65212014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6522
6523 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6524 (out_cu): Use addr_len for the size of addresses.
6525 (out_line): Likewise. Size DW_LNE_set_address instruction
6526 according to addr_len.
6527 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6528 (FUNC): Add START_INSNS to definition.
6529
673dc4a0
YQ
65302014-10-18 Yao Qi <yao@codesourcery.com>
6531
6532 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6533 gdb_has_argv0 return true.
6534 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6535 check [target_info exists noargs], check [gdb_has_argv0]
6536 instead.
6537 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6538 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6539 procedures.
6540
4ffbba72
DE
65412014-10-17 Doug Evans <dje@google.com>
6542
6543 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6544 event.
6545 * gdb.python/py-events.py: Add clear_objfiles event.
6546
d096d8c1
DE
65472014-10-17 Doug Evans <dje@google.com>
6548
6549 * gdb.python/py-objfile.exp: Test progspace attribute.
6550
a80db015
LM
65512014-10-17 Luis Machado <lgustavo@codesourcery.com>
6552
6553 * gdb.guile/scm-breakpoint.exp: Do not assume any
6554 directory separators when matching source file paths.
6555 * gdb.python/py-breakpoint.exp: Likewise.
6556 * gdb.reverse/break-precsave.exp: Likewise.
6557 * gdb.reverse/break-reverse.exp: Likewise.
6558 * gdb.reverse/consecutive-precsave.exp: Likewise.
6559 * gdb.reverse/finish-precsave.exp: Likewise.
6560 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6561 * gdb.reverse/finish-reverse.exp: Likewise.
6562 * gdb.reverse/i386-precsave.exp: Likewise.
6563 * gdb.reverse/i387-env-reverse.exp: Likewise.
6564 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6565 * gdb.reverse/machinestate-precsave.exp: Likewise.
6566 * gdb.reverse/machinestate.exp: Likewise.
6567 * gdb.reverse/sigall-precsave.exp: Likewise.
6568 * gdb.reverse/solib-precsave.exp: Likewise.
6569 * gdb.reverse/step-precsave.exp: Likewise.
6570 * gdb.reverse/until-precsave.exp: Likewise.
6571 * gdb.reverse/watch-precsave.exp: Likewise.
6572 * gdb.reverse/watch-reverse.exp: Likewise.
6573
b22089ab
YQ
65742014-10-17 Yao Qi <yao@codesourcery.com>
6575
6576 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6577 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6578
6c4486e6
PA
65792014-10-17 Pedro Alves <palves@redhat.com>
6580
6581 PR gdb/17471
6582 * gdb.base/bg-execution-repeat.c: New file.
6583 * gdb.base/bg-execution-repeat.exp: New file.
6584
0ff33695
PA
65852014-10-17 Pedro Alves <palves@redhat.com>
6586
6587 PR gdb/17300
6588 * gdb.base/continue-all-already-running.c: New file.
6589 * gdb.base/continue-all-already-running.exp: New file.
6590
6fdebc3d
PA
65912014-10-17 Pedro Alves <palves@redhat.com>
6592
6593 PR gdb/17472
6594 * gdb.base/annota-input-while-running.c: New file.
6595 * gdb.base/annota-input-while-running.exp: New file.
6596
32a8097b
PA
65972014-10-17 Pedro Alves <palves@redhat.com>
6598
6599 * gdb.base/callfuncs.exp: emove references to osf.
6600 * gdb.base/sigall.exp: Likewise.
6601 * gdb.gdb/selftest.exp: Likewise.
6602 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6603 * gdb.mi/non-stop.c: Likewise.
6604 * gdb.mi/pthreads.c: Likewise.
6605 * gdb.reverse/sigall-precsave.exp: Likewise.
6606 * gdb.reverse/sigall-reverse.exp: Likewise.
6607 * gdb.threads/pthreads.c: Likewise.
6608 * gdb.threads/pthreads.exp: Likewise.
6609
7a3517ff
YQ
66102014-10-17 Yao Qi <yao@codesourcery.com>
6611
6612 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6613 check 'target_info exists noargs'.
6614 (test_command_prompt_position): Likewise.
6615 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6616 Remove "set args".
6617 (progvar_simple_while_test): Likewise.
6618 (progvar_complex_if_while_test): Likewise.
6619 (if_while_breakpoint_command_test): Likewise.
6620 (infrun_breakpoint_command_test): Likewise.
6621 (breakpoint_command_test): Likewise.
6622 (watchpoint_command_test): Likewise.
6623 (bp_deleted_in_command_test): Likewise.
6624 (temporary_breakpoint_commands): Likewise.
6625
bb99c472
YQ
66262014-10-16 Yao Qi <yao@codesourcery.com>
6627
6628 * gdb.base/remotetimeout.exp: Remove noargs checking.
6629
7c16b83e
PA
66302014-10-15 Pedro Alves <palves@redhat.com>
6631
6632 PR breakpoints/9649
6633 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6634 * gdb.base/breakpoint-in-ro-region.exp
6635 (probe_target_hardware_step): New procedure.
6636 (top level): Probe hardware stepping and hardware breakpoint
6637 support. Test stepping through a read-only region, with both
6638 "breakpoint auto-hw" on and off and both "always-inserted" on and
6639 off.
6640
35a49624
IB
66412014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6642
6643 * gdb.dlang/demangle.exp: Update for demangling changes.
6644
2d1c107c
SC
66452014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6646
6647 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6648 * gdb.cp/non-trivial-retval.exp: Add new tests.
6649
778811d5
SC
66502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6651
6652 PR c++/13403
6653 PR c++/15154
6654 * gdb.cp/non-trivial-retval.cc: New file.
6655 * gdb.cp/non-trivial-retval.exp: New file.
6656
10c5f0a8
YQ
66572014-10-15 Yao Qi <yao@codesourcery.com>
6658
6659 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6660 remote host.
6661
65d7b369
YQ
66622014-10-15 Yao Qi <yao@codesourcery.com>
6663
6664 * gdb.python/py-symbol.exp: Match file base name if host is
6665 remote, otherwise match file name with dir name.
6666 * gdb.python/py-symtab.exp: Likewise.
6667 * gdb.python/python.exp: Likewise.
6668
46dc1394
YQ
66692014-10-15 Yao Qi <yao@codesourcery.com>
6670
6671 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6672 pattern.
6673 * gdb.python/py-symtab.exp: Likewise.
6674 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6675 locationn.
6676
c40cc657
JB
66772014-10-14 Joel Brobecker <brobecker@adacore.com>
6678
6679 * gdb.ada/addr_arith: New testcase.
6680
2abf49e1
MR
66812014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6682
6683 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6684 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6685 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6686 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6687
f7088df3
SDJ
66882014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6689
6690 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6691 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6692 * gdb.arch/stap-eval-lang-ada.exp: New file.
6693
4dc06805
YQ
66942014-10-14 Yao Qi <yao@codesourcery.com>
6695
6696 * gdb.mi/mi-var-child.c (nothing1): New function.
6697 (nothing2): New function.
6698 (do_children_tests): Set function pointers by nothing1 and
6699 nothing2.
6700 * gdb.mi/mi-var-child.exp: Step over new added statements.
6701 Update test to match the new output.
6702 * gdb.mi/var-cmd.c (nothing1): New function.
6703 (nothing2): New function.
6704 (do_children_tests): Set function pointers by nothing1 and
6705 nothing2.
6706 * gdb.mi/mi-var-display.exp: Update test to match output.
6707 Step to the line specified by $line_dct_nothing.
6708 Increase the number of lines to step.
6709
46a93de2
YQ
67102014-10-14 Yao Qi <yao@codesourcery.com>
6711
6712 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6713 tests.
6714 * gdb.mi/mi2-var-child.exp: Likewise.
6715
14ea52ee
DE
67162014-10-13 Doug Evans <dje@google.com>
6717
6718 * gdb.python/py-objfile.exp: Change name of file name test.
6719
e5c6e92b
DE
67202014-10-13 Doug Evans <dje@google.com>
6721
6722 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6723 from the start of the CU.
6724
c780cc2f
JK
67252014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6726 Yao Qi <yao@codesourcery.com>
6727
6728 Fix "save breakpoints" for "catch" command.
6729 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6730 Remove -nonewline. Match also the added "main" line.
6731
99894e11
JK
67322014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6733
6734 Fix "save breakpoints" for "disable $bpnum" command.
6735 * gdb.base/save-bp.c (main): Add label.
6736 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6737
6e1ac5a3
JK
67382014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6739
6740 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6741
754dd2b0
YQ
67422014-10-11 Yao Qi <yao@codesourcery.com>
6743
6744 * gdb.server/server-kill.exp: Execute command
6745 "set remote trace-status-packet on" before "tstatus".
6746
f90183d7
YQ
67472014-10-11 Yao Qi <yao@codesourcery.com>
6748
6749 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6750 (main): Call getppid.
6751 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6752 and continue to it. Read variable "server_pid".
6753
bf40a607
YQ
67542014-10-11 Yao Qi <yao@codesourcery.com>
6755
6756 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6757
052ca370
YQ
67582014-10-11 Yao Qi <yao@codesourcery.com>
6759
6760 * gdb.threads/thread-find.exp: Don't execute command
6761 "info threads".
6762 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6763 * gdb.threads/linux-dp.exp: Don't check the condition
6764 $threads_created equals to zero.
6765
3831839c
PA
67662014-10-10 Pedro Alves <palves@redhat.com>
6767
6768 * gdb.base/bigcore.exp: Remove references to IRIX.
6769 * gdb.base/funcargs.exp: Likewise.
6770 * gdb.base/interrupt.exp: Likewise.
6771 * gdb.base/mips_pro.exp: Likewise.
6772 * gdb.base/nodebug.exp: Likewise.
6773 * gdb.base/setvar.exp: Likewise.
6774 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6775
8b9a549d
PA
67762014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6777 Pedro Alves <palves@redhat.com>
6778
6779 PR symtab/14466
6780 * gdb.base/vdso-warning.c: New file.
6781 * gdb.base/vdso-warning.exp: New file.
6782
d48ba5e8
DE
67832014-10-02 Doug Evans <dje@google.com>
6784
6785 * gdb.base/structs.c (main): Don't run forever.
6786
2278c276
PA
67872014-10-02 Pedro Alves <palves@redhat.com>
6788
6789 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6790 (top level) <stop threads 1, stop threads 2>: Use it.
6791
b57bacec
PA
67922014-10-02 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.threads/break-while-running.exp (test): Add new
6795 'update_thread_list' argument. Skip "info threads" if false.
6796 (top level): Add new 'update_thread_list' axis.
6797
13fd3ff3
PA
67982014-10-02 Pedro Alves <palves@redhat.com>
6799
6800 PR breakpoints/17431
6801 * gdb.base/execl-update-breakpoints.c: New file.
6802 * gdb.base/execl-update-breakpoints.exp: New file.
6803
0fec99e8
PA
68042014-10-01 Pedro Alves <palves@redhat.com>
6805
6806 * gdb.base/breakpoint-in-ro-region.c: New file.
6807 * gdb.base/breakpoint-in-ro-region.exp: New file.
6808
2ddf4301
SM
68092014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6810
6811 * gdb.mi/mi-exit-code.exp: New file.
6812 * gdb.mi/mi-exit-code.c: New file.
6813
6a5f3f43
YQ
68142014-09-30 Yao Qi <yao@codesourcery.com>
6815
6816 * lib/prelink-support.exp (build_executable_own_libs): Error if
6817 the target isn't native.
6818
345bcc73
YQ
68192014-09-30 Yao Qi <yao@codesourcery.com>
6820
6821 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6822 false.
6823
a25a5a45
PA
68242014-09-22 Pedro Alves <palves@redhat.com>
6825
6826 * gdb.threads/break-while-running.exp: New file.
6827 * gdb.threads/break-while-running.c: New file.
6828
00ba3162
YQ
68292014-09-19 Yao Qi <yao@codesourcery.com>
6830
6831 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6832 Invoke test. Restart GDB with --readnow and invoke test again.
6833
c3b7b696
YQ
68342014-09-19 Yao Qi <yao@codesourcery.com>
6835
6836 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6837 proc set_breakpoint_on_gcd_function. Invoke
6838 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6839 invoke set_breakpoint_on_gcd_function again.
6840
2b4fd423
DE
68412014-09-18 Doug Evans <dje@google.com>
6842
6843 * gdb.dwarf2/symtab-producer.exp: New file.
6844
a5947601
SDJ
68452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6846
6847 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6848 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6849 * gdb.base/global-var-nested-by-dso.c: Likewise.
6850 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6851
91c19059
SDJ
68522014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6853 Pedro Alves <palves@redhat.com>
6854
6855 * gdb.base/watch-bitfields.exp: Pass string other than test file
6856 name to prepare_for_testing.
6857 (watch): New procedure.
6858 (expect_watchpoint): Use with_test_prefix.
6859 (top level): Factor out tests to ...
6860 (test_watch_location, test_regular_watch): ... these new
6861 procedures, and use with_test_prefix and gdb_continue_to_end.
6862
bb9d5f81
PP
68632014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6864
6865 PR breakpoints/12526
6866 * gdb.base/watch-bitfields.exp: New file.
6867 * gdb.base/watch-bitfields.c: New file.
6868
635856f5
PA
68692014-09-16 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6872 software and hardware addresses, not software address against
6873 itself.
6874
7280ceea
PA
68752014-09-16 Pedro Alves <palves@redhat.com>
6876
6877 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6878 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6879
428b16bd
PA
68802014-09-16 Pedro Alves <palves@redhat.com>
6881
6882 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6883 files.
6884 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6885 "*-*-vxworks*" throughout.
6886 * gdb.base/break.exp: Likewise.
6887 * gdb.base/default.exp: Likewise.
6888 * gdb.base/scope.exp: Likewise.
6889 * gdb.base/sepdebug.exp: Likewise.
6890 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6891 throughout.
6892 * gdb.base/run.c: Likewise.
6893 * gdb.base/sepdebug.c: Likewise.
6894 * gdb.hp/gdb.aCC/run.c: Likewise.
6895 * gdb.reverse/until-reverse.c: Likewise.
6896 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6897
666d413c
YQ
68982014-09-16 Yao Qi <yao@codesourcery.com>
6899
6900 * boards/local-remote-host-native.exp: New file.
6901
57cbd724
DE
69022014-09-14 Doug Evans <xdje42@gmail.com>
6903
6904 * gdb.threads/queue-signal.c (thread_count): New variable.
6905 (thread_count_mutex, thread_count_condvar): New variables.
6906 (incr_thread_count, wait_all_threads_running): New functions.
6907 (main): Wait for all threads to be in their thread functions.
6908
81219e53
DE
69092014-09-13 Doug Evans <xdje42@gmail.com>
6910
6911 * gdb.threads/queue-signal.c: New file.
6912 * gdb.threads/queue-signal.exp: New file.
6913
3714cea7
DE
69142014-09-13 Doug Evans <xdje42@gmail.com>
6915
6916 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6917 be consistent with what default_gdb_init uses.
6918 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6919 the plain text of the prompt. Add some logging printfs.
6920 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6921
fa43b1d7
PA
69222014-09-12 Pedro Alves <palves@redhat.com>
6923
6924 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6925 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6926 * gdb.arch/i386-size-overlap.exp: Likewise.
6927 * gdb.arch/i386-size.exp: Likewise.
6928 * gdb.arch/i386-unwind.exp: Likewise.
6929 * gdb.base/a2-run.exp: Likewise.
6930 * gdb.base/break.exp: Likewise.
6931 * gdb.base/charset.exp: Likewise.
6932 * gdb.base/chng-syms.exp: Likewise.
6933 * gdb.base/commands.exp: Likewise.
6934 * gdb.base/dbx.exp: Likewise.
6935 * gdb.base/find.exp: Likewise.
6936 * gdb.base/funcargs.exp: Likewise.
6937 * gdb.base/jit-simple.exp: Likewise.
6938 * gdb.base/reread.exp: Likewise.
6939 * gdb.base/sepdebug.exp: Likewise.
6940 * gdb.base/step-bt.exp: Likewise.
6941 * gdb.cp/mb-inline.exp: Likewise.
6942 * gdb.cp/mb-templates.exp: Likewise.
6943 * gdb.objc/basicclass.exp: Likewise.
6944 * gdb.threads/killed.exp: Likewise.
6945
9d9bf2df
EBM
69462014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6947
6948 PR tdep/17379
6949 * gdb.arch/powerpc-stackless.S: New file.
6950 * gdb.arch/powerpc-stackless.exp: New file.
6951
1cf2f1b0
JK
69522014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6953
6954 * gdb.base/attach.c: Include unistd.h.
6955 (main): Call alarm. Add label postloop.
6956 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6957 gdb_breakpoint, gdb_continue_to_breakpoint.
6958 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6959
98880d46
PA
69602014-09-11 Pedro Alves <palves@redhat.com>
6961
6962 PR gdb/17347
6963 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6964 * gdb.base/attach.exp (test_command_line_attach_run): New
6965 procedure.
6966 (top level): Call it.
6967
4c92ff2c
PA
69682014-09-11 Pedro Alves <palves@redhat.com>
6969
6970 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6971 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6972 (do_command_attach_tests): Use spawn_wait_for_attach.
6973 * gdb.base/solib-overlap.exp: Likewise.
6974 * gdb.multi/multi-attach.exp: Likewise.
6975 * gdb.python/py-prompt.exp: Likewise.
6976 * gdb.python/py-sync-interp.exp: Likewise.
6977 * gdb.server/ext-attach.exp: Likewise.
6978
3adc1a7d
GKB
69792014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6980
6981 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6982 command in testcase. Simplify testcase.
6983
96334934
JB
69842014-09-10 Joel Brobecker <brobecker@adacore.com>
6985
6986 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6987
eb479039
JB
69882014-09-10 Joel Brobecker <brobecker@adacore.com>
6989
6990 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6991
deede10c
JB
69922014-09-10 Joel Brobecker <brobecker@adacore.com>
6993
6994 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6995
7828a5f5
JB
69962014-09-10 Joel Brobecker <brobecker@adacore.com>
6997
6998 * gdb.dwarf2/dynarr-ptr.c: New file.
6999 * gdb.dwarf2/dynarr-ptr.exp: New file.
7000
33aeebcf
MR
70012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7002
7003 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7004 of 30 rather than hardcoding 120 for a slow test case. Take the
7005 `gdb,timeout' target setting into account for this calculation.
7006 Don't extend the timeout for the test cases that don't need it.
7007
7b415901
MR
70082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7009
7010 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7011 a factor of 2 for a slow test case. Take the `gdb,timeout'
7012 target setting into account for this calculation.
7013 * gdb.reverse/until-precsave.exp: Increase the timeout by
7014 a factor of 15 and 3 respectively rather than adding 120
7015 for a pair of slow test cases. Take the `gdb,timeout'
7016 target setting into account for this calculation.
7017
4a40f85a
MR
70182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7019
7020 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7021 timeout, don't pass one down to gdb_expect.
7022 (gdb_expect): Rework timeout selection.
7023
09635af7
MR
70242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7025
7026 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7027 exception on timeout.
7028 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7029 (gdbserver_start_extended): Catch any `gdbserver_start' error
7030 exceptions.
7031 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7032 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7033 `gdbserver_gdb_load' error exceptions.
7034
2bdd10b7
MR
70352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7036
7037 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7038 120 on waiting for the TCP socket to open.
7039
316935f0
DE
70402014-09-09 Doug Evans <xdje42@gmail.com>
7041
7042 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7043 _caller_matches, _any_caller_is, _any_caller_matches.
7044
83740597
DE
70452014-09-09 Doug Evans <xdje42@gmail.com>
7046
7047 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7048
4c122fc3
YQ
70492014-09-09 Yao Qi <yao@codesourcery.com>
7050
7051 * gdb.mi/mi-var-display.exp: Set print symbol off.
7052
a9f116cb
GKB
70532014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7054
7055 PR gdb/17035
7056 * gdb.base/commands.exp: Add tests to verify user-defined
7057 commands with empty bodies.
7058 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7059 python commands in `show user command`.
7060 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7061 scheme commands in `show user command`.
7062
c75bd3a2
JK
70632014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7064
7065 PR python/17355
7066 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7067 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7068 * gdb.python/py-framefilter-invalidarg.exp: New file.
7069 * gdb.python/py-framefilter-invalidarg.py: New file.
7070
faa42425
DE
70712014-09-06 Doug Evans <xdje42@gmail.com>
7072
7073 PR 15276
7074 * gdb.python/py-caller-is.c: New file.
7075 * gdb.python/py-caller-is.exp: New file.
7076
474ca4f6
SDJ
70772014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7078
7079 PR gdb/17235
7080 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7081 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7082
eb0b0463
SDJ
70832014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7084
7085 PR fortran/17237
7086 * gdb.fortran/print-formatted.exp: New file.
7087 * gdb.fortran/print-formatted.f90: Likewise.
7088
5f3b99cf
SS
70892014-09-03 Sasha Smundak <asmundak@google.com>
7090
7091 * gdb.python/py-frame.exp: Test Frame.read_register.
7092
7d793aa9
SDJ
70932014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7094
7095 PR python/16699
7096 * gdb.python/py-completion.exp: New file.
7097 * gdb.python/py-completion.py: Likewise.
7098
fb0576e9
DE
70992014-08-28 Doug Evans <dje@google.com>
7100
7101 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7102 eax,etc. are live with values set by gdb and thus the compiler can't
7103 use them.
7104 * gdb.arch/i386-pseudo.c (main): Ditto.
7105
ee92b0dd
DE
71062014-08-27 Doug Evans <dje@google.com>
7107
7108 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7109
6649db35
DE
71102014-08-25 Doug Evans <dje@google.com>
7111
7112 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7113 (main): Ditto.
7114
564b7600
DE
71152014-08-25 Doug Evans <dje@google.com>
7116
7117 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7118
3881fb67
YQ
71192014-08-24 Yao Qi <yao@codesourcery.com>
7120
7121 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7122 symbol off.
7123 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7124
a05a36a5
DE
71252014-08-22 Doug Evans <dje@google.com>
7126
7127 PR 17276
7128 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7129 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7130 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7131
7c343b48
YQ
71322014-08-22 Yao Qi <yao@codesourcery.com>
7133
7134 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7135 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7136 * gdb.python/python.exp: Likewise. Use .py file on the host
7137 instead of the build.
7138
22fd09ae
JK
71392014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7140
7141 * gdb.threads/gcore-stale-thread.c: New file.
7142 * gdb.threads/gcore-stale-thread.exp: New file.
7143
a8454a7c
PA
71442014-08-21 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7147 * gdb.base/gcore-relro-pie.exp: Likewise.
7148 * gdb.base/gcore-relro.exp: Likewise.
7149 * gdb.base/gcore.exp: Likewise.
7150 * gdb.base/print-symbol-loading.exp: Likewise.
7151 * gdb.threads/gcore-thread.exp: Likewise.
7152 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7153
2a31c623
PA
71542014-08-20 Pedro Alves <palves@redhat.com>
7155 Jan Kratochvil <jan.kratochvil@redhat.com>
7156
7157 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7158 configure.
7159 (EXPECT): Handle READ1 being set.
7160 (all): Depend on EXTRA_RULES.
7161 (check-read1, expect-read1, read1.so, read1): New rules.
7162 * README (Testsuite Parameters): Document the READ1 make variable.
7163 (Race detection): New section.
7164 * configure: Regenerate.
7165 * configure.ac: If build==host==target, and running under a
7166 GNU/glibc system, add read1 to the extra Makefile rules.
7167 (EXTRA_RULES): AC_SUBST it.
7168 * lib/read1.c: New file.
7169
d36430db
JB
71702014-08-20 Joel Brobecker <brobecker@adacore.com>
7171
7172 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7173 the handling of variables declared as a typedef to an array
7174 which a DW_AT_data_location attribute.
7175
9a0dc9e3
PA
71762014-08-19 Andrew Burgess <aburgess@broadcom.com>
7177 Pedro Alves <palves@redhat.com>
7178
7179 PR symtab/14604
7180 PR symtab/14605
7181 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7182 gdb_test.
7183
0718a8da
PA
71842014-08-19 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7187
13b448cd
YQ
71882014-08-19 Yao Qi <yao@codesourcery.com>
7189
7190 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7191 right line.
7192
1cbf5077
DB
71932014-08-18 David Blaikie <dblaikie@gmail.com>
7194
7195 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7196
bf0fae19
JB
71972014-08-18 Joel Brobecker <brobecker@adacore.com>
7198
7199 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7200 attribute in array range.
7201
3c8c5dcc
JB
72022014-08-18 Joel Brobecker <brobecker@adacore.com>
7203
7204 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7205
e66d4446
SC
72062014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7207
7208 PR c++/17132
7209 * gdb.cp/pr17132.cc: New file.
7210 * gdb.cp/pr17132.exp: New file.
7211
940df408
SC
72122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7213
7214 * gdb.python/py-xmethods.py (A_getarrayind)
7215 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7216 Use 'print' with function call syntax.
7217 (E_method_matcher.match): Fix tab vs space indentation mixup.
7218
ebcc6c3a
YQ
72192014-08-15 Yao Qi <yao@codesourcery.com>
7220
7221 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7222 false.
7223
775e0f04
YQ
72242014-08-15 Yao Qi <yao@codesourcery.com>
7225
7226 * gdb.cp/casts.exp: Set print symbol off.
7227 * gdb.cp/class2.exp: Likewise.
7228 * gdb.cp/overload.exp: Likewise.
7229 * gdb.cp/templates.exp: Likewise.
7230
d769e349
DE
72312014-08-11 Doug Evans <dje@google.com>
7232
7233 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7234 (test_load_shlib): Update.
7235
20c6f1e1
YQ
72362014-08-09 Yao Qi <yao@codesourcery.com>
7237
7238 * gdb.base/display.exp: Invoke is_address_zero_readable.
7239 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7240 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7241 * gdb.base/hbreak-unmapped.exp: Return if
7242 is_address_zero_readable returns true.
7243 * gdb.base/signest.exp: Likewise.
7244 * gdb.base/signull.exp: Likewise.
7245 * gdb.base/sigbpt.exp: Likewise.
7246 * gdb.guile/scm-disasm.exp: Do the test if
7247 is_address_zero_readable returns false.
7248 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7249 * gdb.python/py-arch.exp: Likewise.
7250 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7251 * lib/gdb.exp (is_address_zero_readable): New proc.
7252
5792e8e3
YQ
72532014-08-09 Yao Qi <yao@codesourcery.com>
7254
7255 PR testsuite/13443
7256 * gdb.mi/mi-var-display.exp: Make test messages unique.
7257
3cecbbbe
TT
72582014-08-04 Tom Tromey <tromey@redhat.com>
7259
7260 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7261 target 0".
7262
00b51ff5
TT
72632014-08-04 Tom Tromey <tromey@redhat.com>
7264
7265 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7266 "target_resume".
7267
6908c509
JB
72682014-08-01 Joel Brobecker <brobecker@adacore.com>
7269
7270 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7271 inner_vla_struct_object_size.
7272 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7273 as xfail.
7274
cc6563d2
PA
72752014-07-30 Pedro Alves <palves@redhat.com>
7276
7277 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7278 comment.
7279
7e09a223
YQ
72802014-07-29 Yao Qi <yao@codesourcery.com>
7281
7282 PR gdb/17206
7283 * gdb.base/until-nodebug.exp: New.
7284
7ebdbe92
DE
72852014-07-28 Doug Evans <xdje42@gmail.com>
7286
7287 PR guile/17203
7288 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7289 previously existing parameter, and previously ambiguously spelled
7290 parameter.
7291
fdb1adc6
WN
72922014-07-28 Will Newton <will.newton@linaro.org>
7293
7294 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7295
186fcde0
DE
72962014-07-26 Ludovic Courtès <ludo@gnu.org>
7297 Doug Evans <xdje42@gmail.com>
7298
7299 PR guile/17146
7300 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7301
70509625
PA
73022014-07-25 Pedro Alves <palves@redhat.com>
7303
7304 * gdb.threads/signal-command-handle-nopass.c: New file.
7305 * gdb.threads/signal-command-handle-nopass.exp: New file.
7306 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7307 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7308 * gdb.threads/signal-delivered-right-thread.c: New file.
7309 * gdb.threads/signal-delivered-right-thread.exp: New file.
7310
c3f814a1
PA
73112014-07-25 Pedro Alves <palves@redhat.com>
7312
7313 * gdb.base/double-prompt-target-event-error.exp
7314 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7315 match.
7316 (cancel_pagination_in_target_event): Rework double prompt
7317 detection.
7318 * gdb.base/paginate-after-ctrl-c-running.exp
7319 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7320 <return>' match.
7321 * gdb.base/paginate-bg-execution.exp
7322 (test_bg_execution_pagination_return)
7323 (test_bg_execution_pagination_cancel): Remove '-notransfer
7324 <return>' matches.
7325 * gdb.base/paginate-execution-startup.exp
7326 (test_fg_execution_pagination_return)
7327 (test_fg_execution_pagination_cancel): Remove '-notransfer
7328 <return>' matches.
7329 * gdb.base/paginate-inferior-exit.exp
7330 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7331 match.
7332 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7333 * lib/gdb.exp (pagination_prompt): Run text through
7334 string_to_regexp.
7335 (gdb_test_multiple): Match $pagination_prompt instead of
7336 "<return>".
7337 (string_to_regexp): Move to lib/gdb-utils.exp.
7338
e214cf6c
JK
73392014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7340
7341 * gdb.arch/amd64-entry-value-paramref.S: New file.
7342 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7343 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7344 * gdb.arch/amd64-optimout-repeat.S: New file.
7345 * gdb.arch/amd64-optimout-repeat.c: New file.
7346 * gdb.arch/amd64-optimout-repeat.exp: New file.
7347
17d0c5c8
JK
73482014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7349
7350 PR gdb/17170
7351 * gdb.base/statistics.exp: New file.
7352
b8b8facf
DE
73532014-07-17 Doug Evans <dje@google.com>
7354
74b49205 7355 PR gdb/17170
b8b8facf
DE
7356 * gdb.base/maint.exp: Update testing of per-command stats.
7357
1b5d0ab3
PA
73582014-07-16 Pedro Alves <palves@redhat.com>
7359
7360 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7361 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7362 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7363 (tfile_write_buf): New functions.
7364 (add_memory_block): Rewrite using the above.
7365 (adjust_function_address): New function.
7366 (FUNCTION_ADDRESS): New macro.
7367 (write_basic_trace_file): Remove short_x local, and use
7368 tfile_write_16. Change type of func_addr local to unsigned long
7369 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7370 here. Cast argument of add_memory_block to char pointer.
7371 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7372 (main): Remove parameters.
7373 * gdb.trace/tfile.exp: Remove nowarnings.
7374
4d974e88
SM
73752014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7376
7377 * gdb.base/debug-expr.exp: Test string evaluation with
7378 "debug expression" on.
7379
41e99568
PA
73802014-07-15 Pedro Alves <palves@redhat.com>
7381
7382 * gdb.base/reread.exp: Use clean_restart.
7383
487d9753
PL
73842014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7385
7386 * gdb.arch/avr-flash-qualifer.c: New.
7387 * gdb.arch/avr-flash-qualifer.exp: New.
7388
cc1c52ad
PA
73892014-07-14 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7392 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7393
1e973570
PA
73942014-07-14 Pedro Alves <palves@redhat.com>
7395
7396 * gdb.base/double-prompt-target-event-error.c: New file.
7397 * gdb.base/double-prompt-target-event-error.exp: New file.
7398
93d6eb10
PA
73992014-07-14 Pedro Alves <palves@redhat.com>
7400
7401 PR gdb/17072
7402 * gdb.base/paginate-inferior-exit.c: New file.
7403 * gdb.base/paginate-inferior-exit.exp: New file.
7404
0017922d
PA
74052014-07-14 Pedro Alves <palves@redhat.com>
7406
7407 PR gdb/17072
7408 * gdb.base/paginate-bg-execution.c: New file.
7409 * gdb.base/paginate-bg-execution.exp: New file.
7410
94696ad3
PA
74112014-07-14 Pedro Alves <palves@redhat.com>
7412
7413 PR gdb/17072
7414 * gdb.base/paginate-execution-startup.c: New file.
7415 * gdb.base/paginate-execution-startup.exp: New file.
7416 * lib/gdb.exp (pagination_prompt): New global.
7417 (default_gdb_spawn): New procedure, factored out from
7418 default_gdb_spawn.
7419 (default_gdb_start): Adjust to call default_gdb_spawn.
7420 (gdb_spawn): New procedure.
7421
bd293940
PA
74222014-07-14 Pedro Alves <palves@redhat.com>
7423
7424 * lib/gdb.exp (gdb_assert): New procedure.
7425 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7426
c933f875
PA
74272014-07-14 Pedro Alves <palves@redhat.com>
7428
7429 * gdb.base/execution-termios.c: New file.
7430 * gdb.base/execution-termios.exp: New file.
7431
d98b7a16
TT
74322014-07-14 Tom Tromey <tromey@redhat.com>
7433
7434 * gdb.cp/vla-cxx.cc: New file.
7435 * gdb.cp/vla-cxx.exp: New file.
7436
548740d6
TT
74372014-07-14 Tom Tromey <tromey@redhat.com>
7438
7439 * gdb.reverse/rerun-prec.c: New file.
7440 * gdb.reverse/rerun-prec.exp: New file.
7441
a25eb028
MR
74422014-07-12 Maciej W. Rozycki <macro@mips.com>
7443 Maciej W. Rozycki <macro@codesourcery.com>
7444
7445 * lib/gdb-utils.exp: New file.
7446 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7447 inline `gdb_init_command' processing.
7448 (gdb_start_cmd): Likewise.
7449 * lib/mi-support.exp (mi_run_cmd): Likewise.
7450 * README: Document `gdb_init_command' and `gdb_init_commands'.
7451
218c2655
JK
74522014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7453
7454 Fix false FAIL running under a very long directory name.
7455 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7456 and "set print elements 10000". Twice.
7457
5401fde3
YQ
74582014-07-11 Yao Qi <yao@codesourcery.com>
7459
7460 * gdb.base/exprs.exp: "set print symbol off".
7461
e76126e8
PA
74622014-07-11 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.threads/kill.c: New file.
7465 * gdb.threads/kill.exp: New file.
7466
2d6f0de6
YQ
74672014-07-10 Yao Qi <yao@codesourcery.com>
7468
7469 * gdb.trace/tfile.c (write_basic_trace_file)
7470 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7471 address written to trace file.
7472
7180e04a
PA
74732014-07-09 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.base/attach-wait-input.exp: New file.
7476 * gdb.base/attach-wait-input.c: New file.
7477
9a9a7608
AB
74782014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7479
7480 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7481 setting up test structures.
7482 (main): Call new test function.
7483 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7484 test function, continue into test function and walk test
7485 structures.
7486
161ac41e
YQ
74872014-07-02 Yao Qi <yao@codesourcery.com>
7488
7489 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7490 'bar_start' at the beginning of functions 'foo' and 'bar'
7491 respectively.
7492 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7493 instead of 'foo' and 'bar'.
7494
1f267ae3
MM
74952014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7496
7497 * gdb.btrace/segv.exp: New.
7498 * gdb.btrace/segv.c: New.
7499
2b239efb
LM
75002014-07-02 Luis Machado <lgustavo@codesourcery.com>
7501
7502 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7503 instruction.
7504
cf363f18
MW
75052014-06-30 Mark Wielaard <mjw@redhat.com>
7506
7507 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7508 vulture, vilify, villar): New volatile array constants.
7509 (vindictive, vegetation): New const volatile array constants.
7510 * gdb.base/volatile.exp: Test volatile and const volatile array
7511 types.
7512
aebf9d24
AA
75132014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7514
7515 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7516 target lacks support for awatch, rwatch, or hbreak.
7517
b67a2c6f
YQ
75182014-06-27 Yao Qi <yao@codesourcery.com>
7519
7520 * gdb.multi/dummy-frame-restore.exp: New.
7521 * gdb.multi/dummy-frame-restore.c: New.
7522
aef92902
MM
75232014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7524
7525 * gdb.btrace/gcore.exp: New.
7526
8e9db26e
PA
75272014-06-23 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.base/watchpoint-reuse-slot.c: New file.
7530 * gdb.base/watchpoint-reuse-slot.exp: New file.
7531
70afc5b7
SC
75322014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7533
7534 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7535 progspace's filename in 'info', 'enable' and 'disable' command
7536 tests.
7537
b972bd9c
JK
75382014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7541 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7542 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7543
125f8a3d
GB
75442014-06-20 Gary Benson <gbenson@redhat.com>
7545
7546 * gdb.arch/i386-avx.exp: Fix include file location.
7547 * gdb.arch/i386-sse.exp: Likewise.
7548
3ed9baed
IB
75492014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7550
7551 * gdb.dlang/expression.exp: New file.
7552
034f788c
PA
75532014-06-19 Pedro Alves <palves@redhat.com>
7554
7555 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7556 out from ...
7557 (top level): ... here. Iterate running tests under different
7558 scheduler-locking settings.
7559
45371d0c
LM
75602014-06-18 Luis Machado <lgustavo@codesourcery.com>
7561
7562 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7563 to DW_FORM_addr and use non-zero addresses.
7564
5d376983
SC
75652014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7566
7567 PR gdb/17017
7568 * gdb.python/py-xmethods.cc: Add global function call counters and
7569 increment them in their respective functions. Remove "cout"
7570 statements.
7571 * gdb.python/py-xmethods.exp: Make tests check the global function
7572 call counters instead of depending on inferior IO.
7573
a1aa2221
LM
75742014-06-18 Don Breazeal <donb@codesourcery.com>
7575
7576 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7577 Deleted procedure.
7578 (explicit_fork_parent_follow): Deleted procedure.
7579 (explicit_fork_child_follow): Deleted procedure.
7580 (test_follow_fork): New procedure.
7581 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7582 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7583 procedure calls.
7584
0fc05997
YQ
75852014-06-17 Yao Qi <yao@codesourcery.com>
7586
7587 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7588 CP1252.
7589
70795c52
LM
75902014-06-17 Luis Machado <lgustavo@codesourcery.com>
7591
7592 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7593 Initialize ptr and S explicitly.
7594 (skip_type_update_when_not_use_rtti_test): Likewise.
7595
6be47f0c
KS
75962014-06-16 Keith Seitz <keiths@redhat.com>
7597
7598 PR mi/15863
7599 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7600 the inferior is started.
7601
d03de421
PA
76022014-06-16 Pedro Alves <palves@redhat.com>
7603
7604 * gdb.base/break-main-file-remove-fail.c: New file.
7605 * gdb.base/break-main-file-remove-fail.exp: New file.
7606 * gdb.base/break-unload-file.exp: Use build_executable instead of
7607 prepare_for_testing.
7608 (test_break): New parameter "initial_load". Handle it.
7609 (top level): Add initial_load cmdline/file axis.
7610
f9579b99
TT
76112014-06-12 Tom Tromey <tromey@redhat.com>
7612
7613 * gdb.base/completion.exp: Don't use directory name in test.
7614
3657956b
GB
76152014-06-09 Gary Benson <gbenson@redhat.com>
7616
7617 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7618 separate the always-available ANSI-standard signals from the
7619 signals that require checking.
7620 (main): Likewise.
7621 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7622 Likewise.
7623 (main): Likewise.
7624
4186eb54
KS
76252014-06-07 Keith Seitz <keiths@redhat.com>
7626
7627 Revert:
7628 PR c++/16253
7629 * gdb.cp/var-tag.cc: New file.
7630 * gdb.cp/var-tag.exp: New file.
7631 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7632 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7633 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7634 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7635
25326a28 76362014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7637
7638 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7639
829155c9
PA
76402014-06-06 Pedro Alves <palves@redhat.com>
7641
7642 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7643 in target debug output instead of looking at RSP packets,
7644 disabling the test on any target that uses hardware stepping.
7645 Update comments.
7646
61c8d22e
PA
76472014-06-06 Pedro Alves <palves@redhat.com>
7648
7649 * gdb.base/break-unload-file.exp: Fix typo.
7650
d9a47287
YQ
76512014-06-06 Yao Qi <yao@codesourcery.com>
7652
7653 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7654 from "jit_function" to "^jit_function".
7655
e5e01dbf
YQ
76562014-06-06 Yao Qi <yao@codesourcery.com>
7657
7658 * gdb.base/async.c (foo): Add one statement.
7659 * gdb.base/async.exp: Get the next instruction address and
7660 match the output of "nexti" by instruction address. Match
7661 the hex address in the output of "finish".
7662
73ba372c
GB
76632014-06-06 Gary Benson <gbenson@redhat.com>
7664
7665 * gdb.base/call-signals.c: Remove preprocessor conditionals
7666 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7667 SIGSEGV and SIGTERM.
7668 * gdb.base/sigall.c: Likewise.
7669 * gdb.base/unwindonsignal.c: Likewise.
7670 * gdb.reverse/sigall-reverse.c: Likewise.
7671
831517df
YQ
76722014-06-06 Yao Qi <yao@codesourcery.com>
7673
7674 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7675 readable, skip the test.
7676
b8b91e98
YQ
76772014-06-06 Yao Qi <yao@codesourcery.com>
7678
7679 * gdb.threads/staticthreads.c (thread_function): Move the line
7680 setting breakpoint on forward.
7681 * gdb.threads/staticthreads.exp: Update comments.
7682
fb934770
LC
76832014-06-05 Ludovic Courtès <ludo@gnu.org>
7684
7685 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7686 "history-append! type error".
7687
6ef284bd
SM
76882014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7689
7690 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7691 erroneous dprintf expected input.
7692
a872e241
DE
76932014-06-04 Doug Evans <xdje42@gmail.com>
7694
7695 * gdb.guile/scm-generics.exp: Delete.
7696
16f691fb
DE
76972014-06-04 Doug Evans <xdje42@gmail.com>
7698
7699 * gdb.guile/scm-breakpoint.exp: Update.
7700 Add tests for breakpoint registration.
7701
012370f6
TT
77022014-06-04 Tom Tromey <tromey@redhat.com>
7703
7704 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7705 VLA-in-union.
7706 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7707 inner_vla_struct, vla_union types. Initialize objects of those
7708 types and compute their sizes.
7709
9f5a4cef
HZ
77102014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7711 Hui Zhu <hui@codesourcery.com>
7712
7713 * gdb.base/fileio.exp: Add test for shell not available as well as
7714 available.
7715 * gdb.base/fileio.c (test_system): Check for shell twice.
7716
90a45c4d
YQ
77172014-06-04 Yao Qi <yao@codesourcery.com>
7718
7719 * gdb.base/auto-connect-native-target.exp: Remove redundant
7720 space from the regexp pattern.
7721
70017e41
YQ
77222014-06-04 Yao Qi <yao@codesourcery.com>
7723
7724 * gdb.base/default.exp: Replace "child" with "native" in
7725 regexp pattern.
7726
883964a7
SC
77272014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7728
7729 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7730 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7731 * gdb.python/py-xmethods.py: Python script supporting the
7732 new testcase and tests.
7733
ef370185
JB
77342014-06-03 Joel Brobecker <brobecker@adacore.com>
7735 Pedro Alves <palves@redhat.com>
7736
7737 PR breakpoints/17000
7738 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7739 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7740
1e2ccb61
BM
77412014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7742
7743 * gdb.base/subst.exp: Add tests to verify partial path matching
7744 output.
7745
c6ec5ab2
PA
77462014-06-03 Pedro Alves <palves@redhat.com>
7747
7748 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7749 target that doesn't use software single-stepping.
7750
835c559f
PA
77512014-06-03 Pedro Alves <palves@redhat.com>
7752
7753 PR breakpoints/17000
7754 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7755 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7756
06eb1586
DE
77572014-06-02 Doug Evans <xdje42@gmail.com>
7758
7759 * gdb.guile/scm-parameter.exp: New file.
7760
e698b8c4
DE
77612014-06-02 Doug Evans <xdje42@gmail.com>
7762
7763 * gdb.guile/scm-cmd.c: New file.
7764 * gdb.guile/scm-cmd.exp: New file.
7765
ded03782
DE
77662014-06-02 Doug Evans <xdje42@gmail.com>
7767
7768 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7769 pretty-printer lookup.
7770 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7771 (make-pp_s-printer): Call it.
7772 (make-pretty-printer-from-dict): New function.
7773 (lookup-pretty-printer-maker-from-dict): New function.
7774 (*pretty-printer*): Simplify.
7775 (make-objfile-pp_s-printer): New function.
7776 (install-objfile-pretty-printers!): New function.
7777 (make-progspace-pp_s-printer): New function.
7778 (install-progspace-pretty-printers!): New function.
7779 * gdb.guile/scm-progspace.c: New file.
7780 * gdb.guile/scm-progspace.exp: New file.
7781
41fac0cf
PA
77822014-06-02 Pedro Alves <palves@redhat.com>
7783
7784 * gdb.base/dprintf-bp-same-addr.c: New file.
7785 * gdb.base/dprintf-bp-same-addr.exp: New file.
7786
96ae5695
EBM
77872014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7788
7789 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7790 * gdb.arch/powerpc-power.s: Likewise.
7791
da02b3a8
JB
77922014-06-02 Joel Brobecker <brobecker@adacore.com>
7793
7794 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7795
c72b2e7b
YQ
77962014-06-01 Yao Qi <yao@codesourcery.com>
7797
7798 * gdb.base/watchpoint.exp (test_watch_location): Check null
7799 pointer can be dereferenced. If not, do the test, otherwise
7800 skip it.
7801
53e8a631
AB
78022014-05-30 Andrew Burgess <aburgess@broadcom.com>
7803
7804 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7805 results.
7806 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7807
938f0e2f
AB
78082014-05-30 Andrew Burgess <aburgess@broadcom.com>
7809
7810 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7811 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7812 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7813 * gdb.arch/amd64-invalid-stack-top.c: New file.
7814 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7815
9ba6657a
PA
78162014-05-30 Pedro Alves <palves@redhat.com>
7817
7818 PR breakpoints/17000
7819 * gdb.base/sss-bp-on-user-bp.c: New file.
7820 * gdb.base/sss-bp-on-user-bp.exp: New file.
7821
522c09bf
DB
78222014-05-30 David Blaikie <dblaikie@gmail.com>
7823
7824 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7825 gnu_inline semantics via attribute.
7826 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7827 source explicitly specifies the required semantics.
7828
bf4ef81e
MR
78292014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7830
7831 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7832
329ea579
PA
78332014-05-29 Pedro Alves <palves@redhat.com>
7834 Tom Tromey <tromey@redhat.com>
7835
7836 * gdb.base/async-shell.exp: Don't enable target-async.
7837 * gdb.base/async.exp
7838 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7839 parameter. Adjust.
7840 (top level): Don't test with "target-async".
7841 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7842 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7843 * gdb.base/inferior-died.exp: Don't enable target-async.
7844 * gdb.base/interrupt-noterm.exp: Likewise.
7845 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7846 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7847 * gdb.mi/mi-nonstop.exp: Likewise.
7848 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7849 * gdb.mi/mi-nsintrall.exp: Likewise.
7850 * gdb.mi/mi-nsmoribund.exp: Likewise.
7851 * gdb.mi/mi-nsthrexec.exp: Likewise.
7852 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7853 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7854 * gdb.python/py-evsignal.exp: Don't enable target-async.
7855 * gdb.python/py-evthreads.exp: Likewise.
7856 * gdb.python/py-prompt.exp: Likewise.
7857 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7858 * gdb.server/solib-list.exp: Don't enable target-async.
7859 * gdb.threads/thread-specific-bp.exp: Likewise.
7860 * lib/mi-support.exp: Adjust to use mi-async.
7861
fd664c91
PA
78622014-05-29 Pedro Alves <palves@redhat.com>
7863
7864 PR gdb/13860
7865 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7866 reason, even in sync mode.
7867
251bde03
PA
78682014-05-29 Pedro Alves <palves@redhat.com>
7869 Hui Zhu <hui@codesourcery.com>
7870
7871 PR PR15693
7872 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7873 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7874 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7875 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7876
7f3c0343
JB
78772014-05-28 Joel Brobecker <brobecker@adacore.com>
7878
7879 * config/monitor.exp (gdb_target_monitor): Replace use of
7880 "set remotebaud" by "set serial baud".
7881
b2715b27
AW
78822014-05-26 Andy Wingo <wingo@igalia.com>
7883
7884 * gdb.guile/scm-breakpoint.exp:
7885 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7886 properties instead of gdb-object-properties.
7887
498a4489
YQ
78882014-05-26 Yao Qi <yao@codesourcery.com>
7889
7890 * gdb.server/no-thread-db.exp: Specify source file name
7891 explicitly when setting a breakpoint.
7892
589fdceb
MM
78932014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7894
7895 * gdb.btrace/vdso.c: New.
7896 * gdb.btrace/vdso.exp: New.
7897
e9089e05
MM
78982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7899
7900 * gdb.base/gcore.exp (capture_command_output): Move ...
7901 * lib/gdb.exp (capture_command_output): ... here.
7902
67b5c0c1
MM
79032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7904
7905 * gdb.btrace/data.exp: Test memory access during btrace replay.
7906
a2199296
SM
79072014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7908
7909 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7910
17b2616c
PA
79112014-05-21 Pedro Alves <palves@redhat.com>
7912
7913 PR gdb/13860
7914 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7915 (top level): Test that output related to execution commands is
7916 sent to the console with CLI commands, but not with MI commands.
7917 Test that breakpoint events are always mirrored to the console.
7918 Also expect the new source line to be output after a "next" in
7919 async mode too. Make it a pass/fail test.
7920 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7921 output.
7922 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7923
5166082f
PA
79242014-05-21 Pedro Alves <palves@redhat.com>
7925
7926 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7927 Use them to test variations of "list" after reaching a breakpoint.
7928 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7929 Test "list" with listsize 10 after reaching a breakpoint.
7930 * gdb.python/python.exp (decode_line current location line
7931 number): Adjust expected line number.
7932
2f25d70f
SM
79332014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7934
7935 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7936 behavior for $args, pass it directly to "run".
7937
ff604a67
MR
79382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7939
7940 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7941 30000 to 65536.
7942
6a3cb8e8
PA
79432014-05-21 Pedro Alves <palves@redhat.com>
7944
7945 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7946 auto-connect-native-target off".
7947 * gdb.base/auto-connect-native-target.c: New file.
7948 * gdb.base/auto-connect-native-target.exp: New file.
7949
4ebfc96e
PA
79502014-05-21 Pedro Alves <palves@redhat.com>
7951
7952 * gdb.base/default.exp: Test "target native" instead of "target
7953 child".
7954
36d46afb
MW
79552014-05-21 Mark Wielaard <mjw@redhat.com>
7956
7957 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7958
5876f503
JK
79592014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7960
7961 Fix TLS access for -static -pthread.
7962 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7963 <HAVE_TLS> (thread_function, main): Initialize it.
7964 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7965 Add clean_restart.
7966 <$have_tls != "">: Check TLSVAR.
7967
0256a6ac
PA
79682014-05-21 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.base/dcache-line-read-error.c: New.
7971 * gdb.base/dcache-line-read-error.exp: New.
7972
936d2992
PA
79732014-05-20 Pedro Alves <palves@redhat.com>
7974
7975 * gdb.base/compare-sections.c: New file.
7976 * gdb.base/compare-sections.exp: New file.
7977
802e8e6d
PA
79782014-05-20 Pedro Alves <palves@redhat.com>
7979
7980 * gdb.base/break-idempotent.c: New file.
7981 * gdb.base/break-idempotent.exp: New file.
7982
e59fa00f
MM
79832014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7984
7985 * gdb.btrace/nohist.exp: New.
7986
8b696e31
YQ
79872014-05-20 Yao Qi <yao@codesourcery.com>
7988
7989 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7990 gdb.reverse directory and gdb_reverse_timeout exists in board
7991 setting.
7992 * README: Document gdb_reverse_timeout.
7993
73c9764f
YQ
79942014-05-20 Yao Qi <yao@codesourcery.com>
7995
7996 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7997 'test_file_name'. Treat args as a string instead of a list.
7998 (gdb_init): Rename argument 'args' by 'test_file_name'.
7999
f1f4348a
JK
80002014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8001
8002 * gdb.arch/powerpc-power.exp: New file.
8003 * gdb.arch/powerpc-power.s: New file.
8004
0dbe70ce
DE
80052014-05-16 Doug Evans <dje@google.com>
8006
8007 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
8008 * gdb.base/completion.exp: Check that all expected files exist
8009 before doing file completion.
0dbe70ce 8010
8d551b02
DE
80112014-05-16 Doug Evans <dje@google.com>
8012
8013 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8014 Update.
8015 (do_syscall_tests_without_xml): Update.
8016
73eb7709
PA
80172014-05-16 Pedro Alves <palves@redhat.com>
8018
8019 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8020 instead of "unknown output after running".
8021
3fae92fc
YQ
80222014-05-16 Yao Qi <yao@codesourcery.com>
8023
8024 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8025 file1.txt from host at the end.
8026 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8027
c2b2ccc5
DE
80282014-05-15 Doug Evans <dje@google.com>
8029
8030 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8031 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8032 loading file. Add test for TU lookup.
8033
8c217a4b
SM
80342014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8035
8036 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8037 calling "-exec-arguments" or "set args" before running the
8038 inferior.
8039
3deb39c6
SM
80402014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8041
8042 * lib/mi-support.exp (mi_expect_stop): Expect message for
8043 inferiors that exit with non-zero exit code.
8044
71a79f8c
YQ
80452014-05-14 Yao Qi <yao@codesourcery.com>
8046
8047 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8048 match absolute path on remote host.
8049 (test_file_list_exec_source_files): Remove "/" from the
8050 pattern.
8051
f23fcd46
YQ
80522014-05-14 Yao Qi <yao@codesourcery.com>
8053
8054 * boards/local-remote-host-notty.exp (${board}_file): New
8055 proc.
8056
9404b58f
KM
80572014-05-07 Kyle McMartin <kyle@redhat.com>
8058
8059 Pushed by Joel Brobecker <brobecker@adacore.com>.
8060 * gdb.arch/aarch64-atomic-inst.c: New file.
8061 * gdb.arch/aarch64-atomic-inst.exp: New file.
8062
5e45f04c
YQ
80632014-05-07 Yao Qi <yao@codesourcery.com>
8064
8065 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8066 in current context" too.
8067
c888a17d
KS
80682014-05-05 Keith Seitz <keiths@redhat.com>
8069
8070 * gdb.linespec/ls-dollar.exp: Add test for linespec
8071 file:convenience_variable.
8072
290a839c
YQ
80732014-05-05 Yao Qi <yao@codesourcery.com>
8074
8075 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8076 traceframes into tfile and ctf trace files. Read data from
8077 trace file and test collected data.
8078 (gdb_collect_locals_test): Likewise.
8079 (gdb_unavailable_registers_test): Likewise.
8080 (gdb_unavailable_floats): Likewise.
8081 (gdb_collect_globals_test): Likewise.
8082 (top-level): Append "ctf" to trace_file_targets if GDB
8083 supports.
8084
b5262cd0
YQ
80852014-05-05 Yao Qi <yao@codesourcery.com>
8086
8087 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8088 code to ...
8089 (gdb_collect_args_test_1): ... it. New proc.
8090 (gdb_collect_locals_test): Move some code to ...
8091 (gdb_collect_locals_test_1): ... it. New proc.
8092 (gdb_unavailable_registers_test): Move some code to ...
8093 (gdb_unavailable_registers_test_1): ... it. New proc.
8094 (gdb_unavailable_floats): Move some code to ...
8095 (gdb_unavailable_floats_1): ... it. New proc.
8096
30a1e6cc
SDJ
80972014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8098
8099 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8100 probes to test for bitness recognition.
8101 * gdb.arch/amd64-stap-optional-prefix.exp
8102 (test_probe_value_without_reg): New procedure.
8103 Add code to test for different kinds of bitness.
8104
f33da99a
SDJ
81052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8106
8107 PR breakpoints/16889
8108 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8109 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8110
5b80f00d
PA
81112014-05-01 Pedro Alves <palves@redhat.com>
8112
8113 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8114 gdb_file_cmd if no file is specified.
8115 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8116 last_loaded_file to set the remote exec-file.
8117
f8c2a73c
PA
81182014-05-01 Pedro Alves <palves@redhat.com>
8119
8120 * boards/local-remote-host.exp: New file.
8121
be6e8ac7
PA
81222014-05-01 Pedro Alves <palves@redhat.com>
8123
8124 * boards/local-remote-host.exp: Rename to ...
8125 * boards/local-remote-host-notty.exp: ... this.
8126
cac0dc8f
JB
81272014-04-28 Joel Brobecker <brobecker@adacore.com>
8128
8129 * gdb.ada/dyn_arrayidx: New testcase.
8130
9730e6cc
YQ
81312014-04-26 Yao Qi <yao@codesourcery.com>
8132
8133 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8134 and compute the length of function main. Save it in
8135 $main_length.
8136 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8137 (top-level): Use gdb_compile to compile objects into
8138 executable and restart GDB. Remove invocation to
8139 prepare_for_testing.
8140
7ae1a6a6
PA
81412014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8142 Pedro Alves <palves@redhat.com>
8143
8144 PR server/16255
8145 * gdb.multi/multi-attach.c: New file.
8146 * gdb.multi/multi-attach.exp: New file.
8147
4082afcc
PA
81482014-04-25 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8151 user.
8152 (top level): Test that "set remote conditional-breakpoints-packet
8153 off" works as intended.
8154 * gdb.base/dprintf.exp: Test that "set remote
8155 breakpoint-commands-packet off" works as intended.
8156 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8157 New function.
8158 (top level): Call it.
8159 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8160 remote fast-tracepoints-packet off" works as intended.
8161 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8162 * lib/gdb.exp (gdb_is_target_remote): ... here.
8163
2abc3f8d
DB
81642014-04-24 David Blaikie <dblaikie@gmail.com>
8165
8166 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8167 ensure clang would not discard them.
8168 * gdb.base/gdbvars.c: Ditto.
8169 * gdb.base/memattr.c: Ditto.
8170 * gdb.base/whatis.c: Ditto.
8171 * gdb.python/py-prettyprint.c: Ditto.
8172 * gdb.trace/actions.c: Ditto.
8173 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8174 ensure clang would not discard it.
8175
bfd39632
DB
81762014-04-24 David Blaikie <dblaikie@gmail.com>
8177
8178 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8179 clang to emit the full definition of type required by the test
8180 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8181
22842ff6
DB
81822014-04-24 David Blaikie <dblaikie@gmail.com>
8183
8184 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8185 coax Clang into emitting the definition of the type.
8186 * gdb.cp/pr10728-x.h (y): Ditto.
8187 * gdb.cp/pr10728-y.cc (y): Ditto.
8188
c2e827ad
DB
81892014-04-24 David Blaikie <dblaikie@gmail.com>
8190
8191 * gdb.base/label.exp: XFAIL label related tests under Clang.
8192 * gdb.cp/cplabel.exp: Ditto.
8193 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8194 under Clang those using labels.
8195
4c2d33e7
YQ
81962014-04-25 Yao Qi <yao@codesourcery.com>
8197
8198 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8199 double_label.
8200 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8201 partial_label and double_label.
8202
56083b99
DB
82032014-04-24 David Blaikie <dblaikie@gmail.com>
8204
8205 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8206
25d4e99d
DB
82072014-04-24 David Blaikie <dblaikie@gmail.com>
8208
8209 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8210 of the function to work across GCC and Clang.
8211 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8212 pointer types (const void ** const V void **).
8213
01f9f808
MS
82142014-04-24 Michael Sturm <michael.sturm@mintel.com>
8215 Walfred Tedeschi <walfred.tedeschi@intel.com>
8216
8217 * Makefile.in (EXECUTABLES): Added i386-avx512.
8218 * gdb.arch/i386-avx512.c: New file.
8219 * gdb.arch/i386-avx512.exp: Likewise.
8220
4b48d439
KS
82212014-04-23 Keith Seitz <keiths@redhat.com>
8222
8223 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8224 (mi_make_breakpoint_table): New procedure.
8225 (mi_create_breakpoint): Use mi_make_breakpoint
8226 and return the result.
8227 (mi_make_breakpoint): New procedure.
8228 (mi_build_kv_pairs): New procedure.
8229
8230 * gdb.mi/mi-break.exp: Remove unused globals,
8231 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8232 All callers updated.
8233 * gdb.mi/mi-dprintf.exp: Use variable to track command
8234 number.
8235 Update all callers of mi_create_breakpoint and use
8236 mi_make_breakpoint_table.
8237 Remove any unused global variables.
8238 * gdb.mi/mi-nonstop.exp: Likewise.
8239 * gdb.mi/mi-nsintrall.exp: Likewise.
8240 * gdb.mi/mi-nsmoribund.exp: Likewise.
8241 * gdb.mi/mi-nsthrexec.exp: Likewise.
8242 * gdb.mi/mi-reverse.exp: Likewise.
8243 * gdb.mi/mi-simplerun.exp: Likewise.
8244 * gdb.mi/mi-stepn.exp: Likewise.
8245 * gdb.mi/mi-syn-frame.exp: Likewise.
8246 * gdb.mi/mi-until.exp: Likewise.
8247 * gdb.mi/mi-var-cp.exp: Likewise.
8248 * gdb.mi/mi-var-display.exp: Likewise.
8249 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8250 * gdb.mi/mi2-var-child.exp: Likewise.
8251 * gdb.mi/mi-vla-c99.exp: Likewise.
8252 * lib/mi-support.exp: Likewise.
8253
8254 From Ian Lance Taylor <iant@cygnus.com>:
8255 * lib/gdb.exp (parse_args): New procedure.
8256
08351840
PA
82572014-04-23 Pedro Alves <palves@redhat.com>
8258
8259 * gdb.base/break-unload-file.c: New file.
8260 * gdb.base/break-unload-file.exp: New file.
8261 * gdb.base/sym-file-lib.c (baz): New function.
8262 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8263 field.
8264 (load): Store the segment's mapped size.
8265 (unload): New function.
8266 (unload_shlib): New function.
8267 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8268 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8269 set a breakpoint at baz, and call it.
8270 * gdb.base/sym-file.exp: New tests for stale breakpoint
8271 instructions.
8272
076855f9
PA
82732014-04-23 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8276 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8277 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8278 * gdb.base/hbreak-unmapped.c: New file.
8279 * gdb.base/hbreak-unmapped.exp: New file.
8280 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8281 * lib/gdb.exp (gdb_is_target_remote): ... here.
8282
483805cf
PA
82832014-04-22 Pedro Alves <palves@redhat.com>
8284
8285 * gdb.base/consecutive-step-over.c: New file.
8286 * gdb.base/consecutive-step-over.exp: New file.
8287
06d97543
PA
82882014-04-22 Pedro Alves <palves@redhat.com>
8289
8290 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8291 instead of send_gdb/gdb_expect.
8292
b4429ea2
YQ
82932014-04-22 Yao Qi <yao@codesourcery.com>
8294
8295 * lib/trace-support.exp (generate_tracefile): New procedure.
8296 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8297 return 0.
8298 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8299 if generate_tracefile returns 1.
8300
51d48146
PA
83012014-04-18 Tom Tromey <palves@redhat.com>
8302 Pedro alves <tromey@redhat.com>
8303
8304 PR backtrace/15558
8305 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8306 with a backtrace limit.
8307 * gdb.python/py-frame-inline.exp: Test running to an inline
8308 function with a backtrace limit, and printing the newest frame.
8309 * gdb.python/py-frame-inline.c (main): Call f.
8310
bd1dce5f
MS
83112014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8312
8313 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8314
40d1a503
MS
83152014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8316
8317 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8318 Drop prefix from unsupported source file path.
8319
389b98f7
YQ
83202014-04-17 Yao Qi <yao@codesourcery.com>
8321
8322 * lib/gdb.exp (with_target_charset): New proc.
8323 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8324 with_target_charset.
8325 (test_print_strings): Likewise.
8326 (test_repeat_bytes): Likewise.
8327 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8328 for some tests.
8329
22869d73
KS
83302014-04-16 Keith Seitz <keiths@redhat.com>
8331
8332 PR gdb/15827
8333 * gdb.dwarf2/corrupt.c: New file.
8334 * gdb.dwarf2/corrupt.exp: New file.
8335
c4f87ca6
KS
83362014-04-16 Keith Seitz <keiths@redhat.com>
8337
8338 PR c++/16597
8339 * gdb.cp/namelessclass.cc: New file.
8340 * gdb.cp/namelessclass.exp: New file.
8341 * gdb.cp/namelessclass.S: New file.
8342
ab19de87
DE
83432014-04-16 Doug Evans <dje@google.com>
8344
8345 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8346 Add comment.
8347 (gdbserver_default_get_comm_port): New function.
8348 (gdbserver_start): Check if board file provided
8349 "gdbserver,get_comm_port" and use it if so.
8350 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8351 (gdb,socketport): Set to "stdio".
8352 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8353 (stdio_gdbserver_template): Delete.
8354 (${board}_get_remote_address): Update.
8355 (${board}_build_remote_cmd): Delete.
8356 (${board}_get_comm_port): New function.
8357 (${board}_spawn): Update.
8358 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8359 Delete.
8360 (${board}_get_remote_address): Update.
8361 (${board}_get_comm_port): New function.
8362
fc98a809
AB
83632014-04-16 Andrew Burgess <aburgess@broadcom.com>
8364
8365 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8366 appearing in any order.
8367
87fd9e6e
DE
83682014-04-15 Doug Evans <dje@google.com>
8369
8370 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8371 uninitialized value of "description".
8372
099fc3ea
KS
83732014-04-15 Keith Seitz <keiths@redhat.com>
8374
8375 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8376 Remove unused globals.
8377 (test_running_the_program): Likewise.
8378 (test_controlled_execution): Likewise.
8379 (test_controlling_breakpoints): Likewise.
8380 (test_program_termination): Likewise.
8381
5da151d4
KS
83822014-04-15 Keith Seitz <keiths@redhat.com>
8383
8384 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8385 unused globals.
8386 (test_rbreak_creation_and_listing): Likewise.
8387 (test_ignore_count): Likewise.
8388 (test_error): Likewise.
8389
35e5d2f0
PA
83902014-04-15 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8393 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8394 sym-file-loader.c.
8395 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8396 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8397 to sym-file-loader.c.
8398 (struct library): Forward declare.
8399 (load_shlib, lookup_function): Change prototypes.
8400 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8401 (translate_offset): Remove declarations.
8402 (get_text_addr): New declaration.
8403 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8404 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8405 sym-file-loader.h.
8406 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8407 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8408 here from sym-file-loader.h.
8409 (struct library): New structure.
8410 (load_shlib, lookup_function): Change prototypes and adjust to
8411 work with a struct library.
8412 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8413 (translate_offset): Make static.
8414 (get_text_addr): New function.
8415 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8416
eb4c1710
PA
84172014-04-15 Pedro Alves <palves@redhat.com>
8418
8419 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8420
2d1baf52
PA
84212014-04-15 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.base/sym-file-loader.c: Include <limits.h>.
8424 (SELF_LINK): New define.
8425 (get_origin): New function.
8426 (load_shlib): Use it.
8427 * gdb.base/sym-file.exp: Don't early return if the target is
8428 remote. Use runto_main, and issue fail is that fails. Use
8429 gdb_load_shlibs.
8430 (shlib_name): Delete.
8431 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8432
7dd6df01
PA
84332014-04-15 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.base/sym-file.exp: Remove regex characters from test
8436 message. Don't refer to breakpoint numbers in test messages.
8437
b50c8614
KS
84382014-04-14 Keith Seitz <keiths@redhat.com>
8439
8440 PR c++/16253
8441 * gdb.cp/var-tag.cc: New file.
8442 * gdb.cp/var-tag.exp: New file.
8443 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8444 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8445 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8446 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8447
3d567982
TT
84482014-04-14 Tom Tromey <tromey@redhat.com>
8449
8450 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8451 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8452 type.
8453 * gdb.cp/enum-class.exp: New file.
8454 * gdb.cp/enum-class.cc: New file.
8455
0626fc76
TT
84562014-04-14 Tom Tromey <tromey@redhat.com>
8457
8458 * gdb.dwarf2/enum-type.exp: New file.
8459
dca325b3
SA
84602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8461
8462 * gdb.mi/mi-vla-c99.exp: New file.
8463 * gdb.mi/vla.c: New file.
8464
5854b38a
SA
84652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8466
8467 * gdb.base/vla-datatypes.c: New file.
8468 * gdb.base/vla-datatypes.exp: New file.
8469
463bb957
SA
84702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8471
8472 * gdb.base/vla-ptr.c: New file.
8473 * gdb.base/vla-ptr.exp: New file.
8474
3dd170be
SA
84752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8476
8477 * gdb.dwarf2/count.exp: New file.
8478
5ecaaa66
SA
84792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8480
8481 * gdb.base/vla-sideeffect.c: New file.
8482 * gdb.base/vla-sideeffect.exp: New file.
8483
41f1ada5
DB
84842014-04-14 David Blaikie <dblaikie@gmail.com>
8485
8486 * gdb.mi/non-stop.c: Add return value for non-void function return
8487 statement.
8488 * gdb.threads/staticthreads.c: Ditto.
8489
0be03e84
DE
84902014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8491 Doug Evans <xdje42@gmail.com>
8492
8493 * gdb.guile/scm-value.c: Improve test case.
8494 * gdb.guile/scm-value.exp: Add new test.
8495
f180a1fb
DB
84962014-04-11 David Blaikie <dblaikie@gmail.com>
8497
8498 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8499 override Clang's default.
8500
6b662e19
JB
85012014-04-11 Joel Brobecker <brobecker@adacore.com>
8502
8503 Revert the following changes (regressions):
8504
8505 * gdb.base/vla-sideeffect.c: New file.
8506 * gdb.base/vla-sideeffect.exp: New file.
8507
8508 * gdb.dwarf2/count.exp: New file.
8509
8510 * gdb.base/vla-multi.c: New file.
8511 * gdb.base/vla-multi.exp: New file.
8512
8513 * gdb.base/vla-ptr.c: New file.
8514 * gdb.base/vla-ptr.exp: New file.
8515
8516 * gdb.base/vla-datatypes.c: New file.
8517 * gdb.base/vla-datatypes.exp: New file.
8518
8519 * gdb.mi/mi-vla-c99.exp: New file.
8520 * gdb.mi/vla.c: New file.
8521
245a5f0b
KS
85222014-04-11 Keith Seitz <keiths@redhat.com>
8523
8524 PR c++/16675
8525 * gdb.cp/cpsizeof.exp: New file.
8526 * gdb.cp/cpsizeof.cc: New file.
8527
58a84dcf
SA
85282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8529
191a8a90
JB
8530 * gdb.mi/mi-vla-c99.exp: New file.
8531 * gdb.mi/vla.c: New file.
58a84dcf 8532
c8655f75
SA
85332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8534
8535 * gdb.base/vla-datatypes.c: New file.
8536 * gdb.base/vla-datatypes.exp: New file.
8537
024e13b4
SA
85382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8539
8540 * gdb.base/vla-ptr.c: New file.
8541 * gdb.base/vla-ptr.exp: New file.
8542
1a237e0e
SA
85432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8544
8545 * gdb.base/vla-multi.c: New file.
8546 * gdb.base/vla-multi.exp: New file.
8547
504f3432
SA
85482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8549
8550 * gdb.dwarf2/count.exp: New file.
8551
3bce8237
SA
85522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8553
191a8a90
JB
8554 * gdb.base/vla-sideeffect.c: New file.
8555 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8556
322f9c21
YQ
85572014-04-11 Yao Qi <yao@codesourcery.com>
8558
8559 * gdb.base/completion.exp: Check file exists before running tests
8560 on file completion.
8561
d708bcd1
PA
85622014-04-10 Pedro Alves <palves@redhat.com>
8563
8564 * gdb.base/cond-eval-mode.c: New file.
8565 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8566 prepare_for_testing to build the new file. Check result of
8567 runto_main.
8568 (test_break, test_watch): New procedures.
8569 (top level): Use them.
8570
ae1d2761
PM
85712014-04-08 Pierre Muller <muller@sourceware.org>
8572
8573 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8574 Ctrl-V use for mingw hosts.
8575
7af389b8
SC
85762014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8577
8578 * gdb.python/py-value.c: Improve test case.
8579 * gdb.python/py-value.exp: Add new test.
8580
5e703181
DE
85812014-04-07 David Blaikie <dblaikie@gmail.com>
8582
8583 * lib/compiler.c: Identify the clang compiler.
8584 * lib/compiler.cc: Ditto.
8585
9810b410
YQ
85862014-04-03 Yao Qi <yao@codesourcery.com>
8587
8588 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8589
98d1b8dc
AB
85902014-04-01 Anton Blanchard <anton@samba.org>
8591
8592 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8593 messages unique.
8594
3114cea1
AB
85952014-04-01 Anton Blanchard <anton@samba.org>
8596
8597 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8598 prepare_for_testing.
8599
62f7182c
AB
86002014-04-01 Anton Blanchard <anton@samba.org>
8601
8602 * gdb.arch/ppc64-atomic-inst.c: Remove.
8603 * gdb.arch/ppc64-atomic-inst.S: New file.
8604 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8605
770e7fc7
DE
86062014-03-31 Doug Evans <dje@google.com>
8607
8608 * gdb.base/print-symbol-loading-lib.c: New file.
8609 * gdb.base/print-symbol-loading-main.c: New file.
8610 * gdb.base/print-symbol-loading.exp: New file.
8611
46e2bafa
YQ
86122014-03-31 Yao Qi <yao@codesourcery.com>
8613
8614 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8615
8776cfe9
JB
86162014-03-28 Joel Brobecker <brobecker@adacore.com>
8617
8618 * gdb.ada/mi_dyn_arr: New testcase.
8619
5d1ef361
DE
86202014-03-27 Doug Evans <dje@google.com>
8621
8622 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8623
b5bee914
YQ
86242014-03-27 Yao Qi <yao@codesourcery.com>
8625
8626 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8627 if target is nios2-*-*.
8628
0d4d0e77
YQ
86292014-03-26 Yao Qi <yao@codesourcery.com>
8630
8631 * lib/gdb.exp (readline_is_used): New proc.
8632 * gdb.base/completion.exp: Move tests on command complete up.
8633 Skip the rest of tests if readline is not used.
8634 * gdb.ada/complete.exp: Skp the test if readline is not
8635 used.
8636 * gdb.base/filesym.exp: Likewise.
8637 * gdb.base/macscp.exp: Likewise.
8638 * gdb.base/readline-ask.exp: Likewise.
8639 * gdb.base/readline.exp: Likewise.
8640 * gdb.python/py-cmd.exp: Likewise.
8641 * gdb.trace/tfile.exp: Likewise.
8642
29361eee
YQ
86432014-03-26 Yao Qi <yao@codesourcery.com>
8644
8645 * gdb.base/macscp.exp: Fix code format issues.
8646
bc9a5525
UW
86472014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8648
8649 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8650 * gdb.asm/powerpc64le.inc: New file.
8651
d3839ede
PA
86522014-03-25 Pedro Alves <palves@redhat.com>
8653 Doug Evans <dje@google.com>
8654
8655 * gdb.base/source-execution.c: New file.
8656 * gdb.base/source-execution.exp: New file.
8657 * gdb.base/source-execution.gdb: New file.
8658
01672a57
DE
86592014-03-24 Doug Evans <dje@google.com>
8660
8661 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8662 using fission.
8663
88bbeca9
HZ
86642014-03-24 Hui Zhu <hui@codesourcery.com>
8665 Pedro Alves <palves@redhat.com>
8666
8667 PR breakpoints/16101
8668 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8669 test pass/fail messages. Detect missing support for dprintf when
8670 breakpoints are actually inserted.
8671 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8672 breakpoints are actually inserted.
8673 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8674 fails.
8675
d2348791
JK
86762014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8677
8678 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8679
feef67ab
DE
86802014-03-22 Doug Evans <xdje42@gmail.com>
8681
8682 * gdb.python/python.exp (python not supported): Verify multi-line
8683 python command issues an error.
25d743f9 8684 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8685 guile command issues an error.
feef67ab 8686
ecebef6a
MR
86872014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8688
8689 * gdb.threads/thread-specific.exp: Handle the lack of usable
8690 $this_breakpoint and $this_thread.
8691
ccdd1909
HZ
86922014-03-21 Hui Zhu <hui@codesourcery.com>
8693
8694 * gdb.base/attach.exp (do_command_attach_tests): New.
8695
beb460e8
PA
86962014-03-20 Tom Tromey <tromey@redhat.com>
8697 Pedro Alves <palves@redhat.com>
8698
8699 PR cli/15718
8700 * gdb.base/condbreak-call-false.c: New file.
8701 * gdb.base/condbreak-call-false.exp: New file.
8702
40acf43a
PA
87032014-03-20 Pedro Alves <palves@redhat.com>
8704
8705 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8706 Delete.
8707 (block_signals, unblock_signals): Delete.
8708 (child_function_2, main): Remove references to deleted variable
8709 and functions.
8710
9f5e1e02
PA
87112014-03-20 Pedro Alves <palves@redhat.com>
8712
8713 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8714 Use pthread_kill to signal thread 2.
8715 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8716 Adjust to make the test send itself a signal rather than using the
8717 host's "kill" command.
8718
99619bea
PA
87192014-03-20 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.threads/multiple-step-overs.c: New file.
8722 * gdb.threads/multiple-step-overs.exp: New file.
8723 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8724 Adjust expected infrun debug output.
8725
2adfaa28
PA
87262014-03-20 Pedro Alves <palves@redhat.com>
8727
8728 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8729 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8730
31e77af2
PA
87312014-03-20 Pedro Alves <palves@redhat.com>
8732
8733 PR breakpoints/7143
8734 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8735 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8736 of gdb_test_multiple.
8737 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8738 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8739
b9f437de
PA
87402014-03-20 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8743 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8744
05adc73e
PA
87452014-03-19 Pedro Alves <palves@redhat.com>
8746
8747 * gdb.base/async.exp: Remove early return.
8748
6048b950
PA
87492014-03-19 Pedro Alves <palves@redhat.com>
8750
8751 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8752
8bcfb00a
PA
87532014-03-19 Pedro Alves <palves@redhat.com>
8754
8755 * gdb.base/async.exp (test_background): Expect \r\n after
8756 "completed." in the fail pattern.
8757
884e37dc
PA
87582014-03-19 Pedro Alves <palves@redhat.com>
8759
8760 * gdb.base/async.exp (test_background): New procedure.
8761 Use it for all background execution command tests.
8762
148e57e2
PA
87632014-03-19 Pedro Alves <palves@redhat.com>
8764
8765 * gdb.base/async.exp: Use prepare_for_testing.
8766
f48088c7
PA
87672014-03-19 Pedro Alves <palves@redhat.com>
8768
8769 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8770 the same line.
8771
e2f6c966
PA
87722014-03-19 Pedro Alves <palves@redhat.com>
8773
8774 * gdb.base/async.c (main): Add "jump here" and "until here" line
8775 marker comments.
8776 * gdb.base/async.exp (jump_here): New global.
8777 (jump& test): Use it.
8778 (until_here): New global.
8779 (until& test): Use it.
8780
c30568d4
PA
87812014-03-19 Pedro Alves <palves@redhat.com>
8782
8783 * gdb.base/async.exp: Don't frob gdb_protocol.
8784
0172b6a7
DE
87852014-03-18 Doug Evans <xdje42@gmail.com>
8786
8787 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8788 Fix spelling of exec-done-display.
8789
06c868a8
JK
87902014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8791
8792 PR gdb/15358
8793 * gdb.base/gdb-sigterm.c: New file.
8794 * gdb.base/gdb-sigterm.exp: New file.
8795
0c7e1a46
PA
87962014-03-18 Pedro Alves <palves@redhat.com>
8797
8798 PR gdb/13860
8799 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8800 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8801 solib-event.
8802
f7c77d93
JB
88032014-03-17 Joel Brobecker <brobecker@adacore.com>
8804
8805 * gdb.ada/pckd_arr_ren: New testcase.
8806
5a1e8c7a
DE
88072014-03-13 Doug Evans <xdje42@gmail.com>
8808
8809 PR guile/16612
8810 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8811 collect after discarding symbols.
8812
350e1a76
DE
88132014-03-13 Ludovic Courtès <ludo@gnu.org>
8814 Doug Evans <xdje42@gmail.com>
8815
8816 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8817 to history survives a gc.
8818
a69900ae
PA
88192014-03-13 Pedro Alves <palves@redhat.com>
8820
8821 * gdb.base/default.exp: Don't test "target procfs".
8822
5db9f0bd
PA
88232014-03-13 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.base/default.exp: Update "target child" and "target procfs"
8826 tests to not expect "Unix".
8827
b3ccfe11
TT
88282014-03-12 Tom Tromey <tromey@redhat.com>
8829
8830 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8831 New procs. Add target-async tests.
8832 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8833 Add target-async tests.
8834
646f4417
AA
88352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8836
8837 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8838 'func_start' and 'func_end' for the beginning and end of the
8839 function code, respectively.
8840 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8841 'func_end' instead of 'func' and 'main'.
8842
288c211f
AA
88432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8844
8845 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8846 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8847 generate the debug info assembler source.
8848
e0c0f156
AA
88492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8850
8851 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8852 * gdb.dwarf2/arr-subrange.exp: Likewise.
8853 * gdb.dwarf2/dwz.exp: Likewise.
8854 * gdb.dwarf2/method-ptr.exp: Likewise.
8855 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8856 * gdb.dwarf2/subrange.exp: Likewise.
8857 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8858 * gdb.dwarf2/implptrpiece.exp: Likewise.
8859 * gdb.dwarf2/nostaticblock.exp: Likewise.
8860
0e5c4555
AA
88612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8862
8863 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8864 directory to absolute path name arguments.
8865
5ec18f2b
JG
88662014-03-10 Joel Brobecker <brobecker@adacore.com>
8867
8868 * gdb.ada/tagged_access: New testcase.
8869
847fc4f2
MM
88702014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8871
8872 * gdb.btrace/data.exp: Update expected output.
8873
cc3da688
YQ
88742014-03-06 Yao Qi <yao@codesourcery.com>
8875
8876 * gdb.trace/pr16508.exp: New file.
8877
0f26cec1
PA
88782014-03-05 Pedro Alves <palves@redhat.com>
8879
8880 PR gdb/16575
8881 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8882 procedure.
8883 (top level): Adjust to use it. Add tests that exercise breakpoint
8884 interaction with the code-cache.
8885
7a5a839f
LC
88862014-02-26 Ludovic Courtès <ludo@gnu.org>
8887
8888 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8889 test for 'history-append!'.
8890
31aa7e4e
JB
88912014-02-26 Joel Brobecker <brobecker@adacore.com>
8892
8893 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8894 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8895 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8896 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8897 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8898 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8899
1b588015
JB
89002014-02-26 Joel Brobecker <brobecker@adacore.com>
8901
8902 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8903 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8904 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8905
55426c9d
JB
89062014-02-26 Joel Brobecker <brobecker@adacore.com>
8907
8908 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8909
dc53a7ad
JB
89102014-02-26 Joel Brobecker <brobecker@adacore.com>
8911
8912 * gdb.dwarf2/arr-stride.c: New file.
8913 * gdb.dwarf2/arr-stride.exp: New file.
8914
12ab52e9
PA
89152014-02-26 Pedro Alves <palves@redhat.com>
8916
8917 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8918 that won't ever trigger. Make sure that GDB reports the correct
8919 breakpoint that caused the stop.
8920
849c862e
JK
89212014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8922
8923 PR gdb/16626
8924 * gdb.base/auto-load-script: New file.
8925 * gdb.base/auto-load.c: New file.
8926 * gdb.base/auto-load.exp: New file.
8927
71b7d793
JK
8928 PR gdb/16626
8929 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8930
e2f0d509
JK
89312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8932
8933 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8934 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8935
50cc37c8
DE
89362014-02-24 Doug Evans <dje@google.com>
8937
8938 * lib/gdb.exp (run_on_host): Log error output if program fails.
8939
ea4758f2
PA
89402014-02-21 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.threads/step-after-sr-lock.c: Rename to ...
8943 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8944 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8945 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8946 ... this.
8947
d7b30f67
SDJ
89482014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8949
8950 PR tdep/16397
8951 * gdb.arch/amd64-stap-special-operands.exp: New file.
8952 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8953 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8954 * gdb.arch/amd64-stap-triplet.S: Likewise.
8955 * gdb.arch/amd64-stap-triplet.c: Likewise.
8956
83deb43f
JB
89572014-02-20 Joel Brobecker <brobecker@adacore.com>
8958
8959 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8960 in .section pseudo-op.
8961
adde2bff
DE
89622014-02-20 lin zuojian <manjian2006@gmail.com>
8963 Joel Brobecker <brobecker@adacore.com>
8964 Doug Evans <xdje42@gmail.com>
8965
8966 PR symtab/16581
8967 * gdb.dwarf2/dw2-icycle.S: New file.
8968 * gdb.dwarf2/dw2-icycle.c: New file.
8969 * gdb.dwarf2/dw2-icycle.exp: New file.
8970
f7bd0f78
SC
89712014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8972
8973 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8974 operations on gdb.Value objects.
8975 * gdb.python/py-value-cc.exp: Add new test to test operations on
8976 gdb.Value objects.
8977
c17ef0d5
DE
89782014-02-18 Doug Evans <dje@google.com>
8979
8980 * Makefile.in (TESTS): New variable.
8981 (expanded_tests, expanded_tests_or_none): New variables
8982 (check-single): Pass $(expanded_tests_or_none) to runtest.
8983 (check-parallel): Only run tests in $(TESTS) if non-empty.
8984 (check/no-matching-tests-found): New rule.
8985 * README: Document TESTS makefile variable.
8986
5dd3176f
DE
89872014-02-18 Doug Evans <dje@google.com>
8988
8989 * Makefile.in (check-parallel): rm -rf outputs temp.
8990
0b10be4f
JK
89912014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8992
8993 Fix "ERROR: no fileid for" in the testsuite.
8994 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8995
85f224e7
DE
89962014-02-12 Doug Evans <dje@google.com>
8997
8998 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8999 (MISCELLANEOUS): New variable.
9000 (clean): rm -rf $(MISCELLANEOUS).
9001 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9002 dwp live in the same directory as symlinks, with each symlink pointed
9003 to a differently named file in a different directory.
9004
149b30ff
DE
90052014-02-11 Doug Evans <dje@google.com>
9006
9007 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9008 of Tcl file commands.
9009
1dfdac32
MK
90102014-02-10 Mark Kettenis <kettenis@gnu.org>
9011
9012 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9013 "kill -SIGUSR1 -1".
9014
aa4fb036
JB
90152014-02-10 Joel Brobecker <brobecker@adacore.com>
9016
9017 * gdb.ada/tick_length_array_enum_idx: New testcase.
9018
ed3ef339
DE
90192014-02-10 Doug Evans <xdje42@gmail.com>
9020
9021 * configure.ac (AC_OUTPUT): Add gdb.guile.
9022 * configure: Regenerate.
9023 * lib/gdb-guile.exp: New file.
9024 * lib/gdb.exp (get_target_charset): New function.
9025 * gdb.base/help.exp: Update expected output from "apropos apropos".
9026 * gdb.guile/Makefile.in: New file.
9027 * gdb.guile/guile.exp: New file.
9028 * gdb.guile/scm-arch.c: New file.
9029 * gdb.guile/scm-arch.exp: New file.
9030 * gdb.guile/scm-block.c: New file.
9031 * gdb.guile/scm-block.exp: New file.
9032 * gdb.guile/scm-breakpoint.c: New file.
9033 * gdb.guile/scm-breakpoint.exp: New file.
9034 * gdb.guile/scm-disasm.c: New file.
9035 * gdb.guile/scm-disasm.exp: New file.
9036 * gdb.guile/scm-equal.c: New file.
9037 * gdb.guile/scm-equal.exp: New file.
9038 * gdb.guile/scm-error.exp: New file.
9039 * gdb.guile/scm-error.scm: New file.
9040 * gdb.guile/scm-frame-args.c: New file.
9041 * gdb.guile/scm-frame-args.exp: New file.
9042 * gdb.guile/scm-frame-args.scm: New file.
9043 * gdb.guile/scm-frame-inline.c: New file.
9044 * gdb.guile/scm-frame-inline.exp: New file.
9045 * gdb.guile/scm-frame.c: New file.
9046 * gdb.guile/scm-frame.exp: New file.
9047 * gdb.guile/scm-generics.exp: New file.
9048 * gdb.guile/scm-gsmob.exp: New file.
9049 * gdb.guile/scm-iterator.c: New file.
9050 * gdb.guile/scm-iterator.exp: New file.
9051 * gdb.guile/scm-math.c: New file.
9052 * gdb.guile/scm-math.exp: New file.
9053 * gdb.guile/scm-objfile-script-gdb.in: New file.
9054 * gdb.guile/scm-objfile-script.c: New file.
9055 * gdb.guile/scm-objfile-script.exp: New file.
9056 * gdb.guile/scm-objfile.c: New file.
9057 * gdb.guile/scm-objfile.exp: New file.
9058 * gdb.guile/scm-ports.exp: New file.
9059 * gdb.guile/scm-pretty-print.c: New file.
9060 * gdb.guile/scm-pretty-print.exp: New file.
9061 * gdb.guile/scm-pretty-print.scm: New file.
9062 * gdb.guile/scm-section-script.c: New file.
9063 * gdb.guile/scm-section-script.exp: New file.
9064 * gdb.guile/scm-section-script.scm: New file.
9065 * gdb.guile/scm-symbol.c: New file.
9066 * gdb.guile/scm-symbol.exp: New file.
9067 * gdb.guile/scm-symtab-2.c: New file.
9068 * gdb.guile/scm-symtab.c: New file.
9069 * gdb.guile/scm-symtab.exp: New file.
9070 * gdb.guile/scm-type.c: New file.
9071 * gdb.guile/scm-type.exp: New file.
9072 * gdb.guile/scm-value-cc.cc: New file.
9073 * gdb.guile/scm-value-cc.exp: New file.
9074 * gdb.guile/scm-value.c: New file.
9075 * gdb.guile/scm-value.exp: New file.
9076 * gdb.guile/source2.scm: New file.
9077 * gdb.guile/types-module.cc: New file.
9078 * gdb.guile/types-module.exp: New file.
9079
7026a7c1
YQ
90802014-02-10 Yao Qi <yao@codesourcery.com>
9081
9082 PR testsuite/16543
9083 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9084 * configure: Regenerated.
9085 * Makefile.in: New file.
9086
6c466447
AS
90872014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9088
9089 * gdb.python/py-framefilter.exp: Fix typo.
9090
6e854735
YQ
90912014-02-08 Yao Qi <yao@codesourcery.com>
9092
9093 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9094 that no =breakpoint-modified is emitted when breakpoints are
9095 modified through MI commands.
9096
d137e6dc
PA
90972014-02-07 Pedro Alves <pedro@codesourcery.com>
9098 Pedro Alves <palves@redhat.com>
9099
9100 * gdb.threads/step-after-sr-lock.c: New file.
9101 * gdb.threads/step-after-sr-lock.exp: New file.
9102
b5ee5a50
PA
91032014-02-07 Pedro Alves <palves@redhat.com>
9104
9105 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9106
3c77faf3
JK
91072014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9108
9109 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9110 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9111
6dddc817
DE
91122014-02-06 Doug Evans <xdje42@gmail.com>
9113
9114 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9115 output.
9116
9117 * gdb.gdb/python-interrupts.exp: New file.
9118
de7b2893
YQ
91192014-02-05 Yao Qi <yao@codesourcery.com>
9120
9121 * gdb.trace/report.exp (use_collected_data): Test the output
9122 of "info threads" and "info inferiors".
9123
66d032ac
YQ
91242014-02-05 Yao Qi <yao@codesourcery.com>
9125
9126 Revert this patch:
9127
9128 2013-05-24 Yao Qi <yao@codesourcery.com>
9129
9130 * gdb.trace/tfile.exp: Test inferior and thread.
9131
591a12a1
UW
91322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9133
9134 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9135 on a function.
9136 * gdb.base/step-bt.c: Call hello via function pointer to make
9137 sure its first instruction is executed on powerpc64le-linux.
9138
0ff3e01f
UW
91392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9140
9141 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9142
084ee545
UW
91432014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9144
9145 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9146 of the test patterns for use on little-endian systems.
9147
6ed14ff3
UW
91482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9149
9150 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9151 (decimal_vector): Fix for little-endian.
9152
401e27fd
JM
91532014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9154
9155 * gdb.arch/sparc-sysstep.exp: New file.
9156 * gdb.arch/sparc-sysstep.c: Likewise.
9157
9158 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9159
8b924729
EBM
91602014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9161
9162 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9163
fb151210
JB
91642014-01-23 Tom Tromey <tromey@redhat.com>
9165
9166 * gdb.ada/array_char_idx: New testcase.
9167
0740f8d8
TT
91682014-01-23 Tom Tromey <tromey@redhat.com>
9169
9170 PR python/16487:
9171 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9172 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9173 classes.
9174
21909fa1
TT
91752014-01-23 Tom Tromey <tromey@redhat.com>
9176
9177 PR python/16491:
9178 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9179 string from an inferior frame.
9180 * gdb.python/py-framefilter-mi.exp: Update.
9181
87ce2a04
DE
91822014-01-22 Doug Evans <dje@google.com>
9183
9184 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9185
237b092b
AA
91862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9187
9188 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9189
d674a709
AA
91902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9191
9192 * gdb.trace/entry-values.exp: Remove excess space character from
9193 regex patterns. Handle s390 call instruction.
9194
20fa3390
AA
91952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9196
9197 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9198 define "*_start" label. Make "name" static.
9199 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9200 ${name} by references to ${name}_start.
9201
78466714
AA
92022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9203
9204 * gdb.base/info-macros.exp: Remove "debug" from the compile
9205 options.
9206
ec9f644a
IB
92072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9208
9209 * gdb.dlang/demangle.exp: New file.
9210
94b1b47e
IB
92112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9212
9213 * gdb.dlang/primitive-types.exp: New file.
9214
7f420862
IB
92152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9216
9217 * configure.ac: Create gdb.dlang/Makefile.
9218 * configure: Regenerate.
9219 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9220 * gdb.dlang/Makefile.in: New file.
9221 * lib/d-support.exp: New file.
9222 * lib/gdb.exp (skip_d_tests): New proc.
9223
52834460
MM
92242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9225
9226 * gdb.btrace/delta.exp: Check reverse stepi.
9227 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9228 * gdb.btrace/finish.exp: New.
9229 * gdb.btrace/next.exp: New.
9230 * gdb.btrace/nexti.exp: New.
9231 * gdb.btrace/record_goto.c: Add comments.
9232 * gdb.btrace/step.exp: New.
9233 * gdb.btrace/stepi.exp: New.
9234 * gdb.btrace/multi-thread-step.c: New.
9235 * gdb.btrace/multi-thread-step.exp: New.
9236 * gdb.btrace/rn-dl-bind.c: New.
9237 * gdb.btrace/rn-dl-bind.exp: New.
9238 * gdb.btrace/data.c: New.
9239 * gdb.btrace/data.exp: New.
9240 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9241
6e07b1d2
MM
92422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9243
9244 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9245 * gdb.btrace/exception.exp: Update.
9246 * gdb.btrace/instruction_history.exp: Update.
9247 * gdb.btrace/record_goto.exp: Update.
9248 * gdb.btrace/tailcall.exp: Update.
9249 * gdb.btrace/unknown_functions.exp: Update.
9250 * gdb.btrace/delta.exp: New.
9251
0b722aec
MM
92522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9253
9254 * gdb.btrace/record_goto.exp: Add backtrace test.
9255 * gdb.btrace/tailcall.exp: Add backtrace test.
9256
066ce621
MM
92572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9258
9259 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9260 * gdb.btrace/record_goto.c: New.
9261 * gdb.btrace/record_goto.exp: New.
9262 * gdb.btrace/x86-record_goto.S: New.
9263
0688d04e
MM
92642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9265
9266 * gdb.btrace/function_call_history.exp: Update tests.
9267 * gdb.btrace/instruction_history.exp: Update tests.
9268
8710b709
MM
92692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9270
9271 * gdb.btrace/function_call_history.exp: Fix expected field
9272 order for "record function-call-history".
9273 Add new tests for "record function-call-history /c".
9274 * gdb.btrace/exception.cc: New.
9275 * gdb.btrace/exception.exp: New.
9276 * gdb.btrace/tailcall.exp: New.
9277 * gdb.btrace/x86-tailcall.S: New.
9278 * gdb.btrace/x86-tailcall.c: New.
9279 * gdb.btrace/unknown_functions.c: New.
9280 * gdb.btrace/unknown_functions.exp: New.
9281 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9282
5de9129b
MM
92832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9284
9285 * gdb.btrace/instruction_history.exp: Update.
9286 * gdb.btrace/function_call_history.exp: Update.
9287
23a7fe75
MM
92882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9289
9290 * gdb.btrace/function_call_history.exp: Fix expected function
9291 trace.
9292 * gdb.btrace/instruction_history.exp: Initialize traced.
9293 Remove traced_functions.
9294
724c7dd8
MM
92952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9296
9297 * gdb.btrace/function_call_history.exp: Update
9298 * gdb.btrace/instruction_history.exp: Update.
9299
6d78d93b
MM
93002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9301
9302 * gdb.btrace/enable.exp: Update expected text.
9303
93a360cc
OJ
93042014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9305
9306 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9307 bytes.
9308
3772b53f
MR
93092014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9310
9311 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9312
596662fa
OJ
93132014-01-15 Omair Javaid <omair.javaid@linaro.org>
9314
9315 * lib/gdb.exp (supports_process_record): Return true for
9316 arm*-linux*. (supports_reverse): Likewise.
9317
b5b08fb4
SC
93182014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9319
9320 PR python/15464
9321 PR python/16113
9322 * gdb.python/py-type.c: Enhance test case.
9323 * gdb.python/py-value-cc.cc: Likewise
9324 * gdb.python/py-type.exp: Add new tests.
9325 * gdb.python/py-value-cc.exp: Likewise
9326
52d7fb13
AA
93272014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9328 Pedro Alves <palves@redhat.com>
9329
9330 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9331 Make "name" extern.
9332 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9333 references to ${name}_start by references to ${name}.
9334
a2cd8cfe
JB
93352014-01-10 Joel Brobecker <brobecker@adacore.com>
9336
9337 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9338
4e23fced
JB
93392014-01-10 Joel Brobecker <brobecker@adacore.com>
9340
9341 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9342
c6a9e42c
PA
93432014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9344 Pedro Alves <palves@redhat.com>
9345
9346 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9347 mi_gdb_target_load.
c6a9e42c 9348
b7ea362b
PA
93492014-01-08 Pedro Alves <palves@redhat.com>
9350
9351 * gdb.threads/reconnect-signal.c: New file.
9352 * gdb.threads/reconnect-signal.exp: New file.
9353
5e3f4fab
EBM
93542014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9355
9356 * gdb.base/source-dir.exp: New file.
9357
79301218
JB
93582014-01-07 Joel Brobecker <brobecker@adacore.com>
9359
9360 * gdb.ada/mi_interface: New testcase.
9361
8e355c5d
JB
93622014-01-07 Joel Brobecker <brobecker@adacore.com>
9363
9364 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9365 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9366 gdb.ada/pp-rec-component/pck.ads: New files.
9367
c0d48811
JB
93682014-01-07 Joel Brobecker <brobecker@adacore.com>
9369
9370 * gdb.python/py-pp-integral.c: New file.
9371 * gdb.python/py-pp-integral.py: New file.
9372 * gdb.python/py-pp-integral.exp: New file.
9373
17b609c3 9374For older changes see ChangeLog-1993-2013.
c906108c 9375\f
8d8cb839
EZ
9376;; Local Variables:
9377;; mode: change-log
9378;; left-margin: 8
9379;; fill-column: 74
9380;; version-control: never
9381;; End:
902f2ccb 9382
618f726f 9383 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9384 Copying and distribution of this file, with or without modification,
9385 are permitted provided the copyright notice and this notice are preserved.