Fix formattting of gdb/ChangeLog and gdb/testsuite/ChangeLog enties
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0bb65f1e
AA
12016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.base/tui-layout.c: New file.
4 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5 disassembly window contains very long lines.
6
7353f247
TT
72016-11-08 Tom Tromey <tom@tromey.com>
8
9 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10 depend on Python 2.
11
30a7bb83
TT
122016-11-08 Tom Tromey <tom@tromey.com>
13
14 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15 New method.
16
cdf5a07c
MG
172016-10-29 Manish Goregaokar <manish@mozilla.com>
18
2806dc7e 19 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 20
51a789c3
MG
212016-10-27 Manish Goregaokar <manish@mozilla.com>
22
2806dc7e
PA
23 * gdb.rust/simple.rs: Add test for univariant enums without
24 discriminants and for encoded struct-like enums.
51a789c3 25
f610ab6d
PA
262016-10-28 Pedro Alves <palves@redhat.com>
27
28 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
29 gdb_test_multiple, tighten regexps and match symtabs and line
30 tables incrementally.
31
b129b0ca
LM
322016-10-28 Luis Machado <lgustavo@codesourcery.com>
33
34 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
35 general.
36
ecf45d2c
SL
372016-10-25 Luis Machado <lgustavo@codesourcery.com>
38
39 * gdb.base/exec-invalid-sysroot.exp: New file.
40
b8d38ee4
JK
412016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
42
43 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
44
f90fd8c2
JK
452016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
48
2d2476aa
MR
492016-10-19 Maciej W. Rozycki <macro@imgtec.com>
50
2806dc7e
PA
51 * gdb.base/killed-outside.exp: Remove $options from a call to
52 `prepare_for_testing'.
2d2476aa 53
e42b25a0
SM
542016-10-17 Simon Marchi <simon.marchi@ericsson.com>
55
56 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
57 Change test message.
58
3ccdb432
SM
592016-10-17 Simon Marchi <simon.marchi@ericsson.com>
60
61 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
62 Update comment.
63
5bad3170
SM
642016-10-17 Simon Marchi <simon.marchi@ericsson.com>
65
66 * gdb.trace/mi-trace-save.exp: New file.
67
5ad9dba7
YQ
682016-10-13 Yao Qi <yao.qi@linaro.org>
69
70 * gdb.base/code_elim.exp (get_var_address): Remove.
71 * gdb.base/relocate.exp: Likewise.
72 * gdb.base/shreloc.exp: Likewise.
73 * lib/gdb.exp (get_var_address): New.
74
62df7e21
YQ
752016-10-13 Yao Qi <yao.qi@linaro.org>
76
77 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
78 floating point tests if $skip_float_test is false.
79
4dac951e
LM
802016-10-12 Luis Machado <lgustavo@codesourcery.com>
81
82 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
83 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
84 argc values.
85 Add 1 to argc so we guarantee distinct initial/modified argc values.
86
8f1a8fc4
JK
872016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
90
16c85b5d
JK
912016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
94 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
95 * gdb.arch/vsx-regs.exp: Likewise.
96
1d0e042a
YQ
972016-10-07 Yao Qi <yao.qi@linaro.org>
98
99 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
100
68dadef5
MM
1012016-10-07 Markus Metzger <markus.t.metzger@intel.com>
102
103 * gdb.python/python.exp: Test decode_line("*0").
104
33fa2c6e
DE
1052016-10-06 Doug Evans <dje@google.com>
106
107 * gdb.python/py-value.exp (test_value_creation): Add test for large
108 unsigned 64-bit value.
109
9c37b5ae
TT
1102016-10-06 Tom Tromey <tom@tromey.com>
111
112 * gdb.compile/compile.exp: Change java tests to rust.
113 * gdb.base/setshow.exp: Change java tests to rust.
114 * gdb.base/default.exp: Remove java from language list.
115 * README (Examples): Update language example.
116 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
117 test.
118 * lib/gdb.exp (skip_java_tests): Remove.
119 * lib/java.exp: Remove.
120 * gdb.java: Remove.
121
78b86327
MR
1222016-10-06 Maciej W. Rozycki <macro@imgtec.com>
123
124 * gdb.arch/mips-fcr.exp: New test.
125 * gdb.arch/mips-fcr.c: Source for the new test.
126
7470adbb
MR
1272016-10-06 Maciej W. Rozycki <macro@imgtec.com>
128
129 * gdb.base/solib-disc.exp: Use `standard_output_file'
130 throughout.
131
4a556533
PA
1322016-10-06 Pedro Alves <palves@redhat.com>
133
134 * gdb.base/jit-simple-dl.c: New file.
135 * gdb.base/jit-simple-jit.c: New file, factored out from ...
136 * gdb.base/jit-simple.c: ... this.
137 * gdb.base/jit-simple.exp (jit_run): Delete.
138 (build_jit): New proc.
139 (jit_test_reread): Recompile either the main program or the shared
140 library, depending on what is being tested. Skip changing address
141 if caller wants to. Compare before/after addresses. If testing
142 standalone, explicitly load the binary. Test "maint info
143 breakpoints".
144 (top level): Add "standalone vs shared lib" and "change address"
145 vs "same address" axes.
146
5a122fbc
PA
1472016-10-06 Pedro Alves <palves@redhat.com>
148
149 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
150 call.
151 (jit_run): Delete.
152 (jit_test_reread): Use with_test_prefix. Reload the main binary
153 explicitly. Compare the before/after addresses of the JIT
154 descriptor.
155
ee8da4b8
DE
1562016-08-15 Doug Evans <dje@google.com>
157
158 * gdb.xml/extra-regs.xml: Update, end field now required, default type
159 for single bitfields is bool.
160 * gdb.xml/tdesc-regs.exp: Ditto.
161
f389f6fe
JK
1622016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
163
164 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
165
fdebf1a4
YQ
1662016-10-05 Yao Qi <yao.qi@linaro.org>
167
168 * lib/gdb.exp (support_complex_tests): Return zero if
169 gdb_skip_float_test return true.
170
9c36d954 1712016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 172 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
173
174 PR gdb/20487
175 * gdb.mi/user-selected-context-sync.exp: New file.
176 * gdb.mi/user-selected-context-sync.c: New file.
177
4034d0ff 1782016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 179 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
180
181 PR gdb/20487
182 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
183 =thread-select-event check.
184
a4297203
PB
1852016-09-29 Peter Bergner <bergner@vnet.ibm.com>
186
187 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
188 the compulsory L operand changes.
189 * gdb.arch/powerpc-power.s: Likewise.
190
bb805577
JK
1912016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
192
193 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
194 * gdb.base/jit-attach-pie.c: New file.
195 * gdb.base/jit-attach-pie.exp: New file.
196
6d61dee5
PA
1972016-09-28 Pedro Alves <palves@redhat.com>
198
199 * gdb.base/infcall-input.c: New file.
200 * gdb.base/infcall-input.exp: New file.
201
f73842fc
YQ
2022016-09-22 Yao Qi <yao.qi@linaro.org>
203
204 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
205 (gdb_exit): Rename it to ...
206 (gdbserver_gdb_exit): ... Close GDBserver.
207 (gdb_exit): New proc, call gdbserver_gdb_exit.
208 (mi_gdb_exit): Likewise.
209
90681dab
YQ
2102016-09-22 Yao Qi <yao.qi@linaro.org>
211
212 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
213 path.
214 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
215 Remove duplication.
216
9c211fd8
YQ
2172016-09-22 Yao Qi <yao.qi@linaro.org>
218
219 * lib/gdbserver-support.exp: Check the existence of
220 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
221
ad0a504f
AK
2222016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
223
224 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
225
36cf1806
TT
2262016-09-21 Tom Tromey <tom@tromey.com>
227
228 PR gdb/20604:
229 * gdb.base/quit.exp: New file.
230
74172ecf
SM
2312016-09-21 Simon Marchi <simon.marchi@ericsson.com>
232
233 * .gitignore: New file.
234
3d0ec882
MR
2352016-09-21 Maciej W. Rozycki <macro@imgtec.com>
236
237 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
238 throughout.
239
8193adea
AA
2402016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
241
242 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
243
d41a5c09
JK
2442016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
245
246 * gdb.cp/casts.cc (decltype): Move it ...
247 (main): ... with its call to ...
248 * gdb.cp/casts03.cc: ... a new file.
249 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
250
d2dfe700
JK
2512016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
252
253 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
254
e2a92b16
PB
2552016-09-15 Peter Bergner <bergner@vnet.ibm.com>
256
257 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
258 and sync up the test with tests in gas/testsuite/gas/ppc.
259 * gdb.arch/powerpc-power.exp: Likewise.
260
49b4de64
JK
2612016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
262
263 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
264
2c29df25
SDJ
2652016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
266 Jan Kratochvil <jan.kratochvil@redhat.com>
267
268 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
269 make m1's definition to be different from m2's. Use 'dummy' as an
270 argument for probe 'two'.
271
cc3c2846
JB
2722016-09-10 Jon Beniston <jon@beniston.com>
273
274 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
275 for sim target.
276
e1b2624a
AA
2772016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
278
279 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
280 variable declaration.
281 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
282 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
283 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
284 received HWCAP as its argument.
285
4295e285
PA
2862016-09-06 Pedro Alves <palves@redhat.com>
287
288 * gdb.base/new-ui-pending-input.c: New file.
289 * gdb.base/new-ui-pending-input.exp: New file.
290 * gdb.exp (clear_gdb_spawn_id): New procedure.
291 (with_spawn_id): Check whether gdb_spawn_id exists before
292 referencing it. If gdb_spawn_id didn't exist on entry, clear it
293 on exit.
294
00d5215e
UW
2952016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
296
297 * gdb.base/float128.c: New file.
298 * gdb.base/float128.exp: Likewise.
299 * gdb.base/floatn.c: Likewise.
300 * gdb.base/floatn.exp: Likewise.
301
a9ff5f12
UW
3022016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
303
304 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
305
f245535c
PA
3062016-09-05 Pedro Alves <palves@redhat.com>
307
308 PR backtrace/19927
309 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
310 unwinders are immediately called as side effect of "source" or
311 "disable unwinder" commands.
312 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
313
ae9cf263
YQ
3142016-09-02 Yao Qi <yao.qi@linaro.org>
315
316 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
317 is true and $type is "float" or "double".
318
27aba047
YQ
3192016-09-02 Yao Qi <yao.qi@linaro.org>
320
321 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
322 true.
323 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
324 * gdb.base/call-rt-st.exp: Likewise.
325 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
326 return value instead of gdb,skip_float_test.
327 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
328 (do_function_calls): Use its return value instead of
329 gdb,skip_float_test.
330 * gdb.base/finish.exp: Likewise.
331 * gdb.base/funcargs.exp: Likewise.
332 * gdb.base/return.exp: Likewise.
333 * gdb.base/return2.exp: Likewise.
334 * gdb.base/varargs.exp: Likewise.
335 * lib/gdb.exp (gdb_skip_float_test): Change it to
336 gdb_caching_proc. Detect the broken ptrace on arm-linux.
337
5af962df
AA
3382016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
339
340 * gdb.multi/tids.exp: Test "thread apply all".
341
7fac6910
JK
3422016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
343
344 * gdb.base/default.exp (tty): Remove.
345
bb1fe4ac
KB
3462016-08-24 Kevin Buettner <kevinb@redhat.com>
347
2806dc7e
PA
348 * gdb.python/py-recurse-unwind.c: New file.
349 * gdb.python/py-recurse-unwind.py: New file.
350 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 351
0a1ddfa6
SM
3522016-08-24 Simon Marchi <simon.marchi@ericsson.com>
353
354 * gdb.base/set-inferior-tty.exp: New file.
355 * gdb.base/set-inferior-tty.c: New file.
356
d9de1fe3
PA
3572016-08-23 Pedro Alves <palves@redhat.com>
358
359 PR gdb/20494
360 * gdb.base/new-ui-echo.c: New file.
361 * gdb.base/new-ui-echo.exp: New file.
362
e9d9abd7
YQ
3632016-08-23 Yao Qi <yao.qi@linaro.org>
364
365 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
366 gdbserver_spawn.
367 * gdb.server/connect-without-multi-process.exp (do_test):
368 Likewise.
369
3589529e
YQ
3702016-08-23 Yao Qi <yao.qi@linaro.org>
371
372 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
373 standalone_txt. Delete gdb_txt and standalone_txt on host
374 and target. Spawn the binary on target. Copy files from
375 target to host.
376
6bb90213
PA
3772016-08-22 Pedro Alves <palves@redhat.com>
378
379 PR gdb/20505
380 * gdb.base/vdso-warning.exp: Test core dumps too. Use
381 with_test_prefix. Factor out bits to ...
382 (test_no_vdso): ... this new procedure.
383
20c2c024
CL
3842016-08-19 Carl Love <cel@us.ibm.com>
385
386 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
387 maintaining separate logic for constructing the output path.
388 * gdb.arch/powerpc-d128-regs.exp: Likewise.
389 * gdb.arch/ppc-dfp.exp: Likewise.
390 * gdb.arch/ppc-fp.exp: Likewise.
391 * gdb.arch/vsx-regs.exp: Likewise.
392 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
393 binprefix for generating the additional binary files.
394
0646e07d
PA
3952016-08-19 Pedro Alves <palves@redhat.com>
396
397 * gdb.trace/mi-trace-frame-collected.exp
398 (test_trace_frame_collected): On x32, expect two registers.
399
46da9242
CL
4002016-08-18 Carl Love <cel@us.ibm.com>
401
402 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
403 and sync up the test with tests in gas/testsuite/gas/ppc.
404 * gdb.arch/powerpc-power.exp: Likewise.
405
eb2332d7
SM
4062016-08-17 Simon Marchi <simon.marchi@ericsson.com>
407
408 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
409 expected error message.
410
63c61e04
SM
4112016-08-17 Simon Marchi <simon.marchi@ericsson.com>
412
413 * gdb.multi/remove-inferiors.exp: New file.
414 * gdb.multi/remove-inferiors.c: New file.
415
7b17065f
YQ
4162016-08-12 Yao Qi <yao.qi@linaro.org>
417
418 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
419 argument list.
420
01d3dedf
PA
4212016-08-10 Pedro Alves <palves@redhat.com>
422
423 PR gdb/19187
424 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
425 setup_kfails.
426
3eb7562a
PA
4272016-08-09 Pedro Alves <palves@redhat.com>
428 Simon Marchi <simon.marchi@ericsson.com>
429
430 PR gdb/20418
431 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
432 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
433
80614914
PA
4342016-08-09 Pedro Alves <palves@redhat.com>
435
436 PR mi/20431
437 * gdb.mi/mi-cmd-error.exp: New file.
438
f348d89a
PA
4392016-08-09 Pedro Alves <palves@redhat.com>
440
441 PR gdb/18653
442 * gdb.base/signals-state-child.c: New file.
443 * gdb.base/signals-state-child.exp: New file.
444 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
445
e5ca03b4
PA
4462016-08-09 Pedro Alves <palves@redhat.com>
447
448 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
449
282a0691
TT
4502016-08-03 Tom Tromey <tom@tromey.com>
451
452 PR python/18565:
453 * gdb.python/py-frame-inline.exp: Add Frame.function test.
454
41bfcd63
YQ
4552016-08-01 Yao Qi <yao.qi@linaro.org>
456
457 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
458 variable mode to "multi-process" if $multi_process is 1, otherwise
459 set it to "single-process".
460
e3465b24
YQ
4612016-08-01 Yao Qi <yao.qi@linaro.org>
462
463 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
464 * gdb.cp/cpexprs.exp: Likewise.
465 * gdb.cp/m-static.exp: Likewise.
466
0b31a4bc
TT
4672016-07-26 Tom Tromey <tom@tromey.com>
468
469 PR python/20190:
470 * gdb.threads/tls.exp (check_thread_local): Add python symbol
471 test.
472
e0461dbb
MM
4732016-07-26 Markus Metzger <markus.t.metzger@intel.com>
474
475 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
476 selecting assembly source files.
477 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
478 assembly source files.
479 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
480 assembly source files.
481 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
482 selecting assembly source files.
483
8194e927
SM
4842016-07-25 Simon Marchi <simon.marchi@ericsson.com>
485
486 * gdb.base/new-ui.exp (do_test_invalid_args): New
487 procedure.
488
c0272db5
TW
4892016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
490
491 * gdb.btrace/reconnect.c: New file.
492 * gdb.btrace/reconnect.exp: New file.
493
e3487908
GKB
4942016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
495
496 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
497 to test_catch_syscall_group.
498 (test_catch_syscall_group): New.
499
12df5c00
TT
5002016-07-21 Tom Tromey <tom@tromey.com>
501
502 * gdb.rust/simple.rs (main): Use empty struct expression.
503 * gdb.rust/simple.exp: Add tests for empty struct expression.
504
bae62ee2
YQ
5052016-07-21 Yao Qi <yao.qi@linaro.org>
506
507 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
508 if gdb_skip_xml_test is true on some targets.
509
b1b53fb3
YQ
5102016-07-21 Yao Qi <yao.qi@linaro.org>
511
512 * gdb.server/solib-list.exp: Unset last_loaded_file.
513
027d97f8
JK
5142016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
515
516 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
517 "step into captured_main (args)".
518
7674d381
JK
5192016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
522
72b5d099
JK
5232016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
524
525 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
526
1f960ced
PA
5272016-07-19 Pedro Alves <palves@redhat.com>
528
529 * gdb.opt/inline-break.exp: Remove optimize=-O2.
530 * gdb.opt/inline-bt.exp: Likewise.
531 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
532 additional_flags=-Winline.
533 * gdb.opt/inline-locals.exp: Likewise.
534 * gdb.opt/inline-markers.c (ATTR): Define.
535 (inlined_fn): Use it.
536
f25827c1
YQ
5372016-07-19 Yao Qi <yao.qi@linaro.org>
538
539 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
540 (test_with_self): Remove some code. Remove argument executable.
541 (top-level): Use do_self_tests.
542
37539ebe
DB
5432016-07-15 Zachary Welch <zwelch@codesourcery.com>
544 Don Breazeal <donb@codesourcery.com>
545
546 * gdb.base/maint.exp: Escape paths used in regular expressions.
547 * gdb.stabs/weird.exp: Likewise.
548
dac790e1
TT
5492016-07-13 Tom Tromey <tom@tromey.com>
550
551 PR python/15620, PR python/18620:
552 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
553 (test_bkpt_events): New procs.
554
93daf339
TT
5552016-07-13 Tom Tromey <tom@tromey.com>
556
557 PR python/17698:
558 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
559 test.
560 (test_watchpoints): Likewise.
561 (test_bkpt_pending): New proc.
562
6571a381
TT
5632016-07-13 Tom Tromey <tom@tromey.com>
564
565 PR cli/18053:
566 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
567 completion test.
568
e8732474
JK
5692016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
570
571 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
572 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
573 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
574 f_label.
575 (g): Rename g_end_lbl to g_label.
576 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
577 low_pc and high_pc.
578 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
579
e0f3fd7c
TT
5802016-07-12 Tom Tromey <tom@tromey.com>
581
582 PR python/19293:
583 * gdb.python/py-unwind-maint.exp: Update tests.
584
3cfe46b6
YQ
5852016-07-12 Yao Qi <yao.qi@linaro.org>
586
587 * lib/selftest-support.exp (selftest_setup): Match the output
588 when captured_main is inlined.
589
4f19a0e6
WT
5902016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
591
592 * gdb.fortran/derived-types.exp (result_line, result_line_2):
593 New variables.
594 (print this%a, print this%b, print this): New tests.
595 * gdb.fortran/derived-types.f90 (this): New object and
596 initialization.
597
986cf455
SM
5982016-07-06 Simon Marchi <simon.marchi@ericsson.com>
599
600 * gdb.ada/arraydim.exp: Remove extra directory level in build
601 directory.
602
f0464b23
SM
6032016-07-06 Simon Marchi <simon.marchi@ericsson.com>
604
605 * lib/ada.exp: Remove extra directory level in build directory.
606 * gdb.ada/cond_lang.exp: Likewise.
607 * gdb.ada/exec_changed.exp: Likewise.
608 * gdb.ada/lang_switch.exp: Likewise.
609
42d94011
MG
6102016-07-06 Manish Goregaokar <manish@mozilla.com>
611
2806dc7e
PA
612 * simple.rs: Add test for raw pointer subscripting.
613 * simple.exp: Add test expectations.
42d94011 614
647c264c
YQ
6152016-07-05 Yao Qi <yao.qi@linaro.org>
616
617 * gdb.mi/mi-reverse.exp: Match =record-started output.
618
20aa2c60
PA
6192016-07-01 Pedro Alves <palves@redhat.com>
620
621 * gdb.base/jit-reader.exp (info_registers_current_frame): New
622 procedure.
623 (jit_reader_test): Test the jit reader's unwinder.
624 * gdb.base/jithost.c (jit_function_00_code): New global.
625 (main): Use memcpy to fill in the mmapped code, instead of poking
626 bytes manually here.
627 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
628 value.
629 (read_debug_info): Save the function's range.
630 (read_sp): New function.
631 (unwind_frame): Use it. Also unwind RBP.
632 (get_frame_id): Use read_sp.
633 (gdb_init_reader): Use calloc instead of malloc.
634 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
635 parameter. Use gdb_test_multiple.
636
ced2dffb
PA
6372016-07-01 Pedro Alves <palves@redhat.com>
638 Antoine Tremblay <antoine.tremblay@ericsson.com>
639
640 * gdb.threads/process-dies-while-detaching.c: New file.
641 * gdb.threads/process-dies-while-detaching.exp: New file.
642
63000888
PA
6432016-07-01 Pedro Alves <palves@redhat.com>
644
645 * gdb.multi/watchpoint-multi-exit.c: New file.
646 * gdb.multi/watchpoint-multi-exit.exp: New file.
647
038d4868
PA
6482016-06-30 Pedro Alves <palves@redhat.com>
649
650 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
651 unset inferior_spawn_id.
652
994e9c83
PA
6532016-06-30 Pedro Alves <palves@redhat.com>
654
655 * lib/mi-support.exp (default_mi_gdb_start): Declare global
656 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
657
e5653468
YQ
6582016-06-29 Yao Qi <yao.qi@linaro.org>
659
660 * gdb.base/return.c: Add copyright header.
661
803b47e5
TT
6622016-06-29 Tom Tromey <tom@tromey.com>
663
664 PR python/20129:
665 * gdb.python/py-framefilter.exp: Add tests for setting priority
666 and disabling of non-existent frame filter.
667
28244707
YQ
6682016-06-29 Yao Qi <yao.qi@linaro.org>
669
670 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
671 0x0f07ff.
672
a31d2f06
YQ
6732016-06-28 Yao Qi <yao.qi@linaro.org>
674
675 * gdb.base/catch-syscall.exp: Remove check on isnative and target
676 triplets. Start gdb, execute catch syscall, and continue. Check
677 gdb's output to determine catch syscall is supported.
678
921d8f54
MG
6792016-06-27 Manish Goregaokar <manish@mozilla.com>
680
25d49b86
PA
681 * gdb.rust/simple.rs: Add test for returning unit in a function.
682 * gdb.rust/simple.exp: Add expectation for functions returning
683 unit.
921d8f54 684
f4952523
PMR
6852016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
686
687 * gdb.python/py-breakpoint-create-fail.c,
688 gdb.python/py-breakpoint-create-fail.exp,
689 gdb.python/py-breakpoint-create-fail.py: New testcase.
690
fccb08f8
MG
6912016-06-25 Manish Goregaokar <manish@mozilla.com>
692
693 PR gdb/20239
694 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
695 * gdb.rust/simple.exp: Add test expectations for new NonZero
696 tests.
fccb08f8 697
6b850546
DT
6982016-06-24 David Taylor <dtaylor@emc.com>
699
700 * gdb.base/offsets.exp: New file.
701 * gdb.base/offsets.c: New file.
702
17621150
TT
7032016-06-23 Tom Tromey <tom@tromey.com>
704
705 PR gdb/16483:
706 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
707 before any filters are loaded.
708
04d59df6
WT
7092016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
710
711 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
712 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
713 structs.
714 * gdb.fortran/derived-type-function.exp: New file.
715 * gdb.fortran/derived-type-function.f90: New file.
716
717
ac69f786
PA
7182016-06-21 Pedro Alves <palves@redhat.com>
719
720 * gdb.base/new-ui.exp: New file.
721 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
722 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
723 (with_spawn_id): New procedure.
724
49940788
PA
7252016-06-21 Pedro Alves <palves@redhat.com>
726
727 * gdb.mi/mi-exec-run.exp: New file.
728
ef274d26
PA
7292016-06-21 Pedro Alves <palves@redhat.com>
730
731 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
732 breakpoint command's output on the main UI.
733 (test_break): New procedure, factored out from calls in the top
734 level.
735 (top level): Use foreach_with_prefix to test MI as main UI and as
736 separate UI.
737
468afe6c
PA
7382016-06-21 Pedro Alves <palves@redhat.com>
739
740 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
741 (test_awatch_creation_and_listing)
742 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
743 Remove 'type' parameter.
744 (test_watchpoint_all): New parameter mi_mode. Remove
745 with_test_prefix.
746 (top level): Use foreach_with_prefix, and add main/separate UI MI
747 testing axis.
748
51f77c37
PA
7492016-06-21 Pedro Alves <palves@redhat.com>
750
751 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
752 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
753 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
754 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
755 (gdb_main_spawn_id, mi_spawn_id): Declare and
756 comment.
757 (mi_create_inferior_pty): New procedure,
758 factored out from default_mi_gdb_start.
759 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
760 procedures.
761 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
762 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
763 Use mi_create_inferior_pty.
764 (mi_gdb_start): Use eval to pass down args list.
765
8980e177
PA
7662016-06-21 Pedro Alves <palves@redhat.com>
767
768 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
769 * gdb.opt/inline-cmds.exp: Add MI tests.
770
f38d3ad1
PA
7712016-06-21 Pedro Alves <palves@redhat.com>
772
773 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
774
45db7c09
PA
7752016-06-21 Pedro Alves <palves@redhat.com>
776
777 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
778 (top level): Use it instead of mi_execute_to.
779
5a069ab3
PA
7802016-06-21 Pedro Alves <palves@redhat.com>
781
782 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
783 (cont_handler_str): New.
784 (signal_stop_handler): Set stop_handler_str instead of printing to
785 stdout.
786 (continue_handler): Set cont_handler_str instead of printing to
787 stdout.
788 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
789 mi_send_resuming_command. Print stop_handler_str and
790 cont_handler_str instead of expecting the python events print
791 directly.
792
2838cc1d
SD
7932016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
794
795 * gdb.base/jit-reader.exp: New file.
796 * gdb.base/jithost.c: New file.
797 * gdb.base/jithost.h: New file.
798 * gdb.base/jitreader.c : New file.
799 * gdb.base/jit-protocol.h: New file.
800
21a77091
YQ
8012016-06-17 Yao Qi <yao.qi@linaro.org>
802
803 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
804 parameters follow_fork and detach_on_fork. Set follow-fork-mode
805 and detach-on-fork. Adjust tests.
806 (top level): Invoke break_cond_on_syscall with combinations of
807 syscall, follow-fork-mode and detach-on-fork.
808
f50bf8e5
YQ
8092016-06-17 Yao Qi <yao.qi@linaro.org>
810
811 * gdb.base/step-over-exit.c: New.
812 * gdb.base/step-over-exit.exp: New.
813
a28d8e50
YTL
8142016-06-17 Yan-Ting Lin <currygt52@gmail.com>
815
816 * gdb.base/float.exp: Add target check for nds32*-*-*.
817 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
818
cad8e26d
AB
8192016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
822 for unsupported target features.
823 * gdb.base/call-rt-st.exp: Likewise.
824 * gdb.base/call-sc.exp: Likewise.
825 * gdb.base/call-signal-resume.exp: Likewise.
826 * gdb.base/call-strs.exp: Likewise.
827 * gdb.base/callexit.exp: Likewise.
828 * gdb.base/callfuncs.exp: Likewise.
829 * gdb.base/nodebug.exp: Likewise.
830 * gdb.base/printcmds.exp: Likewise.
831 * gdb.base/ptype.exp: Likewise.
832 * gdb.base/structs.exp: Likewise.
833 * gdb.base/unwindonsignal.exp: Likewise.
834 * gdb.cp/gdb2495.exp: Likewise.
835 * gdb.cp/templates.exp: Likewise.
836 * gdb.cp/virtfunc.exp: Likewise.
837 * gdb.threads/hand-call-in-threads.exp: Likewise.
838 * gdb.threads/interrupted-hand-call.exp: Likewise.
839 * gdb.threads/thread-unwindonsignal.exp: Likewise.
840
347dc102
TT
8412016-06-10 Tom Tromey <tom@tromey.com>
842
843 PR rust/20110:
844 * gdb.rust/expr.exp: Add test for integer constant larger than
845 i32.
846
5e13cf25
BH
8472016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
848
849 * gdb.fortran/nested-funcs.exp: New.
850 * gdb.fortran/nested-funcs.f90: New.
851
bb556f1f
TK
8522016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
853
854 * gdb.base/examine-backward.c: New file.
855 * gdb.base/examine-backward.exp: New file.
856
38b022b4
SM
8572016-06-06 Simon Marchi <simon.marchi@ericsson.com>
858
859 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
860 matching.
861
1b40ec05
TT
8622016-06-02 Tom Tromey <tom@tromey.com>
863
864 PR python/18984:
865 * gdb.python/py-shared.exp: Add solib_name test.
866
193bd378
SM
8672016-06-02 Simon Marchi <simon.marchi@ericsson.com>
868
869 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
870
3326303b
MG
8712016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
872
873 PR c++/19893
874 * gdb.dwarf2/implref.exp: Rename to...
875 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
876 * gdb.dwarf2/implref-array.c: New file.
877 * gdb.dwarf2/implref-array.exp: Likewise.
878 * gdb.dwarf2/implref-global.c: Likewise.
879 * gdb.dwarf2/implref-global.exp: Likewise.
880 * gdb.dwarf2/implref-struct.c: Likewise.
881 * gdb.dwarf2/implref-struct.exp: Likewise.
882
825c8ef2
AT
8832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
884
885 * gdb.trace/trace-condition.exp: Add 64bit tests.
886
2320162a
AT
8872016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
888
889 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
890 bits types.
891 (main): Adapt to 8 to 64 bits types.
892 * gdb.trace/trace-condition.exp: Add new tests.
893
a7818233
AT
8942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
895
896 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
897
0d336466
AT
8982016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
899
900 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
901 Move condition tests...
902 * gdb.trace/trace-condition.exp: Here.
903
7faeb45a
AT
9042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
905
906 * gdb.trace/trace-condition.exp: Add counter-case tests.
907
e385593e
JK
9082016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
909
910 PR c++/15231
911 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
912 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
913
744608cc
PA
9142016-05-27 Pedro Alves <palves@redhat.com>
915
916 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
917 New procedure.
918 (top level): Call it, and bail out of DejaGnu is known to be bad.
919
ac775bf4
AB
9202016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.base/whatis.c: Extend the test case.
923 * gdb.base/whatis.exp: Add additional tests.
924
2bbad2ea
BH
9252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
926
927* gdb.fortran/type.f90: Add pointer variable.
928* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
929
8b70175d
BH
9302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
931
932 * gdb.fortran/vla-type.exp: Fix testcase name.
933
86d8a848
BH
9342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
935
936 * gdb.fortran/vla-type.exp: Access elements in nested structs.
937
e188eb36
BH
9382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
939
940 * gdb.fortran/type.f90: Add nested structures.
941 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
942 * gdb.fortran/derived-type.exp: Adapt expected output.
943 * gdb.fortran/vla-type.exp: Adapt expected output.
944
9b2db1fd
BH
9452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
946
947 * gdb.fortran/whatis_type.exp: Adapt expected output.
948
72b17055
BH
9492016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
950
951 * gdb.fortran/print_type.exp: Fix expected output.
952 * gdb.fortran/whatis_type.exp: Fix expected output.
953
3cd81d8d
BH
9542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
955
956 * gdb.fortran/whatis_type.exp: Use multi_line.
957
ddae9462
TT
9582016-05-24 Tom Tromey <tom@tromey.com>
959
960 PR python/17386:
961 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
962 use value as an index.
963
1957f6b8
TT
9642016-05-23 Tom Tromey <tom@tromey.com>
965
966 PR python/17981:
967 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
968 no-breakpoint case.
969
026a9174
PA
9702016-05-24 Pedro Alves <palves@redhat.com>
971
972 PR gdb/19828
973 * gdb.threads/clone-attach-detach.c: New file.
974 * gdb.threads/clone-attach-detach.exp: New file.
975
e70a7231
FR
9762016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
977
978 * gdb.base/annota-input-while-running.exp: Fix syntax error.
979
0f6ed0e0
TT
9802016-05-23 Tom Tromey <tom@tromey.com>
981
982 PR python/19438, PR python/18393:
983 * gdb.python/py-progspace.exp: Add "dir" test.
984 * gdb.python/py-objfile.exp: Add "dir" test.
985
ffd19d61
YQ
9862016-05-23 Yao Qi <yao.qi@linaro.org>
987
988 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
989 * gdb.arch/thumb2-it.exp: Likewise.
990
9e8f9b05
SM
9912016-05-18 Simon Marchi <simon.marchi@ericsson.com>
992
993 * gdb.mi/mi-threads-interrupt.c: New file.
994 * gdb.mi/mi-threads-interrupt.exp: New file.
995
61c6156d
SM
9962016-05-17 Simon Marchi <simon.marchi@ericsson.com>
997
998 PR gdb/18077
999 * gdb.mi/mi-async-run.exp: New file.
1000 * gdb.mi/mi-async-run.c: New file.
1001
67218854
TT
10022016-05-17 Tom Tromey <tom@tromey.com>
1003 Manish Goregaokar <manishsmail@gmail.com>
1004
1005 * lib/rust-support.exp: New file.
1006 * lib/gdb.exp (skip_rust_tests): New proc.
1007 (build_executable_from_specs): Handle rust.
1008 * lib/future.exp (gdb_find_rustc): New proc.
1009 (gdb_default_target_compile): Handle rust.
1010 * gdb.rust/expr.exp: New file.
1011 * gdb.rust/generics.exp: New file.
1012 * gdb.rust/generics.rs: New file.
1013 * gdb.rust/methods.exp: New file.
1014 * gdb.rust/methods.rs: New file.
1015 * gdb.rust/modules.exp: New file.
1016 * gdb.rust/modules.rs: New file.
1017 * gdb.rust/simple.exp: New file.
1018 * gdb.rust/simple.rs: New file.
1019
c44af4eb
TT
10202016-05-17 Tom Tromey <tom@tromey.com>
1021
1022 * gdb.base/default.exp (set language): Add rust.
1023
dcd1f979
TT
10242016-05-17 Tom Tromey <tom@tromey.com>
1025
1026 * gdb.gdb/unittest.exp: New file.
1027
155b7f57
YQ
10282016-05-16 Yao Qi <yao.qi@linaro.org>
1029
1030 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1031 shell_prompt. Update shell_prompt_re.
1032
8ddd5a6c
DE
10332016-05-12 Doug Evans <dje@google.com>
1034
1035 PR symtab/19999
1036 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1037 $options when building executable.
1038 * gdb.dwarf2/fission-loclists-pie.S: New file.
1039 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1040
02e370d9
SM
10412016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1042
1043 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1044 of [is_remote target],
1045
8929ad8b
SM
10462016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1047
1048 * lib/gdb.exp (use_gdb_stub): New procedure.
1049
6c447423
DE
10502016-05-03 Yunlian Jiang <yunlian@google.com>
1051 Doug Evans <dje@google.com>
1052
1053 PR symtab/19914
1054 * gdb.dwarf2/dwp-sepdebug.c: New file.
1055 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1056
444e826c
SM
10572016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1058
1059 * gdb.base/detach.exp: Remove is_remote check.
1060
740feeaa
SM
10612016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1062
1063 * gdb.base/annota-input-while-running.exp: Don't check for
1064 [is_remote target]. Enable annotations after running to main.
1065 Remove unused "set test..." line.
1066
9080ac9d
SM
10672016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1068
1069 * gdb.trace/trace-enable-disable.exp: New file.
1070 * gdb.trace/trace-enable-disable.c: New file.
1071
952ebca5
SM
10722016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1073
1074 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1075 use it in info sharedlibrary test.
1076 * gdb.trace/ftrace-lock.exp: Likewise.
1077 * gdb.trace/ftrace.exp: Likewise.
1078 * gdb.trace/range-stepping.exp: Likewise.
1079 * gdb.trace/trace-break.exp: Likewise.
1080 * gdb.trace/trace-condition.exp: Likewise.
1081 * gdb.trace/trace-mt.exp: Likewise.
1082
d9019901
SM
10832016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1084
1085 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1086 (gdb_load_shlib): ... this.
1087 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1088 gdb_load_shlib.
1089 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1090 * gdb.base/ctxobj.exp: Likewise.
1091 * gdb.base/dprintf-pending.exp: Likewise.
1092 * gdb.base/dso2dso.exp: Likewise.
1093 * gdb.base/fixsection.exp: Likewise.
1094 * gdb.base/gcore-relro.exp: Likewise.
1095 * gdb.base/gdb1555.exp: Likewise.
1096 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1097 * gdb.base/gnu-ifunc.exp: Likewise.
1098 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1099 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1100 * gdb.base/pending.exp: Likewise.
1101 * gdb.base/print-file-var.exp: Likewise.
1102 * gdb.base/print-symbol-loading.exp: Likewise.
1103 * gdb.base/shlib-call.exp: Likewise.
1104 * gdb.base/shreloc.exp: Likewise.
1105 * gdb.base/so-impl-ld.exp: Likewise.
1106 * gdb.base/solib-disc.exp: Likewise.
1107 * gdb.base/solib-nodir.exp: Likewise.
1108 * gdb.base/solib-overlap.exp: Likewise.
1109 * gdb.base/solib-symbol.exp: Likewise.
1110 * gdb.base/solib-weak.exp (do_test): Likewise.
1111 * gdb.base/sym-file.exp: Likewise.
1112 * gdb.base/symtab-search-order.exp: Likewise.
1113 * gdb.base/type-opaque.exp: Likewise.
1114 * gdb.base/unload.exp: Likewise.
1115 * gdb.base/watchpoint-solib.exp: Likewise.
1116 * gdb.compile/compile.exp: Likewise.
1117 * gdb.cp/gdb2384.exp: Likewise.
1118 * gdb.cp/infcall-dlopen.exp: Likewise.
1119 * gdb.cp/re-set-overloaded.exp: Likewise.
1120 * gdb.fortran/library-module.exp: Likewise.
1121 * gdb.opt/solib-intra-step.exp: Likewise.
1122 * gdb.python/py-finish-breakpoint.exp: Likewise.
1123 * gdb.python/py-shared.exp: Likewise.
1124 * gdb.reverse/solib-precsave.exp: Likewise.
1125 * gdb.reverse/solib-reverse.exp: Likewise.
1126 * gdb.server/solib-list.exp: Likewise.
1127 * gdb.threads/dlopen-libpthread.exp: Likewise.
1128 * gdb.threads/tls-shared.exp: Likewise.
1129 * gdb.threads/tls-so_extern.exp: Likewise.
1130 * gdb.trace/change-loc.exp: Likewise.
1131 * gdb.trace/ftrace-lock.exp: Likewise.
1132 * gdb.trace/ftrace.exp: Likewise.
1133 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1134 * gdb.trace/pending.exp: Likewise.
1135 * gdb.trace/range-stepping.exp: Likewise.
1136 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1137 (strace_info_marker): Likewise.
1138 (strace_probe_marker): Likewise.
1139 (strace_trace_on_same_addr): Likewise.
1140 (strace_trace_on_diff_addr): Likewise.
1141 * gdb.trace/trace-break.exp: Likewise.
1142 * gdb.trace/trace-condition.exp: Likewise.
1143 * gdb.trace/trace-mt.exp: Likewise.
1144
fca4cfd9
SM
11452016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1146
1147 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1148 result of gdb_remote_download.
1149 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1150 * gdb.base/dso2dso.exp: Likewise.
1151 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1152 * gdb.base/print-file-var.exp: Likewise.
1153 * gdb.base/shlib-call.exp: Likewise.
1154 * gdb.base/shreloc.exp: Likewise.
1155 * gdb.base/solib-overlap.exp: Likewise.
1156 * gdb.base/solib-weak.exp (do_test): Likewise.
1157 * gdb.base/unload.exp: Likewise.
1158
11cf4ffb
YQ
11592016-04-27 Yao Qi <yao.qi@linaro.org>
1160
1161 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1162 exists.
1163
3e2e34f8
KB
11642016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1165
1166 * vla-type.exp: Print structure from toplevel.
1167
8f07e298
BH
11682016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1169
1170 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1171 of dynamic types.
1172 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1173 of dynamic types.
1174
9920b434
BH
11752016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1176
1177 * gdb.fortran/vla-type.f90: New file.
1178 * gdb.fortran/vla-type.exp: New file.
1179
f3abeff5
YQ
11802016-04-25 Yao Qi <yao.qi@linaro.org>
1181
1182 * gdb.base/branch-to-self.c: New file.
1183 * gdb.base/branch-to-self.exp: New file.
1184
0a5d52f0
YQ
11852016-04-22 Yao Qi <yao.qi@linaro.org>
1186
1187 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1188 more after $hex.
1189
495346f6
YQ
11902016-04-22 Yao Qi <yao.qi@linaro.org>
1191
1192 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1193 * gdb.base/annota3.exp: Likewise.
1194
4a7e075c
YQ
11952016-04-22 Yao Qi <yao.qi@linaro.org>
1196
1197 * gdb.reverse/step-precsave.exp: Do one step and test program
1198 stops in "callee" and do multiple steps until program goes out
1199 of "callee".
1200 * gdb.reverse/step-reverse.exp: Likewise.
1201
5b061e98
YQ
12022016-04-22 Yao Qi <yao.qi@linaro.org>
1203
1204 * gdb.trace/signal.exp: Also pass if
1205 $tracepoint_hits($i) > $iterations.
1206
5c5dc57f
YQ
12072016-04-22 Yao Qi <yao.qi@linaro.org>
1208
1209 * gdb.trace/signal.c: New file.
1210 * gdb.trace/signal.exp: New file.
1211
a55411b9
DE
12122016-04-19 Doug Evans <xdje42@gmail.com>
1213
1214 * gdb.base/bad-file.exp: New file.
1215
a22df60a
MG
12162016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1217
1218 * gdb.dwarf2/implref.exp: New file.
1219
0c13f7e5
BH
12202016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1221
1222 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1223 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1224 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1225 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1226 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1227 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1228 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1229 * lib/fortran.exp (fortran_int4): New procedure.
1230 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1231 (fortran_logical4): Likewise.
1232
9b9b09e9
BH
12332016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1234
1235 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1236
a14d1f4d
BH
12372016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1238
1239 * lib/compiler.c: Add Intel specific preprocessor macros.
1240 * lib/compiler.cc: Likewise.
25d49b86 1241
7d49b1d0
LM
12422016-04-13 Luis Machado <lgustavo@codesourcery.com>
1243
1244 * gdb.server/connect-with-no-symbol-file.c: New file.
1245 * gdb.server/connect-with-no-symbol-file.exp: New file.
1246
8392fa22
SM
12472016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1248
1249 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1250
8c4c4aeb
SM
12512016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1252
1253 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1254 standard output directory.
1255
45e3745e
AT
12562016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1257
1258 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1259
e26b7e41
MM
12602016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1261
1262 * gdb.btrace/instruction_history.c (loop): Add declaration.
1263
8ce09462
AT
12642016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1265
1266 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1267
2e88a1ea
SM
12682016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1269
1270 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1271 parentheses to print.
1272 (continue_handler): Likewise.
1273
f48e22e3
SM
12742016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1275
1276 * gdb.server/solib-list.exp: Remove is_remote check.
1277 Pass shlib= to gdb_compile. Don't link shared library with
1278 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1279 Run binary filename through "readlink -f" on the target.
1280
096be756
PA
12812016-04-08 Pedro Alves <palves@redhat.com>
1282
1283 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1284 interpreter filename as argument to gdbserver_spawn.
1285 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1286 Return empty if $last_loaded_file does not exist.
1287
06500533
JK
12882016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1289
1290 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1291 * gdb.base/jit-main.c: Use exit after usage.
1292
2d35e871
JK
12932016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1294
1295 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1296 GDBHISTSIZE prior to the tests.
1297 * gdb.base/gdbinit-history.exp: Likewise.
1298
12992016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1300
1301 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1302 instead of build_executable. Use gdb_load_shlibs.
1303
c8064e7e
YQ
13042016-04-07 Yao Qi <yao.qi@linaro.org>
1305
1306 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1307 Execute "si" command.
1308
bde47561
YQ
13092016-04-07 Yao Qi <yao.qi@linaro.org>
1310
1311 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1312 number instead of the comments on some line.
1313
b16f8a3b
DB
13142016-04-06 Don Breazeal <donb@codesourcery.com>
1315
1316 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1317 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1318
c2f901df
SM
13192016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1320
1321 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1322 standard_output_file. Remove unused binfile variable.
1323
ac17fda0
CU
13242016-04-05 Catalin Udma <catalin.udma@freescale.com>
1325
1326 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1327 * gdb.python/py-mi-objfile.exp: Match "list main" output
1328 in console format.
1329
03a8c4df
SM
13302016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1331
1332 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1333 absolute.
1334
6e774b13
SM
13352016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1336
1337 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1338 absolute.
1339 * gdb.trace/ftrace.exp: Likewise.
1340 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1341 targets as well.
1342 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1343 (gdb_load_shlibs): Copy libraries to test directory when testing
1344 natively. Only set solib-search-path if testing remotely.
1345 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1346
7817ea46
SM
13472016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1348
1349 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1350 gdb_download. Use it even if the target is not remote.
1351 * gdb.base/jit.exp (compile_jit_test): Likewise.
1352 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1353 output directory if the destination board is local, otherwise use
1354 the standard remote_download from DejaGnu.
1355 (gdb_download): Remove.
1356 (gdb_load_shlibs): Use gdb_remote_download instead of
1357 gdb_download.
1358 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1359 Use gdb_remote_download instead of gdb_download. Use it even if
1360 the target is not remote.
1361 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1362 instead of gdb_download.
1363
7beb7f68
SM
13642016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1365
1366 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1367 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1368 run.
1369
cc63428a
AV
13702016-04-01 Artemiy Volkov <artemiyv@acm.org>
1371
1372 PR gdb/19820
1373 * gdb.base/printcmds.exp: Add artificial arrays tests.
1374
64cdf930
PA
13752016-03-31 Pedro Alves <palves@redhat.com>
1376
1377 PR gdb/19858
1378 * gdb.base/jit-main.c: Include unistd.h.
1379 (ATTACH): Define to 0 if not already defined.
1380 (wait_for_gdb, mypid): New globals.
1381 (WAIT_FOR_GDB): New macro.
1382 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1383 some breakpoint locations.
1384 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1385 New procedures.
1386 (one_jit_test): Add REATTACH parameter, and handle it. Use
1387 continue_to_test_location.
1388 (top level): Test attach, and adjusts calls to one_jit_test.
1389
40dea8cb
PA
13902016-03-31 Pedro Alves <palves@redhat.com>
1391
1392 PR gdb/19858
1393 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1394 BINSUFFIX parameter, and handle it.
1395 (top level): Adjust calls compile_jit_test.
1396
e7ea3ec7
CU
13972016-03-31 Catalin Udma <catalin.udma@freescale.com>
1398
1399 PR python/19743
1400 * gdb.python/py-mi-events-gdb.py: New file.
1401 * gdb.python/py-mi-events.c: New file.
1402 * gdb.python/py-mi-events.exp: New file.
1403
e6359af3
YQ
14042016-03-30 Yao Qi <yao.qi@linaro.org>
1405
1406 * gdb.reverse/until-precsave.exp: Match function name only.
1407 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1408 Move malloc to a condition block.
1409 * gdb.reverse/until-reverse.exp: Match function name only.
1410
a4105d04
MK
14112016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1412
1413 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1414 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1415 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1416 variable for GPR 0 instead of assuming it is register 0.
1417 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1418 * lib/trace-support.exp: Add s390 registers.
1419
bfa6adb9
YQ
14202016-03-29 Yao Qi <yao.qi@linaro.org>
1421
1422 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1423
1e6697ea
YQ
14242016-03-24 Yao Qi <yao.qi@linaro.org>
1425
1426 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1427 test message.
1428
64bcd522
AA
14292016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1430
1431 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1432 maintaining separate logic for constructing the output path.
1433
7868401b
DB
14342016-03-16 Don Breazeal <donb@codesourcery.com>
1435
1436 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1437 Retry fork and waitpid on interrupted system call errors.
1438 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1439 Use with_timeout_factor to increase timeout by factor of 10.
1440
1cafadb4
DB
14412016-03-15 Don Breazeal <donb@codesourcery.com>
1442
1443 * gdb.cp/scope-err.cc: New test program.
1444 * gdb.cp/scope-err.exp: New test script.
1445 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1446 lines and "set breakpoint here" comment.
1447 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1448 Fixed some whitespace and format issues.
1449 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1450 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1451
81516450
DE
14522016-03-15 Doug Evans <dje@google.com>
1453
1454 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1455 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1456 All callers updated. Add tests for enums, mixed flags register.
1457
aa52b601
DE
14582016-03-15 Doug Evans <dje@google.com>
1459
1460 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1461 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1462
fa4ff313
SM
14632016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1464
1465 * gdb.base/default.exp: Add $_as_string to the list of expected
1466 convenience functions.
1467
f2403c39
AB
14682016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1469
1470 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1471
f2f3ccb9
SM
14722016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1473
1474 * gdb.python/py-as-string.exp: New file.
1475 * gdb.python/py-as-string.c: New file.
1476
00dbd492
PA
14772016-03-09 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1480 signal" -> "Thread NN received signal" output change.
1481 * gdb.threads/ia64-sigill.exp: Likewise.
1482 * gdb.threads/linux-dp.exp: Likewise.
1483 * gdb.threads/manythreads.exp: Likewise.
1484 * gdb.threads/pending-step.exp: Likewise.
1485 * gdb.threads/print-threads.exp: Likewise.
1486 * gdb.threads/sigstep-threads.exp: Likewise.
1487 * gdb.threads/staticthreads.exp: Likewise.
1488 * gdb.threads/tls.exp: Likewise.
1489
1e6697ea
YQ
14902016-03-09 Pedro Alves <palves@redhat.com>
1491
1492 * gdb.base/command-line-input.exp: New file.
1493
b04fd3be
MK
14942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1495
1496 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1497 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1498 * gdb.trace/pending.exp: Accept leading dot before function name.
1499 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1500 * lib/trace-support.exp: Set registers for ppc.
1501
98fa59e9
MK
15022016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1503
1504 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1505 use it for disassembly; accept .main in addition to main in backtrace.
1506
f77198c8
MK
15072016-03-09 Wei-cheng Wang <cole945@gmail.com>
1508 Marcin Kościelnicki <koriakin@0x04.net>
1509
1510 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1511 (gdb_recursion_test_ptr): New global variable.
1512 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1513 gdb_recursion_test.
1514 (gdb_c_test): Ditto.
1515
ba84e0da
MK
15162016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1517
1518 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1519 ordering.
1520
4366d36e
MK
15212016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1522
1523 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1524 (bar): Add bar_start_lbl label.
1525 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1526 of foo/bar for emitting DWARF and tracing.
1527
5eb264df
SDJ
15282016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1529
1530 * analyze-racy-logs.py: Set executable bit.
1531
fb6a751f
SDJ
15322016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1533
1534 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1535 (CHECK_TARGET_TMP): Likewise.
1536 (check-single-racy): New rule.
1537 (check-parallel-racy): Likewise.
1538 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1539 (do-check-parallel-racy): New rule.
1540 (check-racy/%.exp): Likewise.
1541 * README (Racy testcases): New section.
1542 * analyze-racy-logs.py: New file.
1543
bdf7e230
DE
15442016-03-03 Doug Evans <dje@google.com>
1545
1546 * gdb.base/skip.exp: Use with_test_prefix.
1547
4719d415
YQ
15482016-03-03 Yao Qi <yao.qi@linaro.org>
1549
1550 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1551 Invoke step_over_syscall "clone" and break_cond_on_syscall
1552 "clone".
1553 * gdb.base/step-over-clone.c: New file.
1554
ea507862
YQ
15552016-03-03 Yao Qi <yao.qi@linaro.org>
1556
1557 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1558 code format.
1559
8fc8cbda
YQ
15602016-03-03 Yao Qi <yao.qi@linaro.org>
1561
1562 * gdb.base/disp-step-fork.c: Rename to ...
1563 * gdb.base/step-over-fork.c: ... it. New file.
1564 * gdb.base/disp-step-vfork.c: Rename to ...
1565 * gdb.base/step-over-vfork.c: ... it. New file.
1566 * gdb.base/disp-step-syscall.exp: Rename to ...
1567 * gdb.base/step-over-syscall.exp: ... it. New file.
1568 (disp_step_cross_syscall): Rename to ...
1569 (step_over_syscall): ... it.
1570
92fa70b0
YQ
15712016-03-03 Yao Qi <yao.qi@linaro.org>
1572
1573 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1574 If target supports condition evaluation on target, invoke
1575 break_cond_on_syscall for fork and vfork.
1576
e197ad3c
YQ
15772016-03-03 Yao Qi <yao.qi@linaro.org>
1578
1579 * gdb.base/disp-step-syscall.exp: Don't invoke
1580 support_displaced_stepping.
1581 (disp_step_cross_syscall): Test with displaced stepping off and
1582 on if supported.
1583
0b47da9f
YQ
15842016-03-03 Yao Qi <yao.qi@linaro.org>
1585
1586 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1587 proc.
1588 (setup): New proc.
1589 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1590 and setup.
1591
065ab6dc
BH
15922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1593
1594 * gdb.fortran/vla-history.exp: Remove breakpoint.
1595
07e448ad 15962016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1597
25d49b86
PA
1598 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1599 exceeds timeout.
07e448ad 1600
9ac2d526 16012016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1602
25d49b86
PA
1603 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1604 breakpoint.
9ac2d526 1605
17807369
BH
16062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1607
1608 * gdb.mi/vla.f90: Nullify pointer after declaration.
1609
86e501af
PA
16102016-03-01 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1613
1e903e32
PA
16142016-03-01 Pedro Alves <palves@redhat.com>
1615
1616 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1617 before anything else.
1618 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1619 _GNU_SOURCE here.
1620 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1621 before anything else.
1622 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1623
6ccb54e2
PA
16242016-03-01 Pedro Alves <palves@redhat.com>
1625
1626 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1627
30ca9da1
YQ
16282016-03-01 Yao Qi <yao.qi@linaro.org>
1629
1630 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1631 prepare_for_testing.
1632
dc856b38
YQ
16332016-03-01 Yao Qi <yao.qi@linaro.org>
1634
1635 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1636
4a932159
AA
16372016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1638
1639 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1640 manually constructing the output path.
1641
f2489477
AA
16422016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1643
1644 * gdb.arch/s390-stackless.S: New.
1645 * gdb.arch/s390-stackless.exp: New.
1646
38899f16
IB
16472016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1648
1649 * gdb.dlang/circular.c: New file.
1650 * gdb.dlang/circular.exp: New file.
1651
9fde51ed
YQ
16522016-02-26 Yao Qi <yao.qi@linaro.org>
1653
1654 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1655 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1656 (testcases): Update.
1657
ce90fefe
YQ
16582016-02-26 Yao Qi <yao.qi@linaro.org>
1659
1660 * gdb.reverse/aarch64.c: Rename to ...
1661 * gdb.reverse/insn-reverse.c: ... it.
1662 * gdb.reverse/aarch64.exp: Rename to ...
1663 * gdb.reverse/insn-reverse.exp: ... it.
1664
3263bceb
YQ
16652016-02-26 Yao Qi <yao.qi@linaro.org>
1666
1667 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1668 (testcase_ftype): New.
1669 (testcases): New array.
1670 (n_testcases): New.
1671 (main): Call each element in testcases.
1672 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1673 (read_testcase): New.
1674 Do the tests in a loop.
1675
6cb59ff1
YQ
16762016-02-25 Yao Qi <yao.qi@linaro.org>
1677
1678 * gdb.base/branches.c: Remove.
1679
ae91f625
MK
16802016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1681
1682 PR gdb/13808
1683 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1684
678b48b7
MK
16852016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1686
1687 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1688
7337a6f2
MK
16892016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1690
1691 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1692 change x86_64 call_insn to 'callq'.
1693
861ca91f
AT
16942016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1695
1696 * gdb.trace/tfile-avx.c: Move to...
1697 * gdb.trace/tracefile-pseudo-reg.c: Here.
1698 * gdb.trace/tfile-avx.exp: Move to...
1699 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1700
bf74e428
GB
17012016-02-24 Gary Benson <gbenson@redhat.com>
1702
1703 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1704 message on attach.
1705
cce0e923
DE
17062016-02-23 Doug Evans <dje@google.com>
1707
1708 * gdb.base/skip.c (test_skip): New function.
1709 (end_test_skip_file_and_function): New function.
1710 (test_skip_file_and_function): New function.
1711 * gdb.base/skip1.c (test_skip): New function.
1712 (skip1_test_skip_file_and_function): New function.
1713 * gdb.base/skip.exp: Add tests for new skip options.
1714 * gdb.base/skip-solib.exp: Update expected output.
1715 * gdb.perf/skip-command.cc: New file.
1716 * gdb.perf/skip-command.exp: New file.
1717 * gdb.perf/skip-command.py: New file.
1718
4000e47e
MK
17192016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1720
1721 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1722 info registers pattern.
1723
24f75ead
IB
17242016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1725
1726 * lib/future.exp: Add D support.
1727 (gdb_find_gdc): New proc.
1728 (gdb_default_target_compile): Add D support.
1729
fbb7bcbe
WW
17302016-02-18 Wei-cheng Wang <cole945@gmail.com>
1731
1732 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1733 user+system time.
1734 (trace_speed_test): Determine the iteration count for a time
1735 between 15..30 seconds.
1736
012b3a21
WT
17372016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1738
1739 * gdb.arch/i386-mpx-sigsegv.c: New file.
1740 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1741 * gdb.arch/i386-mpx-simple_segv.c: New file.
1742 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1743
2d5189bd
YQ
17442016-02-18 Yao Qi <yao.qi@linaro.org>
1745
1746 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1747 Don't call setup_kfail.
1748
40fb20d0
YQ
17492016-02-18 Yao Qi <yao.qi@linaro.org>
1750
1751 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1752 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1753
21b1f8d2
DE
17542016-02-16 Doug Evans <dje@google.com>
1755
1756 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1757 * gdb.base/skip1.c: Ditto.
1758 * gdb.base/skip.exp: Whitespace cleanup.
1759
4041ed77
DB
17602016-02-16 Don Breazeal <donb@codesourcery.com>
1761
1762 PR remote/19496
1763 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1764 Remove kfail for PR remote/19496.
1765
c4ef31bf
SM
17662016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1767
1768 * lib/gdb.exp (standard_temp_file): Return a path specific to
1769 the runtest invocation.
1770
266b65b3
SM
17712016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1772
1773 * gdb.trace/save-trace.exp: Change relative path to be in the
1774 standard output directory.
1775
a7a0a6a9
JK
17762016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1777
1778 * gdb.arch/i386-prologue.c: Add missing prototypes.
1779
c99dbb42
JK
17802016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1781
1782 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1783 * gdb.arch/i386-prologue.exp: Likewise.
1784 * gdb.arch/i386-size.exp: Likewise.
1785
aa480355
SM
17862016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1787
1788 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1789 define object file path.
1790 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1791 file path.
1792 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1793 standard_output_file to define binfile.
1794
ba881f50
JK
17952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1796
1797 Fix compatibility with recent gfortran-5.3.1.
1798 * gdb.fortran/vla-history.exp (print vla1 allocated)
1799 (print vla2 allocated, print $2, print $3): Remove
1800 (print $4): Rename to ...
1801 (print $2): ... here.
1802 (print $9): Rename to ...
1803 (print $5): ... here.
1804 (print $10): Rename to ...
1805 (print $6): ... here.
1806 * gdb.fortran/vla.f90: Add pvla initialization.
1807
e9fb005c
JK
18082016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1809
1810 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1811 New test.
1812 * gdb.fortran/vla-value-sub.exp: Likewise.
1813
e44e00ff
MK
18142016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1815
1816 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1817
97e94151
SM
18182016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1819
1820 * i386-biarch-core.exp: Define corefile using
1821 standard_output_file.
1822
01113bc1
YQ
18232016-02-12 Yao Qi <yao.qi@linaro.org>
1824
1825 * gdb.arch/arm-single-step-kernel-helper.c: New.
1826 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1827
33b4777c
MM
18282016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1829
1830 * gdb.btrace/tailcall-only.exp: New.
1831 * gdb.btrace/tailcall-only.c: New.
1832 * gdb.btrace/x86_64-tailcall-only.S: New.
1833 * gdb.btrace/i686-tailcall-only.S: New.
1834
acc23c11
PA
18352016-02-11 Pedro Alves <palves@redhat.com>
1836
1837 * README (Parallel testing): Add missing double quotes.
1838
e352bf0a
PA
18392016-02-11 Pedro Alves <palves@redhat.com>
1840
1841 * README (Parallel testing): New section.
1842 (GDB_PARALLEL): Rewrite.
1843 (FORCE_PARALLEL): Document.
1844
9f5fed78
MK
18452016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1846
1847 * gdb.trace/tfile-avx.c: New test.
1848 * gdb.trace/tfile-avx.exp: New test.
1849
9ef9e6a6
KS
18502016-02-09 Keith Seitz <keiths@redhat.com>
1851
1852 PR breakpoints/19546
1853 * gdb.base/infcall-exec.c: New file.
1854 * gdb.base/infcall-exec2.c: New file.
1855 * gdb.base/infcall-exec.exp: New file.
1856
a96e36da
KS
18572016-02-09 Keith Seitz <keiths@redhat.com>
1858
1859 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1860 (toplevel): Call test_bkpt_address.
1861
9f61929f
KS
18622016-02-09 Keith Seitz <keiths@redhat.com>
1863
1864 PR python/19506
1865 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1866 (toplevel): Call test_bkpt_address.
1867
1e94266c
SM
18682016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1869
1870 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1871 to AC_OUTPUT.
1872 * configure: Regenerate.
1873
2a7f3dff
PA
18742016-02-09 Pedro Alves <palves@redhat.com>
1875
1876 PR breakpoints/19548
1877 * gdb.base/execl-update-breakpoints.c (some_function): New
1878 function.
1879 (main): Call it.
1880 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1881 Tighten expected GDB output.
1882
2151ccc5
SM
18832016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1884
1885 * Makefile.in (ALL_SUBDIRS): Remove.
1886 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1887 (distclean maintainer-clean realclean): Likewise.
1888 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1889 * configure: Regenerate.
1890 * gdb.ada/Makefile.in: Delete.
1891 * gdb.arch/Makefile.in: Likewise.
1892 * gdb.asm/Makefile.in: Likewise.
1893 * gdb.base/Makefile.in: Likewise.
1894 * gdb.btrace/Makefile.in: Likewise.
1895 * gdb.cell/Makefile.in: Likewise.
1896 * gdb.compile/Makefile.in: Likewise.
1897 * gdb.cp/Makefile.in: Likewise.
1898 * gdb.disasm/Makefile.in: Likewise.
1899 * gdb.dlang/Makefile.in: Likewise.
1900 * gdb.dwarf2/Makefile.in: Likewise.
1901 * gdb.fortran/Makefile.in: Likewise.
1902 * gdb.gdb/Makefile.in: Likewise.
1903 * gdb.go/Makefile.in: Likewise.
1904 * gdb.guile/Makefile.in: Likewise.
1905 * gdb.java/Makefile.in: Likewise.
1906 * gdb.linespec/Makefile.in: Likewise.
1907 * gdb.mi/Makefile.in: Likewise.
1908 * gdb.modula2/Makefile.in: Likewise.
1909 * gdb.multi/Makefile.in: Likewise.
1910 * gdb.objc/Makefile.in: Likewise.
1911 * gdb.opencl/Makefile.in: Likewise.
1912 * gdb.opt/Makefile.in: Likewise.
1913 * gdb.pascal/Makefile.in: Likewise.
1914 * gdb.perf/Makefile.in: Likewise.
1915 * gdb.python/Makefile.in: Likewise.
1916 * gdb.reverse/Makefile.in: Likewise.
1917 * gdb.server/Makefile.in: Likewise.
1918 * gdb.stabs/Makefile.in: Likewise.
1919 * gdb.threads/Makefile.in: Likewise.
1920 * gdb.trace/Makefile.in: Likewise.
1921 * gdb.xml/Makefile.in: Likewise.
1922 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1923 GDB_PARALLEL.
1924 (standard_output_file): Remove check for GDB_PARALLEL, always
1925 return path in outputs/$subdir/$testname.
1926
437277d4
SM
19272016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1928
1929 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1930 (site.exp): Assign abs_srcdir to tcl's srcdir.
1931
31d913c7
YQ
19322016-02-04 Yao Qi <yao.qi@linaro.org>
1933
1934 * gdb.base/foll-exec-mode.c: Include limits.h.
1935 (main): Add parameters argc and argv. Get directory from
1936 argv[0].
1937 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1938 compilation.
1939 * gdb.base/foll-exec.c: Include limits.h.
1940 (main): Add parameters argc and argv.
1941 Get directory from argv[0].
1942 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1943 Adjust tests on the number of lines as source code changed.
1944 * gdb.base/foll-vfork-exit.c: Include limits.h.
1945 (main): Add one line of statement before vfork.
1946 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1947 (main): Add parameters argc and argv. Get directory from
1948 argv[0].
1949 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1950 (setup_gdb): Set tbreak to skip some source lines.
1951 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1952 (main): Add parameters argc and argv. Get directory from
1953 argv[0].
1954 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1955 compilation.
1956 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1957 (main): Add parameters argc and argv. Get directory from
1958 argv[0].
1959 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1960 compilation.
1961
9482b9fb
DE
19622016-02-01 Doug Evans <dje@google.com>
1963
1964 * gdb.base/skip.exp: Clean up multiple references to same test name.
1965
6b2e4f10
PA
19662016-02-01 Pedro Alves <palves@redhat.com>
1967
ccb6afd6 1968 PR remote/19496
6b2e4f10
PA
1969 * gdb.threads/forking-threads-plus-breakpoint.exp
1970 (displaced_stepping_supported): New global.
1971 (probe_displaced_stepping_support): New procedure.
1972 (do_test): Add 'displaced' parameter, and use it.
1973 (top level): Check for displaced stepping support. Add displaced
1974 stepping on/off testing axis.
1975
37a8db1a
AB
19762016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1977
1978 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1979 pointer. Don't perform further tests on the unassociated pointer
1980 if the first test fails.
1981
5fdf6324
AB
19822016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1983
1984 * gdb.base/max-value-size.c: New file.
1985 * gdb.base/max-value-size.exp: New file.
1986 * gdb.base/huge.exp: Disable max-value-size for this test.
1987
935c6144
IB
19882016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1989
1990 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1991
7fe8399d
YQ
19922016-01-28 Yao Qi <yao.qi@linaro.org>
1993
1994 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1995
a2077e25
PA
19962016-01-25 Pedro Alves <palves@redhat.com>
1997
1998 PR threads/19461
1999 * gdb.base/fork-running-state.c: New file.
2000 * gdb.base/fork-running-state.exp: New file.
2001
1d2736d4
PA
20022016-01-25 Pedro Alves <palves@redhat.com>
2003
2004 PR gdb/19494
2005 * gdb.base/catch-fork-kill.c: New file.
2006 * gdb.base/catch-fork-kill.exp: New file.
2007
f1da4b11
PA
20082016-01-25 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2011 Delete, moved to lib/gdb.exp.
2012 * gdb.threads/forking-threads-plus-breakpoint.exp
2013 (foreach_with_prefix): Likewise.
2014 * gdb.threads/process-dies-while-handling-bp.exp
2015 (foreach_with_prefix): Likewise.
2016 * lib/gdb.exp (foreach_with_prefix): New procedure.
2017
45f38546
MK
20182016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2019
2020 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2021 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2022
dc29a1ce
MK
20232016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2024
2025 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2026 endian targets.
2027
092127d7
JK
20282016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2029 Pedro Alves <palves@redhat.com>
2030
2031 Fix testsuite compatibility with Guile.
2032 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2033 number.
2034
31d765d3
JK
20352016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2036
2037 Fix testsuite compatibility with Guile.
2038 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2039 (thread 1): New test for backtrace through signal handler.
2040
1ac78c04
YQ
20412016-01-22 Yao Qi <yao.qi@linaro.org>
2042
2043 PR testsuite/19491
2044 * gdb.base/multi-forks.c: Include
2045 ../lib/unbuffer_output.c
2046 (main): Call gdb_unbuffer_output.
2047
4f5946a8
DE
20482016-01-21 Doug Evans <dje@google.com>
2049
2050 * lib/ada.exp (gdb_compile_ada): Fix typo.
2051
305e13e6
JB
20522016-01-21 Joel Brobecker <brobecker@adacore.com>
2053
2054 * gdb.base/break-fun-addr.exp: New file.
2055 * gdb.base/break-fun-addr1.c: New file.
2056 * gdb.base/break-fun-addr2.c: New file.
2057
5f5dfff6
SM
20582016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2059
2060 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2061 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2062 enum flag values.
2063
fd356fa2
AA
20642016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2065
2066 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2067 when GDB can not set the vector return value. Add more comments
2068 for clarification.
2069
9df22175
AT
20702016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2071
2072 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2073 command.
2074
41d1845e
SM
20752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2076
2077 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2078
01ac6840
SM
20792016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2080
2081 * Makefile.in (check-single): Pass --status to runtest.
2082 (check/%.exp): Likewise.
2083
20842016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2085
2086 * Makefile.in (check-parallel): Propagate return code from make
2087 do-check-parallel.
2088
bd0a71fa
MK
20892016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2090
2091 * gdb.trace/ftrace.exp: Fix expected message on continue.
2092 * gdb.trace/pending.exp: Fix expected message on continue.
2093 * gdb.trace/trace-break.exp: Fix expected message on continue.
2094
8bcbad33
SM
20952016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2096
2097 * lib/gdb.exp (gdb_test): Remove unused global references.
2098
f303dbd6
PA
20992016-01-18 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/async-shell.exp: Adjust expected output.
2102 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2103 * gdb.base/siginfo-thread.exp: Adjust expected output.
2104 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2105 * gdb.java/jnpe.exp: Adjust expected output.
2106 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2107 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2108 * gdb.threads/leader-exit.exp: Adjust expected output.
2109 * gdb.threads/manythreads.exp: Adjust expected output.
2110 * gdb.threads/pthreads.exp: Adjust expected output.
2111 * gdb.threads/schedlock.exp: Adjust expected output.
2112 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2113 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2114 expected output.
2115 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2116 output.
2117 * gdb.threads/sigthread.exp: Adjust expected output.
2118 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2119
b2789696
YQ
21202016-01-18 Yao Qi <yao.qi@linaro.org>
2121
2122 * gdb.guile/scm-section-script.c: Replace @progbits with
2123 %progbits.
2124 * gdb.python/py-section-script.c: Likewise.
2125
71ef29a8
PA
21262016-01-15 Pedro Alves <palves@redhat.com>
2127
2128 * gdb.multi/tids.exp: Test star wildcard ranges.
2129
3f5b7598
PA
21302016-01-15 Pedro Alves <palves@redhat.com>
2131
2132 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2133 command from "thread apply" invocation.
2134 (thr_apply_info_thr_invalid): Default the expected output to the
2135 input tid list.
2136 (top level): Add tests that use convenience variables. Add tests
2137 for "thread apply" with a valid TID list, but missing the command.
2138
663f6d42
PA
21392016-01-13 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.base/default.exp: Expect $_gthread as well.
2142 * gdb.multi/tids.exp: Test $_gthread.
2143 * gdb.threads/thread-specific.exp: Test $_gthread.
2144
c84f6bbf
PA
21452016-01-13 Pedro Alves <palves@redhat.com>
2146
2147 * gdb.multi/tids.exp: Test "info threads -gid".
2148
22a02324
PA
21492016-01-13 Pedro Alves <palves@redhat.com>
2150
2151 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2152 Breakpoint.thread.
2153 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2154
5d5658a1
PA
21552016-01-07 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/break.exp: Adjust to output changes.
2158 * gdb.base/hbreak2.exp: Likewise.
2159 * gdb.base/sepdebug.exp: Likewise.
2160 * gdb.base/watch_thread_num.exp: Likewise.
2161 * gdb.linespec/keywords.exp: Likewise.
2162 * gdb.multi/info-threads.exp: Likewise.
2163 * gdb.threads/thread-find.exp: Likewise.
2164 * gdb.multi/tids.c: New file.
2165 * gdb.multi/tids.exp: New file.
2166
84654457
PA
21672016-01-13 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2170
e3940304
PA
21712016-01-13 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/default.exp: Expect $_inferior as well.
2174 * gdb.multi/base.exp: Test $_inferior.
2175
a911d87a
PA
21762016-01-13 Pedro Alves <palves@redhat.com>
2177
2178 PR breakpoints/19388
2179 * gdb.base/catch-signal-siginfo-cond.c: New file.
2180 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2181
82075af2
JS
21822016-01-12 Josh Stone <jistone@redhat.com>
2183 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2184
2185 * gdb.base/catch-syscall.c (do_execve): New variable.
2186 (main): Conditionally trigger an execve.
2187 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2188 (test_catch_syscall_execve): New, check entry/return across execve.
2189 (do_syscall_tests): Call test_catch_syscall_execve.
2190
e46eeedd
PA
21912016-01-12 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/random-signal.exp (do_test): New procedure, with body
2194 of testcase moved in.
2195
01d8c27e
JK
21962016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2197 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.base/funcargs.exp (finish from indirectly called function):
2200 Reintroduce the case for 'First'.
2201
9a706302
JK
22022016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2203 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2206 (tcatch_vfork_then_child_follow_exec)
2207 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2208 identification.
2209
c0ecb95f
JK
22102016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2213 and repeats to unlimited.
2214 * gdb.python/py-value.exp: Likewise.
2215 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2216 and repeats to unlimited.
2217
6cfc1fcb
JK
22182016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2221 and reordering the functions.
2222 * gdb.multi/hangout.c: Likewise.
2223 * gdb.multi/hello.c: Likewise.
2224
582a1b00
SM
22252016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2226
2227 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2228 absolute.
2229 (SingleStatisticTestResult.report): Use dict.keys instead of
2230 dict.iterkeys.
2231
79bc59cb
PA
22322016-01-06 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2235
43368e1d
MM
22362016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2237
2238 * gdb.btrace/dlopen.exp: New.
2239 * gdb.btrace/dlopen.c: New.
2240 * gdb.btrace/dlopen-dso.c: New.
2241
79fad5b8
SL
22422015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2243
2244 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2245 PATTERN argument is optional.
2246
ab8314b3
JB
22472015-12-24 Joel Brobecker <brobecker@adacore.com>
2248
2249 * lib/ada.exp (target_compile_ada_from_dir): New function.
2250 (gdb_compile_ada): Reimplement avoiding the use of project files.
2251 * gdb.ada/gnat_ada.gpr: Delete.
2252 * gdb.ada/cond_lang.exp: Adjust test to make path before
2253 filename optional.
2254 * gdb.ada/small_reg_param.exp: Likewise.
2255
fe33faff
SM
22562015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2257
2258 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2259
6d265cb4
TP
22602015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2261
2262 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2263 case.
2264
10125099
SM
22652015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2266
2267 * gdb.base/break.exp: Remove dead code.
2268 * gdb.base/sepdebug.exp: Likewise.
2269
3ca22649
SM
22702015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2271
2272 * gdb.asm/asm-source.exp: Remove HP-UX references.
2273 * gdb.base/annota1.exp: Likewise.
2274 * gdb.base/annota3.exp: Likewise.
2275 * gdb.base/attach.exp: Likewise.
2276 * gdb.base/bigcore.exp: Likewise.
2277 * gdb.base/break.exp: Likewise.
2278 * gdb.base/call-ar-st.exp: Likewise.
2279 * gdb.base/callfuncs.exp: Likewise.
2280 * gdb.base/catch-fork-static.exp: Likewise.
2281 * gdb.base/display.exp: Likewise.
2282 * gdb.base/foll-exec-mode.exp: Likewise.
2283 * gdb.base/foll-exec.exp: Likewise.
2284 * gdb.base/foll-fork.exp: Likewise.
2285 * gdb.base/foll-vfork.exp: Likewise.
2286 * gdb.base/funcargs.exp: Likewise.
2287 * gdb.base/hbreak2.exp: Likewise.
2288 * gdb.base/inferior-died.exp: Likewise.
2289 * gdb.base/interrupt.exp: Likewise.
2290 * gdb.base/multi-forks.exp: Likewise.
2291 * gdb.base/nodebug.exp: Likewise.
2292 * gdb.base/sepdebug.exp: Likewise.
2293 * gdb.base/solib1.c: Likewise.
2294 * gdb.base/step-test.exp: Likewise.
2295 * gdb.mi/non-stop.c: Likewise.
2296 * gdb.mi/pthreads.c: Likewise.
2297 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2298 * gdb.threads/pthreads.c: Likewise.
2299 * gdb.threads/staticthreads.exp: Likewise.
2300 * lib/future.exp: Likewise.
2301 * lib/gdb.exp: Likewise.
2302 * gdb.base/so-indr-cl.c: Remove.
2303 * gdb.base/so-indr-cl.exp: Likewise.
2304 * gdb.base/solib.c: Likewise.
2305 * gdb.base/solib.exp: Likewise.
2306 * gdb.base/solib2.c: Likewise.
2307
b6304613
SM
23082015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2309
2310 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2311 * gdb.base/call-ar-st.exp: Likewise.
2312 * gdb.base/callfuncs.exp: Likewise.
2313 * gdb.base/condbreak.exp: Likewise.
2314 * gdb.base/constvars.exp: Likewise.
2315 * gdb.base/hbreak2.exp: Likewise.
2316 * gdb.base/langs.exp: Likewise.
2317 * gdb.base/list.exp: Likewise.
2318 * gdb.base/long_long.exp: Likewise.
2319 * gdb.base/ptype.exp: Likewise.
2320 * gdb.base/scope.exp: Likewise.
2321 * gdb.base/signals.exp: Likewise.
2322 * gdb.base/so-impl-ld.exp: Likewise.
2323 * gdb.base/varargs.exp: Likewise.
2324 * gdb.base/volatile.exp: Likewise.
2325 * gdb.base/whatis.exp: Likewise.
2326 * gdb.cp/cplusfuncs.exp: Likewise.
2327 * gdb.cp/inherit.exp: Likewise.
2328 * gdb.cp/local.exp: Likewise.
2329 * gdb.cp/member-ptr.exp: Likewise.
2330 * gdb.cp/method.exp: Likewise.
2331 * gdb.cp/overload.exp: Likewise.
2332 * gdb.cp/templates.exp: Likewise.
2333 * gdb.stabs/weird.exp: Likewise.
2334 * lib/compiler.c: Likewise.
2335 * lib/compiler.cc: Likewise.
2336 * lib/cp-support.exp: Likewise.
2337 * lib/gdb.exp: Likewise.
2338
bf401b07
SM
23392015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2340
2341 * configure.ac: Remove HP-UX case.
2342 * configure: Regenerate.
2343
aff9c0f8
SM
23442015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2345
2346 * lib/gdb.exp (gdb_compile): Add function doc.
2347
a6904d5a
PA
23482015-12-17 Pedro Alves <palves@redhat.com>
2349
2350 PR threads/19354
2351 * gdb.multi/info-threads.exp: New file.
2352
a22279dd
YQ
23532015-12-15 Yao Qi <yao.qi@linaro.org>
2354
2355 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2356 is aarch64*-*-*.
2357
0588c796
SL
23582015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2359
2360 * gdb.base/history-duplicates.exp: Skip if no readline support.
2361
5d978e17
SL
23622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2363
2364 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2365
7e763b86
SL
23662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2367
2368 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2369
87a3a92c
SL
23702015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2371
2372 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2373 ctrl-C if nointerrupts target property is set.
2374 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2375 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2376 * gdb.base/paginate-bg-execution.exp: Likewise.
2377 * gdb.base/paginate-execution-startup.exp: Likewise.
2378 * gdb.base/random-signal.exp: Likewise.
2379 * gdb.base/range-stepping.exp: Likewise.
2380 * gdb.cp/annota2.exp: Likewise.
2381 * gdb.cp/annota3.exp: Likewise.
2382 * gdb.gdb/selftest.exp: Likewise.
2383 * gdb.threads/continue-pending-status.exp: Likewise.
2384 * gdb.threads/leader-exit.exp: Likewise.
2385 * gdb.threads/manythreads.exp: Likewise.
2386 * gdb.threads/pthreads.exp: Likewise.
2387 * gdb.threads/schedlock.exp: Likewise.
2388 * gdb.threads/sigthread.exp: Likewise.
2389
a8f077dc
DB
23902015-12-11 Don Breazeal <donb@codesourcery.com>
2391
2392 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2393 remote.
2394 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2395 * gdb.base/foll-exec.exp (main): Enable for target remote.
2396 * gdb.base/foll-fork.exp (main): Likewise.
2397 * gdb.base/foll-vfork.exp (main): Likewise.
2398 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2399 (proc continue_to_exit_bp_loc): Use clean_restart.
2400 * gdb.base/pie-execl.exp (main): Disable for target remote.
2401 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2402 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2403 * gdb.threads/execl.exp (main): Likewise.
2404 * gdb.threads/fork-child-threads.exp (main): Likewise.
2405 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2406 remote.
2407 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2408 remote.
2409 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2410 pid.tid style ptids, instead of just tid.
2411 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2412 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2413 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2414 ptids, instead of just tid.
2415
3b2464a8
AB
24162015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2417
2418 * gdb.base/list.exp (test_list_forward): Add end of file error
2419 test.
2420 (test_repeat_list_command): Add end of file error test.
2421 (test_list_backwards): Add beginning of file error test.
2422
a0def019
AB
24232015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2424
2425 * gdb.base/list.exp (test_list_invalid_args): New function,
2426 defined, and called.
2427
5c000dff
AB
24282015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2429
2430 * gdb.base/list.exp (test_list): Make test names unique.
2431
f1637ebe
YQ
24322015-12-11 Yao Qi <yao.qi@linaro.org>
2433
2434 * gdb.base/coremaker2.c: Remove.
2435
36d6fc0a
PA
24362015-12-10 Pedro Alves <palves@redhat.com>
2437
2438 * gdb.multi/base.exp: Remove stale "spaces" references.
2439
762f7747
PA
24402015-12-10 Pedro Alves <palves@redhat.com>
2441
2442 * gdb.multi/base.exp: Don't use nowarnings.
2443 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2444 * gdb.multi/hangout.c: Include stdio.h.
2445 * gdb.multi/hello.c: Include stdlib.h.
2446 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2447 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2448 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2449
28d2bfb9
AB
24502015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2451
2452 * gdb.dwarf2/dw2-ranges-base.c: New file.
2453 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2454 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2455 support additional line table, and debug ranges generation.
2456 (Dwarf::ranges): New function, generate .debug_ranges.
2457 (Dwarf::lines): Support generating simple line table programs.
2458 (Dwarf::assemble): Initialise new namespace variables.
2459
5fc2beac
KB
24602015-12-09 Kevin Buettner <kevinb@redhat.com>
2461
2462 * gdb.base/async.exp (proc test_background): Add case for
2463 asynchronous execution not supported.
2464
1c35a88f
LM
24652015-12-09 Luis Machado <lgustavo@codesourcery.com>
2466
2467 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2468 format and change test names to make them unique.
2469
b593e3d9
RK
24702015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2471 Pedro Alves <pedro@redhat.com>
2472
2473 PR gdb/18702
2474 Add checking of floatformats setup on x86_64 hosts.
2475 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2476 (smallval, bigval): New labels/constants.
2477 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2478 float" after loading bigval and smallval.
2479
d72413e6
PMR
24802015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2481
2482 * gdb.ada/fun_overload_menu.exp: New testcase.
2483 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2484
ece66d65
JS
24852015-12-04 Josh Stone <jistone@redhat.com>
2486
2487 * gdb.base/catch-fork-static.exp: New.
2488
41d0efca
YQ
24892015-12-03 Yao Qi <yao.qi@linaro.org>
2490
2491 * gdb.base/sizeof.c: Don't include stdio.h and
2492 ../lib/unbuffer_output.c.
2493 (main): New variable 'size' and 'value'. Remove printf and
2494 gdb_unbuffer_output. Assign return value to size and value.
2495 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2496 at the beginning.
2497 (check_sizeof): Check the result by printing variable 'size'.
2498 (check_valueof): Check the result by printing variable 'value'.
2499
99fd02d9
YQ
25002015-12-01 Yao Qi <yao.qi@linaro.org>
2501
2502 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2503 for aarch64*-*-linux* target.
2504
f2faf941
PA
25052015-11-30 Pedro Alves <palves@redhat.com>
2506
2507 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2508
04bf20c5
PA
25092015-11-30 Pedro Alves <palves@redhat.com>
2510
2511 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2512 Handle non-stop mode vCont replies.
2513
09df4675
PA
25142015-11-30 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2517 prepare_for_testing. Start gdb with "set non-stop on" appended to
2518 GDBFLAGS. Lax expected stop output.
2519
58b584af
YQ
25202015-11-27 Yao Qi <yao.qi@linaro.org>
2521
2522 * gdb.arch/arm-neon.exp: New.
2523 * gdb.arch/arm-neon.c: New.
2524
dfcb77a8
YQ
25252015-11-27 Yao Qi <yao.qi@linaro.org>
2526
2527 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2528
88e8ec1b
YQ
25292015-11-27 Yao Qi <yao.qi@linaro.org>
2530
2531 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2532 frames-invalid annotation.
2533
bfde72c2
YQ
25342015-11-27 Yao Qi <yao.qi@linaro.org>
2535
2536 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2537
f6512a69
SM
25382015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2539
2540 * gdb.threads/names.exp: New file.
2541 * gdb.threads/names.c: New file.
2542 * README: Mention gdb,no_thread_names.
2543
46a3515b
MM
25442015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2545
2546 PR 19297
2547 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2548 support" error.
2549
62147a22
PA
25502015-11-24 Pedro Alves <palves@redhat.com>
2551
2552 PR 17539
2553 * gdb.base/display.exp: Expect displays to be sorted in ascending
2554 order. Use multi_line.
2555 * gdb.base/solib-display.exp: Likewise.
2556
2f341b6e
PA
25572015-11-24 Pedro Alves <palves@redhat.com>
2558
2559 PR 17539
25d49b86
PA
2560 * gdb.base/display.exp: Expect displays to be sorted in ascending
2561 order. Use multi_line.
2562 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2563
7e0aa6aa
PA
25642015-11-24 Pedro Alves <palves@redhat.com>
2565
2566 PR 17539
2567 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2568 threads in ascending order.
2569 * gdb.base/foll-fork.exp: Likewise.
2570 * gdb.base/foll-vfork.exp: Likewise.
2571 * gdb.base/multi-forks.exp: Likewise.
2572 * gdb.mi/mi-nonstop.exp: Likewise.
2573 * gdb.mi/mi-nsintrall.exp: Likewise.
2574 * gdb.multi/base.exp: Likewise.
2575 * gdb.multi/multi-arch.exp: Likewise.
2576 * gdb.python/py-inferior.exp: Likewise.
2577 * gdb.threads/break-while-running.exp: Likewise.
2578 * gdb.threads/execl.exp: Likewise.
2579 * gdb.threads/gcore-thread.exp: Likewise.
2580 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2581 * gdb.threads/kill.exp: Likewise.
2582 * gdb.threads/linux-dp.exp: Likewise.
2583 * gdb.threads/multiple-step-overs.exp: Likewise.
2584 * gdb.threads/next-bp-other-thread.exp: Likewise.
2585 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2586 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2587 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2588 * gdb.threads/thread-find.exp: Likewise.
2589 * gdb.threads/tls.exp: Likewise.
2590 * lib/mi-support.exp (mi_reverse_list): Delete.
2591 (mi_check_thread_states): No longer reverse list.
2592
2cc57ad8
PA
25932015-11-24 Pedro Alves <palves@redhat.com>
2594
2595 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2596 use lowercase.
2597
c93e8391
SM
25982015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2599
2600 * gdb.trace/actions.c: Include trace-common.h.
2601 (main): Add a location for a fast tracepoint.
2602 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2603 the normal tracepoints.
2604 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2605
045ccf91
SM
26062015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2607
2608 * save-trace.exp: Factor out code to these...
2609 (gdb_save_tracepoints): New.
2610 (gdb_load_tracepoints): New.
2611 (do_save_load_test): New.
2612
5506f9f6
KB
26132015-11-23 Kevin Buettner <kevinb@redhat.com>
2614
2615 * gdb.base/asmlabel.exp: New test.
2616 * gdb.base/asmlabel.c: New test case.
2617
16c3b12f
JB
26182015-11-23 Joel Brobecker <brobecker@adacore.com>
2619
2620 * gdb.base/wrong_frame_bt_full-main.c: New file.
2621 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2622 * gdb.base/wrong_frame_bt_full.exp: New file.
2623
155bfbd3
JB
26242015-11-23 Joel Brobecker <brobecker@adacore.com>
2625
2626 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2627
bb097445
JM
26282015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2629
206853a0 2630 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2631 pstate register when comparing registers values in
2632 sparc64-*-linux-gnu targets to avoid spurious differences.
2633
9c88ed8f
JM
26342015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2635
206853a0 2636 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2637
96161e25
SL
26382015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2639
2640 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2641 as type argument to gdb_compile.
2642 * gdb.base/nested-subp2.exp: Likewise.
2643 * gdb.base/nested-subp3.exp: Likewise.
2644
340c2830
DV
26452015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2646
2647 * lib/dwarf.exp (_note): Fix left shift of negative value.
2648 * gdb.trace/trace-condition.exp: Likewise.
2649
c1862d0f
YQ
26502015-11-13 Yao Qi <yao.qi@linaro.org>
2651
2652 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2653 comments about d10v.
2654 (test_scalar_returns): Likewise.
2655 * gdb.base/d10v.ld: Remove.
2656 * gdb.base/overlays.exp: Remove the target triplet checking for
2657 d10v-*-*.
2658 * gdb.base/structs.exp (test_struct_returns): Remove the
2659 comments about d10v.
2660 (test_struct_calls): Likewise.
2661
77ae9c19
YQ
26622015-11-13 Yao Qi <yao.qi@linaro.org>
2663
2664 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2665 * gdb.base/gnu_vector.c: Don't include stdio.h.
2666 (main): Don't print res and call add_some_intvecs.
2667
430e004e
MK
26682015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2669
2670 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2671 macro.
2672 (func5): Removed.
2673 (func4): Use FAST_TRACEPOINT_LABEL.
2674 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2675 macro.
2676 (func): Removed.
2677 (thread_function): Use FAST_TRACEPOINT_LABEL.
2678 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2679 (func): Remove.
2680 (marker): Use FAST_TRACEPOINT_LABEL.
2681 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2682 (pendfunc1): Remove.
2683 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2684 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2685 (foo): Remove.
2686 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2687 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2688 macro.
2689 (func): Remove.
2690 (marker): Use FAST_TRACEPOINT_LABEL.
2691 * gdb.trace/trace-common.h: New header.
2692 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2693 macro.
2694 (func): Remove.
2695 (marker): Use FAST_TRACEPOINT_LABEL.
2696 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2697 (func): Remove.
2698 (thread_function): Use FAST_TRACEPOINT_LABEL.
2699
6e7675a7
MK
27002015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2701
2702 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2703 in front.
2704 * gdb.trace/change-loc.exp: Use global pcreg definition.
2705 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2706 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2707 in front.
2708 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2709 * gdb.trace/pending.exp: Likewise.
2710 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2711 * gdb.trace/trace-break.exp: Likewise.
2712 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2713 in front.
2714 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2715 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2716 in front.
2717 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2718
dddc0e16
JB
27192015-11-09 Joel Brobecker <brobecker@adacore.com>
2720
2721 * gdb.ada/fin_fun_out: New testcase.
2722
c6f0b406
KB
27232015-11-07 Kevin Buettner <kevinb@redhat.com>
2724
2725 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2726 value associated with DW_AT_byte_size.
2727 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2728 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2729 DW_AT_upper_bound.
2730
f01dcfd9
KB
27312015-11-07 Kevin Buettner <kevinb@redhat.com>
2732
2733 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2734 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2735 version.
2736 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2737 gdb.dwarf2/dw2-canonicalize-type.exp,
2738 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2739 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2740 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2741 provided by gdb_target_symbol_prefix_flags_asm.
2742 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2743 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2744 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2745 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2746 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2747 macros where needed). Use this macro for symbols which require
2748 the prefix provided by SYMBOL_PREFIX.
2749
2223449a
KB
27502015-11-05 Kevin Buettner <kevinb@redhat.com>
2751
2752 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2753 New procs.
2754 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2755 representing expressions, of more than one list element.
2756 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2757 to prepend linker symbol prefix to f.
2758 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2759 table_1 and table_2.
2760 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2761 Likewise, for f and g.
2762 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2763 for ptr.
2764 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2765 for main.
2766 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2767 table_1_ptr and table_2_ptr.
2768
6f2f1a3a
JK
27692015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2770 Joel Brobecker <brobecker@adacore.com>
2771
2772 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2773
566c56c9
MK
27742015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2775
2776 * gdb.reverse/s390-mvcle.c: New test.
2777 * gdb.reverse/s390-mvcle.exp: New file.
2778 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2779
d5f0636b
MK
27802015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2781
2782 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2783
7ad8b86c
MK
27842015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2785
2786 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2787 reaching marker2.
2788 * gdb.reverse/getresuid-reverse.exp: Likewise.
2789 * gdb.reverse/pipe-reverse.exp: Likewise.
2790 * gdb.reverse/readv-reverse.exp: Likewise.
2791 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2792 * gdb.reverse/time-reverse.exp: Likewise.
2793 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2794
4081c0f1
YQ
27952015-10-30 Yao Qi <yao.qi@linaro.org>
2796
2797 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2798 (empty_cycle): Remove.
2799 (main): Don't call empty_cycle. Don't use watch_count_done.
2800 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2801 empty_cycle. Rewrite the code counting HW watchpoints.
2802
452b4ba5
MK
28032015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2804
2805 * gdb.reverse/fstatat-reverse.c: New test.
2806 * gdb.reverse/fstatat-reverse.exp: New file.
2807 * gdb.reverse/getresuid-reverse.c: New test.
2808 * gdb.reverse/getresuid-reverse.exp: New file.
2809 * gdb.reverse/pipe-reverse.c: New test.
2810 * gdb.reverse/pipe-reverse.exp: New file.
2811 * gdb.reverse/readv-reverse.c: New test.
2812 * gdb.reverse/readv-reverse.exp: New file.
2813 * gdb.reverse/recvmsg-reverse.c: New test.
2814 * gdb.reverse/recvmsg-reverse.exp: New file.
2815 * gdb.reverse/time-reverse.c: New test.
2816 * gdb.reverse/time-reverse.exp: New file.
2817 * gdb.reverse/waitpid-reverse.c: New test.
2818 * gdb.reverse/waitpid-reverse.exp: New file.
2819
5e2e7507
JK
28202015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2823
0fde2c53
DE
28242015-10-26 Doug Evans <dje@google.com>
2825
2826 PR symtab/17391
2827 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2828 * gdb.dwarf2/bad-regnum.c: New file.
2829 * gdb.dwarf2/bad-regnum.exp: New file.
2830
1a70ae97
DE
28312015-10-26 Doug Evans <dje@google.com>
2832
2833 PR python/18938
2834 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2835 file.
2836
27dc26ab
JK
28372015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2838
2839 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2840 for a change by "Mention language in compile error message".
2841
bed91f4d
SM
28422015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2843
2844 PR python/18073
2845 * gdb.python/py-type.c (C::a_method): New.
2846 (C::a_const_method): New.
2847 (C::a_static_method): New.
2848 (a_function): New.
2849 * gdb.python/py-type.exp (test_fields): Test getting fields
2850 from function and method.
2851
3f2f83dd
KB
28522015-10-21 Keven Boell <keven.boell@intel.com>
2853
2854 * gdb.fortran/vla-alloc-assoc.exp: New file.
2855 * gdb.fortran/vla-datatypes.exp: New file.
2856 * gdb.fortran/vla-datatypes.f90: New file.
2857 * gdb.fortran/vla-history.exp: New file.
2858 * gdb.fortran/vla-ptype-sub.exp: New file.
2859 * gdb.fortran/vla-ptype.exp: New file.
2860 * gdb.fortran/vla-sizeof.exp: New file.
2861 * gdb.fortran/vla-sub.f90: New file.
2862 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2863 * gdb.fortran/vla-value-sub-finish.exp: New file.
2864 * gdb.fortran/vla-value-sub.exp: New file.
2865 * gdb.fortran/vla-value.exp: New file.
2866 * gdb.fortran/vla-ptr-info.exp: New file.
2867 * gdb.mi/mi-vla-fortran.exp: New file.
2868 * gdb.mi/vla.f90: New file.
2869
27145d50
SL
28702015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2871
2872 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2873 of hardwired timeout value.
2874
5f3ff4f8
JK
28752015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2876 Pedro Alves <palves@redhat.com>
2877
2878 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2879 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2880
bfd09d20
JS
28812015-10-19 Josh Stone <jistone@redhat.com>
2882
2883 * gdb.base/catch-syscall.c: Include <sched.h>.
2884 (unknown_syscall): New variable.
2885 (main): Trigger a vfork and an unknown syscall.
2886 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2887 (unknown_syscall_number): Likewise.
2888 (check_call_to_syscall): Accept an optional syscall pattern.
2889 (check_return_from_syscall): Likewise.
2890 (check_continue): Likewise.
2891 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2892 (test_catch_syscall_skipping_return): New test toggling off 'catch
2893 syscall' to step over the syscall return, then toggling back on.
2894 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2895 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2896 (do_syscall_tests): Call test_catch_syscall_without_args and
2897 test_catch_syscall_mid_vfork.
2898 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2899 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2900
b32b93c6
AS
29012015-10-19 Andrew Stubbs <ams@codesourcery.com>
2902
2903 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2904 print g_vE): Add new pass patterns.
2905 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2906 print various symbol names for vptr fields.
2907
9d622bda
AB
29082015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2909
2910 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2911 results.
2912
0fd8ac1c
YQ
29132015-10-12 Yao Qi <yao.qi@linaro.org>
2914
2915 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2916
34240514
YQ
29172015-10-12 Yao Qi <yao.qi@linaro.org>
2918
2919 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2920 is aarch64*-*-linux*.
2921
8240f442
YQ
29222015-10-12 Yao Qi <yao.qi@linaro.org>
2923
2924 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2925 (can_relocate_bcond_true): ... it.
2926 (can_relocate_bcond_false): New function.
2927 (foo): Likewise.
2928 (can_relocate_bl): Likewise.
2929 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2930 can_relocate_bl.
2931
2520f728
PMR
29322015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2933
2934 * gdb.base/nested-addr.c: New file.
2935 * gdb.base/nested-addr.exp: New testcase.
2936
abcef95a
MM
29372015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2938
2939 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2940 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2941 its output. Ignore the output of "record goto begin" and instead
2942 check that GDB is replaying.
2943
145e3ddb
PA
29442015-10-09 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2947 (top level): Use it in the run with no args test.
2948
d5d8c4e1
IB
29492015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2950
2951 * gdb.dlang/properties.exp: New file.
2952
06e635ef
SL
29532015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2954
2955 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2956 whether or not address 0x1000 is mapped on the target.
2957
e019fd1d
SM
29582015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2959
2960 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2961 build.
2962
77ba2a67
MM
29632015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2964
2965 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2966 instruction-history test.
2967
c60eb31f
DE
29682015-09-28 Doug Evans <dje@google.com>
2969
2970 * gdb.base/gcore.c (array_func): Add reference to static_array.
2971
9a3c8263
SM
29722015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2973
2974 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2975 source line.
2976
9720e656
SL
29772015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2978
2979 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2980 short or char as base type.
2981
938d3bf2
SL
29822015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2983
2984 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2985 to allow any size enum.
2986
e6c2c623
PMR
29872015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2988
2989 * gdb.ada/array_ptr_renaming.exp: New testcase.
2990 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2991 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2992
06da0f77
PL
29932015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2994
2995 * gdb.trace/ftrace-lock.c: New file.
2996 * gdb.trace/ftrace-lock.exp: New file.
2997
4f51c22a
PL
29982015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2999
3000 * gdb.arch/insn-reloc.c: New file.
3001 * gdb.arch/ftrace-insn-reloc.exp: New file.
3002
7041adf4
PL
30032015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3004
3005 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3006 instruction.
3007 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3008 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3009 * gdb.trace/range-stepping.c: Likewise.
3010 * gdb.trace/trace-break.c: Likewise.
3011 * gdb.trace/trace-mt.c (thread_function): Likewise.
3012 * gdb.trace/ftrace.c (marker): Likewise.
3013 * gdb.trace/trace-condition.c (marker): Likewise.
3014 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3015 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3016 is_aarch64_target.
3017
015d2e7e
DE
30182015-09-18 Doug Evans <xdje42@gmail.com>
3019
3020 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3021 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3022
26b188a2
SL
30232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3024
3025 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3026 the breakpoint.
3027
79dc332b
SL
30282015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3029
3030 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3031 the pending breakpoint. Remove timeout override for "Run till
3032 MI pending breakpoint on pendfunc3 on thread 2" test.
3033
f57929f2
SL
30342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3035
3036 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3037 filename pattern.
3038
3f469b17
SL
30392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3040
3041 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3042 in breakpoint filename pattern.
3043
515b89b3
SL
30442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3045
7800dbe4
SL
3046 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3047
30482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3049
515b89b3
SL
3050 * gdb.linespec/explicit.exp: Check for readline support for
3051 tab-completion tests. Fix obvious typo.
3052
d2939ba2
MM
30532015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3054
3055 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3056 and replay.
3057
cbb55fa7
MM
30582015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3059
3060 * gdb.btrace/non-stop.c: New.
3061 * gdb.btrace/non-stop.exp: New.
3062
43691ca1
PL
30632015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3064 Yao Qi <yao.qi@linaro.org>
3065
3066 * gdb.trace/trace-condition.c: New file.
3067 * gdb.trace/trace-condition.exp: New file.
3068
d78908cf
WW
30692015-09-16 Wei-cheng Wang <cole945@gmail.com>
3070
3071 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3072 for testing bytecode compilation.
3073
1ed415e2
PA
30742015-09-16 Pedro Alves <palves@redhat.com>
3075 Sandra Loosemore <sandra@codesourcery.com>
3076
3077 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3078 (SECONDS): Redefine.
3079 (main): Call pthread_kill and alarm early.
3080 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3081 support.
3082 (test): If the target can't hardware step and doesn't support
3083 displaced stepping, increase the timeout.
3084
d136eff5
PA
30852015-09-16 Pedro Alves <palves@redhat.com>
3086
3087 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3088 (enable_debug): New procedures.
3089 (test): Use them. Bail out if waiting for threads fails.
3090 (top level): Bail out if a test fails.
3091
991f019c
YQ
30922015-09-16 Yao Qi <yao.qi@linaro.org>
3093
3094 * gdb.asm/asm-source.exp: Set asm-arch for
3095 aarch64*-*-* target.
3096 * gdb.asm/aarch64.inc: New file.
3097
bfca584f
PMR
30982015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3099
3100 * gdb.ada/array_of_variable_length.exp: New testcase.
3101 * gdb.ada/array_of_variable_length/foo.adb: New file.
3102 * gdb.ada/array_of_variable_length/pck.adb: New file.
3103 * gdb.ada/array_of_variable_length/pck.ads: New file.
3104
b326e587
DE
31052015-09-15 Doug Evans <dje@google.com>
3106
3107 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3108 of function static local variable.
3109
5382cfab
PW
31102015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3111
3112 * gdb.threads/tls-so_extern.exp: New test file.
3113 * gdb.threads/tls-so_extern.c: New test file.
3114 * gdb.threads/tls-so_extern_main.c: New test file.
3115
141c5cc4
JK
31162015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3117
3118 * gdb.opt/solib-intra-step-lib.c: New file.
3119 * gdb.opt/solib-intra-step-main.c: New file.
3120 * gdb.opt/solib-intra-step.exp: New file.
3121
d15dcecd
PA
31222015-09-15 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3125 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3126
4c2f2a79
PA
31272015-09-14 Pedro Alves <palves@redhat.com>
3128
3129 * gdb.base/hook-stop-continue.c: Delete.
3130 * gdb.base/hook-stop-continue.exp: Delete.
3131 * gdb.base/hook-stop-frame.c: Delete.
3132 * gdb.base/hook-stop-frame.exp: Delete.
3133 * gdb.base/hook-stop.c: New file.
3134 * gdb.base/hook-stop.exp: New file.
3135
919e6dbe
PMR
31362015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3137
3138 * gdb.ada/access_to_packed_array.exp: New testcase.
3139 * gdb.ada/access_to_packed_array/foo.adb: New file.
3140 * gdb.ada/access_to_packed_array/pack.adb: New file.
3141 * gdb.ada/access_to_packed_array/pack.ads: New file.
3142
157280a4
MM
31432015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3144
3145 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3146 buffer size test.
3147
2fd33e94
DB
31482015-09-11 Don Breazeal <donb@codesourcery.com>
3149
3150 * gdb.base/foll-exec.c: Add copyright header. Fix
3151 formatting issues.
3152 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3153 (do_exec_tests): Use clean_restart in place of zap_session,
3154 and for test initialization. Fix formatting issues. Use
3155 fail in place of perror.
3156 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3157 an expect statement to match an expression with output from
3158 the program under debug.
3159 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3160 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3161 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3162 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3163 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3164
e70b6e8e
DE
31652015-09-09 Doug Evans <dje@google.com>
3166
3167 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3168
7a551a51
DE
31692015-09-09 Doug Evans <dje@google.com>
3170
3171 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3172
4c666f84
DE
31732015-09-09 Doug Evans <dje@google.com>
3174
3175 * gdb.base/savedregs.exp: Fix typo.
3176
243a9253
PA
31772015-09-09 Pedro Alves <palves@redhat.com>
3178
3179 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3180
c0fa8fbd
SL
31812015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3182
3183 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3184 command actually switches threads. Give up on remaining
3185 tests if target fails to stop at breakpoint.
3186
cd7c1778
PMR
31872015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3188
3189 * gdb.ada/funcall_char.exp: New testcase.
3190 * gdb.ada/funcall_char/foo.adb: New file.
3191
dc5c8746
PMR
31922015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3193
3194 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3195 expected outputs. Add two testcases for completing ambiguous
3196 functions.
3197 * gdb.ada/complete/aux_pck.adb: New file.
3198 * gdb.ada/complete/aux_pck.ads: New file.
3199 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3200 Ambiguous_Func functions.
3201 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3202 * gdb.ada/complete/pck.adb: Likewise.
3203
4e83a1e7
UW
32042015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3205
3206 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3207 failures to run the test program under GDB.
3208
8ce74153
LM
32092015-08-26 Luis Machado <lgustavo@codesourcery.com>
3210
3211 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3212 to C.
3213
e9756d52
PP
32142015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3215
3216 * gdb.base/run-after-attach.exp: New test file.
3217 * gdb.base/run-after-attach.c: New test file.
3218
8d37573b
DB
32192015-08-26 Don Breazeal <donb@codesourcery.com>
3220
3221 * gdb.base/foll-exec-2.c: New test program.
3222 * gdb.base/foll-exec-2.exp: New test.
3223
63e43d3a
PMR
32242015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3225
3226 * gdb.base/nested-subp1.exp: New file.
3227 * gdb.base/nested-subp1.c: New file.
3228 * gdb.base/nested-subp2.exp: New file.
3229 * gdb.base/nested-subp2.c: New file.
3230 * gdb.base/nested-subp3.exp: New file.
3231 * gdb.base/nested-subp3.c: New file.
3232
3d40fbb5
PA
32332015-08-24 Pedro Alves <palves@redhat.com>
3234
3235 * gdb.server/connect-without-multi-process.c: New file.
3236 * gdb.server/connect-without-multi-process.exp: New file.
3237
4422ac93
LM
32382015-08-24 Luis Machado <lgustavo@codesourcery.com>
3239
3240 * gdb.opt/inline-markers.c: Make z int.
3241
91dddb86
LM
32422015-08-24 Luis Machado <lgustavo@codesourcery.com>
3243
3244 * gdb.opt/inline-markers.c: Make z volatile.
3245
a48847ee
LM
32462015-08-24 Luis Machado <lgustavo@codesourcery.com>
3247
3248 * gdb.opt/inline-bt.c: New volatile global z.
3249 * gdb.opt/inline-cmds.c: Likewise.
3250 * gdb.opt/inline-locals.c: Likewise.
3251 * gdb.opt/inline-markers.c: New extern global z.
3252 (marker): Use z.
3253 (inline_fn): Likewise.
3254
0ebbc52b
PA
32552015-08-24 Pedro Alves <palves@redhat.com>
3256
3257 * config/m32r-stub.exp: Remove file.
3258 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3259 * gdb.base/call-rt-st.exp: Likewise.
3260 * gdb.base/call-strs.exp: Likewise.
3261 * gdb.base/default.exp: Remove references to h8300-*-hms and
3262 *-*-udi*.
3263 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3264
77c365df
AA
32652015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3266
3267 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3268 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3269 and "return" use KFAIL when GDB can not read/write the vector
3270 return value.
3271
4313b8c0
GB
32722015-08-21 Gary Benson <gbenson@redhat.com>
3273
3274 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3275
0e433b32
PA
32762015-08-20 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.server/solib-list.exp: No longer expect an interior stop in
3279 non-stop mode.
3280
221e1a37
PA
32812015-08-20 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.server/connect-stopped-target.c: New file.
3284 * gdb.server/connect-stopped-target.exp: New file.
3285
40e3ad0e
PA
32862015-08-20 Pedro Alves <palves@redhat.com>
3287
3288 * gdb.dwarf2/comp-unit-lang.exp: New file.
3289 * gdb.dwarf2/comp-unit-lang.c: New file.
3290
af39b327
PMR
32912015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3292
3293 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3294 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3295
7d45c7c3 32962015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3297
7d45c7c3
KB
3298 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3299 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3300
4d6cceb4
DE
33012015-08-18 Doug Evans <dje@google.com>
3302 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3303
3304 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3305 skip_python_tests. New arg prompt_regexp.
3306 (skip_python_tests): New function.
3307 * lib/mi-support.exp (mi_skip_python_tests): New function.
3308 * gdb.python/py-mi-objfile-gdb.py: New file.
3309 * gdb.python/py-mi-objfile.c: New file.
3310 * gdb.python/py-mi-objfile.exp: New file.
3311
ad89c2aa
KS
33122015-08-17 Keith Seitz <keiths@redhat.com>
3313
3314 * gdb.linespec/explicit.exp: Move strace test from here ...
3315 * gdb.trace/strace.exp: ... to here.
3316
e3ae3c43
PP
33172015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3318
3319 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3320 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3321
604b2636
DE
33222015-08-14 Doug Evans <xdje42@gmail.com>
3323
3324 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3325 inferior before selecting a new file.
3326
6ff0ba5f
DE
33272015-08-14 Doug Evans <xdje42@gmail.com>
3328
3329 * gdb.mi/mi-disassemble.exp: Update.
3330 * gdb.base/disasm-optim.S: New file.
3331 * gdb.base/disasm-optim.c: New file.
3332 * gdb.base/disasm-optim.h: New file.
3333 * gdb.base/disasm-optim.exp: New file.
3334
9ca98f92
KS
33352015-08-14 Keith Seitz <keiths@redhat.com>
3336
3337 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3338 "evaluated-by".
3339
52bbc560
JB
33402015-08-13 Joel Brobecker <brobecker@adacore.com>
3341
3342 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3343
5d8c3ed3
PMR
33442015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3345
3346 * gdb.ada/fun_renaming.exp: New testcase.
3347 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3348 * gdb.ada/fun_renaming/pack.adb: New file.
3349 * gdb.ada/fun_renaming/pack.ads: New file.
3350
ea8812bc
KS
33512015-08-12 Keith Seitz <keiths@redhat.com>
3352
3353 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3354 gdb_get_line_number.
3355
4dafcdeb
JB
33562015-08-12 Joel Brobecker <brobecker@adacore.com>
3357
3358 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3359 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3360 gdb.base/dso2dso.exp: New files.
3361
5ba32597
SDJ
33622015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3363 Pedro Alves <palves@redhat.com>
3364 Keith Seitz <keiths@redhat.com>
3365
3366 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3367 GDBFLAGS.
3368
b6dafabf
PP
33692015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3370
3371 * gdb.base/gdbhistsize-history.exp
3372 (test_histsize_history_setting): Use save_vars.
3373 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3374 Use save_vars.
3375 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3376 * gdb.base/readline.exp: Use save_vars.
3377
abe8e607
PP
33782015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3379
3380 * lib/gdb.exp (save_vars): New proc.
3381
629500fa
KS
33822015-08-11 Keith Seitz <keiths@redhat.com>
3383
3384 * gdb.base/help.exp: Update help_breakpoint_text.
3385
eb8c4e2e
KS
33862015-08-11 Keith Seitz <keiths@redhat.com>
3387
3388 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3389 (at toplevel): Call test_explicit_breakpoints.
3390 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3391 breakpoints.
3392 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3393 breakpoint conditions, "-cond".
3394
87f0e720
KS
33952015-08-11 Keith Seitz <keiths@redhat.com>
3396
3397 * gdb.linespec/3explicit.c: New file.
3398 * gdb.linespec/cpexplicit.cc: New file.
3399 * gdb.linespec/cpexplicit.exp: New file.
3400 * gdb.linespec/explicit.c: New file.
3401 * gdb.linespec/explicit.exp: New file.
3402 * gdb.linespec/explicit2.c: New file.
3403 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3404 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3405 before using in the matching pattern.
3406 Clarify that `prefix' is a regular expression.
3407
f00aae0f
KS
34082015-08-11 Keith Seitz <keiths@redhat.com>
3409
3410 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3411 test.
3412 Add tests for missing ",FMT" and ",".
3413
e27852be
DE
34142015-08-10 Doug Evans <dje@google.com>
3415 Keith Seitz <keiths@redhat.com>
3416
3417 PR gdb/17960
3418 * gdb.base/completion.exp: Add location completer tests.
3419
7f03bd92
PA
34202015-08-07 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3423 tests here.
3424 (top level): Run do_test with and without displaced stepping.
3425
3fc8eb30
PA
34262015-08-07 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.base/valgrind-disp-step.c: New file.
3429 * gdb.base/valgrind-disp-step.exp: New file.
3430
d4569d7b
PA
34312015-08-07 Pedro Alves <palves@redhat.com>
3432
3433 * gdb.threads/step-over-lands-on-breakpoint.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-lands-on-breakpoint.exp (do_test): Change
3438 comment.
3439 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3440 Delete function.
3441 (main): Add alarm. Run an infinite loop instead of calling
3442 wait_threads.
3443 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3444 comment.
3445
e1316e60
PA
34462015-08-07 Pedro Alves <palves@redhat.com>
3447
3448 * gdb.base/checkpoint-ns.exp: New file.
3449 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3450 standard_testfile.
3451
da8c46d2
MM
34522015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3453
3454 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3455 * gdb.btrace/instruction_history.exp: Update.
3456 * gdb.btrace/tsx.exp: New.
3457 * gdb.btrace/tsx.c: New.
3458
de1c2c52
PA
34592015-08-06 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3462 increase timeout.
3463 * gdb.reverse/until-precsave.exp: Bump timeouts.
3464
782e0bf4
PA
34652015-08-06 Pedro Alves <palves@redhat.com>
3466
3467 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3468
83e97ed0
PA
34692015-08-06 Pedro Alves <palves@redhat.com>
3470
3471 PR gdb/18749
3472 * gdb.threads/process-dies-while-handling-bp.c: New file.
3473 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3474
863d01bd
PA
34752015-08-06 Pedro Alves <palves@redhat.com>
3476
3477 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3478 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3479
0a39bb32
PA
34802015-08-05 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3483 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3484
ee2d2b10
SL
34852015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3486
3487 * gdb.base/bp-permanent.exp: Report test as unsupported if
3488 the target cannot stop at the permanent breakpoint.
3489
4e1bdb00
DE
34902015-08-03 Doug Evans <dje@google.com>
3491
3492 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3493 10000.
3494
3d338901
DE
34952015-08-03 Doug Evans <dje@google.com>
3496
3497 * Makefile.in (workers/%.worker, build-perf): New rule.
3498 (GDB_PERFTEST_MODE): New variable.
3499 (check-perf): Use it.
3500 (clean): Clean up gdb.perf parallel build subdirs.
3501 * lib/build-piece.exp: New file.
3502 * lib/gdb.exp (make_gdb_parallel_path): New function
3503 (standard_output_file, standard_temp_file): Call it.
3504 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3505 of $GDB_PARALLEL.
3506 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3507
af061d3e
DE
35082015-08-03 Doug Evans <dje@google.com>
3509
8e1afc81 3510 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3511 (LOG_FILE_NAME): New global.
3512 (TextReporter.__init__): Initialize self.txt_sum.
3513 (TextReporter.report): Add support for multiple data-points.
3514 Move report to perftest.sum, put raw data in perftest.log.
3515 (TextReporter.start): Open sum and log files.
3516 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3517 * gdb.perf/lib/perftest/testresult.py
3518 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3519
2c8c5d37
PA
35202015-07-31 Pedro Alves <palves@redhat.com>
3521
3522 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3523 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3524 kill_wait_spawned_process instead of explicit "kill -9".
3525 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3526 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3527 kill_wait_spawned_process.
3528 * gdb.base/attach-twice.exp: Likewise.
3529 * gdb.base/attach.exp: Likewise.
3530 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3531 gdb_test_multiple.
3532 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3533 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3534 kill_wait_spawned_process.
3535 * gdb.base/valgrind-infcall.exp: Likewise.
3536 * gdb.multi/multi-attach.exp: Likewise.
3537 * gdb.python/py-prompt.exp: Likewise.
3538 * gdb.python/py-sync-interp.exp: Likewise.
3539 * gdb.server/ext-attach.exp: Likewise.
3540 * gdb.threads/attach-into-signal.exp (corefunc): Use
3541 spawn_wait_for_attach, spawn_id_get_pid and
3542 kill_wait_spawned_process.
3543 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3544 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3545 spawn_id_get_pid and kill_wait_spawned_process.
3546 * gdb.threads/attach-stopped.exp (corefunc): Use
3547 spawn_wait_for_attach, spawn_id_get_pid and
3548 kill_wait_spawned_process.
3549 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3550 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3551 kill_wait_spawned_process instead of explicit "kill -9".
3552 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3553 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3554 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3555 processes. Don't map cygwin/windows pids here. Now returns a
3556 spawn id list.
3557
032a0fca
SL
35582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3559
3560 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3561 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3562 correct patch.
3563
61a934ca
SL
35642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3565
3566 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3567
4bc4d428
SL
35682015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3569
3570 Reapply:
3571 2014-05-21 Mark Wielaard <mjw@redhat.com>
3572
3573 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3574
998d452a
PA
35752015-07-30 Pedro Alves <palves@redhat.com>
3576
3577 * linux-low.c (handle_extended_wait): Set the child's last
3578 reported status to TARGET_WAITKIND_STOPPED.
3579
69dde7dc
PA
35802015-07-30 Pedro Alves <palves@redhat.com>
3581
3582 PR threads/18600
3583 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3584 only shows inferior 1.
3585
4dd63d48
PA
35862015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3587 Pedro Alves <palves@redhat.com>
3588
3589 PR threads/18600
3590 * gdb.threads/fork-plus-threads.c: New file.
3591 * gdb.threads/fork-plus-threads.exp: New file.
3592
d618e4c5
PP
35932015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3594
3595 * gdb.base/batch-preserve-term-settings.exp
3596 (test_terminal_settings_preserved_after_cli_exit): Use
3597 send_quit_command.
3598
1eef6428
PA
35992015-07-29 Pedro Alves <palves@redhat.com>
3600 Don Breazeal <donb@codesourcery.com>
3601
3602 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3603 output from both inferior_spawn_id and gdb_spawn_id.
3604
7da5b897
SDJ
36052015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3606
3607 * gdb.threads/attach-into-signal.exp (corefunc): Use
3608 with_test_prefix on nested loops, uniquefying the test messages.
3609
dac804df
SDJ
36102015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3611
3612 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3613 commit.
3614
06265e53
PP
36152015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3616
3617 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3618 New proc.
3619 (test_terminal_settings_preserved_after_sigterm): New test.
3620
18206ca3
PP
36212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3622
3623 * gdb.base/batch-preserve-term-settings.exp
3624 (test_terminal_settings_preserved_after_cli_exit): New test.
3625
90074d11
PP
36262015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3627
3628 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3629 manipulation of saved_gdbflags.
3630 (test_terminal_settings_preserved): Remove global declaration of
3631 the unused variable pagination_prompt. Remove manipulation of
3632 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3633 GDBFLAGS.
3634
eb1a7902
PA
36352015-07-29 Pedro Alves <palves@redhat.com>
3636
3637 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3638
8b75dd3b
PA
36392015-07-29 Pedro Alves <palves@redhat.com>
3640
3641 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3642 at the top.
3643
dedad4e3
PA
36442015-07-29 Pedro Alves <palves@redhat.com>
3645
3646 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3647 (main): Call gdb_unbuffer_output.
3648 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3649 (main): Call gdb_unbuffer_output.
3650 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3651 (main): Call gdb_unbuffer_output.
3652 * gdb.base/call-strs.exp: Adjust to step over the
3653 gdb_unbuffer_output call.
3654 * gdb.base/catch-gdb-caused-signals.c: Include
3655 "../lib/unbuffer_output.c".
3656 (main): Call gdb_unbuffer_output.
3657 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3658 (main): Call gdb_unbuffer_output.
3659 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3660 (main): Call gdb_unbuffer_output.
3661 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3662 (main): Call gdb_unbuffer_output.
3663 * gdb.base/shlib-call.exp: Adjust to step over the
3664 gdb_unbuffer_output call.
3665 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3666 (main): Call gdb_unbuffer_output.
3667 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3668 (main): Call gdb_unbuffer_output.
3669 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3670 (main): Rename to ...
3671 (test): ... this.
3672 (main): Reimplement.
3673 * gdb.base/varargs.exp: Run to test instead of to main.
3674 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3675 (main): Call gdb_unbuffer_output.
3676
58789a91
PA
36772015-07-29 Pedro Alves <palves@redhat.com>
3678
3679 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3680 factore out from mi_continue_dprintf. For call-style dprintfs,
3681 expect dprintf output out of $inferior_spawn_id.
3682 (mi_continue_dprintf): Use mi_expect_dprintf.
3683 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3684 (main): Call gdb_unbuffer_output.
3685
e8376742
PA
36862015-07-29 Pedro Alves <palves@redhat.com>
3687
3688 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3689 (default_mi_gdb_start): Set inferior_spawn_id instead of
3690 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3691 gdb_spawn_id.
3692 (mi_gdb_test): Always expect inferior output from both
3693 $inferior_spawn_id and $gdb_spawn_id.
3694
08280010
PA
36952015-07-29 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3698 send_inferior and $inferior_spawn_id.
3699
4d30e432
PA
37002015-07-29 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.gdb/complaints.exp (test_initial_complaints)
3703 (test_serial_complaints, test_short_complaints): Use
3704 gdb_test_stdio.
3705 (test_empty_complaint): Handle $inferior_spawn_id !=
3706 $gdb_spawn_id.
3707
0d30a335
PA
37082015-07-29 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.base/varargs.exp: Use gdb_test_stdio.
3711
39413b29
PA
37122015-07-29 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3715
7cb000a9
PA
37162015-07-29 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3719
d7b8ac82
PA
37202015-07-29 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3723 parameter into two new parameters, "inf_result" and "gdb_result".
3724 Expect inferior output and gdb output from $inferior_spawn_id and
3725 $gdb_spawn_id, respectively. Adjust all callers.
3726
789c3a0c
PA
37272015-07-29 Pedro Alves <palves@redhat.com>
3728
3729 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3730 of gdb_test_sequence.
3731
77e760c3
PA
37322015-07-29 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3735 (saw_spurious_output): Expect inferior output from
3736 $inferior_spawn_id. Use gdb_test_stdio.
3737
8396d2cd
PA
37382015-07-29 Pedro Alves <palves@redhat.com>
3739
3740 * gdb.base/dprintf.exp: Use standard_testfile. Change
3741 prepare_for_testing call.
3742 (srcfile): Don't set.
3743 (restart): New procedure.
3744 (test_dprintf): New procecure, use to continue over dprintfs.
3745 (test_call, test_agent): New procedures, tests moved here.
3746 Restart gdb and recreate dprintfs. Adjust expected output.
3747
2051d61f
PA
37482015-07-29 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3751
452397af
PA
37522015-07-29 Pedro Alves <palves@redhat.com>
3753
3754 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3755
8aed9555
PA
37562015-07-29 Pedro Alves <palves@redhat.com>
3757
3758 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3759 gdb_test_stdio.
3760
188a61b4
PA
37612015-07-29 Pedro Alves <palves@redhat.com>
3762
3763 * lib/gdb.exp (gdb_test_stdio): New procedure.
3764
12264a45
PA
37652015-07-29 Pedro Alves <palves@redhat.com>
3766
3767 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3768
23ffc893
PA
37692015-07-29 Pedro Alves <palves@redhat.com>
3770
3771 * gdb.base/call-signal-resume.exp: Remove check for
3772 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3773 * gdb.base/unwindonsignal.exp: Likewise.
3774 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3775 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3776
65566918
PA
37772015-07-29 Pedro Alves <palves@redhat.com>
3778
3779 * gdb.base/siginfo-addr.c (pass): New function.
3780 (handler): Call it iff si_addr is correct.
3781 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3782 Set a breakpoint at "pass" and continue to it.
3783
d60a9221
SDJ
37842015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3785
3786 * gdb.python/py-objfile.exp: Make some tests have unique names.
3787 * gdb.python/py-pp-registration.exp: Likewise.
3788
bde40b8f
PA
37892015-07-28 Pedro Alves <palves@redhat.com>
3790
3791 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3792
13e1dec8
SM
37932015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3794
3795 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3796
da33c9a7
SM
37972015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3798
3799 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3800
077836f7
PP
38012015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3802
3803 * gdb.base/gdb-sigterm-2.exp: New test.
3804
b8cc7b2e
DE
38052015-07-25 Doug Evans <xdje42@gmail.com>
3806
3807 Revert:
3808 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3809 (workers/%.worker, build-perf): New rule.
3810 (GDB_PERFTEST_MODE): New variable.
3811 (check-perf): Use it.
3812 (clean): Clean up gdb.perf parallel build subdirs.
3813 * lib/build-piece.exp: New file.
3814 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3815 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3816 name.
3817 (standard_temp_file): Ditto.
3818 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3819 of $GDB_PARALLEL.
3820
c8bd4544
DE
38212015-07-24 Doug Evans <dje@google.com>
3822
3823 * gdb.perf/lib/perftest/utils.py: New file.
3824 * gdb.perf/gm-hello.cc: New file.
3825 * gdb.perf/gm-pervasive-typedef.cc: New file.
3826 * gdb.perf/gm-pervasive-typedef.h: New file.
3827 * gdb.perf/gm-std.cc: New file.
3828 * gdb.perf/gm-std.h: New file.
3829 * gdb.perf/gm-use-cerr.cc: New file.
3830 * gdb.perf/gm-utils.h: New file.
3831 * gdb.perf/gmonster-null-lookup.py: New file.
3832 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3833 * gdb.perf/gmonster-print-cerr.py: New file.
3834 * gdb.perf/gmonster-ptype-string.py: New file.
3835 * gdb.perf/gmonster-runto-main.py: New file.
3836 * gdb.perf/gmonster-select-file.py: New file.
3837 * gdb.perf/gmonster1-null-lookup.exp: New file.
3838 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3839 * gdb.perf/gmonster1-print-cerr.exp: New file.
3840 * gdb.perf/gmonster1-ptype-string.exp: New file.
3841 * gdb.perf/gmonster1-runto-main.exp: New file.
3842 * gdb.perf/gmonster1-select-file.exp: New file.
3843 * gdb.perf/gmonster1.cc: New file.
3844 * gdb.perf/gmonster1.exp: New file.
3845 * gdb.perf/gmonster2-null-lookup.exp: New file.
3846 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3847 * gdb.perf/gmonster2-print-cerr.exp: New file.
3848 * gdb.perf/gmonster2-ptype-string.exp: New file.
3849 * gdb.perf/gmonster2-runto-main.exp: New file.
3850 * gdb.perf/gmonster2-select-file.exp: New file.
3851 * gdb.perf/gmonster2.cc: New file.
3852 * gdb.perf/gmonster2.exp: New file.
3853
6eab34f3
DE
38542015-07-24 Doug Evans <dje@google.com>
3855
3856 * gdb.perf/README: New file.
3857 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3858 * lib/gen-perf-test.exp: New file.
3859
63738bfd
DE
38602015-07-24 Doug Evans <dje@google.com>
3861
3862 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3863 (PerfTest::startup): New function.
3864 (PerfTest::run): Return result of calling body.
3865 (PerfTest::assemble): Rewrite.
3866 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3867 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3868 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3869 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3870 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3871
7b606f95
DE
38722015-07-24 Doug Evans <dje@google.com>
3873
3874 * lib/gdb.exp (clean_restart): Make executable optional.
3875
a97b16b8
DE
38762015-07-24 Doug Evans <dje@google.com>
3877
3878 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3879 compiler_info references.
3880 * gdb.cp/temargs.exp: Ditto.
3881 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3882 (get_compiler_info): Early exit if already computed. Set compiler_info
3883 to "unknown" if there was a problem.
3884 (test_compiler_info): Add function comment. Call get_compiler_info.
3885
35baa57f
DE
38862015-07-24 Doug Evans <dje@google.com>
3887
3888 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3889 (workers/%.worker, build-perf): New rule.
3890 (GDB_PERFTEST_MODE): New variable.
3891 (check-perf): Use it.
3892 (clean): Clean up gdb.perf parallel build subdirs.
3893 * lib/build-piece.exp: New file.
3894 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3895 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3896 name.
3897 (standard_temp_file): Ditto.
3898 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3899 of $GDB_PARALLEL.
3900
6ebea266
DE
39012015-07-24 Doug Evans <dje@google.com>
3902
3903 * lib/future.exp (gdb_default_target_compile): New option
3904 "early_flags".
3905 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3906 --as-needed.
3907
1e76a7e9
SDJ
39082015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3909
3910 * gdb.base/catch-syscall.exp: Call gdb_exit before
3911 gdb_skip_xml_test.
3912
5068630a
PA
39132015-07-24 Pedro Alves <palves@redhat.com>
3914
3915 * gdb.python/py-events.exp: Accept output between the stop event
3916 and the prompt.
3917 * gdb.python/py-evsignal.exp: Likewise.
3918 * gdb.python/py-evthreads.exp: Likewise.
3919
77598427
PA
39202015-07-24 Pedro Alves <palves@redhat.com>
3921
3922 PR gdb/18717
3923 * gdb.threads/non-ldr-exit.c: New file.
3924 * gdb.threads/non-ldr-exit.exp: New file.
3925
11e6c98f
YQ
39262015-07-24 Yao Qi <yao.qi@linaro.org>
3927
3928 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3929 restarting process.
3930
51aee833
YQ
39312015-07-24 Yao Qi <yao.qi@linaro.org>
3932
3933 * gdb.server/ext-restart.exp: New file.
3934
8cfe207c
YQ
39352015-07-24 Yao Qi <yao.qi@linaro.org>
3936
3937 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3938 argument options.
3939 * gdb.server/ext-wrapper.exp: New file.
3940
cc12ce38
DE
39412015-07-23 Doug Evans <dje@google.com>
3942
3943 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3944 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3945
d0d84780
PMR
39462015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3947
3948 * gdb.ada/var_arr_typedef.exp: New testcase.
3949 * gdb.ada/var_arr_typedef/pack.adb: New file.
3950 * gdb.ada/var_arr_typedef/pack.ads: New file.
3951 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3952
8b558f79
JB
39532015-07-20 Joel Brobecker <brobecker@adacore.com>
3954
3955 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3956
775a3298
JK
39572015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.arch/i386-biarch-core.exp: Replace istarget
3960 by "complete set gnutarget". Remove expectation for the "core-file"
3961 command.
3962
db1ff28b
JK
39632015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3964
3965 Revert the previous commit:
3966 Tests for validate symbol file using build-id.
3967
0a94970d
JK
39682015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3969
3970 Tests for validate symbol file using build-id.
3971 * gdb.base/solib-mismatch-lib.c: New file.
3972 * gdb.base/solib-mismatch-libmod.c: New file.
3973 * gdb.base/solib-mismatch.c: New file.
3974 * gdb.base/solib-mismatch.exp: New file.
3975
03346981
SL
39762015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3977
3978 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3979 nios2-*-linux*.
3980 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3981 * gdb.base/siginfo.exp: Likewise.
3982 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3983
42422cc7
PL
39842015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3985
3986 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3987 Move it to ...
3988 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3989 ... here.
3990 * gdb.trace/range-stepping.exp: Check that the target supports
3991 range stepping.
3992
cfa68bae
JK
39932015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3996
8ffdba26
PA
39972015-07-14 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.base/killed-outside.exp: New file.
4000 * gdb.base/killed-outside.c: New file.
4001
218a5a11
JK
40022015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4003
4004 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4005 (n at main): New.
4006 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4007
e03ed3c6
AA
40082015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4009
4010 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4011 infcall tests instead of setting up for KFAIL.
4012
485668e5
MM
40132015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4014
4015 * gdb.btrace/record_goto-step.exp: New.
4016
08464196
JK
40172015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4018
4019 PR compile/18484
4020 * gdb.compile/compile.c (struct struct_type): Add volatile to
4021 selffield's type.
4022 * gdb.compile/compile.exp
4023 (compile code struct_object.selffield = &struct_object): Skip further
4024 struct_object tests if this one xfails.
4025
bcf5c1d9
RC
40262015-07-08 Robert O'Callahan <robert@ocallahan.org>
4027
4028 PR exp/18617
4029 * gdb.trace/ax.exp: Add test.
4030
4931af25
YQ
40312015-07-07 Yao Qi <yao.qi@linaro.org>
4032
4033 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4034 instead of istarget "aarch64*-*-*".
4035 * gdb.arch/aarch64-fp.exp: Likewise.
4036 * gdb.base/float.exp: Likewise.
4037 * gdb.reverse/aarch64.exp: Likewise.
4038 * lib/gdb.exp (is_aarch64_target): New proc.
4039
9fcf688e
YQ
40402015-07-07 Yao Qi <yao.qi@linaro.org>
4041
4042 * lib/gdb.exp (is_aarch32_target): New proc.
4043 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4044 instead of "istarget "arm*-*-*"".
4045 * gdb.arch/arm-disp-step.exp: Likewise.
4046 * gdb.arch/thumb-bx-pc.exp: Likewise.
4047 * gdb.arch/thumb-prologue.exp: Likewise.
4048 * gdb.arch/thumb-singlestep.exp: Likewise.
4049 * gdb.base/disp-step-syscall.exp: Likewise.
4050 * gdb.base/float.exp: Likewise.
4051
fbd8d50d
YQ
40522015-07-07 Yao Qi <yao.qi@linaro.org>
4053
4054 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4055 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4056
71be1fdc
YQ
40572015-07-07 Yao Qi <yao.qi@linaro.org>
4058
4059 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4060 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4061 if it exists.
4062 * gdb.multi/multi-arch.exp: Likewise.
4063
3e221d36
SM
40642015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4065
4066 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4067 print.
4068
d441430b
YQ
40692015-07-07 Yao Qi <yao.qi@linaro.org>
4070
4071 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4072
06f810bd
MG
40732015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4074
4075 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4076 '[' and ']' characters.
4077
5e61e7c0
IB
40782015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4079
4080 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4081
28bf096c
PA
40822015-06-29 Pedro Alves <palves@redhat.com>
4083
4084 PR threads/18127
4085 * gdb.threads/hand-call-new-thread.c: New file.
4086 * gdb.threads/hand-call-new-thread.c: New file.
4087
ee93cd5e
KS
40882015-06-26 Keith Seitz <keiths@redhat.com>
4089 Doug Evans <dje@google.com>
4090
4091 PR 16253
4092 * gdb.cp/var-tag-2.cc: New file.
4093 * gdb.cp/var-tag-3.cc: New file.
4094 * gdb.cp/var-tag-4.cc: New file.
4095 * gdb.cp/var-tag.cc: New file.
4096 * gdb.cp/var-tag.exp: New file.
4097
fc637f04
PP
40982015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4099
4100 * gdb.base/history-duplicates.exp: New test.
4101
2e52ae68
PP
41022015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4103
4104 * gdb.base/completion.exp: Test the completion of the "focus"
4105 command.
4106
6e22494e
JK
41072015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4108
4109 * gdb.arch/amd64-prologue-skip.S: New file.
4110 * gdb.arch/amd64-prologue-skip.exp: New file.
4111
bf7b9cd9
SM
41122015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4113
4114 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4115 is_address_zero_readable check.
4116
201e8dfd
PB
41172015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4118
4119 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4120 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4121
5cd867b4
YQ
41222015-06-24 Yao Qi <yao.qi@linaro.org>
4123
4124 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4125 linux targets.
4126
4d7be007
YQ
41272015-06-24 Yao Qi <yao.qi@linaro.org>
4128
4129 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4130 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4131 * gdb.base/siginfo-thread.exp: Likewise.
4132
07fcd301
YQ
41332015-06-22 Yao Qi <yao.qi@linaro.org>
4134
4135 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4136
52042a00
YQ
41372015-06-22 Yao Qi <yao.qi@linaro.org>
4138
4139 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4140 aarch64*-*-*.
4141 (skip_hw_watchpoint_tests): Likewise.
4142
74bd41ce
PP
41432015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4144
4145 * gdb.base/gdbinit-history.exp: Test the interaction between
4146 setting GDBHISTSIZE and setting the history size via .gdbinit.
4147
bc460514
PP
41482015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4149
4150 PR gdb/16999
4151 * gdb.base/gdbhistsize-history.exp: New test.
4152
b58c513b
PP
41532015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4154
4155 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4156 with GDBHISTSIZE.
4157 * gdb.base/readline.exp: Likewise.
4158
92046791
YQ
41592015-06-17 Yao Qi <yao.qi@linaro.org>
4160
4161 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4162 line.
4163
2093d2d3
PP
41642015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4165
4166 * gdb.base/gdbinit-history.exp: Add test case to check that
4167 an unlimited history file does not get truncated on exit.
4168
e6c693af
AA
41692015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4170
4171 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4172 (VECTOR): New macro. Use it...
4173 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4174 ...for these typedefs.
4175 (int8, char1, int1, double1): New typedefs.
4176 (struct just_int2, struct two_int2): New structures.
4177 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4178 (add_structvecs, add_singlevecs): New functions.
4179 (main): Call add_some_intvecs twice.
4180 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4181 the compile and exit upon failure. Try compiling for the "native"
4182 architecture. Test inferior function calls with vector arguments
4183 and vector return value handling with "finish" and "return".
4184
c74f7d1c
JT
41852015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4186
4187 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4188 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4189 PE file.
4190 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4191
98aa42ee
AT
41922015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4193
4194 PR breakpoints/16465
4195 * gdb.mi/mi-dprintf-pending.c: New file.
4196 * gdb.mi/mi-dprintf-pending.exp: New test.
4197 * gdb.mi/mi-dprintf-pendshr.c: New file.
4198
7d73c23c 41992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4200 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4201
4202 * gdb.arch/i386-mpx-map.c: New file.
4203 * gdb.arch/i386-mpx-map.exp: New File.
4204
42052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4206
4207 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4208 * gdb.arch/i386-mpx.exp: Indentation fixed.
4209
42102015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4211
4212 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4213 function and improved indentation.
4214 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4215 gdb_test_multiple. Added additional tests to skip the test.
4216
42172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4218
4219 * gdb.arch/i386-avx512.c: Change path in include file.
4220 * gdb.arch/i386-avx512.exp: Change include dir path
4221 compilation flag.
4222 * gdb.arch/i386-mpx.c: Change path in include file.
4223 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4224 flag.
4225
d5eba19a
JK
42262015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4227
4228 * gdb.compile/compile-print.exp (compile print *vararray@3)
4229 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4230
7f361056
JK
42312015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4232
4233 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4234 (do not keep jit in memory): ... this.
4235 (expect 5): Change it to ...
4236 (expect no 5): ... this.
4237
3b462ec2
SM
42382015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4239
4240 PR gdb/15564
4241 * gdb.mi/mi-detach.exp: New file.
4242
e0619de6
JK
42432015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4244
4245 PR symtab/18392
4246 * gdb.arch/amd64-tailcall-self.S: New file.
4247 * gdb.arch/amd64-tailcall-self.c: New file.
4248 * gdb.arch/amd64-tailcall-self.exp: New file.
4249
e970cb34
DB
42502015-05-28 Don Breazeal <donb@codesourcery.com>
4251
4252 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4253 tests for remote targets by checking is_target_gdbserver.
4254
b2e2f908
DE
42552015-05-27 Doug Evans <dje@google.com>
4256
4257 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4258 * gdb.dwarf2/opaque-type-lookup.c: New file.
4259 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4260
82c7be31
DE
42612015-05-26 Doug Evans <dje@google.com>
4262
4263 * gdb.cp/iostream.cc: New file.
4264 * gdb.cp/iostream.exp: New file.
4265
b4f54984
DE
42662015-05-26 Doug Evans <dje@google.com>
4267
4268 * gdb.dwarf2/dw2-op-call.exp: Update.
4269 * gdb.dwarf2/dw4-sig-types.exp: Update.
4270 * gdb.dwarf2/implptr.exp: Update.
4271 * gdb.mi/mi-cmd-param-changed.exp: Update.
4272
4ea6efe9
DE
42732015-05-26 Doug Evans <dje@google.com>
4274
4275 * gdb.python/py-lazy-string.c: New file.
4276 * gdb.python/py-lazy-string.exp: New file.
4277 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4278 (main): Update. Add estring3.
4279 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4280 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4281
f6bb7db3
YQ
42822015-05-26 Omair Javaid <omair.javaid@linaro.org>
4283 Yao Qi <yao.qi@linaro.org>
4284
4285 * gdb.reverse/aarch64.c: New.
4286 * gdb.reverse/aarch64.exp: New.
4287
a81bfbd0
OJ
42882015-05-26 Omair Javaid <omair.javaid@linaro.org>
4289
25d49b86
PA
4290 * lib/gdb.exp (supports_process_record): Return true for
4291 aarch64*-linux*.
a81bfbd0
OJ
4292 (supports_reverse): Likewise.
4293
158bf1b4
PP
42942015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4295
4296 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4297 Use with_test_prefix.
4298
a0145030
AB
42992015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4300
4301 * gdb.base/completion.exp: Add test for completion of layout
4302 names.
4303
ebe3b578
AB
43042015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4305
4306 * lib/gdb.exp (skip_tui_tests): New proc.
4307 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4308
84204ed7
PA
43092015-05-19 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4312 Save the whole env array instead of just HOME. Unset HISTSIZE in
4313 the environment while testing. Restore whole environment
4314 afterwards.
4315
37442ce1
DE
43162015-05-16 Doug Evans <xdje42@gmail.com>
4317
4318 * gdb.guile/scm-ports.c: New file.
4319 * gdb.guile/scm-ports.exp: Add memory port tests.
4320
36de76f9
JK
43212015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4322
4323 * gdb.compile/compile-print.c: New file.
4324 * gdb.compile/compile-print.exp: New file.
4325
3a9558c4
JK
43262015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4327
4328 * gdb.compile/compile-ops.exp: Cast param to void.
4329 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4330 (compile code struct_object.selffield = &struct_object): Add xfail.
4331
aa715135
JG
43322015-05-15 Joel Brobecker <brobecker@adacore.com>
4333
4334 * gdb.ada/arr_enum_with_gap: New testcase.
4335
931e5bc3
JG
43362015-05-15 Joel Brobecker <brobecker@adacore.com>
4337
4338 * gdb.ada/byte_packed_arr: New testcase.
4339
9cd4d857
JB
43402015-05-15 Joel Brobecker <brobecker@adacore.com>
4341
4342 * gdb.ada/pckd_neg: New testcase.
4343
ebfd00d2
PP
43442015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4345
4346 PR gdb/17820
4347 * gdb.base/gdbinit-history.exp: New test.
4348 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4349 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4350
4c082a81
SC
43512015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4352
4353 * gdb.python/py-xmethods.cc: Enhance test case.
4354 * gdb.python/py-xmethods.exp: New tests.
4355 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4356 function.
4357 (B_indexoper): Likewise.
4358 (global_dm_list) : Add new xmethod worker functions.
4359
f7797074
SDJ
43602015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4361
4362 * gdb.base/coredump-filter.exp: Correctly unset
4363 "coredump_var_addr" array.
4364
a4674e4e
PA
43652015-05-08 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.server/non-existing-program.exp: Unset spawn_id.
4368
df2eb078
SC
43692015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4370
4371 PR python/18291
4372 * gdb.python/py-xmethods.exp: Add tests.
4373
422349a3
YQ
43742015-05-08 Yao Qi <yao.qi@linaro.org>
4375
4376 PR gdb/18208
4377 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4378 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4379 function set_coredump_filter, and remove remote_exec call.
4380 Remove argument ipid. Callers update.
4381 (top level): Don't get inferior's PID.
4382
63fc80ce
AA
43832015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4384
4385 * gdb.base/watch_thread_num.exp: Skip test on targets without
4386 access watchpoints.
4387
80ad801e
PA
43882015-05-06 Pedro Alves <palves@redhat.com>
4389
4390 PR server/18081
4391 * gdb.server/non-existing-program.exp: New file.
4392
0fa7fe50
JB
43932015-05-05 Joel Brobecker <brobecker@adacore.com>
4394
4395 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4396
3ea89b92
PMR
43972015-05-05 Joel Brobecker <brobecker@adacore.com>
4398
4399 * gdb.ada/out_of_line_in_inlined: New testcase.
4400
87b8eff0
JB
44012015-05-05 Joel Brobecker <brobecker@adacore.com>
4402
4403 * gdb.ada/var_rec_arr: New testcase.
4404
5fccc635
YQ
44052015-04-30 Yao Qi <yao.qi@linaro.org>
4406
4407 * gdb.base/break-idempotent.exp: If
4408 skip_hw_watchpoint_multi_tests returns true, skip the tests
4409 on "rwatch" and "awatch".
4410
42d38f42
YQ
44112015-04-30 Yao Qi <yao.qi@linaro.org>
4412
4413 * gdb.base/relativedebug.exp: Invoke gdb command
4414 "info sharedlibrary", and if libc.so doesn't have debug info,
4415 skip the test.
4416
2ce1cdbf
DE
44172015-04-29 Doug Evans <dje@google.com>
4418
4419 * gdb.python/py-xmethods.exp: Add ptype tests.
4420 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4421 get_result_type method.
4422
f24a38c5
LM
44232015-04-29 Luis Machado <lgustavo@codesourcery.com>
4424
4425 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4426 the target does not support hardware watchpoints.
4427
ecbf2b3c
LM
44282015-04-29 Luis Machado <lgustavo@codesourcery.com>
4429
4430 * gdb.base/break-always.exp: Abort testing if writing to memory
4431 causes an error.
4432
34f5f757
DE
44332015-04-28 Doug Evans <dje@google.com>
4434
4435 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4436 * gdb.python/py-pp-registration.exp: ... here. New file.
4437 * gdb.python/py-pp-registration.c: New file.
4438 * gdb.python/py-pp-registration.py: New file.
4439
69b4374a
DE
44402015-04-28 Doug Evans <dje@google.com>
4441
4442 * gdb.python/py-bad-printers.c: New file.
4443 * gdb.python/py-bad-printers.py: New file.
4444 * gdb.python/py-bad-printers.exp: New file.
4445
59fb7612
SS
44462015-04-28 Sasha Smundak <asmundak@google.com>
4447
4448 * gdb.python/py-type.exp: New test.
4449
2631b16a
AW
44502015-04-28 Andy Wingo <wingo@igalia.com>
4451
4452 * gdb.python/py-parameter.exp:
4453 * gdb.guile/scm-parameter.exp: Escape the path that we are
4454 matching against, as it might contain characters that are special
4455 to regular expressions.
4456
460efde1
JB
44572015-04-27 Joel Brobecker <brobecker@adacore.com>
4458
4459 * gdb.ada/rec_comp: New testcase.
4460
2d369d8e
SDJ
44612015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4462
4463 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4464 before using it.
4465
cf75d6c3
AB
44662015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4467
4468 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4469 new tests for verilog output.
4470
8dbe7ca5
YQ
44712015-04-24 Yao Qi <yao.qi@linaro.org>
4472
4473 * boards/remote-gdbserver-on-localhost.exp: New file.
4474
4ef9fb2f
PA
44752015-04-23 Pedro Alves <palves@redhat.com>
4476
4477 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4478 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4479 "end of file", remove $inferior_spawn_id from the indirect list.
4480
0a803169
PA
44812015-04-23 Pedro Alves <palves@redhat.com>
4482
4483 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4484
749ef8f8
PA
44852015-04-23 Pedro Alves <palves@redhat.com>
4486
4487 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4488 on $any_spawn_id instead of only on $gdb_spawn_id.
4489
8aae4344
PM
44902015-04-21 Pierre Muller <muller@sourceware.org>
4491
4492 PR pascal/17815
4493 * lib/pascal.exp (gpc_compile): Add new option "class".
4494 (fpc_compile): Likewise.
4495 * gdb.pascal/case-insensitive-symbols.pas: New file.
4496 * gdb.pascal/case-insensitive-symbols.exp: New file.
4497
1586c8fb
GB
44982015-04-20 Gary Benson <gbenson@redhat.com>
4499
4500 * gdb.base/attach.exp: Fix three extended remote failures.
4501
1b6e6f5c
GB
45022015-04-17 Gary Benson <gbenson@redhat.com>
4503
4504 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4505 the main executable over the remote protocol.
4506
e797481d
PA
45072015-04-16 Pedro Alves <palves@redhat.com>
4508
4509 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4510 a new gdbserver if gdbserver_reconnect_p is set.
4511
1ca99c42
PA
45122015-04-16 Pedro Alves <palves@redhat.com>
4513
4514 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4515 is set, don't exit gdbserver.
4516
af9fd6f8
AA
45172015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518
4519 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4520 appropriate .insn, such that an older assembler can be used.
4521 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4522 the z/Architecture instruction set on 31-bit targets as well.
4523
04ff1e61
AA
45242015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4525
4526 * gdb.go/handcall.exp: Remove all logic related to the first
4527 breakpoint and rely on go_runto_main instead.
4528 * gdb.go/strings.exp: Likewise.
4529 * gdb.go/unsafe.exp: Likewise.
4530 * gdb.go/hello.exp: Likewise. Also rename the remaining
4531 breakpoint marker to "breakpoint 1".
4532 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4533 * gdb.go/strings.go: Likewise.
4534 * gdb.go/unsafe.go: Likewise.
4535 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4536 "set breakpoint 2 here" and rename the remaining breakpoint marker
4537 to "breakpoint 1".
4538
40d2f8d6
SM
45392015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4540
4541 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4542 if itertools.imap is not present.
4543 * gdb.python/py-objfile.exp: Add parentheses.
4544 * gdb.python/py-type.exp: Same.
4545 * gdb.python/py-unwind-maint.py: Same.
4546
8cbc97c6
YQ
45472015-04-15 Yao Qi <yao.qi@linaro.org>
4548
4549 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4550 of ":$ptr_size" and set its form explicitly.
4551
45fd756c
YQ
45522015-04-15 Pedro Alves <palves@redhat.com>
4553 Yao Qi <yao.qi@linaro.org>
4554
4555 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4556 timeout by factor of 4.
4557 (test_regular_watch): Likewise.
4558 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4559 * gdb.reverse/sigall-reverse.exp: Likewise.
4560 * gdb.reverse/until-precsave.exp: Likewise.
4561 * lib/gdb.exp (with_timeout_factor): New proc.
4562 (gdb_expect): Move some code to ...
4563 (get_largest_timeout): ... here. New procedure.
4564
9e811bc3
LM
45652015-04-14 Luis Machado <lgustavo@codesourcery.com>
4566
4567 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4568
0ff6fcb2
LM
45692015-04-13 Luis Machado <lgustavo@codesourcery.com>
4570
4571 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4572 to write to the .text section.
4573
7578d5f7
LM
45742015-04-13 Luis Machado <lgustavo@codesourcery.com>
4575
4576 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4577 Handle the case of targets that do not provide PID information.
4578
2efe15c4
YQ
45792015-04-13 Yao Qi <yao.qi@linaro.org>
4580
4581 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4582 and use expect instead of gdb_expect.
4583
8cd8f2f8
SDJ
45842015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4585
4586 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4587 "coredump_var_addr" to avoid naming conflict with other testcases.
4588
9ee41772
PA
45892015-04-10 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4592 gdb_test_sequence and gdb_assert.
4593
07473109
PA
45942015-04-10 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4597 test messages that don't include the breakpoint address.
4598
de3db44c
YQ
45992015-04-10 Yao Qi <yao.qi@linaro.org>
4600
4601 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4602 false for some offset and width combinations which aren't
4603 supported by linux kernel.
4604
c79d856c
PA
46052015-04-10 Pedro Alves <palves@redhat.com>
4606
4607 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4608 procedure, factored out from ...
4609 (top level): ... here. Add "set displaced-stepping" testing axis.
4610 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4611 parameter "displaced". Use it.
4612 (top level): Use foreach and add "set displaced-stepping" testing
4613 axis.
4614
ebc90b50
PA
46152015-04-10 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4618 Remove comment.
4619 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4620 both the address of the instruction that triggers the watchpoint
4621 and the address of the instruction immediately after, and use
4622 those addresses for the test. Fix comment.
4623
8f572e5c
PA
46242015-04-10 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.base/sigstep.exp (breakpoint_to_handler)
4627 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4628 Test "backtrace" in handler.
4629 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4630 (top level): Add new "displaced" test axis to
4631 breakpoint_to_handler, breakpoint_to_handler_entry and
4632 breakpoint_over_handler.
4633
8d707a12
PA
46342015-04-10 Pedro Alves <palves@redhat.com>
4635
4636 PR gdb/18216
4637 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4638
ef713951
YQ
46392015-04-10 Yao Qi <yao.qi@linaro.org>
4640
4641 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4642 (test_add_rn_pc): New function.
4643 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4644 (top level): Invoke test_add_rn_pc.
4645
906d60cf
PA
46462015-04-10 Pedro Alves <palves@redhat.com>
4647
4648 PR gdb/13858
4649 * gdb.base/step-over-no-symbols.exp: New file.
4650
f2983cc3
AW
46512015-04-09 Andy Wingo <wingo@igalia.com>
4652
4653 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4654 after the Python tests.
4655
6d62641c
SDJ
46562015-04-08 Keith Seitz <keiths@redhat.com>
4657
4658 PR python/16699
4659 * gdb.python/py-completion.exp: New tests for completion.
4660 * gdb.python/py-completion.py (CompleteLimit1): New class.
4661 (CompleteLimit2): Likewise.
4662 (CompleteLimit3): Likewise.
4663 (CompleteLimit4): Likewise.
4664 (CompleteLimit5): Likewise.
4665 (CompleteLimit6): Likewise.
4666 (CompleteLimit7): Likewise.
4667
f3770638
PA
46682015-04-08 Pedro Alves <palves@redhat.com>
4669
4670 PR gdb/18214
4671 PR gdb/18216
4672 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4673 function.
4674 (main): Install it as SIGUSR1 handler.
4675 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4676 parameter. Always use "setup" as prefix. Toggle "set
4677 displaced-stepping" off/on depending on global. Don't switch to
4678 thread 1 here.
4679 (top level): Add displaced stepping "off/on" test axis. Update
4680 "setup" calls. Wrap each subtest with with_test_prefix. Test
4681 continuing with a queued signal in each thread.
4682
4496bed7
PA
46832015-04-08 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4686 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4687 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4688 Return early if running to main fails.
4689 * gdb.trace/while-stepping.exp: Likewise.
4690
b97fde92
PA
46912015-04-07 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4694 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4695 interact with inferior program.
4696
f71c18e7
PA
46972015-04-07 Pedro Alves <palves@redhat.com>
4698
4699 * lib/gdb.exp (inferior_spawn_id): New global.
4700 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4701 spawn id after processing the user code.
4702 (default_gdb_start): Set inferior_spawn_id.
4703 (send_inferior): New procedure.
4704 * lib/gdbserver-support.exp (gdbserver_start): Set
4705 inferior_spawn_id.
4706 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4707
6423214f
PA
47082015-04-07 Pedro Alves <palves@redhat.com>
4709
4710 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4711 * lib/gdbserver-support.exp (gdbserver_start): Make
4712 $server_spawn_id global.
4713 (gdbserver_start): Don't wait for gdbserver's spawn id with
4714 expect_background.
4715 (close_gdbserver): New procedure.
4716 (gdb_exit): Rename the default version and reimplement.
4717
71c0ee8c
PA
47182015-04-07 Pedro Alves <palves@redhat.com>
4719
72f4393d 4720 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4721 append the substituted item, not the original item.
4722
203bc29b
PA
47232015-04-07 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4726 gdb_expect.
4727
508a3ddf
PA
47282015-04-07 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4731 output appearing once only.
4732
9f6dbe2b
PA
47332015-04-07 Pedro Alves <palves@redhat.com>
4734
4735 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4736 that doesn't expect anything. Return early if running to main
4737 fails.
4738
337532fa
YQ
47392015-04-07 Yao Qi <yao.qi@linaro.org>
4740
4741 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4742 (child_function): Call alarm.
4743 (main): Move call to alarm into the loop.
4744 * gdb.threads/non-stop-fair-events.exp: Build program with
4745 -DTIMEOUT=$timeout.
4746
01b622d4
DE
47472015-04-06 Doug Evans <xdje42@gmail.com>
4748
4749 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4750 Fix dest parameter to board_info.
4751 (fpc_compile): Ditto.
4752 (gdb_compile_pascal): Rename dest arg to destfile.
4753
961f4160
PMR
47542015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4755
4756 * gdb.ada/funcall_ref.exp: New file.
4757 * gdb.ada/funcall_ref/foo.adb: New file.
4758
cafda597
YQ
47592015-04-02 Yao Qi <yao.qi@linaro.org>
4760
4761 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4762 is remote.
4763
fed040c6
GB
47642015-04-02 Gary Benson <gbenson@redhat.com>
4765
4766 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4767
d11916aa
SS
47682015-04-01 Sasha Smundak <asmundak@google.com>
4769
4770 * gdb.python/py-unwind-maint.c: New file.
4771 * gdb.python/py-unwind-maint.exp: New test.
4772 * gdb.python/py-unwind-maint.py: New file.
4773 * gdb.python/py-unwind.c: New file.
4774 * gdb.python/py-unwind.exp: New test.
4775 * gdb.python/py-unwind.py: New test.
4776
a1471180
PA
47772015-04-01 Pedro Alves <palves@redhat.com>
4778
4779 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4780 to fail instead of non-existent $test.
4781
0bbeccb1
PA
47822015-04-01 Pedro Alves <palves@redhat.com>
4783
4784 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4785 GDBFLAGS if not empty.
4786
3c724c8c
PMR
47872015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4788
4789 * gdb.ada/complete.exp: Remove "multi_line".
4790 * gdb.ada/info_exc.exp: Remove "multi_line".
4791 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4792 * gdb.ada/ptype_field.exp: Remove "multi_line".
4793 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4794 * gdb.ada/tagged.exp: Remove "multi_line".
4795 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4796 [multi_line ...]
4797 * gdb.btrace/delta.exp: Likewise.
4798 * gdb.btrace/exception.exp: Likewise.
4799 * gdb.btrace/function_call_history.exp: Likewise.
4800 * gdb.btrace/instruction_history.exp: Likewise.
4801 * gdb.btrace/nohist.exp: Likewise.
4802 * gdb.btrace/record_goto.exp: Likewise.
4803 * gdb.btrace/segv.exp: Likewise.
4804 * gdb.btrace/stepi.exp: Likewise.
4805 * gdb.btrace/tailcall.exp: Likewise.
4806 * gdb.btrace/unknown_functions.exp: Likewise.
4807 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4808 * lib/gdb.exp: Add the "multi_line" helper.
4809
4eec2deb
PA
48102015-04-01 Pedro Alves <palves@redhat.com>
4811
4812 * gdb.threads/tid-reuse.c: New file.
4813 * gdb.threads/tid-reuse.exp: New file.
4814
df8411da
SDJ
48152015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4816
4817 PR corefiles/16092
4818 * gdb.base/coredump-filter.c: New file.
4819 * gdb.base/coredump-filter.exp: Likewise.
4820
6ef37366
PM
48212015-03-27 Petr Machata <pmachata@redhat.com>
4822
4823 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4824 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4825 (Dwarf::assemble): Initialize them.
4826 (Dwarf::lines): New function.
4827
7ec911b0
JT
48282015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4829
4830 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4831 SYMBOL_PREFIX for x86_64-*-cygwin.
4832
ff908ebf
AW
48332015-03-26 Andy Wingo <wingo@igalia.com>
4834
4835 PR symtab/18148
4836 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4837 const_value but not a location.
4838 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4839 location defined in non-main CUs are visible.
4840
6d5f0679
YQ
48412015-03-26 Yao Qi <yao.qi@linaro.org>
4842
4843 PR testsuite/18139
4844 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4845 Add a line number entry for the same line.
4846 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4847 Add a line number entry for the same line.
4848
2898689b
YQ
48492015-03-26 Yao Qi <yao.qi@linaro.org>
4850
4851 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4852 .int 0.
4853 (func): Likewise. Add .Lfunc_1 label.
4854 Use .Lfunc_1 label.
4855 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4856 .int 0.
4857 (func): Likewise.
4858 Use .Lfunc_1 label.
4859
85180498
YQ
48602015-03-26 Yao Qi <yao.qi@linaro.org>
4861
4862 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4863 Call gdb_compile instead to compile each .s files without debug
4864 information.
4865
8aa08a8d
YQ
48662015-03-26 Yao Qi <yao.qi@linaro.org>
4867
4868 * gdb.base/savedregs.exp (process_saved_regs): Make
4869 "Saved registers:" optional in the pattern.
4870
66849923
MM
48712015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4872
4873 * gdb.btrace/next.exp: Merged into step.exp.
4874 * gdb.btrace/finish.exp: Merged into step.exp.
4875 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4876 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4877 "record goto" and checking the exact replay position.
4878 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4879 check for "Recording format" in "info record" output.
4880 * gdb.btrace/record_goto.exp: Choose test file based on target.
4881 * gdb.btrace/x86-record_goto.S: Renamed into ...
4882 * gdb.btrace/x86_64-record_goto.S: ... this.
4883 * gdb.btrace/i686-record_goto.S: New.
4884 * gdb.btrace/x86-tailcall.S: Renamed into ...
4885 * gdb.btrace/x86_64-tailcall.S: ... this.
4886 * gdb.btrace/i686-tailcall.S: New.
4887 * gdb.btrace/x86-tailcall.c: Renamed into ...
4888 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4889 separate statements. Update test.
4890 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4891 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4892 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4893 * gdb.btrace/tailcall.exp: Choose test file based on target.
4894 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4895
11cc1b74
MM
48962015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4897
4898 * gdb.btrace/exception.exp: Increase BTS buffer size.
4899
a25d8bf9
PA
49002015-03-24 Pedro Alves <palves@redhat.com>
4901
4902 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4903
856e7dd6
PA
49042015-03-24 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.threads/schedlock.exp (test_step): No longer expect that
4907 "set scheduler-locking step" with "next" over a function call runs
4908 threads unlocked.
4909
ad235a41
AT
49102015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4911
4912 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4913
15630549
AT
49142015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4915
4916 PR breakpoints/16466
4917 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4918 * gdb.mi/mi-pending.c (thread_func): New function.
4919 (int main): Add threading support required.
4920 * gdb.mi/mi-pending.exp: Add tests for this issue.
4921 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4922 (pendfunc2): Remove stdio dependency.
4923 * gdb.mi/mi-pendshr2.c: New file.
4924
693dca06
KS
49252015-03-23 Keith Seitz <keiths@redhat.com>
4926
4927 * gdb.linespec/keywords.c: New file.
4928 * gdb.linespec/keywords.exp: New file.
4929
7e993ebf
KS
49302015-03-23 Keith Seitz <keiths@redhat.com>
4931
4932 PR gdb/18021
4933 * gdb.dwarf2/staticvirtual.exp: New test.
4934
bc23328c
JK
49352015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4936
4937 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4938 * README: Remove HP-UX and gdb.hp.
4939 (configuration):
4940 * configure: Regenerate.
4941 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4942 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4943 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4944 gdb.hp/gdb.defects/Makefile.
4945 * gdb.hp/Makefile.in: File deleted.
4946 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4947 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4948 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4949 * gdb.hp/gdb.aCC/run.c: File deleted.
4950 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4951 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4952 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4953 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4954 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4955 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4956 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4957 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4958 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4959 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4960 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4961 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4962 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4963 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4964 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4965 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4966 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4967 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4968 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4969 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4970 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4971 * gdb.hp/gdb.compat/average.c: File deleted.
4972 * gdb.hp/gdb.compat/sum.c: File deleted.
4973 * gdb.hp/gdb.compat/xdb.c: File deleted.
4974 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4975 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4976 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4977 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4978 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4979 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4980 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4981 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4982 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4983 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4984 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4985 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4986 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4987 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4988 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4989 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4990 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4991 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4992 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4993 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4994 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4995 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4996 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4997 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4998 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4999 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5000 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5001 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5002 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5003 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5004 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5005 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5006 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5007 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5008 * gdb.hp/tools/odump: File deleted.
5009
8bf3b159
PA
50102015-03-19 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5013 (saw_thread_3): New globals.
5014 (top level): Increment them when an event for the corresponding
5015 thread is seen.
5016 (no thread starvation): New test.
5017
eb54c8bf
PA
50182015-03-19 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.threads/continue-pending-status.c: New file.
5021 * gdb.threads/continue-pending-status.exp: New file.
5022
32d2e5d6
PA
50232015-03-18 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5026 Use gdb_is_target_remote instead of is_remote. Use
5027 gdb_test_multiple instead of gdb_expect. Exit early if
5028 gdb_test_multiple hits its internal matches. Tighten stepi tests
5029 expected output. Fail on exit with any signal, instead of just
5030 SIGILL.
5031
f68f11b7
YQ
50322015-03-18 Yao Qi <yao.qi@linaro.org>
5033
5034 PR tdep/18107
5035 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5036 variable.
5037 * gdb.base/catch-syscall.exp: Don't skip it on
5038 aarch64*-*-linux* target. Remove elements in all_syscalls.
5039 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5040 target.
5041 (setup_all_syscalls): New proc.
5042
ca5fd19b
YQ
50432015-03-16 Yao Qi <yao.qi@linaro.org>
5044
5045 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5046 (top level): Skip tests if valid_addr_p returns false for
5047 $cmd1 or $cmd2.
5048
85642ba0
AW
50492015-03-11 Andy Wingo <wingo@igalia.com>
5050
5051 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5052
e03f9645
YQ
50532015-03-11 Yao Qi <yao.qi@linaro.org>
5054
5055 * gdb.base/catch-syscall.exp: Fix typo in comments.
5056
5d0962b2
YQ
50572015-03-11 Yao Qi <yao.qi@linaro.org>
5058
5059 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5060
b2df3cef
PA
50612015-03-09 Pedro Alves <palves@redhat.com>
5062
5063 * dg-extract-results.py: Delete.
5064
ef878e53
PA
50652015-03-09 Pedro Alves <palves@redhat.com>
5066
5067 Merge dg-extract-results.sh from GCC upstream (r218843).
5068
5069 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5070 * dg-extract-results.sh: Use --text with grep to avoid issues with
5071 binary files. Fall back to cat -v, if that doesn't work.
5072
9494d219
PA
50732015-03-05 Pedro Alves <palves@redhat.com>
5074
5075 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5076
a8d9763a
SM
50772015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5078
5079 * lib/mi-support.exp (mi_expect_interrupt): Accept
5080 alternative event for when in all-stop mode.
5081
be9957b8
PA
50822015-03-04 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5085
d57be0f4 50862015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5087
5088 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5089
c214c7cf
AA
50902015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5091
5092 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5093 regexps for GDB's current line display, accept a hex address
5094 preceding the line number.
5095
6d74a497
AA
50962015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5097
5098 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5099 the 'arch1' variable for "s390*-linux*" targets.
5100
511aee7c
PA
51012015-03-04 Pedro Alves <palves@redhat.com>
5102
5103 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5104 (main): Pass missing retval argument to pthread_join call.
5105
95e50b27
PA
51062015-03-02 Pedro Alves <palves@redhat.com>
5107
5108 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5109 (top level): Call do_test with non-stop as well.
5110
28054d69
PA
51112015-03-02 Pedro Alves <palves@redhat.com>
5112
5113 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5114 -1.
5115
4fa5d7b4
AA
51162015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5117
5118 * gdb.arch/s390-vregs.exp: New test.
5119 * gdb.arch/s390-vregs.S: New file.
5120
97c18565
PA
51212015-02-27 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5124 call to catch_command_errors.
5125 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5126 catch_command_errors.
5127
a37bfa30
PA
51282015-02-27 Pedro Alves <palves@redhat.com>
5129
5130 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5131 "true" for boolean result.
5132 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5133 prototype of main.
5134
6f98576f
PA
51352015-02-27 Pedro Alves <palves@redhat.com>
5136
5137 * lib/unbuffer_output.c: New file.
5138 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5139 (main): Call gdb_unbuffer_output.
5140
eba5ab56
YQ
51412015-02-27 Yao Qi <yao.qi@linaro.org>
5142
5143 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5144 target.
5145
0def5aaa
DE
51462015-02-26 Doug Evans <dje@google.com>
5147
5148 * gdb.cp/class2.cc (Dbase, D): New classes.
5149 (main): New local delta.
5150 * gdb.cp/class2.exp: Test printing delta.
5151 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5152 (dynbar): New global.
5153 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5154
081a1c2c
JK
51552015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5156
5157 * gdb.compile/compile-ifunc.c: New file.
5158 * gdb.compile/compile-ifunc.exp: New file.
5159
2f41223f
AT
51602015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5161
5162 * gdb.base/structs.exp: Check for correct struct on finish.
5163
03eddd80
YQ
51642015-02-26 Yao Qi <yao.qi@linaro.org>
5165
5166 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5167 is zero.
5168
80c57053
JK
51692015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5170
5171 * gdb.arch/cordic.ko.bz2: New file.
5172 * gdb.arch/cordic.ko.debug.bz2: New file.
5173 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5174
21613c12
YQ
51752015-02-25 Yao Qi <yao.qi@linaro.org>
5176
5177 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5178 aarch64*-*-* target.
5179
d8b901ed
PA
51802015-02-23 Pedro Alves <palves@redhat.com>
5181
5182 * lib/gdb.exp (delete_breakpoints): Rewrite using
5183 gdb_test_multiple.
5184
e5b85ead
PA
51852015-02-23 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.base/info-os.c: Include stdlib.h.
5188
85c3a371
DE
51892015-02-22 Doug Evans <xdje42@gmail.com>
5190
5191 PR symtab/17855
5192 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5193 is read after symbols have been re-read.
5194 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5195 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5196
96553a0c
DE
51972015-02-21 Doug Evans <dje@google.com>
5198
5199 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5200
97a0c697
JK
52012015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 PR corefiles/17808
5204 * gdb.arch/i386-biarch-core.core.bz2: New file.
5205 * gdb.arch/i386-biarch-core.exp: New file.
5206
a47cd6e9
PA
52072015-02-21 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5210 runto_main fails.
5211
c5facdc4
PA
52122015-02-20 Pedro Alves <palves@redhat.com>
5213
5214 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5215 info probes.
5216
2db9a427
PA
52172015-02-20 Pedro Alves <palves@redhat.com>
5218
5219 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5220
60fb7e9e
PA
52212015-02-20 Pedro Alves <palves@redhat.com>
5222
5223 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5224 clean_restart before gdb_target_supports_trace.
5225
5c5019c2
PA
52262015-02-20 Pedro Alves <palves@redhat.com>
5227
5228 PR threads/18006
5229 * gdb.threads/clone-thread_db.c: New file.
5230 * gdb.threads/clone-thread_db.exp: New file.
5231
c9587f88
AT
52322015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5233
5234 PR breakpoints/16812
5235 * gdb.base/catch-gdb-caused-signals.c: New file.
5236 * gdb.base/catch-gdb-caused-signals.exp: New file.
5237
f6a88844
JM
52382015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5239
5240 * configure: Regenerated.
5241 * configure.ac: Use GDB_AC_TRANSFORM.
5242 * aclocal.m4: sinclude ../transform.m4.
5243
497c491b
JM
52442015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5245
5246 * lib/dtrace.exp: New file.
5247 * gdb.base/dtrace-probe.exp: Likewise.
5248 * gdb.base/dtrace-probe.d: Likewise.
5249 * gdb.base/dtrace-probe.c: Likewise.
5250 * lib/pdtrace.in: Likewise.
5251 * configure.ac: Output variables with the transformed names of
5252 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5253 * configure: Regenerated.
5254
03e98035
JM
52552015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5256
5257 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5258 expected message when trying to access $_probe_* convenience
5259 variables while not on a probe.
5260
63cc30e9
JK
52612015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5262
5263 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5264
0703599a
PA
52652015-02-11 Pedro Alves <pedro@codesourcery.com>
5266
5267 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5268 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5269
7e60a48e
DE
52702015-02-10 Doug Evans <xdje42@gmail.com>
5271
5272 * lib/gdb.exp (gdb_load): Always return a result.
5273
01b088bc
PA
52742015-02-10 Pedro Alves <palves@redhat.com>
5275
5276 * gdb.threads/signal-sigtrap.c: New file.
5277 * gdb.threads/signal-sigtrap.exp: New file.
5278
b05ec7a5
AT
52792015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5280
5281 * gdb.trace/no-attach-trace.c: New file.
5282 * gdb.trace/no-attach-trace.exp: New file.
5283
a2c2acaf
MW
52842015-02-09 Mark Wielaard <mjw@redhat.com>
5285
5286 * gdb.dwarf2/atomic.c: New file.
5287 * gdb.dwarf2/atomic-type.exp: Likewise.
5288
31fd9caa
MM
52892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5290
5291 * gdb.btrace/buffer-size.exp: Update "info record" output.
5292 * gdb.btrace/delta.exp: Update "info record" output.
5293 * gdb.btrace/enable.exp: Update "info record" output.
5294 * gdb.btrace/finish.exp: Update "info record" output.
5295 * gdb.btrace/instruction_history.exp: Update "info record" output.
5296 * gdb.btrace/next.exp: Update "info record" output.
5297 * gdb.btrace/nexti.exp: Update "info record" output.
5298 * gdb.btrace/step.exp: Update "info record" output.
5299 * gdb.btrace/stepi.exp: Update "info record" output.
5300 * gdb.btrace/nohist.exp: Update "info record" output.
5301
d33501a5
MM
53022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5303
5304 * gdb.btrace/buffer-size: New.
5305
f4abbc16
MM
53062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5307
5308 * gdb.btrace/delta.exp: Update "info record" output.
5309 * gdb.btrace/enable.exp: Update "info record" output.
5310 * gdb.btrace/finish.exp: Update "info record" output.
5311 * gdb.btrace/instruction_history.exp: Update "info record" output.
5312 * gdb.btrace/next.exp: Update "info record" output.
5313 * gdb.btrace/nexti.exp: Update "info record" output.
5314 * gdb.btrace/step.exp: Update "info record" output.
5315 * gdb.btrace/stepi.exp: Update "info record" output.
5316 * gdb.btrace/nohist.exp: Update "info record" output.
5317
b9d61307
SM
53182015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5319
5320 PR gdb/15678
5321 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5322
e584fdbc
PA
53232015-02-06 Pedro Alves <palves@redhat.com>
5324
5325 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5326 macro.
5327 (seconds_left, again): New globals.
5328 (main): Wait seconds_left in a 1-second sleep loop instead of
5329 sleeping 180 seconds. If 'again' is set, reset the seconds
5330 counter.
5331 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5332 'again' in the inferior before detaching. Print the seconds left.
5333 (options): New global.
5334 (top level): Build program with -DTIMEOUT=$timeout.
5335
77f41761
PA
53362015-02-06 Pedro Alves <palves@redhat.com>
5337
5338 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5339 determine how many seconds to pass to 'alarm'.
5340 * gdb.base/gdb-sigterm.exp (top level): Build program with
5341 -DTIMEOUT=$timeout.
5342 (do_test): Return success/failure indication. Add more verbose
5343 logging. Don't fail if 200 single steps are seen. Instead, fail
5344 when the test times out.
5345 (passes): New global.
5346 (top level): Break the testing loop if testing fails on any
5347 iteration. Use gdb_assert.
5348
b9394193
DB
53492015-02-04 Don Breazeal <donb@codesourcery.com>
5350
5351 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5352 and initialize them.
5353 (ipc_cleanup): New function.
5354 (main): Don't declare shmid, semid, and msqid. Add a call to
5355 atexit so that we call ipc_cleanup on exit.
5356
42d9e528
PA
53572015-02-04 Pedro Alves <palves@redhat.com>
5358
5359 * boards/native-extended-gdbserver.exp: Remove any target variant
5360 specifications from the board name before clearing the isremote
5361 flag from board_info.
5362
ae6ae975
DE
53632015-01-31 Doug Evans <xdje42@gmail.com>
5364
5365 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5366
cfb069a8
GB
53672015-01-31 Gary Benson <gbenson@redhat.com>
5368
5369 * gdb.base/completion.exp: Disable completion limiting for
5370 existing tests. Add new tests to check completion limiting.
5371 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5372
5dd31d79
DE
53732015-01-31 Doug Evans <xdje42@gmail.com>
5374
5375 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5376
9f050062
DE
53772015-01-31 Doug Evans <xdje42@gmail.com>
5378
5379 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5380 entries. Duplicate file section script entries.
5381 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5382 inlined entries. Add test for safe-path rejection.
5383 * gdb.python/py-section-script.c: Add duplicate inlined section script
5384 entries. Duplicate file section script entries.
5385 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5386 inlined entries. Add test for safe-path rejection.
5387
df25ebbd
JB
53882015-01-29 Joel Brobecker <brobecker@adacore.com>
5389
5390 * gdb.ada/disc_arr_bound: New testcase.
5391
4a0ca9ec
JB
53922015-01-29 Joel Brobecker <brobecker@adacore.com>
5393
5394 * gdb.ada/mi_var_array: New testcase.
5395
3a8b707a
DE
53962015-01-27 Doug Evans <dje@google.com>
5397
5398 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5399 Add test for objfile.filename, objfile.username after objfile
5400 has been unloaded.
5401
f8313f6e
JB
54022015-01-26 Joel Brobecker <brobecker@adacore.com>
5403
5404 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5405 the second test to print the name attribute of value
5406 returned by the call to gdb.lookup_type, and adjust
5407 the expected output accordingly.
5408
37bc665e
MW
54092015-01-25 Mark Wielaard <mjw@redhat.com>
5410
5411 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5412 * gdb.base/disp-step-fork.c: Include unistd.h.
5413 * gdb.base/siginfo-obj.c: Include stdio.h.
5414 * gdb.base/siginfo-thread.c: Likewise.
5415 * gdb.mi/non-stop.c: Include unistd.h.
5416 * gdb.mi/nsthrexec.c: Include stdio.h.
5417 * gdb.mi/pthreads.c: Include unistd.h.
5418 * gdb.modula2/unbounded1.c (main): Declare returns int.
5419 * gdb.reverse/consecutive-reverse.c: Likewise.
5420 * gdb.threads/create-fail.c: Include unistd.h.
5421 * gdb.threads/killed.c: Likewise.
5422 * gdb.threads/linux-dp.c: Likewise.
5423 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5424 * gdb.threads/non-ldr-exc-2.c: Likewise.
5425 * gdb.threads/non-ldr-exc-3.c: Likewise.
5426 * gdb.threads/non-ldr-exc-4.c: Likewise.
5427 * gdb.threads/pthreads.c: Include unistd.h.
5428 (main): Declare returns int.
5429 * gdb.threads/tls-main.c (foo): New declaration.
5430 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5431
f7e5394d
SM
54322015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5433
5434 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5435 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5436
743649fd
MW
54372015-01-15 Mark Wielaard <mjw@redhat.com>
5438
5439 * gdb.base/noreturn-return.c: New file.
5440 * gdb.base/noreturn-return.exp: New file.
5441 * gdb.base/noreturn-finish.c: New file.
5442 * gdb.base/noreturn-finish.exp: New file.
5443
198297aa
PA
54442015-01-23 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.threads/continue-pending-after-query.c: New file.
5447 * gdb.threads/continue-pending-after-query.exp: New file.
5448
717cf30c
AG
54492015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5450 Simon Marchi <simon.marchi@ericsson.com>
5451
5452 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5453 * gdb.base/valgrind-db-attach.exp: Same.
5454 * gdb.base/valgrind-infcall.exp: Same.
5455 * lib/mi-support.exp (default_mi_gdb_start): Same.
5456 * lib/prompt.exp (default_prompt_gdb_start): Same.
5457 * lib/gdb.exp (default_gdb_spawn): Same.
5458 (gdb_interact): New.
5459
5460
4b62a76e
JK
54612015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5462
5463 * gdb.compile/compile.exp (pointer to jit function): New test.
5464
b4cdae6f
WW
54652015-01-17 Wei-cheng Wang <cole945@gmail.com>
5466
5467 * lib/gdb.exp (supports_process_record): Return true for
5468 powerpc*-*-linux*.
5469 (supports_reverse): Likewise.
5470
d221e7ef
DB
54712015-01-15 Don Breazeal <donb@codesourcery.com>
5472
5473 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5474 instead of checking whether the target board is remote and
5475 use spawn_wait_for_attach instead of exec/sleep.
5476 * gdb.base/attach-twice.exp: Likewise.
5477
bafffb51
JB
54782015-01-15 Joel Brobecker <brobecker@adacore.com>
5479
5480 * gdb.ada/var_arr_attrs: New testcase.
5481
5589af0e
PA
54822015-01-14 Pedro Alves <palves@redhat.com>
5483 Joel Brobecker <brobecker@adacore.com>
5484
5485 PR gdb/17525
5486 * gdb.base/bp-cmds-execution-x-script.c: New file.
5487 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5488 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5489
6c400b59
PA
54902015-01-14 Pedro Alves <palves@redhat.com>
5491
5492 PR cli/17828
5493 * gdb.base/batch-preserve-term-settings.c: New file.
5494 * gdb.base/batch-preserve-term-settings.exp: New file.
5495
e02c96a7
DE
54962015-01-13 Doug Evans <dje@google.com>
5497
5498 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5499 binary.
5500
576fd14c
JB
55012015-01-13 Joel Brobecker <brobecker@adacore.com>
5502
5503 * Makefile.in (clean mostlyclean): Do not delete *.py.
5504
04dccad0
JB
55052015-01-13 Joel Brobecker <brobecker@adacore.com>
5506
5507 * gdb.python/py-lookup-type.exp: New file.
5508
3d230f71
PA
55092015-01-12 Pedro Alves <palves@redhat.com>
5510
5511 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5512 restore GDBFLAGS before returning.
5513
7e67715d
JK
55142015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5517 is_amd64_regs_target and is_x86_like_target.
5518
f2e0d4b4
DE
55192015-01-11 Doug Evans <xdje42@gmail.com>
5520
5521 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5522 is given without an explicit form.
5523 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5524 attributes.
5525 * gdb.dwarf/corrupt.exp: Ditto.
5526 * gdb.dwarf2/enum-type.exp: Ditto.
5527 * gdb.trace/entry-values.exp: Ditto.
5528 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5529
439250fb
DE
55302015-01-11 Doug Evans <xdje42@gmail.com>
5531
5532 PR gdb/15830
5533 * gdb.base/maint.exp: Remove references to "maint demangle".
5534 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5535 Add tests for explicitly specifying language to demangle.
5536 * gdb.dlang/demangle.exp: Ditto.
5537
ede9f622
PA
55382015-01-09 Pedro Alves <palves@redhat.com>
5539
5540 * gdb.threads/non-stop-fair-events.c: New file.
5541 * gdb.threads/non-stop-fair-events.exp: New file.
5542
a7b796db
PA
55432015-01-09 Pedro Alves <palves@redhat.com>
5544
5545 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5546 the global scope. Set a breakpoint after all threads are started
5547 rather than stepping over two source lines. Expect the prompt.
5548 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5549 global.
5550 (NUM): Now 15.
5551 (main): Use threads_started_barrier to wait for all threads to
5552 start. Main thread no longer calls thread_function. Exit after
5553 180 seconds.
5554 (loop): New function.
5555 (thread_function): Wait on threads_started_barrier barrier. Call
5556 'loop' at each iteration.
5557 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5558 threads have started, instead of hardcoding number of "next"
5559 steps. Use an access watchpoint instead of a write watchpoint.
5560
9665ffdd
PA
55612015-01-09 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5564 (thread_func): Wait on barrier.
5565 (main): Wait for all threads to start before stopping GDB.
5566 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5567 global.
5568 (thread1_func, thread2_func): Wait on barrier.
5569 (main): Wait for all threads to start before stopping GDB.
5570 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5571 New global.
5572 (thread1_func, thread2_func): Wait on barrier.
5573 (main): Wait for all threads to start before stopping GDB.
5574
c945a99f
PA
55752015-01-09 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.threads/attach-many-short-lived-threads.c: New file.
5578 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5579
c1a747c1
PA
55802014-01-09 Pedro Alves <palves@redhat.com>
5581
5582 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5583 instead of to thread 2.
5584 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5585 Add barrier around each pthread_create call instead of around all
5586 calls.
5587 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5588 Set a break on thread_function and have the child threads hit it
5589 one at at a time.
5590
60b3033e
PA
55912015-01-09 Pedro Alves <palves@redhat.com>
5592
5593 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5594 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5595 false.
5596 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5597 checking whether the target board is remote.
5598 * gdb.multi/multi-attach.exp: Likewise.
5599 * gdb.python/py-sync-interp.exp: Likewise.
5600 * gdb.server/ext-attach.exp: Likewise.
5601 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5602 tests that need to attach, instead of checking whether the target
5603 board is remote at the top of the file.
5604
acc018ac
YQ
56052015-01-08 Yao Qi <yao@codesourcery.com>
5606
5607 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5608
50a18af8
JK
56092015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5610
5611 Fix testcase compilation.
5612 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5613
8503d6e1
JB
56142015-01-06 Joel Brobecker <brobecker@adacore.com>
5615
5616 * gdb.python/py-type.exp: Add a couple test about empty
5617 array creation, and negative-length array creation.
5618
cc73dbcc
DE
56192015-01-02 Doug Evans <xdje42@gmail.com>
5620
5621 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5622
0300bbc7
DE
56232015-01-02 Doug Evans <dje@google.com>
5624
5625 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5626
9d85a0ec
YQ
56272014-12-29 Yao Qi <yao@codesourcery.com>
5628
5629 * gdb.trace/entry-values.exp: Update comments. Rename variable
5630 bar_call_foo to returned_from_foo.
5631
87186c6a
MMN
56322014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5633
5634 PR gdb/17394
5635 * gdb.linespec/break-asm-file.c: New file.
5636 * gdb.linespec/break-asm-file.exp: New file.
5637 * gdb.linespec/break-asm-file0.s: New file.
5638 * gdb.linespec/break-asm-file1.s: New file.
5639
1bab7383
YQ
56402014-12-18 Nigel Stephens <nigel@mips.com>
5641 Maciej W. Rozycki <macro@codesourcery.com>
5642
5643 * gdb.base/float.exp: Handle the new output from "info float" on
5644 MIPS targets.
5645
1bc1068a
JK
56462014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5647
5648 Fix MinGW compilation.
5649 * gdb.compile/compile-ops.exp: Update untested message if
5650 !skip_compile_feature_tests.
5651 * gdb.compile/compile-setjmp.exp: Likewise.
5652 * gdb.compile/compile-tls.exp: Likewise.
5653 * gdb.compile/compile.exp: Likewise.
5654 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5655 supported on this host".
5656
b6615d10
DE
56572014-12-16 Doug Evans <xdje42@gmail.com>
5658
5659 * boards/stabs.exp: New file.
5660
25dda427
AA
56612014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5662
5663 * gdb.base/completion.exp: Adjust to format changes of "maint
5664 print user-registers".
5665
bf330350
CU
56662014-12-16 Catalin Udma <catalin.udma@freescale.com>
5667
5668 PR server/17457
5669 * gdb.arch/aarch64-fp.c: New file.
5670 * gdb.arch/aarch64-fp.exp: New file.
5671
395cf596
SDJ
56722014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5673
5674 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5675 r210637, r210913, r211666, r215400, r215817).
5676
5677 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5678 * dg-extract-results.py: New file.
5679 * dg-extract-results.sh: Use it if the environment seems
5680 suitable.
5681
5682 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5683
5684 * dg-extract-results.py (parse_run): Handle warnings that
5685 are printed before a test harness is run.
5686
5687 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5688
5689 * dg-extract-results.py (Named): Remove __cmp__ method.
5690 (output_variation): Use a key to sort variation.harnesses.
5691
5692 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5693
5694 * dg-extract-results.py: For Python 3, force sys.stdout to
5695 handle surrogate escape sequences.
5696 (safe_open): New function.
5697 (output_segment, main): Use it.
5698
5699 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5700
5701 * dg-extract-results.py (Prog.result_re): Include options
5702 in test name.
5703
5704 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5705
5706 * dg-extract-results.py (output_variation): Always sort if
5707 do_sum.
5708
e882ef3c
SM
57092014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5710
5711 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5712 as long as we get pagination notifications.
5713
4992aa20
JM
57142014-12-15 Jason Merrill <jason@redhat.com>
5715
5716 * Makefile.in (check-gdb.%): Restore.
5717 * README: Mention it.
5718
c1b5a1a6
JB
57192014-12-13 Joel Brobecker <brobecker@adacore.com>
5720
5721 * gdb.ada/str_uninit: New testcase.
5722
5537b577
JK
57232014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 PR symtab/17642
5726 * gdb.base/vla-stub-define.c: New file.
5727 * gdb.base/vla-stub.c: New file.
5728 * gdb.base/vla-stub.exp: New file.
5729
bb2ec1b3
TT
57302014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5731 Jan Kratochvil <jan.kratochvil@redhat.com>
5732 Tom Tromey <tromey@redhat.com>
5733
5734 * configure.ac: Add gdb.compile/.
5735 * configure: Regenerate.
5736 * gdb.compile/Makefile.in: New file.
5737 * gdb.compile/compile-ops.exp: New file.
5738 * gdb.compile/compile-ops.c: New file.
5739 * gdb.compile/compile-tls.c: New file.
5740 * gdb.compile/compile-tls.exp: New file.
5741 * gdb.compile/compile-constvar.S: New file.
5742 * gdb.compile/compile-constvar.c: New file.
5743 * gdb.compile/compile-mod.c: New file.
5744 * gdb.compile/compile-nodebug.c: New file.
5745 * gdb.compile/compile-setjmp-mod.c: New file.
5746 * gdb.compile/compile-setjmp.c: New file.
5747 * gdb.compile/compile-setjmp.exp: New file.
5748 * gdb.compile/compile-shlib.c: New file.
5749 * gdb.compile/compile.c: New file.
5750 * gdb.compile/compile.exp: New file.
5751 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5752
4ff709eb
TT
57532014-12-12 Tom Tromey <tromey@redhat.com>
5754
5755 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5756 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5757
6dddd6a5
DE
57582014-12-12 Doug Evans <dje@google.com>
5759
5760 * lib/gdb-python.exp (get_python_valueof): New function.
5761 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5762
71c24708
AA
57632014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5764
5765 * gdb.base/completion.exp: Add test for completion of "info
5766 registers ".
5767
3e29f34a
MR
57682014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5769
5770 * gdb.base/func-ptrs.c: New file.
5771 * gdb.base/func-ptrs.exp: New file.
5772
fc126975
SM
57732014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5774
5775 PR breakpoints/17012
5776 * gdb.base/dprintf-detach.c: New file.
5777 * gdb.base/dprintf-detach.exp: New file.
5778
0a46d518
SM
57792014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5780
5781 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5782 * lib/gdb.exp (target_is_gdbserver): New procedure.
5783
a0be3e44
DE
57842014-12-08 Doug Evans <dje@google.com>
5785
5786 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5787
df1b803a
YQ
57882014-12-05 Yao Qi <yao@codesourcery.com>
5789
5790 * gdb.guile/scm-error.exp: Remove the third argument to
5791 gdb_remote_download.
5792 * gdb.guile/scm-frame-args.exp: Likewise.
5793 * gdb.guile/scm-section-script.exp: Likewise.
5794
ddb9f679
YQ
57952014-12-05 Yao Qi <yao@codesourcery.com>
5796
5797 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5798
86e4ed39
DE
57992014-12-04 Doug Evans <dje@google.com>
5800
5801 * gdb.python/py-objfile.exp: Add tests for
5802 objfile.add_separate_debug_file.
5803
7c50a931
DE
58042014-12-04 Doug Evans <dje@google.com>
5805
5806 * lib/gdb.exp (get_build_id): New function.
5807 (build_id_debug_filename_get): Rewrite to use it.
5808 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5809
621661e3
MR
58102014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5811
5812 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5813 `method(long)', not just 0x0.
5814 * gdb.cp/nsalias.exp: Align code labels to 4.
5815 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5816 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5817 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5818 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5819 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5820 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5821
29f0c3b7
DE
58222014-12-02 Doug Evans <dje@google.com>
5823
e1e061e7 5824 PR symtab/17602
29f0c3b7 5825 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5826 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5827 * gdb.cp/anon-ns.exp: Update.
5828
162078c8
NB
58292014-12-02 Nick Bull <nicholaspbull@gmail.com>
5830
5831 * gdb.python/py-events.py (inferior_call_handler): New.
5832 (register_changed_handler, memory_changed_handler): New.
5833 (test_events.invoke): Register new handlers.
5834 * gdb.python/py-events.exp: Add tests for inferior call,
5835 memory_changed and register_changed events.
5836
fdb09caf
AA
58372014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5838
5839 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5840 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5841 if the linker doesn't understand this.
5842
55cfb2c4
SM
58432014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5844
5845 * gdb.python/python.exp: Change expected reply to help().
5846
9e8cd6df
YQ
58472014-12-01 Yao Qi <yao@codesourcery.com>
5848
5849 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5850 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5851 * configure: Re-generated.
5852
6c659fc2
SC
58532014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5854
5855 * gdb.cp/chained-calls.cc: New file.
5856 * gdb.cp/chained-calls.exp: New file.
5857 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5858
d7fc3181
SM
58592014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5860
5861 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5862 * gdb.dwarf2/symtab-producer.exp: Same.
5863 * gdb.gdb/python-interrupts.exp: Same.
5864 * gdb.gdb/python-selftest.exp: Same.
5865 * gdb.python/py-linetable.exp: Same.
5866 * gdb.python/py-type.exp: Same.
5867 * gdb.python/py-value-cc.exp: Same.
5868 * gdb.python/py-value.exp: Same.
5869
10e79639
YQ
58702014-11-28 Yao Qi <yao@codesourcery.com>
5871
5872 * gdb.base/break-probes.exp: Match library name prefixed with
5873 sysroot.
5874
f28a0564
SM
58752014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5876
5877 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5878 test expected output. Add parentheses for the call to print.
5879 Remove L suffix from integers.
5880
3fe1ce1d
DE
58812014-11-26 Doug Evans <dje@google.com>
5882
5883 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5884
84429e27
YQ
58852014-11-22 Yao Qi <yao@codesourcery.com>
5886
5887 * gdb.trace/entry-values.c: Remove asms.
5888 (foo): Add foo_label.
5889 (bar): Add bar_label.
5890 * gdb.trace/entry-values.exp: Remove code computing foo's
5891 length and bar's length.
5892 (Dwarf::assemble): Invoke function_range for bar and use
5893 MACRO_AT_func for foo.
5894
26741859
YQ
58952014-11-22 Yao Qi <yao@codesourcery.com>
5896
5897 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5898 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5899 Use .Lgcc43_procstart instead of gcc43.
5900
45e44d27
JB
59012014-11-21 Joel Brobecker <brobecker@adacore.com>
5902
5903 * gdb.ada/n_arr_bound: New testcase.
5904
458c8db8
SDJ
59052014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5906
5907 PR breakpoints/10737
5908 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5909 test_catch_syscall_multi_arch.
5910 (test_catch_syscall_multi_arch): New function.
5911
43f3e411
DE
59122014-11-20 Doug Evans <xdje42@gmail.com>
5913
5914 * gdb.base/maint.exp: Update expected output.
5915
0d7b2549
AA
59162014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5917
5918 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5919 4-byte instruction on S390.
5920
8908fca5
JB
59212014-11-19 Joel Brobecker <brobecker@adacore.com>
5922
5923 * gdb.ada/arr_arr: New testcase.
5924
4a46959e
JB
59252014-11-19 Joel Brobecker <brobecker@adacore.com>
5926
5927 * gdb.ada/pkd_arr_elem: New Testcase.
5928
470e2f4e
LM
59292014-11-18 Luis Machado <lgustavo@codesourcery.com>
5930
5931 * gdb.reverse/break-precsave: Expect completion message for
5932 core file reads.
5933 * gdb.reverse/consecutive-precsave.exp: Likewise.
5934 * gdb.reverse/finish-precsave.exp: Likewise.
5935 * gdb.reverse/i386-precsave.exp: Likewise.
5936 * gdb.reverse/machinestate-precsave.exp: Likewise.
5937 * gdb.reverse/sigall-precsave.exp: Likewise.
5938 * gdb.reverse/solib-precsave.exp: Likewise.
5939 * gdb.reverse/step-precsave.exp: Likewise.
5940 * gdb.reverse/until-precsave.exp: Likewise.
5941 * gdb.reverse/watch-precsave.exp: Likewise.
5942
a267f3ad
AA
59432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5944
5945 * gdb.base/bp-permanent.c: Include unistd.h.
5946 * gdb.python/py-framefilter-mi.c (main): Add return type.
5947 * gdb.python/py-framefilter.c (main): Likewise.
5948 * gdb.trace/actions-changed.c (main): Likewise.
5949
12084a9a
AA
59502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5951
5952 * gdb.mi/until.c: Add eye-catchers.
5953 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5954 line numbers.
5955
dc7e1a77
AA
59562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5957
5958 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5959 function header variants in break1.c.
5960 * gdb.base/ena-dis-br.exp: Likewise.
5961 * gdb.base/hbreak2.exp: Likewise.
5962 * gdb.reverse/until-precsave.exp: Drop references to removed
5963 non-prototype function header variants in ur1.c.
5964 * gdb.reverse/until-reverse.exp: Likewise.
5965
41c77605
PM
59662014-11-17 Petr Machata <pmachata@redhat.com>
5967
5968 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5969 ${_cu_offset_size} bytes abbrev offset.
5970
34248c3a
DE
59712014-11-15 Doug Evans <xdje42@gmail.com>
5972
5973 PR symtab/17559
5974 * gdb.base/line-symtabs.exp: New file.
5975 * gdb.base/line-symtabs.c: New file.
5976 * gdb.base/line-symtabs.h: New file.
5977
646da059
YQ
59782014-11-14 Yao Qi <yao@codesourcery.com>
5979
5980 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5981 (func): Add label func_label.
5982 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5983 Replace low_pc and high_pc with MACRO_AT_range.
5984 Replace name, low_pc and high_pc with MACRO_AT_func.
5985
9301ebe6
YQ
59862014-11-14 Yao Qi <yao@codesourcery.com>
5987
5988 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5989 Replace name, low_pc and high_pc with MACRO_AT_func.
5990
f166b542
YQ
59912014-11-14 Yao Qi <yao@codesourcery.com>
5992
5993 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5994 produce debug information.
5995 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5996
0f6e71e3
YQ
59972014-11-14 Yao Qi <yao@codesourcery.com>
5998
5999 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6000 object and get function length.
6001 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6002 with MACRO_AT_func.
6003 (top-level): Replace gdb_compile and clean_restart with
6004 prepare_for_testing.
6005 * gdb.dwarf2/main.c (main): Add label main_label.
6006
876c4df9
YQ
60072014-11-14 Yao Qi <yao@codesourcery.com>
6008
6009 * lib/dwarf.exp (function_range): New procedure.
6010 (Dwarf::_handle_macro_at_func): New procedure.
6011 (Dwarf::_handle_macro_at_range): New procedure.
6012 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6013
02ad9cf1
YQ
60142014-11-14 Yao Qi <yao@codesourcery.com>
6015
6016 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6017 (_handle_attribute): New procedure.
6018
a59add0c
AA
60192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6020
6021 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6022 * gdb.base/call-sc.c (zed): Likewise.
6023 * gdb.base/checkpoint.c (main): Likewise.
6024 * gdb.base/dump.c (main): Likewise.
6025 * gdb.base/gcore.c (main): Likewise.
6026 * gdb.base/huge.c (main): Likewise.
6027 * gdb.base/multi-forks.c (main): Likewise.
6028 * gdb.base/pr10179-a.c (main): Likewise.
6029 * gdb.base/savedregs.c (main): Likewise.
6030 * gdb.base/sigaltstack.c (main): Likewise.
6031 * gdb.base/siginfo.c (main): Likewise.
6032 * gdb.base/structs.c (zed): Likewise.
6033 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6034 * gdb.mi/mi-syn-frame.c (main): Likewise.
6035 * gdb.mi/until.c (foo, main): Likewise.
6036 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6037 * gdb.base/solib-weak.c (foo): Declare.
6038 * gdb.base/attach-twice.c: Include stdio.h.
6039 * gdb.base/weaklib1.c: Likewise.
6040 * gdb.base/weaklib2.c: Likewise.
6041 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6042 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6043 unistd.h.
6044 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6045 * gdb.mi/mi-exit-code.c: Likewise.
6046 * gdb.base/break-interp-lib.c: Include string.h.
6047 * gdb.base/coremaker.c: Likewise.
6048 * gdb.base/testenv.c: Likewise.
6049 * gdb.python/py-finish-breakpoint.c: Likewise.
6050 * gdb.base/inferior-died.c: Include sys/wait.h.
6051 * gdb.base/fileio.c: Include time.h.
6052 * gdb.base/async-shell.c: Include unistd.h.
6053 * gdb.base/dprintf-non-stop.c: Likewise.
6054 * gdb.base/info-os.c: Likewise.
6055 * gdb.mi/mi-console.c: Likewise.
6056 * gdb.mi/watch-nonstop.c: Likewise.
6057 * gdb.python/py-events.c: Likewise.
6058 * gdb.base/async.c (baz): Move up before its invocation.
6059 * gdb.base/code_elim2.c (my_global_func): Likewise.
6060 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6061 * gdb.base/advance.c (func2): Likewise.
6062
3b5d5997
AA
60632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6064
6065 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6066 variant.
6067 * gdb.base/annota3.c: Likewise.
6068 * gdb.base/async.c: Likewise.
6069 * gdb.base/average.c: Likewise.
6070 * gdb.base/call-ar-st.c: Likewise.
6071 * gdb.base/call-rt-st.c: Likewise.
6072 * gdb.base/call-sc.c: Likewise.
6073 * gdb.base/call-strs.c: Likewise.
6074 * gdb.base/ending-run.c: Likewise.
6075 * gdb.base/execd-prog.c: Likewise.
6076 * gdb.base/exprs.c: Likewise.
6077 * gdb.base/foll-exec.c: Likewise.
6078 * gdb.base/foll-fork.c: Likewise.
6079 * gdb.base/foll-vfork.c: Likewise.
6080 * gdb.base/funcargs.c: Likewise.
6081 * gdb.base/gcore.c: Likewise.
6082 * gdb.base/jump.c: Likewise.
6083 * gdb.base/langs0.c: Likewise.
6084 * gdb.base/langs1.c: Likewise.
6085 * gdb.base/langs2.c: Likewise.
6086 * gdb.base/mips_pro.c: Likewise.
6087 * gdb.base/nodebug.c: Likewise.
6088 * gdb.base/opaque0.c: Likewise.
6089 * gdb.base/opaque1.c: Likewise.
6090 * gdb.base/recurse.c: Likewise.
6091 * gdb.base/run.c: Likewise.
6092 * gdb.base/scope0.c: Likewise.
6093 * gdb.base/scope1.c: Likewise.
6094 * gdb.base/setshow.c: Likewise.
6095 * gdb.base/setvar.c: Likewise.
6096 * gdb.base/shmain.c: Likewise.
6097 * gdb.base/shr1.c: Likewise.
6098 * gdb.base/shr2.c: Likewise.
6099 * gdb.base/sigall.c: Likewise.
6100 * gdb.base/signals.c: Likewise.
6101 * gdb.base/so-indr-cl.c: Likewise.
6102 * gdb.base/solib2.c: Likewise.
6103 * gdb.base/structs.c: Likewise.
6104 * gdb.base/sum.c: Likewise.
6105 * gdb.base/vforked-prog.c: Likewise.
6106 * gdb.base/watchpoint.c: Likewise.
6107 * gdb.reverse/shr2.c: Likewise.
6108 * gdb.reverse/until-reverse.c: Likewise.
6109 * gdb.reverse/ur1.c: Likewise.
6110 * gdb.reverse/watch-reverse.c: Likewise.
6111
066a77c5
AA
61122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6113
6114 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6115 variant.
6116 * gdb.base/sepdebug.exp: Drop references to removed code.
6117
4f204ea5
AA
61182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6119
6120 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6121 variant. Preserve original line numbering.
6122 * gdb.base/list1.c: Likewise.
6123
3b377a3a
AA
61242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6125
6126 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6127 variant.
6128 * gdb.base/break1.c: Likewise.
6129 * gdb.base/break.exp: Drop references to removed code.
6130
e444df73
AA
61312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6132
6133 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6134 variant.
6135
8008f2a7
AA
61362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6137
6138 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6139
a5a06887
AA
61402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6141
6142 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6143 logic into perform_all_tests() and invoke it with and without
6144 function header prototypes.
6145 (do_function_calls): Remove conditional XFAIL for PR 5318.
6146 (rerun_and_prepare): Remove duplicate code.
6147 (perform_all_tests): New. Main logic moved here.
6148
44dba9b9
AA
61492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6150
6151 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6152 code guarded by #ifdef NO_PROTOTYPES.
6153 (t_double_many_args): Likewise.
6154 (DEF_FUNC_MANY_ARGS_1): Likewise.
6155 (DEF_FUNC_VALUES_1): Likewise.
6156 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6157 guarded by #ifdef PROTOTYPES.
6158
d1fbcd56
AA
61592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6160
6161 * gdb.mi/mi-console.c: Add eye-catcher.
6162 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6163 instead of literal line number.
6164
b0e59b8f
AA
61652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6166
6167 * gdb.base/shr2.c: Add eye-catcher.
6168 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6169 line number.
6170
78f98cca
AA
61712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6172
6173 * gdb.base/jump.c: Add eye-catchers.
6174 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6175 numbers.
6176
58fa2af0
AA
61772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6178
6179 * gdb.base/execd-prog.c: Add eye-catchers.
6180 * gdb.base/foll-exec.c: Likewise.
6181 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6182 line numbers.
6183
04e5059b
AA
61842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6185
6186 * gdb.base/ending-run.c: Add eye-catchers.
6187 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6188 literal line numbers.
6189
dbfdb174
AA
61902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6191
6192 * gdb.base/call-rt-st.c: Add eye-catchers.
6193 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6194 literal line numbers.
6195
888a2ade
AA
61962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6197
6198 * gdb.base/call-ar-st.c: Add eye-catchers.
6199 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6200 literal line numbers.
6201
6acc2dde
AA
62022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6203
6204 * gdb.base/average.c: Add eye-catchers.
6205 * gdb.base/sum.c: Likewise.
6206 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6207 regexps dynamically.
6208
9ecfcd1d
AA
62092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6210
6211 * gdb.base/solib1.c: Add eye-catchers.
6212 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6213 literal line numbers.
6214
78708b7c
PA
62152014-11-12 Pedro Alves <palves@redhat.com>
6216
6217 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6218 leader has exited.
6219
af48d08f
PA
62202014-11-12 Pedro Alves <palves@redhat.com>
6221
6222 * gdb.arch/i386-bp_permanent.c: New file.
6223 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6224 (srcfile): Set to i386-bp_permanent.c.
6225 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6226 that stepi does not execute the 'leave' instruction, instead of
6227 testing it does execute.
6228 * gdb.base/bp-permanent.c: New file.
6229 * gdb.base/bp-permanent.exp: New file.
6230
af3768e9
DE
62312014-11-10 Doug Evans <xdje42@gmail.com>
6232
6233 PR symtab/17564
6234 * gdb.base/symtab-search-order.exp: New file.
6235 * gdb.base/symtab-search-order.c: New file.
6236 * gdb.base/symtab-search-order-1.c: New file.
6237 * gdb.base/symtab-search-order-shlib-1.c: New file.
6238
9de00a4a
PA
62392014-11-07 Pedro Alves <palves@redhat.com>
6240
6241 PR gdb/17511
6242 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6243 i?86-*-linux*.
6244
e0f52461
SC
62452014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6246
6247 PR c++/17494
6248 * gdb.cp/pr17494.cc: New file.
6249 * gdb.cp/pr17494.exp: New file.
6250
6ce8c980
YQ
62512014-11-02 Yao Qi <yao@codesourcery.com>
6252
6253 * gdb.python/python.exp: Get working directory and match the
6254 output of "set extended-prompt \\w " with it.
6255
02be9a71
DE
62562014-10-30 Doug Evans <dje@google.com>
6257
6258 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6259 in objfiles.
6260 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6261 in progspaces.
6262
3bdff46b
LM
62632014-10-30 Janis Johnson <janisjo@codesourcery.com>
6264
6265 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6266 * gdb.base/realname-expand.exp: Likewise.
6267 * gdb.linespec/macro-relative.exp: Likewise.
6268
ab917dfb
PA
62692014-10-29 Pedro Alves <palves@redhat.com>
6270
6271 PR gdb/17408
6272 * gdb.threads/schedlock.c (some_function): New function.
6273 (call_function): New global.
6274 (MAYBE_CALL_SOME_FUNCTION): New macro.
6275 (thread_function): Call it.
6276 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6277 and use it instead of a global counter. Adjust all callers.
6278 (get_current_thread): Use "find current thread" for test message
6279 here rather than having all callers pass down the same string.
6280 (goto_loop): New procedure, factored out from ...
6281 (my_continue): ... this.
6282 (step_ten_loops): Change parameter from test message to command to
6283 use. Adjust.
6284 (list_count): Delete global.
6285 (check_result): New procedure, factored out from duplicate top
6286 level code.
6287 (continue tests): Wrap in with_test_prefix.
6288 (test_step): New procedure, factored out from duplicate top level
6289 code.
6290 (top level): Test "step" in combination with all scheduler-locking
6291 modes. Test "next" in combination with all scheduler-locking
6292 modes, and in combination with stepping over a function call or
6293 not.
6294 * gdb.threads/next-bp-other-thread.c: New file.
6295 * gdb.threads/next-bp-other-thread.exp: New file.
6296
d3d4baed
PA
62972014-10-29 Pedro Alves <palves@redhat.com>
6298
6299 PR python/17372
6300 * gdb.python/python.exp: Test a multi-line command that spawns
6301 interactive Python.
6302 * gdb.base/multi-line-starts-subshell.exp: New file.
6303
563e8d85
YQ
63042014-10-29 Yao Qi <yao@codesourcery.com>
6305
6306 * gdb.base/fileio.exp: Make directories on host.
6307
0ea4d52e
YQ
63082014-10-29 Yao Qi <yao@codesourcery.com>
6309
6310 * gdb.base/fileio.c (test_write): Close the file.
6311
7f5ef605
PA
63122014-10-28 Pedro Alves <palves@redhat.com>
6313
6314 PR gdb/12623
6315 * gdb.base/sigstep.c (no_handler): New global.
6316 (main): If 'no_handler is true, set the signal handlers to
6317 SIG_IGN.
6318 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6319 with_sw_watch and no_handler parameters. Handle them.
6320 (top level) <stepping over handler when stopped at a breakpoint
6321 test>: Add a test axis for testing with a software watchpoint, and
6322 another for testing with the signal handler set to SIG_IGN.
6323 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6324 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6325
abbdbd03
PA
63262014-10-28 Pedro Alves <palves@redhat.com>
6327
6328 PR gdb/17511
6329 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6330 * gdb.base/sigstep.exp (other_handler_location): New global.
6331 (advance): Support stepping into the signal handler, and running
6332 commands while in the handler.
6333 (in_handler_map): New global.
6334 (top level): In the advance test, add combinations for getting
6335 into the handler with stepping commands, and for running commands
6336 in the handler. Add comment descripting the advancei tests.
6337
1df4399f
PA
63382014-10-28 Pedro Alves <palves@redhat.com>
6339
6340 * gdb.base/sigstep.exp: Use build_executable instead of
6341 prepare_for_testing.
6342 (top level): Move code that starts GDB, runs to main and creates a
6343 display to ...
6344 (restart): ... this new procedure.
6345 (top level): Move backtrace from signal handler test to ...
6346 (validate_backtrace): ... this new procedure.
6347 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6348 with_test_prefix. Always restart GDB.
6349 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6350 with_test_prefix. Always restart GDB. No need to delete
6351 breakpoints after the test.
6352 (test_skip_handler): Remove prefix parameter.
6353 (skip_over_handler, breakpoint_to_handler)
6354 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6355 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6356 restart GDB. No need to delete breakpoints after the test.
6357 (top level): Use foreach to call the test procedures with
6358 different commands.
6359
a5b6e449
PA
63602014-10-28 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6363 instead of GNATS numbers.
6364 * gdb.base/sigbpt.exp: Likewise.
6365 * gdb.base/siginfo.exp: Likewise.
6366 * gdb.base/sigstep.exp: Likewise.
6367
e5f8a7cc
PA
63682014-10-27 Pedro Alves <palves@redhat.com>
6369
6370 * gdb.base/sigstep.c (dummy): New global.
6371 (main): Issue a couple writes to the new global.
6372 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6373 procedures.
6374 (skip_over_handler): Use test_skip_handler.
6375 (top level): Call skip_over_handler for stepi and nexti too.
6376 (breakpoint_over_handler): Use test_skip_handler.
6377 (top level): Call breakpoint_over_handler for stepi and nexti too.
6378
763905a3
YQ
63792014-10-27 Yao Qi <yao@codesourcery.com>
6380
6381 * gdb.trace/tfile.c (adjust_function_address)
6382 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6383 function descriptor.
6384
6f259a23
DB
63852014-10-24 Don Breazeal <donb@codesourcery.com>
6386
6387 * gdb.base/foll-fork.exp (test_follow_fork,
6388 catch_fork_child_follow): Check for updated fork messages emitted
6389 from infrun.c.
6390 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6391 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6392 vfork_and_exec_child_follow_through_step): Check for updated vfork
6393 messages emitted from infrun.c.
6394
09dd9a69
PA
63952014-10-24 Pedro Alves <palves@redhat.com>
6396
6397 * gdb.base/corefile.exp: Remove references to ultrix.
6398 * gdb.base/interrupt.exp: Likewise.
6399 * gdb.base/whatis.exp: Likewise.
6400 * gdb.gdb/selftest.exp: Likewise.
6401 * gdb.threads/manythreads.exp: Likewise.
6402 * gdb.threads/print-threads.exp: Likewise.
6403 * gdb.threads/pthreads.exp:: Likewise.
6404 * gdb.threads/schedlock.exp: Likewise.
6405
3433cfa5
SC
64062014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6407
6408 * gdb.cp/non-trivial-retval.cc: Add a test case.
6409 * gdb.cp/non-trivial-retval.exp: Add a test.
6410
092f880b
YQ
64112014-10-20 Yao Qi <yao@codesourcery.com>
6412
6413 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6414 * gdb.python/py-objfile-script-gdb.py: New file.
6415 * gdb.python/py-objfile-script.exp: Update reference to
6416 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6417 of remote_download. Remove the dest file.
6418
acbdb7f3
YQ
64192014-10-20 Yao Qi <yao@codesourcery.com>
6420
6421 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6422 * gdb.base/step-line.exp: Likewise.
6423 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6424 * gdb.dwarf2/dw2-basic.exp: Likewise.
6425 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6426 * gdb.dwarf2/dw2-filename.exp: Likewise.
6427 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6428 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6429 * gdb.dwarf2/dw2-producer.exp: Likewise.
6430 * gdb.dwarf2/mac-fileno.exp: Likewise.
6431 * gdb.python/py-frame-args.exp: Likewise.
6432 * gdb.python/py-framefilter.exp: Likewise.
6433 * gdb.python/py-mi.exp: Likewise.
6434 * gdb.python/py-objfile-script.exp: Likewise
6435 * gdb.python/py-pp-integral.exp: Likewise.
6436 * gdb.python/py-pp-re-notag.exp: Likewise.
6437 * gdb.python/py-prettyprint.exp: Likewise.
6438 * gdb.python/py-section-script.exp: Likewise.
6439 * gdb.python/py-typeprint.exp: Likewise.
6440 * gdb.python/py-xmethods.exp: Likewise.
6441 * gdb.stabs/weird.exp: Likewise.
6442 * gdb.xml/tdesc-regs.exp: Likewise.
6443
bd286a29
KCY
64442014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6445
6446 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6447 (out_cu): Use addr_len for the size of addresses.
6448 (out_line): Likewise. Size DW_LNE_set_address instruction
6449 according to addr_len.
6450 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6451 (FUNC): Add START_INSNS to definition.
6452
673dc4a0
YQ
64532014-10-18 Yao Qi <yao@codesourcery.com>
6454
6455 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6456 gdb_has_argv0 return true.
6457 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6458 check [target_info exists noargs], check [gdb_has_argv0]
6459 instead.
6460 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6461 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6462 procedures.
6463
4ffbba72
DE
64642014-10-17 Doug Evans <dje@google.com>
6465
6466 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6467 event.
6468 * gdb.python/py-events.py: Add clear_objfiles event.
6469
d096d8c1
DE
64702014-10-17 Doug Evans <dje@google.com>
6471
6472 * gdb.python/py-objfile.exp: Test progspace attribute.
6473
a80db015
LM
64742014-10-17 Luis Machado <lgustavo@codesourcery.com>
6475
6476 * gdb.guile/scm-breakpoint.exp: Do not assume any
6477 directory separators when matching source file paths.
6478 * gdb.python/py-breakpoint.exp: Likewise.
6479 * gdb.reverse/break-precsave.exp: Likewise.
6480 * gdb.reverse/break-reverse.exp: Likewise.
6481 * gdb.reverse/consecutive-precsave.exp: Likewise.
6482 * gdb.reverse/finish-precsave.exp: Likewise.
6483 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6484 * gdb.reverse/finish-reverse.exp: Likewise.
6485 * gdb.reverse/i386-precsave.exp: Likewise.
6486 * gdb.reverse/i387-env-reverse.exp: Likewise.
6487 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6488 * gdb.reverse/machinestate-precsave.exp: Likewise.
6489 * gdb.reverse/machinestate.exp: Likewise.
6490 * gdb.reverse/sigall-precsave.exp: Likewise.
6491 * gdb.reverse/solib-precsave.exp: Likewise.
6492 * gdb.reverse/step-precsave.exp: Likewise.
6493 * gdb.reverse/until-precsave.exp: Likewise.
6494 * gdb.reverse/watch-precsave.exp: Likewise.
6495 * gdb.reverse/watch-reverse.exp: Likewise.
6496
b22089ab
YQ
64972014-10-17 Yao Qi <yao@codesourcery.com>
6498
6499 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6500 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6501
6c4486e6
PA
65022014-10-17 Pedro Alves <palves@redhat.com>
6503
6504 PR gdb/17471
6505 * gdb.base/bg-execution-repeat.c: New file.
6506 * gdb.base/bg-execution-repeat.exp: New file.
6507
0ff33695
PA
65082014-10-17 Pedro Alves <palves@redhat.com>
6509
6510 PR gdb/17300
6511 * gdb.base/continue-all-already-running.c: New file.
6512 * gdb.base/continue-all-already-running.exp: New file.
6513
6fdebc3d
PA
65142014-10-17 Pedro Alves <palves@redhat.com>
6515
6516 PR gdb/17472
6517 * gdb.base/annota-input-while-running.c: New file.
6518 * gdb.base/annota-input-while-running.exp: New file.
6519
32a8097b
PA
65202014-10-17 Pedro Alves <palves@redhat.com>
6521
6522 * gdb.base/callfuncs.exp: emove references to osf.
6523 * gdb.base/sigall.exp: Likewise.
6524 * gdb.gdb/selftest.exp: Likewise.
6525 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6526 * gdb.mi/non-stop.c: Likewise.
6527 * gdb.mi/pthreads.c: Likewise.
6528 * gdb.reverse/sigall-precsave.exp: Likewise.
6529 * gdb.reverse/sigall-reverse.exp: Likewise.
6530 * gdb.threads/pthreads.c: Likewise.
6531 * gdb.threads/pthreads.exp: Likewise.
6532
7a3517ff
YQ
65332014-10-17 Yao Qi <yao@codesourcery.com>
6534
6535 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6536 check 'target_info exists noargs'.
6537 (test_command_prompt_position): Likewise.
6538 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6539 Remove "set args".
6540 (progvar_simple_while_test): Likewise.
6541 (progvar_complex_if_while_test): Likewise.
6542 (if_while_breakpoint_command_test): Likewise.
6543 (infrun_breakpoint_command_test): Likewise.
6544 (breakpoint_command_test): Likewise.
6545 (watchpoint_command_test): Likewise.
6546 (bp_deleted_in_command_test): Likewise.
6547 (temporary_breakpoint_commands): Likewise.
6548
bb99c472
YQ
65492014-10-16 Yao Qi <yao@codesourcery.com>
6550
6551 * gdb.base/remotetimeout.exp: Remove noargs checking.
6552
7c16b83e
PA
65532014-10-15 Pedro Alves <palves@redhat.com>
6554
6555 PR breakpoints/9649
6556 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6557 * gdb.base/breakpoint-in-ro-region.exp
6558 (probe_target_hardware_step): New procedure.
6559 (top level): Probe hardware stepping and hardware breakpoint
6560 support. Test stepping through a read-only region, with both
6561 "breakpoint auto-hw" on and off and both "always-inserted" on and
6562 off.
6563
35a49624
IB
65642014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6565
6566 * gdb.dlang/demangle.exp: Update for demangling changes.
6567
2d1c107c
SC
65682014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6569
6570 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6571 * gdb.cp/non-trivial-retval.exp: Add new tests.
6572
778811d5
SC
65732014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6574
6575 PR c++/13403
6576 PR c++/15154
6577 * gdb.cp/non-trivial-retval.cc: New file.
6578 * gdb.cp/non-trivial-retval.exp: New file.
6579
10c5f0a8
YQ
65802014-10-15 Yao Qi <yao@codesourcery.com>
6581
6582 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6583 remote host.
6584
65d7b369
YQ
65852014-10-15 Yao Qi <yao@codesourcery.com>
6586
6587 * gdb.python/py-symbol.exp: Match file base name if host is
6588 remote, otherwise match file name with dir name.
6589 * gdb.python/py-symtab.exp: Likewise.
6590 * gdb.python/python.exp: Likewise.
6591
46dc1394
YQ
65922014-10-15 Yao Qi <yao@codesourcery.com>
6593
6594 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6595 pattern.
6596 * gdb.python/py-symtab.exp: Likewise.
6597 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6598 locationn.
6599
c40cc657
JB
66002014-10-14 Joel Brobecker <brobecker@adacore.com>
6601
6602 * gdb.ada/addr_arith: New testcase.
6603
2abf49e1
MR
66042014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6605
6606 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6607 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6608 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6609 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6610
f7088df3
SDJ
66112014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6612
6613 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6614 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6615 * gdb.arch/stap-eval-lang-ada.exp: New file.
6616
4dc06805
YQ
66172014-10-14 Yao Qi <yao@codesourcery.com>
6618
6619 * gdb.mi/mi-var-child.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-child.exp: Step over new added statements.
6624 Update test to match the new output.
6625 * gdb.mi/var-cmd.c (nothing1): New function.
6626 (nothing2): New function.
6627 (do_children_tests): Set function pointers by nothing1 and
6628 nothing2.
6629 * gdb.mi/mi-var-display.exp: Update test to match output.
6630 Step to the line specified by $line_dct_nothing.
6631 Increase the number of lines to step.
6632
46a93de2
YQ
66332014-10-14 Yao Qi <yao@codesourcery.com>
6634
6635 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6636 tests.
6637 * gdb.mi/mi2-var-child.exp: Likewise.
6638
14ea52ee
DE
66392014-10-13 Doug Evans <dje@google.com>
6640
6641 * gdb.python/py-objfile.exp: Change name of file name test.
6642
e5c6e92b
DE
66432014-10-13 Doug Evans <dje@google.com>
6644
6645 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6646 from the start of the CU.
6647
c780cc2f
JK
66482014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6649 Yao Qi <yao@codesourcery.com>
6650
6651 Fix "save breakpoints" for "catch" command.
6652 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6653 Remove -nonewline. Match also the added "main" line.
6654
99894e11
JK
66552014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6656
6657 Fix "save breakpoints" for "disable $bpnum" command.
6658 * gdb.base/save-bp.c (main): Add label.
6659 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6660
6e1ac5a3
JK
66612014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6662
6663 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6664
754dd2b0
YQ
66652014-10-11 Yao Qi <yao@codesourcery.com>
6666
6667 * gdb.server/server-kill.exp: Execute command
6668 "set remote trace-status-packet on" before "tstatus".
6669
f90183d7
YQ
66702014-10-11 Yao Qi <yao@codesourcery.com>
6671
6672 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6673 (main): Call getppid.
6674 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6675 and continue to it. Read variable "server_pid".
6676
bf40a607
YQ
66772014-10-11 Yao Qi <yao@codesourcery.com>
6678
6679 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6680
052ca370
YQ
66812014-10-11 Yao Qi <yao@codesourcery.com>
6682
6683 * gdb.threads/thread-find.exp: Don't execute command
6684 "info threads".
6685 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6686 * gdb.threads/linux-dp.exp: Don't check the condition
6687 $threads_created equals to zero.
6688
3831839c
PA
66892014-10-10 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/bigcore.exp: Remove references to IRIX.
6692 * gdb.base/funcargs.exp: Likewise.
6693 * gdb.base/interrupt.exp: Likewise.
6694 * gdb.base/mips_pro.exp: Likewise.
6695 * gdb.base/nodebug.exp: Likewise.
6696 * gdb.base/setvar.exp: Likewise.
6697 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6698
8b9a549d
PA
66992014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6700 Pedro Alves <palves@redhat.com>
6701
6702 PR symtab/14466
6703 * gdb.base/vdso-warning.c: New file.
6704 * gdb.base/vdso-warning.exp: New file.
6705
d48ba5e8
DE
67062014-10-02 Doug Evans <dje@google.com>
6707
6708 * gdb.base/structs.c (main): Don't run forever.
6709
2278c276
PA
67102014-10-02 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6713 (top level) <stop threads 1, stop threads 2>: Use it.
6714
b57bacec
PA
67152014-10-02 Pedro Alves <palves@redhat.com>
6716
6717 * gdb.threads/break-while-running.exp (test): Add new
6718 'update_thread_list' argument. Skip "info threads" if false.
6719 (top level): Add new 'update_thread_list' axis.
6720
13fd3ff3
PA
67212014-10-02 Pedro Alves <palves@redhat.com>
6722
6723 PR breakpoints/17431
6724 * gdb.base/execl-update-breakpoints.c: New file.
6725 * gdb.base/execl-update-breakpoints.exp: New file.
6726
0fec99e8
PA
67272014-10-01 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.base/breakpoint-in-ro-region.c: New file.
6730 * gdb.base/breakpoint-in-ro-region.exp: New file.
6731
2ddf4301
SM
67322014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6733
6734 * gdb.mi/mi-exit-code.exp: New file.
6735 * gdb.mi/mi-exit-code.c: New file.
6736
6a5f3f43
YQ
67372014-09-30 Yao Qi <yao@codesourcery.com>
6738
6739 * lib/prelink-support.exp (build_executable_own_libs): Error if
6740 the target isn't native.
6741
345bcc73
YQ
67422014-09-30 Yao Qi <yao@codesourcery.com>
6743
6744 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6745 false.
6746
a25a5a45
PA
67472014-09-22 Pedro Alves <palves@redhat.com>
6748
6749 * gdb.threads/break-while-running.exp: New file.
6750 * gdb.threads/break-while-running.c: New file.
6751
00ba3162
YQ
67522014-09-19 Yao Qi <yao@codesourcery.com>
6753
6754 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6755 Invoke test. Restart GDB with --readnow and invoke test again.
6756
c3b7b696
YQ
67572014-09-19 Yao Qi <yao@codesourcery.com>
6758
6759 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6760 proc set_breakpoint_on_gcd_function. Invoke
6761 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6762 invoke set_breakpoint_on_gcd_function again.
6763
2b4fd423
DE
67642014-09-18 Doug Evans <dje@google.com>
6765
6766 * gdb.dwarf2/symtab-producer.exp: New file.
6767
a5947601
SDJ
67682014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6769
6770 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6771 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6772 * gdb.base/global-var-nested-by-dso.c: Likewise.
6773 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6774
91c19059
SDJ
67752014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6776 Pedro Alves <palves@redhat.com>
6777
6778 * gdb.base/watch-bitfields.exp: Pass string other than test file
6779 name to prepare_for_testing.
6780 (watch): New procedure.
6781 (expect_watchpoint): Use with_test_prefix.
6782 (top level): Factor out tests to ...
6783 (test_watch_location, test_regular_watch): ... these new
6784 procedures, and use with_test_prefix and gdb_continue_to_end.
6785
bb9d5f81
PP
67862014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6787
6788 PR breakpoints/12526
6789 * gdb.base/watch-bitfields.exp: New file.
6790 * gdb.base/watch-bitfields.c: New file.
6791
635856f5
PA
67922014-09-16 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6795 software and hardware addresses, not software address against
6796 itself.
6797
7280ceea
PA
67982014-09-16 Pedro Alves <palves@redhat.com>
6799
6800 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6801 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6802
428b16bd
PA
68032014-09-16 Pedro Alves <palves@redhat.com>
6804
6805 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6806 files.
6807 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6808 "*-*-vxworks*" throughout.
6809 * gdb.base/break.exp: Likewise.
6810 * gdb.base/default.exp: Likewise.
6811 * gdb.base/scope.exp: Likewise.
6812 * gdb.base/sepdebug.exp: Likewise.
6813 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6814 throughout.
6815 * gdb.base/run.c: Likewise.
6816 * gdb.base/sepdebug.c: Likewise.
6817 * gdb.hp/gdb.aCC/run.c: Likewise.
6818 * gdb.reverse/until-reverse.c: Likewise.
6819 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6820
666d413c
YQ
68212014-09-16 Yao Qi <yao@codesourcery.com>
6822
6823 * boards/local-remote-host-native.exp: New file.
6824
57cbd724
DE
68252014-09-14 Doug Evans <xdje42@gmail.com>
6826
6827 * gdb.threads/queue-signal.c (thread_count): New variable.
6828 (thread_count_mutex, thread_count_condvar): New variables.
6829 (incr_thread_count, wait_all_threads_running): New functions.
6830 (main): Wait for all threads to be in their thread functions.
6831
81219e53
DE
68322014-09-13 Doug Evans <xdje42@gmail.com>
6833
6834 * gdb.threads/queue-signal.c: New file.
6835 * gdb.threads/queue-signal.exp: New file.
6836
3714cea7
DE
68372014-09-13 Doug Evans <xdje42@gmail.com>
6838
6839 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6840 be consistent with what default_gdb_init uses.
6841 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6842 the plain text of the prompt. Add some logging printfs.
6843 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6844
fa43b1d7
PA
68452014-09-12 Pedro Alves <palves@redhat.com>
6846
6847 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6848 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6849 * gdb.arch/i386-size-overlap.exp: Likewise.
6850 * gdb.arch/i386-size.exp: Likewise.
6851 * gdb.arch/i386-unwind.exp: Likewise.
6852 * gdb.base/a2-run.exp: Likewise.
6853 * gdb.base/break.exp: Likewise.
6854 * gdb.base/charset.exp: Likewise.
6855 * gdb.base/chng-syms.exp: Likewise.
6856 * gdb.base/commands.exp: Likewise.
6857 * gdb.base/dbx.exp: Likewise.
6858 * gdb.base/find.exp: Likewise.
6859 * gdb.base/funcargs.exp: Likewise.
6860 * gdb.base/jit-simple.exp: Likewise.
6861 * gdb.base/reread.exp: Likewise.
6862 * gdb.base/sepdebug.exp: Likewise.
6863 * gdb.base/step-bt.exp: Likewise.
6864 * gdb.cp/mb-inline.exp: Likewise.
6865 * gdb.cp/mb-templates.exp: Likewise.
6866 * gdb.objc/basicclass.exp: Likewise.
6867 * gdb.threads/killed.exp: Likewise.
6868
9d9bf2df
EBM
68692014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6870
6871 PR tdep/17379
6872 * gdb.arch/powerpc-stackless.S: New file.
6873 * gdb.arch/powerpc-stackless.exp: New file.
6874
1cf2f1b0
JK
68752014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * gdb.base/attach.c: Include unistd.h.
6878 (main): Call alarm. Add label postloop.
6879 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6880 gdb_breakpoint, gdb_continue_to_breakpoint.
6881 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6882
98880d46
PA
68832014-09-11 Pedro Alves <palves@redhat.com>
6884
6885 PR gdb/17347
6886 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6887 * gdb.base/attach.exp (test_command_line_attach_run): New
6888 procedure.
6889 (top level): Call it.
6890
4c92ff2c
PA
68912014-09-11 Pedro Alves <palves@redhat.com>
6892
6893 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6894 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6895 (do_command_attach_tests): Use spawn_wait_for_attach.
6896 * gdb.base/solib-overlap.exp: Likewise.
6897 * gdb.multi/multi-attach.exp: Likewise.
6898 * gdb.python/py-prompt.exp: Likewise.
6899 * gdb.python/py-sync-interp.exp: Likewise.
6900 * gdb.server/ext-attach.exp: Likewise.
6901
3adc1a7d
GKB
69022014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6903
6904 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6905 command in testcase. Simplify testcase.
6906
96334934
JB
69072014-09-10 Joel Brobecker <brobecker@adacore.com>
6908
6909 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6910
eb479039
JB
69112014-09-10 Joel Brobecker <brobecker@adacore.com>
6912
6913 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6914
deede10c
JB
69152014-09-10 Joel Brobecker <brobecker@adacore.com>
6916
6917 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6918
7828a5f5
JB
69192014-09-10 Joel Brobecker <brobecker@adacore.com>
6920
6921 * gdb.dwarf2/dynarr-ptr.c: New file.
6922 * gdb.dwarf2/dynarr-ptr.exp: New file.
6923
33aeebcf
MR
69242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6925
6926 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6927 of 30 rather than hardcoding 120 for a slow test case. Take the
6928 `gdb,timeout' target setting into account for this calculation.
6929 Don't extend the timeout for the test cases that don't need it.
6930
7b415901
MR
69312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6932
6933 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6934 a factor of 2 for a slow test case. Take the `gdb,timeout'
6935 target setting into account for this calculation.
6936 * gdb.reverse/until-precsave.exp: Increase the timeout by
6937 a factor of 15 and 3 respectively rather than adding 120
6938 for a pair of slow test cases. Take the `gdb,timeout'
6939 target setting into account for this calculation.
6940
4a40f85a
MR
69412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6942
6943 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6944 timeout, don't pass one down to gdb_expect.
6945 (gdb_expect): Rework timeout selection.
6946
09635af7
MR
69472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6948
6949 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6950 exception on timeout.
6951 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6952 (gdbserver_start_extended): Catch any `gdbserver_start' error
6953 exceptions.
6954 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6955 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6956 `gdbserver_gdb_load' error exceptions.
6957
2bdd10b7
MR
69582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6959
6960 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6961 120 on waiting for the TCP socket to open.
6962
316935f0
DE
69632014-09-09 Doug Evans <xdje42@gmail.com>
6964
6965 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6966 _caller_matches, _any_caller_is, _any_caller_matches.
6967
83740597
DE
69682014-09-09 Doug Evans <xdje42@gmail.com>
6969
6970 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6971
4c122fc3
YQ
69722014-09-09 Yao Qi <yao@codesourcery.com>
6973
6974 * gdb.mi/mi-var-display.exp: Set print symbol off.
6975
a9f116cb
GKB
69762014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6977
6978 PR gdb/17035
6979 * gdb.base/commands.exp: Add tests to verify user-defined
6980 commands with empty bodies.
6981 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6982 python commands in `show user command`.
6983 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6984 scheme commands in `show user command`.
6985
c75bd3a2
JK
69862014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6987
6988 PR python/17355
6989 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6990 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6991 * gdb.python/py-framefilter-invalidarg.exp: New file.
6992 * gdb.python/py-framefilter-invalidarg.py: New file.
6993
faa42425
DE
69942014-09-06 Doug Evans <xdje42@gmail.com>
6995
6996 PR 15276
6997 * gdb.python/py-caller-is.c: New file.
6998 * gdb.python/py-caller-is.exp: New file.
6999
474ca4f6
SDJ
70002014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7001
7002 PR gdb/17235
7003 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7004 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7005
eb0b0463
SDJ
70062014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7007
7008 PR fortran/17237
7009 * gdb.fortran/print-formatted.exp: New file.
7010 * gdb.fortran/print-formatted.f90: Likewise.
7011
5f3b99cf
SS
70122014-09-03 Sasha Smundak <asmundak@google.com>
7013
7014 * gdb.python/py-frame.exp: Test Frame.read_register.
7015
7d793aa9
SDJ
70162014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7017
7018 PR python/16699
7019 * gdb.python/py-completion.exp: New file.
7020 * gdb.python/py-completion.py: Likewise.
7021
fb0576e9
DE
70222014-08-28 Doug Evans <dje@google.com>
7023
7024 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7025 eax,etc. are live with values set by gdb and thus the compiler can't
7026 use them.
7027 * gdb.arch/i386-pseudo.c (main): Ditto.
7028
ee92b0dd
DE
70292014-08-27 Doug Evans <dje@google.com>
7030
7031 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7032
6649db35
DE
70332014-08-25 Doug Evans <dje@google.com>
7034
7035 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7036 (main): Ditto.
7037
564b7600
DE
70382014-08-25 Doug Evans <dje@google.com>
7039
7040 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7041
3881fb67
YQ
70422014-08-24 Yao Qi <yao@codesourcery.com>
7043
7044 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7045 symbol off.
7046 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7047
a05a36a5
DE
70482014-08-22 Doug Evans <dje@google.com>
7049
7050 PR 17276
7051 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7052 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7053 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7054
7c343b48
YQ
70552014-08-22 Yao Qi <yao@codesourcery.com>
7056
7057 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7058 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7059 * gdb.python/python.exp: Likewise. Use .py file on the host
7060 instead of the build.
7061
22fd09ae
JK
70622014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7063
7064 * gdb.threads/gcore-stale-thread.c: New file.
7065 * gdb.threads/gcore-stale-thread.exp: New file.
7066
a8454a7c
PA
70672014-08-21 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7070 * gdb.base/gcore-relro-pie.exp: Likewise.
7071 * gdb.base/gcore-relro.exp: Likewise.
7072 * gdb.base/gcore.exp: Likewise.
7073 * gdb.base/print-symbol-loading.exp: Likewise.
7074 * gdb.threads/gcore-thread.exp: Likewise.
7075 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7076
2a31c623
PA
70772014-08-20 Pedro Alves <palves@redhat.com>
7078 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7081 configure.
7082 (EXPECT): Handle READ1 being set.
7083 (all): Depend on EXTRA_RULES.
7084 (check-read1, expect-read1, read1.so, read1): New rules.
7085 * README (Testsuite Parameters): Document the READ1 make variable.
7086 (Race detection): New section.
7087 * configure: Regenerate.
7088 * configure.ac: If build==host==target, and running under a
7089 GNU/glibc system, add read1 to the extra Makefile rules.
7090 (EXTRA_RULES): AC_SUBST it.
7091 * lib/read1.c: New file.
7092
d36430db
JB
70932014-08-20 Joel Brobecker <brobecker@adacore.com>
7094
7095 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7096 the handling of variables declared as a typedef to an array
7097 which a DW_AT_data_location attribute.
7098
9a0dc9e3
PA
70992014-08-19 Andrew Burgess <aburgess@broadcom.com>
7100 Pedro Alves <palves@redhat.com>
7101
7102 PR symtab/14604
7103 PR symtab/14605
7104 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7105 gdb_test.
7106
0718a8da
PA
71072014-08-19 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7110
13b448cd
YQ
71112014-08-19 Yao Qi <yao@codesourcery.com>
7112
7113 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7114 right line.
7115
1cbf5077
DB
71162014-08-18 David Blaikie <dblaikie@gmail.com>
7117
7118 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7119
bf0fae19
JB
71202014-08-18 Joel Brobecker <brobecker@adacore.com>
7121
7122 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7123 attribute in array range.
7124
3c8c5dcc
JB
71252014-08-18 Joel Brobecker <brobecker@adacore.com>
7126
7127 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7128
e66d4446
SC
71292014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7130
7131 PR c++/17132
7132 * gdb.cp/pr17132.cc: New file.
7133 * gdb.cp/pr17132.exp: New file.
7134
940df408
SC
71352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7136
7137 * gdb.python/py-xmethods.py (A_getarrayind)
7138 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7139 Use 'print' with function call syntax.
7140 (E_method_matcher.match): Fix tab vs space indentation mixup.
7141
ebcc6c3a
YQ
71422014-08-15 Yao Qi <yao@codesourcery.com>
7143
7144 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7145 false.
7146
775e0f04
YQ
71472014-08-15 Yao Qi <yao@codesourcery.com>
7148
7149 * gdb.cp/casts.exp: Set print symbol off.
7150 * gdb.cp/class2.exp: Likewise.
7151 * gdb.cp/overload.exp: Likewise.
7152 * gdb.cp/templates.exp: Likewise.
7153
d769e349
DE
71542014-08-11 Doug Evans <dje@google.com>
7155
7156 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7157 (test_load_shlib): Update.
7158
20c6f1e1
YQ
71592014-08-09 Yao Qi <yao@codesourcery.com>
7160
7161 * gdb.base/display.exp: Invoke is_address_zero_readable.
7162 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7163 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7164 * gdb.base/hbreak-unmapped.exp: Return if
7165 is_address_zero_readable returns true.
7166 * gdb.base/signest.exp: Likewise.
7167 * gdb.base/signull.exp: Likewise.
7168 * gdb.base/sigbpt.exp: Likewise.
7169 * gdb.guile/scm-disasm.exp: Do the test if
7170 is_address_zero_readable returns false.
7171 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7172 * gdb.python/py-arch.exp: Likewise.
7173 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7174 * lib/gdb.exp (is_address_zero_readable): New proc.
7175
5792e8e3
YQ
71762014-08-09 Yao Qi <yao@codesourcery.com>
7177
7178 PR testsuite/13443
7179 * gdb.mi/mi-var-display.exp: Make test messages unique.
7180
3cecbbbe
TT
71812014-08-04 Tom Tromey <tromey@redhat.com>
7182
7183 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7184 target 0".
7185
00b51ff5
TT
71862014-08-04 Tom Tromey <tromey@redhat.com>
7187
7188 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7189 "target_resume".
7190
6908c509
JB
71912014-08-01 Joel Brobecker <brobecker@adacore.com>
7192
7193 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7194 inner_vla_struct_object_size.
7195 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7196 as xfail.
7197
cc6563d2
PA
71982014-07-30 Pedro Alves <palves@redhat.com>
7199
7200 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7201 comment.
7202
7e09a223
YQ
72032014-07-29 Yao Qi <yao@codesourcery.com>
7204
7205 PR gdb/17206
7206 * gdb.base/until-nodebug.exp: New.
7207
7ebdbe92
DE
72082014-07-28 Doug Evans <xdje42@gmail.com>
7209
7210 PR guile/17203
7211 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7212 previously existing parameter, and previously ambiguously spelled
7213 parameter.
7214
fdb1adc6
WN
72152014-07-28 Will Newton <will.newton@linaro.org>
7216
7217 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7218
186fcde0
DE
72192014-07-26 Ludovic Courtès <ludo@gnu.org>
7220 Doug Evans <xdje42@gmail.com>
7221
7222 PR guile/17146
7223 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7224
70509625
PA
72252014-07-25 Pedro Alves <palves@redhat.com>
7226
7227 * gdb.threads/signal-command-handle-nopass.c: New file.
7228 * gdb.threads/signal-command-handle-nopass.exp: New file.
7229 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7230 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7231 * gdb.threads/signal-delivered-right-thread.c: New file.
7232 * gdb.threads/signal-delivered-right-thread.exp: New file.
7233
c3f814a1
PA
72342014-07-25 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.base/double-prompt-target-event-error.exp
7237 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7238 match.
7239 (cancel_pagination_in_target_event): Rework double prompt
7240 detection.
7241 * gdb.base/paginate-after-ctrl-c-running.exp
7242 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7243 <return>' match.
7244 * gdb.base/paginate-bg-execution.exp
7245 (test_bg_execution_pagination_return)
7246 (test_bg_execution_pagination_cancel): Remove '-notransfer
7247 <return>' matches.
7248 * gdb.base/paginate-execution-startup.exp
7249 (test_fg_execution_pagination_return)
7250 (test_fg_execution_pagination_cancel): Remove '-notransfer
7251 <return>' matches.
7252 * gdb.base/paginate-inferior-exit.exp
7253 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7254 match.
7255 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7256 * lib/gdb.exp (pagination_prompt): Run text through
7257 string_to_regexp.
7258 (gdb_test_multiple): Match $pagination_prompt instead of
7259 "<return>".
7260 (string_to_regexp): Move to lib/gdb-utils.exp.
7261
e214cf6c
JK
72622014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7263
7264 * gdb.arch/amd64-entry-value-paramref.S: New file.
7265 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7266 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7267 * gdb.arch/amd64-optimout-repeat.S: New file.
7268 * gdb.arch/amd64-optimout-repeat.c: New file.
7269 * gdb.arch/amd64-optimout-repeat.exp: New file.
7270
17d0c5c8
JK
72712014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7272
7273 PR gdb/17170
7274 * gdb.base/statistics.exp: New file.
7275
b8b8facf
DE
72762014-07-17 Doug Evans <dje@google.com>
7277
74b49205 7278 PR gdb/17170
b8b8facf
DE
7279 * gdb.base/maint.exp: Update testing of per-command stats.
7280
1b5d0ab3
PA
72812014-07-16 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7284 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7285 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7286 (tfile_write_buf): New functions.
7287 (add_memory_block): Rewrite using the above.
7288 (adjust_function_address): New function.
7289 (FUNCTION_ADDRESS): New macro.
7290 (write_basic_trace_file): Remove short_x local, and use
7291 tfile_write_16. Change type of func_addr local to unsigned long
7292 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7293 here. Cast argument of add_memory_block to char pointer.
7294 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7295 (main): Remove parameters.
7296 * gdb.trace/tfile.exp: Remove nowarnings.
7297
4d974e88
SM
72982014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7299
7300 * gdb.base/debug-expr.exp: Test string evaluation with
7301 "debug expression" on.
7302
41e99568
PA
73032014-07-15 Pedro Alves <palves@redhat.com>
7304
7305 * gdb.base/reread.exp: Use clean_restart.
7306
487d9753
PL
73072014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7308
7309 * gdb.arch/avr-flash-qualifer.c: New.
7310 * gdb.arch/avr-flash-qualifer.exp: New.
7311
cc1c52ad
PA
73122014-07-14 Pedro Alves <palves@redhat.com>
7313
7314 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7315 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7316
1e973570
PA
73172014-07-14 Pedro Alves <palves@redhat.com>
7318
7319 * gdb.base/double-prompt-target-event-error.c: New file.
7320 * gdb.base/double-prompt-target-event-error.exp: New file.
7321
93d6eb10
PA
73222014-07-14 Pedro Alves <palves@redhat.com>
7323
7324 PR gdb/17072
7325 * gdb.base/paginate-inferior-exit.c: New file.
7326 * gdb.base/paginate-inferior-exit.exp: New file.
7327
0017922d
PA
73282014-07-14 Pedro Alves <palves@redhat.com>
7329
7330 PR gdb/17072
7331 * gdb.base/paginate-bg-execution.c: New file.
7332 * gdb.base/paginate-bg-execution.exp: New file.
7333
94696ad3
PA
73342014-07-14 Pedro Alves <palves@redhat.com>
7335
7336 PR gdb/17072
7337 * gdb.base/paginate-execution-startup.c: New file.
7338 * gdb.base/paginate-execution-startup.exp: New file.
7339 * lib/gdb.exp (pagination_prompt): New global.
7340 (default_gdb_spawn): New procedure, factored out from
7341 default_gdb_spawn.
7342 (default_gdb_start): Adjust to call default_gdb_spawn.
7343 (gdb_spawn): New procedure.
7344
bd293940
PA
73452014-07-14 Pedro Alves <palves@redhat.com>
7346
7347 * lib/gdb.exp (gdb_assert): New procedure.
7348 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7349
c933f875
PA
73502014-07-14 Pedro Alves <palves@redhat.com>
7351
7352 * gdb.base/execution-termios.c: New file.
7353 * gdb.base/execution-termios.exp: New file.
7354
d98b7a16
TT
73552014-07-14 Tom Tromey <tromey@redhat.com>
7356
7357 * gdb.cp/vla-cxx.cc: New file.
7358 * gdb.cp/vla-cxx.exp: New file.
7359
548740d6
TT
73602014-07-14 Tom Tromey <tromey@redhat.com>
7361
7362 * gdb.reverse/rerun-prec.c: New file.
7363 * gdb.reverse/rerun-prec.exp: New file.
7364
a25eb028
MR
73652014-07-12 Maciej W. Rozycki <macro@mips.com>
7366 Maciej W. Rozycki <macro@codesourcery.com>
7367
7368 * lib/gdb-utils.exp: New file.
7369 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7370 inline `gdb_init_command' processing.
7371 (gdb_start_cmd): Likewise.
7372 * lib/mi-support.exp (mi_run_cmd): Likewise.
7373 * README: Document `gdb_init_command' and `gdb_init_commands'.
7374
218c2655
JK
73752014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7376
7377 Fix false FAIL running under a very long directory name.
7378 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7379 and "set print elements 10000". Twice.
7380
5401fde3
YQ
73812014-07-11 Yao Qi <yao@codesourcery.com>
7382
7383 * gdb.base/exprs.exp: "set print symbol off".
7384
e76126e8
PA
73852014-07-11 Pedro Alves <palves@redhat.com>
7386
7387 * gdb.threads/kill.c: New file.
7388 * gdb.threads/kill.exp: New file.
7389
2d6f0de6
YQ
73902014-07-10 Yao Qi <yao@codesourcery.com>
7391
7392 * gdb.trace/tfile.c (write_basic_trace_file)
7393 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7394 address written to trace file.
7395
7180e04a
PA
73962014-07-09 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.base/attach-wait-input.exp: New file.
7399 * gdb.base/attach-wait-input.c: New file.
7400
9a9a7608
AB
74012014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7402
7403 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7404 setting up test structures.
7405 (main): Call new test function.
7406 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7407 test function, continue into test function and walk test
7408 structures.
7409
161ac41e
YQ
74102014-07-02 Yao Qi <yao@codesourcery.com>
7411
7412 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7413 'bar_start' at the beginning of functions 'foo' and 'bar'
7414 respectively.
7415 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7416 instead of 'foo' and 'bar'.
7417
1f267ae3
MM
74182014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7419
7420 * gdb.btrace/segv.exp: New.
7421 * gdb.btrace/segv.c: New.
7422
2b239efb
LM
74232014-07-02 Luis Machado <lgustavo@codesourcery.com>
7424
7425 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7426 instruction.
7427
cf363f18
MW
74282014-06-30 Mark Wielaard <mjw@redhat.com>
7429
7430 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7431 vulture, vilify, villar): New volatile array constants.
7432 (vindictive, vegetation): New const volatile array constants.
7433 * gdb.base/volatile.exp: Test volatile and const volatile array
7434 types.
7435
aebf9d24
AA
74362014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7437
7438 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7439 target lacks support for awatch, rwatch, or hbreak.
7440
b67a2c6f
YQ
74412014-06-27 Yao Qi <yao@codesourcery.com>
7442
7443 * gdb.multi/dummy-frame-restore.exp: New.
7444 * gdb.multi/dummy-frame-restore.c: New.
7445
aef92902
MM
74462014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7447
7448 * gdb.btrace/gcore.exp: New.
7449
8e9db26e
PA
74502014-06-23 Pedro Alves <palves@redhat.com>
7451
7452 * gdb.base/watchpoint-reuse-slot.c: New file.
7453 * gdb.base/watchpoint-reuse-slot.exp: New file.
7454
70afc5b7
SC
74552014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7456
7457 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7458 progspace's filename in 'info', 'enable' and 'disable' command
7459 tests.
7460
b972bd9c
JK
74612014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7462
7463 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7464 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7465 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7466
125f8a3d
GB
74672014-06-20 Gary Benson <gbenson@redhat.com>
7468
7469 * gdb.arch/i386-avx.exp: Fix include file location.
7470 * gdb.arch/i386-sse.exp: Likewise.
7471
3ed9baed
IB
74722014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7473
7474 * gdb.dlang/expression.exp: New file.
7475
034f788c
PA
74762014-06-19 Pedro Alves <palves@redhat.com>
7477
7478 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7479 out from ...
7480 (top level): ... here. Iterate running tests under different
7481 scheduler-locking settings.
7482
45371d0c
LM
74832014-06-18 Luis Machado <lgustavo@codesourcery.com>
7484
7485 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7486 to DW_FORM_addr and use non-zero addresses.
7487
5d376983
SC
74882014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7489
7490 PR gdb/17017
7491 * gdb.python/py-xmethods.cc: Add global function call counters and
7492 increment them in their respective functions. Remove "cout"
7493 statements.
7494 * gdb.python/py-xmethods.exp: Make tests check the global function
7495 call counters instead of depending on inferior IO.
7496
a1aa2221
LM
74972014-06-18 Don Breazeal <donb@codesourcery.com>
7498
7499 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7500 Deleted procedure.
7501 (explicit_fork_parent_follow): Deleted procedure.
7502 (explicit_fork_child_follow): Deleted procedure.
7503 (test_follow_fork): New procedure.
7504 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7505 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7506 procedure calls.
7507
0fc05997
YQ
75082014-06-17 Yao Qi <yao@codesourcery.com>
7509
7510 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7511 CP1252.
7512
70795c52
LM
75132014-06-17 Luis Machado <lgustavo@codesourcery.com>
7514
7515 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7516 Initialize ptr and S explicitly.
7517 (skip_type_update_when_not_use_rtti_test): Likewise.
7518
6be47f0c
KS
75192014-06-16 Keith Seitz <keiths@redhat.com>
7520
7521 PR mi/15863
7522 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7523 the inferior is started.
7524
d03de421
PA
75252014-06-16 Pedro Alves <palves@redhat.com>
7526
7527 * gdb.base/break-main-file-remove-fail.c: New file.
7528 * gdb.base/break-main-file-remove-fail.exp: New file.
7529 * gdb.base/break-unload-file.exp: Use build_executable instead of
7530 prepare_for_testing.
7531 (test_break): New parameter "initial_load". Handle it.
7532 (top level): Add initial_load cmdline/file axis.
7533
f9579b99
TT
75342014-06-12 Tom Tromey <tromey@redhat.com>
7535
7536 * gdb.base/completion.exp: Don't use directory name in test.
7537
3657956b
GB
75382014-06-09 Gary Benson <gbenson@redhat.com>
7539
7540 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7541 separate the always-available ANSI-standard signals from the
7542 signals that require checking.
7543 (main): Likewise.
7544 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7545 Likewise.
7546 (main): Likewise.
7547
4186eb54
KS
75482014-06-07 Keith Seitz <keiths@redhat.com>
7549
7550 Revert:
7551 PR c++/16253
7552 * gdb.cp/var-tag.cc: New file.
7553 * gdb.cp/var-tag.exp: New file.
7554 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7555 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7556 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7557 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7558
25326a28 75592014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7560
7561 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7562
829155c9
PA
75632014-06-06 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7566 in target debug output instead of looking at RSP packets,
7567 disabling the test on any target that uses hardware stepping.
7568 Update comments.
7569
61c8d22e
PA
75702014-06-06 Pedro Alves <palves@redhat.com>
7571
7572 * gdb.base/break-unload-file.exp: Fix typo.
7573
d9a47287
YQ
75742014-06-06 Yao Qi <yao@codesourcery.com>
7575
7576 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7577 from "jit_function" to "^jit_function".
7578
e5e01dbf
YQ
75792014-06-06 Yao Qi <yao@codesourcery.com>
7580
7581 * gdb.base/async.c (foo): Add one statement.
7582 * gdb.base/async.exp: Get the next instruction address and
7583 match the output of "nexti" by instruction address. Match
7584 the hex address in the output of "finish".
7585
73ba372c
GB
75862014-06-06 Gary Benson <gbenson@redhat.com>
7587
7588 * gdb.base/call-signals.c: Remove preprocessor conditionals
7589 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7590 SIGSEGV and SIGTERM.
7591 * gdb.base/sigall.c: Likewise.
7592 * gdb.base/unwindonsignal.c: Likewise.
7593 * gdb.reverse/sigall-reverse.c: Likewise.
7594
831517df
YQ
75952014-06-06 Yao Qi <yao@codesourcery.com>
7596
7597 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7598 readable, skip the test.
7599
b8b91e98
YQ
76002014-06-06 Yao Qi <yao@codesourcery.com>
7601
7602 * gdb.threads/staticthreads.c (thread_function): Move the line
7603 setting breakpoint on forward.
7604 * gdb.threads/staticthreads.exp: Update comments.
7605
fb934770
LC
76062014-06-05 Ludovic Courtès <ludo@gnu.org>
7607
7608 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7609 "history-append! type error".
7610
6ef284bd
SM
76112014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7612
7613 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7614 erroneous dprintf expected input.
7615
a872e241
DE
76162014-06-04 Doug Evans <xdje42@gmail.com>
7617
7618 * gdb.guile/scm-generics.exp: Delete.
7619
16f691fb
DE
76202014-06-04 Doug Evans <xdje42@gmail.com>
7621
7622 * gdb.guile/scm-breakpoint.exp: Update.
7623 Add tests for breakpoint registration.
7624
012370f6
TT
76252014-06-04 Tom Tromey <tromey@redhat.com>
7626
7627 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7628 VLA-in-union.
7629 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7630 inner_vla_struct, vla_union types. Initialize objects of those
7631 types and compute their sizes.
7632
9f5a4cef
HZ
76332014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7634 Hui Zhu <hui@codesourcery.com>
7635
7636 * gdb.base/fileio.exp: Add test for shell not available as well as
7637 available.
7638 * gdb.base/fileio.c (test_system): Check for shell twice.
7639
90a45c4d
YQ
76402014-06-04 Yao Qi <yao@codesourcery.com>
7641
7642 * gdb.base/auto-connect-native-target.exp: Remove redundant
7643 space from the regexp pattern.
7644
70017e41
YQ
76452014-06-04 Yao Qi <yao@codesourcery.com>
7646
7647 * gdb.base/default.exp: Replace "child" with "native" in
7648 regexp pattern.
7649
883964a7
SC
76502014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7651
7652 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7653 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7654 * gdb.python/py-xmethods.py: Python script supporting the
7655 new testcase and tests.
7656
ef370185
JB
76572014-06-03 Joel Brobecker <brobecker@adacore.com>
7658 Pedro Alves <palves@redhat.com>
7659
7660 PR breakpoints/17000
7661 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7662 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7663
1e2ccb61
BM
76642014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7665
7666 * gdb.base/subst.exp: Add tests to verify partial path matching
7667 output.
7668
c6ec5ab2
PA
76692014-06-03 Pedro Alves <palves@redhat.com>
7670
7671 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7672 target that doesn't use software single-stepping.
7673
835c559f
PA
76742014-06-03 Pedro Alves <palves@redhat.com>
7675
7676 PR breakpoints/17000
7677 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7678 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7679
06eb1586
DE
76802014-06-02 Doug Evans <xdje42@gmail.com>
7681
7682 * gdb.guile/scm-parameter.exp: New file.
7683
e698b8c4
DE
76842014-06-02 Doug Evans <xdje42@gmail.com>
7685
7686 * gdb.guile/scm-cmd.c: New file.
7687 * gdb.guile/scm-cmd.exp: New file.
7688
ded03782
DE
76892014-06-02 Doug Evans <xdje42@gmail.com>
7690
7691 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7692 pretty-printer lookup.
7693 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7694 (make-pp_s-printer): Call it.
7695 (make-pretty-printer-from-dict): New function.
7696 (lookup-pretty-printer-maker-from-dict): New function.
7697 (*pretty-printer*): Simplify.
7698 (make-objfile-pp_s-printer): New function.
7699 (install-objfile-pretty-printers!): New function.
7700 (make-progspace-pp_s-printer): New function.
7701 (install-progspace-pretty-printers!): New function.
7702 * gdb.guile/scm-progspace.c: New file.
7703 * gdb.guile/scm-progspace.exp: New file.
7704
41fac0cf
PA
77052014-06-02 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.base/dprintf-bp-same-addr.c: New file.
7708 * gdb.base/dprintf-bp-same-addr.exp: New file.
7709
96ae5695
EBM
77102014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7711
7712 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7713 * gdb.arch/powerpc-power.s: Likewise.
7714
da02b3a8
JB
77152014-06-02 Joel Brobecker <brobecker@adacore.com>
7716
7717 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7718
c72b2e7b
YQ
77192014-06-01 Yao Qi <yao@codesourcery.com>
7720
7721 * gdb.base/watchpoint.exp (test_watch_location): Check null
7722 pointer can be dereferenced. If not, do the test, otherwise
7723 skip it.
7724
53e8a631
AB
77252014-05-30 Andrew Burgess <aburgess@broadcom.com>
7726
7727 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7728 results.
7729 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7730
938f0e2f
AB
77312014-05-30 Andrew Burgess <aburgess@broadcom.com>
7732
7733 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7734 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7735 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7736 * gdb.arch/amd64-invalid-stack-top.c: New file.
7737 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7738
9ba6657a
PA
77392014-05-30 Pedro Alves <palves@redhat.com>
7740
7741 PR breakpoints/17000
7742 * gdb.base/sss-bp-on-user-bp.c: New file.
7743 * gdb.base/sss-bp-on-user-bp.exp: New file.
7744
522c09bf
DB
77452014-05-30 David Blaikie <dblaikie@gmail.com>
7746
7747 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7748 gnu_inline semantics via attribute.
7749 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7750 source explicitly specifies the required semantics.
7751
bf4ef81e
MR
77522014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7753
7754 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7755
329ea579
PA
77562014-05-29 Pedro Alves <palves@redhat.com>
7757 Tom Tromey <tromey@redhat.com>
7758
7759 * gdb.base/async-shell.exp: Don't enable target-async.
7760 * gdb.base/async.exp
7761 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7762 parameter. Adjust.
7763 (top level): Don't test with "target-async".
7764 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7765 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7766 * gdb.base/inferior-died.exp: Don't enable target-async.
7767 * gdb.base/interrupt-noterm.exp: Likewise.
7768 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7769 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7770 * gdb.mi/mi-nonstop.exp: Likewise.
7771 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7772 * gdb.mi/mi-nsintrall.exp: Likewise.
7773 * gdb.mi/mi-nsmoribund.exp: Likewise.
7774 * gdb.mi/mi-nsthrexec.exp: Likewise.
7775 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7776 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7777 * gdb.python/py-evsignal.exp: Don't enable target-async.
7778 * gdb.python/py-evthreads.exp: Likewise.
7779 * gdb.python/py-prompt.exp: Likewise.
7780 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7781 * gdb.server/solib-list.exp: Don't enable target-async.
7782 * gdb.threads/thread-specific-bp.exp: Likewise.
7783 * lib/mi-support.exp: Adjust to use mi-async.
7784
fd664c91
PA
77852014-05-29 Pedro Alves <palves@redhat.com>
7786
7787 PR gdb/13860
7788 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7789 reason, even in sync mode.
7790
251bde03
PA
77912014-05-29 Pedro Alves <palves@redhat.com>
7792 Hui Zhu <hui@codesourcery.com>
7793
7794 PR PR15693
7795 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7796 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7797 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7798 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7799
7f3c0343
JB
78002014-05-28 Joel Brobecker <brobecker@adacore.com>
7801
7802 * config/monitor.exp (gdb_target_monitor): Replace use of
7803 "set remotebaud" by "set serial baud".
7804
b2715b27
AW
78052014-05-26 Andy Wingo <wingo@igalia.com>
7806
7807 * gdb.guile/scm-breakpoint.exp:
7808 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7809 properties instead of gdb-object-properties.
7810
498a4489
YQ
78112014-05-26 Yao Qi <yao@codesourcery.com>
7812
7813 * gdb.server/no-thread-db.exp: Specify source file name
7814 explicitly when setting a breakpoint.
7815
589fdceb
MM
78162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7817
7818 * gdb.btrace/vdso.c: New.
7819 * gdb.btrace/vdso.exp: New.
7820
e9089e05
MM
78212014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7822
7823 * gdb.base/gcore.exp (capture_command_output): Move ...
7824 * lib/gdb.exp (capture_command_output): ... here.
7825
67b5c0c1
MM
78262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7827
7828 * gdb.btrace/data.exp: Test memory access during btrace replay.
7829
a2199296
SM
78302014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7831
7832 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7833
17b2616c
PA
78342014-05-21 Pedro Alves <palves@redhat.com>
7835
7836 PR gdb/13860
7837 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7838 (top level): Test that output related to execution commands is
7839 sent to the console with CLI commands, but not with MI commands.
7840 Test that breakpoint events are always mirrored to the console.
7841 Also expect the new source line to be output after a "next" in
7842 async mode too. Make it a pass/fail test.
7843 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7844 output.
7845 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7846
5166082f
PA
78472014-05-21 Pedro Alves <palves@redhat.com>
7848
7849 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7850 Use them to test variations of "list" after reaching a breakpoint.
7851 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7852 Test "list" with listsize 10 after reaching a breakpoint.
7853 * gdb.python/python.exp (decode_line current location line
7854 number): Adjust expected line number.
7855
2f25d70f
SM
78562014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7857
7858 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7859 behavior for $args, pass it directly to "run".
7860
ff604a67
MR
78612014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7862
7863 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7864 30000 to 65536.
7865
6a3cb8e8
PA
78662014-05-21 Pedro Alves <palves@redhat.com>
7867
7868 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7869 auto-connect-native-target off".
7870 * gdb.base/auto-connect-native-target.c: New file.
7871 * gdb.base/auto-connect-native-target.exp: New file.
7872
4ebfc96e
PA
78732014-05-21 Pedro Alves <palves@redhat.com>
7874
7875 * gdb.base/default.exp: Test "target native" instead of "target
7876 child".
7877
36d46afb
MW
78782014-05-21 Mark Wielaard <mjw@redhat.com>
7879
7880 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7881
5876f503
JK
78822014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7883
7884 Fix TLS access for -static -pthread.
7885 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7886 <HAVE_TLS> (thread_function, main): Initialize it.
7887 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7888 Add clean_restart.
7889 <$have_tls != "">: Check TLSVAR.
7890
0256a6ac
PA
78912014-05-21 Pedro Alves <palves@redhat.com>
7892
7893 * gdb.base/dcache-line-read-error.c: New.
7894 * gdb.base/dcache-line-read-error.exp: New.
7895
936d2992
PA
78962014-05-20 Pedro Alves <palves@redhat.com>
7897
7898 * gdb.base/compare-sections.c: New file.
7899 * gdb.base/compare-sections.exp: New file.
7900
802e8e6d
PA
79012014-05-20 Pedro Alves <palves@redhat.com>
7902
7903 * gdb.base/break-idempotent.c: New file.
7904 * gdb.base/break-idempotent.exp: New file.
7905
e59fa00f
MM
79062014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7907
7908 * gdb.btrace/nohist.exp: New.
7909
8b696e31
YQ
79102014-05-20 Yao Qi <yao@codesourcery.com>
7911
7912 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7913 gdb.reverse directory and gdb_reverse_timeout exists in board
7914 setting.
7915 * README: Document gdb_reverse_timeout.
7916
73c9764f
YQ
79172014-05-20 Yao Qi <yao@codesourcery.com>
7918
7919 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7920 'test_file_name'. Treat args as a string instead of a list.
7921 (gdb_init): Rename argument 'args' by 'test_file_name'.
7922
f1f4348a
JK
79232014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7924
7925 * gdb.arch/powerpc-power.exp: New file.
7926 * gdb.arch/powerpc-power.s: New file.
7927
0dbe70ce
DE
79282014-05-16 Doug Evans <dje@google.com>
7929
7930 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7931 * gdb.base/completion.exp: Check that all expected files exist
7932 before doing file completion.
0dbe70ce 7933
8d551b02
DE
79342014-05-16 Doug Evans <dje@google.com>
7935
7936 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7937 Update.
7938 (do_syscall_tests_without_xml): Update.
7939
73eb7709
PA
79402014-05-16 Pedro Alves <palves@redhat.com>
7941
7942 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7943 instead of "unknown output after running".
7944
3fae92fc
YQ
79452014-05-16 Yao Qi <yao@codesourcery.com>
7946
7947 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7948 file1.txt from host at the end.
7949 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7950
c2b2ccc5
DE
79512014-05-15 Doug Evans <dje@google.com>
7952
7953 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7954 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7955 loading file. Add test for TU lookup.
7956
8c217a4b
SM
79572014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7958
7959 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7960 calling "-exec-arguments" or "set args" before running the
7961 inferior.
7962
3deb39c6
SM
79632014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7964
7965 * lib/mi-support.exp (mi_expect_stop): Expect message for
7966 inferiors that exit with non-zero exit code.
7967
71a79f8c
YQ
79682014-05-14 Yao Qi <yao@codesourcery.com>
7969
7970 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7971 match absolute path on remote host.
7972 (test_file_list_exec_source_files): Remove "/" from the
7973 pattern.
7974
f23fcd46
YQ
79752014-05-14 Yao Qi <yao@codesourcery.com>
7976
7977 * boards/local-remote-host-notty.exp (${board}_file): New
7978 proc.
7979
9404b58f
KM
79802014-05-07 Kyle McMartin <kyle@redhat.com>
7981
7982 Pushed by Joel Brobecker <brobecker@adacore.com>.
7983 * gdb.arch/aarch64-atomic-inst.c: New file.
7984 * gdb.arch/aarch64-atomic-inst.exp: New file.
7985
5e45f04c
YQ
79862014-05-07 Yao Qi <yao@codesourcery.com>
7987
7988 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7989 in current context" too.
7990
c888a17d
KS
79912014-05-05 Keith Seitz <keiths@redhat.com>
7992
7993 * gdb.linespec/ls-dollar.exp: Add test for linespec
7994 file:convenience_variable.
7995
290a839c
YQ
79962014-05-05 Yao Qi <yao@codesourcery.com>
7997
7998 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7999 traceframes into tfile and ctf trace files. Read data from
8000 trace file and test collected data.
8001 (gdb_collect_locals_test): Likewise.
8002 (gdb_unavailable_registers_test): Likewise.
8003 (gdb_unavailable_floats): Likewise.
8004 (gdb_collect_globals_test): Likewise.
8005 (top-level): Append "ctf" to trace_file_targets if GDB
8006 supports.
8007
b5262cd0
YQ
80082014-05-05 Yao Qi <yao@codesourcery.com>
8009
8010 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8011 code to ...
8012 (gdb_collect_args_test_1): ... it. New proc.
8013 (gdb_collect_locals_test): Move some code to ...
8014 (gdb_collect_locals_test_1): ... it. New proc.
8015 (gdb_unavailable_registers_test): Move some code to ...
8016 (gdb_unavailable_registers_test_1): ... it. New proc.
8017 (gdb_unavailable_floats): Move some code to ...
8018 (gdb_unavailable_floats_1): ... it. New proc.
8019
30a1e6cc
SDJ
80202014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8021
8022 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8023 probes to test for bitness recognition.
8024 * gdb.arch/amd64-stap-optional-prefix.exp
8025 (test_probe_value_without_reg): New procedure.
8026 Add code to test for different kinds of bitness.
8027
f33da99a
SDJ
80282014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8029
8030 PR breakpoints/16889
8031 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8032 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8033
5b80f00d
PA
80342014-05-01 Pedro Alves <palves@redhat.com>
8035
8036 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8037 gdb_file_cmd if no file is specified.
8038 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8039 last_loaded_file to set the remote exec-file.
8040
f8c2a73c
PA
80412014-05-01 Pedro Alves <palves@redhat.com>
8042
8043 * boards/local-remote-host.exp: New file.
8044
be6e8ac7
PA
80452014-05-01 Pedro Alves <palves@redhat.com>
8046
8047 * boards/local-remote-host.exp: Rename to ...
8048 * boards/local-remote-host-notty.exp: ... this.
8049
cac0dc8f
JB
80502014-04-28 Joel Brobecker <brobecker@adacore.com>
8051
8052 * gdb.ada/dyn_arrayidx: New testcase.
8053
9730e6cc
YQ
80542014-04-26 Yao Qi <yao@codesourcery.com>
8055
8056 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8057 and compute the length of function main. Save it in
8058 $main_length.
8059 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8060 (top-level): Use gdb_compile to compile objects into
8061 executable and restart GDB. Remove invocation to
8062 prepare_for_testing.
8063
7ae1a6a6
PA
80642014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8065 Pedro Alves <palves@redhat.com>
8066
8067 PR server/16255
8068 * gdb.multi/multi-attach.c: New file.
8069 * gdb.multi/multi-attach.exp: New file.
8070
4082afcc
PA
80712014-04-25 Pedro Alves <palves@redhat.com>
8072
8073 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8074 user.
8075 (top level): Test that "set remote conditional-breakpoints-packet
8076 off" works as intended.
8077 * gdb.base/dprintf.exp: Test that "set remote
8078 breakpoint-commands-packet off" works as intended.
8079 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8080 New function.
8081 (top level): Call it.
8082 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8083 remote fast-tracepoints-packet off" works as intended.
8084 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8085 * lib/gdb.exp (gdb_is_target_remote): ... here.
8086
2abc3f8d
DB
80872014-04-24 David Blaikie <dblaikie@gmail.com>
8088
8089 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8090 ensure clang would not discard them.
8091 * gdb.base/gdbvars.c: Ditto.
8092 * gdb.base/memattr.c: Ditto.
8093 * gdb.base/whatis.c: Ditto.
8094 * gdb.python/py-prettyprint.c: Ditto.
8095 * gdb.trace/actions.c: Ditto.
8096 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8097 ensure clang would not discard it.
8098
bfd39632
DB
80992014-04-24 David Blaikie <dblaikie@gmail.com>
8100
8101 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8102 clang to emit the full definition of type required by the test
8103 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8104
22842ff6
DB
81052014-04-24 David Blaikie <dblaikie@gmail.com>
8106
8107 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8108 coax Clang into emitting the definition of the type.
8109 * gdb.cp/pr10728-x.h (y): Ditto.
8110 * gdb.cp/pr10728-y.cc (y): Ditto.
8111
c2e827ad
DB
81122014-04-24 David Blaikie <dblaikie@gmail.com>
8113
8114 * gdb.base/label.exp: XFAIL label related tests under Clang.
8115 * gdb.cp/cplabel.exp: Ditto.
8116 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8117 under Clang those using labels.
8118
4c2d33e7
YQ
81192014-04-25 Yao Qi <yao@codesourcery.com>
8120
8121 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8122 double_label.
8123 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8124 partial_label and double_label.
8125
56083b99
DB
81262014-04-24 David Blaikie <dblaikie@gmail.com>
8127
8128 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8129
25d4e99d
DB
81302014-04-24 David Blaikie <dblaikie@gmail.com>
8131
8132 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8133 of the function to work across GCC and Clang.
8134 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8135 pointer types (const void ** const V void **).
8136
01f9f808
MS
81372014-04-24 Michael Sturm <michael.sturm@mintel.com>
8138 Walfred Tedeschi <walfred.tedeschi@intel.com>
8139
8140 * Makefile.in (EXECUTABLES): Added i386-avx512.
8141 * gdb.arch/i386-avx512.c: New file.
8142 * gdb.arch/i386-avx512.exp: Likewise.
8143
4b48d439
KS
81442014-04-23 Keith Seitz <keiths@redhat.com>
8145
8146 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8147 (mi_make_breakpoint_table): New procedure.
8148 (mi_create_breakpoint): Use mi_make_breakpoint
8149 and return the result.
8150 (mi_make_breakpoint): New procedure.
8151 (mi_build_kv_pairs): New procedure.
8152
8153 * gdb.mi/mi-break.exp: Remove unused globals,
8154 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8155 All callers updated.
8156 * gdb.mi/mi-dprintf.exp: Use variable to track command
8157 number.
8158 Update all callers of mi_create_breakpoint and use
8159 mi_make_breakpoint_table.
8160 Remove any unused global variables.
8161 * gdb.mi/mi-nonstop.exp: Likewise.
8162 * gdb.mi/mi-nsintrall.exp: Likewise.
8163 * gdb.mi/mi-nsmoribund.exp: Likewise.
8164 * gdb.mi/mi-nsthrexec.exp: Likewise.
8165 * gdb.mi/mi-reverse.exp: Likewise.
8166 * gdb.mi/mi-simplerun.exp: Likewise.
8167 * gdb.mi/mi-stepn.exp: Likewise.
8168 * gdb.mi/mi-syn-frame.exp: Likewise.
8169 * gdb.mi/mi-until.exp: Likewise.
8170 * gdb.mi/mi-var-cp.exp: Likewise.
8171 * gdb.mi/mi-var-display.exp: Likewise.
8172 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8173 * gdb.mi/mi2-var-child.exp: Likewise.
8174 * gdb.mi/mi-vla-c99.exp: Likewise.
8175 * lib/mi-support.exp: Likewise.
8176
8177 From Ian Lance Taylor <iant@cygnus.com>:
8178 * lib/gdb.exp (parse_args): New procedure.
8179
08351840
PA
81802014-04-23 Pedro Alves <palves@redhat.com>
8181
8182 * gdb.base/break-unload-file.c: New file.
8183 * gdb.base/break-unload-file.exp: New file.
8184 * gdb.base/sym-file-lib.c (baz): New function.
8185 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8186 field.
8187 (load): Store the segment's mapped size.
8188 (unload): New function.
8189 (unload_shlib): New function.
8190 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8191 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8192 set a breakpoint at baz, and call it.
8193 * gdb.base/sym-file.exp: New tests for stale breakpoint
8194 instructions.
8195
076855f9
PA
81962014-04-23 Pedro Alves <palves@redhat.com>
8197
8198 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8199 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8200 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8201 * gdb.base/hbreak-unmapped.c: New file.
8202 * gdb.base/hbreak-unmapped.exp: New file.
8203 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8204 * lib/gdb.exp (gdb_is_target_remote): ... here.
8205
483805cf
PA
82062014-04-22 Pedro Alves <palves@redhat.com>
8207
8208 * gdb.base/consecutive-step-over.c: New file.
8209 * gdb.base/consecutive-step-over.exp: New file.
8210
06d97543
PA
82112014-04-22 Pedro Alves <palves@redhat.com>
8212
8213 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8214 instead of send_gdb/gdb_expect.
8215
b4429ea2
YQ
82162014-04-22 Yao Qi <yao@codesourcery.com>
8217
8218 * lib/trace-support.exp (generate_tracefile): New procedure.
8219 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8220 return 0.
8221 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8222 if generate_tracefile returns 1.
8223
51d48146
PA
82242014-04-18 Tom Tromey <palves@redhat.com>
8225 Pedro alves <tromey@redhat.com>
8226
8227 PR backtrace/15558
8228 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8229 with a backtrace limit.
8230 * gdb.python/py-frame-inline.exp: Test running to an inline
8231 function with a backtrace limit, and printing the newest frame.
8232 * gdb.python/py-frame-inline.c (main): Call f.
8233
bd1dce5f
MS
82342014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8235
8236 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8237
40d1a503
MS
82382014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8239
8240 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8241 Drop prefix from unsupported source file path.
8242
389b98f7
YQ
82432014-04-17 Yao Qi <yao@codesourcery.com>
8244
8245 * lib/gdb.exp (with_target_charset): New proc.
8246 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8247 with_target_charset.
8248 (test_print_strings): Likewise.
8249 (test_repeat_bytes): Likewise.
8250 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8251 for some tests.
8252
22869d73
KS
82532014-04-16 Keith Seitz <keiths@redhat.com>
8254
8255 PR gdb/15827
8256 * gdb.dwarf2/corrupt.c: New file.
8257 * gdb.dwarf2/corrupt.exp: New file.
8258
c4f87ca6
KS
82592014-04-16 Keith Seitz <keiths@redhat.com>
8260
8261 PR c++/16597
8262 * gdb.cp/namelessclass.cc: New file.
8263 * gdb.cp/namelessclass.exp: New file.
8264 * gdb.cp/namelessclass.S: New file.
8265
ab19de87
DE
82662014-04-16 Doug Evans <dje@google.com>
8267
8268 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8269 Add comment.
8270 (gdbserver_default_get_comm_port): New function.
8271 (gdbserver_start): Check if board file provided
8272 "gdbserver,get_comm_port" and use it if so.
8273 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8274 (gdb,socketport): Set to "stdio".
8275 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8276 (stdio_gdbserver_template): Delete.
8277 (${board}_get_remote_address): Update.
8278 (${board}_build_remote_cmd): Delete.
8279 (${board}_get_comm_port): New function.
8280 (${board}_spawn): Update.
8281 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8282 Delete.
8283 (${board}_get_remote_address): Update.
8284 (${board}_get_comm_port): New function.
8285
fc98a809
AB
82862014-04-16 Andrew Burgess <aburgess@broadcom.com>
8287
8288 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8289 appearing in any order.
8290
87fd9e6e
DE
82912014-04-15 Doug Evans <dje@google.com>
8292
8293 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8294 uninitialized value of "description".
8295
099fc3ea
KS
82962014-04-15 Keith Seitz <keiths@redhat.com>
8297
8298 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8299 Remove unused globals.
8300 (test_running_the_program): Likewise.
8301 (test_controlled_execution): Likewise.
8302 (test_controlling_breakpoints): Likewise.
8303 (test_program_termination): Likewise.
8304
5da151d4
KS
83052014-04-15 Keith Seitz <keiths@redhat.com>
8306
8307 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8308 unused globals.
8309 (test_rbreak_creation_and_listing): Likewise.
8310 (test_ignore_count): Likewise.
8311 (test_error): Likewise.
8312
35e5d2f0
PA
83132014-04-15 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8316 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8317 sym-file-loader.c.
8318 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8319 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8320 to sym-file-loader.c.
8321 (struct library): Forward declare.
8322 (load_shlib, lookup_function): Change prototypes.
8323 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8324 (translate_offset): Remove declarations.
8325 (get_text_addr): New declaration.
8326 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8327 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8328 sym-file-loader.h.
8329 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8330 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8331 here from sym-file-loader.h.
8332 (struct library): New structure.
8333 (load_shlib, lookup_function): Change prototypes and adjust to
8334 work with a struct library.
8335 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8336 (translate_offset): Make static.
8337 (get_text_addr): New function.
8338 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8339
eb4c1710
PA
83402014-04-15 Pedro Alves <palves@redhat.com>
8341
8342 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8343
2d1baf52
PA
83442014-04-15 Pedro Alves <palves@redhat.com>
8345
8346 * gdb.base/sym-file-loader.c: Include <limits.h>.
8347 (SELF_LINK): New define.
8348 (get_origin): New function.
8349 (load_shlib): Use it.
8350 * gdb.base/sym-file.exp: Don't early return if the target is
8351 remote. Use runto_main, and issue fail is that fails. Use
8352 gdb_load_shlibs.
8353 (shlib_name): Delete.
8354 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8355
7dd6df01
PA
83562014-04-15 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.base/sym-file.exp: Remove regex characters from test
8359 message. Don't refer to breakpoint numbers in test messages.
8360
b50c8614
KS
83612014-04-14 Keith Seitz <keiths@redhat.com>
8362
8363 PR c++/16253
8364 * gdb.cp/var-tag.cc: New file.
8365 * gdb.cp/var-tag.exp: New file.
8366 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8367 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8368 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8369 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8370
3d567982
TT
83712014-04-14 Tom Tromey <tromey@redhat.com>
8372
8373 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8374 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8375 type.
8376 * gdb.cp/enum-class.exp: New file.
8377 * gdb.cp/enum-class.cc: New file.
8378
0626fc76
TT
83792014-04-14 Tom Tromey <tromey@redhat.com>
8380
8381 * gdb.dwarf2/enum-type.exp: New file.
8382
dca325b3
SA
83832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8384
8385 * gdb.mi/mi-vla-c99.exp: New file.
8386 * gdb.mi/vla.c: New file.
8387
5854b38a
SA
83882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8389
8390 * gdb.base/vla-datatypes.c: New file.
8391 * gdb.base/vla-datatypes.exp: New file.
8392
463bb957
SA
83932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8394
8395 * gdb.base/vla-ptr.c: New file.
8396 * gdb.base/vla-ptr.exp: New file.
8397
3dd170be
SA
83982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8399
8400 * gdb.dwarf2/count.exp: New file.
8401
5ecaaa66
SA
84022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8403
8404 * gdb.base/vla-sideeffect.c: New file.
8405 * gdb.base/vla-sideeffect.exp: New file.
8406
41f1ada5
DB
84072014-04-14 David Blaikie <dblaikie@gmail.com>
8408
8409 * gdb.mi/non-stop.c: Add return value for non-void function return
8410 statement.
8411 * gdb.threads/staticthreads.c: Ditto.
8412
0be03e84
DE
84132014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8414 Doug Evans <xdje42@gmail.com>
8415
8416 * gdb.guile/scm-value.c: Improve test case.
8417 * gdb.guile/scm-value.exp: Add new test.
8418
f180a1fb
DB
84192014-04-11 David Blaikie <dblaikie@gmail.com>
8420
8421 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8422 override Clang's default.
8423
6b662e19
JB
84242014-04-11 Joel Brobecker <brobecker@adacore.com>
8425
8426 Revert the following changes (regressions):
8427
8428 * gdb.base/vla-sideeffect.c: New file.
8429 * gdb.base/vla-sideeffect.exp: New file.
8430
8431 * gdb.dwarf2/count.exp: New file.
8432
8433 * gdb.base/vla-multi.c: New file.
8434 * gdb.base/vla-multi.exp: New file.
8435
8436 * gdb.base/vla-ptr.c: New file.
8437 * gdb.base/vla-ptr.exp: New file.
8438
8439 * gdb.base/vla-datatypes.c: New file.
8440 * gdb.base/vla-datatypes.exp: New file.
8441
8442 * gdb.mi/mi-vla-c99.exp: New file.
8443 * gdb.mi/vla.c: New file.
8444
245a5f0b
KS
84452014-04-11 Keith Seitz <keiths@redhat.com>
8446
8447 PR c++/16675
8448 * gdb.cp/cpsizeof.exp: New file.
8449 * gdb.cp/cpsizeof.cc: New file.
8450
58a84dcf
SA
84512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8452
191a8a90
JB
8453 * gdb.mi/mi-vla-c99.exp: New file.
8454 * gdb.mi/vla.c: New file.
58a84dcf 8455
c8655f75
SA
84562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8457
8458 * gdb.base/vla-datatypes.c: New file.
8459 * gdb.base/vla-datatypes.exp: New file.
8460
024e13b4
SA
84612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8462
8463 * gdb.base/vla-ptr.c: New file.
8464 * gdb.base/vla-ptr.exp: New file.
8465
1a237e0e
SA
84662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8467
8468 * gdb.base/vla-multi.c: New file.
8469 * gdb.base/vla-multi.exp: New file.
8470
504f3432
SA
84712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8472
8473 * gdb.dwarf2/count.exp: New file.
8474
3bce8237
SA
84752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8476
191a8a90
JB
8477 * gdb.base/vla-sideeffect.c: New file.
8478 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8479
322f9c21
YQ
84802014-04-11 Yao Qi <yao@codesourcery.com>
8481
8482 * gdb.base/completion.exp: Check file exists before running tests
8483 on file completion.
8484
d708bcd1
PA
84852014-04-10 Pedro Alves <palves@redhat.com>
8486
8487 * gdb.base/cond-eval-mode.c: New file.
8488 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8489 prepare_for_testing to build the new file. Check result of
8490 runto_main.
8491 (test_break, test_watch): New procedures.
8492 (top level): Use them.
8493
ae1d2761
PM
84942014-04-08 Pierre Muller <muller@sourceware.org>
8495
8496 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8497 Ctrl-V use for mingw hosts.
8498
7af389b8
SC
84992014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8500
8501 * gdb.python/py-value.c: Improve test case.
8502 * gdb.python/py-value.exp: Add new test.
8503
5e703181
DE
85042014-04-07 David Blaikie <dblaikie@gmail.com>
8505
8506 * lib/compiler.c: Identify the clang compiler.
8507 * lib/compiler.cc: Ditto.
8508
9810b410
YQ
85092014-04-03 Yao Qi <yao@codesourcery.com>
8510
8511 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8512
98d1b8dc
AB
85132014-04-01 Anton Blanchard <anton@samba.org>
8514
8515 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8516 messages unique.
8517
3114cea1
AB
85182014-04-01 Anton Blanchard <anton@samba.org>
8519
8520 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8521 prepare_for_testing.
8522
62f7182c
AB
85232014-04-01 Anton Blanchard <anton@samba.org>
8524
8525 * gdb.arch/ppc64-atomic-inst.c: Remove.
8526 * gdb.arch/ppc64-atomic-inst.S: New file.
8527 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8528
770e7fc7
DE
85292014-03-31 Doug Evans <dje@google.com>
8530
8531 * gdb.base/print-symbol-loading-lib.c: New file.
8532 * gdb.base/print-symbol-loading-main.c: New file.
8533 * gdb.base/print-symbol-loading.exp: New file.
8534
46e2bafa
YQ
85352014-03-31 Yao Qi <yao@codesourcery.com>
8536
8537 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8538
8776cfe9
JB
85392014-03-28 Joel Brobecker <brobecker@adacore.com>
8540
8541 * gdb.ada/mi_dyn_arr: New testcase.
8542
5d1ef361
DE
85432014-03-27 Doug Evans <dje@google.com>
8544
8545 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8546
b5bee914
YQ
85472014-03-27 Yao Qi <yao@codesourcery.com>
8548
8549 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8550 if target is nios2-*-*.
8551
0d4d0e77
YQ
85522014-03-26 Yao Qi <yao@codesourcery.com>
8553
8554 * lib/gdb.exp (readline_is_used): New proc.
8555 * gdb.base/completion.exp: Move tests on command complete up.
8556 Skip the rest of tests if readline is not used.
8557 * gdb.ada/complete.exp: Skp the test if readline is not
8558 used.
8559 * gdb.base/filesym.exp: Likewise.
8560 * gdb.base/macscp.exp: Likewise.
8561 * gdb.base/readline-ask.exp: Likewise.
8562 * gdb.base/readline.exp: Likewise.
8563 * gdb.python/py-cmd.exp: Likewise.
8564 * gdb.trace/tfile.exp: Likewise.
8565
29361eee
YQ
85662014-03-26 Yao Qi <yao@codesourcery.com>
8567
8568 * gdb.base/macscp.exp: Fix code format issues.
8569
bc9a5525
UW
85702014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8571
8572 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8573 * gdb.asm/powerpc64le.inc: New file.
8574
d3839ede
PA
85752014-03-25 Pedro Alves <palves@redhat.com>
8576 Doug Evans <dje@google.com>
8577
8578 * gdb.base/source-execution.c: New file.
8579 * gdb.base/source-execution.exp: New file.
8580 * gdb.base/source-execution.gdb: New file.
8581
01672a57
DE
85822014-03-24 Doug Evans <dje@google.com>
8583
8584 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8585 using fission.
8586
88bbeca9
HZ
85872014-03-24 Hui Zhu <hui@codesourcery.com>
8588 Pedro Alves <palves@redhat.com>
8589
8590 PR breakpoints/16101
8591 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8592 test pass/fail messages. Detect missing support for dprintf when
8593 breakpoints are actually inserted.
8594 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8595 breakpoints are actually inserted.
8596 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8597 fails.
8598
d2348791
JK
85992014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8600
8601 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8602
feef67ab
DE
86032014-03-22 Doug Evans <xdje42@gmail.com>
8604
8605 * gdb.python/python.exp (python not supported): Verify multi-line
8606 python command issues an error.
25d743f9 8607 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8608 guile command issues an error.
feef67ab 8609
ecebef6a
MR
86102014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8611
8612 * gdb.threads/thread-specific.exp: Handle the lack of usable
8613 $this_breakpoint and $this_thread.
8614
ccdd1909
HZ
86152014-03-21 Hui Zhu <hui@codesourcery.com>
8616
8617 * gdb.base/attach.exp (do_command_attach_tests): New.
8618
beb460e8
PA
86192014-03-20 Tom Tromey <tromey@redhat.com>
8620 Pedro Alves <palves@redhat.com>
8621
8622 PR cli/15718
8623 * gdb.base/condbreak-call-false.c: New file.
8624 * gdb.base/condbreak-call-false.exp: New file.
8625
40acf43a
PA
86262014-03-20 Pedro Alves <palves@redhat.com>
8627
8628 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8629 Delete.
8630 (block_signals, unblock_signals): Delete.
8631 (child_function_2, main): Remove references to deleted variable
8632 and functions.
8633
9f5e1e02
PA
86342014-03-20 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8637 Use pthread_kill to signal thread 2.
8638 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8639 Adjust to make the test send itself a signal rather than using the
8640 host's "kill" command.
8641
99619bea
PA
86422014-03-20 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.threads/multiple-step-overs.c: New file.
8645 * gdb.threads/multiple-step-overs.exp: New file.
8646 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8647 Adjust expected infrun debug output.
8648
2adfaa28
PA
86492014-03-20 Pedro Alves <palves@redhat.com>
8650
8651 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8652 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8653
31e77af2
PA
86542014-03-20 Pedro Alves <palves@redhat.com>
8655
8656 PR breakpoints/7143
8657 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8658 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8659 of gdb_test_multiple.
8660 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8661 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8662
b9f437de
PA
86632014-03-20 Pedro Alves <palves@redhat.com>
8664
8665 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8666 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8667
05adc73e
PA
86682014-03-19 Pedro Alves <palves@redhat.com>
8669
8670 * gdb.base/async.exp: Remove early return.
8671
6048b950
PA
86722014-03-19 Pedro Alves <palves@redhat.com>
8673
8674 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8675
8bcfb00a
PA
86762014-03-19 Pedro Alves <palves@redhat.com>
8677
8678 * gdb.base/async.exp (test_background): Expect \r\n after
8679 "completed." in the fail pattern.
8680
884e37dc
PA
86812014-03-19 Pedro Alves <palves@redhat.com>
8682
8683 * gdb.base/async.exp (test_background): New procedure.
8684 Use it for all background execution command tests.
8685
148e57e2
PA
86862014-03-19 Pedro Alves <palves@redhat.com>
8687
8688 * gdb.base/async.exp: Use prepare_for_testing.
8689
f48088c7
PA
86902014-03-19 Pedro Alves <palves@redhat.com>
8691
8692 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8693 the same line.
8694
e2f6c966
PA
86952014-03-19 Pedro Alves <palves@redhat.com>
8696
8697 * gdb.base/async.c (main): Add "jump here" and "until here" line
8698 marker comments.
8699 * gdb.base/async.exp (jump_here): New global.
8700 (jump& test): Use it.
8701 (until_here): New global.
8702 (until& test): Use it.
8703
c30568d4
PA
87042014-03-19 Pedro Alves <palves@redhat.com>
8705
8706 * gdb.base/async.exp: Don't frob gdb_protocol.
8707
0172b6a7
DE
87082014-03-18 Doug Evans <xdje42@gmail.com>
8709
8710 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8711 Fix spelling of exec-done-display.
8712
06c868a8
JK
87132014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8714
8715 PR gdb/15358
8716 * gdb.base/gdb-sigterm.c: New file.
8717 * gdb.base/gdb-sigterm.exp: New file.
8718
0c7e1a46
PA
87192014-03-18 Pedro Alves <palves@redhat.com>
8720
8721 PR gdb/13860
8722 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8723 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8724 solib-event.
8725
f7c77d93
JB
87262014-03-17 Joel Brobecker <brobecker@adacore.com>
8727
8728 * gdb.ada/pckd_arr_ren: New testcase.
8729
5a1e8c7a
DE
87302014-03-13 Doug Evans <xdje42@gmail.com>
8731
8732 PR guile/16612
8733 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8734 collect after discarding symbols.
8735
350e1a76
DE
87362014-03-13 Ludovic Courtès <ludo@gnu.org>
8737 Doug Evans <xdje42@gmail.com>
8738
8739 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8740 to history survives a gc.
8741
a69900ae
PA
87422014-03-13 Pedro Alves <palves@redhat.com>
8743
8744 * gdb.base/default.exp: Don't test "target procfs".
8745
5db9f0bd
PA
87462014-03-13 Pedro Alves <palves@redhat.com>
8747
8748 * gdb.base/default.exp: Update "target child" and "target procfs"
8749 tests to not expect "Unix".
8750
b3ccfe11
TT
87512014-03-12 Tom Tromey <tromey@redhat.com>
8752
8753 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8754 New procs. Add target-async tests.
8755 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8756 Add target-async tests.
8757
646f4417
AA
87582014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8759
8760 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8761 'func_start' and 'func_end' for the beginning and end of the
8762 function code, respectively.
8763 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8764 'func_end' instead of 'func' and 'main'.
8765
288c211f
AA
87662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8767
8768 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8769 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8770 generate the debug info assembler source.
8771
e0c0f156
AA
87722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8773
8774 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8775 * gdb.dwarf2/arr-subrange.exp: Likewise.
8776 * gdb.dwarf2/dwz.exp: Likewise.
8777 * gdb.dwarf2/method-ptr.exp: Likewise.
8778 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8779 * gdb.dwarf2/subrange.exp: Likewise.
8780 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8781 * gdb.dwarf2/implptrpiece.exp: Likewise.
8782 * gdb.dwarf2/nostaticblock.exp: Likewise.
8783
0e5c4555
AA
87842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8785
8786 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8787 directory to absolute path name arguments.
8788
5ec18f2b
JG
87892014-03-10 Joel Brobecker <brobecker@adacore.com>
8790
8791 * gdb.ada/tagged_access: New testcase.
8792
847fc4f2
MM
87932014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8794
8795 * gdb.btrace/data.exp: Update expected output.
8796
cc3da688
YQ
87972014-03-06 Yao Qi <yao@codesourcery.com>
8798
8799 * gdb.trace/pr16508.exp: New file.
8800
0f26cec1
PA
88012014-03-05 Pedro Alves <palves@redhat.com>
8802
8803 PR gdb/16575
8804 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8805 procedure.
8806 (top level): Adjust to use it. Add tests that exercise breakpoint
8807 interaction with the code-cache.
8808
7a5a839f
LC
88092014-02-26 Ludovic Courtès <ludo@gnu.org>
8810
8811 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8812 test for 'history-append!'.
8813
31aa7e4e
JB
88142014-02-26 Joel Brobecker <brobecker@adacore.com>
8815
8816 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8817 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8818 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8819 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8820 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8821 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8822
1b588015
JB
88232014-02-26 Joel Brobecker <brobecker@adacore.com>
8824
8825 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8826 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8827 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8828
55426c9d
JB
88292014-02-26 Joel Brobecker <brobecker@adacore.com>
8830
8831 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8832
dc53a7ad
JB
88332014-02-26 Joel Brobecker <brobecker@adacore.com>
8834
8835 * gdb.dwarf2/arr-stride.c: New file.
8836 * gdb.dwarf2/arr-stride.exp: New file.
8837
12ab52e9
PA
88382014-02-26 Pedro Alves <palves@redhat.com>
8839
8840 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8841 that won't ever trigger. Make sure that GDB reports the correct
8842 breakpoint that caused the stop.
8843
849c862e
JK
88442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8845
8846 PR gdb/16626
8847 * gdb.base/auto-load-script: New file.
8848 * gdb.base/auto-load.c: New file.
8849 * gdb.base/auto-load.exp: New file.
8850
71b7d793
JK
8851 PR gdb/16626
8852 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8853
e2f0d509
JK
88542014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8855
8856 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8857 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8858
50cc37c8
DE
88592014-02-24 Doug Evans <dje@google.com>
8860
8861 * lib/gdb.exp (run_on_host): Log error output if program fails.
8862
ea4758f2
PA
88632014-02-21 Pedro Alves <palves@redhat.com>
8864
8865 * gdb.threads/step-after-sr-lock.c: Rename to ...
8866 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8867 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8868 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8869 ... this.
8870
d7b30f67
SDJ
88712014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8872
8873 PR tdep/16397
8874 * gdb.arch/amd64-stap-special-operands.exp: New file.
8875 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8876 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8877 * gdb.arch/amd64-stap-triplet.S: Likewise.
8878 * gdb.arch/amd64-stap-triplet.c: Likewise.
8879
83deb43f
JB
88802014-02-20 Joel Brobecker <brobecker@adacore.com>
8881
8882 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8883 in .section pseudo-op.
8884
adde2bff
DE
88852014-02-20 lin zuojian <manjian2006@gmail.com>
8886 Joel Brobecker <brobecker@adacore.com>
8887 Doug Evans <xdje42@gmail.com>
8888
8889 PR symtab/16581
8890 * gdb.dwarf2/dw2-icycle.S: New file.
8891 * gdb.dwarf2/dw2-icycle.c: New file.
8892 * gdb.dwarf2/dw2-icycle.exp: New file.
8893
f7bd0f78
SC
88942014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8895
8896 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8897 operations on gdb.Value objects.
8898 * gdb.python/py-value-cc.exp: Add new test to test operations on
8899 gdb.Value objects.
8900
c17ef0d5
DE
89012014-02-18 Doug Evans <dje@google.com>
8902
8903 * Makefile.in (TESTS): New variable.
8904 (expanded_tests, expanded_tests_or_none): New variables
8905 (check-single): Pass $(expanded_tests_or_none) to runtest.
8906 (check-parallel): Only run tests in $(TESTS) if non-empty.
8907 (check/no-matching-tests-found): New rule.
8908 * README: Document TESTS makefile variable.
8909
5dd3176f
DE
89102014-02-18 Doug Evans <dje@google.com>
8911
8912 * Makefile.in (check-parallel): rm -rf outputs temp.
8913
0b10be4f
JK
89142014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8915
8916 Fix "ERROR: no fileid for" in the testsuite.
8917 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8918
85f224e7
DE
89192014-02-12 Doug Evans <dje@google.com>
8920
8921 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8922 (MISCELLANEOUS): New variable.
8923 (clean): rm -rf $(MISCELLANEOUS).
8924 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8925 dwp live in the same directory as symlinks, with each symlink pointed
8926 to a differently named file in a different directory.
8927
149b30ff
DE
89282014-02-11 Doug Evans <dje@google.com>
8929
8930 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8931 of Tcl file commands.
8932
1dfdac32
MK
89332014-02-10 Mark Kettenis <kettenis@gnu.org>
8934
8935 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8936 "kill -SIGUSR1 -1".
8937
aa4fb036
JB
89382014-02-10 Joel Brobecker <brobecker@adacore.com>
8939
8940 * gdb.ada/tick_length_array_enum_idx: New testcase.
8941
ed3ef339
DE
89422014-02-10 Doug Evans <xdje42@gmail.com>
8943
8944 * configure.ac (AC_OUTPUT): Add gdb.guile.
8945 * configure: Regenerate.
8946 * lib/gdb-guile.exp: New file.
8947 * lib/gdb.exp (get_target_charset): New function.
8948 * gdb.base/help.exp: Update expected output from "apropos apropos".
8949 * gdb.guile/Makefile.in: New file.
8950 * gdb.guile/guile.exp: New file.
8951 * gdb.guile/scm-arch.c: New file.
8952 * gdb.guile/scm-arch.exp: New file.
8953 * gdb.guile/scm-block.c: New file.
8954 * gdb.guile/scm-block.exp: New file.
8955 * gdb.guile/scm-breakpoint.c: New file.
8956 * gdb.guile/scm-breakpoint.exp: New file.
8957 * gdb.guile/scm-disasm.c: New file.
8958 * gdb.guile/scm-disasm.exp: New file.
8959 * gdb.guile/scm-equal.c: New file.
8960 * gdb.guile/scm-equal.exp: New file.
8961 * gdb.guile/scm-error.exp: New file.
8962 * gdb.guile/scm-error.scm: New file.
8963 * gdb.guile/scm-frame-args.c: New file.
8964 * gdb.guile/scm-frame-args.exp: New file.
8965 * gdb.guile/scm-frame-args.scm: New file.
8966 * gdb.guile/scm-frame-inline.c: New file.
8967 * gdb.guile/scm-frame-inline.exp: New file.
8968 * gdb.guile/scm-frame.c: New file.
8969 * gdb.guile/scm-frame.exp: New file.
8970 * gdb.guile/scm-generics.exp: New file.
8971 * gdb.guile/scm-gsmob.exp: New file.
8972 * gdb.guile/scm-iterator.c: New file.
8973 * gdb.guile/scm-iterator.exp: New file.
8974 * gdb.guile/scm-math.c: New file.
8975 * gdb.guile/scm-math.exp: New file.
8976 * gdb.guile/scm-objfile-script-gdb.in: New file.
8977 * gdb.guile/scm-objfile-script.c: New file.
8978 * gdb.guile/scm-objfile-script.exp: New file.
8979 * gdb.guile/scm-objfile.c: New file.
8980 * gdb.guile/scm-objfile.exp: New file.
8981 * gdb.guile/scm-ports.exp: New file.
8982 * gdb.guile/scm-pretty-print.c: New file.
8983 * gdb.guile/scm-pretty-print.exp: New file.
8984 * gdb.guile/scm-pretty-print.scm: New file.
8985 * gdb.guile/scm-section-script.c: New file.
8986 * gdb.guile/scm-section-script.exp: New file.
8987 * gdb.guile/scm-section-script.scm: New file.
8988 * gdb.guile/scm-symbol.c: New file.
8989 * gdb.guile/scm-symbol.exp: New file.
8990 * gdb.guile/scm-symtab-2.c: New file.
8991 * gdb.guile/scm-symtab.c: New file.
8992 * gdb.guile/scm-symtab.exp: New file.
8993 * gdb.guile/scm-type.c: New file.
8994 * gdb.guile/scm-type.exp: New file.
8995 * gdb.guile/scm-value-cc.cc: New file.
8996 * gdb.guile/scm-value-cc.exp: New file.
8997 * gdb.guile/scm-value.c: New file.
8998 * gdb.guile/scm-value.exp: New file.
8999 * gdb.guile/source2.scm: New file.
9000 * gdb.guile/types-module.cc: New file.
9001 * gdb.guile/types-module.exp: New file.
9002
7026a7c1
YQ
90032014-02-10 Yao Qi <yao@codesourcery.com>
9004
9005 PR testsuite/16543
9006 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9007 * configure: Regenerated.
9008 * Makefile.in: New file.
9009
6c466447
AS
90102014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9011
9012 * gdb.python/py-framefilter.exp: Fix typo.
9013
6e854735
YQ
90142014-02-08 Yao Qi <yao@codesourcery.com>
9015
9016 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9017 that no =breakpoint-modified is emitted when breakpoints are
9018 modified through MI commands.
9019
d137e6dc
PA
90202014-02-07 Pedro Alves <pedro@codesourcery.com>
9021 Pedro Alves <palves@redhat.com>
9022
9023 * gdb.threads/step-after-sr-lock.c: New file.
9024 * gdb.threads/step-after-sr-lock.exp: New file.
9025
b5ee5a50
PA
90262014-02-07 Pedro Alves <palves@redhat.com>
9027
9028 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9029
3c77faf3
JK
90302014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9031
9032 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9033 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9034
6dddc817
DE
90352014-02-06 Doug Evans <xdje42@gmail.com>
9036
9037 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9038 output.
9039
9040 * gdb.gdb/python-interrupts.exp: New file.
9041
de7b2893
YQ
90422014-02-05 Yao Qi <yao@codesourcery.com>
9043
9044 * gdb.trace/report.exp (use_collected_data): Test the output
9045 of "info threads" and "info inferiors".
9046
66d032ac
YQ
90472014-02-05 Yao Qi <yao@codesourcery.com>
9048
9049 Revert this patch:
9050
9051 2013-05-24 Yao Qi <yao@codesourcery.com>
9052
9053 * gdb.trace/tfile.exp: Test inferior and thread.
9054
591a12a1
UW
90552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9056
9057 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9058 on a function.
9059 * gdb.base/step-bt.c: Call hello via function pointer to make
9060 sure its first instruction is executed on powerpc64le-linux.
9061
0ff3e01f
UW
90622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9063
9064 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9065
084ee545
UW
90662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9067
9068 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9069 of the test patterns for use on little-endian systems.
9070
6ed14ff3
UW
90712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9072
9073 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9074 (decimal_vector): Fix for little-endian.
9075
401e27fd
JM
90762014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9077
9078 * gdb.arch/sparc-sysstep.exp: New file.
9079 * gdb.arch/sparc-sysstep.c: Likewise.
9080
9081 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9082
8b924729
EBM
90832014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9084
9085 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9086
fb151210
JB
90872014-01-23 Tom Tromey <tromey@redhat.com>
9088
9089 * gdb.ada/array_char_idx: New testcase.
9090
0740f8d8
TT
90912014-01-23 Tom Tromey <tromey@redhat.com>
9092
9093 PR python/16487:
9094 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9095 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9096 classes.
9097
21909fa1
TT
90982014-01-23 Tom Tromey <tromey@redhat.com>
9099
9100 PR python/16491:
9101 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9102 string from an inferior frame.
9103 * gdb.python/py-framefilter-mi.exp: Update.
9104
87ce2a04
DE
91052014-01-22 Doug Evans <dje@google.com>
9106
9107 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9108
237b092b
AA
91092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9110
9111 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9112
d674a709
AA
91132014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9114
9115 * gdb.trace/entry-values.exp: Remove excess space character from
9116 regex patterns. Handle s390 call instruction.
9117
20fa3390
AA
91182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9119
9120 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9121 define "*_start" label. Make "name" static.
9122 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9123 ${name} by references to ${name}_start.
9124
78466714
AA
91252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9126
9127 * gdb.base/info-macros.exp: Remove "debug" from the compile
9128 options.
9129
ec9f644a
IB
91302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9131
9132 * gdb.dlang/demangle.exp: New file.
9133
94b1b47e
IB
91342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9135
9136 * gdb.dlang/primitive-types.exp: New file.
9137
7f420862
IB
91382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9139
9140 * configure.ac: Create gdb.dlang/Makefile.
9141 * configure: Regenerate.
9142 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9143 * gdb.dlang/Makefile.in: New file.
9144 * lib/d-support.exp: New file.
9145 * lib/gdb.exp (skip_d_tests): New proc.
9146
52834460
MM
91472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9148
9149 * gdb.btrace/delta.exp: Check reverse stepi.
9150 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9151 * gdb.btrace/finish.exp: New.
9152 * gdb.btrace/next.exp: New.
9153 * gdb.btrace/nexti.exp: New.
9154 * gdb.btrace/record_goto.c: Add comments.
9155 * gdb.btrace/step.exp: New.
9156 * gdb.btrace/stepi.exp: New.
9157 * gdb.btrace/multi-thread-step.c: New.
9158 * gdb.btrace/multi-thread-step.exp: New.
9159 * gdb.btrace/rn-dl-bind.c: New.
9160 * gdb.btrace/rn-dl-bind.exp: New.
9161 * gdb.btrace/data.c: New.
9162 * gdb.btrace/data.exp: New.
9163 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9164
6e07b1d2
MM
91652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9166
9167 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9168 * gdb.btrace/exception.exp: Update.
9169 * gdb.btrace/instruction_history.exp: Update.
9170 * gdb.btrace/record_goto.exp: Update.
9171 * gdb.btrace/tailcall.exp: Update.
9172 * gdb.btrace/unknown_functions.exp: Update.
9173 * gdb.btrace/delta.exp: New.
9174
0b722aec
MM
91752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9176
9177 * gdb.btrace/record_goto.exp: Add backtrace test.
9178 * gdb.btrace/tailcall.exp: Add backtrace test.
9179
066ce621
MM
91802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9181
9182 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9183 * gdb.btrace/record_goto.c: New.
9184 * gdb.btrace/record_goto.exp: New.
9185 * gdb.btrace/x86-record_goto.S: New.
9186
0688d04e
MM
91872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9188
9189 * gdb.btrace/function_call_history.exp: Update tests.
9190 * gdb.btrace/instruction_history.exp: Update tests.
9191
8710b709
MM
91922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9193
9194 * gdb.btrace/function_call_history.exp: Fix expected field
9195 order for "record function-call-history".
9196 Add new tests for "record function-call-history /c".
9197 * gdb.btrace/exception.cc: New.
9198 * gdb.btrace/exception.exp: New.
9199 * gdb.btrace/tailcall.exp: New.
9200 * gdb.btrace/x86-tailcall.S: New.
9201 * gdb.btrace/x86-tailcall.c: New.
9202 * gdb.btrace/unknown_functions.c: New.
9203 * gdb.btrace/unknown_functions.exp: New.
9204 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9205
5de9129b
MM
92062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9207
9208 * gdb.btrace/instruction_history.exp: Update.
9209 * gdb.btrace/function_call_history.exp: Update.
9210
23a7fe75
MM
92112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9212
9213 * gdb.btrace/function_call_history.exp: Fix expected function
9214 trace.
9215 * gdb.btrace/instruction_history.exp: Initialize traced.
9216 Remove traced_functions.
9217
724c7dd8
MM
92182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9219
9220 * gdb.btrace/function_call_history.exp: Update
9221 * gdb.btrace/instruction_history.exp: Update.
9222
6d78d93b
MM
92232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9224
9225 * gdb.btrace/enable.exp: Update expected text.
9226
93a360cc
OJ
92272014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9228
9229 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9230 bytes.
9231
3772b53f
MR
92322014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9233
9234 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9235
596662fa
OJ
92362014-01-15 Omair Javaid <omair.javaid@linaro.org>
9237
9238 * lib/gdb.exp (supports_process_record): Return true for
9239 arm*-linux*. (supports_reverse): Likewise.
9240
b5b08fb4
SC
92412014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9242
9243 PR python/15464
9244 PR python/16113
9245 * gdb.python/py-type.c: Enhance test case.
9246 * gdb.python/py-value-cc.cc: Likewise
9247 * gdb.python/py-type.exp: Add new tests.
9248 * gdb.python/py-value-cc.exp: Likewise
9249
52d7fb13
AA
92502014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9251 Pedro Alves <palves@redhat.com>
9252
9253 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9254 Make "name" extern.
9255 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9256 references to ${name}_start by references to ${name}.
9257
a2cd8cfe
JB
92582014-01-10 Joel Brobecker <brobecker@adacore.com>
9259
9260 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9261
4e23fced
JB
92622014-01-10 Joel Brobecker <brobecker@adacore.com>
9263
9264 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9265
c6a9e42c
PA
92662014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9267 Pedro Alves <palves@redhat.com>
9268
9269 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9270 mi_gdb_target_load.
c6a9e42c 9271
b7ea362b
PA
92722014-01-08 Pedro Alves <palves@redhat.com>
9273
9274 * gdb.threads/reconnect-signal.c: New file.
9275 * gdb.threads/reconnect-signal.exp: New file.
9276
5e3f4fab
EBM
92772014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9278
9279 * gdb.base/source-dir.exp: New file.
9280
79301218
JB
92812014-01-07 Joel Brobecker <brobecker@adacore.com>
9282
9283 * gdb.ada/mi_interface: New testcase.
9284
8e355c5d
JB
92852014-01-07 Joel Brobecker <brobecker@adacore.com>
9286
9287 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9288 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9289 gdb.ada/pp-rec-component/pck.ads: New files.
9290
c0d48811
JB
92912014-01-07 Joel Brobecker <brobecker@adacore.com>
9292
9293 * gdb.python/py-pp-integral.c: New file.
9294 * gdb.python/py-pp-integral.py: New file.
9295 * gdb.python/py-pp-integral.exp: New file.
9296
17b609c3 9297For older changes see ChangeLog-1993-2013.
c906108c 9298\f
8d8cb839
EZ
9299;; Local Variables:
9300;; mode: change-log
9301;; left-margin: 8
9302;; fill-column: 74
9303;; version-control: never
9304;; End:
902f2ccb 9305
618f726f 9306 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9307 Copying and distribution of this file, with or without modification,
9308 are permitted provided the copyright notice and this notice are preserved.
This page took 3.008849 seconds and 4 git commands to generate.