Fix py-value.exp failure on Python 3
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7353f247
TT
12016-11-08 Tom Tromey <tom@tromey.com>
2
3 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4 depend on Python 2.
5
30a7bb83
TT
62016-11-08 Tom Tromey <tom@tromey.com>
7
8 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9 New method.
10
cdf5a07c
MG
112016-10-29 Manish Goregaokar <manish@mozilla.com>
12
13 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`
14
51a789c3
MG
152016-10-27 Manish Goregaokar <manish@mozilla.com>
16
17 * gdb.rust/simple.rs: Add test for univariant enums without discriminants
18 and for encoded struct-like enums
19
f610ab6d
PA
202016-10-28 Pedro Alves <palves@redhat.com>
21
22 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
23 gdb_test_multiple, tighten regexps and match symtabs and line
24 tables incrementally.
25
b129b0ca
LM
262016-10-28 Luis Machado <lgustavo@codesourcery.com>
27
28 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
29 general.
30
ecf45d2c
SL
312016-10-25 Luis Machado <lgustavo@codesourcery.com>
32
33 * gdb.base/exec-invalid-sysroot.exp: New file.
34
b8d38ee4
JK
352016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
36
37 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
38
f90fd8c2
JK
392016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
40
41 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
42
2d2476aa
MR
432016-10-19 Maciej W. Rozycki <macro@imgtec.com>
44
45 * gdb.base/killed-outside.exp: Remove $options from a call to
46 `prepare_for_testing'.
47
e42b25a0
SM
482016-10-17 Simon Marchi <simon.marchi@ericsson.com>
49
50 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
51 Change test message.
52
3ccdb432
SM
532016-10-17 Simon Marchi <simon.marchi@ericsson.com>
54
55 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
56 Update comment.
57
5bad3170
SM
582016-10-17 Simon Marchi <simon.marchi@ericsson.com>
59
60 * gdb.trace/mi-trace-save.exp: New file.
61
5ad9dba7
YQ
622016-10-13 Yao Qi <yao.qi@linaro.org>
63
64 * gdb.base/code_elim.exp (get_var_address): Remove.
65 * gdb.base/relocate.exp: Likewise.
66 * gdb.base/shreloc.exp: Likewise.
67 * lib/gdb.exp (get_var_address): New.
68
62df7e21
YQ
692016-10-13 Yao Qi <yao.qi@linaro.org>
70
71 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
72 floating point tests if $skip_float_test is false.
73
4dac951e
LM
742016-10-12 Luis Machado <lgustavo@codesourcery.com>
75
76 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
77 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
78 argc values.
79 Add 1 to argc so we guarantee distinct initial/modified argc values.
80
8f1a8fc4
JK
812016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
84
16c85b5d
JK
852016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
86
87 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
88 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
89 * gdb.arch/vsx-regs.exp: Likewise.
90
1d0e042a
YQ
912016-10-07 Yao Qi <yao.qi@linaro.org>
92
93 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
94
68dadef5
MM
952016-10-07 Markus Metzger <markus.t.metzger@intel.com>
96
97 * gdb.python/python.exp: Test decode_line("*0").
98
33fa2c6e
DE
992016-10-06 Doug Evans <dje@google.com>
100
101 * gdb.python/py-value.exp (test_value_creation): Add test for large
102 unsigned 64-bit value.
103
9c37b5ae
TT
1042016-10-06 Tom Tromey <tom@tromey.com>
105
106 * gdb.compile/compile.exp: Change java tests to rust.
107 * gdb.base/setshow.exp: Change java tests to rust.
108 * gdb.base/default.exp: Remove java from language list.
109 * README (Examples): Update language example.
110 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
111 test.
112 * lib/gdb.exp (skip_java_tests): Remove.
113 * lib/java.exp: Remove.
114 * gdb.java: Remove.
115
78b86327
MR
1162016-10-06 Maciej W. Rozycki <macro@imgtec.com>
117
118 * gdb.arch/mips-fcr.exp: New test.
119 * gdb.arch/mips-fcr.c: Source for the new test.
120
7470adbb
MR
1212016-10-06 Maciej W. Rozycki <macro@imgtec.com>
122
123 * gdb.base/solib-disc.exp: Use `standard_output_file'
124 throughout.
125
4a556533
PA
1262016-10-06 Pedro Alves <palves@redhat.com>
127
128 * gdb.base/jit-simple-dl.c: New file.
129 * gdb.base/jit-simple-jit.c: New file, factored out from ...
130 * gdb.base/jit-simple.c: ... this.
131 * gdb.base/jit-simple.exp (jit_run): Delete.
132 (build_jit): New proc.
133 (jit_test_reread): Recompile either the main program or the shared
134 library, depending on what is being tested. Skip changing address
135 if caller wants to. Compare before/after addresses. If testing
136 standalone, explicitly load the binary. Test "maint info
137 breakpoints".
138 (top level): Add "standalone vs shared lib" and "change address"
139 vs "same address" axes.
140
5a122fbc
PA
1412016-10-06 Pedro Alves <palves@redhat.com>
142
143 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
144 call.
145 (jit_run): Delete.
146 (jit_test_reread): Use with_test_prefix. Reload the main binary
147 explicitly. Compare the before/after addresses of the JIT
148 descriptor.
149
ee8da4b8
DE
1502016-08-15 Doug Evans <dje@google.com>
151
152 * gdb.xml/extra-regs.xml: Update, end field now required, default type
153 for single bitfields is bool.
154 * gdb.xml/tdesc-regs.exp: Ditto.
155
f389f6fe
JK
1562016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
157
158 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
159
fdebf1a4
YQ
1602016-10-05 Yao Qi <yao.qi@linaro.org>
161
162 * lib/gdb.exp (support_complex_tests): Return zero if
163 gdb_skip_float_test return true.
164
9c36d954
AT
1652016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1662016-10-03 Simon Marchi <simon.marchi@ericsson.com>
167
168 PR gdb/20487
169 * gdb.mi/user-selected-context-sync.exp: New file.
170 * gdb.mi/user-selected-context-sync.c: New file.
171
4034d0ff
AT
1722016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1732016-10-03 Simon Marchi <simon.marchi@ericsson.com>
174
175 PR gdb/20487
176 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
177 =thread-select-event check.
178
a4297203
PB
1792016-09-29 Peter Bergner <bergner@vnet.ibm.com>
180
181 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
182 the compulsory L operand changes.
183 * gdb.arch/powerpc-power.s: Likewise.
184
bb805577
JK
1852016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
186
187 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
188 * gdb.base/jit-attach-pie.c: New file.
189 * gdb.base/jit-attach-pie.exp: New file.
190
6d61dee5
PA
1912016-09-28 Pedro Alves <palves@redhat.com>
192
193 * gdb.base/infcall-input.c: New file.
194 * gdb.base/infcall-input.exp: New file.
195
f73842fc
YQ
1962016-09-22 Yao Qi <yao.qi@linaro.org>
197
198 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
199 (gdb_exit): Rename it to ...
200 (gdbserver_gdb_exit): ... Close GDBserver.
201 (gdb_exit): New proc, call gdbserver_gdb_exit.
202 (mi_gdb_exit): Likewise.
203
90681dab
YQ
2042016-09-22 Yao Qi <yao.qi@linaro.org>
205
206 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
207 path.
208 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
209 Remove duplication.
210
9c211fd8
YQ
2112016-09-22 Yao Qi <yao.qi@linaro.org>
212
213 * lib/gdbserver-support.exp: Check the existence of
214 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
215
ad0a504f
AK
2162016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
217
218 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
219
36cf1806
TT
2202016-09-21 Tom Tromey <tom@tromey.com>
221
222 PR gdb/20604:
223 * gdb.base/quit.exp: New file.
224
74172ecf
SM
2252016-09-21 Simon Marchi <simon.marchi@ericsson.com>
226
227 * .gitignore: New file.
228
3d0ec882
MR
2292016-09-21 Maciej W. Rozycki <macro@imgtec.com>
230
231 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
232 throughout.
233
8193adea
AA
2342016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
235
236 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
237
d41a5c09
JK
2382016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 * gdb.cp/casts.cc (decltype): Move it ...
241 (main): ... with its call to ...
242 * gdb.cp/casts03.cc: ... a new file.
243 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
244
d2dfe700
JK
2452016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
246
247 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
248
e2a92b16
PB
2492016-09-15 Peter Bergner <bergner@vnet.ibm.com>
250
251 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
252 and sync up the test with tests in gas/testsuite/gas/ppc.
253 * gdb.arch/powerpc-power.exp: Likewise.
254
49b4de64
JK
2552016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
256
257 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
258
2c29df25
SDJ
2592016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
260 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
263 make m1's definition to be different from m2's. Use 'dummy' as an
264 argument for probe 'two'.
265
cc3c2846
JB
2662016-09-10 Jon Beniston <jon@beniston.com>
267
268 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
269 for sim target.
270
e1b2624a
AA
2712016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
272
273 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
274 variable declaration.
275 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
276 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
277 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
278 received HWCAP as its argument.
279
4295e285
PA
2802016-09-06 Pedro Alves <palves@redhat.com>
281
282 * gdb.base/new-ui-pending-input.c: New file.
283 * gdb.base/new-ui-pending-input.exp: New file.
284 * gdb.exp (clear_gdb_spawn_id): New procedure.
285 (with_spawn_id): Check whether gdb_spawn_id exists before
286 referencing it. If gdb_spawn_id didn't exist on entry, clear it
287 on exit.
288
00d5215e
UW
2892016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
290
291 * gdb.base/float128.c: New file.
292 * gdb.base/float128.exp: Likewise.
293 * gdb.base/floatn.c: Likewise.
294 * gdb.base/floatn.exp: Likewise.
295
a9ff5f12
UW
2962016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
297
298 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
299
f245535c
PA
3002016-09-05 Pedro Alves <palves@redhat.com>
301
302 PR backtrace/19927
303 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
304 unwinders are immediately called as side effect of "source" or
305 "disable unwinder" commands.
306 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
307
ae9cf263
YQ
3082016-09-02 Yao Qi <yao.qi@linaro.org>
309
310 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
311 is true and $type is "float" or "double".
312
27aba047
YQ
3132016-09-02 Yao Qi <yao.qi@linaro.org>
314
315 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
316 true.
317 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
318 * gdb.base/call-rt-st.exp: Likewise.
319 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
320 return value instead of gdb,skip_float_test.
321 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
322 (do_function_calls): Use its return value instead of
323 gdb,skip_float_test.
324 * gdb.base/finish.exp: Likewise.
325 * gdb.base/funcargs.exp: Likewise.
326 * gdb.base/return.exp: Likewise.
327 * gdb.base/return2.exp: Likewise.
328 * gdb.base/varargs.exp: Likewise.
329 * lib/gdb.exp (gdb_skip_float_test): Change it to
330 gdb_caching_proc. Detect the broken ptrace on arm-linux.
331
5af962df
AA
3322016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
333
334 * gdb.multi/tids.exp: Test "thread apply all".
335
7fac6910
JK
3362016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
337
338 * gdb.base/default.exp (tty): Remove.
339
bb1fe4ac
KB
3402016-08-24 Kevin Buettner <kevinb@redhat.com>
341
342 * gdb.python/py-recurse-unwind.c: New file.
343 * gdb.python/py-recurse-unwind.py: New file.
344 * gdb.python/py-recurse-unwind.exp: New file.
345
0a1ddfa6
SM
3462016-08-24 Simon Marchi <simon.marchi@ericsson.com>
347
348 * gdb.base/set-inferior-tty.exp: New file.
349 * gdb.base/set-inferior-tty.c: New file.
350
d9de1fe3
PA
3512016-08-23 Pedro Alves <palves@redhat.com>
352
353 PR gdb/20494
354 * gdb.base/new-ui-echo.c: New file.
355 * gdb.base/new-ui-echo.exp: New file.
356
e9d9abd7
YQ
3572016-08-23 Yao Qi <yao.qi@linaro.org>
358
359 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
360 gdbserver_spawn.
361 * gdb.server/connect-without-multi-process.exp (do_test):
362 Likewise.
363
3589529e
YQ
3642016-08-23 Yao Qi <yao.qi@linaro.org>
365
366 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
367 standalone_txt. Delete gdb_txt and standalone_txt on host
368 and target. Spawn the binary on target. Copy files from
369 target to host.
370
6bb90213
PA
3712016-08-22 Pedro Alves <palves@redhat.com>
372
373 PR gdb/20505
374 * gdb.base/vdso-warning.exp: Test core dumps too. Use
375 with_test_prefix. Factor out bits to ...
376 (test_no_vdso): ... this new procedure.
377
20c2c024
CL
3782016-08-19 Carl Love <cel@us.ibm.com>
379
380 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
381 maintaining separate logic for constructing the output path.
382 * gdb.arch/powerpc-d128-regs.exp: Likewise.
383 * gdb.arch/ppc-dfp.exp: Likewise.
384 * gdb.arch/ppc-fp.exp: Likewise.
385 * gdb.arch/vsx-regs.exp: Likewise.
386 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
387 binprefix for generating the additional binary files.
388
0646e07d
PA
3892016-08-19 Pedro Alves <palves@redhat.com>
390
391 * gdb.trace/mi-trace-frame-collected.exp
392 (test_trace_frame_collected): On x32, expect two registers.
393
46da9242
CL
3942016-08-18 Carl Love <cel@us.ibm.com>
395
396 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
397 and sync up the test with tests in gas/testsuite/gas/ppc.
398 * gdb.arch/powerpc-power.exp: Likewise.
399
eb2332d7
SM
4002016-08-17 Simon Marchi <simon.marchi@ericsson.com>
401
402 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
403 expected error message.
404
63c61e04
SM
4052016-08-17 Simon Marchi <simon.marchi@ericsson.com>
406
407 * gdb.multi/remove-inferiors.exp: New file.
408 * gdb.multi/remove-inferiors.c: New file.
409
7b17065f
YQ
4102016-08-12 Yao Qi <yao.qi@linaro.org>
411
412 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
413 argument list.
414
01d3dedf
PA
4152016-08-10 Pedro Alves <palves@redhat.com>
416
417 PR gdb/19187
418 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
419 setup_kfails.
420
3eb7562a
PA
4212016-08-09 Pedro Alves <palves@redhat.com>
422 Simon Marchi <simon.marchi@ericsson.com>
423
424 PR gdb/20418
425 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
426 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
427
80614914
PA
4282016-08-09 Pedro Alves <palves@redhat.com>
429
430 PR mi/20431
431 * gdb.mi/mi-cmd-error.exp: New file.
432
f348d89a
PA
4332016-08-09 Pedro Alves <palves@redhat.com>
434
435 PR gdb/18653
436 * gdb.base/signals-state-child.c: New file.
437 * gdb.base/signals-state-child.exp: New file.
438 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
439
e5ca03b4
PA
4402016-08-09 Pedro Alves <palves@redhat.com>
441
442 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
443
282a0691
TT
4442016-08-03 Tom Tromey <tom@tromey.com>
445
446 PR python/18565:
447 * gdb.python/py-frame-inline.exp: Add Frame.function test.
448
41bfcd63
YQ
4492016-08-01 Yao Qi <yao.qi@linaro.org>
450
451 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
452 variable mode to "multi-process" if $multi_process is 1, otherwise
453 set it to "single-process".
454
e3465b24
YQ
4552016-08-01 Yao Qi <yao.qi@linaro.org>
456
457 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
458 * gdb.cp/cpexprs.exp: Likewise.
459 * gdb.cp/m-static.exp: Likewise.
460
0b31a4bc
TT
4612016-07-26 Tom Tromey <tom@tromey.com>
462
463 PR python/20190:
464 * gdb.threads/tls.exp (check_thread_local): Add python symbol
465 test.
466
e0461dbb
MM
4672016-07-26 Markus Metzger <markus.t.metzger@intel.com>
468
469 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
470 selecting assembly source files.
471 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
472 assembly source files.
473 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
474 assembly source files.
475 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
476 selecting assembly source files.
477
8194e927
SM
4782016-07-25 Simon Marchi <simon.marchi@ericsson.com>
479
480 * gdb.base/new-ui.exp (do_test_invalid_args): New
481 procedure.
482
c0272db5
TW
4832016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
484
485 * gdb.btrace/reconnect.c: New file.
486 * gdb.btrace/reconnect.exp: New file.
487
e3487908
GKB
4882016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
489
490 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
491 to test_catch_syscall_group.
492 (test_catch_syscall_group): New.
493
12df5c00
TT
4942016-07-21 Tom Tromey <tom@tromey.com>
495
496 * gdb.rust/simple.rs (main): Use empty struct expression.
497 * gdb.rust/simple.exp: Add tests for empty struct expression.
498
bae62ee2
YQ
4992016-07-21 Yao Qi <yao.qi@linaro.org>
500
501 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
502 if gdb_skip_xml_test is true on some targets.
503
b1b53fb3
YQ
5042016-07-21 Yao Qi <yao.qi@linaro.org>
505
506 * gdb.server/solib-list.exp: Unset last_loaded_file.
507
027d97f8
JK
5082016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
509
510 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
511 "step into captured_main (args)".
512
7674d381
JK
5132016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
514
515 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
516
72b5d099
JK
5172016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
518
519 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
520
1f960ced
PA
5212016-07-19 Pedro Alves <palves@redhat.com>
522
523 * gdb.opt/inline-break.exp: Remove optimize=-O2.
524 * gdb.opt/inline-bt.exp: Likewise.
525 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
526 additional_flags=-Winline.
527 * gdb.opt/inline-locals.exp: Likewise.
528 * gdb.opt/inline-markers.c (ATTR): Define.
529 (inlined_fn): Use it.
530
f25827c1
YQ
5312016-07-19 Yao Qi <yao.qi@linaro.org>
532
533 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
534 (test_with_self): Remove some code. Remove argument executable.
535 (top-level): Use do_self_tests.
536
37539ebe
DB
5372016-07-15 Zachary Welch <zwelch@codesourcery.com>
538 Don Breazeal <donb@codesourcery.com>
539
540 * gdb.base/maint.exp: Escape paths used in regular expressions.
541 * gdb.stabs/weird.exp: Likewise.
542
dac790e1
TT
5432016-07-13 Tom Tromey <tom@tromey.com>
544
545 PR python/15620, PR python/18620:
546 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
547 (test_bkpt_events): New procs.
548
93daf339
TT
5492016-07-13 Tom Tromey <tom@tromey.com>
550
551 PR python/17698:
552 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
553 test.
554 (test_watchpoints): Likewise.
555 (test_bkpt_pending): New proc.
556
6571a381
TT
5572016-07-13 Tom Tromey <tom@tromey.com>
558
559 PR cli/18053:
560 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
561 completion test.
562
e8732474
JK
5632016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
564
565 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
566 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
567 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
568 f_label.
569 (g): Rename g_end_lbl to g_label.
570 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
571 low_pc and high_pc.
572 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
573
e0f3fd7c
TT
5742016-07-12 Tom Tromey <tom@tromey.com>
575
576 PR python/19293:
577 * gdb.python/py-unwind-maint.exp: Update tests.
578
3cfe46b6
YQ
5792016-07-12 Yao Qi <yao.qi@linaro.org>
580
581 * lib/selftest-support.exp (selftest_setup): Match the output
582 when captured_main is inlined.
583
4f19a0e6
WT
5842016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
585
586 * gdb.fortran/derived-types.exp (result_line, result_line_2):
587 New variables.
588 (print this%a, print this%b, print this): New tests.
589 * gdb.fortran/derived-types.f90 (this): New object and
590 initialization.
591
986cf455
SM
5922016-07-06 Simon Marchi <simon.marchi@ericsson.com>
593
594 * gdb.ada/arraydim.exp: Remove extra directory level in build
595 directory.
596
f0464b23
SM
5972016-07-06 Simon Marchi <simon.marchi@ericsson.com>
598
599 * lib/ada.exp: Remove extra directory level in build directory.
600 * gdb.ada/cond_lang.exp: Likewise.
601 * gdb.ada/exec_changed.exp: Likewise.
602 * gdb.ada/lang_switch.exp: Likewise.
603
42d94011
MG
6042016-07-06 Manish Goregaokar <manish@mozilla.com>
605
606 * simple.rs: Add test for raw pointer subscripting
607 * simple.exp: Add test expectations
608
647c264c
YQ
6092016-07-05 Yao Qi <yao.qi@linaro.org>
610
611 * gdb.mi/mi-reverse.exp: Match =record-started output.
612
20aa2c60
PA
6132016-07-01 Pedro Alves <palves@redhat.com>
614
615 * gdb.base/jit-reader.exp (info_registers_current_frame): New
616 procedure.
617 (jit_reader_test): Test the jit reader's unwinder.
618 * gdb.base/jithost.c (jit_function_00_code): New global.
619 (main): Use memcpy to fill in the mmapped code, instead of poking
620 bytes manually here.
621 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
622 value.
623 (read_debug_info): Save the function's range.
624 (read_sp): New function.
625 (unwind_frame): Use it. Also unwind RBP.
626 (get_frame_id): Use read_sp.
627 (gdb_init_reader): Use calloc instead of malloc.
628 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
629 parameter. Use gdb_test_multiple.
630
ced2dffb
PA
6312016-07-01 Pedro Alves <palves@redhat.com>
632 Antoine Tremblay <antoine.tremblay@ericsson.com>
633
634 * gdb.threads/process-dies-while-detaching.c: New file.
635 * gdb.threads/process-dies-while-detaching.exp: New file.
636
63000888
PA
6372016-07-01 Pedro Alves <palves@redhat.com>
638
639 * gdb.multi/watchpoint-multi-exit.c: New file.
640 * gdb.multi/watchpoint-multi-exit.exp: New file.
641
038d4868
PA
6422016-06-30 Pedro Alves <palves@redhat.com>
643
644 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
645 unset inferior_spawn_id.
646
994e9c83
PA
6472016-06-30 Pedro Alves <palves@redhat.com>
648
649 * lib/mi-support.exp (default_mi_gdb_start): Declare global
650 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
651
e5653468
YQ
6522016-06-29 Yao Qi <yao.qi@linaro.org>
653
654 * gdb.base/return.c: Add copyright header.
655
803b47e5
TT
6562016-06-29 Tom Tromey <tom@tromey.com>
657
658 PR python/20129:
659 * gdb.python/py-framefilter.exp: Add tests for setting priority
660 and disabling of non-existent frame filter.
661
28244707
YQ
6622016-06-29 Yao Qi <yao.qi@linaro.org>
663
664 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
665 0x0f07ff.
666
a31d2f06
YQ
6672016-06-28 Yao Qi <yao.qi@linaro.org>
668
669 * gdb.base/catch-syscall.exp: Remove check on isnative and target
670 triplets. Start gdb, execute catch syscall, and continue. Check
671 gdb's output to determine catch syscall is supported.
672
921d8f54
MG
6732016-06-27 Manish Goregaokar <manish@mozilla.com>
674
25d49b86
PA
675 * gdb.rust/simple.rs: Add test for returning unit in a function.
676 * gdb.rust/simple.exp: Add expectation for functions returning
677 unit.
921d8f54 678
f4952523
PMR
6792016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
680
681 * gdb.python/py-breakpoint-create-fail.c,
682 gdb.python/py-breakpoint-create-fail.exp,
683 gdb.python/py-breakpoint-create-fail.py: New testcase.
684
fccb08f8
MG
6852016-06-25 Manish Goregaokar <manish@mozilla.com>
686
687 PR gdb/20239
688 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
689 * gdb.rust/simple.exp: Add test expectations for new NonZero
690 tests.
fccb08f8 691
6b850546
DT
6922016-06-24 David Taylor <dtaylor@emc.com>
693
694 * gdb.base/offsets.exp: New file.
695 * gdb.base/offsets.c: New file.
696
17621150
TT
6972016-06-23 Tom Tromey <tom@tromey.com>
698
699 PR gdb/16483:
700 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
701 before any filters are loaded.
702
04d59df6
WT
7032016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
704
705 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
706 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
707 structs.
708 * gdb.fortran/derived-type-function.exp: New file.
709 * gdb.fortran/derived-type-function.f90: New file.
710
711
ac69f786
PA
7122016-06-21 Pedro Alves <palves@redhat.com>
713
714 * gdb.base/new-ui.exp: New file.
715 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
716 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
717 (with_spawn_id): New procedure.
718
49940788
PA
7192016-06-21 Pedro Alves <palves@redhat.com>
720
721 * gdb.mi/mi-exec-run.exp: New file.
722
ef274d26
PA
7232016-06-21 Pedro Alves <palves@redhat.com>
724
725 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
726 breakpoint command's output on the main UI.
727 (test_break): New procedure, factored out from calls in the top
728 level.
729 (top level): Use foreach_with_prefix to test MI as main UI and as
730 separate UI.
731
468afe6c
PA
7322016-06-21 Pedro Alves <palves@redhat.com>
733
734 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
735 (test_awatch_creation_and_listing)
736 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
737 Remove 'type' parameter.
738 (test_watchpoint_all): New parameter mi_mode. Remove
739 with_test_prefix.
740 (top level): Use foreach_with_prefix, and add main/separate UI MI
741 testing axis.
742
51f77c37
PA
7432016-06-21 Pedro Alves <palves@redhat.com>
744
745 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
746 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
747 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
748 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
749 (gdb_main_spawn_id, mi_spawn_id): Declare and
750 comment.
751 (mi_create_inferior_pty): New procedure,
752 factored out from default_mi_gdb_start.
753 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
754 procedures.
755 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
756 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
757 Use mi_create_inferior_pty.
758 (mi_gdb_start): Use eval to pass down args list.
759
8980e177
PA
7602016-06-21 Pedro Alves <palves@redhat.com>
761
762 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
763 * gdb.opt/inline-cmds.exp: Add MI tests.
764
f38d3ad1
PA
7652016-06-21 Pedro Alves <palves@redhat.com>
766
767 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
768
45db7c09
PA
7692016-06-21 Pedro Alves <palves@redhat.com>
770
771 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
772 (top level): Use it instead of mi_execute_to.
773
5a069ab3
PA
7742016-06-21 Pedro Alves <palves@redhat.com>
775
776 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
777 (cont_handler_str): New.
778 (signal_stop_handler): Set stop_handler_str instead of printing to
779 stdout.
780 (continue_handler): Set cont_handler_str instead of printing to
781 stdout.
782 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
783 mi_send_resuming_command. Print stop_handler_str and
784 cont_handler_str instead of expecting the python events print
785 directly.
786
2838cc1d
SD
7872016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
788
789 * gdb.base/jit-reader.exp: New file.
790 * gdb.base/jithost.c: New file.
791 * gdb.base/jithost.h: New file.
792 * gdb.base/jitreader.c : New file.
793 * gdb.base/jit-protocol.h: New file.
794
21a77091
YQ
7952016-06-17 Yao Qi <yao.qi@linaro.org>
796
797 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
798 parameters follow_fork and detach_on_fork. Set follow-fork-mode
799 and detach-on-fork. Adjust tests.
800 (top level): Invoke break_cond_on_syscall with combinations of
801 syscall, follow-fork-mode and detach-on-fork.
802
f50bf8e5
YQ
8032016-06-17 Yao Qi <yao.qi@linaro.org>
804
805 * gdb.base/step-over-exit.c: New.
806 * gdb.base/step-over-exit.exp: New.
807
a28d8e50
YTL
8082016-06-17 Yan-Ting Lin <currygt52@gmail.com>
809
810 * gdb.base/float.exp: Add target check for nds32*-*-*.
811 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
812
cad8e26d
AB
8132016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
814
815 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
816 for unsupported target features.
817 * gdb.base/call-rt-st.exp: Likewise.
818 * gdb.base/call-sc.exp: Likewise.
819 * gdb.base/call-signal-resume.exp: Likewise.
820 * gdb.base/call-strs.exp: Likewise.
821 * gdb.base/callexit.exp: Likewise.
822 * gdb.base/callfuncs.exp: Likewise.
823 * gdb.base/nodebug.exp: Likewise.
824 * gdb.base/printcmds.exp: Likewise.
825 * gdb.base/ptype.exp: Likewise.
826 * gdb.base/structs.exp: Likewise.
827 * gdb.base/unwindonsignal.exp: Likewise.
828 * gdb.cp/gdb2495.exp: Likewise.
829 * gdb.cp/templates.exp: Likewise.
830 * gdb.cp/virtfunc.exp: Likewise.
831 * gdb.threads/hand-call-in-threads.exp: Likewise.
832 * gdb.threads/interrupted-hand-call.exp: Likewise.
833 * gdb.threads/thread-unwindonsignal.exp: Likewise.
834
347dc102
TT
8352016-06-10 Tom Tromey <tom@tromey.com>
836
837 PR rust/20110:
838 * gdb.rust/expr.exp: Add test for integer constant larger than
839 i32.
840
5e13cf25
BH
8412016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
842
843 * gdb.fortran/nested-funcs.exp: New.
844 * gdb.fortran/nested-funcs.f90: New.
845
bb556f1f
TK
8462016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
847
848 * gdb.base/examine-backward.c: New file.
849 * gdb.base/examine-backward.exp: New file.
850
38b022b4
SM
8512016-06-06 Simon Marchi <simon.marchi@ericsson.com>
852
853 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
854 matching.
855
1b40ec05
TT
8562016-06-02 Tom Tromey <tom@tromey.com>
857
858 PR python/18984:
859 * gdb.python/py-shared.exp: Add solib_name test.
860
193bd378
SM
8612016-06-02 Simon Marchi <simon.marchi@ericsson.com>
862
863 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
864
3326303b
MG
8652016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
866
867 PR c++/19893
868 * gdb.dwarf2/implref.exp: Rename to...
869 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
870 * gdb.dwarf2/implref-array.c: New file.
871 * gdb.dwarf2/implref-array.exp: Likewise.
872 * gdb.dwarf2/implref-global.c: Likewise.
873 * gdb.dwarf2/implref-global.exp: Likewise.
874 * gdb.dwarf2/implref-struct.c: Likewise.
875 * gdb.dwarf2/implref-struct.exp: Likewise.
876
825c8ef2
AT
8772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
878
879 * gdb.trace/trace-condition.exp: Add 64bit tests.
880
2320162a
AT
8812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
882
883 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
884 bits types.
885 (main): Adapt to 8 to 64 bits types.
886 * gdb.trace/trace-condition.exp: Add new tests.
887
a7818233
AT
8882016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
889
890 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
891
0d336466
AT
8922016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
893
894 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
895 Move condition tests...
896 * gdb.trace/trace-condition.exp: Here.
897
7faeb45a
AT
8982016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
899
900 * gdb.trace/trace-condition.exp: Add counter-case tests.
901
e385593e
JK
9022016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
903
904 PR c++/15231
905 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
906 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
907
744608cc
PA
9082016-05-27 Pedro Alves <palves@redhat.com>
909
910 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
911 New procedure.
912 (top level): Call it, and bail out of DejaGnu is known to be bad.
913
ac775bf4
AB
9142016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.base/whatis.c: Extend the test case.
917 * gdb.base/whatis.exp: Add additional tests.
918
2bbad2ea
BH
9192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
920
921* gdb.fortran/type.f90: Add pointer variable.
922* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
923
8b70175d
BH
9242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
925
926 * gdb.fortran/vla-type.exp: Fix testcase name.
927
86d8a848
BH
9282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
929
930 * gdb.fortran/vla-type.exp: Access elements in nested structs.
931
e188eb36
BH
9322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
933
934 * gdb.fortran/type.f90: Add nested structures.
935 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
936 * gdb.fortran/derived-type.exp: Adapt expected output.
937 * gdb.fortran/vla-type.exp: Adapt expected output.
938
9b2db1fd
BH
9392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
940
941 * gdb.fortran/whatis_type.exp: Adapt expected output.
942
72b17055
BH
9432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
944
945 * gdb.fortran/print_type.exp: Fix expected output.
946 * gdb.fortran/whatis_type.exp: Fix expected output.
947
3cd81d8d
BH
9482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
949
950 * gdb.fortran/whatis_type.exp: Use multi_line.
951
ddae9462
TT
9522016-05-24 Tom Tromey <tom@tromey.com>
953
954 PR python/17386:
955 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
956 use value as an index.
957
1957f6b8
TT
9582016-05-23 Tom Tromey <tom@tromey.com>
959
960 PR python/17981:
961 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
962 no-breakpoint case.
963
026a9174
PA
9642016-05-24 Pedro Alves <palves@redhat.com>
965
966 PR gdb/19828
967 * gdb.threads/clone-attach-detach.c: New file.
968 * gdb.threads/clone-attach-detach.exp: New file.
969
e70a7231
FR
9702016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
971
972 * gdb.base/annota-input-while-running.exp: Fix syntax error.
973
0f6ed0e0
TT
9742016-05-23 Tom Tromey <tom@tromey.com>
975
976 PR python/19438, PR python/18393:
977 * gdb.python/py-progspace.exp: Add "dir" test.
978 * gdb.python/py-objfile.exp: Add "dir" test.
979
ffd19d61
YQ
9802016-05-23 Yao Qi <yao.qi@linaro.org>
981
982 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
983 * gdb.arch/thumb2-it.exp: Likewise.
984
9e8f9b05
SM
9852016-05-18 Simon Marchi <simon.marchi@ericsson.com>
986
987 * gdb.mi/mi-threads-interrupt.c: New file.
988 * gdb.mi/mi-threads-interrupt.exp: New file.
989
61c6156d
SM
9902016-05-17 Simon Marchi <simon.marchi@ericsson.com>
991
992 PR gdb/18077
993 * gdb.mi/mi-async-run.exp: New file.
994 * gdb.mi/mi-async-run.c: New file.
995
67218854
TT
9962016-05-17 Tom Tromey <tom@tromey.com>
997 Manish Goregaokar <manishsmail@gmail.com>
998
999 * lib/rust-support.exp: New file.
1000 * lib/gdb.exp (skip_rust_tests): New proc.
1001 (build_executable_from_specs): Handle rust.
1002 * lib/future.exp (gdb_find_rustc): New proc.
1003 (gdb_default_target_compile): Handle rust.
1004 * gdb.rust/expr.exp: New file.
1005 * gdb.rust/generics.exp: New file.
1006 * gdb.rust/generics.rs: New file.
1007 * gdb.rust/methods.exp: New file.
1008 * gdb.rust/methods.rs: New file.
1009 * gdb.rust/modules.exp: New file.
1010 * gdb.rust/modules.rs: New file.
1011 * gdb.rust/simple.exp: New file.
1012 * gdb.rust/simple.rs: New file.
1013
c44af4eb
TT
10142016-05-17 Tom Tromey <tom@tromey.com>
1015
1016 * gdb.base/default.exp (set language): Add rust.
1017
dcd1f979
TT
10182016-05-17 Tom Tromey <tom@tromey.com>
1019
1020 * gdb.gdb/unittest.exp: New file.
1021
155b7f57
YQ
10222016-05-16 Yao Qi <yao.qi@linaro.org>
1023
1024 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1025 shell_prompt. Update shell_prompt_re.
1026
8ddd5a6c
DE
10272016-05-12 Doug Evans <dje@google.com>
1028
1029 PR symtab/19999
1030 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1031 $options when building executable.
1032 * gdb.dwarf2/fission-loclists-pie.S: New file.
1033 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1034
02e370d9
SM
10352016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1036
1037 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1038 of [is_remote target],
1039
8929ad8b
SM
10402016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1041
1042 * lib/gdb.exp (use_gdb_stub): New procedure.
1043
6c447423
DE
10442016-05-03 Yunlian Jiang <yunlian@google.com>
1045 Doug Evans <dje@google.com>
1046
1047 PR symtab/19914
1048 * gdb.dwarf2/dwp-sepdebug.c: New file.
1049 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1050
444e826c
SM
10512016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1052
1053 * gdb.base/detach.exp: Remove is_remote check.
1054
740feeaa
SM
10552016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1056
1057 * gdb.base/annota-input-while-running.exp: Don't check for
1058 [is_remote target]. Enable annotations after running to main.
1059 Remove unused "set test..." line.
1060
9080ac9d
SM
10612016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1062
1063 * gdb.trace/trace-enable-disable.exp: New file.
1064 * gdb.trace/trace-enable-disable.c: New file.
1065
952ebca5
SM
10662016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1067
1068 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1069 use it in info sharedlibrary test.
1070 * gdb.trace/ftrace-lock.exp: Likewise.
1071 * gdb.trace/ftrace.exp: Likewise.
1072 * gdb.trace/range-stepping.exp: Likewise.
1073 * gdb.trace/trace-break.exp: Likewise.
1074 * gdb.trace/trace-condition.exp: Likewise.
1075 * gdb.trace/trace-mt.exp: Likewise.
1076
d9019901
SM
10772016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1078
1079 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1080 (gdb_load_shlib): ... this.
1081 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1082 gdb_load_shlib.
1083 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1084 * gdb.base/ctxobj.exp: Likewise.
1085 * gdb.base/dprintf-pending.exp: Likewise.
1086 * gdb.base/dso2dso.exp: Likewise.
1087 * gdb.base/fixsection.exp: Likewise.
1088 * gdb.base/gcore-relro.exp: Likewise.
1089 * gdb.base/gdb1555.exp: Likewise.
1090 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1091 * gdb.base/gnu-ifunc.exp: Likewise.
1092 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1093 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1094 * gdb.base/pending.exp: Likewise.
1095 * gdb.base/print-file-var.exp: Likewise.
1096 * gdb.base/print-symbol-loading.exp: Likewise.
1097 * gdb.base/shlib-call.exp: Likewise.
1098 * gdb.base/shreloc.exp: Likewise.
1099 * gdb.base/so-impl-ld.exp: Likewise.
1100 * gdb.base/solib-disc.exp: Likewise.
1101 * gdb.base/solib-nodir.exp: Likewise.
1102 * gdb.base/solib-overlap.exp: Likewise.
1103 * gdb.base/solib-symbol.exp: Likewise.
1104 * gdb.base/solib-weak.exp (do_test): Likewise.
1105 * gdb.base/sym-file.exp: Likewise.
1106 * gdb.base/symtab-search-order.exp: Likewise.
1107 * gdb.base/type-opaque.exp: Likewise.
1108 * gdb.base/unload.exp: Likewise.
1109 * gdb.base/watchpoint-solib.exp: Likewise.
1110 * gdb.compile/compile.exp: Likewise.
1111 * gdb.cp/gdb2384.exp: Likewise.
1112 * gdb.cp/infcall-dlopen.exp: Likewise.
1113 * gdb.cp/re-set-overloaded.exp: Likewise.
1114 * gdb.fortran/library-module.exp: Likewise.
1115 * gdb.opt/solib-intra-step.exp: Likewise.
1116 * gdb.python/py-finish-breakpoint.exp: Likewise.
1117 * gdb.python/py-shared.exp: Likewise.
1118 * gdb.reverse/solib-precsave.exp: Likewise.
1119 * gdb.reverse/solib-reverse.exp: Likewise.
1120 * gdb.server/solib-list.exp: Likewise.
1121 * gdb.threads/dlopen-libpthread.exp: Likewise.
1122 * gdb.threads/tls-shared.exp: Likewise.
1123 * gdb.threads/tls-so_extern.exp: Likewise.
1124 * gdb.trace/change-loc.exp: Likewise.
1125 * gdb.trace/ftrace-lock.exp: Likewise.
1126 * gdb.trace/ftrace.exp: Likewise.
1127 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1128 * gdb.trace/pending.exp: Likewise.
1129 * gdb.trace/range-stepping.exp: Likewise.
1130 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1131 (strace_info_marker): Likewise.
1132 (strace_probe_marker): Likewise.
1133 (strace_trace_on_same_addr): Likewise.
1134 (strace_trace_on_diff_addr): Likewise.
1135 * gdb.trace/trace-break.exp: Likewise.
1136 * gdb.trace/trace-condition.exp: Likewise.
1137 * gdb.trace/trace-mt.exp: Likewise.
1138
fca4cfd9
SM
11392016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1140
1141 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1142 result of gdb_remote_download.
1143 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1144 * gdb.base/dso2dso.exp: Likewise.
1145 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1146 * gdb.base/print-file-var.exp: Likewise.
1147 * gdb.base/shlib-call.exp: Likewise.
1148 * gdb.base/shreloc.exp: Likewise.
1149 * gdb.base/solib-overlap.exp: Likewise.
1150 * gdb.base/solib-weak.exp (do_test): Likewise.
1151 * gdb.base/unload.exp: Likewise.
1152
11cf4ffb
YQ
11532016-04-27 Yao Qi <yao.qi@linaro.org>
1154
1155 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1156 exists.
1157
3e2e34f8
KB
11582016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1159
1160 * vla-type.exp: Print structure from toplevel.
1161
8f07e298
BH
11622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1163
1164 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1165 of dynamic types.
1166 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1167 of dynamic types.
1168
9920b434
BH
11692016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1170
1171 * gdb.fortran/vla-type.f90: New file.
1172 * gdb.fortran/vla-type.exp: New file.
1173
f3abeff5
YQ
11742016-04-25 Yao Qi <yao.qi@linaro.org>
1175
1176 * gdb.base/branch-to-self.c: New file.
1177 * gdb.base/branch-to-self.exp: New file.
1178
0a5d52f0
YQ
11792016-04-22 Yao Qi <yao.qi@linaro.org>
1180
1181 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1182 more after $hex.
1183
495346f6
YQ
11842016-04-22 Yao Qi <yao.qi@linaro.org>
1185
1186 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1187 * gdb.base/annota3.exp: Likewise.
1188
4a7e075c
YQ
11892016-04-22 Yao Qi <yao.qi@linaro.org>
1190
1191 * gdb.reverse/step-precsave.exp: Do one step and test program
1192 stops in "callee" and do multiple steps until program goes out
1193 of "callee".
1194 * gdb.reverse/step-reverse.exp: Likewise.
1195
5b061e98
YQ
11962016-04-22 Yao Qi <yao.qi@linaro.org>
1197
1198 * gdb.trace/signal.exp: Also pass if
1199 $tracepoint_hits($i) > $iterations.
1200
5c5dc57f
YQ
12012016-04-22 Yao Qi <yao.qi@linaro.org>
1202
1203 * gdb.trace/signal.c: New file.
1204 * gdb.trace/signal.exp: New file.
1205
a55411b9
DE
12062016-04-19 Doug Evans <xdje42@gmail.com>
1207
1208 * gdb.base/bad-file.exp: New file.
1209
a22df60a
MG
12102016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1211
1212 * gdb.dwarf2/implref.exp: New file.
1213
0c13f7e5
BH
12142016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1215
1216 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1217 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1218 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1219 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1220 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1221 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1222 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1223 * lib/fortran.exp (fortran_int4): New procedure.
1224 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1225 (fortran_logical4): Likewise.
1226
9b9b09e9
BH
12272016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1228
1229 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1230
a14d1f4d
BH
12312016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1232
1233 * lib/compiler.c: Add Intel specific preprocessor macros.
1234 * lib/compiler.cc: Likewise.
25d49b86 1235
7d49b1d0
LM
12362016-04-13 Luis Machado <lgustavo@codesourcery.com>
1237
1238 * gdb.server/connect-with-no-symbol-file.c: New file.
1239 * gdb.server/connect-with-no-symbol-file.exp: New file.
1240
8392fa22
SM
12412016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1242
1243 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1244
8c4c4aeb
SM
12452016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1246
1247 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1248 standard output directory.
1249
45e3745e
AT
12502016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1251
1252 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1253
e26b7e41
MM
12542016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1255
1256 * gdb.btrace/instruction_history.c (loop): Add declaration.
1257
8ce09462
AT
12582016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1259
1260 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1261
2e88a1ea
SM
12622016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1263
1264 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1265 parentheses to print.
1266 (continue_handler): Likewise.
1267
f48e22e3
SM
12682016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1269
1270 * gdb.server/solib-list.exp: Remove is_remote check.
1271 Pass shlib= to gdb_compile. Don't link shared library with
1272 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1273 Run binary filename through "readlink -f" on the target.
1274
096be756
PA
12752016-04-08 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1278 interpreter filename as argument to gdbserver_spawn.
1279 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1280 Return empty if $last_loaded_file does not exist.
1281
06500533
JK
12822016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1283
1284 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1285 * gdb.base/jit-main.c: Use exit after usage.
1286
2d35e871
JK
12872016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1288
1289 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1290 GDBHISTSIZE prior to the tests.
1291 * gdb.base/gdbinit-history.exp: Likewise.
1292
12932016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1294
1295 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1296 instead of build_executable. Use gdb_load_shlibs.
1297
c8064e7e
YQ
12982016-04-07 Yao Qi <yao.qi@linaro.org>
1299
1300 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1301 Execute "si" command.
1302
bde47561
YQ
13032016-04-07 Yao Qi <yao.qi@linaro.org>
1304
1305 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1306 number instead of the comments on some line.
1307
b16f8a3b
DB
13082016-04-06 Don Breazeal <donb@codesourcery.com>
1309
1310 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1311 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1312
c2f901df
SM
13132016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1314
1315 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1316 standard_output_file. Remove unused binfile variable.
1317
ac17fda0
CU
13182016-04-05 Catalin Udma <catalin.udma@freescale.com>
1319
1320 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1321 * gdb.python/py-mi-objfile.exp: Match "list main" output
1322 in console format.
1323
03a8c4df
SM
13242016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1325
1326 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1327 absolute.
1328
6e774b13
SM
13292016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1330
1331 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1332 absolute.
1333 * gdb.trace/ftrace.exp: Likewise.
1334 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1335 targets as well.
1336 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1337 (gdb_load_shlibs): Copy libraries to test directory when testing
1338 natively. Only set solib-search-path if testing remotely.
1339 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1340
7817ea46
SM
13412016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1342
1343 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1344 gdb_download. Use it even if the target is not remote.
1345 * gdb.base/jit.exp (compile_jit_test): Likewise.
1346 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1347 output directory if the destination board is local, otherwise use
1348 the standard remote_download from DejaGnu.
1349 (gdb_download): Remove.
1350 (gdb_load_shlibs): Use gdb_remote_download instead of
1351 gdb_download.
1352 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1353 Use gdb_remote_download instead of gdb_download. Use it even if
1354 the target is not remote.
1355 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1356 instead of gdb_download.
1357
7beb7f68
SM
13582016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1359
1360 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1361 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1362 run.
1363
cc63428a
AV
13642016-04-01 Artemiy Volkov <artemiyv@acm.org>
1365
1366 PR gdb/19820
1367 * gdb.base/printcmds.exp: Add artificial arrays tests.
1368
64cdf930
PA
13692016-03-31 Pedro Alves <palves@redhat.com>
1370
1371 PR gdb/19858
1372 * gdb.base/jit-main.c: Include unistd.h.
1373 (ATTACH): Define to 0 if not already defined.
1374 (wait_for_gdb, mypid): New globals.
1375 (WAIT_FOR_GDB): New macro.
1376 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1377 some breakpoint locations.
1378 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1379 New procedures.
1380 (one_jit_test): Add REATTACH parameter, and handle it. Use
1381 continue_to_test_location.
1382 (top level): Test attach, and adjusts calls to one_jit_test.
1383
40dea8cb
PA
13842016-03-31 Pedro Alves <palves@redhat.com>
1385
1386 PR gdb/19858
1387 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1388 BINSUFFIX parameter, and handle it.
1389 (top level): Adjust calls compile_jit_test.
1390
e7ea3ec7
CU
13912016-03-31 Catalin Udma <catalin.udma@freescale.com>
1392
1393 PR python/19743
1394 * gdb.python/py-mi-events-gdb.py: New file.
1395 * gdb.python/py-mi-events.c: New file.
1396 * gdb.python/py-mi-events.exp: New file.
1397
e6359af3
YQ
13982016-03-30 Yao Qi <yao.qi@linaro.org>
1399
1400 * gdb.reverse/until-precsave.exp: Match function name only.
1401 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1402 Move malloc to a condition block.
1403 * gdb.reverse/until-reverse.exp: Match function name only.
1404
a4105d04
MK
14052016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1406
1407 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1408 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1409 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1410 variable for GPR 0 instead of assuming it is register 0.
1411 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1412 * lib/trace-support.exp: Add s390 registers.
1413
bfa6adb9
YQ
14142016-03-29 Yao Qi <yao.qi@linaro.org>
1415
1416 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1417
1e6697ea
YQ
14182016-03-24 Yao Qi <yao.qi@linaro.org>
1419
1420 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1421 test message.
1422
64bcd522
AA
14232016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1424
1425 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1426 maintaining separate logic for constructing the output path.
1427
7868401b
DB
14282016-03-16 Don Breazeal <donb@codesourcery.com>
1429
1430 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1431 Retry fork and waitpid on interrupted system call errors.
1432 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1433 Use with_timeout_factor to increase timeout by factor of 10.
1434
1cafadb4
DB
14352016-03-15 Don Breazeal <donb@codesourcery.com>
1436
1437 * gdb.cp/scope-err.cc: New test program.
1438 * gdb.cp/scope-err.exp: New test script.
1439 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1440 lines and "set breakpoint here" comment.
1441 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1442 Fixed some whitespace and format issues.
1443 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1444 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1445
81516450
DE
14462016-03-15 Doug Evans <dje@google.com>
1447
1448 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1449 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1450 All callers updated. Add tests for enums, mixed flags register.
1451
aa52b601
DE
14522016-03-15 Doug Evans <dje@google.com>
1453
1454 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1455 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1456
fa4ff313
SM
14572016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1458
1459 * gdb.base/default.exp: Add $_as_string to the list of expected
1460 convenience functions.
1461
f2403c39
AB
14622016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1463
1464 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1465
f2f3ccb9
SM
14662016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1467
1468 * gdb.python/py-as-string.exp: New file.
1469 * gdb.python/py-as-string.c: New file.
1470
00dbd492
PA
14712016-03-09 Pedro Alves <palves@redhat.com>
1472
1473 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1474 signal" -> "Thread NN received signal" output change.
1475 * gdb.threads/ia64-sigill.exp: Likewise.
1476 * gdb.threads/linux-dp.exp: Likewise.
1477 * gdb.threads/manythreads.exp: Likewise.
1478 * gdb.threads/pending-step.exp: Likewise.
1479 * gdb.threads/print-threads.exp: Likewise.
1480 * gdb.threads/sigstep-threads.exp: Likewise.
1481 * gdb.threads/staticthreads.exp: Likewise.
1482 * gdb.threads/tls.exp: Likewise.
1483
1e6697ea
YQ
14842016-03-09 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/command-line-input.exp: New file.
1487
b04fd3be
MK
14882016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1489
1490 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1491 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1492 * gdb.trace/pending.exp: Accept leading dot before function name.
1493 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1494 * lib/trace-support.exp: Set registers for ppc.
1495
98fa59e9
MK
14962016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1497
1498 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1499 use it for disassembly; accept .main in addition to main in backtrace.
1500
f77198c8
MK
15012016-03-09 Wei-cheng Wang <cole945@gmail.com>
1502 Marcin Kościelnicki <koriakin@0x04.net>
1503
1504 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1505 (gdb_recursion_test_ptr): New global variable.
1506 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1507 gdb_recursion_test.
1508 (gdb_c_test): Ditto.
1509
ba84e0da
MK
15102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1511
1512 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1513 ordering.
1514
4366d36e
MK
15152016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1516
1517 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1518 (bar): Add bar_start_lbl label.
1519 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1520 of foo/bar for emitting DWARF and tracing.
1521
5eb264df
SDJ
15222016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1523
1524 * analyze-racy-logs.py: Set executable bit.
1525
fb6a751f
SDJ
15262016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1527
1528 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1529 (CHECK_TARGET_TMP): Likewise.
1530 (check-single-racy): New rule.
1531 (check-parallel-racy): Likewise.
1532 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1533 (do-check-parallel-racy): New rule.
1534 (check-racy/%.exp): Likewise.
1535 * README (Racy testcases): New section.
1536 * analyze-racy-logs.py: New file.
1537
bdf7e230
DE
15382016-03-03 Doug Evans <dje@google.com>
1539
1540 * gdb.base/skip.exp: Use with_test_prefix.
1541
4719d415
YQ
15422016-03-03 Yao Qi <yao.qi@linaro.org>
1543
1544 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1545 Invoke step_over_syscall "clone" and break_cond_on_syscall
1546 "clone".
1547 * gdb.base/step-over-clone.c: New file.
1548
ea507862
YQ
15492016-03-03 Yao Qi <yao.qi@linaro.org>
1550
1551 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1552 code format.
1553
8fc8cbda
YQ
15542016-03-03 Yao Qi <yao.qi@linaro.org>
1555
1556 * gdb.base/disp-step-fork.c: Rename to ...
1557 * gdb.base/step-over-fork.c: ... it. New file.
1558 * gdb.base/disp-step-vfork.c: Rename to ...
1559 * gdb.base/step-over-vfork.c: ... it. New file.
1560 * gdb.base/disp-step-syscall.exp: Rename to ...
1561 * gdb.base/step-over-syscall.exp: ... it. New file.
1562 (disp_step_cross_syscall): Rename to ...
1563 (step_over_syscall): ... it.
1564
92fa70b0
YQ
15652016-03-03 Yao Qi <yao.qi@linaro.org>
1566
1567 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1568 If target supports condition evaluation on target, invoke
1569 break_cond_on_syscall for fork and vfork.
1570
e197ad3c
YQ
15712016-03-03 Yao Qi <yao.qi@linaro.org>
1572
1573 * gdb.base/disp-step-syscall.exp: Don't invoke
1574 support_displaced_stepping.
1575 (disp_step_cross_syscall): Test with displaced stepping off and
1576 on if supported.
1577
0b47da9f
YQ
15782016-03-03 Yao Qi <yao.qi@linaro.org>
1579
1580 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1581 proc.
1582 (setup): New proc.
1583 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1584 and setup.
1585
065ab6dc
BH
15862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1587
1588 * gdb.fortran/vla-history.exp: Remove breakpoint.
1589
07e448ad 15902016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1591
25d49b86
PA
1592 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1593 exceeds timeout.
07e448ad 1594
9ac2d526 15952016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1596
25d49b86
PA
1597 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1598 breakpoint.
9ac2d526 1599
17807369
BH
16002016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1601
1602 * gdb.mi/vla.f90: Nullify pointer after declaration.
1603
86e501af
PA
16042016-03-01 Pedro Alves <palves@redhat.com>
1605
1606 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1607
1e903e32
PA
16082016-03-01 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1611 before anything else.
1612 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1613 _GNU_SOURCE here.
1614 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1615 before anything else.
1616 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1617
6ccb54e2
PA
16182016-03-01 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1621
30ca9da1
YQ
16222016-03-01 Yao Qi <yao.qi@linaro.org>
1623
1624 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1625 prepare_for_testing.
1626
dc856b38
YQ
16272016-03-01 Yao Qi <yao.qi@linaro.org>
1628
1629 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1630
4a932159
AA
16312016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1632
1633 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1634 manually constructing the output path.
1635
f2489477
AA
16362016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1637
1638 * gdb.arch/s390-stackless.S: New.
1639 * gdb.arch/s390-stackless.exp: New.
1640
38899f16
IB
16412016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1642
1643 * gdb.dlang/circular.c: New file.
1644 * gdb.dlang/circular.exp: New file.
1645
9fde51ed
YQ
16462016-02-26 Yao Qi <yao.qi@linaro.org>
1647
1648 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1649 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1650 (testcases): Update.
1651
ce90fefe
YQ
16522016-02-26 Yao Qi <yao.qi@linaro.org>
1653
1654 * gdb.reverse/aarch64.c: Rename to ...
1655 * gdb.reverse/insn-reverse.c: ... it.
1656 * gdb.reverse/aarch64.exp: Rename to ...
1657 * gdb.reverse/insn-reverse.exp: ... it.
1658
3263bceb
YQ
16592016-02-26 Yao Qi <yao.qi@linaro.org>
1660
1661 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1662 (testcase_ftype): New.
1663 (testcases): New array.
1664 (n_testcases): New.
1665 (main): Call each element in testcases.
1666 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1667 (read_testcase): New.
1668 Do the tests in a loop.
1669
6cb59ff1
YQ
16702016-02-25 Yao Qi <yao.qi@linaro.org>
1671
1672 * gdb.base/branches.c: Remove.
1673
ae91f625
MK
16742016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1675
1676 PR gdb/13808
1677 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1678
678b48b7
MK
16792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1680
1681 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1682
7337a6f2
MK
16832016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1684
1685 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1686 change x86_64 call_insn to 'callq'.
1687
861ca91f
AT
16882016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1689
1690 * gdb.trace/tfile-avx.c: Move to...
1691 * gdb.trace/tracefile-pseudo-reg.c: Here.
1692 * gdb.trace/tfile-avx.exp: Move to...
1693 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1694
bf74e428
GB
16952016-02-24 Gary Benson <gbenson@redhat.com>
1696
1697 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1698 message on attach.
1699
cce0e923
DE
17002016-02-23 Doug Evans <dje@google.com>
1701
1702 * gdb.base/skip.c (test_skip): New function.
1703 (end_test_skip_file_and_function): New function.
1704 (test_skip_file_and_function): New function.
1705 * gdb.base/skip1.c (test_skip): New function.
1706 (skip1_test_skip_file_and_function): New function.
1707 * gdb.base/skip.exp: Add tests for new skip options.
1708 * gdb.base/skip-solib.exp: Update expected output.
1709 * gdb.perf/skip-command.cc: New file.
1710 * gdb.perf/skip-command.exp: New file.
1711 * gdb.perf/skip-command.py: New file.
1712
4000e47e
MK
17132016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1714
1715 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1716 info registers pattern.
1717
24f75ead
IB
17182016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1719
1720 * lib/future.exp: Add D support.
1721 (gdb_find_gdc): New proc.
1722 (gdb_default_target_compile): Add D support.
1723
fbb7bcbe
WW
17242016-02-18 Wei-cheng Wang <cole945@gmail.com>
1725
1726 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1727 user+system time.
1728 (trace_speed_test): Determine the iteration count for a time
1729 between 15..30 seconds.
1730
012b3a21
WT
17312016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1732
1733 * gdb.arch/i386-mpx-sigsegv.c: New file.
1734 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1735 * gdb.arch/i386-mpx-simple_segv.c: New file.
1736 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1737
2d5189bd
YQ
17382016-02-18 Yao Qi <yao.qi@linaro.org>
1739
1740 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1741 Don't call setup_kfail.
1742
40fb20d0
YQ
17432016-02-18 Yao Qi <yao.qi@linaro.org>
1744
1745 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1746 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1747
21b1f8d2
DE
17482016-02-16 Doug Evans <dje@google.com>
1749
1750 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1751 * gdb.base/skip1.c: Ditto.
1752 * gdb.base/skip.exp: Whitespace cleanup.
1753
4041ed77
DB
17542016-02-16 Don Breazeal <donb@codesourcery.com>
1755
1756 PR remote/19496
1757 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1758 Remove kfail for PR remote/19496.
1759
c4ef31bf
SM
17602016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1761
1762 * lib/gdb.exp (standard_temp_file): Return a path specific to
1763 the runtest invocation.
1764
266b65b3
SM
17652016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1766
1767 * gdb.trace/save-trace.exp: Change relative path to be in the
1768 standard output directory.
1769
a7a0a6a9
JK
17702016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1771
1772 * gdb.arch/i386-prologue.c: Add missing prototypes.
1773
c99dbb42
JK
17742016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1775
1776 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1777 * gdb.arch/i386-prologue.exp: Likewise.
1778 * gdb.arch/i386-size.exp: Likewise.
1779
aa480355
SM
17802016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1781
1782 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1783 define object file path.
1784 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1785 file path.
1786 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1787 standard_output_file to define binfile.
1788
ba881f50
JK
17892016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1790
1791 Fix compatibility with recent gfortran-5.3.1.
1792 * gdb.fortran/vla-history.exp (print vla1 allocated)
1793 (print vla2 allocated, print $2, print $3): Remove
1794 (print $4): Rename to ...
1795 (print $2): ... here.
1796 (print $9): Rename to ...
1797 (print $5): ... here.
1798 (print $10): Rename to ...
1799 (print $6): ... here.
1800 * gdb.fortran/vla.f90: Add pvla initialization.
1801
e9fb005c
JK
18022016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1803
1804 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1805 New test.
1806 * gdb.fortran/vla-value-sub.exp: Likewise.
1807
e44e00ff
MK
18082016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1809
1810 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1811
97e94151
SM
18122016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1813
1814 * i386-biarch-core.exp: Define corefile using
1815 standard_output_file.
1816
01113bc1
YQ
18172016-02-12 Yao Qi <yao.qi@linaro.org>
1818
1819 * gdb.arch/arm-single-step-kernel-helper.c: New.
1820 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1821
33b4777c
MM
18222016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1823
1824 * gdb.btrace/tailcall-only.exp: New.
1825 * gdb.btrace/tailcall-only.c: New.
1826 * gdb.btrace/x86_64-tailcall-only.S: New.
1827 * gdb.btrace/i686-tailcall-only.S: New.
1828
acc23c11
PA
18292016-02-11 Pedro Alves <palves@redhat.com>
1830
1831 * README (Parallel testing): Add missing double quotes.
1832
e352bf0a
PA
18332016-02-11 Pedro Alves <palves@redhat.com>
1834
1835 * README (Parallel testing): New section.
1836 (GDB_PARALLEL): Rewrite.
1837 (FORCE_PARALLEL): Document.
1838
9f5fed78
MK
18392016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1840
1841 * gdb.trace/tfile-avx.c: New test.
1842 * gdb.trace/tfile-avx.exp: New test.
1843
9ef9e6a6
KS
18442016-02-09 Keith Seitz <keiths@redhat.com>
1845
1846 PR breakpoints/19546
1847 * gdb.base/infcall-exec.c: New file.
1848 * gdb.base/infcall-exec2.c: New file.
1849 * gdb.base/infcall-exec.exp: New file.
1850
a96e36da
KS
18512016-02-09 Keith Seitz <keiths@redhat.com>
1852
1853 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1854 (toplevel): Call test_bkpt_address.
1855
9f61929f
KS
18562016-02-09 Keith Seitz <keiths@redhat.com>
1857
1858 PR python/19506
1859 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1860 (toplevel): Call test_bkpt_address.
1861
1e94266c
SM
18622016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1863
1864 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1865 to AC_OUTPUT.
1866 * configure: Regenerate.
1867
2a7f3dff
PA
18682016-02-09 Pedro Alves <palves@redhat.com>
1869
1870 PR breakpoints/19548
1871 * gdb.base/execl-update-breakpoints.c (some_function): New
1872 function.
1873 (main): Call it.
1874 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1875 Tighten expected GDB output.
1876
2151ccc5
SM
18772016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1878
1879 * Makefile.in (ALL_SUBDIRS): Remove.
1880 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1881 (distclean maintainer-clean realclean): Likewise.
1882 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1883 * configure: Regenerate.
1884 * gdb.ada/Makefile.in: Delete.
1885 * gdb.arch/Makefile.in: Likewise.
1886 * gdb.asm/Makefile.in: Likewise.
1887 * gdb.base/Makefile.in: Likewise.
1888 * gdb.btrace/Makefile.in: Likewise.
1889 * gdb.cell/Makefile.in: Likewise.
1890 * gdb.compile/Makefile.in: Likewise.
1891 * gdb.cp/Makefile.in: Likewise.
1892 * gdb.disasm/Makefile.in: Likewise.
1893 * gdb.dlang/Makefile.in: Likewise.
1894 * gdb.dwarf2/Makefile.in: Likewise.
1895 * gdb.fortran/Makefile.in: Likewise.
1896 * gdb.gdb/Makefile.in: Likewise.
1897 * gdb.go/Makefile.in: Likewise.
1898 * gdb.guile/Makefile.in: Likewise.
1899 * gdb.java/Makefile.in: Likewise.
1900 * gdb.linespec/Makefile.in: Likewise.
1901 * gdb.mi/Makefile.in: Likewise.
1902 * gdb.modula2/Makefile.in: Likewise.
1903 * gdb.multi/Makefile.in: Likewise.
1904 * gdb.objc/Makefile.in: Likewise.
1905 * gdb.opencl/Makefile.in: Likewise.
1906 * gdb.opt/Makefile.in: Likewise.
1907 * gdb.pascal/Makefile.in: Likewise.
1908 * gdb.perf/Makefile.in: Likewise.
1909 * gdb.python/Makefile.in: Likewise.
1910 * gdb.reverse/Makefile.in: Likewise.
1911 * gdb.server/Makefile.in: Likewise.
1912 * gdb.stabs/Makefile.in: Likewise.
1913 * gdb.threads/Makefile.in: Likewise.
1914 * gdb.trace/Makefile.in: Likewise.
1915 * gdb.xml/Makefile.in: Likewise.
1916 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1917 GDB_PARALLEL.
1918 (standard_output_file): Remove check for GDB_PARALLEL, always
1919 return path in outputs/$subdir/$testname.
1920
437277d4
SM
19212016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1922
1923 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1924 (site.exp): Assign abs_srcdir to tcl's srcdir.
1925
31d913c7
YQ
19262016-02-04 Yao Qi <yao.qi@linaro.org>
1927
1928 * gdb.base/foll-exec-mode.c: Include limits.h.
1929 (main): Add parameters argc and argv. Get directory from
1930 argv[0].
1931 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1932 compilation.
1933 * gdb.base/foll-exec.c: Include limits.h.
1934 (main): Add parameters argc and argv.
1935 Get directory from argv[0].
1936 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1937 Adjust tests on the number of lines as source code changed.
1938 * gdb.base/foll-vfork-exit.c: Include limits.h.
1939 (main): Add one line of statement before vfork.
1940 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1941 (main): Add parameters argc and argv. Get directory from
1942 argv[0].
1943 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1944 (setup_gdb): Set tbreak to skip some source lines.
1945 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1946 (main): Add parameters argc and argv. Get directory from
1947 argv[0].
1948 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1949 compilation.
1950 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1951 (main): Add parameters argc and argv. Get directory from
1952 argv[0].
1953 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1954 compilation.
1955
9482b9fb
DE
19562016-02-01 Doug Evans <dje@google.com>
1957
1958 * gdb.base/skip.exp: Clean up multiple references to same test name.
1959
6b2e4f10
PA
19602016-02-01 Pedro Alves <palves@redhat.com>
1961
ccb6afd6 1962 PR remote/19496
6b2e4f10
PA
1963 * gdb.threads/forking-threads-plus-breakpoint.exp
1964 (displaced_stepping_supported): New global.
1965 (probe_displaced_stepping_support): New procedure.
1966 (do_test): Add 'displaced' parameter, and use it.
1967 (top level): Check for displaced stepping support. Add displaced
1968 stepping on/off testing axis.
1969
37a8db1a
AB
19702016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1971
1972 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1973 pointer. Don't perform further tests on the unassociated pointer
1974 if the first test fails.
1975
5fdf6324
AB
19762016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1977
1978 * gdb.base/max-value-size.c: New file.
1979 * gdb.base/max-value-size.exp: New file.
1980 * gdb.base/huge.exp: Disable max-value-size for this test.
1981
935c6144
IB
19822016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1983
1984 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1985
7fe8399d
YQ
19862016-01-28 Yao Qi <yao.qi@linaro.org>
1987
1988 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1989
a2077e25
PA
19902016-01-25 Pedro Alves <palves@redhat.com>
1991
1992 PR threads/19461
1993 * gdb.base/fork-running-state.c: New file.
1994 * gdb.base/fork-running-state.exp: New file.
1995
1d2736d4
PA
19962016-01-25 Pedro Alves <palves@redhat.com>
1997
1998 PR gdb/19494
1999 * gdb.base/catch-fork-kill.c: New file.
2000 * gdb.base/catch-fork-kill.exp: New file.
2001
f1da4b11
PA
20022016-01-25 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2005 Delete, moved to lib/gdb.exp.
2006 * gdb.threads/forking-threads-plus-breakpoint.exp
2007 (foreach_with_prefix): Likewise.
2008 * gdb.threads/process-dies-while-handling-bp.exp
2009 (foreach_with_prefix): Likewise.
2010 * lib/gdb.exp (foreach_with_prefix): New procedure.
2011
45f38546
MK
20122016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2013
2014 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2015 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2016
dc29a1ce
MK
20172016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2018
2019 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2020 endian targets.
2021
092127d7
JK
20222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2023 Pedro Alves <palves@redhat.com>
2024
2025 Fix testsuite compatibility with Guile.
2026 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2027 number.
2028
31d765d3
JK
20292016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 Fix testsuite compatibility with Guile.
2032 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2033 (thread 1): New test for backtrace through signal handler.
2034
1ac78c04
YQ
20352016-01-22 Yao Qi <yao.qi@linaro.org>
2036
2037 PR testsuite/19491
2038 * gdb.base/multi-forks.c: Include
2039 ../lib/unbuffer_output.c
2040 (main): Call gdb_unbuffer_output.
2041
4f5946a8
DE
20422016-01-21 Doug Evans <dje@google.com>
2043
2044 * lib/ada.exp (gdb_compile_ada): Fix typo.
2045
305e13e6
JB
20462016-01-21 Joel Brobecker <brobecker@adacore.com>
2047
2048 * gdb.base/break-fun-addr.exp: New file.
2049 * gdb.base/break-fun-addr1.c: New file.
2050 * gdb.base/break-fun-addr2.c: New file.
2051
5f5dfff6
SM
20522016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2053
2054 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2055 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2056 enum flag values.
2057
fd356fa2
AA
20582016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2059
2060 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2061 when GDB can not set the vector return value. Add more comments
2062 for clarification.
2063
9df22175
AT
20642016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2065
2066 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2067 command.
2068
41d1845e
SM
20692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2070
2071 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2072
01ac6840
SM
20732016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2074
2075 * Makefile.in (check-single): Pass --status to runtest.
2076 (check/%.exp): Likewise.
2077
20782016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2079
2080 * Makefile.in (check-parallel): Propagate return code from make
2081 do-check-parallel.
2082
bd0a71fa
MK
20832016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2084
2085 * gdb.trace/ftrace.exp: Fix expected message on continue.
2086 * gdb.trace/pending.exp: Fix expected message on continue.
2087 * gdb.trace/trace-break.exp: Fix expected message on continue.
2088
8bcbad33
SM
20892016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2090
2091 * lib/gdb.exp (gdb_test): Remove unused global references.
2092
f303dbd6
PA
20932016-01-18 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.base/async-shell.exp: Adjust expected output.
2096 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2097 * gdb.base/siginfo-thread.exp: Adjust expected output.
2098 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2099 * gdb.java/jnpe.exp: Adjust expected output.
2100 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2101 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2102 * gdb.threads/leader-exit.exp: Adjust expected output.
2103 * gdb.threads/manythreads.exp: Adjust expected output.
2104 * gdb.threads/pthreads.exp: Adjust expected output.
2105 * gdb.threads/schedlock.exp: Adjust expected output.
2106 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2107 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2108 expected output.
2109 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2110 output.
2111 * gdb.threads/sigthread.exp: Adjust expected output.
2112 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2113
b2789696
YQ
21142016-01-18 Yao Qi <yao.qi@linaro.org>
2115
2116 * gdb.guile/scm-section-script.c: Replace @progbits with
2117 %progbits.
2118 * gdb.python/py-section-script.c: Likewise.
2119
71ef29a8
PA
21202016-01-15 Pedro Alves <palves@redhat.com>
2121
2122 * gdb.multi/tids.exp: Test star wildcard ranges.
2123
3f5b7598
PA
21242016-01-15 Pedro Alves <palves@redhat.com>
2125
2126 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2127 command from "thread apply" invocation.
2128 (thr_apply_info_thr_invalid): Default the expected output to the
2129 input tid list.
2130 (top level): Add tests that use convenience variables. Add tests
2131 for "thread apply" with a valid TID list, but missing the command.
2132
663f6d42
PA
21332016-01-13 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.base/default.exp: Expect $_gthread as well.
2136 * gdb.multi/tids.exp: Test $_gthread.
2137 * gdb.threads/thread-specific.exp: Test $_gthread.
2138
c84f6bbf
PA
21392016-01-13 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.multi/tids.exp: Test "info threads -gid".
2142
22a02324
PA
21432016-01-13 Pedro Alves <palves@redhat.com>
2144
2145 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2146 Breakpoint.thread.
2147 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2148
5d5658a1
PA
21492016-01-07 Pedro Alves <palves@redhat.com>
2150
2151 * gdb.base/break.exp: Adjust to output changes.
2152 * gdb.base/hbreak2.exp: Likewise.
2153 * gdb.base/sepdebug.exp: Likewise.
2154 * gdb.base/watch_thread_num.exp: Likewise.
2155 * gdb.linespec/keywords.exp: Likewise.
2156 * gdb.multi/info-threads.exp: Likewise.
2157 * gdb.threads/thread-find.exp: Likewise.
2158 * gdb.multi/tids.c: New file.
2159 * gdb.multi/tids.exp: New file.
2160
84654457
PA
21612016-01-13 Pedro Alves <palves@redhat.com>
2162
2163 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2164
e3940304
PA
21652016-01-13 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.base/default.exp: Expect $_inferior as well.
2168 * gdb.multi/base.exp: Test $_inferior.
2169
a911d87a
PA
21702016-01-13 Pedro Alves <palves@redhat.com>
2171
2172 PR breakpoints/19388
2173 * gdb.base/catch-signal-siginfo-cond.c: New file.
2174 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2175
82075af2
JS
21762016-01-12 Josh Stone <jistone@redhat.com>
2177 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2178
2179 * gdb.base/catch-syscall.c (do_execve): New variable.
2180 (main): Conditionally trigger an execve.
2181 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2182 (test_catch_syscall_execve): New, check entry/return across execve.
2183 (do_syscall_tests): Call test_catch_syscall_execve.
2184
e46eeedd
PA
21852016-01-12 Pedro Alves <palves@redhat.com>
2186
2187 * gdb.base/random-signal.exp (do_test): New procedure, with body
2188 of testcase moved in.
2189
01d8c27e
JK
21902016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/funcargs.exp (finish from indirectly called function):
2194 Reintroduce the case for 'First'.
2195
9a706302
JK
21962016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2197 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2200 (tcatch_vfork_then_child_follow_exec)
2201 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2202 identification.
2203
c0ecb95f
JK
22042016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2205
2206 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2207 and repeats to unlimited.
2208 * gdb.python/py-value.exp: Likewise.
2209 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2210 and repeats to unlimited.
2211
6cfc1fcb
JK
22122016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2213
2214 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2215 and reordering the functions.
2216 * gdb.multi/hangout.c: Likewise.
2217 * gdb.multi/hello.c: Likewise.
2218
582a1b00
SM
22192016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2220
2221 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2222 absolute.
2223 (SingleStatisticTestResult.report): Use dict.keys instead of
2224 dict.iterkeys.
2225
79bc59cb
PA
22262016-01-06 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2229
43368e1d
MM
22302016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2231
2232 * gdb.btrace/dlopen.exp: New.
2233 * gdb.btrace/dlopen.c: New.
2234 * gdb.btrace/dlopen-dso.c: New.
2235
79fad5b8
SL
22362015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2237
2238 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2239 PATTERN argument is optional.
2240
ab8314b3
JB
22412015-12-24 Joel Brobecker <brobecker@adacore.com>
2242
2243 * lib/ada.exp (target_compile_ada_from_dir): New function.
2244 (gdb_compile_ada): Reimplement avoiding the use of project files.
2245 * gdb.ada/gnat_ada.gpr: Delete.
2246 * gdb.ada/cond_lang.exp: Adjust test to make path before
2247 filename optional.
2248 * gdb.ada/small_reg_param.exp: Likewise.
2249
fe33faff
SM
22502015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2251
2252 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2253
6d265cb4
TP
22542015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2255
2256 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2257 case.
2258
10125099
SM
22592015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2260
2261 * gdb.base/break.exp: Remove dead code.
2262 * gdb.base/sepdebug.exp: Likewise.
2263
3ca22649
SM
22642015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2265
2266 * gdb.asm/asm-source.exp: Remove HP-UX references.
2267 * gdb.base/annota1.exp: Likewise.
2268 * gdb.base/annota3.exp: Likewise.
2269 * gdb.base/attach.exp: Likewise.
2270 * gdb.base/bigcore.exp: Likewise.
2271 * gdb.base/break.exp: Likewise.
2272 * gdb.base/call-ar-st.exp: Likewise.
2273 * gdb.base/callfuncs.exp: Likewise.
2274 * gdb.base/catch-fork-static.exp: Likewise.
2275 * gdb.base/display.exp: Likewise.
2276 * gdb.base/foll-exec-mode.exp: Likewise.
2277 * gdb.base/foll-exec.exp: Likewise.
2278 * gdb.base/foll-fork.exp: Likewise.
2279 * gdb.base/foll-vfork.exp: Likewise.
2280 * gdb.base/funcargs.exp: Likewise.
2281 * gdb.base/hbreak2.exp: Likewise.
2282 * gdb.base/inferior-died.exp: Likewise.
2283 * gdb.base/interrupt.exp: Likewise.
2284 * gdb.base/multi-forks.exp: Likewise.
2285 * gdb.base/nodebug.exp: Likewise.
2286 * gdb.base/sepdebug.exp: Likewise.
2287 * gdb.base/solib1.c: Likewise.
2288 * gdb.base/step-test.exp: Likewise.
2289 * gdb.mi/non-stop.c: Likewise.
2290 * gdb.mi/pthreads.c: Likewise.
2291 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2292 * gdb.threads/pthreads.c: Likewise.
2293 * gdb.threads/staticthreads.exp: Likewise.
2294 * lib/future.exp: Likewise.
2295 * lib/gdb.exp: Likewise.
2296 * gdb.base/so-indr-cl.c: Remove.
2297 * gdb.base/so-indr-cl.exp: Likewise.
2298 * gdb.base/solib.c: Likewise.
2299 * gdb.base/solib.exp: Likewise.
2300 * gdb.base/solib2.c: Likewise.
2301
b6304613
SM
23022015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2303
2304 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2305 * gdb.base/call-ar-st.exp: Likewise.
2306 * gdb.base/callfuncs.exp: Likewise.
2307 * gdb.base/condbreak.exp: Likewise.
2308 * gdb.base/constvars.exp: Likewise.
2309 * gdb.base/hbreak2.exp: Likewise.
2310 * gdb.base/langs.exp: Likewise.
2311 * gdb.base/list.exp: Likewise.
2312 * gdb.base/long_long.exp: Likewise.
2313 * gdb.base/ptype.exp: Likewise.
2314 * gdb.base/scope.exp: Likewise.
2315 * gdb.base/signals.exp: Likewise.
2316 * gdb.base/so-impl-ld.exp: Likewise.
2317 * gdb.base/varargs.exp: Likewise.
2318 * gdb.base/volatile.exp: Likewise.
2319 * gdb.base/whatis.exp: Likewise.
2320 * gdb.cp/cplusfuncs.exp: Likewise.
2321 * gdb.cp/inherit.exp: Likewise.
2322 * gdb.cp/local.exp: Likewise.
2323 * gdb.cp/member-ptr.exp: Likewise.
2324 * gdb.cp/method.exp: Likewise.
2325 * gdb.cp/overload.exp: Likewise.
2326 * gdb.cp/templates.exp: Likewise.
2327 * gdb.stabs/weird.exp: Likewise.
2328 * lib/compiler.c: Likewise.
2329 * lib/compiler.cc: Likewise.
2330 * lib/cp-support.exp: Likewise.
2331 * lib/gdb.exp: Likewise.
2332
bf401b07
SM
23332015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2334
2335 * configure.ac: Remove HP-UX case.
2336 * configure: Regenerate.
2337
aff9c0f8
SM
23382015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2339
2340 * lib/gdb.exp (gdb_compile): Add function doc.
2341
a6904d5a
PA
23422015-12-17 Pedro Alves <palves@redhat.com>
2343
2344 PR threads/19354
2345 * gdb.multi/info-threads.exp: New file.
2346
a22279dd
YQ
23472015-12-15 Yao Qi <yao.qi@linaro.org>
2348
2349 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2350 is aarch64*-*-*.
2351
0588c796
SL
23522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2353
2354 * gdb.base/history-duplicates.exp: Skip if no readline support.
2355
5d978e17
SL
23562015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2357
2358 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2359
7e763b86
SL
23602015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2361
2362 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2363
87a3a92c
SL
23642015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2365
2366 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2367 ctrl-C if nointerrupts target property is set.
2368 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2369 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2370 * gdb.base/paginate-bg-execution.exp: Likewise.
2371 * gdb.base/paginate-execution-startup.exp: Likewise.
2372 * gdb.base/random-signal.exp: Likewise.
2373 * gdb.base/range-stepping.exp: Likewise.
2374 * gdb.cp/annota2.exp: Likewise.
2375 * gdb.cp/annota3.exp: Likewise.
2376 * gdb.gdb/selftest.exp: Likewise.
2377 * gdb.threads/continue-pending-status.exp: Likewise.
2378 * gdb.threads/leader-exit.exp: Likewise.
2379 * gdb.threads/manythreads.exp: Likewise.
2380 * gdb.threads/pthreads.exp: Likewise.
2381 * gdb.threads/schedlock.exp: Likewise.
2382 * gdb.threads/sigthread.exp: Likewise.
2383
a8f077dc
DB
23842015-12-11 Don Breazeal <donb@codesourcery.com>
2385
2386 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2387 remote.
2388 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2389 * gdb.base/foll-exec.exp (main): Enable for target remote.
2390 * gdb.base/foll-fork.exp (main): Likewise.
2391 * gdb.base/foll-vfork.exp (main): Likewise.
2392 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2393 (proc continue_to_exit_bp_loc): Use clean_restart.
2394 * gdb.base/pie-execl.exp (main): Disable for target remote.
2395 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2396 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2397 * gdb.threads/execl.exp (main): Likewise.
2398 * gdb.threads/fork-child-threads.exp (main): Likewise.
2399 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2400 remote.
2401 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2402 remote.
2403 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2404 pid.tid style ptids, instead of just tid.
2405 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2406 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2407 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2408 ptids, instead of just tid.
2409
3b2464a8
AB
24102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2411
2412 * gdb.base/list.exp (test_list_forward): Add end of file error
2413 test.
2414 (test_repeat_list_command): Add end of file error test.
2415 (test_list_backwards): Add beginning of file error test.
2416
a0def019
AB
24172015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2418
2419 * gdb.base/list.exp (test_list_invalid_args): New function,
2420 defined, and called.
2421
5c000dff
AB
24222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2423
2424 * gdb.base/list.exp (test_list): Make test names unique.
2425
f1637ebe
YQ
24262015-12-11 Yao Qi <yao.qi@linaro.org>
2427
2428 * gdb.base/coremaker2.c: Remove.
2429
36d6fc0a
PA
24302015-12-10 Pedro Alves <palves@redhat.com>
2431
2432 * gdb.multi/base.exp: Remove stale "spaces" references.
2433
762f7747
PA
24342015-12-10 Pedro Alves <palves@redhat.com>
2435
2436 * gdb.multi/base.exp: Don't use nowarnings.
2437 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2438 * gdb.multi/hangout.c: Include stdio.h.
2439 * gdb.multi/hello.c: Include stdlib.h.
2440 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2441 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2442 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2443
28d2bfb9
AB
24442015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2445
2446 * gdb.dwarf2/dw2-ranges-base.c: New file.
2447 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2448 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2449 support additional line table, and debug ranges generation.
2450 (Dwarf::ranges): New function, generate .debug_ranges.
2451 (Dwarf::lines): Support generating simple line table programs.
2452 (Dwarf::assemble): Initialise new namespace variables.
2453
5fc2beac
KB
24542015-12-09 Kevin Buettner <kevinb@redhat.com>
2455
2456 * gdb.base/async.exp (proc test_background): Add case for
2457 asynchronous execution not supported.
2458
1c35a88f
LM
24592015-12-09 Luis Machado <lgustavo@codesourcery.com>
2460
2461 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2462 format and change test names to make them unique.
2463
b593e3d9
RK
24642015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2465 Pedro Alves <pedro@redhat.com>
2466
2467 PR gdb/18702
2468 Add checking of floatformats setup on x86_64 hosts.
2469 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2470 (smallval, bigval): New labels/constants.
2471 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2472 float" after loading bigval and smallval.
2473
d72413e6
PMR
24742015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2475
2476 * gdb.ada/fun_overload_menu.exp: New testcase.
2477 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2478
ece66d65
JS
24792015-12-04 Josh Stone <jistone@redhat.com>
2480
2481 * gdb.base/catch-fork-static.exp: New.
2482
41d0efca
YQ
24832015-12-03 Yao Qi <yao.qi@linaro.org>
2484
2485 * gdb.base/sizeof.c: Don't include stdio.h and
2486 ../lib/unbuffer_output.c.
2487 (main): New variable 'size' and 'value'. Remove printf and
2488 gdb_unbuffer_output. Assign return value to size and value.
2489 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2490 at the beginning.
2491 (check_sizeof): Check the result by printing variable 'size'.
2492 (check_valueof): Check the result by printing variable 'value'.
2493
99fd02d9
YQ
24942015-12-01 Yao Qi <yao.qi@linaro.org>
2495
2496 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2497 for aarch64*-*-linux* target.
2498
f2faf941
PA
24992015-11-30 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2502
04bf20c5
PA
25032015-11-30 Pedro Alves <palves@redhat.com>
2504
2505 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2506 Handle non-stop mode vCont replies.
2507
09df4675
PA
25082015-11-30 Pedro Alves <palves@redhat.com>
2509
2510 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2511 prepare_for_testing. Start gdb with "set non-stop on" appended to
2512 GDBFLAGS. Lax expected stop output.
2513
58b584af
YQ
25142015-11-27 Yao Qi <yao.qi@linaro.org>
2515
2516 * gdb.arch/arm-neon.exp: New.
2517 * gdb.arch/arm-neon.c: New.
2518
dfcb77a8
YQ
25192015-11-27 Yao Qi <yao.qi@linaro.org>
2520
2521 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2522
88e8ec1b
YQ
25232015-11-27 Yao Qi <yao.qi@linaro.org>
2524
2525 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2526 frames-invalid annotation.
2527
bfde72c2
YQ
25282015-11-27 Yao Qi <yao.qi@linaro.org>
2529
2530 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2531
f6512a69
SM
25322015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2533
2534 * gdb.threads/names.exp: New file.
2535 * gdb.threads/names.c: New file.
2536 * README: Mention gdb,no_thread_names.
2537
46a3515b
MM
25382015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2539
2540 PR 19297
2541 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2542 support" error.
2543
62147a22
PA
25442015-11-24 Pedro Alves <palves@redhat.com>
2545
2546 PR 17539
2547 * gdb.base/display.exp: Expect displays to be sorted in ascending
2548 order. Use multi_line.
2549 * gdb.base/solib-display.exp: Likewise.
2550
2f341b6e
PA
25512015-11-24 Pedro Alves <palves@redhat.com>
2552
2553 PR 17539
25d49b86
PA
2554 * gdb.base/display.exp: Expect displays to be sorted in ascending
2555 order. Use multi_line.
2556 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2557
7e0aa6aa
PA
25582015-11-24 Pedro Alves <palves@redhat.com>
2559
2560 PR 17539
2561 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2562 threads in ascending order.
2563 * gdb.base/foll-fork.exp: Likewise.
2564 * gdb.base/foll-vfork.exp: Likewise.
2565 * gdb.base/multi-forks.exp: Likewise.
2566 * gdb.mi/mi-nonstop.exp: Likewise.
2567 * gdb.mi/mi-nsintrall.exp: Likewise.
2568 * gdb.multi/base.exp: Likewise.
2569 * gdb.multi/multi-arch.exp: Likewise.
2570 * gdb.python/py-inferior.exp: Likewise.
2571 * gdb.threads/break-while-running.exp: Likewise.
2572 * gdb.threads/execl.exp: Likewise.
2573 * gdb.threads/gcore-thread.exp: Likewise.
2574 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2575 * gdb.threads/kill.exp: Likewise.
2576 * gdb.threads/linux-dp.exp: Likewise.
2577 * gdb.threads/multiple-step-overs.exp: Likewise.
2578 * gdb.threads/next-bp-other-thread.exp: Likewise.
2579 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2580 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2581 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2582 * gdb.threads/thread-find.exp: Likewise.
2583 * gdb.threads/tls.exp: Likewise.
2584 * lib/mi-support.exp (mi_reverse_list): Delete.
2585 (mi_check_thread_states): No longer reverse list.
2586
2cc57ad8
PA
25872015-11-24 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2590 use lowercase.
2591
c93e8391
SM
25922015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2593
2594 * gdb.trace/actions.c: Include trace-common.h.
2595 (main): Add a location for a fast tracepoint.
2596 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2597 the normal tracepoints.
2598 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2599
045ccf91
SM
26002015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2601
2602 * save-trace.exp: Factor out code to these...
2603 (gdb_save_tracepoints): New.
2604 (gdb_load_tracepoints): New.
2605 (do_save_load_test): New.
2606
5506f9f6
KB
26072015-11-23 Kevin Buettner <kevinb@redhat.com>
2608
2609 * gdb.base/asmlabel.exp: New test.
2610 * gdb.base/asmlabel.c: New test case.
2611
16c3b12f
JB
26122015-11-23 Joel Brobecker <brobecker@adacore.com>
2613
2614 * gdb.base/wrong_frame_bt_full-main.c: New file.
2615 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2616 * gdb.base/wrong_frame_bt_full.exp: New file.
2617
155bfbd3
JB
26182015-11-23 Joel Brobecker <brobecker@adacore.com>
2619
2620 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2621
bb097445
JM
26222015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2623
206853a0 2624 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2625 pstate register when comparing registers values in
2626 sparc64-*-linux-gnu targets to avoid spurious differences.
2627
9c88ed8f
JM
26282015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2629
206853a0 2630 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2631
96161e25
SL
26322015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2633
2634 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2635 as type argument to gdb_compile.
2636 * gdb.base/nested-subp2.exp: Likewise.
2637 * gdb.base/nested-subp3.exp: Likewise.
2638
340c2830
DV
26392015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2640
2641 * lib/dwarf.exp (_note): Fix left shift of negative value.
2642 * gdb.trace/trace-condition.exp: Likewise.
2643
c1862d0f
YQ
26442015-11-13 Yao Qi <yao.qi@linaro.org>
2645
2646 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2647 comments about d10v.
2648 (test_scalar_returns): Likewise.
2649 * gdb.base/d10v.ld: Remove.
2650 * gdb.base/overlays.exp: Remove the target triplet checking for
2651 d10v-*-*.
2652 * gdb.base/structs.exp (test_struct_returns): Remove the
2653 comments about d10v.
2654 (test_struct_calls): Likewise.
2655
77ae9c19
YQ
26562015-11-13 Yao Qi <yao.qi@linaro.org>
2657
2658 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2659 * gdb.base/gnu_vector.c: Don't include stdio.h.
2660 (main): Don't print res and call add_some_intvecs.
2661
430e004e
MK
26622015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2663
2664 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2665 macro.
2666 (func5): Removed.
2667 (func4): Use FAST_TRACEPOINT_LABEL.
2668 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2669 macro.
2670 (func): Removed.
2671 (thread_function): Use FAST_TRACEPOINT_LABEL.
2672 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2673 (func): Remove.
2674 (marker): Use FAST_TRACEPOINT_LABEL.
2675 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2676 (pendfunc1): Remove.
2677 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2678 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2679 (foo): Remove.
2680 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2681 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2682 macro.
2683 (func): Remove.
2684 (marker): Use FAST_TRACEPOINT_LABEL.
2685 * gdb.trace/trace-common.h: New header.
2686 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2687 macro.
2688 (func): Remove.
2689 (marker): Use FAST_TRACEPOINT_LABEL.
2690 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2691 (func): Remove.
2692 (thread_function): Use FAST_TRACEPOINT_LABEL.
2693
6e7675a7
MK
26942015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2695
2696 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2697 in front.
2698 * gdb.trace/change-loc.exp: Use global pcreg definition.
2699 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2700 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2701 in front.
2702 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2703 * gdb.trace/pending.exp: Likewise.
2704 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2705 * gdb.trace/trace-break.exp: Likewise.
2706 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2707 in front.
2708 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2709 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2710 in front.
2711 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2712
dddc0e16
JB
27132015-11-09 Joel Brobecker <brobecker@adacore.com>
2714
2715 * gdb.ada/fin_fun_out: New testcase.
2716
c6f0b406
KB
27172015-11-07 Kevin Buettner <kevinb@redhat.com>
2718
2719 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2720 value associated with DW_AT_byte_size.
2721 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2722 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2723 DW_AT_upper_bound.
2724
f01dcfd9
KB
27252015-11-07 Kevin Buettner <kevinb@redhat.com>
2726
2727 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2728 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2729 version.
2730 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2731 gdb.dwarf2/dw2-canonicalize-type.exp,
2732 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2733 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2734 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2735 provided by gdb_target_symbol_prefix_flags_asm.
2736 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2737 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2738 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2739 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2740 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2741 macros where needed). Use this macro for symbols which require
2742 the prefix provided by SYMBOL_PREFIX.
2743
2223449a
KB
27442015-11-05 Kevin Buettner <kevinb@redhat.com>
2745
2746 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2747 New procs.
2748 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2749 representing expressions, of more than one list element.
2750 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2751 to prepend linker symbol prefix to f.
2752 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2753 table_1 and table_2.
2754 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2755 Likewise, for f and g.
2756 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2757 for ptr.
2758 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2759 for main.
2760 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2761 table_1_ptr and table_2_ptr.
2762
6f2f1a3a
JK
27632015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2764 Joel Brobecker <brobecker@adacore.com>
2765
2766 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2767
566c56c9
MK
27682015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2769
2770 * gdb.reverse/s390-mvcle.c: New test.
2771 * gdb.reverse/s390-mvcle.exp: New file.
2772 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2773
d5f0636b
MK
27742015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2775
2776 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2777
7ad8b86c
MK
27782015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2779
2780 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2781 reaching marker2.
2782 * gdb.reverse/getresuid-reverse.exp: Likewise.
2783 * gdb.reverse/pipe-reverse.exp: Likewise.
2784 * gdb.reverse/readv-reverse.exp: Likewise.
2785 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2786 * gdb.reverse/time-reverse.exp: Likewise.
2787 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2788
4081c0f1
YQ
27892015-10-30 Yao Qi <yao.qi@linaro.org>
2790
2791 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2792 (empty_cycle): Remove.
2793 (main): Don't call empty_cycle. Don't use watch_count_done.
2794 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2795 empty_cycle. Rewrite the code counting HW watchpoints.
2796
452b4ba5
MK
27972015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2798
2799 * gdb.reverse/fstatat-reverse.c: New test.
2800 * gdb.reverse/fstatat-reverse.exp: New file.
2801 * gdb.reverse/getresuid-reverse.c: New test.
2802 * gdb.reverse/getresuid-reverse.exp: New file.
2803 * gdb.reverse/pipe-reverse.c: New test.
2804 * gdb.reverse/pipe-reverse.exp: New file.
2805 * gdb.reverse/readv-reverse.c: New test.
2806 * gdb.reverse/readv-reverse.exp: New file.
2807 * gdb.reverse/recvmsg-reverse.c: New test.
2808 * gdb.reverse/recvmsg-reverse.exp: New file.
2809 * gdb.reverse/time-reverse.c: New test.
2810 * gdb.reverse/time-reverse.exp: New file.
2811 * gdb.reverse/waitpid-reverse.c: New test.
2812 * gdb.reverse/waitpid-reverse.exp: New file.
2813
5e2e7507
JK
28142015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2815
2816 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2817
0fde2c53
DE
28182015-10-26 Doug Evans <dje@google.com>
2819
2820 PR symtab/17391
2821 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2822 * gdb.dwarf2/bad-regnum.c: New file.
2823 * gdb.dwarf2/bad-regnum.exp: New file.
2824
1a70ae97
DE
28252015-10-26 Doug Evans <dje@google.com>
2826
2827 PR python/18938
2828 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2829 file.
2830
27dc26ab
JK
28312015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2834 for a change by "Mention language in compile error message".
2835
bed91f4d
SM
28362015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2837
2838 PR python/18073
2839 * gdb.python/py-type.c (C::a_method): New.
2840 (C::a_const_method): New.
2841 (C::a_static_method): New.
2842 (a_function): New.
2843 * gdb.python/py-type.exp (test_fields): Test getting fields
2844 from function and method.
2845
3f2f83dd
KB
28462015-10-21 Keven Boell <keven.boell@intel.com>
2847
2848 * gdb.fortran/vla-alloc-assoc.exp: New file.
2849 * gdb.fortran/vla-datatypes.exp: New file.
2850 * gdb.fortran/vla-datatypes.f90: New file.
2851 * gdb.fortran/vla-history.exp: New file.
2852 * gdb.fortran/vla-ptype-sub.exp: New file.
2853 * gdb.fortran/vla-ptype.exp: New file.
2854 * gdb.fortran/vla-sizeof.exp: New file.
2855 * gdb.fortran/vla-sub.f90: New file.
2856 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2857 * gdb.fortran/vla-value-sub-finish.exp: New file.
2858 * gdb.fortran/vla-value-sub.exp: New file.
2859 * gdb.fortran/vla-value.exp: New file.
2860 * gdb.fortran/vla-ptr-info.exp: New file.
2861 * gdb.mi/mi-vla-fortran.exp: New file.
2862 * gdb.mi/vla.f90: New file.
2863
27145d50
SL
28642015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2865
2866 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2867 of hardwired timeout value.
2868
5f3ff4f8
JK
28692015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2870 Pedro Alves <palves@redhat.com>
2871
2872 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2873 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2874
bfd09d20
JS
28752015-10-19 Josh Stone <jistone@redhat.com>
2876
2877 * gdb.base/catch-syscall.c: Include <sched.h>.
2878 (unknown_syscall): New variable.
2879 (main): Trigger a vfork and an unknown syscall.
2880 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2881 (unknown_syscall_number): Likewise.
2882 (check_call_to_syscall): Accept an optional syscall pattern.
2883 (check_return_from_syscall): Likewise.
2884 (check_continue): Likewise.
2885 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2886 (test_catch_syscall_skipping_return): New test toggling off 'catch
2887 syscall' to step over the syscall return, then toggling back on.
2888 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2889 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2890 (do_syscall_tests): Call test_catch_syscall_without_args and
2891 test_catch_syscall_mid_vfork.
2892 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2893 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2894
b32b93c6
AS
28952015-10-19 Andrew Stubbs <ams@codesourcery.com>
2896
2897 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2898 print g_vE): Add new pass patterns.
2899 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2900 print various symbol names for vptr fields.
2901
9d622bda
AB
29022015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2905 results.
2906
0fd8ac1c
YQ
29072015-10-12 Yao Qi <yao.qi@linaro.org>
2908
2909 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2910
34240514
YQ
29112015-10-12 Yao Qi <yao.qi@linaro.org>
2912
2913 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2914 is aarch64*-*-linux*.
2915
8240f442
YQ
29162015-10-12 Yao Qi <yao.qi@linaro.org>
2917
2918 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2919 (can_relocate_bcond_true): ... it.
2920 (can_relocate_bcond_false): New function.
2921 (foo): Likewise.
2922 (can_relocate_bl): Likewise.
2923 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2924 can_relocate_bl.
2925
2520f728
PMR
29262015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2927
2928 * gdb.base/nested-addr.c: New file.
2929 * gdb.base/nested-addr.exp: New testcase.
2930
abcef95a
MM
29312015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2932
2933 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2934 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2935 its output. Ignore the output of "record goto begin" and instead
2936 check that GDB is replaying.
2937
145e3ddb
PA
29382015-10-09 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2941 (top level): Use it in the run with no args test.
2942
d5d8c4e1
IB
29432015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2944
2945 * gdb.dlang/properties.exp: New file.
2946
06e635ef
SL
29472015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2948
2949 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2950 whether or not address 0x1000 is mapped on the target.
2951
e019fd1d
SM
29522015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2953
2954 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2955 build.
2956
77ba2a67
MM
29572015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2958
2959 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2960 instruction-history test.
2961
c60eb31f
DE
29622015-09-28 Doug Evans <dje@google.com>
2963
2964 * gdb.base/gcore.c (array_func): Add reference to static_array.
2965
9a3c8263
SM
29662015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2967
2968 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2969 source line.
2970
9720e656
SL
29712015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2972
2973 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2974 short or char as base type.
2975
938d3bf2
SL
29762015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2977
2978 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2979 to allow any size enum.
2980
e6c2c623
PMR
29812015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2982
2983 * gdb.ada/array_ptr_renaming.exp: New testcase.
2984 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2985 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2986
06da0f77
PL
29872015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2988
2989 * gdb.trace/ftrace-lock.c: New file.
2990 * gdb.trace/ftrace-lock.exp: New file.
2991
4f51c22a
PL
29922015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2993
2994 * gdb.arch/insn-reloc.c: New file.
2995 * gdb.arch/ftrace-insn-reloc.exp: New file.
2996
7041adf4
PL
29972015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2998
2999 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3000 instruction.
3001 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3002 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3003 * gdb.trace/range-stepping.c: Likewise.
3004 * gdb.trace/trace-break.c: Likewise.
3005 * gdb.trace/trace-mt.c (thread_function): Likewise.
3006 * gdb.trace/ftrace.c (marker): Likewise.
3007 * gdb.trace/trace-condition.c (marker): Likewise.
3008 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3009 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3010 is_aarch64_target.
3011
015d2e7e
DE
30122015-09-18 Doug Evans <xdje42@gmail.com>
3013
3014 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3015 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3016
26b188a2
SL
30172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3018
3019 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3020 the breakpoint.
3021
79dc332b
SL
30222015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3023
3024 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3025 the pending breakpoint. Remove timeout override for "Run till
3026 MI pending breakpoint on pendfunc3 on thread 2" test.
3027
f57929f2
SL
30282015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3029
3030 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3031 filename pattern.
3032
3f469b17
SL
30332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3034
3035 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3036 in breakpoint filename pattern.
3037
515b89b3
SL
30382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3039
7800dbe4
SL
3040 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3041
30422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3043
515b89b3
SL
3044 * gdb.linespec/explicit.exp: Check for readline support for
3045 tab-completion tests. Fix obvious typo.
3046
d2939ba2
MM
30472015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3048
3049 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3050 and replay.
3051
cbb55fa7
MM
30522015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3053
3054 * gdb.btrace/non-stop.c: New.
3055 * gdb.btrace/non-stop.exp: New.
3056
43691ca1
PL
30572015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3058 Yao Qi <yao.qi@linaro.org>
3059
3060 * gdb.trace/trace-condition.c: New file.
3061 * gdb.trace/trace-condition.exp: New file.
3062
d78908cf
WW
30632015-09-16 Wei-cheng Wang <cole945@gmail.com>
3064
3065 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3066 for testing bytecode compilation.
3067
1ed415e2
PA
30682015-09-16 Pedro Alves <palves@redhat.com>
3069 Sandra Loosemore <sandra@codesourcery.com>
3070
3071 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3072 (SECONDS): Redefine.
3073 (main): Call pthread_kill and alarm early.
3074 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3075 support.
3076 (test): If the target can't hardware step and doesn't support
3077 displaced stepping, increase the timeout.
3078
d136eff5
PA
30792015-09-16 Pedro Alves <palves@redhat.com>
3080
3081 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3082 (enable_debug): New procedures.
3083 (test): Use them. Bail out if waiting for threads fails.
3084 (top level): Bail out if a test fails.
3085
991f019c
YQ
30862015-09-16 Yao Qi <yao.qi@linaro.org>
3087
3088 * gdb.asm/asm-source.exp: Set asm-arch for
3089 aarch64*-*-* target.
3090 * gdb.asm/aarch64.inc: New file.
3091
bfca584f
PMR
30922015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3093
3094 * gdb.ada/array_of_variable_length.exp: New testcase.
3095 * gdb.ada/array_of_variable_length/foo.adb: New file.
3096 * gdb.ada/array_of_variable_length/pck.adb: New file.
3097 * gdb.ada/array_of_variable_length/pck.ads: New file.
3098
b326e587
DE
30992015-09-15 Doug Evans <dje@google.com>
3100
3101 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3102 of function static local variable.
3103
5382cfab
PW
31042015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3105
3106 * gdb.threads/tls-so_extern.exp: New test file.
3107 * gdb.threads/tls-so_extern.c: New test file.
3108 * gdb.threads/tls-so_extern_main.c: New test file.
3109
141c5cc4
JK
31102015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3111
3112 * gdb.opt/solib-intra-step-lib.c: New file.
3113 * gdb.opt/solib-intra-step-main.c: New file.
3114 * gdb.opt/solib-intra-step.exp: New file.
3115
d15dcecd
PA
31162015-09-15 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3119 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3120
4c2f2a79
PA
31212015-09-14 Pedro Alves <palves@redhat.com>
3122
3123 * gdb.base/hook-stop-continue.c: Delete.
3124 * gdb.base/hook-stop-continue.exp: Delete.
3125 * gdb.base/hook-stop-frame.c: Delete.
3126 * gdb.base/hook-stop-frame.exp: Delete.
3127 * gdb.base/hook-stop.c: New file.
3128 * gdb.base/hook-stop.exp: New file.
3129
919e6dbe
PMR
31302015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3131
3132 * gdb.ada/access_to_packed_array.exp: New testcase.
3133 * gdb.ada/access_to_packed_array/foo.adb: New file.
3134 * gdb.ada/access_to_packed_array/pack.adb: New file.
3135 * gdb.ada/access_to_packed_array/pack.ads: New file.
3136
157280a4
MM
31372015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3138
3139 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3140 buffer size test.
3141
2fd33e94
DB
31422015-09-11 Don Breazeal <donb@codesourcery.com>
3143
3144 * gdb.base/foll-exec.c: Add copyright header. Fix
3145 formatting issues.
3146 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3147 (do_exec_tests): Use clean_restart in place of zap_session,
3148 and for test initialization. Fix formatting issues. Use
3149 fail in place of perror.
3150 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3151 an expect statement to match an expression with output from
3152 the program under debug.
3153 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3154 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3155 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3156 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3157 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3158
e70b6e8e
DE
31592015-09-09 Doug Evans <dje@google.com>
3160
3161 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3162
7a551a51
DE
31632015-09-09 Doug Evans <dje@google.com>
3164
3165 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3166
4c666f84
DE
31672015-09-09 Doug Evans <dje@google.com>
3168
3169 * gdb.base/savedregs.exp: Fix typo.
3170
243a9253
PA
31712015-09-09 Pedro Alves <palves@redhat.com>
3172
3173 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3174
c0fa8fbd
SL
31752015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3176
3177 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3178 command actually switches threads. Give up on remaining
3179 tests if target fails to stop at breakpoint.
3180
cd7c1778
PMR
31812015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3182
3183 * gdb.ada/funcall_char.exp: New testcase.
3184 * gdb.ada/funcall_char/foo.adb: New file.
3185
dc5c8746
PMR
31862015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3187
3188 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3189 expected outputs. Add two testcases for completing ambiguous
3190 functions.
3191 * gdb.ada/complete/aux_pck.adb: New file.
3192 * gdb.ada/complete/aux_pck.ads: New file.
3193 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3194 Ambiguous_Func functions.
3195 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3196 * gdb.ada/complete/pck.adb: Likewise.
3197
4e83a1e7
UW
31982015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3199
3200 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3201 failures to run the test program under GDB.
3202
8ce74153
LM
32032015-08-26 Luis Machado <lgustavo@codesourcery.com>
3204
3205 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3206 to C.
3207
e9756d52
PP
32082015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3209
3210 * gdb.base/run-after-attach.exp: New test file.
3211 * gdb.base/run-after-attach.c: New test file.
3212
8d37573b
DB
32132015-08-26 Don Breazeal <donb@codesourcery.com>
3214
3215 * gdb.base/foll-exec-2.c: New test program.
3216 * gdb.base/foll-exec-2.exp: New test.
3217
63e43d3a
PMR
32182015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3219
3220 * gdb.base/nested-subp1.exp: New file.
3221 * gdb.base/nested-subp1.c: New file.
3222 * gdb.base/nested-subp2.exp: New file.
3223 * gdb.base/nested-subp2.c: New file.
3224 * gdb.base/nested-subp3.exp: New file.
3225 * gdb.base/nested-subp3.c: New file.
3226
3d40fbb5
PA
32272015-08-24 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.server/connect-without-multi-process.c: New file.
3230 * gdb.server/connect-without-multi-process.exp: New file.
3231
4422ac93
LM
32322015-08-24 Luis Machado <lgustavo@codesourcery.com>
3233
3234 * gdb.opt/inline-markers.c: Make z int.
3235
91dddb86
LM
32362015-08-24 Luis Machado <lgustavo@codesourcery.com>
3237
3238 * gdb.opt/inline-markers.c: Make z volatile.
3239
a48847ee
LM
32402015-08-24 Luis Machado <lgustavo@codesourcery.com>
3241
3242 * gdb.opt/inline-bt.c: New volatile global z.
3243 * gdb.opt/inline-cmds.c: Likewise.
3244 * gdb.opt/inline-locals.c: Likewise.
3245 * gdb.opt/inline-markers.c: New extern global z.
3246 (marker): Use z.
3247 (inline_fn): Likewise.
3248
0ebbc52b
PA
32492015-08-24 Pedro Alves <palves@redhat.com>
3250
3251 * config/m32r-stub.exp: Remove file.
3252 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3253 * gdb.base/call-rt-st.exp: Likewise.
3254 * gdb.base/call-strs.exp: Likewise.
3255 * gdb.base/default.exp: Remove references to h8300-*-hms and
3256 *-*-udi*.
3257 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3258
77c365df
AA
32592015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3260
3261 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3262 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3263 and "return" use KFAIL when GDB can not read/write the vector
3264 return value.
3265
4313b8c0
GB
32662015-08-21 Gary Benson <gbenson@redhat.com>
3267
3268 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3269
0e433b32
PA
32702015-08-20 Pedro Alves <palves@redhat.com>
3271
3272 * gdb.server/solib-list.exp: No longer expect an interior stop in
3273 non-stop mode.
3274
221e1a37
PA
32752015-08-20 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.server/connect-stopped-target.c: New file.
3278 * gdb.server/connect-stopped-target.exp: New file.
3279
40e3ad0e
PA
32802015-08-20 Pedro Alves <palves@redhat.com>
3281
3282 * gdb.dwarf2/comp-unit-lang.exp: New file.
3283 * gdb.dwarf2/comp-unit-lang.c: New file.
3284
af39b327
PMR
32852015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3286
3287 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3288 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3289
7d45c7c3 32902015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3291
7d45c7c3
KB
3292 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3293 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3294
4d6cceb4
DE
32952015-08-18 Doug Evans <dje@google.com>
3296 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3297
3298 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3299 skip_python_tests. New arg prompt_regexp.
3300 (skip_python_tests): New function.
3301 * lib/mi-support.exp (mi_skip_python_tests): New function.
3302 * gdb.python/py-mi-objfile-gdb.py: New file.
3303 * gdb.python/py-mi-objfile.c: New file.
3304 * gdb.python/py-mi-objfile.exp: New file.
3305
ad89c2aa
KS
33062015-08-17 Keith Seitz <keiths@redhat.com>
3307
3308 * gdb.linespec/explicit.exp: Move strace test from here ...
3309 * gdb.trace/strace.exp: ... to here.
3310
e3ae3c43
PP
33112015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3312
3313 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3314 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3315
604b2636
DE
33162015-08-14 Doug Evans <xdje42@gmail.com>
3317
3318 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3319 inferior before selecting a new file.
3320
6ff0ba5f
DE
33212015-08-14 Doug Evans <xdje42@gmail.com>
3322
3323 * gdb.mi/mi-disassemble.exp: Update.
3324 * gdb.base/disasm-optim.S: New file.
3325 * gdb.base/disasm-optim.c: New file.
3326 * gdb.base/disasm-optim.h: New file.
3327 * gdb.base/disasm-optim.exp: New file.
3328
9ca98f92
KS
33292015-08-14 Keith Seitz <keiths@redhat.com>
3330
3331 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3332 "evaluated-by".
3333
52bbc560
JB
33342015-08-13 Joel Brobecker <brobecker@adacore.com>
3335
3336 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3337
5d8c3ed3
PMR
33382015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3339
3340 * gdb.ada/fun_renaming.exp: New testcase.
3341 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3342 * gdb.ada/fun_renaming/pack.adb: New file.
3343 * gdb.ada/fun_renaming/pack.ads: New file.
3344
ea8812bc
KS
33452015-08-12 Keith Seitz <keiths@redhat.com>
3346
3347 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3348 gdb_get_line_number.
3349
4dafcdeb
JB
33502015-08-12 Joel Brobecker <brobecker@adacore.com>
3351
3352 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3353 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3354 gdb.base/dso2dso.exp: New files.
3355
5ba32597
SDJ
33562015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3357 Pedro Alves <palves@redhat.com>
3358 Keith Seitz <keiths@redhat.com>
3359
3360 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3361 GDBFLAGS.
3362
b6dafabf
PP
33632015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3364
3365 * gdb.base/gdbhistsize-history.exp
3366 (test_histsize_history_setting): Use save_vars.
3367 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3368 Use save_vars.
3369 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3370 * gdb.base/readline.exp: Use save_vars.
3371
abe8e607
PP
33722015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3373
3374 * lib/gdb.exp (save_vars): New proc.
3375
629500fa
KS
33762015-08-11 Keith Seitz <keiths@redhat.com>
3377
3378 * gdb.base/help.exp: Update help_breakpoint_text.
3379
eb8c4e2e
KS
33802015-08-11 Keith Seitz <keiths@redhat.com>
3381
3382 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3383 (at toplevel): Call test_explicit_breakpoints.
3384 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3385 breakpoints.
3386 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3387 breakpoint conditions, "-cond".
3388
87f0e720
KS
33892015-08-11 Keith Seitz <keiths@redhat.com>
3390
3391 * gdb.linespec/3explicit.c: New file.
3392 * gdb.linespec/cpexplicit.cc: New file.
3393 * gdb.linespec/cpexplicit.exp: New file.
3394 * gdb.linespec/explicit.c: New file.
3395 * gdb.linespec/explicit.exp: New file.
3396 * gdb.linespec/explicit2.c: New file.
3397 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3398 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3399 before using in the matching pattern.
3400 Clarify that `prefix' is a regular expression.
3401
f00aae0f
KS
34022015-08-11 Keith Seitz <keiths@redhat.com>
3403
3404 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3405 test.
3406 Add tests for missing ",FMT" and ",".
3407
e27852be
DE
34082015-08-10 Doug Evans <dje@google.com>
3409 Keith Seitz <keiths@redhat.com>
3410
3411 PR gdb/17960
3412 * gdb.base/completion.exp: Add location completer tests.
3413
7f03bd92
PA
34142015-08-07 Pedro Alves <palves@redhat.com>
3415
3416 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3417 tests here.
3418 (top level): Run do_test with and without displaced stepping.
3419
3fc8eb30
PA
34202015-08-07 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.base/valgrind-disp-step.c: New file.
3423 * gdb.base/valgrind-disp-step.exp: New file.
3424
d4569d7b
PA
34252015-08-07 Pedro Alves <palves@redhat.com>
3426
3427 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3428 Delete function.
3429 (main): Add alarm. Run an infinite loop instead of calling
3430 wait_threads.
3431 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3432 comment.
3433 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3434 Delete function.
3435 (main): Add alarm. Run an infinite loop instead of calling
3436 wait_threads.
3437 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3438 comment.
3439
e1316e60
PA
34402015-08-07 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.base/checkpoint-ns.exp: New file.
3443 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3444 standard_testfile.
3445
da8c46d2
MM
34462015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3447
3448 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3449 * gdb.btrace/instruction_history.exp: Update.
3450 * gdb.btrace/tsx.exp: New.
3451 * gdb.btrace/tsx.c: New.
3452
de1c2c52
PA
34532015-08-06 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3456 increase timeout.
3457 * gdb.reverse/until-precsave.exp: Bump timeouts.
3458
782e0bf4
PA
34592015-08-06 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3462
83e97ed0
PA
34632015-08-06 Pedro Alves <palves@redhat.com>
3464
3465 PR gdb/18749
3466 * gdb.threads/process-dies-while-handling-bp.c: New file.
3467 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3468
863d01bd
PA
34692015-08-06 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3472 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3473
0a39bb32
PA
34742015-08-05 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3477 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3478
ee2d2b10
SL
34792015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3480
3481 * gdb.base/bp-permanent.exp: Report test as unsupported if
3482 the target cannot stop at the permanent breakpoint.
3483
4e1bdb00
DE
34842015-08-03 Doug Evans <dje@google.com>
3485
3486 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3487 10000.
3488
3d338901
DE
34892015-08-03 Doug Evans <dje@google.com>
3490
3491 * Makefile.in (workers/%.worker, build-perf): New rule.
3492 (GDB_PERFTEST_MODE): New variable.
3493 (check-perf): Use it.
3494 (clean): Clean up gdb.perf parallel build subdirs.
3495 * lib/build-piece.exp: New file.
3496 * lib/gdb.exp (make_gdb_parallel_path): New function
3497 (standard_output_file, standard_temp_file): Call it.
3498 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3499 of $GDB_PARALLEL.
3500 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3501
af061d3e
DE
35022015-08-03 Doug Evans <dje@google.com>
3503
8e1afc81 3504 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3505 (LOG_FILE_NAME): New global.
3506 (TextReporter.__init__): Initialize self.txt_sum.
3507 (TextReporter.report): Add support for multiple data-points.
3508 Move report to perftest.sum, put raw data in perftest.log.
3509 (TextReporter.start): Open sum and log files.
3510 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3511 * gdb.perf/lib/perftest/testresult.py
3512 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3513
2c8c5d37
PA
35142015-07-31 Pedro Alves <palves@redhat.com>
3515
3516 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3517 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3518 kill_wait_spawned_process instead of explicit "kill -9".
3519 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3520 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3521 kill_wait_spawned_process.
3522 * gdb.base/attach-twice.exp: Likewise.
3523 * gdb.base/attach.exp: Likewise.
3524 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3525 gdb_test_multiple.
3526 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3527 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3528 kill_wait_spawned_process.
3529 * gdb.base/valgrind-infcall.exp: Likewise.
3530 * gdb.multi/multi-attach.exp: Likewise.
3531 * gdb.python/py-prompt.exp: Likewise.
3532 * gdb.python/py-sync-interp.exp: Likewise.
3533 * gdb.server/ext-attach.exp: Likewise.
3534 * gdb.threads/attach-into-signal.exp (corefunc): Use
3535 spawn_wait_for_attach, spawn_id_get_pid and
3536 kill_wait_spawned_process.
3537 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3538 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3539 spawn_id_get_pid and kill_wait_spawned_process.
3540 * gdb.threads/attach-stopped.exp (corefunc): Use
3541 spawn_wait_for_attach, spawn_id_get_pid and
3542 kill_wait_spawned_process.
3543 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3544 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3545 kill_wait_spawned_process instead of explicit "kill -9".
3546 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3547 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3548 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3549 processes. Don't map cygwin/windows pids here. Now returns a
3550 spawn id list.
3551
032a0fca
SL
35522015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3553
3554 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3555 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3556 correct patch.
3557
61a934ca
SL
35582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3559
3560 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3561
4bc4d428
SL
35622015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3563
3564 Reapply:
3565 2014-05-21 Mark Wielaard <mjw@redhat.com>
3566
3567 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3568
998d452a
PA
35692015-07-30 Pedro Alves <palves@redhat.com>
3570
3571 * linux-low.c (handle_extended_wait): Set the child's last
3572 reported status to TARGET_WAITKIND_STOPPED.
3573
69dde7dc
PA
35742015-07-30 Pedro Alves <palves@redhat.com>
3575
3576 PR threads/18600
3577 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3578 only shows inferior 1.
3579
4dd63d48
PA
35802015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3581 Pedro Alves <palves@redhat.com>
3582
3583 PR threads/18600
3584 * gdb.threads/fork-plus-threads.c: New file.
3585 * gdb.threads/fork-plus-threads.exp: New file.
3586
d618e4c5
PP
35872015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3588
3589 * gdb.base/batch-preserve-term-settings.exp
3590 (test_terminal_settings_preserved_after_cli_exit): Use
3591 send_quit_command.
3592
1eef6428
PA
35932015-07-29 Pedro Alves <palves@redhat.com>
3594 Don Breazeal <donb@codesourcery.com>
3595
3596 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3597 output from both inferior_spawn_id and gdb_spawn_id.
3598
7da5b897
SDJ
35992015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3600
3601 * gdb.threads/attach-into-signal.exp (corefunc): Use
3602 with_test_prefix on nested loops, uniquefying the test messages.
3603
dac804df
SDJ
36042015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3605
3606 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3607 commit.
3608
06265e53
PP
36092015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3610
3611 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3612 New proc.
3613 (test_terminal_settings_preserved_after_sigterm): New test.
3614
18206ca3
PP
36152015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3616
3617 * gdb.base/batch-preserve-term-settings.exp
3618 (test_terminal_settings_preserved_after_cli_exit): New test.
3619
90074d11
PP
36202015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3621
3622 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3623 manipulation of saved_gdbflags.
3624 (test_terminal_settings_preserved): Remove global declaration of
3625 the unused variable pagination_prompt. Remove manipulation of
3626 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3627 GDBFLAGS.
3628
eb1a7902
PA
36292015-07-29 Pedro Alves <palves@redhat.com>
3630
3631 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3632
8b75dd3b
PA
36332015-07-29 Pedro Alves <palves@redhat.com>
3634
3635 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3636 at the top.
3637
dedad4e3
PA
36382015-07-29 Pedro Alves <palves@redhat.com>
3639
3640 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3641 (main): Call gdb_unbuffer_output.
3642 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3643 (main): Call gdb_unbuffer_output.
3644 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3645 (main): Call gdb_unbuffer_output.
3646 * gdb.base/call-strs.exp: Adjust to step over the
3647 gdb_unbuffer_output call.
3648 * gdb.base/catch-gdb-caused-signals.c: Include
3649 "../lib/unbuffer_output.c".
3650 (main): Call gdb_unbuffer_output.
3651 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3652 (main): Call gdb_unbuffer_output.
3653 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3654 (main): Call gdb_unbuffer_output.
3655 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3656 (main): Call gdb_unbuffer_output.
3657 * gdb.base/shlib-call.exp: Adjust to step over the
3658 gdb_unbuffer_output call.
3659 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3660 (main): Call gdb_unbuffer_output.
3661 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3662 (main): Call gdb_unbuffer_output.
3663 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3664 (main): Rename to ...
3665 (test): ... this.
3666 (main): Reimplement.
3667 * gdb.base/varargs.exp: Run to test instead of to main.
3668 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3669 (main): Call gdb_unbuffer_output.
3670
58789a91
PA
36712015-07-29 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3674 factore out from mi_continue_dprintf. For call-style dprintfs,
3675 expect dprintf output out of $inferior_spawn_id.
3676 (mi_continue_dprintf): Use mi_expect_dprintf.
3677 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3678 (main): Call gdb_unbuffer_output.
3679
e8376742
PA
36802015-07-29 Pedro Alves <palves@redhat.com>
3681
3682 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3683 (default_mi_gdb_start): Set inferior_spawn_id instead of
3684 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3685 gdb_spawn_id.
3686 (mi_gdb_test): Always expect inferior output from both
3687 $inferior_spawn_id and $gdb_spawn_id.
3688
08280010
PA
36892015-07-29 Pedro Alves <palves@redhat.com>
3690
3691 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3692 send_inferior and $inferior_spawn_id.
3693
4d30e432
PA
36942015-07-29 Pedro Alves <palves@redhat.com>
3695
3696 * gdb.gdb/complaints.exp (test_initial_complaints)
3697 (test_serial_complaints, test_short_complaints): Use
3698 gdb_test_stdio.
3699 (test_empty_complaint): Handle $inferior_spawn_id !=
3700 $gdb_spawn_id.
3701
0d30a335
PA
37022015-07-29 Pedro Alves <palves@redhat.com>
3703
3704 * gdb.base/varargs.exp: Use gdb_test_stdio.
3705
39413b29
PA
37062015-07-29 Pedro Alves <palves@redhat.com>
3707
3708 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3709
7cb000a9
PA
37102015-07-29 Pedro Alves <palves@redhat.com>
3711
3712 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3713
d7b8ac82
PA
37142015-07-29 Pedro Alves <palves@redhat.com>
3715
3716 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3717 parameter into two new parameters, "inf_result" and "gdb_result".
3718 Expect inferior output and gdb output from $inferior_spawn_id and
3719 $gdb_spawn_id, respectively. Adjust all callers.
3720
789c3a0c
PA
37212015-07-29 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3724 of gdb_test_sequence.
3725
77e760c3
PA
37262015-07-29 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3729 (saw_spurious_output): Expect inferior output from
3730 $inferior_spawn_id. Use gdb_test_stdio.
3731
8396d2cd
PA
37322015-07-29 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.base/dprintf.exp: Use standard_testfile. Change
3735 prepare_for_testing call.
3736 (srcfile): Don't set.
3737 (restart): New procedure.
3738 (test_dprintf): New procecure, use to continue over dprintfs.
3739 (test_call, test_agent): New procedures, tests moved here.
3740 Restart gdb and recreate dprintfs. Adjust expected output.
3741
2051d61f
PA
37422015-07-29 Pedro Alves <palves@redhat.com>
3743
3744 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3745
452397af
PA
37462015-07-29 Pedro Alves <palves@redhat.com>
3747
3748 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3749
8aed9555
PA
37502015-07-29 Pedro Alves <palves@redhat.com>
3751
3752 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3753 gdb_test_stdio.
3754
188a61b4
PA
37552015-07-29 Pedro Alves <palves@redhat.com>
3756
3757 * lib/gdb.exp (gdb_test_stdio): New procedure.
3758
12264a45
PA
37592015-07-29 Pedro Alves <palves@redhat.com>
3760
3761 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3762
23ffc893
PA
37632015-07-29 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.base/call-signal-resume.exp: Remove check for
3766 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3767 * gdb.base/unwindonsignal.exp: Likewise.
3768 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3769 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3770
65566918
PA
37712015-07-29 Pedro Alves <palves@redhat.com>
3772
3773 * gdb.base/siginfo-addr.c (pass): New function.
3774 (handler): Call it iff si_addr is correct.
3775 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3776 Set a breakpoint at "pass" and continue to it.
3777
d60a9221
SDJ
37782015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3779
3780 * gdb.python/py-objfile.exp: Make some tests have unique names.
3781 * gdb.python/py-pp-registration.exp: Likewise.
3782
bde40b8f
PA
37832015-07-28 Pedro Alves <palves@redhat.com>
3784
3785 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3786
13e1dec8
SM
37872015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3788
3789 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3790
da33c9a7
SM
37912015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3792
3793 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3794
077836f7
PP
37952015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3796
3797 * gdb.base/gdb-sigterm-2.exp: New test.
3798
b8cc7b2e
DE
37992015-07-25 Doug Evans <xdje42@gmail.com>
3800
3801 Revert:
3802 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3803 (workers/%.worker, build-perf): New rule.
3804 (GDB_PERFTEST_MODE): New variable.
3805 (check-perf): Use it.
3806 (clean): Clean up gdb.perf parallel build subdirs.
3807 * lib/build-piece.exp: New file.
3808 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3809 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3810 name.
3811 (standard_temp_file): Ditto.
3812 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3813 of $GDB_PARALLEL.
3814
c8bd4544
DE
38152015-07-24 Doug Evans <dje@google.com>
3816
3817 * gdb.perf/lib/perftest/utils.py: New file.
3818 * gdb.perf/gm-hello.cc: New file.
3819 * gdb.perf/gm-pervasive-typedef.cc: New file.
3820 * gdb.perf/gm-pervasive-typedef.h: New file.
3821 * gdb.perf/gm-std.cc: New file.
3822 * gdb.perf/gm-std.h: New file.
3823 * gdb.perf/gm-use-cerr.cc: New file.
3824 * gdb.perf/gm-utils.h: New file.
3825 * gdb.perf/gmonster-null-lookup.py: New file.
3826 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3827 * gdb.perf/gmonster-print-cerr.py: New file.
3828 * gdb.perf/gmonster-ptype-string.py: New file.
3829 * gdb.perf/gmonster-runto-main.py: New file.
3830 * gdb.perf/gmonster-select-file.py: New file.
3831 * gdb.perf/gmonster1-null-lookup.exp: New file.
3832 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3833 * gdb.perf/gmonster1-print-cerr.exp: New file.
3834 * gdb.perf/gmonster1-ptype-string.exp: New file.
3835 * gdb.perf/gmonster1-runto-main.exp: New file.
3836 * gdb.perf/gmonster1-select-file.exp: New file.
3837 * gdb.perf/gmonster1.cc: New file.
3838 * gdb.perf/gmonster1.exp: New file.
3839 * gdb.perf/gmonster2-null-lookup.exp: New file.
3840 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3841 * gdb.perf/gmonster2-print-cerr.exp: New file.
3842 * gdb.perf/gmonster2-ptype-string.exp: New file.
3843 * gdb.perf/gmonster2-runto-main.exp: New file.
3844 * gdb.perf/gmonster2-select-file.exp: New file.
3845 * gdb.perf/gmonster2.cc: New file.
3846 * gdb.perf/gmonster2.exp: New file.
3847
6eab34f3
DE
38482015-07-24 Doug Evans <dje@google.com>
3849
3850 * gdb.perf/README: New file.
3851 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3852 * lib/gen-perf-test.exp: New file.
3853
63738bfd
DE
38542015-07-24 Doug Evans <dje@google.com>
3855
3856 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3857 (PerfTest::startup): New function.
3858 (PerfTest::run): Return result of calling body.
3859 (PerfTest::assemble): Rewrite.
3860 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3861 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3862 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3863 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3864 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3865
7b606f95
DE
38662015-07-24 Doug Evans <dje@google.com>
3867
3868 * lib/gdb.exp (clean_restart): Make executable optional.
3869
a97b16b8
DE
38702015-07-24 Doug Evans <dje@google.com>
3871
3872 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3873 compiler_info references.
3874 * gdb.cp/temargs.exp: Ditto.
3875 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3876 (get_compiler_info): Early exit if already computed. Set compiler_info
3877 to "unknown" if there was a problem.
3878 (test_compiler_info): Add function comment. Call get_compiler_info.
3879
35baa57f
DE
38802015-07-24 Doug Evans <dje@google.com>
3881
3882 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3883 (workers/%.worker, build-perf): New rule.
3884 (GDB_PERFTEST_MODE): New variable.
3885 (check-perf): Use it.
3886 (clean): Clean up gdb.perf parallel build subdirs.
3887 * lib/build-piece.exp: New file.
3888 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3889 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3890 name.
3891 (standard_temp_file): Ditto.
3892 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3893 of $GDB_PARALLEL.
3894
6ebea266
DE
38952015-07-24 Doug Evans <dje@google.com>
3896
3897 * lib/future.exp (gdb_default_target_compile): New option
3898 "early_flags".
3899 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3900 --as-needed.
3901
1e76a7e9
SDJ
39022015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3903
3904 * gdb.base/catch-syscall.exp: Call gdb_exit before
3905 gdb_skip_xml_test.
3906
5068630a
PA
39072015-07-24 Pedro Alves <palves@redhat.com>
3908
3909 * gdb.python/py-events.exp: Accept output between the stop event
3910 and the prompt.
3911 * gdb.python/py-evsignal.exp: Likewise.
3912 * gdb.python/py-evthreads.exp: Likewise.
3913
77598427
PA
39142015-07-24 Pedro Alves <palves@redhat.com>
3915
3916 PR gdb/18717
3917 * gdb.threads/non-ldr-exit.c: New file.
3918 * gdb.threads/non-ldr-exit.exp: New file.
3919
11e6c98f
YQ
39202015-07-24 Yao Qi <yao.qi@linaro.org>
3921
3922 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3923 restarting process.
3924
51aee833
YQ
39252015-07-24 Yao Qi <yao.qi@linaro.org>
3926
3927 * gdb.server/ext-restart.exp: New file.
3928
8cfe207c
YQ
39292015-07-24 Yao Qi <yao.qi@linaro.org>
3930
3931 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3932 argument options.
3933 * gdb.server/ext-wrapper.exp: New file.
3934
cc12ce38
DE
39352015-07-23 Doug Evans <dje@google.com>
3936
3937 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3938 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3939
d0d84780
PMR
39402015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3941
3942 * gdb.ada/var_arr_typedef.exp: New testcase.
3943 * gdb.ada/var_arr_typedef/pack.adb: New file.
3944 * gdb.ada/var_arr_typedef/pack.ads: New file.
3945 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3946
8b558f79
JB
39472015-07-20 Joel Brobecker <brobecker@adacore.com>
3948
3949 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3950
775a3298
JK
39512015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3952
3953 * gdb.arch/i386-biarch-core.exp: Replace istarget
3954 by "complete set gnutarget". Remove expectation for the "core-file"
3955 command.
3956
db1ff28b
JK
39572015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 Revert the previous commit:
3960 Tests for validate symbol file using build-id.
3961
0a94970d
JK
39622015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3963
3964 Tests for validate symbol file using build-id.
3965 * gdb.base/solib-mismatch-lib.c: New file.
3966 * gdb.base/solib-mismatch-libmod.c: New file.
3967 * gdb.base/solib-mismatch.c: New file.
3968 * gdb.base/solib-mismatch.exp: New file.
3969
03346981
SL
39702015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3971
3972 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3973 nios2-*-linux*.
3974 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3975 * gdb.base/siginfo.exp: Likewise.
3976 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3977
42422cc7
PL
39782015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3979
3980 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3981 Move it to ...
3982 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3983 ... here.
3984 * gdb.trace/range-stepping.exp: Check that the target supports
3985 range stepping.
3986
cfa68bae
JK
39872015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3988
3989 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3990
8ffdba26
PA
39912015-07-14 Pedro Alves <palves@redhat.com>
3992
3993 * gdb.base/killed-outside.exp: New file.
3994 * gdb.base/killed-outside.c: New file.
3995
218a5a11
JK
39962015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3999 (n at main): New.
4000 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4001
e03ed3c6
AA
40022015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4003
4004 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4005 infcall tests instead of setting up for KFAIL.
4006
485668e5
MM
40072015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4008
4009 * gdb.btrace/record_goto-step.exp: New.
4010
08464196
JK
40112015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4012
4013 PR compile/18484
4014 * gdb.compile/compile.c (struct struct_type): Add volatile to
4015 selffield's type.
4016 * gdb.compile/compile.exp
4017 (compile code struct_object.selffield = &struct_object): Skip further
4018 struct_object tests if this one xfails.
4019
bcf5c1d9
RC
40202015-07-08 Robert O'Callahan <robert@ocallahan.org>
4021
4022 PR exp/18617
4023 * gdb.trace/ax.exp: Add test.
4024
4931af25
YQ
40252015-07-07 Yao Qi <yao.qi@linaro.org>
4026
4027 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4028 instead of istarget "aarch64*-*-*".
4029 * gdb.arch/aarch64-fp.exp: Likewise.
4030 * gdb.base/float.exp: Likewise.
4031 * gdb.reverse/aarch64.exp: Likewise.
4032 * lib/gdb.exp (is_aarch64_target): New proc.
4033
9fcf688e
YQ
40342015-07-07 Yao Qi <yao.qi@linaro.org>
4035
4036 * lib/gdb.exp (is_aarch32_target): New proc.
4037 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4038 instead of "istarget "arm*-*-*"".
4039 * gdb.arch/arm-disp-step.exp: Likewise.
4040 * gdb.arch/thumb-bx-pc.exp: Likewise.
4041 * gdb.arch/thumb-prologue.exp: Likewise.
4042 * gdb.arch/thumb-singlestep.exp: Likewise.
4043 * gdb.base/disp-step-syscall.exp: Likewise.
4044 * gdb.base/float.exp: Likewise.
4045
fbd8d50d
YQ
40462015-07-07 Yao Qi <yao.qi@linaro.org>
4047
4048 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4049 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4050
71be1fdc
YQ
40512015-07-07 Yao Qi <yao.qi@linaro.org>
4052
4053 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4054 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4055 if it exists.
4056 * gdb.multi/multi-arch.exp: Likewise.
4057
3e221d36
SM
40582015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4059
4060 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4061 print.
4062
d441430b
YQ
40632015-07-07 Yao Qi <yao.qi@linaro.org>
4064
4065 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4066
06f810bd
MG
40672015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4068
4069 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4070 '[' and ']' characters.
4071
5e61e7c0
IB
40722015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4073
4074 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4075
28bf096c
PA
40762015-06-29 Pedro Alves <palves@redhat.com>
4077
4078 PR threads/18127
4079 * gdb.threads/hand-call-new-thread.c: New file.
4080 * gdb.threads/hand-call-new-thread.c: New file.
4081
ee93cd5e
KS
40822015-06-26 Keith Seitz <keiths@redhat.com>
4083 Doug Evans <dje@google.com>
4084
4085 PR 16253
4086 * gdb.cp/var-tag-2.cc: New file.
4087 * gdb.cp/var-tag-3.cc: New file.
4088 * gdb.cp/var-tag-4.cc: New file.
4089 * gdb.cp/var-tag.cc: New file.
4090 * gdb.cp/var-tag.exp: New file.
4091
fc637f04
PP
40922015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4093
4094 * gdb.base/history-duplicates.exp: New test.
4095
2e52ae68
PP
40962015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4097
4098 * gdb.base/completion.exp: Test the completion of the "focus"
4099 command.
4100
6e22494e
JK
41012015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4102
4103 * gdb.arch/amd64-prologue-skip.S: New file.
4104 * gdb.arch/amd64-prologue-skip.exp: New file.
4105
bf7b9cd9
SM
41062015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4107
4108 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4109 is_address_zero_readable check.
4110
201e8dfd
PB
41112015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4112
4113 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4114 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4115
5cd867b4
YQ
41162015-06-24 Yao Qi <yao.qi@linaro.org>
4117
4118 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4119 linux targets.
4120
4d7be007
YQ
41212015-06-24 Yao Qi <yao.qi@linaro.org>
4122
4123 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4124 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4125 * gdb.base/siginfo-thread.exp: Likewise.
4126
07fcd301
YQ
41272015-06-22 Yao Qi <yao.qi@linaro.org>
4128
4129 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4130
52042a00
YQ
41312015-06-22 Yao Qi <yao.qi@linaro.org>
4132
4133 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4134 aarch64*-*-*.
4135 (skip_hw_watchpoint_tests): Likewise.
4136
74bd41ce
PP
41372015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4138
4139 * gdb.base/gdbinit-history.exp: Test the interaction between
4140 setting GDBHISTSIZE and setting the history size via .gdbinit.
4141
bc460514
PP
41422015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4143
4144 PR gdb/16999
4145 * gdb.base/gdbhistsize-history.exp: New test.
4146
b58c513b
PP
41472015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4148
4149 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4150 with GDBHISTSIZE.
4151 * gdb.base/readline.exp: Likewise.
4152
92046791
YQ
41532015-06-17 Yao Qi <yao.qi@linaro.org>
4154
4155 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4156 line.
4157
2093d2d3
PP
41582015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4159
4160 * gdb.base/gdbinit-history.exp: Add test case to check that
4161 an unlimited history file does not get truncated on exit.
4162
e6c693af
AA
41632015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4164
4165 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4166 (VECTOR): New macro. Use it...
4167 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4168 ...for these typedefs.
4169 (int8, char1, int1, double1): New typedefs.
4170 (struct just_int2, struct two_int2): New structures.
4171 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4172 (add_structvecs, add_singlevecs): New functions.
4173 (main): Call add_some_intvecs twice.
4174 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4175 the compile and exit upon failure. Try compiling for the "native"
4176 architecture. Test inferior function calls with vector arguments
4177 and vector return value handling with "finish" and "return".
4178
c74f7d1c
JT
41792015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4180
4181 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4182 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4183 PE file.
4184 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4185
98aa42ee
AT
41862015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4187
4188 PR breakpoints/16465
4189 * gdb.mi/mi-dprintf-pending.c: New file.
4190 * gdb.mi/mi-dprintf-pending.exp: New test.
4191 * gdb.mi/mi-dprintf-pendshr.c: New file.
4192
7d73c23c 41932015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4194 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4195
4196 * gdb.arch/i386-mpx-map.c: New file.
4197 * gdb.arch/i386-mpx-map.exp: New File.
4198
41992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4200
4201 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4202 * gdb.arch/i386-mpx.exp: Indentation fixed.
4203
42042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4205
4206 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4207 function and improved indentation.
4208 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4209 gdb_test_multiple. Added additional tests to skip the test.
4210
42112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4212
4213 * gdb.arch/i386-avx512.c: Change path in include file.
4214 * gdb.arch/i386-avx512.exp: Change include dir path
4215 compilation flag.
4216 * gdb.arch/i386-mpx.c: Change path in include file.
4217 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4218 flag.
4219
d5eba19a
JK
42202015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4221
4222 * gdb.compile/compile-print.exp (compile print *vararray@3)
4223 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4224
7f361056
JK
42252015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4226
4227 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4228 (do not keep jit in memory): ... this.
4229 (expect 5): Change it to ...
4230 (expect no 5): ... this.
4231
3b462ec2
SM
42322015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4233
4234 PR gdb/15564
4235 * gdb.mi/mi-detach.exp: New file.
4236
e0619de6
JK
42372015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4238
4239 PR symtab/18392
4240 * gdb.arch/amd64-tailcall-self.S: New file.
4241 * gdb.arch/amd64-tailcall-self.c: New file.
4242 * gdb.arch/amd64-tailcall-self.exp: New file.
4243
e970cb34
DB
42442015-05-28 Don Breazeal <donb@codesourcery.com>
4245
4246 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4247 tests for remote targets by checking is_target_gdbserver.
4248
b2e2f908
DE
42492015-05-27 Doug Evans <dje@google.com>
4250
4251 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4252 * gdb.dwarf2/opaque-type-lookup.c: New file.
4253 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4254
82c7be31
DE
42552015-05-26 Doug Evans <dje@google.com>
4256
4257 * gdb.cp/iostream.cc: New file.
4258 * gdb.cp/iostream.exp: New file.
4259
b4f54984
DE
42602015-05-26 Doug Evans <dje@google.com>
4261
4262 * gdb.dwarf2/dw2-op-call.exp: Update.
4263 * gdb.dwarf2/dw4-sig-types.exp: Update.
4264 * gdb.dwarf2/implptr.exp: Update.
4265 * gdb.mi/mi-cmd-param-changed.exp: Update.
4266
4ea6efe9
DE
42672015-05-26 Doug Evans <dje@google.com>
4268
4269 * gdb.python/py-lazy-string.c: New file.
4270 * gdb.python/py-lazy-string.exp: New file.
4271 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4272 (main): Update. Add estring3.
4273 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4274 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4275
f6bb7db3
YQ
42762015-05-26 Omair Javaid <omair.javaid@linaro.org>
4277 Yao Qi <yao.qi@linaro.org>
4278
4279 * gdb.reverse/aarch64.c: New.
4280 * gdb.reverse/aarch64.exp: New.
4281
a81bfbd0
OJ
42822015-05-26 Omair Javaid <omair.javaid@linaro.org>
4283
25d49b86
PA
4284 * lib/gdb.exp (supports_process_record): Return true for
4285 aarch64*-linux*.
a81bfbd0
OJ
4286 (supports_reverse): Likewise.
4287
158bf1b4
PP
42882015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4289
4290 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4291 Use with_test_prefix.
4292
a0145030
AB
42932015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4294
4295 * gdb.base/completion.exp: Add test for completion of layout
4296 names.
4297
ebe3b578
AB
42982015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4299
4300 * lib/gdb.exp (skip_tui_tests): New proc.
4301 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4302
84204ed7
PA
43032015-05-19 Pedro Alves <palves@redhat.com>
4304
4305 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4306 Save the whole env array instead of just HOME. Unset HISTSIZE in
4307 the environment while testing. Restore whole environment
4308 afterwards.
4309
37442ce1
DE
43102015-05-16 Doug Evans <xdje42@gmail.com>
4311
4312 * gdb.guile/scm-ports.c: New file.
4313 * gdb.guile/scm-ports.exp: Add memory port tests.
4314
36de76f9
JK
43152015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4316
4317 * gdb.compile/compile-print.c: New file.
4318 * gdb.compile/compile-print.exp: New file.
4319
3a9558c4
JK
43202015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4321
4322 * gdb.compile/compile-ops.exp: Cast param to void.
4323 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4324 (compile code struct_object.selffield = &struct_object): Add xfail.
4325
aa715135
JG
43262015-05-15 Joel Brobecker <brobecker@adacore.com>
4327
4328 * gdb.ada/arr_enum_with_gap: New testcase.
4329
931e5bc3
JG
43302015-05-15 Joel Brobecker <brobecker@adacore.com>
4331
4332 * gdb.ada/byte_packed_arr: New testcase.
4333
9cd4d857
JB
43342015-05-15 Joel Brobecker <brobecker@adacore.com>
4335
4336 * gdb.ada/pckd_neg: New testcase.
4337
ebfd00d2
PP
43382015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4339
4340 PR gdb/17820
4341 * gdb.base/gdbinit-history.exp: New test.
4342 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4343 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4344
4c082a81
SC
43452015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4346
4347 * gdb.python/py-xmethods.cc: Enhance test case.
4348 * gdb.python/py-xmethods.exp: New tests.
4349 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4350 function.
4351 (B_indexoper): Likewise.
4352 (global_dm_list) : Add new xmethod worker functions.
4353
f7797074
SDJ
43542015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4355
4356 * gdb.base/coredump-filter.exp: Correctly unset
4357 "coredump_var_addr" array.
4358
a4674e4e
PA
43592015-05-08 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.server/non-existing-program.exp: Unset spawn_id.
4362
df2eb078
SC
43632015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4364
4365 PR python/18291
4366 * gdb.python/py-xmethods.exp: Add tests.
4367
422349a3
YQ
43682015-05-08 Yao Qi <yao.qi@linaro.org>
4369
4370 PR gdb/18208
4371 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4372 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4373 function set_coredump_filter, and remove remote_exec call.
4374 Remove argument ipid. Callers update.
4375 (top level): Don't get inferior's PID.
4376
63fc80ce
AA
43772015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4378
4379 * gdb.base/watch_thread_num.exp: Skip test on targets without
4380 access watchpoints.
4381
80ad801e
PA
43822015-05-06 Pedro Alves <palves@redhat.com>
4383
4384 PR server/18081
4385 * gdb.server/non-existing-program.exp: New file.
4386
0fa7fe50
JB
43872015-05-05 Joel Brobecker <brobecker@adacore.com>
4388
4389 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4390
3ea89b92
PMR
43912015-05-05 Joel Brobecker <brobecker@adacore.com>
4392
4393 * gdb.ada/out_of_line_in_inlined: New testcase.
4394
87b8eff0
JB
43952015-05-05 Joel Brobecker <brobecker@adacore.com>
4396
4397 * gdb.ada/var_rec_arr: New testcase.
4398
5fccc635
YQ
43992015-04-30 Yao Qi <yao.qi@linaro.org>
4400
4401 * gdb.base/break-idempotent.exp: If
4402 skip_hw_watchpoint_multi_tests returns true, skip the tests
4403 on "rwatch" and "awatch".
4404
42d38f42
YQ
44052015-04-30 Yao Qi <yao.qi@linaro.org>
4406
4407 * gdb.base/relativedebug.exp: Invoke gdb command
4408 "info sharedlibrary", and if libc.so doesn't have debug info,
4409 skip the test.
4410
2ce1cdbf
DE
44112015-04-29 Doug Evans <dje@google.com>
4412
4413 * gdb.python/py-xmethods.exp: Add ptype tests.
4414 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4415 get_result_type method.
4416
f24a38c5
LM
44172015-04-29 Luis Machado <lgustavo@codesourcery.com>
4418
4419 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4420 the target does not support hardware watchpoints.
4421
ecbf2b3c
LM
44222015-04-29 Luis Machado <lgustavo@codesourcery.com>
4423
4424 * gdb.base/break-always.exp: Abort testing if writing to memory
4425 causes an error.
4426
34f5f757
DE
44272015-04-28 Doug Evans <dje@google.com>
4428
4429 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4430 * gdb.python/py-pp-registration.exp: ... here. New file.
4431 * gdb.python/py-pp-registration.c: New file.
4432 * gdb.python/py-pp-registration.py: New file.
4433
69b4374a
DE
44342015-04-28 Doug Evans <dje@google.com>
4435
4436 * gdb.python/py-bad-printers.c: New file.
4437 * gdb.python/py-bad-printers.py: New file.
4438 * gdb.python/py-bad-printers.exp: New file.
4439
59fb7612
SS
44402015-04-28 Sasha Smundak <asmundak@google.com>
4441
4442 * gdb.python/py-type.exp: New test.
4443
2631b16a
AW
44442015-04-28 Andy Wingo <wingo@igalia.com>
4445
4446 * gdb.python/py-parameter.exp:
4447 * gdb.guile/scm-parameter.exp: Escape the path that we are
4448 matching against, as it might contain characters that are special
4449 to regular expressions.
4450
460efde1
JB
44512015-04-27 Joel Brobecker <brobecker@adacore.com>
4452
4453 * gdb.ada/rec_comp: New testcase.
4454
2d369d8e
SDJ
44552015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4456
4457 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4458 before using it.
4459
cf75d6c3
AB
44602015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4461
4462 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4463 new tests for verilog output.
4464
8dbe7ca5
YQ
44652015-04-24 Yao Qi <yao.qi@linaro.org>
4466
4467 * boards/remote-gdbserver-on-localhost.exp: New file.
4468
4ef9fb2f
PA
44692015-04-23 Pedro Alves <palves@redhat.com>
4470
4471 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4472 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4473 "end of file", remove $inferior_spawn_id from the indirect list.
4474
0a803169
PA
44752015-04-23 Pedro Alves <palves@redhat.com>
4476
4477 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4478
749ef8f8
PA
44792015-04-23 Pedro Alves <palves@redhat.com>
4480
4481 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4482 on $any_spawn_id instead of only on $gdb_spawn_id.
4483
8aae4344
PM
44842015-04-21 Pierre Muller <muller@sourceware.org>
4485
4486 PR pascal/17815
4487 * lib/pascal.exp (gpc_compile): Add new option "class".
4488 (fpc_compile): Likewise.
4489 * gdb.pascal/case-insensitive-symbols.pas: New file.
4490 * gdb.pascal/case-insensitive-symbols.exp: New file.
4491
1586c8fb
GB
44922015-04-20 Gary Benson <gbenson@redhat.com>
4493
4494 * gdb.base/attach.exp: Fix three extended remote failures.
4495
1b6e6f5c
GB
44962015-04-17 Gary Benson <gbenson@redhat.com>
4497
4498 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4499 the main executable over the remote protocol.
4500
e797481d
PA
45012015-04-16 Pedro Alves <palves@redhat.com>
4502
4503 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4504 a new gdbserver if gdbserver_reconnect_p is set.
4505
1ca99c42
PA
45062015-04-16 Pedro Alves <palves@redhat.com>
4507
4508 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4509 is set, don't exit gdbserver.
4510
af9fd6f8
AA
45112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4512
4513 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4514 appropriate .insn, such that an older assembler can be used.
4515 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4516 the z/Architecture instruction set on 31-bit targets as well.
4517
04ff1e61
AA
45182015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4519
4520 * gdb.go/handcall.exp: Remove all logic related to the first
4521 breakpoint and rely on go_runto_main instead.
4522 * gdb.go/strings.exp: Likewise.
4523 * gdb.go/unsafe.exp: Likewise.
4524 * gdb.go/hello.exp: Likewise. Also rename the remaining
4525 breakpoint marker to "breakpoint 1".
4526 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4527 * gdb.go/strings.go: Likewise.
4528 * gdb.go/unsafe.go: Likewise.
4529 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4530 "set breakpoint 2 here" and rename the remaining breakpoint marker
4531 to "breakpoint 1".
4532
40d2f8d6
SM
45332015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4534
4535 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4536 if itertools.imap is not present.
4537 * gdb.python/py-objfile.exp: Add parentheses.
4538 * gdb.python/py-type.exp: Same.
4539 * gdb.python/py-unwind-maint.py: Same.
4540
8cbc97c6
YQ
45412015-04-15 Yao Qi <yao.qi@linaro.org>
4542
4543 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4544 of ":$ptr_size" and set its form explicitly.
4545
45fd756c
YQ
45462015-04-15 Pedro Alves <palves@redhat.com>
4547 Yao Qi <yao.qi@linaro.org>
4548
4549 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4550 timeout by factor of 4.
4551 (test_regular_watch): Likewise.
4552 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4553 * gdb.reverse/sigall-reverse.exp: Likewise.
4554 * gdb.reverse/until-precsave.exp: Likewise.
4555 * lib/gdb.exp (with_timeout_factor): New proc.
4556 (gdb_expect): Move some code to ...
4557 (get_largest_timeout): ... here. New procedure.
4558
9e811bc3
LM
45592015-04-14 Luis Machado <lgustavo@codesourcery.com>
4560
4561 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4562
0ff6fcb2
LM
45632015-04-13 Luis Machado <lgustavo@codesourcery.com>
4564
4565 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4566 to write to the .text section.
4567
7578d5f7
LM
45682015-04-13 Luis Machado <lgustavo@codesourcery.com>
4569
4570 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4571 Handle the case of targets that do not provide PID information.
4572
2efe15c4
YQ
45732015-04-13 Yao Qi <yao.qi@linaro.org>
4574
4575 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4576 and use expect instead of gdb_expect.
4577
8cd8f2f8
SDJ
45782015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4579
4580 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4581 "coredump_var_addr" to avoid naming conflict with other testcases.
4582
9ee41772
PA
45832015-04-10 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4586 gdb_test_sequence and gdb_assert.
4587
07473109
PA
45882015-04-10 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4591 test messages that don't include the breakpoint address.
4592
de3db44c
YQ
45932015-04-10 Yao Qi <yao.qi@linaro.org>
4594
4595 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4596 false for some offset and width combinations which aren't
4597 supported by linux kernel.
4598
c79d856c
PA
45992015-04-10 Pedro Alves <palves@redhat.com>
4600
4601 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4602 procedure, factored out from ...
4603 (top level): ... here. Add "set displaced-stepping" testing axis.
4604 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4605 parameter "displaced". Use it.
4606 (top level): Use foreach and add "set displaced-stepping" testing
4607 axis.
4608
ebc90b50
PA
46092015-04-10 Pedro Alves <palves@redhat.com>
4610
4611 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4612 Remove comment.
4613 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4614 both the address of the instruction that triggers the watchpoint
4615 and the address of the instruction immediately after, and use
4616 those addresses for the test. Fix comment.
4617
8f572e5c
PA
46182015-04-10 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.base/sigstep.exp (breakpoint_to_handler)
4621 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4622 Test "backtrace" in handler.
4623 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4624 (top level): Add new "displaced" test axis to
4625 breakpoint_to_handler, breakpoint_to_handler_entry and
4626 breakpoint_over_handler.
4627
8d707a12
PA
46282015-04-10 Pedro Alves <palves@redhat.com>
4629
4630 PR gdb/18216
4631 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4632
ef713951
YQ
46332015-04-10 Yao Qi <yao.qi@linaro.org>
4634
4635 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4636 (test_add_rn_pc): New function.
4637 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4638 (top level): Invoke test_add_rn_pc.
4639
906d60cf
PA
46402015-04-10 Pedro Alves <palves@redhat.com>
4641
4642 PR gdb/13858
4643 * gdb.base/step-over-no-symbols.exp: New file.
4644
f2983cc3
AW
46452015-04-09 Andy Wingo <wingo@igalia.com>
4646
4647 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4648 after the Python tests.
4649
6d62641c
SDJ
46502015-04-08 Keith Seitz <keiths@redhat.com>
4651
4652 PR python/16699
4653 * gdb.python/py-completion.exp: New tests for completion.
4654 * gdb.python/py-completion.py (CompleteLimit1): New class.
4655 (CompleteLimit2): Likewise.
4656 (CompleteLimit3): Likewise.
4657 (CompleteLimit4): Likewise.
4658 (CompleteLimit5): Likewise.
4659 (CompleteLimit6): Likewise.
4660 (CompleteLimit7): Likewise.
4661
f3770638
PA
46622015-04-08 Pedro Alves <palves@redhat.com>
4663
4664 PR gdb/18214
4665 PR gdb/18216
4666 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4667 function.
4668 (main): Install it as SIGUSR1 handler.
4669 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4670 parameter. Always use "setup" as prefix. Toggle "set
4671 displaced-stepping" off/on depending on global. Don't switch to
4672 thread 1 here.
4673 (top level): Add displaced stepping "off/on" test axis. Update
4674 "setup" calls. Wrap each subtest with with_test_prefix. Test
4675 continuing with a queued signal in each thread.
4676
4496bed7
PA
46772015-04-08 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4680 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4681 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4682 Return early if running to main fails.
4683 * gdb.trace/while-stepping.exp: Likewise.
4684
b97fde92
PA
46852015-04-07 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4688 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4689 interact with inferior program.
4690
f71c18e7
PA
46912015-04-07 Pedro Alves <palves@redhat.com>
4692
4693 * lib/gdb.exp (inferior_spawn_id): New global.
4694 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4695 spawn id after processing the user code.
4696 (default_gdb_start): Set inferior_spawn_id.
4697 (send_inferior): New procedure.
4698 * lib/gdbserver-support.exp (gdbserver_start): Set
4699 inferior_spawn_id.
4700 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4701
6423214f
PA
47022015-04-07 Pedro Alves <palves@redhat.com>
4703
4704 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4705 * lib/gdbserver-support.exp (gdbserver_start): Make
4706 $server_spawn_id global.
4707 (gdbserver_start): Don't wait for gdbserver's spawn id with
4708 expect_background.
4709 (close_gdbserver): New procedure.
4710 (gdb_exit): Rename the default version and reimplement.
4711
71c0ee8c
PA
47122015-04-07 Pedro Alves <palves@redhat.com>
4713
72f4393d 4714 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4715 append the substituted item, not the original item.
4716
203bc29b
PA
47172015-04-07 Pedro Alves <palves@redhat.com>
4718
4719 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4720 gdb_expect.
4721
508a3ddf
PA
47222015-04-07 Pedro Alves <palves@redhat.com>
4723
4724 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4725 output appearing once only.
4726
9f6dbe2b
PA
47272015-04-07 Pedro Alves <palves@redhat.com>
4728
4729 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4730 that doesn't expect anything. Return early if running to main
4731 fails.
4732
337532fa
YQ
47332015-04-07 Yao Qi <yao.qi@linaro.org>
4734
4735 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4736 (child_function): Call alarm.
4737 (main): Move call to alarm into the loop.
4738 * gdb.threads/non-stop-fair-events.exp: Build program with
4739 -DTIMEOUT=$timeout.
4740
01b622d4
DE
47412015-04-06 Doug Evans <xdje42@gmail.com>
4742
4743 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4744 Fix dest parameter to board_info.
4745 (fpc_compile): Ditto.
4746 (gdb_compile_pascal): Rename dest arg to destfile.
4747
961f4160
PMR
47482015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4749
4750 * gdb.ada/funcall_ref.exp: New file.
4751 * gdb.ada/funcall_ref/foo.adb: New file.
4752
cafda597
YQ
47532015-04-02 Yao Qi <yao.qi@linaro.org>
4754
4755 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4756 is remote.
4757
fed040c6
GB
47582015-04-02 Gary Benson <gbenson@redhat.com>
4759
4760 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4761
d11916aa
SS
47622015-04-01 Sasha Smundak <asmundak@google.com>
4763
4764 * gdb.python/py-unwind-maint.c: New file.
4765 * gdb.python/py-unwind-maint.exp: New test.
4766 * gdb.python/py-unwind-maint.py: New file.
4767 * gdb.python/py-unwind.c: New file.
4768 * gdb.python/py-unwind.exp: New test.
4769 * gdb.python/py-unwind.py: New test.
4770
a1471180
PA
47712015-04-01 Pedro Alves <palves@redhat.com>
4772
4773 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4774 to fail instead of non-existent $test.
4775
0bbeccb1
PA
47762015-04-01 Pedro Alves <palves@redhat.com>
4777
4778 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4779 GDBFLAGS if not empty.
4780
3c724c8c
PMR
47812015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4782
4783 * gdb.ada/complete.exp: Remove "multi_line".
4784 * gdb.ada/info_exc.exp: Remove "multi_line".
4785 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4786 * gdb.ada/ptype_field.exp: Remove "multi_line".
4787 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4788 * gdb.ada/tagged.exp: Remove "multi_line".
4789 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4790 [multi_line ...]
4791 * gdb.btrace/delta.exp: Likewise.
4792 * gdb.btrace/exception.exp: Likewise.
4793 * gdb.btrace/function_call_history.exp: Likewise.
4794 * gdb.btrace/instruction_history.exp: Likewise.
4795 * gdb.btrace/nohist.exp: Likewise.
4796 * gdb.btrace/record_goto.exp: Likewise.
4797 * gdb.btrace/segv.exp: Likewise.
4798 * gdb.btrace/stepi.exp: Likewise.
4799 * gdb.btrace/tailcall.exp: Likewise.
4800 * gdb.btrace/unknown_functions.exp: Likewise.
4801 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4802 * lib/gdb.exp: Add the "multi_line" helper.
4803
4eec2deb
PA
48042015-04-01 Pedro Alves <palves@redhat.com>
4805
4806 * gdb.threads/tid-reuse.c: New file.
4807 * gdb.threads/tid-reuse.exp: New file.
4808
df8411da
SDJ
48092015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4810
4811 PR corefiles/16092
4812 * gdb.base/coredump-filter.c: New file.
4813 * gdb.base/coredump-filter.exp: Likewise.
4814
6ef37366
PM
48152015-03-27 Petr Machata <pmachata@redhat.com>
4816
4817 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4818 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4819 (Dwarf::assemble): Initialize them.
4820 (Dwarf::lines): New function.
4821
7ec911b0
JT
48222015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4823
4824 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4825 SYMBOL_PREFIX for x86_64-*-cygwin.
4826
ff908ebf
AW
48272015-03-26 Andy Wingo <wingo@igalia.com>
4828
4829 PR symtab/18148
4830 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4831 const_value but not a location.
4832 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4833 location defined in non-main CUs are visible.
4834
6d5f0679
YQ
48352015-03-26 Yao Qi <yao.qi@linaro.org>
4836
4837 PR testsuite/18139
4838 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4839 Add a line number entry for the same line.
4840 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4841 Add a line number entry for the same line.
4842
2898689b
YQ
48432015-03-26 Yao Qi <yao.qi@linaro.org>
4844
4845 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4846 .int 0.
4847 (func): Likewise. Add .Lfunc_1 label.
4848 Use .Lfunc_1 label.
4849 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4850 .int 0.
4851 (func): Likewise.
4852 Use .Lfunc_1 label.
4853
85180498
YQ
48542015-03-26 Yao Qi <yao.qi@linaro.org>
4855
4856 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4857 Call gdb_compile instead to compile each .s files without debug
4858 information.
4859
8aa08a8d
YQ
48602015-03-26 Yao Qi <yao.qi@linaro.org>
4861
4862 * gdb.base/savedregs.exp (process_saved_regs): Make
4863 "Saved registers:" optional in the pattern.
4864
66849923
MM
48652015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4866
4867 * gdb.btrace/next.exp: Merged into step.exp.
4868 * gdb.btrace/finish.exp: Merged into step.exp.
4869 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4870 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4871 "record goto" and checking the exact replay position.
4872 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4873 check for "Recording format" in "info record" output.
4874 * gdb.btrace/record_goto.exp: Choose test file based on target.
4875 * gdb.btrace/x86-record_goto.S: Renamed into ...
4876 * gdb.btrace/x86_64-record_goto.S: ... this.
4877 * gdb.btrace/i686-record_goto.S: New.
4878 * gdb.btrace/x86-tailcall.S: Renamed into ...
4879 * gdb.btrace/x86_64-tailcall.S: ... this.
4880 * gdb.btrace/i686-tailcall.S: New.
4881 * gdb.btrace/x86-tailcall.c: Renamed into ...
4882 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4883 separate statements. Update test.
4884 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4885 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4886 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4887 * gdb.btrace/tailcall.exp: Choose test file based on target.
4888 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4889
11cc1b74
MM
48902015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4891
4892 * gdb.btrace/exception.exp: Increase BTS buffer size.
4893
a25d8bf9
PA
48942015-03-24 Pedro Alves <palves@redhat.com>
4895
4896 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4897
856e7dd6
PA
48982015-03-24 Pedro Alves <palves@redhat.com>
4899
4900 * gdb.threads/schedlock.exp (test_step): No longer expect that
4901 "set scheduler-locking step" with "next" over a function call runs
4902 threads unlocked.
4903
ad235a41
AT
49042015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4905
4906 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4907
15630549
AT
49082015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4909
4910 PR breakpoints/16466
4911 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4912 * gdb.mi/mi-pending.c (thread_func): New function.
4913 (int main): Add threading support required.
4914 * gdb.mi/mi-pending.exp: Add tests for this issue.
4915 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4916 (pendfunc2): Remove stdio dependency.
4917 * gdb.mi/mi-pendshr2.c: New file.
4918
693dca06
KS
49192015-03-23 Keith Seitz <keiths@redhat.com>
4920
4921 * gdb.linespec/keywords.c: New file.
4922 * gdb.linespec/keywords.exp: New file.
4923
7e993ebf
KS
49242015-03-23 Keith Seitz <keiths@redhat.com>
4925
4926 PR gdb/18021
4927 * gdb.dwarf2/staticvirtual.exp: New test.
4928
bc23328c
JK
49292015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4930
4931 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4932 * README: Remove HP-UX and gdb.hp.
4933 (configuration):
4934 * configure: Regenerate.
4935 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4936 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4937 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4938 gdb.hp/gdb.defects/Makefile.
4939 * gdb.hp/Makefile.in: File deleted.
4940 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4941 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4942 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4943 * gdb.hp/gdb.aCC/run.c: File deleted.
4944 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4945 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4946 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4947 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4948 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4949 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4950 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4951 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4952 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4953 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4954 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4955 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4956 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4957 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4958 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4959 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4960 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4961 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4962 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4963 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4964 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4965 * gdb.hp/gdb.compat/average.c: File deleted.
4966 * gdb.hp/gdb.compat/sum.c: File deleted.
4967 * gdb.hp/gdb.compat/xdb.c: File deleted.
4968 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4969 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4970 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4971 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4972 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4973 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4974 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4975 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4976 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4977 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4978 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4979 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4980 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4981 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4982 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4983 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4984 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4985 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4986 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4987 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4988 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4989 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4990 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4991 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4992 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4993 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4994 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4995 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4996 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4997 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4998 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4999 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5000 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5001 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5002 * gdb.hp/tools/odump: File deleted.
5003
8bf3b159
PA
50042015-03-19 Pedro Alves <palves@redhat.com>
5005
5006 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5007 (saw_thread_3): New globals.
5008 (top level): Increment them when an event for the corresponding
5009 thread is seen.
5010 (no thread starvation): New test.
5011
eb54c8bf
PA
50122015-03-19 Pedro Alves <palves@redhat.com>
5013
5014 * gdb.threads/continue-pending-status.c: New file.
5015 * gdb.threads/continue-pending-status.exp: New file.
5016
32d2e5d6
PA
50172015-03-18 Pedro Alves <palves@redhat.com>
5018
5019 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5020 Use gdb_is_target_remote instead of is_remote. Use
5021 gdb_test_multiple instead of gdb_expect. Exit early if
5022 gdb_test_multiple hits its internal matches. Tighten stepi tests
5023 expected output. Fail on exit with any signal, instead of just
5024 SIGILL.
5025
f68f11b7
YQ
50262015-03-18 Yao Qi <yao.qi@linaro.org>
5027
5028 PR tdep/18107
5029 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5030 variable.
5031 * gdb.base/catch-syscall.exp: Don't skip it on
5032 aarch64*-*-linux* target. Remove elements in all_syscalls.
5033 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5034 target.
5035 (setup_all_syscalls): New proc.
5036
ca5fd19b
YQ
50372015-03-16 Yao Qi <yao.qi@linaro.org>
5038
5039 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5040 (top level): Skip tests if valid_addr_p returns false for
5041 $cmd1 or $cmd2.
5042
85642ba0
AW
50432015-03-11 Andy Wingo <wingo@igalia.com>
5044
5045 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5046
e03f9645
YQ
50472015-03-11 Yao Qi <yao.qi@linaro.org>
5048
5049 * gdb.base/catch-syscall.exp: Fix typo in comments.
5050
5d0962b2
YQ
50512015-03-11 Yao Qi <yao.qi@linaro.org>
5052
5053 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5054
b2df3cef
PA
50552015-03-09 Pedro Alves <palves@redhat.com>
5056
5057 * dg-extract-results.py: Delete.
5058
ef878e53
PA
50592015-03-09 Pedro Alves <palves@redhat.com>
5060
5061 Merge dg-extract-results.sh from GCC upstream (r218843).
5062
5063 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5064 * dg-extract-results.sh: Use --text with grep to avoid issues with
5065 binary files. Fall back to cat -v, if that doesn't work.
5066
9494d219
PA
50672015-03-05 Pedro Alves <palves@redhat.com>
5068
5069 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5070
a8d9763a
SM
50712015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5072
5073 * lib/mi-support.exp (mi_expect_interrupt): Accept
5074 alternative event for when in all-stop mode.
5075
be9957b8
PA
50762015-03-04 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5079
d57be0f4 50802015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5081
5082 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5083
c214c7cf
AA
50842015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5085
5086 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5087 regexps for GDB's current line display, accept a hex address
5088 preceding the line number.
5089
6d74a497
AA
50902015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5091
5092 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5093 the 'arch1' variable for "s390*-linux*" targets.
5094
511aee7c
PA
50952015-03-04 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5098 (main): Pass missing retval argument to pthread_join call.
5099
95e50b27
PA
51002015-03-02 Pedro Alves <palves@redhat.com>
5101
5102 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5103 (top level): Call do_test with non-stop as well.
5104
28054d69
PA
51052015-03-02 Pedro Alves <palves@redhat.com>
5106
5107 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5108 -1.
5109
4fa5d7b4
AA
51102015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5111
5112 * gdb.arch/s390-vregs.exp: New test.
5113 * gdb.arch/s390-vregs.S: New file.
5114
97c18565
PA
51152015-02-27 Pedro Alves <palves@redhat.com>
5116
5117 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5118 call to catch_command_errors.
5119 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5120 catch_command_errors.
5121
a37bfa30
PA
51222015-02-27 Pedro Alves <palves@redhat.com>
5123
5124 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5125 "true" for boolean result.
5126 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5127 prototype of main.
5128
6f98576f
PA
51292015-02-27 Pedro Alves <palves@redhat.com>
5130
5131 * lib/unbuffer_output.c: New file.
5132 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5133 (main): Call gdb_unbuffer_output.
5134
eba5ab56
YQ
51352015-02-27 Yao Qi <yao.qi@linaro.org>
5136
5137 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5138 target.
5139
0def5aaa
DE
51402015-02-26 Doug Evans <dje@google.com>
5141
5142 * gdb.cp/class2.cc (Dbase, D): New classes.
5143 (main): New local delta.
5144 * gdb.cp/class2.exp: Test printing delta.
5145 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5146 (dynbar): New global.
5147 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5148
081a1c2c
JK
51492015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5150
5151 * gdb.compile/compile-ifunc.c: New file.
5152 * gdb.compile/compile-ifunc.exp: New file.
5153
2f41223f
AT
51542015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5155
5156 * gdb.base/structs.exp: Check for correct struct on finish.
5157
03eddd80
YQ
51582015-02-26 Yao Qi <yao.qi@linaro.org>
5159
5160 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5161 is zero.
5162
80c57053
JK
51632015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5164
5165 * gdb.arch/cordic.ko.bz2: New file.
5166 * gdb.arch/cordic.ko.debug.bz2: New file.
5167 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5168
21613c12
YQ
51692015-02-25 Yao Qi <yao.qi@linaro.org>
5170
5171 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5172 aarch64*-*-* target.
5173
d8b901ed
PA
51742015-02-23 Pedro Alves <palves@redhat.com>
5175
5176 * lib/gdb.exp (delete_breakpoints): Rewrite using
5177 gdb_test_multiple.
5178
e5b85ead
PA
51792015-02-23 Pedro Alves <palves@redhat.com>
5180
5181 * gdb.base/info-os.c: Include stdlib.h.
5182
85c3a371
DE
51832015-02-22 Doug Evans <xdje42@gmail.com>
5184
5185 PR symtab/17855
5186 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5187 is read after symbols have been re-read.
5188 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5189 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5190
96553a0c
DE
51912015-02-21 Doug Evans <dje@google.com>
5192
5193 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5194
97a0c697
JK
51952015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 PR corefiles/17808
5198 * gdb.arch/i386-biarch-core.core.bz2: New file.
5199 * gdb.arch/i386-biarch-core.exp: New file.
5200
a47cd6e9
PA
52012015-02-21 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5204 runto_main fails.
5205
c5facdc4
PA
52062015-02-20 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5209 info probes.
5210
2db9a427
PA
52112015-02-20 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5214
60fb7e9e
PA
52152015-02-20 Pedro Alves <palves@redhat.com>
5216
5217 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5218 clean_restart before gdb_target_supports_trace.
5219
5c5019c2
PA
52202015-02-20 Pedro Alves <palves@redhat.com>
5221
5222 PR threads/18006
5223 * gdb.threads/clone-thread_db.c: New file.
5224 * gdb.threads/clone-thread_db.exp: New file.
5225
c9587f88
AT
52262015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5227
5228 PR breakpoints/16812
5229 * gdb.base/catch-gdb-caused-signals.c: New file.
5230 * gdb.base/catch-gdb-caused-signals.exp: New file.
5231
f6a88844
JM
52322015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5233
5234 * configure: Regenerated.
5235 * configure.ac: Use GDB_AC_TRANSFORM.
5236 * aclocal.m4: sinclude ../transform.m4.
5237
497c491b
JM
52382015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5239
5240 * lib/dtrace.exp: New file.
5241 * gdb.base/dtrace-probe.exp: Likewise.
5242 * gdb.base/dtrace-probe.d: Likewise.
5243 * gdb.base/dtrace-probe.c: Likewise.
5244 * lib/pdtrace.in: Likewise.
5245 * configure.ac: Output variables with the transformed names of
5246 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5247 * configure: Regenerated.
5248
03e98035
JM
52492015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5250
5251 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5252 expected message when trying to access $_probe_* convenience
5253 variables while not on a probe.
5254
63cc30e9
JK
52552015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5256
5257 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5258
0703599a
PA
52592015-02-11 Pedro Alves <pedro@codesourcery.com>
5260
5261 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5262 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5263
7e60a48e
DE
52642015-02-10 Doug Evans <xdje42@gmail.com>
5265
5266 * lib/gdb.exp (gdb_load): Always return a result.
5267
01b088bc
PA
52682015-02-10 Pedro Alves <palves@redhat.com>
5269
5270 * gdb.threads/signal-sigtrap.c: New file.
5271 * gdb.threads/signal-sigtrap.exp: New file.
5272
b05ec7a5
AT
52732015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5274
5275 * gdb.trace/no-attach-trace.c: New file.
5276 * gdb.trace/no-attach-trace.exp: New file.
5277
a2c2acaf
MW
52782015-02-09 Mark Wielaard <mjw@redhat.com>
5279
5280 * gdb.dwarf2/atomic.c: New file.
5281 * gdb.dwarf2/atomic-type.exp: Likewise.
5282
31fd9caa
MM
52832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5284
5285 * gdb.btrace/buffer-size.exp: Update "info record" output.
5286 * gdb.btrace/delta.exp: Update "info record" output.
5287 * gdb.btrace/enable.exp: Update "info record" output.
5288 * gdb.btrace/finish.exp: Update "info record" output.
5289 * gdb.btrace/instruction_history.exp: Update "info record" output.
5290 * gdb.btrace/next.exp: Update "info record" output.
5291 * gdb.btrace/nexti.exp: Update "info record" output.
5292 * gdb.btrace/step.exp: Update "info record" output.
5293 * gdb.btrace/stepi.exp: Update "info record" output.
5294 * gdb.btrace/nohist.exp: Update "info record" output.
5295
d33501a5
MM
52962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5297
5298 * gdb.btrace/buffer-size: New.
5299
f4abbc16
MM
53002015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5301
5302 * gdb.btrace/delta.exp: Update "info record" output.
5303 * gdb.btrace/enable.exp: Update "info record" output.
5304 * gdb.btrace/finish.exp: Update "info record" output.
5305 * gdb.btrace/instruction_history.exp: Update "info record" output.
5306 * gdb.btrace/next.exp: Update "info record" output.
5307 * gdb.btrace/nexti.exp: Update "info record" output.
5308 * gdb.btrace/step.exp: Update "info record" output.
5309 * gdb.btrace/stepi.exp: Update "info record" output.
5310 * gdb.btrace/nohist.exp: Update "info record" output.
5311
b9d61307
SM
53122015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5313
5314 PR gdb/15678
5315 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5316
e584fdbc
PA
53172015-02-06 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5320 macro.
5321 (seconds_left, again): New globals.
5322 (main): Wait seconds_left in a 1-second sleep loop instead of
5323 sleeping 180 seconds. If 'again' is set, reset the seconds
5324 counter.
5325 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5326 'again' in the inferior before detaching. Print the seconds left.
5327 (options): New global.
5328 (top level): Build program with -DTIMEOUT=$timeout.
5329
77f41761
PA
53302015-02-06 Pedro Alves <palves@redhat.com>
5331
5332 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5333 determine how many seconds to pass to 'alarm'.
5334 * gdb.base/gdb-sigterm.exp (top level): Build program with
5335 -DTIMEOUT=$timeout.
5336 (do_test): Return success/failure indication. Add more verbose
5337 logging. Don't fail if 200 single steps are seen. Instead, fail
5338 when the test times out.
5339 (passes): New global.
5340 (top level): Break the testing loop if testing fails on any
5341 iteration. Use gdb_assert.
5342
b9394193
DB
53432015-02-04 Don Breazeal <donb@codesourcery.com>
5344
5345 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5346 and initialize them.
5347 (ipc_cleanup): New function.
5348 (main): Don't declare shmid, semid, and msqid. Add a call to
5349 atexit so that we call ipc_cleanup on exit.
5350
42d9e528
PA
53512015-02-04 Pedro Alves <palves@redhat.com>
5352
5353 * boards/native-extended-gdbserver.exp: Remove any target variant
5354 specifications from the board name before clearing the isremote
5355 flag from board_info.
5356
ae6ae975
DE
53572015-01-31 Doug Evans <xdje42@gmail.com>
5358
5359 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5360
cfb069a8
GB
53612015-01-31 Gary Benson <gbenson@redhat.com>
5362
5363 * gdb.base/completion.exp: Disable completion limiting for
5364 existing tests. Add new tests to check completion limiting.
5365 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5366
5dd31d79
DE
53672015-01-31 Doug Evans <xdje42@gmail.com>
5368
5369 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5370
9f050062
DE
53712015-01-31 Doug Evans <xdje42@gmail.com>
5372
5373 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5374 entries. Duplicate file section script entries.
5375 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5376 inlined entries. Add test for safe-path rejection.
5377 * gdb.python/py-section-script.c: Add duplicate inlined section script
5378 entries. Duplicate file section script entries.
5379 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5380 inlined entries. Add test for safe-path rejection.
5381
df25ebbd
JB
53822015-01-29 Joel Brobecker <brobecker@adacore.com>
5383
5384 * gdb.ada/disc_arr_bound: New testcase.
5385
4a0ca9ec
JB
53862015-01-29 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.ada/mi_var_array: New testcase.
5389
3a8b707a
DE
53902015-01-27 Doug Evans <dje@google.com>
5391
5392 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5393 Add test for objfile.filename, objfile.username after objfile
5394 has been unloaded.
5395
f8313f6e
JB
53962015-01-26 Joel Brobecker <brobecker@adacore.com>
5397
5398 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5399 the second test to print the name attribute of value
5400 returned by the call to gdb.lookup_type, and adjust
5401 the expected output accordingly.
5402
37bc665e
MW
54032015-01-25 Mark Wielaard <mjw@redhat.com>
5404
5405 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5406 * gdb.base/disp-step-fork.c: Include unistd.h.
5407 * gdb.base/siginfo-obj.c: Include stdio.h.
5408 * gdb.base/siginfo-thread.c: Likewise.
5409 * gdb.mi/non-stop.c: Include unistd.h.
5410 * gdb.mi/nsthrexec.c: Include stdio.h.
5411 * gdb.mi/pthreads.c: Include unistd.h.
5412 * gdb.modula2/unbounded1.c (main): Declare returns int.
5413 * gdb.reverse/consecutive-reverse.c: Likewise.
5414 * gdb.threads/create-fail.c: Include unistd.h.
5415 * gdb.threads/killed.c: Likewise.
5416 * gdb.threads/linux-dp.c: Likewise.
5417 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5418 * gdb.threads/non-ldr-exc-2.c: Likewise.
5419 * gdb.threads/non-ldr-exc-3.c: Likewise.
5420 * gdb.threads/non-ldr-exc-4.c: Likewise.
5421 * gdb.threads/pthreads.c: Include unistd.h.
5422 (main): Declare returns int.
5423 * gdb.threads/tls-main.c (foo): New declaration.
5424 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5425
f7e5394d
SM
54262015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5427
5428 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5429 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5430
743649fd
MW
54312015-01-15 Mark Wielaard <mjw@redhat.com>
5432
5433 * gdb.base/noreturn-return.c: New file.
5434 * gdb.base/noreturn-return.exp: New file.
5435 * gdb.base/noreturn-finish.c: New file.
5436 * gdb.base/noreturn-finish.exp: New file.
5437
198297aa
PA
54382015-01-23 Pedro Alves <palves@redhat.com>
5439
5440 * gdb.threads/continue-pending-after-query.c: New file.
5441 * gdb.threads/continue-pending-after-query.exp: New file.
5442
717cf30c
AG
54432015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5444 Simon Marchi <simon.marchi@ericsson.com>
5445
5446 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5447 * gdb.base/valgrind-db-attach.exp: Same.
5448 * gdb.base/valgrind-infcall.exp: Same.
5449 * lib/mi-support.exp (default_mi_gdb_start): Same.
5450 * lib/prompt.exp (default_prompt_gdb_start): Same.
5451 * lib/gdb.exp (default_gdb_spawn): Same.
5452 (gdb_interact): New.
5453
5454
4b62a76e
JK
54552015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5456
5457 * gdb.compile/compile.exp (pointer to jit function): New test.
5458
b4cdae6f
WW
54592015-01-17 Wei-cheng Wang <cole945@gmail.com>
5460
5461 * lib/gdb.exp (supports_process_record): Return true for
5462 powerpc*-*-linux*.
5463 (supports_reverse): Likewise.
5464
d221e7ef
DB
54652015-01-15 Don Breazeal <donb@codesourcery.com>
5466
5467 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5468 instead of checking whether the target board is remote and
5469 use spawn_wait_for_attach instead of exec/sleep.
5470 * gdb.base/attach-twice.exp: Likewise.
5471
bafffb51
JB
54722015-01-15 Joel Brobecker <brobecker@adacore.com>
5473
5474 * gdb.ada/var_arr_attrs: New testcase.
5475
5589af0e
PA
54762015-01-14 Pedro Alves <palves@redhat.com>
5477 Joel Brobecker <brobecker@adacore.com>
5478
5479 PR gdb/17525
5480 * gdb.base/bp-cmds-execution-x-script.c: New file.
5481 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5482 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5483
6c400b59
PA
54842015-01-14 Pedro Alves <palves@redhat.com>
5485
5486 PR cli/17828
5487 * gdb.base/batch-preserve-term-settings.c: New file.
5488 * gdb.base/batch-preserve-term-settings.exp: New file.
5489
e02c96a7
DE
54902015-01-13 Doug Evans <dje@google.com>
5491
5492 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5493 binary.
5494
576fd14c
JB
54952015-01-13 Joel Brobecker <brobecker@adacore.com>
5496
5497 * Makefile.in (clean mostlyclean): Do not delete *.py.
5498
04dccad0
JB
54992015-01-13 Joel Brobecker <brobecker@adacore.com>
5500
5501 * gdb.python/py-lookup-type.exp: New file.
5502
3d230f71
PA
55032015-01-12 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5506 restore GDBFLAGS before returning.
5507
7e67715d
JK
55082015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5509
5510 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5511 is_amd64_regs_target and is_x86_like_target.
5512
f2e0d4b4
DE
55132015-01-11 Doug Evans <xdje42@gmail.com>
5514
5515 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5516 is given without an explicit form.
5517 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5518 attributes.
5519 * gdb.dwarf/corrupt.exp: Ditto.
5520 * gdb.dwarf2/enum-type.exp: Ditto.
5521 * gdb.trace/entry-values.exp: Ditto.
5522 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5523
439250fb
DE
55242015-01-11 Doug Evans <xdje42@gmail.com>
5525
5526 PR gdb/15830
5527 * gdb.base/maint.exp: Remove references to "maint demangle".
5528 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5529 Add tests for explicitly specifying language to demangle.
5530 * gdb.dlang/demangle.exp: Ditto.
5531
ede9f622
PA
55322015-01-09 Pedro Alves <palves@redhat.com>
5533
5534 * gdb.threads/non-stop-fair-events.c: New file.
5535 * gdb.threads/non-stop-fair-events.exp: New file.
5536
a7b796db
PA
55372015-01-09 Pedro Alves <palves@redhat.com>
5538
5539 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5540 the global scope. Set a breakpoint after all threads are started
5541 rather than stepping over two source lines. Expect the prompt.
5542 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5543 global.
5544 (NUM): Now 15.
5545 (main): Use threads_started_barrier to wait for all threads to
5546 start. Main thread no longer calls thread_function. Exit after
5547 180 seconds.
5548 (loop): New function.
5549 (thread_function): Wait on threads_started_barrier barrier. Call
5550 'loop' at each iteration.
5551 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5552 threads have started, instead of hardcoding number of "next"
5553 steps. Use an access watchpoint instead of a write watchpoint.
5554
9665ffdd
PA
55552015-01-09 Pedro Alves <palves@redhat.com>
5556
5557 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5558 (thread_func): Wait on barrier.
5559 (main): Wait for all threads to start before stopping GDB.
5560 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5561 global.
5562 (thread1_func, thread2_func): Wait on barrier.
5563 (main): Wait for all threads to start before stopping GDB.
5564 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5565 New global.
5566 (thread1_func, thread2_func): Wait on barrier.
5567 (main): Wait for all threads to start before stopping GDB.
5568
c945a99f
PA
55692015-01-09 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.threads/attach-many-short-lived-threads.c: New file.
5572 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5573
c1a747c1
PA
55742014-01-09 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5577 instead of to thread 2.
5578 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5579 Add barrier around each pthread_create call instead of around all
5580 calls.
5581 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5582 Set a break on thread_function and have the child threads hit it
5583 one at at a time.
5584
60b3033e
PA
55852015-01-09 Pedro Alves <palves@redhat.com>
5586
5587 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5588 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5589 false.
5590 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5591 checking whether the target board is remote.
5592 * gdb.multi/multi-attach.exp: Likewise.
5593 * gdb.python/py-sync-interp.exp: Likewise.
5594 * gdb.server/ext-attach.exp: Likewise.
5595 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5596 tests that need to attach, instead of checking whether the target
5597 board is remote at the top of the file.
5598
acc018ac
YQ
55992015-01-08 Yao Qi <yao@codesourcery.com>
5600
5601 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5602
50a18af8
JK
56032015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5604
5605 Fix testcase compilation.
5606 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5607
8503d6e1
JB
56082015-01-06 Joel Brobecker <brobecker@adacore.com>
5609
5610 * gdb.python/py-type.exp: Add a couple test about empty
5611 array creation, and negative-length array creation.
5612
cc73dbcc
DE
56132015-01-02 Doug Evans <xdje42@gmail.com>
5614
5615 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5616
0300bbc7
DE
56172015-01-02 Doug Evans <dje@google.com>
5618
5619 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5620
9d85a0ec
YQ
56212014-12-29 Yao Qi <yao@codesourcery.com>
5622
5623 * gdb.trace/entry-values.exp: Update comments. Rename variable
5624 bar_call_foo to returned_from_foo.
5625
87186c6a
MMN
56262014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5627
5628 PR gdb/17394
5629 * gdb.linespec/break-asm-file.c: New file.
5630 * gdb.linespec/break-asm-file.exp: New file.
5631 * gdb.linespec/break-asm-file0.s: New file.
5632 * gdb.linespec/break-asm-file1.s: New file.
5633
1bab7383
YQ
56342014-12-18 Nigel Stephens <nigel@mips.com>
5635 Maciej W. Rozycki <macro@codesourcery.com>
5636
5637 * gdb.base/float.exp: Handle the new output from "info float" on
5638 MIPS targets.
5639
1bc1068a
JK
56402014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5641
5642 Fix MinGW compilation.
5643 * gdb.compile/compile-ops.exp: Update untested message if
5644 !skip_compile_feature_tests.
5645 * gdb.compile/compile-setjmp.exp: Likewise.
5646 * gdb.compile/compile-tls.exp: Likewise.
5647 * gdb.compile/compile.exp: Likewise.
5648 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5649 supported on this host".
5650
b6615d10
DE
56512014-12-16 Doug Evans <xdje42@gmail.com>
5652
5653 * boards/stabs.exp: New file.
5654
25dda427
AA
56552014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5656
5657 * gdb.base/completion.exp: Adjust to format changes of "maint
5658 print user-registers".
5659
bf330350
CU
56602014-12-16 Catalin Udma <catalin.udma@freescale.com>
5661
5662 PR server/17457
5663 * gdb.arch/aarch64-fp.c: New file.
5664 * gdb.arch/aarch64-fp.exp: New file.
5665
395cf596
SDJ
56662014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5667
5668 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5669 r210637, r210913, r211666, r215400, r215817).
5670
5671 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5672 * dg-extract-results.py: New file.
5673 * dg-extract-results.sh: Use it if the environment seems
5674 suitable.
5675
5676 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5677
5678 * dg-extract-results.py (parse_run): Handle warnings that
5679 are printed before a test harness is run.
5680
5681 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5682
5683 * dg-extract-results.py (Named): Remove __cmp__ method.
5684 (output_variation): Use a key to sort variation.harnesses.
5685
5686 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5687
5688 * dg-extract-results.py: For Python 3, force sys.stdout to
5689 handle surrogate escape sequences.
5690 (safe_open): New function.
5691 (output_segment, main): Use it.
5692
5693 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5694
5695 * dg-extract-results.py (Prog.result_re): Include options
5696 in test name.
5697
5698 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5699
5700 * dg-extract-results.py (output_variation): Always sort if
5701 do_sum.
5702
e882ef3c
SM
57032014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5704
5705 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5706 as long as we get pagination notifications.
5707
4992aa20
JM
57082014-12-15 Jason Merrill <jason@redhat.com>
5709
5710 * Makefile.in (check-gdb.%): Restore.
5711 * README: Mention it.
5712
c1b5a1a6
JB
57132014-12-13 Joel Brobecker <brobecker@adacore.com>
5714
5715 * gdb.ada/str_uninit: New testcase.
5716
5537b577
JK
57172014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5718
5719 PR symtab/17642
5720 * gdb.base/vla-stub-define.c: New file.
5721 * gdb.base/vla-stub.c: New file.
5722 * gdb.base/vla-stub.exp: New file.
5723
bb2ec1b3
TT
57242014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5725 Jan Kratochvil <jan.kratochvil@redhat.com>
5726 Tom Tromey <tromey@redhat.com>
5727
5728 * configure.ac: Add gdb.compile/.
5729 * configure: Regenerate.
5730 * gdb.compile/Makefile.in: New file.
5731 * gdb.compile/compile-ops.exp: New file.
5732 * gdb.compile/compile-ops.c: New file.
5733 * gdb.compile/compile-tls.c: New file.
5734 * gdb.compile/compile-tls.exp: New file.
5735 * gdb.compile/compile-constvar.S: New file.
5736 * gdb.compile/compile-constvar.c: New file.
5737 * gdb.compile/compile-mod.c: New file.
5738 * gdb.compile/compile-nodebug.c: New file.
5739 * gdb.compile/compile-setjmp-mod.c: New file.
5740 * gdb.compile/compile-setjmp.c: New file.
5741 * gdb.compile/compile-setjmp.exp: New file.
5742 * gdb.compile/compile-shlib.c: New file.
5743 * gdb.compile/compile.c: New file.
5744 * gdb.compile/compile.exp: New file.
5745 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5746
4ff709eb
TT
57472014-12-12 Tom Tromey <tromey@redhat.com>
5748
5749 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5750 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5751
6dddd6a5
DE
57522014-12-12 Doug Evans <dje@google.com>
5753
5754 * lib/gdb-python.exp (get_python_valueof): New function.
5755 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5756
71c24708
AA
57572014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5758
5759 * gdb.base/completion.exp: Add test for completion of "info
5760 registers ".
5761
3e29f34a
MR
57622014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5763
5764 * gdb.base/func-ptrs.c: New file.
5765 * gdb.base/func-ptrs.exp: New file.
5766
fc126975
SM
57672014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5768
5769 PR breakpoints/17012
5770 * gdb.base/dprintf-detach.c: New file.
5771 * gdb.base/dprintf-detach.exp: New file.
5772
0a46d518
SM
57732014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5774
5775 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5776 * lib/gdb.exp (target_is_gdbserver): New procedure.
5777
a0be3e44
DE
57782014-12-08 Doug Evans <dje@google.com>
5779
5780 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5781
df1b803a
YQ
57822014-12-05 Yao Qi <yao@codesourcery.com>
5783
5784 * gdb.guile/scm-error.exp: Remove the third argument to
5785 gdb_remote_download.
5786 * gdb.guile/scm-frame-args.exp: Likewise.
5787 * gdb.guile/scm-section-script.exp: Likewise.
5788
ddb9f679
YQ
57892014-12-05 Yao Qi <yao@codesourcery.com>
5790
5791 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5792
86e4ed39
DE
57932014-12-04 Doug Evans <dje@google.com>
5794
5795 * gdb.python/py-objfile.exp: Add tests for
5796 objfile.add_separate_debug_file.
5797
7c50a931
DE
57982014-12-04 Doug Evans <dje@google.com>
5799
5800 * lib/gdb.exp (get_build_id): New function.
5801 (build_id_debug_filename_get): Rewrite to use it.
5802 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5803
621661e3
MR
58042014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5805
5806 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5807 `method(long)', not just 0x0.
5808 * gdb.cp/nsalias.exp: Align code labels to 4.
5809 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5810 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5811 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5812 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5813 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5814 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5815
29f0c3b7
DE
58162014-12-02 Doug Evans <dje@google.com>
5817
e1e061e7 5818 PR symtab/17602
29f0c3b7 5819 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5820 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5821 * gdb.cp/anon-ns.exp: Update.
5822
162078c8
NB
58232014-12-02 Nick Bull <nicholaspbull@gmail.com>
5824
5825 * gdb.python/py-events.py (inferior_call_handler): New.
5826 (register_changed_handler, memory_changed_handler): New.
5827 (test_events.invoke): Register new handlers.
5828 * gdb.python/py-events.exp: Add tests for inferior call,
5829 memory_changed and register_changed events.
5830
fdb09caf
AA
58312014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5832
5833 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5834 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5835 if the linker doesn't understand this.
5836
55cfb2c4
SM
58372014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5838
5839 * gdb.python/python.exp: Change expected reply to help().
5840
9e8cd6df
YQ
58412014-12-01 Yao Qi <yao@codesourcery.com>
5842
5843 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5844 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5845 * configure: Re-generated.
5846
6c659fc2
SC
58472014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5848
5849 * gdb.cp/chained-calls.cc: New file.
5850 * gdb.cp/chained-calls.exp: New file.
5851 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5852
d7fc3181
SM
58532014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5854
5855 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5856 * gdb.dwarf2/symtab-producer.exp: Same.
5857 * gdb.gdb/python-interrupts.exp: Same.
5858 * gdb.gdb/python-selftest.exp: Same.
5859 * gdb.python/py-linetable.exp: Same.
5860 * gdb.python/py-type.exp: Same.
5861 * gdb.python/py-value-cc.exp: Same.
5862 * gdb.python/py-value.exp: Same.
5863
10e79639
YQ
58642014-11-28 Yao Qi <yao@codesourcery.com>
5865
5866 * gdb.base/break-probes.exp: Match library name prefixed with
5867 sysroot.
5868
f28a0564
SM
58692014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5870
5871 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5872 test expected output. Add parentheses for the call to print.
5873 Remove L suffix from integers.
5874
3fe1ce1d
DE
58752014-11-26 Doug Evans <dje@google.com>
5876
5877 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5878
84429e27
YQ
58792014-11-22 Yao Qi <yao@codesourcery.com>
5880
5881 * gdb.trace/entry-values.c: Remove asms.
5882 (foo): Add foo_label.
5883 (bar): Add bar_label.
5884 * gdb.trace/entry-values.exp: Remove code computing foo's
5885 length and bar's length.
5886 (Dwarf::assemble): Invoke function_range for bar and use
5887 MACRO_AT_func for foo.
5888
26741859
YQ
58892014-11-22 Yao Qi <yao@codesourcery.com>
5890
5891 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5892 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5893 Use .Lgcc43_procstart instead of gcc43.
5894
45e44d27
JB
58952014-11-21 Joel Brobecker <brobecker@adacore.com>
5896
5897 * gdb.ada/n_arr_bound: New testcase.
5898
458c8db8
SDJ
58992014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5900
5901 PR breakpoints/10737
5902 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5903 test_catch_syscall_multi_arch.
5904 (test_catch_syscall_multi_arch): New function.
5905
43f3e411
DE
59062014-11-20 Doug Evans <xdje42@gmail.com>
5907
5908 * gdb.base/maint.exp: Update expected output.
5909
0d7b2549
AA
59102014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5911
5912 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5913 4-byte instruction on S390.
5914
8908fca5
JB
59152014-11-19 Joel Brobecker <brobecker@adacore.com>
5916
5917 * gdb.ada/arr_arr: New testcase.
5918
4a46959e
JB
59192014-11-19 Joel Brobecker <brobecker@adacore.com>
5920
5921 * gdb.ada/pkd_arr_elem: New Testcase.
5922
470e2f4e
LM
59232014-11-18 Luis Machado <lgustavo@codesourcery.com>
5924
5925 * gdb.reverse/break-precsave: Expect completion message for
5926 core file reads.
5927 * gdb.reverse/consecutive-precsave.exp: Likewise.
5928 * gdb.reverse/finish-precsave.exp: Likewise.
5929 * gdb.reverse/i386-precsave.exp: Likewise.
5930 * gdb.reverse/machinestate-precsave.exp: Likewise.
5931 * gdb.reverse/sigall-precsave.exp: Likewise.
5932 * gdb.reverse/solib-precsave.exp: Likewise.
5933 * gdb.reverse/step-precsave.exp: Likewise.
5934 * gdb.reverse/until-precsave.exp: Likewise.
5935 * gdb.reverse/watch-precsave.exp: Likewise.
5936
a267f3ad
AA
59372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5938
5939 * gdb.base/bp-permanent.c: Include unistd.h.
5940 * gdb.python/py-framefilter-mi.c (main): Add return type.
5941 * gdb.python/py-framefilter.c (main): Likewise.
5942 * gdb.trace/actions-changed.c (main): Likewise.
5943
12084a9a
AA
59442014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5945
5946 * gdb.mi/until.c: Add eye-catchers.
5947 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5948 line numbers.
5949
dc7e1a77
AA
59502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5951
5952 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5953 function header variants in break1.c.
5954 * gdb.base/ena-dis-br.exp: Likewise.
5955 * gdb.base/hbreak2.exp: Likewise.
5956 * gdb.reverse/until-precsave.exp: Drop references to removed
5957 non-prototype function header variants in ur1.c.
5958 * gdb.reverse/until-reverse.exp: Likewise.
5959
41c77605
PM
59602014-11-17 Petr Machata <pmachata@redhat.com>
5961
5962 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5963 ${_cu_offset_size} bytes abbrev offset.
5964
34248c3a
DE
59652014-11-15 Doug Evans <xdje42@gmail.com>
5966
5967 PR symtab/17559
5968 * gdb.base/line-symtabs.exp: New file.
5969 * gdb.base/line-symtabs.c: New file.
5970 * gdb.base/line-symtabs.h: New file.
5971
646da059
YQ
59722014-11-14 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5975 (func): Add label func_label.
5976 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5977 Replace low_pc and high_pc with MACRO_AT_range.
5978 Replace name, low_pc and high_pc with MACRO_AT_func.
5979
9301ebe6
YQ
59802014-11-14 Yao Qi <yao@codesourcery.com>
5981
5982 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5983 Replace name, low_pc and high_pc with MACRO_AT_func.
5984
f166b542
YQ
59852014-11-14 Yao Qi <yao@codesourcery.com>
5986
5987 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5988 produce debug information.
5989 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5990
0f6e71e3
YQ
59912014-11-14 Yao Qi <yao@codesourcery.com>
5992
5993 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5994 object and get function length.
5995 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5996 with MACRO_AT_func.
5997 (top-level): Replace gdb_compile and clean_restart with
5998 prepare_for_testing.
5999 * gdb.dwarf2/main.c (main): Add label main_label.
6000
876c4df9
YQ
60012014-11-14 Yao Qi <yao@codesourcery.com>
6002
6003 * lib/dwarf.exp (function_range): New procedure.
6004 (Dwarf::_handle_macro_at_func): New procedure.
6005 (Dwarf::_handle_macro_at_range): New procedure.
6006 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6007
02ad9cf1
YQ
60082014-11-14 Yao Qi <yao@codesourcery.com>
6009
6010 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6011 (_handle_attribute): New procedure.
6012
a59add0c
AA
60132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6014
6015 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6016 * gdb.base/call-sc.c (zed): Likewise.
6017 * gdb.base/checkpoint.c (main): Likewise.
6018 * gdb.base/dump.c (main): Likewise.
6019 * gdb.base/gcore.c (main): Likewise.
6020 * gdb.base/huge.c (main): Likewise.
6021 * gdb.base/multi-forks.c (main): Likewise.
6022 * gdb.base/pr10179-a.c (main): Likewise.
6023 * gdb.base/savedregs.c (main): Likewise.
6024 * gdb.base/sigaltstack.c (main): Likewise.
6025 * gdb.base/siginfo.c (main): Likewise.
6026 * gdb.base/structs.c (zed): Likewise.
6027 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6028 * gdb.mi/mi-syn-frame.c (main): Likewise.
6029 * gdb.mi/until.c (foo, main): Likewise.
6030 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6031 * gdb.base/solib-weak.c (foo): Declare.
6032 * gdb.base/attach-twice.c: Include stdio.h.
6033 * gdb.base/weaklib1.c: Likewise.
6034 * gdb.base/weaklib2.c: Likewise.
6035 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6036 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6037 unistd.h.
6038 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6039 * gdb.mi/mi-exit-code.c: Likewise.
6040 * gdb.base/break-interp-lib.c: Include string.h.
6041 * gdb.base/coremaker.c: Likewise.
6042 * gdb.base/testenv.c: Likewise.
6043 * gdb.python/py-finish-breakpoint.c: Likewise.
6044 * gdb.base/inferior-died.c: Include sys/wait.h.
6045 * gdb.base/fileio.c: Include time.h.
6046 * gdb.base/async-shell.c: Include unistd.h.
6047 * gdb.base/dprintf-non-stop.c: Likewise.
6048 * gdb.base/info-os.c: Likewise.
6049 * gdb.mi/mi-console.c: Likewise.
6050 * gdb.mi/watch-nonstop.c: Likewise.
6051 * gdb.python/py-events.c: Likewise.
6052 * gdb.base/async.c (baz): Move up before its invocation.
6053 * gdb.base/code_elim2.c (my_global_func): Likewise.
6054 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6055 * gdb.base/advance.c (func2): Likewise.
6056
3b5d5997
AA
60572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6058
6059 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6060 variant.
6061 * gdb.base/annota3.c: Likewise.
6062 * gdb.base/async.c: Likewise.
6063 * gdb.base/average.c: Likewise.
6064 * gdb.base/call-ar-st.c: Likewise.
6065 * gdb.base/call-rt-st.c: Likewise.
6066 * gdb.base/call-sc.c: Likewise.
6067 * gdb.base/call-strs.c: Likewise.
6068 * gdb.base/ending-run.c: Likewise.
6069 * gdb.base/execd-prog.c: Likewise.
6070 * gdb.base/exprs.c: Likewise.
6071 * gdb.base/foll-exec.c: Likewise.
6072 * gdb.base/foll-fork.c: Likewise.
6073 * gdb.base/foll-vfork.c: Likewise.
6074 * gdb.base/funcargs.c: Likewise.
6075 * gdb.base/gcore.c: Likewise.
6076 * gdb.base/jump.c: Likewise.
6077 * gdb.base/langs0.c: Likewise.
6078 * gdb.base/langs1.c: Likewise.
6079 * gdb.base/langs2.c: Likewise.
6080 * gdb.base/mips_pro.c: Likewise.
6081 * gdb.base/nodebug.c: Likewise.
6082 * gdb.base/opaque0.c: Likewise.
6083 * gdb.base/opaque1.c: Likewise.
6084 * gdb.base/recurse.c: Likewise.
6085 * gdb.base/run.c: Likewise.
6086 * gdb.base/scope0.c: Likewise.
6087 * gdb.base/scope1.c: Likewise.
6088 * gdb.base/setshow.c: Likewise.
6089 * gdb.base/setvar.c: Likewise.
6090 * gdb.base/shmain.c: Likewise.
6091 * gdb.base/shr1.c: Likewise.
6092 * gdb.base/shr2.c: Likewise.
6093 * gdb.base/sigall.c: Likewise.
6094 * gdb.base/signals.c: Likewise.
6095 * gdb.base/so-indr-cl.c: Likewise.
6096 * gdb.base/solib2.c: Likewise.
6097 * gdb.base/structs.c: Likewise.
6098 * gdb.base/sum.c: Likewise.
6099 * gdb.base/vforked-prog.c: Likewise.
6100 * gdb.base/watchpoint.c: Likewise.
6101 * gdb.reverse/shr2.c: Likewise.
6102 * gdb.reverse/until-reverse.c: Likewise.
6103 * gdb.reverse/ur1.c: Likewise.
6104 * gdb.reverse/watch-reverse.c: Likewise.
6105
066a77c5
AA
61062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6107
6108 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6109 variant.
6110 * gdb.base/sepdebug.exp: Drop references to removed code.
6111
4f204ea5
AA
61122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6113
6114 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6115 variant. Preserve original line numbering.
6116 * gdb.base/list1.c: Likewise.
6117
3b377a3a
AA
61182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6119
6120 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6121 variant.
6122 * gdb.base/break1.c: Likewise.
6123 * gdb.base/break.exp: Drop references to removed code.
6124
e444df73
AA
61252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6126
6127 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6128 variant.
6129
8008f2a7
AA
61302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6131
6132 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6133
a5a06887
AA
61342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6135
6136 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6137 logic into perform_all_tests() and invoke it with and without
6138 function header prototypes.
6139 (do_function_calls): Remove conditional XFAIL for PR 5318.
6140 (rerun_and_prepare): Remove duplicate code.
6141 (perform_all_tests): New. Main logic moved here.
6142
44dba9b9
AA
61432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6144
6145 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6146 code guarded by #ifdef NO_PROTOTYPES.
6147 (t_double_many_args): Likewise.
6148 (DEF_FUNC_MANY_ARGS_1): Likewise.
6149 (DEF_FUNC_VALUES_1): Likewise.
6150 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6151 guarded by #ifdef PROTOTYPES.
6152
d1fbcd56
AA
61532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6154
6155 * gdb.mi/mi-console.c: Add eye-catcher.
6156 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6157 instead of literal line number.
6158
b0e59b8f
AA
61592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6160
6161 * gdb.base/shr2.c: Add eye-catcher.
6162 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6163 line number.
6164
78f98cca
AA
61652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6166
6167 * gdb.base/jump.c: Add eye-catchers.
6168 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6169 numbers.
6170
58fa2af0
AA
61712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6172
6173 * gdb.base/execd-prog.c: Add eye-catchers.
6174 * gdb.base/foll-exec.c: Likewise.
6175 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6176 line numbers.
6177
04e5059b
AA
61782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6179
6180 * gdb.base/ending-run.c: Add eye-catchers.
6181 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6182 literal line numbers.
6183
dbfdb174
AA
61842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6185
6186 * gdb.base/call-rt-st.c: Add eye-catchers.
6187 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6188 literal line numbers.
6189
888a2ade
AA
61902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6191
6192 * gdb.base/call-ar-st.c: Add eye-catchers.
6193 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6194 literal line numbers.
6195
6acc2dde
AA
61962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6197
6198 * gdb.base/average.c: Add eye-catchers.
6199 * gdb.base/sum.c: Likewise.
6200 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6201 regexps dynamically.
6202
9ecfcd1d
AA
62032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6204
6205 * gdb.base/solib1.c: Add eye-catchers.
6206 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6207 literal line numbers.
6208
78708b7c
PA
62092014-11-12 Pedro Alves <palves@redhat.com>
6210
6211 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6212 leader has exited.
6213
af48d08f
PA
62142014-11-12 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.arch/i386-bp_permanent.c: New file.
6217 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6218 (srcfile): Set to i386-bp_permanent.c.
6219 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6220 that stepi does not execute the 'leave' instruction, instead of
6221 testing it does execute.
6222 * gdb.base/bp-permanent.c: New file.
6223 * gdb.base/bp-permanent.exp: New file.
6224
af3768e9
DE
62252014-11-10 Doug Evans <xdje42@gmail.com>
6226
6227 PR symtab/17564
6228 * gdb.base/symtab-search-order.exp: New file.
6229 * gdb.base/symtab-search-order.c: New file.
6230 * gdb.base/symtab-search-order-1.c: New file.
6231 * gdb.base/symtab-search-order-shlib-1.c: New file.
6232
9de00a4a
PA
62332014-11-07 Pedro Alves <palves@redhat.com>
6234
6235 PR gdb/17511
6236 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6237 i?86-*-linux*.
6238
e0f52461
SC
62392014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6240
6241 PR c++/17494
6242 * gdb.cp/pr17494.cc: New file.
6243 * gdb.cp/pr17494.exp: New file.
6244
6ce8c980
YQ
62452014-11-02 Yao Qi <yao@codesourcery.com>
6246
6247 * gdb.python/python.exp: Get working directory and match the
6248 output of "set extended-prompt \\w " with it.
6249
02be9a71
DE
62502014-10-30 Doug Evans <dje@google.com>
6251
6252 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6253 in objfiles.
6254 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6255 in progspaces.
6256
3bdff46b
LM
62572014-10-30 Janis Johnson <janisjo@codesourcery.com>
6258
6259 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6260 * gdb.base/realname-expand.exp: Likewise.
6261 * gdb.linespec/macro-relative.exp: Likewise.
6262
ab917dfb
PA
62632014-10-29 Pedro Alves <palves@redhat.com>
6264
6265 PR gdb/17408
6266 * gdb.threads/schedlock.c (some_function): New function.
6267 (call_function): New global.
6268 (MAYBE_CALL_SOME_FUNCTION): New macro.
6269 (thread_function): Call it.
6270 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6271 and use it instead of a global counter. Adjust all callers.
6272 (get_current_thread): Use "find current thread" for test message
6273 here rather than having all callers pass down the same string.
6274 (goto_loop): New procedure, factored out from ...
6275 (my_continue): ... this.
6276 (step_ten_loops): Change parameter from test message to command to
6277 use. Adjust.
6278 (list_count): Delete global.
6279 (check_result): New procedure, factored out from duplicate top
6280 level code.
6281 (continue tests): Wrap in with_test_prefix.
6282 (test_step): New procedure, factored out from duplicate top level
6283 code.
6284 (top level): Test "step" in combination with all scheduler-locking
6285 modes. Test "next" in combination with all scheduler-locking
6286 modes, and in combination with stepping over a function call or
6287 not.
6288 * gdb.threads/next-bp-other-thread.c: New file.
6289 * gdb.threads/next-bp-other-thread.exp: New file.
6290
d3d4baed
PA
62912014-10-29 Pedro Alves <palves@redhat.com>
6292
6293 PR python/17372
6294 * gdb.python/python.exp: Test a multi-line command that spawns
6295 interactive Python.
6296 * gdb.base/multi-line-starts-subshell.exp: New file.
6297
563e8d85
YQ
62982014-10-29 Yao Qi <yao@codesourcery.com>
6299
6300 * gdb.base/fileio.exp: Make directories on host.
6301
0ea4d52e
YQ
63022014-10-29 Yao Qi <yao@codesourcery.com>
6303
6304 * gdb.base/fileio.c (test_write): Close the file.
6305
7f5ef605
PA
63062014-10-28 Pedro Alves <palves@redhat.com>
6307
6308 PR gdb/12623
6309 * gdb.base/sigstep.c (no_handler): New global.
6310 (main): If 'no_handler is true, set the signal handlers to
6311 SIG_IGN.
6312 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6313 with_sw_watch and no_handler parameters. Handle them.
6314 (top level) <stepping over handler when stopped at a breakpoint
6315 test>: Add a test axis for testing with a software watchpoint, and
6316 another for testing with the signal handler set to SIG_IGN.
6317 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6318 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6319
abbdbd03
PA
63202014-10-28 Pedro Alves <palves@redhat.com>
6321
6322 PR gdb/17511
6323 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6324 * gdb.base/sigstep.exp (other_handler_location): New global.
6325 (advance): Support stepping into the signal handler, and running
6326 commands while in the handler.
6327 (in_handler_map): New global.
6328 (top level): In the advance test, add combinations for getting
6329 into the handler with stepping commands, and for running commands
6330 in the handler. Add comment descripting the advancei tests.
6331
1df4399f
PA
63322014-10-28 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.base/sigstep.exp: Use build_executable instead of
6335 prepare_for_testing.
6336 (top level): Move code that starts GDB, runs to main and creates a
6337 display to ...
6338 (restart): ... this new procedure.
6339 (top level): Move backtrace from signal handler test to ...
6340 (validate_backtrace): ... this new procedure.
6341 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6342 with_test_prefix. Always restart GDB.
6343 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6344 with_test_prefix. Always restart GDB. No need to delete
6345 breakpoints after the test.
6346 (test_skip_handler): Remove prefix parameter.
6347 (skip_over_handler, breakpoint_to_handler)
6348 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6349 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6350 restart GDB. No need to delete breakpoints after the test.
6351 (top level): Use foreach to call the test procedures with
6352 different commands.
6353
a5b6e449
PA
63542014-10-28 Pedro Alves <palves@redhat.com>
6355
6356 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6357 instead of GNATS numbers.
6358 * gdb.base/sigbpt.exp: Likewise.
6359 * gdb.base/siginfo.exp: Likewise.
6360 * gdb.base/sigstep.exp: Likewise.
6361
e5f8a7cc
PA
63622014-10-27 Pedro Alves <palves@redhat.com>
6363
6364 * gdb.base/sigstep.c (dummy): New global.
6365 (main): Issue a couple writes to the new global.
6366 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6367 procedures.
6368 (skip_over_handler): Use test_skip_handler.
6369 (top level): Call skip_over_handler for stepi and nexti too.
6370 (breakpoint_over_handler): Use test_skip_handler.
6371 (top level): Call breakpoint_over_handler for stepi and nexti too.
6372
763905a3
YQ
63732014-10-27 Yao Qi <yao@codesourcery.com>
6374
6375 * gdb.trace/tfile.c (adjust_function_address)
6376 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6377 function descriptor.
6378
6f259a23
DB
63792014-10-24 Don Breazeal <donb@codesourcery.com>
6380
6381 * gdb.base/foll-fork.exp (test_follow_fork,
6382 catch_fork_child_follow): Check for updated fork messages emitted
6383 from infrun.c.
6384 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6385 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6386 vfork_and_exec_child_follow_through_step): Check for updated vfork
6387 messages emitted from infrun.c.
6388
09dd9a69
PA
63892014-10-24 Pedro Alves <palves@redhat.com>
6390
6391 * gdb.base/corefile.exp: Remove references to ultrix.
6392 * gdb.base/interrupt.exp: Likewise.
6393 * gdb.base/whatis.exp: Likewise.
6394 * gdb.gdb/selftest.exp: Likewise.
6395 * gdb.threads/manythreads.exp: Likewise.
6396 * gdb.threads/print-threads.exp: Likewise.
6397 * gdb.threads/pthreads.exp:: Likewise.
6398 * gdb.threads/schedlock.exp: Likewise.
6399
3433cfa5
SC
64002014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6401
6402 * gdb.cp/non-trivial-retval.cc: Add a test case.
6403 * gdb.cp/non-trivial-retval.exp: Add a test.
6404
092f880b
YQ
64052014-10-20 Yao Qi <yao@codesourcery.com>
6406
6407 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6408 * gdb.python/py-objfile-script-gdb.py: New file.
6409 * gdb.python/py-objfile-script.exp: Update reference to
6410 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6411 of remote_download. Remove the dest file.
6412
acbdb7f3
YQ
64132014-10-20 Yao Qi <yao@codesourcery.com>
6414
6415 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6416 * gdb.base/step-line.exp: Likewise.
6417 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6418 * gdb.dwarf2/dw2-basic.exp: Likewise.
6419 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6420 * gdb.dwarf2/dw2-filename.exp: Likewise.
6421 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6422 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6423 * gdb.dwarf2/dw2-producer.exp: Likewise.
6424 * gdb.dwarf2/mac-fileno.exp: Likewise.
6425 * gdb.python/py-frame-args.exp: Likewise.
6426 * gdb.python/py-framefilter.exp: Likewise.
6427 * gdb.python/py-mi.exp: Likewise.
6428 * gdb.python/py-objfile-script.exp: Likewise
6429 * gdb.python/py-pp-integral.exp: Likewise.
6430 * gdb.python/py-pp-re-notag.exp: Likewise.
6431 * gdb.python/py-prettyprint.exp: Likewise.
6432 * gdb.python/py-section-script.exp: Likewise.
6433 * gdb.python/py-typeprint.exp: Likewise.
6434 * gdb.python/py-xmethods.exp: Likewise.
6435 * gdb.stabs/weird.exp: Likewise.
6436 * gdb.xml/tdesc-regs.exp: Likewise.
6437
bd286a29
KCY
64382014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6439
6440 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6441 (out_cu): Use addr_len for the size of addresses.
6442 (out_line): Likewise. Size DW_LNE_set_address instruction
6443 according to addr_len.
6444 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6445 (FUNC): Add START_INSNS to definition.
6446
673dc4a0
YQ
64472014-10-18 Yao Qi <yao@codesourcery.com>
6448
6449 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6450 gdb_has_argv0 return true.
6451 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6452 check [target_info exists noargs], check [gdb_has_argv0]
6453 instead.
6454 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6455 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6456 procedures.
6457
4ffbba72
DE
64582014-10-17 Doug Evans <dje@google.com>
6459
6460 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6461 event.
6462 * gdb.python/py-events.py: Add clear_objfiles event.
6463
d096d8c1
DE
64642014-10-17 Doug Evans <dje@google.com>
6465
6466 * gdb.python/py-objfile.exp: Test progspace attribute.
6467
a80db015
LM
64682014-10-17 Luis Machado <lgustavo@codesourcery.com>
6469
6470 * gdb.guile/scm-breakpoint.exp: Do not assume any
6471 directory separators when matching source file paths.
6472 * gdb.python/py-breakpoint.exp: Likewise.
6473 * gdb.reverse/break-precsave.exp: Likewise.
6474 * gdb.reverse/break-reverse.exp: Likewise.
6475 * gdb.reverse/consecutive-precsave.exp: Likewise.
6476 * gdb.reverse/finish-precsave.exp: Likewise.
6477 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6478 * gdb.reverse/finish-reverse.exp: Likewise.
6479 * gdb.reverse/i386-precsave.exp: Likewise.
6480 * gdb.reverse/i387-env-reverse.exp: Likewise.
6481 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6482 * gdb.reverse/machinestate-precsave.exp: Likewise.
6483 * gdb.reverse/machinestate.exp: Likewise.
6484 * gdb.reverse/sigall-precsave.exp: Likewise.
6485 * gdb.reverse/solib-precsave.exp: Likewise.
6486 * gdb.reverse/step-precsave.exp: Likewise.
6487 * gdb.reverse/until-precsave.exp: Likewise.
6488 * gdb.reverse/watch-precsave.exp: Likewise.
6489 * gdb.reverse/watch-reverse.exp: Likewise.
6490
b22089ab
YQ
64912014-10-17 Yao Qi <yao@codesourcery.com>
6492
6493 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6494 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6495
6c4486e6
PA
64962014-10-17 Pedro Alves <palves@redhat.com>
6497
6498 PR gdb/17471
6499 * gdb.base/bg-execution-repeat.c: New file.
6500 * gdb.base/bg-execution-repeat.exp: New file.
6501
0ff33695
PA
65022014-10-17 Pedro Alves <palves@redhat.com>
6503
6504 PR gdb/17300
6505 * gdb.base/continue-all-already-running.c: New file.
6506 * gdb.base/continue-all-already-running.exp: New file.
6507
6fdebc3d
PA
65082014-10-17 Pedro Alves <palves@redhat.com>
6509
6510 PR gdb/17472
6511 * gdb.base/annota-input-while-running.c: New file.
6512 * gdb.base/annota-input-while-running.exp: New file.
6513
32a8097b
PA
65142014-10-17 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.base/callfuncs.exp: emove references to osf.
6517 * gdb.base/sigall.exp: Likewise.
6518 * gdb.gdb/selftest.exp: Likewise.
6519 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6520 * gdb.mi/non-stop.c: Likewise.
6521 * gdb.mi/pthreads.c: Likewise.
6522 * gdb.reverse/sigall-precsave.exp: Likewise.
6523 * gdb.reverse/sigall-reverse.exp: Likewise.
6524 * gdb.threads/pthreads.c: Likewise.
6525 * gdb.threads/pthreads.exp: Likewise.
6526
7a3517ff
YQ
65272014-10-17 Yao Qi <yao@codesourcery.com>
6528
6529 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6530 check 'target_info exists noargs'.
6531 (test_command_prompt_position): Likewise.
6532 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6533 Remove "set args".
6534 (progvar_simple_while_test): Likewise.
6535 (progvar_complex_if_while_test): Likewise.
6536 (if_while_breakpoint_command_test): Likewise.
6537 (infrun_breakpoint_command_test): Likewise.
6538 (breakpoint_command_test): Likewise.
6539 (watchpoint_command_test): Likewise.
6540 (bp_deleted_in_command_test): Likewise.
6541 (temporary_breakpoint_commands): Likewise.
6542
bb99c472
YQ
65432014-10-16 Yao Qi <yao@codesourcery.com>
6544
6545 * gdb.base/remotetimeout.exp: Remove noargs checking.
6546
7c16b83e
PA
65472014-10-15 Pedro Alves <palves@redhat.com>
6548
6549 PR breakpoints/9649
6550 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6551 * gdb.base/breakpoint-in-ro-region.exp
6552 (probe_target_hardware_step): New procedure.
6553 (top level): Probe hardware stepping and hardware breakpoint
6554 support. Test stepping through a read-only region, with both
6555 "breakpoint auto-hw" on and off and both "always-inserted" on and
6556 off.
6557
35a49624
IB
65582014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6559
6560 * gdb.dlang/demangle.exp: Update for demangling changes.
6561
2d1c107c
SC
65622014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6563
6564 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6565 * gdb.cp/non-trivial-retval.exp: Add new tests.
6566
778811d5
SC
65672014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6568
6569 PR c++/13403
6570 PR c++/15154
6571 * gdb.cp/non-trivial-retval.cc: New file.
6572 * gdb.cp/non-trivial-retval.exp: New file.
6573
10c5f0a8
YQ
65742014-10-15 Yao Qi <yao@codesourcery.com>
6575
6576 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6577 remote host.
6578
65d7b369
YQ
65792014-10-15 Yao Qi <yao@codesourcery.com>
6580
6581 * gdb.python/py-symbol.exp: Match file base name if host is
6582 remote, otherwise match file name with dir name.
6583 * gdb.python/py-symtab.exp: Likewise.
6584 * gdb.python/python.exp: Likewise.
6585
46dc1394
YQ
65862014-10-15 Yao Qi <yao@codesourcery.com>
6587
6588 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6589 pattern.
6590 * gdb.python/py-symtab.exp: Likewise.
6591 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6592 locationn.
6593
c40cc657
JB
65942014-10-14 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.ada/addr_arith: New testcase.
6597
2abf49e1
MR
65982014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6599
6600 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6601 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6602 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6603 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6604
f7088df3
SDJ
66052014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6606
6607 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6608 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6609 * gdb.arch/stap-eval-lang-ada.exp: New file.
6610
4dc06805
YQ
66112014-10-14 Yao Qi <yao@codesourcery.com>
6612
6613 * gdb.mi/mi-var-child.c (nothing1): New function.
6614 (nothing2): New function.
6615 (do_children_tests): Set function pointers by nothing1 and
6616 nothing2.
6617 * gdb.mi/mi-var-child.exp: Step over new added statements.
6618 Update test to match the new output.
6619 * gdb.mi/var-cmd.c (nothing1): New function.
6620 (nothing2): New function.
6621 (do_children_tests): Set function pointers by nothing1 and
6622 nothing2.
6623 * gdb.mi/mi-var-display.exp: Update test to match output.
6624 Step to the line specified by $line_dct_nothing.
6625 Increase the number of lines to step.
6626
46a93de2
YQ
66272014-10-14 Yao Qi <yao@codesourcery.com>
6628
6629 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6630 tests.
6631 * gdb.mi/mi2-var-child.exp: Likewise.
6632
14ea52ee
DE
66332014-10-13 Doug Evans <dje@google.com>
6634
6635 * gdb.python/py-objfile.exp: Change name of file name test.
6636
e5c6e92b
DE
66372014-10-13 Doug Evans <dje@google.com>
6638
6639 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6640 from the start of the CU.
6641
c780cc2f
JK
66422014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6643 Yao Qi <yao@codesourcery.com>
6644
6645 Fix "save breakpoints" for "catch" command.
6646 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6647 Remove -nonewline. Match also the added "main" line.
6648
99894e11
JK
66492014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 Fix "save breakpoints" for "disable $bpnum" command.
6652 * gdb.base/save-bp.c (main): Add label.
6653 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6654
6e1ac5a3
JK
66552014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6656
6657 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6658
754dd2b0
YQ
66592014-10-11 Yao Qi <yao@codesourcery.com>
6660
6661 * gdb.server/server-kill.exp: Execute command
6662 "set remote trace-status-packet on" before "tstatus".
6663
f90183d7
YQ
66642014-10-11 Yao Qi <yao@codesourcery.com>
6665
6666 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6667 (main): Call getppid.
6668 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6669 and continue to it. Read variable "server_pid".
6670
bf40a607
YQ
66712014-10-11 Yao Qi <yao@codesourcery.com>
6672
6673 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6674
052ca370
YQ
66752014-10-11 Yao Qi <yao@codesourcery.com>
6676
6677 * gdb.threads/thread-find.exp: Don't execute command
6678 "info threads".
6679 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6680 * gdb.threads/linux-dp.exp: Don't check the condition
6681 $threads_created equals to zero.
6682
3831839c
PA
66832014-10-10 Pedro Alves <palves@redhat.com>
6684
6685 * gdb.base/bigcore.exp: Remove references to IRIX.
6686 * gdb.base/funcargs.exp: Likewise.
6687 * gdb.base/interrupt.exp: Likewise.
6688 * gdb.base/mips_pro.exp: Likewise.
6689 * gdb.base/nodebug.exp: Likewise.
6690 * gdb.base/setvar.exp: Likewise.
6691 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6692
8b9a549d
PA
66932014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6694 Pedro Alves <palves@redhat.com>
6695
6696 PR symtab/14466
6697 * gdb.base/vdso-warning.c: New file.
6698 * gdb.base/vdso-warning.exp: New file.
6699
d48ba5e8
DE
67002014-10-02 Doug Evans <dje@google.com>
6701
6702 * gdb.base/structs.c (main): Don't run forever.
6703
2278c276
PA
67042014-10-02 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6707 (top level) <stop threads 1, stop threads 2>: Use it.
6708
b57bacec
PA
67092014-10-02 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.threads/break-while-running.exp (test): Add new
6712 'update_thread_list' argument. Skip "info threads" if false.
6713 (top level): Add new 'update_thread_list' axis.
6714
13fd3ff3
PA
67152014-10-02 Pedro Alves <palves@redhat.com>
6716
6717 PR breakpoints/17431
6718 * gdb.base/execl-update-breakpoints.c: New file.
6719 * gdb.base/execl-update-breakpoints.exp: New file.
6720
0fec99e8
PA
67212014-10-01 Pedro Alves <palves@redhat.com>
6722
6723 * gdb.base/breakpoint-in-ro-region.c: New file.
6724 * gdb.base/breakpoint-in-ro-region.exp: New file.
6725
2ddf4301
SM
67262014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6727
6728 * gdb.mi/mi-exit-code.exp: New file.
6729 * gdb.mi/mi-exit-code.c: New file.
6730
6a5f3f43
YQ
67312014-09-30 Yao Qi <yao@codesourcery.com>
6732
6733 * lib/prelink-support.exp (build_executable_own_libs): Error if
6734 the target isn't native.
6735
345bcc73
YQ
67362014-09-30 Yao Qi <yao@codesourcery.com>
6737
6738 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6739 false.
6740
a25a5a45
PA
67412014-09-22 Pedro Alves <palves@redhat.com>
6742
6743 * gdb.threads/break-while-running.exp: New file.
6744 * gdb.threads/break-while-running.c: New file.
6745
00ba3162
YQ
67462014-09-19 Yao Qi <yao@codesourcery.com>
6747
6748 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6749 Invoke test. Restart GDB with --readnow and invoke test again.
6750
c3b7b696
YQ
67512014-09-19 Yao Qi <yao@codesourcery.com>
6752
6753 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6754 proc set_breakpoint_on_gcd_function. Invoke
6755 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6756 invoke set_breakpoint_on_gcd_function again.
6757
2b4fd423
DE
67582014-09-18 Doug Evans <dje@google.com>
6759
6760 * gdb.dwarf2/symtab-producer.exp: New file.
6761
a5947601
SDJ
67622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6763
6764 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6765 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6766 * gdb.base/global-var-nested-by-dso.c: Likewise.
6767 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6768
91c19059
SDJ
67692014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6770 Pedro Alves <palves@redhat.com>
6771
6772 * gdb.base/watch-bitfields.exp: Pass string other than test file
6773 name to prepare_for_testing.
6774 (watch): New procedure.
6775 (expect_watchpoint): Use with_test_prefix.
6776 (top level): Factor out tests to ...
6777 (test_watch_location, test_regular_watch): ... these new
6778 procedures, and use with_test_prefix and gdb_continue_to_end.
6779
bb9d5f81
PP
67802014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6781
6782 PR breakpoints/12526
6783 * gdb.base/watch-bitfields.exp: New file.
6784 * gdb.base/watch-bitfields.c: New file.
6785
635856f5
PA
67862014-09-16 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6789 software and hardware addresses, not software address against
6790 itself.
6791
7280ceea
PA
67922014-09-16 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6795 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6796
428b16bd
PA
67972014-09-16 Pedro Alves <palves@redhat.com>
6798
6799 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6800 files.
6801 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6802 "*-*-vxworks*" throughout.
6803 * gdb.base/break.exp: Likewise.
6804 * gdb.base/default.exp: Likewise.
6805 * gdb.base/scope.exp: Likewise.
6806 * gdb.base/sepdebug.exp: Likewise.
6807 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6808 throughout.
6809 * gdb.base/run.c: Likewise.
6810 * gdb.base/sepdebug.c: Likewise.
6811 * gdb.hp/gdb.aCC/run.c: Likewise.
6812 * gdb.reverse/until-reverse.c: Likewise.
6813 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6814
666d413c
YQ
68152014-09-16 Yao Qi <yao@codesourcery.com>
6816
6817 * boards/local-remote-host-native.exp: New file.
6818
57cbd724
DE
68192014-09-14 Doug Evans <xdje42@gmail.com>
6820
6821 * gdb.threads/queue-signal.c (thread_count): New variable.
6822 (thread_count_mutex, thread_count_condvar): New variables.
6823 (incr_thread_count, wait_all_threads_running): New functions.
6824 (main): Wait for all threads to be in their thread functions.
6825
81219e53
DE
68262014-09-13 Doug Evans <xdje42@gmail.com>
6827
6828 * gdb.threads/queue-signal.c: New file.
6829 * gdb.threads/queue-signal.exp: New file.
6830
3714cea7
DE
68312014-09-13 Doug Evans <xdje42@gmail.com>
6832
6833 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6834 be consistent with what default_gdb_init uses.
6835 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6836 the plain text of the prompt. Add some logging printfs.
6837 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6838
fa43b1d7
PA
68392014-09-12 Pedro Alves <palves@redhat.com>
6840
6841 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6842 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6843 * gdb.arch/i386-size-overlap.exp: Likewise.
6844 * gdb.arch/i386-size.exp: Likewise.
6845 * gdb.arch/i386-unwind.exp: Likewise.
6846 * gdb.base/a2-run.exp: Likewise.
6847 * gdb.base/break.exp: Likewise.
6848 * gdb.base/charset.exp: Likewise.
6849 * gdb.base/chng-syms.exp: Likewise.
6850 * gdb.base/commands.exp: Likewise.
6851 * gdb.base/dbx.exp: Likewise.
6852 * gdb.base/find.exp: Likewise.
6853 * gdb.base/funcargs.exp: Likewise.
6854 * gdb.base/jit-simple.exp: Likewise.
6855 * gdb.base/reread.exp: Likewise.
6856 * gdb.base/sepdebug.exp: Likewise.
6857 * gdb.base/step-bt.exp: Likewise.
6858 * gdb.cp/mb-inline.exp: Likewise.
6859 * gdb.cp/mb-templates.exp: Likewise.
6860 * gdb.objc/basicclass.exp: Likewise.
6861 * gdb.threads/killed.exp: Likewise.
6862
9d9bf2df
EBM
68632014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6864
6865 PR tdep/17379
6866 * gdb.arch/powerpc-stackless.S: New file.
6867 * gdb.arch/powerpc-stackless.exp: New file.
6868
1cf2f1b0
JK
68692014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6870
6871 * gdb.base/attach.c: Include unistd.h.
6872 (main): Call alarm. Add label postloop.
6873 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6874 gdb_breakpoint, gdb_continue_to_breakpoint.
6875 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6876
98880d46
PA
68772014-09-11 Pedro Alves <palves@redhat.com>
6878
6879 PR gdb/17347
6880 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6881 * gdb.base/attach.exp (test_command_line_attach_run): New
6882 procedure.
6883 (top level): Call it.
6884
4c92ff2c
PA
68852014-09-11 Pedro Alves <palves@redhat.com>
6886
6887 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6888 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6889 (do_command_attach_tests): Use spawn_wait_for_attach.
6890 * gdb.base/solib-overlap.exp: Likewise.
6891 * gdb.multi/multi-attach.exp: Likewise.
6892 * gdb.python/py-prompt.exp: Likewise.
6893 * gdb.python/py-sync-interp.exp: Likewise.
6894 * gdb.server/ext-attach.exp: Likewise.
6895
3adc1a7d
GKB
68962014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6897
6898 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6899 command in testcase. Simplify testcase.
6900
96334934
JB
69012014-09-10 Joel Brobecker <brobecker@adacore.com>
6902
6903 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6904
eb479039
JB
69052014-09-10 Joel Brobecker <brobecker@adacore.com>
6906
6907 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6908
deede10c
JB
69092014-09-10 Joel Brobecker <brobecker@adacore.com>
6910
6911 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6912
7828a5f5
JB
69132014-09-10 Joel Brobecker <brobecker@adacore.com>
6914
6915 * gdb.dwarf2/dynarr-ptr.c: New file.
6916 * gdb.dwarf2/dynarr-ptr.exp: New file.
6917
33aeebcf
MR
69182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6919
6920 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6921 of 30 rather than hardcoding 120 for a slow test case. Take the
6922 `gdb,timeout' target setting into account for this calculation.
6923 Don't extend the timeout for the test cases that don't need it.
6924
7b415901
MR
69252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6926
6927 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6928 a factor of 2 for a slow test case. Take the `gdb,timeout'
6929 target setting into account for this calculation.
6930 * gdb.reverse/until-precsave.exp: Increase the timeout by
6931 a factor of 15 and 3 respectively rather than adding 120
6932 for a pair of slow test cases. Take the `gdb,timeout'
6933 target setting into account for this calculation.
6934
4a40f85a
MR
69352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6936
6937 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6938 timeout, don't pass one down to gdb_expect.
6939 (gdb_expect): Rework timeout selection.
6940
09635af7
MR
69412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6942
6943 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6944 exception on timeout.
6945 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6946 (gdbserver_start_extended): Catch any `gdbserver_start' error
6947 exceptions.
6948 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6949 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6950 `gdbserver_gdb_load' error exceptions.
6951
2bdd10b7
MR
69522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6953
6954 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6955 120 on waiting for the TCP socket to open.
6956
316935f0
DE
69572014-09-09 Doug Evans <xdje42@gmail.com>
6958
6959 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6960 _caller_matches, _any_caller_is, _any_caller_matches.
6961
83740597
DE
69622014-09-09 Doug Evans <xdje42@gmail.com>
6963
6964 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6965
4c122fc3
YQ
69662014-09-09 Yao Qi <yao@codesourcery.com>
6967
6968 * gdb.mi/mi-var-display.exp: Set print symbol off.
6969
a9f116cb
GKB
69702014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6971
6972 PR gdb/17035
6973 * gdb.base/commands.exp: Add tests to verify user-defined
6974 commands with empty bodies.
6975 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6976 python commands in `show user command`.
6977 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6978 scheme commands in `show user command`.
6979
c75bd3a2
JK
69802014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6981
6982 PR python/17355
6983 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6984 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6985 * gdb.python/py-framefilter-invalidarg.exp: New file.
6986 * gdb.python/py-framefilter-invalidarg.py: New file.
6987
faa42425
DE
69882014-09-06 Doug Evans <xdje42@gmail.com>
6989
6990 PR 15276
6991 * gdb.python/py-caller-is.c: New file.
6992 * gdb.python/py-caller-is.exp: New file.
6993
474ca4f6
SDJ
69942014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6995
6996 PR gdb/17235
6997 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6998 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6999
eb0b0463
SDJ
70002014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7001
7002 PR fortran/17237
7003 * gdb.fortran/print-formatted.exp: New file.
7004 * gdb.fortran/print-formatted.f90: Likewise.
7005
5f3b99cf
SS
70062014-09-03 Sasha Smundak <asmundak@google.com>
7007
7008 * gdb.python/py-frame.exp: Test Frame.read_register.
7009
7d793aa9
SDJ
70102014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7011
7012 PR python/16699
7013 * gdb.python/py-completion.exp: New file.
7014 * gdb.python/py-completion.py: Likewise.
7015
fb0576e9
DE
70162014-08-28 Doug Evans <dje@google.com>
7017
7018 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7019 eax,etc. are live with values set by gdb and thus the compiler can't
7020 use them.
7021 * gdb.arch/i386-pseudo.c (main): Ditto.
7022
ee92b0dd
DE
70232014-08-27 Doug Evans <dje@google.com>
7024
7025 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7026
6649db35
DE
70272014-08-25 Doug Evans <dje@google.com>
7028
7029 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7030 (main): Ditto.
7031
564b7600
DE
70322014-08-25 Doug Evans <dje@google.com>
7033
7034 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7035
3881fb67
YQ
70362014-08-24 Yao Qi <yao@codesourcery.com>
7037
7038 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7039 symbol off.
7040 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7041
a05a36a5
DE
70422014-08-22 Doug Evans <dje@google.com>
7043
7044 PR 17276
7045 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7046 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7047 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7048
7c343b48
YQ
70492014-08-22 Yao Qi <yao@codesourcery.com>
7050
7051 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7052 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7053 * gdb.python/python.exp: Likewise. Use .py file on the host
7054 instead of the build.
7055
22fd09ae
JK
70562014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 * gdb.threads/gcore-stale-thread.c: New file.
7059 * gdb.threads/gcore-stale-thread.exp: New file.
7060
a8454a7c
PA
70612014-08-21 Pedro Alves <palves@redhat.com>
7062
7063 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7064 * gdb.base/gcore-relro-pie.exp: Likewise.
7065 * gdb.base/gcore-relro.exp: Likewise.
7066 * gdb.base/gcore.exp: Likewise.
7067 * gdb.base/print-symbol-loading.exp: Likewise.
7068 * gdb.threads/gcore-thread.exp: Likewise.
7069 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7070
2a31c623
PA
70712014-08-20 Pedro Alves <palves@redhat.com>
7072 Jan Kratochvil <jan.kratochvil@redhat.com>
7073
7074 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7075 configure.
7076 (EXPECT): Handle READ1 being set.
7077 (all): Depend on EXTRA_RULES.
7078 (check-read1, expect-read1, read1.so, read1): New rules.
7079 * README (Testsuite Parameters): Document the READ1 make variable.
7080 (Race detection): New section.
7081 * configure: Regenerate.
7082 * configure.ac: If build==host==target, and running under a
7083 GNU/glibc system, add read1 to the extra Makefile rules.
7084 (EXTRA_RULES): AC_SUBST it.
7085 * lib/read1.c: New file.
7086
d36430db
JB
70872014-08-20 Joel Brobecker <brobecker@adacore.com>
7088
7089 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7090 the handling of variables declared as a typedef to an array
7091 which a DW_AT_data_location attribute.
7092
9a0dc9e3
PA
70932014-08-19 Andrew Burgess <aburgess@broadcom.com>
7094 Pedro Alves <palves@redhat.com>
7095
7096 PR symtab/14604
7097 PR symtab/14605
7098 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7099 gdb_test.
7100
0718a8da
PA
71012014-08-19 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7104
13b448cd
YQ
71052014-08-19 Yao Qi <yao@codesourcery.com>
7106
7107 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7108 right line.
7109
1cbf5077
DB
71102014-08-18 David Blaikie <dblaikie@gmail.com>
7111
7112 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7113
bf0fae19
JB
71142014-08-18 Joel Brobecker <brobecker@adacore.com>
7115
7116 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7117 attribute in array range.
7118
3c8c5dcc
JB
71192014-08-18 Joel Brobecker <brobecker@adacore.com>
7120
7121 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7122
e66d4446
SC
71232014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7124
7125 PR c++/17132
7126 * gdb.cp/pr17132.cc: New file.
7127 * gdb.cp/pr17132.exp: New file.
7128
940df408
SC
71292014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7130
7131 * gdb.python/py-xmethods.py (A_getarrayind)
7132 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7133 Use 'print' with function call syntax.
7134 (E_method_matcher.match): Fix tab vs space indentation mixup.
7135
ebcc6c3a
YQ
71362014-08-15 Yao Qi <yao@codesourcery.com>
7137
7138 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7139 false.
7140
775e0f04
YQ
71412014-08-15 Yao Qi <yao@codesourcery.com>
7142
7143 * gdb.cp/casts.exp: Set print symbol off.
7144 * gdb.cp/class2.exp: Likewise.
7145 * gdb.cp/overload.exp: Likewise.
7146 * gdb.cp/templates.exp: Likewise.
7147
d769e349
DE
71482014-08-11 Doug Evans <dje@google.com>
7149
7150 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7151 (test_load_shlib): Update.
7152
20c6f1e1
YQ
71532014-08-09 Yao Qi <yao@codesourcery.com>
7154
7155 * gdb.base/display.exp: Invoke is_address_zero_readable.
7156 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7157 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7158 * gdb.base/hbreak-unmapped.exp: Return if
7159 is_address_zero_readable returns true.
7160 * gdb.base/signest.exp: Likewise.
7161 * gdb.base/signull.exp: Likewise.
7162 * gdb.base/sigbpt.exp: Likewise.
7163 * gdb.guile/scm-disasm.exp: Do the test if
7164 is_address_zero_readable returns false.
7165 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7166 * gdb.python/py-arch.exp: Likewise.
7167 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7168 * lib/gdb.exp (is_address_zero_readable): New proc.
7169
5792e8e3
YQ
71702014-08-09 Yao Qi <yao@codesourcery.com>
7171
7172 PR testsuite/13443
7173 * gdb.mi/mi-var-display.exp: Make test messages unique.
7174
3cecbbbe
TT
71752014-08-04 Tom Tromey <tromey@redhat.com>
7176
7177 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7178 target 0".
7179
00b51ff5
TT
71802014-08-04 Tom Tromey <tromey@redhat.com>
7181
7182 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7183 "target_resume".
7184
6908c509
JB
71852014-08-01 Joel Brobecker <brobecker@adacore.com>
7186
7187 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7188 inner_vla_struct_object_size.
7189 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7190 as xfail.
7191
cc6563d2
PA
71922014-07-30 Pedro Alves <palves@redhat.com>
7193
7194 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7195 comment.
7196
7e09a223
YQ
71972014-07-29 Yao Qi <yao@codesourcery.com>
7198
7199 PR gdb/17206
7200 * gdb.base/until-nodebug.exp: New.
7201
7ebdbe92
DE
72022014-07-28 Doug Evans <xdje42@gmail.com>
7203
7204 PR guile/17203
7205 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7206 previously existing parameter, and previously ambiguously spelled
7207 parameter.
7208
fdb1adc6
WN
72092014-07-28 Will Newton <will.newton@linaro.org>
7210
7211 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7212
186fcde0
DE
72132014-07-26 Ludovic Courtès <ludo@gnu.org>
7214 Doug Evans <xdje42@gmail.com>
7215
7216 PR guile/17146
7217 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7218
70509625
PA
72192014-07-25 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.threads/signal-command-handle-nopass.c: New file.
7222 * gdb.threads/signal-command-handle-nopass.exp: New file.
7223 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7224 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7225 * gdb.threads/signal-delivered-right-thread.c: New file.
7226 * gdb.threads/signal-delivered-right-thread.exp: New file.
7227
c3f814a1
PA
72282014-07-25 Pedro Alves <palves@redhat.com>
7229
7230 * gdb.base/double-prompt-target-event-error.exp
7231 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7232 match.
7233 (cancel_pagination_in_target_event): Rework double prompt
7234 detection.
7235 * gdb.base/paginate-after-ctrl-c-running.exp
7236 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7237 <return>' match.
7238 * gdb.base/paginate-bg-execution.exp
7239 (test_bg_execution_pagination_return)
7240 (test_bg_execution_pagination_cancel): Remove '-notransfer
7241 <return>' matches.
7242 * gdb.base/paginate-execution-startup.exp
7243 (test_fg_execution_pagination_return)
7244 (test_fg_execution_pagination_cancel): Remove '-notransfer
7245 <return>' matches.
7246 * gdb.base/paginate-inferior-exit.exp
7247 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7248 match.
7249 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7250 * lib/gdb.exp (pagination_prompt): Run text through
7251 string_to_regexp.
7252 (gdb_test_multiple): Match $pagination_prompt instead of
7253 "<return>".
7254 (string_to_regexp): Move to lib/gdb-utils.exp.
7255
e214cf6c
JK
72562014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7257
7258 * gdb.arch/amd64-entry-value-paramref.S: New file.
7259 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7260 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7261 * gdb.arch/amd64-optimout-repeat.S: New file.
7262 * gdb.arch/amd64-optimout-repeat.c: New file.
7263 * gdb.arch/amd64-optimout-repeat.exp: New file.
7264
17d0c5c8
JK
72652014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7266
7267 PR gdb/17170
7268 * gdb.base/statistics.exp: New file.
7269
b8b8facf
DE
72702014-07-17 Doug Evans <dje@google.com>
7271
74b49205 7272 PR gdb/17170
b8b8facf
DE
7273 * gdb.base/maint.exp: Update testing of per-command stats.
7274
1b5d0ab3
PA
72752014-07-16 Pedro Alves <palves@redhat.com>
7276
7277 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7278 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7279 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7280 (tfile_write_buf): New functions.
7281 (add_memory_block): Rewrite using the above.
7282 (adjust_function_address): New function.
7283 (FUNCTION_ADDRESS): New macro.
7284 (write_basic_trace_file): Remove short_x local, and use
7285 tfile_write_16. Change type of func_addr local to unsigned long
7286 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7287 here. Cast argument of add_memory_block to char pointer.
7288 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7289 (main): Remove parameters.
7290 * gdb.trace/tfile.exp: Remove nowarnings.
7291
4d974e88
SM
72922014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7293
7294 * gdb.base/debug-expr.exp: Test string evaluation with
7295 "debug expression" on.
7296
41e99568
PA
72972014-07-15 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.base/reread.exp: Use clean_restart.
7300
487d9753
PL
73012014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7302
7303 * gdb.arch/avr-flash-qualifer.c: New.
7304 * gdb.arch/avr-flash-qualifer.exp: New.
7305
cc1c52ad
PA
73062014-07-14 Pedro Alves <palves@redhat.com>
7307
7308 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7309 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7310
1e973570
PA
73112014-07-14 Pedro Alves <palves@redhat.com>
7312
7313 * gdb.base/double-prompt-target-event-error.c: New file.
7314 * gdb.base/double-prompt-target-event-error.exp: New file.
7315
93d6eb10
PA
73162014-07-14 Pedro Alves <palves@redhat.com>
7317
7318 PR gdb/17072
7319 * gdb.base/paginate-inferior-exit.c: New file.
7320 * gdb.base/paginate-inferior-exit.exp: New file.
7321
0017922d
PA
73222014-07-14 Pedro Alves <palves@redhat.com>
7323
7324 PR gdb/17072
7325 * gdb.base/paginate-bg-execution.c: New file.
7326 * gdb.base/paginate-bg-execution.exp: New file.
7327
94696ad3
PA
73282014-07-14 Pedro Alves <palves@redhat.com>
7329
7330 PR gdb/17072
7331 * gdb.base/paginate-execution-startup.c: New file.
7332 * gdb.base/paginate-execution-startup.exp: New file.
7333 * lib/gdb.exp (pagination_prompt): New global.
7334 (default_gdb_spawn): New procedure, factored out from
7335 default_gdb_spawn.
7336 (default_gdb_start): Adjust to call default_gdb_spawn.
7337 (gdb_spawn): New procedure.
7338
bd293940
PA
73392014-07-14 Pedro Alves <palves@redhat.com>
7340
7341 * lib/gdb.exp (gdb_assert): New procedure.
7342 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7343
c933f875
PA
73442014-07-14 Pedro Alves <palves@redhat.com>
7345
7346 * gdb.base/execution-termios.c: New file.
7347 * gdb.base/execution-termios.exp: New file.
7348
d98b7a16
TT
73492014-07-14 Tom Tromey <tromey@redhat.com>
7350
7351 * gdb.cp/vla-cxx.cc: New file.
7352 * gdb.cp/vla-cxx.exp: New file.
7353
548740d6
TT
73542014-07-14 Tom Tromey <tromey@redhat.com>
7355
7356 * gdb.reverse/rerun-prec.c: New file.
7357 * gdb.reverse/rerun-prec.exp: New file.
7358
a25eb028
MR
73592014-07-12 Maciej W. Rozycki <macro@mips.com>
7360 Maciej W. Rozycki <macro@codesourcery.com>
7361
7362 * lib/gdb-utils.exp: New file.
7363 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7364 inline `gdb_init_command' processing.
7365 (gdb_start_cmd): Likewise.
7366 * lib/mi-support.exp (mi_run_cmd): Likewise.
7367 * README: Document `gdb_init_command' and `gdb_init_commands'.
7368
218c2655
JK
73692014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7370
7371 Fix false FAIL running under a very long directory name.
7372 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7373 and "set print elements 10000". Twice.
7374
5401fde3
YQ
73752014-07-11 Yao Qi <yao@codesourcery.com>
7376
7377 * gdb.base/exprs.exp: "set print symbol off".
7378
e76126e8
PA
73792014-07-11 Pedro Alves <palves@redhat.com>
7380
7381 * gdb.threads/kill.c: New file.
7382 * gdb.threads/kill.exp: New file.
7383
2d6f0de6
YQ
73842014-07-10 Yao Qi <yao@codesourcery.com>
7385
7386 * gdb.trace/tfile.c (write_basic_trace_file)
7387 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7388 address written to trace file.
7389
7180e04a
PA
73902014-07-09 Pedro Alves <palves@redhat.com>
7391
7392 * gdb.base/attach-wait-input.exp: New file.
7393 * gdb.base/attach-wait-input.c: New file.
7394
9a9a7608
AB
73952014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7396
7397 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7398 setting up test structures.
7399 (main): Call new test function.
7400 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7401 test function, continue into test function and walk test
7402 structures.
7403
161ac41e
YQ
74042014-07-02 Yao Qi <yao@codesourcery.com>
7405
7406 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7407 'bar_start' at the beginning of functions 'foo' and 'bar'
7408 respectively.
7409 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7410 instead of 'foo' and 'bar'.
7411
1f267ae3
MM
74122014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7413
7414 * gdb.btrace/segv.exp: New.
7415 * gdb.btrace/segv.c: New.
7416
2b239efb
LM
74172014-07-02 Luis Machado <lgustavo@codesourcery.com>
7418
7419 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7420 instruction.
7421
cf363f18
MW
74222014-06-30 Mark Wielaard <mjw@redhat.com>
7423
7424 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7425 vulture, vilify, villar): New volatile array constants.
7426 (vindictive, vegetation): New const volatile array constants.
7427 * gdb.base/volatile.exp: Test volatile and const volatile array
7428 types.
7429
aebf9d24
AA
74302014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7431
7432 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7433 target lacks support for awatch, rwatch, or hbreak.
7434
b67a2c6f
YQ
74352014-06-27 Yao Qi <yao@codesourcery.com>
7436
7437 * gdb.multi/dummy-frame-restore.exp: New.
7438 * gdb.multi/dummy-frame-restore.c: New.
7439
aef92902
MM
74402014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7441
7442 * gdb.btrace/gcore.exp: New.
7443
8e9db26e
PA
74442014-06-23 Pedro Alves <palves@redhat.com>
7445
7446 * gdb.base/watchpoint-reuse-slot.c: New file.
7447 * gdb.base/watchpoint-reuse-slot.exp: New file.
7448
70afc5b7
SC
74492014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7450
7451 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7452 progspace's filename in 'info', 'enable' and 'disable' command
7453 tests.
7454
b972bd9c
JK
74552014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7456
7457 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7458 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7459 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7460
125f8a3d
GB
74612014-06-20 Gary Benson <gbenson@redhat.com>
7462
7463 * gdb.arch/i386-avx.exp: Fix include file location.
7464 * gdb.arch/i386-sse.exp: Likewise.
7465
3ed9baed
IB
74662014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7467
7468 * gdb.dlang/expression.exp: New file.
7469
034f788c
PA
74702014-06-19 Pedro Alves <palves@redhat.com>
7471
7472 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7473 out from ...
7474 (top level): ... here. Iterate running tests under different
7475 scheduler-locking settings.
7476
45371d0c
LM
74772014-06-18 Luis Machado <lgustavo@codesourcery.com>
7478
7479 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7480 to DW_FORM_addr and use non-zero addresses.
7481
5d376983
SC
74822014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7483
7484 PR gdb/17017
7485 * gdb.python/py-xmethods.cc: Add global function call counters and
7486 increment them in their respective functions. Remove "cout"
7487 statements.
7488 * gdb.python/py-xmethods.exp: Make tests check the global function
7489 call counters instead of depending on inferior IO.
7490
a1aa2221
LM
74912014-06-18 Don Breazeal <donb@codesourcery.com>
7492
7493 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7494 Deleted procedure.
7495 (explicit_fork_parent_follow): Deleted procedure.
7496 (explicit_fork_child_follow): Deleted procedure.
7497 (test_follow_fork): New procedure.
7498 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7499 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7500 procedure calls.
7501
0fc05997
YQ
75022014-06-17 Yao Qi <yao@codesourcery.com>
7503
7504 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7505 CP1252.
7506
70795c52
LM
75072014-06-17 Luis Machado <lgustavo@codesourcery.com>
7508
7509 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7510 Initialize ptr and S explicitly.
7511 (skip_type_update_when_not_use_rtti_test): Likewise.
7512
6be47f0c
KS
75132014-06-16 Keith Seitz <keiths@redhat.com>
7514
7515 PR mi/15863
7516 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7517 the inferior is started.
7518
d03de421
PA
75192014-06-16 Pedro Alves <palves@redhat.com>
7520
7521 * gdb.base/break-main-file-remove-fail.c: New file.
7522 * gdb.base/break-main-file-remove-fail.exp: New file.
7523 * gdb.base/break-unload-file.exp: Use build_executable instead of
7524 prepare_for_testing.
7525 (test_break): New parameter "initial_load". Handle it.
7526 (top level): Add initial_load cmdline/file axis.
7527
f9579b99
TT
75282014-06-12 Tom Tromey <tromey@redhat.com>
7529
7530 * gdb.base/completion.exp: Don't use directory name in test.
7531
3657956b
GB
75322014-06-09 Gary Benson <gbenson@redhat.com>
7533
7534 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7535 separate the always-available ANSI-standard signals from the
7536 signals that require checking.
7537 (main): Likewise.
7538 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7539 Likewise.
7540 (main): Likewise.
7541
4186eb54
KS
75422014-06-07 Keith Seitz <keiths@redhat.com>
7543
7544 Revert:
7545 PR c++/16253
7546 * gdb.cp/var-tag.cc: New file.
7547 * gdb.cp/var-tag.exp: New file.
7548 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7549 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7550 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7551 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7552
25326a28 75532014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7554
7555 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7556
829155c9
PA
75572014-06-06 Pedro Alves <palves@redhat.com>
7558
7559 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7560 in target debug output instead of looking at RSP packets,
7561 disabling the test on any target that uses hardware stepping.
7562 Update comments.
7563
61c8d22e
PA
75642014-06-06 Pedro Alves <palves@redhat.com>
7565
7566 * gdb.base/break-unload-file.exp: Fix typo.
7567
d9a47287
YQ
75682014-06-06 Yao Qi <yao@codesourcery.com>
7569
7570 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7571 from "jit_function" to "^jit_function".
7572
e5e01dbf
YQ
75732014-06-06 Yao Qi <yao@codesourcery.com>
7574
7575 * gdb.base/async.c (foo): Add one statement.
7576 * gdb.base/async.exp: Get the next instruction address and
7577 match the output of "nexti" by instruction address. Match
7578 the hex address in the output of "finish".
7579
73ba372c
GB
75802014-06-06 Gary Benson <gbenson@redhat.com>
7581
7582 * gdb.base/call-signals.c: Remove preprocessor conditionals
7583 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7584 SIGSEGV and SIGTERM.
7585 * gdb.base/sigall.c: Likewise.
7586 * gdb.base/unwindonsignal.c: Likewise.
7587 * gdb.reverse/sigall-reverse.c: Likewise.
7588
831517df
YQ
75892014-06-06 Yao Qi <yao@codesourcery.com>
7590
7591 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7592 readable, skip the test.
7593
b8b91e98
YQ
75942014-06-06 Yao Qi <yao@codesourcery.com>
7595
7596 * gdb.threads/staticthreads.c (thread_function): Move the line
7597 setting breakpoint on forward.
7598 * gdb.threads/staticthreads.exp: Update comments.
7599
fb934770
LC
76002014-06-05 Ludovic Courtès <ludo@gnu.org>
7601
7602 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7603 "history-append! type error".
7604
6ef284bd
SM
76052014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7606
7607 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7608 erroneous dprintf expected input.
7609
a872e241
DE
76102014-06-04 Doug Evans <xdje42@gmail.com>
7611
7612 * gdb.guile/scm-generics.exp: Delete.
7613
16f691fb
DE
76142014-06-04 Doug Evans <xdje42@gmail.com>
7615
7616 * gdb.guile/scm-breakpoint.exp: Update.
7617 Add tests for breakpoint registration.
7618
012370f6
TT
76192014-06-04 Tom Tromey <tromey@redhat.com>
7620
7621 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7622 VLA-in-union.
7623 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7624 inner_vla_struct, vla_union types. Initialize objects of those
7625 types and compute their sizes.
7626
9f5a4cef
HZ
76272014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7628 Hui Zhu <hui@codesourcery.com>
7629
7630 * gdb.base/fileio.exp: Add test for shell not available as well as
7631 available.
7632 * gdb.base/fileio.c (test_system): Check for shell twice.
7633
90a45c4d
YQ
76342014-06-04 Yao Qi <yao@codesourcery.com>
7635
7636 * gdb.base/auto-connect-native-target.exp: Remove redundant
7637 space from the regexp pattern.
7638
70017e41
YQ
76392014-06-04 Yao Qi <yao@codesourcery.com>
7640
7641 * gdb.base/default.exp: Replace "child" with "native" in
7642 regexp pattern.
7643
883964a7
SC
76442014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7645
7646 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7647 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7648 * gdb.python/py-xmethods.py: Python script supporting the
7649 new testcase and tests.
7650
ef370185
JB
76512014-06-03 Joel Brobecker <brobecker@adacore.com>
7652 Pedro Alves <palves@redhat.com>
7653
7654 PR breakpoints/17000
7655 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7656 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7657
1e2ccb61
BM
76582014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7659
7660 * gdb.base/subst.exp: Add tests to verify partial path matching
7661 output.
7662
c6ec5ab2
PA
76632014-06-03 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7666 target that doesn't use software single-stepping.
7667
835c559f
PA
76682014-06-03 Pedro Alves <palves@redhat.com>
7669
7670 PR breakpoints/17000
7671 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7672 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7673
06eb1586
DE
76742014-06-02 Doug Evans <xdje42@gmail.com>
7675
7676 * gdb.guile/scm-parameter.exp: New file.
7677
e698b8c4
DE
76782014-06-02 Doug Evans <xdje42@gmail.com>
7679
7680 * gdb.guile/scm-cmd.c: New file.
7681 * gdb.guile/scm-cmd.exp: New file.
7682
ded03782
DE
76832014-06-02 Doug Evans <xdje42@gmail.com>
7684
7685 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7686 pretty-printer lookup.
7687 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7688 (make-pp_s-printer): Call it.
7689 (make-pretty-printer-from-dict): New function.
7690 (lookup-pretty-printer-maker-from-dict): New function.
7691 (*pretty-printer*): Simplify.
7692 (make-objfile-pp_s-printer): New function.
7693 (install-objfile-pretty-printers!): New function.
7694 (make-progspace-pp_s-printer): New function.
7695 (install-progspace-pretty-printers!): New function.
7696 * gdb.guile/scm-progspace.c: New file.
7697 * gdb.guile/scm-progspace.exp: New file.
7698
41fac0cf
PA
76992014-06-02 Pedro Alves <palves@redhat.com>
7700
7701 * gdb.base/dprintf-bp-same-addr.c: New file.
7702 * gdb.base/dprintf-bp-same-addr.exp: New file.
7703
96ae5695
EBM
77042014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7705
7706 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7707 * gdb.arch/powerpc-power.s: Likewise.
7708
da02b3a8
JB
77092014-06-02 Joel Brobecker <brobecker@adacore.com>
7710
7711 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7712
c72b2e7b
YQ
77132014-06-01 Yao Qi <yao@codesourcery.com>
7714
7715 * gdb.base/watchpoint.exp (test_watch_location): Check null
7716 pointer can be dereferenced. If not, do the test, otherwise
7717 skip it.
7718
53e8a631
AB
77192014-05-30 Andrew Burgess <aburgess@broadcom.com>
7720
7721 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7722 results.
7723 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7724
938f0e2f
AB
77252014-05-30 Andrew Burgess <aburgess@broadcom.com>
7726
7727 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7728 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7729 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7730 * gdb.arch/amd64-invalid-stack-top.c: New file.
7731 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7732
9ba6657a
PA
77332014-05-30 Pedro Alves <palves@redhat.com>
7734
7735 PR breakpoints/17000
7736 * gdb.base/sss-bp-on-user-bp.c: New file.
7737 * gdb.base/sss-bp-on-user-bp.exp: New file.
7738
522c09bf
DB
77392014-05-30 David Blaikie <dblaikie@gmail.com>
7740
7741 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7742 gnu_inline semantics via attribute.
7743 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7744 source explicitly specifies the required semantics.
7745
bf4ef81e
MR
77462014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7747
7748 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7749
329ea579
PA
77502014-05-29 Pedro Alves <palves@redhat.com>
7751 Tom Tromey <tromey@redhat.com>
7752
7753 * gdb.base/async-shell.exp: Don't enable target-async.
7754 * gdb.base/async.exp
7755 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7756 parameter. Adjust.
7757 (top level): Don't test with "target-async".
7758 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7759 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7760 * gdb.base/inferior-died.exp: Don't enable target-async.
7761 * gdb.base/interrupt-noterm.exp: Likewise.
7762 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7763 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7764 * gdb.mi/mi-nonstop.exp: Likewise.
7765 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7766 * gdb.mi/mi-nsintrall.exp: Likewise.
7767 * gdb.mi/mi-nsmoribund.exp: Likewise.
7768 * gdb.mi/mi-nsthrexec.exp: Likewise.
7769 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7770 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7771 * gdb.python/py-evsignal.exp: Don't enable target-async.
7772 * gdb.python/py-evthreads.exp: Likewise.
7773 * gdb.python/py-prompt.exp: Likewise.
7774 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7775 * gdb.server/solib-list.exp: Don't enable target-async.
7776 * gdb.threads/thread-specific-bp.exp: Likewise.
7777 * lib/mi-support.exp: Adjust to use mi-async.
7778
fd664c91
PA
77792014-05-29 Pedro Alves <palves@redhat.com>
7780
7781 PR gdb/13860
7782 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7783 reason, even in sync mode.
7784
251bde03
PA
77852014-05-29 Pedro Alves <palves@redhat.com>
7786 Hui Zhu <hui@codesourcery.com>
7787
7788 PR PR15693
7789 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7790 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7791 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7792 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7793
7f3c0343
JB
77942014-05-28 Joel Brobecker <brobecker@adacore.com>
7795
7796 * config/monitor.exp (gdb_target_monitor): Replace use of
7797 "set remotebaud" by "set serial baud".
7798
b2715b27
AW
77992014-05-26 Andy Wingo <wingo@igalia.com>
7800
7801 * gdb.guile/scm-breakpoint.exp:
7802 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7803 properties instead of gdb-object-properties.
7804
498a4489
YQ
78052014-05-26 Yao Qi <yao@codesourcery.com>
7806
7807 * gdb.server/no-thread-db.exp: Specify source file name
7808 explicitly when setting a breakpoint.
7809
589fdceb
MM
78102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7811
7812 * gdb.btrace/vdso.c: New.
7813 * gdb.btrace/vdso.exp: New.
7814
e9089e05
MM
78152014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7816
7817 * gdb.base/gcore.exp (capture_command_output): Move ...
7818 * lib/gdb.exp (capture_command_output): ... here.
7819
67b5c0c1
MM
78202014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7821
7822 * gdb.btrace/data.exp: Test memory access during btrace replay.
7823
a2199296
SM
78242014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7825
7826 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7827
17b2616c
PA
78282014-05-21 Pedro Alves <palves@redhat.com>
7829
7830 PR gdb/13860
7831 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7832 (top level): Test that output related to execution commands is
7833 sent to the console with CLI commands, but not with MI commands.
7834 Test that breakpoint events are always mirrored to the console.
7835 Also expect the new source line to be output after a "next" in
7836 async mode too. Make it a pass/fail test.
7837 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7838 output.
7839 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7840
5166082f
PA
78412014-05-21 Pedro Alves <palves@redhat.com>
7842
7843 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7844 Use them to test variations of "list" after reaching a breakpoint.
7845 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7846 Test "list" with listsize 10 after reaching a breakpoint.
7847 * gdb.python/python.exp (decode_line current location line
7848 number): Adjust expected line number.
7849
2f25d70f
SM
78502014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7851
7852 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7853 behavior for $args, pass it directly to "run".
7854
ff604a67
MR
78552014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7856
7857 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7858 30000 to 65536.
7859
6a3cb8e8
PA
78602014-05-21 Pedro Alves <palves@redhat.com>
7861
7862 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7863 auto-connect-native-target off".
7864 * gdb.base/auto-connect-native-target.c: New file.
7865 * gdb.base/auto-connect-native-target.exp: New file.
7866
4ebfc96e
PA
78672014-05-21 Pedro Alves <palves@redhat.com>
7868
7869 * gdb.base/default.exp: Test "target native" instead of "target
7870 child".
7871
36d46afb
MW
78722014-05-21 Mark Wielaard <mjw@redhat.com>
7873
7874 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7875
5876f503
JK
78762014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7877
7878 Fix TLS access for -static -pthread.
7879 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7880 <HAVE_TLS> (thread_function, main): Initialize it.
7881 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7882 Add clean_restart.
7883 <$have_tls != "">: Check TLSVAR.
7884
0256a6ac
PA
78852014-05-21 Pedro Alves <palves@redhat.com>
7886
7887 * gdb.base/dcache-line-read-error.c: New.
7888 * gdb.base/dcache-line-read-error.exp: New.
7889
936d2992
PA
78902014-05-20 Pedro Alves <palves@redhat.com>
7891
7892 * gdb.base/compare-sections.c: New file.
7893 * gdb.base/compare-sections.exp: New file.
7894
802e8e6d
PA
78952014-05-20 Pedro Alves <palves@redhat.com>
7896
7897 * gdb.base/break-idempotent.c: New file.
7898 * gdb.base/break-idempotent.exp: New file.
7899
e59fa00f
MM
79002014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7901
7902 * gdb.btrace/nohist.exp: New.
7903
8b696e31
YQ
79042014-05-20 Yao Qi <yao@codesourcery.com>
7905
7906 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7907 gdb.reverse directory and gdb_reverse_timeout exists in board
7908 setting.
7909 * README: Document gdb_reverse_timeout.
7910
73c9764f
YQ
79112014-05-20 Yao Qi <yao@codesourcery.com>
7912
7913 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7914 'test_file_name'. Treat args as a string instead of a list.
7915 (gdb_init): Rename argument 'args' by 'test_file_name'.
7916
f1f4348a
JK
79172014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7918
7919 * gdb.arch/powerpc-power.exp: New file.
7920 * gdb.arch/powerpc-power.s: New file.
7921
0dbe70ce
DE
79222014-05-16 Doug Evans <dje@google.com>
7923
7924 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7925 * gdb.base/completion.exp: Check that all expected files exist
7926 before doing file completion.
0dbe70ce 7927
8d551b02
DE
79282014-05-16 Doug Evans <dje@google.com>
7929
7930 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7931 Update.
7932 (do_syscall_tests_without_xml): Update.
7933
73eb7709
PA
79342014-05-16 Pedro Alves <palves@redhat.com>
7935
7936 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7937 instead of "unknown output after running".
7938
3fae92fc
YQ
79392014-05-16 Yao Qi <yao@codesourcery.com>
7940
7941 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7942 file1.txt from host at the end.
7943 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7944
c2b2ccc5
DE
79452014-05-15 Doug Evans <dje@google.com>
7946
7947 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7948 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7949 loading file. Add test for TU lookup.
7950
8c217a4b
SM
79512014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7952
7953 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7954 calling "-exec-arguments" or "set args" before running the
7955 inferior.
7956
3deb39c6
SM
79572014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7958
7959 * lib/mi-support.exp (mi_expect_stop): Expect message for
7960 inferiors that exit with non-zero exit code.
7961
71a79f8c
YQ
79622014-05-14 Yao Qi <yao@codesourcery.com>
7963
7964 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7965 match absolute path on remote host.
7966 (test_file_list_exec_source_files): Remove "/" from the
7967 pattern.
7968
f23fcd46
YQ
79692014-05-14 Yao Qi <yao@codesourcery.com>
7970
7971 * boards/local-remote-host-notty.exp (${board}_file): New
7972 proc.
7973
9404b58f
KM
79742014-05-07 Kyle McMartin <kyle@redhat.com>
7975
7976 Pushed by Joel Brobecker <brobecker@adacore.com>.
7977 * gdb.arch/aarch64-atomic-inst.c: New file.
7978 * gdb.arch/aarch64-atomic-inst.exp: New file.
7979
5e45f04c
YQ
79802014-05-07 Yao Qi <yao@codesourcery.com>
7981
7982 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7983 in current context" too.
7984
c888a17d
KS
79852014-05-05 Keith Seitz <keiths@redhat.com>
7986
7987 * gdb.linespec/ls-dollar.exp: Add test for linespec
7988 file:convenience_variable.
7989
290a839c
YQ
79902014-05-05 Yao Qi <yao@codesourcery.com>
7991
7992 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7993 traceframes into tfile and ctf trace files. Read data from
7994 trace file and test collected data.
7995 (gdb_collect_locals_test): Likewise.
7996 (gdb_unavailable_registers_test): Likewise.
7997 (gdb_unavailable_floats): Likewise.
7998 (gdb_collect_globals_test): Likewise.
7999 (top-level): Append "ctf" to trace_file_targets if GDB
8000 supports.
8001
b5262cd0
YQ
80022014-05-05 Yao Qi <yao@codesourcery.com>
8003
8004 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8005 code to ...
8006 (gdb_collect_args_test_1): ... it. New proc.
8007 (gdb_collect_locals_test): Move some code to ...
8008 (gdb_collect_locals_test_1): ... it. New proc.
8009 (gdb_unavailable_registers_test): Move some code to ...
8010 (gdb_unavailable_registers_test_1): ... it. New proc.
8011 (gdb_unavailable_floats): Move some code to ...
8012 (gdb_unavailable_floats_1): ... it. New proc.
8013
30a1e6cc
SDJ
80142014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8015
8016 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8017 probes to test for bitness recognition.
8018 * gdb.arch/amd64-stap-optional-prefix.exp
8019 (test_probe_value_without_reg): New procedure.
8020 Add code to test for different kinds of bitness.
8021
f33da99a
SDJ
80222014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8023
8024 PR breakpoints/16889
8025 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8026 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8027
5b80f00d
PA
80282014-05-01 Pedro Alves <palves@redhat.com>
8029
8030 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8031 gdb_file_cmd if no file is specified.
8032 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8033 last_loaded_file to set the remote exec-file.
8034
f8c2a73c
PA
80352014-05-01 Pedro Alves <palves@redhat.com>
8036
8037 * boards/local-remote-host.exp: New file.
8038
be6e8ac7
PA
80392014-05-01 Pedro Alves <palves@redhat.com>
8040
8041 * boards/local-remote-host.exp: Rename to ...
8042 * boards/local-remote-host-notty.exp: ... this.
8043
cac0dc8f
JB
80442014-04-28 Joel Brobecker <brobecker@adacore.com>
8045
8046 * gdb.ada/dyn_arrayidx: New testcase.
8047
9730e6cc
YQ
80482014-04-26 Yao Qi <yao@codesourcery.com>
8049
8050 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8051 and compute the length of function main. Save it in
8052 $main_length.
8053 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8054 (top-level): Use gdb_compile to compile objects into
8055 executable and restart GDB. Remove invocation to
8056 prepare_for_testing.
8057
7ae1a6a6
PA
80582014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8059 Pedro Alves <palves@redhat.com>
8060
8061 PR server/16255
8062 * gdb.multi/multi-attach.c: New file.
8063 * gdb.multi/multi-attach.exp: New file.
8064
4082afcc
PA
80652014-04-25 Pedro Alves <palves@redhat.com>
8066
8067 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8068 user.
8069 (top level): Test that "set remote conditional-breakpoints-packet
8070 off" works as intended.
8071 * gdb.base/dprintf.exp: Test that "set remote
8072 breakpoint-commands-packet off" works as intended.
8073 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8074 New function.
8075 (top level): Call it.
8076 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8077 remote fast-tracepoints-packet off" works as intended.
8078 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8079 * lib/gdb.exp (gdb_is_target_remote): ... here.
8080
2abc3f8d
DB
80812014-04-24 David Blaikie <dblaikie@gmail.com>
8082
8083 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8084 ensure clang would not discard them.
8085 * gdb.base/gdbvars.c: Ditto.
8086 * gdb.base/memattr.c: Ditto.
8087 * gdb.base/whatis.c: Ditto.
8088 * gdb.python/py-prettyprint.c: Ditto.
8089 * gdb.trace/actions.c: Ditto.
8090 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8091 ensure clang would not discard it.
8092
bfd39632
DB
80932014-04-24 David Blaikie <dblaikie@gmail.com>
8094
8095 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8096 clang to emit the full definition of type required by the test
8097 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8098
22842ff6
DB
80992014-04-24 David Blaikie <dblaikie@gmail.com>
8100
8101 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8102 coax Clang into emitting the definition of the type.
8103 * gdb.cp/pr10728-x.h (y): Ditto.
8104 * gdb.cp/pr10728-y.cc (y): Ditto.
8105
c2e827ad
DB
81062014-04-24 David Blaikie <dblaikie@gmail.com>
8107
8108 * gdb.base/label.exp: XFAIL label related tests under Clang.
8109 * gdb.cp/cplabel.exp: Ditto.
8110 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8111 under Clang those using labels.
8112
4c2d33e7
YQ
81132014-04-25 Yao Qi <yao@codesourcery.com>
8114
8115 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8116 double_label.
8117 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8118 partial_label and double_label.
8119
56083b99
DB
81202014-04-24 David Blaikie <dblaikie@gmail.com>
8121
8122 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8123
25d4e99d
DB
81242014-04-24 David Blaikie <dblaikie@gmail.com>
8125
8126 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8127 of the function to work across GCC and Clang.
8128 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8129 pointer types (const void ** const V void **).
8130
01f9f808
MS
81312014-04-24 Michael Sturm <michael.sturm@mintel.com>
8132 Walfred Tedeschi <walfred.tedeschi@intel.com>
8133
8134 * Makefile.in (EXECUTABLES): Added i386-avx512.
8135 * gdb.arch/i386-avx512.c: New file.
8136 * gdb.arch/i386-avx512.exp: Likewise.
8137
4b48d439
KS
81382014-04-23 Keith Seitz <keiths@redhat.com>
8139
8140 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8141 (mi_make_breakpoint_table): New procedure.
8142 (mi_create_breakpoint): Use mi_make_breakpoint
8143 and return the result.
8144 (mi_make_breakpoint): New procedure.
8145 (mi_build_kv_pairs): New procedure.
8146
8147 * gdb.mi/mi-break.exp: Remove unused globals,
8148 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8149 All callers updated.
8150 * gdb.mi/mi-dprintf.exp: Use variable to track command
8151 number.
8152 Update all callers of mi_create_breakpoint and use
8153 mi_make_breakpoint_table.
8154 Remove any unused global variables.
8155 * gdb.mi/mi-nonstop.exp: Likewise.
8156 * gdb.mi/mi-nsintrall.exp: Likewise.
8157 * gdb.mi/mi-nsmoribund.exp: Likewise.
8158 * gdb.mi/mi-nsthrexec.exp: Likewise.
8159 * gdb.mi/mi-reverse.exp: Likewise.
8160 * gdb.mi/mi-simplerun.exp: Likewise.
8161 * gdb.mi/mi-stepn.exp: Likewise.
8162 * gdb.mi/mi-syn-frame.exp: Likewise.
8163 * gdb.mi/mi-until.exp: Likewise.
8164 * gdb.mi/mi-var-cp.exp: Likewise.
8165 * gdb.mi/mi-var-display.exp: Likewise.
8166 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8167 * gdb.mi/mi2-var-child.exp: Likewise.
8168 * gdb.mi/mi-vla-c99.exp: Likewise.
8169 * lib/mi-support.exp: Likewise.
8170
8171 From Ian Lance Taylor <iant@cygnus.com>:
8172 * lib/gdb.exp (parse_args): New procedure.
8173
08351840
PA
81742014-04-23 Pedro Alves <palves@redhat.com>
8175
8176 * gdb.base/break-unload-file.c: New file.
8177 * gdb.base/break-unload-file.exp: New file.
8178 * gdb.base/sym-file-lib.c (baz): New function.
8179 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8180 field.
8181 (load): Store the segment's mapped size.
8182 (unload): New function.
8183 (unload_shlib): New function.
8184 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8185 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8186 set a breakpoint at baz, and call it.
8187 * gdb.base/sym-file.exp: New tests for stale breakpoint
8188 instructions.
8189
076855f9
PA
81902014-04-23 Pedro Alves <palves@redhat.com>
8191
8192 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8193 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8194 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8195 * gdb.base/hbreak-unmapped.c: New file.
8196 * gdb.base/hbreak-unmapped.exp: New file.
8197 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8198 * lib/gdb.exp (gdb_is_target_remote): ... here.
8199
483805cf
PA
82002014-04-22 Pedro Alves <palves@redhat.com>
8201
8202 * gdb.base/consecutive-step-over.c: New file.
8203 * gdb.base/consecutive-step-over.exp: New file.
8204
06d97543
PA
82052014-04-22 Pedro Alves <palves@redhat.com>
8206
8207 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8208 instead of send_gdb/gdb_expect.
8209
b4429ea2
YQ
82102014-04-22 Yao Qi <yao@codesourcery.com>
8211
8212 * lib/trace-support.exp (generate_tracefile): New procedure.
8213 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8214 return 0.
8215 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8216 if generate_tracefile returns 1.
8217
51d48146
PA
82182014-04-18 Tom Tromey <palves@redhat.com>
8219 Pedro alves <tromey@redhat.com>
8220
8221 PR backtrace/15558
8222 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8223 with a backtrace limit.
8224 * gdb.python/py-frame-inline.exp: Test running to an inline
8225 function with a backtrace limit, and printing the newest frame.
8226 * gdb.python/py-frame-inline.c (main): Call f.
8227
bd1dce5f
MS
82282014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8229
8230 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8231
40d1a503
MS
82322014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8233
8234 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8235 Drop prefix from unsupported source file path.
8236
389b98f7
YQ
82372014-04-17 Yao Qi <yao@codesourcery.com>
8238
8239 * lib/gdb.exp (with_target_charset): New proc.
8240 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8241 with_target_charset.
8242 (test_print_strings): Likewise.
8243 (test_repeat_bytes): Likewise.
8244 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8245 for some tests.
8246
22869d73
KS
82472014-04-16 Keith Seitz <keiths@redhat.com>
8248
8249 PR gdb/15827
8250 * gdb.dwarf2/corrupt.c: New file.
8251 * gdb.dwarf2/corrupt.exp: New file.
8252
c4f87ca6
KS
82532014-04-16 Keith Seitz <keiths@redhat.com>
8254
8255 PR c++/16597
8256 * gdb.cp/namelessclass.cc: New file.
8257 * gdb.cp/namelessclass.exp: New file.
8258 * gdb.cp/namelessclass.S: New file.
8259
ab19de87
DE
82602014-04-16 Doug Evans <dje@google.com>
8261
8262 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8263 Add comment.
8264 (gdbserver_default_get_comm_port): New function.
8265 (gdbserver_start): Check if board file provided
8266 "gdbserver,get_comm_port" and use it if so.
8267 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8268 (gdb,socketport): Set to "stdio".
8269 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8270 (stdio_gdbserver_template): Delete.
8271 (${board}_get_remote_address): Update.
8272 (${board}_build_remote_cmd): Delete.
8273 (${board}_get_comm_port): New function.
8274 (${board}_spawn): Update.
8275 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8276 Delete.
8277 (${board}_get_remote_address): Update.
8278 (${board}_get_comm_port): New function.
8279
fc98a809
AB
82802014-04-16 Andrew Burgess <aburgess@broadcom.com>
8281
8282 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8283 appearing in any order.
8284
87fd9e6e
DE
82852014-04-15 Doug Evans <dje@google.com>
8286
8287 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8288 uninitialized value of "description".
8289
099fc3ea
KS
82902014-04-15 Keith Seitz <keiths@redhat.com>
8291
8292 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8293 Remove unused globals.
8294 (test_running_the_program): Likewise.
8295 (test_controlled_execution): Likewise.
8296 (test_controlling_breakpoints): Likewise.
8297 (test_program_termination): Likewise.
8298
5da151d4
KS
82992014-04-15 Keith Seitz <keiths@redhat.com>
8300
8301 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8302 unused globals.
8303 (test_rbreak_creation_and_listing): Likewise.
8304 (test_ignore_count): Likewise.
8305 (test_error): Likewise.
8306
35e5d2f0
PA
83072014-04-15 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8310 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8311 sym-file-loader.c.
8312 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8313 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8314 to sym-file-loader.c.
8315 (struct library): Forward declare.
8316 (load_shlib, lookup_function): Change prototypes.
8317 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8318 (translate_offset): Remove declarations.
8319 (get_text_addr): New declaration.
8320 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8321 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8322 sym-file-loader.h.
8323 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8324 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8325 here from sym-file-loader.h.
8326 (struct library): New structure.
8327 (load_shlib, lookup_function): Change prototypes and adjust to
8328 work with a struct library.
8329 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8330 (translate_offset): Make static.
8331 (get_text_addr): New function.
8332 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8333
eb4c1710
PA
83342014-04-15 Pedro Alves <palves@redhat.com>
8335
8336 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8337
2d1baf52
PA
83382014-04-15 Pedro Alves <palves@redhat.com>
8339
8340 * gdb.base/sym-file-loader.c: Include <limits.h>.
8341 (SELF_LINK): New define.
8342 (get_origin): New function.
8343 (load_shlib): Use it.
8344 * gdb.base/sym-file.exp: Don't early return if the target is
8345 remote. Use runto_main, and issue fail is that fails. Use
8346 gdb_load_shlibs.
8347 (shlib_name): Delete.
8348 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8349
7dd6df01
PA
83502014-04-15 Pedro Alves <palves@redhat.com>
8351
8352 * gdb.base/sym-file.exp: Remove regex characters from test
8353 message. Don't refer to breakpoint numbers in test messages.
8354
b50c8614
KS
83552014-04-14 Keith Seitz <keiths@redhat.com>
8356
8357 PR c++/16253
8358 * gdb.cp/var-tag.cc: New file.
8359 * gdb.cp/var-tag.exp: New file.
8360 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8361 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8362 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8363 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8364
3d567982
TT
83652014-04-14 Tom Tromey <tromey@redhat.com>
8366
8367 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8368 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8369 type.
8370 * gdb.cp/enum-class.exp: New file.
8371 * gdb.cp/enum-class.cc: New file.
8372
0626fc76
TT
83732014-04-14 Tom Tromey <tromey@redhat.com>
8374
8375 * gdb.dwarf2/enum-type.exp: New file.
8376
dca325b3
SA
83772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8378
8379 * gdb.mi/mi-vla-c99.exp: New file.
8380 * gdb.mi/vla.c: New file.
8381
5854b38a
SA
83822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8383
8384 * gdb.base/vla-datatypes.c: New file.
8385 * gdb.base/vla-datatypes.exp: New file.
8386
463bb957
SA
83872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8388
8389 * gdb.base/vla-ptr.c: New file.
8390 * gdb.base/vla-ptr.exp: New file.
8391
3dd170be
SA
83922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8393
8394 * gdb.dwarf2/count.exp: New file.
8395
5ecaaa66
SA
83962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8397
8398 * gdb.base/vla-sideeffect.c: New file.
8399 * gdb.base/vla-sideeffect.exp: New file.
8400
41f1ada5
DB
84012014-04-14 David Blaikie <dblaikie@gmail.com>
8402
8403 * gdb.mi/non-stop.c: Add return value for non-void function return
8404 statement.
8405 * gdb.threads/staticthreads.c: Ditto.
8406
0be03e84
DE
84072014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8408 Doug Evans <xdje42@gmail.com>
8409
8410 * gdb.guile/scm-value.c: Improve test case.
8411 * gdb.guile/scm-value.exp: Add new test.
8412
f180a1fb
DB
84132014-04-11 David Blaikie <dblaikie@gmail.com>
8414
8415 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8416 override Clang's default.
8417
6b662e19
JB
84182014-04-11 Joel Brobecker <brobecker@adacore.com>
8419
8420 Revert the following changes (regressions):
8421
8422 * gdb.base/vla-sideeffect.c: New file.
8423 * gdb.base/vla-sideeffect.exp: New file.
8424
8425 * gdb.dwarf2/count.exp: New file.
8426
8427 * gdb.base/vla-multi.c: New file.
8428 * gdb.base/vla-multi.exp: New file.
8429
8430 * gdb.base/vla-ptr.c: New file.
8431 * gdb.base/vla-ptr.exp: New file.
8432
8433 * gdb.base/vla-datatypes.c: New file.
8434 * gdb.base/vla-datatypes.exp: New file.
8435
8436 * gdb.mi/mi-vla-c99.exp: New file.
8437 * gdb.mi/vla.c: New file.
8438
245a5f0b
KS
84392014-04-11 Keith Seitz <keiths@redhat.com>
8440
8441 PR c++/16675
8442 * gdb.cp/cpsizeof.exp: New file.
8443 * gdb.cp/cpsizeof.cc: New file.
8444
58a84dcf
SA
84452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8446
191a8a90
JB
8447 * gdb.mi/mi-vla-c99.exp: New file.
8448 * gdb.mi/vla.c: New file.
58a84dcf 8449
c8655f75
SA
84502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8451
8452 * gdb.base/vla-datatypes.c: New file.
8453 * gdb.base/vla-datatypes.exp: New file.
8454
024e13b4
SA
84552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8456
8457 * gdb.base/vla-ptr.c: New file.
8458 * gdb.base/vla-ptr.exp: New file.
8459
1a237e0e
SA
84602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8461
8462 * gdb.base/vla-multi.c: New file.
8463 * gdb.base/vla-multi.exp: New file.
8464
504f3432
SA
84652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8466
8467 * gdb.dwarf2/count.exp: New file.
8468
3bce8237
SA
84692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8470
191a8a90
JB
8471 * gdb.base/vla-sideeffect.c: New file.
8472 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8473
322f9c21
YQ
84742014-04-11 Yao Qi <yao@codesourcery.com>
8475
8476 * gdb.base/completion.exp: Check file exists before running tests
8477 on file completion.
8478
d708bcd1
PA
84792014-04-10 Pedro Alves <palves@redhat.com>
8480
8481 * gdb.base/cond-eval-mode.c: New file.
8482 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8483 prepare_for_testing to build the new file. Check result of
8484 runto_main.
8485 (test_break, test_watch): New procedures.
8486 (top level): Use them.
8487
ae1d2761
PM
84882014-04-08 Pierre Muller <muller@sourceware.org>
8489
8490 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8491 Ctrl-V use for mingw hosts.
8492
7af389b8
SC
84932014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8494
8495 * gdb.python/py-value.c: Improve test case.
8496 * gdb.python/py-value.exp: Add new test.
8497
5e703181
DE
84982014-04-07 David Blaikie <dblaikie@gmail.com>
8499
8500 * lib/compiler.c: Identify the clang compiler.
8501 * lib/compiler.cc: Ditto.
8502
9810b410
YQ
85032014-04-03 Yao Qi <yao@codesourcery.com>
8504
8505 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8506
98d1b8dc
AB
85072014-04-01 Anton Blanchard <anton@samba.org>
8508
8509 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8510 messages unique.
8511
3114cea1
AB
85122014-04-01 Anton Blanchard <anton@samba.org>
8513
8514 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8515 prepare_for_testing.
8516
62f7182c
AB
85172014-04-01 Anton Blanchard <anton@samba.org>
8518
8519 * gdb.arch/ppc64-atomic-inst.c: Remove.
8520 * gdb.arch/ppc64-atomic-inst.S: New file.
8521 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8522
770e7fc7
DE
85232014-03-31 Doug Evans <dje@google.com>
8524
8525 * gdb.base/print-symbol-loading-lib.c: New file.
8526 * gdb.base/print-symbol-loading-main.c: New file.
8527 * gdb.base/print-symbol-loading.exp: New file.
8528
46e2bafa
YQ
85292014-03-31 Yao Qi <yao@codesourcery.com>
8530
8531 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8532
8776cfe9
JB
85332014-03-28 Joel Brobecker <brobecker@adacore.com>
8534
8535 * gdb.ada/mi_dyn_arr: New testcase.
8536
5d1ef361
DE
85372014-03-27 Doug Evans <dje@google.com>
8538
8539 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8540
b5bee914
YQ
85412014-03-27 Yao Qi <yao@codesourcery.com>
8542
8543 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8544 if target is nios2-*-*.
8545
0d4d0e77
YQ
85462014-03-26 Yao Qi <yao@codesourcery.com>
8547
8548 * lib/gdb.exp (readline_is_used): New proc.
8549 * gdb.base/completion.exp: Move tests on command complete up.
8550 Skip the rest of tests if readline is not used.
8551 * gdb.ada/complete.exp: Skp the test if readline is not
8552 used.
8553 * gdb.base/filesym.exp: Likewise.
8554 * gdb.base/macscp.exp: Likewise.
8555 * gdb.base/readline-ask.exp: Likewise.
8556 * gdb.base/readline.exp: Likewise.
8557 * gdb.python/py-cmd.exp: Likewise.
8558 * gdb.trace/tfile.exp: Likewise.
8559
29361eee
YQ
85602014-03-26 Yao Qi <yao@codesourcery.com>
8561
8562 * gdb.base/macscp.exp: Fix code format issues.
8563
bc9a5525
UW
85642014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8565
8566 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8567 * gdb.asm/powerpc64le.inc: New file.
8568
d3839ede
PA
85692014-03-25 Pedro Alves <palves@redhat.com>
8570 Doug Evans <dje@google.com>
8571
8572 * gdb.base/source-execution.c: New file.
8573 * gdb.base/source-execution.exp: New file.
8574 * gdb.base/source-execution.gdb: New file.
8575
01672a57
DE
85762014-03-24 Doug Evans <dje@google.com>
8577
8578 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8579 using fission.
8580
88bbeca9
HZ
85812014-03-24 Hui Zhu <hui@codesourcery.com>
8582 Pedro Alves <palves@redhat.com>
8583
8584 PR breakpoints/16101
8585 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8586 test pass/fail messages. Detect missing support for dprintf when
8587 breakpoints are actually inserted.
8588 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8589 breakpoints are actually inserted.
8590 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8591 fails.
8592
d2348791
JK
85932014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8594
8595 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8596
feef67ab
DE
85972014-03-22 Doug Evans <xdje42@gmail.com>
8598
8599 * gdb.python/python.exp (python not supported): Verify multi-line
8600 python command issues an error.
25d743f9 8601 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8602 guile command issues an error.
feef67ab 8603
ecebef6a
MR
86042014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8605
8606 * gdb.threads/thread-specific.exp: Handle the lack of usable
8607 $this_breakpoint and $this_thread.
8608
ccdd1909
HZ
86092014-03-21 Hui Zhu <hui@codesourcery.com>
8610
8611 * gdb.base/attach.exp (do_command_attach_tests): New.
8612
beb460e8
PA
86132014-03-20 Tom Tromey <tromey@redhat.com>
8614 Pedro Alves <palves@redhat.com>
8615
8616 PR cli/15718
8617 * gdb.base/condbreak-call-false.c: New file.
8618 * gdb.base/condbreak-call-false.exp: New file.
8619
40acf43a
PA
86202014-03-20 Pedro Alves <palves@redhat.com>
8621
8622 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8623 Delete.
8624 (block_signals, unblock_signals): Delete.
8625 (child_function_2, main): Remove references to deleted variable
8626 and functions.
8627
9f5e1e02
PA
86282014-03-20 Pedro Alves <palves@redhat.com>
8629
8630 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8631 Use pthread_kill to signal thread 2.
8632 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8633 Adjust to make the test send itself a signal rather than using the
8634 host's "kill" command.
8635
99619bea
PA
86362014-03-20 Pedro Alves <palves@redhat.com>
8637
8638 * gdb.threads/multiple-step-overs.c: New file.
8639 * gdb.threads/multiple-step-overs.exp: New file.
8640 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8641 Adjust expected infrun debug output.
8642
2adfaa28
PA
86432014-03-20 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8646 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8647
31e77af2
PA
86482014-03-20 Pedro Alves <palves@redhat.com>
8649
8650 PR breakpoints/7143
8651 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8652 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8653 of gdb_test_multiple.
8654 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8655 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8656
b9f437de
PA
86572014-03-20 Pedro Alves <palves@redhat.com>
8658
8659 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8660 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8661
05adc73e
PA
86622014-03-19 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.base/async.exp: Remove early return.
8665
6048b950
PA
86662014-03-19 Pedro Alves <palves@redhat.com>
8667
8668 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8669
8bcfb00a
PA
86702014-03-19 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.base/async.exp (test_background): Expect \r\n after
8673 "completed." in the fail pattern.
8674
884e37dc
PA
86752014-03-19 Pedro Alves <palves@redhat.com>
8676
8677 * gdb.base/async.exp (test_background): New procedure.
8678 Use it for all background execution command tests.
8679
148e57e2
PA
86802014-03-19 Pedro Alves <palves@redhat.com>
8681
8682 * gdb.base/async.exp: Use prepare_for_testing.
8683
f48088c7
PA
86842014-03-19 Pedro Alves <palves@redhat.com>
8685
8686 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8687 the same line.
8688
e2f6c966
PA
86892014-03-19 Pedro Alves <palves@redhat.com>
8690
8691 * gdb.base/async.c (main): Add "jump here" and "until here" line
8692 marker comments.
8693 * gdb.base/async.exp (jump_here): New global.
8694 (jump& test): Use it.
8695 (until_here): New global.
8696 (until& test): Use it.
8697
c30568d4
PA
86982014-03-19 Pedro Alves <palves@redhat.com>
8699
8700 * gdb.base/async.exp: Don't frob gdb_protocol.
8701
0172b6a7
DE
87022014-03-18 Doug Evans <xdje42@gmail.com>
8703
8704 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8705 Fix spelling of exec-done-display.
8706
06c868a8
JK
87072014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8708
8709 PR gdb/15358
8710 * gdb.base/gdb-sigterm.c: New file.
8711 * gdb.base/gdb-sigterm.exp: New file.
8712
0c7e1a46
PA
87132014-03-18 Pedro Alves <palves@redhat.com>
8714
8715 PR gdb/13860
8716 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8717 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8718 solib-event.
8719
f7c77d93
JB
87202014-03-17 Joel Brobecker <brobecker@adacore.com>
8721
8722 * gdb.ada/pckd_arr_ren: New testcase.
8723
5a1e8c7a
DE
87242014-03-13 Doug Evans <xdje42@gmail.com>
8725
8726 PR guile/16612
8727 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8728 collect after discarding symbols.
8729
350e1a76
DE
87302014-03-13 Ludovic Courtès <ludo@gnu.org>
8731 Doug Evans <xdje42@gmail.com>
8732
8733 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8734 to history survives a gc.
8735
a69900ae
PA
87362014-03-13 Pedro Alves <palves@redhat.com>
8737
8738 * gdb.base/default.exp: Don't test "target procfs".
8739
5db9f0bd
PA
87402014-03-13 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.base/default.exp: Update "target child" and "target procfs"
8743 tests to not expect "Unix".
8744
b3ccfe11
TT
87452014-03-12 Tom Tromey <tromey@redhat.com>
8746
8747 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8748 New procs. Add target-async tests.
8749 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8750 Add target-async tests.
8751
646f4417
AA
87522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8753
8754 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8755 'func_start' and 'func_end' for the beginning and end of the
8756 function code, respectively.
8757 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8758 'func_end' instead of 'func' and 'main'.
8759
288c211f
AA
87602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8761
8762 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8763 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8764 generate the debug info assembler source.
8765
e0c0f156
AA
87662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8767
8768 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8769 * gdb.dwarf2/arr-subrange.exp: Likewise.
8770 * gdb.dwarf2/dwz.exp: Likewise.
8771 * gdb.dwarf2/method-ptr.exp: Likewise.
8772 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8773 * gdb.dwarf2/subrange.exp: Likewise.
8774 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8775 * gdb.dwarf2/implptrpiece.exp: Likewise.
8776 * gdb.dwarf2/nostaticblock.exp: Likewise.
8777
0e5c4555
AA
87782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779
8780 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8781 directory to absolute path name arguments.
8782
5ec18f2b
JG
87832014-03-10 Joel Brobecker <brobecker@adacore.com>
8784
8785 * gdb.ada/tagged_access: New testcase.
8786
847fc4f2
MM
87872014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8788
8789 * gdb.btrace/data.exp: Update expected output.
8790
cc3da688
YQ
87912014-03-06 Yao Qi <yao@codesourcery.com>
8792
8793 * gdb.trace/pr16508.exp: New file.
8794
0f26cec1
PA
87952014-03-05 Pedro Alves <palves@redhat.com>
8796
8797 PR gdb/16575
8798 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8799 procedure.
8800 (top level): Adjust to use it. Add tests that exercise breakpoint
8801 interaction with the code-cache.
8802
7a5a839f
LC
88032014-02-26 Ludovic Courtès <ludo@gnu.org>
8804
8805 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8806 test for 'history-append!'.
8807
31aa7e4e
JB
88082014-02-26 Joel Brobecker <brobecker@adacore.com>
8809
8810 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8811 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8812 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8813 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8814 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8815 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8816
1b588015
JB
88172014-02-26 Joel Brobecker <brobecker@adacore.com>
8818
8819 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8820 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8821 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8822
55426c9d
JB
88232014-02-26 Joel Brobecker <brobecker@adacore.com>
8824
8825 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8826
dc53a7ad
JB
88272014-02-26 Joel Brobecker <brobecker@adacore.com>
8828
8829 * gdb.dwarf2/arr-stride.c: New file.
8830 * gdb.dwarf2/arr-stride.exp: New file.
8831
12ab52e9
PA
88322014-02-26 Pedro Alves <palves@redhat.com>
8833
8834 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8835 that won't ever trigger. Make sure that GDB reports the correct
8836 breakpoint that caused the stop.
8837
849c862e
JK
88382014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8839
8840 PR gdb/16626
8841 * gdb.base/auto-load-script: New file.
8842 * gdb.base/auto-load.c: New file.
8843 * gdb.base/auto-load.exp: New file.
8844
71b7d793
JK
8845 PR gdb/16626
8846 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8847
e2f0d509
JK
88482014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8849
8850 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8851 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8852
50cc37c8
DE
88532014-02-24 Doug Evans <dje@google.com>
8854
8855 * lib/gdb.exp (run_on_host): Log error output if program fails.
8856
ea4758f2
PA
88572014-02-21 Pedro Alves <palves@redhat.com>
8858
8859 * gdb.threads/step-after-sr-lock.c: Rename to ...
8860 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8861 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8862 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8863 ... this.
8864
d7b30f67
SDJ
88652014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8866
8867 PR tdep/16397
8868 * gdb.arch/amd64-stap-special-operands.exp: New file.
8869 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8870 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8871 * gdb.arch/amd64-stap-triplet.S: Likewise.
8872 * gdb.arch/amd64-stap-triplet.c: Likewise.
8873
83deb43f
JB
88742014-02-20 Joel Brobecker <brobecker@adacore.com>
8875
8876 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8877 in .section pseudo-op.
8878
adde2bff
DE
88792014-02-20 lin zuojian <manjian2006@gmail.com>
8880 Joel Brobecker <brobecker@adacore.com>
8881 Doug Evans <xdje42@gmail.com>
8882
8883 PR symtab/16581
8884 * gdb.dwarf2/dw2-icycle.S: New file.
8885 * gdb.dwarf2/dw2-icycle.c: New file.
8886 * gdb.dwarf2/dw2-icycle.exp: New file.
8887
f7bd0f78
SC
88882014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8889
8890 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8891 operations on gdb.Value objects.
8892 * gdb.python/py-value-cc.exp: Add new test to test operations on
8893 gdb.Value objects.
8894
c17ef0d5
DE
88952014-02-18 Doug Evans <dje@google.com>
8896
8897 * Makefile.in (TESTS): New variable.
8898 (expanded_tests, expanded_tests_or_none): New variables
8899 (check-single): Pass $(expanded_tests_or_none) to runtest.
8900 (check-parallel): Only run tests in $(TESTS) if non-empty.
8901 (check/no-matching-tests-found): New rule.
8902 * README: Document TESTS makefile variable.
8903
5dd3176f
DE
89042014-02-18 Doug Evans <dje@google.com>
8905
8906 * Makefile.in (check-parallel): rm -rf outputs temp.
8907
0b10be4f
JK
89082014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8909
8910 Fix "ERROR: no fileid for" in the testsuite.
8911 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8912
85f224e7
DE
89132014-02-12 Doug Evans <dje@google.com>
8914
8915 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8916 (MISCELLANEOUS): New variable.
8917 (clean): rm -rf $(MISCELLANEOUS).
8918 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8919 dwp live in the same directory as symlinks, with each symlink pointed
8920 to a differently named file in a different directory.
8921
149b30ff
DE
89222014-02-11 Doug Evans <dje@google.com>
8923
8924 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8925 of Tcl file commands.
8926
1dfdac32
MK
89272014-02-10 Mark Kettenis <kettenis@gnu.org>
8928
8929 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8930 "kill -SIGUSR1 -1".
8931
aa4fb036
JB
89322014-02-10 Joel Brobecker <brobecker@adacore.com>
8933
8934 * gdb.ada/tick_length_array_enum_idx: New testcase.
8935
ed3ef339
DE
89362014-02-10 Doug Evans <xdje42@gmail.com>
8937
8938 * configure.ac (AC_OUTPUT): Add gdb.guile.
8939 * configure: Regenerate.
8940 * lib/gdb-guile.exp: New file.
8941 * lib/gdb.exp (get_target_charset): New function.
8942 * gdb.base/help.exp: Update expected output from "apropos apropos".
8943 * gdb.guile/Makefile.in: New file.
8944 * gdb.guile/guile.exp: New file.
8945 * gdb.guile/scm-arch.c: New file.
8946 * gdb.guile/scm-arch.exp: New file.
8947 * gdb.guile/scm-block.c: New file.
8948 * gdb.guile/scm-block.exp: New file.
8949 * gdb.guile/scm-breakpoint.c: New file.
8950 * gdb.guile/scm-breakpoint.exp: New file.
8951 * gdb.guile/scm-disasm.c: New file.
8952 * gdb.guile/scm-disasm.exp: New file.
8953 * gdb.guile/scm-equal.c: New file.
8954 * gdb.guile/scm-equal.exp: New file.
8955 * gdb.guile/scm-error.exp: New file.
8956 * gdb.guile/scm-error.scm: New file.
8957 * gdb.guile/scm-frame-args.c: New file.
8958 * gdb.guile/scm-frame-args.exp: New file.
8959 * gdb.guile/scm-frame-args.scm: New file.
8960 * gdb.guile/scm-frame-inline.c: New file.
8961 * gdb.guile/scm-frame-inline.exp: New file.
8962 * gdb.guile/scm-frame.c: New file.
8963 * gdb.guile/scm-frame.exp: New file.
8964 * gdb.guile/scm-generics.exp: New file.
8965 * gdb.guile/scm-gsmob.exp: New file.
8966 * gdb.guile/scm-iterator.c: New file.
8967 * gdb.guile/scm-iterator.exp: New file.
8968 * gdb.guile/scm-math.c: New file.
8969 * gdb.guile/scm-math.exp: New file.
8970 * gdb.guile/scm-objfile-script-gdb.in: New file.
8971 * gdb.guile/scm-objfile-script.c: New file.
8972 * gdb.guile/scm-objfile-script.exp: New file.
8973 * gdb.guile/scm-objfile.c: New file.
8974 * gdb.guile/scm-objfile.exp: New file.
8975 * gdb.guile/scm-ports.exp: New file.
8976 * gdb.guile/scm-pretty-print.c: New file.
8977 * gdb.guile/scm-pretty-print.exp: New file.
8978 * gdb.guile/scm-pretty-print.scm: New file.
8979 * gdb.guile/scm-section-script.c: New file.
8980 * gdb.guile/scm-section-script.exp: New file.
8981 * gdb.guile/scm-section-script.scm: New file.
8982 * gdb.guile/scm-symbol.c: New file.
8983 * gdb.guile/scm-symbol.exp: New file.
8984 * gdb.guile/scm-symtab-2.c: New file.
8985 * gdb.guile/scm-symtab.c: New file.
8986 * gdb.guile/scm-symtab.exp: New file.
8987 * gdb.guile/scm-type.c: New file.
8988 * gdb.guile/scm-type.exp: New file.
8989 * gdb.guile/scm-value-cc.cc: New file.
8990 * gdb.guile/scm-value-cc.exp: New file.
8991 * gdb.guile/scm-value.c: New file.
8992 * gdb.guile/scm-value.exp: New file.
8993 * gdb.guile/source2.scm: New file.
8994 * gdb.guile/types-module.cc: New file.
8995 * gdb.guile/types-module.exp: New file.
8996
7026a7c1
YQ
89972014-02-10 Yao Qi <yao@codesourcery.com>
8998
8999 PR testsuite/16543
9000 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9001 * configure: Regenerated.
9002 * Makefile.in: New file.
9003
6c466447
AS
90042014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9005
9006 * gdb.python/py-framefilter.exp: Fix typo.
9007
6e854735
YQ
90082014-02-08 Yao Qi <yao@codesourcery.com>
9009
9010 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9011 that no =breakpoint-modified is emitted when breakpoints are
9012 modified through MI commands.
9013
d137e6dc
PA
90142014-02-07 Pedro Alves <pedro@codesourcery.com>
9015 Pedro Alves <palves@redhat.com>
9016
9017 * gdb.threads/step-after-sr-lock.c: New file.
9018 * gdb.threads/step-after-sr-lock.exp: New file.
9019
b5ee5a50
PA
90202014-02-07 Pedro Alves <palves@redhat.com>
9021
9022 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9023
3c77faf3
JK
90242014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9025
9026 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9027 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9028
6dddc817
DE
90292014-02-06 Doug Evans <xdje42@gmail.com>
9030
9031 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9032 output.
9033
9034 * gdb.gdb/python-interrupts.exp: New file.
9035
de7b2893
YQ
90362014-02-05 Yao Qi <yao@codesourcery.com>
9037
9038 * gdb.trace/report.exp (use_collected_data): Test the output
9039 of "info threads" and "info inferiors".
9040
66d032ac
YQ
90412014-02-05 Yao Qi <yao@codesourcery.com>
9042
9043 Revert this patch:
9044
9045 2013-05-24 Yao Qi <yao@codesourcery.com>
9046
9047 * gdb.trace/tfile.exp: Test inferior and thread.
9048
591a12a1
UW
90492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9050
9051 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9052 on a function.
9053 * gdb.base/step-bt.c: Call hello via function pointer to make
9054 sure its first instruction is executed on powerpc64le-linux.
9055
0ff3e01f
UW
90562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9057
9058 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9059
084ee545
UW
90602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9061
9062 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9063 of the test patterns for use on little-endian systems.
9064
6ed14ff3
UW
90652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9066
9067 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9068 (decimal_vector): Fix for little-endian.
9069
401e27fd
JM
90702014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9071
9072 * gdb.arch/sparc-sysstep.exp: New file.
9073 * gdb.arch/sparc-sysstep.c: Likewise.
9074
9075 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9076
8b924729
EBM
90772014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9078
9079 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9080
fb151210
JB
90812014-01-23 Tom Tromey <tromey@redhat.com>
9082
9083 * gdb.ada/array_char_idx: New testcase.
9084
0740f8d8
TT
90852014-01-23 Tom Tromey <tromey@redhat.com>
9086
9087 PR python/16487:
9088 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9089 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9090 classes.
9091
21909fa1
TT
90922014-01-23 Tom Tromey <tromey@redhat.com>
9093
9094 PR python/16491:
9095 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9096 string from an inferior frame.
9097 * gdb.python/py-framefilter-mi.exp: Update.
9098
87ce2a04
DE
90992014-01-22 Doug Evans <dje@google.com>
9100
9101 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9102
237b092b
AA
91032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9104
9105 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9106
d674a709
AA
91072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9108
9109 * gdb.trace/entry-values.exp: Remove excess space character from
9110 regex patterns. Handle s390 call instruction.
9111
20fa3390
AA
91122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9113
9114 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9115 define "*_start" label. Make "name" static.
9116 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9117 ${name} by references to ${name}_start.
9118
78466714
AA
91192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9120
9121 * gdb.base/info-macros.exp: Remove "debug" from the compile
9122 options.
9123
ec9f644a
IB
91242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9125
9126 * gdb.dlang/demangle.exp: New file.
9127
94b1b47e
IB
91282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9129
9130 * gdb.dlang/primitive-types.exp: New file.
9131
7f420862
IB
91322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9133
9134 * configure.ac: Create gdb.dlang/Makefile.
9135 * configure: Regenerate.
9136 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9137 * gdb.dlang/Makefile.in: New file.
9138 * lib/d-support.exp: New file.
9139 * lib/gdb.exp (skip_d_tests): New proc.
9140
52834460
MM
91412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9142
9143 * gdb.btrace/delta.exp: Check reverse stepi.
9144 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9145 * gdb.btrace/finish.exp: New.
9146 * gdb.btrace/next.exp: New.
9147 * gdb.btrace/nexti.exp: New.
9148 * gdb.btrace/record_goto.c: Add comments.
9149 * gdb.btrace/step.exp: New.
9150 * gdb.btrace/stepi.exp: New.
9151 * gdb.btrace/multi-thread-step.c: New.
9152 * gdb.btrace/multi-thread-step.exp: New.
9153 * gdb.btrace/rn-dl-bind.c: New.
9154 * gdb.btrace/rn-dl-bind.exp: New.
9155 * gdb.btrace/data.c: New.
9156 * gdb.btrace/data.exp: New.
9157 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9158
6e07b1d2
MM
91592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9160
9161 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9162 * gdb.btrace/exception.exp: Update.
9163 * gdb.btrace/instruction_history.exp: Update.
9164 * gdb.btrace/record_goto.exp: Update.
9165 * gdb.btrace/tailcall.exp: Update.
9166 * gdb.btrace/unknown_functions.exp: Update.
9167 * gdb.btrace/delta.exp: New.
9168
0b722aec
MM
91692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9170
9171 * gdb.btrace/record_goto.exp: Add backtrace test.
9172 * gdb.btrace/tailcall.exp: Add backtrace test.
9173
066ce621
MM
91742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9175
9176 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9177 * gdb.btrace/record_goto.c: New.
9178 * gdb.btrace/record_goto.exp: New.
9179 * gdb.btrace/x86-record_goto.S: New.
9180
0688d04e
MM
91812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9182
9183 * gdb.btrace/function_call_history.exp: Update tests.
9184 * gdb.btrace/instruction_history.exp: Update tests.
9185
8710b709
MM
91862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9187
9188 * gdb.btrace/function_call_history.exp: Fix expected field
9189 order for "record function-call-history".
9190 Add new tests for "record function-call-history /c".
9191 * gdb.btrace/exception.cc: New.
9192 * gdb.btrace/exception.exp: New.
9193 * gdb.btrace/tailcall.exp: New.
9194 * gdb.btrace/x86-tailcall.S: New.
9195 * gdb.btrace/x86-tailcall.c: New.
9196 * gdb.btrace/unknown_functions.c: New.
9197 * gdb.btrace/unknown_functions.exp: New.
9198 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9199
5de9129b
MM
92002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9201
9202 * gdb.btrace/instruction_history.exp: Update.
9203 * gdb.btrace/function_call_history.exp: Update.
9204
23a7fe75
MM
92052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9206
9207 * gdb.btrace/function_call_history.exp: Fix expected function
9208 trace.
9209 * gdb.btrace/instruction_history.exp: Initialize traced.
9210 Remove traced_functions.
9211
724c7dd8
MM
92122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9213
9214 * gdb.btrace/function_call_history.exp: Update
9215 * gdb.btrace/instruction_history.exp: Update.
9216
6d78d93b
MM
92172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9218
9219 * gdb.btrace/enable.exp: Update expected text.
9220
93a360cc
OJ
92212014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9222
9223 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9224 bytes.
9225
3772b53f
MR
92262014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9227
9228 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9229
596662fa
OJ
92302014-01-15 Omair Javaid <omair.javaid@linaro.org>
9231
9232 * lib/gdb.exp (supports_process_record): Return true for
9233 arm*-linux*. (supports_reverse): Likewise.
9234
b5b08fb4
SC
92352014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9236
9237 PR python/15464
9238 PR python/16113
9239 * gdb.python/py-type.c: Enhance test case.
9240 * gdb.python/py-value-cc.cc: Likewise
9241 * gdb.python/py-type.exp: Add new tests.
9242 * gdb.python/py-value-cc.exp: Likewise
9243
52d7fb13
AA
92442014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9245 Pedro Alves <palves@redhat.com>
9246
9247 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9248 Make "name" extern.
9249 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9250 references to ${name}_start by references to ${name}.
9251
a2cd8cfe
JB
92522014-01-10 Joel Brobecker <brobecker@adacore.com>
9253
9254 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9255
4e23fced
JB
92562014-01-10 Joel Brobecker <brobecker@adacore.com>
9257
9258 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9259
c6a9e42c
PA
92602014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9261 Pedro Alves <palves@redhat.com>
9262
9263 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9264 mi_gdb_target_load.
c6a9e42c 9265
b7ea362b
PA
92662014-01-08 Pedro Alves <palves@redhat.com>
9267
9268 * gdb.threads/reconnect-signal.c: New file.
9269 * gdb.threads/reconnect-signal.exp: New file.
9270
5e3f4fab
EBM
92712014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9272
9273 * gdb.base/source-dir.exp: New file.
9274
79301218
JB
92752014-01-07 Joel Brobecker <brobecker@adacore.com>
9276
9277 * gdb.ada/mi_interface: New testcase.
9278
8e355c5d
JB
92792014-01-07 Joel Brobecker <brobecker@adacore.com>
9280
9281 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9282 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9283 gdb.ada/pp-rec-component/pck.ads: New files.
9284
c0d48811
JB
92852014-01-07 Joel Brobecker <brobecker@adacore.com>
9286
9287 * gdb.python/py-pp-integral.c: New file.
9288 * gdb.python/py-pp-integral.py: New file.
9289 * gdb.python/py-pp-integral.exp: New file.
9290
17b609c3 9291For older changes see ChangeLog-1993-2013.
c906108c 9292\f
8d8cb839
EZ
9293;; Local Variables:
9294;; mode: change-log
9295;; left-margin: 8
9296;; fill-column: 74
9297;; version-control: never
9298;; End:
902f2ccb 9299
618f726f 9300 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9301 Copying and distribution of this file, with or without modification,
9302 are permitted provided the copyright notice and this notice are preserved.
This page took 2.827563 seconds and 4 git commands to generate.