]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Remove parameter valaddr from la_val_print
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
cdf5a07c
MG
12016-10-29 Manish Goregaokar <manish@mozilla.com>
2
3 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`
4
51a789c3
MG
52016-10-27 Manish Goregaokar <manish@mozilla.com>
6
7 * gdb.rust/simple.rs: Add test for univariant enums without discriminants
8 and for encoded struct-like enums
9
f610ab6d
PA
102016-10-28 Pedro Alves <palves@redhat.com>
11
12 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13 gdb_test_multiple, tighten regexps and match symtabs and line
14 tables incrementally.
15
b129b0ca
LM
162016-10-28 Luis Machado <lgustavo@codesourcery.com>
17
18 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
19 general.
20
ecf45d2c
SL
212016-10-25 Luis Machado <lgustavo@codesourcery.com>
22
23 * gdb.base/exec-invalid-sysroot.exp: New file.
24
b8d38ee4
JK
252016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
26
27 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
28
f90fd8c2
JK
292016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
30
31 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
32
2d2476aa
MR
332016-10-19 Maciej W. Rozycki <macro@imgtec.com>
34
35 * gdb.base/killed-outside.exp: Remove $options from a call to
36 `prepare_for_testing'.
37
e42b25a0
SM
382016-10-17 Simon Marchi <simon.marchi@ericsson.com>
39
40 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
41 Change test message.
42
3ccdb432
SM
432016-10-17 Simon Marchi <simon.marchi@ericsson.com>
44
45 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
46 Update comment.
47
5bad3170
SM
482016-10-17 Simon Marchi <simon.marchi@ericsson.com>
49
50 * gdb.trace/mi-trace-save.exp: New file.
51
5ad9dba7
YQ
522016-10-13 Yao Qi <yao.qi@linaro.org>
53
54 * gdb.base/code_elim.exp (get_var_address): Remove.
55 * gdb.base/relocate.exp: Likewise.
56 * gdb.base/shreloc.exp: Likewise.
57 * lib/gdb.exp (get_var_address): New.
58
62df7e21
YQ
592016-10-13 Yao Qi <yao.qi@linaro.org>
60
61 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
62 floating point tests if $skip_float_test is false.
63
4dac951e
LM
642016-10-12 Luis Machado <lgustavo@codesourcery.com>
65
66 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
67 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
68 argc values.
69 Add 1 to argc so we guarantee distinct initial/modified argc values.
70
8f1a8fc4
JK
712016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
72
73 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
74
16c85b5d
JK
752016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
78 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
79 * gdb.arch/vsx-regs.exp: Likewise.
80
1d0e042a
YQ
812016-10-07 Yao Qi <yao.qi@linaro.org>
82
83 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
84
68dadef5
MM
852016-10-07 Markus Metzger <markus.t.metzger@intel.com>
86
87 * gdb.python/python.exp: Test decode_line("*0").
88
33fa2c6e
DE
892016-10-06 Doug Evans <dje@google.com>
90
91 * gdb.python/py-value.exp (test_value_creation): Add test for large
92 unsigned 64-bit value.
93
9c37b5ae
TT
942016-10-06 Tom Tromey <tom@tromey.com>
95
96 * gdb.compile/compile.exp: Change java tests to rust.
97 * gdb.base/setshow.exp: Change java tests to rust.
98 * gdb.base/default.exp: Remove java from language list.
99 * README (Examples): Update language example.
100 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
101 test.
102 * lib/gdb.exp (skip_java_tests): Remove.
103 * lib/java.exp: Remove.
104 * gdb.java: Remove.
105
78b86327
MR
1062016-10-06 Maciej W. Rozycki <macro@imgtec.com>
107
108 * gdb.arch/mips-fcr.exp: New test.
109 * gdb.arch/mips-fcr.c: Source for the new test.
110
7470adbb
MR
1112016-10-06 Maciej W. Rozycki <macro@imgtec.com>
112
113 * gdb.base/solib-disc.exp: Use `standard_output_file'
114 throughout.
115
4a556533
PA
1162016-10-06 Pedro Alves <palves@redhat.com>
117
118 * gdb.base/jit-simple-dl.c: New file.
119 * gdb.base/jit-simple-jit.c: New file, factored out from ...
120 * gdb.base/jit-simple.c: ... this.
121 * gdb.base/jit-simple.exp (jit_run): Delete.
122 (build_jit): New proc.
123 (jit_test_reread): Recompile either the main program or the shared
124 library, depending on what is being tested. Skip changing address
125 if caller wants to. Compare before/after addresses. If testing
126 standalone, explicitly load the binary. Test "maint info
127 breakpoints".
128 (top level): Add "standalone vs shared lib" and "change address"
129 vs "same address" axes.
130
5a122fbc
PA
1312016-10-06 Pedro Alves <palves@redhat.com>
132
133 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
134 call.
135 (jit_run): Delete.
136 (jit_test_reread): Use with_test_prefix. Reload the main binary
137 explicitly. Compare the before/after addresses of the JIT
138 descriptor.
139
ee8da4b8
DE
1402016-08-15 Doug Evans <dje@google.com>
141
142 * gdb.xml/extra-regs.xml: Update, end field now required, default type
143 for single bitfields is bool.
144 * gdb.xml/tdesc-regs.exp: Ditto.
145
f389f6fe
JK
1462016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
147
148 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
149
fdebf1a4
YQ
1502016-10-05 Yao Qi <yao.qi@linaro.org>
151
152 * lib/gdb.exp (support_complex_tests): Return zero if
153 gdb_skip_float_test return true.
154
9c36d954
AT
1552016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1562016-10-03 Simon Marchi <simon.marchi@ericsson.com>
157
158 PR gdb/20487
159 * gdb.mi/user-selected-context-sync.exp: New file.
160 * gdb.mi/user-selected-context-sync.c: New file.
161
4034d0ff
AT
1622016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1632016-10-03 Simon Marchi <simon.marchi@ericsson.com>
164
165 PR gdb/20487
166 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
167 =thread-select-event check.
168
a4297203
PB
1692016-09-29 Peter Bergner <bergner@vnet.ibm.com>
170
171 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
172 the compulsory L operand changes.
173 * gdb.arch/powerpc-power.s: Likewise.
174
bb805577
JK
1752016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
176
177 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
178 * gdb.base/jit-attach-pie.c: New file.
179 * gdb.base/jit-attach-pie.exp: New file.
180
6d61dee5
PA
1812016-09-28 Pedro Alves <palves@redhat.com>
182
183 * gdb.base/infcall-input.c: New file.
184 * gdb.base/infcall-input.exp: New file.
185
f73842fc
YQ
1862016-09-22 Yao Qi <yao.qi@linaro.org>
187
188 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
189 (gdb_exit): Rename it to ...
190 (gdbserver_gdb_exit): ... Close GDBserver.
191 (gdb_exit): New proc, call gdbserver_gdb_exit.
192 (mi_gdb_exit): Likewise.
193
90681dab
YQ
1942016-09-22 Yao Qi <yao.qi@linaro.org>
195
196 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
197 path.
198 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
199 Remove duplication.
200
9c211fd8
YQ
2012016-09-22 Yao Qi <yao.qi@linaro.org>
202
203 * lib/gdbserver-support.exp: Check the existence of
204 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
205
ad0a504f
AK
2062016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
207
208 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
209
36cf1806
TT
2102016-09-21 Tom Tromey <tom@tromey.com>
211
212 PR gdb/20604:
213 * gdb.base/quit.exp: New file.
214
74172ecf
SM
2152016-09-21 Simon Marchi <simon.marchi@ericsson.com>
216
217 * .gitignore: New file.
218
3d0ec882
MR
2192016-09-21 Maciej W. Rozycki <macro@imgtec.com>
220
221 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
222 throughout.
223
8193adea
AA
2242016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
225
226 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
227
d41a5c09
JK
2282016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
229
230 * gdb.cp/casts.cc (decltype): Move it ...
231 (main): ... with its call to ...
232 * gdb.cp/casts03.cc: ... a new file.
233 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
234
d2dfe700
JK
2352016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
236
237 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
238
e2a92b16
PB
2392016-09-15 Peter Bergner <bergner@vnet.ibm.com>
240
241 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
242 and sync up the test with tests in gas/testsuite/gas/ppc.
243 * gdb.arch/powerpc-power.exp: Likewise.
244
49b4de64
JK
2452016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
246
247 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
248
2c29df25
SDJ
2492016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
250 Jan Kratochvil <jan.kratochvil@redhat.com>
251
252 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
253 make m1's definition to be different from m2's. Use 'dummy' as an
254 argument for probe 'two'.
255
cc3c2846
JB
2562016-09-10 Jon Beniston <jon@beniston.com>
257
258 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
259 for sim target.
260
e1b2624a
AA
2612016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
262
263 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
264 variable declaration.
265 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
266 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
267 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
268 received HWCAP as its argument.
269
4295e285
PA
2702016-09-06 Pedro Alves <palves@redhat.com>
271
272 * gdb.base/new-ui-pending-input.c: New file.
273 * gdb.base/new-ui-pending-input.exp: New file.
274 * gdb.exp (clear_gdb_spawn_id): New procedure.
275 (with_spawn_id): Check whether gdb_spawn_id exists before
276 referencing it. If gdb_spawn_id didn't exist on entry, clear it
277 on exit.
278
00d5215e
UW
2792016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
280
281 * gdb.base/float128.c: New file.
282 * gdb.base/float128.exp: Likewise.
283 * gdb.base/floatn.c: Likewise.
284 * gdb.base/floatn.exp: Likewise.
285
a9ff5f12
UW
2862016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
287
288 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
289
f245535c
PA
2902016-09-05 Pedro Alves <palves@redhat.com>
291
292 PR backtrace/19927
293 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
294 unwinders are immediately called as side effect of "source" or
295 "disable unwinder" commands.
296 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
297
ae9cf263
YQ
2982016-09-02 Yao Qi <yao.qi@linaro.org>
299
300 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
301 is true and $type is "float" or "double".
302
27aba047
YQ
3032016-09-02 Yao Qi <yao.qi@linaro.org>
304
305 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
306 true.
307 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
308 * gdb.base/call-rt-st.exp: Likewise.
309 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
310 return value instead of gdb,skip_float_test.
311 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
312 (do_function_calls): Use its return value instead of
313 gdb,skip_float_test.
314 * gdb.base/finish.exp: Likewise.
315 * gdb.base/funcargs.exp: Likewise.
316 * gdb.base/return.exp: Likewise.
317 * gdb.base/return2.exp: Likewise.
318 * gdb.base/varargs.exp: Likewise.
319 * lib/gdb.exp (gdb_skip_float_test): Change it to
320 gdb_caching_proc. Detect the broken ptrace on arm-linux.
321
5af962df
AA
3222016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
323
324 * gdb.multi/tids.exp: Test "thread apply all".
325
7fac6910
JK
3262016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
327
328 * gdb.base/default.exp (tty): Remove.
329
bb1fe4ac
KB
3302016-08-24 Kevin Buettner <kevinb@redhat.com>
331
332 * gdb.python/py-recurse-unwind.c: New file.
333 * gdb.python/py-recurse-unwind.py: New file.
334 * gdb.python/py-recurse-unwind.exp: New file.
335
0a1ddfa6
SM
3362016-08-24 Simon Marchi <simon.marchi@ericsson.com>
337
338 * gdb.base/set-inferior-tty.exp: New file.
339 * gdb.base/set-inferior-tty.c: New file.
340
d9de1fe3
PA
3412016-08-23 Pedro Alves <palves@redhat.com>
342
343 PR gdb/20494
344 * gdb.base/new-ui-echo.c: New file.
345 * gdb.base/new-ui-echo.exp: New file.
346
e9d9abd7
YQ
3472016-08-23 Yao Qi <yao.qi@linaro.org>
348
349 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
350 gdbserver_spawn.
351 * gdb.server/connect-without-multi-process.exp (do_test):
352 Likewise.
353
3589529e
YQ
3542016-08-23 Yao Qi <yao.qi@linaro.org>
355
356 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
357 standalone_txt. Delete gdb_txt and standalone_txt on host
358 and target. Spawn the binary on target. Copy files from
359 target to host.
360
6bb90213
PA
3612016-08-22 Pedro Alves <palves@redhat.com>
362
363 PR gdb/20505
364 * gdb.base/vdso-warning.exp: Test core dumps too. Use
365 with_test_prefix. Factor out bits to ...
366 (test_no_vdso): ... this new procedure.
367
20c2c024
CL
3682016-08-19 Carl Love <cel@us.ibm.com>
369
370 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
371 maintaining separate logic for constructing the output path.
372 * gdb.arch/powerpc-d128-regs.exp: Likewise.
373 * gdb.arch/ppc-dfp.exp: Likewise.
374 * gdb.arch/ppc-fp.exp: Likewise.
375 * gdb.arch/vsx-regs.exp: Likewise.
376 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
377 binprefix for generating the additional binary files.
378
0646e07d
PA
3792016-08-19 Pedro Alves <palves@redhat.com>
380
381 * gdb.trace/mi-trace-frame-collected.exp
382 (test_trace_frame_collected): On x32, expect two registers.
383
46da9242
CL
3842016-08-18 Carl Love <cel@us.ibm.com>
385
386 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
387 and sync up the test with tests in gas/testsuite/gas/ppc.
388 * gdb.arch/powerpc-power.exp: Likewise.
389
eb2332d7
SM
3902016-08-17 Simon Marchi <simon.marchi@ericsson.com>
391
392 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
393 expected error message.
394
63c61e04
SM
3952016-08-17 Simon Marchi <simon.marchi@ericsson.com>
396
397 * gdb.multi/remove-inferiors.exp: New file.
398 * gdb.multi/remove-inferiors.c: New file.
399
7b17065f
YQ
4002016-08-12 Yao Qi <yao.qi@linaro.org>
401
402 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
403 argument list.
404
01d3dedf
PA
4052016-08-10 Pedro Alves <palves@redhat.com>
406
407 PR gdb/19187
408 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
409 setup_kfails.
410
3eb7562a
PA
4112016-08-09 Pedro Alves <palves@redhat.com>
412 Simon Marchi <simon.marchi@ericsson.com>
413
414 PR gdb/20418
415 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
416 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
417
80614914
PA
4182016-08-09 Pedro Alves <palves@redhat.com>
419
420 PR mi/20431
421 * gdb.mi/mi-cmd-error.exp: New file.
422
f348d89a
PA
4232016-08-09 Pedro Alves <palves@redhat.com>
424
425 PR gdb/18653
426 * gdb.base/signals-state-child.c: New file.
427 * gdb.base/signals-state-child.exp: New file.
428 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
429
e5ca03b4
PA
4302016-08-09 Pedro Alves <palves@redhat.com>
431
432 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
433
282a0691
TT
4342016-08-03 Tom Tromey <tom@tromey.com>
435
436 PR python/18565:
437 * gdb.python/py-frame-inline.exp: Add Frame.function test.
438
41bfcd63
YQ
4392016-08-01 Yao Qi <yao.qi@linaro.org>
440
441 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
442 variable mode to "multi-process" if $multi_process is 1, otherwise
443 set it to "single-process".
444
e3465b24
YQ
4452016-08-01 Yao Qi <yao.qi@linaro.org>
446
447 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
448 * gdb.cp/cpexprs.exp: Likewise.
449 * gdb.cp/m-static.exp: Likewise.
450
0b31a4bc
TT
4512016-07-26 Tom Tromey <tom@tromey.com>
452
453 PR python/20190:
454 * gdb.threads/tls.exp (check_thread_local): Add python symbol
455 test.
456
e0461dbb
MM
4572016-07-26 Markus Metzger <markus.t.metzger@intel.com>
458
459 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
460 selecting assembly source files.
461 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
462 assembly source files.
463 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
464 assembly source files.
465 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
466 selecting assembly source files.
467
8194e927
SM
4682016-07-25 Simon Marchi <simon.marchi@ericsson.com>
469
470 * gdb.base/new-ui.exp (do_test_invalid_args): New
471 procedure.
472
c0272db5
TW
4732016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
474
475 * gdb.btrace/reconnect.c: New file.
476 * gdb.btrace/reconnect.exp: New file.
477
e3487908
GKB
4782016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
479
480 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
481 to test_catch_syscall_group.
482 (test_catch_syscall_group): New.
483
12df5c00
TT
4842016-07-21 Tom Tromey <tom@tromey.com>
485
486 * gdb.rust/simple.rs (main): Use empty struct expression.
487 * gdb.rust/simple.exp: Add tests for empty struct expression.
488
bae62ee2
YQ
4892016-07-21 Yao Qi <yao.qi@linaro.org>
490
491 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
492 if gdb_skip_xml_test is true on some targets.
493
b1b53fb3
YQ
4942016-07-21 Yao Qi <yao.qi@linaro.org>
495
496 * gdb.server/solib-list.exp: Unset last_loaded_file.
497
027d97f8
JK
4982016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
499
500 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
501 "step into captured_main (args)".
502
7674d381
JK
5032016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
504
505 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
506
72b5d099
JK
5072016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
508
509 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
510
1f960ced
PA
5112016-07-19 Pedro Alves <palves@redhat.com>
512
513 * gdb.opt/inline-break.exp: Remove optimize=-O2.
514 * gdb.opt/inline-bt.exp: Likewise.
515 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
516 additional_flags=-Winline.
517 * gdb.opt/inline-locals.exp: Likewise.
518 * gdb.opt/inline-markers.c (ATTR): Define.
519 (inlined_fn): Use it.
520
f25827c1
YQ
5212016-07-19 Yao Qi <yao.qi@linaro.org>
522
523 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
524 (test_with_self): Remove some code. Remove argument executable.
525 (top-level): Use do_self_tests.
526
37539ebe
DB
5272016-07-15 Zachary Welch <zwelch@codesourcery.com>
528 Don Breazeal <donb@codesourcery.com>
529
530 * gdb.base/maint.exp: Escape paths used in regular expressions.
531 * gdb.stabs/weird.exp: Likewise.
532
dac790e1
TT
5332016-07-13 Tom Tromey <tom@tromey.com>
534
535 PR python/15620, PR python/18620:
536 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
537 (test_bkpt_events): New procs.
538
93daf339
TT
5392016-07-13 Tom Tromey <tom@tromey.com>
540
541 PR python/17698:
542 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
543 test.
544 (test_watchpoints): Likewise.
545 (test_bkpt_pending): New proc.
546
6571a381
TT
5472016-07-13 Tom Tromey <tom@tromey.com>
548
549 PR cli/18053:
550 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
551 completion test.
552
e8732474
JK
5532016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
556 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
557 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
558 f_label.
559 (g): Rename g_end_lbl to g_label.
560 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
561 low_pc and high_pc.
562 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
563
e0f3fd7c
TT
5642016-07-12 Tom Tromey <tom@tromey.com>
565
566 PR python/19293:
567 * gdb.python/py-unwind-maint.exp: Update tests.
568
3cfe46b6
YQ
5692016-07-12 Yao Qi <yao.qi@linaro.org>
570
571 * lib/selftest-support.exp (selftest_setup): Match the output
572 when captured_main is inlined.
573
4f19a0e6
WT
5742016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
575
576 * gdb.fortran/derived-types.exp (result_line, result_line_2):
577 New variables.
578 (print this%a, print this%b, print this): New tests.
579 * gdb.fortran/derived-types.f90 (this): New object and
580 initialization.
581
986cf455
SM
5822016-07-06 Simon Marchi <simon.marchi@ericsson.com>
583
584 * gdb.ada/arraydim.exp: Remove extra directory level in build
585 directory.
586
f0464b23
SM
5872016-07-06 Simon Marchi <simon.marchi@ericsson.com>
588
589 * lib/ada.exp: Remove extra directory level in build directory.
590 * gdb.ada/cond_lang.exp: Likewise.
591 * gdb.ada/exec_changed.exp: Likewise.
592 * gdb.ada/lang_switch.exp: Likewise.
593
42d94011
MG
5942016-07-06 Manish Goregaokar <manish@mozilla.com>
595
596 * simple.rs: Add test for raw pointer subscripting
597 * simple.exp: Add test expectations
598
647c264c
YQ
5992016-07-05 Yao Qi <yao.qi@linaro.org>
600
601 * gdb.mi/mi-reverse.exp: Match =record-started output.
602
20aa2c60
PA
6032016-07-01 Pedro Alves <palves@redhat.com>
604
605 * gdb.base/jit-reader.exp (info_registers_current_frame): New
606 procedure.
607 (jit_reader_test): Test the jit reader's unwinder.
608 * gdb.base/jithost.c (jit_function_00_code): New global.
609 (main): Use memcpy to fill in the mmapped code, instead of poking
610 bytes manually here.
611 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
612 value.
613 (read_debug_info): Save the function's range.
614 (read_sp): New function.
615 (unwind_frame): Use it. Also unwind RBP.
616 (get_frame_id): Use read_sp.
617 (gdb_init_reader): Use calloc instead of malloc.
618 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
619 parameter. Use gdb_test_multiple.
620
ced2dffb
PA
6212016-07-01 Pedro Alves <palves@redhat.com>
622 Antoine Tremblay <antoine.tremblay@ericsson.com>
623
624 * gdb.threads/process-dies-while-detaching.c: New file.
625 * gdb.threads/process-dies-while-detaching.exp: New file.
626
63000888
PA
6272016-07-01 Pedro Alves <palves@redhat.com>
628
629 * gdb.multi/watchpoint-multi-exit.c: New file.
630 * gdb.multi/watchpoint-multi-exit.exp: New file.
631
038d4868
PA
6322016-06-30 Pedro Alves <palves@redhat.com>
633
634 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
635 unset inferior_spawn_id.
636
994e9c83
PA
6372016-06-30 Pedro Alves <palves@redhat.com>
638
639 * lib/mi-support.exp (default_mi_gdb_start): Declare global
640 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
641
e5653468
YQ
6422016-06-29 Yao Qi <yao.qi@linaro.org>
643
644 * gdb.base/return.c: Add copyright header.
645
803b47e5
TT
6462016-06-29 Tom Tromey <tom@tromey.com>
647
648 PR python/20129:
649 * gdb.python/py-framefilter.exp: Add tests for setting priority
650 and disabling of non-existent frame filter.
651
28244707
YQ
6522016-06-29 Yao Qi <yao.qi@linaro.org>
653
654 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
655 0x0f07ff.
656
a31d2f06
YQ
6572016-06-28 Yao Qi <yao.qi@linaro.org>
658
659 * gdb.base/catch-syscall.exp: Remove check on isnative and target
660 triplets. Start gdb, execute catch syscall, and continue. Check
661 gdb's output to determine catch syscall is supported.
662
921d8f54
MG
6632016-06-27 Manish Goregaokar <manish@mozilla.com>
664
25d49b86
PA
665 * gdb.rust/simple.rs: Add test for returning unit in a function.
666 * gdb.rust/simple.exp: Add expectation for functions returning
667 unit.
921d8f54 668
f4952523
PMR
6692016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
670
671 * gdb.python/py-breakpoint-create-fail.c,
672 gdb.python/py-breakpoint-create-fail.exp,
673 gdb.python/py-breakpoint-create-fail.py: New testcase.
674
fccb08f8
MG
6752016-06-25 Manish Goregaokar <manish@mozilla.com>
676
677 PR gdb/20239
678 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
679 * gdb.rust/simple.exp: Add test expectations for new NonZero
680 tests.
fccb08f8 681
6b850546
DT
6822016-06-24 David Taylor <dtaylor@emc.com>
683
684 * gdb.base/offsets.exp: New file.
685 * gdb.base/offsets.c: New file.
686
17621150
TT
6872016-06-23 Tom Tromey <tom@tromey.com>
688
689 PR gdb/16483:
690 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
691 before any filters are loaded.
692
04d59df6
WT
6932016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
694
695 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
696 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
697 structs.
698 * gdb.fortran/derived-type-function.exp: New file.
699 * gdb.fortran/derived-type-function.f90: New file.
700
701
ac69f786
PA
7022016-06-21 Pedro Alves <palves@redhat.com>
703
704 * gdb.base/new-ui.exp: New file.
705 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
706 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
707 (with_spawn_id): New procedure.
708
49940788
PA
7092016-06-21 Pedro Alves <palves@redhat.com>
710
711 * gdb.mi/mi-exec-run.exp: New file.
712
ef274d26
PA
7132016-06-21 Pedro Alves <palves@redhat.com>
714
715 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
716 breakpoint command's output on the main UI.
717 (test_break): New procedure, factored out from calls in the top
718 level.
719 (top level): Use foreach_with_prefix to test MI as main UI and as
720 separate UI.
721
468afe6c
PA
7222016-06-21 Pedro Alves <palves@redhat.com>
723
724 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
725 (test_awatch_creation_and_listing)
726 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
727 Remove 'type' parameter.
728 (test_watchpoint_all): New parameter mi_mode. Remove
729 with_test_prefix.
730 (top level): Use foreach_with_prefix, and add main/separate UI MI
731 testing axis.
732
51f77c37
PA
7332016-06-21 Pedro Alves <palves@redhat.com>
734
735 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
736 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
737 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
738 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
739 (gdb_main_spawn_id, mi_spawn_id): Declare and
740 comment.
741 (mi_create_inferior_pty): New procedure,
742 factored out from default_mi_gdb_start.
743 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
744 procedures.
745 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
746 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
747 Use mi_create_inferior_pty.
748 (mi_gdb_start): Use eval to pass down args list.
749
8980e177
PA
7502016-06-21 Pedro Alves <palves@redhat.com>
751
752 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
753 * gdb.opt/inline-cmds.exp: Add MI tests.
754
f38d3ad1
PA
7552016-06-21 Pedro Alves <palves@redhat.com>
756
757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
758
45db7c09
PA
7592016-06-21 Pedro Alves <palves@redhat.com>
760
761 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
762 (top level): Use it instead of mi_execute_to.
763
5a069ab3
PA
7642016-06-21 Pedro Alves <palves@redhat.com>
765
766 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
767 (cont_handler_str): New.
768 (signal_stop_handler): Set stop_handler_str instead of printing to
769 stdout.
770 (continue_handler): Set cont_handler_str instead of printing to
771 stdout.
772 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
773 mi_send_resuming_command. Print stop_handler_str and
774 cont_handler_str instead of expecting the python events print
775 directly.
776
2838cc1d
SD
7772016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
778
779 * gdb.base/jit-reader.exp: New file.
780 * gdb.base/jithost.c: New file.
781 * gdb.base/jithost.h: New file.
782 * gdb.base/jitreader.c : New file.
783 * gdb.base/jit-protocol.h: New file.
784
21a77091
YQ
7852016-06-17 Yao Qi <yao.qi@linaro.org>
786
787 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
788 parameters follow_fork and detach_on_fork. Set follow-fork-mode
789 and detach-on-fork. Adjust tests.
790 (top level): Invoke break_cond_on_syscall with combinations of
791 syscall, follow-fork-mode and detach-on-fork.
792
f50bf8e5
YQ
7932016-06-17 Yao Qi <yao.qi@linaro.org>
794
795 * gdb.base/step-over-exit.c: New.
796 * gdb.base/step-over-exit.exp: New.
797
a28d8e50
YTL
7982016-06-17 Yan-Ting Lin <currygt52@gmail.com>
799
800 * gdb.base/float.exp: Add target check for nds32*-*-*.
801 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
802
cad8e26d
AB
8032016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
804
805 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
806 for unsupported target features.
807 * gdb.base/call-rt-st.exp: Likewise.
808 * gdb.base/call-sc.exp: Likewise.
809 * gdb.base/call-signal-resume.exp: Likewise.
810 * gdb.base/call-strs.exp: Likewise.
811 * gdb.base/callexit.exp: Likewise.
812 * gdb.base/callfuncs.exp: Likewise.
813 * gdb.base/nodebug.exp: Likewise.
814 * gdb.base/printcmds.exp: Likewise.
815 * gdb.base/ptype.exp: Likewise.
816 * gdb.base/structs.exp: Likewise.
817 * gdb.base/unwindonsignal.exp: Likewise.
818 * gdb.cp/gdb2495.exp: Likewise.
819 * gdb.cp/templates.exp: Likewise.
820 * gdb.cp/virtfunc.exp: Likewise.
821 * gdb.threads/hand-call-in-threads.exp: Likewise.
822 * gdb.threads/interrupted-hand-call.exp: Likewise.
823 * gdb.threads/thread-unwindonsignal.exp: Likewise.
824
347dc102
TT
8252016-06-10 Tom Tromey <tom@tromey.com>
826
827 PR rust/20110:
828 * gdb.rust/expr.exp: Add test for integer constant larger than
829 i32.
830
5e13cf25
BH
8312016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
832
833 * gdb.fortran/nested-funcs.exp: New.
834 * gdb.fortran/nested-funcs.f90: New.
835
bb556f1f
TK
8362016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
837
838 * gdb.base/examine-backward.c: New file.
839 * gdb.base/examine-backward.exp: New file.
840
38b022b4
SM
8412016-06-06 Simon Marchi <simon.marchi@ericsson.com>
842
843 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
844 matching.
845
1b40ec05
TT
8462016-06-02 Tom Tromey <tom@tromey.com>
847
848 PR python/18984:
849 * gdb.python/py-shared.exp: Add solib_name test.
850
193bd378
SM
8512016-06-02 Simon Marchi <simon.marchi@ericsson.com>
852
853 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
854
3326303b
MG
8552016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
856
857 PR c++/19893
858 * gdb.dwarf2/implref.exp: Rename to...
859 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
860 * gdb.dwarf2/implref-array.c: New file.
861 * gdb.dwarf2/implref-array.exp: Likewise.
862 * gdb.dwarf2/implref-global.c: Likewise.
863 * gdb.dwarf2/implref-global.exp: Likewise.
864 * gdb.dwarf2/implref-struct.c: Likewise.
865 * gdb.dwarf2/implref-struct.exp: Likewise.
866
825c8ef2
AT
8672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
868
869 * gdb.trace/trace-condition.exp: Add 64bit tests.
870
2320162a
AT
8712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
872
873 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
874 bits types.
875 (main): Adapt to 8 to 64 bits types.
876 * gdb.trace/trace-condition.exp: Add new tests.
877
a7818233
AT
8782016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
879
880 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
881
0d336466
AT
8822016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
883
884 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
885 Move condition tests...
886 * gdb.trace/trace-condition.exp: Here.
887
7faeb45a
AT
8882016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
889
890 * gdb.trace/trace-condition.exp: Add counter-case tests.
891
e385593e
JK
8922016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
893
894 PR c++/15231
895 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
896 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
897
744608cc
PA
8982016-05-27 Pedro Alves <palves@redhat.com>
899
900 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
901 New procedure.
902 (top level): Call it, and bail out of DejaGnu is known to be bad.
903
ac775bf4
AB
9042016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
905
906 * gdb.base/whatis.c: Extend the test case.
907 * gdb.base/whatis.exp: Add additional tests.
908
2bbad2ea
BH
9092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
910
911* gdb.fortran/type.f90: Add pointer variable.
912* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
913
8b70175d
BH
9142016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
915
916 * gdb.fortran/vla-type.exp: Fix testcase name.
917
86d8a848
BH
9182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
919
920 * gdb.fortran/vla-type.exp: Access elements in nested structs.
921
e188eb36
BH
9222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
923
924 * gdb.fortran/type.f90: Add nested structures.
925 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
926 * gdb.fortran/derived-type.exp: Adapt expected output.
927 * gdb.fortran/vla-type.exp: Adapt expected output.
928
9b2db1fd
BH
9292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
930
931 * gdb.fortran/whatis_type.exp: Adapt expected output.
932
72b17055
BH
9332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
934
935 * gdb.fortran/print_type.exp: Fix expected output.
936 * gdb.fortran/whatis_type.exp: Fix expected output.
937
3cd81d8d
BH
9382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
939
940 * gdb.fortran/whatis_type.exp: Use multi_line.
941
ddae9462
TT
9422016-05-24 Tom Tromey <tom@tromey.com>
943
944 PR python/17386:
945 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
946 use value as an index.
947
1957f6b8
TT
9482016-05-23 Tom Tromey <tom@tromey.com>
949
950 PR python/17981:
951 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
952 no-breakpoint case.
953
026a9174
PA
9542016-05-24 Pedro Alves <palves@redhat.com>
955
956 PR gdb/19828
957 * gdb.threads/clone-attach-detach.c: New file.
958 * gdb.threads/clone-attach-detach.exp: New file.
959
e70a7231
FR
9602016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
961
962 * gdb.base/annota-input-while-running.exp: Fix syntax error.
963
0f6ed0e0
TT
9642016-05-23 Tom Tromey <tom@tromey.com>
965
966 PR python/19438, PR python/18393:
967 * gdb.python/py-progspace.exp: Add "dir" test.
968 * gdb.python/py-objfile.exp: Add "dir" test.
969
ffd19d61
YQ
9702016-05-23 Yao Qi <yao.qi@linaro.org>
971
972 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
973 * gdb.arch/thumb2-it.exp: Likewise.
974
9e8f9b05
SM
9752016-05-18 Simon Marchi <simon.marchi@ericsson.com>
976
977 * gdb.mi/mi-threads-interrupt.c: New file.
978 * gdb.mi/mi-threads-interrupt.exp: New file.
979
61c6156d
SM
9802016-05-17 Simon Marchi <simon.marchi@ericsson.com>
981
982 PR gdb/18077
983 * gdb.mi/mi-async-run.exp: New file.
984 * gdb.mi/mi-async-run.c: New file.
985
67218854
TT
9862016-05-17 Tom Tromey <tom@tromey.com>
987 Manish Goregaokar <manishsmail@gmail.com>
988
989 * lib/rust-support.exp: New file.
990 * lib/gdb.exp (skip_rust_tests): New proc.
991 (build_executable_from_specs): Handle rust.
992 * lib/future.exp (gdb_find_rustc): New proc.
993 (gdb_default_target_compile): Handle rust.
994 * gdb.rust/expr.exp: New file.
995 * gdb.rust/generics.exp: New file.
996 * gdb.rust/generics.rs: New file.
997 * gdb.rust/methods.exp: New file.
998 * gdb.rust/methods.rs: New file.
999 * gdb.rust/modules.exp: New file.
1000 * gdb.rust/modules.rs: New file.
1001 * gdb.rust/simple.exp: New file.
1002 * gdb.rust/simple.rs: New file.
1003
c44af4eb
TT
10042016-05-17 Tom Tromey <tom@tromey.com>
1005
1006 * gdb.base/default.exp (set language): Add rust.
1007
dcd1f979
TT
10082016-05-17 Tom Tromey <tom@tromey.com>
1009
1010 * gdb.gdb/unittest.exp: New file.
1011
155b7f57
YQ
10122016-05-16 Yao Qi <yao.qi@linaro.org>
1013
1014 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1015 shell_prompt. Update shell_prompt_re.
1016
8ddd5a6c
DE
10172016-05-12 Doug Evans <dje@google.com>
1018
1019 PR symtab/19999
1020 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1021 $options when building executable.
1022 * gdb.dwarf2/fission-loclists-pie.S: New file.
1023 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1024
02e370d9
SM
10252016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1026
1027 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1028 of [is_remote target],
1029
8929ad8b
SM
10302016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1031
1032 * lib/gdb.exp (use_gdb_stub): New procedure.
1033
6c447423
DE
10342016-05-03 Yunlian Jiang <yunlian@google.com>
1035 Doug Evans <dje@google.com>
1036
1037 PR symtab/19914
1038 * gdb.dwarf2/dwp-sepdebug.c: New file.
1039 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1040
444e826c
SM
10412016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1042
1043 * gdb.base/detach.exp: Remove is_remote check.
1044
740feeaa
SM
10452016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1046
1047 * gdb.base/annota-input-while-running.exp: Don't check for
1048 [is_remote target]. Enable annotations after running to main.
1049 Remove unused "set test..." line.
1050
9080ac9d
SM
10512016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1052
1053 * gdb.trace/trace-enable-disable.exp: New file.
1054 * gdb.trace/trace-enable-disable.c: New file.
1055
952ebca5
SM
10562016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1057
1058 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1059 use it in info sharedlibrary test.
1060 * gdb.trace/ftrace-lock.exp: Likewise.
1061 * gdb.trace/ftrace.exp: Likewise.
1062 * gdb.trace/range-stepping.exp: Likewise.
1063 * gdb.trace/trace-break.exp: Likewise.
1064 * gdb.trace/trace-condition.exp: Likewise.
1065 * gdb.trace/trace-mt.exp: Likewise.
1066
d9019901
SM
10672016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1068
1069 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1070 (gdb_load_shlib): ... this.
1071 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1072 gdb_load_shlib.
1073 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1074 * gdb.base/ctxobj.exp: Likewise.
1075 * gdb.base/dprintf-pending.exp: Likewise.
1076 * gdb.base/dso2dso.exp: Likewise.
1077 * gdb.base/fixsection.exp: Likewise.
1078 * gdb.base/gcore-relro.exp: Likewise.
1079 * gdb.base/gdb1555.exp: Likewise.
1080 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1081 * gdb.base/gnu-ifunc.exp: Likewise.
1082 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1083 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1084 * gdb.base/pending.exp: Likewise.
1085 * gdb.base/print-file-var.exp: Likewise.
1086 * gdb.base/print-symbol-loading.exp: Likewise.
1087 * gdb.base/shlib-call.exp: Likewise.
1088 * gdb.base/shreloc.exp: Likewise.
1089 * gdb.base/so-impl-ld.exp: Likewise.
1090 * gdb.base/solib-disc.exp: Likewise.
1091 * gdb.base/solib-nodir.exp: Likewise.
1092 * gdb.base/solib-overlap.exp: Likewise.
1093 * gdb.base/solib-symbol.exp: Likewise.
1094 * gdb.base/solib-weak.exp (do_test): Likewise.
1095 * gdb.base/sym-file.exp: Likewise.
1096 * gdb.base/symtab-search-order.exp: Likewise.
1097 * gdb.base/type-opaque.exp: Likewise.
1098 * gdb.base/unload.exp: Likewise.
1099 * gdb.base/watchpoint-solib.exp: Likewise.
1100 * gdb.compile/compile.exp: Likewise.
1101 * gdb.cp/gdb2384.exp: Likewise.
1102 * gdb.cp/infcall-dlopen.exp: Likewise.
1103 * gdb.cp/re-set-overloaded.exp: Likewise.
1104 * gdb.fortran/library-module.exp: Likewise.
1105 * gdb.opt/solib-intra-step.exp: Likewise.
1106 * gdb.python/py-finish-breakpoint.exp: Likewise.
1107 * gdb.python/py-shared.exp: Likewise.
1108 * gdb.reverse/solib-precsave.exp: Likewise.
1109 * gdb.reverse/solib-reverse.exp: Likewise.
1110 * gdb.server/solib-list.exp: Likewise.
1111 * gdb.threads/dlopen-libpthread.exp: Likewise.
1112 * gdb.threads/tls-shared.exp: Likewise.
1113 * gdb.threads/tls-so_extern.exp: Likewise.
1114 * gdb.trace/change-loc.exp: Likewise.
1115 * gdb.trace/ftrace-lock.exp: Likewise.
1116 * gdb.trace/ftrace.exp: Likewise.
1117 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1118 * gdb.trace/pending.exp: Likewise.
1119 * gdb.trace/range-stepping.exp: Likewise.
1120 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1121 (strace_info_marker): Likewise.
1122 (strace_probe_marker): Likewise.
1123 (strace_trace_on_same_addr): Likewise.
1124 (strace_trace_on_diff_addr): Likewise.
1125 * gdb.trace/trace-break.exp: Likewise.
1126 * gdb.trace/trace-condition.exp: Likewise.
1127 * gdb.trace/trace-mt.exp: Likewise.
1128
fca4cfd9
SM
11292016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1130
1131 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1132 result of gdb_remote_download.
1133 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1134 * gdb.base/dso2dso.exp: Likewise.
1135 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1136 * gdb.base/print-file-var.exp: Likewise.
1137 * gdb.base/shlib-call.exp: Likewise.
1138 * gdb.base/shreloc.exp: Likewise.
1139 * gdb.base/solib-overlap.exp: Likewise.
1140 * gdb.base/solib-weak.exp (do_test): Likewise.
1141 * gdb.base/unload.exp: Likewise.
1142
11cf4ffb
YQ
11432016-04-27 Yao Qi <yao.qi@linaro.org>
1144
1145 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1146 exists.
1147
3e2e34f8
KB
11482016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1149
1150 * vla-type.exp: Print structure from toplevel.
1151
8f07e298
BH
11522016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1153
1154 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1155 of dynamic types.
1156 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1157 of dynamic types.
1158
9920b434
BH
11592016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1160
1161 * gdb.fortran/vla-type.f90: New file.
1162 * gdb.fortran/vla-type.exp: New file.
1163
f3abeff5
YQ
11642016-04-25 Yao Qi <yao.qi@linaro.org>
1165
1166 * gdb.base/branch-to-self.c: New file.
1167 * gdb.base/branch-to-self.exp: New file.
1168
0a5d52f0
YQ
11692016-04-22 Yao Qi <yao.qi@linaro.org>
1170
1171 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1172 more after $hex.
1173
495346f6
YQ
11742016-04-22 Yao Qi <yao.qi@linaro.org>
1175
1176 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1177 * gdb.base/annota3.exp: Likewise.
1178
4a7e075c
YQ
11792016-04-22 Yao Qi <yao.qi@linaro.org>
1180
1181 * gdb.reverse/step-precsave.exp: Do one step and test program
1182 stops in "callee" and do multiple steps until program goes out
1183 of "callee".
1184 * gdb.reverse/step-reverse.exp: Likewise.
1185
5b061e98
YQ
11862016-04-22 Yao Qi <yao.qi@linaro.org>
1187
1188 * gdb.trace/signal.exp: Also pass if
1189 $tracepoint_hits($i) > $iterations.
1190
5c5dc57f
YQ
11912016-04-22 Yao Qi <yao.qi@linaro.org>
1192
1193 * gdb.trace/signal.c: New file.
1194 * gdb.trace/signal.exp: New file.
1195
a55411b9
DE
11962016-04-19 Doug Evans <xdje42@gmail.com>
1197
1198 * gdb.base/bad-file.exp: New file.
1199
a22df60a
MG
12002016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1201
1202 * gdb.dwarf2/implref.exp: New file.
1203
0c13f7e5
BH
12042016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1205
1206 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1207 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1208 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1209 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1210 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1211 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1212 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1213 * lib/fortran.exp (fortran_int4): New procedure.
1214 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1215 (fortran_logical4): Likewise.
1216
9b9b09e9
BH
12172016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1218
1219 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1220
a14d1f4d
BH
12212016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1222
1223 * lib/compiler.c: Add Intel specific preprocessor macros.
1224 * lib/compiler.cc: Likewise.
25d49b86 1225
7d49b1d0
LM
12262016-04-13 Luis Machado <lgustavo@codesourcery.com>
1227
1228 * gdb.server/connect-with-no-symbol-file.c: New file.
1229 * gdb.server/connect-with-no-symbol-file.exp: New file.
1230
8392fa22
SM
12312016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1232
1233 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1234
8c4c4aeb
SM
12352016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1236
1237 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1238 standard output directory.
1239
45e3745e
AT
12402016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1241
1242 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1243
e26b7e41
MM
12442016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1245
1246 * gdb.btrace/instruction_history.c (loop): Add declaration.
1247
8ce09462
AT
12482016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1249
1250 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1251
2e88a1ea
SM
12522016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1253
1254 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1255 parentheses to print.
1256 (continue_handler): Likewise.
1257
f48e22e3
SM
12582016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1259
1260 * gdb.server/solib-list.exp: Remove is_remote check.
1261 Pass shlib= to gdb_compile. Don't link shared library with
1262 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1263 Run binary filename through "readlink -f" on the target.
1264
096be756
PA
12652016-04-08 Pedro Alves <palves@redhat.com>
1266
1267 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1268 interpreter filename as argument to gdbserver_spawn.
1269 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1270 Return empty if $last_loaded_file does not exist.
1271
06500533
JK
12722016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1273
1274 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1275 * gdb.base/jit-main.c: Use exit after usage.
1276
2d35e871
JK
12772016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1278
1279 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1280 GDBHISTSIZE prior to the tests.
1281 * gdb.base/gdbinit-history.exp: Likewise.
1282
12832016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1284
1285 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1286 instead of build_executable. Use gdb_load_shlibs.
1287
c8064e7e
YQ
12882016-04-07 Yao Qi <yao.qi@linaro.org>
1289
1290 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1291 Execute "si" command.
1292
bde47561
YQ
12932016-04-07 Yao Qi <yao.qi@linaro.org>
1294
1295 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1296 number instead of the comments on some line.
1297
b16f8a3b
DB
12982016-04-06 Don Breazeal <donb@codesourcery.com>
1299
1300 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1301 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1302
c2f901df
SM
13032016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1304
1305 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1306 standard_output_file. Remove unused binfile variable.
1307
ac17fda0
CU
13082016-04-05 Catalin Udma <catalin.udma@freescale.com>
1309
1310 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1311 * gdb.python/py-mi-objfile.exp: Match "list main" output
1312 in console format.
1313
03a8c4df
SM
13142016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1315
1316 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1317 absolute.
1318
6e774b13
SM
13192016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1320
1321 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1322 absolute.
1323 * gdb.trace/ftrace.exp: Likewise.
1324 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1325 targets as well.
1326 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1327 (gdb_load_shlibs): Copy libraries to test directory when testing
1328 natively. Only set solib-search-path if testing remotely.
1329 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1330
7817ea46
SM
13312016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1332
1333 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1334 gdb_download. Use it even if the target is not remote.
1335 * gdb.base/jit.exp (compile_jit_test): Likewise.
1336 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1337 output directory if the destination board is local, otherwise use
1338 the standard remote_download from DejaGnu.
1339 (gdb_download): Remove.
1340 (gdb_load_shlibs): Use gdb_remote_download instead of
1341 gdb_download.
1342 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1343 Use gdb_remote_download instead of gdb_download. Use it even if
1344 the target is not remote.
1345 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1346 instead of gdb_download.
1347
7beb7f68
SM
13482016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1349
1350 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1351 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1352 run.
1353
cc63428a
AV
13542016-04-01 Artemiy Volkov <artemiyv@acm.org>
1355
1356 PR gdb/19820
1357 * gdb.base/printcmds.exp: Add artificial arrays tests.
1358
64cdf930
PA
13592016-03-31 Pedro Alves <palves@redhat.com>
1360
1361 PR gdb/19858
1362 * gdb.base/jit-main.c: Include unistd.h.
1363 (ATTACH): Define to 0 if not already defined.
1364 (wait_for_gdb, mypid): New globals.
1365 (WAIT_FOR_GDB): New macro.
1366 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1367 some breakpoint locations.
1368 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1369 New procedures.
1370 (one_jit_test): Add REATTACH parameter, and handle it. Use
1371 continue_to_test_location.
1372 (top level): Test attach, and adjusts calls to one_jit_test.
1373
40dea8cb
PA
13742016-03-31 Pedro Alves <palves@redhat.com>
1375
1376 PR gdb/19858
1377 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1378 BINSUFFIX parameter, and handle it.
1379 (top level): Adjust calls compile_jit_test.
1380
e7ea3ec7
CU
13812016-03-31 Catalin Udma <catalin.udma@freescale.com>
1382
1383 PR python/19743
1384 * gdb.python/py-mi-events-gdb.py: New file.
1385 * gdb.python/py-mi-events.c: New file.
1386 * gdb.python/py-mi-events.exp: New file.
1387
e6359af3
YQ
13882016-03-30 Yao Qi <yao.qi@linaro.org>
1389
1390 * gdb.reverse/until-precsave.exp: Match function name only.
1391 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1392 Move malloc to a condition block.
1393 * gdb.reverse/until-reverse.exp: Match function name only.
1394
a4105d04
MK
13952016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1396
1397 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1398 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1399 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1400 variable for GPR 0 instead of assuming it is register 0.
1401 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1402 * lib/trace-support.exp: Add s390 registers.
1403
bfa6adb9
YQ
14042016-03-29 Yao Qi <yao.qi@linaro.org>
1405
1406 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1407
1e6697ea
YQ
14082016-03-24 Yao Qi <yao.qi@linaro.org>
1409
1410 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1411 test message.
1412
64bcd522
AA
14132016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1414
1415 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1416 maintaining separate logic for constructing the output path.
1417
7868401b
DB
14182016-03-16 Don Breazeal <donb@codesourcery.com>
1419
1420 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1421 Retry fork and waitpid on interrupted system call errors.
1422 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1423 Use with_timeout_factor to increase timeout by factor of 10.
1424
1cafadb4
DB
14252016-03-15 Don Breazeal <donb@codesourcery.com>
1426
1427 * gdb.cp/scope-err.cc: New test program.
1428 * gdb.cp/scope-err.exp: New test script.
1429 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1430 lines and "set breakpoint here" comment.
1431 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1432 Fixed some whitespace and format issues.
1433 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1434 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1435
81516450
DE
14362016-03-15 Doug Evans <dje@google.com>
1437
1438 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1439 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1440 All callers updated. Add tests for enums, mixed flags register.
1441
aa52b601
DE
14422016-03-15 Doug Evans <dje@google.com>
1443
1444 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1445 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1446
fa4ff313
SM
14472016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1448
1449 * gdb.base/default.exp: Add $_as_string to the list of expected
1450 convenience functions.
1451
f2403c39
AB
14522016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1453
1454 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1455
f2f3ccb9
SM
14562016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1457
1458 * gdb.python/py-as-string.exp: New file.
1459 * gdb.python/py-as-string.c: New file.
1460
00dbd492
PA
14612016-03-09 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1464 signal" -> "Thread NN received signal" output change.
1465 * gdb.threads/ia64-sigill.exp: Likewise.
1466 * gdb.threads/linux-dp.exp: Likewise.
1467 * gdb.threads/manythreads.exp: Likewise.
1468 * gdb.threads/pending-step.exp: Likewise.
1469 * gdb.threads/print-threads.exp: Likewise.
1470 * gdb.threads/sigstep-threads.exp: Likewise.
1471 * gdb.threads/staticthreads.exp: Likewise.
1472 * gdb.threads/tls.exp: Likewise.
1473
1e6697ea
YQ
14742016-03-09 Pedro Alves <palves@redhat.com>
1475
1476 * gdb.base/command-line-input.exp: New file.
1477
b04fd3be
MK
14782016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1479
1480 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1481 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1482 * gdb.trace/pending.exp: Accept leading dot before function name.
1483 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1484 * lib/trace-support.exp: Set registers for ppc.
1485
98fa59e9
MK
14862016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1487
1488 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1489 use it for disassembly; accept .main in addition to main in backtrace.
1490
f77198c8
MK
14912016-03-09 Wei-cheng Wang <cole945@gmail.com>
1492 Marcin Kościelnicki <koriakin@0x04.net>
1493
1494 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1495 (gdb_recursion_test_ptr): New global variable.
1496 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1497 gdb_recursion_test.
1498 (gdb_c_test): Ditto.
1499
ba84e0da
MK
15002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1501
1502 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1503 ordering.
1504
4366d36e
MK
15052016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1506
1507 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1508 (bar): Add bar_start_lbl label.
1509 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1510 of foo/bar for emitting DWARF and tracing.
1511
5eb264df
SDJ
15122016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1513
1514 * analyze-racy-logs.py: Set executable bit.
1515
fb6a751f
SDJ
15162016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1517
1518 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1519 (CHECK_TARGET_TMP): Likewise.
1520 (check-single-racy): New rule.
1521 (check-parallel-racy): Likewise.
1522 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1523 (do-check-parallel-racy): New rule.
1524 (check-racy/%.exp): Likewise.
1525 * README (Racy testcases): New section.
1526 * analyze-racy-logs.py: New file.
1527
bdf7e230
DE
15282016-03-03 Doug Evans <dje@google.com>
1529
1530 * gdb.base/skip.exp: Use with_test_prefix.
1531
4719d415
YQ
15322016-03-03 Yao Qi <yao.qi@linaro.org>
1533
1534 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1535 Invoke step_over_syscall "clone" and break_cond_on_syscall
1536 "clone".
1537 * gdb.base/step-over-clone.c: New file.
1538
ea507862
YQ
15392016-03-03 Yao Qi <yao.qi@linaro.org>
1540
1541 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1542 code format.
1543
8fc8cbda
YQ
15442016-03-03 Yao Qi <yao.qi@linaro.org>
1545
1546 * gdb.base/disp-step-fork.c: Rename to ...
1547 * gdb.base/step-over-fork.c: ... it. New file.
1548 * gdb.base/disp-step-vfork.c: Rename to ...
1549 * gdb.base/step-over-vfork.c: ... it. New file.
1550 * gdb.base/disp-step-syscall.exp: Rename to ...
1551 * gdb.base/step-over-syscall.exp: ... it. New file.
1552 (disp_step_cross_syscall): Rename to ...
1553 (step_over_syscall): ... it.
1554
92fa70b0
YQ
15552016-03-03 Yao Qi <yao.qi@linaro.org>
1556
1557 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1558 If target supports condition evaluation on target, invoke
1559 break_cond_on_syscall for fork and vfork.
1560
e197ad3c
YQ
15612016-03-03 Yao Qi <yao.qi@linaro.org>
1562
1563 * gdb.base/disp-step-syscall.exp: Don't invoke
1564 support_displaced_stepping.
1565 (disp_step_cross_syscall): Test with displaced stepping off and
1566 on if supported.
1567
0b47da9f
YQ
15682016-03-03 Yao Qi <yao.qi@linaro.org>
1569
1570 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1571 proc.
1572 (setup): New proc.
1573 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1574 and setup.
1575
065ab6dc
BH
15762016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1577
1578 * gdb.fortran/vla-history.exp: Remove breakpoint.
1579
07e448ad 15802016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1581
25d49b86
PA
1582 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1583 exceeds timeout.
07e448ad 1584
9ac2d526 15852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1586
25d49b86
PA
1587 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1588 breakpoint.
9ac2d526 1589
17807369
BH
15902016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1591
1592 * gdb.mi/vla.f90: Nullify pointer after declaration.
1593
86e501af
PA
15942016-03-01 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1597
1e903e32
PA
15982016-03-01 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1601 before anything else.
1602 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1603 _GNU_SOURCE here.
1604 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1605 before anything else.
1606 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1607
6ccb54e2
PA
16082016-03-01 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1611
30ca9da1
YQ
16122016-03-01 Yao Qi <yao.qi@linaro.org>
1613
1614 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1615 prepare_for_testing.
1616
dc856b38
YQ
16172016-03-01 Yao Qi <yao.qi@linaro.org>
1618
1619 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1620
4a932159
AA
16212016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1622
1623 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1624 manually constructing the output path.
1625
f2489477
AA
16262016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1627
1628 * gdb.arch/s390-stackless.S: New.
1629 * gdb.arch/s390-stackless.exp: New.
1630
38899f16
IB
16312016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1632
1633 * gdb.dlang/circular.c: New file.
1634 * gdb.dlang/circular.exp: New file.
1635
9fde51ed
YQ
16362016-02-26 Yao Qi <yao.qi@linaro.org>
1637
1638 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1639 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1640 (testcases): Update.
1641
ce90fefe
YQ
16422016-02-26 Yao Qi <yao.qi@linaro.org>
1643
1644 * gdb.reverse/aarch64.c: Rename to ...
1645 * gdb.reverse/insn-reverse.c: ... it.
1646 * gdb.reverse/aarch64.exp: Rename to ...
1647 * gdb.reverse/insn-reverse.exp: ... it.
1648
3263bceb
YQ
16492016-02-26 Yao Qi <yao.qi@linaro.org>
1650
1651 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1652 (testcase_ftype): New.
1653 (testcases): New array.
1654 (n_testcases): New.
1655 (main): Call each element in testcases.
1656 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1657 (read_testcase): New.
1658 Do the tests in a loop.
1659
6cb59ff1
YQ
16602016-02-25 Yao Qi <yao.qi@linaro.org>
1661
1662 * gdb.base/branches.c: Remove.
1663
ae91f625
MK
16642016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1665
1666 PR gdb/13808
1667 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1668
678b48b7
MK
16692016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1670
1671 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1672
7337a6f2
MK
16732016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1674
1675 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1676 change x86_64 call_insn to 'callq'.
1677
861ca91f
AT
16782016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1679
1680 * gdb.trace/tfile-avx.c: Move to...
1681 * gdb.trace/tracefile-pseudo-reg.c: Here.
1682 * gdb.trace/tfile-avx.exp: Move to...
1683 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1684
bf74e428
GB
16852016-02-24 Gary Benson <gbenson@redhat.com>
1686
1687 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1688 message on attach.
1689
cce0e923
DE
16902016-02-23 Doug Evans <dje@google.com>
1691
1692 * gdb.base/skip.c (test_skip): New function.
1693 (end_test_skip_file_and_function): New function.
1694 (test_skip_file_and_function): New function.
1695 * gdb.base/skip1.c (test_skip): New function.
1696 (skip1_test_skip_file_and_function): New function.
1697 * gdb.base/skip.exp: Add tests for new skip options.
1698 * gdb.base/skip-solib.exp: Update expected output.
1699 * gdb.perf/skip-command.cc: New file.
1700 * gdb.perf/skip-command.exp: New file.
1701 * gdb.perf/skip-command.py: New file.
1702
4000e47e
MK
17032016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1704
1705 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1706 info registers pattern.
1707
24f75ead
IB
17082016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1709
1710 * lib/future.exp: Add D support.
1711 (gdb_find_gdc): New proc.
1712 (gdb_default_target_compile): Add D support.
1713
fbb7bcbe
WW
17142016-02-18 Wei-cheng Wang <cole945@gmail.com>
1715
1716 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1717 user+system time.
1718 (trace_speed_test): Determine the iteration count for a time
1719 between 15..30 seconds.
1720
012b3a21
WT
17212016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1722
1723 * gdb.arch/i386-mpx-sigsegv.c: New file.
1724 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1725 * gdb.arch/i386-mpx-simple_segv.c: New file.
1726 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1727
2d5189bd
YQ
17282016-02-18 Yao Qi <yao.qi@linaro.org>
1729
1730 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1731 Don't call setup_kfail.
1732
40fb20d0
YQ
17332016-02-18 Yao Qi <yao.qi@linaro.org>
1734
1735 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1736 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1737
21b1f8d2
DE
17382016-02-16 Doug Evans <dje@google.com>
1739
1740 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1741 * gdb.base/skip1.c: Ditto.
1742 * gdb.base/skip.exp: Whitespace cleanup.
1743
4041ed77
DB
17442016-02-16 Don Breazeal <donb@codesourcery.com>
1745
1746 PR remote/19496
1747 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1748 Remove kfail for PR remote/19496.
1749
c4ef31bf
SM
17502016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1751
1752 * lib/gdb.exp (standard_temp_file): Return a path specific to
1753 the runtest invocation.
1754
266b65b3
SM
17552016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1756
1757 * gdb.trace/save-trace.exp: Change relative path to be in the
1758 standard output directory.
1759
a7a0a6a9
JK
17602016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 * gdb.arch/i386-prologue.c: Add missing prototypes.
1763
c99dbb42
JK
17642016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1765
1766 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1767 * gdb.arch/i386-prologue.exp: Likewise.
1768 * gdb.arch/i386-size.exp: Likewise.
1769
aa480355
SM
17702016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1771
1772 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1773 define object file path.
1774 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1775 file path.
1776 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1777 standard_output_file to define binfile.
1778
ba881f50
JK
17792016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1780
1781 Fix compatibility with recent gfortran-5.3.1.
1782 * gdb.fortran/vla-history.exp (print vla1 allocated)
1783 (print vla2 allocated, print $2, print $3): Remove
1784 (print $4): Rename to ...
1785 (print $2): ... here.
1786 (print $9): Rename to ...
1787 (print $5): ... here.
1788 (print $10): Rename to ...
1789 (print $6): ... here.
1790 * gdb.fortran/vla.f90: Add pvla initialization.
1791
e9fb005c
JK
17922016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1793
1794 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1795 New test.
1796 * gdb.fortran/vla-value-sub.exp: Likewise.
1797
e44e00ff
MK
17982016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1799
1800 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1801
97e94151
SM
18022016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1803
1804 * i386-biarch-core.exp: Define corefile using
1805 standard_output_file.
1806
01113bc1
YQ
18072016-02-12 Yao Qi <yao.qi@linaro.org>
1808
1809 * gdb.arch/arm-single-step-kernel-helper.c: New.
1810 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1811
33b4777c
MM
18122016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1813
1814 * gdb.btrace/tailcall-only.exp: New.
1815 * gdb.btrace/tailcall-only.c: New.
1816 * gdb.btrace/x86_64-tailcall-only.S: New.
1817 * gdb.btrace/i686-tailcall-only.S: New.
1818
acc23c11
PA
18192016-02-11 Pedro Alves <palves@redhat.com>
1820
1821 * README (Parallel testing): Add missing double quotes.
1822
e352bf0a
PA
18232016-02-11 Pedro Alves <palves@redhat.com>
1824
1825 * README (Parallel testing): New section.
1826 (GDB_PARALLEL): Rewrite.
1827 (FORCE_PARALLEL): Document.
1828
9f5fed78
MK
18292016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1830
1831 * gdb.trace/tfile-avx.c: New test.
1832 * gdb.trace/tfile-avx.exp: New test.
1833
9ef9e6a6
KS
18342016-02-09 Keith Seitz <keiths@redhat.com>
1835
1836 PR breakpoints/19546
1837 * gdb.base/infcall-exec.c: New file.
1838 * gdb.base/infcall-exec2.c: New file.
1839 * gdb.base/infcall-exec.exp: New file.
1840
a96e36da
KS
18412016-02-09 Keith Seitz <keiths@redhat.com>
1842
1843 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1844 (toplevel): Call test_bkpt_address.
1845
9f61929f
KS
18462016-02-09 Keith Seitz <keiths@redhat.com>
1847
1848 PR python/19506
1849 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1850 (toplevel): Call test_bkpt_address.
1851
1e94266c
SM
18522016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1853
1854 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1855 to AC_OUTPUT.
1856 * configure: Regenerate.
1857
2a7f3dff
PA
18582016-02-09 Pedro Alves <palves@redhat.com>
1859
1860 PR breakpoints/19548
1861 * gdb.base/execl-update-breakpoints.c (some_function): New
1862 function.
1863 (main): Call it.
1864 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1865 Tighten expected GDB output.
1866
2151ccc5
SM
18672016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1868
1869 * Makefile.in (ALL_SUBDIRS): Remove.
1870 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1871 (distclean maintainer-clean realclean): Likewise.
1872 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1873 * configure: Regenerate.
1874 * gdb.ada/Makefile.in: Delete.
1875 * gdb.arch/Makefile.in: Likewise.
1876 * gdb.asm/Makefile.in: Likewise.
1877 * gdb.base/Makefile.in: Likewise.
1878 * gdb.btrace/Makefile.in: Likewise.
1879 * gdb.cell/Makefile.in: Likewise.
1880 * gdb.compile/Makefile.in: Likewise.
1881 * gdb.cp/Makefile.in: Likewise.
1882 * gdb.disasm/Makefile.in: Likewise.
1883 * gdb.dlang/Makefile.in: Likewise.
1884 * gdb.dwarf2/Makefile.in: Likewise.
1885 * gdb.fortran/Makefile.in: Likewise.
1886 * gdb.gdb/Makefile.in: Likewise.
1887 * gdb.go/Makefile.in: Likewise.
1888 * gdb.guile/Makefile.in: Likewise.
1889 * gdb.java/Makefile.in: Likewise.
1890 * gdb.linespec/Makefile.in: Likewise.
1891 * gdb.mi/Makefile.in: Likewise.
1892 * gdb.modula2/Makefile.in: Likewise.
1893 * gdb.multi/Makefile.in: Likewise.
1894 * gdb.objc/Makefile.in: Likewise.
1895 * gdb.opencl/Makefile.in: Likewise.
1896 * gdb.opt/Makefile.in: Likewise.
1897 * gdb.pascal/Makefile.in: Likewise.
1898 * gdb.perf/Makefile.in: Likewise.
1899 * gdb.python/Makefile.in: Likewise.
1900 * gdb.reverse/Makefile.in: Likewise.
1901 * gdb.server/Makefile.in: Likewise.
1902 * gdb.stabs/Makefile.in: Likewise.
1903 * gdb.threads/Makefile.in: Likewise.
1904 * gdb.trace/Makefile.in: Likewise.
1905 * gdb.xml/Makefile.in: Likewise.
1906 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1907 GDB_PARALLEL.
1908 (standard_output_file): Remove check for GDB_PARALLEL, always
1909 return path in outputs/$subdir/$testname.
1910
437277d4
SM
19112016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1912
1913 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1914 (site.exp): Assign abs_srcdir to tcl's srcdir.
1915
31d913c7
YQ
19162016-02-04 Yao Qi <yao.qi@linaro.org>
1917
1918 * gdb.base/foll-exec-mode.c: Include limits.h.
1919 (main): Add parameters argc and argv. Get directory from
1920 argv[0].
1921 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1922 compilation.
1923 * gdb.base/foll-exec.c: Include limits.h.
1924 (main): Add parameters argc and argv.
1925 Get directory from argv[0].
1926 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1927 Adjust tests on the number of lines as source code changed.
1928 * gdb.base/foll-vfork-exit.c: Include limits.h.
1929 (main): Add one line of statement before vfork.
1930 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1931 (main): Add parameters argc and argv. Get directory from
1932 argv[0].
1933 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1934 (setup_gdb): Set tbreak to skip some source lines.
1935 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1936 (main): Add parameters argc and argv. Get directory from
1937 argv[0].
1938 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1939 compilation.
1940 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1941 (main): Add parameters argc and argv. Get directory from
1942 argv[0].
1943 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1944 compilation.
1945
9482b9fb
DE
19462016-02-01 Doug Evans <dje@google.com>
1947
1948 * gdb.base/skip.exp: Clean up multiple references to same test name.
1949
6b2e4f10
PA
19502016-02-01 Pedro Alves <palves@redhat.com>
1951
ccb6afd6 1952 PR remote/19496
6b2e4f10
PA
1953 * gdb.threads/forking-threads-plus-breakpoint.exp
1954 (displaced_stepping_supported): New global.
1955 (probe_displaced_stepping_support): New procedure.
1956 (do_test): Add 'displaced' parameter, and use it.
1957 (top level): Check for displaced stepping support. Add displaced
1958 stepping on/off testing axis.
1959
37a8db1a
AB
19602016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1961
1962 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1963 pointer. Don't perform further tests on the unassociated pointer
1964 if the first test fails.
1965
5fdf6324
AB
19662016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1967
1968 * gdb.base/max-value-size.c: New file.
1969 * gdb.base/max-value-size.exp: New file.
1970 * gdb.base/huge.exp: Disable max-value-size for this test.
1971
935c6144
IB
19722016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1973
1974 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1975
7fe8399d
YQ
19762016-01-28 Yao Qi <yao.qi@linaro.org>
1977
1978 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1979
a2077e25
PA
19802016-01-25 Pedro Alves <palves@redhat.com>
1981
1982 PR threads/19461
1983 * gdb.base/fork-running-state.c: New file.
1984 * gdb.base/fork-running-state.exp: New file.
1985
1d2736d4
PA
19862016-01-25 Pedro Alves <palves@redhat.com>
1987
1988 PR gdb/19494
1989 * gdb.base/catch-fork-kill.c: New file.
1990 * gdb.base/catch-fork-kill.exp: New file.
1991
f1da4b11
PA
19922016-01-25 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1995 Delete, moved to lib/gdb.exp.
1996 * gdb.threads/forking-threads-plus-breakpoint.exp
1997 (foreach_with_prefix): Likewise.
1998 * gdb.threads/process-dies-while-handling-bp.exp
1999 (foreach_with_prefix): Likewise.
2000 * lib/gdb.exp (foreach_with_prefix): New procedure.
2001
45f38546
MK
20022016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2003
2004 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2005 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2006
dc29a1ce
MK
20072016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2008
2009 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2010 endian targets.
2011
092127d7
JK
20122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2013 Pedro Alves <palves@redhat.com>
2014
2015 Fix testsuite compatibility with Guile.
2016 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2017 number.
2018
31d765d3
JK
20192016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2020
2021 Fix testsuite compatibility with Guile.
2022 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2023 (thread 1): New test for backtrace through signal handler.
2024
1ac78c04
YQ
20252016-01-22 Yao Qi <yao.qi@linaro.org>
2026
2027 PR testsuite/19491
2028 * gdb.base/multi-forks.c: Include
2029 ../lib/unbuffer_output.c
2030 (main): Call gdb_unbuffer_output.
2031
4f5946a8
DE
20322016-01-21 Doug Evans <dje@google.com>
2033
2034 * lib/ada.exp (gdb_compile_ada): Fix typo.
2035
305e13e6
JB
20362016-01-21 Joel Brobecker <brobecker@adacore.com>
2037
2038 * gdb.base/break-fun-addr.exp: New file.
2039 * gdb.base/break-fun-addr1.c: New file.
2040 * gdb.base/break-fun-addr2.c: New file.
2041
5f5dfff6
SM
20422016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2043
2044 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2045 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2046 enum flag values.
2047
fd356fa2
AA
20482016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2049
2050 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2051 when GDB can not set the vector return value. Add more comments
2052 for clarification.
2053
9df22175
AT
20542016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2055
2056 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2057 command.
2058
41d1845e
SM
20592016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2060
2061 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2062
01ac6840
SM
20632016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2064
2065 * Makefile.in (check-single): Pass --status to runtest.
2066 (check/%.exp): Likewise.
2067
20682016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2069
2070 * Makefile.in (check-parallel): Propagate return code from make
2071 do-check-parallel.
2072
bd0a71fa
MK
20732016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2074
2075 * gdb.trace/ftrace.exp: Fix expected message on continue.
2076 * gdb.trace/pending.exp: Fix expected message on continue.
2077 * gdb.trace/trace-break.exp: Fix expected message on continue.
2078
8bcbad33
SM
20792016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2080
2081 * lib/gdb.exp (gdb_test): Remove unused global references.
2082
f303dbd6
PA
20832016-01-18 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.base/async-shell.exp: Adjust expected output.
2086 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2087 * gdb.base/siginfo-thread.exp: Adjust expected output.
2088 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2089 * gdb.java/jnpe.exp: Adjust expected output.
2090 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2091 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2092 * gdb.threads/leader-exit.exp: Adjust expected output.
2093 * gdb.threads/manythreads.exp: Adjust expected output.
2094 * gdb.threads/pthreads.exp: Adjust expected output.
2095 * gdb.threads/schedlock.exp: Adjust expected output.
2096 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2097 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2098 expected output.
2099 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2100 output.
2101 * gdb.threads/sigthread.exp: Adjust expected output.
2102 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2103
b2789696
YQ
21042016-01-18 Yao Qi <yao.qi@linaro.org>
2105
2106 * gdb.guile/scm-section-script.c: Replace @progbits with
2107 %progbits.
2108 * gdb.python/py-section-script.c: Likewise.
2109
71ef29a8
PA
21102016-01-15 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.multi/tids.exp: Test star wildcard ranges.
2113
3f5b7598
PA
21142016-01-15 Pedro Alves <palves@redhat.com>
2115
2116 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2117 command from "thread apply" invocation.
2118 (thr_apply_info_thr_invalid): Default the expected output to the
2119 input tid list.
2120 (top level): Add tests that use convenience variables. Add tests
2121 for "thread apply" with a valid TID list, but missing the command.
2122
663f6d42
PA
21232016-01-13 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.base/default.exp: Expect $_gthread as well.
2126 * gdb.multi/tids.exp: Test $_gthread.
2127 * gdb.threads/thread-specific.exp: Test $_gthread.
2128
c84f6bbf
PA
21292016-01-13 Pedro Alves <palves@redhat.com>
2130
2131 * gdb.multi/tids.exp: Test "info threads -gid".
2132
22a02324
PA
21332016-01-13 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2136 Breakpoint.thread.
2137 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2138
5d5658a1
PA
21392016-01-07 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.base/break.exp: Adjust to output changes.
2142 * gdb.base/hbreak2.exp: Likewise.
2143 * gdb.base/sepdebug.exp: Likewise.
2144 * gdb.base/watch_thread_num.exp: Likewise.
2145 * gdb.linespec/keywords.exp: Likewise.
2146 * gdb.multi/info-threads.exp: Likewise.
2147 * gdb.threads/thread-find.exp: Likewise.
2148 * gdb.multi/tids.c: New file.
2149 * gdb.multi/tids.exp: New file.
2150
84654457
PA
21512016-01-13 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2154
e3940304
PA
21552016-01-13 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/default.exp: Expect $_inferior as well.
2158 * gdb.multi/base.exp: Test $_inferior.
2159
a911d87a
PA
21602016-01-13 Pedro Alves <palves@redhat.com>
2161
2162 PR breakpoints/19388
2163 * gdb.base/catch-signal-siginfo-cond.c: New file.
2164 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2165
82075af2
JS
21662016-01-12 Josh Stone <jistone@redhat.com>
2167 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2168
2169 * gdb.base/catch-syscall.c (do_execve): New variable.
2170 (main): Conditionally trigger an execve.
2171 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2172 (test_catch_syscall_execve): New, check entry/return across execve.
2173 (do_syscall_tests): Call test_catch_syscall_execve.
2174
e46eeedd
PA
21752016-01-12 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.base/random-signal.exp (do_test): New procedure, with body
2178 of testcase moved in.
2179
01d8c27e
JK
21802016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2181 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.base/funcargs.exp (finish from indirectly called function):
2184 Reintroduce the case for 'First'.
2185
9a706302
JK
21862016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2187 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2190 (tcatch_vfork_then_child_follow_exec)
2191 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2192 identification.
2193
c0ecb95f
JK
21942016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2195
2196 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2197 and repeats to unlimited.
2198 * gdb.python/py-value.exp: Likewise.
2199 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2200 and repeats to unlimited.
2201
6cfc1fcb
JK
22022016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2203
2204 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2205 and reordering the functions.
2206 * gdb.multi/hangout.c: Likewise.
2207 * gdb.multi/hello.c: Likewise.
2208
582a1b00
SM
22092016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2210
2211 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2212 absolute.
2213 (SingleStatisticTestResult.report): Use dict.keys instead of
2214 dict.iterkeys.
2215
79bc59cb
PA
22162016-01-06 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2219
43368e1d
MM
22202016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2221
2222 * gdb.btrace/dlopen.exp: New.
2223 * gdb.btrace/dlopen.c: New.
2224 * gdb.btrace/dlopen-dso.c: New.
2225
79fad5b8
SL
22262015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2227
2228 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2229 PATTERN argument is optional.
2230
ab8314b3
JB
22312015-12-24 Joel Brobecker <brobecker@adacore.com>
2232
2233 * lib/ada.exp (target_compile_ada_from_dir): New function.
2234 (gdb_compile_ada): Reimplement avoiding the use of project files.
2235 * gdb.ada/gnat_ada.gpr: Delete.
2236 * gdb.ada/cond_lang.exp: Adjust test to make path before
2237 filename optional.
2238 * gdb.ada/small_reg_param.exp: Likewise.
2239
fe33faff
SM
22402015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2241
2242 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2243
6d265cb4
TP
22442015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2245
2246 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2247 case.
2248
10125099
SM
22492015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2250
2251 * gdb.base/break.exp: Remove dead code.
2252 * gdb.base/sepdebug.exp: Likewise.
2253
3ca22649
SM
22542015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2255
2256 * gdb.asm/asm-source.exp: Remove HP-UX references.
2257 * gdb.base/annota1.exp: Likewise.
2258 * gdb.base/annota3.exp: Likewise.
2259 * gdb.base/attach.exp: Likewise.
2260 * gdb.base/bigcore.exp: Likewise.
2261 * gdb.base/break.exp: Likewise.
2262 * gdb.base/call-ar-st.exp: Likewise.
2263 * gdb.base/callfuncs.exp: Likewise.
2264 * gdb.base/catch-fork-static.exp: Likewise.
2265 * gdb.base/display.exp: Likewise.
2266 * gdb.base/foll-exec-mode.exp: Likewise.
2267 * gdb.base/foll-exec.exp: Likewise.
2268 * gdb.base/foll-fork.exp: Likewise.
2269 * gdb.base/foll-vfork.exp: Likewise.
2270 * gdb.base/funcargs.exp: Likewise.
2271 * gdb.base/hbreak2.exp: Likewise.
2272 * gdb.base/inferior-died.exp: Likewise.
2273 * gdb.base/interrupt.exp: Likewise.
2274 * gdb.base/multi-forks.exp: Likewise.
2275 * gdb.base/nodebug.exp: Likewise.
2276 * gdb.base/sepdebug.exp: Likewise.
2277 * gdb.base/solib1.c: Likewise.
2278 * gdb.base/step-test.exp: Likewise.
2279 * gdb.mi/non-stop.c: Likewise.
2280 * gdb.mi/pthreads.c: Likewise.
2281 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2282 * gdb.threads/pthreads.c: Likewise.
2283 * gdb.threads/staticthreads.exp: Likewise.
2284 * lib/future.exp: Likewise.
2285 * lib/gdb.exp: Likewise.
2286 * gdb.base/so-indr-cl.c: Remove.
2287 * gdb.base/so-indr-cl.exp: Likewise.
2288 * gdb.base/solib.c: Likewise.
2289 * gdb.base/solib.exp: Likewise.
2290 * gdb.base/solib2.c: Likewise.
2291
b6304613
SM
22922015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2293
2294 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2295 * gdb.base/call-ar-st.exp: Likewise.
2296 * gdb.base/callfuncs.exp: Likewise.
2297 * gdb.base/condbreak.exp: Likewise.
2298 * gdb.base/constvars.exp: Likewise.
2299 * gdb.base/hbreak2.exp: Likewise.
2300 * gdb.base/langs.exp: Likewise.
2301 * gdb.base/list.exp: Likewise.
2302 * gdb.base/long_long.exp: Likewise.
2303 * gdb.base/ptype.exp: Likewise.
2304 * gdb.base/scope.exp: Likewise.
2305 * gdb.base/signals.exp: Likewise.
2306 * gdb.base/so-impl-ld.exp: Likewise.
2307 * gdb.base/varargs.exp: Likewise.
2308 * gdb.base/volatile.exp: Likewise.
2309 * gdb.base/whatis.exp: Likewise.
2310 * gdb.cp/cplusfuncs.exp: Likewise.
2311 * gdb.cp/inherit.exp: Likewise.
2312 * gdb.cp/local.exp: Likewise.
2313 * gdb.cp/member-ptr.exp: Likewise.
2314 * gdb.cp/method.exp: Likewise.
2315 * gdb.cp/overload.exp: Likewise.
2316 * gdb.cp/templates.exp: Likewise.
2317 * gdb.stabs/weird.exp: Likewise.
2318 * lib/compiler.c: Likewise.
2319 * lib/compiler.cc: Likewise.
2320 * lib/cp-support.exp: Likewise.
2321 * lib/gdb.exp: Likewise.
2322
bf401b07
SM
23232015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2324
2325 * configure.ac: Remove HP-UX case.
2326 * configure: Regenerate.
2327
aff9c0f8
SM
23282015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2329
2330 * lib/gdb.exp (gdb_compile): Add function doc.
2331
a6904d5a
PA
23322015-12-17 Pedro Alves <palves@redhat.com>
2333
2334 PR threads/19354
2335 * gdb.multi/info-threads.exp: New file.
2336
a22279dd
YQ
23372015-12-15 Yao Qi <yao.qi@linaro.org>
2338
2339 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2340 is aarch64*-*-*.
2341
0588c796
SL
23422015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2343
2344 * gdb.base/history-duplicates.exp: Skip if no readline support.
2345
5d978e17
SL
23462015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2347
2348 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2349
7e763b86
SL
23502015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2351
2352 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2353
87a3a92c
SL
23542015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2355
2356 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2357 ctrl-C if nointerrupts target property is set.
2358 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2359 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2360 * gdb.base/paginate-bg-execution.exp: Likewise.
2361 * gdb.base/paginate-execution-startup.exp: Likewise.
2362 * gdb.base/random-signal.exp: Likewise.
2363 * gdb.base/range-stepping.exp: Likewise.
2364 * gdb.cp/annota2.exp: Likewise.
2365 * gdb.cp/annota3.exp: Likewise.
2366 * gdb.gdb/selftest.exp: Likewise.
2367 * gdb.threads/continue-pending-status.exp: Likewise.
2368 * gdb.threads/leader-exit.exp: Likewise.
2369 * gdb.threads/manythreads.exp: Likewise.
2370 * gdb.threads/pthreads.exp: Likewise.
2371 * gdb.threads/schedlock.exp: Likewise.
2372 * gdb.threads/sigthread.exp: Likewise.
2373
a8f077dc
DB
23742015-12-11 Don Breazeal <donb@codesourcery.com>
2375
2376 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2377 remote.
2378 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2379 * gdb.base/foll-exec.exp (main): Enable for target remote.
2380 * gdb.base/foll-fork.exp (main): Likewise.
2381 * gdb.base/foll-vfork.exp (main): Likewise.
2382 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2383 (proc continue_to_exit_bp_loc): Use clean_restart.
2384 * gdb.base/pie-execl.exp (main): Disable for target remote.
2385 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2386 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2387 * gdb.threads/execl.exp (main): Likewise.
2388 * gdb.threads/fork-child-threads.exp (main): Likewise.
2389 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2390 remote.
2391 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2392 remote.
2393 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2394 pid.tid style ptids, instead of just tid.
2395 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2396 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2397 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2398 ptids, instead of just tid.
2399
3b2464a8
AB
24002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2401
2402 * gdb.base/list.exp (test_list_forward): Add end of file error
2403 test.
2404 (test_repeat_list_command): Add end of file error test.
2405 (test_list_backwards): Add beginning of file error test.
2406
a0def019
AB
24072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2408
2409 * gdb.base/list.exp (test_list_invalid_args): New function,
2410 defined, and called.
2411
5c000dff
AB
24122015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2413
2414 * gdb.base/list.exp (test_list): Make test names unique.
2415
f1637ebe
YQ
24162015-12-11 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.base/coremaker2.c: Remove.
2419
36d6fc0a
PA
24202015-12-10 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.multi/base.exp: Remove stale "spaces" references.
2423
762f7747
PA
24242015-12-10 Pedro Alves <palves@redhat.com>
2425
2426 * gdb.multi/base.exp: Don't use nowarnings.
2427 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2428 * gdb.multi/hangout.c: Include stdio.h.
2429 * gdb.multi/hello.c: Include stdlib.h.
2430 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2431 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2432 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2433
28d2bfb9
AB
24342015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2435
2436 * gdb.dwarf2/dw2-ranges-base.c: New file.
2437 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2438 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2439 support additional line table, and debug ranges generation.
2440 (Dwarf::ranges): New function, generate .debug_ranges.
2441 (Dwarf::lines): Support generating simple line table programs.
2442 (Dwarf::assemble): Initialise new namespace variables.
2443
5fc2beac
KB
24442015-12-09 Kevin Buettner <kevinb@redhat.com>
2445
2446 * gdb.base/async.exp (proc test_background): Add case for
2447 asynchronous execution not supported.
2448
1c35a88f
LM
24492015-12-09 Luis Machado <lgustavo@codesourcery.com>
2450
2451 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2452 format and change test names to make them unique.
2453
b593e3d9
RK
24542015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2455 Pedro Alves <pedro@redhat.com>
2456
2457 PR gdb/18702
2458 Add checking of floatformats setup on x86_64 hosts.
2459 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2460 (smallval, bigval): New labels/constants.
2461 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2462 float" after loading bigval and smallval.
2463
d72413e6
PMR
24642015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2465
2466 * gdb.ada/fun_overload_menu.exp: New testcase.
2467 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2468
ece66d65
JS
24692015-12-04 Josh Stone <jistone@redhat.com>
2470
2471 * gdb.base/catch-fork-static.exp: New.
2472
41d0efca
YQ
24732015-12-03 Yao Qi <yao.qi@linaro.org>
2474
2475 * gdb.base/sizeof.c: Don't include stdio.h and
2476 ../lib/unbuffer_output.c.
2477 (main): New variable 'size' and 'value'. Remove printf and
2478 gdb_unbuffer_output. Assign return value to size and value.
2479 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2480 at the beginning.
2481 (check_sizeof): Check the result by printing variable 'size'.
2482 (check_valueof): Check the result by printing variable 'value'.
2483
99fd02d9
YQ
24842015-12-01 Yao Qi <yao.qi@linaro.org>
2485
2486 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2487 for aarch64*-*-linux* target.
2488
f2faf941
PA
24892015-11-30 Pedro Alves <palves@redhat.com>
2490
2491 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2492
04bf20c5
PA
24932015-11-30 Pedro Alves <palves@redhat.com>
2494
2495 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2496 Handle non-stop mode vCont replies.
2497
09df4675
PA
24982015-11-30 Pedro Alves <palves@redhat.com>
2499
2500 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2501 prepare_for_testing. Start gdb with "set non-stop on" appended to
2502 GDBFLAGS. Lax expected stop output.
2503
58b584af
YQ
25042015-11-27 Yao Qi <yao.qi@linaro.org>
2505
2506 * gdb.arch/arm-neon.exp: New.
2507 * gdb.arch/arm-neon.c: New.
2508
dfcb77a8
YQ
25092015-11-27 Yao Qi <yao.qi@linaro.org>
2510
2511 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2512
88e8ec1b
YQ
25132015-11-27 Yao Qi <yao.qi@linaro.org>
2514
2515 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2516 frames-invalid annotation.
2517
bfde72c2
YQ
25182015-11-27 Yao Qi <yao.qi@linaro.org>
2519
2520 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2521
f6512a69
SM
25222015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2523
2524 * gdb.threads/names.exp: New file.
2525 * gdb.threads/names.c: New file.
2526 * README: Mention gdb,no_thread_names.
2527
46a3515b
MM
25282015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2529
2530 PR 19297
2531 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2532 support" error.
2533
62147a22
PA
25342015-11-24 Pedro Alves <palves@redhat.com>
2535
2536 PR 17539
2537 * gdb.base/display.exp: Expect displays to be sorted in ascending
2538 order. Use multi_line.
2539 * gdb.base/solib-display.exp: Likewise.
2540
2f341b6e
PA
25412015-11-24 Pedro Alves <palves@redhat.com>
2542
2543 PR 17539
25d49b86
PA
2544 * gdb.base/display.exp: Expect displays to be sorted in ascending
2545 order. Use multi_line.
2546 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2547
7e0aa6aa
PA
25482015-11-24 Pedro Alves <palves@redhat.com>
2549
2550 PR 17539
2551 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2552 threads in ascending order.
2553 * gdb.base/foll-fork.exp: Likewise.
2554 * gdb.base/foll-vfork.exp: Likewise.
2555 * gdb.base/multi-forks.exp: Likewise.
2556 * gdb.mi/mi-nonstop.exp: Likewise.
2557 * gdb.mi/mi-nsintrall.exp: Likewise.
2558 * gdb.multi/base.exp: Likewise.
2559 * gdb.multi/multi-arch.exp: Likewise.
2560 * gdb.python/py-inferior.exp: Likewise.
2561 * gdb.threads/break-while-running.exp: Likewise.
2562 * gdb.threads/execl.exp: Likewise.
2563 * gdb.threads/gcore-thread.exp: Likewise.
2564 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2565 * gdb.threads/kill.exp: Likewise.
2566 * gdb.threads/linux-dp.exp: Likewise.
2567 * gdb.threads/multiple-step-overs.exp: Likewise.
2568 * gdb.threads/next-bp-other-thread.exp: Likewise.
2569 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2570 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2571 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2572 * gdb.threads/thread-find.exp: Likewise.
2573 * gdb.threads/tls.exp: Likewise.
2574 * lib/mi-support.exp (mi_reverse_list): Delete.
2575 (mi_check_thread_states): No longer reverse list.
2576
2cc57ad8
PA
25772015-11-24 Pedro Alves <palves@redhat.com>
2578
2579 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2580 use lowercase.
2581
c93e8391
SM
25822015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2583
2584 * gdb.trace/actions.c: Include trace-common.h.
2585 (main): Add a location for a fast tracepoint.
2586 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2587 the normal tracepoints.
2588 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2589
045ccf91
SM
25902015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2591
2592 * save-trace.exp: Factor out code to these...
2593 (gdb_save_tracepoints): New.
2594 (gdb_load_tracepoints): New.
2595 (do_save_load_test): New.
2596
5506f9f6
KB
25972015-11-23 Kevin Buettner <kevinb@redhat.com>
2598
2599 * gdb.base/asmlabel.exp: New test.
2600 * gdb.base/asmlabel.c: New test case.
2601
16c3b12f
JB
26022015-11-23 Joel Brobecker <brobecker@adacore.com>
2603
2604 * gdb.base/wrong_frame_bt_full-main.c: New file.
2605 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2606 * gdb.base/wrong_frame_bt_full.exp: New file.
2607
155bfbd3
JB
26082015-11-23 Joel Brobecker <brobecker@adacore.com>
2609
2610 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2611
bb097445
JM
26122015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2613
206853a0 2614 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2615 pstate register when comparing registers values in
2616 sparc64-*-linux-gnu targets to avoid spurious differences.
2617
9c88ed8f
JM
26182015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2619
206853a0 2620 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2621
96161e25
SL
26222015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2623
2624 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2625 as type argument to gdb_compile.
2626 * gdb.base/nested-subp2.exp: Likewise.
2627 * gdb.base/nested-subp3.exp: Likewise.
2628
340c2830
DV
26292015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2630
2631 * lib/dwarf.exp (_note): Fix left shift of negative value.
2632 * gdb.trace/trace-condition.exp: Likewise.
2633
c1862d0f
YQ
26342015-11-13 Yao Qi <yao.qi@linaro.org>
2635
2636 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2637 comments about d10v.
2638 (test_scalar_returns): Likewise.
2639 * gdb.base/d10v.ld: Remove.
2640 * gdb.base/overlays.exp: Remove the target triplet checking for
2641 d10v-*-*.
2642 * gdb.base/structs.exp (test_struct_returns): Remove the
2643 comments about d10v.
2644 (test_struct_calls): Likewise.
2645
77ae9c19
YQ
26462015-11-13 Yao Qi <yao.qi@linaro.org>
2647
2648 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2649 * gdb.base/gnu_vector.c: Don't include stdio.h.
2650 (main): Don't print res and call add_some_intvecs.
2651
430e004e
MK
26522015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2653
2654 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2655 macro.
2656 (func5): Removed.
2657 (func4): Use FAST_TRACEPOINT_LABEL.
2658 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2659 macro.
2660 (func): Removed.
2661 (thread_function): Use FAST_TRACEPOINT_LABEL.
2662 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2663 (func): Remove.
2664 (marker): Use FAST_TRACEPOINT_LABEL.
2665 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2666 (pendfunc1): Remove.
2667 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2668 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2669 (foo): Remove.
2670 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2671 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2672 macro.
2673 (func): Remove.
2674 (marker): Use FAST_TRACEPOINT_LABEL.
2675 * gdb.trace/trace-common.h: New header.
2676 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2677 macro.
2678 (func): Remove.
2679 (marker): Use FAST_TRACEPOINT_LABEL.
2680 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2681 (func): Remove.
2682 (thread_function): Use FAST_TRACEPOINT_LABEL.
2683
6e7675a7
MK
26842015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2685
2686 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2687 in front.
2688 * gdb.trace/change-loc.exp: Use global pcreg definition.
2689 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2690 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2691 in front.
2692 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2693 * gdb.trace/pending.exp: Likewise.
2694 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2695 * gdb.trace/trace-break.exp: Likewise.
2696 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2697 in front.
2698 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2699 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2700 in front.
2701 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2702
dddc0e16
JB
27032015-11-09 Joel Brobecker <brobecker@adacore.com>
2704
2705 * gdb.ada/fin_fun_out: New testcase.
2706
c6f0b406
KB
27072015-11-07 Kevin Buettner <kevinb@redhat.com>
2708
2709 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2710 value associated with DW_AT_byte_size.
2711 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2712 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2713 DW_AT_upper_bound.
2714
f01dcfd9
KB
27152015-11-07 Kevin Buettner <kevinb@redhat.com>
2716
2717 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2718 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2719 version.
2720 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2721 gdb.dwarf2/dw2-canonicalize-type.exp,
2722 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2723 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2724 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2725 provided by gdb_target_symbol_prefix_flags_asm.
2726 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2727 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2728 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2729 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2730 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2731 macros where needed). Use this macro for symbols which require
2732 the prefix provided by SYMBOL_PREFIX.
2733
2223449a
KB
27342015-11-05 Kevin Buettner <kevinb@redhat.com>
2735
2736 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2737 New procs.
2738 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2739 representing expressions, of more than one list element.
2740 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2741 to prepend linker symbol prefix to f.
2742 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2743 table_1 and table_2.
2744 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2745 Likewise, for f and g.
2746 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2747 for ptr.
2748 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2749 for main.
2750 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2751 table_1_ptr and table_2_ptr.
2752
6f2f1a3a
JK
27532015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2754 Joel Brobecker <brobecker@adacore.com>
2755
2756 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2757
566c56c9
MK
27582015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2759
2760 * gdb.reverse/s390-mvcle.c: New test.
2761 * gdb.reverse/s390-mvcle.exp: New file.
2762 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2763
d5f0636b
MK
27642015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2765
2766 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2767
7ad8b86c
MK
27682015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2769
2770 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2771 reaching marker2.
2772 * gdb.reverse/getresuid-reverse.exp: Likewise.
2773 * gdb.reverse/pipe-reverse.exp: Likewise.
2774 * gdb.reverse/readv-reverse.exp: Likewise.
2775 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2776 * gdb.reverse/time-reverse.exp: Likewise.
2777 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2778
4081c0f1
YQ
27792015-10-30 Yao Qi <yao.qi@linaro.org>
2780
2781 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2782 (empty_cycle): Remove.
2783 (main): Don't call empty_cycle. Don't use watch_count_done.
2784 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2785 empty_cycle. Rewrite the code counting HW watchpoints.
2786
452b4ba5
MK
27872015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2788
2789 * gdb.reverse/fstatat-reverse.c: New test.
2790 * gdb.reverse/fstatat-reverse.exp: New file.
2791 * gdb.reverse/getresuid-reverse.c: New test.
2792 * gdb.reverse/getresuid-reverse.exp: New file.
2793 * gdb.reverse/pipe-reverse.c: New test.
2794 * gdb.reverse/pipe-reverse.exp: New file.
2795 * gdb.reverse/readv-reverse.c: New test.
2796 * gdb.reverse/readv-reverse.exp: New file.
2797 * gdb.reverse/recvmsg-reverse.c: New test.
2798 * gdb.reverse/recvmsg-reverse.exp: New file.
2799 * gdb.reverse/time-reverse.c: New test.
2800 * gdb.reverse/time-reverse.exp: New file.
2801 * gdb.reverse/waitpid-reverse.c: New test.
2802 * gdb.reverse/waitpid-reverse.exp: New file.
2803
5e2e7507
JK
28042015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2805
2806 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2807
0fde2c53
DE
28082015-10-26 Doug Evans <dje@google.com>
2809
2810 PR symtab/17391
2811 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2812 * gdb.dwarf2/bad-regnum.c: New file.
2813 * gdb.dwarf2/bad-regnum.exp: New file.
2814
1a70ae97
DE
28152015-10-26 Doug Evans <dje@google.com>
2816
2817 PR python/18938
2818 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2819 file.
2820
27dc26ab
JK
28212015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2822
2823 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2824 for a change by "Mention language in compile error message".
2825
bed91f4d
SM
28262015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2827
2828 PR python/18073
2829 * gdb.python/py-type.c (C::a_method): New.
2830 (C::a_const_method): New.
2831 (C::a_static_method): New.
2832 (a_function): New.
2833 * gdb.python/py-type.exp (test_fields): Test getting fields
2834 from function and method.
2835
3f2f83dd
KB
28362015-10-21 Keven Boell <keven.boell@intel.com>
2837
2838 * gdb.fortran/vla-alloc-assoc.exp: New file.
2839 * gdb.fortran/vla-datatypes.exp: New file.
2840 * gdb.fortran/vla-datatypes.f90: New file.
2841 * gdb.fortran/vla-history.exp: New file.
2842 * gdb.fortran/vla-ptype-sub.exp: New file.
2843 * gdb.fortran/vla-ptype.exp: New file.
2844 * gdb.fortran/vla-sizeof.exp: New file.
2845 * gdb.fortran/vla-sub.f90: New file.
2846 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2847 * gdb.fortran/vla-value-sub-finish.exp: New file.
2848 * gdb.fortran/vla-value-sub.exp: New file.
2849 * gdb.fortran/vla-value.exp: New file.
2850 * gdb.fortran/vla-ptr-info.exp: New file.
2851 * gdb.mi/mi-vla-fortran.exp: New file.
2852 * gdb.mi/vla.f90: New file.
2853
27145d50
SL
28542015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2855
2856 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2857 of hardwired timeout value.
2858
5f3ff4f8
JK
28592015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2860 Pedro Alves <palves@redhat.com>
2861
2862 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2863 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2864
bfd09d20
JS
28652015-10-19 Josh Stone <jistone@redhat.com>
2866
2867 * gdb.base/catch-syscall.c: Include <sched.h>.
2868 (unknown_syscall): New variable.
2869 (main): Trigger a vfork and an unknown syscall.
2870 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2871 (unknown_syscall_number): Likewise.
2872 (check_call_to_syscall): Accept an optional syscall pattern.
2873 (check_return_from_syscall): Likewise.
2874 (check_continue): Likewise.
2875 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2876 (test_catch_syscall_skipping_return): New test toggling off 'catch
2877 syscall' to step over the syscall return, then toggling back on.
2878 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2879 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2880 (do_syscall_tests): Call test_catch_syscall_without_args and
2881 test_catch_syscall_mid_vfork.
2882 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2883 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2884
b32b93c6
AS
28852015-10-19 Andrew Stubbs <ams@codesourcery.com>
2886
2887 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2888 print g_vE): Add new pass patterns.
2889 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2890 print various symbol names for vptr fields.
2891
9d622bda
AB
28922015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2893
2894 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2895 results.
2896
0fd8ac1c
YQ
28972015-10-12 Yao Qi <yao.qi@linaro.org>
2898
2899 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2900
34240514
YQ
29012015-10-12 Yao Qi <yao.qi@linaro.org>
2902
2903 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2904 is aarch64*-*-linux*.
2905
8240f442
YQ
29062015-10-12 Yao Qi <yao.qi@linaro.org>
2907
2908 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2909 (can_relocate_bcond_true): ... it.
2910 (can_relocate_bcond_false): New function.
2911 (foo): Likewise.
2912 (can_relocate_bl): Likewise.
2913 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2914 can_relocate_bl.
2915
2520f728
PMR
29162015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2917
2918 * gdb.base/nested-addr.c: New file.
2919 * gdb.base/nested-addr.exp: New testcase.
2920
abcef95a
MM
29212015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2922
2923 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2924 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2925 its output. Ignore the output of "record goto begin" and instead
2926 check that GDB is replaying.
2927
145e3ddb
PA
29282015-10-09 Pedro Alves <palves@redhat.com>
2929
2930 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2931 (top level): Use it in the run with no args test.
2932
d5d8c4e1
IB
29332015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2934
2935 * gdb.dlang/properties.exp: New file.
2936
06e635ef
SL
29372015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2938
2939 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2940 whether or not address 0x1000 is mapped on the target.
2941
e019fd1d
SM
29422015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2943
2944 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2945 build.
2946
77ba2a67
MM
29472015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2948
2949 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2950 instruction-history test.
2951
c60eb31f
DE
29522015-09-28 Doug Evans <dje@google.com>
2953
2954 * gdb.base/gcore.c (array_func): Add reference to static_array.
2955
9a3c8263
SM
29562015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2957
2958 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2959 source line.
2960
9720e656
SL
29612015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2962
2963 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2964 short or char as base type.
2965
938d3bf2
SL
29662015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2967
2968 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2969 to allow any size enum.
2970
e6c2c623
PMR
29712015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2972
2973 * gdb.ada/array_ptr_renaming.exp: New testcase.
2974 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2975 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2976
06da0f77
PL
29772015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2978
2979 * gdb.trace/ftrace-lock.c: New file.
2980 * gdb.trace/ftrace-lock.exp: New file.
2981
4f51c22a
PL
29822015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2983
2984 * gdb.arch/insn-reloc.c: New file.
2985 * gdb.arch/ftrace-insn-reloc.exp: New file.
2986
7041adf4
PL
29872015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2988
2989 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2990 instruction.
2991 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2992 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2993 * gdb.trace/range-stepping.c: Likewise.
2994 * gdb.trace/trace-break.c: Likewise.
2995 * gdb.trace/trace-mt.c (thread_function): Likewise.
2996 * gdb.trace/ftrace.c (marker): Likewise.
2997 * gdb.trace/trace-condition.c (marker): Likewise.
2998 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2999 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3000 is_aarch64_target.
3001
015d2e7e
DE
30022015-09-18 Doug Evans <xdje42@gmail.com>
3003
3004 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3005 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3006
26b188a2
SL
30072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3008
3009 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3010 the breakpoint.
3011
79dc332b
SL
30122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3013
3014 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3015 the pending breakpoint. Remove timeout override for "Run till
3016 MI pending breakpoint on pendfunc3 on thread 2" test.
3017
f57929f2
SL
30182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3019
3020 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3021 filename pattern.
3022
3f469b17
SL
30232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3024
3025 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3026 in breakpoint filename pattern.
3027
515b89b3
SL
30282015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3029
7800dbe4
SL
3030 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3031
30322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3033
515b89b3
SL
3034 * gdb.linespec/explicit.exp: Check for readline support for
3035 tab-completion tests. Fix obvious typo.
3036
d2939ba2
MM
30372015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3038
3039 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3040 and replay.
3041
cbb55fa7
MM
30422015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3043
3044 * gdb.btrace/non-stop.c: New.
3045 * gdb.btrace/non-stop.exp: New.
3046
43691ca1
PL
30472015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3048 Yao Qi <yao.qi@linaro.org>
3049
3050 * gdb.trace/trace-condition.c: New file.
3051 * gdb.trace/trace-condition.exp: New file.
3052
d78908cf
WW
30532015-09-16 Wei-cheng Wang <cole945@gmail.com>
3054
3055 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3056 for testing bytecode compilation.
3057
1ed415e2
PA
30582015-09-16 Pedro Alves <palves@redhat.com>
3059 Sandra Loosemore <sandra@codesourcery.com>
3060
3061 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3062 (SECONDS): Redefine.
3063 (main): Call pthread_kill and alarm early.
3064 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3065 support.
3066 (test): If the target can't hardware step and doesn't support
3067 displaced stepping, increase the timeout.
3068
d136eff5
PA
30692015-09-16 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3072 (enable_debug): New procedures.
3073 (test): Use them. Bail out if waiting for threads fails.
3074 (top level): Bail out if a test fails.
3075
991f019c
YQ
30762015-09-16 Yao Qi <yao.qi@linaro.org>
3077
3078 * gdb.asm/asm-source.exp: Set asm-arch for
3079 aarch64*-*-* target.
3080 * gdb.asm/aarch64.inc: New file.
3081
bfca584f
PMR
30822015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3083
3084 * gdb.ada/array_of_variable_length.exp: New testcase.
3085 * gdb.ada/array_of_variable_length/foo.adb: New file.
3086 * gdb.ada/array_of_variable_length/pck.adb: New file.
3087 * gdb.ada/array_of_variable_length/pck.ads: New file.
3088
b326e587
DE
30892015-09-15 Doug Evans <dje@google.com>
3090
3091 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3092 of function static local variable.
3093
5382cfab
PW
30942015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3095
3096 * gdb.threads/tls-so_extern.exp: New test file.
3097 * gdb.threads/tls-so_extern.c: New test file.
3098 * gdb.threads/tls-so_extern_main.c: New test file.
3099
141c5cc4
JK
31002015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3101
3102 * gdb.opt/solib-intra-step-lib.c: New file.
3103 * gdb.opt/solib-intra-step-main.c: New file.
3104 * gdb.opt/solib-intra-step.exp: New file.
3105
d15dcecd
PA
31062015-09-15 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3109 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3110
4c2f2a79
PA
31112015-09-14 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.base/hook-stop-continue.c: Delete.
3114 * gdb.base/hook-stop-continue.exp: Delete.
3115 * gdb.base/hook-stop-frame.c: Delete.
3116 * gdb.base/hook-stop-frame.exp: Delete.
3117 * gdb.base/hook-stop.c: New file.
3118 * gdb.base/hook-stop.exp: New file.
3119
919e6dbe
PMR
31202015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3121
3122 * gdb.ada/access_to_packed_array.exp: New testcase.
3123 * gdb.ada/access_to_packed_array/foo.adb: New file.
3124 * gdb.ada/access_to_packed_array/pack.adb: New file.
3125 * gdb.ada/access_to_packed_array/pack.ads: New file.
3126
157280a4
MM
31272015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3128
3129 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3130 buffer size test.
3131
2fd33e94
DB
31322015-09-11 Don Breazeal <donb@codesourcery.com>
3133
3134 * gdb.base/foll-exec.c: Add copyright header. Fix
3135 formatting issues.
3136 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3137 (do_exec_tests): Use clean_restart in place of zap_session,
3138 and for test initialization. Fix formatting issues. Use
3139 fail in place of perror.
3140 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3141 an expect statement to match an expression with output from
3142 the program under debug.
3143 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3144 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3145 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3146 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3147 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3148
e70b6e8e
DE
31492015-09-09 Doug Evans <dje@google.com>
3150
3151 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3152
7a551a51
DE
31532015-09-09 Doug Evans <dje@google.com>
3154
3155 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3156
4c666f84
DE
31572015-09-09 Doug Evans <dje@google.com>
3158
3159 * gdb.base/savedregs.exp: Fix typo.
3160
243a9253
PA
31612015-09-09 Pedro Alves <palves@redhat.com>
3162
3163 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3164
c0fa8fbd
SL
31652015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3166
3167 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3168 command actually switches threads. Give up on remaining
3169 tests if target fails to stop at breakpoint.
3170
cd7c1778
PMR
31712015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3172
3173 * gdb.ada/funcall_char.exp: New testcase.
3174 * gdb.ada/funcall_char/foo.adb: New file.
3175
dc5c8746
PMR
31762015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3177
3178 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3179 expected outputs. Add two testcases for completing ambiguous
3180 functions.
3181 * gdb.ada/complete/aux_pck.adb: New file.
3182 * gdb.ada/complete/aux_pck.ads: New file.
3183 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3184 Ambiguous_Func functions.
3185 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3186 * gdb.ada/complete/pck.adb: Likewise.
3187
4e83a1e7
UW
31882015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3189
3190 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3191 failures to run the test program under GDB.
3192
8ce74153
LM
31932015-08-26 Luis Machado <lgustavo@codesourcery.com>
3194
3195 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3196 to C.
3197
e9756d52
PP
31982015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3199
3200 * gdb.base/run-after-attach.exp: New test file.
3201 * gdb.base/run-after-attach.c: New test file.
3202
8d37573b
DB
32032015-08-26 Don Breazeal <donb@codesourcery.com>
3204
3205 * gdb.base/foll-exec-2.c: New test program.
3206 * gdb.base/foll-exec-2.exp: New test.
3207
63e43d3a
PMR
32082015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3209
3210 * gdb.base/nested-subp1.exp: New file.
3211 * gdb.base/nested-subp1.c: New file.
3212 * gdb.base/nested-subp2.exp: New file.
3213 * gdb.base/nested-subp2.c: New file.
3214 * gdb.base/nested-subp3.exp: New file.
3215 * gdb.base/nested-subp3.c: New file.
3216
3d40fbb5
PA
32172015-08-24 Pedro Alves <palves@redhat.com>
3218
3219 * gdb.server/connect-without-multi-process.c: New file.
3220 * gdb.server/connect-without-multi-process.exp: New file.
3221
4422ac93
LM
32222015-08-24 Luis Machado <lgustavo@codesourcery.com>
3223
3224 * gdb.opt/inline-markers.c: Make z int.
3225
91dddb86
LM
32262015-08-24 Luis Machado <lgustavo@codesourcery.com>
3227
3228 * gdb.opt/inline-markers.c: Make z volatile.
3229
a48847ee
LM
32302015-08-24 Luis Machado <lgustavo@codesourcery.com>
3231
3232 * gdb.opt/inline-bt.c: New volatile global z.
3233 * gdb.opt/inline-cmds.c: Likewise.
3234 * gdb.opt/inline-locals.c: Likewise.
3235 * gdb.opt/inline-markers.c: New extern global z.
3236 (marker): Use z.
3237 (inline_fn): Likewise.
3238
0ebbc52b
PA
32392015-08-24 Pedro Alves <palves@redhat.com>
3240
3241 * config/m32r-stub.exp: Remove file.
3242 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3243 * gdb.base/call-rt-st.exp: Likewise.
3244 * gdb.base/call-strs.exp: Likewise.
3245 * gdb.base/default.exp: Remove references to h8300-*-hms and
3246 *-*-udi*.
3247 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3248
77c365df
AA
32492015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3250
3251 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3252 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3253 and "return" use KFAIL when GDB can not read/write the vector
3254 return value.
3255
4313b8c0
GB
32562015-08-21 Gary Benson <gbenson@redhat.com>
3257
3258 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3259
0e433b32
PA
32602015-08-20 Pedro Alves <palves@redhat.com>
3261
3262 * gdb.server/solib-list.exp: No longer expect an interior stop in
3263 non-stop mode.
3264
221e1a37
PA
32652015-08-20 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.server/connect-stopped-target.c: New file.
3268 * gdb.server/connect-stopped-target.exp: New file.
3269
40e3ad0e
PA
32702015-08-20 Pedro Alves <palves@redhat.com>
3271
3272 * gdb.dwarf2/comp-unit-lang.exp: New file.
3273 * gdb.dwarf2/comp-unit-lang.c: New file.
3274
af39b327
PMR
32752015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3276
3277 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3278 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3279
7d45c7c3 32802015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3281
7d45c7c3
KB
3282 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3283 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3284
4d6cceb4
DE
32852015-08-18 Doug Evans <dje@google.com>
3286 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3287
3288 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3289 skip_python_tests. New arg prompt_regexp.
3290 (skip_python_tests): New function.
3291 * lib/mi-support.exp (mi_skip_python_tests): New function.
3292 * gdb.python/py-mi-objfile-gdb.py: New file.
3293 * gdb.python/py-mi-objfile.c: New file.
3294 * gdb.python/py-mi-objfile.exp: New file.
3295
ad89c2aa
KS
32962015-08-17 Keith Seitz <keiths@redhat.com>
3297
3298 * gdb.linespec/explicit.exp: Move strace test from here ...
3299 * gdb.trace/strace.exp: ... to here.
3300
e3ae3c43
PP
33012015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3302
3303 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3304 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3305
604b2636
DE
33062015-08-14 Doug Evans <xdje42@gmail.com>
3307
3308 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3309 inferior before selecting a new file.
3310
6ff0ba5f
DE
33112015-08-14 Doug Evans <xdje42@gmail.com>
3312
3313 * gdb.mi/mi-disassemble.exp: Update.
3314 * gdb.base/disasm-optim.S: New file.
3315 * gdb.base/disasm-optim.c: New file.
3316 * gdb.base/disasm-optim.h: New file.
3317 * gdb.base/disasm-optim.exp: New file.
3318
9ca98f92
KS
33192015-08-14 Keith Seitz <keiths@redhat.com>
3320
3321 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3322 "evaluated-by".
3323
52bbc560
JB
33242015-08-13 Joel Brobecker <brobecker@adacore.com>
3325
3326 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3327
5d8c3ed3
PMR
33282015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3329
3330 * gdb.ada/fun_renaming.exp: New testcase.
3331 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3332 * gdb.ada/fun_renaming/pack.adb: New file.
3333 * gdb.ada/fun_renaming/pack.ads: New file.
3334
ea8812bc
KS
33352015-08-12 Keith Seitz <keiths@redhat.com>
3336
3337 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3338 gdb_get_line_number.
3339
4dafcdeb
JB
33402015-08-12 Joel Brobecker <brobecker@adacore.com>
3341
3342 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3343 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3344 gdb.base/dso2dso.exp: New files.
3345
5ba32597
SDJ
33462015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3347 Pedro Alves <palves@redhat.com>
3348 Keith Seitz <keiths@redhat.com>
3349
3350 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3351 GDBFLAGS.
3352
b6dafabf
PP
33532015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3354
3355 * gdb.base/gdbhistsize-history.exp
3356 (test_histsize_history_setting): Use save_vars.
3357 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3358 Use save_vars.
3359 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3360 * gdb.base/readline.exp: Use save_vars.
3361
abe8e607
PP
33622015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3363
3364 * lib/gdb.exp (save_vars): New proc.
3365
629500fa
KS
33662015-08-11 Keith Seitz <keiths@redhat.com>
3367
3368 * gdb.base/help.exp: Update help_breakpoint_text.
3369
eb8c4e2e
KS
33702015-08-11 Keith Seitz <keiths@redhat.com>
3371
3372 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3373 (at toplevel): Call test_explicit_breakpoints.
3374 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3375 breakpoints.
3376 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3377 breakpoint conditions, "-cond".
3378
87f0e720
KS
33792015-08-11 Keith Seitz <keiths@redhat.com>
3380
3381 * gdb.linespec/3explicit.c: New file.
3382 * gdb.linespec/cpexplicit.cc: New file.
3383 * gdb.linespec/cpexplicit.exp: New file.
3384 * gdb.linespec/explicit.c: New file.
3385 * gdb.linespec/explicit.exp: New file.
3386 * gdb.linespec/explicit2.c: New file.
3387 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3388 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3389 before using in the matching pattern.
3390 Clarify that `prefix' is a regular expression.
3391
f00aae0f
KS
33922015-08-11 Keith Seitz <keiths@redhat.com>
3393
3394 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3395 test.
3396 Add tests for missing ",FMT" and ",".
3397
e27852be
DE
33982015-08-10 Doug Evans <dje@google.com>
3399 Keith Seitz <keiths@redhat.com>
3400
3401 PR gdb/17960
3402 * gdb.base/completion.exp: Add location completer tests.
3403
7f03bd92
PA
34042015-08-07 Pedro Alves <palves@redhat.com>
3405
3406 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3407 tests here.
3408 (top level): Run do_test with and without displaced stepping.
3409
3fc8eb30
PA
34102015-08-07 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/valgrind-disp-step.c: New file.
3413 * gdb.base/valgrind-disp-step.exp: New file.
3414
d4569d7b
PA
34152015-08-07 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3418 Delete function.
3419 (main): Add alarm. Run an infinite loop instead of calling
3420 wait_threads.
3421 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3422 comment.
3423 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3424 Delete function.
3425 (main): Add alarm. Run an infinite loop instead of calling
3426 wait_threads.
3427 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3428 comment.
3429
e1316e60
PA
34302015-08-07 Pedro Alves <palves@redhat.com>
3431
3432 * gdb.base/checkpoint-ns.exp: New file.
3433 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3434 standard_testfile.
3435
da8c46d2
MM
34362015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3437
3438 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3439 * gdb.btrace/instruction_history.exp: Update.
3440 * gdb.btrace/tsx.exp: New.
3441 * gdb.btrace/tsx.c: New.
3442
de1c2c52
PA
34432015-08-06 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3446 increase timeout.
3447 * gdb.reverse/until-precsave.exp: Bump timeouts.
3448
782e0bf4
PA
34492015-08-06 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3452
83e97ed0
PA
34532015-08-06 Pedro Alves <palves@redhat.com>
3454
3455 PR gdb/18749
3456 * gdb.threads/process-dies-while-handling-bp.c: New file.
3457 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3458
863d01bd
PA
34592015-08-06 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3462 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3463
0a39bb32
PA
34642015-08-05 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3467 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3468
ee2d2b10
SL
34692015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3470
3471 * gdb.base/bp-permanent.exp: Report test as unsupported if
3472 the target cannot stop at the permanent breakpoint.
3473
4e1bdb00
DE
34742015-08-03 Doug Evans <dje@google.com>
3475
3476 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3477 10000.
3478
3d338901
DE
34792015-08-03 Doug Evans <dje@google.com>
3480
3481 * Makefile.in (workers/%.worker, build-perf): New rule.
3482 (GDB_PERFTEST_MODE): New variable.
3483 (check-perf): Use it.
3484 (clean): Clean up gdb.perf parallel build subdirs.
3485 * lib/build-piece.exp: New file.
3486 * lib/gdb.exp (make_gdb_parallel_path): New function
3487 (standard_output_file, standard_temp_file): Call it.
3488 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3489 of $GDB_PARALLEL.
3490 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3491
af061d3e
DE
34922015-08-03 Doug Evans <dje@google.com>
3493
8e1afc81 3494 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3495 (LOG_FILE_NAME): New global.
3496 (TextReporter.__init__): Initialize self.txt_sum.
3497 (TextReporter.report): Add support for multiple data-points.
3498 Move report to perftest.sum, put raw data in perftest.log.
3499 (TextReporter.start): Open sum and log files.
3500 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3501 * gdb.perf/lib/perftest/testresult.py
3502 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3503
2c8c5d37
PA
35042015-07-31 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3507 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3508 kill_wait_spawned_process instead of explicit "kill -9".
3509 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3510 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3511 kill_wait_spawned_process.
3512 * gdb.base/attach-twice.exp: Likewise.
3513 * gdb.base/attach.exp: Likewise.
3514 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3515 gdb_test_multiple.
3516 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3517 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3518 kill_wait_spawned_process.
3519 * gdb.base/valgrind-infcall.exp: Likewise.
3520 * gdb.multi/multi-attach.exp: Likewise.
3521 * gdb.python/py-prompt.exp: Likewise.
3522 * gdb.python/py-sync-interp.exp: Likewise.
3523 * gdb.server/ext-attach.exp: Likewise.
3524 * gdb.threads/attach-into-signal.exp (corefunc): Use
3525 spawn_wait_for_attach, spawn_id_get_pid and
3526 kill_wait_spawned_process.
3527 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3528 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3529 spawn_id_get_pid and kill_wait_spawned_process.
3530 * gdb.threads/attach-stopped.exp (corefunc): Use
3531 spawn_wait_for_attach, spawn_id_get_pid and
3532 kill_wait_spawned_process.
3533 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3534 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3535 kill_wait_spawned_process instead of explicit "kill -9".
3536 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3537 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3538 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3539 processes. Don't map cygwin/windows pids here. Now returns a
3540 spawn id list.
3541
032a0fca
SL
35422015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3543
3544 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3545 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3546 correct patch.
3547
61a934ca
SL
35482015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3549
3550 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3551
4bc4d428
SL
35522015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3553
3554 Reapply:
3555 2014-05-21 Mark Wielaard <mjw@redhat.com>
3556
3557 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3558
998d452a
PA
35592015-07-30 Pedro Alves <palves@redhat.com>
3560
3561 * linux-low.c (handle_extended_wait): Set the child's last
3562 reported status to TARGET_WAITKIND_STOPPED.
3563
69dde7dc
PA
35642015-07-30 Pedro Alves <palves@redhat.com>
3565
3566 PR threads/18600
3567 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3568 only shows inferior 1.
3569
4dd63d48
PA
35702015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3571 Pedro Alves <palves@redhat.com>
3572
3573 PR threads/18600
3574 * gdb.threads/fork-plus-threads.c: New file.
3575 * gdb.threads/fork-plus-threads.exp: New file.
3576
d618e4c5
PP
35772015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3578
3579 * gdb.base/batch-preserve-term-settings.exp
3580 (test_terminal_settings_preserved_after_cli_exit): Use
3581 send_quit_command.
3582
1eef6428
PA
35832015-07-29 Pedro Alves <palves@redhat.com>
3584 Don Breazeal <donb@codesourcery.com>
3585
3586 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3587 output from both inferior_spawn_id and gdb_spawn_id.
3588
7da5b897
SDJ
35892015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3590
3591 * gdb.threads/attach-into-signal.exp (corefunc): Use
3592 with_test_prefix on nested loops, uniquefying the test messages.
3593
dac804df
SDJ
35942015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3595
3596 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3597 commit.
3598
06265e53
PP
35992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3600
3601 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3602 New proc.
3603 (test_terminal_settings_preserved_after_sigterm): New test.
3604
18206ca3
PP
36052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3606
3607 * gdb.base/batch-preserve-term-settings.exp
3608 (test_terminal_settings_preserved_after_cli_exit): New test.
3609
90074d11
PP
36102015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3611
3612 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3613 manipulation of saved_gdbflags.
3614 (test_terminal_settings_preserved): Remove global declaration of
3615 the unused variable pagination_prompt. Remove manipulation of
3616 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3617 GDBFLAGS.
3618
eb1a7902
PA
36192015-07-29 Pedro Alves <palves@redhat.com>
3620
3621 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3622
8b75dd3b
PA
36232015-07-29 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3626 at the top.
3627
dedad4e3
PA
36282015-07-29 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3631 (main): Call gdb_unbuffer_output.
3632 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3633 (main): Call gdb_unbuffer_output.
3634 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3635 (main): Call gdb_unbuffer_output.
3636 * gdb.base/call-strs.exp: Adjust to step over the
3637 gdb_unbuffer_output call.
3638 * gdb.base/catch-gdb-caused-signals.c: Include
3639 "../lib/unbuffer_output.c".
3640 (main): Call gdb_unbuffer_output.
3641 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3642 (main): Call gdb_unbuffer_output.
3643 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3644 (main): Call gdb_unbuffer_output.
3645 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3646 (main): Call gdb_unbuffer_output.
3647 * gdb.base/shlib-call.exp: Adjust to step over the
3648 gdb_unbuffer_output call.
3649 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3650 (main): Call gdb_unbuffer_output.
3651 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3652 (main): Call gdb_unbuffer_output.
3653 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3654 (main): Rename to ...
3655 (test): ... this.
3656 (main): Reimplement.
3657 * gdb.base/varargs.exp: Run to test instead of to main.
3658 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3659 (main): Call gdb_unbuffer_output.
3660
58789a91
PA
36612015-07-29 Pedro Alves <palves@redhat.com>
3662
3663 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3664 factore out from mi_continue_dprintf. For call-style dprintfs,
3665 expect dprintf output out of $inferior_spawn_id.
3666 (mi_continue_dprintf): Use mi_expect_dprintf.
3667 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3668 (main): Call gdb_unbuffer_output.
3669
e8376742
PA
36702015-07-29 Pedro Alves <palves@redhat.com>
3671
3672 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3673 (default_mi_gdb_start): Set inferior_spawn_id instead of
3674 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3675 gdb_spawn_id.
3676 (mi_gdb_test): Always expect inferior output from both
3677 $inferior_spawn_id and $gdb_spawn_id.
3678
08280010
PA
36792015-07-29 Pedro Alves <palves@redhat.com>
3680
3681 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3682 send_inferior and $inferior_spawn_id.
3683
4d30e432
PA
36842015-07-29 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.gdb/complaints.exp (test_initial_complaints)
3687 (test_serial_complaints, test_short_complaints): Use
3688 gdb_test_stdio.
3689 (test_empty_complaint): Handle $inferior_spawn_id !=
3690 $gdb_spawn_id.
3691
0d30a335
PA
36922015-07-29 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.base/varargs.exp: Use gdb_test_stdio.
3695
39413b29
PA
36962015-07-29 Pedro Alves <palves@redhat.com>
3697
3698 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3699
7cb000a9
PA
37002015-07-29 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3703
d7b8ac82
PA
37042015-07-29 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3707 parameter into two new parameters, "inf_result" and "gdb_result".
3708 Expect inferior output and gdb output from $inferior_spawn_id and
3709 $gdb_spawn_id, respectively. Adjust all callers.
3710
789c3a0c
PA
37112015-07-29 Pedro Alves <palves@redhat.com>
3712
3713 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3714 of gdb_test_sequence.
3715
77e760c3
PA
37162015-07-29 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3719 (saw_spurious_output): Expect inferior output from
3720 $inferior_spawn_id. Use gdb_test_stdio.
3721
8396d2cd
PA
37222015-07-29 Pedro Alves <palves@redhat.com>
3723
3724 * gdb.base/dprintf.exp: Use standard_testfile. Change
3725 prepare_for_testing call.
3726 (srcfile): Don't set.
3727 (restart): New procedure.
3728 (test_dprintf): New procecure, use to continue over dprintfs.
3729 (test_call, test_agent): New procedures, tests moved here.
3730 Restart gdb and recreate dprintfs. Adjust expected output.
3731
2051d61f
PA
37322015-07-29 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3735
452397af
PA
37362015-07-29 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3739
8aed9555
PA
37402015-07-29 Pedro Alves <palves@redhat.com>
3741
3742 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3743 gdb_test_stdio.
3744
188a61b4
PA
37452015-07-29 Pedro Alves <palves@redhat.com>
3746
3747 * lib/gdb.exp (gdb_test_stdio): New procedure.
3748
12264a45
PA
37492015-07-29 Pedro Alves <palves@redhat.com>
3750
3751 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3752
23ffc893
PA
37532015-07-29 Pedro Alves <palves@redhat.com>
3754
3755 * gdb.base/call-signal-resume.exp: Remove check for
3756 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3757 * gdb.base/unwindonsignal.exp: Likewise.
3758 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3759 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3760
65566918
PA
37612015-07-29 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.base/siginfo-addr.c (pass): New function.
3764 (handler): Call it iff si_addr is correct.
3765 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3766 Set a breakpoint at "pass" and continue to it.
3767
d60a9221
SDJ
37682015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3769
3770 * gdb.python/py-objfile.exp: Make some tests have unique names.
3771 * gdb.python/py-pp-registration.exp: Likewise.
3772
bde40b8f
PA
37732015-07-28 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3776
13e1dec8
SM
37772015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3778
3779 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3780
da33c9a7
SM
37812015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3782
3783 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3784
077836f7
PP
37852015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3786
3787 * gdb.base/gdb-sigterm-2.exp: New test.
3788
b8cc7b2e
DE
37892015-07-25 Doug Evans <xdje42@gmail.com>
3790
3791 Revert:
3792 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3793 (workers/%.worker, build-perf): New rule.
3794 (GDB_PERFTEST_MODE): New variable.
3795 (check-perf): Use it.
3796 (clean): Clean up gdb.perf parallel build subdirs.
3797 * lib/build-piece.exp: New file.
3798 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3799 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3800 name.
3801 (standard_temp_file): Ditto.
3802 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3803 of $GDB_PARALLEL.
3804
c8bd4544
DE
38052015-07-24 Doug Evans <dje@google.com>
3806
3807 * gdb.perf/lib/perftest/utils.py: New file.
3808 * gdb.perf/gm-hello.cc: New file.
3809 * gdb.perf/gm-pervasive-typedef.cc: New file.
3810 * gdb.perf/gm-pervasive-typedef.h: New file.
3811 * gdb.perf/gm-std.cc: New file.
3812 * gdb.perf/gm-std.h: New file.
3813 * gdb.perf/gm-use-cerr.cc: New file.
3814 * gdb.perf/gm-utils.h: New file.
3815 * gdb.perf/gmonster-null-lookup.py: New file.
3816 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3817 * gdb.perf/gmonster-print-cerr.py: New file.
3818 * gdb.perf/gmonster-ptype-string.py: New file.
3819 * gdb.perf/gmonster-runto-main.py: New file.
3820 * gdb.perf/gmonster-select-file.py: New file.
3821 * gdb.perf/gmonster1-null-lookup.exp: New file.
3822 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3823 * gdb.perf/gmonster1-print-cerr.exp: New file.
3824 * gdb.perf/gmonster1-ptype-string.exp: New file.
3825 * gdb.perf/gmonster1-runto-main.exp: New file.
3826 * gdb.perf/gmonster1-select-file.exp: New file.
3827 * gdb.perf/gmonster1.cc: New file.
3828 * gdb.perf/gmonster1.exp: New file.
3829 * gdb.perf/gmonster2-null-lookup.exp: New file.
3830 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3831 * gdb.perf/gmonster2-print-cerr.exp: New file.
3832 * gdb.perf/gmonster2-ptype-string.exp: New file.
3833 * gdb.perf/gmonster2-runto-main.exp: New file.
3834 * gdb.perf/gmonster2-select-file.exp: New file.
3835 * gdb.perf/gmonster2.cc: New file.
3836 * gdb.perf/gmonster2.exp: New file.
3837
6eab34f3
DE
38382015-07-24 Doug Evans <dje@google.com>
3839
3840 * gdb.perf/README: New file.
3841 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3842 * lib/gen-perf-test.exp: New file.
3843
63738bfd
DE
38442015-07-24 Doug Evans <dje@google.com>
3845
3846 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3847 (PerfTest::startup): New function.
3848 (PerfTest::run): Return result of calling body.
3849 (PerfTest::assemble): Rewrite.
3850 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3851 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3852 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3853 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3854 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3855
7b606f95
DE
38562015-07-24 Doug Evans <dje@google.com>
3857
3858 * lib/gdb.exp (clean_restart): Make executable optional.
3859
a97b16b8
DE
38602015-07-24 Doug Evans <dje@google.com>
3861
3862 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3863 compiler_info references.
3864 * gdb.cp/temargs.exp: Ditto.
3865 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3866 (get_compiler_info): Early exit if already computed. Set compiler_info
3867 to "unknown" if there was a problem.
3868 (test_compiler_info): Add function comment. Call get_compiler_info.
3869
35baa57f
DE
38702015-07-24 Doug Evans <dje@google.com>
3871
3872 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3873 (workers/%.worker, build-perf): New rule.
3874 (GDB_PERFTEST_MODE): New variable.
3875 (check-perf): Use it.
3876 (clean): Clean up gdb.perf parallel build subdirs.
3877 * lib/build-piece.exp: New file.
3878 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3879 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3880 name.
3881 (standard_temp_file): Ditto.
3882 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3883 of $GDB_PARALLEL.
3884
6ebea266
DE
38852015-07-24 Doug Evans <dje@google.com>
3886
3887 * lib/future.exp (gdb_default_target_compile): New option
3888 "early_flags".
3889 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3890 --as-needed.
3891
1e76a7e9
SDJ
38922015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3893
3894 * gdb.base/catch-syscall.exp: Call gdb_exit before
3895 gdb_skip_xml_test.
3896
5068630a
PA
38972015-07-24 Pedro Alves <palves@redhat.com>
3898
3899 * gdb.python/py-events.exp: Accept output between the stop event
3900 and the prompt.
3901 * gdb.python/py-evsignal.exp: Likewise.
3902 * gdb.python/py-evthreads.exp: Likewise.
3903
77598427
PA
39042015-07-24 Pedro Alves <palves@redhat.com>
3905
3906 PR gdb/18717
3907 * gdb.threads/non-ldr-exit.c: New file.
3908 * gdb.threads/non-ldr-exit.exp: New file.
3909
11e6c98f
YQ
39102015-07-24 Yao Qi <yao.qi@linaro.org>
3911
3912 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3913 restarting process.
3914
51aee833
YQ
39152015-07-24 Yao Qi <yao.qi@linaro.org>
3916
3917 * gdb.server/ext-restart.exp: New file.
3918
8cfe207c
YQ
39192015-07-24 Yao Qi <yao.qi@linaro.org>
3920
3921 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3922 argument options.
3923 * gdb.server/ext-wrapper.exp: New file.
3924
cc12ce38
DE
39252015-07-23 Doug Evans <dje@google.com>
3926
3927 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3928 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3929
d0d84780
PMR
39302015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3931
3932 * gdb.ada/var_arr_typedef.exp: New testcase.
3933 * gdb.ada/var_arr_typedef/pack.adb: New file.
3934 * gdb.ada/var_arr_typedef/pack.ads: New file.
3935 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3936
8b558f79
JB
39372015-07-20 Joel Brobecker <brobecker@adacore.com>
3938
3939 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3940
775a3298
JK
39412015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3942
3943 * gdb.arch/i386-biarch-core.exp: Replace istarget
3944 by "complete set gnutarget". Remove expectation for the "core-file"
3945 command.
3946
db1ff28b
JK
39472015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3948
3949 Revert the previous commit:
3950 Tests for validate symbol file using build-id.
3951
0a94970d
JK
39522015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3953
3954 Tests for validate symbol file using build-id.
3955 * gdb.base/solib-mismatch-lib.c: New file.
3956 * gdb.base/solib-mismatch-libmod.c: New file.
3957 * gdb.base/solib-mismatch.c: New file.
3958 * gdb.base/solib-mismatch.exp: New file.
3959
03346981
SL
39602015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3961
3962 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3963 nios2-*-linux*.
3964 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3965 * gdb.base/siginfo.exp: Likewise.
3966 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3967
42422cc7
PL
39682015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3969
3970 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3971 Move it to ...
3972 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3973 ... here.
3974 * gdb.trace/range-stepping.exp: Check that the target supports
3975 range stepping.
3976
cfa68bae
JK
39772015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3978
3979 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3980
8ffdba26
PA
39812015-07-14 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.base/killed-outside.exp: New file.
3984 * gdb.base/killed-outside.c: New file.
3985
218a5a11
JK
39862015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3989 (n at main): New.
3990 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3991
e03ed3c6
AA
39922015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3993
3994 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3995 infcall tests instead of setting up for KFAIL.
3996
485668e5
MM
39972015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3998
3999 * gdb.btrace/record_goto-step.exp: New.
4000
08464196
JK
40012015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4002
4003 PR compile/18484
4004 * gdb.compile/compile.c (struct struct_type): Add volatile to
4005 selffield's type.
4006 * gdb.compile/compile.exp
4007 (compile code struct_object.selffield = &struct_object): Skip further
4008 struct_object tests if this one xfails.
4009
bcf5c1d9
RC
40102015-07-08 Robert O'Callahan <robert@ocallahan.org>
4011
4012 PR exp/18617
4013 * gdb.trace/ax.exp: Add test.
4014
4931af25
YQ
40152015-07-07 Yao Qi <yao.qi@linaro.org>
4016
4017 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4018 instead of istarget "aarch64*-*-*".
4019 * gdb.arch/aarch64-fp.exp: Likewise.
4020 * gdb.base/float.exp: Likewise.
4021 * gdb.reverse/aarch64.exp: Likewise.
4022 * lib/gdb.exp (is_aarch64_target): New proc.
4023
9fcf688e
YQ
40242015-07-07 Yao Qi <yao.qi@linaro.org>
4025
4026 * lib/gdb.exp (is_aarch32_target): New proc.
4027 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4028 instead of "istarget "arm*-*-*"".
4029 * gdb.arch/arm-disp-step.exp: Likewise.
4030 * gdb.arch/thumb-bx-pc.exp: Likewise.
4031 * gdb.arch/thumb-prologue.exp: Likewise.
4032 * gdb.arch/thumb-singlestep.exp: Likewise.
4033 * gdb.base/disp-step-syscall.exp: Likewise.
4034 * gdb.base/float.exp: Likewise.
4035
fbd8d50d
YQ
40362015-07-07 Yao Qi <yao.qi@linaro.org>
4037
4038 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4039 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4040
71be1fdc
YQ
40412015-07-07 Yao Qi <yao.qi@linaro.org>
4042
4043 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4044 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4045 if it exists.
4046 * gdb.multi/multi-arch.exp: Likewise.
4047
3e221d36
SM
40482015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4049
4050 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4051 print.
4052
d441430b
YQ
40532015-07-07 Yao Qi <yao.qi@linaro.org>
4054
4055 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4056
06f810bd
MG
40572015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4058
4059 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4060 '[' and ']' characters.
4061
5e61e7c0
IB
40622015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4063
4064 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4065
28bf096c
PA
40662015-06-29 Pedro Alves <palves@redhat.com>
4067
4068 PR threads/18127
4069 * gdb.threads/hand-call-new-thread.c: New file.
4070 * gdb.threads/hand-call-new-thread.c: New file.
4071
ee93cd5e
KS
40722015-06-26 Keith Seitz <keiths@redhat.com>
4073 Doug Evans <dje@google.com>
4074
4075 PR 16253
4076 * gdb.cp/var-tag-2.cc: New file.
4077 * gdb.cp/var-tag-3.cc: New file.
4078 * gdb.cp/var-tag-4.cc: New file.
4079 * gdb.cp/var-tag.cc: New file.
4080 * gdb.cp/var-tag.exp: New file.
4081
fc637f04
PP
40822015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4083
4084 * gdb.base/history-duplicates.exp: New test.
4085
2e52ae68
PP
40862015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4087
4088 * gdb.base/completion.exp: Test the completion of the "focus"
4089 command.
4090
6e22494e
JK
40912015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4092
4093 * gdb.arch/amd64-prologue-skip.S: New file.
4094 * gdb.arch/amd64-prologue-skip.exp: New file.
4095
bf7b9cd9
SM
40962015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4097
4098 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4099 is_address_zero_readable check.
4100
201e8dfd
PB
41012015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4102
4103 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4104 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4105
5cd867b4
YQ
41062015-06-24 Yao Qi <yao.qi@linaro.org>
4107
4108 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4109 linux targets.
4110
4d7be007
YQ
41112015-06-24 Yao Qi <yao.qi@linaro.org>
4112
4113 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4114 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4115 * gdb.base/siginfo-thread.exp: Likewise.
4116
07fcd301
YQ
41172015-06-22 Yao Qi <yao.qi@linaro.org>
4118
4119 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4120
52042a00
YQ
41212015-06-22 Yao Qi <yao.qi@linaro.org>
4122
4123 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4124 aarch64*-*-*.
4125 (skip_hw_watchpoint_tests): Likewise.
4126
74bd41ce
PP
41272015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4128
4129 * gdb.base/gdbinit-history.exp: Test the interaction between
4130 setting GDBHISTSIZE and setting the history size via .gdbinit.
4131
bc460514
PP
41322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4133
4134 PR gdb/16999
4135 * gdb.base/gdbhistsize-history.exp: New test.
4136
b58c513b
PP
41372015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4138
4139 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4140 with GDBHISTSIZE.
4141 * gdb.base/readline.exp: Likewise.
4142
92046791
YQ
41432015-06-17 Yao Qi <yao.qi@linaro.org>
4144
4145 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4146 line.
4147
2093d2d3
PP
41482015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4149
4150 * gdb.base/gdbinit-history.exp: Add test case to check that
4151 an unlimited history file does not get truncated on exit.
4152
e6c693af
AA
41532015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4154
4155 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4156 (VECTOR): New macro. Use it...
4157 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4158 ...for these typedefs.
4159 (int8, char1, int1, double1): New typedefs.
4160 (struct just_int2, struct two_int2): New structures.
4161 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4162 (add_structvecs, add_singlevecs): New functions.
4163 (main): Call add_some_intvecs twice.
4164 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4165 the compile and exit upon failure. Try compiling for the "native"
4166 architecture. Test inferior function calls with vector arguments
4167 and vector return value handling with "finish" and "return".
4168
c74f7d1c
JT
41692015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4170
4171 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4172 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4173 PE file.
4174 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4175
98aa42ee
AT
41762015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4177
4178 PR breakpoints/16465
4179 * gdb.mi/mi-dprintf-pending.c: New file.
4180 * gdb.mi/mi-dprintf-pending.exp: New test.
4181 * gdb.mi/mi-dprintf-pendshr.c: New file.
4182
7d73c23c 41832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4184 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4185
4186 * gdb.arch/i386-mpx-map.c: New file.
4187 * gdb.arch/i386-mpx-map.exp: New File.
4188
41892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4190
4191 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4192 * gdb.arch/i386-mpx.exp: Indentation fixed.
4193
41942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4195
4196 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4197 function and improved indentation.
4198 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4199 gdb_test_multiple. Added additional tests to skip the test.
4200
42012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4202
4203 * gdb.arch/i386-avx512.c: Change path in include file.
4204 * gdb.arch/i386-avx512.exp: Change include dir path
4205 compilation flag.
4206 * gdb.arch/i386-mpx.c: Change path in include file.
4207 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4208 flag.
4209
d5eba19a
JK
42102015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4211
4212 * gdb.compile/compile-print.exp (compile print *vararray@3)
4213 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4214
7f361056
JK
42152015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4216
4217 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4218 (do not keep jit in memory): ... this.
4219 (expect 5): Change it to ...
4220 (expect no 5): ... this.
4221
3b462ec2
SM
42222015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4223
4224 PR gdb/15564
4225 * gdb.mi/mi-detach.exp: New file.
4226
e0619de6
JK
42272015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4228
4229 PR symtab/18392
4230 * gdb.arch/amd64-tailcall-self.S: New file.
4231 * gdb.arch/amd64-tailcall-self.c: New file.
4232 * gdb.arch/amd64-tailcall-self.exp: New file.
4233
e970cb34
DB
42342015-05-28 Don Breazeal <donb@codesourcery.com>
4235
4236 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4237 tests for remote targets by checking is_target_gdbserver.
4238
b2e2f908
DE
42392015-05-27 Doug Evans <dje@google.com>
4240
4241 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4242 * gdb.dwarf2/opaque-type-lookup.c: New file.
4243 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4244
82c7be31
DE
42452015-05-26 Doug Evans <dje@google.com>
4246
4247 * gdb.cp/iostream.cc: New file.
4248 * gdb.cp/iostream.exp: New file.
4249
b4f54984
DE
42502015-05-26 Doug Evans <dje@google.com>
4251
4252 * gdb.dwarf2/dw2-op-call.exp: Update.
4253 * gdb.dwarf2/dw4-sig-types.exp: Update.
4254 * gdb.dwarf2/implptr.exp: Update.
4255 * gdb.mi/mi-cmd-param-changed.exp: Update.
4256
4ea6efe9
DE
42572015-05-26 Doug Evans <dje@google.com>
4258
4259 * gdb.python/py-lazy-string.c: New file.
4260 * gdb.python/py-lazy-string.exp: New file.
4261 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4262 (main): Update. Add estring3.
4263 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4264 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4265
f6bb7db3
YQ
42662015-05-26 Omair Javaid <omair.javaid@linaro.org>
4267 Yao Qi <yao.qi@linaro.org>
4268
4269 * gdb.reverse/aarch64.c: New.
4270 * gdb.reverse/aarch64.exp: New.
4271
a81bfbd0
OJ
42722015-05-26 Omair Javaid <omair.javaid@linaro.org>
4273
25d49b86
PA
4274 * lib/gdb.exp (supports_process_record): Return true for
4275 aarch64*-linux*.
a81bfbd0
OJ
4276 (supports_reverse): Likewise.
4277
158bf1b4
PP
42782015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4279
4280 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4281 Use with_test_prefix.
4282
a0145030
AB
42832015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4284
4285 * gdb.base/completion.exp: Add test for completion of layout
4286 names.
4287
ebe3b578
AB
42882015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4289
4290 * lib/gdb.exp (skip_tui_tests): New proc.
4291 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4292
84204ed7
PA
42932015-05-19 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4296 Save the whole env array instead of just HOME. Unset HISTSIZE in
4297 the environment while testing. Restore whole environment
4298 afterwards.
4299
37442ce1
DE
43002015-05-16 Doug Evans <xdje42@gmail.com>
4301
4302 * gdb.guile/scm-ports.c: New file.
4303 * gdb.guile/scm-ports.exp: Add memory port tests.
4304
36de76f9
JK
43052015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4306
4307 * gdb.compile/compile-print.c: New file.
4308 * gdb.compile/compile-print.exp: New file.
4309
3a9558c4
JK
43102015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4311
4312 * gdb.compile/compile-ops.exp: Cast param to void.
4313 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4314 (compile code struct_object.selffield = &struct_object): Add xfail.
4315
aa715135
JG
43162015-05-15 Joel Brobecker <brobecker@adacore.com>
4317
4318 * gdb.ada/arr_enum_with_gap: New testcase.
4319
931e5bc3
JG
43202015-05-15 Joel Brobecker <brobecker@adacore.com>
4321
4322 * gdb.ada/byte_packed_arr: New testcase.
4323
9cd4d857
JB
43242015-05-15 Joel Brobecker <brobecker@adacore.com>
4325
4326 * gdb.ada/pckd_neg: New testcase.
4327
ebfd00d2
PP
43282015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4329
4330 PR gdb/17820
4331 * gdb.base/gdbinit-history.exp: New test.
4332 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4333 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4334
4c082a81
SC
43352015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4336
4337 * gdb.python/py-xmethods.cc: Enhance test case.
4338 * gdb.python/py-xmethods.exp: New tests.
4339 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4340 function.
4341 (B_indexoper): Likewise.
4342 (global_dm_list) : Add new xmethod worker functions.
4343
f7797074
SDJ
43442015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4345
4346 * gdb.base/coredump-filter.exp: Correctly unset
4347 "coredump_var_addr" array.
4348
a4674e4e
PA
43492015-05-08 Pedro Alves <palves@redhat.com>
4350
4351 * gdb.server/non-existing-program.exp: Unset spawn_id.
4352
df2eb078
SC
43532015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4354
4355 PR python/18291
4356 * gdb.python/py-xmethods.exp: Add tests.
4357
422349a3
YQ
43582015-05-08 Yao Qi <yao.qi@linaro.org>
4359
4360 PR gdb/18208
4361 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4362 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4363 function set_coredump_filter, and remove remote_exec call.
4364 Remove argument ipid. Callers update.
4365 (top level): Don't get inferior's PID.
4366
63fc80ce
AA
43672015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4368
4369 * gdb.base/watch_thread_num.exp: Skip test on targets without
4370 access watchpoints.
4371
80ad801e
PA
43722015-05-06 Pedro Alves <palves@redhat.com>
4373
4374 PR server/18081
4375 * gdb.server/non-existing-program.exp: New file.
4376
0fa7fe50
JB
43772015-05-05 Joel Brobecker <brobecker@adacore.com>
4378
4379 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4380
3ea89b92
PMR
43812015-05-05 Joel Brobecker <brobecker@adacore.com>
4382
4383 * gdb.ada/out_of_line_in_inlined: New testcase.
4384
87b8eff0
JB
43852015-05-05 Joel Brobecker <brobecker@adacore.com>
4386
4387 * gdb.ada/var_rec_arr: New testcase.
4388
5fccc635
YQ
43892015-04-30 Yao Qi <yao.qi@linaro.org>
4390
4391 * gdb.base/break-idempotent.exp: If
4392 skip_hw_watchpoint_multi_tests returns true, skip the tests
4393 on "rwatch" and "awatch".
4394
42d38f42
YQ
43952015-04-30 Yao Qi <yao.qi@linaro.org>
4396
4397 * gdb.base/relativedebug.exp: Invoke gdb command
4398 "info sharedlibrary", and if libc.so doesn't have debug info,
4399 skip the test.
4400
2ce1cdbf
DE
44012015-04-29 Doug Evans <dje@google.com>
4402
4403 * gdb.python/py-xmethods.exp: Add ptype tests.
4404 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4405 get_result_type method.
4406
f24a38c5
LM
44072015-04-29 Luis Machado <lgustavo@codesourcery.com>
4408
4409 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4410 the target does not support hardware watchpoints.
4411
ecbf2b3c
LM
44122015-04-29 Luis Machado <lgustavo@codesourcery.com>
4413
4414 * gdb.base/break-always.exp: Abort testing if writing to memory
4415 causes an error.
4416
34f5f757
DE
44172015-04-28 Doug Evans <dje@google.com>
4418
4419 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4420 * gdb.python/py-pp-registration.exp: ... here. New file.
4421 * gdb.python/py-pp-registration.c: New file.
4422 * gdb.python/py-pp-registration.py: New file.
4423
69b4374a
DE
44242015-04-28 Doug Evans <dje@google.com>
4425
4426 * gdb.python/py-bad-printers.c: New file.
4427 * gdb.python/py-bad-printers.py: New file.
4428 * gdb.python/py-bad-printers.exp: New file.
4429
59fb7612
SS
44302015-04-28 Sasha Smundak <asmundak@google.com>
4431
4432 * gdb.python/py-type.exp: New test.
4433
2631b16a
AW
44342015-04-28 Andy Wingo <wingo@igalia.com>
4435
4436 * gdb.python/py-parameter.exp:
4437 * gdb.guile/scm-parameter.exp: Escape the path that we are
4438 matching against, as it might contain characters that are special
4439 to regular expressions.
4440
460efde1
JB
44412015-04-27 Joel Brobecker <brobecker@adacore.com>
4442
4443 * gdb.ada/rec_comp: New testcase.
4444
2d369d8e
SDJ
44452015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4446
4447 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4448 before using it.
4449
cf75d6c3
AB
44502015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4451
4452 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4453 new tests for verilog output.
4454
8dbe7ca5
YQ
44552015-04-24 Yao Qi <yao.qi@linaro.org>
4456
4457 * boards/remote-gdbserver-on-localhost.exp: New file.
4458
4ef9fb2f
PA
44592015-04-23 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4462 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4463 "end of file", remove $inferior_spawn_id from the indirect list.
4464
0a803169
PA
44652015-04-23 Pedro Alves <palves@redhat.com>
4466
4467 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4468
749ef8f8
PA
44692015-04-23 Pedro Alves <palves@redhat.com>
4470
4471 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4472 on $any_spawn_id instead of only on $gdb_spawn_id.
4473
8aae4344
PM
44742015-04-21 Pierre Muller <muller@sourceware.org>
4475
4476 PR pascal/17815
4477 * lib/pascal.exp (gpc_compile): Add new option "class".
4478 (fpc_compile): Likewise.
4479 * gdb.pascal/case-insensitive-symbols.pas: New file.
4480 * gdb.pascal/case-insensitive-symbols.exp: New file.
4481
1586c8fb
GB
44822015-04-20 Gary Benson <gbenson@redhat.com>
4483
4484 * gdb.base/attach.exp: Fix three extended remote failures.
4485
1b6e6f5c
GB
44862015-04-17 Gary Benson <gbenson@redhat.com>
4487
4488 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4489 the main executable over the remote protocol.
4490
e797481d
PA
44912015-04-16 Pedro Alves <palves@redhat.com>
4492
4493 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4494 a new gdbserver if gdbserver_reconnect_p is set.
4495
1ca99c42
PA
44962015-04-16 Pedro Alves <palves@redhat.com>
4497
4498 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4499 is set, don't exit gdbserver.
4500
af9fd6f8
AA
45012015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4502
4503 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4504 appropriate .insn, such that an older assembler can be used.
4505 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4506 the z/Architecture instruction set on 31-bit targets as well.
4507
04ff1e61
AA
45082015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4509
4510 * gdb.go/handcall.exp: Remove all logic related to the first
4511 breakpoint and rely on go_runto_main instead.
4512 * gdb.go/strings.exp: Likewise.
4513 * gdb.go/unsafe.exp: Likewise.
4514 * gdb.go/hello.exp: Likewise. Also rename the remaining
4515 breakpoint marker to "breakpoint 1".
4516 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4517 * gdb.go/strings.go: Likewise.
4518 * gdb.go/unsafe.go: Likewise.
4519 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4520 "set breakpoint 2 here" and rename the remaining breakpoint marker
4521 to "breakpoint 1".
4522
40d2f8d6
SM
45232015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4524
4525 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4526 if itertools.imap is not present.
4527 * gdb.python/py-objfile.exp: Add parentheses.
4528 * gdb.python/py-type.exp: Same.
4529 * gdb.python/py-unwind-maint.py: Same.
4530
8cbc97c6
YQ
45312015-04-15 Yao Qi <yao.qi@linaro.org>
4532
4533 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4534 of ":$ptr_size" and set its form explicitly.
4535
45fd756c
YQ
45362015-04-15 Pedro Alves <palves@redhat.com>
4537 Yao Qi <yao.qi@linaro.org>
4538
4539 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4540 timeout by factor of 4.
4541 (test_regular_watch): Likewise.
4542 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4543 * gdb.reverse/sigall-reverse.exp: Likewise.
4544 * gdb.reverse/until-precsave.exp: Likewise.
4545 * lib/gdb.exp (with_timeout_factor): New proc.
4546 (gdb_expect): Move some code to ...
4547 (get_largest_timeout): ... here. New procedure.
4548
9e811bc3
LM
45492015-04-14 Luis Machado <lgustavo@codesourcery.com>
4550
4551 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4552
0ff6fcb2
LM
45532015-04-13 Luis Machado <lgustavo@codesourcery.com>
4554
4555 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4556 to write to the .text section.
4557
7578d5f7
LM
45582015-04-13 Luis Machado <lgustavo@codesourcery.com>
4559
4560 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4561 Handle the case of targets that do not provide PID information.
4562
2efe15c4
YQ
45632015-04-13 Yao Qi <yao.qi@linaro.org>
4564
4565 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4566 and use expect instead of gdb_expect.
4567
8cd8f2f8
SDJ
45682015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4569
4570 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4571 "coredump_var_addr" to avoid naming conflict with other testcases.
4572
9ee41772
PA
45732015-04-10 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4576 gdb_test_sequence and gdb_assert.
4577
07473109
PA
45782015-04-10 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4581 test messages that don't include the breakpoint address.
4582
de3db44c
YQ
45832015-04-10 Yao Qi <yao.qi@linaro.org>
4584
4585 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4586 false for some offset and width combinations which aren't
4587 supported by linux kernel.
4588
c79d856c
PA
45892015-04-10 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4592 procedure, factored out from ...
4593 (top level): ... here. Add "set displaced-stepping" testing axis.
4594 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4595 parameter "displaced". Use it.
4596 (top level): Use foreach and add "set displaced-stepping" testing
4597 axis.
4598
ebc90b50
PA
45992015-04-10 Pedro Alves <palves@redhat.com>
4600
4601 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4602 Remove comment.
4603 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4604 both the address of the instruction that triggers the watchpoint
4605 and the address of the instruction immediately after, and use
4606 those addresses for the test. Fix comment.
4607
8f572e5c
PA
46082015-04-10 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/sigstep.exp (breakpoint_to_handler)
4611 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4612 Test "backtrace" in handler.
4613 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4614 (top level): Add new "displaced" test axis to
4615 breakpoint_to_handler, breakpoint_to_handler_entry and
4616 breakpoint_over_handler.
4617
8d707a12
PA
46182015-04-10 Pedro Alves <palves@redhat.com>
4619
4620 PR gdb/18216
4621 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4622
ef713951
YQ
46232015-04-10 Yao Qi <yao.qi@linaro.org>
4624
4625 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4626 (test_add_rn_pc): New function.
4627 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4628 (top level): Invoke test_add_rn_pc.
4629
906d60cf
PA
46302015-04-10 Pedro Alves <palves@redhat.com>
4631
4632 PR gdb/13858
4633 * gdb.base/step-over-no-symbols.exp: New file.
4634
f2983cc3
AW
46352015-04-09 Andy Wingo <wingo@igalia.com>
4636
4637 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4638 after the Python tests.
4639
6d62641c
SDJ
46402015-04-08 Keith Seitz <keiths@redhat.com>
4641
4642 PR python/16699
4643 * gdb.python/py-completion.exp: New tests for completion.
4644 * gdb.python/py-completion.py (CompleteLimit1): New class.
4645 (CompleteLimit2): Likewise.
4646 (CompleteLimit3): Likewise.
4647 (CompleteLimit4): Likewise.
4648 (CompleteLimit5): Likewise.
4649 (CompleteLimit6): Likewise.
4650 (CompleteLimit7): Likewise.
4651
f3770638
PA
46522015-04-08 Pedro Alves <palves@redhat.com>
4653
4654 PR gdb/18214
4655 PR gdb/18216
4656 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4657 function.
4658 (main): Install it as SIGUSR1 handler.
4659 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4660 parameter. Always use "setup" as prefix. Toggle "set
4661 displaced-stepping" off/on depending on global. Don't switch to
4662 thread 1 here.
4663 (top level): Add displaced stepping "off/on" test axis. Update
4664 "setup" calls. Wrap each subtest with with_test_prefix. Test
4665 continuing with a queued signal in each thread.
4666
4496bed7
PA
46672015-04-08 Pedro Alves <palves@redhat.com>
4668
4669 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4670 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4671 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4672 Return early if running to main fails.
4673 * gdb.trace/while-stepping.exp: Likewise.
4674
b97fde92
PA
46752015-04-07 Pedro Alves <palves@redhat.com>
4676
4677 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4678 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4679 interact with inferior program.
4680
f71c18e7
PA
46812015-04-07 Pedro Alves <palves@redhat.com>
4682
4683 * lib/gdb.exp (inferior_spawn_id): New global.
4684 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4685 spawn id after processing the user code.
4686 (default_gdb_start): Set inferior_spawn_id.
4687 (send_inferior): New procedure.
4688 * lib/gdbserver-support.exp (gdbserver_start): Set
4689 inferior_spawn_id.
4690 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4691
6423214f
PA
46922015-04-07 Pedro Alves <palves@redhat.com>
4693
4694 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4695 * lib/gdbserver-support.exp (gdbserver_start): Make
4696 $server_spawn_id global.
4697 (gdbserver_start): Don't wait for gdbserver's spawn id with
4698 expect_background.
4699 (close_gdbserver): New procedure.
4700 (gdb_exit): Rename the default version and reimplement.
4701
71c0ee8c
PA
47022015-04-07 Pedro Alves <palves@redhat.com>
4703
72f4393d 4704 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4705 append the substituted item, not the original item.
4706
203bc29b
PA
47072015-04-07 Pedro Alves <palves@redhat.com>
4708
4709 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4710 gdb_expect.
4711
508a3ddf
PA
47122015-04-07 Pedro Alves <palves@redhat.com>
4713
4714 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4715 output appearing once only.
4716
9f6dbe2b
PA
47172015-04-07 Pedro Alves <palves@redhat.com>
4718
4719 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4720 that doesn't expect anything. Return early if running to main
4721 fails.
4722
337532fa
YQ
47232015-04-07 Yao Qi <yao.qi@linaro.org>
4724
4725 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4726 (child_function): Call alarm.
4727 (main): Move call to alarm into the loop.
4728 * gdb.threads/non-stop-fair-events.exp: Build program with
4729 -DTIMEOUT=$timeout.
4730
01b622d4
DE
47312015-04-06 Doug Evans <xdje42@gmail.com>
4732
4733 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4734 Fix dest parameter to board_info.
4735 (fpc_compile): Ditto.
4736 (gdb_compile_pascal): Rename dest arg to destfile.
4737
961f4160
PMR
47382015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4739
4740 * gdb.ada/funcall_ref.exp: New file.
4741 * gdb.ada/funcall_ref/foo.adb: New file.
4742
cafda597
YQ
47432015-04-02 Yao Qi <yao.qi@linaro.org>
4744
4745 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4746 is remote.
4747
fed040c6
GB
47482015-04-02 Gary Benson <gbenson@redhat.com>
4749
4750 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4751
d11916aa
SS
47522015-04-01 Sasha Smundak <asmundak@google.com>
4753
4754 * gdb.python/py-unwind-maint.c: New file.
4755 * gdb.python/py-unwind-maint.exp: New test.
4756 * gdb.python/py-unwind-maint.py: New file.
4757 * gdb.python/py-unwind.c: New file.
4758 * gdb.python/py-unwind.exp: New test.
4759 * gdb.python/py-unwind.py: New test.
4760
a1471180
PA
47612015-04-01 Pedro Alves <palves@redhat.com>
4762
4763 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4764 to fail instead of non-existent $test.
4765
0bbeccb1
PA
47662015-04-01 Pedro Alves <palves@redhat.com>
4767
4768 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4769 GDBFLAGS if not empty.
4770
3c724c8c
PMR
47712015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4772
4773 * gdb.ada/complete.exp: Remove "multi_line".
4774 * gdb.ada/info_exc.exp: Remove "multi_line".
4775 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4776 * gdb.ada/ptype_field.exp: Remove "multi_line".
4777 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4778 * gdb.ada/tagged.exp: Remove "multi_line".
4779 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4780 [multi_line ...]
4781 * gdb.btrace/delta.exp: Likewise.
4782 * gdb.btrace/exception.exp: Likewise.
4783 * gdb.btrace/function_call_history.exp: Likewise.
4784 * gdb.btrace/instruction_history.exp: Likewise.
4785 * gdb.btrace/nohist.exp: Likewise.
4786 * gdb.btrace/record_goto.exp: Likewise.
4787 * gdb.btrace/segv.exp: Likewise.
4788 * gdb.btrace/stepi.exp: Likewise.
4789 * gdb.btrace/tailcall.exp: Likewise.
4790 * gdb.btrace/unknown_functions.exp: Likewise.
4791 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4792 * lib/gdb.exp: Add the "multi_line" helper.
4793
4eec2deb
PA
47942015-04-01 Pedro Alves <palves@redhat.com>
4795
4796 * gdb.threads/tid-reuse.c: New file.
4797 * gdb.threads/tid-reuse.exp: New file.
4798
df8411da
SDJ
47992015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4800
4801 PR corefiles/16092
4802 * gdb.base/coredump-filter.c: New file.
4803 * gdb.base/coredump-filter.exp: Likewise.
4804
6ef37366
PM
48052015-03-27 Petr Machata <pmachata@redhat.com>
4806
4807 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4808 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4809 (Dwarf::assemble): Initialize them.
4810 (Dwarf::lines): New function.
4811
7ec911b0
JT
48122015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4813
4814 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4815 SYMBOL_PREFIX for x86_64-*-cygwin.
4816
ff908ebf
AW
48172015-03-26 Andy Wingo <wingo@igalia.com>
4818
4819 PR symtab/18148
4820 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4821 const_value but not a location.
4822 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4823 location defined in non-main CUs are visible.
4824
6d5f0679
YQ
48252015-03-26 Yao Qi <yao.qi@linaro.org>
4826
4827 PR testsuite/18139
4828 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4829 Add a line number entry for the same line.
4830 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4831 Add a line number entry for the same line.
4832
2898689b
YQ
48332015-03-26 Yao Qi <yao.qi@linaro.org>
4834
4835 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4836 .int 0.
4837 (func): Likewise. Add .Lfunc_1 label.
4838 Use .Lfunc_1 label.
4839 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4840 .int 0.
4841 (func): Likewise.
4842 Use .Lfunc_1 label.
4843
85180498
YQ
48442015-03-26 Yao Qi <yao.qi@linaro.org>
4845
4846 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4847 Call gdb_compile instead to compile each .s files without debug
4848 information.
4849
8aa08a8d
YQ
48502015-03-26 Yao Qi <yao.qi@linaro.org>
4851
4852 * gdb.base/savedregs.exp (process_saved_regs): Make
4853 "Saved registers:" optional in the pattern.
4854
66849923
MM
48552015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4856
4857 * gdb.btrace/next.exp: Merged into step.exp.
4858 * gdb.btrace/finish.exp: Merged into step.exp.
4859 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4860 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4861 "record goto" and checking the exact replay position.
4862 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4863 check for "Recording format" in "info record" output.
4864 * gdb.btrace/record_goto.exp: Choose test file based on target.
4865 * gdb.btrace/x86-record_goto.S: Renamed into ...
4866 * gdb.btrace/x86_64-record_goto.S: ... this.
4867 * gdb.btrace/i686-record_goto.S: New.
4868 * gdb.btrace/x86-tailcall.S: Renamed into ...
4869 * gdb.btrace/x86_64-tailcall.S: ... this.
4870 * gdb.btrace/i686-tailcall.S: New.
4871 * gdb.btrace/x86-tailcall.c: Renamed into ...
4872 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4873 separate statements. Update test.
4874 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4875 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4876 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4877 * gdb.btrace/tailcall.exp: Choose test file based on target.
4878 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4879
11cc1b74
MM
48802015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4881
4882 * gdb.btrace/exception.exp: Increase BTS buffer size.
4883
a25d8bf9
PA
48842015-03-24 Pedro Alves <palves@redhat.com>
4885
4886 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4887
856e7dd6
PA
48882015-03-24 Pedro Alves <palves@redhat.com>
4889
4890 * gdb.threads/schedlock.exp (test_step): No longer expect that
4891 "set scheduler-locking step" with "next" over a function call runs
4892 threads unlocked.
4893
ad235a41
AT
48942015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4895
4896 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4897
15630549
AT
48982015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4899
4900 PR breakpoints/16466
4901 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4902 * gdb.mi/mi-pending.c (thread_func): New function.
4903 (int main): Add threading support required.
4904 * gdb.mi/mi-pending.exp: Add tests for this issue.
4905 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4906 (pendfunc2): Remove stdio dependency.
4907 * gdb.mi/mi-pendshr2.c: New file.
4908
693dca06
KS
49092015-03-23 Keith Seitz <keiths@redhat.com>
4910
4911 * gdb.linespec/keywords.c: New file.
4912 * gdb.linespec/keywords.exp: New file.
4913
7e993ebf
KS
49142015-03-23 Keith Seitz <keiths@redhat.com>
4915
4916 PR gdb/18021
4917 * gdb.dwarf2/staticvirtual.exp: New test.
4918
bc23328c
JK
49192015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4920
4921 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4922 * README: Remove HP-UX and gdb.hp.
4923 (configuration):
4924 * configure: Regenerate.
4925 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4926 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4927 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4928 gdb.hp/gdb.defects/Makefile.
4929 * gdb.hp/Makefile.in: File deleted.
4930 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4931 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4932 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4933 * gdb.hp/gdb.aCC/run.c: File deleted.
4934 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4935 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4936 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4937 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4938 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4939 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4940 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4941 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4942 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4943 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4944 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4945 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4946 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4947 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4948 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4949 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4950 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4951 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4952 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4953 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4954 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4955 * gdb.hp/gdb.compat/average.c: File deleted.
4956 * gdb.hp/gdb.compat/sum.c: File deleted.
4957 * gdb.hp/gdb.compat/xdb.c: File deleted.
4958 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4959 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4960 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4961 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4962 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4963 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4964 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4965 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4966 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4967 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4968 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4969 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4970 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4971 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4972 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4973 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4974 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4975 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4976 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4977 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4978 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4979 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4980 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4981 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4982 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4983 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4984 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4985 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4986 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4987 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4988 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4989 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4990 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4991 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4992 * gdb.hp/tools/odump: File deleted.
4993
8bf3b159
PA
49942015-03-19 Pedro Alves <palves@redhat.com>
4995
4996 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4997 (saw_thread_3): New globals.
4998 (top level): Increment them when an event for the corresponding
4999 thread is seen.
5000 (no thread starvation): New test.
5001
eb54c8bf
PA
50022015-03-19 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.threads/continue-pending-status.c: New file.
5005 * gdb.threads/continue-pending-status.exp: New file.
5006
32d2e5d6
PA
50072015-03-18 Pedro Alves <palves@redhat.com>
5008
5009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5010 Use gdb_is_target_remote instead of is_remote. Use
5011 gdb_test_multiple instead of gdb_expect. Exit early if
5012 gdb_test_multiple hits its internal matches. Tighten stepi tests
5013 expected output. Fail on exit with any signal, instead of just
5014 SIGILL.
5015
f68f11b7
YQ
50162015-03-18 Yao Qi <yao.qi@linaro.org>
5017
5018 PR tdep/18107
5019 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5020 variable.
5021 * gdb.base/catch-syscall.exp: Don't skip it on
5022 aarch64*-*-linux* target. Remove elements in all_syscalls.
5023 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5024 target.
5025 (setup_all_syscalls): New proc.
5026
ca5fd19b
YQ
50272015-03-16 Yao Qi <yao.qi@linaro.org>
5028
5029 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5030 (top level): Skip tests if valid_addr_p returns false for
5031 $cmd1 or $cmd2.
5032
85642ba0
AW
50332015-03-11 Andy Wingo <wingo@igalia.com>
5034
5035 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5036
e03f9645
YQ
50372015-03-11 Yao Qi <yao.qi@linaro.org>
5038
5039 * gdb.base/catch-syscall.exp: Fix typo in comments.
5040
5d0962b2
YQ
50412015-03-11 Yao Qi <yao.qi@linaro.org>
5042
5043 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5044
b2df3cef
PA
50452015-03-09 Pedro Alves <palves@redhat.com>
5046
5047 * dg-extract-results.py: Delete.
5048
ef878e53
PA
50492015-03-09 Pedro Alves <palves@redhat.com>
5050
5051 Merge dg-extract-results.sh from GCC upstream (r218843).
5052
5053 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5054 * dg-extract-results.sh: Use --text with grep to avoid issues with
5055 binary files. Fall back to cat -v, if that doesn't work.
5056
9494d219
PA
50572015-03-05 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5060
a8d9763a
SM
50612015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5062
5063 * lib/mi-support.exp (mi_expect_interrupt): Accept
5064 alternative event for when in all-stop mode.
5065
be9957b8
PA
50662015-03-04 Pedro Alves <palves@redhat.com>
5067
5068 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5069
d57be0f4 50702015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5071
5072 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5073
c214c7cf
AA
50742015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5075
5076 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5077 regexps for GDB's current line display, accept a hex address
5078 preceding the line number.
5079
6d74a497
AA
50802015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5081
5082 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5083 the 'arch1' variable for "s390*-linux*" targets.
5084
511aee7c
PA
50852015-03-04 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5088 (main): Pass missing retval argument to pthread_join call.
5089
95e50b27
PA
50902015-03-02 Pedro Alves <palves@redhat.com>
5091
5092 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5093 (top level): Call do_test with non-stop as well.
5094
28054d69
PA
50952015-03-02 Pedro Alves <palves@redhat.com>
5096
5097 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5098 -1.
5099
4fa5d7b4
AA
51002015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5101
5102 * gdb.arch/s390-vregs.exp: New test.
5103 * gdb.arch/s390-vregs.S: New file.
5104
97c18565
PA
51052015-02-27 Pedro Alves <palves@redhat.com>
5106
5107 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5108 call to catch_command_errors.
5109 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5110 catch_command_errors.
5111
a37bfa30
PA
51122015-02-27 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5115 "true" for boolean result.
5116 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5117 prototype of main.
5118
6f98576f
PA
51192015-02-27 Pedro Alves <palves@redhat.com>
5120
5121 * lib/unbuffer_output.c: New file.
5122 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5123 (main): Call gdb_unbuffer_output.
5124
eba5ab56
YQ
51252015-02-27 Yao Qi <yao.qi@linaro.org>
5126
5127 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5128 target.
5129
0def5aaa
DE
51302015-02-26 Doug Evans <dje@google.com>
5131
5132 * gdb.cp/class2.cc (Dbase, D): New classes.
5133 (main): New local delta.
5134 * gdb.cp/class2.exp: Test printing delta.
5135 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5136 (dynbar): New global.
5137 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5138
081a1c2c
JK
51392015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * gdb.compile/compile-ifunc.c: New file.
5142 * gdb.compile/compile-ifunc.exp: New file.
5143
2f41223f
AT
51442015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5145
5146 * gdb.base/structs.exp: Check for correct struct on finish.
5147
03eddd80
YQ
51482015-02-26 Yao Qi <yao.qi@linaro.org>
5149
5150 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5151 is zero.
5152
80c57053
JK
51532015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 * gdb.arch/cordic.ko.bz2: New file.
5156 * gdb.arch/cordic.ko.debug.bz2: New file.
5157 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5158
21613c12
YQ
51592015-02-25 Yao Qi <yao.qi@linaro.org>
5160
5161 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5162 aarch64*-*-* target.
5163
d8b901ed
PA
51642015-02-23 Pedro Alves <palves@redhat.com>
5165
5166 * lib/gdb.exp (delete_breakpoints): Rewrite using
5167 gdb_test_multiple.
5168
e5b85ead
PA
51692015-02-23 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.base/info-os.c: Include stdlib.h.
5172
85c3a371
DE
51732015-02-22 Doug Evans <xdje42@gmail.com>
5174
5175 PR symtab/17855
5176 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5177 is read after symbols have been re-read.
5178 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5179 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5180
96553a0c
DE
51812015-02-21 Doug Evans <dje@google.com>
5182
5183 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5184
97a0c697
JK
51852015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5186
5187 PR corefiles/17808
5188 * gdb.arch/i386-biarch-core.core.bz2: New file.
5189 * gdb.arch/i386-biarch-core.exp: New file.
5190
a47cd6e9
PA
51912015-02-21 Pedro Alves <palves@redhat.com>
5192
5193 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5194 runto_main fails.
5195
c5facdc4
PA
51962015-02-20 Pedro Alves <palves@redhat.com>
5197
5198 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5199 info probes.
5200
2db9a427
PA
52012015-02-20 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5204
60fb7e9e
PA
52052015-02-20 Pedro Alves <palves@redhat.com>
5206
5207 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5208 clean_restart before gdb_target_supports_trace.
5209
5c5019c2
PA
52102015-02-20 Pedro Alves <palves@redhat.com>
5211
5212 PR threads/18006
5213 * gdb.threads/clone-thread_db.c: New file.
5214 * gdb.threads/clone-thread_db.exp: New file.
5215
c9587f88
AT
52162015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5217
5218 PR breakpoints/16812
5219 * gdb.base/catch-gdb-caused-signals.c: New file.
5220 * gdb.base/catch-gdb-caused-signals.exp: New file.
5221
f6a88844
JM
52222015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5223
5224 * configure: Regenerated.
5225 * configure.ac: Use GDB_AC_TRANSFORM.
5226 * aclocal.m4: sinclude ../transform.m4.
5227
497c491b
JM
52282015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5229
5230 * lib/dtrace.exp: New file.
5231 * gdb.base/dtrace-probe.exp: Likewise.
5232 * gdb.base/dtrace-probe.d: Likewise.
5233 * gdb.base/dtrace-probe.c: Likewise.
5234 * lib/pdtrace.in: Likewise.
5235 * configure.ac: Output variables with the transformed names of
5236 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5237 * configure: Regenerated.
5238
03e98035
JM
52392015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5240
5241 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5242 expected message when trying to access $_probe_* convenience
5243 variables while not on a probe.
5244
63cc30e9
JK
52452015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5246
5247 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5248
0703599a
PA
52492015-02-11 Pedro Alves <pedro@codesourcery.com>
5250
5251 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5252 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5253
7e60a48e
DE
52542015-02-10 Doug Evans <xdje42@gmail.com>
5255
5256 * lib/gdb.exp (gdb_load): Always return a result.
5257
01b088bc
PA
52582015-02-10 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.threads/signal-sigtrap.c: New file.
5261 * gdb.threads/signal-sigtrap.exp: New file.
5262
b05ec7a5
AT
52632015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5264
5265 * gdb.trace/no-attach-trace.c: New file.
5266 * gdb.trace/no-attach-trace.exp: New file.
5267
a2c2acaf
MW
52682015-02-09 Mark Wielaard <mjw@redhat.com>
5269
5270 * gdb.dwarf2/atomic.c: New file.
5271 * gdb.dwarf2/atomic-type.exp: Likewise.
5272
31fd9caa
MM
52732015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5274
5275 * gdb.btrace/buffer-size.exp: Update "info record" output.
5276 * gdb.btrace/delta.exp: Update "info record" output.
5277 * gdb.btrace/enable.exp: Update "info record" output.
5278 * gdb.btrace/finish.exp: Update "info record" output.
5279 * gdb.btrace/instruction_history.exp: Update "info record" output.
5280 * gdb.btrace/next.exp: Update "info record" output.
5281 * gdb.btrace/nexti.exp: Update "info record" output.
5282 * gdb.btrace/step.exp: Update "info record" output.
5283 * gdb.btrace/stepi.exp: Update "info record" output.
5284 * gdb.btrace/nohist.exp: Update "info record" output.
5285
d33501a5
MM
52862015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5287
5288 * gdb.btrace/buffer-size: New.
5289
f4abbc16
MM
52902015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5291
5292 * gdb.btrace/delta.exp: Update "info record" output.
5293 * gdb.btrace/enable.exp: Update "info record" output.
5294 * gdb.btrace/finish.exp: Update "info record" output.
5295 * gdb.btrace/instruction_history.exp: Update "info record" output.
5296 * gdb.btrace/next.exp: Update "info record" output.
5297 * gdb.btrace/nexti.exp: Update "info record" output.
5298 * gdb.btrace/step.exp: Update "info record" output.
5299 * gdb.btrace/stepi.exp: Update "info record" output.
5300 * gdb.btrace/nohist.exp: Update "info record" output.
5301
b9d61307
SM
53022015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5303
5304 PR gdb/15678
5305 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5306
e584fdbc
PA
53072015-02-06 Pedro Alves <palves@redhat.com>
5308
5309 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5310 macro.
5311 (seconds_left, again): New globals.
5312 (main): Wait seconds_left in a 1-second sleep loop instead of
5313 sleeping 180 seconds. If 'again' is set, reset the seconds
5314 counter.
5315 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5316 'again' in the inferior before detaching. Print the seconds left.
5317 (options): New global.
5318 (top level): Build program with -DTIMEOUT=$timeout.
5319
77f41761
PA
53202015-02-06 Pedro Alves <palves@redhat.com>
5321
5322 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5323 determine how many seconds to pass to 'alarm'.
5324 * gdb.base/gdb-sigterm.exp (top level): Build program with
5325 -DTIMEOUT=$timeout.
5326 (do_test): Return success/failure indication. Add more verbose
5327 logging. Don't fail if 200 single steps are seen. Instead, fail
5328 when the test times out.
5329 (passes): New global.
5330 (top level): Break the testing loop if testing fails on any
5331 iteration. Use gdb_assert.
5332
b9394193
DB
53332015-02-04 Don Breazeal <donb@codesourcery.com>
5334
5335 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5336 and initialize them.
5337 (ipc_cleanup): New function.
5338 (main): Don't declare shmid, semid, and msqid. Add a call to
5339 atexit so that we call ipc_cleanup on exit.
5340
42d9e528
PA
53412015-02-04 Pedro Alves <palves@redhat.com>
5342
5343 * boards/native-extended-gdbserver.exp: Remove any target variant
5344 specifications from the board name before clearing the isremote
5345 flag from board_info.
5346
ae6ae975
DE
53472015-01-31 Doug Evans <xdje42@gmail.com>
5348
5349 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5350
cfb069a8
GB
53512015-01-31 Gary Benson <gbenson@redhat.com>
5352
5353 * gdb.base/completion.exp: Disable completion limiting for
5354 existing tests. Add new tests to check completion limiting.
5355 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5356
5dd31d79
DE
53572015-01-31 Doug Evans <xdje42@gmail.com>
5358
5359 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5360
9f050062
DE
53612015-01-31 Doug Evans <xdje42@gmail.com>
5362
5363 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5364 entries. Duplicate file section script entries.
5365 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5366 inlined entries. Add test for safe-path rejection.
5367 * gdb.python/py-section-script.c: Add duplicate inlined section script
5368 entries. Duplicate file section script entries.
5369 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5370 inlined entries. Add test for safe-path rejection.
5371
df25ebbd
JB
53722015-01-29 Joel Brobecker <brobecker@adacore.com>
5373
5374 * gdb.ada/disc_arr_bound: New testcase.
5375
4a0ca9ec
JB
53762015-01-29 Joel Brobecker <brobecker@adacore.com>
5377
5378 * gdb.ada/mi_var_array: New testcase.
5379
3a8b707a
DE
53802015-01-27 Doug Evans <dje@google.com>
5381
5382 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5383 Add test for objfile.filename, objfile.username after objfile
5384 has been unloaded.
5385
f8313f6e
JB
53862015-01-26 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5389 the second test to print the name attribute of value
5390 returned by the call to gdb.lookup_type, and adjust
5391 the expected output accordingly.
5392
37bc665e
MW
53932015-01-25 Mark Wielaard <mjw@redhat.com>
5394
5395 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5396 * gdb.base/disp-step-fork.c: Include unistd.h.
5397 * gdb.base/siginfo-obj.c: Include stdio.h.
5398 * gdb.base/siginfo-thread.c: Likewise.
5399 * gdb.mi/non-stop.c: Include unistd.h.
5400 * gdb.mi/nsthrexec.c: Include stdio.h.
5401 * gdb.mi/pthreads.c: Include unistd.h.
5402 * gdb.modula2/unbounded1.c (main): Declare returns int.
5403 * gdb.reverse/consecutive-reverse.c: Likewise.
5404 * gdb.threads/create-fail.c: Include unistd.h.
5405 * gdb.threads/killed.c: Likewise.
5406 * gdb.threads/linux-dp.c: Likewise.
5407 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5408 * gdb.threads/non-ldr-exc-2.c: Likewise.
5409 * gdb.threads/non-ldr-exc-3.c: Likewise.
5410 * gdb.threads/non-ldr-exc-4.c: Likewise.
5411 * gdb.threads/pthreads.c: Include unistd.h.
5412 (main): Declare returns int.
5413 * gdb.threads/tls-main.c (foo): New declaration.
5414 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5415
f7e5394d
SM
54162015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5417
5418 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5419 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5420
743649fd
MW
54212015-01-15 Mark Wielaard <mjw@redhat.com>
5422
5423 * gdb.base/noreturn-return.c: New file.
5424 * gdb.base/noreturn-return.exp: New file.
5425 * gdb.base/noreturn-finish.c: New file.
5426 * gdb.base/noreturn-finish.exp: New file.
5427
198297aa
PA
54282015-01-23 Pedro Alves <palves@redhat.com>
5429
5430 * gdb.threads/continue-pending-after-query.c: New file.
5431 * gdb.threads/continue-pending-after-query.exp: New file.
5432
717cf30c
AG
54332015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5434 Simon Marchi <simon.marchi@ericsson.com>
5435
5436 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5437 * gdb.base/valgrind-db-attach.exp: Same.
5438 * gdb.base/valgrind-infcall.exp: Same.
5439 * lib/mi-support.exp (default_mi_gdb_start): Same.
5440 * lib/prompt.exp (default_prompt_gdb_start): Same.
5441 * lib/gdb.exp (default_gdb_spawn): Same.
5442 (gdb_interact): New.
5443
5444
4b62a76e
JK
54452015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5446
5447 * gdb.compile/compile.exp (pointer to jit function): New test.
5448
b4cdae6f
WW
54492015-01-17 Wei-cheng Wang <cole945@gmail.com>
5450
5451 * lib/gdb.exp (supports_process_record): Return true for
5452 powerpc*-*-linux*.
5453 (supports_reverse): Likewise.
5454
d221e7ef
DB
54552015-01-15 Don Breazeal <donb@codesourcery.com>
5456
5457 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5458 instead of checking whether the target board is remote and
5459 use spawn_wait_for_attach instead of exec/sleep.
5460 * gdb.base/attach-twice.exp: Likewise.
5461
bafffb51
JB
54622015-01-15 Joel Brobecker <brobecker@adacore.com>
5463
5464 * gdb.ada/var_arr_attrs: New testcase.
5465
5589af0e
PA
54662015-01-14 Pedro Alves <palves@redhat.com>
5467 Joel Brobecker <brobecker@adacore.com>
5468
5469 PR gdb/17525
5470 * gdb.base/bp-cmds-execution-x-script.c: New file.
5471 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5472 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5473
6c400b59
PA
54742015-01-14 Pedro Alves <palves@redhat.com>
5475
5476 PR cli/17828
5477 * gdb.base/batch-preserve-term-settings.c: New file.
5478 * gdb.base/batch-preserve-term-settings.exp: New file.
5479
e02c96a7
DE
54802015-01-13 Doug Evans <dje@google.com>
5481
5482 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5483 binary.
5484
576fd14c
JB
54852015-01-13 Joel Brobecker <brobecker@adacore.com>
5486
5487 * Makefile.in (clean mostlyclean): Do not delete *.py.
5488
04dccad0
JB
54892015-01-13 Joel Brobecker <brobecker@adacore.com>
5490
5491 * gdb.python/py-lookup-type.exp: New file.
5492
3d230f71
PA
54932015-01-12 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5496 restore GDBFLAGS before returning.
5497
7e67715d
JK
54982015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5499
5500 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5501 is_amd64_regs_target and is_x86_like_target.
5502
f2e0d4b4
DE
55032015-01-11 Doug Evans <xdje42@gmail.com>
5504
5505 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5506 is given without an explicit form.
5507 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5508 attributes.
5509 * gdb.dwarf/corrupt.exp: Ditto.
5510 * gdb.dwarf2/enum-type.exp: Ditto.
5511 * gdb.trace/entry-values.exp: Ditto.
5512 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5513
439250fb
DE
55142015-01-11 Doug Evans <xdje42@gmail.com>
5515
5516 PR gdb/15830
5517 * gdb.base/maint.exp: Remove references to "maint demangle".
5518 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5519 Add tests for explicitly specifying language to demangle.
5520 * gdb.dlang/demangle.exp: Ditto.
5521
ede9f622
PA
55222015-01-09 Pedro Alves <palves@redhat.com>
5523
5524 * gdb.threads/non-stop-fair-events.c: New file.
5525 * gdb.threads/non-stop-fair-events.exp: New file.
5526
a7b796db
PA
55272015-01-09 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5530 the global scope. Set a breakpoint after all threads are started
5531 rather than stepping over two source lines. Expect the prompt.
5532 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5533 global.
5534 (NUM): Now 15.
5535 (main): Use threads_started_barrier to wait for all threads to
5536 start. Main thread no longer calls thread_function. Exit after
5537 180 seconds.
5538 (loop): New function.
5539 (thread_function): Wait on threads_started_barrier barrier. Call
5540 'loop' at each iteration.
5541 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5542 threads have started, instead of hardcoding number of "next"
5543 steps. Use an access watchpoint instead of a write watchpoint.
5544
9665ffdd
PA
55452015-01-09 Pedro Alves <palves@redhat.com>
5546
5547 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5548 (thread_func): Wait on barrier.
5549 (main): Wait for all threads to start before stopping GDB.
5550 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5551 global.
5552 (thread1_func, thread2_func): Wait on barrier.
5553 (main): Wait for all threads to start before stopping GDB.
5554 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5555 New global.
5556 (thread1_func, thread2_func): Wait on barrier.
5557 (main): Wait for all threads to start before stopping GDB.
5558
c945a99f
PA
55592015-01-09 Pedro Alves <palves@redhat.com>
5560
5561 * gdb.threads/attach-many-short-lived-threads.c: New file.
5562 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5563
c1a747c1
PA
55642014-01-09 Pedro Alves <palves@redhat.com>
5565
5566 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5567 instead of to thread 2.
5568 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5569 Add barrier around each pthread_create call instead of around all
5570 calls.
5571 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5572 Set a break on thread_function and have the child threads hit it
5573 one at at a time.
5574
60b3033e
PA
55752015-01-09 Pedro Alves <palves@redhat.com>
5576
5577 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5578 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5579 false.
5580 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5581 checking whether the target board is remote.
5582 * gdb.multi/multi-attach.exp: Likewise.
5583 * gdb.python/py-sync-interp.exp: Likewise.
5584 * gdb.server/ext-attach.exp: Likewise.
5585 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5586 tests that need to attach, instead of checking whether the target
5587 board is remote at the top of the file.
5588
acc018ac
YQ
55892015-01-08 Yao Qi <yao@codesourcery.com>
5590
5591 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5592
50a18af8
JK
55932015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5594
5595 Fix testcase compilation.
5596 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5597
8503d6e1
JB
55982015-01-06 Joel Brobecker <brobecker@adacore.com>
5599
5600 * gdb.python/py-type.exp: Add a couple test about empty
5601 array creation, and negative-length array creation.
5602
cc73dbcc
DE
56032015-01-02 Doug Evans <xdje42@gmail.com>
5604
5605 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5606
0300bbc7
DE
56072015-01-02 Doug Evans <dje@google.com>
5608
5609 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5610
9d85a0ec
YQ
56112014-12-29 Yao Qi <yao@codesourcery.com>
5612
5613 * gdb.trace/entry-values.exp: Update comments. Rename variable
5614 bar_call_foo to returned_from_foo.
5615
87186c6a
MMN
56162014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5617
5618 PR gdb/17394
5619 * gdb.linespec/break-asm-file.c: New file.
5620 * gdb.linespec/break-asm-file.exp: New file.
5621 * gdb.linespec/break-asm-file0.s: New file.
5622 * gdb.linespec/break-asm-file1.s: New file.
5623
1bab7383
YQ
56242014-12-18 Nigel Stephens <nigel@mips.com>
5625 Maciej W. Rozycki <macro@codesourcery.com>
5626
5627 * gdb.base/float.exp: Handle the new output from "info float" on
5628 MIPS targets.
5629
1bc1068a
JK
56302014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5631
5632 Fix MinGW compilation.
5633 * gdb.compile/compile-ops.exp: Update untested message if
5634 !skip_compile_feature_tests.
5635 * gdb.compile/compile-setjmp.exp: Likewise.
5636 * gdb.compile/compile-tls.exp: Likewise.
5637 * gdb.compile/compile.exp: Likewise.
5638 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5639 supported on this host".
5640
b6615d10
DE
56412014-12-16 Doug Evans <xdje42@gmail.com>
5642
5643 * boards/stabs.exp: New file.
5644
25dda427
AA
56452014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5646
5647 * gdb.base/completion.exp: Adjust to format changes of "maint
5648 print user-registers".
5649
bf330350
CU
56502014-12-16 Catalin Udma <catalin.udma@freescale.com>
5651
5652 PR server/17457
5653 * gdb.arch/aarch64-fp.c: New file.
5654 * gdb.arch/aarch64-fp.exp: New file.
5655
395cf596
SDJ
56562014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5657
5658 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5659 r210637, r210913, r211666, r215400, r215817).
5660
5661 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5662 * dg-extract-results.py: New file.
5663 * dg-extract-results.sh: Use it if the environment seems
5664 suitable.
5665
5666 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5667
5668 * dg-extract-results.py (parse_run): Handle warnings that
5669 are printed before a test harness is run.
5670
5671 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5672
5673 * dg-extract-results.py (Named): Remove __cmp__ method.
5674 (output_variation): Use a key to sort variation.harnesses.
5675
5676 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5677
5678 * dg-extract-results.py: For Python 3, force sys.stdout to
5679 handle surrogate escape sequences.
5680 (safe_open): New function.
5681 (output_segment, main): Use it.
5682
5683 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5684
5685 * dg-extract-results.py (Prog.result_re): Include options
5686 in test name.
5687
5688 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5689
5690 * dg-extract-results.py (output_variation): Always sort if
5691 do_sum.
5692
e882ef3c
SM
56932014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5694
5695 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5696 as long as we get pagination notifications.
5697
4992aa20
JM
56982014-12-15 Jason Merrill <jason@redhat.com>
5699
5700 * Makefile.in (check-gdb.%): Restore.
5701 * README: Mention it.
5702
c1b5a1a6
JB
57032014-12-13 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.ada/str_uninit: New testcase.
5706
5537b577
JK
57072014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5708
5709 PR symtab/17642
5710 * gdb.base/vla-stub-define.c: New file.
5711 * gdb.base/vla-stub.c: New file.
5712 * gdb.base/vla-stub.exp: New file.
5713
bb2ec1b3
TT
57142014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5715 Jan Kratochvil <jan.kratochvil@redhat.com>
5716 Tom Tromey <tromey@redhat.com>
5717
5718 * configure.ac: Add gdb.compile/.
5719 * configure: Regenerate.
5720 * gdb.compile/Makefile.in: New file.
5721 * gdb.compile/compile-ops.exp: New file.
5722 * gdb.compile/compile-ops.c: New file.
5723 * gdb.compile/compile-tls.c: New file.
5724 * gdb.compile/compile-tls.exp: New file.
5725 * gdb.compile/compile-constvar.S: New file.
5726 * gdb.compile/compile-constvar.c: New file.
5727 * gdb.compile/compile-mod.c: New file.
5728 * gdb.compile/compile-nodebug.c: New file.
5729 * gdb.compile/compile-setjmp-mod.c: New file.
5730 * gdb.compile/compile-setjmp.c: New file.
5731 * gdb.compile/compile-setjmp.exp: New file.
5732 * gdb.compile/compile-shlib.c: New file.
5733 * gdb.compile/compile.c: New file.
5734 * gdb.compile/compile.exp: New file.
5735 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5736
4ff709eb
TT
57372014-12-12 Tom Tromey <tromey@redhat.com>
5738
5739 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5740 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5741
6dddd6a5
DE
57422014-12-12 Doug Evans <dje@google.com>
5743
5744 * lib/gdb-python.exp (get_python_valueof): New function.
5745 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5746
71c24708
AA
57472014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5748
5749 * gdb.base/completion.exp: Add test for completion of "info
5750 registers ".
5751
3e29f34a
MR
57522014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5753
5754 * gdb.base/func-ptrs.c: New file.
5755 * gdb.base/func-ptrs.exp: New file.
5756
fc126975
SM
57572014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5758
5759 PR breakpoints/17012
5760 * gdb.base/dprintf-detach.c: New file.
5761 * gdb.base/dprintf-detach.exp: New file.
5762
0a46d518
SM
57632014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5764
5765 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5766 * lib/gdb.exp (target_is_gdbserver): New procedure.
5767
a0be3e44
DE
57682014-12-08 Doug Evans <dje@google.com>
5769
5770 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5771
df1b803a
YQ
57722014-12-05 Yao Qi <yao@codesourcery.com>
5773
5774 * gdb.guile/scm-error.exp: Remove the third argument to
5775 gdb_remote_download.
5776 * gdb.guile/scm-frame-args.exp: Likewise.
5777 * gdb.guile/scm-section-script.exp: Likewise.
5778
ddb9f679
YQ
57792014-12-05 Yao Qi <yao@codesourcery.com>
5780
5781 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5782
86e4ed39
DE
57832014-12-04 Doug Evans <dje@google.com>
5784
5785 * gdb.python/py-objfile.exp: Add tests for
5786 objfile.add_separate_debug_file.
5787
7c50a931
DE
57882014-12-04 Doug Evans <dje@google.com>
5789
5790 * lib/gdb.exp (get_build_id): New function.
5791 (build_id_debug_filename_get): Rewrite to use it.
5792 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5793
621661e3
MR
57942014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5795
5796 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5797 `method(long)', not just 0x0.
5798 * gdb.cp/nsalias.exp: Align code labels to 4.
5799 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5800 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5801 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5802 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5803 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5804 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5805
29f0c3b7
DE
58062014-12-02 Doug Evans <dje@google.com>
5807
e1e061e7 5808 PR symtab/17602
29f0c3b7 5809 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5810 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5811 * gdb.cp/anon-ns.exp: Update.
5812
162078c8
NB
58132014-12-02 Nick Bull <nicholaspbull@gmail.com>
5814
5815 * gdb.python/py-events.py (inferior_call_handler): New.
5816 (register_changed_handler, memory_changed_handler): New.
5817 (test_events.invoke): Register new handlers.
5818 * gdb.python/py-events.exp: Add tests for inferior call,
5819 memory_changed and register_changed events.
5820
fdb09caf
AA
58212014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5822
5823 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5824 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5825 if the linker doesn't understand this.
5826
55cfb2c4
SM
58272014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5828
5829 * gdb.python/python.exp: Change expected reply to help().
5830
9e8cd6df
YQ
58312014-12-01 Yao Qi <yao@codesourcery.com>
5832
5833 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5834 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5835 * configure: Re-generated.
5836
6c659fc2
SC
58372014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5838
5839 * gdb.cp/chained-calls.cc: New file.
5840 * gdb.cp/chained-calls.exp: New file.
5841 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5842
d7fc3181
SM
58432014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5844
5845 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5846 * gdb.dwarf2/symtab-producer.exp: Same.
5847 * gdb.gdb/python-interrupts.exp: Same.
5848 * gdb.gdb/python-selftest.exp: Same.
5849 * gdb.python/py-linetable.exp: Same.
5850 * gdb.python/py-type.exp: Same.
5851 * gdb.python/py-value-cc.exp: Same.
5852 * gdb.python/py-value.exp: Same.
5853
10e79639
YQ
58542014-11-28 Yao Qi <yao@codesourcery.com>
5855
5856 * gdb.base/break-probes.exp: Match library name prefixed with
5857 sysroot.
5858
f28a0564
SM
58592014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5860
5861 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5862 test expected output. Add parentheses for the call to print.
5863 Remove L suffix from integers.
5864
3fe1ce1d
DE
58652014-11-26 Doug Evans <dje@google.com>
5866
5867 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5868
84429e27
YQ
58692014-11-22 Yao Qi <yao@codesourcery.com>
5870
5871 * gdb.trace/entry-values.c: Remove asms.
5872 (foo): Add foo_label.
5873 (bar): Add bar_label.
5874 * gdb.trace/entry-values.exp: Remove code computing foo's
5875 length and bar's length.
5876 (Dwarf::assemble): Invoke function_range for bar and use
5877 MACRO_AT_func for foo.
5878
26741859
YQ
58792014-11-22 Yao Qi <yao@codesourcery.com>
5880
5881 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5882 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5883 Use .Lgcc43_procstart instead of gcc43.
5884
45e44d27
JB
58852014-11-21 Joel Brobecker <brobecker@adacore.com>
5886
5887 * gdb.ada/n_arr_bound: New testcase.
5888
458c8db8
SDJ
58892014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5890
5891 PR breakpoints/10737
5892 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5893 test_catch_syscall_multi_arch.
5894 (test_catch_syscall_multi_arch): New function.
5895
43f3e411
DE
58962014-11-20 Doug Evans <xdje42@gmail.com>
5897
5898 * gdb.base/maint.exp: Update expected output.
5899
0d7b2549
AA
59002014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5901
5902 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5903 4-byte instruction on S390.
5904
8908fca5
JB
59052014-11-19 Joel Brobecker <brobecker@adacore.com>
5906
5907 * gdb.ada/arr_arr: New testcase.
5908
4a46959e
JB
59092014-11-19 Joel Brobecker <brobecker@adacore.com>
5910
5911 * gdb.ada/pkd_arr_elem: New Testcase.
5912
470e2f4e
LM
59132014-11-18 Luis Machado <lgustavo@codesourcery.com>
5914
5915 * gdb.reverse/break-precsave: Expect completion message for
5916 core file reads.
5917 * gdb.reverse/consecutive-precsave.exp: Likewise.
5918 * gdb.reverse/finish-precsave.exp: Likewise.
5919 * gdb.reverse/i386-precsave.exp: Likewise.
5920 * gdb.reverse/machinestate-precsave.exp: Likewise.
5921 * gdb.reverse/sigall-precsave.exp: Likewise.
5922 * gdb.reverse/solib-precsave.exp: Likewise.
5923 * gdb.reverse/step-precsave.exp: Likewise.
5924 * gdb.reverse/until-precsave.exp: Likewise.
5925 * gdb.reverse/watch-precsave.exp: Likewise.
5926
a267f3ad
AA
59272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5928
5929 * gdb.base/bp-permanent.c: Include unistd.h.
5930 * gdb.python/py-framefilter-mi.c (main): Add return type.
5931 * gdb.python/py-framefilter.c (main): Likewise.
5932 * gdb.trace/actions-changed.c (main): Likewise.
5933
12084a9a
AA
59342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5935
5936 * gdb.mi/until.c: Add eye-catchers.
5937 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5938 line numbers.
5939
dc7e1a77
AA
59402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5941
5942 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5943 function header variants in break1.c.
5944 * gdb.base/ena-dis-br.exp: Likewise.
5945 * gdb.base/hbreak2.exp: Likewise.
5946 * gdb.reverse/until-precsave.exp: Drop references to removed
5947 non-prototype function header variants in ur1.c.
5948 * gdb.reverse/until-reverse.exp: Likewise.
5949
41c77605
PM
59502014-11-17 Petr Machata <pmachata@redhat.com>
5951
5952 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5953 ${_cu_offset_size} bytes abbrev offset.
5954
34248c3a
DE
59552014-11-15 Doug Evans <xdje42@gmail.com>
5956
5957 PR symtab/17559
5958 * gdb.base/line-symtabs.exp: New file.
5959 * gdb.base/line-symtabs.c: New file.
5960 * gdb.base/line-symtabs.h: New file.
5961
646da059
YQ
59622014-11-14 Yao Qi <yao@codesourcery.com>
5963
5964 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5965 (func): Add label func_label.
5966 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5967 Replace low_pc and high_pc with MACRO_AT_range.
5968 Replace name, low_pc and high_pc with MACRO_AT_func.
5969
9301ebe6
YQ
59702014-11-14 Yao Qi <yao@codesourcery.com>
5971
5972 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5973 Replace name, low_pc and high_pc with MACRO_AT_func.
5974
f166b542
YQ
59752014-11-14 Yao Qi <yao@codesourcery.com>
5976
5977 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5978 produce debug information.
5979 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5980
0f6e71e3
YQ
59812014-11-14 Yao Qi <yao@codesourcery.com>
5982
5983 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5984 object and get function length.
5985 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5986 with MACRO_AT_func.
5987 (top-level): Replace gdb_compile and clean_restart with
5988 prepare_for_testing.
5989 * gdb.dwarf2/main.c (main): Add label main_label.
5990
876c4df9
YQ
59912014-11-14 Yao Qi <yao@codesourcery.com>
5992
5993 * lib/dwarf.exp (function_range): New procedure.
5994 (Dwarf::_handle_macro_at_func): New procedure.
5995 (Dwarf::_handle_macro_at_range): New procedure.
5996 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5997
02ad9cf1
YQ
59982014-11-14 Yao Qi <yao@codesourcery.com>
5999
6000 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6001 (_handle_attribute): New procedure.
6002
a59add0c
AA
60032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6004
6005 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6006 * gdb.base/call-sc.c (zed): Likewise.
6007 * gdb.base/checkpoint.c (main): Likewise.
6008 * gdb.base/dump.c (main): Likewise.
6009 * gdb.base/gcore.c (main): Likewise.
6010 * gdb.base/huge.c (main): Likewise.
6011 * gdb.base/multi-forks.c (main): Likewise.
6012 * gdb.base/pr10179-a.c (main): Likewise.
6013 * gdb.base/savedregs.c (main): Likewise.
6014 * gdb.base/sigaltstack.c (main): Likewise.
6015 * gdb.base/siginfo.c (main): Likewise.
6016 * gdb.base/structs.c (zed): Likewise.
6017 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6018 * gdb.mi/mi-syn-frame.c (main): Likewise.
6019 * gdb.mi/until.c (foo, main): Likewise.
6020 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6021 * gdb.base/solib-weak.c (foo): Declare.
6022 * gdb.base/attach-twice.c: Include stdio.h.
6023 * gdb.base/weaklib1.c: Likewise.
6024 * gdb.base/weaklib2.c: Likewise.
6025 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6026 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6027 unistd.h.
6028 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6029 * gdb.mi/mi-exit-code.c: Likewise.
6030 * gdb.base/break-interp-lib.c: Include string.h.
6031 * gdb.base/coremaker.c: Likewise.
6032 * gdb.base/testenv.c: Likewise.
6033 * gdb.python/py-finish-breakpoint.c: Likewise.
6034 * gdb.base/inferior-died.c: Include sys/wait.h.
6035 * gdb.base/fileio.c: Include time.h.
6036 * gdb.base/async-shell.c: Include unistd.h.
6037 * gdb.base/dprintf-non-stop.c: Likewise.
6038 * gdb.base/info-os.c: Likewise.
6039 * gdb.mi/mi-console.c: Likewise.
6040 * gdb.mi/watch-nonstop.c: Likewise.
6041 * gdb.python/py-events.c: Likewise.
6042 * gdb.base/async.c (baz): Move up before its invocation.
6043 * gdb.base/code_elim2.c (my_global_func): Likewise.
6044 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6045 * gdb.base/advance.c (func2): Likewise.
6046
3b5d5997
AA
60472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6048
6049 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6050 variant.
6051 * gdb.base/annota3.c: Likewise.
6052 * gdb.base/async.c: Likewise.
6053 * gdb.base/average.c: Likewise.
6054 * gdb.base/call-ar-st.c: Likewise.
6055 * gdb.base/call-rt-st.c: Likewise.
6056 * gdb.base/call-sc.c: Likewise.
6057 * gdb.base/call-strs.c: Likewise.
6058 * gdb.base/ending-run.c: Likewise.
6059 * gdb.base/execd-prog.c: Likewise.
6060 * gdb.base/exprs.c: Likewise.
6061 * gdb.base/foll-exec.c: Likewise.
6062 * gdb.base/foll-fork.c: Likewise.
6063 * gdb.base/foll-vfork.c: Likewise.
6064 * gdb.base/funcargs.c: Likewise.
6065 * gdb.base/gcore.c: Likewise.
6066 * gdb.base/jump.c: Likewise.
6067 * gdb.base/langs0.c: Likewise.
6068 * gdb.base/langs1.c: Likewise.
6069 * gdb.base/langs2.c: Likewise.
6070 * gdb.base/mips_pro.c: Likewise.
6071 * gdb.base/nodebug.c: Likewise.
6072 * gdb.base/opaque0.c: Likewise.
6073 * gdb.base/opaque1.c: Likewise.
6074 * gdb.base/recurse.c: Likewise.
6075 * gdb.base/run.c: Likewise.
6076 * gdb.base/scope0.c: Likewise.
6077 * gdb.base/scope1.c: Likewise.
6078 * gdb.base/setshow.c: Likewise.
6079 * gdb.base/setvar.c: Likewise.
6080 * gdb.base/shmain.c: Likewise.
6081 * gdb.base/shr1.c: Likewise.
6082 * gdb.base/shr2.c: Likewise.
6083 * gdb.base/sigall.c: Likewise.
6084 * gdb.base/signals.c: Likewise.
6085 * gdb.base/so-indr-cl.c: Likewise.
6086 * gdb.base/solib2.c: Likewise.
6087 * gdb.base/structs.c: Likewise.
6088 * gdb.base/sum.c: Likewise.
6089 * gdb.base/vforked-prog.c: Likewise.
6090 * gdb.base/watchpoint.c: Likewise.
6091 * gdb.reverse/shr2.c: Likewise.
6092 * gdb.reverse/until-reverse.c: Likewise.
6093 * gdb.reverse/ur1.c: Likewise.
6094 * gdb.reverse/watch-reverse.c: Likewise.
6095
066a77c5
AA
60962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6097
6098 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6099 variant.
6100 * gdb.base/sepdebug.exp: Drop references to removed code.
6101
4f204ea5
AA
61022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6103
6104 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6105 variant. Preserve original line numbering.
6106 * gdb.base/list1.c: Likewise.
6107
3b377a3a
AA
61082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6109
6110 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6111 variant.
6112 * gdb.base/break1.c: Likewise.
6113 * gdb.base/break.exp: Drop references to removed code.
6114
e444df73
AA
61152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6116
6117 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6118 variant.
6119
8008f2a7
AA
61202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6121
6122 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6123
a5a06887
AA
61242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6125
6126 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6127 logic into perform_all_tests() and invoke it with and without
6128 function header prototypes.
6129 (do_function_calls): Remove conditional XFAIL for PR 5318.
6130 (rerun_and_prepare): Remove duplicate code.
6131 (perform_all_tests): New. Main logic moved here.
6132
44dba9b9
AA
61332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6134
6135 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6136 code guarded by #ifdef NO_PROTOTYPES.
6137 (t_double_many_args): Likewise.
6138 (DEF_FUNC_MANY_ARGS_1): Likewise.
6139 (DEF_FUNC_VALUES_1): Likewise.
6140 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6141 guarded by #ifdef PROTOTYPES.
6142
d1fbcd56
AA
61432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6144
6145 * gdb.mi/mi-console.c: Add eye-catcher.
6146 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6147 instead of literal line number.
6148
b0e59b8f
AA
61492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6150
6151 * gdb.base/shr2.c: Add eye-catcher.
6152 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6153 line number.
6154
78f98cca
AA
61552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6156
6157 * gdb.base/jump.c: Add eye-catchers.
6158 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6159 numbers.
6160
58fa2af0
AA
61612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6162
6163 * gdb.base/execd-prog.c: Add eye-catchers.
6164 * gdb.base/foll-exec.c: Likewise.
6165 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6166 line numbers.
6167
04e5059b
AA
61682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6169
6170 * gdb.base/ending-run.c: Add eye-catchers.
6171 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6172 literal line numbers.
6173
dbfdb174
AA
61742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6175
6176 * gdb.base/call-rt-st.c: Add eye-catchers.
6177 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6178 literal line numbers.
6179
888a2ade
AA
61802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6181
6182 * gdb.base/call-ar-st.c: Add eye-catchers.
6183 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6184 literal line numbers.
6185
6acc2dde
AA
61862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6187
6188 * gdb.base/average.c: Add eye-catchers.
6189 * gdb.base/sum.c: Likewise.
6190 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6191 regexps dynamically.
6192
9ecfcd1d
AA
61932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6194
6195 * gdb.base/solib1.c: Add eye-catchers.
6196 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6197 literal line numbers.
6198
78708b7c
PA
61992014-11-12 Pedro Alves <palves@redhat.com>
6200
6201 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6202 leader has exited.
6203
af48d08f
PA
62042014-11-12 Pedro Alves <palves@redhat.com>
6205
6206 * gdb.arch/i386-bp_permanent.c: New file.
6207 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6208 (srcfile): Set to i386-bp_permanent.c.
6209 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6210 that stepi does not execute the 'leave' instruction, instead of
6211 testing it does execute.
6212 * gdb.base/bp-permanent.c: New file.
6213 * gdb.base/bp-permanent.exp: New file.
6214
af3768e9
DE
62152014-11-10 Doug Evans <xdje42@gmail.com>
6216
6217 PR symtab/17564
6218 * gdb.base/symtab-search-order.exp: New file.
6219 * gdb.base/symtab-search-order.c: New file.
6220 * gdb.base/symtab-search-order-1.c: New file.
6221 * gdb.base/symtab-search-order-shlib-1.c: New file.
6222
9de00a4a
PA
62232014-11-07 Pedro Alves <palves@redhat.com>
6224
6225 PR gdb/17511
6226 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6227 i?86-*-linux*.
6228
e0f52461
SC
62292014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6230
6231 PR c++/17494
6232 * gdb.cp/pr17494.cc: New file.
6233 * gdb.cp/pr17494.exp: New file.
6234
6ce8c980
YQ
62352014-11-02 Yao Qi <yao@codesourcery.com>
6236
6237 * gdb.python/python.exp: Get working directory and match the
6238 output of "set extended-prompt \\w " with it.
6239
02be9a71
DE
62402014-10-30 Doug Evans <dje@google.com>
6241
6242 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6243 in objfiles.
6244 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6245 in progspaces.
6246
3bdff46b
LM
62472014-10-30 Janis Johnson <janisjo@codesourcery.com>
6248
6249 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6250 * gdb.base/realname-expand.exp: Likewise.
6251 * gdb.linespec/macro-relative.exp: Likewise.
6252
ab917dfb
PA
62532014-10-29 Pedro Alves <palves@redhat.com>
6254
6255 PR gdb/17408
6256 * gdb.threads/schedlock.c (some_function): New function.
6257 (call_function): New global.
6258 (MAYBE_CALL_SOME_FUNCTION): New macro.
6259 (thread_function): Call it.
6260 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6261 and use it instead of a global counter. Adjust all callers.
6262 (get_current_thread): Use "find current thread" for test message
6263 here rather than having all callers pass down the same string.
6264 (goto_loop): New procedure, factored out from ...
6265 (my_continue): ... this.
6266 (step_ten_loops): Change parameter from test message to command to
6267 use. Adjust.
6268 (list_count): Delete global.
6269 (check_result): New procedure, factored out from duplicate top
6270 level code.
6271 (continue tests): Wrap in with_test_prefix.
6272 (test_step): New procedure, factored out from duplicate top level
6273 code.
6274 (top level): Test "step" in combination with all scheduler-locking
6275 modes. Test "next" in combination with all scheduler-locking
6276 modes, and in combination with stepping over a function call or
6277 not.
6278 * gdb.threads/next-bp-other-thread.c: New file.
6279 * gdb.threads/next-bp-other-thread.exp: New file.
6280
d3d4baed
PA
62812014-10-29 Pedro Alves <palves@redhat.com>
6282
6283 PR python/17372
6284 * gdb.python/python.exp: Test a multi-line command that spawns
6285 interactive Python.
6286 * gdb.base/multi-line-starts-subshell.exp: New file.
6287
563e8d85
YQ
62882014-10-29 Yao Qi <yao@codesourcery.com>
6289
6290 * gdb.base/fileio.exp: Make directories on host.
6291
0ea4d52e
YQ
62922014-10-29 Yao Qi <yao@codesourcery.com>
6293
6294 * gdb.base/fileio.c (test_write): Close the file.
6295
7f5ef605
PA
62962014-10-28 Pedro Alves <palves@redhat.com>
6297
6298 PR gdb/12623
6299 * gdb.base/sigstep.c (no_handler): New global.
6300 (main): If 'no_handler is true, set the signal handlers to
6301 SIG_IGN.
6302 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6303 with_sw_watch and no_handler parameters. Handle them.
6304 (top level) <stepping over handler when stopped at a breakpoint
6305 test>: Add a test axis for testing with a software watchpoint, and
6306 another for testing with the signal handler set to SIG_IGN.
6307 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6308 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6309
abbdbd03
PA
63102014-10-28 Pedro Alves <palves@redhat.com>
6311
6312 PR gdb/17511
6313 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6314 * gdb.base/sigstep.exp (other_handler_location): New global.
6315 (advance): Support stepping into the signal handler, and running
6316 commands while in the handler.
6317 (in_handler_map): New global.
6318 (top level): In the advance test, add combinations for getting
6319 into the handler with stepping commands, and for running commands
6320 in the handler. Add comment descripting the advancei tests.
6321
1df4399f
PA
63222014-10-28 Pedro Alves <palves@redhat.com>
6323
6324 * gdb.base/sigstep.exp: Use build_executable instead of
6325 prepare_for_testing.
6326 (top level): Move code that starts GDB, runs to main and creates a
6327 display to ...
6328 (restart): ... this new procedure.
6329 (top level): Move backtrace from signal handler test to ...
6330 (validate_backtrace): ... this new procedure.
6331 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6332 with_test_prefix. Always restart GDB.
6333 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6334 with_test_prefix. Always restart GDB. No need to delete
6335 breakpoints after the test.
6336 (test_skip_handler): Remove prefix parameter.
6337 (skip_over_handler, breakpoint_to_handler)
6338 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6339 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6340 restart GDB. No need to delete breakpoints after the test.
6341 (top level): Use foreach to call the test procedures with
6342 different commands.
6343
a5b6e449
PA
63442014-10-28 Pedro Alves <palves@redhat.com>
6345
6346 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6347 instead of GNATS numbers.
6348 * gdb.base/sigbpt.exp: Likewise.
6349 * gdb.base/siginfo.exp: Likewise.
6350 * gdb.base/sigstep.exp: Likewise.
6351
e5f8a7cc
PA
63522014-10-27 Pedro Alves <palves@redhat.com>
6353
6354 * gdb.base/sigstep.c (dummy): New global.
6355 (main): Issue a couple writes to the new global.
6356 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6357 procedures.
6358 (skip_over_handler): Use test_skip_handler.
6359 (top level): Call skip_over_handler for stepi and nexti too.
6360 (breakpoint_over_handler): Use test_skip_handler.
6361 (top level): Call breakpoint_over_handler for stepi and nexti too.
6362
763905a3
YQ
63632014-10-27 Yao Qi <yao@codesourcery.com>
6364
6365 * gdb.trace/tfile.c (adjust_function_address)
6366 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6367 function descriptor.
6368
6f259a23
DB
63692014-10-24 Don Breazeal <donb@codesourcery.com>
6370
6371 * gdb.base/foll-fork.exp (test_follow_fork,
6372 catch_fork_child_follow): Check for updated fork messages emitted
6373 from infrun.c.
6374 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6375 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6376 vfork_and_exec_child_follow_through_step): Check for updated vfork
6377 messages emitted from infrun.c.
6378
09dd9a69
PA
63792014-10-24 Pedro Alves <palves@redhat.com>
6380
6381 * gdb.base/corefile.exp: Remove references to ultrix.
6382 * gdb.base/interrupt.exp: Likewise.
6383 * gdb.base/whatis.exp: Likewise.
6384 * gdb.gdb/selftest.exp: Likewise.
6385 * gdb.threads/manythreads.exp: Likewise.
6386 * gdb.threads/print-threads.exp: Likewise.
6387 * gdb.threads/pthreads.exp:: Likewise.
6388 * gdb.threads/schedlock.exp: Likewise.
6389
3433cfa5
SC
63902014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6391
6392 * gdb.cp/non-trivial-retval.cc: Add a test case.
6393 * gdb.cp/non-trivial-retval.exp: Add a test.
6394
092f880b
YQ
63952014-10-20 Yao Qi <yao@codesourcery.com>
6396
6397 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6398 * gdb.python/py-objfile-script-gdb.py: New file.
6399 * gdb.python/py-objfile-script.exp: Update reference to
6400 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6401 of remote_download. Remove the dest file.
6402
acbdb7f3
YQ
64032014-10-20 Yao Qi <yao@codesourcery.com>
6404
6405 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6406 * gdb.base/step-line.exp: Likewise.
6407 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6408 * gdb.dwarf2/dw2-basic.exp: Likewise.
6409 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6410 * gdb.dwarf2/dw2-filename.exp: Likewise.
6411 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6412 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6413 * gdb.dwarf2/dw2-producer.exp: Likewise.
6414 * gdb.dwarf2/mac-fileno.exp: Likewise.
6415 * gdb.python/py-frame-args.exp: Likewise.
6416 * gdb.python/py-framefilter.exp: Likewise.
6417 * gdb.python/py-mi.exp: Likewise.
6418 * gdb.python/py-objfile-script.exp: Likewise
6419 * gdb.python/py-pp-integral.exp: Likewise.
6420 * gdb.python/py-pp-re-notag.exp: Likewise.
6421 * gdb.python/py-prettyprint.exp: Likewise.
6422 * gdb.python/py-section-script.exp: Likewise.
6423 * gdb.python/py-typeprint.exp: Likewise.
6424 * gdb.python/py-xmethods.exp: Likewise.
6425 * gdb.stabs/weird.exp: Likewise.
6426 * gdb.xml/tdesc-regs.exp: Likewise.
6427
bd286a29
KCY
64282014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6429
6430 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6431 (out_cu): Use addr_len for the size of addresses.
6432 (out_line): Likewise. Size DW_LNE_set_address instruction
6433 according to addr_len.
6434 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6435 (FUNC): Add START_INSNS to definition.
6436
673dc4a0
YQ
64372014-10-18 Yao Qi <yao@codesourcery.com>
6438
6439 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6440 gdb_has_argv0 return true.
6441 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6442 check [target_info exists noargs], check [gdb_has_argv0]
6443 instead.
6444 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6445 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6446 procedures.
6447
4ffbba72
DE
64482014-10-17 Doug Evans <dje@google.com>
6449
6450 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6451 event.
6452 * gdb.python/py-events.py: Add clear_objfiles event.
6453
d096d8c1
DE
64542014-10-17 Doug Evans <dje@google.com>
6455
6456 * gdb.python/py-objfile.exp: Test progspace attribute.
6457
a80db015
LM
64582014-10-17 Luis Machado <lgustavo@codesourcery.com>
6459
6460 * gdb.guile/scm-breakpoint.exp: Do not assume any
6461 directory separators when matching source file paths.
6462 * gdb.python/py-breakpoint.exp: Likewise.
6463 * gdb.reverse/break-precsave.exp: Likewise.
6464 * gdb.reverse/break-reverse.exp: Likewise.
6465 * gdb.reverse/consecutive-precsave.exp: Likewise.
6466 * gdb.reverse/finish-precsave.exp: Likewise.
6467 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6468 * gdb.reverse/finish-reverse.exp: Likewise.
6469 * gdb.reverse/i386-precsave.exp: Likewise.
6470 * gdb.reverse/i387-env-reverse.exp: Likewise.
6471 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6472 * gdb.reverse/machinestate-precsave.exp: Likewise.
6473 * gdb.reverse/machinestate.exp: Likewise.
6474 * gdb.reverse/sigall-precsave.exp: Likewise.
6475 * gdb.reverse/solib-precsave.exp: Likewise.
6476 * gdb.reverse/step-precsave.exp: Likewise.
6477 * gdb.reverse/until-precsave.exp: Likewise.
6478 * gdb.reverse/watch-precsave.exp: Likewise.
6479 * gdb.reverse/watch-reverse.exp: Likewise.
6480
b22089ab
YQ
64812014-10-17 Yao Qi <yao@codesourcery.com>
6482
6483 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6484 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6485
6c4486e6
PA
64862014-10-17 Pedro Alves <palves@redhat.com>
6487
6488 PR gdb/17471
6489 * gdb.base/bg-execution-repeat.c: New file.
6490 * gdb.base/bg-execution-repeat.exp: New file.
6491
0ff33695
PA
64922014-10-17 Pedro Alves <palves@redhat.com>
6493
6494 PR gdb/17300
6495 * gdb.base/continue-all-already-running.c: New file.
6496 * gdb.base/continue-all-already-running.exp: New file.
6497
6fdebc3d
PA
64982014-10-17 Pedro Alves <palves@redhat.com>
6499
6500 PR gdb/17472
6501 * gdb.base/annota-input-while-running.c: New file.
6502 * gdb.base/annota-input-while-running.exp: New file.
6503
32a8097b
PA
65042014-10-17 Pedro Alves <palves@redhat.com>
6505
6506 * gdb.base/callfuncs.exp: emove references to osf.
6507 * gdb.base/sigall.exp: Likewise.
6508 * gdb.gdb/selftest.exp: Likewise.
6509 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6510 * gdb.mi/non-stop.c: Likewise.
6511 * gdb.mi/pthreads.c: Likewise.
6512 * gdb.reverse/sigall-precsave.exp: Likewise.
6513 * gdb.reverse/sigall-reverse.exp: Likewise.
6514 * gdb.threads/pthreads.c: Likewise.
6515 * gdb.threads/pthreads.exp: Likewise.
6516
7a3517ff
YQ
65172014-10-17 Yao Qi <yao@codesourcery.com>
6518
6519 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6520 check 'target_info exists noargs'.
6521 (test_command_prompt_position): Likewise.
6522 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6523 Remove "set args".
6524 (progvar_simple_while_test): Likewise.
6525 (progvar_complex_if_while_test): Likewise.
6526 (if_while_breakpoint_command_test): Likewise.
6527 (infrun_breakpoint_command_test): Likewise.
6528 (breakpoint_command_test): Likewise.
6529 (watchpoint_command_test): Likewise.
6530 (bp_deleted_in_command_test): Likewise.
6531 (temporary_breakpoint_commands): Likewise.
6532
bb99c472
YQ
65332014-10-16 Yao Qi <yao@codesourcery.com>
6534
6535 * gdb.base/remotetimeout.exp: Remove noargs checking.
6536
7c16b83e
PA
65372014-10-15 Pedro Alves <palves@redhat.com>
6538
6539 PR breakpoints/9649
6540 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6541 * gdb.base/breakpoint-in-ro-region.exp
6542 (probe_target_hardware_step): New procedure.
6543 (top level): Probe hardware stepping and hardware breakpoint
6544 support. Test stepping through a read-only region, with both
6545 "breakpoint auto-hw" on and off and both "always-inserted" on and
6546 off.
6547
35a49624
IB
65482014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6549
6550 * gdb.dlang/demangle.exp: Update for demangling changes.
6551
2d1c107c
SC
65522014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6553
6554 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6555 * gdb.cp/non-trivial-retval.exp: Add new tests.
6556
778811d5
SC
65572014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6558
6559 PR c++/13403
6560 PR c++/15154
6561 * gdb.cp/non-trivial-retval.cc: New file.
6562 * gdb.cp/non-trivial-retval.exp: New file.
6563
10c5f0a8
YQ
65642014-10-15 Yao Qi <yao@codesourcery.com>
6565
6566 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6567 remote host.
6568
65d7b369
YQ
65692014-10-15 Yao Qi <yao@codesourcery.com>
6570
6571 * gdb.python/py-symbol.exp: Match file base name if host is
6572 remote, otherwise match file name with dir name.
6573 * gdb.python/py-symtab.exp: Likewise.
6574 * gdb.python/python.exp: Likewise.
6575
46dc1394
YQ
65762014-10-15 Yao Qi <yao@codesourcery.com>
6577
6578 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6579 pattern.
6580 * gdb.python/py-symtab.exp: Likewise.
6581 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6582 locationn.
6583
c40cc657
JB
65842014-10-14 Joel Brobecker <brobecker@adacore.com>
6585
6586 * gdb.ada/addr_arith: New testcase.
6587
2abf49e1
MR
65882014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6589
6590 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6591 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6592 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6593 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6594
f7088df3
SDJ
65952014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6596
6597 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6598 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6599 * gdb.arch/stap-eval-lang-ada.exp: New file.
6600
4dc06805
YQ
66012014-10-14 Yao Qi <yao@codesourcery.com>
6602
6603 * gdb.mi/mi-var-child.c (nothing1): New function.
6604 (nothing2): New function.
6605 (do_children_tests): Set function pointers by nothing1 and
6606 nothing2.
6607 * gdb.mi/mi-var-child.exp: Step over new added statements.
6608 Update test to match the new output.
6609 * gdb.mi/var-cmd.c (nothing1): New function.
6610 (nothing2): New function.
6611 (do_children_tests): Set function pointers by nothing1 and
6612 nothing2.
6613 * gdb.mi/mi-var-display.exp: Update test to match output.
6614 Step to the line specified by $line_dct_nothing.
6615 Increase the number of lines to step.
6616
46a93de2
YQ
66172014-10-14 Yao Qi <yao@codesourcery.com>
6618
6619 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6620 tests.
6621 * gdb.mi/mi2-var-child.exp: Likewise.
6622
14ea52ee
DE
66232014-10-13 Doug Evans <dje@google.com>
6624
6625 * gdb.python/py-objfile.exp: Change name of file name test.
6626
e5c6e92b
DE
66272014-10-13 Doug Evans <dje@google.com>
6628
6629 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6630 from the start of the CU.
6631
c780cc2f
JK
66322014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6633 Yao Qi <yao@codesourcery.com>
6634
6635 Fix "save breakpoints" for "catch" command.
6636 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6637 Remove -nonewline. Match also the added "main" line.
6638
99894e11
JK
66392014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6640
6641 Fix "save breakpoints" for "disable $bpnum" command.
6642 * gdb.base/save-bp.c (main): Add label.
6643 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6644
6e1ac5a3
JK
66452014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6646
6647 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6648
754dd2b0
YQ
66492014-10-11 Yao Qi <yao@codesourcery.com>
6650
6651 * gdb.server/server-kill.exp: Execute command
6652 "set remote trace-status-packet on" before "tstatus".
6653
f90183d7
YQ
66542014-10-11 Yao Qi <yao@codesourcery.com>
6655
6656 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6657 (main): Call getppid.
6658 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6659 and continue to it. Read variable "server_pid".
6660
bf40a607
YQ
66612014-10-11 Yao Qi <yao@codesourcery.com>
6662
6663 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6664
052ca370
YQ
66652014-10-11 Yao Qi <yao@codesourcery.com>
6666
6667 * gdb.threads/thread-find.exp: Don't execute command
6668 "info threads".
6669 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6670 * gdb.threads/linux-dp.exp: Don't check the condition
6671 $threads_created equals to zero.
6672
3831839c
PA
66732014-10-10 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/bigcore.exp: Remove references to IRIX.
6676 * gdb.base/funcargs.exp: Likewise.
6677 * gdb.base/interrupt.exp: Likewise.
6678 * gdb.base/mips_pro.exp: Likewise.
6679 * gdb.base/nodebug.exp: Likewise.
6680 * gdb.base/setvar.exp: Likewise.
6681 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6682
8b9a549d
PA
66832014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6684 Pedro Alves <palves@redhat.com>
6685
6686 PR symtab/14466
6687 * gdb.base/vdso-warning.c: New file.
6688 * gdb.base/vdso-warning.exp: New file.
6689
d48ba5e8
DE
66902014-10-02 Doug Evans <dje@google.com>
6691
6692 * gdb.base/structs.c (main): Don't run forever.
6693
2278c276
PA
66942014-10-02 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6697 (top level) <stop threads 1, stop threads 2>: Use it.
6698
b57bacec
PA
66992014-10-02 Pedro Alves <palves@redhat.com>
6700
6701 * gdb.threads/break-while-running.exp (test): Add new
6702 'update_thread_list' argument. Skip "info threads" if false.
6703 (top level): Add new 'update_thread_list' axis.
6704
13fd3ff3
PA
67052014-10-02 Pedro Alves <palves@redhat.com>
6706
6707 PR breakpoints/17431
6708 * gdb.base/execl-update-breakpoints.c: New file.
6709 * gdb.base/execl-update-breakpoints.exp: New file.
6710
0fec99e8
PA
67112014-10-01 Pedro Alves <palves@redhat.com>
6712
6713 * gdb.base/breakpoint-in-ro-region.c: New file.
6714 * gdb.base/breakpoint-in-ro-region.exp: New file.
6715
2ddf4301
SM
67162014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6717
6718 * gdb.mi/mi-exit-code.exp: New file.
6719 * gdb.mi/mi-exit-code.c: New file.
6720
6a5f3f43
YQ
67212014-09-30 Yao Qi <yao@codesourcery.com>
6722
6723 * lib/prelink-support.exp (build_executable_own_libs): Error if
6724 the target isn't native.
6725
345bcc73
YQ
67262014-09-30 Yao Qi <yao@codesourcery.com>
6727
6728 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6729 false.
6730
a25a5a45
PA
67312014-09-22 Pedro Alves <palves@redhat.com>
6732
6733 * gdb.threads/break-while-running.exp: New file.
6734 * gdb.threads/break-while-running.c: New file.
6735
00ba3162
YQ
67362014-09-19 Yao Qi <yao@codesourcery.com>
6737
6738 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6739 Invoke test. Restart GDB with --readnow and invoke test again.
6740
c3b7b696
YQ
67412014-09-19 Yao Qi <yao@codesourcery.com>
6742
6743 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6744 proc set_breakpoint_on_gcd_function. Invoke
6745 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6746 invoke set_breakpoint_on_gcd_function again.
6747
2b4fd423
DE
67482014-09-18 Doug Evans <dje@google.com>
6749
6750 * gdb.dwarf2/symtab-producer.exp: New file.
6751
a5947601
SDJ
67522014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6753
6754 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6755 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6756 * gdb.base/global-var-nested-by-dso.c: Likewise.
6757 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6758
91c19059
SDJ
67592014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6760 Pedro Alves <palves@redhat.com>
6761
6762 * gdb.base/watch-bitfields.exp: Pass string other than test file
6763 name to prepare_for_testing.
6764 (watch): New procedure.
6765 (expect_watchpoint): Use with_test_prefix.
6766 (top level): Factor out tests to ...
6767 (test_watch_location, test_regular_watch): ... these new
6768 procedures, and use with_test_prefix and gdb_continue_to_end.
6769
bb9d5f81
PP
67702014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6771
6772 PR breakpoints/12526
6773 * gdb.base/watch-bitfields.exp: New file.
6774 * gdb.base/watch-bitfields.c: New file.
6775
635856f5
PA
67762014-09-16 Pedro Alves <palves@redhat.com>
6777
6778 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6779 software and hardware addresses, not software address against
6780 itself.
6781
7280ceea
PA
67822014-09-16 Pedro Alves <palves@redhat.com>
6783
6784 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6785 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6786
428b16bd
PA
67872014-09-16 Pedro Alves <palves@redhat.com>
6788
6789 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6790 files.
6791 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6792 "*-*-vxworks*" throughout.
6793 * gdb.base/break.exp: Likewise.
6794 * gdb.base/default.exp: Likewise.
6795 * gdb.base/scope.exp: Likewise.
6796 * gdb.base/sepdebug.exp: Likewise.
6797 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6798 throughout.
6799 * gdb.base/run.c: Likewise.
6800 * gdb.base/sepdebug.c: Likewise.
6801 * gdb.hp/gdb.aCC/run.c: Likewise.
6802 * gdb.reverse/until-reverse.c: Likewise.
6803 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6804
666d413c
YQ
68052014-09-16 Yao Qi <yao@codesourcery.com>
6806
6807 * boards/local-remote-host-native.exp: New file.
6808
57cbd724
DE
68092014-09-14 Doug Evans <xdje42@gmail.com>
6810
6811 * gdb.threads/queue-signal.c (thread_count): New variable.
6812 (thread_count_mutex, thread_count_condvar): New variables.
6813 (incr_thread_count, wait_all_threads_running): New functions.
6814 (main): Wait for all threads to be in their thread functions.
6815
81219e53
DE
68162014-09-13 Doug Evans <xdje42@gmail.com>
6817
6818 * gdb.threads/queue-signal.c: New file.
6819 * gdb.threads/queue-signal.exp: New file.
6820
3714cea7
DE
68212014-09-13 Doug Evans <xdje42@gmail.com>
6822
6823 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6824 be consistent with what default_gdb_init uses.
6825 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6826 the plain text of the prompt. Add some logging printfs.
6827 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6828
fa43b1d7
PA
68292014-09-12 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6832 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6833 * gdb.arch/i386-size-overlap.exp: Likewise.
6834 * gdb.arch/i386-size.exp: Likewise.
6835 * gdb.arch/i386-unwind.exp: Likewise.
6836 * gdb.base/a2-run.exp: Likewise.
6837 * gdb.base/break.exp: Likewise.
6838 * gdb.base/charset.exp: Likewise.
6839 * gdb.base/chng-syms.exp: Likewise.
6840 * gdb.base/commands.exp: Likewise.
6841 * gdb.base/dbx.exp: Likewise.
6842 * gdb.base/find.exp: Likewise.
6843 * gdb.base/funcargs.exp: Likewise.
6844 * gdb.base/jit-simple.exp: Likewise.
6845 * gdb.base/reread.exp: Likewise.
6846 * gdb.base/sepdebug.exp: Likewise.
6847 * gdb.base/step-bt.exp: Likewise.
6848 * gdb.cp/mb-inline.exp: Likewise.
6849 * gdb.cp/mb-templates.exp: Likewise.
6850 * gdb.objc/basicclass.exp: Likewise.
6851 * gdb.threads/killed.exp: Likewise.
6852
9d9bf2df
EBM
68532014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6854
6855 PR tdep/17379
6856 * gdb.arch/powerpc-stackless.S: New file.
6857 * gdb.arch/powerpc-stackless.exp: New file.
6858
1cf2f1b0
JK
68592014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6860
6861 * gdb.base/attach.c: Include unistd.h.
6862 (main): Call alarm. Add label postloop.
6863 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6864 gdb_breakpoint, gdb_continue_to_breakpoint.
6865 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6866
98880d46
PA
68672014-09-11 Pedro Alves <palves@redhat.com>
6868
6869 PR gdb/17347
6870 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6871 * gdb.base/attach.exp (test_command_line_attach_run): New
6872 procedure.
6873 (top level): Call it.
6874
4c92ff2c
PA
68752014-09-11 Pedro Alves <palves@redhat.com>
6876
6877 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6878 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6879 (do_command_attach_tests): Use spawn_wait_for_attach.
6880 * gdb.base/solib-overlap.exp: Likewise.
6881 * gdb.multi/multi-attach.exp: Likewise.
6882 * gdb.python/py-prompt.exp: Likewise.
6883 * gdb.python/py-sync-interp.exp: Likewise.
6884 * gdb.server/ext-attach.exp: Likewise.
6885
3adc1a7d
GKB
68862014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6887
6888 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6889 command in testcase. Simplify testcase.
6890
96334934
JB
68912014-09-10 Joel Brobecker <brobecker@adacore.com>
6892
6893 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6894
eb479039
JB
68952014-09-10 Joel Brobecker <brobecker@adacore.com>
6896
6897 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6898
deede10c
JB
68992014-09-10 Joel Brobecker <brobecker@adacore.com>
6900
6901 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6902
7828a5f5
JB
69032014-09-10 Joel Brobecker <brobecker@adacore.com>
6904
6905 * gdb.dwarf2/dynarr-ptr.c: New file.
6906 * gdb.dwarf2/dynarr-ptr.exp: New file.
6907
33aeebcf
MR
69082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6909
6910 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6911 of 30 rather than hardcoding 120 for a slow test case. Take the
6912 `gdb,timeout' target setting into account for this calculation.
6913 Don't extend the timeout for the test cases that don't need it.
6914
7b415901
MR
69152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6916
6917 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6918 a factor of 2 for a slow test case. Take the `gdb,timeout'
6919 target setting into account for this calculation.
6920 * gdb.reverse/until-precsave.exp: Increase the timeout by
6921 a factor of 15 and 3 respectively rather than adding 120
6922 for a pair of slow test cases. Take the `gdb,timeout'
6923 target setting into account for this calculation.
6924
4a40f85a
MR
69252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6926
6927 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6928 timeout, don't pass one down to gdb_expect.
6929 (gdb_expect): Rework timeout selection.
6930
09635af7
MR
69312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6932
6933 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6934 exception on timeout.
6935 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6936 (gdbserver_start_extended): Catch any `gdbserver_start' error
6937 exceptions.
6938 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6939 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6940 `gdbserver_gdb_load' error exceptions.
6941
2bdd10b7
MR
69422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6943
6944 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6945 120 on waiting for the TCP socket to open.
6946
316935f0
DE
69472014-09-09 Doug Evans <xdje42@gmail.com>
6948
6949 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6950 _caller_matches, _any_caller_is, _any_caller_matches.
6951
83740597
DE
69522014-09-09 Doug Evans <xdje42@gmail.com>
6953
6954 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6955
4c122fc3
YQ
69562014-09-09 Yao Qi <yao@codesourcery.com>
6957
6958 * gdb.mi/mi-var-display.exp: Set print symbol off.
6959
a9f116cb
GKB
69602014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6961
6962 PR gdb/17035
6963 * gdb.base/commands.exp: Add tests to verify user-defined
6964 commands with empty bodies.
6965 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6966 python commands in `show user command`.
6967 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6968 scheme commands in `show user command`.
6969
c75bd3a2
JK
69702014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6971
6972 PR python/17355
6973 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6974 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6975 * gdb.python/py-framefilter-invalidarg.exp: New file.
6976 * gdb.python/py-framefilter-invalidarg.py: New file.
6977
faa42425
DE
69782014-09-06 Doug Evans <xdje42@gmail.com>
6979
6980 PR 15276
6981 * gdb.python/py-caller-is.c: New file.
6982 * gdb.python/py-caller-is.exp: New file.
6983
474ca4f6
SDJ
69842014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6985
6986 PR gdb/17235
6987 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6988 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6989
eb0b0463
SDJ
69902014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6991
6992 PR fortran/17237
6993 * gdb.fortran/print-formatted.exp: New file.
6994 * gdb.fortran/print-formatted.f90: Likewise.
6995
5f3b99cf
SS
69962014-09-03 Sasha Smundak <asmundak@google.com>
6997
6998 * gdb.python/py-frame.exp: Test Frame.read_register.
6999
7d793aa9
SDJ
70002014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7001
7002 PR python/16699
7003 * gdb.python/py-completion.exp: New file.
7004 * gdb.python/py-completion.py: Likewise.
7005
fb0576e9
DE
70062014-08-28 Doug Evans <dje@google.com>
7007
7008 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7009 eax,etc. are live with values set by gdb and thus the compiler can't
7010 use them.
7011 * gdb.arch/i386-pseudo.c (main): Ditto.
7012
ee92b0dd
DE
70132014-08-27 Doug Evans <dje@google.com>
7014
7015 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7016
6649db35
DE
70172014-08-25 Doug Evans <dje@google.com>
7018
7019 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7020 (main): Ditto.
7021
564b7600
DE
70222014-08-25 Doug Evans <dje@google.com>
7023
7024 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7025
3881fb67
YQ
70262014-08-24 Yao Qi <yao@codesourcery.com>
7027
7028 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7029 symbol off.
7030 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7031
a05a36a5
DE
70322014-08-22 Doug Evans <dje@google.com>
7033
7034 PR 17276
7035 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7036 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7037 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7038
7c343b48
YQ
70392014-08-22 Yao Qi <yao@codesourcery.com>
7040
7041 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7042 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7043 * gdb.python/python.exp: Likewise. Use .py file on the host
7044 instead of the build.
7045
22fd09ae
JK
70462014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7047
7048 * gdb.threads/gcore-stale-thread.c: New file.
7049 * gdb.threads/gcore-stale-thread.exp: New file.
7050
a8454a7c
PA
70512014-08-21 Pedro Alves <palves@redhat.com>
7052
7053 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7054 * gdb.base/gcore-relro-pie.exp: Likewise.
7055 * gdb.base/gcore-relro.exp: Likewise.
7056 * gdb.base/gcore.exp: Likewise.
7057 * gdb.base/print-symbol-loading.exp: Likewise.
7058 * gdb.threads/gcore-thread.exp: Likewise.
7059 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7060
2a31c623
PA
70612014-08-20 Pedro Alves <palves@redhat.com>
7062 Jan Kratochvil <jan.kratochvil@redhat.com>
7063
7064 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7065 configure.
7066 (EXPECT): Handle READ1 being set.
7067 (all): Depend on EXTRA_RULES.
7068 (check-read1, expect-read1, read1.so, read1): New rules.
7069 * README (Testsuite Parameters): Document the READ1 make variable.
7070 (Race detection): New section.
7071 * configure: Regenerate.
7072 * configure.ac: If build==host==target, and running under a
7073 GNU/glibc system, add read1 to the extra Makefile rules.
7074 (EXTRA_RULES): AC_SUBST it.
7075 * lib/read1.c: New file.
7076
d36430db
JB
70772014-08-20 Joel Brobecker <brobecker@adacore.com>
7078
7079 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7080 the handling of variables declared as a typedef to an array
7081 which a DW_AT_data_location attribute.
7082
9a0dc9e3
PA
70832014-08-19 Andrew Burgess <aburgess@broadcom.com>
7084 Pedro Alves <palves@redhat.com>
7085
7086 PR symtab/14604
7087 PR symtab/14605
7088 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7089 gdb_test.
7090
0718a8da
PA
70912014-08-19 Pedro Alves <palves@redhat.com>
7092
7093 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7094
13b448cd
YQ
70952014-08-19 Yao Qi <yao@codesourcery.com>
7096
7097 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7098 right line.
7099
1cbf5077
DB
71002014-08-18 David Blaikie <dblaikie@gmail.com>
7101
7102 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7103
bf0fae19
JB
71042014-08-18 Joel Brobecker <brobecker@adacore.com>
7105
7106 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7107 attribute in array range.
7108
3c8c5dcc
JB
71092014-08-18 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7112
e66d4446
SC
71132014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7114
7115 PR c++/17132
7116 * gdb.cp/pr17132.cc: New file.
7117 * gdb.cp/pr17132.exp: New file.
7118
940df408
SC
71192014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7120
7121 * gdb.python/py-xmethods.py (A_getarrayind)
7122 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7123 Use 'print' with function call syntax.
7124 (E_method_matcher.match): Fix tab vs space indentation mixup.
7125
ebcc6c3a
YQ
71262014-08-15 Yao Qi <yao@codesourcery.com>
7127
7128 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7129 false.
7130
775e0f04
YQ
71312014-08-15 Yao Qi <yao@codesourcery.com>
7132
7133 * gdb.cp/casts.exp: Set print symbol off.
7134 * gdb.cp/class2.exp: Likewise.
7135 * gdb.cp/overload.exp: Likewise.
7136 * gdb.cp/templates.exp: Likewise.
7137
d769e349
DE
71382014-08-11 Doug Evans <dje@google.com>
7139
7140 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7141 (test_load_shlib): Update.
7142
20c6f1e1
YQ
71432014-08-09 Yao Qi <yao@codesourcery.com>
7144
7145 * gdb.base/display.exp: Invoke is_address_zero_readable.
7146 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7147 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7148 * gdb.base/hbreak-unmapped.exp: Return if
7149 is_address_zero_readable returns true.
7150 * gdb.base/signest.exp: Likewise.
7151 * gdb.base/signull.exp: Likewise.
7152 * gdb.base/sigbpt.exp: Likewise.
7153 * gdb.guile/scm-disasm.exp: Do the test if
7154 is_address_zero_readable returns false.
7155 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7156 * gdb.python/py-arch.exp: Likewise.
7157 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7158 * lib/gdb.exp (is_address_zero_readable): New proc.
7159
5792e8e3
YQ
71602014-08-09 Yao Qi <yao@codesourcery.com>
7161
7162 PR testsuite/13443
7163 * gdb.mi/mi-var-display.exp: Make test messages unique.
7164
3cecbbbe
TT
71652014-08-04 Tom Tromey <tromey@redhat.com>
7166
7167 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7168 target 0".
7169
00b51ff5
TT
71702014-08-04 Tom Tromey <tromey@redhat.com>
7171
7172 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7173 "target_resume".
7174
6908c509
JB
71752014-08-01 Joel Brobecker <brobecker@adacore.com>
7176
7177 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7178 inner_vla_struct_object_size.
7179 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7180 as xfail.
7181
cc6563d2
PA
71822014-07-30 Pedro Alves <palves@redhat.com>
7183
7184 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7185 comment.
7186
7e09a223
YQ
71872014-07-29 Yao Qi <yao@codesourcery.com>
7188
7189 PR gdb/17206
7190 * gdb.base/until-nodebug.exp: New.
7191
7ebdbe92
DE
71922014-07-28 Doug Evans <xdje42@gmail.com>
7193
7194 PR guile/17203
7195 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7196 previously existing parameter, and previously ambiguously spelled
7197 parameter.
7198
fdb1adc6
WN
71992014-07-28 Will Newton <will.newton@linaro.org>
7200
7201 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7202
186fcde0
DE
72032014-07-26 Ludovic Courtès <ludo@gnu.org>
7204 Doug Evans <xdje42@gmail.com>
7205
7206 PR guile/17146
7207 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7208
70509625
PA
72092014-07-25 Pedro Alves <palves@redhat.com>
7210
7211 * gdb.threads/signal-command-handle-nopass.c: New file.
7212 * gdb.threads/signal-command-handle-nopass.exp: New file.
7213 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7214 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7215 * gdb.threads/signal-delivered-right-thread.c: New file.
7216 * gdb.threads/signal-delivered-right-thread.exp: New file.
7217
c3f814a1
PA
72182014-07-25 Pedro Alves <palves@redhat.com>
7219
7220 * gdb.base/double-prompt-target-event-error.exp
7221 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7222 match.
7223 (cancel_pagination_in_target_event): Rework double prompt
7224 detection.
7225 * gdb.base/paginate-after-ctrl-c-running.exp
7226 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7227 <return>' match.
7228 * gdb.base/paginate-bg-execution.exp
7229 (test_bg_execution_pagination_return)
7230 (test_bg_execution_pagination_cancel): Remove '-notransfer
7231 <return>' matches.
7232 * gdb.base/paginate-execution-startup.exp
7233 (test_fg_execution_pagination_return)
7234 (test_fg_execution_pagination_cancel): Remove '-notransfer
7235 <return>' matches.
7236 * gdb.base/paginate-inferior-exit.exp
7237 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7238 match.
7239 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7240 * lib/gdb.exp (pagination_prompt): Run text through
7241 string_to_regexp.
7242 (gdb_test_multiple): Match $pagination_prompt instead of
7243 "<return>".
7244 (string_to_regexp): Move to lib/gdb-utils.exp.
7245
e214cf6c
JK
72462014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.arch/amd64-entry-value-paramref.S: New file.
7249 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7250 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7251 * gdb.arch/amd64-optimout-repeat.S: New file.
7252 * gdb.arch/amd64-optimout-repeat.c: New file.
7253 * gdb.arch/amd64-optimout-repeat.exp: New file.
7254
17d0c5c8
JK
72552014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7256
7257 PR gdb/17170
7258 * gdb.base/statistics.exp: New file.
7259
b8b8facf
DE
72602014-07-17 Doug Evans <dje@google.com>
7261
74b49205 7262 PR gdb/17170
b8b8facf
DE
7263 * gdb.base/maint.exp: Update testing of per-command stats.
7264
1b5d0ab3
PA
72652014-07-16 Pedro Alves <palves@redhat.com>
7266
7267 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7268 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7269 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7270 (tfile_write_buf): New functions.
7271 (add_memory_block): Rewrite using the above.
7272 (adjust_function_address): New function.
7273 (FUNCTION_ADDRESS): New macro.
7274 (write_basic_trace_file): Remove short_x local, and use
7275 tfile_write_16. Change type of func_addr local to unsigned long
7276 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7277 here. Cast argument of add_memory_block to char pointer.
7278 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7279 (main): Remove parameters.
7280 * gdb.trace/tfile.exp: Remove nowarnings.
7281
4d974e88
SM
72822014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7283
7284 * gdb.base/debug-expr.exp: Test string evaluation with
7285 "debug expression" on.
7286
41e99568
PA
72872014-07-15 Pedro Alves <palves@redhat.com>
7288
7289 * gdb.base/reread.exp: Use clean_restart.
7290
487d9753
PL
72912014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7292
7293 * gdb.arch/avr-flash-qualifer.c: New.
7294 * gdb.arch/avr-flash-qualifer.exp: New.
7295
cc1c52ad
PA
72962014-07-14 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7299 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7300
1e973570
PA
73012014-07-14 Pedro Alves <palves@redhat.com>
7302
7303 * gdb.base/double-prompt-target-event-error.c: New file.
7304 * gdb.base/double-prompt-target-event-error.exp: New file.
7305
93d6eb10
PA
73062014-07-14 Pedro Alves <palves@redhat.com>
7307
7308 PR gdb/17072
7309 * gdb.base/paginate-inferior-exit.c: New file.
7310 * gdb.base/paginate-inferior-exit.exp: New file.
7311
0017922d
PA
73122014-07-14 Pedro Alves <palves@redhat.com>
7313
7314 PR gdb/17072
7315 * gdb.base/paginate-bg-execution.c: New file.
7316 * gdb.base/paginate-bg-execution.exp: New file.
7317
94696ad3
PA
73182014-07-14 Pedro Alves <palves@redhat.com>
7319
7320 PR gdb/17072
7321 * gdb.base/paginate-execution-startup.c: New file.
7322 * gdb.base/paginate-execution-startup.exp: New file.
7323 * lib/gdb.exp (pagination_prompt): New global.
7324 (default_gdb_spawn): New procedure, factored out from
7325 default_gdb_spawn.
7326 (default_gdb_start): Adjust to call default_gdb_spawn.
7327 (gdb_spawn): New procedure.
7328
bd293940
PA
73292014-07-14 Pedro Alves <palves@redhat.com>
7330
7331 * lib/gdb.exp (gdb_assert): New procedure.
7332 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7333
c933f875
PA
73342014-07-14 Pedro Alves <palves@redhat.com>
7335
7336 * gdb.base/execution-termios.c: New file.
7337 * gdb.base/execution-termios.exp: New file.
7338
d98b7a16
TT
73392014-07-14 Tom Tromey <tromey@redhat.com>
7340
7341 * gdb.cp/vla-cxx.cc: New file.
7342 * gdb.cp/vla-cxx.exp: New file.
7343
548740d6
TT
73442014-07-14 Tom Tromey <tromey@redhat.com>
7345
7346 * gdb.reverse/rerun-prec.c: New file.
7347 * gdb.reverse/rerun-prec.exp: New file.
7348
a25eb028
MR
73492014-07-12 Maciej W. Rozycki <macro@mips.com>
7350 Maciej W. Rozycki <macro@codesourcery.com>
7351
7352 * lib/gdb-utils.exp: New file.
7353 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7354 inline `gdb_init_command' processing.
7355 (gdb_start_cmd): Likewise.
7356 * lib/mi-support.exp (mi_run_cmd): Likewise.
7357 * README: Document `gdb_init_command' and `gdb_init_commands'.
7358
218c2655
JK
73592014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7360
7361 Fix false FAIL running under a very long directory name.
7362 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7363 and "set print elements 10000". Twice.
7364
5401fde3
YQ
73652014-07-11 Yao Qi <yao@codesourcery.com>
7366
7367 * gdb.base/exprs.exp: "set print symbol off".
7368
e76126e8
PA
73692014-07-11 Pedro Alves <palves@redhat.com>
7370
7371 * gdb.threads/kill.c: New file.
7372 * gdb.threads/kill.exp: New file.
7373
2d6f0de6
YQ
73742014-07-10 Yao Qi <yao@codesourcery.com>
7375
7376 * gdb.trace/tfile.c (write_basic_trace_file)
7377 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7378 address written to trace file.
7379
7180e04a
PA
73802014-07-09 Pedro Alves <palves@redhat.com>
7381
7382 * gdb.base/attach-wait-input.exp: New file.
7383 * gdb.base/attach-wait-input.c: New file.
7384
9a9a7608
AB
73852014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7386
7387 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7388 setting up test structures.
7389 (main): Call new test function.
7390 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7391 test function, continue into test function and walk test
7392 structures.
7393
161ac41e
YQ
73942014-07-02 Yao Qi <yao@codesourcery.com>
7395
7396 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7397 'bar_start' at the beginning of functions 'foo' and 'bar'
7398 respectively.
7399 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7400 instead of 'foo' and 'bar'.
7401
1f267ae3
MM
74022014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7403
7404 * gdb.btrace/segv.exp: New.
7405 * gdb.btrace/segv.c: New.
7406
2b239efb
LM
74072014-07-02 Luis Machado <lgustavo@codesourcery.com>
7408
7409 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7410 instruction.
7411
cf363f18
MW
74122014-06-30 Mark Wielaard <mjw@redhat.com>
7413
7414 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7415 vulture, vilify, villar): New volatile array constants.
7416 (vindictive, vegetation): New const volatile array constants.
7417 * gdb.base/volatile.exp: Test volatile and const volatile array
7418 types.
7419
aebf9d24
AA
74202014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7421
7422 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7423 target lacks support for awatch, rwatch, or hbreak.
7424
b67a2c6f
YQ
74252014-06-27 Yao Qi <yao@codesourcery.com>
7426
7427 * gdb.multi/dummy-frame-restore.exp: New.
7428 * gdb.multi/dummy-frame-restore.c: New.
7429
aef92902
MM
74302014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7431
7432 * gdb.btrace/gcore.exp: New.
7433
8e9db26e
PA
74342014-06-23 Pedro Alves <palves@redhat.com>
7435
7436 * gdb.base/watchpoint-reuse-slot.c: New file.
7437 * gdb.base/watchpoint-reuse-slot.exp: New file.
7438
70afc5b7
SC
74392014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7440
7441 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7442 progspace's filename in 'info', 'enable' and 'disable' command
7443 tests.
7444
b972bd9c
JK
74452014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7446
7447 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7448 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7449 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7450
125f8a3d
GB
74512014-06-20 Gary Benson <gbenson@redhat.com>
7452
7453 * gdb.arch/i386-avx.exp: Fix include file location.
7454 * gdb.arch/i386-sse.exp: Likewise.
7455
3ed9baed
IB
74562014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7457
7458 * gdb.dlang/expression.exp: New file.
7459
034f788c
PA
74602014-06-19 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7463 out from ...
7464 (top level): ... here. Iterate running tests under different
7465 scheduler-locking settings.
7466
45371d0c
LM
74672014-06-18 Luis Machado <lgustavo@codesourcery.com>
7468
7469 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7470 to DW_FORM_addr and use non-zero addresses.
7471
5d376983
SC
74722014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7473
7474 PR gdb/17017
7475 * gdb.python/py-xmethods.cc: Add global function call counters and
7476 increment them in their respective functions. Remove "cout"
7477 statements.
7478 * gdb.python/py-xmethods.exp: Make tests check the global function
7479 call counters instead of depending on inferior IO.
7480
a1aa2221
LM
74812014-06-18 Don Breazeal <donb@codesourcery.com>
7482
7483 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7484 Deleted procedure.
7485 (explicit_fork_parent_follow): Deleted procedure.
7486 (explicit_fork_child_follow): Deleted procedure.
7487 (test_follow_fork): New procedure.
7488 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7489 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7490 procedure calls.
7491
0fc05997
YQ
74922014-06-17 Yao Qi <yao@codesourcery.com>
7493
7494 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7495 CP1252.
7496
70795c52
LM
74972014-06-17 Luis Machado <lgustavo@codesourcery.com>
7498
7499 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7500 Initialize ptr and S explicitly.
7501 (skip_type_update_when_not_use_rtti_test): Likewise.
7502
6be47f0c
KS
75032014-06-16 Keith Seitz <keiths@redhat.com>
7504
7505 PR mi/15863
7506 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7507 the inferior is started.
7508
d03de421
PA
75092014-06-16 Pedro Alves <palves@redhat.com>
7510
7511 * gdb.base/break-main-file-remove-fail.c: New file.
7512 * gdb.base/break-main-file-remove-fail.exp: New file.
7513 * gdb.base/break-unload-file.exp: Use build_executable instead of
7514 prepare_for_testing.
7515 (test_break): New parameter "initial_load". Handle it.
7516 (top level): Add initial_load cmdline/file axis.
7517
f9579b99
TT
75182014-06-12 Tom Tromey <tromey@redhat.com>
7519
7520 * gdb.base/completion.exp: Don't use directory name in test.
7521
3657956b
GB
75222014-06-09 Gary Benson <gbenson@redhat.com>
7523
7524 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7525 separate the always-available ANSI-standard signals from the
7526 signals that require checking.
7527 (main): Likewise.
7528 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7529 Likewise.
7530 (main): Likewise.
7531
4186eb54
KS
75322014-06-07 Keith Seitz <keiths@redhat.com>
7533
7534 Revert:
7535 PR c++/16253
7536 * gdb.cp/var-tag.cc: New file.
7537 * gdb.cp/var-tag.exp: New file.
7538 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7539 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7540 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7541 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7542
25326a28 75432014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7544
7545 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7546
829155c9
PA
75472014-06-06 Pedro Alves <palves@redhat.com>
7548
7549 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7550 in target debug output instead of looking at RSP packets,
7551 disabling the test on any target that uses hardware stepping.
7552 Update comments.
7553
61c8d22e
PA
75542014-06-06 Pedro Alves <palves@redhat.com>
7555
7556 * gdb.base/break-unload-file.exp: Fix typo.
7557
d9a47287
YQ
75582014-06-06 Yao Qi <yao@codesourcery.com>
7559
7560 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7561 from "jit_function" to "^jit_function".
7562
e5e01dbf
YQ
75632014-06-06 Yao Qi <yao@codesourcery.com>
7564
7565 * gdb.base/async.c (foo): Add one statement.
7566 * gdb.base/async.exp: Get the next instruction address and
7567 match the output of "nexti" by instruction address. Match
7568 the hex address in the output of "finish".
7569
73ba372c
GB
75702014-06-06 Gary Benson <gbenson@redhat.com>
7571
7572 * gdb.base/call-signals.c: Remove preprocessor conditionals
7573 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7574 SIGSEGV and SIGTERM.
7575 * gdb.base/sigall.c: Likewise.
7576 * gdb.base/unwindonsignal.c: Likewise.
7577 * gdb.reverse/sigall-reverse.c: Likewise.
7578
831517df
YQ
75792014-06-06 Yao Qi <yao@codesourcery.com>
7580
7581 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7582 readable, skip the test.
7583
b8b91e98
YQ
75842014-06-06 Yao Qi <yao@codesourcery.com>
7585
7586 * gdb.threads/staticthreads.c (thread_function): Move the line
7587 setting breakpoint on forward.
7588 * gdb.threads/staticthreads.exp: Update comments.
7589
fb934770
LC
75902014-06-05 Ludovic Courtès <ludo@gnu.org>
7591
7592 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7593 "history-append! type error".
7594
6ef284bd
SM
75952014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7596
7597 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7598 erroneous dprintf expected input.
7599
a872e241
DE
76002014-06-04 Doug Evans <xdje42@gmail.com>
7601
7602 * gdb.guile/scm-generics.exp: Delete.
7603
16f691fb
DE
76042014-06-04 Doug Evans <xdje42@gmail.com>
7605
7606 * gdb.guile/scm-breakpoint.exp: Update.
7607 Add tests for breakpoint registration.
7608
012370f6
TT
76092014-06-04 Tom Tromey <tromey@redhat.com>
7610
7611 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7612 VLA-in-union.
7613 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7614 inner_vla_struct, vla_union types. Initialize objects of those
7615 types and compute their sizes.
7616
9f5a4cef
HZ
76172014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7618 Hui Zhu <hui@codesourcery.com>
7619
7620 * gdb.base/fileio.exp: Add test for shell not available as well as
7621 available.
7622 * gdb.base/fileio.c (test_system): Check for shell twice.
7623
90a45c4d
YQ
76242014-06-04 Yao Qi <yao@codesourcery.com>
7625
7626 * gdb.base/auto-connect-native-target.exp: Remove redundant
7627 space from the regexp pattern.
7628
70017e41
YQ
76292014-06-04 Yao Qi <yao@codesourcery.com>
7630
7631 * gdb.base/default.exp: Replace "child" with "native" in
7632 regexp pattern.
7633
883964a7
SC
76342014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7635
7636 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7637 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7638 * gdb.python/py-xmethods.py: Python script supporting the
7639 new testcase and tests.
7640
ef370185
JB
76412014-06-03 Joel Brobecker <brobecker@adacore.com>
7642 Pedro Alves <palves@redhat.com>
7643
7644 PR breakpoints/17000
7645 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7646 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7647
1e2ccb61
BM
76482014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7649
7650 * gdb.base/subst.exp: Add tests to verify partial path matching
7651 output.
7652
c6ec5ab2
PA
76532014-06-03 Pedro Alves <palves@redhat.com>
7654
7655 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7656 target that doesn't use software single-stepping.
7657
835c559f
PA
76582014-06-03 Pedro Alves <palves@redhat.com>
7659
7660 PR breakpoints/17000
7661 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7662 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7663
06eb1586
DE
76642014-06-02 Doug Evans <xdje42@gmail.com>
7665
7666 * gdb.guile/scm-parameter.exp: New file.
7667
e698b8c4
DE
76682014-06-02 Doug Evans <xdje42@gmail.com>
7669
7670 * gdb.guile/scm-cmd.c: New file.
7671 * gdb.guile/scm-cmd.exp: New file.
7672
ded03782
DE
76732014-06-02 Doug Evans <xdje42@gmail.com>
7674
7675 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7676 pretty-printer lookup.
7677 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7678 (make-pp_s-printer): Call it.
7679 (make-pretty-printer-from-dict): New function.
7680 (lookup-pretty-printer-maker-from-dict): New function.
7681 (*pretty-printer*): Simplify.
7682 (make-objfile-pp_s-printer): New function.
7683 (install-objfile-pretty-printers!): New function.
7684 (make-progspace-pp_s-printer): New function.
7685 (install-progspace-pretty-printers!): New function.
7686 * gdb.guile/scm-progspace.c: New file.
7687 * gdb.guile/scm-progspace.exp: New file.
7688
41fac0cf
PA
76892014-06-02 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/dprintf-bp-same-addr.c: New file.
7692 * gdb.base/dprintf-bp-same-addr.exp: New file.
7693
96ae5695
EBM
76942014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7695
7696 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7697 * gdb.arch/powerpc-power.s: Likewise.
7698
da02b3a8
JB
76992014-06-02 Joel Brobecker <brobecker@adacore.com>
7700
7701 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7702
c72b2e7b
YQ
77032014-06-01 Yao Qi <yao@codesourcery.com>
7704
7705 * gdb.base/watchpoint.exp (test_watch_location): Check null
7706 pointer can be dereferenced. If not, do the test, otherwise
7707 skip it.
7708
53e8a631
AB
77092014-05-30 Andrew Burgess <aburgess@broadcom.com>
7710
7711 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7712 results.
7713 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7714
938f0e2f
AB
77152014-05-30 Andrew Burgess <aburgess@broadcom.com>
7716
7717 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7718 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7719 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7720 * gdb.arch/amd64-invalid-stack-top.c: New file.
7721 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7722
9ba6657a
PA
77232014-05-30 Pedro Alves <palves@redhat.com>
7724
7725 PR breakpoints/17000
7726 * gdb.base/sss-bp-on-user-bp.c: New file.
7727 * gdb.base/sss-bp-on-user-bp.exp: New file.
7728
522c09bf
DB
77292014-05-30 David Blaikie <dblaikie@gmail.com>
7730
7731 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7732 gnu_inline semantics via attribute.
7733 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7734 source explicitly specifies the required semantics.
7735
bf4ef81e
MR
77362014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7737
7738 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7739
329ea579
PA
77402014-05-29 Pedro Alves <palves@redhat.com>
7741 Tom Tromey <tromey@redhat.com>
7742
7743 * gdb.base/async-shell.exp: Don't enable target-async.
7744 * gdb.base/async.exp
7745 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7746 parameter. Adjust.
7747 (top level): Don't test with "target-async".
7748 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7749 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7750 * gdb.base/inferior-died.exp: Don't enable target-async.
7751 * gdb.base/interrupt-noterm.exp: Likewise.
7752 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7753 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7754 * gdb.mi/mi-nonstop.exp: Likewise.
7755 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7756 * gdb.mi/mi-nsintrall.exp: Likewise.
7757 * gdb.mi/mi-nsmoribund.exp: Likewise.
7758 * gdb.mi/mi-nsthrexec.exp: Likewise.
7759 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7760 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7761 * gdb.python/py-evsignal.exp: Don't enable target-async.
7762 * gdb.python/py-evthreads.exp: Likewise.
7763 * gdb.python/py-prompt.exp: Likewise.
7764 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7765 * gdb.server/solib-list.exp: Don't enable target-async.
7766 * gdb.threads/thread-specific-bp.exp: Likewise.
7767 * lib/mi-support.exp: Adjust to use mi-async.
7768
fd664c91
PA
77692014-05-29 Pedro Alves <palves@redhat.com>
7770
7771 PR gdb/13860
7772 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7773 reason, even in sync mode.
7774
251bde03
PA
77752014-05-29 Pedro Alves <palves@redhat.com>
7776 Hui Zhu <hui@codesourcery.com>
7777
7778 PR PR15693
7779 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7780 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7781 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7782 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7783
7f3c0343
JB
77842014-05-28 Joel Brobecker <brobecker@adacore.com>
7785
7786 * config/monitor.exp (gdb_target_monitor): Replace use of
7787 "set remotebaud" by "set serial baud".
7788
b2715b27
AW
77892014-05-26 Andy Wingo <wingo@igalia.com>
7790
7791 * gdb.guile/scm-breakpoint.exp:
7792 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7793 properties instead of gdb-object-properties.
7794
498a4489
YQ
77952014-05-26 Yao Qi <yao@codesourcery.com>
7796
7797 * gdb.server/no-thread-db.exp: Specify source file name
7798 explicitly when setting a breakpoint.
7799
589fdceb
MM
78002014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7801
7802 * gdb.btrace/vdso.c: New.
7803 * gdb.btrace/vdso.exp: New.
7804
e9089e05
MM
78052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7806
7807 * gdb.base/gcore.exp (capture_command_output): Move ...
7808 * lib/gdb.exp (capture_command_output): ... here.
7809
67b5c0c1
MM
78102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7811
7812 * gdb.btrace/data.exp: Test memory access during btrace replay.
7813
a2199296
SM
78142014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7815
7816 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7817
17b2616c
PA
78182014-05-21 Pedro Alves <palves@redhat.com>
7819
7820 PR gdb/13860
7821 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7822 (top level): Test that output related to execution commands is
7823 sent to the console with CLI commands, but not with MI commands.
7824 Test that breakpoint events are always mirrored to the console.
7825 Also expect the new source line to be output after a "next" in
7826 async mode too. Make it a pass/fail test.
7827 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7828 output.
7829 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7830
5166082f
PA
78312014-05-21 Pedro Alves <palves@redhat.com>
7832
7833 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7834 Use them to test variations of "list" after reaching a breakpoint.
7835 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7836 Test "list" with listsize 10 after reaching a breakpoint.
7837 * gdb.python/python.exp (decode_line current location line
7838 number): Adjust expected line number.
7839
2f25d70f
SM
78402014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7841
7842 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7843 behavior for $args, pass it directly to "run".
7844
ff604a67
MR
78452014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7846
7847 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7848 30000 to 65536.
7849
6a3cb8e8
PA
78502014-05-21 Pedro Alves <palves@redhat.com>
7851
7852 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7853 auto-connect-native-target off".
7854 * gdb.base/auto-connect-native-target.c: New file.
7855 * gdb.base/auto-connect-native-target.exp: New file.
7856
4ebfc96e
PA
78572014-05-21 Pedro Alves <palves@redhat.com>
7858
7859 * gdb.base/default.exp: Test "target native" instead of "target
7860 child".
7861
36d46afb
MW
78622014-05-21 Mark Wielaard <mjw@redhat.com>
7863
7864 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7865
5876f503
JK
78662014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 Fix TLS access for -static -pthread.
7869 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7870 <HAVE_TLS> (thread_function, main): Initialize it.
7871 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7872 Add clean_restart.
7873 <$have_tls != "">: Check TLSVAR.
7874
0256a6ac
PA
78752014-05-21 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/dcache-line-read-error.c: New.
7878 * gdb.base/dcache-line-read-error.exp: New.
7879
936d2992
PA
78802014-05-20 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.base/compare-sections.c: New file.
7883 * gdb.base/compare-sections.exp: New file.
7884
802e8e6d
PA
78852014-05-20 Pedro Alves <palves@redhat.com>
7886
7887 * gdb.base/break-idempotent.c: New file.
7888 * gdb.base/break-idempotent.exp: New file.
7889
e59fa00f
MM
78902014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7891
7892 * gdb.btrace/nohist.exp: New.
7893
8b696e31
YQ
78942014-05-20 Yao Qi <yao@codesourcery.com>
7895
7896 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7897 gdb.reverse directory and gdb_reverse_timeout exists in board
7898 setting.
7899 * README: Document gdb_reverse_timeout.
7900
73c9764f
YQ
79012014-05-20 Yao Qi <yao@codesourcery.com>
7902
7903 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7904 'test_file_name'. Treat args as a string instead of a list.
7905 (gdb_init): Rename argument 'args' by 'test_file_name'.
7906
f1f4348a
JK
79072014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7908
7909 * gdb.arch/powerpc-power.exp: New file.
7910 * gdb.arch/powerpc-power.s: New file.
7911
0dbe70ce
DE
79122014-05-16 Doug Evans <dje@google.com>
7913
7914 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7915 * gdb.base/completion.exp: Check that all expected files exist
7916 before doing file completion.
0dbe70ce 7917
8d551b02
DE
79182014-05-16 Doug Evans <dje@google.com>
7919
7920 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7921 Update.
7922 (do_syscall_tests_without_xml): Update.
7923
73eb7709
PA
79242014-05-16 Pedro Alves <palves@redhat.com>
7925
7926 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7927 instead of "unknown output after running".
7928
3fae92fc
YQ
79292014-05-16 Yao Qi <yao@codesourcery.com>
7930
7931 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7932 file1.txt from host at the end.
7933 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7934
c2b2ccc5
DE
79352014-05-15 Doug Evans <dje@google.com>
7936
7937 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7938 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7939 loading file. Add test for TU lookup.
7940
8c217a4b
SM
79412014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7942
7943 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7944 calling "-exec-arguments" or "set args" before running the
7945 inferior.
7946
3deb39c6
SM
79472014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7948
7949 * lib/mi-support.exp (mi_expect_stop): Expect message for
7950 inferiors that exit with non-zero exit code.
7951
71a79f8c
YQ
79522014-05-14 Yao Qi <yao@codesourcery.com>
7953
7954 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7955 match absolute path on remote host.
7956 (test_file_list_exec_source_files): Remove "/" from the
7957 pattern.
7958
f23fcd46
YQ
79592014-05-14 Yao Qi <yao@codesourcery.com>
7960
7961 * boards/local-remote-host-notty.exp (${board}_file): New
7962 proc.
7963
9404b58f
KM
79642014-05-07 Kyle McMartin <kyle@redhat.com>
7965
7966 Pushed by Joel Brobecker <brobecker@adacore.com>.
7967 * gdb.arch/aarch64-atomic-inst.c: New file.
7968 * gdb.arch/aarch64-atomic-inst.exp: New file.
7969
5e45f04c
YQ
79702014-05-07 Yao Qi <yao@codesourcery.com>
7971
7972 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7973 in current context" too.
7974
c888a17d
KS
79752014-05-05 Keith Seitz <keiths@redhat.com>
7976
7977 * gdb.linespec/ls-dollar.exp: Add test for linespec
7978 file:convenience_variable.
7979
290a839c
YQ
79802014-05-05 Yao Qi <yao@codesourcery.com>
7981
7982 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7983 traceframes into tfile and ctf trace files. Read data from
7984 trace file and test collected data.
7985 (gdb_collect_locals_test): Likewise.
7986 (gdb_unavailable_registers_test): Likewise.
7987 (gdb_unavailable_floats): Likewise.
7988 (gdb_collect_globals_test): Likewise.
7989 (top-level): Append "ctf" to trace_file_targets if GDB
7990 supports.
7991
b5262cd0
YQ
79922014-05-05 Yao Qi <yao@codesourcery.com>
7993
7994 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7995 code to ...
7996 (gdb_collect_args_test_1): ... it. New proc.
7997 (gdb_collect_locals_test): Move some code to ...
7998 (gdb_collect_locals_test_1): ... it. New proc.
7999 (gdb_unavailable_registers_test): Move some code to ...
8000 (gdb_unavailable_registers_test_1): ... it. New proc.
8001 (gdb_unavailable_floats): Move some code to ...
8002 (gdb_unavailable_floats_1): ... it. New proc.
8003
30a1e6cc
SDJ
80042014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8005
8006 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8007 probes to test for bitness recognition.
8008 * gdb.arch/amd64-stap-optional-prefix.exp
8009 (test_probe_value_without_reg): New procedure.
8010 Add code to test for different kinds of bitness.
8011
f33da99a
SDJ
80122014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8013
8014 PR breakpoints/16889
8015 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8016 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8017
5b80f00d
PA
80182014-05-01 Pedro Alves <palves@redhat.com>
8019
8020 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8021 gdb_file_cmd if no file is specified.
8022 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8023 last_loaded_file to set the remote exec-file.
8024
f8c2a73c
PA
80252014-05-01 Pedro Alves <palves@redhat.com>
8026
8027 * boards/local-remote-host.exp: New file.
8028
be6e8ac7
PA
80292014-05-01 Pedro Alves <palves@redhat.com>
8030
8031 * boards/local-remote-host.exp: Rename to ...
8032 * boards/local-remote-host-notty.exp: ... this.
8033
cac0dc8f
JB
80342014-04-28 Joel Brobecker <brobecker@adacore.com>
8035
8036 * gdb.ada/dyn_arrayidx: New testcase.
8037
9730e6cc
YQ
80382014-04-26 Yao Qi <yao@codesourcery.com>
8039
8040 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8041 and compute the length of function main. Save it in
8042 $main_length.
8043 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8044 (top-level): Use gdb_compile to compile objects into
8045 executable and restart GDB. Remove invocation to
8046 prepare_for_testing.
8047
7ae1a6a6
PA
80482014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8049 Pedro Alves <palves@redhat.com>
8050
8051 PR server/16255
8052 * gdb.multi/multi-attach.c: New file.
8053 * gdb.multi/multi-attach.exp: New file.
8054
4082afcc
PA
80552014-04-25 Pedro Alves <palves@redhat.com>
8056
8057 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8058 user.
8059 (top level): Test that "set remote conditional-breakpoints-packet
8060 off" works as intended.
8061 * gdb.base/dprintf.exp: Test that "set remote
8062 breakpoint-commands-packet off" works as intended.
8063 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8064 New function.
8065 (top level): Call it.
8066 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8067 remote fast-tracepoints-packet off" works as intended.
8068 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8069 * lib/gdb.exp (gdb_is_target_remote): ... here.
8070
2abc3f8d
DB
80712014-04-24 David Blaikie <dblaikie@gmail.com>
8072
8073 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8074 ensure clang would not discard them.
8075 * gdb.base/gdbvars.c: Ditto.
8076 * gdb.base/memattr.c: Ditto.
8077 * gdb.base/whatis.c: Ditto.
8078 * gdb.python/py-prettyprint.c: Ditto.
8079 * gdb.trace/actions.c: Ditto.
8080 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8081 ensure clang would not discard it.
8082
bfd39632
DB
80832014-04-24 David Blaikie <dblaikie@gmail.com>
8084
8085 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8086 clang to emit the full definition of type required by the test
8087 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8088
22842ff6
DB
80892014-04-24 David Blaikie <dblaikie@gmail.com>
8090
8091 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8092 coax Clang into emitting the definition of the type.
8093 * gdb.cp/pr10728-x.h (y): Ditto.
8094 * gdb.cp/pr10728-y.cc (y): Ditto.
8095
c2e827ad
DB
80962014-04-24 David Blaikie <dblaikie@gmail.com>
8097
8098 * gdb.base/label.exp: XFAIL label related tests under Clang.
8099 * gdb.cp/cplabel.exp: Ditto.
8100 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8101 under Clang those using labels.
8102
4c2d33e7
YQ
81032014-04-25 Yao Qi <yao@codesourcery.com>
8104
8105 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8106 double_label.
8107 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8108 partial_label and double_label.
8109
56083b99
DB
81102014-04-24 David Blaikie <dblaikie@gmail.com>
8111
8112 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8113
25d4e99d
DB
81142014-04-24 David Blaikie <dblaikie@gmail.com>
8115
8116 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8117 of the function to work across GCC and Clang.
8118 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8119 pointer types (const void ** const V void **).
8120
01f9f808
MS
81212014-04-24 Michael Sturm <michael.sturm@mintel.com>
8122 Walfred Tedeschi <walfred.tedeschi@intel.com>
8123
8124 * Makefile.in (EXECUTABLES): Added i386-avx512.
8125 * gdb.arch/i386-avx512.c: New file.
8126 * gdb.arch/i386-avx512.exp: Likewise.
8127
4b48d439
KS
81282014-04-23 Keith Seitz <keiths@redhat.com>
8129
8130 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8131 (mi_make_breakpoint_table): New procedure.
8132 (mi_create_breakpoint): Use mi_make_breakpoint
8133 and return the result.
8134 (mi_make_breakpoint): New procedure.
8135 (mi_build_kv_pairs): New procedure.
8136
8137 * gdb.mi/mi-break.exp: Remove unused globals,
8138 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8139 All callers updated.
8140 * gdb.mi/mi-dprintf.exp: Use variable to track command
8141 number.
8142 Update all callers of mi_create_breakpoint and use
8143 mi_make_breakpoint_table.
8144 Remove any unused global variables.
8145 * gdb.mi/mi-nonstop.exp: Likewise.
8146 * gdb.mi/mi-nsintrall.exp: Likewise.
8147 * gdb.mi/mi-nsmoribund.exp: Likewise.
8148 * gdb.mi/mi-nsthrexec.exp: Likewise.
8149 * gdb.mi/mi-reverse.exp: Likewise.
8150 * gdb.mi/mi-simplerun.exp: Likewise.
8151 * gdb.mi/mi-stepn.exp: Likewise.
8152 * gdb.mi/mi-syn-frame.exp: Likewise.
8153 * gdb.mi/mi-until.exp: Likewise.
8154 * gdb.mi/mi-var-cp.exp: Likewise.
8155 * gdb.mi/mi-var-display.exp: Likewise.
8156 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8157 * gdb.mi/mi2-var-child.exp: Likewise.
8158 * gdb.mi/mi-vla-c99.exp: Likewise.
8159 * lib/mi-support.exp: Likewise.
8160
8161 From Ian Lance Taylor <iant@cygnus.com>:
8162 * lib/gdb.exp (parse_args): New procedure.
8163
08351840
PA
81642014-04-23 Pedro Alves <palves@redhat.com>
8165
8166 * gdb.base/break-unload-file.c: New file.
8167 * gdb.base/break-unload-file.exp: New file.
8168 * gdb.base/sym-file-lib.c (baz): New function.
8169 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8170 field.
8171 (load): Store the segment's mapped size.
8172 (unload): New function.
8173 (unload_shlib): New function.
8174 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8175 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8176 set a breakpoint at baz, and call it.
8177 * gdb.base/sym-file.exp: New tests for stale breakpoint
8178 instructions.
8179
076855f9
PA
81802014-04-23 Pedro Alves <palves@redhat.com>
8181
8182 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8183 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8184 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8185 * gdb.base/hbreak-unmapped.c: New file.
8186 * gdb.base/hbreak-unmapped.exp: New file.
8187 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8188 * lib/gdb.exp (gdb_is_target_remote): ... here.
8189
483805cf
PA
81902014-04-22 Pedro Alves <palves@redhat.com>
8191
8192 * gdb.base/consecutive-step-over.c: New file.
8193 * gdb.base/consecutive-step-over.exp: New file.
8194
06d97543
PA
81952014-04-22 Pedro Alves <palves@redhat.com>
8196
8197 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8198 instead of send_gdb/gdb_expect.
8199
b4429ea2
YQ
82002014-04-22 Yao Qi <yao@codesourcery.com>
8201
8202 * lib/trace-support.exp (generate_tracefile): New procedure.
8203 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8204 return 0.
8205 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8206 if generate_tracefile returns 1.
8207
51d48146
PA
82082014-04-18 Tom Tromey <palves@redhat.com>
8209 Pedro alves <tromey@redhat.com>
8210
8211 PR backtrace/15558
8212 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8213 with a backtrace limit.
8214 * gdb.python/py-frame-inline.exp: Test running to an inline
8215 function with a backtrace limit, and printing the newest frame.
8216 * gdb.python/py-frame-inline.c (main): Call f.
8217
bd1dce5f
MS
82182014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8219
8220 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8221
40d1a503
MS
82222014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8223
8224 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8225 Drop prefix from unsupported source file path.
8226
389b98f7
YQ
82272014-04-17 Yao Qi <yao@codesourcery.com>
8228
8229 * lib/gdb.exp (with_target_charset): New proc.
8230 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8231 with_target_charset.
8232 (test_print_strings): Likewise.
8233 (test_repeat_bytes): Likewise.
8234 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8235 for some tests.
8236
22869d73
KS
82372014-04-16 Keith Seitz <keiths@redhat.com>
8238
8239 PR gdb/15827
8240 * gdb.dwarf2/corrupt.c: New file.
8241 * gdb.dwarf2/corrupt.exp: New file.
8242
c4f87ca6
KS
82432014-04-16 Keith Seitz <keiths@redhat.com>
8244
8245 PR c++/16597
8246 * gdb.cp/namelessclass.cc: New file.
8247 * gdb.cp/namelessclass.exp: New file.
8248 * gdb.cp/namelessclass.S: New file.
8249
ab19de87
DE
82502014-04-16 Doug Evans <dje@google.com>
8251
8252 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8253 Add comment.
8254 (gdbserver_default_get_comm_port): New function.
8255 (gdbserver_start): Check if board file provided
8256 "gdbserver,get_comm_port" and use it if so.
8257 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8258 (gdb,socketport): Set to "stdio".
8259 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8260 (stdio_gdbserver_template): Delete.
8261 (${board}_get_remote_address): Update.
8262 (${board}_build_remote_cmd): Delete.
8263 (${board}_get_comm_port): New function.
8264 (${board}_spawn): Update.
8265 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8266 Delete.
8267 (${board}_get_remote_address): Update.
8268 (${board}_get_comm_port): New function.
8269
fc98a809
AB
82702014-04-16 Andrew Burgess <aburgess@broadcom.com>
8271
8272 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8273 appearing in any order.
8274
87fd9e6e
DE
82752014-04-15 Doug Evans <dje@google.com>
8276
8277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8278 uninitialized value of "description".
8279
099fc3ea
KS
82802014-04-15 Keith Seitz <keiths@redhat.com>
8281
8282 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8283 Remove unused globals.
8284 (test_running_the_program): Likewise.
8285 (test_controlled_execution): Likewise.
8286 (test_controlling_breakpoints): Likewise.
8287 (test_program_termination): Likewise.
8288
5da151d4
KS
82892014-04-15 Keith Seitz <keiths@redhat.com>
8290
8291 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8292 unused globals.
8293 (test_rbreak_creation_and_listing): Likewise.
8294 (test_ignore_count): Likewise.
8295 (test_error): Likewise.
8296
35e5d2f0
PA
82972014-04-15 Pedro Alves <palves@redhat.com>
8298
8299 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8300 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8301 sym-file-loader.c.
8302 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8303 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8304 to sym-file-loader.c.
8305 (struct library): Forward declare.
8306 (load_shlib, lookup_function): Change prototypes.
8307 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8308 (translate_offset): Remove declarations.
8309 (get_text_addr): New declaration.
8310 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8311 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8312 sym-file-loader.h.
8313 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8314 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8315 here from sym-file-loader.h.
8316 (struct library): New structure.
8317 (load_shlib, lookup_function): Change prototypes and adjust to
8318 work with a struct library.
8319 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8320 (translate_offset): Make static.
8321 (get_text_addr): New function.
8322 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8323
eb4c1710
PA
83242014-04-15 Pedro Alves <palves@redhat.com>
8325
8326 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8327
2d1baf52
PA
83282014-04-15 Pedro Alves <palves@redhat.com>
8329
8330 * gdb.base/sym-file-loader.c: Include <limits.h>.
8331 (SELF_LINK): New define.
8332 (get_origin): New function.
8333 (load_shlib): Use it.
8334 * gdb.base/sym-file.exp: Don't early return if the target is
8335 remote. Use runto_main, and issue fail is that fails. Use
8336 gdb_load_shlibs.
8337 (shlib_name): Delete.
8338 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8339
7dd6df01
PA
83402014-04-15 Pedro Alves <palves@redhat.com>
8341
8342 * gdb.base/sym-file.exp: Remove regex characters from test
8343 message. Don't refer to breakpoint numbers in test messages.
8344
b50c8614
KS
83452014-04-14 Keith Seitz <keiths@redhat.com>
8346
8347 PR c++/16253
8348 * gdb.cp/var-tag.cc: New file.
8349 * gdb.cp/var-tag.exp: New file.
8350 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8351 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8352 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8353 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8354
3d567982
TT
83552014-04-14 Tom Tromey <tromey@redhat.com>
8356
8357 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8358 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8359 type.
8360 * gdb.cp/enum-class.exp: New file.
8361 * gdb.cp/enum-class.cc: New file.
8362
0626fc76
TT
83632014-04-14 Tom Tromey <tromey@redhat.com>
8364
8365 * gdb.dwarf2/enum-type.exp: New file.
8366
dca325b3
SA
83672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8368
8369 * gdb.mi/mi-vla-c99.exp: New file.
8370 * gdb.mi/vla.c: New file.
8371
5854b38a
SA
83722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8373
8374 * gdb.base/vla-datatypes.c: New file.
8375 * gdb.base/vla-datatypes.exp: New file.
8376
463bb957
SA
83772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8378
8379 * gdb.base/vla-ptr.c: New file.
8380 * gdb.base/vla-ptr.exp: New file.
8381
3dd170be
SA
83822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8383
8384 * gdb.dwarf2/count.exp: New file.
8385
5ecaaa66
SA
83862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8387
8388 * gdb.base/vla-sideeffect.c: New file.
8389 * gdb.base/vla-sideeffect.exp: New file.
8390
41f1ada5
DB
83912014-04-14 David Blaikie <dblaikie@gmail.com>
8392
8393 * gdb.mi/non-stop.c: Add return value for non-void function return
8394 statement.
8395 * gdb.threads/staticthreads.c: Ditto.
8396
0be03e84
DE
83972014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8398 Doug Evans <xdje42@gmail.com>
8399
8400 * gdb.guile/scm-value.c: Improve test case.
8401 * gdb.guile/scm-value.exp: Add new test.
8402
f180a1fb
DB
84032014-04-11 David Blaikie <dblaikie@gmail.com>
8404
8405 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8406 override Clang's default.
8407
6b662e19
JB
84082014-04-11 Joel Brobecker <brobecker@adacore.com>
8409
8410 Revert the following changes (regressions):
8411
8412 * gdb.base/vla-sideeffect.c: New file.
8413 * gdb.base/vla-sideeffect.exp: New file.
8414
8415 * gdb.dwarf2/count.exp: New file.
8416
8417 * gdb.base/vla-multi.c: New file.
8418 * gdb.base/vla-multi.exp: New file.
8419
8420 * gdb.base/vla-ptr.c: New file.
8421 * gdb.base/vla-ptr.exp: New file.
8422
8423 * gdb.base/vla-datatypes.c: New file.
8424 * gdb.base/vla-datatypes.exp: New file.
8425
8426 * gdb.mi/mi-vla-c99.exp: New file.
8427 * gdb.mi/vla.c: New file.
8428
245a5f0b
KS
84292014-04-11 Keith Seitz <keiths@redhat.com>
8430
8431 PR c++/16675
8432 * gdb.cp/cpsizeof.exp: New file.
8433 * gdb.cp/cpsizeof.cc: New file.
8434
58a84dcf
SA
84352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8436
191a8a90
JB
8437 * gdb.mi/mi-vla-c99.exp: New file.
8438 * gdb.mi/vla.c: New file.
58a84dcf 8439
c8655f75
SA
84402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8441
8442 * gdb.base/vla-datatypes.c: New file.
8443 * gdb.base/vla-datatypes.exp: New file.
8444
024e13b4
SA
84452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8446
8447 * gdb.base/vla-ptr.c: New file.
8448 * gdb.base/vla-ptr.exp: New file.
8449
1a237e0e
SA
84502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8451
8452 * gdb.base/vla-multi.c: New file.
8453 * gdb.base/vla-multi.exp: New file.
8454
504f3432
SA
84552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8456
8457 * gdb.dwarf2/count.exp: New file.
8458
3bce8237
SA
84592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8460
191a8a90
JB
8461 * gdb.base/vla-sideeffect.c: New file.
8462 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8463
322f9c21
YQ
84642014-04-11 Yao Qi <yao@codesourcery.com>
8465
8466 * gdb.base/completion.exp: Check file exists before running tests
8467 on file completion.
8468
d708bcd1
PA
84692014-04-10 Pedro Alves <palves@redhat.com>
8470
8471 * gdb.base/cond-eval-mode.c: New file.
8472 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8473 prepare_for_testing to build the new file. Check result of
8474 runto_main.
8475 (test_break, test_watch): New procedures.
8476 (top level): Use them.
8477
ae1d2761
PM
84782014-04-08 Pierre Muller <muller@sourceware.org>
8479
8480 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8481 Ctrl-V use for mingw hosts.
8482
7af389b8
SC
84832014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8484
8485 * gdb.python/py-value.c: Improve test case.
8486 * gdb.python/py-value.exp: Add new test.
8487
5e703181
DE
84882014-04-07 David Blaikie <dblaikie@gmail.com>
8489
8490 * lib/compiler.c: Identify the clang compiler.
8491 * lib/compiler.cc: Ditto.
8492
9810b410
YQ
84932014-04-03 Yao Qi <yao@codesourcery.com>
8494
8495 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8496
98d1b8dc
AB
84972014-04-01 Anton Blanchard <anton@samba.org>
8498
8499 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8500 messages unique.
8501
3114cea1
AB
85022014-04-01 Anton Blanchard <anton@samba.org>
8503
8504 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8505 prepare_for_testing.
8506
62f7182c
AB
85072014-04-01 Anton Blanchard <anton@samba.org>
8508
8509 * gdb.arch/ppc64-atomic-inst.c: Remove.
8510 * gdb.arch/ppc64-atomic-inst.S: New file.
8511 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8512
770e7fc7
DE
85132014-03-31 Doug Evans <dje@google.com>
8514
8515 * gdb.base/print-symbol-loading-lib.c: New file.
8516 * gdb.base/print-symbol-loading-main.c: New file.
8517 * gdb.base/print-symbol-loading.exp: New file.
8518
46e2bafa
YQ
85192014-03-31 Yao Qi <yao@codesourcery.com>
8520
8521 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8522
8776cfe9
JB
85232014-03-28 Joel Brobecker <brobecker@adacore.com>
8524
8525 * gdb.ada/mi_dyn_arr: New testcase.
8526
5d1ef361
DE
85272014-03-27 Doug Evans <dje@google.com>
8528
8529 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8530
b5bee914
YQ
85312014-03-27 Yao Qi <yao@codesourcery.com>
8532
8533 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8534 if target is nios2-*-*.
8535
0d4d0e77
YQ
85362014-03-26 Yao Qi <yao@codesourcery.com>
8537
8538 * lib/gdb.exp (readline_is_used): New proc.
8539 * gdb.base/completion.exp: Move tests on command complete up.
8540 Skip the rest of tests if readline is not used.
8541 * gdb.ada/complete.exp: Skp the test if readline is not
8542 used.
8543 * gdb.base/filesym.exp: Likewise.
8544 * gdb.base/macscp.exp: Likewise.
8545 * gdb.base/readline-ask.exp: Likewise.
8546 * gdb.base/readline.exp: Likewise.
8547 * gdb.python/py-cmd.exp: Likewise.
8548 * gdb.trace/tfile.exp: Likewise.
8549
29361eee
YQ
85502014-03-26 Yao Qi <yao@codesourcery.com>
8551
8552 * gdb.base/macscp.exp: Fix code format issues.
8553
bc9a5525
UW
85542014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8555
8556 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8557 * gdb.asm/powerpc64le.inc: New file.
8558
d3839ede
PA
85592014-03-25 Pedro Alves <palves@redhat.com>
8560 Doug Evans <dje@google.com>
8561
8562 * gdb.base/source-execution.c: New file.
8563 * gdb.base/source-execution.exp: New file.
8564 * gdb.base/source-execution.gdb: New file.
8565
01672a57
DE
85662014-03-24 Doug Evans <dje@google.com>
8567
8568 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8569 using fission.
8570
88bbeca9
HZ
85712014-03-24 Hui Zhu <hui@codesourcery.com>
8572 Pedro Alves <palves@redhat.com>
8573
8574 PR breakpoints/16101
8575 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8576 test pass/fail messages. Detect missing support for dprintf when
8577 breakpoints are actually inserted.
8578 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8579 breakpoints are actually inserted.
8580 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8581 fails.
8582
d2348791
JK
85832014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8584
8585 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8586
feef67ab
DE
85872014-03-22 Doug Evans <xdje42@gmail.com>
8588
8589 * gdb.python/python.exp (python not supported): Verify multi-line
8590 python command issues an error.
25d743f9 8591 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8592 guile command issues an error.
feef67ab 8593
ecebef6a
MR
85942014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8595
8596 * gdb.threads/thread-specific.exp: Handle the lack of usable
8597 $this_breakpoint and $this_thread.
8598
ccdd1909
HZ
85992014-03-21 Hui Zhu <hui@codesourcery.com>
8600
8601 * gdb.base/attach.exp (do_command_attach_tests): New.
8602
beb460e8
PA
86032014-03-20 Tom Tromey <tromey@redhat.com>
8604 Pedro Alves <palves@redhat.com>
8605
8606 PR cli/15718
8607 * gdb.base/condbreak-call-false.c: New file.
8608 * gdb.base/condbreak-call-false.exp: New file.
8609
40acf43a
PA
86102014-03-20 Pedro Alves <palves@redhat.com>
8611
8612 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8613 Delete.
8614 (block_signals, unblock_signals): Delete.
8615 (child_function_2, main): Remove references to deleted variable
8616 and functions.
8617
9f5e1e02
PA
86182014-03-20 Pedro Alves <palves@redhat.com>
8619
8620 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8621 Use pthread_kill to signal thread 2.
8622 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8623 Adjust to make the test send itself a signal rather than using the
8624 host's "kill" command.
8625
99619bea
PA
86262014-03-20 Pedro Alves <palves@redhat.com>
8627
8628 * gdb.threads/multiple-step-overs.c: New file.
8629 * gdb.threads/multiple-step-overs.exp: New file.
8630 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8631 Adjust expected infrun debug output.
8632
2adfaa28
PA
86332014-03-20 Pedro Alves <palves@redhat.com>
8634
8635 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8636 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8637
31e77af2
PA
86382014-03-20 Pedro Alves <palves@redhat.com>
8639
8640 PR breakpoints/7143
8641 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8642 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8643 of gdb_test_multiple.
8644 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8645 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8646
b9f437de
PA
86472014-03-20 Pedro Alves <palves@redhat.com>
8648
8649 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8650 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8651
05adc73e
PA
86522014-03-19 Pedro Alves <palves@redhat.com>
8653
8654 * gdb.base/async.exp: Remove early return.
8655
6048b950
PA
86562014-03-19 Pedro Alves <palves@redhat.com>
8657
8658 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8659
8bcfb00a
PA
86602014-03-19 Pedro Alves <palves@redhat.com>
8661
8662 * gdb.base/async.exp (test_background): Expect \r\n after
8663 "completed." in the fail pattern.
8664
884e37dc
PA
86652014-03-19 Pedro Alves <palves@redhat.com>
8666
8667 * gdb.base/async.exp (test_background): New procedure.
8668 Use it for all background execution command tests.
8669
148e57e2
PA
86702014-03-19 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.base/async.exp: Use prepare_for_testing.
8673
f48088c7
PA
86742014-03-19 Pedro Alves <palves@redhat.com>
8675
8676 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8677 the same line.
8678
e2f6c966
PA
86792014-03-19 Pedro Alves <palves@redhat.com>
8680
8681 * gdb.base/async.c (main): Add "jump here" and "until here" line
8682 marker comments.
8683 * gdb.base/async.exp (jump_here): New global.
8684 (jump& test): Use it.
8685 (until_here): New global.
8686 (until& test): Use it.
8687
c30568d4
PA
86882014-03-19 Pedro Alves <palves@redhat.com>
8689
8690 * gdb.base/async.exp: Don't frob gdb_protocol.
8691
0172b6a7
DE
86922014-03-18 Doug Evans <xdje42@gmail.com>
8693
8694 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8695 Fix spelling of exec-done-display.
8696
06c868a8
JK
86972014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8698
8699 PR gdb/15358
8700 * gdb.base/gdb-sigterm.c: New file.
8701 * gdb.base/gdb-sigterm.exp: New file.
8702
0c7e1a46
PA
87032014-03-18 Pedro Alves <palves@redhat.com>
8704
8705 PR gdb/13860
8706 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8707 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8708 solib-event.
8709
f7c77d93
JB
87102014-03-17 Joel Brobecker <brobecker@adacore.com>
8711
8712 * gdb.ada/pckd_arr_ren: New testcase.
8713
5a1e8c7a
DE
87142014-03-13 Doug Evans <xdje42@gmail.com>
8715
8716 PR guile/16612
8717 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8718 collect after discarding symbols.
8719
350e1a76
DE
87202014-03-13 Ludovic Courtès <ludo@gnu.org>
8721 Doug Evans <xdje42@gmail.com>
8722
8723 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8724 to history survives a gc.
8725
a69900ae
PA
87262014-03-13 Pedro Alves <palves@redhat.com>
8727
8728 * gdb.base/default.exp: Don't test "target procfs".
8729
5db9f0bd
PA
87302014-03-13 Pedro Alves <palves@redhat.com>
8731
8732 * gdb.base/default.exp: Update "target child" and "target procfs"
8733 tests to not expect "Unix".
8734
b3ccfe11
TT
87352014-03-12 Tom Tromey <tromey@redhat.com>
8736
8737 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8738 New procs. Add target-async tests.
8739 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8740 Add target-async tests.
8741
646f4417
AA
87422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8743
8744 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8745 'func_start' and 'func_end' for the beginning and end of the
8746 function code, respectively.
8747 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8748 'func_end' instead of 'func' and 'main'.
8749
288c211f
AA
87502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8751
8752 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8753 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8754 generate the debug info assembler source.
8755
e0c0f156
AA
87562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8757
8758 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8759 * gdb.dwarf2/arr-subrange.exp: Likewise.
8760 * gdb.dwarf2/dwz.exp: Likewise.
8761 * gdb.dwarf2/method-ptr.exp: Likewise.
8762 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8763 * gdb.dwarf2/subrange.exp: Likewise.
8764 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8765 * gdb.dwarf2/implptrpiece.exp: Likewise.
8766 * gdb.dwarf2/nostaticblock.exp: Likewise.
8767
0e5c4555
AA
87682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8769
8770 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8771 directory to absolute path name arguments.
8772
5ec18f2b
JG
87732014-03-10 Joel Brobecker <brobecker@adacore.com>
8774
8775 * gdb.ada/tagged_access: New testcase.
8776
847fc4f2
MM
87772014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8778
8779 * gdb.btrace/data.exp: Update expected output.
8780
cc3da688
YQ
87812014-03-06 Yao Qi <yao@codesourcery.com>
8782
8783 * gdb.trace/pr16508.exp: New file.
8784
0f26cec1
PA
87852014-03-05 Pedro Alves <palves@redhat.com>
8786
8787 PR gdb/16575
8788 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8789 procedure.
8790 (top level): Adjust to use it. Add tests that exercise breakpoint
8791 interaction with the code-cache.
8792
7a5a839f
LC
87932014-02-26 Ludovic Courtès <ludo@gnu.org>
8794
8795 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8796 test for 'history-append!'.
8797
31aa7e4e
JB
87982014-02-26 Joel Brobecker <brobecker@adacore.com>
8799
8800 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8801 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8802 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8803 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8804 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8805 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8806
1b588015
JB
88072014-02-26 Joel Brobecker <brobecker@adacore.com>
8808
8809 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8810 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8811 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8812
55426c9d
JB
88132014-02-26 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8816
dc53a7ad
JB
88172014-02-26 Joel Brobecker <brobecker@adacore.com>
8818
8819 * gdb.dwarf2/arr-stride.c: New file.
8820 * gdb.dwarf2/arr-stride.exp: New file.
8821
12ab52e9
PA
88222014-02-26 Pedro Alves <palves@redhat.com>
8823
8824 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8825 that won't ever trigger. Make sure that GDB reports the correct
8826 breakpoint that caused the stop.
8827
849c862e
JK
88282014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8829
8830 PR gdb/16626
8831 * gdb.base/auto-load-script: New file.
8832 * gdb.base/auto-load.c: New file.
8833 * gdb.base/auto-load.exp: New file.
8834
71b7d793
JK
8835 PR gdb/16626
8836 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8837
e2f0d509
JK
88382014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8839
8840 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8841 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8842
50cc37c8
DE
88432014-02-24 Doug Evans <dje@google.com>
8844
8845 * lib/gdb.exp (run_on_host): Log error output if program fails.
8846
ea4758f2
PA
88472014-02-21 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.threads/step-after-sr-lock.c: Rename to ...
8850 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8851 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8852 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8853 ... this.
8854
d7b30f67
SDJ
88552014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8856
8857 PR tdep/16397
8858 * gdb.arch/amd64-stap-special-operands.exp: New file.
8859 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8860 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8861 * gdb.arch/amd64-stap-triplet.S: Likewise.
8862 * gdb.arch/amd64-stap-triplet.c: Likewise.
8863
83deb43f
JB
88642014-02-20 Joel Brobecker <brobecker@adacore.com>
8865
8866 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8867 in .section pseudo-op.
8868
adde2bff
DE
88692014-02-20 lin zuojian <manjian2006@gmail.com>
8870 Joel Brobecker <brobecker@adacore.com>
8871 Doug Evans <xdje42@gmail.com>
8872
8873 PR symtab/16581
8874 * gdb.dwarf2/dw2-icycle.S: New file.
8875 * gdb.dwarf2/dw2-icycle.c: New file.
8876 * gdb.dwarf2/dw2-icycle.exp: New file.
8877
f7bd0f78
SC
88782014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8879
8880 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8881 operations on gdb.Value objects.
8882 * gdb.python/py-value-cc.exp: Add new test to test operations on
8883 gdb.Value objects.
8884
c17ef0d5
DE
88852014-02-18 Doug Evans <dje@google.com>
8886
8887 * Makefile.in (TESTS): New variable.
8888 (expanded_tests, expanded_tests_or_none): New variables
8889 (check-single): Pass $(expanded_tests_or_none) to runtest.
8890 (check-parallel): Only run tests in $(TESTS) if non-empty.
8891 (check/no-matching-tests-found): New rule.
8892 * README: Document TESTS makefile variable.
8893
5dd3176f
DE
88942014-02-18 Doug Evans <dje@google.com>
8895
8896 * Makefile.in (check-parallel): rm -rf outputs temp.
8897
0b10be4f
JK
88982014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8899
8900 Fix "ERROR: no fileid for" in the testsuite.
8901 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8902
85f224e7
DE
89032014-02-12 Doug Evans <dje@google.com>
8904
8905 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8906 (MISCELLANEOUS): New variable.
8907 (clean): rm -rf $(MISCELLANEOUS).
8908 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8909 dwp live in the same directory as symlinks, with each symlink pointed
8910 to a differently named file in a different directory.
8911
149b30ff
DE
89122014-02-11 Doug Evans <dje@google.com>
8913
8914 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8915 of Tcl file commands.
8916
1dfdac32
MK
89172014-02-10 Mark Kettenis <kettenis@gnu.org>
8918
8919 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8920 "kill -SIGUSR1 -1".
8921
aa4fb036
JB
89222014-02-10 Joel Brobecker <brobecker@adacore.com>
8923
8924 * gdb.ada/tick_length_array_enum_idx: New testcase.
8925
ed3ef339
DE
89262014-02-10 Doug Evans <xdje42@gmail.com>
8927
8928 * configure.ac (AC_OUTPUT): Add gdb.guile.
8929 * configure: Regenerate.
8930 * lib/gdb-guile.exp: New file.
8931 * lib/gdb.exp (get_target_charset): New function.
8932 * gdb.base/help.exp: Update expected output from "apropos apropos".
8933 * gdb.guile/Makefile.in: New file.
8934 * gdb.guile/guile.exp: New file.
8935 * gdb.guile/scm-arch.c: New file.
8936 * gdb.guile/scm-arch.exp: New file.
8937 * gdb.guile/scm-block.c: New file.
8938 * gdb.guile/scm-block.exp: New file.
8939 * gdb.guile/scm-breakpoint.c: New file.
8940 * gdb.guile/scm-breakpoint.exp: New file.
8941 * gdb.guile/scm-disasm.c: New file.
8942 * gdb.guile/scm-disasm.exp: New file.
8943 * gdb.guile/scm-equal.c: New file.
8944 * gdb.guile/scm-equal.exp: New file.
8945 * gdb.guile/scm-error.exp: New file.
8946 * gdb.guile/scm-error.scm: New file.
8947 * gdb.guile/scm-frame-args.c: New file.
8948 * gdb.guile/scm-frame-args.exp: New file.
8949 * gdb.guile/scm-frame-args.scm: New file.
8950 * gdb.guile/scm-frame-inline.c: New file.
8951 * gdb.guile/scm-frame-inline.exp: New file.
8952 * gdb.guile/scm-frame.c: New file.
8953 * gdb.guile/scm-frame.exp: New file.
8954 * gdb.guile/scm-generics.exp: New file.
8955 * gdb.guile/scm-gsmob.exp: New file.
8956 * gdb.guile/scm-iterator.c: New file.
8957 * gdb.guile/scm-iterator.exp: New file.
8958 * gdb.guile/scm-math.c: New file.
8959 * gdb.guile/scm-math.exp: New file.
8960 * gdb.guile/scm-objfile-script-gdb.in: New file.
8961 * gdb.guile/scm-objfile-script.c: New file.
8962 * gdb.guile/scm-objfile-script.exp: New file.
8963 * gdb.guile/scm-objfile.c: New file.
8964 * gdb.guile/scm-objfile.exp: New file.
8965 * gdb.guile/scm-ports.exp: New file.
8966 * gdb.guile/scm-pretty-print.c: New file.
8967 * gdb.guile/scm-pretty-print.exp: New file.
8968 * gdb.guile/scm-pretty-print.scm: New file.
8969 * gdb.guile/scm-section-script.c: New file.
8970 * gdb.guile/scm-section-script.exp: New file.
8971 * gdb.guile/scm-section-script.scm: New file.
8972 * gdb.guile/scm-symbol.c: New file.
8973 * gdb.guile/scm-symbol.exp: New file.
8974 * gdb.guile/scm-symtab-2.c: New file.
8975 * gdb.guile/scm-symtab.c: New file.
8976 * gdb.guile/scm-symtab.exp: New file.
8977 * gdb.guile/scm-type.c: New file.
8978 * gdb.guile/scm-type.exp: New file.
8979 * gdb.guile/scm-value-cc.cc: New file.
8980 * gdb.guile/scm-value-cc.exp: New file.
8981 * gdb.guile/scm-value.c: New file.
8982 * gdb.guile/scm-value.exp: New file.
8983 * gdb.guile/source2.scm: New file.
8984 * gdb.guile/types-module.cc: New file.
8985 * gdb.guile/types-module.exp: New file.
8986
7026a7c1
YQ
89872014-02-10 Yao Qi <yao@codesourcery.com>
8988
8989 PR testsuite/16543
8990 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8991 * configure: Regenerated.
8992 * Makefile.in: New file.
8993
6c466447
AS
89942014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8995
8996 * gdb.python/py-framefilter.exp: Fix typo.
8997
6e854735
YQ
89982014-02-08 Yao Qi <yao@codesourcery.com>
8999
9000 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9001 that no =breakpoint-modified is emitted when breakpoints are
9002 modified through MI commands.
9003
d137e6dc
PA
90042014-02-07 Pedro Alves <pedro@codesourcery.com>
9005 Pedro Alves <palves@redhat.com>
9006
9007 * gdb.threads/step-after-sr-lock.c: New file.
9008 * gdb.threads/step-after-sr-lock.exp: New file.
9009
b5ee5a50
PA
90102014-02-07 Pedro Alves <palves@redhat.com>
9011
9012 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9013
3c77faf3
JK
90142014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9015
9016 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9017 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9018
6dddc817
DE
90192014-02-06 Doug Evans <xdje42@gmail.com>
9020
9021 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9022 output.
9023
9024 * gdb.gdb/python-interrupts.exp: New file.
9025
de7b2893
YQ
90262014-02-05 Yao Qi <yao@codesourcery.com>
9027
9028 * gdb.trace/report.exp (use_collected_data): Test the output
9029 of "info threads" and "info inferiors".
9030
66d032ac
YQ
90312014-02-05 Yao Qi <yao@codesourcery.com>
9032
9033 Revert this patch:
9034
9035 2013-05-24 Yao Qi <yao@codesourcery.com>
9036
9037 * gdb.trace/tfile.exp: Test inferior and thread.
9038
591a12a1
UW
90392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9040
9041 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9042 on a function.
9043 * gdb.base/step-bt.c: Call hello via function pointer to make
9044 sure its first instruction is executed on powerpc64le-linux.
9045
0ff3e01f
UW
90462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9047
9048 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9049
084ee545
UW
90502014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9051
9052 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9053 of the test patterns for use on little-endian systems.
9054
6ed14ff3
UW
90552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9056
9057 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9058 (decimal_vector): Fix for little-endian.
9059
401e27fd
JM
90602014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9061
9062 * gdb.arch/sparc-sysstep.exp: New file.
9063 * gdb.arch/sparc-sysstep.c: Likewise.
9064
9065 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9066
8b924729
EBM
90672014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9068
9069 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9070
fb151210
JB
90712014-01-23 Tom Tromey <tromey@redhat.com>
9072
9073 * gdb.ada/array_char_idx: New testcase.
9074
0740f8d8
TT
90752014-01-23 Tom Tromey <tromey@redhat.com>
9076
9077 PR python/16487:
9078 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9079 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9080 classes.
9081
21909fa1
TT
90822014-01-23 Tom Tromey <tromey@redhat.com>
9083
9084 PR python/16491:
9085 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9086 string from an inferior frame.
9087 * gdb.python/py-framefilter-mi.exp: Update.
9088
87ce2a04
DE
90892014-01-22 Doug Evans <dje@google.com>
9090
9091 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9092
237b092b
AA
90932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9094
9095 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9096
d674a709
AA
90972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9098
9099 * gdb.trace/entry-values.exp: Remove excess space character from
9100 regex patterns. Handle s390 call instruction.
9101
20fa3390
AA
91022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9103
9104 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9105 define "*_start" label. Make "name" static.
9106 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9107 ${name} by references to ${name}_start.
9108
78466714
AA
91092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9110
9111 * gdb.base/info-macros.exp: Remove "debug" from the compile
9112 options.
9113
ec9f644a
IB
91142014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9115
9116 * gdb.dlang/demangle.exp: New file.
9117
94b1b47e
IB
91182014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9119
9120 * gdb.dlang/primitive-types.exp: New file.
9121
7f420862
IB
91222014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9123
9124 * configure.ac: Create gdb.dlang/Makefile.
9125 * configure: Regenerate.
9126 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9127 * gdb.dlang/Makefile.in: New file.
9128 * lib/d-support.exp: New file.
9129 * lib/gdb.exp (skip_d_tests): New proc.
9130
52834460
MM
91312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9132
9133 * gdb.btrace/delta.exp: Check reverse stepi.
9134 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9135 * gdb.btrace/finish.exp: New.
9136 * gdb.btrace/next.exp: New.
9137 * gdb.btrace/nexti.exp: New.
9138 * gdb.btrace/record_goto.c: Add comments.
9139 * gdb.btrace/step.exp: New.
9140 * gdb.btrace/stepi.exp: New.
9141 * gdb.btrace/multi-thread-step.c: New.
9142 * gdb.btrace/multi-thread-step.exp: New.
9143 * gdb.btrace/rn-dl-bind.c: New.
9144 * gdb.btrace/rn-dl-bind.exp: New.
9145 * gdb.btrace/data.c: New.
9146 * gdb.btrace/data.exp: New.
9147 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9148
6e07b1d2
MM
91492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9150
9151 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9152 * gdb.btrace/exception.exp: Update.
9153 * gdb.btrace/instruction_history.exp: Update.
9154 * gdb.btrace/record_goto.exp: Update.
9155 * gdb.btrace/tailcall.exp: Update.
9156 * gdb.btrace/unknown_functions.exp: Update.
9157 * gdb.btrace/delta.exp: New.
9158
0b722aec
MM
91592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9160
9161 * gdb.btrace/record_goto.exp: Add backtrace test.
9162 * gdb.btrace/tailcall.exp: Add backtrace test.
9163
066ce621
MM
91642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9165
9166 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9167 * gdb.btrace/record_goto.c: New.
9168 * gdb.btrace/record_goto.exp: New.
9169 * gdb.btrace/x86-record_goto.S: New.
9170
0688d04e
MM
91712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9172
9173 * gdb.btrace/function_call_history.exp: Update tests.
9174 * gdb.btrace/instruction_history.exp: Update tests.
9175
8710b709
MM
91762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9177
9178 * gdb.btrace/function_call_history.exp: Fix expected field
9179 order for "record function-call-history".
9180 Add new tests for "record function-call-history /c".
9181 * gdb.btrace/exception.cc: New.
9182 * gdb.btrace/exception.exp: New.
9183 * gdb.btrace/tailcall.exp: New.
9184 * gdb.btrace/x86-tailcall.S: New.
9185 * gdb.btrace/x86-tailcall.c: New.
9186 * gdb.btrace/unknown_functions.c: New.
9187 * gdb.btrace/unknown_functions.exp: New.
9188 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9189
5de9129b
MM
91902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9191
9192 * gdb.btrace/instruction_history.exp: Update.
9193 * gdb.btrace/function_call_history.exp: Update.
9194
23a7fe75
MM
91952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9196
9197 * gdb.btrace/function_call_history.exp: Fix expected function
9198 trace.
9199 * gdb.btrace/instruction_history.exp: Initialize traced.
9200 Remove traced_functions.
9201
724c7dd8
MM
92022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9203
9204 * gdb.btrace/function_call_history.exp: Update
9205 * gdb.btrace/instruction_history.exp: Update.
9206
6d78d93b
MM
92072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9208
9209 * gdb.btrace/enable.exp: Update expected text.
9210
93a360cc
OJ
92112014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9212
9213 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9214 bytes.
9215
3772b53f
MR
92162014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9217
9218 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9219
596662fa
OJ
92202014-01-15 Omair Javaid <omair.javaid@linaro.org>
9221
9222 * lib/gdb.exp (supports_process_record): Return true for
9223 arm*-linux*. (supports_reverse): Likewise.
9224
b5b08fb4
SC
92252014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9226
9227 PR python/15464
9228 PR python/16113
9229 * gdb.python/py-type.c: Enhance test case.
9230 * gdb.python/py-value-cc.cc: Likewise
9231 * gdb.python/py-type.exp: Add new tests.
9232 * gdb.python/py-value-cc.exp: Likewise
9233
52d7fb13
AA
92342014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9235 Pedro Alves <palves@redhat.com>
9236
9237 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9238 Make "name" extern.
9239 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9240 references to ${name}_start by references to ${name}.
9241
a2cd8cfe
JB
92422014-01-10 Joel Brobecker <brobecker@adacore.com>
9243
9244 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9245
4e23fced
JB
92462014-01-10 Joel Brobecker <brobecker@adacore.com>
9247
9248 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9249
c6a9e42c
PA
92502014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9251 Pedro Alves <palves@redhat.com>
9252
9253 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9254 mi_gdb_target_load.
c6a9e42c 9255
b7ea362b
PA
92562014-01-08 Pedro Alves <palves@redhat.com>
9257
9258 * gdb.threads/reconnect-signal.c: New file.
9259 * gdb.threads/reconnect-signal.exp: New file.
9260
5e3f4fab
EBM
92612014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9262
9263 * gdb.base/source-dir.exp: New file.
9264
79301218
JB
92652014-01-07 Joel Brobecker <brobecker@adacore.com>
9266
9267 * gdb.ada/mi_interface: New testcase.
9268
8e355c5d
JB
92692014-01-07 Joel Brobecker <brobecker@adacore.com>
9270
9271 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9272 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9273 gdb.ada/pp-rec-component/pck.ads: New files.
9274
c0d48811
JB
92752014-01-07 Joel Brobecker <brobecker@adacore.com>
9276
9277 * gdb.python/py-pp-integral.c: New file.
9278 * gdb.python/py-pp-integral.py: New file.
9279 * gdb.python/py-pp-integral.exp: New file.
9280
17b609c3 9281For older changes see ChangeLog-1993-2013.
c906108c 9282\f
8d8cb839
EZ
9283;; Local Variables:
9284;; mode: change-log
9285;; left-margin: 8
9286;; fill-column: 74
9287;; version-control: never
9288;; End:
902f2ccb 9289
618f726f 9290 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9291 Copying and distribution of this file, with or without modification,
9292 are permitted provided the copyright notice and this notice are preserved.